1"use strict";(self["webpackChunkjijyun_ibot_front_webpack"]=self["webpackChunkjijyun_ibot_front_webpack"]||[]).push([[4817],{213:function(e,t,a){a(85331),a(19104)},12031:function(e,t,a){a.d(t,{o:function(){return c}});var o=a(83519),n=a(99077),l=a(93513);const i=(0,o.defineComponent)({name:"ElCollapseTransition"}),r=(0,o.defineComponent)({...i,setup(e){const t=(0,l.DU)("collapse-transition"),a=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},n={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame((()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=`${e.scrollHeight}px`:e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"}))},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){a(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=`${e.scrollHeight}px`,e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){a(e)},leaveCancelled(e){a(e)}};return(e,a)=>((0,o.openBlock)(),(0,o.createBlock)(o.Transition,(0,o.mergeProps)({name:(0,o.unref)(t).b()},(0,o.toHandlers)(n)),{default:(0,o.withCtx)((()=>[(0,o.renderSlot)(e.$slots,"default")])),_:3},16,["name"]))}});var s=(0,n.A)(r,[["__file","collapse-transition.vue"]]),d=a(25376);const c=(0,d.GU)(s)},19104:function(e,t,a){a(85331)},72142:function(e,t,a){a.d(t,{A:function(){return s}});a(44114),a(18111),a(13579);var o=a(6127),n=a(24232),l=a(12235);const i=new Map;if(o.oc){let e;document.addEventListener("mousedown",(t=>e=t)),document.addEventListener("mouseup",(t=>{if(e){for(const a of i.values())for(const{documentHandler:o}of a)o(t,e);e=void 0}}))}function r(e,t){let a=[];return(0,n.cy)(t.arg)?a=t.arg:(0,l.vq)(t.arg)&&a.push(t.arg),function(o,n){const l=t.instance.popperRef,i=o.target,r=null==n?void 0:n.target,s=!t||!t.instance,d=!i||!r,c=e.contains(i)||e.contains(r),m=e===i,u=a.length&&a.some((e=>null==e?void 0:e.contains(i)))||a.length&&a.includes(r),p=l&&(l.contains(i)||l.contains(r));s||d||c||m||u||p||t.value(o,n)}}const s={beforeMount(e,t){i.has(e)||i.set(e,[]),i.get(e).push({documentHandler:r(e,t),bindingFn:t.value})},updated(e,t){i.has(e)||i.set(e,[]);const a=i.get(e),o=a.findIndex((e=>e.bindingFn===t.oldValue)),n={documentHandler:r(e,t),bindingFn:t.value};o>=0?a.splice(o,1,n):a.push(n)},unmounted(e){i.delete(e)}}},76769:function(e,t,a){a.d(t,{f:function(){return o}});const o=e=>e},85550:function(e,t,a){a(85331),a(213)},86662:function(e,t,a){a.r(t),a.d(t,{default:function(){return E}});var o=a(96593),n=(a(85331),a(15616),a(29800)),l=(a(85550),a(44114),a(18111),a(13579),a(98853)),i=a(85384),r=a(81387),s=a(83725),d=a(72459),c=a(34736);const m={class:"marketing-tags w-full"},u={class:"float-left w-[220px] h-full bg-white flex flex-col",style:{"border-right":"1px solid #dfe0e2"}},p={class:"h-[56px] flex items-center px-5 border-b border-opacity-20 border-black"},f={class:"text-base"},g={class:"flex-1 overflow-y-auto mt-4 mb-4",style:{"-webkit-scrollbar-width":"none","-ms-overflow-style":"none","scrollbar-width":"none"}},v={class:"ellipsis-1 text-neutral-800"},y={class:"content-right h-full relative"},h=["src"],w={style:{display:"flex","align-items":"center","font-size":"16px"}},k={class:"dialog-footer"};var x=(0,l.defineComponent)({__name:"index",setup(e){const{t:t}=(0,i.s9)(),a=(0,r.rd)(),x=(0,r.lq)(),{getLocalizedPath:b}=(0,s.g)(),C=(0,l.ref)(""),E=(0,l.ref)(""),V=(0,l.ref)(""),H=(0,l.ref)(!1),M=(0,l.ref)(!1),B=(0,l.ref)(["1"]),N=(0,l.ref)("contact"),_=(0,l.computed)((()=>[{mid:"keyword-replay",name:t("aiMarket.keywordReply")},{mid:"room-keyword",name:t("aiMarket.keywordGroupInvite")},{mid:"auto-friend",name:t("aiMarket.newCustomerSop")},{mid:"sop-contact",name:t("aiMarket.privateChatSop")},{mid:"sop-room",name:t("aiMarket.groupChatSop")},{mid:"sop-friend",name:t("aiMarket.momentsSop")},{mid:"tag-sop",name:t("aiMarket.tagSop")},{mid:"sop-template",name:t("aiMarket.sopTemplate")},{mid:"room-batch-create",name:t("aiMarket.batchGroupInvite")},{mid:"list",name:t("aiMarket.tagGroupInvite")},{mid:"group-nurturing",name:"å
»å·"}]));function T(e){a.push(b(`/WeChatMarket/autooperations/${e}`))}async function $(e){N.value=e,V.value=await(0,c.D_)();let t="member-bulk-msg";"keyword-replay"==e||"room-keyword"==e||"room-batch-create"==e||"list"==e?t="member-room-management":"alias-auto-tag"==e?t="member-crm":"group-nurturing"==e&&(t="member-management");let a=encodeURIComponent(`/main/:orgId/${t}/:groupId/${e}`);C.value=`https://wechat1.jijyun.cn/sso/oidc?code=${V.value}&client_id=jijianyun&redirectPath=${a}`}function S(){M.value=!1}async function P(){M.value=!1,H.value=!0,await $("miao-hui-tag")}const j=async()=>{try{!E.value&&H.value&&(E.value=await(0,c.sC)(),(0,l.nextTick)((async()=>{setTimeout((async()=>{E.value=await(0,c.sC)(),window.location.reload()}),1e3)})))}catch(e){console.error(e)}},D=e=>_.value.some((t=>t.mid===e));return(0,l.watch)(x,(async()=>
1{if(x.params.mid&&Array.isArray(x.params.mid)){const e=x.params.mid.join("/");D(e)?(N.value=e,$(N.value)):M.value=!0}}),{immediate:!0}),(0,l.onMounted)((()=>{})),(e,t)=>{const a=n.lj,i=o.kZ;return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createElementVNode)("div",m,[(0,l.createElementVNode)("div",u,[(0,l.createElementVNode)("div",p,[(0,l.createElementVNode)("span",f,(0,l.toDisplayString)(e.$t("aiMarket.autoOperations")),1)]),(0,l.createElementVNode)("div",g,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(_.value,((e,t)=>((0,l.openBlock)(),(0,l.createBlock)(a,{key:t,"default-openeds":B.value},{default:(0,l.withCtx)((()=>[(0,l.createVNode)((0,l.unref)(d.ElMenuItem),{index:`${t+1}`,onClick:t=>T(e.mid)},{title:(0,l.withCtx)((()=>[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)([N.value===e.mid?"active-2":"","!px-5"])},[(0,l.createElementVNode)("span",v,(0,l.toDisplayString)(e.name),1)],2)])),_:2},1032,["index","onClick"])])),_:2},1032,["default-openeds"])))),128))])]),(0,l.createElementVNode)("div",y,[(0,l.createElementVNode)("iframe",{src:C.value,onLoad:j,class:"w-full h-full border-0"},null,40,h)])]),(0,l.createVNode)(i,{modelValue:M.value,"onUpdate:modelValue":t[0]||(t[0]=e=>M.value=e),width:"500","show-close":!1,"close-on-click-modal":!1,"close-on-press-escape":!1,"align-center":""},{header:(0,l.withCtx)((()=>[(0,l.createElementVNode)("div",w,[t[1]||(t[1]=(0,l.createElementVNode)("i",{class:"icon-warning text-base",style:{color:"#f08d34","margin-right":"10px","font-size":"22px"}},null,-1)),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(e.$t("aiMarket.confirmActivation")),1)])])),footer:(0,l.withCtx)((()=>[(0,l.createElementVNode)("div",k,[(0,l.createElementVNode)("span",{class:"cancel",onClick:S},(0,l.toDisplayString)(e.$t("common.cancel")),1),(0,l.createElementVNode)("span",{class:"sure",type:"primary",onClick:P},(0,l.toDisplayString)(e.$t("aiMarket.activate")),1)])])),default:(0,l.withCtx)((()=>[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("aiMarket.wecomAgentOperationDesc")),1)])),_:1},8,["modelValue"])],64)}}}),b=a(71241);
1const C=(0,b.A)(x,[["__scopeId","data-v-f42c73d2"]]);var E=C}}]);
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.