PageSourceSearch

https://dashboard.merchbridge.com/static/js/139.0e64691b.chunk.js

js merchbridge.com collected 2026-10-02 00:55:40 UTC 1,451 bytes, 2 lines download raw bytes

1(this.webpackJsonpapp=this.webpackJsonpapp||[]).push([[139],{1720:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var i=n(7),r=n(1),o=n(27),s=n.n(o),c=n(0),a=n.n(c),l=n(16),u=n(2),d=n(41),p=n(71),f=n(19),b=n(1616);function m(e){let{open:t,onClose:n,task:o}=e;const c=s()(o,"id"),{setNotify:m,toggleToast:g}=Object(f.b)(),{refetch:v}=Object(b.c)(),[j,k]=Object(d.a)(),[E,{loading:O}]=Object(i.c)(l.xe,{onCompleted:()=>{m({msg:"Update files for artist task successfully",err:!1}),n&&n(),j(()=>{v&&v()},1500)},onError:e=>{m({msg:Object(u.ib)(null===e||void 0===e?void 0:e.toString()),err:!0}),n&&n()}});a.a.useEffect(()=>()=>{k&&k()},[k]);const h=a.a.useRef(null),A=a.a.useCallback(()=>{if(g&&g(!0),!c)return void(m&&m({msg:"Task id is required",err:!0}));const e=h.current&&h.current.getFileList(),t=(n=e,Object(u.c)(n)?[]:n.map(e=>null===e||void 0===e?void 0:e.id).filter(Boolean));var n;Object(u.c)(t)&&m&&m({msg:"Design is required",err:!0}),m&&m({msg:null,err:!1}),E({variables:{input:{id:c,designs:t}}})},[c,E,m,g]);return a.a.createElement(r.E,{title:"Upload File for Artist Task #"+c,sectioned:!0,open:t,onClose:n,primaryAction:{content:"Submit",onAction:A,loading:O},secondaryActions:[{content:"Cancel",onAction:n}]},a.a.createElement(r.Y,{vertical:!0},a.a.createElement(r.z,{children:"Upload Files"}),a.a.createElement(p.a,{multiple:!0,ref:h,isUniqueFolder:!0})))}}}]);
2//# sourceMappingURL=139.0e64691b.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.