PageSourceSearch

https://www.xiaoke.cn/xk/p__WeComHelper__LiveCode__AddPersonalCode.ceab8d18.async.js

js xiaoke.cn collected 2026-09-30 11:33:21 UTC 39,221 bytes, 1 lines download raw bytes

1(self.webpackChunksell_crm=self.webpackChunksell_crm||[]).push([[3623],{683539:function(I){I.exports={title:"antd-pro-components-header-title-index-title"}},590005:function(I){I.exports={"add-personal-code":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-add-personal-code",content:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-content","flex-hidden":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-flex-hidden","basic-config":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-basic-config","welcome-confing":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-welcome-confing","form-box":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-form-box","top-tips":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-top-tips","input-suffix":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-input-suffix","reception-tips":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-reception-tips",auto:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-auto","auto-pass-tips":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-auto-pass-tips","piecewise-box":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-piecewise-box",item:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-item","add-btn":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-add-btn",delete:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-delete","welcome-type":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-welcome-type","use-tmp":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-use-tmp",tips:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-tips","no-config":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-no-config","header-title":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-header-title",success:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-success","icon-box":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-icon-box",icon:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-icon","img-box":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-img-box","btn-box":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-btn-box","case-title":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-case-title","use-case":"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-use-case",name:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-name",txt:"antd-pro-pages-we-com-helper-live-code-add-personal-code-index-txt"}},264001:function(I){I.exports={"form-footer":"antd-pro-pages-we-com-helper-components-form-footer-index-form-footer",btn:"antd-pro-pages-we-com-helper-components-form-footer-index-btn"}},112643:function(I){I.exports={"online-cycle":"antd-pro-pages-we-com-helper-components-online-cycle-index-online-cycle","time-picker-box":"antd-pro-pages-we-com-helper-components-online-cycle-index-time-picker-box",start:"antd-pro-pages-we-com-helper-components-online-cycle-index-start",end:"antd-pro-pages-we-com-helper-components-online-cycle-index-end","time-picker":"antd-pro-pages-we-com-helper-components-online-cycle-index-time-picker","icon-time":"antd-pro-pages-we-com-helper-components-online-cycle-index-icon-time"}},202872:function(I){I.exports={"status-bar":"antd-pro-pages-we-com-helper-components-status-bar-index-status-bar",step:"antd-pro-pages-we-com-helper-components-status-bar-index-step",num:"antd-pro-pages-we-com-helper-components-status-bar-index-num",finish:"antd-pro-pages-we-com-helper-components-status-bar-index-finish",line:"antd-pro-pages-we-com-helper-components-status-bar-index-line",light:"antd-pro-pages-we-com-helper-components-status-bar-index-light"}},691323:function(I){I.exports={container:"antd-pro-pages-we-com-helper-components-welcome-template-index-container","left-box":"antd-pro-pages-we-com-helper-components-welcome-template-index-left-box","search-box":"antd-pro-pages-we-com-helper-components-welcome-template-index-search-box",selected:"antd-pro-pages-we-com-helper-components-welcome-template-index-selected",detail
1:"antd-pro-pages-we-com-helper-components-welcome-template-index-detail",empty:"antd-pro-pages-we-com-helper-components-welcome-template-index-empty",page:"antd-pro-pages-we-com-helper-components-welcome-template-index-page"}},559951:function(I,K,e){"use strict";var f=e(20136),j=e(855241),L=e(667294),g=e(701870),V=e(785893),F={maxWidth:"250px",fontSize:"12px",color:"#666"},p=function(n,m){var s=n.content,v=n.value;return(0,V.jsxs)("span",{children:[v,(0,V.jsx)(j.Z,{overlayStyle:F,content:s,children:(0,V.jsx)(g.Z,{style:{color:"#999",marginLeft:"2px"}})})]})};K.Z=p},20612:function(I,K,e){"use strict";var f=e(667294),j=e(683539),L=e.n(j),g=e(785893),V=function(p){var T=p.className,n=T===void 0?"":T,m=p.title,s=m===void 0?"":m;return(0,g.jsx)("div",{className:"".concat(L().title," ").concat(n),children:s})};K.Z=(0,f.memo)(V)},436910:function(I,K,e){"use strict";e.r(K),e.d(K,{default:function(){return Nt}});var f=e(683279),j=e(311849),L=e(203182),g=e(194657),V=e(357663),F=e(71577),p=e(694043),T=e.n(p),n=e(667294),m=e(592518),s=e(676713),v=e(404541),o=e(3958),Z=e(575155),w=e(977576),z=e(359314),Fe=e(232059),J=e(988983),ie=e(747933),Se=e(347673),Y=e(804107),_=e(871601),Ze=e(460941),ne=e(20612),ce=e(559951),ve=e(320643),Be,_e;function xe(){return xe=Object.assign||function(r){for(var c=1;c<arguments.length;c++){var i=arguments[c];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])}return r},xe.apply(this,arguments)}function Le(r,c){if(r==null)return{};var i=Qe(r,c),a,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);for(l=0;l<u.length;l++)a=u[l],!(c.indexOf(a)>=0)&&(!Object.prototype.propertyIsEnumerable.call(r,a)||(i[a]=r[a]))}return i}function Qe(r,c){if(r==null)return{};var i={},a=Object.keys(r),l,u;for(u=0;u<a.length;u++)l=a[u],!(c.indexOf(l)>=0)&&(i[l]=r[l]);return i}var Je=function(c){var i=c.svgRef,a=c.title,l=Le(c,["svgRef","title"]);return n.createElement("svg",xe({width:"20px",height:"20px",viewBox:"0 0 20 20",ref:i},l),a===void 0?Be||(Be=n.createElement("title",null,"\u5207\u7247")):a?n.createElement("title",null,a):null,_e||(_e=n.createElement("g",{id:"\\u4F01\\u5FAE\\u81EA\\u5EFA2.0",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",opacity:.98999995},n.createElement("g",{id:"4-\\u6DFB\\u52A0\\u5DE5\\u4F5C\\u5468\\u671F",transform:"translate(-854.000000, -398.000000)"},n.createElement("g",{id:"\\u7F16\\u7EC4-22",transform:"translate(250.000000, 360.000000)"},n.createElement("g",{id:"icon/common/succeed",transform:"translate(604.000000, 38.000000)"},n.createElement("rect",{id:"\\u77E9\\u5F62",x:0,y:0,width:20,height:20}),n.createElement("g",{id:"\\u5F39\\u6846_\\u9519\\u8BEF",transform:"translate(2.000000, 2.000000)",fill:"#999999"},n.createElement("path",{d:"M8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278 12.418278,16 8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 Z M10.5372878,4.79163444 L10.4546537,4.86192881 L8,7.316 L5.54534632,4.86192881 L5.46271217,4.79163444 C5.2021924,4.60418278 4.83685186,4.62761424 4.60253728,4.86192881 C4.34218775,5.12227834 4.34218775,5.54438833 4.60253728,5.80473785 L4.60253728,5.80473785 L7.057,8.259 L4.60253728,10.7140452 C4.34218775,10.9743947 4.34218775,11.3965047 4.60253728,11.6568542 C4.83685186,11.8911688 5.2021924,11.9146003 5.46271217,11.7271486 L5.54534632,11.6568542 L8,9.202 L10.4546537,11.6568542 L10.5372878,11.7271486 C10.7978076,11.9146003 11.1631481,11.8911688 11.3974627,11.6568542 C11.6578122,11.3965047 11.6578122,10.9743947 11.3974627,10.7140452 L11.3974627,10.7140452 L8.942,8.259 L11.3974627,5.80473785 C11.6578122,5.54438833 11.6578122,5.12227834 11.3974627,4.86192881 C11.1631481,4.62761424 10.7978076,4.60418278 10.5372878,4.79163444 Z",id:"\\u5F62\\u72B6\\u7ED3\\u5408"}))))))))},we=n.forwardRef(function(r,c){return n.createElement(Je,xe({svgRef:c},r))}),nt=e.p+"static/iconDelete.1db183d1.svg",at=e(239002),Ae=e(968351),je=e(534792),Ne=e(748086),st=e(543358),Me=e(734041),q=e(730381),ue=e.n(q),We=e(294184),Xe=e.n(We),Ue=e(496486),A,$;function S(){return S=Object.assign||function(r){for(var c=1;c<arguments.length;c++){var i=arguments[c];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(r[a]=i[a])}return r},S.apply(this,arguments)}function fe(r,c){if(r==null)return{};var i=Ee(r,c),a,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);for(l=0;l<u.length;l++)a=u[l],!(c.indexOf(a)>=0)&&(!Object.prototype.propertyIsEnumerable.call(r,a)||(i[a]=r[a]))}return i}function Ee(r,c){if(r==null)return{};var i={},a=Object.keys(r),l,u;for(u=0;
1u<a.length;u++)l=a[u],!(c.indexOf(l)>=0)&&(i[l]=r[l]);return i}var be=function(c){var i=c.svgRef,a=c.title,l=fe(c,["svgRef","title"]);return n.createElement("svg",S({width:"20px",height:"21px",viewBox:"0 0 20 21",ref:i},l),a===void 0?A||(A=n.createElement("title",null,"\u5207\u7247")):a?n.createElement("title",null,a):null,$||($=n.createElement("g",{id:"\\u4F01\\u5FAE\\u81EA\\u5EFA2.0",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},n.createElement("g",{id:"3-\\u57FA\\u7840\\u914D\\u7F6E-\\u5206\\u65F6\\u6BB5\\u63A5\\u5F85",transform:"translate(-822.000000, -525.000000)"},n.createElement("g",{id:"\\u7F16\\u7EC4-20",transform:"translate(250.000000, 332.000000)"},n.createElement("g",{id:"\\u7F16\\u7EC4-24",transform:"translate(0.000000, 60.000000)"},n.createElement("g",{id:"\\u5206\\u65F6\\u6BB5\\u63A5\\u5F85",transform:"translate(16.000000, 15.928932)"},n.createElement("g",{id:"\\u7F16\\u7EC4-49",transform:"translate(16.000000, 90.000000)"},n.createElement("g",{id:"\\u7F16\\u7EC4",transform:"translate(0.000000, 22.000000)"},n.createElement("g",{id:"Input/data-enter",transform:"translate(380.000000, 0.000000)"},n.createElement("g",{id:"icon/common/linear/time",transform:"translate(160.000000, 6.000000)"},n.createElement("rect",{id:"\\u77E9\\u5F62",x:0,y:0,width:20,height:20}),n.createElement("path",{d:"M10.0014963,2.8750264 L10.2994248,2.88047284 C12.082478,2.95057114 13.7778397,3.69158742 15.0418173,4.96118297 C17.8195243,7.73979589 17.8192663,12.2600617 15.0417494,15.0380681 C13.6943202,16.3838666 11.9040174,17.125 10.0003697,17.125 C8.10969537,17.1300944 6.29542225,16.3792202 4.96177173,15.0398891 C3.62081793,13.706132 2.86937479,11.89118 2.8749999,10.0005459 C2.86988159,8.10929429 3.62177621,6.29463879 4.96277382,4.96156529 C6.30846554,3.61625475 8.0982833,2.8750264 10.0014963,2.8750264 Z M10.0016683,4.03764585 L9.7228226,4.04337918 C8.24185089,4.10870631 6.83510625,4.72754987 5.78447815,5.78334073 C4.65788222,6.90956529 4.03760034,8.40674751 4.03760034,10.0005875 C4.03279276,11.5827667 4.66132231,13.1010736 5.78347826,14.2172985 C6.89952558,15.3387507 8.41757774,15.967495 10.0003765,15.9636043 C11.5833504,15.9679526 13.1022827,15.3388539 14.2188579,14.2162522 C16.5439376,11.8919131 16.5440618,8.10819591 14.2192833,5.78335645 C13.1587208,4.72352062 11.7701915,4.11229647 10.2818469,4.044055 L10.0016683,4.03764585 Z M10.0229485,5.81319914 C10.4041811,5.81319914 10.7171607,6.11468287 10.7315179,6.50033389 L10.7315179,10.2440236 L13.0891285,11.6070407 C13.4379675,11.8079854 13.5951308,12.2419275 13.4032816,12.5753514 C13.2053562,12.9160926 12.8259962,13.0283719 12.4884856,12.8322883 L10.0841688,11.3757944 L9.92288181,11.2819911 L9.84771864,11.2270078 C9.83006271,11.2112967 9.82051243,11.1986254 9.82118937,11.1902627 C9.50933817,11.011327 9.31437905,10.8253112 9.31437905,10.583381 L9.31446664,6.49565519 C9.32873629,6.11468287 9.64171587,5.81319914 10.0229485,5.81319914 Z",id:"\\u5F62\\u72B6\\u7ED3\\u5408",fill:"#666666"}))))))))))))},dt=n.forwardRef(function(r,c){return n.createElement(be,S({svgRef:c},r))}),Ut=e.p+"static/iconTime.29292755.svg",mt=e(112643),Oe=e.n(mt),t=e(785893),ot=["\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D","\u5468\u65E5"],pt=(0,n.forwardRef)(function(r,c){var i=r.className,a=r.onChange,l=r.value,u=(0,n.useState)([]),W=(0,g.Z)(u,2),G=W[0],H=W[1],M=(0,n.useState)(""),Q=(0,g.Z)(M,2),y=Q[0],x=Q[1],B=(0,n.useState)(""),E=(0,g.Z)(B,2),O=E[0],C=E[1];return(0,n.useEffect)(function(){l&&(0,Ue.isObject)(l)&&(H(l.onlineCycles),x(l.startTime),C(l.endTime))},[l]),(0,t.jsxs)("div",{className:Xe()(Oe()["online-cycle"],i),children:[(0,t.jsx)(Me.Z,{mode:"multiple",style:{width:"66%"},maxTagCount:4,maxTagPlaceholder:"...",placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",showArrow:!0,value:G,onChange:function(U){H(U),a==null||a({onlineCycles:U,startTime:y,endTime:O})},getPopupContainer:function(U){return U&&U.parentNode||document.body},children:ot.map(function(b,U){return(0,t.jsx)(Me.Z.Option,{value:b,title:b,children:b},U)})}),(0,t.jsxs)("div",{className:Oe()["time-picker-box"],children:[(0,t.jsxs)("div",{className:Oe().start,children:[y,(0,t.jsx)(Ae.Z,{className:Oe()["time-picker"],format:"HH:mm",placeholder:"\u5F00\u59CB\u65F6\u95F4",clearIcon:(0,t.jsx)("span",{}),inputReadOnly:!0,value:ue()(y,"HH:mm"),onChange:function(U,P){if(!!P){var d=ue()(P,"HH:mm").valueOf(),R=ue()(O,"HH:mm").valueOf();if(d>
1R)return Ne.default.error("\u4E0D\u53EF\u665A\u4E8E\u7ED3\u675F\u65F6\u95F4");x(P),a==null||a({onlineCycles:G,startTime:P,endTime:O})}}})]}),(0,t.jsx)("span",{children:"~"}),(0,t.jsxs)("div",{className:Oe().end,children:[O,(0,t.jsx)(Ae.Z,{className:Oe()["time-picker"],format:"HH:mm",placeholder:"\u7ED3\u675F\u65F6\u95F4",clearIcon:(0,t.jsx)("span",{}),inputReadOnly:!0,value:ue()(O,"HH:mm"),onChange:function(U,P){if(!!P){var d=ue()(y,"HH:mm").valueOf(),R=ue()(P,"HH:mm").valueOf();if(d>R)return Ne.default.error("\u4E0D\u53EF\u65E9\u4E8E\u5F00\u59CB\u65F6\u95F4");C(P),a==null||a({onlineCycles:G,startTime:y,endTime:P})}}})]}),(0,t.jsx)(m.Z,{component:dt,className:Oe()["icon-time"],style:{fontSize:20}})]})]})}),vt=(0,n.memo)(pt),ft=e(180948),Ye=e(785574),gt=e(590005),h=e.n(gt),rt={userIds:[],onlineCycles:ot,startTime:"00:00",endTime:"23:59"},ht=(0,n.forwardRef)(function(r,c){var i,a=r.form,l=r.step,u=s.m8.location.query||{},W=u.liveCodeId,G=(0,n.useState)([(0,j.Z)((0,j.Z)({},rt),{},{id:"online_"+Math.floor(Math.random()*100)})]),H=(0,g.Z)(G,2),M=H[0],Q=H[1],y=a.getFieldDecorator,x=a.getFieldValue,B=a.resetFields,E=a.setFieldsValue;return(0,n.useImperativeHandle)(c,function(){return{form:a,subsection:M,setSubsection:Q}}),(0,t.jsxs)("div",{className:h()["basic-config"],style:{display:"".concat(l!==1?"none":"flex")},children:[(0,t.jsx)(ne.Z,{title:"\u57FA\u7840\u914D\u7F6E",className:h()["header-title"]}),(0,t.jsx)("div",{className:h()["form-box"],children:(0,t.jsxs)(_.Z,{colon:!1,children:[(0,t.jsx)(_.Z.Item,{label:"\u4E2A\u4EBA\u6D3B\u7801\u540D\u79F0",children:y("cname",{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E2A\u4EBA\u6D3B\u7801\u540D\u79F0"}],getValueFromEvent:function(C){return C.target.value.trim()}})((0,t.jsx)(Y.Z,{style:{width:500,height:32},placeholder:"\u586B\u5199\u4E2A\u4EBA\u6D3B\u7801\u540D\u79F0\uFF0C\u65B9\u4FBF\u540E\u7EED\u67E5\u627E",maxLength:30,disabled:!!W,suffix:(0,t.jsxs)("span",{className:h()["input-suffix"],children:[((i=x("cname"))===null||i===void 0?void 0:i.length)||0,"/30"]})}))}),(0,t.jsx)(_.Z.Item,{label:"\u63A5\u5F85\u7C7B\u578B",children:y("receptionType",{rules:[{required:!0}],initialValue:0})((0,t.jsxs)(ie.ZP.Group,{children:[(0,t.jsx)(ie.ZP,{value:0,children:"\u5168\u5929\u63A5\u5F85"}),(0,t.jsxs)(ie.ZP,{value:1,children:["\u5206\u65F6\u6BB5\u63A5\u5F85",(0,t.jsx)("span",{className:h()["reception-tips"],children:"\uFF08\u6700\u591A\u53EF\u6DFB\u52A010\u4E2A\uFF09"})]})]}))}),x("receptionType")===0&&(0,t.jsx)(_.Z.Item,{label:"\u5173\u8054\u5458\u5DE5",children:y("userIds",{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5173\u8054\u5458\u5DE5"}],initialValue:[]})((0,t.jsx)(Ye.Z,{style:{width:500},placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u5458\u5DE5",onChange:function(C){E({userIds:C})}}))}),x("receptionType")===1&&!!M.length&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:h()["piecewise-box"],children:[M.map(function(O,C){var b;return(0,t.jsxs)("div",{className:h().item,children:[(0,t.jsx)(_.Z.Item,{label:"\u9009\u62E9\u5458\u5DE5",children:y("userIds_"+C,{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5458\u5DE5"}],initialValue:(b=O.userIds)!==null&&b!==void 0&&b.length?O.userIds:[]})((0,t.jsx)(Ye.Z,{style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u5458\u5DE5",onChange:function(P){E((0,Fe.Z)({},"userIds_"+C,P)),Q(function(d){return d[C]=(0,j.Z)((0,j.Z)({},d[C]),{},{userIds:P}),d})}}))}),(0,t.jsx)(_.Z.Item,{label:"\u5728\u7EBF\u5468\u671F",children:y("online_"+C,{rules:[{required:!0},{validator:function(P,d,R){if(!d.onlineCycles.length)return R("\u5728\u7EBF\u5468\u671F\u4E0D\u80FD\u4E3A\u7A7A");R()}}],initialValue:{onlineCycles:O.onlineCycles,startTime:O.startTime,endTime:O.endTime}})((0,t.jsx)(vt,{onChange:function(P){Q(function(d){return d[C]=(0,j.Z)((0,j.Z)({},d[C]),P),d})}}))}),M.length>1&&(0,t.jsx)(m.Z,{component:we,className:h().delete,onClick:function(){var P=(0,f.Z)(M);P.splice(C,1),Q(P),P.forEach(function(d,R){B("online_"+R)})}})]},"".concat(O.id,"_").concat(C))}),(0,t.jsxs)(F.Z,{className:h()["add-btn"],type:"primary",disabled:M.length===10,ghost:!0,onClick:function(){M.length!==10&&Q([].concat((0,f.Z)(M),[(0,j.Z)((0,j.Z)({},rt),{},{id:"online_"+Math.floor(Math.random()*100)})]))},children:[(0,t.jsx)(m.Z,{component:ve.r}),(0,t.jsx)("span",{children:"\u6DFB\u52A0\u5DE5\u4F5C\u5468\u671F"})]})]}),(0,t.jsx)(_.Z.Item,{label:(0,ce.Z)({value:"\u5907\u7528\u5458\u5DE5",content:"\u5907\u7528\u5458\u5DE5\u5C06\u4F5C\u4E3A\u4E0D\u5728\u4EE5\u4E0A\u5DE5\u4F5C\u5468\u671F\u65F6\u7684\u63A5\u5F85\u4EBA\u5458"}),children:y("userBackIds",{rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5907\u7528\u5458\u5DE5"}],initialValue:[]})((0,t.jsx)(Ye.Z,{style:{width:500},placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u5458\u5DE5",onChange:function(C){E({userBackIds:C})}}))})]}),(0,t.jsxs)(_.Z.Item,{className:h().auto,label:(0,ce.Z)({value:"\u81EA\u52A8\u901A\u8FC7\u597D\u53CB",content:"\u5F00\u542F\u540E\u5BA2\u6237\u626B\u7801\u6DFB\u52A0\u5C06\u81EA\u52A8\u901A\u8FC7\u7533\u8BF7\uFF0C\u65E0\u9700\u5458\u5DE5\u540C\u610F"}),labelCol:{span:2},wrapperCol:{span:18}
1,children:[y("skipVerify",{valuePropName:"checked",initialValue:!0})((0,t.jsx)(z.Z,{onChange:function(C){console.log("skipVerify",C)},size:"small"})),(0,t.jsx)("span",{className:h()["auto-pass-tips"],children:x("skipVerify")?"\u5DF2\u5F00\u542F":"\u5DF2\u5173\u95ED"})]}),(0,t.jsx)(_.Z.Item,{label:(0,ce.Z)({value:"\u6807\u7B7E\u8BBE\u7F6E",content:"\u901A\u8FC7\u6B64\u4E8C\u7EF4\u7801\u626B\u7801\u6DFB\u52A0\u7684\u597D\u53CB\u5C06\u88AB\u6253\u4E0A\u5BF9\u5E94\u6807\u7B7E"}),children:y("tagIds",{initialValue:[]})((0,t.jsx)(ft.Z,{}))})]})})]})}),xt=_.Z.create()((0,n.memo)(ht)),Et=e(688207),Ct=e(910336),jt=e(981995),Kt=e(720228),yt=e(911382),Vt=e(514781),Dt=e(650970),Ft=e(319234),Ot=e.n(Ft),Re=e(776151),Pt=e(691323),Pe=e.n(Pt),Tt=(0,n.forwardRef)(function(r,c){var i=(0,n.useState)(""),a=(0,g.Z)(i,2),l=a[0],u=a[1],W=(0,n.useState)([]),G=(0,g.Z)(W,2),H=G[0],M=G[1],Q=(0,n.useState)(void 0),y=(0,g.Z)(Q,2),x=y[0],B=y[1],E=10,O=(0,n.useState)(1),C=(0,g.Z)(O,2),b=C[0],U=C[1],P=(0,n.useState)(20),d=(0,g.Z)(P,2),R=d[0],et=d[1],Ke=(0,n.useState)(!0),Ve=(0,g.Z)(Ke,2),tt=Ve[0],$e=Ve[1];(0,n.useEffect)(function(){He()},[b]);var He=function(){var ae=(0,L.Z)(T().mark(function re(ee){var D;return T().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return D={pageSize:E,page:E,pageNum:ee?1:b},l&&(D.welcomeMsgSearch=l),N.next=4,(0,Re.F$)(D).then(function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!!X){var Ce=X.errcode,de=X.data,me=de===void 0?{}:de;if(!Ce){var k=me.list,se=k===void 0?{}:k,oe=me.pageNum,ge=oe===void 0?1:oe,te=me.totalCount,ye=te===void 0?1:te;M(se),U(ge),et(ye),se&&se.length>0?B(se[0]):B(void 0)}}});case 4:$e(!1);case 5:case"end":return N.stop()}},re)}));return function(ee){return ae.apply(this,arguments)}}(),ke=function(){$e(!0),He(!0)};return(0,n.useImperativeHandle)(c,function(){return{selectedTmp:x}}),(0,t.jsxs)("div",{className:Pe().container,children:[(0,t.jsx)(yt.Z,{spinning:tt,children:(0,t.jsxs)("div",{className:Pe()["left-box"],children:[(0,t.jsxs)("div",{className:Pe()["search-box"],children:[(0,t.jsx)(Y.Z,{placeholder:"\u8BF7\u8F93\u5165\u6A21\u7248\u540D\u79F0",value:l,type:"text",onChange:function(re){return u(re.target.value)},onPressEnter:ke,allowClear:!0}),(0,t.jsx)(F.Z,{type:"primary",onClick:ke,children:"\u641C\u7D22"})]}),H.length?(0,t.jsx)("ul",{children:H.map(function(ae){var re;return(0,t.jsxs)("li",{onClick:function(){B(ae)},className:"".concat((x==null?void 0:x.id)===ae.id?Pe().selected:""),children:[(0,t.jsx)("div",{children:ae.messageName}),(0,t.jsxs)("span",{children:[ae.createByName,"\u521B\u5EFA\u4E8E",(re=ae.createTime)===null||re===void 0?void 0:re.split(" ")[0]]})]},ae.id)})}):(0,t.jsxs)("div",{className:Pe().empty,children:[(0,t.jsx)("img",{src:Ot(),alt:""}),(0,t.jsx)("div",{children:"\u5F53\u524D\u6CA1\u6709\u5339\u914D\u7684\u641C\u7D22\u7ED3\u679C"})]}),R>0&&R/E>1?(0,t.jsx)("div",{className:Pe().page,children:(0,t.jsx)(Dt.Z,{simple:!0,pageSize:E,showQuickJumper:!0,current:b,total:R,onChange:function(re){U(re)}})}):""]})}),(0,t.jsx)("div",{className:Pe().detail,children:(0,t.jsx)("div",{children:x==null?void 0:x.messageContext})})]})}),St=Tt,Bt=e(780691),It=(0,n.forwardRef)(function(r,c){var i=r.form,a=r.step,l=r.unBind,u=i.getFieldDecorator,W=i.getFieldValue,G=i.setFieldsValue,H=(0,n.useRef)(),M=function(){jt.ZP.open({title:"\u6B22\u8FCE\u8BED\u5E93",width:854,closable:!1,bodyStyle:{padding:"0px 24px"},keyboard:!1,maskClosable:!1,okText:"\u4F7F\u7528",wrapClassName:"template-dialog",render:function(){return(0,t.jsx)(St,{ref:H})},onOk:function(){var B,E=W("msgContent"),O=(H==null||(B=H.current)===null||B===void 0?void 0:B.selectedTmp)||{},C=O.messageContext,b=O.msgAttachmentVOList;G({msgContent:{text:C,list:[].concat((0,f.Z)(E==null?void 0:E.list),(0,f.Z)(b))}}),this.destroy()}})};(0,n.useImperativeHandle)(c,function(){return{form:i}});var Q=function(x){return x.text&&(x.text=x.text.trim()),x};return(0,t.jsxs)("div",{className:h()["welcome-confing"],style:{display:"".concat(a!==2?"none":"flex")},children:[(0,t.jsx)(ne.Z,{title:"\u6B22\u8FCE\u8BED\u914D\u7F6E"}),(0,t.jsxs)("div",{className:h()["form-box"],children:[(0,t.jsx)(Et.Z,{content:"\u56E0\u4F01\u4E1A\u5FAE\u4FE1\u9650\u5236\uFF0C\u82E5\u4F7F\u7528\u6210\u5458\u5DF2\u5728\u300C\u4F01\u4E1A\u5FAE\u4FE1\u540E\u53F0\u300D\u914D\u7F6E\u4E86\u6B22\u8FCE\u8BED\uFF0C\u8FD9\u91CC\u7684\u6B22\u8FCE\u8BED\u5C06\u4E0D\u4F1A\u751F\u6548",style:{width:600,borderRadius:4,marginBottom:24},className:h()["top-tips"]}),(0,t.jsxs)(_.Z,{colon:!1,children:[(0,t.jsx)(_.Z.Item,{label:"\u6B22\u8FCE\u8BED\u7C7B\u578B",className:h()["welcome-type"],children:u("welcomeOption",{rules:[{required:!0}],initialValue:1})((0,t.jsxs)(ie.ZP.Group,{children:[(0,t.jsx)(ie.ZP,{value:1,children:(0,ce.Z)({value:"\u6D3B\u7801\u6B22\u8FCE\u8BED",content:"\u9009\u62E9\u6D3B\u7801\u6B22\u8FCE\u8BED\u540E\uFF0C\u901A\u8FC7\u6D3B\u7801\u6DFB\u52A0\u7684\u7528\u6237\u5C06\u4EC5\u6536\u5230\u4E0B\u65B9\u914D\u7F6E\u7684\u6B22\u8FCE\u8BED\u3002"})}),(0,t.jsx)(ie.ZP,{value:2,children:(0,ce.Z)({value:"\u4E2A\u4EBA\u6B22\u8FCE\u8BED",content:"\u9009\u62E9\u4E2A\u4EBA\u6B22\u8FCE\u8BED\u540E\uFF0C\u901A\u8FC7\u6D3B\u7801\u6DFB\u52A0\u7684\u7528\u6237\u5C06\u63A5\u6536\u5230\u6BCF\u4E2A\u5458\u5DE5\u914D\u7F6E\u7684\u300C\u4E2A\u4EBA\u6B22\u8FCE\u8BED\u300D\u3002"})}),(0,t.jsx)(ie.ZP,{value:0,children:(0,ce.Z)({value:"\u4E0D\u53D1\u9001\u6B22\u8FCE\u8BED",content:"\u9009\u62E9\u4E0D\u53D1\u9001\u6B22\u8FCE\u8BED\u540E\uFF0C\u901A\u8FC7\u8BE5\u6D3B\u7801\u6DFB\u52A0\u7684\u5BA2\u6237\u4E0D\u4F1A\u
16536\u5230\u4EFB\u4F55\u6B22\u8FCE\u8BED\u3002"})})]}))}),W("welcomeOption")===1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(F.Z,{className:h()["use-tmp"],onClick:M,children:[(0,t.jsx)(Ct.Z,{alias:"batchEdit"}),"\u4F7F\u7528\u6A21\u677F"]}),(0,t.jsx)("span",{className:h().tips,children:"\u63D0\u793A\uFF1A\u6A21\u677F\u4ECE\u5DF2\u914D\u7F6E\u7684\u300C\u6B22\u8FCE\u8BED\u5E93\u300D\u9009\u53D6\uFF0C\u6B22\u8FCE\u8BED\u5185\u5BB9\u5C06\u81EA\u52A8\u586B\u5145\u81F3\u300C\u6D3B\u7801\u6B22\u8FCE\u8BED\u300D\u4E2D"})]}),(0,t.jsx)(_.Z.Item,{label:"\u6B22\u8FCE\u8BED\u5185\u5BB9",children:u("msgContent",{rules:[{required:!0,validator:function(x,B,E){(!B||!B.text)&&E("\u8BF7\u8F93\u5165\u6B22\u8FCE\u8BED\u5185\u5BB9"),E()}}],initialValue:{text:"",list:[]},getValueFromEvent:Q})((0,t.jsx)(Bt.Z,{previewStyle:{top:-134},onChange:function(x){G({msgContent:x})}}))})]}),W("welcomeOption")===2&&(0,t.jsxs)("div",{className:h()["no-config"],children:["\u6240\u9009\u5458\u5DE5\u4E2D\u6709",l,"\u4EBA\u672A\u914D\u7F6E\u4E2A\u4EBA\u6B22\u8FCE\u8BED"]})]})]})]})}),Zt=_.Z.create()((0,n.memo)(It)),_t=e(113205),At=e(824480),lt=e(483167),Mt=e(3775),it=["\u57FA\u7840\u914D\u7F6E","\u6B22\u8FCE\u8BED\u914D\u7F6E"],bt=it.length,qe=[{path:"./",breadcrumbName:"\u4F01\u5FAE\u6D3B\u7801",link:!0}],Rt=[{name:"\u8425\u9500\u7EC4\u4EF6",id:1,imgSrc:"https://image-c.weimobwmc.com/static-resource/f7f95b93430b4d19b594af8afd254b6e.svg",hoverImgSrc:"https://image-c.weimobwmc.com/static-resource/a487838299b946a7b47f063bb5f15e13.svg",path:"/nameCards/promotion/maketCom/weComCode",desc:["\u642D\u914D\u843D\u5730\u9875","\u8FFD\u8E2A\u5BA2\u6237\u8F68\u8FF9"]},{name:"\u5BA2\u670D\u5DE5\u5177",id:2,imgSrc:"https://image-c.weimobwmc.com/static-resource/d1bc34fa700d43c89ae833757e5d540e.svg",hoverImgSrc:"https://image-c.weimobwmc.com/static-resource/0b3536f72bcd49438448dac0faa3512a.svg",path:"",desc:["\u642D\u914D\u5BA2\u670D\u804A\u5929\u7A97","\u9AD8\u6548\u7559\u8D44"]},{name:"\u6709\u5956\u88C2\u53D8",id:3,imgSrc:"https://image-c.weimobwmc.com/static-resource/11c7ba1605da4b7e86ef7f670e2003c9.svg",hoverImgSrc:"https://image-c.weimobwmc.com/static-resource/b6f4c32c3daf49be9eb0c2ffff2a0db3.svg",path:"/wecomHelper/conversion/prizeFission",desc:["\u642D\u914D\u88C2\u53D8\u6D3B\u52A8","\u5FEB\u901F\u589E\u957F"]}],Lt=function(c){var i=c.codeSrc,a=s.m8.location.query||{},l=a.liveCodeId;return(0,t.jsxs)("div",{className:h().success,children:[(0,t.jsxs)("div",{className:h()["icon-box"],children:[(0,t.jsx)(m.Z,{component:_t.r,className:h().icon}),(0,t.jsxs)("div",{className:h()["icon-text"],children:[l?"\u7F16\u8F91":"\u521B\u5EFA","\u6210\u529F"]})]}),(0,t.jsx)("p",{children:"\u53EF\u5728\u7EBF\u4E0B\u626B\u7801\uFF0C\u5D4C\u5165\u843D\u5730\u9875\u53CA\u516C\u4F17\u53F7\u914D\u7F6E\u7B49\u573A\u666F\u4F7F\u7528"}),(0,t.jsx)("div",{className:h()["img-box"],children:(0,t.jsx)("img",{src:i,alt:""})}),(0,t.jsxs)("div",{className:h()["btn-box"],children:[(0,t.jsx)(F.Z,{onClick:function(){s.m8.push("/wecomHelper/customers/liveCode")},children:"\u8FD4\u56DE\u6D3B\u7801\u5217\u8868"}),(0,t.jsx)(F.Z,{type:"primary",onClick:function(){(0,At.GN)(i,{width:200,height:200})},children:"\u4E0B\u8F7D\u6D3B\u7801"})]}),(0,t.jsx)("div",{className:h()["case-title"],children:(0,t.jsx)("span",{children:"\u63A2\u7D22\u66F4\u591A\u4F01\u5FAE\u7801\u9AD8\u7EA7\u4F7F\u7528\u573A\u666F"})}),(0,t.jsx)("div",{className:h()["use-case"],children:Rt.map(function(u,W){var G=u.name,H=u.id,M=u.imgSrc,Q=u.hoverImgSrc,y=u.path,x=u.desc;return(0,t.jsxs)("div",{className:h().item,children:[(0,t.jsx)("img",{src:M,alt:"",onClick:function(){if(H===2)return(0,lt.x)();s.m8.push(y)},onMouseEnter:function(E){E.target.src=Q,E.target.nextSibling.style.color="#4F7AFD"},onMouseLeave:function(E){E.target.src=M,E.target.nextSibling.style.color="#333"}}),(0,t.jsx)("span",{className:h().name,children:G}),x.map(function(B,E){return(0,t.jsx)("span",{className:h().txt,children:B},E)})]},W)})})]})},wt=function(c){var i=s.m8.location.query||{},a=i.liveCodeId,l=(0,n.useState)(1),u=(0,g.Z)(l,2),W=u[0],G=u[1],H=(0,n.use
1State)(!1),M=(0,g.Z)(H,2),Q=M[0],y=M[1],x=(0,n.useState)(""),B=(0,g.Z)(x,2),E=B[0],O=B[1],C=(0,n.useState)(!1),b=(0,g.Z)(C,2),U=b[0],P=b[1],d=(0,n.useRef)(),R=(0,n.useRef)(),et=(0,n.useState)(0),Ke=(0,g.Z)(et,2),Ve=Ke[0],tt=Ke[1],$e=(0,n.useCallback)(function(ee){if(ee>W){var D=d==null?void 0:d.current.form,le=D.validateFieldsAndScroll;le(function(N,X){console.log("basicRef err",N),console.log("basicRef value",X),N||(re(X),G(ee))})}else G(ee)},[]),He=function(){return new Promise(function(D,le){Mt.Vq.confirm({type:"confirm",title:(0,t.jsxs)("div",{children:["\u786E\u8BA4\u8981\u63D0\u4EA4\u5417\uFF1F\u7F16\u8F91\u6D3B\u7801\u540E\uFF0C\u6B63\u5728\u4F7F\u7528\u7684\uFF08\u5305\u542B",(0,t.jsx)("a",{onClick:function(){s.m8.push("/nameCards/promotion/maketCom/weComCode")},children:"\u8425\u9500\u7EC4\u4EF6"}),"&",(0,t.jsx)("a",{onClick:function(){return(0,lt.x)()},children:"\u5BA2\u670D\u5DE5\u5177"}),"\uFF09\u6D3B\u7801\u5C06\u540C\u6B65\u4FEE\u6539\u914D\u7F6E\u3002"]}),onCancel:function(){},onOk:function(){D(!0)}})})},ke=(0,n.useCallback)(function(){var ee=d==null?void 0:d.current.form,D=ee.getFieldsValue,le=R==null?void 0:R.current.form,N=le.validateFieldsAndScroll;N(function(){var X=(0,L.Z)(T().mark(function Ce(de,me){var k,se,oe,ge,te,ye,he,Te,pe,De,ze,ct,ut;return T().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:if(de){Ie.next=12;break}if(!a){Ie.next=4;break}return Ie.next=4,He();case 4:P(!0),k=D(),se=k.cname,oe=k.receptionType,ge=k.skipVerify,te=k.tagIds,ye=k.userIds,he=k.userBackIds,Te=me.welcomeOption,pe=me.msgContent,De={cname:se,receptionType:oe,skipVerify:Number(!ge),tagIds:te,welcomeOption:Te},oe===1?(ze=d==null?void 0:d.current,ct=ze.subsection,De.receptionShardingDetailList=ct,De.userBackIds=he):De.userIds=ye,Te===1&&(De.welcomeOptionMsg={messageContext:pe.text,msgAttachmentParamList:(pe==null?void 0:pe.list)||[],resourceType:3}),ut=a?Re.AQ:Re.zZ,ut((0,j.Z)((0,j.Z)({},De),a?{liveCodeId:a}:{})).then(function(Wt){var Ge=Wt.data;Ge!=null&&Ge.codeUrl&&(y(!0),O(Ge.codeUrl)),P(!1)});case 12:case"end":return Ie.stop()}},Ce)}));return function(Ce,de){return X.apply(this,arguments)}}())},[]),ae=(0,n.useCallback)(function(){s.m8.push("/wecomHelper/customers/liveCode")},[]);(0,n.useEffect)(function(){a?(qe.push({path:"./addPersonal",breadcrumbName:"\u7F16\u8F91\u4E2A\u4EBA\u6D3B\u7801",link:!1}),(0,Re.Hi)({liveCodeId:a}).then(function(ee){var D=ee.data;if(!(!D&&!Object.keys(D).length)){var le=D.cname,N=D.receptionType,X=N===void 0?1:N,Ce=D.skipVerify,de=D.tagIds,me=D.welcomeOption,k=D.receptionShardingDetailList,se=D.userBackIds,oe=D.userIds,ge=D.welcomeMsgVO,te=ge===void 0?{}:ge;console.log("\u8BE6\u60C5",D);var ye=d==null?void 0:d.current,he=ye.setSubsection,Te=ye.form,pe=Te.setFieldsValue,De=R==null?void 0:R.current.form,ze=De.setFieldsValue;pe({cname:le,receptionType:X,skipVerify:Boolean(!Ce),tagIds:de}),X===1?(he(k),pe({userBackIds:se})):pe({userIds:oe}),ze({welcomeOption:me,msgContent:{text:te==null?void 0:te.messageContext,list:te.msgAttachmentVOList}})}})):qe.push({path:"./addPersonal",breadcrumbName:"\u65B0\u5EFA\u4E2A\u4EBA\u6D3B\u7801",link:!1})},[]);var re=function(){var ee=(0,L.Z)(T().mark(function D(le){var N,X,Ce,de,me,k,se,oe,ge,te;return T().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return N=le.receptionType,X=le.userIds,Ce=X===void 0?[]:X,de=le.userBackIds,me=de===void 0?[]:de,k={userIdList:[]},N===0?k.userIdList=Ce:(oe=d==null||(se=d.current)===null||se===void 0?void 0:se.subsection.reduce(function(Te,pe){return[].concat((0,f.Z)(Te),(0,f.Z)(pe.userIds))},[]),oe=[].concat((0,f.Z)(me),(0,f.Z)(oe)),k.userIdList=(0,f.Z)(new Set(oe))),he.next=5,(0,Re.nU)(k);case 5:ge=he.sent,te=ge.data,te&&tt(te);case 8:case"end":return he.stop()}},D)}));return function(le){return ee.apply(this,arguments)}}();return(0,t.jsx)(v.Z,{customerItems:qe,children:(0,t.jsx)("div",{className:h()["add-personal-code"],children:Q?(0,t.jsx)(Lt,{codeSrc:E}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:h().content,children:[(0,t.jsx)(Z.Z,{data:it,step:W}),(0,t.jsx)(xt,{wrappedComponentRef:d,step:W}),(0,t.jsx)(Zt,{wrappedComponentRef:R,step:W,unBind:Ve})]}),(0,t.jsx)(o.Z,{totalStep:bt,step:W,nextStep:$e,onSave:ke,onCancel:ae,loading:U})]})})})},Nt=wt},3958:function(I,K,e){"use strict";var f=e(284305),j=e(288182),L=e(357663),g=e(71577),V=e(667294),F=e(264001),p=e.n(F),T=e(785893),n=function(s){var v=s.totalStep,o=s.step,Z=s.nextStep,w=s.onSave,z=s.onCancel,Fe=s.loading,J=s.onSaveTxt,ie=J===void 0?"\u63D0\u4EA4":J,Se=s.showCancel,Y=Se===void 0?!0:Se,_=function(ne,ce){switch(ce){case"next":o<v?Z(o+1):w();break;case"pre":o>
11?Z(o-1):z();break;default:break}if(o<v){var ve=ne.target.tagName==="BUTTON"?ne.target:ne.target.parentNode;ve.blur()}};return(0,T.jsx)("div",{className:"".concat(p()["form-footer"]," custom-form-footer"),children:(0,T.jsxs)(j.ZP,{autoInsertSpaceInButton:!1,children:[(0,T.jsx)(g.Z,{className:p().btn,style:{display:!Y&&o===1?"none":"block"},onClick:function(ne){_(ne,"pre")},children:o>1?"\u4E0A\u4E00\u6B65":"\u53D6\u6D88"}),(0,T.jsx)(g.Z,{className:p().btn,type:"primary",onClick:function(ne){_(ne,"next")},loading:Fe,children:o<v?"\u4E0B\u4E00\u6B65":ie})]})})};K.Z=(0,V.memo)(n)},180948:function(I,K,e){"use strict";var f=e(683279),j=e(311849),L=e(194657),g=e(154549),V=e(294184),F=e.n(V),p=e(667294),T=e(981995),n=e(776151),m=e(694665),s=e.n(m),v=e(357445),o=e(785893),Z=(0,p.forwardRef)(function(w,z){var Fe=w.className,J=Fe===void 0?"":Fe,ie=w.style,Se=w.value,Y=Se===void 0?[]:Se,_=w.ellipsis,Ze=_===void 0?!1:_,ne=w.ellipsisCount,ce=ne===void 0?2:ne,ve=w.onChange,Be=w.onOk,_e=w.noEdit,xe=_e===void 0?!1:_e,Le=w.dialogProps,Qe=Le===void 0?{}:Le,Je=w.handleTagContentStyle,we=w.maxCount,nt=we===void 0?10:we,at=(0,p.useState)([]),Ae=(0,L.Z)(at,2),je=Ae[0],Ne=Ae[1],st=(0,p.useState)([]),Me=(0,L.Z)(st,2),q=Me[0],ue=Me[1],We=(0,p.useRef)(),Xe=function(){xe||T.ZP.open((0,j.Z)({title:"\u6DFB\u52A0\u4F01\u5FAE\u6807\u7B7E",width:558,closable:!1,className:s().addWecomTag,bodyStyle:{padding:"0 20px 64px"},footer:null,keyboard:!1,maskClosable:!1,render:function(S){return(0,o.jsx)(v.Z,{initSelectTag:q,tagList:je,ref:We,okButtonProps:{disabled:!je.length},onCancel:function(){S.destroy()},onOk:function(){var Ee;ue(((Ee=We.current)===null||Ee===void 0?void 0:Ee.curSelectTag)||[]),S.destroy()},handleTagContentStyle:Je,maxCount:nt})}},Qe))},Ue=function($){ue(function(S){return S.splice($,1),(0,f.Z)(S)})};return(0,p.useEffect)(function(){(0,n.hP)().then(function(A){var $,S=A!=null&&($=A.data[0])!==null&&$!==void 0&&$.tags?A.data[0].tags:[];Ne(S)})},[]),(0,p.useEffect)(function(){ve==null||ve((q==null?void 0:q.map(function(A){var $=A.id;return Number($)}))||[]),Be==null||Be(q)},[q]),(0,p.useEffect)(function(){if(Y!=null&&Y.length&&(ve==null||ve(Y)),je.length&&Y.length&&!q.length){var A=je==null?void 0:je.map(function(S){return S.tagList}).flat(),$=Y==null?void 0:Y.map(function(S){var fe=A.find(function(Ee){return String(S)===Ee.id});return fe||""}).filter(function(S){return S});ue($)}},[Y,je]),(0,p.useImperativeHandle)(z,function(){return{value:q,reset:function(){ue([])}}}),(0,o.jsxs)("div",{className:F()(s()["select-tag"],xe?"":s().hover,J),style:ie,onClick:Xe,children:[q.length?(0,o.jsx)(o.Fragment,{children:Ze?(0,o.jsxs)("ul",{children:[q.slice(0,ce).map(function(A,$){var S=A.id,fe=A.name;return(0,o.jsxs)("li",{children:[fe,!xe&&(0,o.jsx)("span",{className:s()["icon-close"],onClick:function(be){be.stopPropagation(),Ue($)},children:(0,o.jsx)(g.Z,{})})]},S)}),q.length>ce?(0,o.jsx)("li",{children:"..."}):(0,o.jsx)(o.Fragment,{})]}):(0,o.jsx)("ul",{children:q.map(function(A,$){var S=A.id,fe=A.name;return(0,o.jsxs)("li",{children:[fe,!xe&&(0,o.jsx)("span",{className:s()["icon-close"],onClick:function(be){be.stopPropagation(),Ue($)},children:(0,o.jsx)(g.Z,{})})]},S)})})}):(0,o.jsx)("span",{className:s().placeholder,children:"\u8BF7\u9009\u62E9\u6807\u7B7E"}),(0,o.jsx)("span",{className:s().down})]})});K.Z=(0,p.memo)(Z)},575155:function(I,K,e){"use strict";var f=e(667294),j=e(728232),L=e.n(j),g=e(868402),V=e(202872),F=e.n(V),p=e(785893),T=function(m){var s=m.data,v=m.step,o=m.style,Z=o===void 0?{}:o;return(0,p.jsx)("div",{className:F()["status-bar"],style:Z,children:!!s.length&&s.map(function(w,z){return(0,p.jsxs)(f.Fragment,{children:[(0,p.jsxs)("div",{className:"".concat(F().step," ").concat(z+1<=v?F().finish:""),children:[z+1<v?(0,p.jsx)(g.Z,{src:L(),size:20,style:{marginRight:8}}):(0,p.jsx)("span",{className:F().num,children:z+1}),(0,p.jsx)("span",{children:w})]}),z+1<s.length&&(0,p.jsx)("span",{className:"".concat(F().line," ").concat(z+1<=v?F().light:"")})]},z)})})};K.Z=(0,f.memo)(T)},483167:function(I,K,e){"use strict";e.d(K,{x:function(){return T}});var f=e(534792),j=e(748086),L=e(203182),g=e(694043),V=e.n(g),F=e(796102),p=e(734564),T=function(){var n=(0,L.Z)(V().mark(function m(){var s,v,o,Z,w,z;return V().wrap(function(J){for(;;
1)switch(J.prev=J.next){case 0:return J.next=2,(0,F.a7)();case 2:if(s=J.sent,v=s.code,o=s.data,!(v||!o)){J.next=7;break}return J.abrupt("return",j.default.warning("\u8BF7\u8054\u7CFB\u76F8\u5173\u4EBA\u5458\u5B8C\u6210\u8D26\u6237\u7ED1\u5B9A"));case 7:return J.next=9,(0,F.bW)();case 9:Z=J.sent,w=Z.errcode,z=Z.data,!w&&z?window.open("".concat(p.Sn.online,"/webot3/kefu/static/index.html#/setting/online/automaticResponse/web?webotToken=").concat(z),"_blank"):j.default.warning("\u8BF7\u8054\u7CFB\u76F8\u5173\u4EBA\u5458\u5B8C\u6210\u8D26\u6237\u7ED1\u5B9A");case 13:case"end":return J.stop()}},m)}));return function(){return n.apply(this,arguments)}}()},113205:function(I,K,e){"use strict";e.d(K,{r:function(){return p}});var f=e(667294),j;function L(){return L=Object.assign||function(n){for(var m=1;m<arguments.length;m++){var s=arguments[m];for(var v in s)Object.prototype.hasOwnProperty.call(s,v)&&(n[v]=s[v])}return n},L.apply(this,arguments)}function g(n,m){if(n==null)return{};var s=V(n,m),v,o;if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(n);for(o=0;o<Z.length;o++)v=Z[o],!(m.indexOf(v)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,v)||(s[v]=n[v]))}return s}function V(n,m){if(n==null)return{};var s={},v=Object.keys(n),o,Z;for(Z=0;Z<v.length;Z++)o=v[Z],!(m.indexOf(o)>=0)&&(s[o]=n[o]);return s}var F=function(m){var s=m.svgRef,v=m.title,o=g(m,["svgRef","title"]);return f.createElement("svg",L({width:24,height:24,viewBox:"0 0 24 24",ref:s},o),v?f.createElement("title",null,v):null,j||(j=f.createElement("g",{transform:"translate(-725 -188)",fill:"none",fillRule:"evenodd"},f.createElement("path",{fill:"#F2F3F5",d:"M0 0h1366v768H0z"}),f.createElement("rect",{fill:"#FFF",x:226,y:108,width:1130,height:650,rx:4}),f.createElement("g",{transform:"translate(725 188)"},f.createElement("path",{d:"M0 0h24v24H0z"}),f.createElement("circle",{stroke:"#33B028",strokeWidth:2,cx:12,cy:12,r:8.429}),f.createElement("path",{d:"m7.443 12 2.341 2.263a1 1 0 0 0 1.387.003l5.563-5.334h0",stroke:"#33B028",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))))},p=f.forwardRef(function(n,m){return f.createElement(F,L({svgRef:m},n))}),T=e.p+"static/success.62566281.svg"},728232:function(I,K,e){I.exports=e.p+"static/iconSuccess.990be73f.svg"}}]);

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.