pcm-agents 1.0.14 → 1.0.15-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components-chat-message_32.cjs.entry.js +152 -44
- package/dist/cjs/components-chat-message_32.cjs.entry.js.map +1 -1
- package/dist/cjs/{conversation-utils-DKV_f39e.js → conversation-utils-C-S4n4Aa.js} +4 -4
- package/dist/cjs/{conversation-utils-DKV_f39e.js.map → conversation-utils-C-S4n4Aa.js.map} +1 -1
- package/dist/cjs/index-C_qhED9Z.js.map +1 -1
- package/dist/cjs/{index-60n4ne92.js → index-bz9RXmNP.js} +5 -5
- package/dist/cjs/{index-60n4ne92.js.map → index-bz9RXmNP.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pcm-agents.cjs.js +1 -1
- package/dist/cjs/pcm-ats-mnms-modal.cjs.entry.js +1 -1
- package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pcm-hr-chat-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/pcm-htws-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-jd-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-jlpp-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-jlsx-modal.cjs.entry.js +2 -2
- package/dist/cjs/pcm-jlzz-modal.cjs.entry.js +2 -2
- package/dist/cjs/pcm-mnct-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-mnms-modal.cjs.entry.js +1 -1
- package/dist/cjs/pcm-qgqjl-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-zygh-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-zygh-v2-modal.cjs.entry.js +3 -3
- package/dist/cjs/{sentry-reporter-B-NJxc__.js → sentry-reporter-CMFp_n_c.js} +3 -3
- package/dist/cjs/{sentry-reporter-B-NJxc__.js.map → sentry-reporter-CMFp_n_c.js.map} +1 -1
- package/dist/collection/components/oem-cast-modal/oem-cast-modal.css +85 -0
- package/dist/collection/components/oem-cast-modal/oem-cast-modal.js +61 -4
- package/dist/collection/components/oem-cast-modal/oem-cast-modal.js.map +1 -1
- package/dist/collection/components/oem-htws-modal/oem-htws-modal.css +84 -10
- package/dist/collection/components/oem-htws-modal/oem-htws-modal.js +60 -5
- package/dist/collection/components/oem-htws-modal/oem-htws-modal.js.map +1 -1
- package/dist/collection/components/oem-jlpp-modal/oem-jlpp-modal.css +78 -9
- package/dist/collection/components/oem-jlpp-modal/oem-jlpp-modal.js +67 -6
- package/dist/collection/components/oem-jlpp-modal/oem-jlpp-modal.js.map +1 -1
- package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.css +78 -10
- package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js +69 -7
- package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js.map +1 -1
- package/dist/collection/components/oem-qgqjl-modal/oem-qgqjl-modal.css +85 -0
- package/dist/collection/components/oem-qgqjl-modal/oem-qgqjl-modal.js +63 -5
- package/dist/collection/components/oem-qgqjl-modal/oem-qgqjl-modal.js.map +1 -1
- package/dist/collection/components/oem-zygh-modal/oem-zygh-modal.css +78 -10
- package/dist/collection/components/oem-zygh-modal/oem-zygh-modal.js +67 -6
- package/dist/collection/components/oem-zygh-modal/oem-zygh-modal.js.map +1 -1
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.css +1 -1
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.css +1 -1
- package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.css +1 -1
- package/dist/components/components-chat-message.js +1 -1
- package/dist/components/components-digital-human.js +1 -1
- package/dist/components/components-export-records-modal.js +1 -1
- package/dist/components/components-mobile-input-btn.js +1 -1
- package/dist/components/components-mobile-upload-btn.js +1 -1
- package/dist/components/components-oem-virtual-chat-modal.js +1 -1
- package/dist/components/components-position-selector.js +1 -1
- package/dist/components/components-thousand-resume-wrapper.js +1 -1
- package/dist/components/components-upload.js +1 -1
- package/dist/components/components-voice-input-btn.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/oem-cast-modal.js +25 -6
- package/dist/components/oem-cast-modal.js.map +1 -1
- package/dist/components/oem-htws-modal.js +28 -11
- package/dist/components/oem-htws-modal.js.map +1 -1
- package/dist/components/oem-jd-modal.js +5 -5
- package/dist/components/oem-jlpp-modal.js +37 -14
- package/dist/components/oem-jlpp-modal.js.map +1 -1
- package/dist/components/oem-jlsx-modal.js +5 -5
- package/dist/components/oem-jlzz-modal.js +5 -5
- package/dist/components/oem-mnct-modal.js +7 -7
- package/dist/components/oem-mnms-modal.js +40 -16
- package/dist/components/oem-mnms-modal.js.map +1 -1
- package/dist/components/oem-qgqjl-modal.js +35 -15
- package/dist/components/oem-qgqjl-modal.js.map +1 -1
- package/dist/components/oem-zygh-modal.js +35 -12
- package/dist/components/oem-zygh-modal.js.map +1 -1
- package/dist/components/{p-BLm21EK8.js → p-B-Pfz-TH.js} +3 -3
- package/dist/components/{p-BLm21EK8.js.map → p-B-Pfz-TH.js.map} +1 -1
- package/dist/components/{p-Sbl9kn0i.js → p-BCCjIxCV.js} +3 -3
- package/dist/components/{p-Sbl9kn0i.js.map → p-BCCjIxCV.js.map} +1 -1
- package/dist/components/{p-DFK7rIMO.js → p-BFVoZFIZ.js} +6 -6
- package/dist/components/{p-DFK7rIMO.js.map → p-BFVoZFIZ.js.map} +1 -1
- package/dist/components/{p-DyxeMiy9.js → p-BFeimRDE.js} +3 -3
- package/dist/components/{p-DyxeMiy9.js.map → p-BFeimRDE.js.map} +1 -1
- package/dist/components/{p-DqL7x96u.js → p-Bbs5karE.js} +3 -3
- package/dist/components/{p-DqL7x96u.js.map → p-Bbs5karE.js.map} +1 -1
- package/dist/components/{p-CBqFdWU8.js → p-Be7S-h2e.js} +3 -3
- package/dist/components/{p-CBqFdWU8.js.map → p-Be7S-h2e.js.map} +1 -1
- package/dist/components/{p-BzYPtgEy.js → p-BqL2oFOx.js} +4 -4
- package/dist/components/{p-BzYPtgEy.js.map → p-BqL2oFOx.js.map} +1 -1
- package/dist/components/{p-PPJZjrAC.js → p-BtFimT0_.js} +3 -3
- package/dist/components/{p-PPJZjrAC.js.map → p-BtFimT0_.js.map} +1 -1
- package/dist/components/{p-CKIL6ljn.js → p-C36TgDrV.js} +3 -3
- package/dist/components/{p-CKIL6ljn.js.map → p-C36TgDrV.js.map} +1 -1
- package/dist/components/{p-BueJUhT6.js → p-C9bYYhDW.js} +3 -3
- package/dist/components/{p-BueJUhT6.js.map → p-C9bYYhDW.js.map} +1 -1
- package/dist/components/{p-C6Hdbk4q.js → p-CLhgFepd.js} +5 -5
- package/dist/components/{p-C6Hdbk4q.js.map → p-CLhgFepd.js.map} +1 -1
- package/dist/components/p-CR7WLzmM.js.map +1 -1
- package/dist/components/{p-DP-0b5ih.js → p-CsUaU6XU.js} +3 -3
- package/dist/components/{p-DP-0b5ih.js.map → p-CsUaU6XU.js.map} +1 -1
- package/dist/components/{p-gpuGu2TV.js → p-Ct82ZieB.js} +3 -3
- package/dist/components/{p-gpuGu2TV.js.map → p-Ct82ZieB.js.map} +1 -1
- package/dist/components/{p-CDBmxyB-.js → p-Cw3zJFNC.js} +3 -3
- package/dist/components/{p-CDBmxyB-.js.map → p-Cw3zJFNC.js.map} +1 -1
- package/dist/components/pcm-1zhanshi-mnms-modal.js +5 -5
- package/dist/components/pcm-app-chat-modal.js +1 -1
- package/dist/components/pcm-ats-mnms-modal.js +5 -5
- package/dist/components/pcm-card.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js +3 -3
- package/dist/components/pcm-hr-chat-modal.js.map +1 -1
- package/dist/components/pcm-htws-modal.js +8 -8
- package/dist/components/pcm-hyzj-modal.js +5 -5
- package/dist/components/pcm-jd-modal.js +6 -6
- package/dist/components/pcm-jlpp-modal.js +8 -8
- package/dist/components/pcm-jlsx-modal.js +5 -5
- package/dist/components/pcm-jlzz-modal.js +6 -6
- package/dist/components/pcm-mnct-modal.js +7 -7
- package/dist/components/pcm-mnms-modal.js +8 -8
- package/dist/components/pcm-mnms-zp-modal.js +8 -8
- package/dist/components/pcm-msbg-modal.js +5 -5
- package/dist/components/pcm-qgqjl-modal.js +9 -9
- package/dist/components/pcm-virtual-chat-modal.js +1 -1
- package/dist/components/pcm-zsk-chat-modal.js +3 -3
- package/dist/components/pcm-zsk-chat-modal.js.map +1 -1
- package/dist/components/pcm-zygh-modal.js +7 -7
- package/dist/components/pcm-zygh-v2-modal.js +7 -7
- package/dist/esm/components-chat-message_32.entry.js +152 -44
- package/dist/esm/components-chat-message_32.entry.js.map +1 -1
- package/dist/esm/{conversation-utils-D6GT6PCw.js → conversation-utils-BY5YiuWY.js} +4 -4
- package/dist/esm/{conversation-utils-D6GT6PCw.js.map → conversation-utils-BY5YiuWY.js.map} +1 -1
- package/dist/esm/{index-Bul-vA4m.js → index-BP6C2S8M.js} +5 -5
- package/dist/esm/{index-Bul-vA4m.js.map → index-BP6C2S8M.js.map} +1 -1
- package/dist/esm/index-Bq0K-WqZ.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pcm-agents.js +1 -1
- package/dist/esm/pcm-ats-mnms-modal.entry.js +1 -1
- package/dist/esm/pcm-hr-chat-modal.entry.js +3 -3
- package/dist/esm/pcm-hr-chat-modal.entry.js.map +1 -1
- package/dist/esm/pcm-htws-modal.entry.js +3 -3
- package/dist/esm/pcm-jd-modal.entry.js +3 -3
- package/dist/esm/pcm-jlpp-modal.entry.js +3 -3
- package/dist/esm/pcm-jlsx-modal.entry.js +2 -2
- package/dist/esm/pcm-jlzz-modal.entry.js +2 -2
- package/dist/esm/pcm-mnct-modal.entry.js +3 -3
- package/dist/esm/pcm-mnms-modal.entry.js +1 -1
- package/dist/esm/pcm-qgqjl-modal.entry.js +3 -3
- package/dist/esm/pcm-zygh-modal.entry.js +3 -3
- package/dist/esm/pcm-zygh-v2-modal.entry.js +3 -3
- package/dist/esm/{sentry-reporter-VArtSlf0.js → sentry-reporter-S-bkwKVd.js} +3 -3
- package/dist/esm/{sentry-reporter-VArtSlf0.js.map → sentry-reporter-S-bkwKVd.js.map} +1 -1
- package/dist/pcm-agents/index.esm.js +1 -1
- package/dist/pcm-agents/{p-e0606152.entry.js → p-0072a2db.entry.js} +2 -2
- package/dist/pcm-agents/{p-1807ea96.entry.js → p-291dfbaf.entry.js} +2 -2
- package/dist/pcm-agents/{p-03d8c13b.entry.js → p-3def9902.entry.js} +2 -2
- package/dist/pcm-agents/{p-a16ad1fa.entry.js → p-625e9780.entry.js} +2 -2
- package/dist/pcm-agents/{p-8a1c536e.entry.js → p-8e898292.entry.js} +2 -2
- package/dist/pcm-agents/{p-c082d6d0.entry.js → p-8fc8e631.entry.js} +2 -2
- package/dist/pcm-agents/{p-c463edce.entry.js → p-99f8df52.entry.js} +2 -2
- package/dist/pcm-agents/{p-c463edce.entry.js.map → p-99f8df52.entry.js.map} +1 -1
- package/dist/pcm-agents/p-Bq0K-WqZ.js.map +1 -1
- package/dist/pcm-agents/p-ByEgYF-N.js +2 -0
- package/dist/pcm-agents/{p-OGga3LFA.js.map → p-ByEgYF-N.js.map} +1 -1
- package/dist/pcm-agents/{p-vMYJzswY.js → p-DNAYpcs3.js} +2 -2
- package/dist/pcm-agents/{p-vMYJzswY.js.map → p-DNAYpcs3.js.map} +1 -1
- package/dist/pcm-agents/{p-5ffeb78a.entry.js → p-b2800756.entry.js} +2 -2
- package/dist/pcm-agents/{p-6309376c.entry.js → p-b28d2571.entry.js} +2 -2
- package/dist/pcm-agents/{p-ebe6a760.entry.js → p-d6dcc4dc.entry.js} +2 -2
- package/dist/pcm-agents/p-e1a1f8c3.entry.js +8 -0
- package/dist/pcm-agents/p-e1a1f8c3.entry.js.map +1 -0
- package/dist/pcm-agents/{p-e6abfaee.entry.js → p-eafa71c9.entry.js} +2 -2
- package/dist/pcm-agents/{p-efcfa1fa.entry.js → p-f67d61e9.entry.js} +2 -2
- package/dist/pcm-agents/p-rxXtS1Gd.js +2 -0
- package/dist/pcm-agents/{p-B11gCYhy.js.map → p-rxXtS1Gd.js.map} +1 -1
- package/dist/pcm-agents/pcm-agents.esm.js +1 -1
- package/dist/pcm-agents/pcm-hr-chat-modal.entry.esm.js.map +1 -1
- package/dist/types/components/oem-cast-modal/oem-cast-modal.d.ts +6 -0
- package/dist/types/components/oem-htws-modal/oem-htws-modal.d.ts +6 -0
- package/dist/types/components/oem-jlpp-modal/oem-jlpp-modal.d.ts +10 -0
- package/dist/types/components/oem-mnms-modal/oem-mnms-modal.d.ts +10 -0
- package/dist/types/components/oem-qgqjl-modal/oem-qgqjl-modal.d.ts +6 -0
- package/dist/types/components/oem-zygh-modal/oem-zygh-modal.d.ts +10 -0
- package/dist/types/components.d.ts +96 -0
- package/package.json +1 -1
- package/dist/pcm-agents/p-500005d6.entry.js +0 -8
- package/dist/pcm-agents/p-500005d6.entry.js.map +0 -1
- package/dist/pcm-agents/p-B11gCYhy.js +0 -2
- package/dist/pcm-agents/p-OGga3LFA.js +0 -2
- /package/dist/pcm-agents/{p-e0606152.entry.js.map → p-0072a2db.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-1807ea96.entry.js.map → p-291dfbaf.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-03d8c13b.entry.js.map → p-3def9902.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-a16ad1fa.entry.js.map → p-625e9780.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-8a1c536e.entry.js.map → p-8e898292.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-c082d6d0.entry.js.map → p-8fc8e631.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-5ffeb78a.entry.js.map → p-b2800756.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-6309376c.entry.js.map → p-b28d2571.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-ebe6a760.entry.js.map → p-d6dcc4dc.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-e6abfaee.entry.js.map → p-eafa71c9.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-efcfa1fa.entry.js.map → p-f67d61e9.entry.js.map} +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-C_qhED9Z.js');
|
|
4
4
|
var messageUtils = require('./message-utils-DbTqMOA1.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-bz9RXmNP.js');
|
|
6
6
|
var errorEvent = require('./error-event-J_ZWIqWF.js');
|
|
7
|
-
var sentryReporter = require('./sentry-reporter-
|
|
7
|
+
var sentryReporter = require('./sentry-reporter-CMFp_n_c.js');
|
|
8
8
|
var message_service = require('./message.service-BLgUOl2N.js');
|
|
9
|
-
var conversationUtils = require('./conversation-utils-
|
|
9
|
+
var conversationUtils = require('./conversation-utils-C-S4n4Aa.js');
|
|
10
10
|
require('./exports-Dc-pQh4A.js');
|
|
11
11
|
|
|
12
12
|
var clipboard$1 = {exports: {}};
|
|
@@ -7865,7 +7865,7 @@ const CAST_TYPE_DESCRIPTIONS = {
|
|
|
7865
7865
|
|
|
7866
7866
|
const globalCss$d = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
7867
7867
|
|
|
7868
|
-
const oemCastModalCss = ":host{--cast-primary:#397ee8;--cast-primary-hover:#2f6fce;--cast-primary-soft:#eef5ff;--cast-text:#111827;--cast-secondary:#8b95a5;--cast-border:#e4e7ec;--cast-surface:#ffffff;display:block;font-family:\"Microsoft YaHei\", \"PingFang SC\", Arial, sans-serif}.phone-section{margin:16px 0}.phone-section label{display:block;margin-bottom:8px;font-size:14px}.phone-input,.verification-code-input{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid var(--cast-border);border-radius:4px;font:inherit;font-size:14px;line-height:1.5}.phone-input:focus,.verification-code-input:focus{outline:2px solid var(--cast-primary-soft);border-color:var(--cast-primary)}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1}.send-code-button{padding:8px 16px;background:var(--cast-primary);color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;white-space:nowrap}.send-code-button:hover:not(:disabled){background:var(--cast-primary-hover)}.send-code-button:disabled{background:var(--cast-primary-soft);color:#8c8c8c;cursor:not-allowed}.cast-overlay{align-items:flex-start}.cast-modal{max-width:980px;max-height:96vh;border:0;border-radius:0;box-shadow:0 16px 44px rgba(31, 40, 58, 0.16)}.cast-modal:not(.fullscreen){height:50vh;min-height:700px}.cast-close-button{position:absolute;top:10px;right:10px;z-index:4}.close-confirm-container,.instructions-confirm-container{position:relative;z-index:100}.instructions-content{color:#7f8793;font-size:13px;line-height:1.75}.instructions-content>p{margin:0}.instructions-content ol{margin:14px 0;padding:0 0 0 22px}.instructions-content li{padding:7px 0 7px 4px;border-top:1px solid #eceef1}.instructions-content li:last-child{border-bottom:1px solid #eceef1}.instructions-content strong,.instructions-content span{display:block}.instructions-content strong{color:#242b36;font-size:14px}.instructions-content .instructions-content-note{color:#9aa1ac}.close-confirm-message{margin-bottom:16px;color:#595959;font-size:16px;line-height:1.5}.cast-scroll-area{flex:1;overflow-y:auto;overscroll-behavior:contain}.cast-content{width:100%;padding:20px;box-sizing:border-box;color:var(--cast-text)}.intro-content{background:var(--cast-surface)}.brand-line{display:flex;align-items:center;gap:9px;color:var(--cast-secondary);font-size:12px;line-height:20px;letter-spacing:0.02em}.brand-dot{width:6px;height:6px;border-radius:50%;background:var(--cast-primary);box-shadow:0 0 0 4px rgba(57, 126, 232, 0.09)}.intro-content h1{margin:17px 0 7px;font-size:21px;line-height:1.4;letter-spacing:0.02em}.intro-description,.privacy-note{margin:0;color:var(--cast-secondary);font-size:13px;line-height:1.75}.dimension-heading{display:flex;align-items:baseline;gap:8px;margin-top:21px;font-size:12px}.dimension-heading strong{color:#111827;font-size:13px}.dimension-heading span{color:#9aa2af}.dimension-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:11px;margin:17px 0 23px}.dimension-card{position:relative;min-height:101px;padding:15px 11px 12px;overflow:hidden;border:1px solid var(--cast-border);border-top:3px solid var(--dimension-color, var(--cast-primary));border-radius:8px;background:#fff;box-shadow:0 2px 5px rgba(31, 40, 58, 0.08);box-sizing:border-box}.dimension-card:nth-child(1){--dimension-color:#df4038}.dimension-card:nth-child(2){--dimension-color:#dc941b}.dimension-card:nth-child(3){--dimension-color:#397a59}.dimension-card:nth-child(4){--dimension-color:#315880}.dimension-card strong{display:flex;flex-direction:column;gap:2px;color:#202734;font-size:14px;line-height:1.45}.dimension-card strong span{margin:0;color:var(--dimension-color);font-family:Georgia, \"Times New Roman\", serif;font-size:24px;line-height:1}.dimension-card p{margin:5px 0 0;color:var(--cast-secondary);font-size:12px;line-height:1.5}.primary-button{width:100%;min-height:46px;padding:10px 18px;border:0;border-radius:7px;background:var(--cast-primary);box-shadow:0 8px 18px rgba(57, 126, 232, 0.2);color:#fff;font:inherit;font-size:15px;font-weight:600;letter-spacing:0.14em;cursor:pointer;transition:background-color 0.2s, box-shadow 0.2s, transform 0.2s}.primary-button:hover{background:var(--cast-primary-hover);box-shadow:0 10px 22px rgba(57, 126, 232, 0.26)}.primary-button:active{transform:scale(0.99)}.primary-button:focus-visible,.answer-option:focus-visible,.validity-options button:focus-visible,.quiz-footer button:focus-visible,.phase-tabs span:focus-visible{outline:3px solid rgba(63, 127, 240, 0.28);outline-offset:2px}.assessment-notice{padding:16px 15px 13px;border:1px solid #e4e6e9;border-radius:8px;background:#fafafa}.assessment-notice h2{margin:0 0 7px;color:#181d25;font-size:13px;line-height:1.6}.assessment-notice ul{margin:0;padding:0;list-style:none;color:#939ba7;font-size:12px;line-height:1.9}.assessment-notice li{position:relative;padding-left:13px}.assessment-notice li::before{position:absolute;left:1px;content:\"·\";color:#aab0b9}.assessment-notice strong{color:#151a21;font-weight:700}.consent-row{display:flex;align-items:flex-start;gap:9px;margin:18px 0 15px;color:#9aa1ac;font-size:12px;line-height:18px;cursor:pointer}.consent-row input{width:16px;height:16px;margin:1px 0 0;border:1px solid #d9dde3;accent-color:var(--cast-primary);cursor:pointer;flex:0 0 auto}.primary-button:disabled{background:#dedede;box-shadow:none;color:#fff;cursor:not-allowed}.primary-button:disabled:hover{background:#dedede;box-shadow:none}.intro-footer{display:flex;justify-content:space-between;margin-top:10px;color:#99a1ad;font-size:11px;line-height:18px}.quiz-content{padding:27px 20px 24px}.progress-track{height:2px;margin-right:27px;overflow:hidden;background:var(--cast-border)}.progress-track span{display:block;height:100%;background:var(--cast-primary);transition:width 0.25s ease}.question-meta{display:flex;justify-content:space-between;align-items:center;padding:11px 0 13px;border-bottom:1px solid #eceef1;color:#202632;font-size:12px}.question-meta strong{font-size:13px}.question-meta>span{padding:3px 8px;border:1px solid #e5e7eb;color:#202632;line-height:16px}.phase-tabs{display:flex;align-items:center;gap:7px;margin-top:14px}.phase-tabs span,.validity-hint{padding:6px 10px;border:1px solid var(--cast-border);border-radius:0;color:#a2a7af;font-size:12px;line-height:16px}.phase-tabs span{display:inline-flex;align-items:center;gap:4px}.phase-tabs span i{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;background:#e5e7eb;color:#fff;font-size:11px;font-style:normal}.phase-tabs span strong{font-weight:600}.phase-tabs>b{color:#aab0ba;font-size:13px;font-weight:400}.phase-tabs span.active{border-color:var(--cast-primary);background:#fff;color:var(--cast-primary)}.phase-tabs span.active i{background:var(--cast-primary)}.phase-tabs span.completed{color:#a2a7af}.validity-hint{display:inline-block;margin-top:14px;border-color:var(--cast-primary);color:var(--cast-primary)}.quiz-content h2{margin:14px 0 14px;font-size:16px;line-height:1.7}.option-list{display:flex;flex-direction:column;gap:8px}.answer-option{width:100%;min-height:47px;display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid #dfe1e5;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(31, 40, 58, 0.08);color:#4f5662;font:inherit;font-size:13px;line-height:1.7;text-align:left;cursor:pointer;transition:border-color 0.18s, background-color 0.18s, box-shadow 0.18s}.answer-option:hover{border-color:#9dbcf5;background:#fbfdff}.answer-option.selecting-least:hover{border-color:#181818;background:#fff;box-shadow:none}.answer-option.selecting-least:hover::after{flex:0 0 auto;margin-left:auto;padding:2px 7px;background:#181818;color:#fff;content:\"最不符合我\";font-size:11px;line-height:16px;white-space:nowrap}.answer-option.selected-most,.answer-option.selected-most:disabled{border-color:var(--cast-primary);background:var(--cast-primary-soft);box-shadow:0 0 0 1px rgba(63, 127, 240, 0.08);color:#2867d8;cursor:default;opacity:1}.option-letter{flex:0 0 16px;color:#a5aab3;font-family:Georgia, serif}.selected-most .option-letter{color:var(--cast-primary)}.answer-option.selected-least{border-color:#9ba2ad;border-style:dashed;background:#f7f8fa;color:#777f8b}.answer-mark{flex:0 0 auto;margin-left:auto;padding:2px 7px;background:var(--cast-primary);color:#fff;font-size:11px;line-height:16px;white-space:nowrap}.selected-least .answer-mark{background:#8d96a3}.validity-options{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:7px}.validity-options button{min-height:72px;padding:8px 4px;border:1px solid var(--cast-border);border-radius:8px;background:#fff;color:var(--cast-secondary);font:inherit;font-size:11px;cursor:pointer}.validity-options button:hover,.validity-options button.selected{border-color:var(--cast-primary);background:var(--cast-primary-soft);color:var(--cast-primary)}.validity-options button.selected strong{color:var(--cast-primary)}.validity-options strong,.validity-options span{display:block}.validity-options strong{margin-bottom:8px;color:var(--cast-text);font-size:18px}.quiz-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:14px 2px 0;border-top:1px solid #eceef1;color:#acb1ba;font-size:12px;min-height:26px}.quiz-footer button{padding:5px 0;border:0;background:transparent;color:#7e8795;font:inherit;cursor:pointer}.quiz-footer button:disabled{color:#d7dade;cursor:default}.quiz-footer .saved-next-button{color:var(--cast-primary)}.result-content{padding:46px 36px 20px}.result-label{color:#a2a8b2;font-size:12px}.result-content>h1{margin:7px 0 1px;font-size:23px;line-height:1.3}.result-code{margin:0;color:#7f91ad;font-size:12px;font-weight:400}.result-tag{margin:12px 0 18px;padding-bottom:18px;border-bottom:1px solid #e8eaed;color:#949ba6;font-size:13px;line-height:1.8}.score-list{display:grid;gap:15px}.score-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:7px;font-size:16px}.score-row>div:first-child strong>span{color:var(--cast-text)}.score-row>div:first-child>span{color:#9097a1;font-size:12px;font-weight:400}.score-track{position:relative;height:4px;border-radius:2px;background:#e9eaec;overflow:hidden}.score-track i{position:absolute;top:0;bottom:0;left:50%;width:1px;z-index:1;background:#bfc4cb}.score-track span{position:absolute;top:0;bottom:0;background:var(--cast-primary)}.job-matches{margin-top:30px}.result-section-label{margin-bottom:7px;color:#a2a8b2;font-size:12px}.job-match-row{display:flex;justify-content:space-between;align-items:center;min-height:40px;border-bottom:1px solid #e8eaed;color:#3f4651;font-size:13px}.job-match-row strong{color:#111722;font-size:13px}.quality-warning{margin:22px 0 0;padding:0;border:0;background:transparent;color:#a0a6af;font-size:12px;line-height:1.7}.quality-warning strong{font-weight:400}.result-content .primary-button{margin-top:26px}@media screen and (max-width: 600px){.cast-overlay{padding:0}.cast-modal{width:100%;min-width:0;margin:0;border-radius:0}.cast-modal.fullscreen{min-height:100%;max-height:100%}.cast-content{padding:46px 20px 24px}.quiz-content{padding-top:27px}.cast-modal.fullscreen .cast-content{min-height:100%}.result-content{padding:46px 20px 20px}.dimension-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:9px;margin-top:20px}.dimension-card{min-height:92px;padding:14px 12px 12px}.dimension-card:hover{transform:none}.phase-tabs{gap:5px}.phase-tabs span{padding:6px 7px}.phase-tabs>b{display:none}.validity-options{grid-template-columns:1fr}.validity-options button{min-height:46px;display:flex;align-items:center;gap:12px;padding:8px 14px;text-align:left}.validity-options strong{margin:0}}@media screen and (max-width: 360px){.cast-content{padding-right:16px;padding-left:16px}.dimension-grid{grid-template-columns:1fr}.dimension-card{min-height:76px}.dimension-card strong{flex-direction:row;align-items:baseline;gap:7px}}@media (hover: none){.answer-option.selecting-least:hover{border-color:#dfe1e5;background:#fff;box-shadow:0 1px 2px rgba(31, 40, 58, 0.08)}.answer-option.selecting-least:hover::after{display:none}}@media (prefers-reduced-motion: reduce){.primary-button,.answer-option,.dimension-card,.progress-track span{transition:none}}";
|
|
7868
|
+
const oemCastModalCss = ":host{--cast-primary:#397ee8;--cast-primary-hover:#2f6fce;--cast-primary-soft:#eef5ff;--cast-text:#111827;--cast-secondary:#8b95a5;--cast-border:#e4e7ec;--cast-surface:#ffffff;display:block;font-family:\"Microsoft YaHei\", \"PingFang SC\", Arial, sans-serif}.report-section{margin:20px 0 16px}.report-title{margin:0 0 16px;color:#333;font-size:16px;font-weight:700;line-height:1.5}.report-field+.report-field{margin-top:16px}.report-label{display:block;margin-bottom:8px;color:#333;font-size:14px}.report-input-wrapper{display:flex;align-items:center;box-sizing:border-box;height:42px;border:1px solid #ddd;border-radius:6px;background:#fff}.report-input-wrapper:focus-within{outline:2px solid rgba(24, 144, 255, 0.2);border-color:#1890ff}.report-prefix{display:inline-flex;flex:0 0 48px;align-items:center;justify-content:center;color:#999;font-size:14px}.report-input{flex:1;box-sizing:border-box;width:100%;min-width:0;height:100%;padding:0 12px 0 0;border:0;border-radius:6px;outline:none;background:transparent;color:#333;font:inherit;font-size:14px}.report-input::placeholder{color:#999}.report-hint{display:flex;align-items:flex-start;gap:6px;margin:16px 0 0;padding:10px 12px;border-radius:6px;background:#fff4da;color:#87551d;font-size:12px;line-height:1.6}.report-hint-icon{flex:0 0 14px;margin-top:2px}.phone-section{margin:16px 0}.phone-section label{display:block;margin-bottom:8px;font-size:14px}.phone-input,.verification-code-input{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid var(--cast-border);border-radius:4px;font:inherit;font-size:14px;line-height:1.5}.phone-input:focus,.verification-code-input:focus{outline:2px solid var(--cast-primary-soft);border-color:var(--cast-primary)}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1}.send-code-button{padding:8px 16px;background:var(--cast-primary);color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;white-space:nowrap}.send-code-button:hover:not(:disabled){background:var(--cast-primary-hover)}.send-code-button:disabled{background:var(--cast-primary-soft);color:#8c8c8c;cursor:not-allowed}.cast-overlay{align-items:flex-start}.cast-modal{max-width:980px;max-height:96vh;border:0;border-radius:0;box-shadow:0 16px 44px rgba(31, 40, 58, 0.16)}.cast-modal:not(.fullscreen){height:50vh;min-height:700px}.cast-close-button{position:absolute;top:10px;right:10px;z-index:4}.close-confirm-container,.instructions-confirm-container{position:relative;z-index:100}.instructions-content{color:#7f8793;font-size:13px;line-height:1.75}.instructions-content>p{margin:0}.instructions-content ol{margin:14px 0;padding:0 0 0 22px}.instructions-content li{padding:7px 0 7px 4px;border-top:1px solid #eceef1}.instructions-content li:last-child{border-bottom:1px solid #eceef1}.instructions-content strong,.instructions-content span{display:block}.instructions-content strong{color:#242b36;font-size:14px}.instructions-content .instructions-content-note{color:#9aa1ac}.close-confirm-message{margin-bottom:16px;color:#595959;font-size:16px;line-height:1.5}.cast-scroll-area{flex:1;overflow-y:auto;overscroll-behavior:contain}.cast-content{width:100%;padding:20px;box-sizing:border-box;color:var(--cast-text)}.intro-content{background:var(--cast-surface)}.brand-line{display:flex;align-items:center;gap:9px;color:var(--cast-secondary);font-size:12px;line-height:20px;letter-spacing:0.02em}.brand-dot{width:6px;height:6px;border-radius:50%;background:var(--cast-primary);box-shadow:0 0 0 4px rgba(57, 126, 232, 0.09)}.intro-content h1{margin:17px 0 7px;font-size:21px;line-height:1.4;letter-spacing:0.02em}.intro-description,.privacy-note{margin:0;color:var(--cast-secondary);font-size:13px;line-height:1.75}.dimension-heading{display:flex;align-items:baseline;gap:8px;margin-top:21px;font-size:12px}.dimension-heading strong{color:#111827;font-size:13px}.dimension-heading span{color:#9aa2af}.dimension-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:11px;margin:17px 0 23px}.dimension-card{position:relative;min-height:101px;padding:15px 11px 12px;overflow:hidden;border:1px solid var(--cast-border);border-top:3px solid var(--dimension-color, var(--cast-primary));border-radius:8px;background:#fff;box-shadow:0 2px 5px rgba(31, 40, 58, 0.08);box-sizing:border-box}.dimension-card:nth-child(1){--dimension-color:#df4038}.dimension-card:nth-child(2){--dimension-color:#dc941b}.dimension-card:nth-child(3){--dimension-color:#397a59}.dimension-card:nth-child(4){--dimension-color:#315880}.dimension-card strong{display:flex;flex-direction:column;gap:2px;color:#202734;font-size:14px;line-height:1.45}.dimension-card strong span{margin:0;color:var(--dimension-color);font-family:Georgia, \"Times New Roman\", serif;font-size:24px;line-height:1}.dimension-card p{margin:5px 0 0;color:var(--cast-secondary);font-size:12px;line-height:1.5}.primary-button{width:100%;min-height:46px;padding:10px 18px;border:0;border-radius:7px;background:var(--cast-primary);box-shadow:0 8px 18px rgba(57, 126, 232, 0.2);color:#fff;font:inherit;font-size:15px;font-weight:600;letter-spacing:0.14em;cursor:pointer;transition:background-color 0.2s, box-shadow 0.2s, transform 0.2s}.primary-button:hover{background:var(--cast-primary-hover);box-shadow:0 10px 22px rgba(57, 126, 232, 0.26)}.primary-button:active{transform:scale(0.99)}.primary-button:focus-visible,.answer-option:focus-visible,.validity-options button:focus-visible,.quiz-footer button:focus-visible,.phase-tabs span:focus-visible{outline:3px solid rgba(63, 127, 240, 0.28);outline-offset:2px}.assessment-notice{padding:16px 15px 13px;border:1px solid #e4e6e9;border-radius:8px;background:#fafafa}.assessment-notice h2{margin:0 0 7px;color:#181d25;font-size:13px;line-height:1.6}.assessment-notice ul{margin:0;padding:0;list-style:none;color:#939ba7;font-size:12px;line-height:1.9}.assessment-notice li{position:relative;padding-left:13px}.assessment-notice li::before{position:absolute;left:1px;content:\"·\";color:#aab0b9}.assessment-notice strong{color:#151a21;font-weight:700}.consent-row{display:flex;align-items:flex-start;gap:9px;margin:18px 0 15px;color:#9aa1ac;font-size:12px;line-height:18px;cursor:pointer}.consent-row input{width:16px;height:16px;margin:1px 0 0;border:1px solid #d9dde3;accent-color:var(--cast-primary);cursor:pointer;flex:0 0 auto}.primary-button:disabled{background:#dedede;box-shadow:none;color:#fff;cursor:not-allowed}.primary-button:disabled:hover{background:#dedede;box-shadow:none}.intro-footer{display:flex;justify-content:space-between;margin-top:10px;color:#99a1ad;font-size:11px;line-height:18px}.quiz-content{padding:27px 20px 24px}.progress-track{height:2px;margin-right:27px;overflow:hidden;background:var(--cast-border)}.progress-track span{display:block;height:100%;background:var(--cast-primary);transition:width 0.25s ease}.question-meta{display:flex;justify-content:space-between;align-items:center;padding:11px 0 13px;border-bottom:1px solid #eceef1;color:#202632;font-size:12px}.question-meta strong{font-size:13px}.question-meta>span{padding:3px 8px;border:1px solid #e5e7eb;color:#202632;line-height:16px}.phase-tabs{display:flex;align-items:center;gap:7px;margin-top:14px}.phase-tabs span,.validity-hint{padding:6px 10px;border:1px solid var(--cast-border);border-radius:0;color:#a2a7af;font-size:12px;line-height:16px}.phase-tabs span{display:inline-flex;align-items:center;gap:4px}.phase-tabs span i{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;background:#e5e7eb;color:#fff;font-size:11px;font-style:normal}.phase-tabs span strong{font-weight:600}.phase-tabs>b{color:#aab0ba;font-size:13px;font-weight:400}.phase-tabs span.active{border-color:var(--cast-primary);background:#fff;color:var(--cast-primary)}.phase-tabs span.active i{background:var(--cast-primary)}.phase-tabs span.completed{color:#a2a7af}.validity-hint{display:inline-block;margin-top:14px;border-color:var(--cast-primary);color:var(--cast-primary)}.quiz-content h2{margin:14px 0 14px;font-size:16px;line-height:1.7}.option-list{display:flex;flex-direction:column;gap:8px}.answer-option{width:100%;min-height:47px;display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid #dfe1e5;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(31, 40, 58, 0.08);color:#4f5662;font:inherit;font-size:13px;line-height:1.7;text-align:left;cursor:pointer;transition:border-color 0.18s, background-color 0.18s, box-shadow 0.18s}.answer-option:hover{border-color:#9dbcf5;background:#fbfdff}.answer-option.selecting-least:hover{border-color:#181818;background:#fff;box-shadow:none}.answer-option.selecting-least:hover::after{flex:0 0 auto;margin-left:auto;padding:2px 7px;background:#181818;color:#fff;content:\"最不符合我\";font-size:11px;line-height:16px;white-space:nowrap}.answer-option.selected-most,.answer-option.selected-most:disabled{border-color:var(--cast-primary);background:var(--cast-primary-soft);box-shadow:0 0 0 1px rgba(63, 127, 240, 0.08);color:#2867d8;cursor:default;opacity:1}.option-letter{flex:0 0 16px;color:#a5aab3;font-family:Georgia, serif}.selected-most .option-letter{color:var(--cast-primary)}.answer-option.selected-least{border-color:#9ba2ad;border-style:dashed;background:#f7f8fa;color:#777f8b}.answer-mark{flex:0 0 auto;margin-left:auto;padding:2px 7px;background:var(--cast-primary);color:#fff;font-size:11px;line-height:16px;white-space:nowrap}.selected-least .answer-mark{background:#8d96a3}.validity-options{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:7px}.validity-options button{min-height:72px;padding:8px 4px;border:1px solid var(--cast-border);border-radius:8px;background:#fff;color:var(--cast-secondary);font:inherit;font-size:11px;cursor:pointer}.validity-options button:hover,.validity-options button.selected{border-color:var(--cast-primary);background:var(--cast-primary-soft);color:var(--cast-primary)}.validity-options button.selected strong{color:var(--cast-primary)}.validity-options strong,.validity-options span{display:block}.validity-options strong{margin-bottom:8px;color:var(--cast-text);font-size:18px}.quiz-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:14px 2px 0;border-top:1px solid #eceef1;color:#acb1ba;font-size:12px;min-height:26px}.quiz-footer button{padding:5px 0;border:0;background:transparent;color:#7e8795;font:inherit;cursor:pointer}.quiz-footer button:disabled{color:#d7dade;cursor:default}.quiz-footer .saved-next-button{color:var(--cast-primary)}.result-content{padding:46px 36px 20px}.result-label{color:#a2a8b2;font-size:12px}.result-content>h1{margin:7px 0 1px;font-size:23px;line-height:1.3}.result-code{margin:0;color:#7f91ad;font-size:12px;font-weight:400}.result-tag{margin:12px 0 18px;padding-bottom:18px;border-bottom:1px solid #e8eaed;color:#949ba6;font-size:13px;line-height:1.8}.score-list{display:grid;gap:15px}.score-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:7px;font-size:16px}.score-row>div:first-child strong>span{color:var(--cast-text)}.score-row>div:first-child>span{color:#9097a1;font-size:12px;font-weight:400}.score-track{position:relative;height:4px;border-radius:2px;background:#e9eaec;overflow:hidden}.score-track i{position:absolute;top:0;bottom:0;left:50%;width:1px;z-index:1;background:#bfc4cb}.score-track span{position:absolute;top:0;bottom:0;background:var(--cast-primary)}.job-matches{margin-top:30px}.result-section-label{margin-bottom:7px;color:#a2a8b2;font-size:12px}.job-match-row{display:flex;justify-content:space-between;align-items:center;min-height:40px;border-bottom:1px solid #e8eaed;color:#3f4651;font-size:13px}.job-match-row strong{color:#111722;font-size:13px}.quality-warning{margin:22px 0 0;padding:0;border:0;background:transparent;color:#a0a6af;font-size:12px;line-height:1.7}.quality-warning strong{font-weight:400}.result-content .primary-button{margin-top:26px}@media screen and (max-width: 600px){.cast-overlay{padding:0}.cast-modal{width:100%;min-width:0;margin:0;border-radius:0}.cast-modal.fullscreen{min-height:100%;max-height:100%}.cast-content{padding:46px 20px 24px}.quiz-content{padding-top:27px}.cast-modal.fullscreen .cast-content{min-height:100%}.result-content{padding:46px 20px 20px}.dimension-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:9px;margin-top:20px}.dimension-card{min-height:92px;padding:14px 12px 12px}.dimension-card:hover{transform:none}.phase-tabs{gap:5px}.phase-tabs span{padding:6px 7px}.phase-tabs>b{display:none}.validity-options{grid-template-columns:1fr}.validity-options button{min-height:46px;display:flex;align-items:center;gap:12px;padding:8px 14px;text-align:left}.validity-options strong{margin:0}}@media screen and (max-width: 360px){.cast-content{padding-right:16px;padding-left:16px}.dimension-grid{grid-template-columns:1fr}.dimension-card{min-height:76px}.dimension-card strong{flex-direction:row;align-items:baseline;gap:7px}}@media (hover: none){.answer-option.selecting-least:hover{border-color:#dfe1e5;background:#fff;box-shadow:0 1px 2px rgba(31, 40, 58, 0.08)}.answer-option.selecting-least:hover::after{display:none}}@media (prefers-reduced-motion: reduce){.primary-button,.answer-option,.dimension-card,.progress-track span{transition:none}}";
|
|
7869
7869
|
|
|
7870
7870
|
const hostCss$i = ":host{font-size:16px;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-weight:normal;font-style:normal;font-variant:normal;line-height:1.5;letter-spacing:normal;word-spacing:normal;color:#333;text-align:left;text-indent:0;text-transform:none;white-space:normal;word-wrap:normal;word-break:normal;visibility:visible;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;border-collapse:separate;border-spacing:0;caption-side:top;empty-cells:show;table-layout:auto;quotes:auto;cursor:auto;direction:ltr;orphans:2;widows:2;page-break-inside:auto;text-decoration:none;text-shadow:none;box-sizing:border-box;writing-mode:horizontal-tb;text-orientation:mixed}";
|
|
7871
7871
|
|
|
@@ -7888,6 +7888,10 @@ const OemCastModal = class {
|
|
|
7888
7888
|
fullscreen = false;
|
|
7889
7889
|
/** 是否展示右上角关闭按钮。 */
|
|
7890
7890
|
isNeedClose = true;
|
|
7891
|
+
/** 是否显示选填邮箱;隐藏时不校验、不提交邮箱。 */
|
|
7892
|
+
showEmail = true;
|
|
7893
|
+
/** 是否显示选填手机号及短信验证;隐藏时不校验、不提交手机号。 */
|
|
7894
|
+
showPhone = true;
|
|
7891
7895
|
/** 点击关闭按钮时触发。 */
|
|
7892
7896
|
modalClosed;
|
|
7893
7897
|
/** 测评完成事件,返回版本、结果标题、报告、答题记录及已验证的选填手机号。 */
|
|
@@ -7916,6 +7920,7 @@ const OemCastModal = class {
|
|
|
7916
7920
|
* 事件参数:{ mobile: string, codeType: number }。
|
|
7917
7921
|
*/
|
|
7918
7922
|
sendSmsCodeRequest;
|
|
7923
|
+
email = '';
|
|
7919
7924
|
// 手机号和验证码相关状态
|
|
7920
7925
|
phoneNumber = '';
|
|
7921
7926
|
verificationCode = '';
|
|
@@ -7996,6 +8001,7 @@ const OemCastModal = class {
|
|
|
7996
8001
|
this.conversationId = undefined;
|
|
7997
8002
|
this.startRequest = undefined;
|
|
7998
8003
|
this.phoneNumber = '';
|
|
8004
|
+
this.email = '';
|
|
7999
8005
|
this.verificationCode = '';
|
|
8000
8006
|
this.isSendingCode = false;
|
|
8001
8007
|
this.isVerifyingCode = false;
|
|
@@ -8005,6 +8011,9 @@ const OemCastModal = class {
|
|
|
8005
8011
|
this.countdownTimer = null;
|
|
8006
8012
|
}
|
|
8007
8013
|
}
|
|
8014
|
+
handleEmailChange = (event) => {
|
|
8015
|
+
this.email = event.target.value;
|
|
8016
|
+
};
|
|
8008
8017
|
handlePhoneNumberChange = (event) => {
|
|
8009
8018
|
const input = event.target;
|
|
8010
8019
|
this.phoneNumber = input.value;
|
|
@@ -8027,6 +8036,8 @@ const OemCastModal = class {
|
|
|
8027
8036
|
}, 1000);
|
|
8028
8037
|
};
|
|
8029
8038
|
handleSendCode = () => {
|
|
8039
|
+
if (!this.showPhone)
|
|
8040
|
+
return;
|
|
8030
8041
|
if (!this.phoneNumber.trim()) {
|
|
8031
8042
|
message_service.Message.error('请输入手机号');
|
|
8032
8043
|
return;
|
|
@@ -8057,7 +8068,11 @@ const OemCastModal = class {
|
|
|
8057
8068
|
handleShowAssessmentInstructions = async () => {
|
|
8058
8069
|
if (!this.hasAcceptedNotice)
|
|
8059
8070
|
return;
|
|
8060
|
-
if (this.
|
|
8071
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
8072
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
8073
|
+
return;
|
|
8074
|
+
}
|
|
8075
|
+
if (this.showPhone && this.phoneNumber.trim()) {
|
|
8061
8076
|
const phoneRegex = /^1[3-9]\d{9}$/;
|
|
8062
8077
|
if (!phoneRegex.test(this.phoneNumber.trim())) {
|
|
8063
8078
|
message_service.Message.error('请输入正确的手机号');
|
|
@@ -8102,7 +8117,8 @@ const OemCastModal = class {
|
|
|
8102
8117
|
query,
|
|
8103
8118
|
inputs: {
|
|
8104
8119
|
report_content: reportContent,
|
|
8105
|
-
phone: this.phoneNumber.trim() || undefined,
|
|
8120
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined,
|
|
8121
|
+
email: this.showEmail ? this.email.trim() || undefined : undefined,
|
|
8106
8122
|
},
|
|
8107
8123
|
},
|
|
8108
8124
|
onMessage: (data) => {
|
|
@@ -8324,7 +8340,7 @@ const OemCastModal = class {
|
|
|
8324
8340
|
completeAssessment() {
|
|
8325
8341
|
const result = this.calculateResult();
|
|
8326
8342
|
const completeDetail = {
|
|
8327
|
-
...(this.phoneNumber.trim() ? { phone: this.phoneNumber.trim() } : {}),
|
|
8343
|
+
...(this.showPhone && this.phoneNumber.trim() ? { phone: this.phoneNumber.trim() } : {}),
|
|
8328
8344
|
version: CAST_ASSESSMENT_VERSION,
|
|
8329
8345
|
resultTitle: result.name,
|
|
8330
8346
|
reportJson: JSON.stringify(result),
|
|
@@ -8341,7 +8357,7 @@ const OemCastModal = class {
|
|
|
8341
8357
|
return (index.h("button", { class: "close-button cast-close-button", type: "button", "aria-label": "\u5173\u95ED\u6D4B\u8BC4", onClick: this.handleClose }, index.h("span", { "aria-hidden": "true" }, "\u00D7")));
|
|
8342
8358
|
}
|
|
8343
8359
|
renderIntro() {
|
|
8344
|
-
return (index.h("main", { class: "cast-content intro-content" }, index.h("div", { class: "brand-line" }, index.h("span", { class: "brand-dot", "aria-hidden": "true" }), "\u8058\u624D\u732B \u00B7 CAST \u624D\u578B\u6D4B\u8BC4"), index.h("h1", null, "\u624D\u578B \u00B7 \u804C\u4E1A\u6027\u683C\u6D4B\u8BC4"), index.h("p", { class: "intro-description" }, "32 \u9053\u9898 / \u7EA6 6 \u5206\u949F\u3002\u6309\u987A\u5E8F\u4F5C\u7B54\uFF0C\u5B8C\u6210\u540E\u7ACB\u5373\u67E5\u770B\u7ED3\u679C\u3002"), index.h("div", { class: "dimension-heading" }, index.h("strong", null, "\u6D4B\u8BC4\u7684\u56DB\u4E2A\u7EF4\u5EA6"), index.h("span", null, "CAST \u6A21\u578B \u00B7 \u4EC5\u4F5C\u8BF4\u660E\uFF0C\u65E0\u9700\u9009\u62E9")), index.h("div", { class: "dimension-grid" }, CAST_DIMENSIONS.map(dimension => (index.h("div", { class: "dimension-card" }, index.h("strong", null, index.h("span", null, dimension), " ", CAST_DIMENSION_INFO[dimension].name), index.h("p", null, CAST_DIMENSION_INFO[dimension].drive))))), index.h("section", { class: "assessment-notice", "aria-labelledby": "cast-assessment-notice-title" }, index.h("h2", { id: "cast-assessment-notice-title" }, "\u5173\u4E8E\u672C\u6B21\u6D4B\u8BC4"), index.h("ul", null, index.h("li", null, index.h("span", null, "\u6536\u96C6\u5185\u5BB9\uFF1A"), "\u4F60\u7684\u9009\u9879\u3001\u6BCF\u9898\u4F5C\u7B54\u7528\u65F6\u3002\u4E0D\u6536\u96C6\u59D3\u540D\u3001\u8EAB\u4EFD\u8BC1\u53F7\u3002"), index.h("li", null, index.h("span", null, "\u7528\u9014\uFF1A"), "\u751F\u6210\u4E2A\u4EBA\u804C\u4E1A\u98CE\u683C\u62A5\u544A\uFF0C\u5E76\u4F5C\u4E3A\u5C97\u4F4D\u63A8\u8350\u7684\u53C2\u8003\u6743\u91CD\u4E4B\u4E00\u3002"), index.h("li", null, index.h("span", null, "\u7ED3\u679C"), index.h("strong", null, "\u4E0D\u7528\u4E8E\u4EFB\u4F55\u62DB\u8058\u5F55\u7528\u51B3\u7B56"), index.h("span", null, "\uFF0C\u4E0D\u63D0\u4F9B\u7ED9\u7528\u4EBA\u5355\u4F4D\u3002")), index.h("li", null, index.h("span", null, "\u5B58\u50A8\uFF1A"), "\u533F\u540D\u5316\u540E\u4FDD\u7559 12 \u4E2A\u6708\u7528\u4E8E\u5E38\u6A21\u5EFA\u8BBE\uFF0C\u53EF\u968F\u65F6\u7533\u8BF7\u5220\u9664\u3002"), index.h("li", null, index.h("span", null, "\u8BF4\u660E\uFF1A"), "\u672C\u6D4B\u8BC4\u9898\u76EE\u3001\u7B97\u6CD5\u3001\u5E38\u6A21\u4E0E\u89E3\u8BFB\u6587\u6848\u5747\u4E3A\u8058\u624D\u732B\u81EA\u4E3B\u7814\u53D1\u3002"))), index.h("
|
|
8360
|
+
return (index.h("main", { class: "cast-content intro-content" }, index.h("div", { class: "brand-line" }, index.h("span", { class: "brand-dot", "aria-hidden": "true" }), "\u8058\u624D\u732B \u00B7 CAST \u624D\u578B\u6D4B\u8BC4"), index.h("h1", null, "\u624D\u578B \u00B7 \u804C\u4E1A\u6027\u683C\u6D4B\u8BC4"), index.h("p", { class: "intro-description" }, "32 \u9053\u9898 / \u7EA6 6 \u5206\u949F\u3002\u6309\u987A\u5E8F\u4F5C\u7B54\uFF0C\u5B8C\u6210\u540E\u7ACB\u5373\u67E5\u770B\u7ED3\u679C\u3002"), index.h("div", { class: "dimension-heading" }, index.h("strong", null, "\u6D4B\u8BC4\u7684\u56DB\u4E2A\u7EF4\u5EA6"), index.h("span", null, "CAST \u6A21\u578B \u00B7 \u4EC5\u4F5C\u8BF4\u660E\uFF0C\u65E0\u9700\u9009\u62E9")), index.h("div", { class: "dimension-grid" }, CAST_DIMENSIONS.map(dimension => (index.h("div", { class: "dimension-card" }, index.h("strong", null, index.h("span", null, dimension), " ", CAST_DIMENSION_INFO[dimension].name), index.h("p", null, CAST_DIMENSION_INFO[dimension].drive))))), index.h("section", { class: "assessment-notice", "aria-labelledby": "cast-assessment-notice-title" }, index.h("h2", { id: "cast-assessment-notice-title" }, "\u5173\u4E8E\u672C\u6B21\u6D4B\u8BC4"), index.h("ul", null, index.h("li", null, index.h("span", null, "\u6536\u96C6\u5185\u5BB9\uFF1A"), "\u4F60\u7684\u9009\u9879\u3001\u6BCF\u9898\u4F5C\u7B54\u7528\u65F6\u3002\u4E0D\u6536\u96C6\u59D3\u540D\u3001\u8EAB\u4EFD\u8BC1\u53F7\u3002"), index.h("li", null, index.h("span", null, "\u7528\u9014\uFF1A"), "\u751F\u6210\u4E2A\u4EBA\u804C\u4E1A\u98CE\u683C\u62A5\u544A\uFF0C\u5E76\u4F5C\u4E3A\u5C97\u4F4D\u63A8\u8350\u7684\u53C2\u8003\u6743\u91CD\u4E4B\u4E00\u3002"), index.h("li", null, index.h("span", null, "\u7ED3\u679C"), index.h("strong", null, "\u4E0D\u7528\u4E8E\u4EFB\u4F55\u62DB\u8058\u5F55\u7528\u51B3\u7B56"), index.h("span", null, "\uFF0C\u4E0D\u63D0\u4F9B\u7ED9\u7528\u4EBA\u5355\u4F4D\u3002")), index.h("li", null, index.h("span", null, "\u5B58\u50A8\uFF1A"), "\u533F\u540D\u5316\u540E\u4FDD\u7559 12 \u4E2A\u6708\u7528\u4E8E\u5E38\u6A21\u5EFA\u8BBE\uFF0C\u53EF\u968F\u65F6\u7533\u8BF7\u5220\u9664\u3002"), index.h("li", null, index.h("span", null, "\u8BF4\u660E\uFF1A"), "\u672C\u6D4B\u8BC4\u9898\u76EE\u3001\u7B97\u6CD5\u3001\u5E38\u6A21\u4E0E\u89E3\u8BFB\u6587\u6848\u5747\u4E3A\u8058\u624D\u732B\u81EA\u4E3B\u7814\u53D1\u3002"))), (this.showEmail || this.showPhone) && (index.h("section", { class: "report-section", "aria-labelledby": "cast-report-title" }, index.h("h2", { class: "report-title", id: "cast-report-title" }, "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09"), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { class: "report-label", htmlFor: "cast-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-prefix", "aria-hidden": "true" }, index.h("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" }))), index.h("input", { id: "cast-email", type: "email", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", autoComplete: "email", value: this.email, disabled: this.isVerifyingCode, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { class: "report-label", htmlFor: "cast-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-prefix", "aria-hidden": "true" }, "+86"), index.h("input", { id: "cast-phone", type: "tel", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, autoComplete: "tel-national", value: this.phoneNumber, disabled: this.isVerifyingCode, onInput: this.handlePhoneNumberChange })), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "phone-section" }, index.h("label", { htmlFor: "cast-code" }, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { id: "cast-code", type: "text", inputMode: "numeric", autoComplete: "one-time-code", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, disabled: this.isVerifyingCode, onInput: this.handleVerificationCodeChange }), index.h("button", { type: "button", class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || !this.phoneNumber.trim(), onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), index.h("p", { class: "report-hint" }, index.h("svg", { class: "report-hint-icon", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "M12 3 2 21h20L12 3Z", "stroke-linejoin": "round" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, this.showEmail ? '注:部分号码可能收不到短信,推荐使用邮箱接收报告。' : '注:部分号码可能收不到短信。')))))), index.h("label", { class: "consent-row" }, index.h("input", { type: "checkbox", checked: this.hasAcceptedNotice, onChange: (event) => { this.hasAcceptedNotice = event.target.checked; } }), index.h("span", null, "\u6211\u5DF2\u9605\u8BFB\u5E76\u7406\u89E3\u4E0A\u8FF0\u8BF4\u660E\uFF0C\u540C\u610F\u5728\u6B64\u8303\u56F4\u5185\u5904\u7406\u6211\u7684\u4F5C\u7B54\u6570\u636E\u3002")), index.h("button", { class: "primary-button", type: "button", disabled: !this.hasAcceptedNotice || this.isVerifyingCode, onClick: this.handleShowAssessmentInstructions }, this.isVerifyingCode ? '验证中...' : '开始测评'), index.h("div", { class: "intro-footer" }, index.h("span", null, CAST_ASSESSMENT_VERSION.replace('-', ' v')), index.h("span", null, "32 \u9898 / \u7EA6 6 \u5206\u949F"))));
|
|
8345
8361
|
}
|
|
8346
8362
|
renderSituationOptions(item) {
|
|
8347
8363
|
const savedAnswer = this.answers[this.questionIndex];
|
|
@@ -8393,7 +8409,7 @@ const OemCastModal = class {
|
|
|
8393
8409
|
};
|
|
8394
8410
|
OemCastModal.style = globalCss$d + (oemCastModalCss + hostCss$i);
|
|
8395
8411
|
|
|
8396
|
-
const oemHtwsModalCss = ".input-mode-toggle{display:flex;align-items:center;margin-bottom:16px}.input-mode-toggle span{color:#333;margin-right:12px}.toggle-button{display:flex;align-items:center;background:none;border:none;color:#2E6EDF;cursor:pointer;font-size:14px;padding:4px 8px}.toggle-button svg{margin-right:4px}.free-input{width:100%}.textarea-container{margin-bottom:16px}.textarea-container label{display:block;margin-bottom:8px;font-weight:500;color:#333}.textarea-container textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;background-color:#f9f9f9;min-height:150px;width:100%;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.textarea-container textarea:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.required{color:#f56c6c}.input-guide{background-color:#f5f7fa;border-radius:4px;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.guide-title{font-weight:500;color:#333;margin-bottom:8px}.guide-content{color:#666;font-size:13px;max-width:100%;word-wrap:break-word}.guide-content div{margin-bottom:4px}.
|
|
8412
|
+
const oemHtwsModalCss = ".input-mode-toggle{display:flex;align-items:center;margin-bottom:16px}.input-mode-toggle span{color:#333;margin-right:12px}.toggle-button{display:flex;align-items:center;background:none;border:none;color:#2E6EDF;cursor:pointer;font-size:14px;padding:4px 8px}.toggle-button svg{margin-right:4px}.free-input{width:100%}.textarea-container{margin-bottom:16px}.textarea-container label{display:block;margin-bottom:8px;font-weight:500;color:#333}.textarea-container textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;background-color:#f9f9f9;min-height:150px;width:100%;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.textarea-container textarea:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.required{color:#f56c6c}.input-guide{background-color:#f5f7fa;border-radius:4px;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.guide-title{font-weight:500;color:#333;margin-bottom:8px}.guide-content{color:#666;font-size:13px;max-width:100%;word-wrap:break-word}.guide-content div{margin-bottom:4px}.report-section{margin-bottom:20px;color:#252b31}.report-title{margin-bottom:16px;font-size:16px;font-weight:600}.report-title span{color:#666;font-size:14px;font-weight:400}.report-field{margin-bottom:16px}.report-field label{display:block;margin-bottom:8px;font-size:14px;font-weight:500}.report-input-wrapper{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border:1px solid #ddd;border-radius:6px;box-sizing:border-box;background:#fff;color:#666}.report-input-wrapper:focus-within{border-color:#2e6edf;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.report-input-wrapper input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:0;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#252b31}.report-email-icon{width:16px;height:16px;flex-shrink:0}.report-phone-prefix{padding-right:8px;border-right:1px solid #ddd;font-size:14px}.report-hint{display:flex;align-items:flex-start;gap:6px;padding:10px 12px;border-radius:6px;background:#fff4da;color:#87551d;font-size:12px;line-height:1.5}.report-hint svg{width:16px;height:16px;flex-shrink:0;color:#d99030}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s}.verification-code-input:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.send-code-button{padding:8px 16px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;min-width:100px}.send-code-button:hover:not(:disabled){background-color:#40a9ff}.send-code-button:disabled{background-color:rgba(0, 0, 0, 0.04);color:rgba(0, 0, 0, 0.25);cursor:not-allowed}";
|
|
8397
8413
|
|
|
8398
8414
|
const globalCss$c = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
8399
8415
|
|
|
@@ -8467,6 +8483,10 @@ const OemHtwsModal = class {
|
|
|
8467
8483
|
* OEM ID,用于标识注册来源业务
|
|
8468
8484
|
*/
|
|
8469
8485
|
oemId;
|
|
8486
|
+
/** 是否显示选填邮箱,用于接收报告;与 showPhone 均为 false 时隐藏接收报告区域。 */
|
|
8487
|
+
showEmail = true;
|
|
8488
|
+
/** 是否显示选填手机号;填写后仍需短信验证码验证,用于报告短信通知。 */
|
|
8489
|
+
showPhone = true;
|
|
8470
8490
|
/**
|
|
8471
8491
|
* 上传成功事件
|
|
8472
8492
|
*/
|
|
@@ -8508,7 +8528,8 @@ const OemHtwsModal = class {
|
|
|
8508
8528
|
showChatModal = false;
|
|
8509
8529
|
get hostElement() { return index.getElement(this); }
|
|
8510
8530
|
isSubmitting = false;
|
|
8511
|
-
//
|
|
8531
|
+
// 报告接收方式和验证码相关状态
|
|
8532
|
+
email = '';
|
|
8512
8533
|
phoneNumber = '';
|
|
8513
8534
|
verificationCode = '';
|
|
8514
8535
|
isSendingCode = false;
|
|
@@ -8531,6 +8552,7 @@ const OemHtwsModal = class {
|
|
|
8531
8552
|
this.isSubmitting = false;
|
|
8532
8553
|
this.uploadedFileInfo = null;
|
|
8533
8554
|
// 重置手机号和验证码相关状态
|
|
8555
|
+
this.email = '';
|
|
8534
8556
|
this.phoneNumber = '';
|
|
8535
8557
|
this.verificationCode = '';
|
|
8536
8558
|
this.isSendingCode = false;
|
|
@@ -8584,6 +8606,9 @@ const OemHtwsModal = class {
|
|
|
8584
8606
|
handleClose = () => {
|
|
8585
8607
|
this.modalClosed.emit();
|
|
8586
8608
|
};
|
|
8609
|
+
handleEmailChange = (event) => {
|
|
8610
|
+
this.email = event.target.value;
|
|
8611
|
+
};
|
|
8587
8612
|
handlePhoneNumberChange = (event) => {
|
|
8588
8613
|
const input = event.target;
|
|
8589
8614
|
this.phoneNumber = input.value;
|
|
@@ -8635,8 +8660,12 @@ const OemHtwsModal = class {
|
|
|
8635
8660
|
message_service.Message.info('请上传合同文件');
|
|
8636
8661
|
return;
|
|
8637
8662
|
}
|
|
8638
|
-
|
|
8639
|
-
|
|
8663
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
8664
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
8665
|
+
return;
|
|
8666
|
+
}
|
|
8667
|
+
// 仅验证已启用且填写了的手机号。
|
|
8668
|
+
if (this.showPhone && this.phoneNumber.trim()) {
|
|
8640
8669
|
// 验证手机号格式
|
|
8641
8670
|
const phoneRegex = /^1[3-9]\d{9}$/;
|
|
8642
8671
|
if (!phoneRegex.test(this.phoneNumber.trim())) {
|
|
@@ -8705,11 +8734,12 @@ const OemHtwsModal = class {
|
|
|
8705
8734
|
const result = e.detail ?? [];
|
|
8706
8735
|
this.uploadedFileInfo = result;
|
|
8707
8736
|
this.uploadSuccess.emit(this.uploadedFileInfo);
|
|
8708
|
-
} })), index.h("
|
|
8737
|
+
} })), (this.showEmail || this.showPhone) && (index.h("section", { class: "report-section", "aria-label": "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09" }, index.h("div", { class: "report-title" }, "\u63A5\u6536\u62A5\u544A ", index.h("span", null, "\uFF08\u9009\u586B\uFF09")), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "htws-report-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("svg", { class: "report-email-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" })), index.h("input", { id: "htws-report-email", type: "email", autoComplete: "email", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", value: this.email, disabled: this.isVerifyingCode, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "htws-report-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-phone-prefix" }, "+86"), index.h("input", { id: "htws-report-phone", type: "tel", autoComplete: "tel-national", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, value: this.phoneNumber, disabled: this.isVerifyingCode, onInput: this.handlePhoneNumberChange })))), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "jd-input-section" }, index.h("label", null, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { type: "text", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, onInput: this.handleVerificationCodeChange }), index.h("button", { class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || !this.phoneNumber.trim(), onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), this.showPhone && (index.h("div", { class: "report-hint" }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "M10.3 4.8 2.5 18.3A2 2 0 0 0 4.2 21h15.6a2 2 0 0 0 1.7-2.7L13.7 4.8a2 2 0 0 0-3.4 0Z" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, "\u6CE8\uFF1A\u90E8\u5206\u53F7\u7801\u53EF\u80FD\u6536\u4E0D\u5230\u77ED\u4FE1", this.showEmail ? index.h("span", null, "\uFF0C", index.h("strong", null, "\u63A8\u8350\u4F7F\u7528\u90AE\u7BB1"), "\u63A5\u6536\u62A5\u544A\u3002") : '。'))))), index.h("button", { class: "submit-button", disabled: (!this.customInputs?.file_url && !this.uploadedFileInfo?.length) || this.isUploading || this.isSubmitting || this.isVerifyingCode, onClick: this.handleStartInterview }, this.isUploading ? '上传中...' : this.isVerifyingCode ? '验证中...' : this.isSubmitting ? '处理中...' : '开始分析'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("span", null, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018882", conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
|
|
8709
8738
|
...this.customInputs,
|
|
8710
8739
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.map?.((item) => item.cos_key)?.join(","),
|
|
8711
8740
|
file_name: this.customInputs?.file_name || this.uploadedFileInfo?.map?.((item) => item.file_name)?.join(","),
|
|
8712
|
-
|
|
8741
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
8742
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined
|
|
8713
8743
|
}, interviewMode: "text" }))))));
|
|
8714
8744
|
}
|
|
8715
8745
|
static get watchers() { return {
|
|
@@ -9231,7 +9261,7 @@ const OemJdModal = class {
|
|
|
9231
9261
|
};
|
|
9232
9262
|
OemJdModal.style = oemJdModalCss + (globalCss$b + hostCss$g);
|
|
9233
9263
|
|
|
9234
|
-
const oemJlppModalCss = ".label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.
|
|
9264
|
+
const oemJlppModalCss = ".label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.report-section{display:flex;flex-direction:column;gap:16px;margin-bottom:20px;color:#333}.report-title{font-size:16px;font-weight:600}.report-field{display:flex;flex-direction:column;gap:8px}.report-field label{font-size:14px;font-weight:400}.report-input-wrapper{display:flex;align-items:center;gap:10px;box-sizing:border-box;height:42px;padding:0 12px;border:1px solid #ddd;border-radius:6px;background:#fff}.report-input-wrapper:focus-within{border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.report-input-wrapper .report-input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:none;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#333}.report-email-icon{flex-shrink:0;width:18px;height:18px;color:#999}.report-phone-prefix{flex-shrink:0;font-size:14px}.report-hint{display:flex;align-items:flex-start;gap:6px;padding:10px 12px;border-radius:6px;background:#fffbe6;color:#8c6d1f;font-size:12px;line-height:1.5}.report-hint svg{flex-shrink:0;width:16px;height:18px}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s}.verification-code-input:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.send-code-button{padding:8px 16px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;min-width:100px}.send-code-button:hover:not(:disabled){background-color:#40a9ff}.send-code-button:disabled{background-color:rgba(0, 0, 0, 0.04);color:rgba(0, 0, 0, 0.25);cursor:not-allowed}.position-selector-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}.position-selector-modal{background:white;border-radius:8px;width:90%;max-width:900px;height:80vh;max-height:600px;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);animation:modalFadeIn 0.3s ease}@keyframes modalFadeIn{from{opacity:0;transform:scale(0.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.position-selector-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.position-selector-modal-header h3{margin:0;font-size:16px;font-weight:500;color:rgba(0, 0, 0, 0.85)}.position-selector-close-btn{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:rgba(0, 0, 0, 0.45);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.3s}.position-selector-close-btn:hover{background-color:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.85)}.position-selector-modal-body{flex:1;overflow:hidden;display:flex;flex-direction:column}@media screen and (max-width: 768px){.position-selector-modal{width:100%;height:90vh;max-height:none;border-radius:8px 8px 0 0;margin-top:auto}.position-selector-modal-overlay{padding:0;align-items:flex-end}}";
|
|
9235
9265
|
|
|
9236
9266
|
const globalCss$a = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
9237
9267
|
|
|
@@ -9302,6 +9332,14 @@ const OemJlppModal = class {
|
|
|
9302
9332
|
* 是否显示工作区历史会话按钮
|
|
9303
9333
|
*/
|
|
9304
9334
|
showWorkspaceHistory = false;
|
|
9335
|
+
/**
|
|
9336
|
+
* 是否显示报告接收邮箱,默认显示;隐藏时不校验、不提交邮箱
|
|
9337
|
+
*/
|
|
9338
|
+
showEmail = true;
|
|
9339
|
+
/**
|
|
9340
|
+
* 是否显示报告接收手机号,默认显示;隐藏时不显示验证码、不校验、不提交手机号
|
|
9341
|
+
*/
|
|
9342
|
+
showPhone = true;
|
|
9305
9343
|
/**
|
|
9306
9344
|
* OEM ID,用于获取职位列表
|
|
9307
9345
|
*/
|
|
@@ -9347,7 +9385,8 @@ const OemJlppModal = class {
|
|
|
9347
9385
|
showChatModal = false;
|
|
9348
9386
|
jobDescription = '';
|
|
9349
9387
|
isSubmitting = false;
|
|
9350
|
-
//
|
|
9388
|
+
// 报告接收信息和验证码相关状态
|
|
9389
|
+
email = '';
|
|
9351
9390
|
phoneNumber = '';
|
|
9352
9391
|
verificationCode = '';
|
|
9353
9392
|
isSendingCode = false;
|
|
@@ -9373,7 +9412,8 @@ const OemJlppModal = class {
|
|
|
9373
9412
|
this.jobDescription = '';
|
|
9374
9413
|
this.isSubmitting = false;
|
|
9375
9414
|
this.uploadedFileInfo = null;
|
|
9376
|
-
//
|
|
9415
|
+
// 重置报告接收信息和验证码相关状态
|
|
9416
|
+
this.email = '';
|
|
9377
9417
|
this.phoneNumber = '';
|
|
9378
9418
|
this.verificationCode = '';
|
|
9379
9419
|
this.isSendingCode = false;
|
|
@@ -9431,6 +9471,10 @@ const OemJlppModal = class {
|
|
|
9431
9471
|
const textarea = event.target;
|
|
9432
9472
|
this.jobDescription = textarea.value;
|
|
9433
9473
|
};
|
|
9474
|
+
handleEmailChange = (event) => {
|
|
9475
|
+
const input = event.target;
|
|
9476
|
+
this.email = input.value;
|
|
9477
|
+
};
|
|
9434
9478
|
handlePhoneNumberChange = (event) => {
|
|
9435
9479
|
const input = event.target;
|
|
9436
9480
|
this.phoneNumber = input.value;
|
|
@@ -9504,8 +9548,13 @@ const OemJlppModal = class {
|
|
|
9504
9548
|
message_service.Message.info('请输入职位描述');
|
|
9505
9549
|
return;
|
|
9506
9550
|
}
|
|
9507
|
-
//
|
|
9508
|
-
if (this.
|
|
9551
|
+
// 邮箱选填,仅校验显示且非空的邮箱
|
|
9552
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
9553
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
9554
|
+
return;
|
|
9555
|
+
}
|
|
9556
|
+
// 手机号选填,隐藏时不校验手机号和验证码
|
|
9557
|
+
if (this.showPhone && this.phoneNumber.trim()) {
|
|
9509
9558
|
// 验证手机号格式
|
|
9510
9559
|
const phoneRegex = /^1[3-9]\d{9}$/;
|
|
9511
9560
|
if (!phoneRegex.test(this.phoneNumber.trim())) {
|
|
@@ -9577,12 +9626,13 @@ const OemJlppModal = class {
|
|
|
9577
9626
|
const result = e.detail ?? [];
|
|
9578
9627
|
this.uploadedFileInfo = result[0];
|
|
9579
9628
|
this.uploadSuccess.emit(this.uploadedFileInfo);
|
|
9580
|
-
} })), index.h("div", { class: "
|
|
9629
|
+
} })), (this.showEmail || this.showPhone) && (index.h("div", { class: "report-section" }, index.h("div", { class: "report-title" }, "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09"), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("svg", { class: "report-email-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" })), index.h("input", { id: "report-email", type: "email", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", value: this.email, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-phone-prefix" }, "+86"), index.h("input", { id: "report-phone", type: "tel", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, value: this.phoneNumber, onInput: this.handlePhoneNumberChange })))), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "jd-input-section" }, index.h("label", null, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { type: "text", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, onInput: this.handleVerificationCodeChange }), index.h("button", { class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || !this.phoneNumber.trim(), onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), this.showPhone && (index.h("div", { class: "report-hint" }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "m12 3 10 18H2L12 3Z" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, this.showEmail ? '注:部分号码可能收不到短信,推荐使用邮箱接收报告。' : '注:部分号码可能收不到短信。'))))), index.h("button", { class: "submit-button", disabled: (!disableResumeUpload && !this.uploadedFileInfo) || !(this.customInputs?.job_info || this.jobDescription.trim()) || this.isUploading || this.isSubmitting || this.isVerifyingCode, onClick: this.handleStartAnalysis }, this.isUploading ? '上传中...' : this.isVerifyingCode ? '验证中...' : this.isSubmitting ? '处理中...' : '开始分析'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("span", null, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018881", customInputs: {
|
|
9581
9630
|
...this.customInputs,
|
|
9582
9631
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
9583
9632
|
file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
|
|
9584
9633
|
job_info: this.customInputs?.job_info || this.jobDescription,
|
|
9585
|
-
|
|
9634
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
9635
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined
|
|
9586
9636
|
}, interviewMode: "text" })))), this.showPositionSelector && (index.h("div", { class: "position-selector-modal-overlay" }, index.h("div", { class: "position-selector-modal" }, index.h("div", { class: "position-selector-modal-header" }, index.h("h3", null, "\u9009\u62E9\u804C\u4F4D"), index.h("button", { class: "position-selector-close-btn", onClick: this.handleClosePositionSelector }, "\u00D7")), index.h("div", { class: "position-selector-modal-body" }, index.h("components-position-selector", { oemId: this.oemId, multiple: false, onPositionSelected: this.handlePositionSelected })))))));
|
|
9587
9637
|
}
|
|
9588
9638
|
static get watchers() { return {
|
|
@@ -11543,7 +11593,7 @@ const OemMnctModal = class {
|
|
|
11543
11593
|
};
|
|
11544
11594
|
OemMnctModal.style = oemMnctModalCss + (globalCss$7 + hostCss$c);
|
|
11545
11595
|
|
|
11546
|
-
const oemMnmsModalCss = ".label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.
|
|
11596
|
+
const oemMnmsModalCss = ".label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.report-section{display:flex;flex-direction:column;gap:16px;margin-bottom:20px;color:#333}.report-title{font-size:16px;font-weight:600}.report-field{display:flex;flex-direction:column;gap:8px}.report-field label{font-size:14px;font-weight:400}.report-input-wrapper{display:flex;align-items:center;gap:10px;box-sizing:border-box;height:42px;padding:0 12px;border:1px solid #ddd;border-radius:6px;background:#fff}.report-input-wrapper:focus-within{border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.report-input-wrapper .report-input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:none;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#333}.report-email-icon{flex-shrink:0;width:18px;height:18px;color:#999}.report-phone-prefix{flex-shrink:0;font-size:14px}.report-hint{display:flex;align-items:flex-start;gap:6px;padding:10px 12px;border-radius:6px;background:#fffbe6;color:#8c6d1f;font-size:12px;line-height:1.5}.report-hint svg{flex-shrink:0;width:16px;height:18px}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s}.verification-code-input:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.send-code-button{padding:8px 16px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;min-width:100px}.send-code-button:hover:not(:disabled){background-color:#40a9ff}.send-code-button:disabled{background-color:rgba(0, 0, 0, 0.04);color:rgba(0, 0, 0, 0.25);cursor:not-allowed}.position-selector-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}.position-selector-modal{background:white;border-radius:8px;width:90%;max-width:900px;height:80vh;max-height:600px;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);animation:modalFadeIn 0.3s ease}@keyframes modalFadeIn{from{opacity:0;transform:scale(0.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.position-selector-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.position-selector-modal-header h3{margin:0;font-size:16px;font-weight:500;color:rgba(0, 0, 0, 0.85)}.position-selector-close-btn{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:rgba(0, 0, 0, 0.45);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.3s}.position-selector-close-btn:hover{background-color:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.85)}.position-selector-modal-body{flex:1;overflow:hidden;display:flex;flex-direction:column}@media screen and (max-width: 768px){.position-selector-modal{width:100%;height:90vh;max-height:none;border-radius:8px 8px 0 0;margin-top:auto}.position-selector-modal-overlay{padding:0;align-items:flex-end}}";
|
|
11547
11597
|
|
|
11548
11598
|
const globalCss$6 = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
11549
11599
|
|
|
@@ -11628,6 +11678,14 @@ const OemMnmsModal = class {
|
|
|
11628
11678
|
* 是否显示工作区历史会话按钮
|
|
11629
11679
|
*/
|
|
11630
11680
|
showWorkspaceHistory = false;
|
|
11681
|
+
/**
|
|
11682
|
+
* 是否显示报告接收邮箱,默认显示;隐藏时不校验、不提交邮箱
|
|
11683
|
+
*/
|
|
11684
|
+
showEmail = true;
|
|
11685
|
+
/**
|
|
11686
|
+
* 是否显示报告接收手机号,默认显示;隐藏时不显示验证码、不校验、不提交手机号
|
|
11687
|
+
*/
|
|
11688
|
+
showPhone = true;
|
|
11631
11689
|
/**
|
|
11632
11690
|
* OEM ID,用于获取职位列表
|
|
11633
11691
|
*/
|
|
@@ -11712,7 +11770,8 @@ const OemMnmsModal = class {
|
|
|
11712
11770
|
isUploading = false;
|
|
11713
11771
|
uploadedFileInfo = null;
|
|
11714
11772
|
showChatModal = false;
|
|
11715
|
-
//
|
|
11773
|
+
// 报告接收信息和验证码相关状态
|
|
11774
|
+
email = '';
|
|
11716
11775
|
phoneNumber = '';
|
|
11717
11776
|
verificationCode = '';
|
|
11718
11777
|
isSendingCode = false;
|
|
@@ -11792,7 +11851,8 @@ const OemMnmsModal = class {
|
|
|
11792
11851
|
this.selectedFile = null;
|
|
11793
11852
|
this.isUploading = false;
|
|
11794
11853
|
this.uploadedFileInfo = null;
|
|
11795
|
-
//
|
|
11854
|
+
// 重置报告接收信息和验证码相关状态
|
|
11855
|
+
this.email = '';
|
|
11796
11856
|
this.phoneNumber = '';
|
|
11797
11857
|
this.verificationCode = '';
|
|
11798
11858
|
this.isSendingCode = false;
|
|
@@ -11810,6 +11870,10 @@ const OemMnmsModal = class {
|
|
|
11810
11870
|
const textarea = event.target;
|
|
11811
11871
|
this.jobDescription = textarea.value;
|
|
11812
11872
|
};
|
|
11873
|
+
handleEmailChange = (event) => {
|
|
11874
|
+
const input = event.target;
|
|
11875
|
+
this.email = input.value;
|
|
11876
|
+
};
|
|
11813
11877
|
handlePhoneNumberChange = (event) => {
|
|
11814
11878
|
const input = event.target;
|
|
11815
11879
|
this.phoneNumber = input.value;
|
|
@@ -11891,8 +11955,13 @@ const OemMnmsModal = class {
|
|
|
11891
11955
|
message_service.Message.error('请输入职位描述');
|
|
11892
11956
|
return;
|
|
11893
11957
|
}
|
|
11894
|
-
//
|
|
11895
|
-
if (this.
|
|
11958
|
+
// 邮箱选填,仅校验显示且非空的邮箱
|
|
11959
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
11960
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
11961
|
+
return;
|
|
11962
|
+
}
|
|
11963
|
+
// 手机号选填,隐藏时不校验手机号和验证码
|
|
11964
|
+
if (this.showPhone && this.phoneNumber.trim()) {
|
|
11896
11965
|
// 验证手机号格式
|
|
11897
11966
|
const phoneRegex = /^1[3-9]\d{9}$/;
|
|
11898
11967
|
if (!phoneRegex.test(this.phoneNumber.trim())) {
|
|
@@ -11966,14 +12035,15 @@ const OemMnmsModal = class {
|
|
|
11966
12035
|
const result = e.detail ?? [];
|
|
11967
12036
|
this.uploadedFileInfo = result[0];
|
|
11968
12037
|
this.uploadSuccess.emit(this.uploadedFileInfo);
|
|
11969
|
-
} })), index.h("div", { class: "
|
|
12038
|
+
} })), (this.showEmail || this.showPhone) && (index.h("div", { class: "report-section" }, index.h("div", { class: "report-title" }, "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09"), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("svg", { class: "report-email-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" })), index.h("input", { id: "report-email", type: "email", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", value: this.email, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-phone-prefix" }, "+86"), index.h("input", { id: "report-phone", type: "tel", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, value: this.phoneNumber, onInput: this.handlePhoneNumberChange })))), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "jd-input-section" }, index.h("label", null, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { type: "text", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, onInput: this.handleVerificationCodeChange }), index.h("button", { class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || !this.phoneNumber.trim(), onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), this.showPhone && (index.h("div", { class: "report-hint" }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "m12 3 10 18H2L12 3Z" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, this.showEmail ? '注:部分号码可能收不到短信,推荐使用邮箱接收报告。' : '注:部分号码可能收不到短信。'))))), index.h("button", { class: "submit-button", disabled: !this.hasJobDescription() || this.isUploading || this.isSubmitting || this.isVerifyingCode, onClick: this.handleStartInterview }, this.isUploading ? '上传中...' : this.isVerifyingCode ? '验证中...' : this.isSubmitting ? '处理中...' : '开始面试'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("span", null, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, this.enableVirtualHuman && this.digitalId ? (index.h("components-oem-virtual-chat-modal", { ref: el => this.virtualChatModalRef = el, isOpen: true, fullscreen: this.fullscreen, botId: "3022316191018884", digitalId: this.digitalId, openingIndex: this.openingIndex, conversationId: this.conversationId, defaultQuery: this.defaultQuery, waitingTime: this.waitingTime, playbackRate: this.playbackRate, showEndInterviewButton: this.showEndInterviewButton, customInputs: {
|
|
11970
12039
|
...this.customInputs,
|
|
11971
12040
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
11972
12041
|
file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
|
|
11973
12042
|
job_info: this.customInputs?.job_info || this.jobDescription,
|
|
11974
12043
|
question_number: this.customInputs?.question_number || 5,
|
|
11975
12044
|
ai_interview_type: this.digitalId,
|
|
11976
|
-
|
|
12045
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
12046
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined
|
|
11977
12047
|
} })) : (index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isShowHeader, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018884", digitalId: this.digitalId, conversationId: this.conversationId, defaultQuery: this.defaultQuery, maxRecordingTime: this.maxRecordingTime, waitingTime: this.waitingTime, playbackRate: this.playbackRate, showCopyButton: this.showCopyButton, showFeedbackButtons: this.showFeedbackButtons, showEndInterviewButton: this.showEndInterviewButton, customInputs: {
|
|
11978
12048
|
...this.customInputs,
|
|
11979
12049
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
@@ -11981,7 +12051,8 @@ const OemMnmsModal = class {
|
|
|
11981
12051
|
job_info: this.customInputs?.job_info || this.jobDescription,
|
|
11982
12052
|
question_number: this.customInputs?.question_number || 5,
|
|
11983
12053
|
ai_interview_type: this.digitalId || (this.interviewMode === 'video' ? "2" : "1"),
|
|
11984
|
-
|
|
12054
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
12055
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined
|
|
11985
12056
|
}, interviewMode: this.interviewMode }))))), this.showPositionSelector && (index.h("div", { class: "position-selector-modal-overlay" }, index.h("div", { class: "position-selector-modal" }, index.h("div", { class: "position-selector-modal-header" }, index.h("h3", null, "\u9009\u62E9\u804C\u4F4D"), index.h("button", { class: "position-selector-close-btn", onClick: this.handleClosePositionSelector }, "\u00D7")), index.h("div", { class: "position-selector-modal-body" }, index.h("components-position-selector", { oemId: this.oemId, multiple: false, onPositionSelected: this.handlePositionSelected })))))));
|
|
11986
12057
|
}
|
|
11987
12058
|
static get watchers() { return {
|
|
@@ -11991,7 +12062,7 @@ const OemMnmsModal = class {
|
|
|
11991
12062
|
};
|
|
11992
12063
|
OemMnmsModal.style = oemMnmsModalCss + (globalCss$6 + hostCss$b);
|
|
11993
12064
|
|
|
11994
|
-
const oemQgqjlModalCss = ".phone-input,.verification-code-input{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid #ddd;border-radius:4px;font:inherit;font-size:14px;line-height:1.5}.phone-input:focus,.verification-code-input:focus{outline:2px solid rgba(24, 144, 255, 0.2);border-color:#1890ff}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1}.send-code-button{padding:8px 16px;background:#0d75fb;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;white-space:nowrap}.send-code-button:hover:not(:disabled){background:#40a9ff}.send-code-button:disabled{background:rgba(0, 0, 0, 0.04);color:#8c8c8c;cursor:not-allowed}.iframe-container{width:100%;height:85vh}.iframe-container iframe{width:100%;height:100%}.step-section{margin-bottom:20px}.step-title{font-size:14px;font-weight:600;color:#333;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e8e8e8}.mode-options{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px}.mode-option{padding:16px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all 0.2s ease}.mode-option:hover{border-color:#94a3b8}.mode-option.selected{border-color:#0D75FB;background-color:#f0f7ff}.option-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.option-title{font-weight:600;color:#333}.check-icon{color:#0D75FB;font-size:16px}.option-desc{font-size:14px;color:#666}.option-suitable{font-size:12px;color:#999}.output-options{display:flex;flex-direction:column;gap:12px}.output-option{padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all 0.2s ease}.output-option:hover{border-color:#94a3b8}.output-option.selected{border-color:#0D75FB;background-color:#f0f7ff}.option-time{font-size:12px;color:#999}.jd-hint{padding:12px;background-color:#f6f8fa;border-radius:8px;text-align:center}.jd-hint p{font-size:14px;color:#666;margin:0}.form-hint{font-size:12px;color:#fa8c16;text-align:center;margin-top:8px}.form-hint.warning{color:#fa8c16}@media screen and (max-width: 768px){.mode-options{grid-template-columns:1fr}}.label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{margin-bottom:8px;display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.position-selector-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}.position-selector-modal{background:white;border-radius:8px;width:90%;max-width:900px;height:80vh;max-height:600px;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);animation:modalFadeIn 0.3s ease}@keyframes modalFadeIn{from{opacity:0;transform:scale(0.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.position-selector-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.position-selector-modal-header h3{margin:0;font-size:16px;font-weight:500;color:rgba(0, 0, 0, 0.85)}.position-selector-close-btn{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:rgba(0, 0, 0, 0.45);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.3s}.position-selector-close-btn:hover{background-color:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.85)}.position-selector-modal-body{flex:1;overflow:hidden;display:flex;flex-direction:column}@media screen and (max-width: 768px){.position-selector-modal{width:100%;height:90vh;max-height:none;border-radius:8px 8px 0 0;margin-top:auto}.position-selector-modal-overlay{padding:0;align-items:flex-end}}";
|
|
12065
|
+
const oemQgqjlModalCss = ".report-section{margin:20px 0 16px}.report-title{margin:0 0 16px;color:#333;font-size:16px;font-weight:700;line-height:1.5}.report-field+.report-field{margin-top:16px}.report-label{display:block;margin-bottom:8px;color:#333;font-size:14px}.report-input-wrapper{display:flex;align-items:center;box-sizing:border-box;height:42px;border:1px solid #ddd;border-radius:6px;background:#fff}.report-input-wrapper:focus-within{outline:2px solid rgba(24, 144, 255, 0.2);border-color:#1890ff}.report-prefix{display:inline-flex;flex:0 0 48px;align-items:center;justify-content:center;color:#999;font-size:14px}.report-input{flex:1;box-sizing:border-box;width:100%;min-width:0;height:100%;padding:0 12px 0 0;border:0;border-radius:6px;outline:none;background:transparent;color:#333;font:inherit;font-size:14px}.report-input::placeholder{color:#999}.report-hint{display:flex;align-items:flex-start;gap:6px;margin:16px 0 0;padding:10px 12px;border-radius:6px;background:#fff4da;color:#87551d;font-size:12px;line-height:1.6}.report-hint-icon{flex:0 0 14px;margin-top:2px}.phone-input,.verification-code-input{box-sizing:border-box;width:100%;min-width:0;padding:8px;border:1px solid #ddd;border-radius:4px;font:inherit;font-size:14px;line-height:1.5}.phone-input:focus,.verification-code-input:focus{outline:2px solid rgba(24, 144, 255, 0.2);border-color:#1890ff}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1}.send-code-button{padding:8px 16px;background:#0d75fb;color:#fff;border:none;border-radius:4px;font-size:14px;cursor:pointer;white-space:nowrap}.send-code-button:hover:not(:disabled){background:#40a9ff}.send-code-button:disabled{background:rgba(0, 0, 0, 0.04);color:#8c8c8c;cursor:not-allowed}.iframe-container{width:100%;height:85vh}.iframe-container iframe{width:100%;height:100%}.step-section{margin-bottom:20px}.step-title{font-size:14px;font-weight:600;color:#333;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e8e8e8}.mode-options{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px}.mode-option{padding:16px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all 0.2s ease}.mode-option:hover{border-color:#94a3b8}.mode-option.selected{border-color:#0D75FB;background-color:#f0f7ff}.option-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.option-title{font-weight:600;color:#333}.check-icon{color:#0D75FB;font-size:16px}.option-desc{font-size:14px;color:#666}.option-suitable{font-size:12px;color:#999}.output-options{display:flex;flex-direction:column;gap:12px}.output-option{padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all 0.2s ease}.output-option:hover{border-color:#94a3b8}.output-option.selected{border-color:#0D75FB;background-color:#f0f7ff}.option-time{font-size:12px;color:#999}.jd-hint{padding:12px;background-color:#f6f8fa;border-radius:8px;text-align:center}.jd-hint p{font-size:14px;color:#666;margin:0}.form-hint{font-size:12px;color:#fa8c16;text-align:center;margin-top:8px}.form-hint.warning{color:#fa8c16}@media screen and (max-width: 768px){.mode-options{grid-template-columns:1fr}}.label-with-button{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.button-group{margin-bottom:8px;display:flex;gap:8px;align-items:center}.position-selector-button{padding:4px 12px;background:#1890ff;color:white;border:none;border-radius:4px;font-size:13px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;height:28px;line-height:20px}.position-selector-button:hover{background:#40a9ff}.position-selector-button:active{background:#096dd9}.position-selector-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}.position-selector-modal{background:white;border-radius:8px;width:90%;max-width:900px;height:80vh;max-height:600px;display:flex;flex-direction:column;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);animation:modalFadeIn 0.3s ease}@keyframes modalFadeIn{from{opacity:0;transform:scale(0.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.position-selector-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.position-selector-modal-header h3{margin:0;font-size:16px;font-weight:500;color:rgba(0, 0, 0, 0.85)}.position-selector-close-btn{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;color:rgba(0, 0, 0, 0.45);padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all 0.3s}.position-selector-close-btn:hover{background-color:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.85)}.position-selector-modal-body{flex:1;overflow:hidden;display:flex;flex-direction:column}@media screen and (max-width: 768px){.position-selector-modal{width:100%;height:90vh;max-height:none;border-radius:8px 8px 0 0;margin-top:auto}.position-selector-modal-overlay{padding:0;align-items:flex-end}}";
|
|
11995
12066
|
|
|
11996
12067
|
const globalCss$5 = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
11997
12068
|
|
|
@@ -12136,6 +12207,11 @@ const OemQgqjlModal = class {
|
|
|
12136
12207
|
* 事件参数:{ mobile: string, codeType: number }。
|
|
12137
12208
|
*/
|
|
12138
12209
|
sendSmsCodeRequest;
|
|
12210
|
+
/** 是否显示选填邮箱;隐藏时不校验、不提交邮箱(含 customInputs 预设值)。 */
|
|
12211
|
+
showEmail = true;
|
|
12212
|
+
/** 是否显示选填手机号及短信验证;隐藏时不校验、不提交手机号(含 customInputs 预设值)。 */
|
|
12213
|
+
showPhone = true;
|
|
12214
|
+
email = '';
|
|
12139
12215
|
// 手机号和验证码相关状态
|
|
12140
12216
|
phoneNumber = '';
|
|
12141
12217
|
verificationCode = '';
|
|
@@ -12279,6 +12355,7 @@ const OemQgqjlModal = class {
|
|
|
12279
12355
|
resetPhone() {
|
|
12280
12356
|
this.phoneSession++;
|
|
12281
12357
|
this.phoneNumber = '';
|
|
12358
|
+
this.email = '';
|
|
12282
12359
|
this.verificationCode = '';
|
|
12283
12360
|
this.verifiedPhone = undefined;
|
|
12284
12361
|
this.isSendingCode = false;
|
|
@@ -12289,6 +12366,9 @@ const OemQgqjlModal = class {
|
|
|
12289
12366
|
this.countdownTimer = null;
|
|
12290
12367
|
}
|
|
12291
12368
|
}
|
|
12369
|
+
handleEmailChange = (event) => {
|
|
12370
|
+
this.email = event.target.value;
|
|
12371
|
+
};
|
|
12292
12372
|
handlePhoneNumberChange = (event) => {
|
|
12293
12373
|
const input = event.target;
|
|
12294
12374
|
this.phoneNumber = input.value;
|
|
@@ -12313,7 +12393,7 @@ const OemQgqjlModal = class {
|
|
|
12313
12393
|
}, 1000);
|
|
12314
12394
|
};
|
|
12315
12395
|
handleSendCode = () => {
|
|
12316
|
-
if (this.countdown > 0 || this.isVerifyingCode)
|
|
12396
|
+
if (!this.showPhone || this.countdown > 0 || this.isVerifyingCode)
|
|
12317
12397
|
return;
|
|
12318
12398
|
if (!this.phoneNumber.trim()) {
|
|
12319
12399
|
message_service.Message.error('请输入手机号');
|
|
@@ -12536,7 +12616,11 @@ const OemQgqjlModal = class {
|
|
|
12536
12616
|
}
|
|
12537
12617
|
if (session !== this.phoneSession || !this.isOpen || this.isVerifyingCode || this.showChatModal)
|
|
12538
12618
|
return;
|
|
12539
|
-
|
|
12619
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
12620
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
12621
|
+
return;
|
|
12622
|
+
}
|
|
12623
|
+
const mobile = this.showPhone ? this.phoneNumber.trim() : '';
|
|
12540
12624
|
this.verifiedPhone = undefined;
|
|
12541
12625
|
if (mobile) {
|
|
12542
12626
|
if (!/^1[3-9]\d{9}$/.test(mobile)) {
|
|
@@ -12633,14 +12717,16 @@ const OemQgqjlModal = class {
|
|
|
12633
12717
|
this.uploadSuccess.emit(this.uploadedFileInfo);
|
|
12634
12718
|
} })), this.selectedOptimizationMode === 'targeted' && (index.h("div", { class: "jd-input-section" }, index.h("label", { htmlFor: "job-description" }, "\u8BF7\u8F93\u5165\u804C\u4F4D\u63CF\u8FF0 (JD)"), !hideJdInput && index.h("div", { class: "button-group" }, !!this.oemId && (index.h("button", { class: "position-selector-button", onClick: this.handleOpenPositionSelector, type: "button" }, "\u9009\u62E9\u804C\u4F4D")), index.h("components-mobile-input-btn", { name: "\u804C\u4F4D\u63CF\u8FF0", onOk: e => {
|
|
12635
12719
|
this.jobDescription = e.detail;
|
|
12636
|
-
} })), index.h("textarea", { id: "job-description", class: "job-description-textarea", placeholder: "\u8BF7\u8F93\u5165\u804C\u4F4D\u63CF\u8FF0\uFF0C\u5305\u62EC\u804C\u8D23\u3001\u8981\u6C42\u7B49\u4FE1\u606F...", rows: 6, value: this.jobDescription, onInput: this.handleJobDescriptionChange, disabled: hideJdInput }))))), index.h("
|
|
12720
|
+
} })), index.h("textarea", { id: "job-description", class: "job-description-textarea", placeholder: "\u8BF7\u8F93\u5165\u804C\u4F4D\u63CF\u8FF0\uFF0C\u5305\u62EC\u804C\u8D23\u3001\u8981\u6C42\u7B49\u4FE1\u606F...", rows: 6, value: this.jobDescription, onInput: this.handleJobDescriptionChange, disabled: hideJdInput }))))), (this.showEmail || this.showPhone) && (index.h("section", { class: "report-section", "aria-labelledby": "resume-report-title" }, index.h("h2", { class: "report-title", id: "resume-report-title" }, "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09"), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { class: "report-label", htmlFor: "resume-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-prefix", "aria-hidden": "true" }, index.h("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" }))), index.h("input", { id: "resume-email", type: "email", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", autoComplete: "email", value: this.email, disabled: this.isVerifyingCode, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { class: "report-label", htmlFor: "resume-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-prefix", "aria-hidden": "true" }, "+86"), index.h("input", { id: "resume-phone", type: "tel", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, autoComplete: "tel-national", value: this.phoneNumber, disabled: this.isVerifyingCode, onInput: this.handlePhoneNumberChange })), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "jd-input-section" }, index.h("label", { htmlFor: "resume-code" }, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { id: "resume-code", type: "text", inputMode: "numeric", autoComplete: "one-time-code", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, disabled: this.isVerifyingCode, onInput: this.handleVerificationCodeChange }), index.h("button", { type: "button", class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || this.isVerifyingCode, onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), index.h("p", { class: "report-hint" }, index.h("svg", { class: "report-hint-icon", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "M12 3 2 21h20L12 3Z", "stroke-linejoin": "round" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, this.showEmail ? '注:部分号码可能收不到短信,推荐使用邮箱接收报告。' : '注:部分号码可能收不到短信。')))))), index.h("button", { class: "submit-button", disabled: !this.isFormValid() || this.isUploading || this.isSubmitting || this.isVerifyingCode, onClick: this.handleStartInterview }, this.isUploading ? '上传中...' : this.isVerifyingCode ? '验证中...' : this.isSubmitting ? '处理中...' : '开始分析'), !hideSecondStep && !this.selectedOptimizationMode && (index.h("div", { class: "form-hint" }, "\u8BF7\u5148\u9009\u62E9\u4F18\u5316\u6A21\u5F0F\u548C\u8F93\u51FA\u65B9\u5F0F")), !hideSecondStep && this.selectedOptimizationMode && this.selectedOutputType === null && (index.h("div", { class: "form-hint" }, "\u8BF7\u9009\u62E9\u8F93\u51FA\u65B9\u5F0F")), isSelectionComplete && !hideResumeUpload && !this.uploadedFileInfo && (index.h("div", { class: "form-hint warning" }, "\u8BF7\u4E0A\u4F20\u7B80\u5386\u6587\u4EF6")), this.selectedOptimizationMode === 'targeted' && !hideJdInput && !this.jobDescription.trim() && isSelectionComplete && (index.h("div", { class: "form-hint warning" }, "\u9488\u5BF9\u6027\u4F18\u5316\u9700\u8981\u63D0\u4F9B\u804C\u4F4D\u63CF\u8FF0")), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("span", null, "Hunan-PinCaiMao-202412310003"))))), isLoading && !this.showIframe && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, (this.getEffectiveOptimizationType() === 1 || this.getEffectiveOptimizationType() === 2) ? (index.h("components-thousand-resume-wrapper", { isOpen: true, token: this.token, conversationId: this.currentConversationId, botId: "45444431062634496", optimizationType: this.getEffectiveOptimizationType(), customInputs: {
|
|
12637
12721
|
...this.customInputs,
|
|
12638
12722
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
12639
12723
|
file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
|
|
12640
12724
|
job_info: this.customInputs?.job_info || (this.selectedOptimizationMode === 'targeted' ? this.jobDescription : ''),
|
|
12641
12725
|
job_title: this.customInputs?.job_title || '',
|
|
12642
12726
|
optimization_type: this.getEffectiveOptimizationType(),
|
|
12643
|
-
|
|
12727
|
+
// 可见且未填写时保留预设值;隐藏时显式覆盖,避免透传联系方式。
|
|
12728
|
+
phone: this.showPhone ? this.verifiedPhone || this.customInputs?.phone : undefined,
|
|
12729
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
12644
12730
|
}, defaultQuery: this.defaultQuery, modalTitle: this.modalTitle, icon: this.icon, fullscreen: this.fullscreen, zIndex: this.zIndex, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, onModalClosed: this.handleClose, onConversationStart: (e) => this.handleStreamComplete(e), onStreamComplete: (e) => this.handleStreamComplete(e), onInterviewComplete: (e) => this.handleStreamComplete(e) })) : (index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "45444431062634496", conversationId: this.currentConversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, closeResume: this.closeResumeChat, customInputs: {
|
|
12645
12731
|
...this.customInputs,
|
|
12646
12732
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
@@ -12648,7 +12734,9 @@ const OemQgqjlModal = class {
|
|
|
12648
12734
|
job_info: this.customInputs?.job_info || (this.selectedOptimizationMode === 'targeted' ? this.jobDescription : ''),
|
|
12649
12735
|
job_title: this.customInputs?.job_title || '',
|
|
12650
12736
|
optimization_type: this.getEffectiveOptimizationType(),
|
|
12651
|
-
|
|
12737
|
+
// 可见且未填写时保留预设值;隐藏时显式覆盖,避免透传联系方式。
|
|
12738
|
+
phone: this.showPhone ? this.verifiedPhone || this.customInputs?.phone : undefined,
|
|
12739
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
12652
12740
|
}, interviewMode: "text", onStreamComplete: this.handleStreamComplete, onHistoryConversationSelect: (e) => {
|
|
12653
12741
|
if (e.detail?.inputs?.optimization_type == 1 || e.detail?.inputs?.optimization_type == 2) {
|
|
12654
12742
|
e.preventDefault(); // 阻止默认行为,接管处理
|
|
@@ -12667,7 +12755,7 @@ OemQgqjlModal.style = oemQgqjlModalCss + (globalCss$5 + hostCss$a);
|
|
|
12667
12755
|
|
|
12668
12756
|
const globalCss$4 = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
|
|
12669
12757
|
|
|
12670
|
-
const oemZyghModalCss = ".plan-type-section{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.plan-type-section label{font-weight:600;color:#333;margin-bottom:8px}.plan-type-options{display:flex;border:1px solid #d9d9d9;border-radius:6px;overflow:hidden}.plan-type-option{flex:1;border:none;border-right:1px solid #d9d9d9;padding:7px 8px;cursor:pointer;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;transition:background-color 0.2s, color 0.2s;background-color:#fff}.plan-type-option:last-child{border-right:none}.plan-type-option:hover{background-color:#f0f7ff}.plan-type-option.selected{background-color:#1890ff}.plan-type-option.selected .option-icon,.plan-type-option.selected .option-label{color:#fff}.option-icon{display:flex;align-items:center;justify-content:center}.option-icon img{height:18px;width:auto}.option-label{font-size:13px;font-weight:500;color:#555;white-space:nowrap}.resume-upload-section{display:flex;flex-direction:column;gap:8px}.resume-upload-section label{font-weight:600;color:#333;margin-bottom:8px}.dynamic-form-section{margin-top:20px;margin-bottom:20px}.form-fields{display:flex;flex-direction:column;gap:16px}.form-field{display:flex;flex-direction:column;gap:8px}.form-field label{font-weight:600;color:#333;font-size:14px}.form-input{padding:10px 12px;border:1px solid #d9d9d9;border-radius:4px;font-size:14px;transition:all 0.3s;outline:none}.form-input:hover{border-color:#40a9ff}.form-input:focus{border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.1)}.form-input::placeholder{color:#bfbfbf}.form-hint{font-size:12px;color:#8c8c8c;line-height:1.5;margin-top:-8px;padding:8px 12px;background-color:#f5f5f5;border-radius:4px;border-left:3px solid #1890ff}.
|
|
12758
|
+
const oemZyghModalCss = ".plan-type-section{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.plan-type-section label{font-weight:600;color:#333;margin-bottom:8px}.plan-type-options{display:flex;border:1px solid #d9d9d9;border-radius:6px;overflow:hidden}.plan-type-option{flex:1;border:none;border-right:1px solid #d9d9d9;padding:7px 8px;cursor:pointer;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;transition:background-color 0.2s, color 0.2s;background-color:#fff}.plan-type-option:last-child{border-right:none}.plan-type-option:hover{background-color:#f0f7ff}.plan-type-option.selected{background-color:#1890ff}.plan-type-option.selected .option-icon,.plan-type-option.selected .option-label{color:#fff}.option-icon{display:flex;align-items:center;justify-content:center}.option-icon img{height:18px;width:auto}.option-label{font-size:13px;font-weight:500;color:#555;white-space:nowrap}.resume-upload-section{display:flex;flex-direction:column;gap:8px}.resume-upload-section label{font-weight:600;color:#333;margin-bottom:8px}.dynamic-form-section{margin-top:20px;margin-bottom:20px}.form-fields{display:flex;flex-direction:column;gap:16px}.form-field{display:flex;flex-direction:column;gap:8px}.form-field label{font-weight:600;color:#333;font-size:14px}.form-input{padding:10px 12px;border:1px solid #d9d9d9;border-radius:4px;font-size:14px;transition:all 0.3s;outline:none}.form-input:hover{border-color:#40a9ff}.form-input:focus{border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.1)}.form-input::placeholder{color:#bfbfbf}.form-hint{font-size:12px;color:#8c8c8c;line-height:1.5;margin-top:-8px;padding:8px 12px;background-color:#f5f5f5;border-radius:4px;border-left:3px solid #1890ff}.report-section{display:flex;flex-direction:column;gap:16px;margin-bottom:20px;color:#333}.report-title{font-size:16px;font-weight:600}.report-field{display:flex;flex-direction:column;gap:8px}.report-field label{font-size:14px;font-weight:400}.report-input-wrapper{display:flex;align-items:center;gap:10px;box-sizing:border-box;height:42px;padding:0 12px;border:1px solid #ddd;border-radius:6px;background:#fff}.report-input-wrapper:focus-within{border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.report-input-wrapper .report-input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:none;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#333}.report-email-icon{flex-shrink:0;width:18px;height:18px;color:#999}.report-phone-prefix{flex-shrink:0;font-size:14px}.report-hint{display:flex;align-items:flex-start;gap:6px;padding:10px 12px;border-radius:6px;background:#fffbe6;color:#8c6d1f;font-size:12px;line-height:1.5}.report-hint svg{flex-shrink:0;width:16px;height:18px}.verification-code-container{display:flex;gap:8px;align-items:center}.verification-code-input{flex:1;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s}.verification-code-input:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.send-code-button{padding:8px 16px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all 0.3s ease;white-space:nowrap;min-width:100px}.send-code-button:hover:not(:disabled){background-color:#40a9ff}.send-code-button:disabled{background-color:rgba(0, 0, 0, 0.04);color:rgba(0, 0, 0, 0.25);cursor:not-allowed}";
|
|
12671
12759
|
|
|
12672
12760
|
const hostCss$9 = ":host{font-size:16px;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-weight:normal;font-style:normal;font-variant:normal;line-height:1.5;letter-spacing:normal;word-spacing:normal;color:#333;text-align:left;text-indent:0;text-transform:none;white-space:normal;word-wrap:normal;word-break:normal;visibility:visible;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;border-collapse:separate;border-spacing:0;caption-side:top;empty-cells:show;table-layout:auto;quotes:auto;cursor:auto;direction:ltr;orphans:2;widows:2;page-break-inside:auto;text-decoration:none;text-shadow:none;box-sizing:border-box;writing-mode:horizontal-tb;text-orientation:mixed}";
|
|
12673
12761
|
|
|
@@ -12736,6 +12824,14 @@ const OemZyghModal = class {
|
|
|
12736
12824
|
* 是否显示工作区历史会话按钮
|
|
12737
12825
|
*/
|
|
12738
12826
|
showWorkspaceHistory = false;
|
|
12827
|
+
/**
|
|
12828
|
+
* 是否显示报告接收邮箱,默认显示;隐藏时不校验、不提交邮箱
|
|
12829
|
+
*/
|
|
12830
|
+
showEmail = true;
|
|
12831
|
+
/**
|
|
12832
|
+
* 是否显示报告接收手机号,默认显示;隐藏时不显示验证码、不校验、不提交手机号
|
|
12833
|
+
*/
|
|
12834
|
+
showPhone = true;
|
|
12739
12835
|
/**
|
|
12740
12836
|
* OEM ID,用于标识注册来源业务
|
|
12741
12837
|
*/
|
|
@@ -12785,7 +12881,8 @@ const OemZyghModal = class {
|
|
|
12785
12881
|
industryName = ''; // 感兴趣的行业
|
|
12786
12882
|
jobPosition = ''; // 感兴趣的职位
|
|
12787
12883
|
timePeriod = ''; // 期望转型时间
|
|
12788
|
-
//
|
|
12884
|
+
// 报告接收信息和验证码相关状态
|
|
12885
|
+
email = '';
|
|
12789
12886
|
phoneNumber = '';
|
|
12790
12887
|
verificationCode = '';
|
|
12791
12888
|
isSendingCode = false;
|
|
@@ -12808,7 +12905,8 @@ const OemZyghModal = class {
|
|
|
12808
12905
|
this.showChatModal = false;
|
|
12809
12906
|
this.isSubmitting = false;
|
|
12810
12907
|
this.uploadedFileInfo = null;
|
|
12811
|
-
//
|
|
12908
|
+
// 重置报告接收信息和验证码相关状态
|
|
12909
|
+
this.email = '';
|
|
12812
12910
|
this.phoneNumber = '';
|
|
12813
12911
|
this.verificationCode = '';
|
|
12814
12912
|
this.isSendingCode = false;
|
|
@@ -12877,6 +12975,10 @@ const OemZyghModal = class {
|
|
|
12877
12975
|
this.jobPosition = '';
|
|
12878
12976
|
this.timePeriod = '';
|
|
12879
12977
|
};
|
|
12978
|
+
handleEmailChange = (event) => {
|
|
12979
|
+
const input = event.target;
|
|
12980
|
+
this.email = input.value;
|
|
12981
|
+
};
|
|
12880
12982
|
handlePhoneNumberChange = (event) => {
|
|
12881
12983
|
const input = event.target;
|
|
12882
12984
|
this.phoneNumber = input.value;
|
|
@@ -12928,8 +13030,13 @@ const OemZyghModal = class {
|
|
|
12928
13030
|
message_service.Message.info('请上传简历');
|
|
12929
13031
|
return;
|
|
12930
13032
|
}
|
|
12931
|
-
//
|
|
12932
|
-
if (this.
|
|
13033
|
+
// 邮箱选填,仅校验显示且非空的邮箱
|
|
13034
|
+
if (this.showEmail && this.email.trim() && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(this.email.trim())) {
|
|
13035
|
+
message_service.Message.error('请输入正确的邮箱');
|
|
13036
|
+
return;
|
|
13037
|
+
}
|
|
13038
|
+
// 手机号选填,隐藏时不校验手机号和验证码
|
|
13039
|
+
if (this.showPhone && this.phoneNumber.trim()) {
|
|
12933
13040
|
// 验证手机号格式
|
|
12934
13041
|
const phoneRegex = /^1[3-9]\d{9}$/;
|
|
12935
13042
|
if (!phoneRegex.test(this.phoneNumber.trim())) {
|
|
@@ -13018,12 +13125,13 @@ const OemZyghModal = class {
|
|
|
13018
13125
|
const result = e.detail ?? [];
|
|
13019
13126
|
this.uploadedFileInfo = result[0];
|
|
13020
13127
|
this.uploadSuccess.emit(this.uploadedFileInfo);
|
|
13021
|
-
} })), index.h("div", { class: "
|
|
13128
|
+
} })), (this.showEmail || this.showPhone) && (index.h("div", { class: "report-section" }, index.h("div", { class: "report-title" }, "\u63A5\u6536\u62A5\u544A\uFF08\u9009\u586B\uFF09"), this.showEmail && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-email" }, "\u90AE\u7BB1"), index.h("div", { class: "report-input-wrapper" }, index.h("svg", { class: "report-email-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }), index.h("path", { d: "m3 6 9 7 9-7" })), index.h("input", { id: "report-email", type: "email", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\uFF0C\u5982 name@qq.com", value: this.email, onInput: this.handleEmailChange })))), this.showPhone && (index.h("div", { class: "report-field" }, index.h("label", { htmlFor: "report-phone" }, "\u624B\u673A\u77ED\u4FE1"), index.h("div", { class: "report-input-wrapper" }, index.h("span", { class: "report-phone-prefix" }, "+86"), index.h("input", { id: "report-phone", type: "tel", class: "report-input", placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7", maxLength: 11, value: this.phoneNumber, onInput: this.handlePhoneNumberChange })))), this.showPhone && this.phoneNumber.trim().length === 11 && (index.h("div", { class: "jd-input-section" }, index.h("label", null, "\u9A8C\u8BC1\u7801"), index.h("div", { class: "verification-code-container" }, index.h("input", { type: "text", class: "verification-code-input", placeholder: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801", maxLength: 6, value: this.verificationCode, onInput: this.handleVerificationCodeChange }), index.h("button", { class: "send-code-button", disabled: this.isSendingCode || this.countdown > 0 || !this.phoneNumber.trim(), onClick: this.handleSendCode }, this.isSendingCode ? '发送中...' : this.countdown > 0 ? `${this.countdown}秒` : '发送验证码')))), this.showPhone && (index.h("div", { class: "report-hint" }, index.h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "aria-hidden": "true" }, index.h("path", { d: "m12 3 10 18H2L12 3Z" }), index.h("path", { d: "M12 9v5m0 3v1" })), index.h("span", null, this.showEmail ? '注:部分号码可能收不到短信,推荐使用邮箱接收报告。' : '注:部分号码可能收不到短信。'))))), index.h("button", { class: "submit-button", disabled: (!disableResumeUpload && !this.uploadedFileInfo) || this.isUploading || this.isSubmitting || this.isVerifyingCode, onClick: this.handleStartPlanning }, this.isUploading ? '上传中...' : this.isVerifyingCode ? '验证中...' : this.isSubmitting ? '处理中...' : '开始规划'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("span", null, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, showWorkspaceHistory: this.showWorkspaceHistory, botId: "121182005294690304", fullscreen: this.fullscreen, conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
|
|
13022
13129
|
...this.customInputs,
|
|
13023
13130
|
file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
|
|
13024
13131
|
file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
|
|
13025
13132
|
type: this.selectedPlanType,
|
|
13026
|
-
|
|
13133
|
+
email: this.showEmail ? this.email.trim() || this.customInputs?.email || undefined : undefined,
|
|
13134
|
+
phone: this.showPhone ? this.phoneNumber.trim() || undefined : undefined,
|
|
13027
13135
|
// 有值就传递
|
|
13028
13136
|
...(this.industryName ? { industry_name: this.industryName } : {}),
|
|
13029
13137
|
...(this.targetPosition || this.jobPosition ? { target_position: this.targetPosition || this.jobPosition } : {}),
|
|
@@ -13548,7 +13656,7 @@ var stringsEn = {
|
|
|
13548
13656
|
confirm: confirm
|
|
13549
13657
|
};
|
|
13550
13658
|
|
|
13551
|
-
const pcmAppChatModalCss = ":host{display:block;font-size:16px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;overflow-y:auto;z-index:1000}.fullscreen-overlay{padding:0;position:absolute;width:100%;height:100%}.modal-container{background:white;border-radius:8px;width:100%;max-width:900px;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.modal-container.fullscreen>div:not(.modal-header):not(.initial-upload){display:flex;flex-direction:column;flex:1;overflow:hidden;height:100%}.pc-layout{width:80%;max-width:800px;min-width:320px;min-height:400px}.video-preview.placeholder{display:flex;justify-content:center;align-items:center;background:#eaeaea}.placeholder-status{color:#00000066}.placeholder-status p{font-size:16px}.waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-container{width:100%;display:flex;flex-direction:column;align-items:center}.video-container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.video-area{width:100%;display:flex;flex-direction:column;align-items:center}.stop-recording-button{width:100%;height:100%;font-size:16px;background:#f44336;border-radius:6px;color:white;border:none;cursor:pointer}.stop-recording-button:hover{background:#d32f2f}.play-audio-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;min-height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0;}.header-left{display:flex;align-items:center;gap:8px}.header-left>div{font-size:16px}.header-title-group{display:flex;flex-direction:column;gap:2px}.header-title-group>div:first-child{font-size:16px}.header-disclaimer{font-size:11px;color:#999;line-height:1}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.chat-container{background-image:url(https://pub.pincaimao.com/static/web/images/login/bg_login_m.png);background-size:100%;height:100%;border-radius:0px 0px 8px 8px}.chat-history{position:relative;flex:1;overflow-y:auto;padding:20px;scroll-behavior:smooth;height:60vh;min-height:400px;max-height:900px}.fullscreen .chat-history{height:auto;flex:1 1 auto}.message-input{padding:16px;border-top:1px solid #eee;display:flex;gap:8px;align-items:center}.message-input input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;outline:none;transition:border-color 0.2s ease}.message-input input:focus{border-color:#bbb}.message{margin-bottom:16px;opacity:1;transition:opacity 0.3s ease}.message-content{max-width:70%;padding:8px 12px;border-radius:8px;word-break:break-word}.message-content p{margin:0;word-break:break-word}.user-message{display:flex;justify-content:flex-end}.agent-message{display:flex;justify-content:flex-start}.user-message .message-content{background-color:#007bff;color:white}.agent-message .message-content{background-color:#f1f1f1}.message-time{font-size:12px;color:#999;margin-top:4px;display:block}.cancel-button{width:150px;height:38px;background:#0d75fb;color:#fff;border:none;margin-bottom:10px;cursor:pointer;border-radius:6px}.cancel-button.disabled{background:#d9d9d9;cursor:not-allowed}.send-button{width:38px;height:38px;border-radius:16px;background:#0d75fb;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s ease}.send-button img{width:24px;height:24px}.send-button:hover{background:#0a62d6}.send-button.disabled{background:#d9d9d9;cursor:not-allowed}.empty-state{display:flex;justify-content:center;align-items:center;height:100%;color:#999;text-align:center}.loading-container{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.98);z-index:1;opacity:1;transition:opacity 0.3s ease}.loading-container p{margin-top:16px;color:#666;font-size:14px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #1890ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.messages-wrapper{width:100%;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end}.messages-wrapper.has-overflow{justify-content:flex-start}.suggested-questions{display:flex;flex-direction:column;gap:8px;padding:16px}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#f3f4f6;border-radius:4px;cursor:pointer;font-size:14px;color:#374151;transition:background-color 0.2s}.suggested-question:hover{background-color:#e5e7eb}.arrow-right{margin-left:8px}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#6b7280;border-radius:50%;animation:spin 0.8s linear infinite}.upload-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;color:#666;border-radius:4px;transition:background-color 0.2s}.upload-button:hover{background-color:rgba(0, 0, 0, 0.04)}.upload-button svg{width:20px;height:20px}.file-input{display:none}.selected-file{font-size:12px;color:#666;margin-left:8px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-wrapper{flex:1;display:flex;align-items:center;border:1px solid #ddd;border-radius:4px;padding:0 4px;background:white}.input-wrapper input{border:none;flex:1;padding:8px;outline:none}.input-wrapper:focus-within{border-color:#bbb}.file-preview{padding:8px 16px;border-top:1px solid #eee;background-color:#f9f9f9}.recording-section{border-top:1px solid #eee;display:flex;flex-direction:column;align-items:center;padding:10px 20px 0px 20px;border-radius:14px 14px 0 0;flex:0 0 auto}.recording-section .video-preview{width:100%;height:200px;max-width:400px;position:relative;margin-bottom:10px;border:1px solid #ddd;border-radius:12px;overflow:hidden}.recording-section video{width:100%;height:100%;object-fit:cover}.recording-status{position:absolute;top:10px;left:10px;background-color:rgba(0, 0, 0, 0.6);color:white;padding:4px 8px;border-radius:4px;display:flex;align-items:center;gap:5px;font-size:14px;z-index:0}.recording-status .recording-dot{display:inline-block;width:10px;height:10px;background-color:red;border-radius:50%;margin-right:5px;animation:blink 1s infinite}.recording-status.warning{color:#ff4d4f;animation:blink 1s infinite}@keyframes blink{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}.recording-section .stop-recording-button{background-color:#f44336;color:white;border:none;cursor:pointer;font-weight:bold}.recording-section .stop-recording-button:hover{background-color:#d32f2f}.fullscreen{width:100vw;border-radius:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.recording-controls{margin-top:10px;height:53px;width:100%;max-width:400px;display:flex;justify-content:center}.recording-controls .waiting-message{text-align:center;color:white;font-size:16px;background-color:#0d75fb;border-radius:6px;width:95%;display:flex;justify-content:center;align-items:center;cursor:pointer}.recording-controls .waiting-message.loading{background:#faad14}.recording-controls .waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-controls .stop-recording-button{background-color:#dc3545;color:white;border:none;cursor:pointer;font-size:16px}.recording-controls .stop-recording-button:hover{background-color:#c82333}.recording-controls .stop-recording-button.disabled{background:#ccc;cursor:not-allowed}.recording-controls .stop-recording-button.disabled:hover{background:#ccc}.progress-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:400px;margin-top:10px;padding:0 5px}.progress-bar-container{height:4px;background-color:#e5e5e5;border-radius:2px;overflow:hidden;margin-right:10px;width:75px}.progress-bar{height:100%;background-image:linear-gradient(111deg, #4a9fff 0%, #1058ff 100%);border-radius:2px;transition:width 0.3s ease}.progress-text{font-size:14px;color:#666;white-space:nowrap}.text-input-area{display:flex;flex-direction:column;width:100%;height:100%;padding:0px 16px 16px 16px;border-radius:8px;border:none;}.text-answer-input{flex:1;min-height:80px;padding:12px 12px 0px 12px;border:1px solid #ddd;border-radius:8px 8px 0 0;resize:none;font-size:16px;background-color:#fff;border-bottom:none;outline:none;}.input-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px}.text-answer-input:focus{border-color:rgb(74, 144, 226);border-bottom:none}.text-answer-input:focus+.input-toolbar{border-color:rgb(74, 144, 226);border-top:none}.toolbar-actions{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:10px;border:1px solid #d9d9d9;border-radius:6px}.toolbar-actions:hover{background-color:#f0f0f0}.toolbar-button{background:transparent;border:none;color:#666;cursor:pointer;padding:0;margin:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.toolbar-button>div,.toolbar-button>svg{display:flex;justify-content:center;align-items:center}.submit-text-button{padding:6px 16px;background-color:#4a90e2;color:white;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color 0.2s}.submit-text-button:hover:not(.disabled){background-color:#3a7bc8}.submit-text-button.disabled{background-color:#b3b3b3;cursor:not-allowed}.toolbar-button.recording{background-color:rgba(255, 0, 0, 0.1);color:#ff3b30;animation:pulse 1.5s infinite}.toolbar-button.converting{background-color:rgba(0, 122, 255, 0.1);color:#007aff}.toolbar-button .recording-time{font-size:12px;margin-left:4px}.converting-indicator{display:flex;justify-content:center;align-items:center}.converting-indicator svg{animation:spin 1.5s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.4)}70%{box-shadow:0 0 0 6px rgba(255, 0, 0, 0)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0)}}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:0}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.workspace-section{width:100%;padding:0px 16px 16px}.workspace-toolbar{display:flex;justify-content:space-between;align-items:end;gap:12px;position:relative}.workspace-button{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid #d9d9d9;border-radius:6px;background:white;color:#666;font-size:14px;cursor:pointer;transition:all 0.2s ease;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05)}.workspace-button:hover{border-color:#4096ff;color:#4096ff;box-shadow:0 2px 4px rgba(64, 150, 255, 0.1)}.workspace-button svg{flex-shrink:0}.workspace-button.end-interview-button{background:#ff4d4f;color:white;border-color:#ff4d4f}.workspace-button.end-interview-button:hover:not(:disabled){background:#ff7875;border-color:#ff7875;color:white;box-shadow:0 2px 4px rgba(255, 77, 79, 0.2)}.workspace-button.end-interview-button:disabled{background:#d9d9d9;border-color:#d9d9d9;color:#999;cursor:not-allowed;box-shadow:none}.digital-human-wrapper{display:flex;align-items:center;justify-content:center;width:120px;height:80px;border:1px solid #d9d9d9;border-radius:8px;background:#fafafa;overflow:hidden;position:absolute;right:0px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-item.active{background:#e6f7ff;border-color:#1890ff}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.current-indicator{flex-shrink:0;color:#1890ff;margin-left:8px}";
|
|
13659
|
+
const pcmAppChatModalCss = ":host{display:block;font-size:16px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;overflow-y:auto;z-index:1000}.fullscreen-overlay{padding:0;position:absolute;width:100%;height:100%}.modal-container{background:white;border-radius:8px;width:100%;max-width:900px;display:flex;flex-direction:column;position:relative;margin:5vh auto auto auto}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.modal-container.fullscreen>div:not(.modal-header):not(.initial-upload){display:flex;flex-direction:column;flex:1;overflow:hidden;height:100%}.pc-layout{width:80%;max-width:800px;min-width:320px;min-height:400px}.video-preview.placeholder{display:flex;justify-content:center;align-items:center;background:#eaeaea}.placeholder-status{color:#00000066}.placeholder-status p{font-size:16px}.waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-container{width:100%;display:flex;flex-direction:column;align-items:center}.video-container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.video-area{width:100%;display:flex;flex-direction:column;align-items:center}.stop-recording-button{width:100%;height:100%;font-size:16px;background:#f44336;border-radius:6px;color:white;border:none;cursor:pointer}.stop-recording-button:hover{background:#d32f2f}.play-audio-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;min-height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0;}.header-left{display:flex;align-items:center;gap:8px}.header-left>div{font-size:16px}.header-title-group{display:flex;flex-direction:column;gap:2px}.header-title-group>div:first-child{font-size:16px}.header-disclaimer{font-size:11px;color:#999;line-height:1}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.chat-container{background-image:url(https://pub.pincaimao.com/static/web/images/login/bg_login_m.png);background-size:100%;height:100%;border-radius:0px 0px 8px 8px}.chat-history{position:relative;flex:1;overflow-y:auto;padding:20px;scroll-behavior:smooth;height:60vh;min-height:400px;max-height:900px}.fullscreen .chat-history{height:auto;flex:1 1 auto}.message-input{padding:16px;border-top:1px solid #eee;display:flex;gap:8px;align-items:center}.message-input input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;outline:none;transition:border-color 0.2s ease}.message-input input:focus{border-color:#bbb}.message{margin-bottom:16px;opacity:1;transition:opacity 0.3s ease}.message-content{max-width:70%;padding:8px 12px;border-radius:8px;word-break:break-word}.message-content p{margin:0;word-break:break-word}.user-message{display:flex;justify-content:flex-end}.agent-message{display:flex;justify-content:flex-start}.user-message .message-content{background-color:#007bff;color:white}.agent-message .message-content{background-color:#f1f1f1}.message-time{font-size:12px;color:#999;margin-top:4px;display:block}.cancel-button{width:150px;height:38px;background:#0d75fb;color:#fff;border:none;margin-bottom:10px;cursor:pointer;border-radius:6px}.cancel-button.disabled{background:#d9d9d9;cursor:not-allowed}.send-button{width:38px;height:38px;border-radius:16px;background:#0d75fb;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s ease}.send-button img{width:24px;height:24px}.send-button:hover{background:#0a62d6}.send-button.disabled{background:#d9d9d9;cursor:not-allowed}.empty-state{display:flex;justify-content:center;align-items:center;height:100%;color:#999;text-align:center}.loading-container{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.98);z-index:1;opacity:1;transition:opacity 0.3s ease}.loading-container p{margin-top:16px;color:#666;font-size:14px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #1890ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.messages-wrapper{width:100%;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end}.messages-wrapper.has-overflow{justify-content:flex-start}.suggested-questions{display:flex;flex-direction:column;gap:8px;padding:16px}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#f3f4f6;border-radius:4px;cursor:pointer;font-size:14px;color:#374151;transition:background-color 0.2s}.suggested-question:hover{background-color:#e5e7eb}.arrow-right{margin-left:8px}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#6b7280;border-radius:50%;animation:spin 0.8s linear infinite}.upload-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;color:#666;border-radius:4px;transition:background-color 0.2s}.upload-button:hover{background-color:rgba(0, 0, 0, 0.04)}.upload-button svg{width:20px;height:20px}.file-input{display:none}.selected-file{font-size:12px;color:#666;margin-left:8px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-wrapper{flex:1;display:flex;align-items:center;border:1px solid #ddd;border-radius:4px;padding:0 4px;background:white}.input-wrapper input{border:none;flex:1;padding:8px;outline:none}.input-wrapper:focus-within{border-color:#bbb}.file-preview{padding:8px 16px;border-top:1px solid #eee;background-color:#f9f9f9}.recording-section{border-top:1px solid #eee;display:flex;flex-direction:column;align-items:center;padding:10px 20px 0px 20px;border-radius:14px 14px 0 0;flex:0 0 auto}.recording-section .video-preview{width:100%;height:200px;max-width:400px;position:relative;margin-bottom:10px;border:1px solid #ddd;border-radius:12px;overflow:hidden}.recording-section video{width:100%;height:100%;object-fit:cover}.recording-status{position:absolute;top:10px;left:10px;background-color:rgba(0, 0, 0, 0.6);color:white;padding:4px 8px;border-radius:4px;display:flex;align-items:center;gap:5px;font-size:14px;z-index:0}.recording-status .recording-dot{display:inline-block;width:10px;height:10px;background-color:red;border-radius:50%;margin-right:5px;animation:blink 1s infinite}.recording-status.warning{color:#ff4d4f;animation:blink 1s infinite}@keyframes blink{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}.recording-section .stop-recording-button{background-color:#f44336;color:white;border:none;cursor:pointer;font-weight:bold}.recording-section .stop-recording-button:hover{background-color:#d32f2f}.fullscreen{width:100vw;border-radius:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.recording-controls{margin-top:10px;height:53px;width:100%;max-width:400px;display:flex;justify-content:center}.recording-controls .waiting-message{text-align:center;color:white;font-size:16px;background-color:#0d75fb;border-radius:6px;width:95%;display:flex;justify-content:center;align-items:center;cursor:pointer}.recording-controls .waiting-message.loading{background:#faad14}.recording-controls .waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-controls .stop-recording-button{background-color:#dc3545;color:white;border:none;cursor:pointer;font-size:16px}.recording-controls .stop-recording-button:hover{background-color:#c82333}.recording-controls .stop-recording-button.disabled{background:#ccc;cursor:not-allowed}.recording-controls .stop-recording-button.disabled:hover{background:#ccc}.progress-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:400px;margin-top:10px;padding:0 5px}.progress-bar-container{height:4px;background-color:#e5e5e5;border-radius:2px;overflow:hidden;margin-right:10px;width:75px}.progress-bar{height:100%;background-image:linear-gradient(111deg, #4a9fff 0%, #1058ff 100%);border-radius:2px;transition:width 0.3s ease}.progress-text{font-size:14px;color:#666;white-space:nowrap}.text-input-area{display:flex;flex-direction:column;width:100%;height:100%;padding:0px 16px 16px 16px;border-radius:8px;border:none;}.text-answer-input{flex:1;min-height:80px;padding:12px 12px 0px 12px;border:1px solid #ddd;border-radius:8px 8px 0 0;resize:none;font-size:16px;background-color:#fff;border-bottom:none;outline:none;}.input-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px}.text-answer-input:focus{border-color:rgb(74, 144, 226);border-bottom:none}.text-answer-input:focus+.input-toolbar{border-color:rgb(74, 144, 226);border-top:none}.toolbar-actions{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:10px;border:1px solid #d9d9d9;border-radius:6px}.toolbar-actions:hover{background-color:#f0f0f0}.toolbar-button{background:transparent;border:none;color:#666;cursor:pointer;padding:0;margin:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.toolbar-button>div,.toolbar-button>svg{display:flex;justify-content:center;align-items:center}.submit-text-button{padding:6px 16px;background-color:#4a90e2;color:white;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color 0.2s}.submit-text-button:hover:not(.disabled){background-color:#3a7bc8}.submit-text-button.disabled{background-color:#b3b3b3;cursor:not-allowed}.toolbar-button.recording{background-color:rgba(255, 0, 0, 0.1);color:#ff3b30;animation:pulse 1.5s infinite}.toolbar-button.converting{background-color:rgba(0, 122, 255, 0.1);color:#007aff}.toolbar-button .recording-time{font-size:12px;margin-left:4px}.converting-indicator{display:flex;justify-content:center;align-items:center}.converting-indicator svg{animation:spin 1.5s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.4)}70%{box-shadow:0 0 0 6px rgba(255, 0, 0, 0)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0)}}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:0}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.workspace-section{width:100%;padding:0px 16px 16px}.workspace-toolbar{display:flex;justify-content:space-between;align-items:end;gap:12px;position:relative}.workspace-button{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid #d9d9d9;border-radius:6px;background:white;color:#666;font-size:14px;cursor:pointer;transition:all 0.2s ease;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05)}.workspace-button:hover{border-color:#4096ff;color:#4096ff;box-shadow:0 2px 4px rgba(64, 150, 255, 0.1)}.workspace-button svg{flex-shrink:0}.workspace-button.end-interview-button{background:#ff4d4f;color:white;border-color:#ff4d4f}.workspace-button.end-interview-button:hover:not(:disabled){background:#ff7875;border-color:#ff7875;color:white;box-shadow:0 2px 4px rgba(255, 77, 79, 0.2)}.workspace-button.end-interview-button:disabled{background:#d9d9d9;border-color:#d9d9d9;color:#999;cursor:not-allowed;box-shadow:none}.digital-human-wrapper{display:flex;align-items:center;justify-content:center;width:120px;height:80px;border:1px solid #d9d9d9;border-radius:8px;background:#fafafa;overflow:hidden;position:absolute;right:0px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-item.active{background:#e6f7ff;border-color:#1890ff}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.current-indicator{flex-shrink:0;color:#1890ff;margin-left:8px}";
|
|
13552
13660
|
|
|
13553
13661
|
const markdownCss = ".markdown-body{--base-size-4:4px;--base-size-8:8px;--base-size-16:16px;--base-size-24:24px;--base-size-40:40px;--base-text-weight-normal:400;--base-text-weight-medium:500;--base-text-weight-semibold:600;--fontStack-monospace:ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;--fgColor-accent:Highlight}@media (prefers-color-scheme: dark){.markdown-body,[data-theme=\"dark\"]{color-scheme:dark;--focus-outlineColor:#0969da;--fgColor-default:#1f2328;--fgColor-muted:#59636e;--fgColor-accent:#0969da;--fgColor-success:#1a7f37;--fgColor-attention:#9a6700;--fgColor-danger:#d1242f;--fgColor-done:#8250df;--bgColor-default:#ffffff;--bgColor-muted:#f6f8fa;--bgColor-neutral-muted:#818b981f;--bgColor-attention-muted:#fff8c5;--borderColor-default:#d1d9e0;--borderColor-muted:#d1d9e0b3;--borderColor-neutral-muted:#d1d9e0b3;--borderColor-accent-emphasis:#0969da;--borderColor-success-emphasis:#1a7f37;--borderColor-attention-emphasis:#9a6700;--borderColor-danger-emphasis:#cf222e;--borderColor-done-emphasis:#8250df;--color-prettylights-syntax-comment:#59636e;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-prettylights-syntax-entity:#6639ba;--color-prettylights-syntax-storage-modifier-import:#1f2328;--color-prettylights-syntax-entity-tag:#0550ae;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-brackethighlighter-angle:#59636e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#1f2328;--color-prettylights-syntax-markup-bold:#1f2328;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#d1d9e0;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-sublimelinter-gutter-mark:#818b98}}@media (prefers-color-scheme: light){.markdown-body,[data-theme=\"light\"]{color-scheme:light;--focus-outlineColor:#0969da;--fgColor-default:#1f2328;--fgColor-muted:#59636e;--fgColor-accent:#0969da;--fgColor-success:#1a7f37;--fgColor-attention:#9a6700;--fgColor-danger:#d1242f;--fgColor-done:#8250df;--bgColor-default:#ffffff;--bgColor-muted:#f6f8fa;--bgColor-neutral-muted:#818b981f;--bgColor-attention-muted:#fff8c5;--borderColor-default:#d1d9e0;--borderColor-muted:#d1d9e0b3;--borderColor-neutral-muted:#d1d9e0b3;--borderColor-accent-emphasis:#0969da;--borderColor-success-emphasis:#1a7f37;--borderColor-attention-emphasis:#9a6700;--borderColor-danger-emphasis:#cf222e;--borderColor-done-emphasis:#8250df;--color-prettylights-syntax-comment:#59636e;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-prettylights-syntax-entity:#6639ba;--color-prettylights-syntax-storage-modifier-import:#1f2328;--color-prettylights-syntax-entity-tag:#0550ae;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-brackethighlighter-angle:#59636e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#1f2328;--color-prettylights-syntax-markup-bold:#1f2328;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#d1d9e0;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-sublimelinter-gutter-mark:#818b98}}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Noto Sans\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:' ';display:inline-block;background-color:currentColor;-webkit-mask-image:url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\");mask-image:url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>\")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none !important}.markdown-body a{background-color:transparent;color:var(--fgColor-accent);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--borderColor-muted)}.markdown-body mark{background-color:var(--bgColor-attention-muted);color:var(--fgColor-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-0.25em}.markdown-body sup{top:-0.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em var(--base-size-40)}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--borderColor-muted);height:.25em;padding:0;margin:var(--base-size-24) 0;background-color:var(--borderColor-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--fgColor-muted);opacity:1}.markdown-body hr::before{display:table;content:\"\"}.markdown-body hr::after{display:table;clear:both;content:\"\"}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto;font-variant:tabular-nums}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--focus-outlineColor);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:var(--base-size-4);font:11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);line-height:10px;color:var(--fgColor-default);vertical-align:middle;background-color:var(--bgColor-muted);border:solid 1px var(--borderColor-neutral-muted);border-bottom-color:var(--borderColor-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--borderColor-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:var(--base-size-24);margin-bottom:var(--base-size-16);font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.2em;border-bottom:1px solid var(--borderColor-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.05em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:0.875em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.80em;color:var(--fgColor-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--fgColor-muted);border-left:.25em solid var(--borderColor-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace);font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible !important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;appearance:none}.markdown-body .mr-2{margin-right:var(--base-size-8, 8px) !important}.markdown-body::before{display:table;content:\"\"}.markdown-body::after{display:table;clear:both;content:\"\"}.markdown-body>*:first-child{margin-top:0 !important}.markdown-body>*:last-child{margin-bottom:0 !important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--fgColor-danger)}.markdown-body .anchor{float:left;padding-right:var(--base-size-4);margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:var(--base-size-16);font-size:16px;font-weight:400}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--fgColor-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=\"a s\"]{list-style-type:lower-alpha}.markdown-body ol[type=\"A s\"]{list-style-type:upper-alpha}.markdown-body ol[type=\"i s\"]{list-style-type:lower-roman}.markdown-body ol[type=\"I s\"]{list-style-type:upper-roman}.markdown-body ol[type=\"1\"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:var(--base-size-16)}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:var(--base-size-16);font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 var(--base-size-16);margin-bottom:var(--base-size-16)}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--borderColor-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--bgColor-default);border-top:1px solid var(--borderColor-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--bgColor-muted)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--borderColor-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--fgColor-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--bgColor-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:var(--base-size-16)}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:var(--base-size-16);overflow:auto;font-size:85%;line-height:1.45;color:var(--fgColor-default);background-color:var(--bgColor-muted);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px var(--base-size-8) 9px;text-align:right;background:var(--bgColor-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--bgColor-muted);border-top:0}.markdown-body [data-footnote-ref]::before{content:\"[\"}.markdown-body [data-footnote-ref]::after{content:\"]\"}.markdown-body .footnotes{font-size:12px;color:var(--fgColor-muted);border-top:1px solid var(--borderColor-default)}.markdown-body .footnotes ol{padding-left:var(--base-size-16)}.markdown-body .footnotes ol ul{display:inline-block;padding-left:var(--base-size-16);margin-top:var(--base-size-16)}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target::before{position:absolute;top:calc(var(--base-size-8)*-1);right:calc(var(--base-size-8)*-1);bottom:calc(var(--base-size-8)*-1);left:calc(var(--base-size-24)*-1);pointer-events:none;content:\"\";border:2px solid var(--borderColor-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--fgColor-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body body:has(:modal){padding-right:var(--dialog-scrollgutter) !important}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:bold;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:bold;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:bold;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:bold;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body [role=tabpanel][tabindex=\"0\"]:focus:not(:focus-visible),.markdown-body button:focus:not(:focus-visible),.markdown-body summary:focus:not(:focus-visible),.markdown-body a:focus:not(:focus-visible){outline:none;box-shadow:none}.markdown-body [tabindex=\"0\"]:focus:not(:focus-visible),.markdown-body details-dialog:focus:not(:focus-visible){outline:none}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:\"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1em;font-style:normal !important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-0.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:var(--base-size-4)}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body ul:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body ol:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:var(--base-size-8) var(--base-size-16);margin-bottom:var(--base-size-16);color:inherit;border-left:.25em solid var(--borderColor-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:var(--base-text-weight-medium, 500);align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis)}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis)}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis)}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention)}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis)}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success)}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis)}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger)}.markdown-body>*:first-child>.heading-element:first-child{margin-top:0 !important}.markdown-body .highlight pre:has(+.zeroclipboard-container){min-height:52px}";
|
|
13554
13662
|
|
|
@@ -18550,7 +18658,7 @@ const ChatVirtualAPPModal = class {
|
|
|
18550
18658
|
};
|
|
18551
18659
|
ChatVirtualAPPModal.style = pcmVirtualChatModalCss + hostCss$1;
|
|
18552
18660
|
|
|
18553
|
-
const pcmZskChatModalCss = ":host{display:block;font-size:16px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto;-webkit-overflow-scrolling:touch;}.fullscreen-overlay{padding:0;position:absolute;width:100%;height:calc(100% - 10px)}.modal-container{background:white;border-radius:8px;width:100%;max-width:900px;display:flex;flex-direction:column;position:relative;margin:3vh auto auto auto}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.modal-container.fullscreen>div:not(.modal-header):not(.initial-upload){display:flex;flex-direction:column;flex:1;overflow:hidden;height:100%}.pc-layout{width:80%;max-width:800px;min-width:320px;min-height:400px}.video-preview.placeholder{display:flex;justify-content:center;align-items:center;background:#EAEAEA}.placeholder-status{color:#00000066}.waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-container{width:100%;display:flex;flex-direction:column;align-items:center}.video-area{width:100%;display:flex;flex-direction:column;align-items:center}.stop-recording-button{width:100%;height:100%;font-size:16px;background:#f44336;border-radius:6px;color:white;border:none;cursor:pointer}.stop-recording-button:hover{background:#d32f2f}.play-audio-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0;}.header-left{display:flex;align-items:center;gap:8px}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.chat-container{background-image:url(https://pub.pincaimao.com/static/web/images/login/bg_login_m.png);background-size:100%;height:100%;border-radius:0px 0px 8px 8px}.chat-history{position:relative;flex:1;overflow-y:auto;padding:20px;scroll-behavior:smooth;height:60vh;min-height:400px;max-height:900px}.fullscreen .chat-history{height:auto;flex:1 1 auto}.message-input{padding:16px;border-top:1px solid #eee;display:flex;gap:8px;align-items:center}.message-input input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;outline:none;transition:border-color 0.2s ease}.message-input input:focus{border-color:#bbb}.message{margin-bottom:16px;opacity:1;transition:opacity 0.3s ease}.message-content{max-width:70%;padding:8px 12px;border-radius:8px;word-break:break-word}.message-content p{margin:0;word-break:break-word}.user-message{display:flex;justify-content:flex-end}.agent-message{display:flex;justify-content:flex-start}.user-message .message-content{background-color:#007bff;color:white}.agent-message .message-content{background-color:#f1f1f1}.message-time{font-size:12px;color:#999;margin-top:4px;display:block}.send-button{width:38px;height:38px;border-radius:16px;background:#0d75fb;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s ease}.send-button img{width:24px;height:24px}.send-button:hover{background:#0a62d6}.send-button.disabled{background:#d9d9d9;cursor:not-allowed}.empty-state{display:flex;justify-content:center;align-items:center;height:100%;color:#999;text-align:center}.loading-container{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.98);z-index:1;opacity:1;transition:opacity 0.3s ease}.loading-container p{margin-top:16px;color:#666;font-size:14px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #1890ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.messages-wrapper{width:100%;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end}.messages-wrapper.has-overflow{justify-content:flex-start}.suggested-questions{display:flex;flex-direction:column;gap:8px;padding:16px}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#f3f4f6;border-radius:4px;cursor:pointer;font-size:14px;color:#374151;transition:background-color 0.2s}.suggested-question:hover{background-color:#e5e7eb}.arrow-right{margin-left:8px}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#6b7280;border-radius:50%;animation:spin 1s linear infinite}.upload-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;color:#666;border-radius:4px;transition:background-color 0.2s}.upload-button:hover{background-color:rgba(0, 0, 0, 0.04)}.upload-button svg{width:20px;height:20px}.file-input{display:none}.selected-file{font-size:12px;color:#666;margin-left:8px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-wrapper{flex:1;display:flex;align-items:center;border:1px solid #ddd;border-radius:4px;padding:0 4px;background:white}.input-wrapper input{border:none;flex:1;padding:8px;outline:none}.input-wrapper:focus-within{border-color:#bbb}.file-preview{padding:8px 16px;border-top:1px solid #eee;background-color:#f9f9f9}.document-download-actions{display:flex;align-items:center;gap:8px;margin-right:8px}.document-download-button{padding:4px 8px;color:#1890ff;font-size:14px;line-height:20px;background:transparent;border:none;border-radius:4px;cursor:pointer}.document-download-button:hover{background-color:#e6f7ff}.document-download-button:focus-visible{outline:2px solid #1890ff;outline-offset:2px}.document-download-qr-code{display:flex;flex-direction:column;align-items:center;padding:8px 0}.document-download-qr-code img{width:200px;height:200px}.document-download-qr-code p{margin:16px 0 0;color:#666;font-size:14px}.recording-section{border-top:1px solid #eee;display:flex;flex-direction:column;align-items:center;padding:10px 20px 0px 20px;border-radius:14px 14px 0 0;flex:0 0 auto}.recording-section .video-preview{width:100%;height:200px;max-width:400px;position:relative;margin-bottom:10px;border:1px solid #ddd;border-radius:12px;overflow:hidden}.recording-section video{width:100%;height:100%;object-fit:cover}.recording-status{position:absolute;top:10px;left:10px;background-color:rgba(0, 0, 0, 0.6);color:white;padding:4px 8px;border-radius:4px;display:flex;align-items:center;gap:5px;font-size:14px;z-index:2}.recording-status .recording-dot{display:inline-block;width:10px;height:10px;background-color:red;border-radius:50%;margin-right:5px;animation:blink 1s infinite}.recording-status.warning{color:#ff4d4f;animation:blink 1s infinite}@keyframes blink{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}.recording-section .stop-recording-button{background-color:#f44336;color:white;border:none;cursor:pointer;font-weight:bold}.recording-section .stop-recording-button:hover{background-color:#d32f2f}.fullscreen{width:100vw;border-radius:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.recording-controls{margin-top:10px;height:53px;width:100%;max-width:400px;display:flex;justify-content:center}.recording-controls .waiting-message{text-align:center;color:white;font-size:16px;background-image:linear-gradient(100deg, #4A9FFF 0%, #1058FF 100%);border-radius:6px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);width:95%;display:flex;justify-content:center;align-items:center;cursor:pointer}.recording-controls .waiting-message.loading{background:#faad14}.recording-controls .waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-controls .stop-recording-button{background-color:#dc3545;color:white;border:none;cursor:pointer;font-size:16px}.recording-controls .stop-recording-button:hover{background-color:#c82333}.recording-controls .stop-recording-button.disabled{background:#ccc;cursor:not-allowed}.recording-controls .stop-recording-button.disabled:hover{background:#ccc}.progress-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:400px;margin-top:10px;padding:0 5px}.progress-bar-container{height:4px;background-color:#E5E5E5;border-radius:2px;overflow:hidden;margin-right:10px;width:75px}.progress-bar{height:100%;background-image:linear-gradient(111deg, #4A9FFF 0%, #1058FF 100%);border-radius:2px;transition:width 0.3s ease}.progress-text{font-size:14px;color:#666;white-space:nowrap}.text-input-area{display:flex;flex-direction:column;width:100%;height:100%;padding:0px 16px 16px 16px;border-radius:8px;border:none;}.text-answer-input{flex:1;min-height:80px;padding:12px 12px 0px 12px;border:1px solid #ddd;border-radius:8px 8px 0 0;resize:none;font-size:16px;background-color:#fff;border-bottom:none;outline:none;}.input-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px}.text-answer-input:focus{border-color:rgb(74, 144, 226);border-bottom:none}.text-answer-input:focus+.input-toolbar{border-color:rgb(74, 144, 226);border-top:none}.toolbar-actions{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:10px;border:1px solid #d9d9d9;border-radius:6px}.toolbar-actions:hover{background-color:#f0f0f0}.toolbar-button{background:transparent;border:none;color:#666;cursor:pointer;padding:0;margin:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.toolbar-button>div,.toolbar-button>svg{display:flex;justify-content:center;align-items:center}.toolbar-button img{width:16px;height:16px}.submit-text-button{padding:6px 16px;background-color:#4a90e2;color:white;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color 0.2s}.submit-text-button:hover:not(.disabled){background-color:#3a7bc8}.submit-text-button.disabled{background-color:#b3b3b3;cursor:not-allowed}.toolbar-button.recording{background-color:rgba(255, 0, 0, 0.1);color:#ff3b30;animation:pulse 1.5s infinite}.toolbar-button.converting{background-color:rgba(0, 122, 255, 0.1);color:#007aff}.toolbar-button .recording-time{font-size:12px;margin-left:4px}.converting-indicator{display:flex;justify-content:center;align-items:center}.converting-indicator svg{animation:spin 1.5s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.4)}70%{box-shadow:0 0 0 6px rgba(255, 0, 0, 0)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0)}}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.references-section{margin-top:30px;padding:12px;background-color:#f9f9f9;border-radius:8px;border:1px solid #e8e8e8}.references-title{font-size:14px;color:#666;margin:0 0 8px 0;font-weight:500}.references-list{display:flex;flex-direction:column;gap:8px}.reference-item{background-color:#fff;border:1px solid #e8e8e8;border-radius:6px;padding:10px;cursor:pointer;transition:background-color 0.2s, box-shadow 0.2s}.reference-item:hover{background-color:#f5f5f5;box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}.reference-header{display:flex;align-items:center;gap:6px;position:relative}.reference-icon{color:#1890ff;display:flex;align-items:center}.reference-name{font-size:13px;font-weight:500;color:#333;flex:1}.download-icon{color:#1890ff;display:flex;align-items:center}.reference-content{display:none}.suggested-questions{margin-top:20px;padding:12px;background-color:#f0f7ff;border-radius:8px;border:1px solid #d6e8ff}.suggested-title{font-size:14px;color:#1890ff;margin:0 0 8px 0;font-weight:500}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#fff;border:1px solid #e6f7ff;border-radius:6px;cursor:pointer;font-size:14px;color:#1890ff;transition:all 0.3s;margin-bottom:8px}.suggested-question:last-child{margin-bottom:0}.suggested-question:hover{background-color:#e6f7ff;border-color:#91d5ff}.arrow-right{color:#1890ff;display:flex;align-items:center}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e6f7ff;border-top-color:#1890ff;border-radius:50%;animation:spin 1s linear infinite}";
|
|
18661
|
+
const pcmZskChatModalCss = ":host{display:block;font-size:16px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto;-webkit-overflow-scrolling:touch;}.fullscreen-overlay{padding:0;position:absolute;width:100%;height:calc(100% - 10px)}.modal-container{background:white;border-radius:8px;width:100%;max-width:900px;display:flex;flex-direction:column;position:relative;margin:5vh auto auto auto}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.modal-container.fullscreen>div:not(.modal-header):not(.initial-upload){display:flex;flex-direction:column;flex:1;overflow:hidden;height:100%}.pc-layout{width:80%;max-width:800px;min-width:320px;min-height:400px}.video-preview.placeholder{display:flex;justify-content:center;align-items:center;background:#EAEAEA}.placeholder-status{color:#00000066}.waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-container{width:100%;display:flex;flex-direction:column;align-items:center}.video-area{width:100%;display:flex;flex-direction:column;align-items:center}.stop-recording-button{width:100%;height:100%;font-size:16px;background:#f44336;border-radius:6px;color:white;border:none;cursor:pointer}.stop-recording-button:hover{background:#d32f2f}.play-audio-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0;}.header-left{display:flex;align-items:center;gap:8px}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.chat-container{background-image:url(https://pub.pincaimao.com/static/web/images/login/bg_login_m.png);background-size:100%;height:100%;border-radius:0px 0px 8px 8px}.chat-history{position:relative;flex:1;overflow-y:auto;padding:20px;scroll-behavior:smooth;height:60vh;min-height:400px;max-height:900px}.fullscreen .chat-history{height:auto;flex:1 1 auto}.message-input{padding:16px;border-top:1px solid #eee;display:flex;gap:8px;align-items:center}.message-input input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;outline:none;transition:border-color 0.2s ease}.message-input input:focus{border-color:#bbb}.message{margin-bottom:16px;opacity:1;transition:opacity 0.3s ease}.message-content{max-width:70%;padding:8px 12px;border-radius:8px;word-break:break-word}.message-content p{margin:0;word-break:break-word}.user-message{display:flex;justify-content:flex-end}.agent-message{display:flex;justify-content:flex-start}.user-message .message-content{background-color:#007bff;color:white}.agent-message .message-content{background-color:#f1f1f1}.message-time{font-size:12px;color:#999;margin-top:4px;display:block}.send-button{width:38px;height:38px;border-radius:16px;background:#0d75fb;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color 0.2s ease}.send-button img{width:24px;height:24px}.send-button:hover{background:#0a62d6}.send-button.disabled{background:#d9d9d9;cursor:not-allowed}.empty-state{display:flex;justify-content:center;align-items:center;height:100%;color:#999;text-align:center}.loading-container{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(255, 255, 255, 0.98);z-index:1;opacity:1;transition:opacity 0.3s ease}.loading-container p{margin-top:16px;color:#666;font-size:14px}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #1890ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.messages-wrapper{width:100%;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end}.messages-wrapper.has-overflow{justify-content:flex-start}.suggested-questions{display:flex;flex-direction:column;gap:8px;padding:16px}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#f3f4f6;border-radius:4px;cursor:pointer;font-size:14px;color:#374151;transition:background-color 0.2s}.suggested-question:hover{background-color:#e5e7eb}.arrow-right{margin-left:8px}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e5e7eb;border-top-color:#6b7280;border-radius:50%;animation:spin 1s linear infinite}.upload-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;color:#666;border-radius:4px;transition:background-color 0.2s}.upload-button:hover{background-color:rgba(0, 0, 0, 0.04)}.upload-button svg{width:20px;height:20px}.file-input{display:none}.selected-file{font-size:12px;color:#666;margin-left:8px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-wrapper{flex:1;display:flex;align-items:center;border:1px solid #ddd;border-radius:4px;padding:0 4px;background:white}.input-wrapper input{border:none;flex:1;padding:8px;outline:none}.input-wrapper:focus-within{border-color:#bbb}.file-preview{padding:8px 16px;border-top:1px solid #eee;background-color:#f9f9f9}.document-download-actions{display:flex;align-items:center;gap:8px;margin-right:8px}.document-download-button{padding:4px 8px;color:#1890ff;font-size:14px;line-height:20px;background:transparent;border:none;border-radius:4px;cursor:pointer}.document-download-button:hover{background-color:#e6f7ff}.document-download-button:focus-visible{outline:2px solid #1890ff;outline-offset:2px}.document-download-qr-code{display:flex;flex-direction:column;align-items:center;padding:8px 0}.document-download-qr-code img{width:200px;height:200px}.document-download-qr-code p{margin:16px 0 0;color:#666;font-size:14px}.recording-section{border-top:1px solid #eee;display:flex;flex-direction:column;align-items:center;padding:10px 20px 0px 20px;border-radius:14px 14px 0 0;flex:0 0 auto}.recording-section .video-preview{width:100%;height:200px;max-width:400px;position:relative;margin-bottom:10px;border:1px solid #ddd;border-radius:12px;overflow:hidden}.recording-section video{width:100%;height:100%;object-fit:cover}.recording-status{position:absolute;top:10px;left:10px;background-color:rgba(0, 0, 0, 0.6);color:white;padding:4px 8px;border-radius:4px;display:flex;align-items:center;gap:5px;font-size:14px;z-index:2}.recording-status .recording-dot{display:inline-block;width:10px;height:10px;background-color:red;border-radius:50%;margin-right:5px;animation:blink 1s infinite}.recording-status.warning{color:#ff4d4f;animation:blink 1s infinite}@keyframes blink{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}.recording-section .stop-recording-button{background-color:#f44336;color:white;border:none;cursor:pointer;font-weight:bold}.recording-section .stop-recording-button:hover{background-color:#d32f2f}.fullscreen{width:100vw;border-radius:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}.recording-controls{margin-top:10px;height:53px;width:100%;max-width:400px;display:flex;justify-content:center}.recording-controls .waiting-message{text-align:center;color:white;font-size:16px;background-image:linear-gradient(100deg, #4A9FFF 0%, #1058FF 100%);border-radius:6px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);width:95%;display:flex;justify-content:center;align-items:center;cursor:pointer}.recording-controls .waiting-message.loading{background:#faad14}.recording-controls .waiting-message p{margin:0;font-size:16px;color:white;font-weight:500}.recording-controls .stop-recording-button{background-color:#dc3545;color:white;border:none;cursor:pointer;font-size:16px}.recording-controls .stop-recording-button:hover{background-color:#c82333}.recording-controls .stop-recording-button.disabled{background:#ccc;cursor:not-allowed}.recording-controls .stop-recording-button.disabled:hover{background:#ccc}.progress-container{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:400px;margin-top:10px;padding:0 5px}.progress-bar-container{height:4px;background-color:#E5E5E5;border-radius:2px;overflow:hidden;margin-right:10px;width:75px}.progress-bar{height:100%;background-image:linear-gradient(111deg, #4A9FFF 0%, #1058FF 100%);border-radius:2px;transition:width 0.3s ease}.progress-text{font-size:14px;color:#666;white-space:nowrap}.text-input-area{display:flex;flex-direction:column;width:100%;height:100%;padding:0px 16px 16px 16px;border-radius:8px;border:none;}.text-answer-input{flex:1;min-height:80px;padding:12px 12px 0px 12px;border:1px solid #ddd;border-radius:8px 8px 0 0;resize:none;font-size:16px;background-color:#fff;border-bottom:none;outline:none;}.input-toolbar{display:flex;justify-content:flex-end;align-items:center;padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-top:none;border-radius:0 0 8px 8px}.text-answer-input:focus{border-color:rgb(74, 144, 226);border-bottom:none}.text-answer-input:focus+.input-toolbar{border-color:rgb(74, 144, 226);border-top:none}.toolbar-actions{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:10px;border:1px solid #d9d9d9;border-radius:6px}.toolbar-actions:hover{background-color:#f0f0f0}.toolbar-button{background:transparent;border:none;color:#666;cursor:pointer;padding:0;margin:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.toolbar-button>div,.toolbar-button>svg{display:flex;justify-content:center;align-items:center}.toolbar-button img{width:16px;height:16px}.submit-text-button{padding:6px 16px;background-color:#4a90e2;color:white;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color 0.2s}.submit-text-button:hover:not(.disabled){background-color:#3a7bc8}.submit-text-button.disabled{background-color:#b3b3b3;cursor:not-allowed}.toolbar-button.recording{background-color:rgba(255, 0, 0, 0.1);color:#ff3b30;animation:pulse 1.5s infinite}.toolbar-button.converting{background-color:rgba(0, 122, 255, 0.1);color:#007aff}.toolbar-button .recording-time{font-size:12px;margin-left:4px}.converting-indicator{display:flex;justify-content:center;align-items:center}.converting-indicator svg{animation:spin 1.5s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.4)}70%{box-shadow:0 0 0 6px rgba(255, 0, 0, 0)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0)}}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.references-section{margin-top:30px;padding:12px;background-color:#f9f9f9;border-radius:8px;border:1px solid #e8e8e8}.references-title{font-size:14px;color:#666;margin:0 0 8px 0;font-weight:500}.references-list{display:flex;flex-direction:column;gap:8px}.reference-item{background-color:#fff;border:1px solid #e8e8e8;border-radius:6px;padding:10px;cursor:pointer;transition:background-color 0.2s, box-shadow 0.2s}.reference-item:hover{background-color:#f5f5f5;box-shadow:0 2px 8px rgba(0, 0, 0, 0.1)}.reference-header{display:flex;align-items:center;gap:6px;position:relative}.reference-icon{color:#1890ff;display:flex;align-items:center}.reference-name{font-size:13px;font-weight:500;color:#333;flex:1}.download-icon{color:#1890ff;display:flex;align-items:center}.reference-content{display:none}.suggested-questions{margin-top:20px;padding:12px;background-color:#f0f7ff;border-radius:8px;border:1px solid #d6e8ff}.suggested-title{font-size:14px;color:#1890ff;margin:0 0 8px 0;font-weight:500}.suggested-question{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background-color:#fff;border:1px solid #e6f7ff;border-radius:6px;cursor:pointer;font-size:14px;color:#1890ff;transition:all 0.3s;margin-bottom:8px}.suggested-question:last-child{margin-bottom:0}.suggested-question:hover{background-color:#e6f7ff;border-color:#91d5ff}.arrow-right{color:#1890ff;display:flex;align-items:center}.loading-suggestions{display:flex;justify-content:center;padding:16px}.loading-spinner-small{width:20px;height:20px;border:2px solid #e6f7ff;border-top-color:#1890ff;border-radius:50%;animation:spin 1s linear infinite}";
|
|
18554
18662
|
|
|
18555
18663
|
const hostCss = ":host{font-size:16px;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-weight:normal;font-style:normal;font-variant:normal;line-height:1.5;letter-spacing:normal;word-spacing:normal;color:#333;text-align:left;text-indent:0;text-transform:none;white-space:normal;word-wrap:normal;word-break:normal;visibility:visible;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;border-collapse:separate;border-spacing:0;caption-side:top;empty-cells:show;table-layout:auto;quotes:auto;cursor:auto;direction:ltr;orphans:2;widows:2;page-break-inside:auto;text-decoration:none;text-shadow:none;box-sizing:border-box;writing-mode:horizontal-tb;text-orientation:mixed}";
|
|
18556
18664
|
|