| 1 |
- import{R as e,bh as t,bl as a,x as s,B as l,bp as n,N as i,a8 as o,E as r,A as u,b8 as c,aR as d,aW as m,aV as f,aG as p,bi as g,r as h,a3 as b,aw as y,aT as k,av as _,aa as v,M as w,ah as C,aO as A,f as R,g as S,l as T,bc as x,b6 as L,bo as P,aA as M,b as W,aE as N,a as E,ab as I,G,F as B,bq as D,al as H,br as $,aQ as F,aU as O,b4 as z,bm as j,bn as U,bj as V,au as X,a$ as Y,X as J,b9 as K,aM as q,Q,b0 as Z,ba as ee,aj as te,am as ae,ai as se,c as le,az as ne,bd as ie,aD as oe,e as re,a1 as ue,y as ce,$ as de,b3 as me}from"./index-F6_4Jyh4.js";import{_ as fe,u as pe,a as ge,L as he}from"./liveChat.GIhP_1Cc.js";import{_ as be,a as ye,c as ke,i as _e,d as ve}from"./cwg-right-drawer.DxUcCL7k.js";import{b as we,_ as Ce,a as Ae,d as Re,c as Se}from"./uni-row.zq2qDVVW.js";import{_ as Te,a as xe}from"./logo-full-white.BpiOcQwV.js";import{u as Le}from"./useRouter.UV7jRAqd.js";import{p as Pe,g as Me,c as We,C as Ne}from"./user.Cktg3SZn.js";import{_ as Ee,u as Ie}from"./useLeftSidebarCollapse.BPFK9IFl.js";import{u as Ge}from"./useMenuSplit.CWEX60oa.js";import{c as Be}from"./cwg-popup.vue_vue_type_style_index_0_scoped_b0faaf66_lang.CpVDMDmX.js";import{c as De}from"./index.2vaGpUrt.js";const He=h(e({__name:"cwg-header",props:{title:{},backgrounds:{}},setup(e){const{t:h}=t(),b=Le(),y=g(),k=a(),_=s(()=>"dark"===k.theme),v=s(()=>!["/","/pages/customer/index","/pages/wallet/index","/pages/mine/index","/pages/login/index"].includes(y.path)),w=s(()=>!["/","/pages/customer/index","/pages/customer/dashboard","/pages/customer/trade-history","/pages/customer/trade-position","/pages/customer/recording-history","/pages/customer/deposit-select","/pages/customer/withdrawal-select","/pages/customer/payment-history","/pages/customer/transfer","/pages/customer/wallet-transfer","/pages/customer/wallet-history","/pages/activities/index","/pages/analytics/analystViews","/pages/analytics/news","/pages/common/download","/pages/common/chat","/pages/mine/info","/pages/common/notice","/pages/ib/index","/pages/ib/customer","/pages/ib/subsList","/pages/ib/agentList","/pages/ib/accountList","/pages/ib/transfer","/pages/ib/withdraw-select","/pages/ib/agent-transfer","/pages/ib/recording","/pages/ib/report","/pages/ib/complexReport","/pages/follow/index","/pages/follow/trading-center","/pages/follow/report","/pages/follow/transfer","/pages/follow/transfer-history","/pages/follow/trading-management","/pages/follow/follow-list","/pages/follow/account-management","/pages/follow/subscribe-list","/pages/follow/record","/pages/wallet/index","/pages/mine/index","/pages/login/index"].includes(y.path));function C(){const e=y.path;let t="";return e?(t="/"===e?"pages.mine.info":e.startsWith()?e.slice(7):e.slice(1),t.replace(/\//g,".")):""}const A=s(()=>{if(S.title)return!0;if(!y.path)return!1;const e=C();return!!h(e)}),R=s(()=>{if(S.title)return S.title;const e=C();return h(e)||""}),S=e;function T(){b.back()}return(e,t)=>{const a=m(f("cwg-icon"),fe),s=o;return v.value?(p(),l(s,{key:0,class:"pages-header"},{default:n(()=>[i(s,{class:"header"},{default:n(()=>[w.value?(p(),l(s,{key:0,class:"back"},{default:n(()=>[i(a,{name:"dropdown",class:"back-icon",color:_.value?"#fff":"#000000",onClick:T},null,8,["color"])]),_:1})):r("",!0),u("h3",{class:"mb-0"},c(A.value?R.value:""),1)]),_:1}),i(s,{class:"header-r"},{default:n(()=>[d(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})):r("",!0)}}}),[["__scopeId","data-v-3aebc61d"]]);const $e=e=>"number"==typeof e?e+"px":e;const Fe=h({name:"UniNavBar",components:{statusBar:h({name:"UniStatusBar",data:()=>({statusBarHeight:b().statusBarHeight+"px"})},[["render",function(e,t,a,s,i,r){const u=o;return p(),l(u,{style:y({height:i.statusBarHeight}),class:"uni-status-bar"},{default:n(()=>[d(e.$slots,"default",{},void 0,!0)]),_:3},8,["style"])}],["__scopeId","data-v-4bea3084"]])},emits:["clickLeft","clickRight","clickTitle"],props:{dark:{type:Boolean,default:!1},title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:""},backgroundColor:{type:String,default:""},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[Boolean,String],default:!1},border:{type:[Boolean,String],default:!0},height:{type:[Number,String],default:44},leftWidth:{type:[Number,String],default:60},rightWidth:{type:[Number,String],default:60},showMenuButtonWidth:{type:Boolean,default:!1},stat:{type:[Boolean,String],default:""}},data:()=>({navWidth:"auto"}),computed:{themeBgColor(){return this.dark?this.backgroundColor?"hhh"==this.backgroundColor?"linear-gradient(90deg, #ea002a 0%, #eb4e6b 100%)":this.backgroundColor:this.dark?"#333":"#FFF":"hhh"==this.backgroundColor?"linear-gradient(90deg, #ea002a 0%, #eb4e6b 100%)":this.backgroundColor||"#FFF"},themeColor(){return this.dark?this.color?this.color:this.dark?"#fff":"#333":this.color||"#333"},navbarHeight(){return this.fixed&&0===this.height?$e(44):$e(this.height)},leftIconWidth(){return $e(this.leftWidth)},rightIconWidth(){return $e(this.rightWidth)}},created(){},mounted(){uni.report&&this.stat&&""!==this.title&&uni.report("title",this.title)},methods:{onClickLeft(){this.$emit("clickLeft")},onClickRight(){this.$emit("clickRight")},onClickTitle(){this.$emit("clickTitle")}}},[["render",function(e,t,a,s,u,g){const h=k("status-bar"),b=m(f("uni-icons"),we),C=o,A=v;return p(),l(C,{class:_(["uni-navbar",{"uni-dark":a.dark,"uni-nvue-fixed":a.fixed}])},{default:n(()=>[i(C,{class:_(["uni-navbar__content",{"uni-navbar--fixed":a.fixed,"uni-navbar--shadow":a.shadow,"uni-navbar--border":a.border}])},{default:n(()=>[a.statusBar?(p(),l(h,{key:0})):r("",!0),i(C,{style:y({color:g.themeColor,height:g.navbarHeight,width:a.showMenuButtonWidth?u.navWidth+"px":"100%"}),class:"uni-navbar__header"},{default:n(()=>[i(C,{onClick:g.onClickLeft,class:"uni-navbar__header-btns uni-navbar__header-btns-left",style:y({width:g.leftIconWidth})},{default:n(()=>[d(e.$slots,"left",{},()=>[a.leftIcon.length>0?(p(),l(C,{key:0,class:"uni-navbar__content_view"},{default:n(()=>[i(b,{color:g.themeColor,type:a.leftIcon,size:"20"},null,8,["color","type"])]),_:1})):r("",!0),a.leftText.length?(p(),l(C,{key:1,class:_([{"uni-navbar-btn-icon-left":!a.leftIcon.length>0},"uni-navbar-btn-text"])},{default:n(()=>[i(A,{style:y({color:g.themeColor,fontSize:"12px"})},{default:n(()=>[w(c(a.leftText),1)]),_:1},8,["style"])]),_:1},8,["class"])):r("",!0)],!0)]),_:3},8,["onClick","style"]),i(C,{class:"uni-navbar__header-container",onClick:g.onClickTitle},{default:n(()=>[d(e.$slots,"default",{},()=>[a.title.length>0?(p(),l(C,{key:0,class:"uni-navbar__header-container-inner"},{default:n(()=>[i(A,{class:"uni-nav-bar-text uni-ellipsis-1",style:y({color:g.themeColor})},{default:n(()=>[w(c(a.title),1)]),_:1},8,["style"])]),_:1})):r("",!0)],!0)]),_:3},8,["onClick"]),i(C,{onClick:g.onClickRight,class:"uni-navbar__header-btns uni-navbar__header-btns-right",style:y({width:g.rightIconWidth})},{default:n(()=>[d(e.$slots,"right",{},()=>[a.rightIcon.length?(p(),l(C,{key:0},{default:n(()=>[i(b,{color:g.themeColor,type:a.rightIcon,size:"22"},null,8,["color","type"])]),_:1})):r("",!0),a.rightText.length&&!a.rightIcon.length?(p(),l(C,{key:1,class:"uni-navbar-btn-text"},{default:n(()=>[i(A,{class:"uni-nav-bar-right-text",style:y({color:g.themeColor})},{default:n(()=>[w(c(a.rightText),1)]),_:1},8,["style"])]),_:1})):r("",!0)],!0)]),_:3},8,["onClick","style"])]),_:3},8,["style"])]),_:3},8,["class"]),a.fixed?(p(),l(C,{key:0,class:"uni-navbar__placeholder"},{default:n(()=>[a.statusBar?(p(),l(h,{key:0})):r("",!0),i(C,{class:"uni-navbar__placeholder-view",style:y({height:g.navbarHeight})},null,8,["style"])]),_:1})):r("",!0)]),_:3},8,["class"])}],["__scopeId","data-v-8c1f6484"]]),Oe=h(e({__name:"cwg-pc-header",props:{sidebarVisible:{type:Boolean,default:!1}},emits:["open-right-drawer","open-left-drawer"],setup(e,{emit:t}){const r=a(),c=s(()=>"dark"===r.theme),d=t;function g(){d("open-left-drawer")}return(t,a)=>{const s=m(f("cwg-icon"),fe),r=C,d=m(f("cwg-notice"),be),h=m(f("cwg-right-drawer"),ye),b=o,y=m(f("uni-nav-bar"),Fe);return p(),l(y,{leftWidth:0,rightWidth:0,statusBar:!0,fixed:!0,height:55,border:!1},{default:n(()=>[i(b,{class:"cwg-pc-header bg-body"},{default:n(()=>[u("div",{class:"left"},[i(s,{name:e.sidebarVisible?"cwg-close":"crm-bars-staggered",color:"#97A1C0",onClick:g},null,8,["name"])]),u("div",{class:"left"},[c.value?(p(),l(r,{key:1,class:"left-img",src:xe,mode:"widthFix",alt:"logo",onClick:g})):(p(),l(r,{key:0,class:"left-img",src:Te,mode:"widthFix",alt:"logo",onClick:g}))]),u("div",{class:"right"},[i(d),i(h)])]),_:1})]),_:1})}}}),[["__scopeId","data-v-9ca4d934"]]),ze=A(!1),je=A(0),Ue=A("");const Ve=h(e({__name:"cwg-progress",setup(e){const{visible:t,progress:a,text:s}={visible:ze,progress:je,text:Ue,show:function(e="加载中"){Ue.value=e,je.value=0,ze.value=!0},update:function(e,t){je.value=Math.min(100,Math.max(0,e)),t&&(Ue.value=t)},hide:function(){ze.value=!1,je.value=0}};return(e,r)=>{const u=m(f("u-loading-icon"),R),c=m(f("u-line-progress"),S),d=o,g=m(f("u-overlay"),T);return p(),l(g,{show:x(t)},{default:n(()=>[i(d,{class:"overlay-center"},{default:n(()=>[i(d,{class:"progress-box"},{default:n(()=>[i(u,{text:x(s),textSize:"18"},null,8,["text"]),i(c,{percentage:x(a),activeColor:"#ea002a",inactiveColor:"#ececec",showText:!1,height:"4"},null,8,["percentage"])]),_:1})]),_:1})]),_:1},8,["show"])}}}),[["__scopeId","data-v-a33de593"]]),Xe=h(e({__name:"cwg-sidebar",emits:["handle-click"],setup(e,{emit:u}){const d=a();s(()=>"dark"===d.theme);const{t:g}=t(),h=Le(),b=e=>{X("handle-click",e)},{menus:k,setSubmenuRef:C,setMode:R,handleClick:S,mode:T}=Ge(b),U=pe(),{userInfo:V}=L(U),X=u,Y=s(()=>{const e=V.value;return!!e&&!!e.customInfo&&0==e.customInfo.ibInvalid&&!!e.ibInfo}),J=A(!0),K=A(!0),q=A(0),Q=A(0),Z=A({}),ee=A({}),te=e=>{let t="";return t=isNaN(e)||""===e?"0.00":parseFloat(e).toFixed(2),t},ae=e=>{let t="";return isNaN(e)||""===e?t="--":(e=e.toString(),t="*****"),t},se=s(()=>{const e=q.value||"0",t=te(e);return K.value?t:ae(t)}),le=s(()=>{var e;const t=te((null==(e=Z.value)?void 0:e.balance)||0);return K.value?t:ae(t)}),ne=s(()=>{const e=Q.value||"0",t=te(e);return K.value?t:ae(t)}),ie=s(()=>{var e;const t=te((null==(e=Z.value)?void 0:e.all)||0);return K.value?t:ae(t)}),oe=s(()=>{var e;const t=te((null==(e=ee.value)?void 0:e.walletAmount)||0);return K.value?t:ae(t)}),re=e=>{K.value=!e.detail.value},ue=e=>{let t="";1==e?t="/pages/customer/wallet-transfer":2==e&&(t="/pages/customer/wallet-history"),t&&h.push(t)},ce=e=>{let t="",a={};1==e?t="/pages/ib/withdraw-select":2==e?t="/pages/ib/transfer":3==e&&(t="/pages/ib/transfer",a={tab:2}),t&&h.push({path:t,query:a})},de=e=>{"customer"==e?((async()=>{let e=await ke.walletbalance({});200==e.code?null!=e.data&&(q.value=e.data):z({title:e.msg,icon:"none"})})(),(async()=>{let e=await ke.pendingWithdrawAmount({});200==e.code?null!=e.data&&(Q.value=e.data):z({title:e.msg,icon:"none"})})()):"ib"==e?(async()=>{const e=await _e.IbData();200===e.code?null!=e.data&&(Z.value=e.data):z({title:e.msg,icon:"none"})})():"follow"==e&&(async()=>{let e=await ve.followWalletSingle({});200==e.code?null!=e.data&&(ee.value=e.data):z({title:e.msg,icon:"none"})})()};return P(()=>T.value,e=>{j.value&&(console.log(e,"mode"),de(e))},{immediate:!0}),M(()=>{W("updatePayment",()=>{de(T.value)})}),N(()=>{E("updatePayment")}),(e,t)=>{const a=m(f("cwg-icon"),fe),s=v,u=o,d=I,A=H,L=m(f("cwg-submenu"),Ee),P=O("t");return p(),l(u,{class:"cwg-sidebar"},{default:n(()=>[i(u,{class:"wallet-widget"},{default:n(()=>[i(u,{class:_(["wallet-header",{"header-bottom":J.value}]),onClick:t[0]||(t[0]=e=>J.value=!J.value)},{default:n(()=>["follow"==x(T)?(p(),l(u,{key:0,class:"wallet-header-left"},{default:n(()=>[i(a,{name:"crm-payment",size:16,color:"#97A1C0"}),i(s,null,{default:n(()=>[w(c(x(g)("Documentary.console.item14")),1)]),_:1}),i(s,{class:"wallet-header-text"},{default:n(()=>[w(c(oe.value)+" USD",1)]),_:1})]),_:1})):(p(),l(u,{key:1,class:"wallet-header-left"},{default:n(()=>[i(a,{name:"crm-payment",size:16,color:"#97A1C0"}),i(s,null,{default:n(()=>[w(c(x(g)("customer"===x(T)?"wallet.item5":"news_add_field.Label.Balance")),1)]),_:1}),i(s,{class:"wallet-header-text"},{default:n(()=>[w(c("customer"===x(T)?se.value:le.value)+" USD",1)]),_:1})]),_:1})),i(u,{class:_(["wallet-header-right",{expanded:J.value}])},{default:n(()=>[i(a,{name:"crm-chevron-down",size:16,color:"#6c8595"})]),_:1},8,["class"])]),_:1},8,["class"]),J.value?(p(),l(u,{key:0,class:"wallet-body"},{default:n(()=>[i(u,{class:"wallet-body-header"},{default:n(()=>[i(s,{class:"drawer-title"},{default:n(()=>[w("隐藏余额")]),_:1}),i(d,{checked:!K.value,onChange:re,color:"#97A1C0",style:{transform:"scale(0.7)","margin-right":"-10px"}},null,8,["checked"])]),_:1}),i(u,{class:"wallet-body-content"},{default:n(()=>["follow"===x(T)?(p(),l(u,{key:0,class:"balance-amount"},{default:n(()=>[w(c(oe.value)+" USD",1)]),_:1})):(p(),G(B,{key:1},[i(u,{class:"balance-amount"},{default:n(()=>[w(c("customer"===x(T)?se.value:le.value)+" USD",1)]),_:1}),i(u,{class:"wallet-type"},{default:n(()=>[w(c("customer"===x(T)?x(g)("wallet.pendingWithdraw"):x(g)("Ib.Index.TotalRevenue")),1)]),_:1}),i(u,{class:"wallet-id-box"},{default:n(()=>[w(" $"+c("customer"===x(T)?ne.value:ie.value),1)]),_:1})],64))]),_:1}),"customer"===x(T)?(p(),l(u,{key:0,class:"wallet-actions"},{default:n(()=>[D(i(A,{class:"action-btn btn btn-outline-danger waves-effect waves-light",onClick:t[1]||(t[1]=$(e=>ue(1),["stop"]))},null,512),[[P,"wallet.item6"]]),D(i(A,{class:"action-btn btn btn-outline-danger waves-effect waves-light",onClick:t[2]||(t[2]=$(e=>ue(2),["stop"]))},null,512),[[P,"wallet.item7"]])]),_:1})):r("",!0),"ib"===x(T)?(p(),l(u,{key:1,class:"wallet-actions"},{default:n(()=>[D(i(A,{class:"action-btn btn btn-outline-danger waves-effect waves-light",onClick:t[3]||(t[3]=$(e=>ce(1),["stop"]))},null,512),[[P,"Custom.Index.Withdrawals"]]),D(i(A,{class:"action-btn btn btn-outline-danger waves-effect waves-light",onClick:t[4]||(t[4]=$(e=>ce(2),["stop"]))},null,512),[[P,"Home.page_ib.item4"]])]),_:1})):r("",!0),"follow"===x(T)?(p(),l(u,{key:2,class:"wallet-actions"},{default:n(()=>[D(i(A,{class:"action-btn btn btn-outline-danger waves-effect waves-light",onClick:t[5]||(t[5]=$(e=>{h.push("/pages/follow/transfer")},["stop"]))},null,512),[[P,"Documentary.console.item17"]])]),_:1})):r("",!0)]),_:1})):r("",!0)]),_:1}),i(u,{class:"menu-list"},{default:n(()=>[(p(!0),G(B,null,F(x(k),(e,t)=>(p(),l(u,{class:"menu",key:e.path},{default:n(()=>[i(u,{class:"menu-item",onClick:e=>x(S)(t)},{default:n(()=>[i(a,{name:e.icon,size:20,color:"#6c8595"},null,8,["name"]),D(i(u,{class:"menu-label"},null,512),[[P,e.label]]),i(u,{class:_(["chevron-icon",{expanded:e.isOpenMenu}])},{default:n(()=>[e.children&&e.children.length?(p(),l(a,{key:0,name:"crm-chevron-down",size:20,color:"#6c8595"})):r("",!0)]),_:2},1032,["class"])]),_:2},1032,["onClick"]),i(u,{ref_for:!0,ref:e=>x(C)(t,e),class:_(["submenu-box",{active:e.isOpenMenu}]),a:t,key1:e.path+t,b:e,style:y({height:e.children&&e.children.length&&e.isOpenMenu?e.submenuHeight+"px":"0px",transition:"height 281ms cubic-bezier(0.4, 0, 0.2, 1)"})},{default:n(()=>[e.children&&e.children.length?(p(),l(L,{key:0,"submenu-items":e.children,onSubmenuClick:b},null,8,["submenu-items"])):r("",!0)]),_:2},1032,["a","key1","b","style","class"])]),_:2},1024))),128))]),_:1}),i(u,{class:"menu fixed"},{default:n(()=>["customer"!==x(T)?(p(),l(u,{key:0,class:"menu-item btn-outline-danger btn btn-app-nav btn-shadow mb-2 w-100 waves-effect ib-box btn-mode menu-item ib-box",onClick:t[6]||(t[6]=e=>x(R)("customer"))},{default:n(()=>[i(a,{name:"crm-trade",size:20,color:"#000"}),D(i(u,{class:"menu-label"},null,512),[[P,"Home.msg.Custom"]])]),_:1})):r("",!0),"ib"!==x(T)&&Y.value?(p(),l(u,{key:1,class:"menu-item btn-outline-danger btn btn-app-nav btn-shadow mb-2 w-100 waves-effect ib-box btn-mode menu-item ib-box",onClick:t[7]||(t[7]=e=>x(R)("ib"))},{default:n(()=>[i(a,{name:"crm-ib",size:20,color:"#000"}),D(i(u,{class:"menu-label"},null,512),[[P,"Home.msg.Ib"]])]),_:1})):r("",!0),"follow"!==x(T)?(p(),l(u,{key:2,class:"menu-item btn-outline-danger btn btn-app-nav btn-shadow mb-2 w-100 waves-effect ib-box btn-mode menu-item ib-box",onClick:t[8]||(t[8]=e=>x(R)("follow"))},{default:n(()=>[i(a,{name:"crm-gd",size:20,color:"#000"}),D(i(u,{class:"menu-label"},null,512),[[P,"Documentary.title"]])]),_:1})):r("",!0)]),_:1})]),_:1})}}}),[["__scopeId","data-v-31594001"]]),Ye=h({__name:"cwg-custom-footer",setup:e=>(e,t)=>{const a=o,s=v,r=m(f("cwg-link"),Ce),u=O("t");return p(),l(a,{class:"custom-footer"},{default:n(()=>[i(a,{class:"footer-description"},{default:n(()=>[i(a,{class:"desc-block"},{default:n(()=>[D(i(a,{class:"desc-text"},null,512),[[u,"newSignin.item12"]]),D(i(a,{class:"desc-text"},null,512),[[u,"newSignin.item10"]]),D(i(a,{class:"desc-text"},null,512),[[u,"newSignin.item11"]]),i(a,{class:"desc-text"},{default:n(()=>[D(i(s,null,null,512),[[u,"newSignin.item13"]]),i(r,{type:"pdf",title:"newSignin.item13_1",url:"pdf/Risk-Disclosures-and-Acknowledgements-2020-08.pdf",target:"_blank",class:"desc-link"},null,8,["title","url"]),D(i(s,null,null,512),[[u,"newSignin.item13_2"]])]),_:1})]),_:1})]),_:1})]),_:1})}},[["__scopeId","data-v-56031013"]]),Je=h({__name:"cwg-footer-link",setup(e){const t=[{text:"signup.agreemnet2",url:"pdf/Client_Agreement.pdf"},{text:"signup.agreemnet4",url:"pdf/Terms&Conditions.pdf"},{text:"signup.agreemnet6",url:"pdf/Privacy_Policy.pdf"},{text:"news_add_field.OpenAccount.Des2",url:"pdf/PrivacyPolicy2019_01.pdf"}];return(e,a)=>{const s=o,r=m(f("cwg-link"),Ce);return p(),l(s,{class:"custom-footer"},{default:n(()=>[i(s,{class:"container"},{default:n(()=>[i(s,null,{default:n(()=>[w(" © 2026 CWG Markets ")]),_:1}),i(s,{class:"footer-links"},{default:n(()=>[(p(),G(B,null,F(t,(e,t)=>i(r,{type:"pdf",title:e.text,url:e.url,target:"_blank",key:t,class:"link-item"},null,8,["title","url"])),64))]),_:1})]),_:1})]),_:1})}}},[["__scopeId","data-v-463ff1ca"]]);const Ke=h({name:"uni-tooltip",data:()=>({}),methods:{},computed:{initPlacement(){let e={};switch(this.placement){case"left":e={top:"50%",transform:"translateY(-50%)",right:"100%","margin-right":"10rpx"};break;case"right":e={top:"50%",transform:"translateY(-50%)",left:"100%","margin-left":"10rpx"};break;case"top":e={bottom:"100%",transform:"translateX(-50%)",left:"50%","margin-bottom":"10rpx"};break;case"bottom":e={top:"100%",transform:"translateX(-50%)",left:"50%","margin-top":"10rpx"}}return e}},props:{content:{type:String,default:""},placement:{type:String,default:"bottom"}}},[["render",function(e,t,a,s,i,u){const m=o;return p(),l(m,{class:"uni-tooltip"},{default:n(()=>[d(e.$slots,"default",{},void 0,!0),a.content||e.$slots.content?(p(),l(m,{key:0,class:"uni-tooltip-popup",style:y(u.initPlacement)},{default:n(()=>[d(e.$slots,"content",{},()=>[w(c(a.content),1)],!0)]),_:3},8,["style"])):r("",!0)]),_:3})}],["__scopeId","data-v-c99f8cc8"]]),qe=h(e({__name:"cwg-sidebar-toggle",setup(e){const{t:a}=t(),{toggleLeftSidebar:r,syncCollapsedFromDom:c,isCollapsed:d}=Ie(),g=s(()=>d.value?a("Home.msg.sidebarExpand"):a("Home.msg.sidebarCollapse"));return M(()=>{c()}),(e,t)=>{const a=o,s=m(f("uni-tooltip"),Ke);return p(),l(a,{class:"sidebar-toggle-wrap"},{default:n(()=>[i(s,{content:g.value,placement:"right"},{default:n(()=>[i(a,{class:"sidebar-toggle-btn",onClick:x(r)},{default:n(()=>[i(a,{class:_(["sidebar-toggle-icon",{collapsed:x(d)}])},{default:n(()=>[u("span",{class:"toggle-bar toggle-bar-top"}),u("span",{class:"toggle-bar toggle-bar-mid"},[u("span",{class:"toggle-arrow"})]),u("span",{class:"toggle-bar toggle-bar-bottom"})]),_:1},8,["class"])]),_:1},8,["onClick"])]),_:1},8,["content"])]),_:1})}}}),[["__scopeId","data-v-150a1bed"]]),Qe=h(e({__name:"PrefectInfo",setup(e){const u=Le(),d=g(),{userInfo:h}=pe(),{setApplyStatus:b}=a(),{t:y}=t();A(null);const k=s(()=>{const{status:e,applyRealStatus:t}=h.customInfo;return b(!(2==e||1==t||2==t)),!(2==e||1==t||2==t)&&"/pages/mine/improveImmediately"!=d.path}),_=s(()=>h.customInfo);function v(){u.push({path:"/pages/mine/improveImmediately"})}return M(()=>{2==_.value.status||[1,2].includes(_.value.applyRealStatus)}),(e,t)=>{const a=m(f("cwg-icon"),fe),s=o,u=m(f("uni-col"),Ae),d=H,g=m(f("uni-row"),Re);return k.value?(p(),l(s,{key:0,class:"PerfectInfo"},{default:n(()=>[i(g,null,{default:n(()=>[i(u,{xs:24,sm:24,md:16,lg:16,xl:16},{default:n(()=>[i(s,{class:"content"},{default:n(()=>[i(s,{class:"icon"},{default:n(()=>[i(a,{color:"#333",icon:"crm-user-pen"})]),_:1}),i(s,{class:"title"},{default:n(()=>[w(c(x(y)("Home.msg.content")),1)]),_:1})]),_:1})]),_:1}),i(u,{xs:24,sm:24,md:8,lg:8,xl:8},{default:n(()=>[i(d,{class:"btn-improve",onClick:v},{default:n(()=>[w(c(x(y)("Home.msg.btn")),1)]),_:1})]),_:1})]),_:1})]),_:1})):r("",!0)}}}),[["__scopeId","data-v-1d2baa20"]]);const Ze=h({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:0,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let e={...this.styles,"transition-duration":this.duration/1e3+"s"},t="";for(let a in e){t+=this.toLine(a)+":"+e[a]+";"}return t},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=Be(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){return this.animation?(Object.keys(e).forEach(t=>{const a=e[t];"function"==typeof this.animation[t]&&(Array.isArray(a)?this.animation[t](...a):this.animation[t](a))}),this.animation.step(t),this):this},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.isShow=!0,this.transform=this.styleInit(!1).transform||"",this.opacity=this.styleInit(!1).opacity||0,this.$nextTick(()=>{this.timer=setTimeout(()=>{this.animation=Be(this.config,this),this.tranfromInit(!1).step(),this.animation.run(()=>{this.transform="",this.opacity=this.styleInit(!1).opacity||1,this.$emit("change",{detail:this.isShow})})},80)})},close(e){this.animation&&this.tranfromInit(!0).step().run(()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})})},styleInit(e){let t={transform:"",opacity:1};const a=(e,a)=>{const s=this.animationType(e)[a];a.startsWith("fade")?t.opacity=s:t.transform+=s+" "};return"string"==typeof this.modeClass?a(e,this.modeClass):this.modeClass.forEach(t=>a(e,t)),t},tranfromInit(e){let t=(e,t)=>{let a=null;"fade"===t?a=e?0:1:(a=e?"-100%":"0","zoom-in"===t&&(a=e?.8:1),"zoom-out"===t&&(a=e?1.2:1),"slide-right"===t&&(a=e?"100%":"0"),"slide-bottom"===t&&(a=e?"100%":"0")),this.animation[this.animationMode()[t]](a)};return"string"==typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach(a=>{t(e,a)}),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(e,t,a,s,i,r){const u=o;return D((p(),l(u,{ref:"ani",animation:i.animationData,class:_(a.customClass),style:y(r.transformStyles),onClick:r.onClick},{default:n(()=>[d(e.$slots,"default")]),_:3},8,["animation","class","style","onClick"])),[[U,i.isShow]])}]]);const et=h({name:"uniPopup",components:{keypress:{name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted(){const e={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]};document.addEventListener("keyup",t=>{if(this.disable)return;const a=Object.keys(e).find(a=>{const s=t.key,l=e[a];return l===s||Array.isArray(l)&&l.includes(s)});a&&setTimeout(()=>{this.$emit(a,{})},0)})},render:()=>{}}},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(e){this.config[e]&&this[this.config[e]](!0)},immediate:!0},isDesktop:{handler:function(e){this.config[e]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(e){this.mkclick=e},immediate:!0},isMaskClick:{handler:function(e){this.mkclick=e},immediate:!0},showPopup(e){document.getElementsByTagName("body")[0].style.overflow=e?"hidden":"visible"}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let e={backgroundColor:this.bg};return this.borderRadius,e=Object.assign(e,{borderRadius:this.borderRadius}),e},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:e,windowHeight:t,windowTop:a,safeArea:s,screenHeight:l,safeAreaInsets:n}=b();this.popupWidth=e,this.popupHeight=t+(a||0),s&&this.safeArea?this.safeAreaInsets=n.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(e=!0){document.getElementsByTagName("body")[0].style.overflow=e?"visible":"hidden"},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(e){e.stopPropagation(),this.clearPropagation=!0},open(e){if(this.showPopup)return;e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):console.error("缺少类型:",e)},close(e){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout(()=>{this.showPopup=!1},300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(e){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||(this.showPopup=!0,this.showTrans=!0,this.$nextTick(()=>{this.showPoptrans(),this.messageChild&&"message"===this.type&&this.messageChild.timerClose()}))},bottom(e){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||this.showPoptrans()},center(e){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},e||this.showPoptrans()},left(e){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||this.showPoptrans()},right(e){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||this.showPoptrans()},showPoptrans(){this.$nextTick(()=>{this.showPopup=!0,this.showTrans=!0})}}},[["render",function(e,t,a,s,u,c){const g=m(f("uni-transition"),Ze),h=o,b=k("keypress");return u.showPopup?(p(),l(h,{key:0,class:_(["uni-popup",[u.popupstyle,c.isDesktop?"fixforpc-z-index":""]])},{default:n(()=>[i(h,{onTouchstart:c.touchstart},{default:n(()=>[u.maskShow?(p(),l(g,{key:"1",name:"mask","mode-class":"fade",styles:u.maskClass,duration:u.duration,show:u.showTrans,onClick:c.onTap},null,8,["styles","duration","show","onClick"])):r("",!0),i(g,{key:"2","mode-class":u.ani,name:"content",styles:u.transClass,duration:u.duration,show:u.showTrans,onClick:c.onTap},{default:n(()=>[i(h,{class:_(["uni-popup__wrapper",[u.popupstyle]]),style:y(c.getStyles),onClick:c.clear},{default:n(()=>[d(e.$slots,"default",{},void 0,!0)]),_:3},8,["style","class","onClick"])]),_:3},8,["mode-class","styles","duration","show","onClick"])]),_:3},8,["onTouchstart"]),u.maskShow?(p(),l(b,{key:0,onEsc:c.onTap},null,8,["onEsc"])):r("",!0)]),_:3},8,["class"])):r("",!0)}],["__scopeId","data-v-315618bb"]]),tt=h({__name:"cwg-popup",props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},showFooters:{type:Boolean,default:!0},footerType:{type:String,default:"double",validator:e=>["double","single","none"].includes(e)},singleBtnText:{type:String,default:""},singleBtnType:{type:String,default:"primary"},cancelText:{type:String,default:""},confirmText:{type:String,default:""},confirmBtnType:{type:String,default:"primary"},showFooterLine:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},slotName:{type:String,default:""},width:{type:String,default:"600px"},pagerInfo:{type:Object,default:()=>({current:1,row:10,pageTotal:0,rowTotal:0})}},emits:["update:visible","confirm","close","single-click"],setup(e,{expose:a,emit:s}){const{t:u}=t(),g=e,h=s,b=A(null),k=V();P(()=>g.visible,e=>{var t,a;e?null==(t=b.value)||t.open():null==(a=b.value)||a.close()},{immediate:!0});const C=e=>{e.show||h("close")},R=()=>{var e;null==(e=b.value)||e.close(),h("update:visible",!1)},S=()=>{h("confirm")},T=()=>{h("single-click")};return a({close:R,open:()=>{var e;return null==(e=b.value)?void 0:e.open()}}),(t,a)=>{const s=v,h=m(f("uni-icons"),we),A=o,L=H,P=m(f("uni-popup"),et);return p(),l(P,{ref_key:"popupRef",ref:b,type:"center",onChange:C,class:"crm-popup",onMaskClick:R},{default:n(()=>[i(A,{class:"cwg-dialog",style:y({width:e.width})},{default:n(()=>[e.title?(p(),l(A,{key:0,class:"dialog-header"},{default:n(()=>[i(s,{class:"dialog-title"},{default:n(()=>[w(c(e.title||x(u)("Tips.DeleteAccount")),1)]),_:1}),i(h,{class:"dialog-close1",type:"closeempty",size:"20",color:"#999",onClick:R})]),_:1})):r("",!0),i(A,{class:"dialog-content"},{default:n(()=>[d(t.$slots,"default",{},void 0,!0)]),_:3}),g.showFooters?(p(),l(A,{key:1,class:"dialog-footer"},{default:n(()=>[e.slotName&&x(k)[e.slotName]?d(t.$slots,e.slotName,{key:0},void 0,!0):r("",!0),x(k).footer?(p(),l(A,{key:1,class:"btn-content"},{default:n(()=>[d(t.$slots,"footer",{},void 0,!0)]),_:3})):"none"===e.footerType?(p(),G(B,{key:2},[e.showFooterLine?(p(),l(A,{key:0,class:"footer-line"})):r("",!0)],64)):"single"===e.footerType?(p(),l(A,{key:3,class:"btn-content"},{default:n(()=>[i(L,{class:_(["single-btn",e.singleBtnType]),onClick:T},{default:n(()=>[w(c(e.singleBtnText||x(u)("common.confirm")),1)]),_:1},8,["class"])]),_:1})):(p(),l(A,{key:4,class:"btn-content"},{default:n(()=>[i(L,{class:"cancel-btn",onClick:R},{default:n(()=>[w(c(e.cancelText||x(u)("common.cancel")),1)]),_:1}),i(L,{class:_(["confirm-btn",e.confirmBtnType]),onClick:S},{default:n(()=>[w(c(e.confirmText||x(u)("common.confirm")),1)]),_:1},8,["class"])]),_:1}))]),_:3})):r("",!0)]),_:3},8,["style"])]),_:3},512)}}},[["__scopeId","data-v-b0faaf66"]]),at={Country:(e={})=>Pe("/country/get",e,"Host80"),newsAnalysisList:(e={})=>Pe("/news/analysis/search/list",e,"Host80"),CustomFileMobile:(e={})=>Me("/custom/bank/mobile",e,"Host80",{responseType:"arraybuffer"}),CustomFileMobileFiles:(e={})=>Me("/custom/file/mobile",e,"Host80",{responseType:"arraybuffer"}),BankList:(e={})=>Pe("/bank/list",e,"Host80"),customBankList:(e={})=>Pe("/custom/bank/list",e,"Host80"),customBankAdd:(e={})=>Pe("/custom/bank/add",e,"Host80"),customBankUpdate:(e={})=>Pe("/custom/bank/update",e,"Host80"),customBankDelete:(e={})=>Pe("/custom/bank/delete",e,"Host80"),customFileList:(e={})=>Pe("/custom/file/list",e,"Host80"),customUpdatePassword:(e={})=>Pe("/custom/update/login/password",e,"Host80"),customUpdateEmail:(e={})=>Pe("/custom/update/email",e,"Host80"),customUpdateEmailCode:(e={})=>Pe("/custom/update/email/send/code",e,"Host80"),CustomLoginInfo:(e={})=>Pe("/custom/info",e,"Host80"),CustomUpdateInfo:(e={})=>Pe("/custom/update/info",e,"Host80"),CustomFileList:(e={})=>Pe("/custom/file/list",e,"Host80"),customApplyReal:(e={})=>Pe("/custom/apply/real",e,"Host80"),customFileDelete:(e={})=>Pe("/custom/file/delete",e,"Host80"),getWebsdkLink:(e={})=>Pe("/custom/getWebsdkLink",e,"Host80"),customAccount:(e={})=>Pe("/custom/info/update/show/login/type",e,"Host90")},st="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const lt=Object.prototype.toString,nt=()=>{};const it=e=>e();function ot(e=it,t={}){const{initialState:a="active"}=t,s=function(...e){if(1!==e.length)return K(...e);const t=e[0];return"function"==typeof t?q(Q(()=>({get:t,set:nt}))):A(t)}("active"===a);return{isActive:Y(s),pause:function(){s.value=!1},resume:function(){s.value=!0},eventFilter:(...t)=>{s.value&&e(...t)}}}function rt(e){return Array.isArray(e)?e:[e]}function ut(e,t,a={}){const{eventFilter:s=it,...l}=a;return P(e,(n=s,i=t,function(...e){return new Promise((t,a)=>{Promise.resolve(n(()=>i.apply(this,e),{fn:i,thisArg:this,args:e})).then(t).catch(a)})}),l);var n,i}function ct(e,t=!0,a){J()?M(e,a):t?e():X(e)}const dt=st?window:void 0;function mt(...e){const t=s(()=>{const t=rt(ee(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0});return a=([e,t,a,s],l,n)=>{if(!(null==e?void 0:e.length)||!(null==t?void 0:t.length)||!(null==a?void 0:a.length))return;const i=(o=s,"[object Object]"===lt.call(o)?{...s}:s);var o;const r=e.flatMap(e=>t.flatMap(t=>a.map(a=>((e,t,a,s)=>(e.addEventListener(t,a,s),()=>e.removeEventListener(t,a,s)))(e,t,a,i))));n(()=>{r.forEach(e=>e())})},l={flush:"post"},P(()=>{var a,s;return[null!==(a=null===(s=t.value)||void 0===s?void 0:s.map(e=>function(e){var t;const a=ee(e);return null!==(t=null==a?void 0:a.$el)&&void 0!==t?t:a}(e)))&&void 0!==a?a:[dt].filter(e=>null!=e),rt(ee(t.value?e[1]:e[0])),rt(x(t.value?e[2]:e[1])),ee(t.value?e[3]:e[2])]},a,{...l,immediate:!0});var a,l}const ft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},pt="__vueuse_ssr_handlers__",gt=ht();function ht(){return pt in ft||(ft[pt]=ft[pt]||{}),ft[pt]}const bt={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},yt="vueuse-storage";function kt(e,t,a,l={}){var n;const{flush:i="pre",deep:o=!0,listenToStorageChanges:r=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:d,window:m=dt,eventFilter:f,onError:p=e=>{console.error(e)},initOnMounted:g}=l,h=(d?Z:A)(t),b=s(()=>ee(e));if(!a)try{a=function(e,t){return gt[e]||t}("getDefaultStorage",()=>null==dt?void 0:dt.localStorage)()}catch(T){p(T)}if(!a)return h;const y=ee(t),k=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(y),_=null!==(n=l.serializer)&&void 0!==n?n:bt[k],{pause:v,resume:w}=function(e,t,a={}){const{eventFilter:s,initialState:l="active",...n}=a,{eventFilter:i,pause:o,resume:r,isActive:u}=ot(s,{initialState:l});return{stop:ut(e,t,{...n,eventFilter:i}),pause:o,resume:r,isActive:u}}(h,e=>function(e){try{const t=a.getItem(b.value);if(null==e)R(t,null),a.removeItem(b.value);else{const s=_.write(e);t!==s&&(a.setItem(b.value,s),R(t,s))}}catch(T){p(T)}}(e),{flush:i,deep:o,eventFilter:f});P(b,()=>S(),{flush:i});let C=!1;function R(e,t){if(m){const s={key:b.value,oldValue:e,newValue:t,storageArea:a};m.dispatchEvent(a instanceof Storage?new StorageEvent("storage",s):new CustomEvent(yt,{detail:s}))}}function S(e){if(!e||e.storageArea===a)if(e&&null==e.key)h.value=y;else if(!e||e.key===b.value){v();try{const t=_.write(h.value);void 0!==e&&(null==e?void 0:e.newValue)===t||(h.value=function(e){const t=e?e.newValue:a.getItem(b.value);if(null==t)return u&&null!=y&&a.setItem(b.value,_.write(y)),y;if(!e&&c){const e=_.read(t);return"function"==typeof c?c(e,y):"object"!==k||Array.isArray(e)?e:{...y,...e}}return"string"!=typeof t?t:_.read(t)}(e))}catch(T){p(T)}finally{e?X(w):w()}}}return m&&r&&(a instanceof Storage?mt(m,"storage",e=>{g&&!C||S(e)},{passive:!0}):mt(m,yt,e=>{g&&!C||S(e.detail)})),g?ct(()=>{C=!0,S()}):S(),h}const _t=h(e({__name:"IbInfo",emits:["confirm","close"],setup(e,{expose:a,emit:d}){const{Code:g}=De,{userInfo:h,saveUserInfo:b}=pe(),{t:y}=t(),k=A("");A();const _=A(),C=A({}),R=kt("lang"),S=A({}),T=A("");s(()=>h.customInfo);const L=d,P=s(()=>3==C.value.status?y("Btn.AgainApply"):y("Btn.Confirm")),W=async()=>{_.value.close()},N=async e=>{var t;T.value=(null==(t=null==e?void 0:e.detail)?void 0:t.value.length)||""},E=async()=>{const e=C.value.status;0==e?I():1==e?(_.value.close(),L("close")):3==e&&(C.value.status=0)},I=async()=>{if(console.log(T.value),!T.value)return void z({title:y("Msg.Read"),icon:"none"});(await We.customApplyIb()).code==g.StatusOK&&(z({title:y("Msg.Success"),icon:"none"}),(async()=>{let e=await We.CustomLoginInfo();e.code==g.StatusOK?b(e.data):z({title:y("Msg.SystemError"),icon:"none"})})(),_.value.close(),L("confirm"))},B=async()=>{let e=await We.customApplyIbStatus({});e.code==g.StatusOK?(C.value={...e.data},0==C.value.status||1==C.value.status?_.value.open():2==C.value.status||3==C.value.status&&((async()=>{let e=await We.reasonsRefusalList({type:nviewl});e.code==g.StatusOK?e.data==nviewl?S.value={}:S.value=e.data:z({title:e.msg,icon:"none"})})(),_.value.open())):z({title:e.msg,icon:"none"})};return M(()=>{}),a({getInfo:async()=>{let e=await at.CustomLoginInfo();e.code==g.StatusOK?(k.value=e.data.customInfo.applyRealStatus,2==e.data.customInfo.status&&2==e.data.customInfo.applyRealStatus&&B()):z({title:y("Msg.SystemError"),icon:"none"})},open:()=>{var e;return null==(e=popupRef.value)?void 0:e.open()}}),(e,t)=>{const a=o,s=se,d=v,g=ae,h=te,b=m(f("cwg-popup"),tt);return p(),l(a,{class:"IbInfo"},{default:n(()=>[i(b,{ref_key:"dialogApplyIb",ref:_,type:"center",title:x(y)("Home.msg.ibTitle"),showFooterLine:"",cancelText:x(y)("Btn.Cancel"),confirmText:P.value,onClose:W,onConfirm:E,"slot-name":"agree"},{agree:n(()=>[0==C.value.status?(p(),l(a,{key:0},{default:n(()=>[i(a,{class:"agree"},{default:n(()=>[i(h,{value:T.value,onChange:N},{default:n(()=>[i(g,{class:"checkbox"},{default:n(()=>[i(s,{value:"1",checked:!!T.value},null,8,["checked"]),i(d,{class:"crm-cursor",style:{"text-decoration":"underline"}},{default:n(()=>[w(c(x(y)("Home.msg.Agree1")),1)]),_:1})]),_:1})]),_:1},8,["value"])]),_:1})]),_:1})):r("",!0)]),default:n(()=>[0==C.value.status?(p(),l(a,{key:0,class:"dia-content"},{default:n(()=>[i(a,{class:"content",style:{height:"400px","line-height":"1.5","text-align":"left"},id:"Agreement"},{default:n(()=>[i(a,{class:"title"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.title1")),1)]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item0")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item01")),1)]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item02")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item03")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item04")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item05")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item1")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item11")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item2")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item21")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item22")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item221")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item222")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item223")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item224")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item225")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item226")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item227")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item228")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item229")),1)]),_:1})]),_:1})]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item23")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item24")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item25")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item251")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item252")),1)]),_:1})]),_:1})]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item26")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item3")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item31")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item32")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item33")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item34")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item341")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item342")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item343")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item344")),1)]),_:1})]),_:1})]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item35")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item36")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item37")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item38")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item4")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item41")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item42")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item5")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item51")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item52")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item53")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item6")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item61")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item62")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item7")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item71")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item711")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item712")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item713")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item714")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item715")),1)]),_:1})]),_:1})]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item72")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item73")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item74")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item8")),1)]),_:1}),i(a,{class:"ul"},{default:n(()=>[i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item81")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item82")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item83")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item84")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item85")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item86")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item87")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item88")),1)]),_:1}),i(a,{class:"ul-li"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item89")),1)]),_:1})]),_:1}),i(a,{class:"tit"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item9")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item91")),1)]),_:1}),i(a,{class:"title"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.title2")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item101")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item102")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item103")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item104")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item105")),1)]),_:1}),i(a,{class:"p"},{default:n(()=>[w(c(x(y)("CWGMarketsLtdPARTNERSAgreement.item106")),1)]),_:1})]),_:1})]),_:1})):r("",!0),1==C.value.status?(p(),l(a,{key:1,class:"dia-content"},{default:n(()=>[i(a,{class:"content",style:{display:"flex","justify-content":"center","align-content":"center","flex-wrap":"wrap","font-size":"20px",height:"150px"}},{default:n(()=>[i(a,{style:{width:"100%",margin:"15px 0","font-size":"16px"}},{default:n(()=>[u("i",{class:"el-icon-loading",style:{"font-size":"32px"}})]),_:1}),i(a,{style:{width:"100%",margin:"15px 0","font-size":"14px"}},{default:n(()=>[u("span",null,c(x(y)("ApplicationDialog.ibStatus")),1)]),_:1})]),_:1})]),_:1})):r("",!0),3==C.value.status?(p(),l(a,{key:2,class:"dia-content"},{default:n(()=>[i(a,{class:"content",style:{display:"flex","justify-content":"center","align-content":"center","flex-wrap":"wrap","font-size":"14px",height:"150px"}},{default:n(()=>[i(a,{style:{width:"100%",margin:"15px 0","font-weight":"bold"}},{default:n(()=>[w(c(x(y)("ApplicationDialog.ibRefused")),1)]),_:1}),i(a,{style:{width:"100%",margin:"15px 0","font-size":"14px"}},{default:n(()=>[u("span",null,c(x(y)("ApplicationDialog.ibDes")),1),S.value[C.value.approveDesc]?(p(),G("span",{key:0},c("cn"==x(R)?S.value[C.value.approveDesc].content:S.value[C.value.approveDesc].enContent),1)):(p(),G("span",{key:1},c(C.value.approveDesc||"--"),1))]),_:1})]),_:1})]),_:1})):r("",!0)]),_:1},8,["title","cancelText","confirmText"])]),_:1})}}}),[["__scopeId","data-v-2c25cdaf"]]),vt={tokenReplace:function(e){if(!e)return e;let t="";return t=e.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"%20").replace(/\//g,"%2F").replace(/\?/g,"%3F"),t}},wt=h(e({__name:"cwg-page-wrapper",props:{isHeaderFixed:{type:Boolean,default:!1},isLoginPage:{type:Boolean,default:!1},isContentPadding:{type:Boolean,default:!0},bgColor:{type:String,default:""},pageTitle:{type:String,default:""},type:{type:String,default:""}},setup(e){const u=ge(300),c=s(()=>u.value<=991),{isCollapsed:g,syncCollapsedFromDom:h}=Ie(),b=s(()=>({left:`${g.value?64:280}px`})),{t:k,locale:v}=t(),w=a(),C=Le();pe();const R=s(()=>"dark"===w.theme),S=A(!1),T=A(null);A(null);const x=A(null),L=A(!1),P=()=>{var e;x.value&&(null==(e=x.value)||e.getInfo())},I=()=>{L.value?(c.value?C.push("/pages/common/chat"):he&&he.showChat(),setTimeout(()=>{L.value=!1},300)):L.value=!0},G=()=>{V()};let B=null,D=null;const H=A({}),$=A({}),F=()=>{let e=j.value||ue("token");if(!e)return;e=vt.tokenReplace(e);const t=`${De.HostWs}/webSocket?Access-Token=${e}`;B=ce({url:t,success:()=>{console.log("WebSocket connected successfully")},fail:()=>{z({title:k("Msg.socket"),icon:"none"})}}),B.onOpen(()=>{console.log("WebSocket opened")}),B.onError(()=>{clearTimeout(D),D=setTimeout(()=>{F()},3e3)}),B.onMessage(e=>{console.log("接受道消息",e);try{const t=JSON.parse(e.data);3==t.newsType&&O(t),1==t.newsType&&de("updateImproveFile",t),4==t.newsType&&de("updateUnreadCount",t.count)}catch(t){console.error("WebSocket parse error:",t)}}),B.onClose(()=>{})},O=e=>{const t=["cn","zhHant"].includes(v.value);let a="";e.pushMessageId&&H.value[e.pushMessageId]&&(a=t?H.value[e.pushMessageId].content:H.value[e.pushMessageId].enContent);let s="";e.approveDesc&&$.value[e.approveDesc]&&(s=t?$.value[e.approveDesc].content:$.value[e.approveDesc].enContent);const l=`${a}\n${s}`.trim();me({title:k("news_add_field.Label.Tips"),content:l||k("news_add_field.Label.Tips"),showCancel:!1,confirmText:k("Btn.Confirm"),success:t=>{t.confirm&&U(e.newsType)}})},U=e=>{if(3===e)C.push({path:"/pages/customer/recording-history",query:{type:4}}).catch(e=>e)};function V(){var e;null==(e=T.value)||e.open()}M(()=>{h(),le("open-ib",P),W("open-right-drawer",G),(async()=>{if(!j.value)return;let e=await We.PushMessageList({type:null});200==e.code?null==e.data?H.value={}:H.value=e.data:z({title:e.msg,icon:"none"})})(),(async()=>{if(!j.value)return;let e=await We.reasonsRefusalList({type:null});200==e.code?null==e.data?$.value={}:$.value=e.data:z({title:e.msg,icon:"none"})})(),F()}),N(()=>{E("open-ib",P),E("open-right-drawer",G),B&&(B.close(),B=null),clearTimeout(D)});const X=A(!1),Y=A(!1);let J=null,K=A(!1);const q=function(e,t){let a=null;return(...s)=>{a&&clearTimeout(a),a=setTimeout(()=>e(...s),t)}}(()=>{K.value||(K.value=!0,Y.value?(Y.value=!1,J=setTimeout(()=>{X.value=!1,K.value=!1,J=null},200)):(X.value=!0,J=setTimeout(()=>{Y.value=!0,K.value=!1,J=null},200)))},300);function Q(){J&&(clearTimeout(J),J=null),q()}return ne(()=>{ie()}),oe(()=>{ie()}),(t,a)=>{const s=m(f("cwg-pc-header"),Oe),u=o,c=m(f("cwg-header"),He),g=m(f("cwg-match-media"),Se),h=m(f("cwg-language"),Ne),k=m(f("cwg-progress"),Ve),v=m(f("cwg-sidebar"),Xe),w=m(f("cwg-custom-footer"),Ye),C=m(f("cwg-footer-link"),Je),A=m(f("cwg-icon"),fe),T=m(f("cwg-sidebar-toggle"),qe);return p(),l(u,{class:_(["page-wrapper bg-body",{dark:R.value}])},{default:n(()=>[e.isLoginPage?r("",!0):(p(),l(g,{key:0,"max-width":991},{default:n(()=>["webview"!=e.type?(p(),l(s,{key:0,onOpenRightDrawer:V,onOpenLeftDrawer:Q,sidebarVisible:X.value},null,8,["sidebarVisible"])):r("",!0),X.value?(p(),l(u,{key:1,class:"sidebar-mask mask-visible",onClick:Q})):r("",!0),e.pageTitle?(p(),l(u,{key:2,class:"fixed"})):r("",!0),e.pageTitle?(p(),l(c,{key:3,class:"custom-header",title:e.pageTitle},null,8,["title"])):r("",!0)]),_:1})),i(h,{style:{width:"0",display:"none"}}),i(k),i(u,{class:"page-content",style:y({backgroundColor:e.bgColor})},{default:n(()=>[e.isLoginPage?r("",!0):(p(),l(g,{key:0,"max-width":991},{default:n(()=>[i(u,{class:_(["left-sidebar",{"sidebar-visible":X.value}])},{default:n(()=>[i(v,{onHandleClick:Q})]),_:1},8,["class"]),X.value?(p(),l(u,{key:0,class:"sidebar-mask",onClick:Q,style:y({opacity:Y.value?1:0,transition:"opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1)"})},null,8,["style"])):r("",!0)]),_:1})),i(u,{class:"content-info"},{default:n(()=>[e.isLoginPage?r("",!0):(p(),l(Qe,{key:0})),e.isLoginPage?r("",!0):(p(),l(_t,{key:1,ref_key:"ibRef",ref:x},null,512)),i(u,{class:_(["content-wrapper",{"content-wrapper-padding":e.isContentPadding}])},{default:n(()=>[i(re,{name:"fade",mode:"out-in"},{default:n(()=>[i(u,null,{default:n(()=>[d(t.$slots,"default",{},void 0,!0)]),_:3})]),_:3}),e.pageTitle?r("",!0):(p(),l(w,{key:0})),e.isLoginPage?r("",!0):(p(),l(g,{key:1,"max-width":991},{default:n(()=>[e.pageTitle?r("",!0):(p(),l(C,{key:0}))]),_:1}))]),_:3},8,["class"])]),_:3}),i(u,{class:_(["chat-icon",{"chat-icon-expanded":L.value,"chat-icon-hidden":"chat"==e.type}]),onClick:I},{default:n(()=>[i(A,{name:"chat",color:"#fff"})]),_:1},8,["class"]),i(u,{style:y({height:S.value?"60px":"0px"})},null,8,["style"])]),_:3},8,["style"]),e.isLoginPage?r("",!0):(p(),l(g,{key:1,"min-width":991},{default:n(()=>[i(C)]),_:1})),e.isLoginPage?r("",!0):(p(),l(g,{key:2,"min-width":992},{default:n(()=>[i(u,{class:"desktop-sidebar-toggle-fixed",style:y(b.value)},{default:n(()=>[i(T)]),_:1},8,["style"])]),_:1}))]),_:3},8,["class"])}}}),[["__scopeId","data-v-9a4efd09"]]);export{tt as _,He as a,et as b,Ke as c,wt as d,at as p,vt as t};
|