PageSourceSearch

https://static.hyperbid.com/web/static-2ad0d4cda636a3b7/js/index-1790079537705-e09b2ff9.js

js hyperbid.com collected 2026-10-04 12:30:11 UTC 6,421 bytes, 1 lines download raw bytes

1import{d as R,b1 as G,v as Y,M as Z,ce as ee,r as d,cd as T,y as L,V as $,co as ae,ae as te,cc as se,z as oe,o as i,c as n,a as o,q as _,u as D,b as h,T as B,g as y,F as N,j as M,n as I,e as ie,cp as ne,cq as de,t as S,cr as le,cf as U,_ as j,cs as ce,aH as ue,a0 as re,C as O,aa as z}from"./index-1790079537705-9140afbe.js";import _e from"./dimension-card-1790079537705-2e637683.js";import he from"./chart-data-1790079537705-12fad6ab.js";import{a as me}from"./config-1790079537705-50dfa7f8.js";import"./webfunny-event-1790079537705-f75b1fd8.js";import"./dashboard-1790079537705-2029398d.js";import"./report-1790079537705-0e90a924.js";import"./index.vue_vue_type_script_setup_true_lang-1790079537705-2bb7e7cd.js";import"./index-1790079537705-e7896d85.js";import"./metrics-card-1790079537705-30fee301.js";import"./app-1790079537705-b415dc6c.js";import"./app-1790079537705-e2b5869d.js";const pe="https://static.hyperbid.com/web/static-2ad0d4cda636a3b7/png/video-files-1790079537705-c7ba45a3.png",ve="https://static.hyperbid.com/web/static-2ad0d4cda636a3b7/png/setup-wizard-1790079537705-3e7546c7.png",ge="https://static.hyperbid.com/web/static-2ad0d4cda636a3b7/png/chat-bot-1790079537705-9e0f6d97.png",fe={key:0,class:"quick-guide-v2 dashboard-guide--step-1"},be={class:"card card--padding"},ye={class:"welcome-info"},ke={class:"welcome-title txt-title"},we={key:0,class:"welcome-action flex-y-center"},xe={class:"welcome-tip txt-main"},Ce={key:0,class:"guide-cards"},De={class:"guide-header"},Ve={class:"guide-title txt-tag--l"},Ie={key:0,class:"step-number"},Se={key:1,class:"iconfont icon-success--o step-success-icon"},Fe={class:"guide-desc txt-main"},Te={class:"guide-illustration"},qe={key:0,class:"guide-card-progress"},Ge={class:"guide-card-progress-text"},Le={class:"guide-card-progress-bar"},Be=["src"],Ne={key:0,class:"iconfont icon-arrow-right--o guide-arrow"},F=66,Me=R({name:"SmartAssistantDashboard",__name:"dashboard",props:{modelValue:{type:Boolean,default:!0},modelModifiers:{},isFreshman:{type:Boolean,default:!0},isFreshmanModifiers:{}},emits:["update:modelValue","update:isFreshman"],setup(V){const l=G(V,"modelValue"),v=G(V,"isFreshman"),{t:a}=Y.useI18n(),g=Z(),k=ee(),u=d([{type:"product_overview",name:a("dashboard.guide.productOverview"),desc:a("dashboard.guide.desc3"),btnText:a("dashboard.guide.btn1"),illustration:pe,is_done:0},{type:"guide",name:a("dashboard.guide.beginGuide"),desc:a("dashboard.guide.desc4"),btnText:a("dashboard.guide.btn2"),illustration:ve,is_done:0},{type:"help_center",name:a("dashboard.guide.helpCenter"),desc:a("dashboard.guide.desc5"),btnText:a("dashboard.guide.btn3"),illustration:ge,is_done:0}]),m=d(!1),t=d(!1),c=d(0),w=d(4),f=d(!!T("dashboard_quick_guide_collapse")),A=L(()=>g.userInfo.name||g.userInfo.username||""),E=L(()=>Number(g.userInfo.adminId??0));$(async()=>{T("dashboard_quick_guide_hidden")&&(l.value=!1),await q(),H()});async function q(){const p=(await ae()).data??{},{dashboard:r,pages:e=[],wait_total:x}=p;t.value=r===1||x!==0,E.value!==0&&(t.value=!1),t.value&&(e.forEach(C=>{const b=u.value.find(X=>X.type===C.page_key);b&&(b.is_done=C.is_done)}),l.value&&(await te(),k.startDriver({type:"dashboard"})))}function H(){se().then(s=>{const p=s.data||[];if(w.value=p.length,c.value=p.filter(r=>r.is_done===1).length,t.value||(v.value=!1),c.value!==0&&(v.value=!1),c.value===w.value){const r=u.value.find(e=>e.type==="guide");r&&(r.is_done=1)}})}function P(s){(s==="product_overview"||s==="help_center")&&de({page_key:s}).then(()=>{q()}),s==="product_overview"&&(S(F,{type:"点击",action:"介绍视频"}),m.value=!0),s==="guide"&&(S(F,{type:"点击",action:"新手引导"}),Q()),s==="help_center"&&(S(F,{type:"点击",action:"帮助文档"}),J())}function Q(){const s=document.getElementById("floating-button");s&&s.click()}function J(){le({url:"/m/redirect?k=general.u1tej6q",key:"_doc_dot_hidden",helpLookSpace:"helplook",value:!0})}function K(){U("dashboard_quick_guide_hidden",!0),l.value=!1}function W(){f.value=!f.value,U("dashboard_quick_guide_collapse",f.value)}return(s,p)=>{const r=oe("el-button");return t.value&&l.value?(i(),n("div",fe,[o("div",be,[o("div",ye,[o("div",ke,[o("span",null,_(D(a)("common.hello")+", "+A.value+"! "+
1D(a)("dashboard.guide.desc1")),1),v.value?y("",!0):(i(),n("div",we,[h(B,{class:"close-button",text:"common.close",onClick:K}),h(B,{text:f.value?"common.expand":"common.collapse","icon-suffix":f.value?"iconfont icon-arrow-up--o":"iconfont icon-arrow-down--o",onClick:W},null,8,["text","icon-suffix"])]))]),o("div",xe,_(D(a)("dashboard.guide.desc2")),1)]),f.value?y("",!0):(i(),n("div",Ce,[(i(!0),n(N,null,M(u.value,(e,x)=>(i(),n("div",{key:e.type,class:I(["guide-card",{"is-done":e.is_done===1}])},[o("div",De,[o("div",Ve,_(e.name),1),e.is_done===0?(i(),n("div",Ie,_(x+1),1)):(i(),n("i",Se))]),o("div",Fe,_(e.desc),1),o("div",Te,[e.type==="guide"?(i(),n("div",qe,[o("span",Ge,_(c.value)+"/"+_(w.value),1),o("div",Le,[(i(!0),n(N,null,M(w.value,(C,b)=>(i(),n("div",{key:b,class:I(["guide-card-progress-segment",{"is-active":b<c.value}])},null,2))),128))])])):y("",!0),o("img",{src:e.illustration,alt:""},null,8,Be)]),h(r,{type:"primary",size:"large",class:I(["guide-btn el-button--fill",{"visibility-hidden":e.is_done===1}]),round:"",onClick:C=>P(e.type)},{default:ie(()=>[o("span",null,_(e.btnText),1)]),_:2},1032,["class","onClick"]),x!==u.value.length-1?(i(),n("i",Ne)):y("",!0)],2))),128))]))]),h(ne,{modelValue:m.value,"onUpdate:modelValue":p[0]||(p[0]=e=>m.value=e),"target-id":"guide-icon-page-back"},null,8,["modelValue"])])):y("",!0)}}});const Ue=j(Me,[["__scopeId","data-v-93d54a3b"]]),Oe={class:"dashboard page-container"},ze=R({name:"Dashboard",__name:"index",setup(V){const l=d(!0),v=d(T("dashboard_quick_guide_show")??!0),a=d(null),g=d(null);function k(){var m,t;(m=a.value)==null||m.getData(),(t=g.value)==null||t.getData()}$(()=>{k()});let u=!1;return ce(()=>{u=!0}),ue(()=>{u&&(u=!1,k())}),(m,t)=>(i(),n("div",Oe,[h(re,{"is-back":!1,"show-feature":!0,sticky:""}),h(Ue,{modelValue:v.value,"onUpdate:modelValue":t[0]||(t[0]=c=>v.value=c),"is-freshman":l.value,"onUpdate:isFreshman":t[1]||(t[1]=c=>l.value=c)},null,8,["modelValue","is-freshman"]),O(h(_e,{ref_key:"dimensionCardRef",ref:a},null,512),[[z,!l.value]]),O(h(he,{ref_key:"chartDataRef",ref:g,format:"","search-list":D(me)},null,8,["search-list"]),[[z,!l.value]])]))}});const Ye=j(ze,[["__scopeId","data-v-dd92aa4d"]]);export{Ye as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.