Skip to content

Commit

Permalink
8558-b3ad6ee8aa6e1caf.js.download
Browse files Browse the repository at this point in the history
Stock control supervisors
  • Loading branch information
bombastictranz authored Apr 7, 2024
1 parent b1c141b commit 7d58ba7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 8558-b3ad6ee8aa6e1caf.js.download
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8558],{12687:function(e,r,t){"use strict";t.d(r,{O:function(){return AvatarWithTooltip}});var n=t(2784),u=t(87593),o=t(41273),__rest=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var u=0,n=Object.getOwnPropertySymbols(e);u<n.length;u++)0>r.indexOf(n[u])&&Object.prototype.propertyIsEnumerable.call(e,n[u])&&(t[n[u]]=e[n[u]]);return t};let AvatarWithTooltip=e=>{var{position:r}=e,t=__rest(e,["position"]);let[i="",...a]=t.name.split(/\s+/),c=a.pop()||"",s=c?`${c.slice(0,1)}.`:"",l=`${i} ${s}`.trim();return n.createElement(u.p,{content:l,position:r},({childProps:e})=>n.createElement(o.q,Object.assign({},e,t,{isBlock:!0})))}},32945:function(e,r,t){"use strict";t.d(r,{r:function(){return ServiceIcons}});var n=t(28165),u=t(39479),o=t(77293),i=t(64476),a=t(41717),c=t(3e3),s=t(99029),l=t(35788);let fontSizeMapping=(e,r)=>{switch(e){case 20:return 10;case 30:return r>9?12:16;case 40:return r>9?16:18;case 60:return r>9?18:24;case 80:return 32;case 120:return 48;case 150:return 60;default:return 16}},f={20:c.ZT.paragraph3Bold,30:c.ZT.paragraph3Bold,40:c.ZT.paragraph1Bold,60:c.ZT.subHeader1Bold,80:c.ZT.subHeader1Bold,120:c.ZT.subHeader1Bold,150:c.ZT.subHeader1Bold},d=(0,u.B)("ServiceIconNumeric",{number:(e,r)=>Object.assign(Object.assign({},f[r]),{fontSize:e,color:s.w.neutral800,textIndent:-2})}),ServiceIconNumeric=e=>{let{size:r,hasBorder:t=!0,hasWhiteBackground:n}=e,u=`Plus ${e.number} more apps.`,i=fontSizeMapping(r,e.number),a=e.number>99?"99+":`+${e.number}`;return(0,o.U)(l.e,{size:r,hasBorder:t,hasWhiteBackground:n},(0,o.U)("span",{"aria-label":u,css:d.number(i,r),role:"img"},(0,o.U)("span",{"aria-hidden":"true"},a)))},p=(0,u.B)("ServiceIcons",{root:e=>n.iv`
display: inline-grid;
user-select: none;
grid-gap: ${e}px;
grid-auto-flow: column;
`}),ServiceIcons=({ariaLabel:e,hasBorder:r=!0,hasWhiteBackground:t=!1,maxServices:n=6,renderServiceIcon:u,services:c,size:s=40})=>{let l={ariaLabel:e,hasBorder:r,services:c,hasWhiteBackground:t,maxServices:n,renderServiceIcon:u,size:s},{spacing:f}=a.G[s],d=e||`${c.length} apps mentioned`,x=c.length>n,v=x?c.length-n+1:0,g=x?n-1:c.length,h=[];1===g?h=[c[0]]:g>=2&&(h=[...c.slice(0,g-1),c[c.length-1]]);let b=h.map((e,n)=>(0,o.U)("li",{key:n},u?u(e,l):(0,o.U)(i.A,{hasBorder:r,hasWhiteBackground:t,serviceName:e.name,size:s,src:e.src})));if(x){let e=(0,o.U)("li",{key:`remainder-${v}`},(0,o.U)(ServiceIconNumeric,{size:s,number:v,hasBorder:r,hasWhiteBackground:t}));n>2?b.splice(-1,0,e):b.push(e)}return(0,o.U)("ul",{"aria-label":d,css:p.root(f)},b)}},81207:function(e){e.exports=function(e,r,t,n){var u=-1,o=null==e?0:e.length;for(n&&o&&(t=e[++u]);++u<o;)t=r(t,e[u],u,e);return t}},45981:function(e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},6435:function(e){e.exports=function(e){return function(r){return null==e?void 0:e[r]}}},34311:function(e,r,t){var n=t(81207),u=t(97329),o=t(11618),i=RegExp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:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=n},83559:function(e){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return r.test(e)}},75304:function(e){var r="\ud800-\udfff",t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="['’]",a="["+o+"]",c="["+n+"]",s="[^"+r+o+"\\d+"+t+n+u+"]",l="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",d="["+u+"]",p="(?:"+c+"|"+s+")",x="(?:"+i+"(?:d|ll|m|re|s|t|ve))?",v="(?:"+i+"(?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",h="[\\ufe0e\\ufe0f]?",b="(?:\\u200d(?:"+["[^"+r+"]",l,f].join("|")+")"+h+g+")*",m="(?:"+["["+t+"]",l,f].join("|")+")"+(h+g+b),O=RegExp([d+"?"+c+"+"+x+"(?="+[a,d,"$"].join("|")+")","(?:"+d+"|"+s+")+"+v+"(?="+[a,d+p,"$"].join("|")+")",d+"?"+p+"+"+x,d+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",m].join("|"),"g");e.exports=function(e){return e.match(O)||[]}},97329:function(e,r,t){var n=t(61655),u=t(66188),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=u(e))&&e.replace(o,n).replace(i,"")}},45455:function(e,r,t){var n=t(86411),u=t(70940),o=t(79631),i=t(86152),a=t(67878),c=t(73226),s=t(16001),l=t(77598),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||o(e)))return!e.length;var r=u(e);if("[object Map]"==r||"[object Set]"==r)return!e.size;if(s(e))return!n(e).length;for(var t in e)if(f.call(e,t))return!1;return!0}},57370:function(e,r,t){var n=t(34311)(function(e,r,t){return e+(t?"_":"")+r.toLowerCase()});e.exports=n},11618:function(e,r,t){var n=t(45981),u=t(83559),o=t(66188),i=t(75304);e.exports=function(e,r,t){return(e=o(e),void 0===(r=t?void 0:r))?u(e)?i(e):n(e):e.match(r)||[]}},33379:function(e,r,t){"use strict";t.d(r,{D:function(){return useMutation}});var n=t(22970),u=t(2784),o=t(58769),i=t(78807),a=t(87274),c=t(45832),s=t(56675);function useMutation(e,r){var t=(0,s.x)(null==r?void 0:r.client);(0,a.Vp)(e,a.n_.Mutation);var l=(0,u.useState)({called:!1,loading:!1,client:t}),f=l[0],d=l[1],p=(0,u.useRef)({result:f,mutationId:0,isMounted:!0,client:t,mutation:e,options:r});Object.assign(p.current,{client:t,options:r,mutation:e});var x=(0,u.useCallback)(function(e){void 0===e&&(e={});var r=p.current,t=r.options,u=r.mutation,a=(0,n.pi)((0,n.pi)({},t),{mutation:u}),s=e.client||p.current.client;p.current.result.loading||a.ignoreResults||!p.current.isMounted||d(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});var l=++p.current.mutationId,f=(0,o.J)(a,e);return s.mutate(f).then(function(r){var t,n=r.data,u=r.errors,o=u&&u.length>0?new c.cA({graphQLErrors:u}):void 0;if(l===p.current.mutationId&&!f.ignoreResults){var a={called:!0,loading:!1,data:n,error:o,client:s};p.current.isMounted&&!(0,i.D)(p.current.result,a)&&d(p.current.result=a)}var x=e.onCompleted||(null===(t=p.current.options)||void 0===t?void 0:t.onCompleted);return null==x||x(r.data,f),r}).catch(function(r){if(l===p.current.mutationId&&p.current.isMounted){var t,n={loading:!1,error:r,data:void 0,called:!0,client:s};(0,i.D)(p.current.result,n)||d(p.current.result=n)}var u=e.onError||(null===(t=p.current.options)||void 0===t?void 0:t.onError);if(u)return u(r,f),{data:void 0,errors:r};throw r})},[]),v=(0,u.useCallback)(function(){p.current.isMounted&&d({called:!1,loading:!1,client:t})},[]);return(0,u.useEffect)(function(){return p.current.isMounted=!0,function(){p.current.isMounted=!1}},[]),[x,(0,n.pi)({reset:v},f)]}}}]);

0 comments on commit 7d58ba7

Please sign in to comment.