PageSourceSearch

https://app.instantdm.com/static/js/6569.e7cfb3b5.chunk.js

js instantdm.com collected 2026-09-24 09:28:59 UTC 20,359 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkinsta_automate=self.webpackChunkinsta_automate||[]).push([[6569],{12499:(e,n,t)=>{t.d(n,{A:()=>i});var o=t(58168),c=t(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var a=t(22172),s=function(e,n){return c.createElement(a.A,(0,o.A)({},e,{ref:n,icon:r}))};const i=c.forwardRef(s)},53727:(e,n,t)=>{t.d(n,{A:()=>i});var o=t(58168),c=t(65043);const r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=t(22172),s=function(e,n){return c.createElement(a.A,(0,o.A)({},e,{ref:n,icon:r}))};const i=c.forwardRef(s)},51376:(e,n,t)=>{t.d(n,{A:()=>i});var o=t(58168),c=t(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var a=t(22172),s=function(e,n){return c.createElement(a.A,(0,o.A)({},e,{ref:n,icon:r}))};const i=c.forwardRef(s)},13888:(e,n,t)=>{t.d(n,{A:()=>i});var o=t(58168),c=t(65043);const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var a=t(22172),s=function(e,n){return c.createElement(a.A,(0,o.A)({},e,{ref:n,icon:r}))};const i=c.forwardRef(s)},72339:(e,n,t)=>{t.d(n,{B:()=>c});var o=t(65043);const c=o.createContext({})},16569:(e,n,t)=>{t.d(n,{Ay:()=>V});var o=t(60436),c=t(65043),r=t(72339),a=t(35296),s=t(50839),i=t(16923),l=t(12499),u=t(78528),f=t(51376),d=t(13888),m=t(40164),v=t(98139),p=t.n(v),g=t(44082),y=t(78887),h=t(43944),C=t(64980),x=t(94414),A=t(78855),b=t(78446);const E=e=>{const{componentCls:n,iconCls:t,boxShadow:o,colorText:c,colorSuccess:r,colorError:a,colorWarning:s,colorInfo:i,fontSizeLG:l,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:m,borderRadiusLG:v,zIndexPopup:p,contentPadding:g,contentBg:y}=e,C="".concat(n,"-notice"),A=new h.Mo("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),b=new h.Mo("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),E={padding:m,textAlign:"center",["".concat(n,"-custom-content")]:{display:"flex",alignItems:"center"},["".concat(n,"-custom-content > ").concat(t)]:{marginInlineEnd:d,fontSize:l},["".concat(C,"-content")]:{display:"inline-block",padding:g,background:y,borderRadius:v,boxShadow:o,pointerEvents:"all"},["".concat(n,"-success > ").concat(t)]:{color:r},["".concat(n,"-error > ").concat(t)]:{color:a},["".concat(n,"-warning > ").concat(t)]:{color:s},["".concat(n,"-info > ").concat(t,",\n      ").concat(n,"-loading > ").concat(t)]:{color:i}};return[{[n]:Object.assign(Object.assign({},(0,x.dF)(e)),{color:c,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:p,["".concat(n,"-move-up")]:{animationFillMode:"forwards"},["\n        ".concat(n,"-move-up-appear,\n        ").concat(n,"-move-up-e
1nter\n      ")]:{animationName:A,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},["\n        ".concat(n,"-move-up-appear").concat(n,"-move-up-appear-active,\n        ").concat(n,"-move-up-enter").concat(n,"-move-up-enter-active\n      ")]:{animationPlayState:"running"},["".concat(n,"-move-up-leave")]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},["".concat(n,"-move-up-leave").concat(n,"-move-up-leave-active")]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[n]:{["".concat(C,"-wrapper")]:Object.assign({},E)}},{["".concat(n,"-notice-pure-panel")]:Object.assign(Object.assign({},E),{padding:0,textAlign:"start"})}]},k=(0,A.OF)("Message",(e=>{const n=(0,b.oX)(e,{height:150});return[E(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+C.jH+10,contentBg:e.colorBgElevated,contentPadding:"".concat((e.controlHeightLG-e.fontSize*e.lineHeight)/2,"px ").concat(e.paddingSM,"px")})));var N=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(o=Object.getOwnPropertySymbols(e);c<o.length;c++)n.indexOf(o[c])<0&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]])}return t};const O={info:c.createElement(d.A,null),success:c.createElement(l.A,null),error:c.createElement(u.A,null),warning:c.createElement(f.A,null),loading:c.createElement(m.A,null)},w=e=>{let{prefixCls:n,type:t,icon:o,children:r}=e;return c.createElement("div",{className:p()("".concat(n,"-custom-content"),"".concat(n,"-").concat(t))},o||O[t],c.createElement("span",null,r))},j=e=>{const{prefixCls:n,className:t,type:o,icon:r,content:s}=e,i=N(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=c.useContext(a.QO),u=n||l("message"),f=(0,y.A)(u),[d,m,v]=k(u,f);return d(c.createElement(g.$T,Object.assign({},i,{prefixCls:u,className:p()(t,m,"".concat(u,"-notice-pure-panel"),v,f),eventKey:"pure",duration:null,content:c.createElement(w,{prefixCls:u,type:o,icon:r},s)})))};var S=t(53727),P=t(59478);function R(e){let n;const t=new Promise((t=>{n=e((()=>{t(!0)}))})),o=()=>{null===n||void 0===n||n()};return o.then=(e,n)=>t.then(e,n),o.promise=t,o}var M=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(o=Object.getOwnPropertySymbols(e);c<o.length;c++)n.indexOf(o[c])<0&&Object.prototype.propertyIsEnumerable.call(e,o[c])&&(t[o[c]]=e[o[c]])}return t};const I=3,z=e=>{let{children:n,prefixCls:t}=e;const o=(0,y.A)(t),[r,a,s]=k(t,o);return r(c.createElement(g.ph,{classNames:{list:p()(a,s,o)}},n))},F=(e,n)=>{let{prefixCls:t,key:o}=n;return c.createElement(z,{prefixCls:t,key:o},e)},H=c.forwardRef(((e,n)=>{const{top:t,prefixCls:o,getContainer:r,maxCount:s,duration:i=I,rtl:l,transitionName:u,onAllRemoved:f}=e,{getPrefixCls:d,getPopupContainer:m,message:v,direction:y}=c.useContext(a.QO),h=o||d("message"),C=c.createElement("span",{className:"".concat(h,"-close-x")},c.createElement(S.A,{className:"".concat(h,"-close-icon")})),[x,A]=(0,g.hN)({prefixCls:h,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!==t&&void 0!==t?t:8}),className:()=>p()({["".concat(h,"-rtl")]:null!==l&&void 0!==l?l:"rtl"===y}),motion:()=>function(e,n){return{motionName:null!==n&&void 0!==n?n:"".concat(e,"-move-up")}}(h,u),closable:!1,closeIcon:C,duration:i,getContainer:()=>(null===r||void 0===r?void 0:r())||(null===m||void 0===m?void 0:m())||document.body,maxCount:s,onAllRemoved:f,renderNotifications:F});return c.useImperativeHandle(n,(()=>Object.assign(Object.assign({},x),{prefixCls:h,message:v}))),A}));let L=0;function B(e){const n=c.useRef(null),t=((0,P.rJ)("Message"),c.useMemo((()=>{const e=e=>{var t;null===(t=n.current)||void 0===t||t.close(e)},t=t=>{if(!n.current){const e=()=>{};return e.then=()=>{},e}const{open:o,prefixCls:r,message:a}=n.current,s="".concat(r,"-notice"),{content:i,icon:l,type:u,key:f,className:d,style:m,onClose:v}=t,g=M(t,["content","icon","type","key","className","style","onClose"]);let y=f;return void 0!==y&&null!==y||(L+=1,y="antd-message-".concat(L)),R((n=>(o(Object.assign(Object.assign({},g),{key:y,content:c.createElement(w,{prefixCls:r,type:u,icon:l},i),placement:"top",className:p()(u&&"".concat(s,"-").concat(u),d,null===a||void 0===a?void 0:a.className),style:Object.assign(Object.assign({},null===a||void 0===a?void 0:a.style),m),onClose:()=>{null===v||void 0===v||v(),n()}})),()=>{e(y)})))}
1,o={open:t,destroy:t=>{var o;void 0!==t?e(t):null===(o=n.current)||void 0===o||o.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{o[e]=(n,o,c)=>{let r,a,s;r=n&&"object"===typeof n&&"content"in n?n:{content:n},"function"===typeof o?s=o:(a=o,s=c);const i=Object.assign(Object.assign({onClose:s,duration:a},r),{type:e});return t(i)}})),o}),[]));return[t,c.createElement(H,Object.assign({key:"message-holder"},e,{ref:n}))]}let D=null,T=e=>e(),W=[],K={};function X(){const{getContainer:e,duration:n,rtl:t,maxCount:o,top:c}=K,r=(null===e||void 0===e?void 0:e())||document.body;return{getContainer:()=>r,duration:n,rtl:t,maxCount:o,top:c}}const G=c.forwardRef(((e,n)=>{const{messageConfig:t,sync:o}=e,{getPrefixCls:s}=(0,c.useContext)(a.QO),i=K.prefixCls||s("message"),l=(0,c.useContext)(r.B),[u,f]=B(Object.assign(Object.assign(Object.assign({},t),{prefixCls:i}),l.message));return c.useImperativeHandle(n,(()=>{const e=Object.assign({},u);return Object.keys(e).forEach((n=>{e[n]=function(){return o(),u[n].apply(u,arguments)}})),{instance:e,sync:o}})),f})),Q=c.forwardRef(((e,n)=>{const[t,o]=c.useState(X),r=()=>{o(X)};c.useEffect(r,[]);const a=(0,s.cr)(),i=a.getRootPrefixCls(),l=a.getIconPrefixCls(),u=a.getTheme(),f=c.createElement(G,{ref:n,sync:r,messageConfig:t});return c.createElement(s.Ay,{prefixCls:i,iconPrefixCls:l,theme:u},a.holderRender?a.holderRender(f):f)}));function Y(){if(!D){const e=document.createDocumentFragment(),n={fragment:e};return D=n,void T((()=>{(0,i.K)()(c.createElement(Q,{ref:e=>{const{instance:t,sync:o}=e||{};Promise.resolve().then((()=>{!n.instance&&t&&(n.instance=t,n.sync=o,Y())}))}}),e)}))}D.instance&&(W.forEach((e=>{const{type:n,skipped:t}=e;if(!t)switch(n){case"open":T((()=>{const n=D.instance.open(Object.assign(Object.assign({},K),e.config));null===n||void 0===n||n.then(e.resolve),e.setCloseFn(n)}));break;case"destroy":T((()=>{null===D||void 0===D||D.instance.destroy(e.key)}));break;default:T((()=>{var t;const c=(t=D.instance)[n].apply(t,(0,o.A)(e.args));null===c||void 0===c||c.then(e.resolve),e.setCloseFn(c)}))}})),W=[])}const _={open:function(e){const n=R((n=>{let t;const o={type:"open",config:e,resolve:n,setCloseFn:e=>{t=e}};return W.push(o),()=>{t?T((()=>{t()})):o.skipped=!0}}));return Y(),n},destroy:e=>{W.push({type:"destroy",key:e}),Y()},config:function(e){K=Object.assign(Object.assign({},K),e),T((()=>{var e;null===(e=null===D||void 0===D?void 0:D.sync)||void 0===e||e.call(D)}))},useMessage:function(e){return B(e)},_InternalPanelDoNotUseOrYouWillBeFired:j};["success","info","warning","error","loading"].forEach((e=>{_[e]=function(){for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return function(e,n){(0,s.cr)();const t=R((t=>{let o;const c={type:e,args:n,resolve:t,setCloseFn:e=>{o=e}};return W.push(c),()=>{o?T((()=>{o()})):c.skipped=!0}}));return Y(),t}(e,t)}}));const V=_},44082:(e,n,t)=>{t.d(n,{$T:()=>y,ph:()=>C,hN:()=>w});var o=t(60436),c=t(5544),r=t(80045),a=t(65043),s=t(89379),i=t(97950),l=t(58168),u=t(64467),f=t(98139),d=t.n(f),m=t(50541),v=t(82284),p=t(25001),g=t(48060);const y=a.forwardRef((function(e,n){var t=e.prefixCls,o=e.style,r=e.className,s=e.duration,i=void 0===s?4.5:s,f=e.showProgress,m=e.pauseOnHover,y=void 0===m||m,h=e.eventKey,C=e.content,x=e.closable,A=e.closeIcon,b=void 0===A?"x":A,E=e.props,k=e.onClick,N=e.onNoticeClose,O=e.times,w=e.hovering,j=a.useState(!1),S=(0,c.A)(j,2),P=S[0],R=S[1],M=a.useState(0),I=(0,c.A)(M,2),z=I[0],F=I[1],H=a.useState(0),L=(0,c.A)(H,2),B=L[0],D=L[1],T=w||P,W=i>0&&f,K=function(){N(h)};a.useEffect((function(){if(!T&&i>0){var e=Date.now()-B,n=setTimeout((function(){K()}),1e3*i-B);return function(){y&&clearTimeout(n),D(Date.now()-e)}}}),[i,T,O]),a.useEffect((function(){if(!T&&W&&(y||0===B)){var e,n=performance.now();return function t(){cancelAnimationFrame(e),e=requestAnimationFrame((function(e){var o=e+B-n,c=Math.min(o/(1e3*i),1);F(100*c),c<1&&t()}))}(),function(){y&&cancelAnimationFrame(e)}}}),[i,B,T,W,O]);var X=a.useMemo((function(){return"object"===(0,v.A)(x)&&null!==x?x:x?{closeIcon:b}:{}}),[x,b]),G=(0,g.A)(X,!0),Q=100-(!z||z<0?0:z>100?100:z),Y="".concat(t,"-notice");return a.createElement("div",(0,l.A)({},E,{ref:n,className:d()(Y,r,(0,u.A)({},"".concat(Y,"-closable"),x)),style:o,onMouseEnter:function(e){var n;R(!0),null===E||void 0===E||null===(n=E.onMouseEnter)||void 0===n||n.call(E,e)},onMouseLeave:function(e){var n;R(!1),null===E||void 0===E||null===(n=E.onMouseLeave)||void 0===n||n.call(E,e)},onClick:k}),a.createElement("div",{className:"".concat(Y,"-content")},C),x&&a.createElement("a",(0,l.A)({tabIndex:0,className:"".concat(Y,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==p.A.ENTER||K()},"aria-label":"Close"},G,{onClick:function(e){e.preventDefault(),e.stopPropagation(),K()}}),X.closeIcon),W&&a.createElement("progress",{className:"".concat(Y,"-progress"),max:"100",value:Q},Q+"%"))}));var h=a.createContext({});const C=function(e){var n=e.children,t=e.classNames;return a.createElement(h.Provider,{value:{classNames:t}},n)};const x=function(e){var n,t,o,c={offset:8,threshold:3,gap:16};e&&"object"===(0,v.A)(e)&&(c.offset=null!==(n=e.offset)&&void 0!==n?n:8,c.threshold=null!==(t=e.threshold)&&void 0!==t?t:3,c.gap=null!==(o=e.gap)&&void 0!==o?o:16);return[!!e,c]};var A=["className","style","classNames","styles"];const b=function(e){var n=e.configList,t=e.placement,i=e.prefixCls,f=e.className,v=e.style,p=e.motion,g=e.onAllNoticeRemoved,C=e.onNoticeClose,b=e.stack,E=(0,a.useContext)(h).classNames,k=(0,a.useRef)({}),N=(0,a.useState)(null),O=(0,c.A)(N,2),w=O[0],j=O[1],S=(0,a.useState)([]),P=(0,c.A)(S,2),R=P[0],M=P[1],I=n.map((function(e){return{config:e,key:String(e.key)}})),z=x(b),F=(0,c.A)(z,2),H=F[0],L=F[1],B=L.offset,D=L.threshold,T=L.gap,W=H&&(R.length>0||I.length<=D),K="function"===typeof p?p(t):p;return(0,a.useEffect)((function(){H&&R.length>1&&M((function(e){return e.filter((function(e){return I.some((function(n){var t=n.key;return e===t}))}))}))}),[R,I,H]),(0,a.useEffect)((function(){var e,n;H&&k.current[null===(e=I[I.length-1])||void 0===e?void 0:e.key]&&j(k.current[null===(n=I[I.length-1])||void 0===n?void 0:n.key])}),[I,H]),a.createElement(m.aF,(0,l.A)({key:t,className:d()(i,"".concat(i,"-").concat(t),null===E||void 0===E?void 0:E.list,f,(0,u.A)((0,u.A)({},"".concat(i,"-stack"),!!H),"".concat(i,"-stack-expanded"),W)),style:v,keys:I,motionAppear:!0},K,{onAllRemoved:function(){g(t)}}),(function(e,n){var c=e.config,u=e.className,f=e.style,m=e.index,v=c,p=v.ke
1y,g=v.times,h=String(p),x=c,b=x.className,N=x.style,O=x.classNames,j=x.styles,S=(0,r.A)(x,A),P=I.findIndex((function(e){return e.key===h})),z={};if(H){var F=I.length-1-(P>-1?P:m-1),L="top"===t||"bottom"===t?"-50%":"0";if(F>0){var D,K,X;z.height=W?null===(D=k.current[h])||void 0===D?void 0:D.offsetHeight:null===w||void 0===w?void 0:w.offsetHeight;for(var G=0,Q=0;Q<F;Q++){var Y;G+=(null===(Y=k.current[I[I.length-1-Q].key])||void 0===Y?void 0:Y.offsetHeight)+T}var _=(W?G:F*B)*(t.startsWith("top")?1:-1),V=!W&&null!==w&&void 0!==w&&w.offsetWidth&&null!==(K=k.current[h])&&void 0!==K&&K.offsetWidth?((null===w||void 0===w?void 0:w.offsetWidth)-2*B*(F<3?F:3))/(null===(X=k.current[h])||void 0===X?void 0:X.offsetWidth):1;z.transform="translate3d(".concat(L,", ").concat(_,"px, 0) scaleX(").concat(V,")")}else z.transform="translate3d(".concat(L,", 0, 0)")}return a.createElement("div",{ref:n,className:d()("".concat(i,"-notice-wrapper"),u,null===O||void 0===O?void 0:O.wrapper),style:(0,s.A)((0,s.A)((0,s.A)({},f),z),null===j||void 0===j?void 0:j.wrapper),onMouseEnter:function(){return M((function(e){return e.includes(h)?e:[].concat((0,o.A)(e),[h])}))},onMouseLeave:function(){return M((function(e){return e.filter((function(e){return e!==h}))}))}},a.createElement(y,(0,l.A)({},S,{ref:function(e){P>-1?k.current[h]=e:delete k.current[h]},prefixCls:i,classNames:O,styles:j,className:d()(b,null===E||void 0===E?void 0:E.notice),style:N,times:g,key:p,eventKey:p,onNoticeClose:C,hovering:H&&R.length>0})))}))};const E=a.forwardRef((function(e,n){var t=e.prefixCls,r=void 0===t?"rc-notification":t,l=e.container,u=e.motion,f=e.maxCount,d=e.className,m=e.style,v=e.onAllRemoved,p=e.stack,g=e.renderNotifications,y=a.useState([]),h=(0,c.A)(y,2),C=h[0],x=h[1],A=function(e){var n,t=C.find((function(n){return n.key===e}));null===t||void 0===t||null===(n=t.onClose)||void 0===n||n.call(t),x((function(n){return n.filter((function(n){return n.key!==e}))}))};a.useImperativeHandle(n,(function(){return{open:function(e){x((function(n){var t,c=(0,o.A)(n),r=c.findIndex((function(n){return n.key===e.key})),a=(0,s.A)({},e);r>=0?(a.times=((null===(t=n[r])||void 0===t?void 0:t.times)||0)+1,c[r]=a):(a.times=0,c.push(a));return f>0&&c.length>f&&(c=c.slice(-f)),c}))},close:function(e){A(e)},destroy:function(){x([])}}}));var E=a.useState({}),k=(0,c.A)(E,2),N=k[0],O=k[1];a.useEffect((function(){var e={};C.forEach((function(n){var t=n.placement,o=void 0===t?"topRight":t;o&&(e[o]=e[o]||[],e[o].push(n))})),Object.keys(N).forEach((function(n){e[n]=e[n]||[]})),O(e)}),[C]);var w=function(e){O((function(n){var t=(0,s.A)({},n);return(t[e]||[]).length||delete t[e],t}))},j=a.useRef(!1);if(a.useEffect((function(){Object.keys(N).length>0?j.current=!0:j.current&&(null===v||void 0===v||v(),j.current=!1)}),[N]),!l)return null;var S=Object.keys(N);return(0,i.createPortal)(a.createElement(a.Fragment,null,S.map((function(e){var n=N[e],t=a.createElement(b,{key:e,configList:n,placement:e,prefixCls:r,className:null===d||void 0===d?void 0:d(e),style:null===m||void 0===m?void 0:m(e),motion:u,onNoticeClose:A,onAllNoticeRemoved:w,stack:p});return g?g(t,{prefixCls:r,key:e}):t}))),l)}));var k=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],N=function(){return document.body},O=0;function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.getContainer,t=void 0===n?N:n,s=e.motion,i=e.prefixCls,l=e.maxCount,u=e.className,f=e.style,d=e.onAllRemoved,m=e.stack,v=e.renderNotifications,p=(0,r.A)(e,k),g=a.useState(),y=(0,c.A)(g,2),h=y[0],C=y[1],x=a.useRef(),A=a.createElement(E,{container:h,ref:x,prefixCls:i,motion:s,maxCount:l,className:u,style:f,onAllRemoved:d,stack:m,renderNotifications:v}),b=a.useState([]),w=(0,c.A)(b,2),j=w[0],S=w[1],P=a.useMemo((function(){return{open:function(e){var n=function(){for(var e={},n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return t.forEach((function(n){n&&Object.keys(n).forEach((function(t){var o=n[t];void 0!==o&&(e[t]=o)}))})),e}(p,e);null!==n.key&&void 0!==n.key||(n.key="rc-notification-".concat(O),O+=1),S((function(e){return[].concat((0,o.A)(e),[{type:"open",config:n}])}))}
1,close:function(e){S((function(n){return[].concat((0,o.A)(n),[{type:"close",key:e}])}))},destroy:function(){S((function(e){return[].concat((0,o.A)(e),[{type:"destroy"}])}))}}}),[]);return a.useEffect((function(){C(t())})),a.useEffect((function(){var e,n;x.current&&j.length&&(j.forEach((function(e){switch(e.type){case"open":x.current.open(e.config);break;case"close":x.current.close(e.key);break;case"destroy":x.current.destroy()}})),S((function(t){return e===t&&n||(e=t,n=t.filter((function(e){return!j.includes(e)}))),n})))}),[j]),[P,A]}}}]);
2//# sourceMappingURL=6569.e7cfb3b5.chunk.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.