import{r as T}from"./logger-CSiH5xbs.js";const n="team",S="1";function A(_){return`sync_order_${_}_`}function i(_,a,e){return`${A(_)}${a}_${e}`}function r(_,a){const e=a.startsWith(A(_))?a.slice(A(_).length):"",t=/^(success|fail|resync)_(\d{4}-\d{2}-\d{2})$/.exec(e);return t?{kind:t[1],date:t[2]}:null}function l(_){return _===S||_===1}function f(_=""){try{const a=atob(_),e=a.length,t=new Uint8Array(e);for(let R=0;R<e;R++)t[R]=a.charCodeAt(R);return t.buffer}catch{return T.print(`消息体解密失败：${_}`),new ArrayBuffer(0)}}function C(_){let a="";const e=new Uint8Array(_),t=e.byteLength;for(let R=0;R<t;R++)a+=String.fromCharCode(e[R]);return btoa(a)}const E={RUN_TASK_SYNC_PRODUCT:{name:"同步店铺商品",tab:"seller"},RUN_TASK_CHECK_PRODUCT:{name:"检查商品是否可邀约",tab:"affiliate"},RUN_TASK_SYNC_BUYER_ORDER:{name:"同步买家订单",tab:"seller"},RUN_TASK_SYNC_ADS_VIDEO:{name:"投流素材抓取",tab:"seller"},RUN_TASK_SYNC_AFFILIATE_ORDER:{name:"同步联盟订单",tab:"affiliate"},RUN_TASK_SYNC_SAMPLE_REQUEST:{name:"索样记录同步",tab:"affiliate"},RUN_TASK_SAMPLE_REQUEST_APPROVE:{name:"索样审批",tab:"affiliate"},RUN_TASK_SYNC_ANALYSIS_CREATOR:{name:"同步达人分析",tab:"affiliate"},RUN_TASK_SYNC_TARGET_PLAN:{name:"同步定向邀约计划",tab:"affiliate"},RUN_TASK_CLEAR_TARGET_PLAN:{name:"清除定向邀约计划",tab:"affiliate"},RUN_TASK_CLEAR_TARGET_PLAN_CREATORS:{name:"清理定向邀约计划达人",tab:"affiliate"},RUN_TASK_SYNC_CREATOR_DETAIL:{name:"达人基础信息更新",tab:"affiliate"},RUN_TASK_COLLECT_CREATORS:{name:"抓取达人",tab:"affiliate"},RUN_TASK_CREATE_TARGET_PLAN_BY_FILTER:{name:"定向邀约（指定筛选条件）",tab:"affiliate"},RUN_TASK_CREATE_TARGET_PLAN_BY_HANDLE:{name:"定向邀约（指定达人列表）",tab:"affiliate"},RUN_TASK_AFFILIATE_IM_CHAT_BY_FILTER:{name:"发送站内消息（指定筛选条件）",tab:"affiliate"},RUN_TASK_AFFILIATE_IM_CHAT_BY_HANDLE:{name:"发送站内消息（指定达人）",tab:"affiliate"},RUN_TASK_SELLER_IM_CHAT_BY_HANDLE:{name:"发送站内消息（买家）",tab:"seller"},RUN_TASK_DEMAND_PAYMENT:{name:"未付款订单催付",tab:"seller"},RUN_TASK_INJECT_RETURN_ORDER:{name:"取消订单用户介入沟通",tab:"seller"},RUN_TASK_COLLECT_RANKING_CREATORS:{name:"抓取榜单达人",tab:"affiliate"},RUN_TASK_BUYER_IM_CHAT_BY_HANDLE:{name:"店铺私信",tab:"seller"},RUN_TASK_SYNC_HEALTH_CENTER:{name:"同步店铺健康评分",tab:"seller"},RUN_CAPTCHA_RESOLVE:{name:"验证码识别",tab:"affiliate"},RUN_FETCH_OPEN_COLLABORATION:{name:"获取公开合作中的商品",tab:"affiliate"},RUN_TASK_SYNC_OPEN_COLLABORATION_CREATORS:{name:"同步公开计划中的达人",tab:"affiliate"},RUN_TASK_MODIFY_TARGET_PLAN:{name:"修改定向邀约计划",tab:"affiliate"},RUN_TASK_GET_BUYER_PHONE_BY_ORDER_ID:{name:"获取买家手机号",tab:"seller"},RUN_TASK_EXTRACT_VIDEO_CODE_SELLER:{name:"提取达人投流码（买家）",tab:"seller"},RUN_TASK_EXTRACT_VIDEO_CODE_SELLER_BY_CREATOR:{name:"提取达人投流码（指定达人列表）（买家）",tab:"seller"},RUN_TASK_EXTRACT_VIDEO_CODE_AFFILIATE:{name:"提取达人投流码（达人）",tab:"affiliate"},RUN_TASK_EXTRACT_VIDEO_CODE_AFFILIATE_BY_CREATOR:{name:"提取达人投流码（指定达人列表）（达人）",tab:"affiliate"},RUN_TASK_GET_ONBOARD_INFO:{name:"获取投流账号",tab:"seller"},RUN_TASK_GET_VIDEO_INFO:{name:"获取视频详情",tab:"seller"},RUN_TASK_SYNC_SR_ORDER:{name:"同步索样订单信息",tab:"seller"},RUN_TASK_MERGE_TARGET_PLAN:{name:"合并定向邀约计划",tab:"affiliate"},RUN_TASK_SYNC_VIDEO:{name:"视频信息更新",tab:"tiktok"},RUN_TASK_SYNC_PRODUCT_MATERIAL:{name:"商品素材同步",tab:"seller"},RUN_TASK_SYNC_APPLY_MEDIA:{name:"索样记录更新",tab:"affiliate"},RUN_TASK_SYNC_PRODUCT_RATING:{name:"抓取商品评分",tab:"tiktok"},RUN_TOOLS_SHOW_FIRST_FINISH:{name:"显示首次同步完成提示",tab:"seller"},RUN_TASK_SEND_BUYER_MESSAGE_BY_ORDER:{name:"买家提醒服务",tab:"seller"},RUN_FETCH_CREATORS_BY_PRODUCT:{name:"获取商品对应的达人",tab:"affiliate"},RUN_TASK_SYNC_VIDEO_AUTH:{name:"同步视频授权",tab:"seller"},RUN_TASK_SYNC_STAR_CREATORS:{name:"同步星标达人",tab:"affiliate"},RUN_TASK_STAR_CREATORS:{name:"将达人加为星标",tab:"affiliate"},RUN_TASK_SYNC_PRODUCT_REVIEWS:{name:"同步商品评论",tab:"seller"},RUN_FETCH_HANDLE_BY_CREATOR:{name:"更新达人ID",tab:"affiliate"},RUN_TASK_SYNC_BIND_ACCOUNT:{name:"抓取店铺绑定TikTok账号",tab:"seller"},RUN_TASK_SYNC_PRODUCT_SKUS:{name:"同步商品SKU",tab:"seller"}};function U(_){return _ in E}export{n as O,E as P,C as a,f as b,U as c,S as d,i as e,A as g,l as i,r as p};
