@reltio/remotes 1.4.993 → 1.4.997

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/1006.js +1 -0
  2. package/1069.js +1 -0
  3. package/1135.js +2 -0
  4. package/{135.js.LICENSE.txt → 1135.js.LICENSE.txt} +0 -0
  5. package/1707.js +1 -0
  6. package/1867.js +1 -0
  7. package/2164.js +1 -0
  8. package/2173.js +2 -0
  9. package/{196.js.LICENSE.txt → 2173.js.LICENSE.txt} +0 -0
  10. package/2393.js +2 -0
  11. package/{393.js.LICENSE.txt → 2393.js.LICENSE.txt} +0 -0
  12. package/2400.js +1 -0
  13. package/2805.js +1 -0
  14. package/2867.js +1 -0
  15. package/2888.js +1 -0
  16. package/3122.js +2 -0
  17. package/{488.js.LICENSE.txt → 3122.js.LICENSE.txt} +0 -0
  18. package/3348.js +1 -0
  19. package/3357.js +1 -0
  20. package/3557.js +1 -0
  21. package/3692.js +1 -0
  22. package/3980.js +1 -0
  23. package/4011.js +1 -0
  24. package/4276.js +1 -0
  25. package/4850.js +1 -0
  26. package/4992.js +1 -0
  27. package/5026.js +2 -0
  28. package/{26.js.LICENSE.txt → 5026.js.LICENSE.txt} +0 -0
  29. package/5541.js +1 -0
  30. package/5637.js +2 -0
  31. package/{637.js.LICENSE.txt → 5637.js.LICENSE.txt} +0 -0
  32. package/6244.js +1 -0
  33. package/6290.js +1 -0
  34. package/6505.js +1 -0
  35. package/6733.js +1 -0
  36. package/6754.js +1 -0
  37. package/7737.js +2 -0
  38. package/{435.js.LICENSE.txt → 7737.js.LICENSE.txt} +0 -0
  39. package/7751.js +2 -0
  40. package/{751.js.LICENSE.txt → 7751.js.LICENSE.txt} +0 -0
  41. package/{870.css → 7864.css} +0 -164
  42. package/7864.js +1 -0
  43. package/{471.css → 7874.css} +0 -0
  44. package/7874.js +1 -0
  45. package/8201.js +1 -0
  46. package/8570.js +2 -0
  47. package/{570.js.LICENSE.txt → 8570.js.LICENSE.txt} +0 -0
  48. package/8749.js +1 -0
  49. package/911.js +1 -1
  50. package/9394.js +1 -0
  51. package/9473.js +1 -0
  52. package/9607.js +2 -0
  53. package/{656.js.LICENSE.txt → 9607.js.LICENSE.txt} +0 -0
  54. package/9645.js +1 -0
  55. package/9650.js +2 -0
  56. package/{650.js.LICENSE.txt → 9650.js.LICENSE.txt} +0 -0
  57. package/9779.js +2 -0
  58. package/{176.js.LICENSE.txt → 9779.js.LICENSE.txt} +0 -0
  59. package/9810.js +1 -0
  60. package/main.js +1 -1
  61. package/package.json +1 -1
  62. package/remoteEntry.js +1 -1
  63. package/10.js +0 -1
  64. package/135.js +0 -2
  65. package/176.js +0 -2
  66. package/196.js +0 -2
  67. package/244.js +0 -1
  68. package/26.js +0 -2
  69. package/276.js +0 -1
  70. package/290.js +0 -1
  71. package/340.js +0 -1
  72. package/348.js +0 -1
  73. package/354.js +0 -1
  74. package/357.js +0 -1
  75. package/368.js +0 -1
  76. package/393.js +0 -2
  77. package/394.js +0 -1
  78. package/400.js +0 -1
  79. package/434.js +0 -1
  80. package/435.js +0 -2
  81. package/471.js +0 -1
  82. package/488.js +0 -2
  83. package/505.js +0 -1
  84. package/541.js +0 -1
  85. package/546.js +0 -1
  86. package/565.js +0 -1
  87. package/570.js +0 -2
  88. package/637.js +0 -2
  89. package/639.js +0 -1
  90. package/645.js +0 -1
  91. package/650.js +0 -2
  92. package/656.js +0 -2
  93. package/707.js +0 -1
  94. package/733.js +0 -1
  95. package/751.js +0 -2
  96. package/805.js +0 -1
  97. package/810.js +0 -1
  98. package/819.js +0 -1
  99. package/825.js +0 -1
  100. package/867.js +0 -1
  101. package/870.js +0 -1
  102. package/871.js +0 -1
  103. package/888.js +0 -1
  104. package/980.js +0 -1
package/4011.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4011],{43434:(e,t,r)=>{r.d(t,{Z:()=>c});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(15459);const p=(0,r(3752).Z)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=i.forwardRef((function(e,t){var r,s=e.alt,l=e.children,c=e.classes,u=e.className,f=e.component,d=void 0===f?"div":f,m=e.imgProps,h=e.sizes,g=e.src,v=e.srcSet,b=e.variant,y=void 0===b?"circle":b,w=(0,n.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),Z=function(e){var t=e.src,r=e.srcSet,o=i.useState(!1),n=o[0],a=o[1];return i.useEffect((function(){if(t||r){a(!1);var e=!0,o=new Image;return o.src=t,o.srcSet=r,o.onload=function(){e&&a("loaded")},o.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,r]),n}({src:g,srcSet:v}),x=g||v,E=x&&"error"!==Z;return r=E?i.createElement("img",(0,o.Z)({alt:s,src:g,srcSet:v,sizes:h,className:c.img},m)):null!=l?l:x&&s?s[0]:i.createElement(p,{className:c.fallback}),i.createElement(d,(0,o.Z)({className:(0,a.Z)(c.root,c.system,c[y],u,!E&&c.colorDefault),ref:t},w),r)}));const c=(0,s.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},67358:(e,t,r)=>{r.d(t,{Z:()=>f});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(97580),p=r(15459),l=r(41128),c=r(60364),u=i.forwardRef((function(e,t){var r=e.classes,p=e.className,l=e.color,u=void 0===l?"primary":l,f=e.value,d=e.valueBuffer,m=e.variant,h=void 0===m?"indeterminate":m,g=(0,n.Z)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,c.Z)(),b={},y={bar1:{},bar2:{}};if(("determinate"===h||"buffer"===h)&&void 0!==f){b["aria-valuenow"]=Math.round(f),b["aria-valuemin"]=0,b["aria-valuemax"]=100;var w=f-100;"rtl"===v.direction&&(w=-w),y.bar1.transform="translateX(".concat(w,"%)")}if("buffer"===h&&void 0!==d){var Z=(d||0)-100;"rtl"===v.direction&&(Z=-Z),y.bar2.transform="translateX(".concat(Z,"%)")}return i.createElement("div",(0,o.Z)({className:(0,a.Z)(r.root,r["color".concat((0,s.Z)(u))],p,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[h]),role:"progressbar"},b,{ref:t},g),"buffer"===h?i.createElement("div",{className:(0,a.Z)(r.dashed,r["dashedColor".concat((0,s.Z)(u))])}):null,i.createElement("div",{className:(0,a.Z)(r.bar,r["barColor".concat((0,s.Z)(u))],("indeterminate"===h||"query"===h)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[h]),style:y.bar1}),"determinate"===h?null:i.createElement("div",{className:(0,a.Z)(r.bar,("indeterminate"===h||"query"===h)&&r.bar2Indeterminate,"buffer"===h?[r["color".concat((0,s.Z)(u))],r.bar2Buffer]:r["barColor".concat((0,s.Z)(u))]),style:y.bar2}))}));const f=(0,p.Z)((function(e){var t=function(t){return"light"===e.palette.type?(0,l.$n)(t,.62):(0,l._j)(t,.5)},r=t(e.palette.primary.main),o=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:o},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(o," 0%, ").concat(o," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(u)},86689:(e,t,r)=>{r.d(t,{Z:()=>d});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(97580),p=r(15459),l=r(54736),c=r(85974),u=r(90436),f=i.forwardRef((function(e,t){var r=e.classes,p=e.className,f=e.color,d=void 0===f?"primary":f,m=e.component,h=void 0===m?"a":m,g=e.onBlur,v=e.onFocus,b=e.TypographyClasses,y=e.underline,w=void 0===y?"hover":y,Z=e.variant,x=void 0===Z?"inherit":Z,E=(0,n.Z)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),T=(0,l.Z)(),C=T.isFocusVisible,k=T.onBlurVisible,O=T.ref,P=i.useState(!1),N=P[0],S=P[1],L=(0,c.Z)(t,O);return i.createElement(u.Z,(0,o.Z)({className:(0,a.Z)(r.root,r["underline".concat((0,s.Z)(w))],p,N&&r.focusVisible,"button"===h&&r.button),classes:b,color:d,component:h,onBlur:function(e){N&&(k(),S(!1)),g&&g(e)},onFocus:function(e){C(e)&&S(!0),v&&v(e)},ref:L,variant:x},E))}));const d=(0,p.Z)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(f)},38402:(e,t,r)=>{r.d(t,{Z:()=>h});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(15459),p=r(57074),l=r(33996),c=r(85974),u=r(20413),f=r(75047),d="undefined"==typeof window?i.useEffect:i.useLayoutEffect,m=i.forwardRef((function(e,t){var r=e.alignItems,s=void 0===r?"center":r,m=e.autoFocus,h=void 0!==m&&m,g=e.button,v=void 0!==g&&g,b=e.children,y=e.classes,w=e.className,Z=e.component,x=e.ContainerComponent,E=void 0===x?"li":x,T=e.ContainerProps,C=(T=void 0===T?{}:T).className,k=(0,n.Z)(T,["className"]),O=e.dense,P=void 0!==O&&O,N=e.disabled,S=void 0!==N&&N,L=e.disableGutters,M=void 0!==L&&L,D=e.divider,F=void 0!==D&&D,R=e.focusVisibleClassName,B=e.selected,I=void 0!==B&&B,A=(0,n.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),H=i.useContext(u.Z),W={dense:P||H.dense||!1,alignItems:s},z=i.useRef(null);d((function(){h&&z.current&&z.current.focus()}),[h]);var j=i.Children.toArray(b),V=j.length&&(0,l.Z)(j[j.length-1],["ListItemSecondaryAction"]),K=i.useCallback((function(e){z.current=f.findDOMNode(e)}),[]),$=(0,c.Z)(K,t),U=(0,o.Z)({className:(0,a.Z)(y.root,w,W.dense&&y.dense,!M&&y.gutters,F&&y.divider,S&&y.disabled,v&&y.button,"center"!==s&&y.alignItemsFlexStart,V&&y.secondaryAction,I&&y.selected),disabled:S},A),G=Z||"li";return v&&(U.component=Z||"div",U.focusVisibleClassName=(0,a.Z)(y.focusVisible,R),G=p.Z),V?(G=U.component||Z?G:"div","li"===E&&("li"===G?G="div":"li"===U.component&&(U.component="div")),i.createElement(u.Z.Provider,{value:W},i.createElement(E,(0,o.Z)({className:(0,a.Z)(y.container,C),ref:$},k),i.createElement(G,U,j),j.pop()))):i.createElement(u.Z.Provider,{value:W},i.createElement(G,(0,o.Z)({ref:$},U),j))}));const h=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(m)},12231:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(54530),n=r(51119),i=r(7560),a=r(24328),s=(r(13980),r(6277)),p=r(15459),l=r(38402),c=a.forwardRef((function(e,t){var r,n=e.classes,p=e.className,c=e.component,u=void 0===c?"li":c,f=e.disableGutters,d=void 0!==f&&f,m=e.ListItemClasses,h=e.role,g=void 0===h?"menuitem":h,v=e.selected,b=e.tabIndex,y=(0,o.Z)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(r=void 0!==b?b:-1),a.createElement(l.Z,(0,i.Z)({button:!0,role:g,tabIndex:r,component:u,selected:v,disableGutters:d,classes:(0,i.Z)({dense:n.dense},m),className:(0,s.Z)(n.root,p,v&&n.selected,!d&&n.gutters),ref:t},y))}));const u=(0,p.Z)((function(e){return{root:(0,i.Z)({},e.typography.body1,(0,n.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,i.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(c)},35379:(e,t,r)=>{r.d(t,{Z:()=>be});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),"undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator),s=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(a&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),p=a&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),s))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function c(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function f(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/(auto|scroll|overlay)/.test(r+n+o)?e:f(u(e))}function d(e){return e&&e.referenceNode?e.referenceNode:e}var m=a&&!(!window.MSInputMethodContext||!document.documentMode),h=a&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?m:10===e?h:m||h}function v(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var o=r&&r.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===c(r,"position")?v(r):r:e?e.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:t,n=r?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(n,0);var a,s,p=i.commonAncestorContainer;if(e!==p&&t!==p||o.contains(n))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&v(a.firstElementChild)!==a?v(p):p;var l=b(e);return l.host?y(l.host,t):y(e,b(t).host)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var n=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||n;return i[r]}return e[r]}function Z(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=w(t,"top"),n=w(t,"left"),i=r?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=n*i,e.right+=n*i,e}function x(e,t){var r="x"===t?"Left":"Top",o="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+o+"Width"])}function E(e,t,r,o){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],g(10)?parseInt(r["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function T(e){var t=e.body,r=e.documentElement,o=g(10)&&getComputedStyle(r);return{height:E("Height",t,r,o),width:E("Width",t,r,o)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),O=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function N(e){return P({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(g(10)){t=e.getBoundingClientRect();var r=w(e,"top"),o=w(e,"left");t.top+=r,t.left+=o,t.bottom+=r,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?T(e.ownerDocument):{},a=i.width||e.clientWidth||n.width,s=i.height||e.clientHeight||n.height,p=e.offsetWidth-a,l=e.offsetHeight-s;if(p||l){var u=c(e);p-=x(u,"x"),l-=x(u,"y"),n.width-=p,n.height-=l}return N(n)}function L(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(10),n="HTML"===t.nodeName,i=S(e),a=S(t),s=f(e),p=c(t),l=parseFloat(p.borderTopWidth),u=parseFloat(p.borderLeftWidth);r&&n&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=N({top:i.top-a.top-l,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!o&&n){var m=parseFloat(p.marginTop),h=parseFloat(p.marginLeft);d.top-=l-m,d.bottom-=l-m,d.left-=u-h,d.right-=u-h,d.marginTop=m,d.marginLeft=h}return(o&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=Z(d,t)),d}function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,o=L(e,r),n=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:w(r),s=t?0:w(r,"left"),p={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:n,height:i};return N(p)}function D(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===c(e,"position"))return!0;var r=u(e);return!!r&&D(r)}function F(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=n?F(e):y(e,d(t));if("viewport"===o)i=M(a,n);else{var s=void 0;"scrollParent"===o?"BODY"===(s=f(u(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===o?e.ownerDocument.documentElement:o;var p=L(s,a,n);if("HTML"!==s.nodeName||D(a))i=p;else{var l=T(e.ownerDocument),c=l.height,m=l.width;i.top+=p.top-p.marginTop,i.bottom=c+p.top,i.left+=p.left-p.marginLeft,i.right=m+p.left}}var h="number"==typeof(r=r||0);return i.left+=h?r:r.left||0,i.top+=h?r:r.top||0,i.right-=h?r:r.right||0,i.bottom-=h?r:r.bottom||0,i}function B(e){return e.width*e.height}function I(e,t,r,o,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(r,o,i,n),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map((function(e){return P({key:e},s[e],{area:B(s[e])})})).sort((function(e,t){return t.area-e.area})),l=p.filter((function(e){var t=e.width,o=e.height;return t>=r.clientWidth&&o>=r.clientHeight})),c=l.length>0?l[0].key:p[0].key,u=e.split("-")[1];return c+(u?"-"+u:"")}function A(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=o?F(t):y(t,d(r));return L(r,n,o)}function H(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+r}}function W(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,r){r=r.split("-")[0];var o=H(e),n={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",l=i?"width":"height";return n[a]=t[a]+t[p]/2-o[p]/2,n[s]=r===s?t[s]-o[l]:t[W(s)],n}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function V(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e.name===r}));var o=j(e,(function(e){return e.name===r}));return e.indexOf(o)}(e,0,r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=N(t.offsets.popper),t.offsets.reference=N(t.offsets.reference),t=r(t,e))})),t}function K(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=V(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function $(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var n=t[o],i=n?""+n+r:e;if(void 0!==document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,$(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,r,o){var n="BODY"===e.nodeName,i=n?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),n||Y(f(i.parentNode),t,r,o),o.push(i)}function _(e,t,r,o){r.updateBound=o,q(e).addEventListener("resize",r.updateBound,{passive:!0});var n=f(e);return Y(n,"scroll",r.updateBound,r.scrollParents),r.scrollElement=n,r.eventsEnabled=!0,r}function X(){this.state.eventsEnabled||(this.state=_(this.reference,this.options,this.state,this.scheduleUpdate))}function J(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach((function(r){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&Q(t[r])&&(o="px"),e.style[r]=t[r]+o}))}var te=a&&/Firefox/i.test(navigator.userAgent);function re(e,t,r){var o=j(e,(function(e){return e.name===t})),n=!!o&&e.some((function(e){return e.name===r&&e.enabled&&e.order<o.order}));if(!n){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return n}var oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ne=oe.slice(3);function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=ne.indexOf(e),o=ne.slice(r+1).concat(ne.slice(0,r));return t?o.reverse():o}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],o=t.split("-")[1];if(o){var n=e.offsets,i=n.reference,a=n.popper,s=-1!==["bottom","top"].indexOf(r),p=s?"left":"top",l=s?"width":"height",c={start:O({},p,i[p]),end:O({},p,i[p]+i[l]-a[l])};e.offsets.popper=P({},a,c[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r,o=t.offset,n=e.placement,i=e.offsets,a=i.popper,s=i.reference,p=n.split("-")[0];return r=Q(+o)?[+o,0]:function(e,t,r,o){var n=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(j(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))]:[a];return l=l.map((function(e,o){var n=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,o){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+n[1],a=n[2];return i?0===a.indexOf("%")?N("%p"===a?r:o)[t]/100*i:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,n,t,r)}))})),l.forEach((function(e,t){e.forEach((function(r,o){Q(r)&&(n[t]+=r*("-"===e[o-1]?-1:1))}))})),n}(o,a,s,p),"left"===p?(a.top+=r[0],a.left-=r[1]):"right"===p?(a.top+=r[0],a.left+=r[1]):"top"===p?(a.left+=r[0],a.top-=r[1]):"bottom"===p&&(a.left+=r[0],a.top+=r[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||v(e.instance.popper);e.instance.reference===r&&(r=v(r));var o=U("transform"),n=e.instance.popper.style,i=n.top,a=n.left,s=n[o];n.top="",n.left="",n[o]="";var p=R(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);n.top=i,n.left=a,n[o]=s,t.boundaries=p;var l=t.priority,c=e.offsets.popper,u={primary:function(e){var r=c[e];return c[e]<p[e]&&!t.escapeWithReference&&(r=Math.max(c[e],p[e])),O({},e,r)},secondary:function(e){var r="right"===e?"left":"top",o=c[r];return c[e]>p[e]&&!t.escapeWithReference&&(o=Math.min(c[r],p[e]-("right"===e?c.width:c.height))),O({},r,o)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=P({},c,u[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,o=t.reference,n=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(n),s=a?"right":"bottom",p=a?"left":"top",l=a?"width":"height";return r[s]<i(o[p])&&(e.offsets.popper[p]=i(o[p])-r[l]),r[p]>i(o[s])&&(e.offsets.popper[p]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!re(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(n),l=p?"height":"width",u=p?"Top":"Left",f=u.toLowerCase(),d=p?"left":"top",m=p?"bottom":"right",h=H(o)[l];s[m]-h<a[f]&&(e.offsets.popper[f]-=a[f]-(s[m]-h)),s[f]+h>a[m]&&(e.offsets.popper[f]+=s[f]+h-a[m]),e.offsets.popper=N(e.offsets.popper);var g=s[f]+s[l]/2-h/2,v=c(e.instance.popper),b=parseFloat(v["margin"+u]),y=parseFloat(v["border"+u+"Width"]),w=g-e.offsets.popper[f]-b-y;return w=Math.max(Math.min(a[l]-h,w),0),e.arrowElement=o,e.offsets.arrow=(O(r={},f,Math.round(w)),O(r,d,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if($(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],n=W(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[o,n];break;case"clockwise":a=ie(o);break;case"counterclockwise":a=ie(o,!0);break;default:a=t.behavior}return a.forEach((function(s,p){if(o!==s||a.length===p+1)return e;o=e.placement.split("-")[0],n=W(o);var l=e.offsets.popper,c=e.offsets.reference,u=Math.floor,f="left"===o&&u(l.right)>u(c.left)||"right"===o&&u(l.left)<u(c.right)||"top"===o&&u(l.bottom)>u(c.top)||"bottom"===o&&u(l.top)<u(c.bottom),d=u(l.left)<u(r.left),m=u(l.right)>u(r.right),h=u(l.top)<u(r.top),g=u(l.bottom)>u(r.bottom),v="left"===o&&d||"right"===o&&m||"top"===o&&h||"bottom"===o&&g,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&m||!b&&"start"===i&&h||!b&&"end"===i&&g),w=!!t.flipVariationsByContent&&(b&&"start"===i&&m||b&&"end"===i&&d||!b&&"start"===i&&g||!b&&"end"===i&&h),Z=y||w;(f||v||Z)&&(e.flipped=!0,(f||v)&&(o=a[p+1]),Z&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=P({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=V(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],o=e.offsets,n=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return n[a?"left":"top"]=i[r]-(s?n[a?"width":"height"]:0),e.placement=W(t),e.offsets.popper=N(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!re(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=j(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,o=t.y,n=e.offsets.popper,i=j(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,p=void 0!==i?i:t.gpuAcceleration,l=v(e.instance.popper),c=S(l),u={position:n.position},f=function(e,t){var r=e.offsets,o=r.popper,n=r.reference,i=Math.round,a=Math.floor,s=function(e){return e},p=i(n.width),l=i(o.width),c=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),f=t?c||u||p%2==l%2?i:a:s,d=t?i:s;return{left:f(p%2==1&&l%2==1&&!u&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!te),d="bottom"===r?"top":"bottom",m="right"===o?"left":"right",h=U("transform");if(s="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+f.bottom:-c.height+f.bottom:f.top,a="right"===m?"HTML"===l.nodeName?-l.clientWidth+f.right:-c.width+f.right:f.left,p&&h)u[h]="translate3d("+a+"px, "+s+"px, 0)",u[d]=0,u[m]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,b="right"===m?-1:1;u[d]=s*g,u[m]=a*b,u.willChange=d+", "+m}var y={"x-placement":e.placement};return e.attributes=P({},y,e.attributes),e.styles=P({},u,e.styles),e.arrowStyles=P({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return ee(e.instance.popper,e.styles),t=e.instance.popper,r=e.attributes,Object.keys(r).forEach((function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,o,n){var i=A(n,t,e,r.positionFixed),a=I(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),ee(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},se=function(){function e(t,r){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=p(this.update.bind(this)),this.options=P({},e.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(P({},e.Defaults.modifiers,n.modifiers)).forEach((function(t){o.options.modifiers[t]=P({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return P({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return k(e,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,se.placements=oe,se.Defaults=ae;const pe=se;var le=r(36138),ce=r(8560),ue=r(11375),fe=r(52955),de=r(85974);function me(e){return"function"==typeof e?e():e}var he="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,ge={},ve=i.forwardRef((function(e,t){var r=e.anchorEl,a=e.children,s=e.container,p=e.disablePortal,l=void 0!==p&&p,c=e.keepMounted,u=void 0!==c&&c,f=e.modifiers,d=e.open,m=e.placement,h=void 0===m?"bottom":m,g=e.popperOptions,v=void 0===g?ge:g,b=e.popperRef,y=e.style,w=e.transition,Z=void 0!==w&&w,x=(0,n.Z)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),E=i.useRef(null),T=(0,de.Z)(E,t),C=i.useRef(null),k=(0,de.Z)(C,b),O=i.useRef(k);he((function(){O.current=k}),[k]),i.useImperativeHandle(b,(function(){return C.current}),[]);var P=i.useState(!0),N=P[0],S=P[1],L=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,(0,le.useTheme)()),M=i.useState(L),D=M[0],F=M[1];i.useEffect((function(){C.current&&C.current.update()}));var R=i.useCallback((function(){if(E.current&&r&&d){C.current&&(C.current.destroy(),O.current(null));var e=function(e){F(e.placement)},t=(me(r),new pe(me(r),E.current,(0,o.Z)({placement:L},v,{modifiers:(0,o.Z)({},l?{}:{preventOverflow:{boundariesElement:"window"}},f,v.modifiers),onCreate:(0,ue.Z)(e,v.onCreate),onUpdate:(0,ue.Z)(e,v.onUpdate)})));O.current(t)}}),[r,l,f,d,L,v]),B=i.useCallback((function(e){(0,fe.Z)(T,e),R()}),[T,R]),I=function(){C.current&&(C.current.destroy(),O.current(null))};if(i.useEffect((function(){return function(){I()}}),[]),i.useEffect((function(){d||Z||I()}),[d,Z]),!u&&!d&&(!Z||N))return null;var A={placement:D};return Z&&(A.TransitionProps={in:d,onEnter:function(){S(!1)},onExited:function(){S(!0),I()}}),i.createElement(ce.Z,{disablePortal:l,container:s},i.createElement("div",(0,o.Z)({ref:B,role:"tooltip"},x,{style:(0,o.Z)({position:"fixed",top:0,left:0,display:d||!u||Z?null:"none"},y)}),"function"==typeof a?a(A):a))}));const be=ve},80030:(e,t,r)=>{r.d(t,{ZP:()=>k});var o=r(7560),n=r(85354),i=r(54530),a=r(51119),s=r(24328),p=r(75047),l=(r(13980),r(6277)),c=r(83593),u=r(41128),f=r(15459),d=r(97580),m=r(72654),h=r(35379),g=r(85974),v=r(66049),b=r(52955),y=r(54736),w=r(24514),Z=r(60364);function x(e){return Math.round(1e5*e)/1e5}var E=!1,T=null,C=s.forwardRef((function(e,t){var r=e.arrow,a=void 0!==r&&r,u=e.children,f=e.classes,x=e.disableFocusListener,C=void 0!==x&&x,k=e.disableHoverListener,O=void 0!==k&&k,P=e.disableTouchListener,N=void 0!==P&&P,S=e.enterDelay,L=void 0===S?100:S,M=e.enterNextDelay,D=void 0===M?0:M,F=e.enterTouchDelay,R=void 0===F?700:F,B=e.id,I=e.interactive,A=void 0!==I&&I,H=e.leaveDelay,W=void 0===H?0:H,z=e.leaveTouchDelay,j=void 0===z?1500:z,V=e.onClose,K=e.onOpen,$=e.open,U=e.placement,G=void 0===U?"bottom":U,q=e.PopperComponent,Y=void 0===q?h.Z:q,_=e.PopperProps,X=e.title,J=e.TransitionComponent,Q=void 0===J?m.Z:J,ee=e.TransitionProps,te=(0,i.Z)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),re=(0,Z.Z)(),oe=s.useState(),ne=oe[0],ie=oe[1],ae=s.useState(null),se=ae[0],pe=ae[1],le=s.useRef(!1),ce=s.useRef(),ue=s.useRef(),fe=s.useRef(),de=s.useRef(),me=(0,w.Z)({controlled:$,default:!1,name:"Tooltip",state:"open"}),he=(0,n.Z)(me,2),ge=he[0],ve=he[1],be=ge,ye=(0,v.Z)(B);s.useEffect((function(){return function(){clearTimeout(ce.current),clearTimeout(ue.current),clearTimeout(fe.current),clearTimeout(de.current)}}),[]);var we=function(e){clearTimeout(T),E=!0,ve(!0),K&&K(e)},Ze=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var r=u.props;"mouseover"===t.type&&r.onMouseOver&&e&&r.onMouseOver(t),le.current&&"touchstart"!==t.type||(ne&&ne.removeAttribute("title"),clearTimeout(ue.current),clearTimeout(fe.current),L||E&&D?(t.persist(),ue.current=setTimeout((function(){we(t)}),E?D:L)):we(t))}},xe=(0,y.Z)(),Ee=xe.isFocusVisible,Te=xe.onBlurVisible,Ce=xe.ref,ke=s.useState(!1),Oe=ke[0],Pe=ke[1],Ne=function(){Oe&&(Pe(!1),Te())},Se=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ne||ie(t.currentTarget),Ee(t)&&(Pe(!0),Ze()(t));var r=u.props;r.onFocus&&e&&r.onFocus(t)}},Le=function(e){clearTimeout(T),T=setTimeout((function(){E=!1}),800+W),ve(!1),V&&V(e),clearTimeout(ce.current),ce.current=setTimeout((function(){le.current=!1}),re.transitions.duration.shortest)},Me=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var r=u.props;"blur"===t.type&&(r.onBlur&&e&&r.onBlur(t),Ne()),"mouseleave"===t.type&&r.onMouseLeave&&t.currentTarget===ne&&r.onMouseLeave(t),clearTimeout(ue.current),clearTimeout(fe.current),t.persist(),fe.current=setTimeout((function(){Le(t)}),W)}},De=function(e){le.current=!0;var t=u.props;t.onTouchStart&&t.onTouchStart(e)},Fe=(0,g.Z)(ie,t),Re=(0,g.Z)(Ce,Fe),Be=s.useCallback((function(e){(0,b.Z)(Re,p.findDOMNode(e))}),[Re]),Ie=(0,g.Z)(u.ref,Be);""===X&&(be=!1);var Ae=!be&&!O,He=(0,o.Z)({"aria-describedby":be?ye:null,title:Ae&&"string"==typeof X?X:null},te,u.props,{className:(0,l.Z)(te.className,u.props.className),onTouchStart:De,ref:Ie}),We={};N||(He.onTouchStart=function(e){De(e),clearTimeout(fe.current),clearTimeout(ce.current),clearTimeout(de.current),e.persist(),de.current=setTimeout((function(){Ze()(e)}),R)},He.onTouchEnd=function(e){u.props.onTouchEnd&&u.props.onTouchEnd(e),clearTimeout(de.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){Le(e)}),j)}),O||(He.onMouseOver=Ze(),He.onMouseLeave=Me(),A&&(We.onMouseOver=Ze(!1),We.onMouseLeave=Me(!1))),C||(He.onFocus=Se(),He.onBlur=Me(),A&&(We.onFocus=Se(!1),We.onBlur=Me(!1)));var ze=s.useMemo((function(){return(0,c.Z)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},_)}),[se,_]);return s.createElement(s.Fragment,null,s.cloneElement(u,He),s.createElement(Y,(0,o.Z)({className:(0,l.Z)(f.popper,A&&f.popperInteractive,a&&f.popperArrow),placement:G,anchorEl:ne,open:!!ne&&be,id:He["aria-describedby"],transition:!0},We,ze),(function(e){var t=e.placement,r=e.TransitionProps;return s.createElement(Q,(0,o.Z)({timeout:re.transitions.duration.shorter},r,ee),s.createElement("div",{className:(0,l.Z)(f.tooltip,f["tooltipPlacement".concat((0,d.Z)(t.split("-")[0]))],le.current&&f.touch,a&&f.tooltipArrow)},X,a?s.createElement("span",{className:f.arrow,ref:pe}):null))})))}));const k=(0,f.Z)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,u.U1)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(x(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,u.U1)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(x(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,a.Z)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,a.Z)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,a.Z)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,a.Z)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(C)},66049:(e,t,r)=>{r.d(t,{Z:()=>n});var o=r(24328);function n(e){var t=o.useState(e),r=t[0],n=t[1],i=e||r;return o.useEffect((function(){null==r&&n("mui-".concat(Math.round(1e5*Math.random())))}),[r]),i}},3340:(e,t,r)=>{r.d(t,{Cg:()=>a,j1:()=>s,vQ:()=>p,h$:()=>l,sc:()=>c,tv:()=>u,E0:()=>f,ZP:()=>d});var o=r(24809),n=r(35328);function i(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var a=(0,o.Z)({prop:"border",themeKey:"borders",transform:i}),s=(0,o.Z)({prop:"borderTop",themeKey:"borders",transform:i}),p=(0,o.Z)({prop:"borderRight",themeKey:"borders",transform:i}),l=(0,o.Z)({prop:"borderBottom",themeKey:"borders",transform:i}),c=(0,o.Z)({prop:"borderLeft",themeKey:"borders",transform:i}),u=(0,o.Z)({prop:"borderColor",themeKey:"palette"}),f=(0,o.Z)({prop:"borderRadius",themeKey:"shape"});const d=(0,n.Z)(a,s,p,l,c,u,f)},35328:(e,t,r)=>{r.d(t,{Z:()=>n});var o=r(39413);const n=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?(0,o.Z)(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}},48557:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(11720),n=r(7560),i=(r(13980),r(39413));const a=function(e){var t=function(t){var r=e(t);return t.css?(0,n.Z)({},(0,i.Z)(r,e((0,n.Z)({theme:t.theme},t.css))),function(e,t){var r={};return Object.keys(e).forEach((function(o){-1===t.indexOf(o)&&(r[o]=e[o])})),r}(t.css,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css"].concat((0,o.Z)(e.filterProps)),t}},15857:(e,t,r)=>{r.d(t,{ZP:()=>u});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),a=(0,o.Z)({prop:"display"}),s=(0,o.Z)({prop:"overflow"}),p=(0,o.Z)({prop:"textOverflow"}),l=(0,o.Z)({prop:"visibility"}),c=(0,o.Z)({prop:"whiteSpace"});const u=(0,n.Z)(i,a,s,p,l,c)},61700:(e,t,r)=>{r.d(t,{P_:()=>i,Me:()=>a,WO:()=>s,Kl:()=>p,cq:()=>l,Kv:()=>c,vm:()=>u,fU:()=>f,H7:()=>d,i4:()=>m,uk:()=>h,eY:()=>g,zo:()=>v,ZP:()=>b});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"flexBasis"}),a=(0,o.Z)({prop:"flexDirection"}),s=(0,o.Z)({prop:"flexWrap"}),p=(0,o.Z)({prop:"justifyContent"}),l=(0,o.Z)({prop:"alignItems"}),c=(0,o.Z)({prop:"alignContent"}),u=(0,o.Z)({prop:"order"}),f=(0,o.Z)({prop:"flex"}),d=(0,o.Z)({prop:"flexGrow"}),m=(0,o.Z)({prop:"flexShrink"}),h=(0,o.Z)({prop:"alignSelf"}),g=(0,o.Z)({prop:"justifyItems"}),v=(0,o.Z)({prop:"justifySelf"});const b=(0,n.Z)(i,a,s,p,l,c,u,f,d,m,h,g,v)},58881:(e,t,r)=>{r.d(t,{Cc:()=>i,W3:()=>a,Ub:()=>s,t4:()=>p,oI:()=>l,B:()=>c,aN:()=>u,FW:()=>f,K$:()=>d,RG:()=>m,zI:()=>h,fD:()=>g,ZP:()=>v});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"gridGap"}),a=(0,o.Z)({prop:"gridColumnGap"}),s=(0,o.Z)({prop:"gridRowGap"}),p=(0,o.Z)({prop:"gridColumn"}),l=(0,o.Z)({prop:"gridRow"}),c=(0,o.Z)({prop:"gridAutoFlow"}),u=(0,o.Z)({prop:"gridAutoColumns"}),f=(0,o.Z)({prop:"gridAutoRows"}),d=(0,o.Z)({prop:"gridTemplateColumns"}),m=(0,o.Z)({prop:"gridTemplateRows"}),h=(0,o.Z)({prop:"gridTemplateAreas"}),g=(0,o.Z)({prop:"gridArea"});const v=(0,n.Z)(i,a,s,p,l,c,u,f,d,m,h,g)},27358:(e,t,r)=>{r.d(t,{$_:()=>i,n9:()=>a,ZP:()=>s});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"color",themeKey:"palette"}),a=(0,o.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"});const s=(0,n.Z)(i,a)},3305:(e,t,r)=>{r.d(t,{FK:()=>i,W5:()=>a,we:()=>s,F2:()=>p,I:()=>l,t$:()=>c,ZP:()=>u});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"position"}),a=(0,o.Z)({prop:"zIndex",themeKey:"zIndex"}),s=(0,o.Z)({prop:"top"}),p=(0,o.Z)({prop:"right"}),l=(0,o.Z)({prop:"bottom"}),c=(0,o.Z)({prop:"left"});const u=(0,n.Z)(i,a,s,p,l,c)},12221:(e,t,r)=>{r.d(t,{Z:()=>o});const o=(0,r(24809).Z)({prop:"boxShadow",themeKey:"shadows"})},27804:(e,t,r)=>{r.d(t,{bf:()=>a,kk:()=>s,ih:()=>p,Cb:()=>l,kC:()=>c,jw:()=>u,lO:()=>f,Vs:()=>d,ix:()=>m,ZP:()=>h});var o=r(24809),n=r(35328);function i(e){return e<=1?"".concat(100*e,"%"):e}var a=(0,o.Z)({prop:"width",transform:i}),s=(0,o.Z)({prop:"maxWidth",transform:i}),p=(0,o.Z)({prop:"minWidth",transform:i}),l=(0,o.Z)({prop:"height",transform:i}),c=(0,o.Z)({prop:"maxHeight",transform:i}),u=(0,o.Z)({prop:"minHeight",transform:i}),f=(0,o.Z)({prop:"size",cssProperty:"width",transform:i}),d=(0,o.Z)({prop:"size",cssProperty:"height",transform:i}),m=(0,o.Z)({prop:"boxSizing"});const h=(0,n.Z)(a,s,p,l,c,u,m)},24809:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(51119),n=r(21226);function i(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}const a=function(e){var t=e.prop,r=e.cssProperty,a=void 0===r?e.prop:r,s=e.themeKey,p=e.transform,l=function(e){if(null==e[t])return null;var r=e[t],l=i(e.theme,s)||{};return(0,n.k)(e,r,(function(e){var t;return"function"==typeof l?t=l(e):Array.isArray(l)?t=l[e]||e:(t=i(l,e)||e,p&&(t=p(t))),!1===a?t:(0,o.Z)({},a,t)}))};return l.propTypes={},l.filterProps=[t],l}},63842:(e,t,r)=>{r.d(t,{I8:()=>i,JB:()=>a,p_:()=>s,Ue:()=>p,rX:()=>l,Nv:()=>c,yd:()=>u,ZP:()=>f});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"fontFamily",themeKey:"typography"}),a=(0,o.Z)({prop:"fontSize",themeKey:"typography"}),s=(0,o.Z)({prop:"fontStyle",themeKey:"typography"}),p=(0,o.Z)({prop:"fontWeight",themeKey:"typography"}),l=(0,o.Z)({prop:"letterSpacing"}),c=(0,o.Z)({prop:"lineHeight"}),u=(0,o.Z)({prop:"textAlign"});const f=(0,n.Z)(i,a,s,p,l,c,u)}}]);
package/4276.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4276],{1292:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(24328),a=n(75047),r=(n(13980),n(8732)),i=n(85974),c=n(74718);function l(e){return e.substring(2).toLowerCase()}const s=function(e){var t=e.children,n=e.disableReactTree,s=void 0!==n&&n,d=e.mouseEvent,u=void 0===d?"onClick":d,p=e.onClickAway,m=e.touchEvent,f=void 0===m?"onTouchEnd":m,g=o.useRef(!1),h=o.useRef(null),v=o.useRef(!1),Z=o.useRef(!1);o.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=o.useCallback((function(e){h.current=a.findDOMNode(e)}),[]),x=(0,i.Z)(t.ref,y),b=(0,c.Z)((function(e){var t=Z.current;if(Z.current=!1,v.current&&h.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(g.current)g.current=!1;else{(e.composedPath?e.composedPath().indexOf(h.current)>-1:!(0,r.Z)(h.current).documentElement.contains(e.target)||h.current.contains(e.target))||!s&&t||p(e)}})),E=function(e){return function(n){Z.current=!0;var o=t.props[e];o&&o(n)}},k={ref:x};return!1!==f&&(k[f]=E(f)),o.useEffect((function(){if(!1!==f){var e=l(f),t=(0,r.Z)(h.current),n=function(){g.current=!0};return t.addEventListener(e,b),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,b),t.removeEventListener("touchmove",n)}}}),[b,f]),!1!==u&&(k[u]=E(u)),o.useEffect((function(){if(!1!==u){var e=l(u),t=(0,r.Z)(h.current);return t.addEventListener(e,b),function(){t.removeEventListener(e,b)}}}),[b,u]),o.createElement(o.Fragment,null,o.cloneElement(t,k))}},85256:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(41128),s=r.forwardRef((function(e,t){var n=e.absolute,c=void 0!==n&&n,l=e.classes,s=e.className,d=e.component,u=void 0===d?"hr":d,p=e.flexItem,m=void 0!==p&&p,f=e.light,g=void 0!==f&&f,h=e.orientation,v=void 0===h?"horizontal":h,Z=e.role,y=void 0===Z?"hr"!==u?"separator":void 0:Z,x=e.variant,b=void 0===x?"fullWidth":x,E=(0,a.Z)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return r.createElement(u,(0,o.Z)({className:(0,i.Z)(l.root,s,"fullWidth"!==b&&l[b],c&&l.absolute,m&&l.flexItem,g&&l.light,"vertical"===v&&l.vertical),role:y,ref:t},E))}));const d=(0,c.Z)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,l.U1)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(s)},64326:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=r.forwardRef((function(e,t){var n=e.classes,c=e.className,l=e.row,s=void 0!==l&&l,d=(0,a.Z)(e,["classes","className","row"]);return r.createElement("div",(0,o.Z)({className:(0,i.Z)(n.root,c,s&&n.row),ref:t},d))}));const s=(0,c.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(l)},49378:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(90436),s=n(20413),d=r.forwardRef((function(e,t){var n=e.children,c=e.classes,d=e.className,u=e.disableTypography,p=void 0!==u&&u,m=e.inset,f=void 0!==m&&m,g=e.primary,h=e.primaryTypographyProps,v=e.secondary,Z=e.secondaryTypographyProps,y=(0,a.Z)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),x=r.useContext(s.Z).dense,b=null!=g?g:n;null==b||b.type===l.Z||p||(b=r.createElement(l.Z,(0,o.Z)({variant:x?"body2":"body1",className:c.primary,component:"span",display:"block"},h),b));var E=v;return null==E||E.type===l.Z||p||(E=r.createElement(l.Z,(0,o.Z)({variant:"body2",className:c.secondary,color:"textSecondary",display:"block"},Z),E)),r.createElement("div",(0,o.Z)({className:(0,i.Z)(c.root,d,x&&c.dense,f&&c.inset,b&&E&&c.multiline),ref:t},y),b,E)}));const u=(0,c.Z)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(d)},44962:(e,t,n)=>{n.d(t,{Z:()=>x});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(28838),l=n(3752);const s=(0,l.Z)(r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),d=(0,l.Z)(r.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var u=n(15459);const p=(0,u.Z)((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes,o=e.fontSize;return r.createElement("div",{className:(0,i.Z)(n.root,t&&n.checked)},r.createElement(s,{fontSize:o}),r.createElement(d,{fontSize:o,className:n.layer}))}));var m=n(41128),f=n(97580),g=n(11375),h=n(72909),v=r.createElement(p,{checked:!0}),Z=r.createElement(p,null),y=r.forwardRef((function(e,t){var n=e.checked,l=e.classes,s=e.color,d=void 0===s?"secondary":s,u=e.name,p=e.onChange,m=e.size,y=void 0===m?"medium":m,x=(0,a.Z)(e,["checked","classes","color","name","onChange","size"]),b=(0,h.Z)(),E=n,k=(0,g.Z)(p,b&&b.onChange),C=u;return b&&(void 0===E&&(E=b.value===e.value),void 0===C&&(C=b.name)),r.createElement(c.Z,(0,o.Z)({color:d,type:"radio",icon:r.cloneElement(Z,{fontSize:"small"===y?"small":"default"}),checkedIcon:r.cloneElement(v,{fontSize:"small"===y?"small":"default"}),classes:{root:(0,i.Z)(l.root,l["color".concat((0,f.Z)(d))]),checked:l.checked,disabled:l.disabled},name:C,checked:E,onChange:k,ref:t},x))}));const x=(0,u.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,m.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,m.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(y)},2682:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(7560),a=n(85354),r=n(54530),i=n(24328),c=(n(13980),n(64326)),l=n(85974),s=n(24514),d=n(28006),u=n(66049);const p=i.forwardRef((function(e,t){var n=e.actions,p=e.children,m=e.name,f=e.value,g=e.onChange,h=(0,r.Z)(e,["actions","children","name","value","onChange"]),v=i.useRef(null),Z=(0,s.Z)({controlled:f,default:e.defaultValue,name:"RadioGroup"}),y=(0,a.Z)(Z,2),x=y[0],b=y[1];i.useImperativeHandle(n,(function(){return{focus:function(){var e=v.current.querySelector("input:not(:disabled):checked");e||(e=v.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var E=(0,l.Z)(t,v),k=(0,u.Z)(m);return i.createElement(d.Z.Provider,{value:{name:k,onChange:function(e){b(e.target.value),g&&g(e,e.target.value)},value:x}},i.createElement(c.Z,(0,o.Z)({role:"radiogroup",ref:E},h),p))}))},28006:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},72909:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(24328),a=n(28006);function r(){return o.useContext(a.Z)}},37265:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(39265),d=n(1292),u=n(74718),p=n(97580),m=n(11375),f=n(72654),g=n(93657),h=i.forwardRef((function(e,t){var n=e.action,a=e.anchorOrigin,l=(a=void 0===a?{vertical:"bottom",horizontal:"center"}:a).vertical,h=a.horizontal,v=e.autoHideDuration,Z=void 0===v?null:v,y=e.children,x=e.classes,b=e.className,E=e.ClickAwayListenerProps,k=e.ContentProps,C=e.disableWindowBlurListener,w=void 0!==C&&C,P=e.message,R=e.onClose,N=e.onEnter,I=e.onEntered,T=e.onEntering,L=e.onExit,S=e.onExited,B=e.onExiting,z=e.onMouseEnter,M=e.onMouseLeave,O=e.open,D=e.resumeHideDuration,A=e.TransitionComponent,H=void 0===A?f.Z:A,W=e.transitionDuration,$=void 0===W?{enter:s.x9.enteringScreen,exit:s.x9.leavingScreen}:W,U=e.TransitionProps,_=(0,o.Z)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),j=i.useRef(),G=i.useState(!0),q=G[0],F=G[1],X=(0,u.Z)((function(){R&&R.apply(void 0,arguments)})),J=(0,u.Z)((function(e){R&&null!=e&&(clearTimeout(j.current),j.current=setTimeout((function(){X(null,"timeout")}),e))}));i.useEffect((function(){return O&&J(Z),function(){clearTimeout(j.current)}}),[O,Z,J]);var V=function(){clearTimeout(j.current)},Y=i.useCallback((function(){null!=Z&&J(null!=D?D:.5*Z)}),[Z,D,J]);return i.useEffect((function(){if(!w&&O)return window.addEventListener("focus",Y),window.addEventListener("blur",V),function(){window.removeEventListener("focus",Y),window.removeEventListener("blur",V)}}),[w,Y,O]),!O&&q?null:i.createElement(d.Z,(0,r.Z)({onClickAway:function(e){R&&R(e,"clickaway")}},E),i.createElement("div",(0,r.Z)({className:(0,c.Z)(x.root,x["anchorOrigin".concat((0,p.Z)(l)).concat((0,p.Z)(h))],b),onMouseEnter:function(e){z&&z(e),V()},onMouseLeave:function(e){M&&M(e),Y()},ref:t},_),i.createElement(H,(0,r.Z)({appear:!0,in:O,onEnter:(0,m.Z)((function(){F(!1)}),N),onEntered:I,onEntering:T,onExit:L,onExited:(0,m.Z)((function(){F(!0)}),S),onExiting:B,timeout:$,direction:"top"===l?"down":"up"},U),y||i.createElement(g.Z,(0,r.Z)({message:P,action:n},k)))))}));const v=(0,l.Z)((function(e){var t={top:8},n={bottom:8},o={justifyContent:"flex-end"},i={justifyContent:"flex-start"},c={top:24},l={bottom:24},s={right:24},d={left:24},u={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,r.Z)({},t,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},c,u))),anchorOriginBottomCenter:(0,r.Z)({},n,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},l,u))),anchorOriginTopRight:(0,r.Z)({},t,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},c,s))),anchorOriginBottomRight:(0,r.Z)({},n,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},l,s))),anchorOriginTopLeft:(0,r.Z)({},t,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},c,d))),anchorOriginBottomLeft:(0,r.Z)({},n,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},l,d)))}}),{flip:!1,name:"MuiSnackbar"})(h)},93657:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(27556),d=n(41128),u=i.forwardRef((function(e,t){var n=e.action,a=e.classes,l=e.className,d=e.message,u=e.role,p=void 0===u?"alert":u,m=(0,o.Z)(e,["action","classes","className","message","role"]);return i.createElement(s.Z,(0,r.Z)({role:p,square:!0,elevation:6,className:(0,c.Z)(a.root,l),ref:t},m),i.createElement("div",{className:a.message},d),n?i.createElement("div",{className:a.action},n):null)}));const p=(0,l.Z)((function(e){var t="light"===e.palette.type?.8:.98,n=(0,d._4)(e.palette.background.default,t);return{root:(0,r.Z)({},e.typography.body2,(0,a.Z)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(u)},98287:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},49456:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},15584:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(54530),a=n(7560),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(97580),s=n(41128),d=n(98287),u=n(49456),p=r.forwardRef((function(e,t){var n,c,s=e.align,p=void 0===s?"inherit":s,m=e.classes,f=e.className,g=e.component,h=e.padding,v=e.scope,Z=e.size,y=e.sortDirection,x=e.variant,b=(0,o.Z)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),E=r.useContext(d.Z),k=r.useContext(u.Z),C=k&&"head"===k.variant;g?(c=g,n=C?"columnheader":"cell"):c=C?"th":"td";var w=v;!w&&C&&(w="col");var P=h||(E&&E.padding?E.padding:"default"),R=Z||(E&&E.size?E.size:"medium"),N=x||k&&k.variant,I=null;return y&&(I="asc"===y?"ascending":"descending"),r.createElement(c,(0,a.Z)({ref:t,className:(0,i.Z)(m.root,m[N],f,"inherit"!==p&&m["align".concat((0,l.Z)(p))],"default"!==P&&m["padding".concat((0,l.Z)(P))],"medium"!==R&&m["size".concat((0,l.Z)(R))],"head"===N&&E&&E.stickyHeader&&m.stickyHeader),"aria-sort":I,role:n,scope:w},b))}));const m=(0,c.Z)((function(e){return{root:(0,a.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?(0,s.$n)((0,s.U1)(e.palette.divider,1),.88):(0,s._j)((0,s.U1)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(p)},28899:(e,t,n)=>{n.d(t,{Z:()=>R});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(74603),s=n(12231),d=n(73698),u=n(15584),p=n(15223),m=n(90436),f=n(92979),g=n(64656),h=n(60364),v=n(61837),Z=r.createElement(g.Z,null),y=r.createElement(f.Z,null),x=r.createElement(f.Z,null),b=r.createElement(g.Z,null);const E=r.forwardRef((function(e,t){var n=e.backIconButtonProps,i=e.count,c=e.nextIconButtonProps,l=e.onChangePage,s=e.page,d=e.rowsPerPage,u=(0,a.Z)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),p=(0,h.Z)();return r.createElement("div",(0,o.Z)({ref:t},u),r.createElement(v.Z,(0,o.Z)({onClick:function(e){l(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===p.direction?Z:y),r.createElement(v.Z,(0,o.Z)({onClick:function(e){l(e,s+1)},disabled:-1!==i&&s>=Math.ceil(i/d)-1,color:"inherit"},c),"rtl"===p.direction?x:b))}));var k=n(66049),C=function(e){var t=e.from,n=e.to,o=e.count;return"".concat(t,"-").concat(n," of ").concat(-1!==o?o:"more than ".concat(n))},w=[10,25,50,100],P=r.forwardRef((function(e,t){var n,c=e.ActionsComponent,f=void 0===c?E:c,g=e.backIconButtonProps,h=e.backIconButtonText,v=void 0===h?"Previous page":h,Z=e.classes,y=e.className,x=e.colSpan,b=e.component,P=void 0===b?u.Z:b,R=e.count,N=e.labelDisplayedRows,I=void 0===N?C:N,T=e.labelRowsPerPage,L=void 0===T?"Rows per page:":T,S=e.nextIconButtonProps,B=e.nextIconButtonText,z=void 0===B?"Next page":B,M=e.onChangePage,O=e.onChangeRowsPerPage,D=e.page,A=e.rowsPerPage,H=e.rowsPerPageOptions,W=void 0===H?w:H,$=e.SelectProps,U=void 0===$?{}:$,_=(0,a.Z)(e,["ActionsComponent","backIconButtonProps","backIconButtonText","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","nextIconButtonText","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);P!==u.Z&&"td"!==P||(n=x||1e3);var j=(0,k.Z)(),G=(0,k.Z)(),q=U.native?"option":s.Z;return r.createElement(P,(0,o.Z)({className:(0,i.Z)(Z.root,y),colSpan:n,ref:t},_),r.createElement(p.Z,{className:Z.toolbar},r.createElement("div",{className:Z.spacer}),W.length>1&&r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption,id:G},L),W.length>1&&r.createElement(d.Z,(0,o.Z)({classes:{select:Z.select,icon:Z.selectIcon},input:r.createElement(l.Z,{className:(0,i.Z)(Z.input,Z.selectRoot)}),value:A,onChange:O,id:j,labelId:G},U),W.map((function(e){return r.createElement(q,{className:Z.menuItem,key:e.value?e.value:e,value:e.value?e.value:e},e.label?e.label:e)}))),r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption},I({from:0===R?0:D*A+1,to:-1!==R?Math.min(R,(D+1)*A):(D+1)*A,count:-1===R?-1:R,page:D})),r.createElement(f,{className:Z.actions,backIconButtonProps:(0,o.Z)({title:v,"aria-label":v},g),count:R,nextIconButtonProps:(0,o.Z)({title:z,"aria-label":z},S),onChangePage:M,page:D,rowsPerPage:A})))}));const R=(0,c.Z)((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),overflow:"auto","&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(P)}}]);
package/4850.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4850],{89925:(e,t,n)=>{n.d(t,{J:()=>Q});var a=n(24328),r=n.n(a),o=n(95544),l=n(87918),i=n.n(l),s=n(86689),c=n(90436),m=n(43054),p=n(98538),d=n(39475),u=n(52730),g=n(71153),x=n.n(g),f=n(89810),h=n(79779),b=n(63929),y=n(18527);const C=(e,t)=>{const n=e.relatedObjectUris.indexOf(t);if(n>=0)return e.relatedObjectUris[1-n]},v=e=>`${i().date(e,"LT")} ${i().date(e,"LL")}`;var E=n(79692);const w=(0,E.Z)((e=>({title:{marginBottom:"10px",color:e.palette.divider,fontSize:"12px",lineHeight:"14px"},label:{paddingLeft:"9px",borderLeft:"1px solid #D8D8D8",fontSize:"13px",color:e.palette.text.primary,lineHeight:"15px"},link:{color:e.palette.primary.main,textDecoration:"none"}}))),N=e=>{let{comment:t,className:n}=e;const l=w(),s=(0,u.useSelector)(f.ZP.selectors.getEntity),m=(0,u.useSelector)(f.ZP.selectors.getMetadata),p=(0,a.useContext)(b.X);return r().createElement(o.Z,{className:n},(()=>{switch(t.objectType){case h.q7e.ENTITY_ATTRIBUTE:{const e=(0,h.AFK)(t.objectId,s.type),n=(0,h.zeJ)(m,e);return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected attribute:")),r().createElement(c.Z,{className:l.label},null==n?void 0:n.label))}case h.q7e.ENTITY:return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected profile:")),r().createElement(y.Z,{className:x()(l.label,l.link),value:(0,h.wwR)(s)},(0,h.idV)(s.label)));case h.q7e.RELATION:{var e;const n=C(t,s.uri),a={uri:n,label:null===(e=p[n])||void 0===e?void 0:e.label};return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected relation:")),r().createElement(c.Z,{className:l.label},r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(s)},(0,h.idV)(s.label)),n&&r().createElement(r().Fragment,null,` ${i().text("to")} `,r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(a)},a.label?(0,h.idV)(a.label):(0,h.BTI)(a)))))}case h.q7e.POTENTIAL_MATCH:{var n;const e=C(t,s.uri),a={uri:e,label:null===(n=p[e])||void 0===n?void 0:n.label};return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected potential match:")),r().createElement(c.Z,{className:l.label},r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(s)},(0,h.idV)(s.label)),e&&r().createElement(r().Fragment,null,` ${i().text("and")} `,r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(a)},a.label?(0,h.idV)(a.label):(0,h.BTI)(a)))))}default:return null}})())};var Z=n(89575);const k=(0,E.Z)((e=>({root:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",wordBreak:"break-word"}}))),S=e=>{let{comment:t,className:n}=e;const o=k(),l=(0,a.useContext)(Z.s);return r().createElement(c.Z,{className:x()(o.root,n)},function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"+";const r=[];let o="",l=!1;for(let i=0;i<=e.length;i++){const s=e[i],c=e[i+1],m=i===e.length-1;o+=s,s===a&&0===i&&(l=!0),l&&t.includes(o.slice(a.length))&&(l=!1,r.push(n(o)),o=""),c===a&&(l=!0,r.push(o),o=""),m&&r.push(o)}return r}(t.content,t.namedUsers,(e=>{const t=l.find((t=>t.username===e.slice(1)));return t?r().createElement(s.Z,{href:`mailto:${t.email}`},e):e})).map(((e,t)=>r().createElement(a.Fragment,{key:t},e))))};var R=n(43434);const T=(0,E.Z)((e=>({root:{width:"32px",height:"32px",fontSize:"12px",color:e.palette.text.secondary,backgroundColor:"rgba(144, 164, 174, 0.2)"}})));function I(){return I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},I.apply(this,arguments)}const O=e=>{let{className:t,children:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","children"]);const o=T();return r().createElement(R.Z,I({},a,{className:x()(o.root,t)}),n.split(".").map((e=>e[0].toUpperCase())).join(""))};var L=n(58142);const j=(0,E.Z)((e=>({header:{display:"flex"},avatar:{marginRight:"8px"},username:{marginBottom:"1px",color:e.palette.text.primary,fontSize:"13px",fontWeight:500,lineHeight:"15px"},createdAt:{marginTop:"3px",marginRight:"4px",color:e.palette.text.secondary,fontSize:"11px",lineHeight:"13px",whiteSpace:"nowrap"},body:{marginLeft:"40px"},commentTarget:{marginTop:"-15px"},message:{marginTop:"12px"},dropdownMenu:{zIndex:"3000 !important"},buttons:{marginTop:"15px",marginBottom:"12px",display:"flex","& $button + $button":{marginLeft:"10px"}},button:{fontSize:"13px",lineHeight:"15px"}}))),P=e=>{let{onReply:t,className:n,uri:l,comment:g,onStartEditing:x}=e;const h=j(),b=(0,u.useSelector)(f.ZP.selectors.getUserName),y=g.createdBy===b,{resolveThread:C,reOpenThread:E,sending:w,deleteComment:Z}=(0,a.useContext)(L.h),k=(0,a.useMemo)((()=>[{text:i().text("Edit"),onClick:x},{text:i().text("Delete"),onClick:()=>Z({uri:l,commentId:g.commentId})}]),[x,Z,l,g]);return r().createElement(o.Z,{className:n},r().createElement(o.Z,{className:h.header},r().createElement(O,{classes:{root:h.avatar}},g.createdBy),r().createElement(o.Z,{width:"100%"},r().createElement(c.Z,{className:h.username},g.createdBy)),r().createElement(c.Z,{className:h.createdAt},v(g.createdTime)),y&&r().createElement(p.Z,{buttonComponent:d.k,buttonProps:{icon:m.Z,tooltipTitle:i().text("Open menu")},popoverProps:{PopoverClasses:{root:h.dropdownMenu}},menuItems:k,menuId:"collaboration-comment-menu"})),r().createElement(o.Z,{className:h.body},r().createElement(N,{comment:g,className:h.commentTarget}),r().createElement(S,{comment:g,className:h.message}),r().createElement(o.Z,{className:h.buttons},r().createElement(s.Z,{className:h.button,onClick:t,component:"button"},i().text("Reply")),"open"===g.status&&r().createElement(s.Z,{disabled:w,className:h.button,onClick:()=>{C({commentId:g.commentId,uri:l})},component:"button"},i().text("Resolve")),"resolved"===g.status&&r().createElement(s.Z,{disabled:w,className:h.button,onClick:()=>{E({commentId:g.commentId,uri:l})},component:"button"},i().text("Re-open")))))},B=(0,E.Z)((e=>({root:{display:"flex",padding:"8px",borderRadius:"4px",backgroundColor:"rgba(0,114,206,0.06)"},avatar:{marginRight:"8px"},header:{display:"flex",marginBottom:"8px"},username:{color:e.palette.text.primary,fontSize:"13px",fontWeight:500,lineHeight:"15px"},message:{marginBottom:"8px",color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px"},createdAt:{color:e.palette.text.secondary,fontSize:"11px",lineHeight:"13px",whiteSpace:"nowrap"},marked:{marginLeft:"8px",color:e.palette.text.secondary,fontSize:"13px",fontStyle:"italic",lineHeight:"15px"}}))),z=e=>{let{className:t,reply:n}=e;const{createdBy:a,action:l,createdTime:s}=n,m=B();return r().createElement(o.Z,{className:x()(m.root,t)},r().createElement(O,{classes:{root:m.avatar}},a),r().createElement(o.Z,null,r().createElement(o.Z,{className:m.header},r().createElement(c.Z,{className:m.username},a),"resolve"===l&&r().createElement(c.Z,{className:m.marked},i().text("Marked as resolved")),"reopen"===l&&r().createElement(c.Z,{className:m.marked},i().text("Re-opened"))),"resolve"!==l&&r().createElement(S,{className:m.message,comment:n}),r().createElement(c.Z,{className:m.createdAt},v(s))))};var A=n(77277),H=n(17440),M=n(2271);const U=(0,E.Z)((e=>({root:{width:"100%",backgroundColor:"#fff",fontFamily:"Roboto","&__control":{fontSize:"13px"},"&__highlighter":{padding:"10px 22px",border:"1px solid transparent !important",maxHeight:"70px"},"&__input":{borderRadius:"2px",border:"1px solid rgba(0,0,0,0.12)",padding:"10px 22px",outline:0,maxHeight:"70px",overflow:"auto !important"},"&__suggestions":{padding:"8px 0",borderRadius:"4px",backgroundColor:"#fafafa !important",boxShadow:"0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)",transform:"translateY(-100%)"},"&__suggestions__list":{maxHeight:"200px",overflowY:"scroll"},"&__suggestions__item":{padding:"6px 12px",color:e.palette.text.primary,fontSize:"13px",transition:e.transitions.create(["background-color"]),"&:hover, &--focused":{backgroundColor:"rgba(0,0,0,0.04)"}}},mention:{position:"relative",zIndex:1,color:e.palette.primary.main,textShadow:"1px 1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white",pointerEvents:"none"}})));function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},F.apply(this,arguments)}const _=e=>{let{onChange:t,className:n}=e,o=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["onChange","className"]);const l=U(),i=(0,a.useContext)(Z.s);return r().createElement(M.r,F({},o,{onChange:(e,n,a,r)=>{t(n,a,(0,H.uniq)(r.map((e=>{let{display:t}=e;return t.slice(1)}))))},className:x()(l.root,n)}),r().createElement(M.p,{trigger:"+",data:i.map((e=>{let{username:t}=e;return{id:t,display:t}})),displayTransform:(e,t)=>`+${t}`,appendSpaceOnAdd:!0,className:l.mention}))},D=(0,E.Z)({root:{padding:"6px 6px 6px 8px",borderRadius:"4px",backgroundColor:"rgba(0,114,206,0.06)"},textField:{maxWidth:"calc(100% - 40px)"},form:{marginBottom:0},main:{display:"flex",alignItems:"center"},avatar:{marginRight:"8px"},buttons:{marginLeft:"40px",marginTop:"8px"},button:{"& + $button":{marginLeft:"8px"}}});var $=n(29627);const W=e=>{switch(e){case"open":return i().text("Reply...");case"resolved":return i().text("Adding a comment will re-open this");default:return""}},V=e=>{let{inputRef:t,className:n,uri:l,relatedObjectUris:s,objectType:c,popperRef:m,comment:p,isEditingComment:d,onCancel:g}=e;const h=D(),b=(0,u.useSelector)(f.ZP.selectors.getUserName),{createReply:y,createComment:C,sending:v,editComment:E}=(0,a.useContext)(L.h),[w,N]=(0,a.useState)(""),[Z,k]=(0,a.useState)(""),[S,R]=(0,a.useState)([]),[T,I]=(0,a.useState)(!1),j=(0,$._)(),P=""!==w.trim(),B=T||P,z=null==p?void 0:p.status,M=(e,t,n)=>{R(n),N(e),k(t)},U=()=>{null==g||g(),M("","",[])};return(0,a.useEffect)((()=>{m&&m.current.update()}),[m,B]),(0,a.useEffect)((()=>{d?N(p.content):U()}),[d]),r().createElement(o.Z,{className:x()(h.root,n)},r().createElement("form",{onSubmit:e=>{e.preventDefault();const t=(0,H.cond)([[(0,H.always)(!p),()=>C({content:Z,namedUsers:S,objectType:c,uri:l,relatedObjectUris:s})],[(0,H.always)(d),()=>E({content:Z,namedUsers:S,commentId:p.commentId,objectType:c,replies:p.replies,relatedObjectUris:s,uri:l})],[H.T,()=>y({content:Z,namedUsers:S,commentId:p.commentId,action:"open"===p.status?"none":"reopen",uri:l})]]);return j(t()).then(U).catch(console.log)},className:h.form},r().createElement(o.Z,{className:h.main},r().createElement(O,{classes:{root:h.avatar}},b),r().createElement(_,{className:h.textField,disabled:v,onChange:(e,t,n)=>{M(e,t,n)},inputRef:t,value:w,onFocus:()=>I(!0),onBlur:()=>I(!1),placeholder:W(z)})),B&&r().createElement(o.Z,{className:h.buttons},r().createElement(A.Z,{className:h.button,variant:"contained",color:"primary",disabled:!P||v,type:"submit"},((e,t)=>t?i().text("Edit"):"open"===e||"resolved"===e?i().text("Reply"):i().text("Comment"))(z,d)),r().createElement(A.Z,{disabled:v,onClick:()=>U(),className:h.button,variant:"outlined",color:"primary"},i().text("Cancel")))))},q=(0,E.Z)((()=>({root:{maxWidth:"100%",padding:"8px 4px 10px 16px"},messages:{},repliedComment:{marginBottom:"2px"},replies:{marginLeft:"40px"},sendMessageArea:{marginLeft:"40px"},comment:{}}))),Q=(0,a.memo)((e=>{let{uri:t,relatedObjectUris:n,objectType:l,classes:i,popperRef:s,messagesRef:c,comment:m}=e;const p=(0,a.useRef)(),d=q({classes:i}),[u,g]=(0,a.useState)(!1),x=r().createElement(V,{className:d.sendMessageArea,inputRef:p,popperRef:s,uri:t,relatedObjectUris:n,objectType:l,comment:m,onCancel:()=>g(!1),isEditingComment:u});return r().createElement(o.Z,{className:d.root},m&&r().createElement(r().Fragment,null,r().createElement("div",{className:d.messages,ref:c},r().createElement(P,{comment:m,uri:t,onReply:()=>{u&&g(!1),p.current.focus()},onStartEditing:()=>{g(!0)},className:d.comment}),r().createElement(o.Z,{className:d.replies},m.replies.map((e=>r().createElement(z,{key:e.replyId,className:d.repliedComment,reply:e}))))),x),!m&&x)}))},72316:(e,t,n)=>{n.d(t,{Z:()=>L});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(79692),s=n(62901);const c=(0,i.Z)((()=>({root:{display:"flex",alignItems:"start"},addButton:{visibility:"hidden","&$showAlways":{visibility:"visible"},[`.${s.U}:hover &`]:{visibility:"visible"}},showAlways:{}})));var m=n(55962),p=n(58142),d=n(38309),u=n(87918),g=n.n(u),x=n(80030);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f.apply(this,arguments)}const h=e=>r().createElement("svg",f({width:20,height:20,fillOpacity:.54,fill:"#000",fillRule:"nonzero",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2.8 1h14.4c.99 0 1.8.81 1.8 1.8v10.8c0 .99-.81 1.8-1.8 1.8H4.6L1 19V2.8C1 1.81 1.81 1 2.8 1z"})),b=(0,i.Z)((()=>({root:{position:"relative",height:"18px",display:"flex",alignItems:"center",justifyContent:"center",marginLeft:"4px",cursor:"pointer"},icon:{"&:hover":{fillOpacity:.7}},childrenWrapper:{position:"absolute",width:"100%",height:"100%",lineHeight:"15px",display:"flex",alignItems:"center",justifyContent:"center",top:"-2px",left:0,right:0,bottom:0,color:"white",fontSize:"10px",pointerEvents:"none"}}))),y=r().forwardRef(((e,t)=>{let{children:n,onClick:a}=e;const o=b();return r().createElement(x.ZP,{title:g().text("Show comment")},r().createElement("div",{ref:t,className:o.root,onClick:a},r().createElement(h,{className:o.icon}),r().createElement("div",{className:o.childrenWrapper},n)))}));y.displayName="CommentButton";const C=y;function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const E=e=>r().createElement("svg",v({width:20,height:20,fillOpacity:.54,fill:"#000",fillRule:"nonzero",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2.8 14.653L3.853 13.6H17.2V2.8H2.8v11.853zM17.2 1c.99 0 1.8.81 1.8 1.8v10.8c0 .99-.81 1.8-1.8 1.8H4.6L1 19V2.8C1 1.81 1.81 1 2.8 1h14.4zm-6.3 3.6H9.1v2.699L6.4 7.3v1.8l2.7-.001V11.8h1.8V9.099l2.7.001V7.3l-2.7-.001V4.6z"})),w=e=>{let{className:t,onClick:n}=e;const a=b();return r().createElement(x.ZP,{title:g().text("Add comment")},r().createElement("div",{className:l()(a.root,t),onClick:n},r().createElement(E,{className:a.icon})))};var N=n(95544),Z=n(90436),k=n(27291),S=n(89925),R=n(39475),T=n(80233);const I=(0,i.Z)((e=>({root:{},header:{display:"flex",alignItems:"center",height:"48px",paddingLeft:"16px",paddingRight:"8px"},headerInfo:{marginRight:"auto",display:"flex",alignItems:"center"},title:{marginRight:"15px",color:e.palette.text.primary,fontSize:"16px"},counter:{paddingLeft:"15px",borderLeft:"1px solid rgba(0,0,0,0.12)",color:e.palette.text.secondary,fontSize:"14px",lineHeight:"24px"},resolveButton:{zIndex:3e3,"&:hover":{backgroundColor:"transparent"}},popper:{width:"424px",borderRadius:"0 0 4px 4px"},collaborationItem:{padding:"0 0 10px 0"},comment:e=>{let{hasScroll:t}=e;return{marginLeft:"16px",marginRight:t?"2px":"8px"}},replies:e=>{let{hasScroll:t}=e;return{marginLeft:"8px",marginRight:t?"2px":"8px"}},sendMessageArea:e=>{let{hasScroll:t,scrollWidth:n}=e;return{marginLeft:"8px",marginRight:t?n+2:"8px"}},messages:{maxHeight:"400px",overflowY:"auto"}}))),O=e=>{let{uri:t,relatedObjectUris:n,objectType:o,anchorEl:l,onClose:i,open:s,comment:c}=e;const[m,d]=(0,a.useState)(0),u=I({scrollWidth:m,hasScroll:0!==m}),x=(0,a.useRef)(null),{resolveThread:f,loading:h,sending:b}=(0,a.useContext)(p.h),y=1+(null==c?void 0:c.replies.length);return r().createElement(T.Z,{popperRef:x,anchorEl:l,open:s,placement:"right-start",onClose:i,className:u.popper},r().createElement(N.Z,{className:u.header},r().createElement(N.Z,{className:u.headerInfo},r().createElement(Z.Z,{className:u.title},g().text("Comments")),c&&!h&&r().createElement(Z.Z,{className:u.counter},g().number(y)," ",1===y?g().text("item"):g().text("items"))),c&&!h&&r().createElement(R.k,{className:u.resolveButton,size:"S",onClick:()=>{f({commentId:c.commentId,uri:t})},disabled:b,showForDisabled:!0,tooltipTitle:g().text("Resolve"),icon:k.Z,color:"primary"})),!h&&r().createElement(S.J,{popperRef:x,messagesRef:e=>{e&&d(e.offsetWidth-e.clientWidth)},classes:{root:u.collaborationItem,replies:u.replies,sendMessageArea:u.sendMessageArea,messages:u.messages,comment:u.comment},uri:t,relatedObjectUris:n,objectType:o,comment:c}))},L=e=>{let{className:t,uri:n,objectType:o,relatedObjectUris:i,onChangePopupVisibility:s,allowOnlyOneComment:u=!1,showAlways:g=!1}=e;const x=c(),[f,h]=(0,a.useState)(null),[b,y]=(0,a.useState)(!1),v=b&&Boolean(f),{currentComment:E,commentsMap:N,getComment:Z,clearCurrentComment:k,objectTypes:S}=(0,a.useContext)(p.h),R=!!N&&(!S||S.includes(o)),T=((null==N?void 0:N[n])||[]).filter((e=>{let{status:t}=e;return"resolved"!==t})).reverse(),I=!u||u&&0===T.length,L=null===E&&v;(0,m.D)((()=>{s&&s(v)}),[v]);const j=(0,a.useContext)(d.A),P=(0,a.useMemo)((()=>j?[...i,...j]:i),[j,i]);return R&&r().createElement("div",{className:l()(x.root,t)},I&&r().createElement(w,{className:l()(x.addButton,{[x.showAlways]:g||L}),onClick:e=>{h(e.currentTarget),y(!0)}}),T.map((e=>{let{replies:t,commentId:n}=e;return r().createElement(C,{ref:n===(null==E?void 0:E.commentId)?h:null,key:n,onClick:()=>(e=>{Z(e),y(!0)})(n)},1+t)})),r().createElement(O,{anchorEl:f,open:v,onClose:()=>{h(null),k(),y(!1)},uri:n,relatedObjectUris:P,objectType:o,comment:E}))}},98538:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(17440),s=n(77277),c=n(48348),m=n(55962),p=n(12231),d=n(90436),u=n(78223),g=n(79692),x=n(41128);const f=(0,g.Z)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,x.U1)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,x.U1)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),h=(0,u.Z)(p.Z),b=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=i.identity}=e;const o=f(),{disabled:l,text:s,tooltip:c,onClick:m,id:p=""}=n;return r().createElement(h,{tooltipTitle:c,showForDisabled:!0,classes:{root:o.menuItem},onClick:e=>{a(e),m(e)},disabled:l,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},r().createElement(d.Z,{classes:{root:o.menuText}},s))}));b.displayName="MenuItemRenderer";const y=b;function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},C.apply(this,arguments)}function v(e){let{className:t,menuId:n,buttonComponent:o=s.Z,buttonContent:p,menuItems:d=[],buttonProps:u={},popoverProps:g={},onMenuOpen:x=i.identity,onMenuClose:h=i.identity,MenuItemRenderer:b=y}=e;const v=o,E=f(),w=(0,a.useRef)(),[N,Z]=(0,a.useState)(!1);(0,m.D)((()=>{N?x():h()}),[N]);const k=(0,a.useCallback)((e=>{null==e||e.stopPropagation(),Z((e=>!e))}),[]);return r().createElement(r().Fragment,null,r().createElement(v,C({ref:w,className:l()(E.buttonRoot,{[E.selected]:N},t),onClick:k,"aria-pressed":N,"aria-controls":N?n:void 0,"aria-haspopup":"true"},u),p),r().createElement(c.Z,C({id:n,variant:"menu",open:N,autoFocus:!1,classes:{paper:E.paper},anchorEl:w.current,onClose:k,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:N}},g),d.map(((e,t)=>r().createElement(b,{item:e,key:t,onMenuClose:k})))))}v.displayName="DropDownMenuButton";const E=v},37573:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(43434),c=n(79779),m=n(89810);const p=e=>{let{entity:t,avatarClassName:n,imageClassName:a}=e;const l=(0,o.useSelector)(m.ZP.selectors.getMetadata),p=(0,o.useSelector)(m.ZP.selectors.getAbsoluteImagePath)||"",d=(0,c.uie)(l,p,t),u=(0,c.vPL)(p,(0,c.XH2)(l,t.type)),g=e=>{e.target.onError=null,e.target.src=(0,c.m5F)('\n<svg width="400px" height="400px" viewBox="0 0 400 400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Group</title>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="Group" fill-rule="nonzero">\n <rect id="Rectangle" fill="#DFE5E9" x="0" y="0" width="400" height="400"></rect>\n <path d="M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n <path d="M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n <path d="M5.68434189e-14,387.023257 L5.68434189e-14,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 5.68434189e-14,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n </g>\n </g>\n</svg>\n')};return r().createElement(s.Z,{className:i()(n,a),src:d,imgProps:{onError:g}},r().createElement("img",{className:a,src:u,alt:"fallback entity avatar",onError:g}))}},20146:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(90436),c=n(79779),m=n(89810);const p=(0,n(79692).Z)({"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",display:"inline-flex",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px"}}),d=e=>{let{entity:t,className:n,size:a="small"}=e;const l=p(),d=(0,o.useSelector)(m.ZP.selectors.getMetadata),u=t.type,g=(0,c.nt9)(d,u)||{},x=(0,c.VD3)(d,g,"typeColor")||c.rSc.palette.primary.main;return r().createElement(s.Z,{style:{backgroundColor:x,color:c.P6Y.Colors.getColor(x)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${a}`],n),component:"div"},(0,c.jFi)(d,t))}},18527:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(52730),l=n(12212),i=n(89810),s=n(79779);const c=(0,a.forwardRef)(((e,t)=>{let{value:n,children:c,className:m}=e;const p=(0,o.useDispatch)(),d=(0,a.useContext)(l.m),u=(0,o.useSelector)(i.ZP.selectors.getUIPath),g=(0,a.useCallback)((()=>{p(i.ui.actions.openEntity({uri:n,viewId:d}))}),[d,n,p]);return r().createElement("a",{ref:t,href:(x=n,(0,s.ChB)({uiPath:u,uri:x})),onClick:e=>{g(),e.stopPropagation(),e.preventDefault()},className:m},c);var x}));c.displayName="EntityUriLink";const m=c},87378:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(67358);const s=(0,n(79692).Z)({loadingOverlay:{position:"absolute",width:"100%",height:"100%",top:0,left:0,opacity:.37,zIndex:10,backgroundColor:"#fff"},transparent:{backgroundColor:"transparent"},relativePosition:{"&$loadingOverlay":{position:"relative"}}}),c=e=>{let{transparent:t=!1,relativePosition:n=!1,className:a}=e;const o=s();return r().createElement(r().Fragment,null,r().createElement("div",{className:l()(o.loadingOverlay,a,{[o.transparent]:t,[o.relativePosition]:n})},r().createElement(i.Z,{color:"secondary"})))}},80233:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(27556),s=n(1292),c=n(95544),m=n(7421);const p=(0,n(79692).Z)((e=>{const t=e.palette.background.paper;return{popoverRoot:{backgroundColor:t,maxWidth:1e3},popper:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t,"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",boxShadow:e.shadows[1],backgroundColor:"currentColor",transform:"rotate(45deg)"}}}})),d=e=>{let{anchorEl:t,placement:n="top",arrow:a=!0,open:o,onClose:d=(()=>{}),children:u,className:g,popperRef:x}=e;const f=p(),[h,b]=r().useState(null);return r().createElement(m.Z,{anchorEl:t,placement:n,className:l()(f.popper,g),modifiers:{preventOverflow:{enabled:!0,boundariesElement:"window"},arrow:{enabled:a,element:h}},open:o,modal:!1,popperRef:x},r().createElement(c.Z,null,r().createElement(s.Z,{onClickAway:e=>{var t;t=e.target,Array.from(document.querySelectorAll("[data-modal]")).some((e=>e.contains(t)))||d()}},r().createElement(i.Z,{className:f.popoverRoot},a?r().createElement("span",{className:f.arrow,ref:b}):null,r().createElement(c.Z,null,u)))))}},33109:(e,t,n)=>{n.d(t,{Z:()=>w});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(71153),s=n.n(i),c=n(52730),m=n(17440),p=n(90436),d=n(80030),u=n(87918),g=n.n(u),x=n(79779),f=n(89810),h=n(37573),b=n(63127),y=n(20146);const C=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}},scores:{display:"flex",flexGrow:1,justifyContent:"flex-end",paddingRight:"20px"}})));function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const E=e=>{let{className:t,entity:n,scoresToShow:o,rangeColorsConfig:l,children:i,classes:u}=e;const E=C({classes:u}),w=(0,c.useSelector)(f.ZP.selectors.getMetadata),N=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,x.BTI)(n))}),[n]);if((0,m.isNil)(n))return null;const Z=(0,x.idV)(n.label),k=n.secondaryLabel,S=(0,x.ptG)(w,n),R=(0,x.Fn9)(n),T=(0,x.AET)(w,n,o),I=n.uri,O=(0,x.BTI)(n);return r().createElement("div",{className:s()(E.profileBandWrapper,t)},r().createElement("div",{className:s()(E.profileBand,{[E.inactive]:!R}),"data-entity-uri":I},r().createElement(h.Z,{key:n.uri,entity:n,avatarClassName:E.profileIcon,imageClassName:E.imageProfileIcon}),r().createElement("div",{className:E.profileInfo},r().createElement("div",null,r().createElement(p.Z,{variant:"h6",className:E.label},Z),k&&r().createElement(p.Z,{variant:"subtitle2",className:E.secondaryLabel},k),S&&r().createElement(p.Z,{variant:"subtitle1",className:E.businessCard},S)),r().createElement("div",{className:E.specialInfo},r().createElement("div",{className:E.entityType},r().createElement(y.Z,{entity:n,size:"medium",className:E.badge}),T.length>0&&r().createElement("div",{className:E.scores},T.map((e=>r().createElement(b.Z,v({key:e.uri},e,{rangeColorsConfig:l}))))),!(0,x.ZiX)(I)&&r().createElement(d.ZP,{title:g().text("Copy to clipboard")},r().createElement(p.Z,{display:"inline",variant:"body2",className:E.entityId,onClick:N},g().text("Entity ID"),": ",O))))),i&&r().createElement("div",null,i)))};E.propTypes={className:l().string,entity:l().object,scoresToShow:l().arrayOf(l().string),rangeColorsConfig:l().object,children:l().node,classes:l().object};const w=E},63127:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(71153),s=n.n(i),c=n(79779),m=n(74139),p=n(46801);const d=e=>{let{label:t,value:n,uri:a,rangeColorsConfig:o,className:l}=e;const i=(0,p.y)();return r().createElement("div",{className:s()(i.container,l),key:a},r().createElement(m.Z,{attrTypeUri:a,label:t}),r().createElement("span",{className:i.value,style:{color:(0,c.Uz2)(a,n,o)}},n))};d.propTypes={label:l().string,value:l().oneOfType([l().string,l().number]),uri:l().string,rangeColorsConfig:l().object,className:l().string};const u=d},74139:(e,t,n)=>{n.d(t,{Z:()=>x});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(87918),s=n.n(i),c=n(17440),m=n(46801);const p=()=>{const e=(0,m.m)();return r().createElement(r().Fragment,null,r().createElement("span",null,"DQ"),r().createElement("span",{className:e.dqiq},"IQ"))},d=["analyticsAttributes/DQ/analyticsAttributes/score","analyticsAttributes/DQ"],u=["analyticsAttributes/IQ/analyticsAttributes/score","analyticsAttributes/IQ"],g=e=>{let{label:t="",attrTypeUri:n=""}=e;const a=n.indexOf("analyticsAttributes/"),o=n.substr(a),l=(0,c.includes)(o,d),i=(0,c.includes)(o,u);return(0,c.cond)([[(0,c.always)(l),(0,c.always)(r().createElement(p,null))],[(0,c.always)(i),(0,c.always)(s().text("Rank"))],[c.T,(0,c.always)(t)]])()};g.propTypes={label:l().string,attrTypeUri:l().string};const x=g},46801:(e,t,n)=>{n.d(t,{y:()=>r,m:()=>o});var a=n(79692);const r=(0,a.Z)({container:{display:"flex",flexShrink:0,marginLeft:"10px",alignItems:"center"},value:{marginLeft:"4px",minWidth:"20px",textAlign:"center"}}),o=(0,a.Z)({dqiq:{width:"14px",height:"14px",lineHeight:"14px",background:"#e6605e",color:"#fff",fontSize:"10px",fontWeight:100,marginLeft:"2px",marginRight:"1px",borderRadius:"2px",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,textIndent:0}})},62901:(e,t,n)=>{n.d(t,{U:()=>a});const a="commentsContainerVisibilityArea"},58142:(e,t,n)=>{n.d(t,{h:()=>o});var a=n(24328);const r=()=>{},o=n.n(a)().createContext({comments:[],commentsMap:null,currentComment:null,getComment:r,getComments:()=>new Promise(r),getCommentsCount:r,createComment:()=>new Promise(r),editComment:()=>new Promise(r),createReply:()=>new Promise(r),resolveThread:r,reOpenThread:r,clearCurrentComment:r,deleteComment:r,sending:!1,loading:!1,pageToken:null});o.displayName="CollaborationContext"},63929:(e,t,n)=>{n.d(t,{X:()=>r});var a=n(24328);const r=n.n(a)().createContext({});r.displayName="EntitiesMapContext"},38309:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(24328);const r=n.n(a)().createContext([]);r.displayName="RelatedObjectUrisContext"},89575:(e,t,n)=>{n.d(t,{s:()=>r});var a=n(24328);const r=n.n(a)().createContext([]);r.displayName="UsersContext"},12212:(e,t,n)=>{n.d(t,{m:()=>r});var a=n(24328);const r=n.n(a)().createContext(null);r.displayName="ViewIdContext"}}]);
package/4992.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4992],{89998:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"}},54053:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n.Z});var n=r(43434)},6782:(e,t,r)=>{t.Z=function(e){if("string"!=typeof e)throw new Error((0,n.formatMuiErrorMessage)(7));return e.charAt(0).toUpperCase()+e.slice(1)};var n=r(65144)},65549:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},77224:(e,t,r)=>{var n=r(14859);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business");t.default=a},38016:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},98018:(e,t,r)=>{t.ZP=void 0;var n=p(r(54053)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(24328)),a=p(r(99340)),i=p(r(77224)),u=p(r(13980)),l=p(r(80835)),c=p(r(97339)),f=p(r(71153));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w=p(r(89998)).default[500],P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(u,e);var t,r,a=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var r,n=m(e);if(t()){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}(u);function u(){var e;v(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(g(e=a.call.apply(a,[this].concat(r))),"state",{error:!1}),O(g(e),"handleError",(function(){e.setState({error:!0})})),e}return t=u,(r=[{key:"render",value:function(){var e=this.props,t=e.entityType,r=e.storagePath,a=e.classes,u=e.backgroundColor,c=e.color,s=e.className,p=t.typeIcon||t.typeImage;if(p&&!this.state.error)return o.default.createElement(n.default,{className:(0,f.default)(s,a.avatar),style:{border:"2px solid ".concat(t.typeColor||w),backgroundColor:"#FFFFFF"},src:r+p,imgProps:{onError:this.handleError}});var d=(0,l.default)(t);return o.default.createElement(n.default,{className:(0,f.default)(s,a.avatar),style:{border:"2px solid ".concat(t.typeColor||w),backgroundColor:u||t.typeColor||w,color:c}},d&&d.charAt(0)||o.default.createElement(i.default,null))}}])&&h(t.prototype,r),u}(o.PureComponent);O(P,"propTypes",{entityType:u.default.shape({typeColor:u.default.string,typeIcon:u.default.string,typeImage:u.default.string,label:u.default.string,uri:u.default.string}),className:u.default.string,classes:u.default.shape({avatar:u.default.string}),storagePath:u.default.string,backgroundColor:u.default.string,color:u.default.string}),O(P,"defaultProps",{storagePath:"https://reltio-images.s3.amazonaws.com/api/",entityType:{},color:"#FFFFFF"});var _=(0,a.default)(c.default)(P);t.ZP=_},97339:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={avatar:{"& img":{display:"flex",flexDirection:"row",alignItems:"center","&::before":{width:"100%"}}}}},80835:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(0,o.default)(e,"label")||(0,o.default)(e,"uri","").slice((0,o.default)(e,"uri","").lastIndexOf("/")+1):null};var n,o=(n=r(72579))&&n.__esModule?n:{default:n}},70347:(e,t,r)=>{r.d(t,{ZP:()=>_}),r(22220);var n=r(7560),o=(r(51068),r(11720)),a=r(51119),i=r(64659),u=r(4730),l=(r(38111),r(96474)),c=r(50591),f=r(75630),s=r(24328),p=r.n(s),d=(r(27377),r(75047),r(58921),r(92391)),v=r(54573),h=(r(78951),r(19976),r(61950),r(64486));function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var b,g,m,O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=String(e).toLowerCase(),n=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return n===r||o===r},w=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,r){return!(!e||t.some((function(t){return O(e,t)}))||r.some((function(t){return O(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),P=(b=v.S,m=g=function(e){(0,l.Z)(s,e);var t,r,a=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,f.Z)(t);if(r){var o=(0,f.Z)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function s(e){var t;(0,i.Z)(this,s),(t=a.call(this,e)).select=void 0,t.onChange=function(e,r){var n=t.props,a=n.getNewOptionData,i=n.inputValue,u=n.isMulti,l=n.onChange,c=n.onCreateOption,f=n.value,s=n.name;if("select-option"!==r.action)return l(e,r);var p=t.state.newOption,v=Array.isArray(e)?e:[e];if(v[v.length-1]!==p)l(e,r);else if(c)c(i);else{var h=a(i,i),y={action:"create-option",name:s};l(u?[].concat((0,o.Z)((0,d.C)(f)),[h]):h,y)}};var r=e.options||[];return t.state={newOption:void 0,options:r},t}return(0,u.Z)(s,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,r=e.createOptionPosition,n=e.formatCreateLabel,a=e.getNewOptionData,i=e.inputValue,u=e.isLoading,l=e.isValidNewOption,c=e.value,f=e.options||[],s=this.state.newOption;s=l(i,(0,d.C)(c),f)?a(i,n(i)):void 0,this.setState({newOption:s,options:!t&&u||!s?f:"first"===r?[s].concat((0,o.Z)(f)):[].concat((0,o.Z)(f),[s])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return p().createElement(b,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),s}(s.Component),g.defaultProps=w,m);const _=(0,h.m)(P)},44711:(e,t,r)=>{r.d(t,{ZP:()=>i}),r(22220),r(58527),r(51068),r(75182),r(81260);r(64659),r(4730),r(38111),r(96474),r(50591),r(75630);var n=r(24328),o=(r(36631),r(27377),r(75047),r(58921),r(54573)),a=(r(78951),r(19976),r(61950),r(64486));r(5049);n.Component;const i=(0,a.m)(o.S)}}]);
package/5026.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 5026.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5026],{35307:(e,t,n)=>{function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,{Z:()=>a})},12420:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(36138);function r(e){return(0,a.createStyles)(e)}},65026:(e,t,n)=>{n.r(t),n.d(t,{Calendar:()=>He,Clock:()=>ht,DatePicker:()=>Yt,DateTimePicker:()=>ln,Day:()=>Pe,KeyboardDatePicker:()=>Kt,KeyboardDateTimePicker:()=>sn,KeyboardTimePicker:()=>Jt,MuiPickersContext:()=>se,MuiPickersUtilsProvider:()=>ce,Picker:()=>It,TimePicker:()=>Xt,TimePickerView:()=>xt,makeKeyboardPicker:()=>Wt,makePurePicker:()=>Rt,useKeyboardPickerState:()=>Ht,usePickerState:()=>Bt,useUtils:()=>ue,validate:()=>Ot});var a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},a(e,t)};function r(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function i(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&(n[a[r]]=e[a[r]])}return n}var l=n(24328),s=n.n(l),c=n(13980),u=n(6277),d=n(90436),p=n(79692),m=n(41128),f=n(12420),h=n(15459),v=n(60364),g=n(77277),b=n(15223),y=n(61837);function E(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},C.apply(this,arguments)}function x(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}const w=s().createContext(null);function M(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function k(e,t,n){return null!=n[t]?n[t]:e.props[t]}function P(e,t,n){var a=M(e.children),r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a,r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l={};for(var s in t){if(r[s])for(a=0;a<r[s].length;a++){var c=r[s][a];l[r[s][a]]=n(c)}l[s]=n(s)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}(t,a);return Object.keys(r).forEach((function(o){var i=r[o];if((0,l.isValidElement)(i)){var s=o in t,c=o in a,u=t[o],d=(0,l.isValidElement)(u)&&!u.props.in;!c||s&&!d?c||!s||d?c&&s&&(0,l.isValidElement)(u)&&(r[o]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:u.props.in,exit:k(i,"exit",e),enter:k(i,"enter",e)})):r[o]=(0,l.cloneElement)(i,{in:!1}):r[o]=(0,l.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:k(i,"exit",e),enter:k(i,"enter",e)})}})),r}var T=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},S=function(e){function t(t,n){var a,r=(a=e.call(this,t,n)||this).handleExited.bind(D(D(a)));return a.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},a}x(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,a,r=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,a=o,M(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:a.bind(null,e),in:!0,appear:k(e,"appear",n),enter:k(e,"enter",n),exit:k(e,"exit",n)})}))):P(e,r,o),firstRender:!1}},n.handleExited=function(e,t){var n=M(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=C({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,a=E(e,["component","childFactory"]),r=this.state.contextValue,o=T(this.state.children).map(n);return delete a.appear,delete a.enter,delete a.exit,null===t?s().createElement(w.Provider,{value:r},o):s().createElement(w.Provider,{value:r},s().createElement(t,a,o))},t}(s().Component);S.propTypes={},S.defaultProps={component:"div",childFactory:function(e){return e}};const I=S;var N=n(2196),A=n.n(N),L=n(24812),O=n.n(L),Z=n(75047),B=n.n(Z);var F="unmounted",R="exited",V="entering",H="entered",W="exiting",j=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?o?(r=R,a.appearStatus=V):r=H:r=t.unmountOnExit||t.mountOnEnter?F:R,a.state={status:r},a.nextCallback=null,a}x(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===F?{status:R}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==V&&n!==H&&(t=V):n!==V&&n!==H||(t=W)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!=typeof a&&(e=a.exit,t=a.enter,n=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=B().findDOMNode(this);t===V?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===R&&this.setState({status:F})},n.performEnter=function(e,t){var n=this,a=this.props.enter,r=this.context?this.context.isMounting:t,o=this.getTimeouts(),i=r?o.appear:o.enter;t||a?(this.props.onEnter(e,r),this.safeSetState({status:V},(function(){n.props.onEntering(e,r),n.onTransitionEnd(e,i,(function(){n.safeSetState({status:H},(function(){n.props.onEntered(e,r)}))}))}))):this.safeSetState({status:H},(function(){n.props.onEntered(e)}))},n.performExit=function(e){var t=this,n=this.props.exit,a=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:W},(function(){t.props.onExiting(e),t.onTransitionEnd(e,a.exit,(function(){t.safeSetState({status:R},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:R},(function(){t.props.onExited(e)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var a=null==t&&!this.props.addEndListener;e&&!a?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===F)return null;var t=this.props,n=t.children,a=E(t,["children"]);if(delete a.in,delete a.mountOnEnter,delete a.unmountOnExit,delete a.appear,delete a.enter,delete a.exit,delete a.timeout,delete a.addEndListener,delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,"function"==typeof n)return s().createElement(w.Provider,{value:null},n(e,a));var r=s().Children.only(n);return s().createElement(w.Provider,{value:null},s().cloneElement(r,a))},t}(s().Component);function _(){}j.contextType=w,j.propTypes={},j.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:_,onEntering:_,onEntered:_,onExit:_,onExiting:_,onExited:_},j.UNMOUNTED=0,j.EXITED=1,j.ENTERING=2,j.ENTERED=3,j.EXITING=4;const Y=j;var K=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return O()(e,t)}))},U=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var a=n?"appear":"enter";t.addClass(e,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var a=n?"appear":"enter";t.removeClasses(e,a),t.addClass(e,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,a="string"==typeof n,r=a?(a&&n?n+"-":"")+e:n[e];return{baseClassName:r,activeClassName:a?r+"-active":n[e+"Active"],doneClassName:a?r+"-done":n[e+"Done"]}},t}x(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var a=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(a+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=a,function(e,t){e&&t&&t.split(" ").forEach((function(t){return A()(e,t)}))}(e,a)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],a=n.base,r=n.active,o=n.done;this.appliedClasses[t]={},a&&K(e,a),r&&K(e,r),o&&K(e,o)},n.render=function(){var e=this.props,t=(e.classNames,E(e,["classNames"]));return s().createElement(Y,C({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s().Component);U.defaultProps={classNames:""},U.propTypes={};const z=U;var Q=n(72379),G=n(4614),q=n(94079),X=n(49429),J=n(38724),$=n(8629),ee=n(79784),te=n(86619),ne=n(50581),ae=n(35307),re=function(e){function t(t){var n;return(n=e.call(this,t)||this)._state=null,n._del=!1,n._handleChange=function(e){var t=n.state.value,a=e.target.value,r=e.target,o=a.length>t.length,i=n._del,l=t===n.props.format(a);n.setState({value:a,local:!0},(function(){var e=r.selectionStart,s=n.props.refuse||/[^\d]+/g,c=a.substr(0,e).replace(s,"");if(n._state={input:r,before:c,op:o,di:i&&l,del:i},n.props.replace&&n.props.replace(t)&&o&&!l){for(var u=-1,d=0;d!==c.length;++d)u=Math.max(u,a.toLowerCase().indexOf(c[d].toLowerCase(),u+1));var p=a.substr(u+1).replace(s,"")[0];u=a.indexOf(p,u+1),a=""+a.substr(0,u)+a.substr(u+1)}var m=n.props.format(a);t===m?n.setState({value:a}):n.props.onChange(m)}))},n._hKD=function(e){"Delete"===e.code&&(n._del=!0)},n._hKU=function(e){"Delete"===e.code&&(n._del=!1)},n.state={value:t.value,local:!0},n}(0,ae.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return{value:t.local?t.value:e.value,local:!1}};var n=t.prototype;return n.render=function(){var e=this._handleChange,t=this.state.value;return(0,this.props.children)({value:t,onChange:e})},n.componentWillUnmount=function(){document.removeEventListener("keydown",this._hKD),document.removeEventListener("keyup",this._hKU)},n.componentDidMount=function(){document.addEventListener("keydown",this._hKD),document.addEventListener("keyup",this._hKU)},n.componentDidUpdate=function(){var e=this._state;if(e){for(var t=this.state.value,n=-1,a=0;a!==e.before.length;++a)n=Math.max(n,t.toLowerCase().indexOf(e.before[a].toLowerCase(),n+1));if(this.props.replace&&(e.op||e.del&&!e.di))for(;t[n+1]&&(this.props.refuse||/[^\d]+/).test(t[n+1]);)n+=1;e.input.selectionStart=e.input.selectionEnd=n+1+(e.di?1:0)}this._state=null},t}(l.Component),oe=n(6487),ie=n(99152),le=n(27556),se=(0,l.createContext)(null),ce=function(e){var t=e.utils,n=e.children,a=e.locale,r=e.libInstance,o=(0,l.useMemo)((function(){return new t({locale:a,moment:r})}),[t,r,a]);return(0,l.createElement)(se.Provider,{value:o,children:n})};function ue(){var e=(0,l.useContext)(se);return function(e){if(!e)throw new Error("Can not find utils in context. You either a) forgot to wrap your component tree in MuiPickersUtilsProvider; or b) mixed named and direct file imports. Recommendation: use named imports from the module index.")}(e),e}var de=(0,p.Z)((function(e){var t="light"===e.palette.type?e.palette.primary.contrastText:e.palette.getContrastText(e.palette.background.default);return{toolbarTxt:{color:(0,m.U1)(t,.54)},toolbarBtnSelected:{color:t}}}),{name:"MuiPickersToolbarText"}),pe=function(e){var t,n=e.selected,a=e.label,r=e.className,s=void 0===r?null:r,c=i(e,["selected","label","className"]),p=de();return(0,l.createElement)(d.Z,o({children:a,className:(0,u.Z)(p.toolbarTxt,s,(t={},t[p.toolbarBtnSelected]=n,t))},c))},me=function(e){var t=e.classes,n=e.className,a=void 0===n?null:n,r=e.label,s=e.selected,c=e.variant,d=e.align,p=e.typographyClassName,m=i(e,["classes","className","label","selected","variant","align","typographyClassName"]);return(0,l.createElement)(g.Z,o({variant:"text",className:(0,u.Z)(t.toolbarBtn,a)},m),(0,l.createElement)(pe,{align:d,className:p,variant:c,label:r,selected:s}))};me.defaultProps={className:""};var fe=(0,f.Z)({toolbarBtn:{padding:0,minWidth:"16px",textTransform:"none"}}),he=(0,h.Z)(fe,{name:"MuiPickersToolbarButton"})(me),ve=(0,p.Z)((function(e){return{toolbar:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",height:100,backgroundColor:"light"===e.palette.type?e.palette.primary.main:e.palette.background.default},toolbarLandscape:{height:"auto",maxWidth:150,padding:8,justifyContent:"flex-start"}}}),{name:"MuiPickersToolbar"}),ge=function(e){var t,n=e.children,a=e.isLandscape,r=e.className,s=void 0===r?null:r,c=i(e,["children","isLandscape","className"]),d=ve();return(0,l.createElement)(b.Z,o({className:(0,u.Z)(d.toolbar,(t={},t[d.toolbarLandscape]=a,t),s)},c),n)};function be(e,t){return Array.isArray(t)?t.every((function(t){return-1!==e.indexOf(t)})):-1!==e.indexOf(t)}var ye=function(e){return 1===e.length&&"year"===e[0]},Ee=function(e){return 2===e.length&&be(e,"month")&&be(e,"year")},Ce=(0,p.Z)({toolbar:{flexDirection:"column",alignItems:"flex-start"},toolbarLandscape:{padding:16},dateLandscape:{marginRight:16}},{name:"MuiPickersDatePickerRoot"}),xe=function(e){var t,n,a=e.date,r=e.views,o=e.setOpenView,i=e.isLandscape,s=e.openView,c=ue(),d=Ce(),p=(0,l.useMemo)((function(){return ye(r)}),[r]),m=(0,l.useMemo)((function(){return Ee(r)}),[r]);return(0,l.createElement)(ge,{isLandscape:i,className:(0,u.Z)((t={},t[d.toolbar]=!p,t[d.toolbarLandscape]=i,t))},(0,l.createElement)(he,{variant:p?"h3":"subtitle1",onClick:function(){return o("year")},selected:"year"===s,label:c.getYearText(a)}),!p&&!m&&(0,l.createElement)(he,{variant:"h4",selected:"date"===s,onClick:function(){return o("date")},align:i?"left":"center",label:c.getDatePickerHeaderText(a),className:(0,u.Z)((n={},n[d.dateLandscape]=i,n))}),m&&(0,l.createElement)(he,{variant:"h4",onClick:function(){return o("month")},selected:"month"===s,label:c.getMonthText(a)}))},De=((0,c.oneOfType)([c.object,c.string,c.number,(0,c.instanceOf)(Date)]),(0,c.oneOf)(["year","month","day"]),{ampm:!0,invalidDateMessage:"Invalid Time Format"}),we={minDate:new Date("1900-01-01"),maxDate:new Date("2100-01-01"),invalidDateMessage:"Invalid Date Format",minDateMessage:"Date should not be before minimal date",maxDateMessage:"Date should not be after maximal date",allowKeyboardControl:!0},Me=o({},De,we,{showTabs:!0}),ke=(0,p.Z)((function(e){return{day:{width:36,height:36,fontSize:e.typography.caption.fontSize,margin:"0 2px",color:e.palette.text.primary,fontWeight:e.typography.fontWeightMedium,padding:0},hidden:{opacity:0,pointerEvents:"none"},current:{color:e.palette.primary.main,fontWeight:600},daySelected:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{backgroundColor:e.palette.primary.main}},dayDisabled:{pointerEvents:"none",color:e.palette.text.hint}}}),{name:"MuiPickersDay"}),Pe=function(e){var t,n=e.children,a=e.disabled,r=e.hidden,s=e.current,c=e.selected,p=i(e,["children","disabled","hidden","current","selected"]),m=ke(),f=(0,u.Z)(m.day,((t={})[m.hidden]=r,t[m.current]=s,t[m.daySelected]=c,t[m.dayDisabled]=a,t));return(0,l.createElement)(y.Z,o({className:f,tabIndex:r||a?-1:0},p),(0,l.createElement)(d.Z,{variant:"body2",color:"inherit"},n))};Pe.displayName="Day",Pe.defaultProps={disabled:!1,hidden:!1,current:!1,selected:!1};var Te=function(e){var t=e.children,n=e.value,a=e.disabled,r=e.onSelect,s=e.dayInCurrentMonth,c=i(e,["children","value","disabled","onSelect","dayInCurrentMonth"]),u=(0,l.useCallback)((function(){return r(n)}),[r,n]);return(0,l.createElement)("div",o({role:"presentation",onClick:s&&!a?u:void 0,onKeyPress:s&&!a?u:void 0},c),t)},Se=(0,p.Z)((function(e){var t=e.transitions.create("transform",{duration:350,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{transitionContainer:{display:"block",position:"relative","& > *":{position:"absolute",top:0,right:0,left:0}},"slideEnter-left":{willChange:"transform",transform:"translate(100%)"},"slideEnter-right":{willChange:"transform",transform:"translate(-100%)"},slideEnterActive:{transform:"translate(0%)",transition:t},slideExit:{transform:"translate(0%)"},"slideExitActiveLeft-left":{willChange:"transform",transform:"translate(-200%)",transition:t},"slideExitActiveLeft-right":{willChange:"transform",transform:"translate(200%)",transition:t}}}),{name:"MuiPickersSlideTransition"}),Ie=function(e){var t=e.children,n=e.transKey,a=e.slideDirection,r=e.className,o=void 0===r?null:r,i=Se(),s={exit:i.slideExit,enterActive:i.slideEnterActive,enter:i["slideEnter-"+a],exitActive:i["slideExitActiveLeft-"+a]};return(0,l.createElement)(I,{className:(0,u.Z)(i.transitionContainer,o),childFactory:function(e){return(0,l.cloneElement)(e,{classNames:s})}},(0,l.createElement)(z,{mountOnEnter:!0,unmountOnExit:!0,key:n+a,timeout:350,classNames:s,children:t}))},Ne=(0,p.Z)((function(e){return{switchHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:e.spacing(.5),marginBottom:e.spacing(1)},transitionContainer:{width:"100%",overflow:"hidden",height:23},iconButton:{zIndex:1,backgroundColor:e.palette.background.paper},daysHeader:{display:"flex",justifyContent:"center",alignItems:"center",maxHeight:16},dayLabel:{width:36,margin:"0 2px",textAlign:"center",color:e.palette.text.hint}}}),{name:"MuiPickersCalendarHeader"}),Ae=function(e){var t=e.currentMonth,n=e.onMonthChange,a=e.leftArrowIcon,r=e.rightArrowIcon,i=e.leftArrowButtonProps,s=e.rightArrowButtonProps,c=e.disablePrevMonth,u=e.disableNextMonth,p=e.slideDirection,m=ue(),f=Ne(),h="rtl"===(0,v.Z)().direction;return(0,l.createElement)("div",null,(0,l.createElement)("div",{className:f.switchHeader},(0,l.createElement)(y.Z,o({},i,{disabled:c,onClick:function(){return n(m.getPreviousMonth(t),"right")},className:f.iconButton}),h?r:a),(0,l.createElement)(Ie,{slideDirection:p,transKey:t.toString(),className:f.transitionContainer},(0,l.createElement)(d.Z,{align:"center",variant:"body1"},m.getCalendarHeaderText(t))),(0,l.createElement)(y.Z,o({},s,{disabled:u,onClick:function(){return n(m.getNextMonth(t),"left")},className:f.iconButton}),h?a:r)),(0,l.createElement)("div",{className:f.daysHeader},m.getWeekdays().map((function(e,t){return(0,l.createElement)(d.Z,{key:t,variant:"caption",className:f.dayLabel},e)}))))};Ae.displayName="CalendarHeader",Ae.defaultProps={leftArrowIcon:(0,l.createElement)((function(e){return s().createElement(Q.Z,o({},e),s().createElement("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),s().createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))}),null),rightArrowIcon:(0,l.createElement)((function(e){return s().createElement(Q.Z,o({},e),s().createElement("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),s().createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))}),null),disablePrevMonth:!1,disableNextMonth:!1};var Le="undefined"==typeof window?l.useEffect:l.useLayoutEffect;function Oe(e,t){var n=t[e.key];n&&(n(),e.preventDefault())}function Ze(e,t){var n=(0,l.useRef)(t);Le((function(){n.current=t})),(0,l.useEffect)((function(){if(e){var n=function(e){Oe(e,t)};return window.addEventListener("keydown",n),function(){window.removeEventListener("keydown",n)}}}),[e,t])}var Be,Fe,Re=function(e){var t=e.onKeyDown;return(0,l.useEffect)((function(){return window.addEventListener("keydown",t),function(){window.removeEventListener("keydown",t)}}),[t]),null},Ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={slideDirection:"left",currentMonth:t.props.utils.startOfMonth(t.props.date),loadingQueue:0},t.pushToLoadingQueue=function(){var e=t.state.loadingQueue+1;t.setState({loadingQueue:e})},t.popFromLoadingQueue=function(){var e=t.state.loadingQueue;e=e<=0?0:e-1,t.setState({loadingQueue:e})},t.handleChangeMonth=function(e,n){if(t.setState({currentMonth:e,slideDirection:n}),t.props.onMonthChange){var a=t.props.onMonthChange(e);a&&(t.pushToLoadingQueue(),a.then((function(){t.popFromLoadingQueue()})))}},t.validateMinMaxDate=function(e){var n=t.props,a=n.minDate,r=n.maxDate,o=n.utils,i=n.disableFuture,l=n.disablePast,s=o.date();return Boolean(i&&o.isAfterDay(e,s)||l&&o.isBeforeDay(e,s)||a&&o.isBeforeDay(e,o.date(a))||r&&o.isAfterDay(e,o.date(r)))},t.shouldDisablePrevMonth=function(){var e=t.props,n=e.utils,a=e.disablePast,r=e.minDate,o=n.date(),i=n.startOfMonth(a&&n.isAfter(o,n.date(r))?o:n.date(r));return!n.isBefore(i,t.state.currentMonth)},t.shouldDisableNextMonth=function(){var e=t.props,n=e.utils,a=e.disableFuture,r=e.maxDate,o=n.date(),i=n.startOfMonth(a&&n.isBefore(o,n.date(r))?o:n.date(r));return!n.isAfter(i,t.state.currentMonth)},t.shouldDisableDate=function(e){var n=t.props.shouldDisableDate;return t.validateMinMaxDate(e)||Boolean(n&&n(e))},t.handleDaySelect=function(e,n){void 0===n&&(n=!0);var a=t.props,r=a.date,o=a.utils;t.props.onChange(o.mergeDateAndTime(e,r),n)},t.moveToDay=function(e){var n=t.props.utils;e&&!t.shouldDisableDate(e)&&(n.getMonth(e)!==n.getMonth(t.state.currentMonth)&&t.handleChangeMonth(n.startOfMonth(e),"left"),t.handleDaySelect(e,!1))},t.handleKeyDown=function(e){var n=t.props,a=n.theme,r=n.date,o=n.utils;Oe(e,{ArrowUp:function(){return t.moveToDay(o.addDays(r,-7))},ArrowDown:function(){return t.moveToDay(o.addDays(r,7))},ArrowLeft:function(){return t.moveToDay(o.addDays(r,"ltr"===a.direction?-1:1))},ArrowRight:function(){return t.moveToDay(o.addDays(r,"ltr"===a.direction?1:-1))}})},t.renderWeeks=function(){var e=t.props,n=e.utils,a=e.classes;return n.getWeekArray(t.state.currentMonth).map((function(e){return(0,l.createElement)("div",{key:"week-"+e[0].toString(),className:a.week},t.renderDays(e))}))},t.renderDays=function(e){var n=t.props,a=n.date,r=n.renderDay,o=n.utils,i=o.date(),s=o.startOfDay(a),c=o.getMonth(t.state.currentMonth);return e.map((function(e){var n=t.shouldDisableDate(e),a=o.getMonth(e)===c,u=(0,l.createElement)(Pe,{disabled:n,current:o.isSameDay(e,i),hidden:!a,selected:o.isSameDay(s,e)},o.getDayText(e));return r&&(u=r(e,s,a,u)),(0,l.createElement)(Te,{value:e,key:e.toString(),disabled:n,dayInCurrentMonth:a,onSelect:t.handleDaySelect},u)}))},t}return r(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.utils,a=e.date;if(!n.isEqual(a,t.lastDate)){var r=n.getMonth(a),o=t.lastDate||a,i=n.getMonth(o);return{lastDate:a,currentMonth:e.utils.startOfMonth(a),slideDirection:r===i?t.slideDirection:n.isAfterDay(a,o)?"left":"right"}}return null},t.prototype.componentDidMount=function(){var e=this.props,t=e.date,n=e.minDate,a=e.maxDate,r=e.utils,o=e.disablePast,i=e.disableFuture;if(this.shouldDisableDate(t)){var l=function(e){var t=e.date,n=e.utils,a=e.minDate,r=e.maxDate,o=e.disableFuture,i=e.disablePast,l=e.shouldDisableDate,s=n.startOfDay(n.date());i&&n.isBefore(a,s)&&(a=s),o&&n.isAfter(r,s)&&(r=s);var c=t,u=t;for(n.isBefore(t,a)&&(c=n.date(a),u=null),n.isAfter(t,r)&&(u&&(u=n.date(r)),c=null);c||u;){if(c&&n.isAfter(c,r)&&(c=null),u&&n.isBefore(u,a)&&(u=null),c){if(!l(c))return c;c=n.addDays(c,1)}if(u){if(!l(u))return u;u=n.addDays(u,-1)}}return null}({date:t,utils:r,minDate:r.date(n),maxDate:r.date(a),disablePast:Boolean(o),disableFuture:Boolean(i),shouldDisableDate:this.shouldDisableDate});this.handleDaySelect(l,!1)}},t.prototype.render=function(){var e=this.state,t=e.currentMonth,n=e.slideDirection,a=this.props,r=a.classes,o=a.allowKeyboardControl,i=a.leftArrowButtonProps,s=a.leftArrowIcon,c=a.rightArrowButtonProps,u=a.rightArrowIcon,d=a.loadingIndicator||(0,l.createElement)(G.Z,null);return(0,l.createElement)(l.Fragment,null,o&&(0,l.createElement)(Re,{onKeyDown:this.handleKeyDown}),(0,l.createElement)(Ae,{currentMonth:t,slideDirection:n,onMonthChange:this.handleChangeMonth,leftArrowIcon:s,leftArrowButtonProps:i,rightArrowIcon:u,rightArrowButtonProps:c,disablePrevMonth:this.shouldDisablePrevMonth(),disableNextMonth:this.shouldDisableNextMonth()}),(0,l.createElement)(Ie,{slideDirection:n,transKey:t.toString(),className:r.transitionContainer},(0,l.createElement)(l.Fragment,null,this.state.loadingQueue>0&&(0,l.createElement)("div",{className:r.progressContainer},d)||(0,l.createElement)("div",null,this.renderWeeks()))))},t.defaultProps={minDate:new Date("1900-01-01"),maxDate:new Date("2100-01-01"),disablePast:!1,disableFuture:!1,allowKeyboardControl:!0},t}(l.Component),He=(0,h.Z)((function(e){return{transitionContainer:{minHeight:216,marginTop:e.spacing(1.5)},progressContainer:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},week:{display:"flex",justifyContent:"center"}}}),{name:"MuiPickersCalendar",withTheme:!0})(((Fe=function(e){var t=ue();return(0,l.createElement)(Be,o({utils:t},e))}).displayName="WithUtils("+((Be=Ve).displayName||Be.name)+")",Fe)),We=(0,p.Z)((function(e){return{root:{height:40,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",outline:"none","&:focus":{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium}},yearSelected:{margin:"10px 0",fontWeight:e.typography.fontWeightMedium},yearDisabled:{pointerEvents:"none",color:e.palette.text.hint}}}),{name:"MuiPickersYear"}),je=function(e){var t,n=e.onSelect,a=e.forwardedRef,r=e.value,s=e.selected,c=e.disabled,p=e.children,m=i(e,["onSelect","forwardedRef","value","selected","disabled","children"]),f=We(),h=(0,l.useCallback)((function(){return n(r)}),[n,r]);return(0,l.createElement)(d.Z,o({role:"button",component:"div",tabIndex:c?-1:0,onClick:h,onKeyPress:h,color:s?"primary":void 0,variant:s?"h5":"subtitle1",children:p,ref:a,className:(0,u.Z)(f.root,(t={},t[f.yearSelected]=s,t[f.yearDisabled]=c,t))},m))};je.displayName="Year";var _e=(0,l.forwardRef)((function(e,t){return(0,l.createElement)(je,o({},e,{forwardedRef:t}))})),Ye=310,Ke=(0,q.makeStyles)((function(e){return{staticWrapperRoot:{overflow:"hidden",minWidth:Ye,display:"flex",flexDirection:"column",backgroundColor:e.palette.background.paper}}}),{name:"MuiPickersStaticWrapper"}),Ue=function(e){var t=e.children,n=Ke();return(0,l.createElement)("div",{className:n.staticWrapperRoot,children:t})},ze=function(e){var t,n,a=e.children,r=e.classes,s=e.onAccept,c=e.onDismiss,d=e.onClear,p=e.onSetToday,m=e.okLabel,f=e.cancelLabel,h=e.clearLabel,v=e.todayLabel,b=e.clearable,y=e.showTodayButton,E=(e.showTabs,e.wider),C=i(e,["children","classes","onAccept","onDismiss","onClear","onSetToday","okLabel","cancelLabel","clearLabel","todayLabel","clearable","showTodayButton","showTabs","wider"]);return(0,l.createElement)($.Z,o({role:"dialog",onClose:c,classes:{paper:(0,u.Z)(r.dialogRoot,(t={},t[r.dialogRootWider]=E,t))}},C),(0,l.createElement)(J.Z,{children:a,className:r.dialog}),(0,l.createElement)(X.Z,{classes:{root:(0,u.Z)((n={},n[r.withAdditionalAction]=b||y,n))}},b&&(0,l.createElement)(g.Z,{color:"primary",onClick:d},h),!b&&y&&(0,l.createElement)(g.Z,{color:"primary",onClick:p},v),f&&(0,l.createElement)(g.Z,{color:"primary",onClick:c},f),m&&(0,l.createElement)(g.Z,{color:"primary",onClick:s},m)))};ze.displayName="ModalDialog";var Qe=(0,f.Z)({dialogRoot:{minWidth:Ye},dialogRootWider:{},dialog:{"&:first-child":{padding:0}},withAdditionalAction:{justifyContent:"flex-start","& > *:first-child":{marginRight:"auto"}}}),Ge=(0,h.Z)(Qe,{name:"MuiPickersModal"})(ze),qe=function(e){var t=e.open,n=e.children,a=e.okLabel,r=e.cancelLabel,s=e.clearLabel,c=e.todayLabel,u=e.showTodayButton,d=e.clearable,p=e.DialogProps,m=e.showTabs,f=e.wider,h=e.InputComponent,v=e.DateInputProps,g=e.onClear,b=e.onAccept,y=e.onDismiss,E=e.onSetToday,C=i(e,["open","children","okLabel","cancelLabel","clearLabel","todayLabel","showTodayButton","clearable","DialogProps","showTabs","wider","InputComponent","DateInputProps","onClear","onAccept","onDismiss","onSetToday"]);return Ze(t,{Enter:b}),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(h,o({},C,v)),(0,l.createElement)(Ge,o({wider:f,showTabs:m,open:t,onClear:g,onAccept:b,onDismiss:y,onSetToday:E,clearLabel:s,todayLabel:c,okLabel:a,cancelLabel:r,clearable:d,showTodayButton:u,children:n},p)))};qe.defaultProps={okLabel:"OK",cancelLabel:"Cancel",clearLabel:"Clear",todayLabel:"Today",clearable:!1,showTodayButton:!1};var Xe,Je=(0,p.Z)({popoverPaper:{width:Ye,paddingBottom:8},popoverPaperWider:{width:325}},{name:"MuiPickersInlineWrapper"}),$e=function(e){var t,n=e.open,a=e.wider,r=e.children,s=e.PopoverProps,c=(e.onClear,e.onDismiss),d=(e.onSetToday,e.onAccept),p=(e.showTabs,e.DateInputProps),m=e.InputComponent,f=i(e,["open","wider","children","PopoverProps","onClear","onDismiss","onSetToday","onAccept","showTabs","DateInputProps","InputComponent"]),h=(0,l.useRef)(),v=Je();return Ze(n,{Enter:d}),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(m,o({},f,p,{inputRef:h})),(0,l.createElement)(ee.ZP,o({open:n,onClose:c,anchorEl:h.current,classes:{paper:(0,u.Z)(v.popoverPaper,(t={},t[v.popoverPaperWider]=a,t))},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:r},s)))},et=(0,l.createContext)(null),tt=function(e){var t=e.variant,n=i(e,["variant"]),a=function(e){switch(e){case"inline":return $e;case"static":return Ue;default:return qe}}(t);return(0,l.createElement)(et.Provider,{value:t||"dialog"},(0,l.createElement)(a,o({},n)))},nt=(0,p.Z)({container:{height:300,overflowY:"auto"}},{name:"MuiPickersYearSelection"}),at=function(e){var t=e.date,n=e.onChange,a=e.onYearChange,r=e.minDate,o=e.maxDate,i=e.disablePast,s=e.disableFuture,c=e.animateYearScrolling,u=ue(),d=nt(),p=(0,l.useContext)(et),m=(0,l.useRef)(null);(0,l.useEffect)((function(){m.current&&m.current.scrollIntoView&&m.current.scrollIntoView({block:"static"===p?"nearest":"center",behavior:c?"smooth":"auto"})}),[]);var f=u.getYear(t),h=(0,l.useCallback)((function(e){var r=u.setYear(t,e);a&&a(r),n(r,!0)}),[t,n,a,u]);return(0,l.createElement)("div",{className:d.container},u.getYearRange(r,o).map((function(e){var t=u.getYear(e),n=t===f;return(0,l.createElement)(_e,{key:u.getYearText(e),selected:n,value:t,onSelect:h,ref:n?m:void 0,disabled:Boolean(i&&u.isBeforeYear(e,u.date())||s&&u.isAfterYear(e,u.date()))},u.getYearText(e))})))};!function(e){e.HOURS="hours",e.MINUTES="minutes",e.SECONDS="seconds"}(Xe||(Xe={}));var rt=Xe,ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={toAnimateTransform:!1,previousType:void 0},t.getAngleStyle=function(){var e=t.props,n=e.value,a=e.isInner,r=e.type,o=360/(r===rt.HOURS?12:60)*n;return r===rt.HOURS&&n>12&&(o-=360),{height:a?"26%":"40%",transform:"rotateZ("+o+"deg)"}},t}return r(t,e),t.prototype.render=function(){var e,t,n=this.props,a=n.classes,r=n.hasSelected;return(0,l.createElement)("div",{style:this.getAngleStyle(),className:(0,u.Z)(a.pointer,(e={},e[a.animateTransform]=this.state.toAnimateTransform,e))},(0,l.createElement)("div",{className:(0,u.Z)(a.thumb,(t={},t[a.noPoint]=r,t))}))},t.getDerivedStateFromProps=function(e,t){return e.type!==t.previousType?{toAnimateTransform:!0,previousType:e.type}:{toAnimateTransform:!1,previousType:e.type}},t}(l.Component),it=(0,h.Z)((function(e){return(0,f.Z)({pointer:{width:2,backgroundColor:e.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},animateTransform:{transition:e.transitions.create(["transform","height"])},thumb:{width:4,height:4,backgroundColor:e.palette.primary.contrastText,borderRadius:"100%",position:"absolute",top:-21,left:-15,border:"14px solid "+e.palette.primary.main,boxSizing:"content-box"},noPoint:{backgroundColor:e.palette.primary.main}})}),{name:"MuiPickersClockPointer"})(ot),lt=130,st=130,ct=lt-lt,ut=0-st,dt=function(e,t,n){var a=t-lt,r=n-st,o=57.29577951308232*(Math.atan2(ct,ut)-Math.atan2(a,r));o=Math.round(o/e)*e,o%=360;var i=Math.floor(o/e)||0,l=Math.pow(a,2)+Math.pow(r,2);return{value:i,distance:Math.sqrt(l)}},pt=function(e,t){return t.getHours(e)>=12?"pm":"am"},mt=function(e,t,n,a){if(n&&(a.getHours(e)>=12?"pm":"am")!==t){var r="am"===t?a.getHours(e)-12:a.getHours(e)+12;return a.setHours(e,r)}return e},ft=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMoving=!1,t.handleTouchMove=function(e){t.isMoving=!0,t.setTime(e)},t.handleTouchEnd=function(e){t.isMoving&&(t.setTime(e,!0),t.isMoving=!1)},t.handleMove=function(e){e.preventDefault(),e.stopPropagation(),(void 0===e.buttons?1===e.nativeEvent.which:1===e.buttons)&&t.setTime(e.nativeEvent,!1)},t.handleMouseUp=function(e){t.isMoving&&(t.isMoving=!1),t.setTime(e.nativeEvent,!0)},t.hasSelected=function(){var e=t.props,n=e.type,a=e.value;return n===rt.HOURS||a%5==0},t}return r(t,e),t.prototype.setTime=function(e,t){void 0===t&&(t=!1);var n=e.offsetX,a=e.offsetY;if(void 0===n){var r=e.target.getBoundingClientRect();n=e.changedTouches[0].clientX-r.left,a=e.changedTouches[0].clientY-r.top}var o=this.props.type===rt.SECONDS||this.props.type===rt.MINUTES?function(e,t,n){return void 0===n&&(n=1),dt(6*n,e,t).value*n%60}(n,a,this.props.minutesStep):function(e,t,n){var a=dt(30,e,t),r=a.value,o=a.distance;return r=r||12,n?r%=12:o<90&&(r+=12,r%=24),r}(n,a,Boolean(this.props.ampm));this.props.onChange(o,t)},t.prototype.render=function(){var e=this.props,t=e.classes,n=e.value,a=e.children,r=e.type,o=!e.ampm&&r===rt.HOURS&&(n<1||n>12);return(0,l.createElement)("div",{className:t.container},(0,l.createElement)("div",{className:t.clock},(0,l.createElement)("div",{role:"menu",tabIndex:-1,className:t.squareMask,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onMouseUp:this.handleMouseUp,onMouseMove:this.handleMove}),(0,l.createElement)("div",{className:t.pin}),(0,l.createElement)(it,{type:r,value:n,isInner:o,hasSelected:this.hasSelected()}),a))},t.defaultProps={ampm:!1,minutesStep:1},t}(l.Component),ht=(0,h.Z)((function(e){return(0,f.Z)({container:{display:"flex",justifyContent:"center",alignItems:"flex-end",margin:e.spacing(2)+"px 0 "+e.spacing(1)+"px"},clock:{backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:260,width:260,position:"relative",pointerEvents:"none",zIndex:1},squareMask:{width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:"none",touchActions:"none",userSelect:"none","&:active":{cursor:"move"}},pin:{width:6,height:6,borderRadius:"50%",backgroundColor:e.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})}),{name:"MuiPickersClock"})(ft),vt={0:[0,40],1:[55,19.6],2:[94.4,59.5],3:[109,114],4:[94.4,168.5],5:[54.5,208.4],6:[0,223],7:[-54.5,208.4],8:[-94.4,168.5],9:[-109,114],10:[-94.4,59.5],11:[-54.5,19.6],12:[0,5],13:[36.9,49.9],14:[64,77],15:[74,114],16:[64,151],17:[37,178],18:[0,188],19:[-37,178],20:[-64,151],21:[-74,114],22:[-64,77],23:[-37,50]},gt=(0,p.Z)((function(e){var t=e.spacing(4);return{clockNumber:{width:t,height:32,userSelect:"none",position:"absolute",left:"calc(50% - "+t/2+"px)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:"light"===e.palette.type?e.palette.text.primary:e.palette.text.hint},clockNumberSelected:{color:e.palette.primary.contrastText}}}),{name:"MuiPickersClockNumber"}),bt=function(e){var t,n=e.selected,a=e.label,r=e.index,o=e.isInner,i=gt(),s=(0,u.Z)(i.clockNumber,((t={})[i.clockNumberSelected]=n,t)),c=(0,l.useMemo)((function(){var e=vt[r];return{transform:"translate("+e[0]+"px, "+e[1]+"px"}}),[r]);return(0,l.createElement)(d.Z,{component:"span",className:s,variant:o?"body2":"body1",style:c,children:a})},yt=function(e){for(var t=e.ampm,n=e.utils,a=e.date,r=n.getHours(a),i=[],s=t?12:23,c=function(e){return t?12===e?12===r||0===r:r===e||r-12===e:r===e},u=t?1:0;u<=s;u+=1){var d=u.toString();0===u&&(d="00");var p={index:u,label:n.formatNumber(d),selected:c(u),isInner:!t&&(0===u||u>12)};i.push((0,l.createElement)(bt,o({key:u},p)))}return i},Et=function(e){var t=e.value,n=e.utils.formatNumber;return[(0,l.createElement)(bt,{label:n("00"),selected:0===t,index:12,key:12}),(0,l.createElement)(bt,{label:n("05"),selected:5===t,index:1,key:1}),(0,l.createElement)(bt,{label:n("10"),selected:10===t,index:2,key:2}),(0,l.createElement)(bt,{label:n("15"),selected:15===t,index:3,key:3}),(0,l.createElement)(bt,{label:n("20"),selected:20===t,index:4,key:4}),(0,l.createElement)(bt,{label:n("25"),selected:25===t,index:5,key:5}),(0,l.createElement)(bt,{label:n("30"),selected:30===t,index:6,key:6}),(0,l.createElement)(bt,{label:n("35"),selected:35===t,index:7,key:7}),(0,l.createElement)(bt,{label:n("40"),selected:40===t,index:8,key:8}),(0,l.createElement)(bt,{label:n("45"),selected:45===t,index:9,key:9}),(0,l.createElement)(bt,{label:n("50"),selected:50===t,index:10,key:10}),(0,l.createElement)(bt,{label:n("55"),selected:55===t,index:11,key:11})]},Ct=function(e){var t=e.type,n=e.onHourChange,a=e.onMinutesChange,r=e.onSecondsChange,i=e.ampm,s=e.date,c=e.minutesStep,u=ue(),d=(0,l.useMemo)((function(){switch(t){case rt.HOURS:return{value:u.getHours(s),children:yt({date:s,utils:u,ampm:Boolean(i)}),onChange:function(e,t){var a=pt(s,u),r=mt(u.setHours(s,e),a,Boolean(i),u);n(r,t)}};case rt.MINUTES:var e=u.getMinutes(s);return{value:e,children:Et({value:e,utils:u}),onChange:function(e,t){var n=u.setMinutes(s,e);a(n,t)}};case rt.SECONDS:var o=u.getSeconds(s);return{value:o,children:Et({value:o,utils:u}),onChange:function(e,t){var n=u.setSeconds(s,e);r(n,t)}};default:throw new Error("You must provide the type for TimePickerView")}}),[i,s,n,a,r,t,u]);return(0,l.createElement)(ht,o({type:t,ampm:i,minutesStep:c},d))};Ct.displayName="TimePickerView",Ct.defaultProps={ampm:!0,minutesStep:1};var xt=(0,l.memo)(Ct),Dt=(0,p.Z)((function(e){return{root:{flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",outline:"none",height:75,transition:e.transitions.create("font-size",{duration:"100ms"}),"&:focus":{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium}},monthSelected:{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium},monthDisabled:{pointerEvents:"none",color:e.palette.text.hint}}}),{name:"MuiPickersMonth"}),wt=function(e){var t,n=e.selected,a=e.onSelect,r=e.disabled,s=e.value,c=e.children,p=i(e,["selected","onSelect","disabled","value","children"]),m=Dt(),f=(0,l.useCallback)((function(){a(s)}),[a,s]);return(0,l.createElement)(d.Z,o({role:"button",component:"div",className:(0,u.Z)(m.root,(t={},t[m.monthSelected]=n,t[m.monthDisabled]=r,t)),tabIndex:r?-1:0,onClick:f,onKeyPress:f,color:n?"primary":void 0,variant:n?"h5":"subtitle1",children:c},p))};wt.displayName="Month";var Mt=(0,p.Z)({container:{width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch"}},{name:"MuiPickersMonthSelection"}),kt=function(e){var t=e.disablePast,n=e.disableFuture,a=e.minDate,r=e.maxDate,o=e.date,i=e.onMonthChange,s=e.onChange,c=ue(),u=Mt(),d=c.getMonth(o),p=function(e){var o=c.date(),i=c.date(a),l=c.date(r),s=c.startOfMonth(t&&c.isAfter(o,i)?o:i),u=c.startOfMonth(n&&c.isBefore(o,l)?o:l),d=c.isBefore(e,s),p=c.isAfter(e,u);return d||p},m=(0,l.useCallback)((function(e){var t=c.setMonth(o,e);s(t,!0),i&&i(t)}),[o,s,i,c]);return(0,l.createElement)("div",{className:u.container},c.getMonthArray(o).map((function(e){var t=c.getMonth(e),n=c.format(e,"MMM");return(0,l.createElement)(wt,{key:n,value:t,selected:t===d,onSelect:m,disabled:p(e)},n)})))},Pt=function(){return"undefined"!=typeof window&&window.screen&&window.orientation&&90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait"},Tt={year:at,month:kt,date:He,hours:Ct,minutes:Ct,seconds:Ct},St=(0,p.Z)({container:{display:"flex",flexDirection:"column"},containerLandscape:{flexDirection:"row"},pickerView:{overflowX:"hidden",minHeight:305,minWidth:Ye,maxWidth:325,display:"flex",flexDirection:"column",justifyContent:"center"},pickerViewLandscape:{padding:"0 8px"}},{name:"MuiPickersBasePicker"}),It=function(e){var t,n,a=e.date,r=e.ampm,i=e.views,s=e.disableToolbar,c=e.disablePast,d=e.disableFuture,p=e.hideTabs,m=e.onChange,f=e.openTo,h=e.minutesStep,v=e.dateRangeIcon,g=e.timeIcon,b=e.minDate,y=e.maxDate,E=e.animateYearScrolling,C=e.leftArrowIcon,x=e.rightArrowIcon,D=e.renderDay,w=e.shouldDisableDate,M=e.allowKeyboardControl,k=e.onMonthChange,P=e.onYearChange,T=e.leftArrowButtonProps,S=e.rightArrowButtonProps,I=e.ToolbarComponent,N=e.loadingIndicator,A=e.orientation,L=ue(),O=St(),Z=function(e){var t=(0,l.useState)(Pt()),n=t[0],a=t[1],r=(0,l.useCallback)((function(){return a(Pt())}),[]);return Le((function(){return window.addEventListener("orientationchange",r),function(){return window.removeEventListener("orientationchange",r)}}),[r]),"landscape"===(e||n)}(A),B=function(e,t,n){var a=(0,l.useState)(t&&be(e,t)?t:e[0]),r=a[0],o=a[1],i=(0,l.useCallback)((function(t,a){var i=e[e.indexOf(r)+1];if(a&&i)return n(t,!1),void o(i);n(t,Boolean(a))}),[n,r,e]);return{handleChangeAndOpenNext:i,openView:r,setOpenView:o}}(i,f,m),F=B.openView,R=B.setOpenView,V=B.handleChangeAndOpenNext,H=(0,l.useMemo)((function(){return L.date(b)}),[b,L]),W=(0,l.useMemo)((function(){return L.date(y)}),[y,L]);return(0,l.createElement)("div",{className:(0,u.Z)(O.container,(t={},t[O.containerLandscape]=Z,t))},!s&&(0,l.createElement)(I,o({date:a,onChange:m,setOpenView:R,openView:F,hideTabs:p,dateRangeIcon:v,timeIcon:g,isLandscape:Z},e)),(0,l.createElement)("div",{className:(0,u.Z)(O.pickerView,(n={},n[O.pickerViewLandscape]=Z,n))},"year"===F&&(0,l.createElement)(at,{date:a,onChange:V,minDate:H,maxDate:W,disablePast:c,disableFuture:d,onYearChange:P,animateYearScrolling:E}),"month"===F&&(0,l.createElement)(kt,{date:a,onChange:V,minDate:H,maxDate:W,disablePast:c,disableFuture:d,onMonthChange:k}),"date"===F&&(0,l.createElement)(He,{date:a,onChange:V,onMonthChange:k,disablePast:c,disableFuture:d,minDate:H,maxDate:W,leftArrowIcon:C,leftArrowButtonProps:T,rightArrowIcon:x,rightArrowButtonProps:S,renderDay:D,shouldDisableDate:w,allowKeyboardControl:M,loadingIndicator:N}),("hours"===F||"minutes"===F||"seconds"===F)&&(0,l.createElement)(Ct,{date:a,ampm:r,type:F,minutesStep:h,onHourChange:V,onMinutesChange:V,onSecondsChange:V})))};It.defaultProps=o({},we,{views:Object.keys(Tt)});var Nt=function(e,t,n,a,r){var o=r.invalidLabel,i=r.emptyLabel,l=r.labelFunc,s=n.date(e);return l?l(a?null:s,o):a?i||"":n.isValid(s)?n.format(s,t):o},At=function(e,t,n){return t?n:e.endOfDay(n)},Lt=function(e,t,n){return t?n:e.startOfDay(n)},Ot=function(e,t,n){var a=n.maxDate,r=n.minDate,o=n.disablePast,i=n.disableFuture,l=n.maxDateMessage,s=n.minDateMessage,c=n.invalidDateMessage,u=n.strictCompareDates,d=t.date(e);return null===e?"":t.isValid(e)?a&&t.isAfter(d,At(t,!!u,t.date(a)))||i&&t.isAfter(d,At(t,!!u,t.date()))?l:r&&t.isBefore(d,Lt(t,!!u,t.date(r)))||o&&t.isBefore(d,Lt(t,!!u,t.date()))?s:"":c};function Zt(e,t,n){return void 0===t&&(t=!0),e||(t?n["12h"]:n["24h"])}function Bt(e,t){var n=e.autoOk,a=e.disabled,r=e.onAccept,o=e.onChange,i=e.onError,s=e.value,c=e.variant,u=ue(),d=function(e){var t,n=e.open,a=e.onOpen,r=e.onClose,o=null;return null==n&&(n=(t=(0,l.useState)(!1))[0],o=t[1]),{isOpen:n,setIsOpen:(0,l.useCallback)((function(e){return o&&o(e),e?a&&a():r&&r()}),[a,r,o])}}(e),p=d.isOpen,m=d.setIsOpen,f=function(e,t){return{date:function(e,t){var n=t.value,a=t.initialFocusedDate,r=(0,l.useRef)(e.date()),o=e.date(n||a||r.current);return o&&e.isValid(o)?o:r.current}(ue(),e),format:e.format||t.getDefaultFormat()}}(e,t),h=f.date,v=f.format,g=(0,l.useState)(h),b=g[0],y=g[1];(0,l.useEffect)((function(){p||u.isEqual(b,h)||y(h)}),[h,p,b,u]);var E=(0,l.useCallback)((function(e){m(!1),o(e),r&&r(e)}),[r,o,m]),C=(0,l.useMemo)((function(){return{format:v,open:p,onClear:function(){return E(null)},onAccept:function(){return E(b)},onSetToday:function(){return y(u.date())},onDismiss:function(){m(!1)}}}),[E,v,p,b,m,u]),x=(0,l.useMemo)((function(){return{date:b,onChange:function(e,t){void 0===t&&(t=!0),y(e),"inline"!==c&&"static"!==c||o(e),t&&n&&E(e)}}}),[E,n,o,b,c]),D=Ot(s,u,e);(0,l.useEffect)((function(){D&&i&&i(D,s)}),[i,D,s]);var w=Nt(h,v,u,null===s,e),M={pickerProps:x,inputProps:(0,l.useMemo)((function(){return{inputValue:w,validationError:D,onClick:function(){return!a&&m(!0)}}}),[a,w,m,D]),wrapperProps:C};return(0,l.useDebugValue)(M),M}var Ft=function(e){var t=e.inputValue,n=e.inputVariant,a=e.validationError,r=e.InputProps,s=e.TextFieldComponent,c=void 0===s?te.Z:s,u=i(e,["inputValue","inputVariant","validationError","InputProps","TextFieldComponent"]),d=(0,l.useMemo)((function(){return o({},r,{readOnly:!0})}),[r]);return(0,l.createElement)(c,o({error:Boolean(a),helperText:a},u,{value:t,variant:n,InputProps:d}))};function Rt(e){var t=e.useOptions,n=e.getCustomProps,a=e.DefaultToolbarComponent;return function(e){var r=e.allowKeyboardControl,s=e.ampm,c=e.hideTabs,u=e.animateYearScrolling,d=(e.autoOk,e.disableFuture),p=e.disablePast,m=(e.format,e.forwardedRef,e.initialFocusedDate,e.invalidDateMessage,e.labelFunc,e.leftArrowIcon),f=e.leftArrowButtonProps,h=e.maxDate,v=(e.maxDateMessage,e.minDate),g=(e.onOpen,e.onClose,e.minDateMessage,e.strictCompareDates),b=e.minutesStep,y=(e.onAccept,e.onChange,e.onMonthChange),E=e.onYearChange,C=e.renderDay,x=e.views,D=e.openTo,w=e.rightArrowIcon,M=e.rightArrowButtonProps,k=e.shouldDisableDate,P=e.dateRangeIcon,T=(e.emptyLabel,e.invalidLabel,e.timeIcon),S=(e.value,e.variant),I=e.orientation,N=e.disableToolbar,A=e.loadingIndicator,L=e.ToolbarComponent,O=void 0===L?a:L,Z=i(e,["allowKeyboardControl","ampm","hideTabs","animateYearScrolling","autoOk","disableFuture","disablePast","format","forwardedRef","initialFocusedDate","invalidDateMessage","labelFunc","leftArrowIcon","leftArrowButtonProps","maxDate","maxDateMessage","minDate","onOpen","onClose","minDateMessage","strictCompareDates","minutesStep","onAccept","onChange","onMonthChange","onYearChange","renderDay","views","openTo","rightArrowIcon","rightArrowButtonProps","shouldDisableDate","dateRangeIcon","emptyLabel","invalidLabel","timeIcon","value","variant","orientation","disableToolbar","loadingIndicator","ToolbarComponent"]),B=n?n(e):{},F=Bt(e,t(e)),R=F.pickerProps,V=F.inputProps,H=F.wrapperProps;return(0,l.createElement)(tt,o({variant:S,InputComponent:Ft,DateInputProps:V},H,B,Z),(0,l.createElement)(It,o({},R,{orientation:I,disableToolbar:N,ToolbarComponent:O,hideTabs:c,ampm:s,views:x,openTo:D,allowKeyboardControl:r,minutesStep:b,animateYearScrolling:u,disableFuture:d,disablePast:p,leftArrowIcon:m,leftArrowButtonProps:f,maxDate:h,minDate:v,strictCompareDates:g,onMonthChange:y,onYearChange:E,renderDay:C,dateRangeIcon:P,timeIcon:T,rightArrowIcon:w,rightArrowButtonProps:M,shouldDisableDate:k,loadingIndicator:A})))}}Ft.displayName="PureDateInput";var Vt=function(e){var t=e.inputValue,n=e.inputVariant,a=e.validationError,r=e.KeyboardButtonProps,s=e.InputAdornmentProps,c=e.onClick,u=e.onChange,d=e.InputProps,p=e.mask,m=e.maskChar,f=void 0===m?"_":m,h=e.refuse,v=void 0===h?/[^\d]+/gi:h,g=e.format,b=e.keyboardIcon,y=e.disabled,E=e.rifmFormatter,C=e.TextFieldComponent,x=void 0===C?te.Z:C,D=i(e,["inputValue","inputVariant","validationError","KeyboardButtonProps","InputAdornmentProps","onClick","onChange","InputProps","mask","maskChar","refuse","format","keyboardIcon","disabled","rifmFormatter","TextFieldComponent"]),w=p||function(e,t){return e.replace(/[a-z]/gi,t)}(g,f),M=(0,l.useCallback)(function(e,t,n){return function(a){if(""===a)return a;for(var r="",o=a.replace(n,""),i=0,l=0;i<e.length;){var s=e[i];s===t&&l<o.length?(r+=o[l],l+=1):r+=s,i+=1}return r}}(w,f,v),[p,f]),k=s&&s.position?s.position:"end";return(0,l.createElement)(re,{value:t,onChange:function(e){u(""===e||e===w?null:e)},refuse:v,format:E||M},(function(e){var t,i=e.onChange,u=e.value;return(0,l.createElement)(x,o({disabled:y,error:Boolean(a),helperText:a},D,{value:u,onChange:i,variant:n,InputProps:o({},d,(t={},t[k+"Adornment"]=(0,l.createElement)(ne.Z,o({position:k},s),(0,l.createElement)(q.IconButton,o({disabled:y},r,{onClick:c}),b)),t))}))}))};function Ht(e,t){var n=e.format,a=void 0===n?t.getDefaultFormat():n,r=e.inputValue,i=e.onChange,s=e.value,c=ue(),u=Nt(s,a,c,null===s,e),d=(0,l.useState)(u),p=d[0],m=d[1],f=r?function(e,t,n){try{return t.parse(e,n)}catch(e){return null}}(r,c,a):s;(0,l.useEffect)((function(){(null===s||c.isValid(s))&&m(u)}),[u,m,c,s]);var h=(0,l.useCallback)((function(e){i(e,null===e?null:c.format(e,a))}),[a,i,c]),v=Bt(o({},e,{value:f,onChange:h}),t),g=v.inputProps,b=v.wrapperProps,y=v.pickerProps,E=(0,l.useMemo)((function(){return o({},g,{format:b.format,inputValue:r||p,onChange:function(e){m(e||"");var t=null===e?null:c.parse(e,b.format);i(t,e)}})}),[g,p,r,i,c,b.format]);return{inputProps:E,wrapperProps:b,pickerProps:y}}function Wt(e){var t=e.useOptions,n=e.getCustomProps,a=e.DefaultToolbarComponent;return function(e){var r=e.allowKeyboardControl,s=e.ampm,c=e.hideTabs,u=e.animateYearScrolling,d=(e.autoOk,e.disableFuture),p=e.disablePast,m=(e.format,e.forwardedRef,e.initialFocusedDate,e.invalidDateMessage,e.labelFunc,e.leftArrowIcon),f=e.leftArrowButtonProps,h=e.maxDate,v=(e.maxDateMessage,e.minDate),g=(e.onOpen,e.onClose,e.minDateMessage,e.strictCompareDates),b=e.minutesStep,y=(e.onAccept,e.onChange,e.onMonthChange),E=e.onYearChange,C=e.renderDay,x=e.views,D=e.openTo,w=e.rightArrowIcon,M=e.rightArrowButtonProps,k=e.shouldDisableDate,P=(e.value,e.dateRangeIcon),T=(e.emptyLabel,e.invalidLabel,e.timeIcon),S=e.orientation,I=e.variant,N=e.disableToolbar,A=e.loadingIndicator,L=e.ToolbarComponent,O=void 0===L?a:L,Z=i(e,["allowKeyboardControl","ampm","hideTabs","animateYearScrolling","autoOk","disableFuture","disablePast","format","forwardedRef","initialFocusedDate","invalidDateMessage","labelFunc","leftArrowIcon","leftArrowButtonProps","maxDate","maxDateMessage","minDate","onOpen","onClose","minDateMessage","strictCompareDates","minutesStep","onAccept","onChange","onMonthChange","onYearChange","renderDay","views","openTo","rightArrowIcon","rightArrowButtonProps","shouldDisableDate","value","dateRangeIcon","emptyLabel","invalidLabel","timeIcon","orientation","variant","disableToolbar","loadingIndicator","ToolbarComponent"]),B=n?n(e):{},F=Ht(e,t(e)),R=F.pickerProps,V=F.inputProps,H=F.wrapperProps;return(0,l.createElement)(tt,o({variant:I,InputComponent:Vt,DateInputProps:V},B,H,Z),(0,l.createElement)(It,o({},R,{ToolbarComponent:O,disableToolbar:N,hideTabs:c,orientation:S,ampm:s,views:x,openTo:D,allowKeyboardControl:r,minutesStep:b,animateYearScrolling:u,disableFuture:d,disablePast:p,leftArrowIcon:m,leftArrowButtonProps:f,maxDate:h,minDate:v,strictCompareDates:g,onMonthChange:y,onYearChange:E,renderDay:C,dateRangeIcon:P,timeIcon:T,rightArrowIcon:w,rightArrowButtonProps:M,shouldDisableDate:k,loadingIndicator:A})))}}Vt.defaultProps={keyboardIcon:(0,l.createElement)((function(e){return s().createElement(Q.Z,o({},e),s().createElement("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),s().createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))}),null)};var jt=o({},we,{openTo:"date",views:["year","date"]});function _t(e){var t=ue();return{getDefaultFormat:function(){return function(e,t){return ye(e)?t.yearFormat:Ee(e)?t.yearMonthFormat:t.dateFormat}(e.views,t)}}}var Yt=Rt({useOptions:_t,DefaultToolbarComponent:xe}),Kt=Wt({useOptions:_t,DefaultToolbarComponent:xe});Yt.defaultProps=jt,Kt.defaultProps=jt;var Ut=(0,p.Z)({toolbarLandscape:{flexWrap:"wrap"},toolbarAmpmLeftPadding:{paddingLeft:50},separator:{margin:"0 4px 0 2px",cursor:"default"},hourMinuteLabel:{display:"flex",justifyContent:"flex-end",alignItems:"flex-end"},hourMinuteLabelLandscape:{marginTop:"auto"},hourMinuteLabelReverse:{flexDirection:"row-reverse"},ampmSelection:{marginLeft:20,marginRight:-20,display:"flex",flexDirection:"column"},ampmLandscape:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"},ampmSelectionWithSeconds:{marginLeft:15,marginRight:10},ampmLabel:{fontSize:18}},{name:"MuiPickersTimePickerToolbar"});function zt(e,t,n){var a=ue();return{meridiemMode:pt(e,a),handleMeridiemChange:(0,l.useCallback)((function(r){var o=mt(e,r,Boolean(t),a);n(o,!1)}),[t,e,n,a])}}var Qt=function(e){var t,n,a,r=e.date,o=e.views,i=e.ampm,s=e.openView,c=e.onChange,d=e.isLandscape,p=e.setOpenView,m=ue(),f=(0,v.Z)(),h=Ut(),g=zt(r,i,c),b=g.meridiemMode,y=g.handleMeridiemChange,E=d?"h3":"h2";return(0,l.createElement)(ge,{isLandscape:d,className:(0,u.Z)((t={},t[h.toolbarLandscape]=d,t[h.toolbarAmpmLeftPadding]=i&&!d,t))},(0,l.createElement)("div",{className:(0,u.Z)(h.hourMinuteLabel,(n={},n[h.hourMinuteLabelLandscape]=d,n[h.hourMinuteLabelReverse]="rtl"===f.direction,n))},be(o,"hours")&&(0,l.createElement)(he,{variant:E,onClick:function(){return p(rt.HOURS)},selected:s===rt.HOURS,label:m.getHourText(r,Boolean(i))}),be(o,["hours","minutes"])&&(0,l.createElement)(pe,{label:":",variant:E,selected:!1,className:h.separator}),be(o,"minutes")&&(0,l.createElement)(he,{variant:E,onClick:function(){return p(rt.MINUTES)},selected:s===rt.MINUTES,label:m.getMinuteText(r)}),be(o,["minutes","seconds"])&&(0,l.createElement)(pe,{variant:"h2",label:":",selected:!1,className:h.separator}),be(o,"seconds")&&(0,l.createElement)(he,{variant:"h2",onClick:function(){return p(rt.SECONDS)},selected:s===rt.SECONDS,label:m.getSecondText(r)})),i&&(0,l.createElement)("div",{className:(0,u.Z)(h.ampmSelection,(a={},a[h.ampmLandscape]=d,a[h.ampmSelectionWithSeconds]=be(o,"seconds"),a))},(0,l.createElement)(he,{disableRipple:!0,variant:"subtitle1",selected:"am"===b,typographyClassName:h.ampmLabel,label:m.getMeridiemText("am"),onClick:function(){return y("am")}}),(0,l.createElement)(he,{disableRipple:!0,variant:"subtitle1",selected:"pm"===b,typographyClassName:h.ampmLabel,label:m.getMeridiemText("pm"),onClick:function(){return y("pm")}})))},Gt=o({},De,{openTo:"hours",views:["hours","minutes"]});function qt(e){var t=ue();return{getDefaultFormat:function(){return Zt(e.format,e.ampm,{"12h":t.time12hFormat,"24h":t.time24hFormat})}}}var Xt=Rt({useOptions:qt,DefaultToolbarComponent:Qt}),Jt=Wt({useOptions:qt,DefaultToolbarComponent:Qt,getCustomProps:function(e){return{refuse:e.ampm?/[^\dap]+/gi:/[^\d]+/gi}}});Xt.defaultProps=Gt,Jt.defaultProps=Gt;var $t=function(e){return"date"===e||"year"===e?"date":"time"},en=(0,p.Z)((function(e){var t="light"===e.palette.type?e.palette.primary.main:e.palette.background.default;return{tabs:{color:e.palette.getContrastText(t),backgroundColor:t}}}),{name:"MuiPickerDTTabs"}),tn=function(e){var t=e.view,n=e.onChange,a=e.dateRangeIcon,r=e.timeIcon,o=en(),i="light"===(0,v.Z)().palette.type?"secondary":"primary";return(0,l.createElement)(le.Z,null,(0,l.createElement)(ie.Z,{variant:"fullWidth",value:$t(t),onChange:function(e,a){a!==$t(t)&&n("date"===a?"date":"hours")},className:o.tabs,indicatorColor:i},(0,l.createElement)(oe.Z,{value:"date",icon:(0,l.createElement)(l.Fragment,null,a)}),(0,l.createElement)(oe.Z,{value:"time",icon:(0,l.createElement)(l.Fragment,null,r)})))};tn.defaultProps={dateRangeIcon:(0,l.createElement)((function(e){return s().createElement(Q.Z,o({},e),s().createElement("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),s().createElement("path",{fill:"none",d:"M0 0h24v24H0z"}))}),null),timeIcon:(0,l.createElement)((function(e){return s().createElement(Q.Z,o({},e),s().createElement("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),s().createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),s().createElement("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"}))}),null)};var nn=(0,p.Z)((function(e){return{toolbar:{paddingLeft:16,paddingRight:16,justifyContent:"space-around"},separator:{margin:"0 4px 0 2px",cursor:"default"}}}),{name:"MuiPickerDTToolbar"}),an=function(e){var t=e.date,n=e.openView,a=e.setOpenView,r=e.ampm,o=e.hideTabs,i=e.dateRangeIcon,s=e.timeIcon,c=e.onChange,u=ue(),d=nn(),p=!o&&"undefined"!=typeof window&&window.innerHeight>667,m=zt(t,r,c),f=m.meridiemMode,h=m.handleMeridiemChange,g="rtl"===(0,v.Z)().direction;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(ge,{isLandscape:!1,className:d.toolbar},(0,l.createElement)(q.Grid,{container:!0,justify:"center",wrap:"nowrap"},(0,l.createElement)(q.Grid,{item:!0,container:!0,xs:5,justify:"flex-start",direction:"column"},(0,l.createElement)("div",null,(0,l.createElement)(he,{variant:"subtitle1",onClick:function(){return a("year")},selected:"year"===n,label:u.getYearText(t)})),(0,l.createElement)("div",null,(0,l.createElement)(he,{variant:"h4",onClick:function(){return a("date")},selected:"date"===n,label:u.getDateTimePickerHeaderText(t)}))),(0,l.createElement)(q.Grid,{item:!0,container:!0,xs:6,justify:"center",alignItems:"flex-end",direction:g?"row-reverse":"row"},(0,l.createElement)(he,{variant:"h3",onClick:function(){return a("hours")},selected:"hours"===n,label:u.getHourText(t,r)}),(0,l.createElement)(pe,{variant:"h3",label:":",className:d.separator}),(0,l.createElement)(he,{variant:"h3",onClick:function(){return a("minutes")},selected:"minutes"===n,label:u.getMinuteText(t)})),r&&(0,l.createElement)(q.Grid,{item:!0,container:!0,xs:1,direction:"column",justify:"flex-end"},(0,l.createElement)(he,{variant:"subtitle1",selected:"am"===f,label:u.getMeridiemText("am"),onClick:function(){return h("am")}}),(0,l.createElement)(he,{variant:"subtitle1",selected:"pm"===f,label:u.getMeridiemText("pm"),onClick:function(){return h("pm")}})))),p&&(0,l.createElement)(tn,{dateRangeIcon:i,timeIcon:s,view:n,onChange:a}))},rn=o({},Me,{wider:!0,orientation:"portrait",openTo:"date",views:["year","date","hours","minutes"]});function on(e){var t=ue();if("portrait"!==e.orientation)throw new Error("We are not supporting custom orientation for DateTimePicker yet :(");return{getDefaultFormat:function(){return Zt(e.format,e.ampm,{"12h":t.dateTime12hFormat,"24h":t.dateTime24hFormat})}}}var ln=Rt({useOptions:on,DefaultToolbarComponent:an}),sn=Wt({useOptions:on,DefaultToolbarComponent:an,getCustomProps:function(e){return{refuse:e.ampm?/[^\dap]+/gi:/[^\d]+/gi}}});ln.defaultProps=rn,sn.defaultProps=rn}}]);
File without changes
package/5541.js ADDED
@@ -0,0 +1 @@
1
+ (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5541,3980],{14859:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},2196:(e,s,t)=>{"use strict";var a=t(14859);s.__esModule=!0,s.default=function(e,s){e.classList?e.classList.add(s):(0,r.default)(e,s)||("string"==typeof e.className?e.className=e.className+" "+s:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+s))};var r=a(t(57218));e.exports=s.default},57218:(e,s)=>{"use strict";s.__esModule=!0,s.default=function(e,s){return e.classList?!!s&&e.classList.contains(s):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+s+" ")},e.exports=s.default},24812:e=>{"use strict";function s(e,s){return e.replace(new RegExp("(^|\\s)"+s+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=s(e.className,t):e.setAttribute("class",s(e.className&&e.className.baseVal||"",t))}},68262:(e,s,t)=>{"use strict";var a=t(23586);function r(){}function c(){}c.resetWarningCache=r,e.exports=function(){function e(e,s,t,r,c,n){if(n!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function s(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:s,element:e,elementType:e,instanceOf:s,node:e,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:c,resetWarningCache:r};return t.PropTypes=t,t}},13980:(e,s,t)=>{e.exports=t(68262)()},23586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);