(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"155f":function(e,t,o){e.exports=o.p+"img/logo.2af34e0a.svg"},"16f1":function(e,t,o){"use strict";o("2413")},"1a6f":function(e,t,o){},2413:function(e,t,o){},3872:function(e,t,o){},"3e8e":function(e,t,o){"use strict";o("1a6f")},"5dc3":function(e){e.exports=JSON.parse('{"adv":{"label":"首购低至1折, 复购7.5折起! 立即选购","url":"https://cloud.tencent.com/act/pro/imnew?from=16262"},"demo":{"label":"体验更多Demo","url":"https://cloud.tencent.com/document/product/269/36852"},"im":{"label":"访问官网","url":"https://cloud.tencent.com/product/im"},"privacy":{"label":"隐私条例","url":"https://web.sdk.qcloud.com/document/Tencent-IM-Privacy-Protection-Guidelines.html"},"agreement":{"label":"用户协议","url":"https://web.sdk.qcloud.com/document/Tencent-IM-User-Agreement.html"},"product":{"label":"产品文档","url":"https://cloud.tencent.com/document/product/269/1499#.E7.BE.A4.E7.BB.84.E5.8A.9F.E8.83.BD"},"customMessage":{"label":"自定义消息","url":"https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#createCustomMessage"},"contact":{"label":"联系我们","url":"https://cloud.tencent.com/document/product/269/20043"},"intl":{"label":"国际站","url":"https://web.sdk.qcloud.com/im/demo/en/index.html#/home"},"stepList":[{"label":"创建项目","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A41.EF.BC.9A.E5.88.9B.E5.BB.BA.E9.A1.B9.E7.9B.AE"},{"label":"下载TUIKit组件","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E4.B8.8B.E8.BD.BD-tuikit-.E7.BB.84.E4.BB.B6"},{"label":"引入TUIKit组件","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A43.EF.BC.9A.E5.BC.95.E5.85.A5-tuikit-.E7.BB.84.E4.BB.B6"},{"label":"获取SDKAppID","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A44.EF.BC.9A-.E8.8E.B7.E5.8F.96-sdkappid-.E3.80.81.E5.AF.86.E9.92.A5.E4.B8.8E-userid"},{"label":"调用TUIKit组件","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A45.EF.BC.9A.E8.B0.83.E7.94.A8-tuikit-.E7.BB.84.E4.BB.B6"},{"label":"启动项目","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A46.EF.BC.9A.E5.90.AF.E5.8A.A8.E9.A1.B9.E7.9B.AE"},{"label":"发送您的第一条消息","url":"https://cloud.tencent.com/document/product/269/68493#.E6.AD.A5.E9.AA.A47.EF.BC.9A.E5.8F.91.E9.80.81.E6.82.A8.E7.9A.84.E7.AC.AC.E4.B8.80.E6.9D.A1.E6.B6.88.E6.81.AF"}],"advList":[{"label":"IM首购9percent折","subLabel":"复购75%起","btnText":"立即选购","url":"https://cloud.tencent.com/act/pro/imnew?from=16262"}]}')},ad85:function(e,t,o){"use strict";o("c737")},bb51:function(e,t,o){"use strict";o.r(t);var n=o("7a23"),c=o("155f"),l=o.n(c);const a=["id"],s={class:"home-main-box",style:{padding:"0"}},i={class:"home-TUIKit",style:{"box-shadow":"none","border-radius":"0",border:"1px solid #f9f9f9"}},r={class:"home-TUIKit-main"},d={key:0,class:"conversation"},m={class:"chat"},b={key:0,class:"chat-default"},u={class:"home-TUIKit-main"},p={class:"chat-default"},O={class:"show-about-box"},h={key:0,class:"title"},j={class:"sub"},E={class:"list"},f={class:"line"},v={class:"line"},g={key:3,class:"dialog"},w={class:"cancellation-box"},N={key:0,class:"title"},C={class:"cancelID"},k={class:"disclaimer-box"},S={key:0,class:"title"},y={class:"btn btn-default"},V={key:5,class:"home-h5-main",style:{width:"100%"}},I={class:"message"},M={class:"home-h5-content"},D={style:{display:"none"},class:"home-h5-main-header"},B={class:"home-h5-main-content"},A={class:"home-h5-content"},x={class:"home-h5-content home-h5-profile"},T={class:"home-h5-profile-list"},R={class:"home-h5-profile-list-item"},H={class:"home-h5-profile-list-item-receipt"},L={class:"home-h5-profile-list-item-receipt-cont"},$=["checked","value"],U={class:"home-h5-profile-list-item"},P={class:"home-h5-profile-list-item-receipt"},F={class:"home-h5-profile-list-item-online-status-cont"},K=["checked","value"],z={class:"home-h5-profile-footer"},_={style:{display:"none"},class:"nav"},J={class:"nav-list"},q=["onClick"];function G(e,t,o,c,G,W){const Y=Object(n["resolveComponent"])("TUIConversation"),X=Object(n["resolveComponent"])("TUIChat"),Z=Object(n["resolveComponent"])("TUIContact"),Q=Object(n["resolveComponent"])("TUISearch"),ee=Object(n["resolveComponent"])("TUIProfile"),te=Object(n["resolveComponent"])("TUICallKit"),oe=Object(n["resolveComponent"])("Drag"),ne=Object(n["resolveComponent"])("TUICallKitMini");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{class:Object(n["normalizeClass"])(["home"+(e.env.isH5?"-h5":"")]),id:e.env.isH5?"":"preloadedImages"},[e.menuStatus?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:0,class:Object(n["normalizeClass"])(["menu"+(e.env.isH5?"-h5":"")]),onClick:t[0]||(t[0]=Object(n["withModifiers"])((...t)=>e.toggleMenu&&e.toggleMenu(...t),["self"]))},null,2)):Object(n["createCommentVNode"])("",!0),e.env.isH5?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createElementBlock"])("main",{key:1,class:Object(n["normalizeClass"])(["home-main",[e.menuStatus&&"home-main-open"]]),style:{"padding-left":"0",background:"#f2f2f2"}},[Object(n["createElementVNode"])("div",s,[Object(n["createElementVNode"])("div",i,[Object(n["withDirectives"])(Object(n["createElementVNode"])("div",r,["0"!=e.hrefParams.getMessageList?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",d,[Object(n["createVNode"])(Y,{onCurrent:e.handleCurrentConversation,onCheckedExpert:e.checkedExpert,onChangeReply:e.changeReply,displayOnlineStatus:e.displayOnlineStatus},null,8,["onCurrent","onCheckedExpert","onChangeReply","displayOnlineStatus"])])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("div",m,[Object(n["createVNode"])(X,{isMsgNeedReadReceipt:e.isMsgNeedReadReceipt,isNeedTyping:!0,checkedExpert:e.checkedExpertStatus,isNeedEmojiReact:!0,onForHelp:e.forHelp},{default:Object(n["withCtx"])(()=>["0"!=e.hrefParams.getMessageList?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",b)):Object(n["createCommentVNode"])("",!0)]),_:1},8,["isMsgNeedReadReceipt","checkedExpert","onForHelp"])])],512),[[n["vShow"],"message"===e.currentModel]]),Object(n["withDirectives"])(Object(n["createElementVNode"])("div",u,[Object(n["withDirectives"])(Object(n["createVNode"])(Z,{displayOnlineStatus:e.displayOnlineStatus},{default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("div",p,[Object(n["createElementVNode"])("h1",null,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.$t("Home.欢迎使用"))+" ",1),t[19]||(t[19]=Object(n["createElementVNode"])("img",{class:"logo",src:l.a,alt:""},null,-1)),Object(n["createTextVNode"])(" "+Object(n["toDisplayString"])(e.$t("即时通信")),1)]),Object(n["createElementVNode"])("p",null,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.showText?e.$t("Home.我们为您默认提供了一位“示例好友”和一个“示例客服群”您不用额外添加好友和群聊就可完整体验腾讯云 IM 单聊、群聊的所有功能。"):"")+" ",1),Object(n["withDirectives"])(Object(n["createElementVNode"])("br",null,null,512),[[n["vShow"],e.showText]]),Object(n["createTextVNode"])(" "+Object(n["toDisplayString"])(e.$t("Home.随时随地")),1)])])]),_:1},8,["displayOnlineStatus"]),[[n["vShow"],"group"===e.currentModel]])],512),[[n["vShow"],"group"===e.currentModel]])])])],2)),e.showAbout?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:2,class:"dialog",onClick:t[7]||(t[7]=Object(n["withModifiers"])((...t)=>e.closeShowAbout&&e.closeShowAbout(...t),["self"]))},[Object(n["createElementVNode"])("div",O,[e.env.isH5?(Object(n["openBlock"])(),Object(n["createElementBlock"])("header",h,[Object(n["createElementVNode"])("i",{class:"icon icon-back",onClick:t[1]||(t[1]=Object(n["withModifiers"])((...t)=>e.closeShowAbout&&e.closeShowAbout(...t),["self"]))}),Object(n["createElementVNode"])("h1",null,Object(n["toDisplayString"])(e.$t("Home.关于腾讯云·通信")),1)])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("main",null,[Object(n["createElementVNode"])("header",null,[t[20]||(t[20]=Object(n["createElementVNode"])("img",{src:l.a,alt:""},null,-1)),Object(n["createElementVNode"])("h1",null,Object(n["toDisplayString"])(e.$t("即时通信")),1)]),Object(n["createElementVNode"])("span",j,Object(n["toDisplayString"])(e.$t("Home.SDK版本"))+":"+Object(n["toDisplayString"])(e.version),1)]),Object(n["createElementVNode"])("footer",null,[Object(n["createElementVNode"])("ul",E,[Object(n["createElementVNode"])("li",f,[Object(n["createElementVNode"])("a",{onClick:t[2]||(t[2]=t=>e.openLink(e.Link.privacy))},"《"+Object(n["toDisplayString"])(e.$t("Login."+e.Link.privacy.label))+"》",1),Object(n["createElementVNode"])("a",{onClick:t[3]||(t[3]=t=>e.openLink(e.Link.agreement))},"《"+Object(n["toDisplayString"])(e.$t("Login."+e.Link.agreement.label))+"》",1),Object(n["createElementVNode"])("a",{onClick:t[4]||(t[4]=(...t)=>e.openDisclaimer&&e.openDisclaimer(...t))},Object(n["toDisplayString"])(e.$t("Home.免责声明")),1)]),Object(n["createElementVNode"])("li",v,[Object(n["createElementVNode"])("a",{onClick:t[5]||(t[5]=t=>e.openLink(e.Link.contact))},"《"+Object(n["toDisplayString"])(e.$t("Home."+e.Link.contact.label))+"》",1),Object(n["createElementVNode"])("a",{onClick:t[6]||(t[6]=(...t)=>e.openShowCancellation&&e.openShowCancellation(...t))},Object(n["toDisplayString"])(e.$t("Home.注销账户")),1)]),t[21]||(t[21]=Object(n["createElementVNode"])("li",{class:"line"},[Object(n["createElementVNode"])("p",{class:"show-about-date"},"Copyright @ 2015-2022 Tecent. All Rights Reserved.")],-1))])])])])):Object(n["createCommentVNode"])("",!0),e.showCancellation?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",g,[Object(n["createElementVNode"])("div",w,[e.env.isH5?(Object(n["openBlock"])(),Object(n["createElementBlock"])("header",N,[Object(n["createElementVNode"])("i",{class:"icon icon-back",onClick:t[8]||(t[8]=Object(n["withModifiers"])((...t)=>e.cancel&&e.cancel(...t),["self"]))}),Object(n["createElementVNode"])("h1",null,Object(n["toDisplayString"])(e.$t("Home.关于腾讯云·通信")),1)])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("main",null,[t[22]||(t[22]=Object(n["createElementVNode"])("i",{class:"icon icon-warn"},null,-1)),Object(n["createElementVNode"])("span",null,[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.$t("Home.注销后,您将无法使用当前账号,相关数据也将删除无法找回。 当前账号"))+":",1),Object(n["createElementVNode"])("text",C,Object(n["toDisplayString"])(e.userInfo.userID),1)])]),Object(n["createElementVNode"])("footer",null,[Object(n["createElementVNode"])("button",{class:"btn btn-submit",onClick:t[9]||(t[9]=t=>e.submitCancellation(e.userInfo))},Object(n["toDisplayString"])(e.$t("Home.注销")),1),Object(n["createElementVNode"])("button",{class:"btn btn-default",onClick:t[10]||(t[10]=(...t)=>e.cancel&&e.cancel(...t))},Object(n["toDisplayString"])(e.$t("Home.取消")),1)])])])):Object(n["createCommentVNode"])("",!0),e.showDisclaimer?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:4,class:"dialog",onClick:t[13]||(t[13]=Object(n["withModifiers"])(t=>e.showDisclaimer=!1,["self"]))},[Object(n["createElementVNode"])("div",k,[e.env.isH5?(Object(n["openBlock"])(),Object(n["createElementBlock"])("header",S,[Object(n["createElementVNode"])("i",{class:"icon icon-back",onClick:t[11]||(t[11]=Object(n["withModifiers"])(t=>e.showDisclaimer=!1,["self"]))}),Object(n["createElementVNode"])("h1",null,Object(n["toDisplayString"])(e.$t("Home.关于腾讯云·通信")),1)])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("main",null,[Object(n["createElementVNode"])("header",null,Object(n["toDisplayString"])(e.$t("Home."+e.disclaimer.label)),1),Object(n["createElementVNode"])("article",null,Object(n["toDisplayString"])(e.$t("Home."+e.disclaimer.text)),1)]),Object(n["createElementVNode"])("footer",{onClick:t[12]||(t[12]=(...t)=>e.submitDisclaimer&&e.submitDisclaimer(...t))},[Object(n["createElementVNode"])("button",y,Object(n["toDisplayString"])(e.$t("Home.同意")),1)])])])):Object(n["createCommentVNode"])("",!0),e.env.isH5?(Object(n["openBlock"])(),Object(n["createElementBlock"])("main",V,[Object(n["withDirectives"])(Object(n["createElementVNode"])("div",I,[Object(n["withDirectives"])(Object(n["createElementVNode"])("main",M,[Object(n["createElementVNode"])("header",D,[Object(n["createVNode"])(Q),Object(n["createElementVNode"])("span",{class:"btn btn-text",onClick:t[14]||(t[14]=(...t)=>e.toggleMenu&&e.toggleMenu(...t))},Object(n["toDisplayString"])(e.$t("使用指引")),1)]),Object(n["createElementVNode"])("div",B,[Object(n["createVNode"])(Y,{onCurrent:e.handleCurrentConversation,displayOnlineStatus:e.displayOnlineStatus},null,8,["onCurrent","displayOnlineStatus"])])],512),[[n["vShow"],"message"===e.currentModel]]),Object(n["withDirectives"])(Object(n["createElementVNode"])("main",A,[Object(n["createVNode"])(Z,{displayOnlineStatus:e.displayOnlineStatus},null,8,["displayOnlineStatus"])],512),[[n["vShow"],"group"===e.currentModel]]),Object(n["withDirectives"])(Object(n["createElementVNode"])("main",x,[Object(n["createVNode"])(ee),Object(n["createElementVNode"])("ul",T,[Object(n["createElementVNode"])("li",R,[Object(n["createElementVNode"])("div",H,[Object(n["createElementVNode"])("label",null,Object(n["toDisplayString"])(e.$t("Home.消息阅读状态")),1),Object(n["createElementVNode"])("div",L,[Object(n["createElementVNode"])("p",null,Object(n["toDisplayString"])(e.isMsgNeedReadReceipt?e.$t("Home.关闭阅读状态"):e.$t("Home.开启阅读状态")),1)])]),Object(n["createElementVNode"])("div",null,[Object(n["createElementVNode"])("input",{type:"checkbox",class:"switch",checked:e.isMsgNeedReadReceipt,value:e.isMsgNeedReadReceipt,onClick:t[15]||(t[15]=t=>e.setReadReceipt(!e.isMsgNeedReadReceipt))},null,8,$)])]),Object(n["createElementVNode"])("li",U,[Object(n["createElementVNode"])("div",P,[Object(n["createElementVNode"])("label",null,Object(n["toDisplayString"])(e.$t("Home.显示在线状态")),1),Object(n["createElementVNode"])("div",F,[Object(n["createElementVNode"])("p",null,Object(n["toDisplayString"])(e.displayOnlineStatus?e.$t("Home.关闭在线状态"):e.$t("Home.开启在线状态")),1)])]),Object(n["createElementVNode"])("div",null,[Object(n["createElementVNode"])("input",{type:"checkbox",class:"switch",checked:e.displayOnlineStatus,value:e.displayOnlineStatus,onClick:t[16]||(t[16]=t=>e.setDisplayOnlineStatus(!e.displayOnlineStatus))},null,8,K)])]),Object(n["createElementVNode"])("li",{class:"home-h5-profile-list-item",onClick:t[17]||(t[17]=(...t)=>e.openShowAbout&&e.openShowAbout(...t))},[Object(n["createElementVNode"])("label",null,Object(n["toDisplayString"])(e.$t("Home.关于腾讯云·通信")),1),t[23]||(t[23]=Object(n["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])]),Object(n["createElementVNode"])("footer",z,[Object(n["createElementVNode"])("button",{class:"btn",onClick:t[18]||(t[18]=Object(n["withModifiers"])((...t)=>e.exitLogin&&e.exitLogin(...t),["prevent"]))},Object(n["toDisplayString"])(e.$t("Home.退出登录")),1)])],512),[[n["vShow"],"profile"===e.currentModel]]),Object(n["createElementVNode"])("footer",_,[Object(n["createElementVNode"])("ul",J,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.navList,(t,o)=>(Object(n["openBlock"])(),Object(n["createElementBlock"])("li",{class:"nav-list-item",key:o,onClick:o=>e.selectModel(t.name)},[Object(n["createElementVNode"])("i",{class:Object(n["normalizeClass"])(["icon",["icon-"+(e.currentModel===t.name?t.icon+"-selected":t.icon+"-real")]])},null,2),Object(n["createElementVNode"])("label",{class:Object(n["normalizeClass"])([e.currentModel===t.name&&"selected"])},Object(n["toDisplayString"])(e.$t("Home."+t.label)),3)],8,q))),128))])])],512),[[n["vShow"],!e.currentConversationID]]),Object(n["withDirectives"])(Object(n["createVNode"])(X,{isMsgNeedReadReceipt:e.isMsgNeedReadReceipt,isNeedTyping:!0,isNeedEmojiReact:!0},null,8,["isMsgNeedReadReceipt"]),[[n["vShow"],e.currentConversationID]])])):Object(n["createCommentVNode"])("",!0),Object(n["createVNode"])(oe,{show:e.showCall,class:Object(n["normalizeClass"])(["callkit-drag-container",[e.env.isH5&&"callkit-drag-container-H5",e.menuStatus&&"callkit-drag-container-left"]]),domClassName:"callkit-drag-container",style:{"z-index":"900"}},{default:Object(n["withCtx"])(()=>[t[24]||(t[24]=Object(n["createElementVNode"])("span",{style:{position:"absolute",left:"20px",top:"20px","z-index":"999",color:"#ffffff"}}," 应急就医对话中 ",-1)),Object(n["createVNode"])(te,{allowedMinimized:!0,allowedFullScreen:!1,beforeCalling:e.beforeCalling,afterCalling:e.afterCalling,onMinimized:e.onMinimized,onMessageSentByMe:e.onMessageSentByMe},null,8,["beforeCalling","afterCalling","onMinimized","onMessageSentByMe"])]),_:1},8,["show","class"]),Object(n["createVNode"])(oe,{show:e.showCallMini,class:"callkit-drag-container-mini",domClassName:"callkit-drag-container-mini"},{default:Object(n["withCtx"])(()=>[Object(n["createVNode"])(ne,{style:{position:"static"}})]),_:1},8,["show"])],10,a)}var W=o("65b8"),Y=o.n(W),X=o("4573"),Z=o.n(X),Q=o("5b1a"),ee=o.n(Q),te=(o("14d9"),o("1236"),o("c7e2")),oe=o("fcd0");const ne={class:"header"},ce={class:"left"},le={class:"content"},ae={class:"right"};function se(e,t,o,c,l,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("header",ne,[Object(n["createElementVNode"])("aside",ce,[Object(n["renderSlot"])(e.$slots,"left",{},void 0,!0)]),Object(n["createElementVNode"])("main",le,[Object(n["renderSlot"])(e.$slots,"content",{},void 0,!0)]),Object(n["createElementVNode"])("aside",ae,[Object(n["renderSlot"])(e.$slots,"right",{},void 0,!0)])])}var ie=Object(n["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const o=Object(n["reactive"])({data:{}});Object(n["watchEffect"])(()=>{o.data=e.data});const c=e=>{t.emit("handleItem",e)};return{...Object(n["toRefs"])(o),handleListItem:c}}}),re=(o("3e8e"),o("6b0d")),de=o.n(re);const me=de()(ie,[["render",se],["__scopeId","data-v-354832da"]]);var be=me;const ue={class:"menu"};function pe(e,t,o,c,l,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",ue,[Object(n["renderSlot"])(e.$slots,"header",{},void 0,!0),Object(n["renderSlot"])(e.$slots,"main",{},void 0,!0),Object(n["renderSlot"])(e.$slots,"footer",{},void 0,!0)])}var Oe=Object(n["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const o=Object(n["reactive"])({data:{}});return Object(n["watchEffect"])(()=>{o.data=e.data}),{...Object(n["toRefs"])(o)}}});o("ad85");const he=de()(Oe,[["render",pe],["__scopeId","data-v-1bf3ad31"]]);var je=he,Ee=o("5502"),fe=o("afbc"),ve=o("2fa7");o("d9e2");class ge{static reportEvent(e){throw new Error("Method not implemented.")}constructor(e){Object(ve["a"])(this,"aegis",void 0),Object(ve["a"])(this,"options",{}),this.aegis=e||new window.Aegis({id:"iHWefAYqDTiNaZDjts",uin:"",reportApiSpeed:!0,reportAssetSpeed:!0,spa:!0})}install(e){e.config.globalProperties.$TUIAegis=ge.getInstance()}static getInstance(){return ge.instance||(ge.instance=new ge),ge.instance}setAegisOptions(e){this.options=e}reportEvent(e){var t;if(null!==(t=window)&&void 0!==t&&null!==(t=t.TUIKitTUICore)&&void 0!==t&&t.isOfficial)return this.aegis.reportEvent({...e,...this.options})}}Object(ve["a"])(ge,"instance",void 0);var we=ge,Ne=o("bc3a"),Ce=o.n(Ne),ke=o("4328"),Se=o.n(ke);const ye="https://demos.trtc.tencent-cloud.com",Ve="prod",Ie=Ce.a.create({baseURL:`${ye}/${Ve}`,headers:{"content-type":"application/x-www-form-urlencoded"}});async function Me(e){const t=De(e,"/base/v1/auth_users/user_delete");return Ie(t)}function De(e,t,o){const n={method:o||"POST",url:t};return"GET"===n.method?n.params=e:n.data=Se.a.stringify(e),n}const Be={zh_cn:"腾讯云即时通信 Web-IM",en:"Instant Messaging Web-IM"};function Ae(e){return document.title=Be[e]}const xe=o("5dc3");var Te=xe,Re=o("4176");const He={class:"drag-container"};function Le(e,t,o,c,l,a){return Object(n["withDirectives"])((Object(n["openBlock"])(),Object(n["createElementBlock"])("div",He,[Object(n["renderSlot"])(e.$slots,"default",{},void 0,!0)],512)),[[n["vShow"],e.show]])}var $e=Object(n["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},domClassName:{type:String,default:""}},setup(e,t){const o=Object(n["reactive"])({show:!1,domClassName:"",startPosition:{left:"",top:"",cssText:""}});function c(e,o){let n=0;return function(...c){const l=+new Date;l-n>o&&(n=l,e.apply(t,c))}}return Object(n["watchEffect"])(()=>{o.show=e.show,o.domClassName=e.domClassName}),Object(n["onMounted"])(()=>{const t=document.getElementsByClassName(e.domClassName?e.domClassName:"drag-container")[0];if(!t)return;let l=!1;Object(n["watch"])(()=>o.show,(e,n)=>{var c,l,a;(o.show=e,e!==n)&&(!0===o.show&&(t.style.left=null===(c=o.startPosition)||void 0===c?void 0:c.left,t.style.top=null===(l=o.startPosition)||void 0===l?void 0:l.top,t.style.cssText=null===(a=o.startPosition)||void 0===a?void 0:a.cssText))});const a=e=>{l=!0;const o=e.clientX-t.offsetLeft,n=e.clientY-t.offsetTop,a=e=>{e.preventDefault(),l&&(t.style.left=e.clientX-o+"px",t.style.top=e.clientY-n+"px")};document.addEventListener("mousemove",c(a,20),!1),document.addEventListener("mouseup",()=>{l=!1,document.removeEventListener("mousemove",a)})};t.addEventListener("mousedown",a)}),{...Object(n["toRefs"])(o),throttle:c}}});o("16f1");const Ue=de()($e,[["render",Le],["__scopeId","data-v-6c3fc1d7"]]);var Pe=Ue,Fe=Pe,Ke=o("c193"),ze=o("fdc9"),_e=Object(n["defineComponent"])({components:{Header:be,Menu:je,Drag:Fe},setup(e,t){const o=Object(n["getCurrentInstance"])(),c=Object(te["b"])(),l=null===o||void 0===o?void 0:o.appContext.config.globalProperties.$TUIKit,a=Ee["c"]&&Object(Ee["c"])(),s=Object(n["computed"])(()=>a.state.taskList),i=oe["b"].instance.TIM.VERSION,r=Object(n["computed"])(()=>JSON.parse(a.state.isMsgNeedReadReceipt)),d=Object(n["computed"])(()=>JSON.parse(a.state.displayOnlineStatus)),m=Object(n["computed"])(()=>JSON.parse(a.state.allowNotification)),b=Object(n["reactive"])({hrefParams:{},checkedExpertStatus:!1,tfReply:0,stepList:Te.stepList,advList:Te.advList,disclaimer:{label:"IM-免责声明",text:"IM(“本产品”)是由腾讯云提供的一款测试产品,腾讯云享有本产品的著作权和所有权。本产品仅用于功能体验,不得用于任何商业用途。依据相关部门监管要求,严禁在使用中有任何色情、辱骂、暴恐、涉政等违法内容传播。"},ruleForm:{prePhone:"86",phone:"",code:"",checked:!1,userInfo:{userId:"",userSig:"",expire:""}},menuStatus:!0,showProfile:!1,showAbout:!1,showMore:!1,showCancellation:!1,showDisclaimer:!1,currentModel:"message",userInfo:oe["b"].instance.getStore().TUIProfile.profile,env:l.TUIEnv,navList:[{icon:"message",name:"message",label:"消息"},{icon:"relation",name:"group",label:"通讯录"},{icon:"profile",name:"profile",label:"个人中心"}],currentConversationID:"",isSupportGroupReceipt:!0,showText:oe["b"].instance.isOfficial,showCall:!1,showCallMini:!1,showSelectMore:"",moreList:[{key:"profile",name:"编辑资料",moreSelect:!1},{key:"readReceipt",name:"消息阅读状态",moreSelect:!0,status:r},{key:"onlineStatus",name:"显示在线状态",moreSelect:!0,status:d},{key:"notification",name:"消息通知",moreSelect:!0,status:m},{key:"about",name:"关于腾讯云IM",moreSelect:!1},{key:"exit",name:"退出登录",moreSelect:!1}]}),u=e=>{b.checkedExpertStatus=e},p=e=>{b.tfReply=e},O=()=>{var e,t,o;const n=window.location.href.substring(Y()(e=window.location.href).call(e,"?")+1,Y()(t=window.location.href).call(t,"#/")),c={};return Z()(o=n.split("&")).call(o,e=>{const t=e.substring(0,Y()(e).call(e,"=")),o=e.substring(Y()(e).call(e,"=")+1);c[t]=o}),c};b.hrefParams=O();const h=(e,t)=>{switch(b.showSelectMore=null===e||void 0===e?void 0:e.key,b.showSelectMore){case"profile":N();break;case"readReceipt":void 0!==t&&x(t);break;case"onlineStatus":void 0!==t&&T(t);break;case"notification":void 0!==t&&R(t);break;case"about":C();break;case"exit":w();break;default:break}b.showSelectMore="",b.showMore=!1};oe["b"].instance.TUIServer.TUIProfile.getMyProfile().then(e=>{b.userInfo=e.data});const j=e=>{c.value!==e&&(c.value=e,we.getInstance().reportEvent({name:"language",ext1:c.value}),a.commit("handleTask",2),Ae(c.value))},E=()=>{b.menuStatus=!b.menuStatus},f=e=>{b.currentModel=e},v=()=>{b.showMore=!1,b.showProfile=!1,oe["b"].instance.TUIServer.TUIProfile.setEdit(!1)},g=()=>{b.showMore=!b.showMore,b.showMore&&we.getInstance().reportEvent({name:"showMore",ext1:"showMore"})},w=async()=>{fe["a"].push({name:"Login"}),localStorage.removeItem("TUIKit-userInfo"),b.ruleForm.userInfo.userId="",b.ruleForm.userInfo.userSig="",b.ruleForm.userInfo.expire="",we.getInstance().reportEvent({name:"logout",ext1:"logout-success"})},N=()=>{oe["b"].instance.TUIServer.TUIProfile.setEdit(!0),b.showProfile=!0,we.getInstance().reportEvent({name:"showProfile",ext1:"showProfile"})},C=()=>{b.showAbout=!0},k=()=>{b.showCancellation=!0},S=()=>{b.showCancellation=!1,b.showMore=!1},y=()=>{b.showAbout=!1},V=()=>{b.showDisclaimer=!0},I=()=>{b.showDisclaimer=!1,b.showMore=!1},M=()=>{const e=localStorage.getItem("TUIKit-userInfo"),t=JSON.parse(e),o={userId:t.userId,token:t.token,phone:t.phone};l.logout().then(e=>{we.getInstance().reportEvent({name:"cancellationCount",ext1:"cancellationCount-success"}),localStorage.removeItem("TUIKit-userInfo"),Me(o),fe["a"].push({name:"Login"})})},D=e=>{window.open(e.url),we.getInstance().reportEvent({name:"openLink",ext1:e.label})},B=e=>{window.open(e.url),we.getInstance().reportEvent({name:"openLink",ext1:e.label})},A=e=>{b.currentModel="message",b.currentConversationID=e};Object(n["onMounted"])(()=>{var e;null!==(e=O())&&void 0!==e&&e.getMessageList&&(b.currentConversationID=O()["sessionId"])}),ze["a"].on("forHelp",e=>{let t=b.currentConversationID;t=b.currentConversationID.replace("C2C",""),t=b.currentConversationID.replace("GROUP",""),window.parent.postMessage(ee()({code:"forHelp",userId:t,isDisabled:e}),"*")}),ze["a"].on("forHelpDetail",e=>{let t=e;window.parent.postMessage(ee()({code:"forHelpDetail",userId:t}),"*")}),ze["a"].on("bigInformation",()=>{let e=b.currentConversationID;e=b.currentConversationID.replace("C2C",""),e=b.currentConversationID.replace("GROUP",""),window.parent.postMessage(ee()({code:"bigInformation",userId:e}),"*")});const x=e=>{a.commit("setNeedReadReceipt",e)},T=e=>{a.commit("setDisplayOnlineStatus",e)},R=e=>{a.commit("setNotification",e),Ke["c"].getInstance().setNotificationConfiguration({allowNotifications:e})},H=(e,t)=>{if(t)return Object(Re["b"])(t,e),void(b.showCall=!1);b.showCall=!0},L=()=>{b.showCall=!1,b.showCallMini=!1},$=(e,t)=>{b.showCall=!t,b.showCallMini=t},U=async e=>{var t,o;const n=null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t?void 0:t.TUIServer;null===n||void 0===n||null===(o=n.TUIChat)||void 0===o||o.handleMessageSentByMeToView(e)};return{checkedExpert:u,...Object(n["toRefs"])(b),taskList:s,change:j,toggleMenu:E,version:i,selectModel:f,handleChangeStatus:v,openShowMore:g,exitLogin:w,openShowCancellation:k,cancel:S,closeShowAbout:y,openShowAbout:C,submitCancellation:M,openDisclaimer:V,submitDisclaimer:I,Link:Te,openShowProfile:N,openLink:B,openDataLink:D,handleCurrentConversation:A,setReadReceipt:x,isMsgNeedReadReceipt:r,displayOnlineStatus:d,setDisplayOnlineStatus:T,beforeCalling:H,afterCalling:L,onMinimized:$,onMessageSentByMe:U,handleSelectClick:h,allowNotification:m,setNotification:R,changeReply:p}}});o("e71b");const Je=de()(_e,[["render",G],["__scopeId","data-v-24420d4c"]]);t["default"]=Je},c737:function(e,t,o){},e71b:function(e,t,o){"use strict";o("3872")}}]);