@reltio/remotes 1.4.1663 → 1.4.1664

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 (90) hide show
  1. package/1039.js +1 -1
  2. package/1088.js +1 -1
  3. package/1146.js +1 -1
  4. package/1148.js +1 -1
  5. package/1334.js +1 -1
  6. package/1425.js +1 -1
  7. package/1572.js +1 -1
  8. package/1664.js +1 -1
  9. package/1707.js +1 -1
  10. package/1790.js +1 -1
  11. package/1840.js +1 -1
  12. package/2066.js +1 -1
  13. package/2300.js +1 -1
  14. package/2400.js +1 -1
  15. package/2966.js +1 -1
  16. package/3096.js +1 -1
  17. package/3348.js +1 -1
  18. package/3373.js +1 -1
  19. package/3381.js +1 -1
  20. package/3383.js +1 -1
  21. package/3463.js +1 -1
  22. package/3469.js +1 -1
  23. package/3538.js +1 -1
  24. package/3538.js.map +1 -1
  25. package/3639.js +1 -1
  26. package/3854.js +1 -1
  27. package/3912.js +1 -1
  28. package/415.js +1 -1
  29. package/4212.js +1 -1
  30. package/4390.js +1 -1
  31. package/446.js +1 -1
  32. package/4481.js +1 -1
  33. package/4583.js +1 -1
  34. package/4609.js +1 -1
  35. package/4610.js +1 -1
  36. package/4680.js +1 -1
  37. package/4780.js +1 -1
  38. package/4806.js +1 -1
  39. package/4838.js +1 -1
  40. package/50.js +1 -1
  41. package/5039.js +1 -1
  42. package/5053.js +1 -1
  43. package/5108.js +1 -1
  44. package/5177.js +1 -1
  45. package/5292.js +1 -1
  46. package/5368.js +1 -1
  47. package/5383.js +1 -1
  48. package/5617.js +1 -1
  49. package/5738.js +1 -1
  50. package/5939.js +1 -1
  51. package/6287.js +1 -1
  52. package/636.js +1 -1
  53. package/658.js +1 -1
  54. package/6774.js +1 -1
  55. package/6799.js +1 -1
  56. package/6844.js +1 -1
  57. package/6860.js +1 -1
  58. package/6903.js +1 -1
  59. package/7119.js +1 -1
  60. package/7128.js +1 -1
  61. package/7151.js +1 -1
  62. package/7340.js +1 -1
  63. package/735.js +1 -1
  64. package/7363.js +1 -1
  65. package/7422.js +1 -1
  66. package/7605.js +1 -1
  67. package/7626.js +1 -1
  68. package/7744.js +1 -1
  69. package/7896.js +1 -1
  70. package/820.js +1 -1
  71. package/8207.js +1 -1
  72. package/8216.js +1 -1
  73. package/8418.js +1 -1
  74. package/8462.js +1 -1
  75. package/8565.js +1 -1
  76. package/8741.js +1 -1
  77. package/9016.js +1 -1
  78. package/9050.js +1 -1
  79. package/9283.js +1 -1
  80. package/9309.js +1 -1
  81. package/9328.js +1 -1
  82. package/9387.js +1 -1
  83. package/9719.js +1 -1
  84. package/9861.js +1 -1
  85. package/987.js +1 -1
  86. package/99.js +1 -1
  87. package/9960.js +1 -1
  88. package/main.js +1 -1
  89. package/package.json +1 -1
  90. package/remoteEntry.js +1 -1
package/735.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c994e27-9971-4567-afd0-b8d2c21a7d7b",e._sentryDebugIdIdentifier="sentry-dbid-0c994e27-9971-4567-afd0-b8d2c21a7d7b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1664"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[735],{89507:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight");t.Z=s},4836:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42 3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"}),"BrokenImage");t.Z=s},43589:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=s},54675:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=s},18169:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=s},6163:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=s},711:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");t.Z=s},85101:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=s},25661:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=s},34506:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=s},59916:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.Z=s},17283:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=s},78781:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=s},11376:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("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");t.Z=s},31563:(e,t,n)=>{var u=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.default=s},15650:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M4 18h2.5v-2.5H4V18zm0-4.75h2.5v-2.5H4v2.5zM4 8.5h2.5V6H4v2.5zM17.5 6v2.5H20V6h-2.5zM13 8.5h2.5V6H13v2.5zm4.5 9.5H20v-2.5h-2.5V18zm0-4.75H20v-2.5h-2.5v2.5zM8.5 18H11v-2.5H8.5V18zm4.5 0h2.5v-2.5H13V18zM8.5 8.5H11V6H8.5v2.5zm4.5 4.75h2.5v-2.5H13v2.5zm-4.5 0H11v-2.5H8.5v2.5z"}),"ViewCompact");t.Z=s},83422:(e,t,n)=>{n.d(t,{Z:()=>y});var u=n(7896),r=n(31461),o=n(24328),s=n(6277),i=n(31427),a=n(37450),l=n(89836),c=n(16933),f=n(52322);const p=["className","component"];var d=n(68542),g=n(40476),E=n(16912);const h=(0,g.Z)(),v=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:d="MuiBox-root",generateClassName:g}=e,E=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.Z);return o.forwardRef((function(e,o){const i=(0,c.Z)(n),a=(0,l.Z)(e),{className:h,component:v="div"}=a,y=(0,r.Z)(a,p);return(0,f.jsx)(E,(0,u.Z)({as:v,ref:o,className:(0,s.default)(h,g?g(d):d),theme:t&&i[t]||i},y))}))}({themeId:E.Z,defaultTheme:h,defaultClassName:"MuiBox-root",generateClassName:d.Z.generate}),y=v},53626:(e,t,n)=>{n.d(t,{Z:()=>l});var u=n(7896),r=n(31461),o=(n(24328),n(62578)),s=n(16912),i=n(52322);const a=["theme"];function l(e){let{theme:t}=e,n=(0,r.Z)(e,a);const l=t[s.Z];return(0,i.jsx)(o.Z,(0,u.Z)({},n,{themeId:l?s.Z:void 0,theme:l||t}))}},97218:(e,t,n)=>{n.d(t,{Z:()=>a});var u=n(24328),r=n(10553),o=n(47903),s=n(53227),i=n(52322);const a=function(e){const{children:t,theme:n}=e,a=(0,o.Z)(),l=u.useMemo((()=>{const e=null===a?n:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(a,n);return null!=e&&(e[s.Z]=null!==a),e}),[n,a]);return(0,i.jsx)(r.Z.Provider,{value:l,children:t})}},62578:(e,t,n)=>{n.d(t,{Z:()=>p});var u=n(7896),r=n(24328),o=n(47903),s=n(97218),i=n(46324),a=n(38457),l=n(52322);const c={};function f(e,t,n,o=!1){return r.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const s=n(r),i=e?(0,u.Z)({},t,{[e]:s}):s;return o?()=>i:i}return e?(0,u.Z)({},t,{[e]:n}):(0,u.Z)({},t,n)}),[e,t,n,o])}const p=function(e){const{children:t,theme:n,themeId:u}=e,r=(0,a.Z)(c),p=(0,o.Z)()||c,d=f(u,r,n),g=f(u,p,n,!0);return(0,l.jsx)(s.Z,{theme:g,children:(0,l.jsx)(i.ThemeContext.Provider,{value:d,children:t})})}},47677:e=>{e.exports=function(e,t,n,u,r,o,s,i){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,u,r,o,s,i],c=0;(a=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},2271:(e,t,n)=>{function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},r.apply(this,arguments)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e){return a="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},a(e)}function l(e){return l="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?c(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function g(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&&d(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>ze,r:()=>Re});var h=n(24328),v=n.n(h),y=n(47677),m=n.n(y);var b=n(56666),C=n(38777),A=function(e){return e===Object(e)?Object.keys(e):[]},F=function(e){return e===Object(e)?Object.values(e):[]};function D(e,t){var n=Object.assign({},e);return x(e)&&x(t)&&A(t).forEach((function(u){x(t[u])&&u in e?n[u]=D(e[u],t[u]):Object.assign(n,(0,b.Z)({},u,t[u]))})),n}var S=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return n.reduce((function(e,t){return D(e,t)}),e)},O=function(e,t){var n=Object.assign({},e);if(t)for(var u=0;u<t.length;u++)delete n[t[u]];return n},x=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},w=function(e){return(e||[]).filter(Boolean)},j=function(e){return"&"===e[0]},B=function(e){return!j(e)},P=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},T=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=A(e),u={},r=0,o=n.length;r<o;r+=1){var s=n[r],i="[object Object]"!==Object.prototype.toString.call(e[s])||":"===s[0]||"@"===s[0]||t.indexOf(s)>=0;i&&(u[s]=e[s])}return u},L=function(e,t){for(var n=t.map(P),u=A(e),r={},o=0,s=u.length;o<s;o+=1){var i=u[o];(t.indexOf(i)>=0||n.indexOf(P(i))>=0)&&(r[i]=e[i])}return r},Z=function e(t,n){for(var u=S.apply(void 0,[{},O(t,n)].concat((0,C.Z)(F(L(t,n))))),r=A(u).filter(j),o=0,s=r.length;o<s;o+=1){var i=r[o],a=e(u[i],n);n.indexOf(i)>=0?(delete u[i],u=S({},u,a)):u[i]=a}return u};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=["animationName"];const _=function(e){var t=e.style,n=e.className;return I(I({},t?{style:T(t,k)}:{}),n?{className:n}:{})};var N=(0,h.createContext)(_);N.Provider;const R=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return A(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var H={};const z=function(e){return function(t,n){var u,r=n||H;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?u=e.memoize.get(r):(u={},e.memoize.set(r,u));var o=R(t).join(" ");return o in u?u[o]:u[o]=e(t||[],n)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(e){var t=e&&A(e)[0];return t&&t.split("__")[0].split("--")[0]},W=function(e,t,n){if(e){var u=e.split(" ")[0],r=[].concat((0,C.Z)(0===t.length?n.map((function(e){return"".concat(u,"--").concat(e.substring(1))})):[]),(0,C.Z)(t.map((function(e){return"".concat(u,"__").concat(e)}))));return 0===t.length?[e].concat((0,C.Z)(r)):r}};const K=function e(t){var n=t.style,u=t.className,r=t.classNames,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,s=u||U(r)||(null==n?void 0:n.className),i="function"==typeof n?n:z((function(t,u){var i=R(t);m()(Array.isArray(i),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),m()(!u||x(u),"Optional second parameter must be a plain object.");var a=i.filter(j),l=i.filter(B),c=l.length>0?function(e){return F(L(e,l))}:function(e){return[e]},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(Z(e,a))},p=W(s,l,a);return e(V(V(V({},(n||u)&&{style:S.apply(void 0,[{}].concat((0,C.Z)(f(u)),(0,C.Z)(f(n))))}),p&&{className:p.join(" ")}),r&&{classNames:r}),o)})),a=V({},"function"==typeof n?n:{style:n}),l=(0,C.Z)(new Set([].concat((0,C.Z)(a.className?a.className.split(" "):[]),(0,C.Z)(s?s.split(" "):[])))),c=r?w(l.map((function(e){return r[e]}))):l,f=o(V(V({},a),c.length>0?{className:c.join(" ")}:{}));return Object.assign(i,f),i},Q=function(e,t,n){var u=t.style,r=t.className,o=t.classNames,s=(0,h.useContext)(N);return(0,h.useMemo)((function(){return K({style:u,className:r,classNames:o},s)}),[u,r,o,s])(n,e)};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=n(13980),G=n.n(J),X=n(75047),ee=n.n(X),te=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},ne="__id__",ue="__display__",re=function(e,t){m()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(ue),u=e.indexOf(ne);return n<0&&(n=null),u<0&&(u=null),m()(null!==n||null!==u,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==u?"id"===t&&u<=n||"display"===t&&n<=u?0:1:0},oe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,u,r=(n=t.exec(e.toString()),u=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],u=!0,r=!1,o=void 0;try{for(var s,i=e[Symbol.iterator]();!(u=(s=i.next()).done)&&(n.push(s.value),!t||n.length!==t);u=!0);}catch(e){r=!0,o=e}finally{try{u||null==i.return||i.return()}finally{if(r)throw o}}return n}(n,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=r[1],s=r[2];return m()(!s,"RegExp flags are not supported. Change /".concat(o,"/").concat(s," into /").concat(o,"/")),"(".concat(o,")")})).join("|"),"g")},se=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ie=function(){},ae=function(e,t,n){for(var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ie,o=oe(t.map((function(e){return e.regex}))),s=2,i=t.map((function(e){var t=e.markup,n=s;return s+=se(t)+1,n})),a=0,l=0;null!==(u=o.exec(e));){var c=i.find((function(e){return!!u[e]})),f=i.indexOf(c),p=t[f],d=p.markup,g=p.displayTransform,E=c+re(d,"id"),h=c+re(d,"display"),v=u[E],y=g(v,u[h]),m=e.substring(a,u.index);r(m,a,l),l+=m.length,n(u[0],u.index,l,v,y,f,a),l+=y.length,a=o.lastIndex}a<e.length&&r(e.substring(a),a,l)},le=function(e,t){var n="";return ae(e,t,(function(e,t,u,r,o){n+=o}),(function(e){n+=e})),n},ce=function(e,t,n){var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===u&&r+e.length>=n&&(u=t+n-r)},s=function(e,t,o,s,i,a,l){void 0===u&&o+i.length>n&&(u="NULL"===r?null:t+("END"===r?e.length:0))};return ae(e,t,s,o),void 0===u?e.length:u},fe=function(e,t,n,u){return e.substring(0,t)+u+e.substring(n)},pe=function(e,t){var n=[];return ae(e,t,(function(e,t,u,r,o,s,i){n.push({id:r,display:o,childIndex:s,index:t,plainTextIndex:u})})),n},de=function(e,t){return"".concat(e,"-").concat(t)},ge=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Ee=function(e){var t=te(e),n=e[e.indexOf(ue)+ue.length],u=e[e.indexOf(ne)+ne.length];return new RegExp(t.replace(ue,"([^".concat(te(n||""),"]+?)")).replace(ne,"([^".concat(te(u||""),"]+?)")))},he=function(e){return h.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,u=t.regex,r=t.displayTransform;return{markup:n,regex:u?ve(u,n):Ee(n),displayTransform:r||function(e,t){return t||e}}}))},ve=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,u=se(t);return m()(n===u,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(u,")")),e},ye=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],me=function(e){return function(e){var t=e;return ye.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},be=function(e,t,n){return n?me(e).indexOf(me(t)):e.toLowerCase().indexOf(t.toLowerCase())},Ce=function(e){return"number"==typeof e},Ae=function(e){return e===Object(e)?Object.keys(e):[]},Fe=function(e){for(var t,n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];var o=(t=[]).concat.apply(t,u);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function De(e,t){return function(n){var u=function(u){var o=u.style,s=u.className,i=u.classNames,a=function(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n,u,r={},o=Object.keys(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(u,["style","className","classNames"]),l=t?t(a):void 0,c=Q(e,{style:o,className:s,classNames:i},l);return v().createElement(n,r({},a,{style:c}))},o=n.displayName||n.name||"Component";return u.displayName="defaultStyle(".concat(o,")"),u}}var Se=function(e){function t(){var e;return o(this,t),E(c(e=f(this,p(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return g(t,e),i(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var u={left:t,top:n};this.setState(u),this.props.onCaretPositionChange(u)}}}},{key:"render",value:function(){var e,t=this,n=this.props,u=n.selectionStart,o=n.selectionEnd,s=n.value,i=n.style,a=n.children,l=n.containerRef,c=he(a);u===o&&(e=ce(s,c,u,"START"));var f=[],p={},d=f,g=0;return ae(s,c,(function(e,n,u,r,o,s,i){var a=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,r);d.push(t.getMentionComponentForMatch(r,o,s,a))}),(function(n,u,r){if(Ce(e)&&e>=u&&e<=u+n.length){var o=e-u;d.push(t.renderSubstring(n.substring(0,o),g)),d=[t.renderSubstring(n.substring(o),g)]}else d.push(t.renderSubstring(n,g));g++})),d.push(" "),d!==f&&f.push(this.renderHighlighterCaret(d)),v().createElement("div",r({},i,{ref:l}),f)}},{key:"renderSubstring",value:function(e,t){return v().createElement("span",r({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,u){var r={id:e,display:t,key:u},o=h.Children.toArray(this.props.children)[n];return v().cloneElement(o,r)}},{key:"renderHighlighterCaret",value:function(e){return v().createElement("span",r({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(h.Component);E(Se,"propTypes",{selectionStart:G().number,selectionEnd:G().number,value:G().string.isRequired,onCaretPositionChange:G().func.isRequired,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Se,"defaultProps",{value:""});var Oe=De({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(Se),xe=function(e){function t(){return o(this,t),f(this,p(t).apply(this,arguments))}return g(t,e),i(t,[{key:"render",value:function(){var e=Fe(this.props,["style","classNames","className"],Ae(t.propTypes));return v().createElement("li",r({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,u=e.suggestion,r=e.index,o=e.focused,s=this.getDisplay(),i=this.renderHighlightedDisplay(s,t);return n?n(u,t,i,r,o):i}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,u=t.query,r=t.style,o=be(e,u,n);return-1===o?v().createElement("span",r("display"),e):v().createElement("span",r("display"),e.substring(0,o),v().createElement("b",r("highlight"),e.substring(o,o+u.length)),e.substring(o+u.length))}}]),t}(h.Component);E(xe,"propTypes",{id:G().string.isRequired,query:G().string.isRequired,index:G().number.isRequired,ignoreAccents:G().bool,suggestion:G().oneOfType([G().string,G().shape({id:G().oneOfType([G().string,G().number]).isRequired,display:G().string})]).isRequired,renderSuggestion:G().func,focused:G().bool});var we=De({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(xe);function je(){var e=Q(),t=e("spinner");return v().createElement("div",e,v().createElement("div",t,v().createElement("div",t(["element","element1"])),v().createElement("div",t(["element","element2"])),v().createElement("div",t(["element","element3"])),v().createElement("div",t(["element","element4"])),v().createElement("div",t(["element","element5"]))))}var Be=function(e){function t(){var e,n;o(this,t);for(var u=arguments.length,r=new Array(u),s=0;s<u;s++)r[s]=arguments[s];return E(c(n=f(this,(e=p(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),E(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),E(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return g(t,e),i(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,u=t.bottom,r=this.ulElement.getBoundingClientRect().top;u=u-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:u>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=u-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,u=e.isOpened,o=e.style,s=e.onMouseDown,i=e.containerRef,a=e.position,l=e.left,c=e.top;return u?v().createElement("div",r({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return $($($({},e),"function"==typeof t?t:{}),{},{style:$($({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:a||"absolute",left:l,top:c},o),{onMouseDown:s,ref:i}),v().createElement("ul",r({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},o("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,o=n.queryInfo;return[].concat(u(t),u(r.map((function(n,u){return e.renderSuggestion(n,o,t.length+u)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var u=this,r=n===this.props.focusIndex,o=t.childIndex,s=t.query,i=h.Children.toArray(this.props.children)[o].props.renderSuggestion,a=this.props.ignoreAccents;return v().createElement(we,{style:this.props.style("item"),key:"".concat(o,"-").concat(Pe(e)),id:de(this.props.id,n),query:s,index:n,ignoreAccents:a,renderSuggestion:i,suggestion:e,focused:r,onClick:function(){return u.select(e,t)},onMouseEnter:function(){return u.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(je,{style:this.props.style("loadingIndicator")})}}]),t}(h.Component);E(Be,"propTypes",{id:G().string.isRequired,suggestions:G().object.isRequired,a11ySuggestionsListLabel:G().string,focusIndex:G().number,position:G().string,left:G().number,top:G().number,scrollFocusedIntoView:G().bool,isLoading:G().bool,isOpened:G().bool.isRequired,onSelect:G().func,ignoreAccents:G().bool,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Be,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Pe=function(e){return"string"==typeof e?e:e.id},Te=De({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Be);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Ie=!1,ke={singleLine:G().bool,allowSpaceInQuery:G().bool,allowSuggestionsAboveCursor:G().bool,forceSuggestionsAboveCursor:G().bool,ignoreAccents:G().bool,a11ySuggestionsListLabel:G().string,value:G().string,onKeyDown:G().func,onSelect:G().func,onBlur:G().func,onChange:G().func,suggestionsPortalHost:"undefined"==typeof Element?G().any:G().PropTypes.instanceOf(Element),inputRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired},_e=function(e){function t(e){var n;return o(this,t),E(c(n=f(this,p(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),E(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,u=e.disabled,r=e.style;return Ze({},Fe(n.props,["style","classNames","className"],Ae(ke)),{},r("input"),{value:n.getPlainText()},!t&&!u&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":de(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),E(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,u=e.style,r=n.getInputProps();return v().createElement("div",u("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),E(c(n),"renderInput",(function(e){return v().createElement("input",r({type:"text",ref:n.setInputRef},e))})),E(c(n),"renderTextarea",(function(e){return v().createElement("textarea",r({ref:n.setInputRef},e))})),E(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),E(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),E(c(n),"renderSuggestionsOverlay",(function(){if(!Ce(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,u=e.left,r=e.top,o=v().createElement(Te,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:u,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ee().createPortal(o,n.props.suggestionsPortalHost):o})),E(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,u=e.selectionEnd,r=n.props,o=r.singleLine,s=r.children,i=r.value,a=r.style;return v().createElement(Oe,{containerRef:n.setHighlighterElement,style:a("highlighter"),value:i,singleLine:o,selectionStart:t,selectionEnd:u,onCaretPositionChange:n.handleCaretPositionChange},s)})),E(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),E(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),E(c(n),"getPlainText",(function(){return le(n.props.value||"",he(n.props.children))})),E(c(n),"executeOnChange",(function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),r=1;r<t;r++)u[r-1]=arguments[r];var o,s;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(u)):n.props.valueLink?(s=n.props.valueLink).requestChange.apply(s,[e.target.value].concat(u)):void 0})),E(c(n),"handleChange",(function(e){if(Ie=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",u=he(n.props.children),r=e.target.value,o=function(e,t,n,u){var r=n.selectionStartBefore,o=n.selectionEndBefore,s=n.selectionEndAfter,i=le(e,u),a=i.length-t.length;"undefined"===r&&(r=s+a),"undefined"===o&&(o=r),r===o&&o===s&&i.length===t.length&&(r-=1);var l=t.slice(r,s),c=Math.min(r,s),f=o;r===s&&(f=Math.max(o,r+a));var p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),g=ce(e,u,c,"NULL"),E=ce(e,u,f,"NULL"),h=null===g||null===E,v=fe(e,p,d,l);if(!h){var y=le(v,u);if(y!==t){for(c=0;t[c]===y[c];)c++;l=t.slice(c,s),f=i.lastIndexOf(t.substring(s)),p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),v=fe(e,p,d,l)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},u);r=le(o,u);var s=e.target.selectionStart,i=e.target.selectionEnd,a=!1,l=function(e,t,n){var u=n,r=!1;if(ae(e,t,(function(e,t,o,s,i,a,l){o<=n&&o+i.length>n&&(u=o,r=!0)})),r)return u}(t,u,s);void 0!==l&&n.state.selectionEnd>l&&(i=s=l,a=!0),n.setState({selectionStart:s,selectionEnd:i,setSelectionAfterMentionChange:a});var c=pe(o,u),f={target:{value:o}};n.executeOnChange(f,o,r,c)}})),E(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Ie){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),E(c(n),"handleKeyDown",(function(e){if(0!==ge(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Me).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Me.ESC:return void n.clearSuggestions();case Me.DOWN:return void n.shiftFocus(1);case Me.UP:return void n.shiftFocus(-1);case Me.RETURN:case Me.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),E(c(n),"shiftFocus",(function(e){var t=ge(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),E(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,o=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(u(e),u(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],s=o.result,i=o.queryInfo;n.addMention(s,i),n.setState({focusIndex:0})})),E(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),E(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),E(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),E(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,u=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var s=n.suggestionsElement,i=n.highlighterElement,a=i.getBoundingClientRect(),l=Ne(i,"font-size"),c={left:a.left+e.left,top:a.top+e.top+l},f=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(s){var p={};if(u){p.position="fixed";var d=c.left,g=c.top;d-=Ne(s,"margin-left"),g-=Ne(s,"margin-top"),d-=i.scrollLeft,g-=i.scrollTop;var E=Math.max(document.documentElement.clientWidth,window.innerWidth||0);d+s.offsetWidth>E?p.left=Math.max(0,E-s.offsetWidth):p.left=d,r&&g+s.offsetHeight>f&&s.offsetHeight<g-l||o?p.top=Math.max(0,g-s.offsetHeight-l):p.top=g}else{var h=e.left-i.scrollLeft,v=e.top-i.scrollTop;h+s.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=h,r&&c.top-i.scrollTop+s.offsetHeight>f&&s.offsetHeight<a.top-l-i.scrollTop?p.top=v-s.offsetHeight-l:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),E(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),E(c(n),"handleCompositionStart",(function(){Ie=!0})),E(c(n),"handleCompositionEnd",(function(){Ie=!1})),E(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var u=n.inputElement;if(u.setSelectionRange)u.setSelectionRange(e,t);else if(u.createTextRange){var r=u.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),E(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var u=n.props.value||"",r=n.props.children,o=he(r),s=ce(u,o,t,"NULL");if(null!==s){var i=function(e,t){var n=pe(e,t),u=n[n.length-1];return u?u.plainTextIndex+u.display.length:0}(u.substring(0,s),o),a=e.substring(i,t);v().Children.forEach(r,(function(t,u){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,u=te(e);return new RegExp("(?:^|\\s)(".concat(u,"([^").concat(n?"":"\\s").concat(u,"]*))$"))}(t.props.trigger,n.props),o=a.match(r);if(o){var s=i+a.indexOf(o[1],o.index);n.queryData(o[2],u,s,s+o[1].length,e)}}}))}})),E(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),E(c(n),"queryData",(function(e,t,u,r,o){var s=n.props,i=s.children,a=s.ignoreAccents,l=function(e,t){return e instanceof Array?function(n,u){for(var r=[],o=0,s=e.length;o<s;++o){var i=e[o].display||e[o].id;be(i,n,t)>=0&&r.push(e[o])}return r}:e}(h.Children.toArray(i)[t].props.data,a),c=l(e,n.updateSuggestions.bind(null,n._queryId,t,e,u,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,u,r,o,c)})),E(c(n),"updateSuggestions",(function(e,t,u,r,o,s,i){if(e===n._queryId){n.suggestions=Ze({},n.suggestions,E({},t,{queryInfo:{childIndex:t,query:u,querySequenceStart:r,querySequenceEnd:o,plainTextValue:s},results:i}));var a=n.state.focusIndex,l=ge(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:a>=l?Math.max(l-1,0):a})}})),E(c(n),"addMention",(function(e,t){var u=e.id,r=e.display,o=t.childIndex,s=t.querySequenceStart,i=t.querySequenceEnd,a=t.plainTextValue,l=n.props.value||"",c=he(n.props.children),f=h.Children.toArray(n.props.children)[o].props,p=f.markup,d=f.displayTransform,g=f.appendSpaceOnAdd,E=f.onAdd,v=ce(l,c,s,"START"),y=v+i-s,m=function(e,t,n){return e.replace(ne,t).replace(ue,n)}(p,u,r);g&&(m+=" ");var b=fe(l,v,y,m);n.inputElement.focus();var C=d(u,r);g&&(C+=" ");var A=s+C.length;n.setState({selectionStart:A,selectionEnd:A,setSelectionAfterMentionChange:!0});var F={target:{value:b}},D=pe(b,c),S=fe(a,s,i,C);n.executeOnChange(F,b,S,D),E&&E(u,r,v,y),n.clearSuggestions()})),E(c(n),"isLoading",(function(){var e=!1;return v().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),E(c(n),"isOpened",(function(){return Ce(n.state.selectionStart)&&(0!==ge(n.state.suggestions)||n.isLoading())})),E(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return g(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",r({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.value,s=r.children,i=he(s),a=ce(o,i,n,"START"),l=ce(o,i,u,"END"),c=e.clipboardData.getData("text/react-mentions"),f=e.clipboardData.getData("text/plain"),p=fe(o,a,l,c||f).replace(/\r/g,""),d=le(p,i),g={target:Ze({},e.target,{value:p})};this.executeOnChange(g,p,d,pe(p,i))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,u)),e.clipboardData.setData("text/react-mentions",s.slice(a,l))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END"),c=[s.slice(0,a),s.slice(l)].join(""),f=le(c,i),p={target:Ze({},e.target,{value:f})};this.executeOnChange(p,c,f,pe(s,i))}}}]),t}(v().Component);E(_e,"propTypes",ke),E(_e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Ne=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},Re=De({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:Ze({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(_e),He={fontWeight:"inherit"},ze=function(e){var t=e.display,n=e.style,u=e.className,r=e.classNames,o=Q(He,{style:n,className:u,classNames:r});return v().createElement("strong",o,t)};ze.propTypes={onAdd:G().func,onRemove:G().func,renderSuggestion:G().func,trigger:G().oneOfType([G().string,G().instanceOf(RegExp)]),markup:G().string,displayTransform:G().func,allowSpaceInQuery:G().bool,isLoading:G().bool},ze.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c994e27-9971-4567-afd0-b8d2c21a7d7b",e._sentryDebugIdIdentifier="sentry-dbid-0c994e27-9971-4567-afd0-b8d2c21a7d7b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1665"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[735],{89507:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight");t.Z=s},4836:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2zm-3 6.42 3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4 4-3.99z"}),"BrokenImage");t.Z=s},43589:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.Z=s},54675:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=s},18169:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=s},6163:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=s},711:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");t.Z=s},85101:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");t.Z=s},25661:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");t.Z=s},34506:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}),"Link");t.Z=s},59916:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z"}),"LocalOffer");t.Z=s},17283:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.Z=s},78781:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=s},11376:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("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");t.Z=s},31563:(e,t,n)=>{var u=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.default=s},15650:(e,t,n)=>{var u=n(71600);t.Z=void 0;var r=u(n(68671)),o=n(52322),s=(0,r.default)((0,o.jsx)("path",{d:"M4 18h2.5v-2.5H4V18zm0-4.75h2.5v-2.5H4v2.5zM4 8.5h2.5V6H4v2.5zM17.5 6v2.5H20V6h-2.5zM13 8.5h2.5V6H13v2.5zm4.5 9.5H20v-2.5h-2.5V18zm0-4.75H20v-2.5h-2.5v2.5zM8.5 18H11v-2.5H8.5V18zm4.5 0h2.5v-2.5H13V18zM8.5 8.5H11V6H8.5v2.5zm4.5 4.75h2.5v-2.5H13v2.5zm-4.5 0H11v-2.5H8.5v2.5z"}),"ViewCompact");t.Z=s},83422:(e,t,n)=>{n.d(t,{Z:()=>y});var u=n(7896),r=n(31461),o=n(24328),s=n(6277),i=n(31427),a=n(37450),l=n(89836),c=n(16933),f=n(52322);const p=["className","component"];var d=n(68542),g=n(40476),E=n(16912);const h=(0,g.Z)(),v=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:d="MuiBox-root",generateClassName:g}=e,E=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.Z);return o.forwardRef((function(e,o){const i=(0,c.Z)(n),a=(0,l.Z)(e),{className:h,component:v="div"}=a,y=(0,r.Z)(a,p);return(0,f.jsx)(E,(0,u.Z)({as:v,ref:o,className:(0,s.default)(h,g?g(d):d),theme:t&&i[t]||i},y))}))}({themeId:E.Z,defaultTheme:h,defaultClassName:"MuiBox-root",generateClassName:d.Z.generate}),y=v},53626:(e,t,n)=>{n.d(t,{Z:()=>l});var u=n(7896),r=n(31461),o=(n(24328),n(62578)),s=n(16912),i=n(52322);const a=["theme"];function l(e){let{theme:t}=e,n=(0,r.Z)(e,a);const l=t[s.Z];return(0,i.jsx)(o.Z,(0,u.Z)({},n,{themeId:l?s.Z:void 0,theme:l||t}))}},97218:(e,t,n)=>{n.d(t,{Z:()=>a});var u=n(24328),r=n(10553),o=n(47903),s=n(53227),i=n(52322);const a=function(e){const{children:t,theme:n}=e,a=(0,o.Z)(),l=u.useMemo((()=>{const e=null===a?n:function(e,t){return"function"==typeof t?t(e):{...e,...t}}(a,n);return null!=e&&(e[s.Z]=null!==a),e}),[n,a]);return(0,i.jsx)(r.Z.Provider,{value:l,children:t})}},62578:(e,t,n)=>{n.d(t,{Z:()=>p});var u=n(7896),r=n(24328),o=n(47903),s=n(97218),i=n(46324),a=n(38457),l=n(52322);const c={};function f(e,t,n,o=!1){return r.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const s=n(r),i=e?(0,u.Z)({},t,{[e]:s}):s;return o?()=>i:i}return e?(0,u.Z)({},t,{[e]:n}):(0,u.Z)({},t,n)}),[e,t,n,o])}const p=function(e){const{children:t,theme:n,themeId:u}=e,r=(0,a.Z)(c),p=(0,o.Z)()||c,d=f(u,r,n),g=f(u,p,n,!0);return(0,l.jsx)(s.Z,{theme:g,children:(0,l.jsx)(i.ThemeContext.Provider,{value:d,children:t})})}},47677:e=>{e.exports=function(e,t,n,u,r,o,s,i){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,u,r,o,s,i],c=0;(a=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},2271:(e,t,n)=>{function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},r.apply(this,arguments)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e){return a="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},a(e)}function l(e){return l="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?c(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function g(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&&d(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>ze,r:()=>Re});var h=n(24328),v=n.n(h),y=n(47677),m=n.n(y);var b=n(56666),C=n(38777),A=function(e){return e===Object(e)?Object.keys(e):[]},F=function(e){return e===Object(e)?Object.values(e):[]};function D(e,t){var n=Object.assign({},e);return x(e)&&x(t)&&A(t).forEach((function(u){x(t[u])&&u in e?n[u]=D(e[u],t[u]):Object.assign(n,(0,b.Z)({},u,t[u]))})),n}var S=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return n.reduce((function(e,t){return D(e,t)}),e)},O=function(e,t){var n=Object.assign({},e);if(t)for(var u=0;u<t.length;u++)delete n[t[u]];return n},x=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},w=function(e){return(e||[]).filter(Boolean)},j=function(e){return"&"===e[0]},B=function(e){return!j(e)},P=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},T=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=A(e),u={},r=0,o=n.length;r<o;r+=1){var s=n[r],i="[object Object]"!==Object.prototype.toString.call(e[s])||":"===s[0]||"@"===s[0]||t.indexOf(s)>=0;i&&(u[s]=e[s])}return u},L=function(e,t){for(var n=t.map(P),u=A(e),r={},o=0,s=u.length;o<s;o+=1){var i=u[o];(t.indexOf(i)>=0||n.indexOf(P(i))>=0)&&(r[i]=e[i])}return r},Z=function e(t,n){for(var u=S.apply(void 0,[{},O(t,n)].concat((0,C.Z)(F(L(t,n))))),r=A(u).filter(j),o=0,s=r.length;o<s;o+=1){var i=r[o],a=e(u[i],n);n.indexOf(i)>=0?(delete u[i],u=S({},u,a)):u[i]=a}return u};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=["animationName"];const _=function(e){var t=e.style,n=e.className;return I(I({},t?{style:T(t,k)}:{}),n?{className:n}:{})};var N=(0,h.createContext)(_);N.Provider;const R=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return A(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var H={};const z=function(e){return function(t,n){var u,r=n||H;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?u=e.memoize.get(r):(u={},e.memoize.set(r,u));var o=R(t).join(" ");return o in u?u[o]:u[o]=e(t||[],n)}};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=function(e){var t=e&&A(e)[0];return t&&t.split("__")[0].split("--")[0]},W=function(e,t,n){if(e){var u=e.split(" ")[0],r=[].concat((0,C.Z)(0===t.length?n.map((function(e){return"".concat(u,"--").concat(e.substring(1))})):[]),(0,C.Z)(t.map((function(e){return"".concat(u,"__").concat(e)}))));return 0===t.length?[e].concat((0,C.Z)(r)):r}};const K=function e(t){var n=t.style,u=t.className,r=t.classNames,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,s=u||U(r)||(null==n?void 0:n.className),i="function"==typeof n?n:z((function(t,u){var i=R(t);m()(Array.isArray(i),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),m()(!u||x(u),"Optional second parameter must be a plain object.");var a=i.filter(j),l=i.filter(B),c=l.length>0?function(e){return F(L(e,l))}:function(e){return[e]},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(Z(e,a))},p=W(s,l,a);return e(V(V(V({},(n||u)&&{style:S.apply(void 0,[{}].concat((0,C.Z)(f(u)),(0,C.Z)(f(n))))}),p&&{className:p.join(" ")}),r&&{classNames:r}),o)})),a=V({},"function"==typeof n?n:{style:n}),l=(0,C.Z)(new Set([].concat((0,C.Z)(a.className?a.className.split(" "):[]),(0,C.Z)(s?s.split(" "):[])))),c=r?w(l.map((function(e){return r[e]}))):l,f=o(V(V({},a),c.length>0?{className:c.join(" ")}:{}));return Object.assign(i,f),i},Q=function(e,t,n){var u=t.style,r=t.className,o=t.classNames,s=(0,h.useContext)(N);return(0,h.useMemo)((function(){return K({style:u,className:r,classNames:o},s)}),[u,r,o,s])(n,e)};function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){(0,b.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=n(13980),G=n.n(J),X=n(75047),ee=n.n(X),te=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},ne="__id__",ue="__display__",re=function(e,t){m()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(ue),u=e.indexOf(ne);return n<0&&(n=null),u<0&&(u=null),m()(null!==n||null!==u,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==u?"id"===t&&u<=n||"display"===t&&n<=u?0:1:0},oe=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,u,r=(n=t.exec(e.toString()),u=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],u=!0,r=!1,o=void 0;try{for(var s,i=e[Symbol.iterator]();!(u=(s=i.next()).done)&&(n.push(s.value),!t||n.length!==t);u=!0);}catch(e){r=!0,o=e}finally{try{u||null==i.return||i.return()}finally{if(r)throw o}}return n}(n,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=r[1],s=r[2];return m()(!s,"RegExp flags are not supported. Change /".concat(o,"/").concat(s," into /").concat(o,"/")),"(".concat(o,")")})).join("|"),"g")},se=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},ie=function(){},ae=function(e,t,n){for(var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ie,o=oe(t.map((function(e){return e.regex}))),s=2,i=t.map((function(e){var t=e.markup,n=s;return s+=se(t)+1,n})),a=0,l=0;null!==(u=o.exec(e));){var c=i.find((function(e){return!!u[e]})),f=i.indexOf(c),p=t[f],d=p.markup,g=p.displayTransform,E=c+re(d,"id"),h=c+re(d,"display"),v=u[E],y=g(v,u[h]),m=e.substring(a,u.index);r(m,a,l),l+=m.length,n(u[0],u.index,l,v,y,f,a),l+=y.length,a=o.lastIndex}a<e.length&&r(e.substring(a),a,l)},le=function(e,t){var n="";return ae(e,t,(function(e,t,u,r,o){n+=o}),(function(e){n+=e})),n},ce=function(e,t,n){var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===u&&r+e.length>=n&&(u=t+n-r)},s=function(e,t,o,s,i,a,l){void 0===u&&o+i.length>n&&(u="NULL"===r?null:t+("END"===r?e.length:0))};return ae(e,t,s,o),void 0===u?e.length:u},fe=function(e,t,n,u){return e.substring(0,t)+u+e.substring(n)},pe=function(e,t){var n=[];return ae(e,t,(function(e,t,u,r,o,s,i){n.push({id:r,display:o,childIndex:s,index:t,plainTextIndex:u})})),n},de=function(e,t){return"".concat(e,"-").concat(t)},ge=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},Ee=function(e){var t=te(e),n=e[e.indexOf(ue)+ue.length],u=e[e.indexOf(ne)+ne.length];return new RegExp(t.replace(ue,"([^".concat(te(n||""),"]+?)")).replace(ne,"([^".concat(te(u||""),"]+?)")))},he=function(e){return h.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,u=t.regex,r=t.displayTransform;return{markup:n,regex:u?ve(u,n):Ee(n),displayTransform:r||function(e,t){return t||e}}}))},ve=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,u=se(t);return m()(n===u,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(u,")")),e},ye=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],me=function(e){return function(e){var t=e;return ye.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},be=function(e,t,n){return n?me(e).indexOf(me(t)):e.toLowerCase().indexOf(t.toLowerCase())},Ce=function(e){return"number"==typeof e},Ae=function(e){return e===Object(e)?Object.keys(e):[]},Fe=function(e){for(var t,n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];var o=(t=[]).concat.apply(t,u);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function De(e,t){return function(n){var u=function(u){var o=u.style,s=u.className,i=u.classNames,a=function(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n,u,r={},o=Object.keys(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(u,["style","className","classNames"]),l=t?t(a):void 0,c=Q(e,{style:o,className:s,classNames:i},l);return v().createElement(n,r({},a,{style:c}))},o=n.displayName||n.name||"Component";return u.displayName="defaultStyle(".concat(o,")"),u}}var Se=function(e){function t(){var e;return o(this,t),E(c(e=f(this,p(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return g(t,e),i(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var u={left:t,top:n};this.setState(u),this.props.onCaretPositionChange(u)}}}},{key:"render",value:function(){var e,t=this,n=this.props,u=n.selectionStart,o=n.selectionEnd,s=n.value,i=n.style,a=n.children,l=n.containerRef,c=he(a);u===o&&(e=ce(s,c,u,"START"));var f=[],p={},d=f,g=0;return ae(s,c,(function(e,n,u,r,o,s,i){var a=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(p,r);d.push(t.getMentionComponentForMatch(r,o,s,a))}),(function(n,u,r){if(Ce(e)&&e>=u&&e<=u+n.length){var o=e-u;d.push(t.renderSubstring(n.substring(0,o),g)),d=[t.renderSubstring(n.substring(o),g)]}else d.push(t.renderSubstring(n,g));g++})),d.push(" "),d!==f&&f.push(this.renderHighlighterCaret(d)),v().createElement("div",r({},i,{ref:l}),f)}},{key:"renderSubstring",value:function(e,t){return v().createElement("span",r({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,u){var r={id:e,display:t,key:u},o=h.Children.toArray(this.props.children)[n];return v().cloneElement(o,r)}},{key:"renderHighlighterCaret",value:function(e){return v().createElement("span",r({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(h.Component);E(Se,"propTypes",{selectionStart:G().number,selectionEnd:G().number,value:G().string.isRequired,onCaretPositionChange:G().func.isRequired,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Se,"defaultProps",{value:""});var Oe=De({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(Se),xe=function(e){function t(){return o(this,t),f(this,p(t).apply(this,arguments))}return g(t,e),i(t,[{key:"render",value:function(){var e=Fe(this.props,["style","classNames","className"],Ae(t.propTypes));return v().createElement("li",r({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,u=e.suggestion,r=e.index,o=e.focused,s=this.getDisplay(),i=this.renderHighlightedDisplay(s,t);return n?n(u,t,i,r,o):i}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,u=t.query,r=t.style,o=be(e,u,n);return-1===o?v().createElement("span",r("display"),e):v().createElement("span",r("display"),e.substring(0,o),v().createElement("b",r("highlight"),e.substring(o,o+u.length)),e.substring(o+u.length))}}]),t}(h.Component);E(xe,"propTypes",{id:G().string.isRequired,query:G().string.isRequired,index:G().number.isRequired,ignoreAccents:G().bool,suggestion:G().oneOfType([G().string,G().shape({id:G().oneOfType([G().string,G().number]).isRequired,display:G().string})]).isRequired,renderSuggestion:G().func,focused:G().bool});var we=De({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(xe);function je(){var e=Q(),t=e("spinner");return v().createElement("div",e,v().createElement("div",t,v().createElement("div",t(["element","element1"])),v().createElement("div",t(["element","element2"])),v().createElement("div",t(["element","element3"])),v().createElement("div",t(["element","element4"])),v().createElement("div",t(["element","element5"]))))}var Be=function(e){function t(){var e,n;o(this,t);for(var u=arguments.length,r=new Array(u),s=0;s<u;s++)r[s]=arguments[s];return E(c(n=f(this,(e=p(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),E(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),E(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return g(t,e),i(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,u=t.bottom,r=this.ulElement.getBoundingClientRect().top;u=u-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:u>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=u-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,u=e.isOpened,o=e.style,s=e.onMouseDown,i=e.containerRef,a=e.position,l=e.left,c=e.top;return u?v().createElement("div",r({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return $($($({},e),"function"==typeof t?t:{}),{},{style:$($({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:a||"absolute",left:l,top:c},o),{onMouseDown:s,ref:i}),v().createElement("ul",r({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},o("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,o=n.queryInfo;return[].concat(u(t),u(r.map((function(n,u){return e.renderSuggestion(n,o,t.length+u)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var u=this,r=n===this.props.focusIndex,o=t.childIndex,s=t.query,i=h.Children.toArray(this.props.children)[o].props.renderSuggestion,a=this.props.ignoreAccents;return v().createElement(we,{style:this.props.style("item"),key:"".concat(o,"-").concat(Pe(e)),id:de(this.props.id,n),query:s,index:n,ignoreAccents:a,renderSuggestion:i,suggestion:e,focused:r,onClick:function(){return u.select(e,t)},onMouseEnter:function(){return u.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return v().createElement(je,{style:this.props.style("loadingIndicator")})}}]),t}(h.Component);E(Be,"propTypes",{id:G().string.isRequired,suggestions:G().object.isRequired,a11ySuggestionsListLabel:G().string,focusIndex:G().number,position:G().string,left:G().number,top:G().number,scrollFocusedIntoView:G().bool,isLoading:G().bool,isOpened:G().bool.isRequired,onSelect:G().func,ignoreAccents:G().bool,containerRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired}),E(Be,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Pe=function(e){return"string"==typeof e?e:e.id},Te=De({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Be);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Ie=!1,ke={singleLine:G().bool,allowSpaceInQuery:G().bool,allowSuggestionsAboveCursor:G().bool,forceSuggestionsAboveCursor:G().bool,ignoreAccents:G().bool,a11ySuggestionsListLabel:G().string,value:G().string,onKeyDown:G().func,onSelect:G().func,onBlur:G().func,onChange:G().func,suggestionsPortalHost:"undefined"==typeof Element?G().any:G().PropTypes.instanceOf(Element),inputRef:G().oneOfType([G().func,G().shape({current:"undefined"==typeof Element?G().any:G().instanceOf(Element)})]),children:G().oneOfType([G().element,G().arrayOf(G().element)]).isRequired},_e=function(e){function t(e){var n;return o(this,t),E(c(n=f(this,p(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),E(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,u=e.disabled,r=e.style;return Ze({},Fe(n.props,["style","classNames","className"],Ae(ke)),{},r("input"),{value:n.getPlainText()},!t&&!u&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":de(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),E(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,u=e.style,r=n.getInputProps();return v().createElement("div",u("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),E(c(n),"renderInput",(function(e){return v().createElement("input",r({type:"text",ref:n.setInputRef},e))})),E(c(n),"renderTextarea",(function(e){return v().createElement("textarea",r({ref:n.setInputRef},e))})),E(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),E(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),E(c(n),"renderSuggestionsOverlay",(function(){if(!Ce(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,u=e.left,r=e.top,o=v().createElement(Te,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:u,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ee().createPortal(o,n.props.suggestionsPortalHost):o})),E(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,u=e.selectionEnd,r=n.props,o=r.singleLine,s=r.children,i=r.value,a=r.style;return v().createElement(Oe,{containerRef:n.setHighlighterElement,style:a("highlighter"),value:i,singleLine:o,selectionStart:t,selectionEnd:u,onCaretPositionChange:n.handleCaretPositionChange},s)})),E(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),E(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),E(c(n),"getPlainText",(function(){return le(n.props.value||"",he(n.props.children))})),E(c(n),"executeOnChange",(function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),r=1;r<t;r++)u[r-1]=arguments[r];var o,s;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(u)):n.props.valueLink?(s=n.props.valueLink).requestChange.apply(s,[e.target.value].concat(u)):void 0})),E(c(n),"handleChange",(function(e){if(Ie=!1,(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",u=he(n.props.children),r=e.target.value,o=function(e,t,n,u){var r=n.selectionStartBefore,o=n.selectionEndBefore,s=n.selectionEndAfter,i=le(e,u),a=i.length-t.length;"undefined"===r&&(r=s+a),"undefined"===o&&(o=r),r===o&&o===s&&i.length===t.length&&(r-=1);var l=t.slice(r,s),c=Math.min(r,s),f=o;r===s&&(f=Math.max(o,r+a));var p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),g=ce(e,u,c,"NULL"),E=ce(e,u,f,"NULL"),h=null===g||null===E,v=fe(e,p,d,l);if(!h){var y=le(v,u);if(y!==t){for(c=0;t[c]===y[c];)c++;l=t.slice(c,s),f=i.lastIndexOf(t.substring(s)),p=ce(e,u,c,"START"),d=ce(e,u,f,"END"),v=fe(e,p,d,l)}}return v}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},u);r=le(o,u);var s=e.target.selectionStart,i=e.target.selectionEnd,a=!1,l=function(e,t,n){var u=n,r=!1;if(ae(e,t,(function(e,t,o,s,i,a,l){o<=n&&o+i.length>n&&(u=o,r=!0)})),r)return u}(t,u,s);void 0!==l&&n.state.selectionEnd>l&&(i=s=l,a=!0),n.setState({selectionStart:s,selectionEnd:i,setSelectionAfterMentionChange:a});var c=pe(o,u),f={target:{value:o}};n.executeOnChange(f,o,r,c)}})),E(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Ie){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),E(c(n),"handleKeyDown",(function(e){if(0!==ge(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Me).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Me.ESC:return void n.clearSuggestions();case Me.DOWN:return void n.shiftFocus(1);case Me.UP:return void n.shiftFocus(-1);case Me.RETURN:case Me.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),E(c(n),"shiftFocus",(function(e){var t=ge(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),E(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,o=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(u(e),u(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],s=o.result,i=o.queryInfo;n.addMention(s,i),n.setState({focusIndex:0})})),E(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),E(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),E(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),E(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,u=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var s=n.suggestionsElement,i=n.highlighterElement,a=i.getBoundingClientRect(),l=Ne(i,"font-size"),c={left:a.left+e.left,top:a.top+e.top+l},f=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(s){var p={};if(u){p.position="fixed";var d=c.left,g=c.top;d-=Ne(s,"margin-left"),g-=Ne(s,"margin-top"),d-=i.scrollLeft,g-=i.scrollTop;var E=Math.max(document.documentElement.clientWidth,window.innerWidth||0);d+s.offsetWidth>E?p.left=Math.max(0,E-s.offsetWidth):p.left=d,r&&g+s.offsetHeight>f&&s.offsetHeight<g-l||o?p.top=Math.max(0,g-s.offsetHeight-l):p.top=g}else{var h=e.left-i.scrollLeft,v=e.top-i.scrollTop;h+s.offsetWidth>n.containerElement.offsetWidth?p.right=0:p.left=h,r&&c.top-i.scrollTop+s.offsetHeight>f&&s.offsetHeight<a.top-l-i.scrollTop?p.top=v-s.offsetHeight-l:p.top=v}p.left===n.state.suggestionsPosition.left&&p.top===n.state.suggestionsPosition.top&&p.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:p})}}})),E(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),E(c(n),"handleCompositionStart",(function(){Ie=!0})),E(c(n),"handleCompositionEnd",(function(){Ie=!1})),E(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var u=n.inputElement;if(u.setSelectionRange)u.setSelectionRange(e,t);else if(u.createTextRange){var r=u.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),E(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var u=n.props.value||"",r=n.props.children,o=he(r),s=ce(u,o,t,"NULL");if(null!==s){var i=function(e,t){var n=pe(e,t),u=n[n.length-1];return u?u.plainTextIndex+u.display.length:0}(u.substring(0,s),o),a=e.substring(i,t);v().Children.forEach(r,(function(t,u){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,u=te(e);return new RegExp("(?:^|\\s)(".concat(u,"([^").concat(n?"":"\\s").concat(u,"]*))$"))}(t.props.trigger,n.props),o=a.match(r);if(o){var s=i+a.indexOf(o[1],o.index);n.queryData(o[2],u,s,s+o[1].length,e)}}}))}})),E(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),E(c(n),"queryData",(function(e,t,u,r,o){var s=n.props,i=s.children,a=s.ignoreAccents,l=function(e,t){return e instanceof Array?function(n,u){for(var r=[],o=0,s=e.length;o<s;++o){var i=e[o].display||e[o].id;be(i,n,t)>=0&&r.push(e[o])}return r}:e}(h.Children.toArray(i)[t].props.data,a),c=l(e,n.updateSuggestions.bind(null,n._queryId,t,e,u,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,u,r,o,c)})),E(c(n),"updateSuggestions",(function(e,t,u,r,o,s,i){if(e===n._queryId){n.suggestions=Ze({},n.suggestions,E({},t,{queryInfo:{childIndex:t,query:u,querySequenceStart:r,querySequenceEnd:o,plainTextValue:s},results:i}));var a=n.state.focusIndex,l=ge(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:a>=l?Math.max(l-1,0):a})}})),E(c(n),"addMention",(function(e,t){var u=e.id,r=e.display,o=t.childIndex,s=t.querySequenceStart,i=t.querySequenceEnd,a=t.plainTextValue,l=n.props.value||"",c=he(n.props.children),f=h.Children.toArray(n.props.children)[o].props,p=f.markup,d=f.displayTransform,g=f.appendSpaceOnAdd,E=f.onAdd,v=ce(l,c,s,"START"),y=v+i-s,m=function(e,t,n){return e.replace(ne,t).replace(ue,n)}(p,u,r);g&&(m+=" ");var b=fe(l,v,y,m);n.inputElement.focus();var C=d(u,r);g&&(C+=" ");var A=s+C.length;n.setState({selectionStart:A,selectionEnd:A,setSelectionAfterMentionChange:!0});var F={target:{value:b}},D=pe(b,c),S=fe(a,s,i,C);n.executeOnChange(F,b,S,D),E&&E(u,r,v,y),n.clearSuggestions()})),E(c(n),"isLoading",(function(){var e=!1;return v().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),E(c(n),"isOpened",(function(){return Ce(n.state.selectionStart)&&(0!==ge(n.state.suggestions)||n.isLoading())})),E(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return g(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return v().createElement("div",r({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.value,s=r.children,i=he(s),a=ce(o,i,n,"START"),l=ce(o,i,u,"END"),c=e.clipboardData.getData("text/react-mentions"),f=e.clipboardData.getData("text/plain"),p=fe(o,a,l,c||f).replace(/\r/g,""),d=le(p,i),g={target:Ze({},e.target,{value:p})};this.executeOnChange(g,p,d,pe(p,i))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,u)),e.clipboardData.setData("text/react-mentions",s.slice(a,l))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=he(o),a=ce(s,i,n,"START"),l=ce(s,i,u,"END"),c=[s.slice(0,a),s.slice(l)].join(""),f=le(c,i),p={target:Ze({},e.target,{value:f})};this.executeOnChange(p,c,f,pe(s,i))}}}]),t}(v().Component);E(_e,"propTypes",ke),E(_e,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var Ne=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},Re=De({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:Ze({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(_e),He={fontWeight:"inherit"},ze=function(e){var t=e.display,n=e.style,u=e.className,r=e.classNames,o=Q(He,{style:n,className:u,classNames:r});return v().createElement("strong",o,t)};ze.propTypes={onAdd:G().func,onRemove:G().func,renderSuggestion:G().func,trigger:G().oneOfType([G().string,G().instanceOf(RegExp)]),markup:G().string,displayTransform:G().func,allowSpaceInQuery:G().bool,isLoading:G().bool},ze.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}}}]);
2
2
  //# sourceMappingURL=735.js.map
package/7363.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3ce1aecc-6e46-42c1-a2b7-8a0fe507314b",e._sentryDebugIdIdentifier="sentry-dbid-3ce1aecc-6e46-42c1-a2b7-8a0fe507314b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1664"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7363],{78223:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),a=n(23883),i=n(72342),l=n(13980),s=n.n(l);const c={tooltipTitle:s().node,tooltipPlacement:s().string,showForDisabled:s().bool};const u={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}]},p=(0,i.makeStyles)((e=>({tooltip:e.tooltip,wrapper:{lineHeight:0}}))),d=e=>{const t=(0,r.forwardRef)(((t,n)=>{let{tooltipTitle:r,tooltipPlacement:i,showForDisabled:l=!1}=t,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["tooltipTitle","tooltipPlacement","showForDisabled"]);const c=p();return r?o().createElement(a.Z,{ref:n,title:r,placement:i||"bottom",disableFocusListener:!0,disableTouchListener:!0,classes:{tooltip:c.tooltip},PopperProps:u},(t=>t?o().createElement("span",{className:c.wrapper},o().createElement(e,s)):o().createElement(e,s))(l)):o().createElement(e,s)}));return t.displayName="WithTooltip",t.propTypes=c,t}},7522:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const s=e=>o().createElement("svg",l({width:79,height:68,viewBox:"0 0 79 68",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o().createElement("path",{d:"M24.889 40.444V22.556H3.603v-2.334H24.89V3.89h2.333v16.333h23.334V3.89h2.333v16.333h18.157v2.334H52.889v17.888h18.157v2.334H52.889v17.396h-2.333V42.778H27.222v17.396H24.89V42.778H3.603v-2.334H24.89zm2.333 0h23.334V22.556H27.222v17.888z",fill:"#D2DEDE",opacity:.2}),o().createElement("path",{d:"M68.725 3.889H3.889v29.814l13.413-14.36 14.399 6.347 11.265-7.467h16.633l9.126-14.334zm2.053 4.016l-9.044 14.207H44.138l-12.06 7.994-13.818-6.091L3.889 39.4V59.89h66.889V7.905zM3 0h68.667a3 3 0 013 3v57.778a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3z",fill:"#D2DEDE",opacity:.5}),o().createElement("path",{d:"M66.732 52.044H64.79l-.689-.664a15.91 15.91 0 003.86-10.4c0-8.826-7.154-15.98-15.98-15.98C43.154 25 36 32.154 36 40.98c0 8.827 7.154 15.981 15.98 15.981a15.91 15.91 0 0010.4-3.86l.664.689v1.942L75.337 68 79 64.337 66.732 52.044zM52 52c-6.087 0-11-4.913-11-11s4.913-11 11-11 11 4.913 11 11-4.913 11-11 11z",fill:"#B5C8C9",fillRule:"nonzero"}))),c=(0,n(72342).makeStyles)({container:{display:"flex",flexShrink:0,alignItems:"center",height:"36px","& $smallIcon":{height:"24px",width:"28px",paddingRight:"10px",paddingLeft:"2px"},"& $text":{height:"14px",color:"#707F80",fontSize:"12px",lineHeight:"14px"}},smallIcon:{},text:{}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const p=e=>{let{className:t,message:n}=e,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","message"]);const a=c();return o().createElement("div",u({className:i()(a.container,t)},r),o().createElement(s,{className:a.smallIcon}),o().createElement("div",{className:a.text},n))}},32479:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a),l=n(50914),s=n(2507),c=n.n(s),u=n(83820),p=n(74176),d=n(14596);const f=(0,n(72342).makeStyles)((()=>({errorBlock:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",minHeight:"58px",left:0,right:0,width:"calc(100% - 64px)",maxWidth:"1280px",margin:"0 auto",zIndex:1e4}})));function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const h=p.ZP.addError,b=e=>{let{showErrorFromStore:t}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["showErrorFromStore"]);const a=f(),s=(0,d.ax)("errorSet"),h=(0,d.Qv)(),y=(0,d.ws)();return(0,r.useEffect)((()=>{y&&t&&(b.addError({title:c().text("Error"),message:y}),s(null))}),[s,y,t]),o().createElement(u.Z,{container:document.body},o().createElement(p.ZP,m({classes:{errorBlock:i()(a.errorBlock,(0,l.path)(["classes","errorBlock"],n))},autoCloseInterval:h},n)))};b.addError=h;const y=b},40007:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(44443),i=n(23883);const l=(0,n(72342).makeStyles)((e=>({tooltip:e.tooltip,popper:{zIndex:1e4}})));function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=e=>{let{children:t,value:n="",className:u,showOnExceededWidth:p=!0,showOnExceededHeight:d}=e,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","value","className","showOnExceededWidth","showOnExceededHeight"]);const m=l(),h=(0,r.useRef)(),[b,y]=(0,r.useState)(!1),g=()=>y(((e,t,n)=>e&&(t&&e.clientWidth<e.scrollWidth||n&&e.clientHeight<e.scrollHeight))(h.current,p,d));return(0,r.useEffect)(g,[d,p,n]),o().createElement(o().Fragment,null,o().createElement(a.Z,{handleWidth:p,handleHeight:d,onResize:g,refreshMode:"debounce",refreshRate:100}),o().createElement(i.Z,s({ref:h,title:b?n:"",classes:c({},m,{tooltip:u})},f),t))}},33286:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(24328),o=n.n(r);const a=e=>{let{margin:t,level:n,className:r,children:a}=e;return null!=n?o().createElement("div",{style:{marginLeft:n*t},className:r},a):a}},7421:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a);const l=e=>{let{anchorEl:t,leftBackdropRef:n,rightBackdropRef:r,topBackdropRef:o,bottomBackdropRef:a,rafIdRef:i,lastResizeTimestamp:s=0}=e;if(t){if(Date.now()-s>100&&o.current&&n.current&&r.current&&a.current){const e=t.getBoundingClientRect();o.current.style.top="0",o.current.style.left="0",o.current.style.right="0",o.current.style.height=e.top+"px",n.current.style.top="0",n.current.style.left="0",n.current.style.width=e.left+"px",n.current.style.bottom="0",r.current.style.top="0",r.current.style.left=e.right+"px",r.current.style.right="0",r.current.style.bottom="0",a.current.style.top=e.bottom+"px",a.current.style.left="0",a.current.style.right="0",a.current.style.bottom="0",s=Date.now()}i.current=requestAnimationFrame((()=>l({anchorEl:t,leftBackdropRef:n,rightBackdropRef:r,topBackdropRef:o,bottomBackdropRef:a,rafIdRef:i,lastResizeTimestamp:s})))}};var s=n(79573),c=n(83820),u=n(62280);const p=(0,n(72342).makeStyles)({backdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:10},popper:{zIndex:1300}});function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const f=(0,r.forwardRef)(((e,t)=>{let{open:n,anchorEl:a,className:f,modal:m=!0,excludeAnchorFromBackdrop:h=!0,onClose:b=s.ZT}=e,y=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","anchorEl","className","modal","excludeAnchorFromBackdrop","onClose"]);const g=p(),v=(0,r.useRef)(),O=(0,r.useRef)(),P=(0,r.useRef)(),x=(0,r.useRef)(),w=(0,r.useRef)();return(0,r.useEffect)((()=>{if(n&&m)return l({anchorEl:a,leftBackdropRef:v,rightBackdropRef:O,topBackdropRef:P,bottomBackdropRef:x,rafIdRef:w}),()=>cancelAnimationFrame(w.current)}),[a,n,m]),o().createElement(o().Fragment,null,m&&n&&o().createElement(c.Z,{container:document.body},h?o().createElement(o().Fragment,null,o().createElement("div",{ref:P,className:g.backdrop,onClick:b}),o().createElement("div",{ref:O,className:g.backdrop,onClick:b}),o().createElement("div",{ref:x,className:g.backdrop,onClick:b}),o().createElement("div",{ref:v,className:g.backdrop,onClick:b})):o().createElement("div",{className:g.backdrop,onClick:b})),o().createElement(u.Z,d({open:n,anchorEl:a},y,{className:i()(f,g.popper),ref:t})))}));f.displayName="Popper";const m=f},49861:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(4515),o=n(44711);const a=(0,r.Z)(o.ZP)},19602:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(19926),o=n(43749),a=n(13980),i=n.n(a),l=n(24328),s=n.n(l);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e){const{children:t,selectProps:n,removeProps:a}=e;return s().createElement(r.Z,{tabIndex:-1,label:t,className:n.classes.multiValue,classes:{label:n.classes.multiValue__label},onDelete:a.onClick,deleteIcon:s().createElement(o.Z,c({},e.removeProps,{style:{height:"18px",width:"18px",color:"rgba(0,0,0,0.38)",marginRight:"8px"}}))})}u.propTypes={children:i().node,isFocused:i().bool.isRequired,removeProps:i().shape({onClick:i().func.isRequired,onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired}).isRequired,selectProps:i().object.isRequired}},85628:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(95341),o=n(13980),a=n.n(o),i=n(24328),l=n.n(i),s=n(71153),c=n.n(s),u=n(40007);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e){const{innerProps:t,innerRef:n,children:o,isFocused:a,isSelected:i,label:s,selectProps:{classes:d}}=e;return l().createElement(r.Z,p({className:c()(d.option,{[d["option--selected"]]:i}),ref:n,selected:a,component:"div"},t),l().createElement(u.Z,{value:s},l().createElement("div",{className:d["option--item"]},o)))}d.propTypes={children:a().node,innerProps:a().shape({id:a().string.isRequired,key:a().string,onClick:a().func.isRequired,onMouseMove:a().func.isRequired,onMouseOver:a().func.isRequired,tabIndex:a().number.isRequired}).isRequired,innerRef:a().oneOfType([a().oneOf([null]),a().func,a().shape({current:a().any.isRequired})]),isFocused:a().bool.isRequired,isSelected:a().bool.isRequired,label:a().string,selectProps:a().shape({classes:a().shape({option:a().string,"option--selected":a().string})})}},4515:(e,t,n)=>{n.d(t,{Z:()=>H});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a),l=n(79312);function s(e){const{selectProps:{classes:t},children:n}=e;return o().createElement(l.Z,{color:"textSecondary",className:t.noOptionsMessage},n)}s.propTypes={children:i().node,selectProps:i().object.isRequired};var c=n(53242);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const f=o().forwardRef(((e,t)=>o().createElement("div",d({ref:t},e))));function m(e){const{children:t,innerProps:n,innerRef:r,selectProps:{classes:a,TextFieldProps:i={}}}=e;return o().createElement(c.Z,d({variant:"standard",fullWidth:!0},i,{InputProps:u({inputComponent:f},i.InputProps,{inputProps:u({className:a.control,ref:r,children:t},n,i.inputProps)})}))}f.displayName="InputComponent",f.propTypes={inputRef:i().oneOfType([i().func,i().shape({current:i().any.isRequired})])},m.propTypes={children:i().node,innerProps:i().shape({onMouseDown:i().func.isRequired}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]).isRequired,selectProps:i().shape({classes:i().shape({control:i().string.isRequired}),TextFieldProps:i().object})};var h=n(12115);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function y(e){const{selectProps:{classes:t},innerProps:n,innerRef:r,getStyles:a,children:i}=e;return o().createElement(h.Z,b({ref:r,style:a("menu",e),className:t.menu},n),i)}y.propTypes={children:i().element.isRequired,innerProps:i().object.isRequired,selectProps:i().object.isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]),getStyles:i().func};var g=n(19602),v=n(85628);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function P(e){const{selectProps:{classes:t},innerProps:n={},children:r}=e;return o().createElement(l.Z,O({color:"textSecondary",className:t.placeholder},n),r)}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function w(e){const{selectProps:{classes:t},innerProps:n,children:r}=e;return o().createElement(l.Z,x({className:t.singleValue},n),r)}P.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired},w.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired};var E=n(71153),j=n.n(E);function R(e){const{selectProps:{classes:t},children:n,isMulti:r}=e;return o().createElement("div",{className:j()(t.valueContainer,{[t["valueContainer--multi"]]:r})},n)}R.propTypes={children:i().node,selectProps:i().object.isRequired,isMulti:i().bool};var k=n(67322),S=n(87037);function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function I(e){const{selectProps:{classes:t},innerProps:n}=e;return o().createElement(S.Z,D({},n,{className:t.clearIndicator,size:"large"}),o().createElement(k.Z,null))}I.propTypes={innerProps:i().shape({onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired,"aria-hidden":i().string.isRequired}).isRequired,selectProps:i().shape({classes:i().object.isRequired}).isRequired};var C=n(65643);function N(){return N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function T(e){const{selectProps:{classes:t},innerProps:n}=e;return o().createElement(S.Z,N({},n,{className:t.dropdownIndicator,size:"large"}),o().createElement(C.Z,null))}function q(e){const{children:t,selectProps:{classes:n}}=e;return o().createElement(l.Z,{variant:"subtitle2",className:j()(n.groupHeading)},t)}T.propTypes={innerProps:i().shape({onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired,"aria-hidden":i().string.isRequired}).isRequired,selectProps:i().shape({classes:i().object.isRequired}).isRequired},q.propTypes={children:i().node,selectProps:i().shape({classes:i().shape({groupHeading:i().string})})};const M={Control:m,Menu:y,MultiValue:g.Z,NoOptionsMessage:s,Option:v.Z,Placeholder:P,SingleValue:w,ValueContainer:R,ClearIndicator:I,DropdownIndicator:T,GroupHeading:q},Z=(0,n(72342).makeStyles)((e=>({control:{display:"flex","&&":{padding:0},height:"auto"},valueContainer:{display:"flex",flexWrap:"nowrap",flex:1,alignItems:"center",overflow:"hidden",marginLeft:e.spacing(1)},"valueContainer--multi":{flexWrap:"wrap"},multiValue:{margin:e.spacing(.5,.5),maxWidth:"calc(100% - 8px)"},multiValue__label:{paddingRight:0,marginRight:12,maxWidth:"100%",overflow:"hidden"},noOptionsMessage:{padding:e.spacing(1,2)},singleValue:{fontSize:16,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},placeholder:{position:"absolute",left:6,bottom:10,fontSize:16},menu:{zIndex:40,marginTop:e.spacing(1)},clearIndicator:{},dropdownIndicator:{},groupHeading:{paddingLeft:"28px"},option:{fontWeight:400},"option--selected":{fontWeight:400},"option--item":{display:"block",width:"100%",textOverflow:"ellipsis",overflow:"hidden"}})));var L=n(79573);function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e){function t(t){const{components:n,classes:r,error:a,TextFieldProps:i,innerRef:l}=t,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["components","classes","error","TextFieldProps","innerRef"]),c=Z(),u=V({},M,n),p=(0,L.ze)(c,r);return o().createElement(e,F({ref:l,components:u,classes:p,TextFieldProps:V({},i,{error:a})},s))}return t.displayName=`withMuiSkin(${e.displayName||e.name})`,t.defaultProps={components:{},classes:{}},t.propTypes={components:i().shape({ClearIndicator:i().func,Control:i().func,DropdownIndicator:i().func,DownChevron:i().func,CrossIcon:i().func,Group:i().func,GroupHeading:i().func,IndicatorsContainer:i().func,IndicatorSeparator:i().func,Input:i().func,LoadingIndicator:i().func,Menu:i().func,MenuList:i().func,MenuPortal:i().func,LoadingMessage:i().func,NoOptionsMessage:i().func,MultiValue:i().func,MultiValueContainer:i().func,MultiValueLabel:i().func,MultiValueRemove:i().func,Option:i().func,Placeholder:i().func,SelectContainer:i().func,SingleValue:i().func,ValueContainer:i().func}),classes:i().shape({control:i().string,valueContainer:i().string,multiValue:i().string,noOptionsMessage:i().string,singleValue:i().string,placeholder:i().string,menu:i().string,clearIndicator:i().string,dropdownIndicator:i().string,option:i().string,"option--selected":i().string}),TextFieldProps:i().object,error:i().bool,innerRef:i().object},t}},40435:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),o=n.n(r),a=n(87037),i=n(79016);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const s={XXS:"XXS",XS:"XS",S:"S",M:"M",MPlus:"MPlus",L:"L",XL:"XL"},c=(0,r.forwardRef)(((e,t)=>{const{classes:n,className:r,onClick:i,icon:c,size:u=s.XS,iconClassName:p}=e,d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["classes","className","onClick","icon","size","iconClassName"]);return o().createElement(a.Z,l({ref:t,classes:{root:`${n[`root${u}`]} ${n.rootAll}`,disabled:n.disabled},onClick:i,className:r},d,{size:"large"}),c&&o().createElement(c,{classes:{root:n[`icon${u}`]},className:p}))}));c.displayName="SmallIconButton";const u=(0,i.Z)((()=>({rootAll:{padding:"0"},rootXXS:{height:"16px",width:"16px"},iconXXS:{fontSize:"16px"},rootXS:{height:"20px",width:"20px"},iconXS:{fontSize:"20px"},rootS:{height:"24px",width:"24px"},iconS:{fontSize:"24px"},rootM:{height:"30px",width:"30px"},rootMPlus:{height:"36px",width:"36px"},rootL:{height:"40px",width:"40px"},rootXL:{height:"48px",width:"48px"},disabled:{fillOpacity:.5}})))(c)},39475:(e,t,n)=>{n.d(t,{k:()=>a});var r=n(78223),o=n(40435);const a=(0,r.Z)(o.Z)},78501:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(13980),o=n.n(r),a=n(24328),i=n.n(a),l=n(71153),s=n.n(l),c=n(65643),u=n(10297);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=e=>{const{selectProps:{classes:t,menuIsOpen:n,isDisabled:r},innerProps:o}=e,a=(0,u.m)();return i().createElement(c.Z,p({"data-reltio-id":"select-dropdown-indicator"},o,{className:s()(t.dropdownIndicator,{[a.expanded]:n},{[a.disabled]:r})}))};d.propTypes={innerProps:o().object.isRequired,selectProps:o().shape({classes:o().shape({dropdownIndicator:o().string}).isRequired,menuIsOpen:o().bool.isRequired,isDisabled:o().bool}).isRequired};const f=d},51556:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a),l=n(50914),s=n(37164),c=n(7421),u=n(12115);const p=(0,n(72342).makeStyles)({popper:{borderRadius:"4px",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)",backgroundColor:"#FFFFFF",margin:0,zIndex:1e4}});var d=n(8007);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}const m=e=>{const{selectProps:{inputRef:t,menuIsOpen:n,inputValue:a},innerRef:i,children:m,innerProps:h}=e,[b,y]=(0,r.useState)("id");(0,r.useEffect)((()=>{y((0,s.x0)())}),[a]);const g=p(),v=(0,r.useContext)(d.p),O=Boolean(null==v?void 0:v.element),P=O?v.element.clientWidth:window.innerWidth;return o().createElement(c.Z,{anchorEl:t.current,open:n,className:g.popper,key:b,modifiers:[{name:"preventOverflow",enabled:!0,options:{altAxis:!0,altBoundary:!0,tether:!1,boundary:O?v.element:document.body,padding:5}}],placement:"bottom-start"},o().createElement(u.Z,f({ref:i,style:{minWidth:Math.min((0,l.prop)("clientWidth",t.current),P),maxWidth:Math.min(521,P)}},h),m))};m.propTypes={children:i().oneOfType([i().element,i().array]).isRequired,selectProps:i().shape({inputRef:i().object.isRequired,menuIsOpen:i().bool.isRequired,inputValue:i().string}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]).isRequired,innerProps:i().object.isRequired};const h=m},10297:(e,t,n)=>{n.d(t,{m:()=>r});const r=(0,n(72342).makeStyles)((e=>({expanded:{transform:"rotate(180deg)"},disabled:{color:`${e.palette.text.disabled} !important`}})))},53880:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(2507),i=n.n(a),l=n(71153),s=n.n(l),c=n(50914),u=n(95038),p=n.n(u),d=n(31421),f=n(57991),m=n(90597);const h=(0,n(72342).makeStyles)({adornedEnd:{paddingRight:4,marginLeft:"-10px"},inputRoot:{fontSize:"14px",letterSpacing:0,lineHeight:"16px",overflow:"hidden"},isCrossedOut:{textDecoration:"line-through"}});function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}const y=e=>{let{value:t,minDate:n=m.pG,maxDate:a=m.f2,format:l,label:u,onChange:y,slotProps:g,isCrossedOut:v}=e,O=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["value","minDate","maxDate","format","label","onChange","slotProps","isCrossedOut"]);const P=h(),[x,w]=o().useState(null),E=(0,r.useMemo)((()=>{switch(x){case"maxDate":return i().text("Date should not be after maximal date");case"minDate":return i().text("Date should not be before minimal date");case"invalidDate":return i().text("Invalid Date Format");default:return""}}),[x]),j=(0,c.isNil)(t)?null:p()(t),R=(0,c.isNil)(n)?null:p()(n),k=(0,c.isNil)(a)?null:p()(a),S=l||p().localeData().longDateFormat("L"),D=(0,c.mergeDeepLeft)(g,{textField:{size:"small",variant:"filled",helperText:E,InputProps:{classes:{root:s()(P.inputRoot,{[P.isCrossedOut]:v})},disableUnderline:(0,c.isNil)(j)},InputLabelProps:{shrink:!(0,c.isNil)(u)}},popper:{placement:"bottom-start"},inputAdornment:{position:"end",className:P.adornedEnd}});return o().createElement(f.M,b({format:S,slotProps:D,views:["year","month","day"],label:u,value:j,minDate:R,maxDate:k,onError:e=>w(e),onChange:(0,d.DsO)((0,c.when)((0,c.both)(d.P6Y.dates.isValidMomentDateOrNull,d.P6Y.dates.isDateInRange(n,a)),(0,c.pipe)(d.P6Y.dates.momentToDate,d.P6Y.dates.clearDateTime,y)),0)},O))}},91785:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),a=n(2507),i=n.n(a),l=n(71153),s=n.n(l),c=n(50914),u=n(95038),p=n.n(u),d=n(31421),f=n(30612),m=n(66461),h=n(90597);const b=(0,n(72342).makeStyles)((e=>({iconButtonRoot:{padding:8},underline:{"&:after":{transform:"scaleX(1)"}},inputLabel:{color:e.palette.primary.main},adornedEnd:{paddingRight:4},inputRoot:{"& > input":{textTransform:"uppercase"},fontSize:"14px",letterSpacing:0,lineHeight:"16px"},isCrossedOut:{textDecoration:"line-through"}})));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}const g=e=>{let{value:t,minDate:n=h.pG,maxDate:a=h.f2,label:l,slotProps:u,onChange:g,format:v,isCrossedOut:O}=e,P=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["value","minDate","maxDate","label","slotProps","onChange","format","isCrossedOut"]);const x=b(),[w,E]=o().useState(null),j=(0,r.useMemo)((()=>{switch(w){case"maxDate":return i().text("Date should not be after maximal date");case"minDate":return i().text("Date should not be before minimal date");case"invalidDate":return i().text("Invalid Date Format");default:return""}}),[w]),R=(0,c.isNil)(t)?null:p()(t),k=(0,c.isNil)(n)?null:p()(n),S=(0,c.isNil)(a)?null:p()(a),D=v||(0,d.x7Y)(),I=(0,c.mergeDeepLeft)(u,{textField:{size:"small",variant:"filled",helperText:j,InputProps:{classes:{root:s()(x.inputRoot,{[x.isCrossedOut]:O})},disableUnderline:(0,c.isNil)(R)},InputLabelProps:{shrink:!(0,c.isNil)(l)}},popper:{placement:"bottom-start"},inputAdornment:{position:"end",className:x.adornedEnd}});return o().createElement(f.x,y({format:D,slotProps:I,views:["year","month","day","hours","minutes","seconds"],viewRenderers:{hours:m.M6,minutes:m.M6,seconds:m.M6},label:l,value:R,minDate:k,maxDate:S,onError:e=>E(e),onChange:(0,c.when)((0,c.both)(d.P6Y.dates.isValidMomentDateOrNull,d.P6Y.dates.isDateInRange(n,a)),(0,c.pipe)(d.P6Y.dates.momentToDate,g))},P))}},90597:(e,t,n)=>{n.d(t,{pG:()=>o,f2:()=>a,pf:()=>i,a6:()=>l,$B:()=>s});var r=n(72342);const o=new Date("1900-01-01"),a=new Date("2099-12-31"),i={variant:"filled",size:"small",InputProps:{hiddenLabel:!0}},l=(0,r.makeStyles)({filledInputUnderline:{"&:before":{display:"none"}},marginDense:{margin:0}}),s=(0,r.makeStyles)({root:{paddingRight:"48px !important"},icon:{right:"12px"}})},90425:(e,t,n)=>{n.d(t,{Rp:()=>o,LA:()=>a,$E:()=>i});var r=n(87171);const o=(0,r.k)({}),a=(0,r.k)({}),i=(0,r.k)({})},14596:(e,t,n)=>{n.d(t,{$H:()=>g,ax:()=>xe,Jz:()=>be,iM:()=>ge,id:()=>j,kO:()=>N,mT:()=>q,Qv:()=>m,f5:()=>R,ej:()=>ae,Dn:()=>I,DD:()=>C,e:()=>T,ZI:()=>Oe,h0:()=>he,ZT:()=>G,CJ:()=>ye,rg:()=>O,eh:()=>L,lG:()=>F,MV:()=>z,Fr:()=>V,fN:()=>oe,ji:()=>y,mU:()=>Pe,bN:()=>W,OK:()=>$,bn:()=>_,cV:()=>X,uO:()=>k,qD:()=>w,xX:()=>me,vw:()=>fe,Bv:()=>se,o_:()=>A,xH:()=>B,qy:()=>ce,qq:()=>we,Pl:()=>M,Rv:()=>Y,AH:()=>Q,YA:()=>H,ix:()=>Z,vc:()=>de,AU:()=>pe,xK:()=>D,Xj:()=>ue,Ec:()=>U,aJ:()=>ve,Cn:()=>E,M3:()=>ie,XS:()=>le,au:()=>P,QQ:()=>S,Uv:()=>ne,xz:()=>re,e_:()=>te,ws:()=>h,Qh:()=>v,td:()=>J,R2:()=>ee,qg:()=>K,rC:()=>b,_Y:()=>x});var r=n(87558),o=n(31421),a=n(90425),i=n(50914),l=n(2507),s=n.n(l);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={},d=e=>{let{dependentLookups:t,metadata:n,modifiedEntities:r,entityUri:a,relations:l,attributeValue:u,attributeType:d}=e;if(!(0,o.QEi)(d))return null;const f=d.uri,m=(0,o.me4)(t,f);if(m){const e=u.uri,{parents:d,missedParentsAttributeTypes:f}=(e=>{var t;let{dependentLookups:n,metadata:r,modifiedEntities:a,entityUri:l,relations:s,node:u,valueUri:p}=e;const d=u.parents.flatMap((e=>{const t=(0,o.me4)(n,e);return t.values.map((n=>c({},n,{type:e,dependentLookupCode:t.attrType.dependentLookupCode})))})),f=(0,o.Z$v)(s),m=(0,o.vUy)({parentValues:d,valueUri:p,entityUri:l,modifiedEntities:a,connections:f}),h=(0,i.pipe)(o.uDV,(0,i.defaultTo)([]),(0,i.map)((0,i.pipe)((0,i.path)(["valueType","uri"]),o.u5q)),(0,i.prepend)(null===(t=a[l])||void 0===t?void 0:t.type),(0,i.reject)(i.isNil),i.uniq)({entityUri:l,entitiesMap:a,connections:f,metadata:r},p),b=u.parents.filter((e=>h.some((0,o.sOy)(e)))).map((e=>(0,o.me4)(n,e).attrType)).filter((e=>!m.some((t=>{let{type:n,value:r}=t;return r&&n===e.uri}))));return{parents:Object.values(m.reduce(((e,t)=>{var n;const r=(e=>`${e.type}_${(0,o.JBA)(e.uri)}`)(t);return c({},e,{[r]:{type:t.dependentLookupCode,codeValues:(0,i.uniq)([t.value,...(null===(n=e[r])||void 0===n?void 0:n.codeValues)||[]]).filter(Boolean).sort()}})}),{})).filter((e=>!!e.codeValues.length)),missedParentsAttributeTypes:b}})({dependentLookups:t,metadata:n,modifiedEntities:r,entityUri:a,relations:l,valueUri:e,node:m}),{isBlocked:y=!1}=(0,o._2w)(t,e)||{},g=(h=f).length?s().text("Please select value for ${labels} ${attributes}.",{labels:(b=h.map((0,i.pipe)((0,i.prop)("label"),(e=>`'${e}'`))),b.reduce(((e,t,n)=>[e,t].join(n===b.length-1?` ${s().text("and")} `:", ")))),attributes:1===h.length?s().text("attribute"):s().text("attributes")}):"",v=!(null!=u&&u.lookupCode||null!=u&&u.value),O=v&&y&&s().text("Populating values...")||v&&g||"",P={parents:g?null:d,disabled:!!g&&v||y,placeholder:O};return O&&(P.value=null),((e,t)=>{const n=p[e];return(0,i.equals)(t,n)?n:((0,i.equals)(null==n?void 0:n.parents,t.parents)&&(t.parents=n.parents),p[e]=t,t)})(e,P)}var h,b},f=e=>(0,r.S)(a.LA,e),m=()=>f((e=>e.autoCloseInterval)),h=()=>f((e=>e.uiError)),b=()=>f((e=>e.workflowEnvironmentUrl)),y=()=>f((e=>e.exportPath)),g=()=>f((e=>e.absoluteImagePath)),v=()=>f((e=>e.uiPath)),O=()=>f((e=>e.dtssPath)),P=()=>f((e=>e.servicesPath)),x=()=>f((e=>e.workflowPath)),w=()=>f((e=>e.imageServicePath)),E=()=>f((e=>e.reltioPath)),j=()=>f((e=>e.apiPath)),R=()=>f((e=>e.collaborationPath)),k=()=>f((e=>e.imageAttributesFieldsOrder)),S=()=>f((e=>e.showEntityId)),D=()=>f((e=>e.pivotingAttributes)),I=()=>f((e=>e.dateMask)),C=()=>f((e=>e.dateTimeMask)),N=()=>f((e=>e.attributePresentations)),T=()=>f((e=>e.defaultMaxValues)),q=()=>f((e=>e.attributesSortingStrategy)),M=()=>f((e=>e.lookupAutocomplete)),Z=()=>f((e=>e.modifiedEntities)),L=()=>f((e=>e.entity)),F=()=>f((e=>{var t;return null===(t=e.entity)||void 0===t?void 0:t.uri})),V=()=>f((e=>e.entityWithDiff)),z=()=>f((e=>e.entityUriWithDataTenant)),H=()=>f((e=>e.mode)),B=()=>f((e=>(0,o.uzs)(e.mode))),A=()=>f((e=>(0,o.KIu)(e.mode))),W=()=>f((e=>e.historyDiff)),_=()=>f((e=>e.historyMode)),X=()=>f((e=>e.historySlice)),$=()=>f((e=>e.historyEvent)),U=()=>f((e=>e.profileLastLoadedTime)),Y=()=>f((e=>e.lookups)),G=()=>f((e=>e.dependentLookups)),Q=()=>f((e=>e.metadata)),J=()=>f((e=>e.user)),K=()=>f((e=>{var t;return null===(t=e.user)||void 0===t?void 0:t.username})),ee=()=>f((e=>{var t;return null===(t=e.user)||void 0===t?void 0:t.roles})),te=()=>f((e=>e.tenant)),ne=()=>f((e=>{var t;return null===(t=e.tenant)||void 0===t?void 0:t.id})),re=()=>f((e=>{var t;return null===(t=e.tenant)||void 0===t?void 0:t.name})),oe=()=>f((e=>e.environment)),ae=()=>f((e=>e.dataTenants)),ie=()=>f((e=>e.searchNavigationData)),le=()=>f((e=>e.searchProviderData)),se=()=>f((e=>e.isCollaborationEnabled)),ce=()=>f((e=>e.isWorkflowEnabled)),ue=()=>f((e=>e.profileErrors)),pe=e=>f((t=>{return n=t.modifiedEntities,(r=e)&&n[r]&&n[r].defaultProfilePic;var n,r})),de=e=>f((t=>((e,t)=>t&&e[t])(t.modifiedEntities,e))),fe=(e,t)=>f((n=>(0,o.IK$)(n.relations,e,t))),me=(e,t)=>f((n=>(0,o.XS1)(n.relations,e,t))),he=e=>f((t=>(0,o._2w)(t.dependentLookups,e))),be=(e,t)=>f((n=>(0,o.b7z)(n.profileErrors,e,t))),ye=e=>f((t=>(0,o.me4)(t.dependentLookups,e))),ge=e=>f((t=>(0,o.Z$v)(t.relations,e))),ve=e=>f((t=>(0,o.qjb)(t.relations,e))),Oe=(e,t)=>{const n=f((n=>{var r;return d({dependentLookups:n.dependentLookups,metadata:n.metadata,relations:n.relations,modifiedEntities:n.modifiedEntities,entityUri:null===(r=n.entity)||void 0===r?void 0:r.uri,attributeValue:e,attributeType:t})}));return n},Pe=e=>f((t=>(0,o.nDj)({activityFilter:t.activityFilter,globalFilter:t.globalFilter,searchOptions:t.searchOptions},e))),xe=e=>{return t=t=>t[e],(0,r.S)(a.Rp,t);var t},we=e=>{return t=t=>t[e],(0,r.S)(a.$E,t);var t}},8007:(e,t,n)=>{n.d(t,{p:()=>l});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a);const l=o().createContext(null);l.Provider.propTypes={value:i().shape({element:i().instanceOf(Element),priority:i().arrayOf(i().oneOf(["left","right","top","bottom"]))})},l.displayName="PopupBoundariesContext"},79573:(e,t,n)=>{n.d(t,{NA:()=>l,IR:()=>s,UW:()=>c,ZT:()=>u,Vd:()=>p,ze:()=>d,w1:()=>f,zD:()=>m,Dh:()=>h,Rx:()=>b});var r=n(50914),o=n(71153),a=n.n(o);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>e.target.value,s=e=>e.target.checked,c=e=>e.stopPropagation(),u=()=>{},p=()=>null,d=(e,t)=>(0,r.union)(Object.keys(e),Object.keys(t)).reduce(((n,r)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},n,{[r]:a()(e[r],t[r])})),{}),f=()=>(0,r.compose)((0,r.either)((0,r.includes)("MSIE "),(0,r.includes)("Trident/")),(0,r.path)(["navigator","userAgent"]))(window),m=e=>t=>({type:e,payload:t}),h=e=>"asc"===e?"desc":"asc",b=e=>{try{return JSON.parse(e)}catch{return}}},55962:(e,t,n)=>{n.d(t,{D:()=>o});var r=n(24328);const o=(e,t)=>{const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{n.current?e():n.current=!0}),t)}},62127:(e,t,n)=>{n.d(t,{D:()=>o});var r=n(24328);const o=e=>{const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},19701:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(24328),o=n(79573);const a=new Promise((()=>{})),i=function(){let{cancelPrevious:e=!0,cancelOnUnmount:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,r.useRef)(o.ZT),i=()=>n.current();return(0,r.useEffect)((()=>()=>{t&&i()}),[]),(0,r.useCallback)((t=>(e&&i(),new Promise(((e,r)=>{n.current=()=>r("canceled"),t.then(e,r)})).catch((function(e){if("canceled"===e)return a;throw e})))),[])}}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3ce1aecc-6e46-42c1-a2b7-8a0fe507314b",e._sentryDebugIdIdentifier="sentry-dbid-3ce1aecc-6e46-42c1-a2b7-8a0fe507314b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1665"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7363],{78223:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),o=n.n(r),a=n(23883),i=n(72342),l=n(13980),s=n.n(l);const c={tooltipTitle:s().node,tooltipPlacement:s().string,showForDisabled:s().bool};const u={modifiers:[{name:"preventOverflow",options:{altAxis:!0}}]},p=(0,i.makeStyles)((e=>({tooltip:e.tooltip,wrapper:{lineHeight:0}}))),d=e=>{const t=(0,r.forwardRef)(((t,n)=>{let{tooltipTitle:r,tooltipPlacement:i,showForDisabled:l=!1}=t,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["tooltipTitle","tooltipPlacement","showForDisabled"]);const c=p();return r?o().createElement(a.Z,{ref:n,title:r,placement:i||"bottom",disableFocusListener:!0,disableTouchListener:!0,classes:{tooltip:c.tooltip},PopperProps:u},(t=>t?o().createElement("span",{className:c.wrapper},o().createElement(e,s)):o().createElement(e,s))(l)):o().createElement(e,s)}));return t.displayName="WithTooltip",t.propTypes=c,t}},7522:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const s=e=>o().createElement("svg",l({width:79,height:68,viewBox:"0 0 79 68",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o().createElement("path",{d:"M24.889 40.444V22.556H3.603v-2.334H24.89V3.89h2.333v16.333h23.334V3.89h2.333v16.333h18.157v2.334H52.889v17.888h18.157v2.334H52.889v17.396h-2.333V42.778H27.222v17.396H24.89V42.778H3.603v-2.334H24.89zm2.333 0h23.334V22.556H27.222v17.888z",fill:"#D2DEDE",opacity:.2}),o().createElement("path",{d:"M68.725 3.889H3.889v29.814l13.413-14.36 14.399 6.347 11.265-7.467h16.633l9.126-14.334zm2.053 4.016l-9.044 14.207H44.138l-12.06 7.994-13.818-6.091L3.889 39.4V59.89h66.889V7.905zM3 0h68.667a3 3 0 013 3v57.778a3 3 0 01-3 3H3a3 3 0 01-3-3V3a3 3 0 013-3z",fill:"#D2DEDE",opacity:.5}),o().createElement("path",{d:"M66.732 52.044H64.79l-.689-.664a15.91 15.91 0 003.86-10.4c0-8.826-7.154-15.98-15.98-15.98C43.154 25 36 32.154 36 40.98c0 8.827 7.154 15.981 15.98 15.981a15.91 15.91 0 0010.4-3.86l.664.689v1.942L75.337 68 79 64.337 66.732 52.044zM52 52c-6.087 0-11-4.913-11-11s4.913-11 11-11 11 4.913 11 11-4.913 11-11 11z",fill:"#B5C8C9",fillRule:"nonzero"}))),c=(0,n(72342).makeStyles)({container:{display:"flex",flexShrink:0,alignItems:"center",height:"36px","& $smallIcon":{height:"24px",width:"28px",paddingRight:"10px",paddingLeft:"2px"},"& $text":{height:"14px",color:"#707F80",fontSize:"12px",lineHeight:"14px"}},smallIcon:{},text:{}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const p=e=>{let{className:t,message:n}=e,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["className","message"]);const a=c();return o().createElement("div",u({className:i()(a.container,t)},r),o().createElement(s,{className:a.smallIcon}),o().createElement("div",{className:a.text},n))}},32479:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a),l=n(50914),s=n(2507),c=n.n(s),u=n(83820),p=n(74176),d=n(14596);const f=(0,n(72342).makeStyles)((()=>({errorBlock:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",minHeight:"58px",left:0,right:0,width:"calc(100% - 64px)",maxWidth:"1280px",margin:"0 auto",zIndex:1e4}})));function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const h=p.ZP.addError,b=e=>{let{showErrorFromStore:t}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["showErrorFromStore"]);const a=f(),s=(0,d.ax)("errorSet"),h=(0,d.Qv)(),y=(0,d.ws)();return(0,r.useEffect)((()=>{y&&t&&(b.addError({title:c().text("Error"),message:y}),s(null))}),[s,y,t]),o().createElement(u.Z,{container:document.body},o().createElement(p.ZP,m({classes:{errorBlock:i()(a.errorBlock,(0,l.path)(["classes","errorBlock"],n))},autoCloseInterval:h},n)))};b.addError=h;const y=b},40007:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(44443),i=n(23883);const l=(0,n(72342).makeStyles)((e=>({tooltip:e.tooltip,popper:{zIndex:1e4}})));function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=e=>{let{children:t,value:n="",className:u,showOnExceededWidth:p=!0,showOnExceededHeight:d}=e,f=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","value","className","showOnExceededWidth","showOnExceededHeight"]);const m=l(),h=(0,r.useRef)(),[b,y]=(0,r.useState)(!1),g=()=>y(((e,t,n)=>e&&(t&&e.clientWidth<e.scrollWidth||n&&e.clientHeight<e.scrollHeight))(h.current,p,d));return(0,r.useEffect)(g,[d,p,n]),o().createElement(o().Fragment,null,o().createElement(a.Z,{handleWidth:p,handleHeight:d,onResize:g,refreshMode:"debounce",refreshRate:100}),o().createElement(i.Z,s({ref:h,title:b?n:"",classes:c({},m,{tooltip:u})},f),t))}},33286:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(24328),o=n.n(r);const a=e=>{let{margin:t,level:n,className:r,children:a}=e;return null!=n?o().createElement("div",{style:{marginLeft:n*t},className:r},a):a}},7421:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),a=n(71153),i=n.n(a);const l=e=>{let{anchorEl:t,leftBackdropRef:n,rightBackdropRef:r,topBackdropRef:o,bottomBackdropRef:a,rafIdRef:i,lastResizeTimestamp:s=0}=e;if(t){if(Date.now()-s>100&&o.current&&n.current&&r.current&&a.current){const e=t.getBoundingClientRect();o.current.style.top="0",o.current.style.left="0",o.current.style.right="0",o.current.style.height=e.top+"px",n.current.style.top="0",n.current.style.left="0",n.current.style.width=e.left+"px",n.current.style.bottom="0",r.current.style.top="0",r.current.style.left=e.right+"px",r.current.style.right="0",r.current.style.bottom="0",a.current.style.top=e.bottom+"px",a.current.style.left="0",a.current.style.right="0",a.current.style.bottom="0",s=Date.now()}i.current=requestAnimationFrame((()=>l({anchorEl:t,leftBackdropRef:n,rightBackdropRef:r,topBackdropRef:o,bottomBackdropRef:a,rafIdRef:i,lastResizeTimestamp:s})))}};var s=n(79573),c=n(83820),u=n(62280);const p=(0,n(72342).makeStyles)({backdrop:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:10},popper:{zIndex:1300}});function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const f=(0,r.forwardRef)(((e,t)=>{let{open:n,anchorEl:a,className:f,modal:m=!0,excludeAnchorFromBackdrop:h=!0,onClose:b=s.ZT}=e,y=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["open","anchorEl","className","modal","excludeAnchorFromBackdrop","onClose"]);const g=p(),v=(0,r.useRef)(),O=(0,r.useRef)(),P=(0,r.useRef)(),x=(0,r.useRef)(),w=(0,r.useRef)();return(0,r.useEffect)((()=>{if(n&&m)return l({anchorEl:a,leftBackdropRef:v,rightBackdropRef:O,topBackdropRef:P,bottomBackdropRef:x,rafIdRef:w}),()=>cancelAnimationFrame(w.current)}),[a,n,m]),o().createElement(o().Fragment,null,m&&n&&o().createElement(c.Z,{container:document.body},h?o().createElement(o().Fragment,null,o().createElement("div",{ref:P,className:g.backdrop,onClick:b}),o().createElement("div",{ref:O,className:g.backdrop,onClick:b}),o().createElement("div",{ref:x,className:g.backdrop,onClick:b}),o().createElement("div",{ref:v,className:g.backdrop,onClick:b})):o().createElement("div",{className:g.backdrop,onClick:b})),o().createElement(u.Z,d({open:n,anchorEl:a},y,{className:i()(f,g.popper),ref:t})))}));f.displayName="Popper";const m=f},49861:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(4515),o=n(44711);const a=(0,r.Z)(o.ZP)},19602:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(19926),o=n(43749),a=n(13980),i=n.n(a),l=n(24328),s=n.n(l);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e){const{children:t,selectProps:n,removeProps:a}=e;return s().createElement(r.Z,{tabIndex:-1,label:t,className:n.classes.multiValue,classes:{label:n.classes.multiValue__label},onDelete:a.onClick,deleteIcon:s().createElement(o.Z,c({},e.removeProps,{style:{height:"18px",width:"18px",color:"rgba(0,0,0,0.38)",marginRight:"8px"}}))})}u.propTypes={children:i().node,isFocused:i().bool.isRequired,removeProps:i().shape({onClick:i().func.isRequired,onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired}).isRequired,selectProps:i().object.isRequired}},85628:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(95341),o=n(13980),a=n.n(o),i=n(24328),l=n.n(i),s=n(71153),c=n.n(s),u=n(40007);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e){const{innerProps:t,innerRef:n,children:o,isFocused:a,isSelected:i,label:s,selectProps:{classes:d}}=e;return l().createElement(r.Z,p({className:c()(d.option,{[d["option--selected"]]:i}),ref:n,selected:a,component:"div"},t),l().createElement(u.Z,{value:s},l().createElement("div",{className:d["option--item"]},o)))}d.propTypes={children:a().node,innerProps:a().shape({id:a().string.isRequired,key:a().string,onClick:a().func.isRequired,onMouseMove:a().func.isRequired,onMouseOver:a().func.isRequired,tabIndex:a().number.isRequired}).isRequired,innerRef:a().oneOfType([a().oneOf([null]),a().func,a().shape({current:a().any.isRequired})]),isFocused:a().bool.isRequired,isSelected:a().bool.isRequired,label:a().string,selectProps:a().shape({classes:a().shape({option:a().string,"option--selected":a().string})})}},4515:(e,t,n)=>{n.d(t,{Z:()=>H});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a),l=n(79312);function s(e){const{selectProps:{classes:t},children:n}=e;return o().createElement(l.Z,{color:"textSecondary",className:t.noOptionsMessage},n)}s.propTypes={children:i().node,selectProps:i().object.isRequired};var c=n(53242);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){p(e,t,n[t])}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const f=o().forwardRef(((e,t)=>o().createElement("div",d({ref:t},e))));function m(e){const{children:t,innerProps:n,innerRef:r,selectProps:{classes:a,TextFieldProps:i={}}}=e;return o().createElement(c.Z,d({variant:"standard",fullWidth:!0},i,{InputProps:u({inputComponent:f},i.InputProps,{inputProps:u({className:a.control,ref:r,children:t},n,i.inputProps)})}))}f.displayName="InputComponent",f.propTypes={inputRef:i().oneOfType([i().func,i().shape({current:i().any.isRequired})])},m.propTypes={children:i().node,innerProps:i().shape({onMouseDown:i().func.isRequired}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]).isRequired,selectProps:i().shape({classes:i().shape({control:i().string.isRequired}),TextFieldProps:i().object})};var h=n(12115);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function y(e){const{selectProps:{classes:t},innerProps:n,innerRef:r,getStyles:a,children:i}=e;return o().createElement(h.Z,b({ref:r,style:a("menu",e),className:t.menu},n),i)}y.propTypes={children:i().element.isRequired,innerProps:i().object.isRequired,selectProps:i().object.isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]),getStyles:i().func};var g=n(19602),v=n(85628);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function P(e){const{selectProps:{classes:t},innerProps:n={},children:r}=e;return o().createElement(l.Z,O({color:"textSecondary",className:t.placeholder},n),r)}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function w(e){const{selectProps:{classes:t},innerProps:n,children:r}=e;return o().createElement(l.Z,x({className:t.singleValue},n),r)}P.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired},w.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired};var E=n(71153),j=n.n(E);function R(e){const{selectProps:{classes:t},children:n,isMulti:r}=e;return o().createElement("div",{className:j()(t.valueContainer,{[t["valueContainer--multi"]]:r})},n)}R.propTypes={children:i().node,selectProps:i().object.isRequired,isMulti:i().bool};var k=n(67322),S=n(87037);function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function I(e){const{selectProps:{classes:t},innerProps:n}=e;return o().createElement(S.Z,D({},n,{className:t.clearIndicator,size:"large"}),o().createElement(k.Z,null))}I.propTypes={innerProps:i().shape({onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired,"aria-hidden":i().string.isRequired}).isRequired,selectProps:i().shape({classes:i().object.isRequired}).isRequired};var C=n(65643);function N(){return N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function T(e){const{selectProps:{classes:t},innerProps:n}=e;return o().createElement(S.Z,N({},n,{className:t.dropdownIndicator,size:"large"}),o().createElement(C.Z,null))}function q(e){const{children:t,selectProps:{classes:n}}=e;return o().createElement(l.Z,{variant:"subtitle2",className:j()(n.groupHeading)},t)}T.propTypes={innerProps:i().shape({onMouseDown:i().func.isRequired,onTouchEnd:i().func.isRequired,"aria-hidden":i().string.isRequired}).isRequired,selectProps:i().shape({classes:i().object.isRequired}).isRequired},q.propTypes={children:i().node,selectProps:i().shape({classes:i().shape({groupHeading:i().string})})};const M={Control:m,Menu:y,MultiValue:g.Z,NoOptionsMessage:s,Option:v.Z,Placeholder:P,SingleValue:w,ValueContainer:R,ClearIndicator:I,DropdownIndicator:T,GroupHeading:q},Z=(0,n(72342).makeStyles)((e=>({control:{display:"flex","&&":{padding:0},height:"auto"},valueContainer:{display:"flex",flexWrap:"nowrap",flex:1,alignItems:"center",overflow:"hidden",marginLeft:e.spacing(1)},"valueContainer--multi":{flexWrap:"wrap"},multiValue:{margin:e.spacing(.5,.5),maxWidth:"calc(100% - 8px)"},multiValue__label:{paddingRight:0,marginRight:12,maxWidth:"100%",overflow:"hidden"},noOptionsMessage:{padding:e.spacing(1,2)},singleValue:{fontSize:16,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},placeholder:{position:"absolute",left:6,bottom:10,fontSize:16},menu:{zIndex:40,marginTop:e.spacing(1)},clearIndicator:{},dropdownIndicator:{},groupHeading:{paddingLeft:"28px"},option:{fontWeight:400},"option--selected":{fontWeight:400},"option--item":{display:"block",width:"100%",textOverflow:"ellipsis",overflow:"hidden"}})));var L=n(79573);function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e){function t(t){const{components:n,classes:r,error:a,TextFieldProps:i,innerRef:l}=t,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["components","classes","error","TextFieldProps","innerRef"]),c=Z(),u=V({},M,n),p=(0,L.ze)(c,r);return o().createElement(e,F({ref:l,components:u,classes:p,TextFieldProps:V({},i,{error:a})},s))}return t.displayName=`withMuiSkin(${e.displayName||e.name})`,t.defaultProps={components:{},classes:{}},t.propTypes={components:i().shape({ClearIndicator:i().func,Control:i().func,DropdownIndicator:i().func,DownChevron:i().func,CrossIcon:i().func,Group:i().func,GroupHeading:i().func,IndicatorsContainer:i().func,IndicatorSeparator:i().func,Input:i().func,LoadingIndicator:i().func,Menu:i().func,MenuList:i().func,MenuPortal:i().func,LoadingMessage:i().func,NoOptionsMessage:i().func,MultiValue:i().func,MultiValueContainer:i().func,MultiValueLabel:i().func,MultiValueRemove:i().func,Option:i().func,Placeholder:i().func,SelectContainer:i().func,SingleValue:i().func,ValueContainer:i().func}),classes:i().shape({control:i().string,valueContainer:i().string,multiValue:i().string,noOptionsMessage:i().string,singleValue:i().string,placeholder:i().string,menu:i().string,clearIndicator:i().string,dropdownIndicator:i().string,option:i().string,"option--selected":i().string}),TextFieldProps:i().object,error:i().bool,innerRef:i().object},t}},40435:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),o=n.n(r),a=n(87037),i=n(79016);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const s={XXS:"XXS",XS:"XS",S:"S",M:"M",MPlus:"MPlus",L:"L",XL:"XL"},c=(0,r.forwardRef)(((e,t)=>{const{classes:n,className:r,onClick:i,icon:c,size:u=s.XS,iconClassName:p}=e,d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["classes","className","onClick","icon","size","iconClassName"]);return o().createElement(a.Z,l({ref:t,classes:{root:`${n[`root${u}`]} ${n.rootAll}`,disabled:n.disabled},onClick:i,className:r},d,{size:"large"}),c&&o().createElement(c,{classes:{root:n[`icon${u}`]},className:p}))}));c.displayName="SmallIconButton";const u=(0,i.Z)((()=>({rootAll:{padding:"0"},rootXXS:{height:"16px",width:"16px"},iconXXS:{fontSize:"16px"},rootXS:{height:"20px",width:"20px"},iconXS:{fontSize:"20px"},rootS:{height:"24px",width:"24px"},iconS:{fontSize:"24px"},rootM:{height:"30px",width:"30px"},rootMPlus:{height:"36px",width:"36px"},rootL:{height:"40px",width:"40px"},rootXL:{height:"48px",width:"48px"},disabled:{fillOpacity:.5}})))(c)},39475:(e,t,n)=>{n.d(t,{k:()=>a});var r=n(78223),o=n(40435);const a=(0,r.Z)(o.Z)},78501:(e,t,n)=>{n.d(t,{Z:()=>f});var r=n(13980),o=n.n(r),a=n(24328),i=n.n(a),l=n(71153),s=n.n(l),c=n(65643),u=n(10297);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=e=>{const{selectProps:{classes:t,menuIsOpen:n,isDisabled:r},innerProps:o}=e,a=(0,u.m)();return i().createElement(c.Z,p({"data-reltio-id":"select-dropdown-indicator"},o,{className:s()(t.dropdownIndicator,{[a.expanded]:n},{[a.disabled]:r})}))};d.propTypes={innerProps:o().object.isRequired,selectProps:o().shape({classes:o().shape({dropdownIndicator:o().string}).isRequired,menuIsOpen:o().bool.isRequired,isDisabled:o().bool}).isRequired};const f=d},51556:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a),l=n(50914),s=n(37164),c=n(7421),u=n(12115);const p=(0,n(72342).makeStyles)({popper:{borderRadius:"4px",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)",backgroundColor:"#FFFFFF",margin:0,zIndex:1e4}});var d=n(8007);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}const m=e=>{const{selectProps:{inputRef:t,menuIsOpen:n,inputValue:a},innerRef:i,children:m,innerProps:h}=e,[b,y]=(0,r.useState)("id");(0,r.useEffect)((()=>{y((0,s.x0)())}),[a]);const g=p(),v=(0,r.useContext)(d.p),O=Boolean(null==v?void 0:v.element),P=O?v.element.clientWidth:window.innerWidth;return o().createElement(c.Z,{anchorEl:t.current,open:n,className:g.popper,key:b,modifiers:[{name:"preventOverflow",enabled:!0,options:{altAxis:!0,altBoundary:!0,tether:!1,boundary:O?v.element:document.body,padding:5}}],placement:"bottom-start"},o().createElement(u.Z,f({ref:i,style:{minWidth:Math.min((0,l.prop)("clientWidth",t.current),P),maxWidth:Math.min(521,P)}},h),m))};m.propTypes={children:i().oneOfType([i().element,i().array]).isRequired,selectProps:i().shape({inputRef:i().object.isRequired,menuIsOpen:i().bool.isRequired,inputValue:i().string}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]).isRequired,innerProps:i().object.isRequired};const h=m},10297:(e,t,n)=>{n.d(t,{m:()=>r});const r=(0,n(72342).makeStyles)((e=>({expanded:{transform:"rotate(180deg)"},disabled:{color:`${e.palette.text.disabled} !important`}})))},53880:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(24328),o=n.n(r),a=n(2507),i=n.n(a),l=n(71153),s=n.n(l),c=n(50914),u=n(95038),p=n.n(u),d=n(31421),f=n(57991),m=n(90597);const h=(0,n(72342).makeStyles)({adornedEnd:{paddingRight:4,marginLeft:"-10px"},inputRoot:{fontSize:"14px",letterSpacing:0,lineHeight:"16px",overflow:"hidden"},isCrossedOut:{textDecoration:"line-through"}});function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}const y=e=>{let{value:t,minDate:n=m.pG,maxDate:a=m.f2,format:l,label:u,onChange:y,slotProps:g,isCrossedOut:v}=e,O=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["value","minDate","maxDate","format","label","onChange","slotProps","isCrossedOut"]);const P=h(),[x,w]=o().useState(null),E=(0,r.useMemo)((()=>{switch(x){case"maxDate":return i().text("Date should not be after maximal date");case"minDate":return i().text("Date should not be before minimal date");case"invalidDate":return i().text("Invalid Date Format");default:return""}}),[x]),j=(0,c.isNil)(t)?null:p()(t),R=(0,c.isNil)(n)?null:p()(n),k=(0,c.isNil)(a)?null:p()(a),S=l||p().localeData().longDateFormat("L"),D=(0,c.mergeDeepLeft)(g,{textField:{size:"small",variant:"filled",helperText:E,InputProps:{classes:{root:s()(P.inputRoot,{[P.isCrossedOut]:v})},disableUnderline:(0,c.isNil)(j)},InputLabelProps:{shrink:!(0,c.isNil)(u)}},popper:{placement:"bottom-start"},inputAdornment:{position:"end",className:P.adornedEnd}});return o().createElement(f.M,b({format:S,slotProps:D,views:["year","month","day"],label:u,value:j,minDate:R,maxDate:k,onError:e=>w(e),onChange:(0,d.DsO)((0,c.when)((0,c.both)(d.P6Y.dates.isValidMomentDateOrNull,d.P6Y.dates.isDateInRange(n,a)),(0,c.pipe)(d.P6Y.dates.momentToDate,d.P6Y.dates.clearDateTime,y)),0)},O))}},91785:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),a=n(2507),i=n.n(a),l=n(71153),s=n.n(l),c=n(50914),u=n(95038),p=n.n(u),d=n(31421),f=n(30612),m=n(66461),h=n(90597);const b=(0,n(72342).makeStyles)((e=>({iconButtonRoot:{padding:8},underline:{"&:after":{transform:"scaleX(1)"}},inputLabel:{color:e.palette.primary.main},adornedEnd:{paddingRight:4},inputRoot:{"& > input":{textTransform:"uppercase"},fontSize:"14px",letterSpacing:0,lineHeight:"16px"},isCrossedOut:{textDecoration:"line-through"}})));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}const g=e=>{let{value:t,minDate:n=h.pG,maxDate:a=h.f2,label:l,slotProps:u,onChange:g,format:v,isCrossedOut:O}=e,P=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["value","minDate","maxDate","label","slotProps","onChange","format","isCrossedOut"]);const x=b(),[w,E]=o().useState(null),j=(0,r.useMemo)((()=>{switch(w){case"maxDate":return i().text("Date should not be after maximal date");case"minDate":return i().text("Date should not be before minimal date");case"invalidDate":return i().text("Invalid Date Format");default:return""}}),[w]),R=(0,c.isNil)(t)?null:p()(t),k=(0,c.isNil)(n)?null:p()(n),S=(0,c.isNil)(a)?null:p()(a),D=v||(0,d.x7Y)(),I=(0,c.mergeDeepLeft)(u,{textField:{size:"small",variant:"filled",helperText:j,InputProps:{classes:{root:s()(x.inputRoot,{[x.isCrossedOut]:O})},disableUnderline:(0,c.isNil)(R)},InputLabelProps:{shrink:!(0,c.isNil)(l)}},popper:{placement:"bottom-start"},inputAdornment:{position:"end",className:x.adornedEnd}});return o().createElement(f.x,y({format:D,slotProps:I,views:["year","month","day","hours","minutes","seconds"],viewRenderers:{hours:m.M6,minutes:m.M6,seconds:m.M6},label:l,value:R,minDate:k,maxDate:S,onError:e=>E(e),onChange:(0,c.when)((0,c.both)(d.P6Y.dates.isValidMomentDateOrNull,d.P6Y.dates.isDateInRange(n,a)),(0,c.pipe)(d.P6Y.dates.momentToDate,g))},P))}},90597:(e,t,n)=>{n.d(t,{pG:()=>o,f2:()=>a,pf:()=>i,a6:()=>l,$B:()=>s});var r=n(72342);const o=new Date("1900-01-01"),a=new Date("2099-12-31"),i={variant:"filled",size:"small",InputProps:{hiddenLabel:!0}},l=(0,r.makeStyles)({filledInputUnderline:{"&:before":{display:"none"}},marginDense:{margin:0}}),s=(0,r.makeStyles)({root:{paddingRight:"48px !important"},icon:{right:"12px"}})},90425:(e,t,n)=>{n.d(t,{Rp:()=>o,LA:()=>a,$E:()=>i});var r=n(87171);const o=(0,r.k)({}),a=(0,r.k)({}),i=(0,r.k)({})},14596:(e,t,n)=>{n.d(t,{$H:()=>g,ax:()=>xe,Jz:()=>be,iM:()=>ge,id:()=>j,kO:()=>N,mT:()=>q,Qv:()=>m,f5:()=>R,ej:()=>ae,Dn:()=>I,DD:()=>C,e:()=>T,ZI:()=>Oe,h0:()=>he,ZT:()=>G,CJ:()=>ye,rg:()=>O,eh:()=>L,lG:()=>F,MV:()=>z,Fr:()=>V,fN:()=>oe,ji:()=>y,mU:()=>Pe,bN:()=>W,OK:()=>$,bn:()=>_,cV:()=>X,uO:()=>k,qD:()=>w,xX:()=>me,vw:()=>fe,Bv:()=>se,o_:()=>A,xH:()=>B,qy:()=>ce,qq:()=>we,Pl:()=>M,Rv:()=>Y,AH:()=>Q,YA:()=>H,ix:()=>Z,vc:()=>de,AU:()=>pe,xK:()=>D,Xj:()=>ue,Ec:()=>U,aJ:()=>ve,Cn:()=>E,M3:()=>ie,XS:()=>le,au:()=>P,QQ:()=>S,Uv:()=>ne,xz:()=>re,e_:()=>te,ws:()=>h,Qh:()=>v,td:()=>J,R2:()=>ee,qg:()=>K,rC:()=>b,_Y:()=>x});var r=n(87558),o=n(31421),a=n(90425),i=n(50914),l=n(2507),s=n.n(l);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={},d=e=>{let{dependentLookups:t,metadata:n,modifiedEntities:r,entityUri:a,relations:l,attributeValue:u,attributeType:d}=e;if(!(0,o.QEi)(d))return null;const f=d.uri,m=(0,o.me4)(t,f);if(m){const e=u.uri,{parents:d,missedParentsAttributeTypes:f}=(e=>{var t;let{dependentLookups:n,metadata:r,modifiedEntities:a,entityUri:l,relations:s,node:u,valueUri:p}=e;const d=u.parents.flatMap((e=>{const t=(0,o.me4)(n,e);return t.values.map((n=>c({},n,{type:e,dependentLookupCode:t.attrType.dependentLookupCode})))})),f=(0,o.Z$v)(s),m=(0,o.vUy)({parentValues:d,valueUri:p,entityUri:l,modifiedEntities:a,connections:f}),h=(0,i.pipe)(o.uDV,(0,i.defaultTo)([]),(0,i.map)((0,i.pipe)((0,i.path)(["valueType","uri"]),o.u5q)),(0,i.prepend)(null===(t=a[l])||void 0===t?void 0:t.type),(0,i.reject)(i.isNil),i.uniq)({entityUri:l,entitiesMap:a,connections:f,metadata:r},p),b=u.parents.filter((e=>h.some((0,o.sOy)(e)))).map((e=>(0,o.me4)(n,e).attrType)).filter((e=>!m.some((t=>{let{type:n,value:r}=t;return r&&n===e.uri}))));return{parents:Object.values(m.reduce(((e,t)=>{var n;const r=(e=>`${e.type}_${(0,o.JBA)(e.uri)}`)(t);return c({},e,{[r]:{type:t.dependentLookupCode,codeValues:(0,i.uniq)([t.value,...(null===(n=e[r])||void 0===n?void 0:n.codeValues)||[]]).filter(Boolean).sort()}})}),{})).filter((e=>!!e.codeValues.length)),missedParentsAttributeTypes:b}})({dependentLookups:t,metadata:n,modifiedEntities:r,entityUri:a,relations:l,valueUri:e,node:m}),{isBlocked:y=!1}=(0,o._2w)(t,e)||{},g=(h=f).length?s().text("Please select value for ${labels} ${attributes}.",{labels:(b=h.map((0,i.pipe)((0,i.prop)("label"),(e=>`'${e}'`))),b.reduce(((e,t,n)=>[e,t].join(n===b.length-1?` ${s().text("and")} `:", ")))),attributes:1===h.length?s().text("attribute"):s().text("attributes")}):"",v=!(null!=u&&u.lookupCode||null!=u&&u.value),O=v&&y&&s().text("Populating values...")||v&&g||"",P={parents:g?null:d,disabled:!!g&&v||y,placeholder:O};return O&&(P.value=null),((e,t)=>{const n=p[e];return(0,i.equals)(t,n)?n:((0,i.equals)(null==n?void 0:n.parents,t.parents)&&(t.parents=n.parents),p[e]=t,t)})(e,P)}var h,b},f=e=>(0,r.S)(a.LA,e),m=()=>f((e=>e.autoCloseInterval)),h=()=>f((e=>e.uiError)),b=()=>f((e=>e.workflowEnvironmentUrl)),y=()=>f((e=>e.exportPath)),g=()=>f((e=>e.absoluteImagePath)),v=()=>f((e=>e.uiPath)),O=()=>f((e=>e.dtssPath)),P=()=>f((e=>e.servicesPath)),x=()=>f((e=>e.workflowPath)),w=()=>f((e=>e.imageServicePath)),E=()=>f((e=>e.reltioPath)),j=()=>f((e=>e.apiPath)),R=()=>f((e=>e.collaborationPath)),k=()=>f((e=>e.imageAttributesFieldsOrder)),S=()=>f((e=>e.showEntityId)),D=()=>f((e=>e.pivotingAttributes)),I=()=>f((e=>e.dateMask)),C=()=>f((e=>e.dateTimeMask)),N=()=>f((e=>e.attributePresentations)),T=()=>f((e=>e.defaultMaxValues)),q=()=>f((e=>e.attributesSortingStrategy)),M=()=>f((e=>e.lookupAutocomplete)),Z=()=>f((e=>e.modifiedEntities)),L=()=>f((e=>e.entity)),F=()=>f((e=>{var t;return null===(t=e.entity)||void 0===t?void 0:t.uri})),V=()=>f((e=>e.entityWithDiff)),z=()=>f((e=>e.entityUriWithDataTenant)),H=()=>f((e=>e.mode)),B=()=>f((e=>(0,o.uzs)(e.mode))),A=()=>f((e=>(0,o.KIu)(e.mode))),W=()=>f((e=>e.historyDiff)),_=()=>f((e=>e.historyMode)),X=()=>f((e=>e.historySlice)),$=()=>f((e=>e.historyEvent)),U=()=>f((e=>e.profileLastLoadedTime)),Y=()=>f((e=>e.lookups)),G=()=>f((e=>e.dependentLookups)),Q=()=>f((e=>e.metadata)),J=()=>f((e=>e.user)),K=()=>f((e=>{var t;return null===(t=e.user)||void 0===t?void 0:t.username})),ee=()=>f((e=>{var t;return null===(t=e.user)||void 0===t?void 0:t.roles})),te=()=>f((e=>e.tenant)),ne=()=>f((e=>{var t;return null===(t=e.tenant)||void 0===t?void 0:t.id})),re=()=>f((e=>{var t;return null===(t=e.tenant)||void 0===t?void 0:t.name})),oe=()=>f((e=>e.environment)),ae=()=>f((e=>e.dataTenants)),ie=()=>f((e=>e.searchNavigationData)),le=()=>f((e=>e.searchProviderData)),se=()=>f((e=>e.isCollaborationEnabled)),ce=()=>f((e=>e.isWorkflowEnabled)),ue=()=>f((e=>e.profileErrors)),pe=e=>f((t=>{return n=t.modifiedEntities,(r=e)&&n[r]&&n[r].defaultProfilePic;var n,r})),de=e=>f((t=>((e,t)=>t&&e[t])(t.modifiedEntities,e))),fe=(e,t)=>f((n=>(0,o.IK$)(n.relations,e,t))),me=(e,t)=>f((n=>(0,o.XS1)(n.relations,e,t))),he=e=>f((t=>(0,o._2w)(t.dependentLookups,e))),be=(e,t)=>f((n=>(0,o.b7z)(n.profileErrors,e,t))),ye=e=>f((t=>(0,o.me4)(t.dependentLookups,e))),ge=e=>f((t=>(0,o.Z$v)(t.relations,e))),ve=e=>f((t=>(0,o.qjb)(t.relations,e))),Oe=(e,t)=>{const n=f((n=>{var r;return d({dependentLookups:n.dependentLookups,metadata:n.metadata,relations:n.relations,modifiedEntities:n.modifiedEntities,entityUri:null===(r=n.entity)||void 0===r?void 0:r.uri,attributeValue:e,attributeType:t})}));return n},Pe=e=>f((t=>(0,o.nDj)({activityFilter:t.activityFilter,globalFilter:t.globalFilter,searchOptions:t.searchOptions},e))),xe=e=>{return t=t=>t[e],(0,r.S)(a.Rp,t);var t},we=e=>{return t=t=>t[e],(0,r.S)(a.$E,t);var t}},8007:(e,t,n)=>{n.d(t,{p:()=>l});var r=n(24328),o=n.n(r),a=n(13980),i=n.n(a);const l=o().createContext(null);l.Provider.propTypes={value:i().shape({element:i().instanceOf(Element),priority:i().arrayOf(i().oneOf(["left","right","top","bottom"]))})},l.displayName="PopupBoundariesContext"},79573:(e,t,n)=>{n.d(t,{NA:()=>l,IR:()=>s,UW:()=>c,ZT:()=>u,Vd:()=>p,ze:()=>d,w1:()=>f,zD:()=>m,Dh:()=>h,Rx:()=>b});var r=n(50914),o=n(71153),a=n.n(o);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>e.target.value,s=e=>e.target.checked,c=e=>e.stopPropagation(),u=()=>{},p=()=>null,d=(e,t)=>(0,r.union)(Object.keys(e),Object.keys(t)).reduce(((n,r)=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},n,{[r]:a()(e[r],t[r])})),{}),f=()=>(0,r.compose)((0,r.either)((0,r.includes)("MSIE "),(0,r.includes)("Trident/")),(0,r.path)(["navigator","userAgent"]))(window),m=e=>t=>({type:e,payload:t}),h=e=>"asc"===e?"desc":"asc",b=e=>{try{return JSON.parse(e)}catch{return}}},55962:(e,t,n)=>{n.d(t,{D:()=>o});var r=n(24328);const o=(e,t)=>{const n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{n.current?e():n.current=!0}),t)}},62127:(e,t,n)=>{n.d(t,{D:()=>o});var r=n(24328);const o=e=>{const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}},19701:(e,t,n)=>{n.d(t,{_:()=>i});var r=n(24328),o=n(79573);const a=new Promise((()=>{})),i=function(){let{cancelPrevious:e=!0,cancelOnUnmount:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(0,r.useRef)(o.ZT),i=()=>n.current();return(0,r.useEffect)((()=>()=>{t&&i()}),[]),(0,r.useCallback)((t=>(e&&i(),new Promise(((e,r)=>{n.current=()=>r("canceled"),t.then(e,r)})).catch((function(e){if("canceled"===e)return a;throw e})))),[])}}}]);
2
2
  //# sourceMappingURL=7363.js.map