PageSourceSearch

https://app.salesmartly.com/next/assets/index-CWmgcKDJ.js

js salesmartly.com collected 2026-10-01 14:02:24 UTC 3,197 bytes, 2 lines download raw bytes

1import{aG as S}from"./global-B9IENzdi.js";import{b as L}from"./main-BKOqa_c2.js";import{i as A,g as B,r as y,bg as I,k as x,m as F,n as f,p as r,x as m,q as h,bk as D,bd as H,a3 as b,y as o,t as g}from"./core-Cp0HtK9S.js";import{b as M}from"./slack-D0gkWzVf.js";import{A as O}from"./AddChannelLayout-CyVPtrb1.js";import{u as G}from"./usePackage-BVVMWKhe.js";import{$ as C}from"./index-CI_6jojO.js";import{P as U}from"./window-popup-B9mqkAyx.js";import{b as V}from"./connect-CYssfRvS.js";import{H as z}from"./help-links-5Ve_ln-f.js";import{u as K}from"./useFirstConnectionGuide-CnNmyjxp.js";import"./index.vue_vue_type_script_setup_true_lang-owq2Bk5F.js";import"./zalo-j9rVexyr.js";import"./facebook-yHFflSRx.js";import"./whatsapp1-FPzmcG14.js";import"./messenger_blue-xG4oplT3.js";import"./index-B58gzoXt.js";import"./AppCard-Cww_VNPS.js";import"./useTheme-D3O-yKsM.js";import"./usePermission-D7ZwWxVz.js";import"./channel-type-C3yta2Vu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"v1.2.26.0"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c27163f-c0b8-42be-8497-d1f8851518a7",e._sentryDebugIdIdentifier="sentry-dbid-0c27163f-c0b8-42be-8497-d1f8851518a7")})()}catch{}const P={key:0},R=["innerHTML"],Y={class:"add-footer"},$=A({__name:"index",setup(e){const{renderKey:t,isZH:k}=L(),{isCustomizedVersion:w}=G(),E=B(),{beginConnection:v}=K();let a;const i=y(""),c=y(!1),l=new U,T=async()=>{try{const n=await M();i.value=n.data.url}catch{}},_=n=>{if(n.origin!==window.location.origin)return;const{key:s,type:d,action:u,extra:p}=n.data??{};s===V&&d==="slack"&&u==="auth"&&((p==null?void 0:p.status)==="success"&&(a==null||a(),C("FE_CONNECT_C_S_S",{addition:{access_method:"oauth"}})),E.push({name:"ChannelSlack"}))};I(()=>{window.removeEventListener("message",_),l.close()});const N=async()=>{a=v("ChannelSlack",{showGuide:!1});try{if(i.value||(c.value=!0,await T()),!i.value)return;window.addEventListener("message",_),C("FE_CONNECT_C_S_C",{addition:{access_method:"oauth"}}),l.open(i.value)}catch{l.close()}finally{c.value=!1}};return(n,s)=>{const d=x("IconFont"),u=D;return f(),F(O,{"sub-title":o(t)("connect.channels.slack.tips.subTitle")},{desc:r(()=>[o(w)?(f(),g("p",P,b(o(t)("connect.common.tips.desc.channelDescriptionByOther")),1)):(f(),g("p",{key:1,innerHTML:o(t)("connect.channels.slack.tips.desc",{url:o(z).slackConnectTutorial[o(k)?"zh":"en"]})},null,8,R))]),default:r(()=>[m("div",Y,[h(u,{type:"primary",loading:c.value,onClick:N},{icon:r(()=>[h(d,{type:"icon-connect-circle",size:"14"})]),default:r(()=>[H(" "+b(o(t)("connect.common.btn.connect")),1)]),_:1},8,["loading"])]),s[0]||(s[0]=m("span",{"data-sd-track":"FE_CONNECT_C_S_C",style:{display:"none"}},null,-1)),s[1]||(s[1]=m("span",{"data-sd-track":"FE_CONNECT_C_S_S",style:{display:"none"}},null,-1))]),_:1},8,["sub-title"])}}}),me=S($,[["__scopeId","data-v-cc31e530"]]);export{me as default};
2//# sourceMappingURL=index-CWmgcKDJ.js.map

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.