synapse-react-client 3.3.4 → 3.3.5

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.
@@ -20,7 +20,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
20
20
  return __privateGet(obj, member, getter);
21
21
  }
22
22
  });
23
- /*! SRC v3.3.4 */
23
+ /*! SRC v3.3.5 */
24
24
 
25
25
  var _focused, _cleanup, _setup, _a2, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _promise, _retryer, _observers, _defaultOptions, _abortSignalConsumed, _Query_instances, setOptions_fn, dispatch_fn, _d, _queries, _e2, _observers2, _defaultOptions2, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _mutationId, _resuming, _g, _queryCache, _mutationCache2, _defaultOptions3, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i, _client2, _result, _queries2, _observers3, _options, _combinedResult, _QueriesObserver_instances, setResult_fn, combineResult_fn, findMatchingObservers_fn, onUpdate_fn, notify_fn2, _j, _client3, _currentResult2, _currentMutation, _mutateOptions, _MutationObserver_instances, updateResult_fn, notify_fn3, _k, _l;
26
26
  function _interopNamespaceDefault(e2) {
@@ -45774,7 +45774,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
45774
45774
  h2 = bound01(h2, 360) * 6;
45775
45775
  s2 = bound01(s2, 100);
45776
45776
  v2 = bound01(v2, 100);
45777
- var i2 = Math.floor(h2), f2 = h2 - i2, p2 = v2 * (1 - s2), q2 = v2 * (1 - f2 * s2), t2 = v2 * (1 - (1 - f2) * s2), mod2 = i2 % 6, r2 = [v2, q2, p2, p2, t2, v2][mod2], g2 = [t2, v2, v2, q2, p2, p2][mod2], b2 = [p2, p2, t2, v2, v2, q2][mod2];
45777
+ var i2 = Math.floor(h2), f2 = h2 - i2, p2 = v2 * (1 - s2), q2 = v2 * (1 - f2 * s2), t2 = v2 * (1 - (1 - f2) * s2), mod = i2 % 6, r2 = [v2, q2, p2, p2, t2, v2][mod], g2 = [t2, v2, v2, q2, p2, p2][mod], b2 = [p2, p2, t2, v2, v2, q2][mod];
45778
45778
  return {
45779
45779
  r: r2 * 255,
45780
45780
  g: g2 * 255,
@@ -51485,9 +51485,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
51485
51485
  clear
51486
51486
  };
51487
51487
  }
51488
- const MOBILE_VIEWPORT_MAX_WIDTH_PX = 768;
51489
51488
  function useShowDesktop(breakpoint) {
51490
- const usedBreakpoint = breakpoint ?? MOBILE_VIEWPORT_MAX_WIDTH_PX;
51489
+ const usedBreakpoint = breakpoint;
51491
51490
  const [showDesktop, setShowDesktop] = React$2.useState(
51492
51491
  window.innerWidth > usedBreakpoint
51493
51492
  );
@@ -94561,7 +94560,7 @@ ${e2.message}`);
94561
94560
  }
94562
94561
  return ResizeObserverSize2;
94563
94562
  }();
94564
- var DOMRectReadOnly$1 = function() {
94563
+ var DOMRectReadOnly = function() {
94565
94564
  function DOMRectReadOnly2(x2, y2, width2, height2) {
94566
94565
  this.x = x2;
94567
94566
  this.y = y2;
@@ -94642,7 +94641,7 @@ ${e2.message}`);
94642
94641
  devicePixelContentBoxSize: size$1(),
94643
94642
  borderBoxSize: size$1(),
94644
94643
  contentBoxSize: size$1(),
94645
- contentRect: new DOMRectReadOnly$1(0, 0, 0, 0)
94644
+ contentRect: new DOMRectReadOnly(0, 0, 0, 0)
94646
94645
  });
94647
94646
  var calculateBoxSizes = function(target, forceRecalculation) {
94648
94647
  if (forceRecalculation === void 0) {
@@ -94685,7 +94684,7 @@ ${e2.message}`);
94685
94684
  devicePixelContentBoxSize: size$1(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),
94686
94685
  borderBoxSize: size$1(borderBoxWidth, borderBoxHeight, switchSizes),
94687
94686
  contentBoxSize: size$1(contentWidth, contentHeight, switchSizes),
94688
- contentRect: new DOMRectReadOnly$1(paddingLeft, paddingTop, contentWidth, contentHeight)
94687
+ contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)
94689
94688
  });
94690
94689
  cache.set(target, boxes);
94691
94690
  return boxes;
@@ -100006,7 +100005,7 @@ ${e2.message}`);
100006
100005
  }
100007
100006
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { backgroundColor: "grey.100", p: "10px" }, children: boxText }) });
100008
100007
  }
100009
- const buttonSx$3 = {
100008
+ const buttonSx$2 = {
100010
100009
  color: "grey.800",
100011
100010
  mb: "10px"
100012
100011
  };
@@ -100030,7 +100029,7 @@ ${e2.message}`);
100030
100029
  fullWidth: true,
100031
100030
  variant: "outlined",
100032
100031
  onClick,
100033
- sx: { ...buttonSx$3, height: "74px", py: 1.5 },
100032
+ sx: { ...buttonSx$2, height: "74px", py: 1.5 },
100034
100033
  "data-testid": "button-with-last-login-info",
100035
100034
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { flexDirection: "column", children: [
100036
100035
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -100055,7 +100054,7 @@ ${e2.message}`);
100055
100054
  fullWidth: true,
100056
100055
  variant: "outlined",
100057
100056
  onClick,
100058
- sx: { ...buttonSx$3, height: "50px" },
100057
+ sx: { ...buttonSx$2, height: "50px" },
100059
100058
  startIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: iconName, sx: iconSx$1 }),
100060
100059
  "data-testid": "button-without-last-login-info",
100061
100060
  children: buttonText
@@ -106532,7 +106531,7 @@ ${e2.message}`);
106532
106531
  }
106533
106532
  return coeff;
106534
106533
  };
106535
- exports3.mod = function mod2(divident, divisor) {
106534
+ exports3.mod = function mod(divident, divisor) {
106536
106535
  let result = new Uint8Array(divident);
106537
106536
  while (result.length - divisor.length >= 0) {
106538
106537
  const coeff = result[0];
@@ -107325,34 +107324,34 @@ ${e2.message}`);
107325
107324
  function setupVersionInfo(matrix, version2) {
107326
107325
  const size2 = matrix.size;
107327
107326
  const bits = Version.getEncodedBits(version2);
107328
- let row, col, mod2;
107327
+ let row, col, mod;
107329
107328
  for (let i2 = 0; i2 < 18; i2++) {
107330
107329
  row = Math.floor(i2 / 3);
107331
107330
  col = i2 % 3 + size2 - 8 - 3;
107332
- mod2 = (bits >> i2 & 1) === 1;
107333
- matrix.set(row, col, mod2, true);
107334
- matrix.set(col, row, mod2, true);
107331
+ mod = (bits >> i2 & 1) === 1;
107332
+ matrix.set(row, col, mod, true);
107333
+ matrix.set(col, row, mod, true);
107335
107334
  }
107336
107335
  }
107337
107336
  function setupFormatInfo(matrix, errorCorrectionLevel2, maskPattern2) {
107338
107337
  const size2 = matrix.size;
107339
107338
  const bits = FormatInfo.getEncodedBits(errorCorrectionLevel2, maskPattern2);
107340
- let i2, mod2;
107339
+ let i2, mod;
107341
107340
  for (i2 = 0; i2 < 15; i2++) {
107342
- mod2 = (bits >> i2 & 1) === 1;
107341
+ mod = (bits >> i2 & 1) === 1;
107343
107342
  if (i2 < 6) {
107344
- matrix.set(i2, 8, mod2, true);
107343
+ matrix.set(i2, 8, mod, true);
107345
107344
  } else if (i2 < 8) {
107346
- matrix.set(i2 + 1, 8, mod2, true);
107345
+ matrix.set(i2 + 1, 8, mod, true);
107347
107346
  } else {
107348
- matrix.set(size2 - 15 + i2, 8, mod2, true);
107347
+ matrix.set(size2 - 15 + i2, 8, mod, true);
107349
107348
  }
107350
107349
  if (i2 < 8) {
107351
- matrix.set(8, size2 - i2 - 1, mod2, true);
107350
+ matrix.set(8, size2 - i2 - 1, mod, true);
107352
107351
  } else if (i2 < 9) {
107353
- matrix.set(8, 15 - i2 - 1 + 1, mod2, true);
107352
+ matrix.set(8, 15 - i2 - 1 + 1, mod, true);
107354
107353
  } else {
107355
- matrix.set(8, 15 - i2 - 1, mod2, true);
107354
+ matrix.set(8, 15 - i2 - 1, mod, true);
107356
107355
  }
107357
107356
  }
107358
107357
  matrix.set(size2 - 8, 8, 1, true);
@@ -108783,7 +108782,7 @@ ${e2.message}`);
108783
108782
  }
108784
108783
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { children: renderContent });
108785
108784
  }
108786
- const buttonSx$2 = { p: "0px", minWidth: "unset" };
108785
+ const buttonSx$1 = { p: "0px", minWidth: "unset" };
108787
108786
  const iconConfiguration = {
108788
108787
  [
108789
108788
  "AccessBlockedToAnonymous"
@@ -108936,7 +108935,7 @@ ${e2.message}`);
108936
108935
  return fileHandleDownloadType === "AccessBlockedToAnonymous" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
108937
108936
  Button,
108938
108937
  {
108939
- sx: buttonSx$2,
108938
+ sx: buttonSx$1,
108940
108939
  className: SRC_SIGN_IN_CLASS,
108941
108940
  onClick: (ev) => {
108942
108941
  if (ev.isTrusted) {
@@ -108966,7 +108965,7 @@ ${e2.message}`);
108966
108965
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
108967
108966
  Button,
108968
108967
  {
108969
- sx: buttonSx$2,
108968
+ sx: buttonSx$1,
108970
108969
  className: props.className,
108971
108970
  onClick: handleGetAccess,
108972
108971
  children: [
@@ -112958,8 +112957,8 @@ ${e2.message}`);
112958
112957
  var __getOwnPropNames = Object.getOwnPropertyNames;
112959
112958
  var __getProtoOf = Object.getPrototypeOf;
112960
112959
  var __hasOwnProp = Object.prototype.hasOwnProperty;
112961
- var __commonJS = (cb, mod2) => function __require() {
112962
- return mod2 || (0, cb[__getOwnPropNames(cb)[0]])((mod2 = { exports: {} }).exports, mod2), mod2.exports;
112960
+ var __commonJS = (cb, mod) => function __require() {
112961
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
112963
112962
  };
112964
112963
  var __export = (target, all) => {
112965
112964
  for (var name in all)
@@ -112973,7 +112972,7 @@ ${e2.message}`);
112973
112972
  }
112974
112973
  return to;
112975
112974
  };
112976
- var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(!mod2 || !mod2.__esModule ? __defProp2(target, "default", { value: mod2, enumerable: true }) : target, mod2));
112975
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(!mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target, mod));
112977
112976
  var require_is_object = __commonJS({
112978
112977
  "node_modules/is-object/index.js"(exports3, module2) {
112979
112978
  module2.exports = function isObject2(x2) {
@@ -113379,7 +113378,7 @@ ${e2.message}`);
113379
113378
  };
113380
113379
  return ThemeAcceptor;
113381
113380
  };
113382
- var Arrow$1 = ({ expanded, styles: styles2 }) => /* @__PURE__ */ React$2.createElement("span", {
113381
+ var Arrow = ({ expanded, styles: styles2 }) => /* @__PURE__ */ React$2.createElement("span", {
113383
113382
  style: {
113384
113383
  ...styles2.base,
113385
113384
  ...expanded ? styles2.expanded : styles2.collapsed
@@ -113406,7 +113405,7 @@ ${e2.message}`);
113406
113405
  }, /* @__PURE__ */ React$2.createElement("div", {
113407
113406
  style: styles2.treeNodePreviewContainer,
113408
113407
  onClick
113409
- }, shouldShowArrow || React$2.Children.count(children2) > 0 ? /* @__PURE__ */ React$2.createElement(Arrow$1, {
113408
+ }, shouldShowArrow || React$2.Children.count(children2) > 0 ? /* @__PURE__ */ React$2.createElement(Arrow, {
113410
113409
  expanded,
113411
113410
  styles: styles2.treeNodeArrow
113412
113411
  }) : shouldShowPlaceholder && /* @__PURE__ */ React$2.createElement("span", {
@@ -144646,7 +144645,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
144646
144645
  required2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "required", children: "*" })
144647
144646
  ] });
144648
144647
  }
144649
- const buttonSx$1 = { minWidth: "unset", width: "40px", height: "40px" };
144648
+ const buttonSx = { minWidth: "unset", width: "40px", height: "40px" };
144650
144649
  function AddButton({ uiSchema, registry, ...props }) {
144651
144650
  const { translateString } = registry;
144652
144651
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -144656,7 +144655,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
144656
144655
  ...props,
144657
144656
  color: "primary",
144658
144657
  variant: "contained",
144659
- sx: buttonSx$1,
144658
+ sx: buttonSx,
144660
144659
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Add$1, {})
144661
144660
  }
144662
144661
  );
@@ -144677,7 +144676,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
144677
144676
  }
144678
144677
  function IconButtonTemplate(props) {
144679
144678
  const { iconType, buttonType, uiSchema, ...otherProps } = props;
144680
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ...otherProps, color: "default", sx: buttonSx$1, children: getIcon(buttonType) });
144679
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { ...otherProps, color: "default", sx: buttonSx, children: getIcon(buttonType) });
144681
144680
  }
144682
144681
  function RemoveButton(props) {
144683
144682
  const {
@@ -156815,2186 +156814,6 @@ dl_list_file_entities = syn.get_download_list()`;
156815
156814
  ) })
156816
156815
  ] });
156817
156816
  };
156818
- var reactCarousel = { exports: {} };
156819
- (function(module2, exports3) {
156820
- !function(e2, t2) {
156821
- module2.exports = t2(React$2, ReactDOM$1);
156822
- }(commonjsGlobal, function(e2, t2) {
156823
- return o2 = {}, n2.m = r2 = [function(t3, n3) {
156824
- t3.exports = e2;
156825
- }, function(e3, t3, n3) {
156826
- var r3 = n3(19);
156827
- e3.exports = n3(31)(r3.isElement, true);
156828
- }, function(e3, t3, n3) {
156829
- var r3;
156830
- /*!
156831
- Copyright (c) 2017 Jed Watson.
156832
- Licensed under the MIT License (MIT), see
156833
- http://jedwatson.github.io/classnames
156834
- */
156835
- !function() {
156836
- var n4 = {}.hasOwnProperty;
156837
- function o3() {
156838
- for (var e4 = [], t4 = 0; t4 < arguments.length; t4++) {
156839
- var r4 = arguments[t4];
156840
- if (r4) {
156841
- var i2 = typeof r4;
156842
- if ("string" == i2 || "number" == i2) e4.push(r4);
156843
- else if (Array.isArray(r4) && r4.length) {
156844
- var a2 = o3.apply(null, r4);
156845
- a2 && e4.push(a2);
156846
- } else if ("object" == i2) for (var u2 in r4) n4.call(r4, u2) && r4[u2] && e4.push(u2);
156847
- }
156848
- }
156849
- return e4.join(" ");
156850
- }
156851
- e3.exports ? (o3.default = o3, e3.exports = o3) : void 0 === (r3 = (function() {
156852
- return o3;
156853
- }).apply(t3, [])) || (e3.exports = r3);
156854
- }();
156855
- }, function(e3, t3) {
156856
- e3.exports = function(e4) {
156857
- return null == e4;
156858
- };
156859
- }, function(e3, t3) {
156860
- var n3 = Array.isArray;
156861
- e3.exports = n3;
156862
- }, function(e3, t3) {
156863
- e3.exports = function(e4) {
156864
- var t4 = typeof e4;
156865
- return null != e4 && ("object" == t4 || "function" == t4);
156866
- };
156867
- }, function(e3, t3, n3) {
156868
- var r3 = n3(37), o3 = "object" == typeof self && self && self.Object === Object && self, i2 = r3 || o3 || Function("return this")();
156869
- e3.exports = i2;
156870
- }, function(e3, t3, n3) {
156871
- var r3 = n3(15), o3 = n3(16);
156872
- e3.exports = function(e4) {
156873
- return "symbol" == typeof e4 || o3(e4) && "[object Symbol]" == r3(e4);
156874
- };
156875
- }, function(e3, t3, n3) {
156876
- var r3 = n3(6).Symbol;
156877
- e3.exports = r3;
156878
- }, function(e3, t3, n3) {
156879
- var r3 = n3(21)(Object, "create");
156880
- e3.exports = r3;
156881
- }, function(e3, t3, n3) {
156882
- var r3 = n3(64);
156883
- e3.exports = function(e4, t4) {
156884
- for (var n4 = e4.length; n4--; ) if (r3(e4[n4][0], t4)) return n4;
156885
- return -1;
156886
- };
156887
- }, function(e3, t3, n3) {
156888
- var r3 = n3(70);
156889
- e3.exports = function(e4, t4) {
156890
- var n4 = e4.__data__;
156891
- return r3(t4) ? n4["string" == typeof t4 ? "string" : "hash"] : n4.map;
156892
- };
156893
- }, function(e3, t3, n3) {
156894
- (function(e4) {
156895
- var n4 = function() {
156896
- if ("undefined" != typeof Map) return Map;
156897
- function e5(e6, t5) {
156898
- var n5 = -1;
156899
- return e6.some(function(e7, r4) {
156900
- return e7[0] === t5 && (n5 = r4, true);
156901
- }), n5;
156902
- }
156903
- return Object.defineProperty(t4.prototype, "size", { get: function() {
156904
- return this.__entries__.length;
156905
- }, enumerable: true, configurable: true }), t4.prototype.get = function(t5) {
156906
- var n5 = e5(this.__entries__, t5), r4 = this.__entries__[n5];
156907
- return r4 && r4[1];
156908
- }, t4.prototype.set = function(t5, n5) {
156909
- var r4 = e5(this.__entries__, t5);
156910
- ~r4 ? this.__entries__[r4][1] = n5 : this.__entries__.push([t5, n5]);
156911
- }, t4.prototype.delete = function(t5) {
156912
- var n5 = this.__entries__, r4 = e5(n5, t5);
156913
- ~r4 && n5.splice(r4, 1);
156914
- }, t4.prototype.has = function(t5) {
156915
- return !!~e5(this.__entries__, t5);
156916
- }, t4.prototype.clear = function() {
156917
- this.__entries__.splice(0);
156918
- }, t4.prototype.forEach = function(e6, t5) {
156919
- void 0 === t5 && (t5 = null);
156920
- for (var n5 = 0, r4 = this.__entries__; n5 < r4.length; n5++) {
156921
- var o4 = r4[n5];
156922
- e6.call(t5, o4[1], o4[0]);
156923
- }
156924
- }, t4;
156925
- function t4() {
156926
- this.__entries__ = [];
156927
- }
156928
- }(), r3 = "undefined" != typeof window && "undefined" != typeof document && window.document === document, o3 = void 0 !== e4 && e4.Math === Math ? e4 : "undefined" != typeof self && self.Math === Math ? self : "undefined" != typeof window && window.Math === Math ? window : Function("return this")(), i2 = "function" == typeof requestAnimationFrame ? requestAnimationFrame.bind(o3) : function(e5) {
156929
- return setTimeout(function() {
156930
- return e5(Date.now());
156931
- }, 1e3 / 60);
156932
- }, a2 = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], u2 = "undefined" != typeof MutationObserver, c2 = (s2.prototype.addObserver = function(e5) {
156933
- ~this.observers_.indexOf(e5) || this.observers_.push(e5), this.connected_ || this.connect_();
156934
- }, s2.prototype.removeObserver = function(e5) {
156935
- var t4 = this.observers_, n5 = t4.indexOf(e5);
156936
- ~n5 && t4.splice(n5, 1), !t4.length && this.connected_ && this.disconnect_();
156937
- }, s2.prototype.refresh = function() {
156938
- this.updateObservers_() && this.refresh();
156939
- }, s2.prototype.updateObservers_ = function() {
156940
- var e5 = this.observers_.filter(function(e6) {
156941
- return e6.gatherActive(), e6.hasActive();
156942
- });
156943
- return e5.forEach(function(e6) {
156944
- return e6.broadcastActive();
156945
- }), 0 < e5.length;
156946
- }, s2.prototype.connect_ = function() {
156947
- r3 && !this.connected_ && (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), u2 ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: true, childList: true, characterData: true, subtree: true })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = true), this.connected_ = true);
156948
- }, s2.prototype.disconnect_ = function() {
156949
- r3 && this.connected_ && (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = false, this.connected_ = false);
156950
- }, s2.prototype.onTransitionEnd_ = function(e5) {
156951
- var t4 = e5.propertyName, n5 = void 0 === t4 ? "" : t4;
156952
- a2.some(function(e6) {
156953
- return !!~n5.indexOf(e6);
156954
- }) && this.refresh();
156955
- }, s2.getInstance = function() {
156956
- return this.instance_ || (this.instance_ = new s2()), this.instance_;
156957
- }, s2.instance_ = null, s2);
156958
- function s2() {
156959
- function e5() {
156960
- a3 && (a3 = false, r4()), u3 && n5();
156961
- }
156962
- function t4() {
156963
- i2(e5);
156964
- }
156965
- function n5() {
156966
- var e6 = Date.now();
156967
- if (a3) {
156968
- if (e6 - c3 < 2) return;
156969
- u3 = true;
156970
- } else u3 = !(a3 = true), setTimeout(t4, o4);
156971
- c3 = e6;
156972
- }
156973
- var r4, o4, a3, u3, c3;
156974
- this.connected_ = false, this.mutationEventsAdded_ = false, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = (r4 = this.refresh.bind(this), u3 = a3 = !(o4 = 20), c3 = 0, n5);
156975
- }
156976
- var f2 = function(e5, t4) {
156977
- for (var n5 = 0, r4 = Object.keys(t4); n5 < r4.length; n5++) {
156978
- var o4 = r4[n5];
156979
- Object.defineProperty(e5, o4, { value: t4[o4], enumerable: false, writable: false, configurable: true });
156980
- }
156981
- return e5;
156982
- }, l2 = function(e5) {
156983
- return e5 && e5.ownerDocument && e5.ownerDocument.defaultView || o3;
156984
- }, p2 = b2(0, 0, 0, 0);
156985
- function d2(e5) {
156986
- return parseFloat(e5) || 0;
156987
- }
156988
- function h2(e5) {
156989
- for (var t4 = [], n5 = 1; n5 < arguments.length; n5++) t4[n5 - 1] = arguments[n5];
156990
- return t4.reduce(function(t5, n6) {
156991
- return t5 + d2(e5["border-" + n6 + "-width"]);
156992
- }, 0);
156993
- }
156994
- var y2 = "undefined" != typeof SVGGraphicsElement ? function(e5) {
156995
- return e5 instanceof l2(e5).SVGGraphicsElement;
156996
- } : function(e5) {
156997
- return e5 instanceof l2(e5).SVGElement && "function" == typeof e5.getBBox;
156998
- };
156999
- function v2(e5) {
157000
- return r3 ? y2(e5) ? b2(0, 0, (t4 = e5.getBBox()).width, t4.height) : function(e6) {
157001
- var t5 = e6.clientWidth, n5 = e6.clientHeight;
157002
- if (!t5 && !n5) return p2;
157003
- var r4, o4, i3, a3 = l2(e6).getComputedStyle(e6), u3 = function(e7) {
157004
- for (var t6 = {}, n6 = 0, r5 = ["top", "right", "bottom", "left"]; n6 < r5.length; n6++) {
157005
- var o5 = r5[n6], i4 = e7["padding-" + o5];
157006
- t6[o5] = d2(i4);
157007
- }
157008
- return t6;
157009
- }(a3), c3 = u3.left + u3.right, s3 = u3.top + u3.bottom, f3 = d2(a3.width), y3 = d2(a3.height);
157010
- return "border-box" === a3.boxSizing && (Math.round(f3 + c3) !== t5 && (f3 -= h2(a3, "left", "right") + c3), Math.round(y3 + s3) !== n5 && (y3 -= h2(a3, "top", "bottom") + s3)), (i3 = e6) !== l2(i3).document.documentElement && (r4 = Math.round(f3 + c3) - t5, o4 = Math.round(y3 + s3) - n5, 1 !== Math.abs(r4) && (f3 -= r4), 1 !== Math.abs(o4) && (y3 -= o4)), b2(u3.left, u3.top, f3, y3);
157011
- }(e5) : p2;
157012
- var t4;
157013
- }
157014
- function b2(e5, t4, n5, r4) {
157015
- return { x: e5, y: t4, width: n5, height: r4 };
157016
- }
157017
- var g2 = (m2.prototype.isActive = function() {
157018
- var e5 = v2(this.target);
157019
- return (this.contentRect_ = e5).width !== this.broadcastWidth || e5.height !== this.broadcastHeight;
157020
- }, m2.prototype.broadcastRect = function() {
157021
- var e5 = this.contentRect_;
157022
- return this.broadcastWidth = e5.width, this.broadcastHeight = e5.height, e5;
157023
- }, m2);
157024
- function m2(e5) {
157025
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = b2(0, 0, 0, 0), this.target = e5;
157026
- }
157027
- var w2 = function(e5, t4) {
157028
- var n5, r4, o4, i3, a3, u3, c3, s3 = (r4 = (n5 = t4).x, o4 = n5.y, i3 = n5.width, a3 = n5.height, u3 = "undefined" != typeof DOMRectReadOnly ? DOMRectReadOnly : Object, c3 = Object.create(u3.prototype), f2(c3, { x: r4, y: o4, width: i3, height: a3, top: o4, right: r4 + i3, bottom: a3 + o4, left: r4 }), c3);
157029
- f2(this, { target: e5, contentRect: s3 });
157030
- }, _2 = (O2.prototype.observe = function(e5) {
157031
- if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
157032
- if ("undefined" != typeof Element && Element instanceof Object) {
157033
- if (!(e5 instanceof l2(e5).Element)) throw new TypeError('parameter 1 is not of type "Element".');
157034
- var t4 = this.observations_;
157035
- t4.has(e5) || (t4.set(e5, new g2(e5)), this.controller_.addObserver(this), this.controller_.refresh());
157036
- }
157037
- }, O2.prototype.unobserve = function(e5) {
157038
- if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
157039
- if ("undefined" != typeof Element && Element instanceof Object) {
157040
- if (!(e5 instanceof l2(e5).Element)) throw new TypeError('parameter 1 is not of type "Element".');
157041
- var t4 = this.observations_;
157042
- t4.has(e5) && (t4.delete(e5), t4.size || this.controller_.removeObserver(this));
157043
- }
157044
- }, O2.prototype.disconnect = function() {
157045
- this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
157046
- }, O2.prototype.gatherActive = function() {
157047
- var e5 = this;
157048
- this.clearActive(), this.observations_.forEach(function(t4) {
157049
- t4.isActive() && e5.activeObservations_.push(t4);
157050
- });
157051
- }, O2.prototype.broadcastActive = function() {
157052
- var e5, t4;
157053
- this.hasActive() && (e5 = this.callbackCtx_, t4 = this.activeObservations_.map(function(e6) {
157054
- return new w2(e6.target, e6.broadcastRect());
157055
- }), this.callback_.call(e5, t4, e5), this.clearActive());
157056
- }, O2.prototype.clearActive = function() {
157057
- this.activeObservations_.splice(0);
157058
- }, O2.prototype.hasActive = function() {
157059
- return 0 < this.activeObservations_.length;
157060
- }, O2);
157061
- function O2(e5, t4, r4) {
157062
- if (this.activeObservations_ = [], this.observations_ = new n4(), "function" != typeof e5) throw new TypeError("The callback provided as parameter 1 is not a function.");
157063
- this.callback_ = e5, this.controller_ = t4, this.callbackCtx_ = r4;
157064
- }
157065
- var S2 = new ("undefined" != typeof WeakMap ? WeakMap : n4)(), x2 = function e5(t4) {
157066
- if (!(this instanceof e5)) throw new TypeError("Cannot call a class as a function.");
157067
- if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
157068
- var n5 = c2.getInstance(), r4 = new _2(t4, n5, this);
157069
- S2.set(this, r4);
157070
- };
157071
- ["observe", "unobserve", "disconnect"].forEach(function(e5) {
157072
- x2.prototype[e5] = function() {
157073
- var t4;
157074
- return (t4 = S2.get(this))[e5].apply(t4, arguments);
157075
- };
157076
- });
157077
- var E2 = void 0 !== o3.ResizeObserver ? o3.ResizeObserver : x2;
157078
- t3.a = E2;
157079
- }).call(this, n3(14));
157080
- }, function(e3, t3, n3) {
157081
- e3.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
157082
- }, function(e3, t3) {
157083
- var n3 = /* @__PURE__ */ function() {
157084
- return this;
157085
- }();
157086
- try {
157087
- n3 = n3 || new Function("return this")();
157088
- } catch (e4) {
157089
- "object" == typeof window && (n3 = window);
157090
- }
157091
- e3.exports = n3;
157092
- }, function(e3, t3, n3) {
157093
- var r3 = n3(8), o3 = n3(38), i2 = n3(39), a2 = r3 ? r3.toStringTag : void 0;
157094
- e3.exports = function(e4) {
157095
- return null == e4 ? void 0 === e4 ? "[object Undefined]" : "[object Null]" : (a2 && a2 in Object(e4) ? o3 : i2)(e4);
157096
- };
157097
- }, function(e3, t3) {
157098
- e3.exports = function(e4) {
157099
- return null != e4 && "object" == typeof e4;
157100
- };
157101
- }, function(e3, t3, n3) {
157102
- var r3 = n3(23), o3 = n3(81), i2 = n3(83), a2 = n3(4);
157103
- e3.exports = function() {
157104
- var e4 = arguments.length;
157105
- if (!e4) return [];
157106
- for (var t4 = Array(e4 - 1), n4 = arguments[0], u2 = e4; u2--; ) t4[u2 - 1] = arguments[u2];
157107
- return r3(a2(n4) ? i2(n4) : [n4], o3(t4, 1));
157108
- };
157109
- }, function(e3, t3, n3) {
157110
- var r3 = n3(84), o3 = n3(85), i2 = n3(87), a2 = 4294967295, u2 = Math.min;
157111
- e3.exports = function(e4, t4) {
157112
- if ((e4 = i2(e4)) < 1 || 9007199254740991 < e4) return [];
157113
- var n4 = a2, c2 = u2(e4, a2);
157114
- t4 = o3(t4), e4 -= a2;
157115
- for (var s2 = r3(c2, t4); ++n4 < e4; ) t4(n4);
157116
- return s2;
157117
- };
157118
- }, function(e3, t3, n3) {
157119
- e3.exports = n3(30);
157120
- }, function(e3, t3, n3) {
157121
- var r3 = n3(5), o3 = n3(7), i2 = /^\s+|\s+$/g, a2 = /^[-+]0x[0-9a-f]+$/i, u2 = /^0b[01]+$/i, c2 = /^0o[0-7]+$/i, s2 = parseInt;
157122
- e3.exports = function(e4) {
157123
- if ("number" == typeof e4) return e4;
157124
- if (o3(e4)) return NaN;
157125
- var t4;
157126
- if (r3(e4) && (t4 = "function" == typeof e4.valueOf ? e4.valueOf() : e4, e4 = r3(t4) ? t4 + "" : t4), "string" != typeof e4) return 0 === e4 ? e4 : +e4;
157127
- e4 = e4.replace(i2, "");
157128
- var n4 = u2.test(e4);
157129
- return n4 || c2.test(e4) ? s2(e4.slice(2), n4 ? 2 : 8) : a2.test(e4) ? NaN : +e4;
157130
- };
157131
- }, function(e3, t3, n3) {
157132
- var r3 = n3(51), o3 = n3(56);
157133
- e3.exports = function(e4, t4) {
157134
- var n4 = o3(e4, t4);
157135
- return r3(n4) ? n4 : void 0;
157136
- };
157137
- }, function(e3, t3, n3) {
157138
- var r3 = n3(77), o3 = n3(16), i2 = Object.prototype, a2 = i2.hasOwnProperty, u2 = i2.propertyIsEnumerable, c2 = r3(/* @__PURE__ */ function() {
157139
- return arguments;
157140
- }()) ? r3 : function(e4) {
157141
- return o3(e4) && a2.call(e4, "callee") && !u2.call(e4, "callee");
157142
- };
157143
- e3.exports = c2;
157144
- }, function(e3, t3) {
157145
- e3.exports = function(e4, t4) {
157146
- for (var n3 = -1, r3 = t4.length, o3 = e4.length; ++n3 < r3; ) e4[o3 + n3] = t4[n3];
157147
- return e4;
157148
- };
157149
- }, function(e3, t3, n3) {
157150
- var r3 = n3(35), o3 = n3(5);
157151
- e3.exports = function(e4, t4, n4) {
157152
- var i2 = true, a2 = true;
157153
- if ("function" != typeof e4) throw new TypeError("Expected a function");
157154
- return o3(n4) && (i2 = "leading" in n4 ? !!n4.leading : i2, a2 = "trailing" in n4 ? !!n4.trailing : a2), r3(e4, t4, { leading: i2, maxWait: t4, trailing: a2 });
157155
- };
157156
- }, function(e3, t3, n3) {
157157
- var r3 = n3(40), o3 = n3(41);
157158
- e3.exports = function(e4, t4) {
157159
- return null != e4 && o3(e4, t4, r3);
157160
- };
157161
- }, function(e3, n3) {
157162
- e3.exports = t2;
157163
- }, function(e3, t3, n3) {
157164
- (function(e4) {
157165
- var n4 = "object" == typeof e4 && e4 && e4.Object === Object && e4;
157166
- t3.a = n4;
157167
- }).call(this, n3(14));
157168
- }, , function(e3, t3, n3) {
157169
- /** @license React v16.13.1
157170
- * react-is.production.min.js
157171
- *
157172
- * Copyright (c) Facebook, Inc. and its affiliates.
157173
- *
157174
- * This source code is licensed under the MIT license found in the
157175
- * LICENSE file in the root directory of this source tree.
157176
- */
157177
- var r3 = "function" == typeof Symbol && Symbol.for, o3 = r3 ? Symbol.for("react.element") : 60103, i2 = r3 ? Symbol.for("react.portal") : 60106, a2 = r3 ? Symbol.for("react.fragment") : 60107, u2 = r3 ? Symbol.for("react.strict_mode") : 60108, c2 = r3 ? Symbol.for("react.profiler") : 60114, s2 = r3 ? Symbol.for("react.provider") : 60109, f2 = r3 ? Symbol.for("react.context") : 60110, l2 = r3 ? Symbol.for("react.async_mode") : 60111, p2 = r3 ? Symbol.for("react.concurrent_mode") : 60111, d2 = r3 ? Symbol.for("react.forward_ref") : 60112, h2 = r3 ? Symbol.for("react.suspense") : 60113, y2 = r3 ? Symbol.for("react.suspense_list") : 60120, v2 = r3 ? Symbol.for("react.memo") : 60115, b2 = r3 ? Symbol.for("react.lazy") : 60116, g2 = r3 ? Symbol.for("react.block") : 60121, m2 = r3 ? Symbol.for("react.fundamental") : 60117, w2 = r3 ? Symbol.for("react.responder") : 60118, _2 = r3 ? Symbol.for("react.scope") : 60119;
157178
- function O2(e4) {
157179
- if ("object" == typeof e4 && null !== e4) {
157180
- var t4 = e4.$$typeof;
157181
- switch (t4) {
157182
- case o3:
157183
- switch (e4 = e4.type) {
157184
- case l2:
157185
- case p2:
157186
- case a2:
157187
- case c2:
157188
- case u2:
157189
- case h2:
157190
- return e4;
157191
- default:
157192
- switch (e4 = e4 && e4.$$typeof) {
157193
- case f2:
157194
- case d2:
157195
- case b2:
157196
- case v2:
157197
- case s2:
157198
- return e4;
157199
- default:
157200
- return t4;
157201
- }
157202
- }
157203
- case i2:
157204
- return t4;
157205
- }
157206
- }
157207
- }
157208
- function S2(e4) {
157209
- return O2(e4) === p2;
157210
- }
157211
- t3.AsyncMode = l2, t3.ConcurrentMode = p2, t3.ContextConsumer = f2, t3.ContextProvider = s2, t3.Element = o3, t3.ForwardRef = d2, t3.Fragment = a2, t3.Lazy = b2, t3.Memo = v2, t3.Portal = i2, t3.Profiler = c2, t3.StrictMode = u2, t3.Suspense = h2, t3.isAsyncMode = function(e4) {
157212
- return S2(e4) || O2(e4) === l2;
157213
- }, t3.isConcurrentMode = S2, t3.isContextConsumer = function(e4) {
157214
- return O2(e4) === f2;
157215
- }, t3.isContextProvider = function(e4) {
157216
- return O2(e4) === s2;
157217
- }, t3.isElement = function(e4) {
157218
- return "object" == typeof e4 && null !== e4 && e4.$$typeof === o3;
157219
- }, t3.isForwardRef = function(e4) {
157220
- return O2(e4) === d2;
157221
- }, t3.isFragment = function(e4) {
157222
- return O2(e4) === a2;
157223
- }, t3.isLazy = function(e4) {
157224
- return O2(e4) === b2;
157225
- }, t3.isMemo = function(e4) {
157226
- return O2(e4) === v2;
157227
- }, t3.isPortal = function(e4) {
157228
- return O2(e4) === i2;
157229
- }, t3.isProfiler = function(e4) {
157230
- return O2(e4) === c2;
157231
- }, t3.isStrictMode = function(e4) {
157232
- return O2(e4) === u2;
157233
- }, t3.isSuspense = function(e4) {
157234
- return O2(e4) === h2;
157235
- }, t3.isValidElementType = function(e4) {
157236
- return "string" == typeof e4 || "function" == typeof e4 || e4 === a2 || e4 === p2 || e4 === c2 || e4 === u2 || e4 === h2 || e4 === y2 || "object" == typeof e4 && null !== e4 && (e4.$$typeof === b2 || e4.$$typeof === v2 || e4.$$typeof === s2 || e4.$$typeof === f2 || e4.$$typeof === d2 || e4.$$typeof === m2 || e4.$$typeof === w2 || e4.$$typeof === _2 || e4.$$typeof === g2);
157237
- }, t3.typeOf = O2;
157238
- }, function(e3, t3, n3) {
157239
- /** @license React v16.13.1
157240
- * react-is.development.js
157241
- *
157242
- * Copyright (c) Facebook, Inc. and its affiliates.
157243
- *
157244
- * This source code is licensed under the MIT license found in the
157245
- * LICENSE file in the root directory of this source tree.
157246
- */
157247
- function r3(e4) {
157248
- if ("object" == typeof e4 && null !== e4) {
157249
- var t4 = e4.$$typeof;
157250
- switch (t4) {
157251
- case a2:
157252
- var n4 = e4.type;
157253
- switch (n4) {
157254
- case d2:
157255
- case h2:
157256
- case c2:
157257
- case f2:
157258
- case s2:
157259
- case v2:
157260
- return n4;
157261
- default:
157262
- var r4 = n4 && n4.$$typeof;
157263
- switch (r4) {
157264
- case p2:
157265
- case y2:
157266
- case m2:
157267
- case g2:
157268
- case l2:
157269
- return r4;
157270
- default:
157271
- return t4;
157272
- }
157273
- }
157274
- case u2:
157275
- return t4;
157276
- }
157277
- }
157278
- }
157279
- function o3(e4) {
157280
- return r3(e4) === h2;
157281
- }
157282
- var i2, a2, u2, c2, s2, f2, l2, p2, d2, h2, y2, v2, b2, g2, m2, w2, _2, O2, S2, x2, E2, P2, j2, C2, R2, T2, k2, M2, A2, L2, I2, $2;
157283
- i2 = "function" == typeof Symbol && Symbol.for, a2 = i2 ? Symbol.for("react.element") : 60103, u2 = i2 ? Symbol.for("react.portal") : 60106, c2 = i2 ? Symbol.for("react.fragment") : 60107, s2 = i2 ? Symbol.for("react.strict_mode") : 60108, f2 = i2 ? Symbol.for("react.profiler") : 60114, l2 = i2 ? Symbol.for("react.provider") : 60109, p2 = i2 ? Symbol.for("react.context") : 60110, d2 = i2 ? Symbol.for("react.async_mode") : 60111, h2 = i2 ? Symbol.for("react.concurrent_mode") : 60111, y2 = i2 ? Symbol.for("react.forward_ref") : 60112, v2 = i2 ? Symbol.for("react.suspense") : 60113, b2 = i2 ? Symbol.for("react.suspense_list") : 60120, g2 = i2 ? Symbol.for("react.memo") : 60115, m2 = i2 ? Symbol.for("react.lazy") : 60116, w2 = i2 ? Symbol.for("react.block") : 60121, _2 = i2 ? Symbol.for("react.fundamental") : 60117, O2 = i2 ? Symbol.for("react.responder") : 60118, S2 = i2 ? Symbol.for("react.scope") : 60119, x2 = h2, E2 = p2, P2 = l2, j2 = a2, C2 = y2, R2 = c2, T2 = m2, k2 = g2, M2 = u2, A2 = f2, L2 = s2, I2 = v2, $2 = false, t3.AsyncMode = d2, t3.ConcurrentMode = x2, t3.ContextConsumer = E2, t3.ContextProvider = P2, t3.Element = j2, t3.ForwardRef = C2, t3.Fragment = R2, t3.Lazy = T2, t3.Memo = k2, t3.Portal = M2, t3.Profiler = A2, t3.StrictMode = L2, t3.Suspense = I2, t3.isAsyncMode = function(e4) {
157284
- return $2 || ($2 = true, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), o3(e4) || r3(e4) === d2;
157285
- }, t3.isConcurrentMode = o3, t3.isContextConsumer = function(e4) {
157286
- return r3(e4) === p2;
157287
- }, t3.isContextProvider = function(e4) {
157288
- return r3(e4) === l2;
157289
- }, t3.isElement = function(e4) {
157290
- return "object" == typeof e4 && null !== e4 && e4.$$typeof === a2;
157291
- }, t3.isForwardRef = function(e4) {
157292
- return r3(e4) === y2;
157293
- }, t3.isFragment = function(e4) {
157294
- return r3(e4) === c2;
157295
- }, t3.isLazy = function(e4) {
157296
- return r3(e4) === m2;
157297
- }, t3.isMemo = function(e4) {
157298
- return r3(e4) === g2;
157299
- }, t3.isPortal = function(e4) {
157300
- return r3(e4) === u2;
157301
- }, t3.isProfiler = function(e4) {
157302
- return r3(e4) === f2;
157303
- }, t3.isStrictMode = function(e4) {
157304
- return r3(e4) === s2;
157305
- }, t3.isSuspense = function(e4) {
157306
- return r3(e4) === v2;
157307
- }, t3.isValidElementType = function(e4) {
157308
- return "string" == typeof e4 || "function" == typeof e4 || e4 === c2 || e4 === h2 || e4 === f2 || e4 === s2 || e4 === v2 || e4 === b2 || "object" == typeof e4 && null !== e4 && (e4.$$typeof === m2 || e4.$$typeof === g2 || e4.$$typeof === l2 || e4.$$typeof === p2 || e4.$$typeof === y2 || e4.$$typeof === _2 || e4.$$typeof === O2 || e4.$$typeof === S2 || e4.$$typeof === w2);
157309
- }, t3.typeOf = r3;
157310
- }, function(e3, t3, n3) {
157311
- var r3, o3 = n3(19), i2 = n3(32), a2 = n3(13), u2 = n3(33), c2 = Function.call.bind(Object.prototype.hasOwnProperty);
157312
- function s2() {
157313
- return null;
157314
- }
157315
- r3 = function(e4) {
157316
- var t4 = "Warning: " + e4;
157317
- "undefined" != typeof console && console.error(t4);
157318
- try {
157319
- throw new Error(t4);
157320
- } catch (e5) {
157321
- }
157322
- }, e3.exports = function(e4, t4) {
157323
- var n4 = "function" == typeof Symbol && Symbol.iterator, f2 = "<<anonymous>>", l2 = { array: y2("array"), bool: y2("boolean"), func: y2("function"), number: y2("number"), object: y2("object"), string: y2("string"), symbol: y2("symbol"), any: h2(s2), arrayOf: function(e5) {
157324
- return h2(function(t5, n5, r4, o4, i3) {
157325
- if ("function" != typeof e5) return new d2("Property `" + i3 + "` of component `" + r4 + "` has invalid PropType notation inside arrayOf.");
157326
- var u3 = t5[n5];
157327
- if (!Array.isArray(u3)) return new d2("Invalid " + o4 + " `" + i3 + "` of type `" + b2(u3) + "` supplied to `" + r4 + "`, expected an array.");
157328
- for (var c3 = 0; c3 < u3.length; c3++) {
157329
- var s3 = e5(u3, c3, r4, o4, i3 + "[" + c3 + "]", a2);
157330
- if (s3 instanceof Error) return s3;
157331
- }
157332
- return null;
157333
- });
157334
- }, element: h2(function(t5, n5, r4, o4, i3) {
157335
- var a3 = t5[n5];
157336
- return e4(a3) ? null : new d2("Invalid " + o4 + " `" + i3 + "` of type `" + b2(a3) + "` supplied to `" + r4 + "`, expected a single ReactElement.");
157337
- }), elementType: h2(function(e5, t5, n5, r4, i3) {
157338
- var a3 = e5[t5];
157339
- return o3.isValidElementType(a3) ? null : new d2("Invalid " + r4 + " `" + i3 + "` of type `" + b2(a3) + "` supplied to `" + n5 + "`, expected a single ReactElement type.");
157340
- }), instanceOf: function(e5) {
157341
- return h2(function(t5, n5, r4, o4, i3) {
157342
- if (t5[n5] instanceof e5) return null;
157343
- var a3, u3 = e5.name || f2;
157344
- return new d2("Invalid " + o4 + " `" + i3 + "` of type `" + ((a3 = t5[n5]).constructor && a3.constructor.name ? a3.constructor.name : f2) + "` supplied to `" + r4 + "`, expected instance of `" + u3 + "`.");
157345
- });
157346
- }, node: h2(function(e5, t5, n5, r4, o4) {
157347
- return v2(e5[t5]) ? null : new d2("Invalid " + r4 + " `" + o4 + "` supplied to `" + n5 + "`, expected a ReactNode.");
157348
- }), objectOf: function(e5) {
157349
- return h2(function(t5, n5, r4, o4, i3) {
157350
- if ("function" != typeof e5) return new d2("Property `" + i3 + "` of component `" + r4 + "` has invalid PropType notation inside objectOf.");
157351
- var u3 = t5[n5], s3 = b2(u3);
157352
- if ("object" !== s3) return new d2("Invalid " + o4 + " `" + i3 + "` of type `" + s3 + "` supplied to `" + r4 + "`, expected an object.");
157353
- for (var f3 in u3) if (c2(u3, f3)) {
157354
- var l3 = e5(u3, f3, r4, o4, i3 + "." + f3, a2);
157355
- if (l3 instanceof Error) return l3;
157356
- }
157357
- return null;
157358
- });
157359
- }, oneOf: function(e5) {
157360
- return Array.isArray(e5) ? h2(function(t5, n5, r4, o4, i3) {
157361
- for (var a3 = t5[n5], u3 = 0; u3 < e5.length; u3++) if (p2(a3, e5[u3])) return null;
157362
- var c3 = JSON.stringify(e5, function(e6, t6) {
157363
- return "symbol" === g2(t6) ? String(t6) : t6;
157364
- });
157365
- return new d2("Invalid " + o4 + " `" + i3 + "` of value `" + String(a3) + "` supplied to `" + r4 + "`, expected one of " + c3 + ".");
157366
- }) : (r3(1 < arguments.length ? "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." : "Invalid argument supplied to oneOf, expected an array."), s2);
157367
- }, oneOfType: function(e5) {
157368
- if (!Array.isArray(e5)) return r3("Invalid argument supplied to oneOfType, expected an instance of array."), s2;
157369
- for (var t5 = 0; t5 < e5.length; t5++) {
157370
- var n5 = e5[t5];
157371
- if ("function" != typeof n5) return r3("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + m2(n5) + " at index " + t5 + "."), s2;
157372
- }
157373
- return h2(function(t6, n6, r4, o4, i3) {
157374
- for (var u3 = 0; u3 < e5.length; u3++) if (null == (0, e5[u3])(t6, n6, r4, o4, i3, a2)) return null;
157375
- return new d2("Invalid " + o4 + " `" + i3 + "` supplied to `" + r4 + "`.");
157376
- });
157377
- }, shape: function(e5) {
157378
- return h2(function(t5, n5, r4, o4, i3) {
157379
- var u3 = t5[n5], c3 = b2(u3);
157380
- if ("object" !== c3) return new d2("Invalid " + o4 + " `" + i3 + "` of type `" + c3 + "` supplied to `" + r4 + "`, expected `object`.");
157381
- for (var s3 in e5) {
157382
- var f3 = e5[s3];
157383
- if (f3) {
157384
- var l3 = f3(u3, s3, r4, o4, i3 + "." + s3, a2);
157385
- if (l3) return l3;
157386
- }
157387
- }
157388
- return null;
157389
- });
157390
- }, exact: function(e5) {
157391
- return h2(function(t5, n5, r4, o4, u3) {
157392
- var c3 = t5[n5], s3 = b2(c3);
157393
- if ("object" !== s3) return new d2("Invalid " + o4 + " `" + u3 + "` of type `" + s3 + "` supplied to `" + r4 + "`, expected `object`.");
157394
- var f3 = i2({}, t5[n5], e5);
157395
- for (var l3 in f3) {
157396
- var p3 = e5[l3];
157397
- if (!p3) return new d2("Invalid " + o4 + " `" + u3 + "` key `" + l3 + "` supplied to `" + r4 + "`.\nBad object: " + JSON.stringify(t5[n5], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(e5), null, " "));
157398
- var h3 = p3(c3, l3, r4, o4, u3 + "." + l3, a2);
157399
- if (h3) return h3;
157400
- }
157401
- return null;
157402
- });
157403
- } };
157404
- function p2(e5, t5) {
157405
- return e5 === t5 ? 0 !== e5 || 1 / e5 == 1 / t5 : e5 != e5 && t5 != t5;
157406
- }
157407
- function d2(e5) {
157408
- this.message = e5, this.stack = "";
157409
- }
157410
- function h2(e5) {
157411
- var n5 = {}, o4 = 0;
157412
- function i3(i4, u4, c3, s3, l3, p3, h3) {
157413
- if (s3 = s3 || f2, p3 = p3 || c3, h3 !== a2) {
157414
- if (t4) {
157415
- var y3 = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
157416
- throw y3.name = "Invariant Violation", y3;
157417
- }
157418
- var v3;
157419
- "undefined" == typeof console || !n5[v3 = s3 + ":" + c3] && o4 < 3 && (r3("You are manually calling a React.PropTypes validation function for the `" + p3 + "` prop on `" + s3 + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."), n5[v3] = true, o4++);
157420
- }
157421
- return null == u4[c3] ? i4 ? null === u4[c3] ? new d2("The " + l3 + " `" + p3 + "` is marked as required in `" + s3 + "`, but its value is `null`.") : new d2("The " + l3 + " `" + p3 + "` is marked as required in `" + s3 + "`, but its value is `undefined`.") : null : e5(u4, c3, s3, l3, p3);
157422
- }
157423
- var u3 = i3.bind(null, false);
157424
- return u3.isRequired = i3.bind(null, true), u3;
157425
- }
157426
- function y2(e5) {
157427
- return h2(function(t5, n5, r4, o4, i3, a3) {
157428
- var u3 = t5[n5];
157429
- return b2(u3) === e5 ? null : new d2("Invalid " + o4 + " `" + i3 + "` of type `" + g2(u3) + "` supplied to `" + r4 + "`, expected `" + e5 + "`.");
157430
- });
157431
- }
157432
- function v2(t5) {
157433
- switch (typeof t5) {
157434
- case "number":
157435
- case "string":
157436
- case "undefined":
157437
- return true;
157438
- case "boolean":
157439
- return !t5;
157440
- case "object":
157441
- if (Array.isArray(t5)) return t5.every(v2);
157442
- if (null === t5 || e4(t5)) return true;
157443
- var r4 = function(e5) {
157444
- var t6 = e5 && (n4 && e5[n4] || e5["@@iterator"]);
157445
- if ("function" == typeof t6) return t6;
157446
- }(t5);
157447
- if (!r4) return false;
157448
- var o4, i3 = r4.call(t5);
157449
- if (r4 !== t5.entries) {
157450
- for (; !(o4 = i3.next()).done; ) if (!v2(o4.value)) return false;
157451
- } else for (; !(o4 = i3.next()).done; ) {
157452
- var a3 = o4.value;
157453
- if (a3 && !v2(a3[1])) return false;
157454
- }
157455
- return true;
157456
- default:
157457
- return false;
157458
- }
157459
- }
157460
- function b2(e5) {
157461
- var t5, n5 = typeof e5;
157462
- return Array.isArray(e5) ? "array" : e5 instanceof RegExp ? "object" : (t5 = e5, "symbol" === n5 || t5 && ("Symbol" === t5["@@toStringTag"] || "function" == typeof Symbol && t5 instanceof Symbol) ? "symbol" : n5);
157463
- }
157464
- function g2(e5) {
157465
- if (null == e5) return "" + e5;
157466
- var t5 = b2(e5);
157467
- if ("object" === t5) {
157468
- if (e5 instanceof Date) return "date";
157469
- if (e5 instanceof RegExp) return "regexp";
157470
- }
157471
- return t5;
157472
- }
157473
- function m2(e5) {
157474
- var t5 = g2(e5);
157475
- switch (t5) {
157476
- case "array":
157477
- case "object":
157478
- return "an " + t5;
157479
- case "boolean":
157480
- case "date":
157481
- case "regexp":
157482
- return "a " + t5;
157483
- default:
157484
- return t5;
157485
- }
157486
- }
157487
- return d2.prototype = Error.prototype, l2.checkPropTypes = u2, l2.resetWarningCache = u2.resetWarningCache, l2.PropTypes = l2;
157488
- };
157489
- }, function(e3, t3, n3) {
157490
- /*
157491
- object-assign
157492
- (c) Sindre Sorhus
157493
- @license MIT
157494
- */
157495
- var r3 = Object.getOwnPropertySymbols, o3 = Object.prototype.hasOwnProperty, i2 = Object.prototype.propertyIsEnumerable;
157496
- e3.exports = function() {
157497
- try {
157498
- if (!Object.assign) return;
157499
- var e4 = new String("abc");
157500
- if (e4[5] = "de", "5" === Object.getOwnPropertyNames(e4)[0]) return;
157501
- for (var t4 = {}, n4 = 0; n4 < 10; n4++) t4["_" + String.fromCharCode(n4)] = n4;
157502
- if ("0123456789" !== Object.getOwnPropertyNames(t4).map(function(e5) {
157503
- return t4[e5];
157504
- }).join("")) return;
157505
- var r4 = {};
157506
- return "abcdefghijklmnopqrst".split("").forEach(function(e5) {
157507
- r4[e5] = e5;
157508
- }), "abcdefghijklmnopqrst" !== Object.keys(Object.assign({}, r4)).join("") ? void 0 : 1;
157509
- } catch (e5) {
157510
- return;
157511
- }
157512
- }() ? Object.assign : function(e4, t4) {
157513
- for (var n4, a2, u2 = function(e5) {
157514
- if (null == e5) throw new TypeError("Object.assign cannot be called with null or undefined");
157515
- return Object(e5);
157516
- }(e4), c2 = 1; c2 < arguments.length; c2++) {
157517
- for (var s2 in n4 = Object(arguments[c2])) o3.call(n4, s2) && (u2[s2] = n4[s2]);
157518
- if (r3) {
157519
- a2 = r3(n4);
157520
- for (var f2 = 0; f2 < a2.length; f2++) i2.call(n4, a2[f2]) && (u2[a2[f2]] = n4[a2[f2]]);
157521
- }
157522
- }
157523
- return u2;
157524
- };
157525
- }, function(e3, t3, n3) {
157526
- var r3 = n3(13), o3 = {}, i2 = Function.call.bind(Object.prototype.hasOwnProperty), a2 = function(e4) {
157527
- var t4 = "Warning: " + e4;
157528
- "undefined" != typeof console && console.error(t4);
157529
- try {
157530
- throw new Error(t4);
157531
- } catch (e5) {
157532
- }
157533
- };
157534
- function u2(e4, t4, n4, u3, c2) {
157535
- for (var s2 in e4) if (i2(e4, s2)) {
157536
- var f2, l2;
157537
- try {
157538
- if ("function" != typeof e4[s2]) {
157539
- var p2 = Error((u3 || "React class") + ": " + n4 + " type `" + s2 + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e4[s2] + "`.");
157540
- throw p2.name = "Invariant Violation", p2;
157541
- }
157542
- f2 = e4[s2](t4, s2, u3, n4, null, r3);
157543
- } catch (e5) {
157544
- f2 = e5;
157545
- }
157546
- !f2 || f2 instanceof Error || a2((u3 || "React class") + ": type specification of " + n4 + " `" + s2 + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f2 + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."), f2 instanceof Error && !(f2.message in o3) && (o3[f2.message] = true, l2 = c2 ? c2() : "", a2("Failed " + n4 + " type: " + f2.message + (null != l2 ? l2 : "")));
157547
- }
157548
- }
157549
- u2.resetWarningCache = function() {
157550
- o3 = {};
157551
- }, e3.exports = u2;
157552
- }, function(e3, t3, n3) {
157553
- var r3 = n3(13);
157554
- function o3() {
157555
- }
157556
- function i2() {
157557
- }
157558
- i2.resetWarningCache = o3, e3.exports = function() {
157559
- function e4(e5, t5, n5, o4, i3, a2) {
157560
- if (a2 !== r3) {
157561
- var u2 = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
157562
- throw u2.name = "Invariant Violation", u2;
157563
- }
157564
- }
157565
- function t4() {
157566
- return e4;
157567
- }
157568
- var n4 = { array: e4.isRequired = e4, bool: e4, func: e4, number: e4, object: e4, string: e4, symbol: e4, any: e4, arrayOf: t4, element: e4, elementType: e4, instanceOf: t4, node: e4, objectOf: t4, oneOf: t4, oneOfType: t4, shape: t4, exact: t4, checkPropTypes: i2, resetWarningCache: o3 };
157569
- return n4.PropTypes = n4;
157570
- };
157571
- }, function(e3, t3, n3) {
157572
- var r3 = n3(5), o3 = n3(36), i2 = n3(20), a2 = Math.max, u2 = Math.min;
157573
- e3.exports = function(e4, t4, n4) {
157574
- var c2, s2, f2, l2, p2, d2, h2 = 0, y2 = false, v2 = false, b2 = true;
157575
- if ("function" != typeof e4) throw new TypeError("Expected a function");
157576
- function g2(t5) {
157577
- var n5 = c2, r4 = s2;
157578
- return c2 = s2 = void 0, h2 = t5, l2 = e4.apply(r4, n5);
157579
- }
157580
- function m2(e5) {
157581
- var n5 = e5 - d2;
157582
- return void 0 === d2 || t4 <= n5 || n5 < 0 || v2 && f2 <= e5 - h2;
157583
- }
157584
- function w2() {
157585
- var e5, n5, r4 = o3();
157586
- if (m2(r4)) return _2(r4);
157587
- p2 = setTimeout(w2, (n5 = t4 - ((e5 = r4) - d2), v2 ? u2(n5, f2 - (e5 - h2)) : n5));
157588
- }
157589
- function _2(e5) {
157590
- return p2 = void 0, b2 && c2 ? g2(e5) : (c2 = s2 = void 0, l2);
157591
- }
157592
- function O2() {
157593
- var e5, n5 = o3(), r4 = m2(n5);
157594
- if (c2 = arguments, s2 = this, d2 = n5, r4) {
157595
- if (void 0 === p2) return h2 = e5 = d2, p2 = setTimeout(w2, t4), y2 ? g2(e5) : l2;
157596
- if (v2) return clearTimeout(p2), p2 = setTimeout(w2, t4), g2(d2);
157597
- }
157598
- return void 0 === p2 && (p2 = setTimeout(w2, t4)), l2;
157599
- }
157600
- return t4 = i2(t4) || 0, r3(n4) && (y2 = !!n4.leading, f2 = (v2 = "maxWait" in n4) ? a2(i2(n4.maxWait) || 0, t4) : f2, b2 = "trailing" in n4 ? !!n4.trailing : b2), O2.cancel = function() {
157601
- void 0 !== p2 && clearTimeout(p2), c2 = d2 = s2 = p2 = void (h2 = 0);
157602
- }, O2.flush = function() {
157603
- return void 0 === p2 ? l2 : _2(o3());
157604
- }, O2;
157605
- };
157606
- }, function(e3, t3, n3) {
157607
- var r3 = n3(6);
157608
- e3.exports = function() {
157609
- return r3.Date.now();
157610
- };
157611
- }, function(e3, t3, n3) {
157612
- (function(t4) {
157613
- var n4 = "object" == typeof t4 && t4 && t4.Object === Object && t4;
157614
- e3.exports = n4;
157615
- }).call(this, n3(14));
157616
- }, function(e3, t3, n3) {
157617
- var r3 = n3(8), o3 = Object.prototype, i2 = o3.hasOwnProperty, a2 = o3.toString, u2 = r3 ? r3.toStringTag : void 0;
157618
- e3.exports = function(e4) {
157619
- var t4 = i2.call(e4, u2), n4 = e4[u2];
157620
- try {
157621
- var r4 = !(e4[u2] = void 0);
157622
- } catch (e5) {
157623
- }
157624
- var o4 = a2.call(e4);
157625
- return r4 && (t4 ? e4[u2] = n4 : delete e4[u2]), o4;
157626
- };
157627
- }, function(e3, t3) {
157628
- var n3 = Object.prototype.toString;
157629
- e3.exports = function(e4) {
157630
- return n3.call(e4);
157631
- };
157632
- }, function(e3, t3) {
157633
- var n3 = Object.prototype.hasOwnProperty;
157634
- e3.exports = function(e4, t4) {
157635
- return null != e4 && n3.call(e4, t4);
157636
- };
157637
- }, function(e3, t3, n3) {
157638
- var r3 = n3(42), o3 = n3(22), i2 = n3(4), a2 = n3(78), u2 = n3(79), c2 = n3(80);
157639
- e3.exports = function(e4, t4, n4) {
157640
- for (var s2 = -1, f2 = (t4 = r3(t4, e4)).length, l2 = false; ++s2 < f2; ) {
157641
- var p2 = c2(t4[s2]);
157642
- if (!(l2 = null != e4 && n4(e4, p2))) break;
157643
- e4 = e4[p2];
157644
- }
157645
- return l2 || ++s2 != f2 ? l2 : !!(f2 = null == e4 ? 0 : e4.length) && u2(f2) && a2(p2, f2) && (i2(e4) || o3(e4));
157646
- };
157647
- }, function(e3, t3, n3) {
157648
- var r3 = n3(4), o3 = n3(43), i2 = n3(44), a2 = n3(74);
157649
- e3.exports = function(e4, t4) {
157650
- return r3(e4) ? e4 : o3(e4, t4) ? [e4] : i2(a2(e4));
157651
- };
157652
- }, function(e3, t3, n3) {
157653
- var r3 = n3(4), o3 = n3(7), i2 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a2 = /^\w*$/;
157654
- e3.exports = function(e4, t4) {
157655
- if (r3(e4)) return false;
157656
- var n4 = typeof e4;
157657
- return !("number" != n4 && "symbol" != n4 && "boolean" != n4 && null != e4 && !o3(e4)) || a2.test(e4) || !i2.test(e4) || null != t4 && e4 in Object(t4);
157658
- };
157659
- }, function(e3, t3, n3) {
157660
- var r3 = n3(45), o3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, i2 = /\\(\\)?/g, a2 = r3(function(e4) {
157661
- var t4 = [];
157662
- return 46 === e4.charCodeAt(0) && t4.push(""), e4.replace(o3, function(e5, n4, r4, o4) {
157663
- t4.push(r4 ? o4.replace(i2, "$1") : n4 || e5);
157664
- }), t4;
157665
- });
157666
- e3.exports = a2;
157667
- }, function(e3, t3, n3) {
157668
- var r3 = n3(46);
157669
- e3.exports = function(e4) {
157670
- var t4 = r3(e4, function(e5) {
157671
- return 500 === n4.size && n4.clear(), e5;
157672
- }), n4 = t4.cache;
157673
- return t4;
157674
- };
157675
- }, function(e3, t3, n3) {
157676
- var r3 = n3(47);
157677
- function o3(e4, t4) {
157678
- if ("function" != typeof e4 || null != t4 && "function" != typeof t4) throw new TypeError("Expected a function");
157679
- var n4 = function() {
157680
- var r4 = arguments, o4 = t4 ? t4.apply(this, r4) : r4[0], i2 = n4.cache;
157681
- if (i2.has(o4)) return i2.get(o4);
157682
- var a2 = e4.apply(this, r4);
157683
- return n4.cache = i2.set(o4, a2) || i2, a2;
157684
- };
157685
- return n4.cache = new (o3.Cache || r3)(), n4;
157686
- }
157687
- o3.Cache = r3, e3.exports = o3;
157688
- }, function(e3, t3, n3) {
157689
- var r3 = n3(48), o3 = n3(69), i2 = n3(71), a2 = n3(72), u2 = n3(73);
157690
- function c2(e4) {
157691
- var t4 = -1, n4 = null == e4 ? 0 : e4.length;
157692
- for (this.clear(); ++t4 < n4; ) {
157693
- var r4 = e4[t4];
157694
- this.set(r4[0], r4[1]);
157695
- }
157696
- }
157697
- c2.prototype.clear = r3, c2.prototype.delete = o3, c2.prototype.get = i2, c2.prototype.has = a2, c2.prototype.set = u2, e3.exports = c2;
157698
- }, function(e3, t3, n3) {
157699
- var r3 = n3(49), o3 = n3(61), i2 = n3(68);
157700
- e3.exports = function() {
157701
- this.size = 0, this.__data__ = { hash: new r3(), map: new (i2 || o3)(), string: new r3() };
157702
- };
157703
- }, function(e3, t3, n3) {
157704
- var r3 = n3(50), o3 = n3(57), i2 = n3(58), a2 = n3(59), u2 = n3(60);
157705
- function c2(e4) {
157706
- var t4 = -1, n4 = null == e4 ? 0 : e4.length;
157707
- for (this.clear(); ++t4 < n4; ) {
157708
- var r4 = e4[t4];
157709
- this.set(r4[0], r4[1]);
157710
- }
157711
- }
157712
- c2.prototype.clear = r3, c2.prototype.delete = o3, c2.prototype.get = i2, c2.prototype.has = a2, c2.prototype.set = u2, e3.exports = c2;
157713
- }, function(e3, t3, n3) {
157714
- var r3 = n3(9);
157715
- e3.exports = function() {
157716
- this.__data__ = r3 ? r3(null) : {}, this.size = 0;
157717
- };
157718
- }, function(e3, t3, n3) {
157719
- var r3 = n3(52), o3 = n3(53), i2 = n3(5), a2 = n3(55), u2 = /^\[object .+?Constructor\]$/, c2 = Function.prototype, s2 = Object.prototype, f2 = c2.toString, l2 = s2.hasOwnProperty, p2 = RegExp("^" + f2.call(l2).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
157720
- e3.exports = function(e4) {
157721
- return !(!i2(e4) || o3(e4)) && (r3(e4) ? p2 : u2).test(a2(e4));
157722
- };
157723
- }, function(e3, t3, n3) {
157724
- var r3 = n3(15), o3 = n3(5);
157725
- e3.exports = function(e4) {
157726
- if (!o3(e4)) return false;
157727
- var t4 = r3(e4);
157728
- return "[object Function]" == t4 || "[object GeneratorFunction]" == t4 || "[object AsyncFunction]" == t4 || "[object Proxy]" == t4;
157729
- };
157730
- }, function(e3, t3, n3) {
157731
- var r3, o3 = n3(54), i2 = (r3 = /[^.]+$/.exec(o3 && o3.keys && o3.keys.IE_PROTO || "")) ? "Symbol(src)_1." + r3 : "";
157732
- e3.exports = function(e4) {
157733
- return !!i2 && i2 in e4;
157734
- };
157735
- }, function(e3, t3, n3) {
157736
- var r3 = n3(6)["__core-js_shared__"];
157737
- e3.exports = r3;
157738
- }, function(e3, t3) {
157739
- var n3 = Function.prototype.toString;
157740
- e3.exports = function(e4) {
157741
- if (null != e4) {
157742
- try {
157743
- return n3.call(e4);
157744
- } catch (e5) {
157745
- }
157746
- try {
157747
- return e4 + "";
157748
- } catch (e5) {
157749
- }
157750
- }
157751
- return "";
157752
- };
157753
- }, function(e3, t3) {
157754
- e3.exports = function(e4, t4) {
157755
- return null == e4 ? void 0 : e4[t4];
157756
- };
157757
- }, function(e3, t3) {
157758
- e3.exports = function(e4) {
157759
- var t4 = this.has(e4) && delete this.__data__[e4];
157760
- return this.size -= t4 ? 1 : 0, t4;
157761
- };
157762
- }, function(e3, t3, n3) {
157763
- var r3 = n3(9), o3 = Object.prototype.hasOwnProperty;
157764
- e3.exports = function(e4) {
157765
- var t4 = this.__data__;
157766
- if (r3) {
157767
- var n4 = t4[e4];
157768
- return "__lodash_hash_undefined__" === n4 ? void 0 : n4;
157769
- }
157770
- return o3.call(t4, e4) ? t4[e4] : void 0;
157771
- };
157772
- }, function(e3, t3, n3) {
157773
- var r3 = n3(9), o3 = Object.prototype.hasOwnProperty;
157774
- e3.exports = function(e4) {
157775
- var t4 = this.__data__;
157776
- return r3 ? void 0 !== t4[e4] : o3.call(t4, e4);
157777
- };
157778
- }, function(e3, t3, n3) {
157779
- var r3 = n3(9);
157780
- e3.exports = function(e4, t4) {
157781
- var n4 = this.__data__;
157782
- return this.size += this.has(e4) ? 0 : 1, n4[e4] = r3 && void 0 === t4 ? "__lodash_hash_undefined__" : t4, this;
157783
- };
157784
- }, function(e3, t3, n3) {
157785
- var r3 = n3(62), o3 = n3(63), i2 = n3(65), a2 = n3(66), u2 = n3(67);
157786
- function c2(e4) {
157787
- var t4 = -1, n4 = null == e4 ? 0 : e4.length;
157788
- for (this.clear(); ++t4 < n4; ) {
157789
- var r4 = e4[t4];
157790
- this.set(r4[0], r4[1]);
157791
- }
157792
- }
157793
- c2.prototype.clear = r3, c2.prototype.delete = o3, c2.prototype.get = i2, c2.prototype.has = a2, c2.prototype.set = u2, e3.exports = c2;
157794
- }, function(e3, t3) {
157795
- e3.exports = function() {
157796
- this.__data__ = [], this.size = 0;
157797
- };
157798
- }, function(e3, t3, n3) {
157799
- var r3 = n3(10), o3 = Array.prototype.splice;
157800
- e3.exports = function(e4) {
157801
- var t4 = this.__data__, n4 = r3(t4, e4);
157802
- return !(n4 < 0 || (n4 == t4.length - 1 ? t4.pop() : o3.call(t4, n4, 1), --this.size, 0));
157803
- };
157804
- }, function(e3, t3) {
157805
- e3.exports = function(e4, t4) {
157806
- return e4 === t4 || e4 != e4 && t4 != t4;
157807
- };
157808
- }, function(e3, t3, n3) {
157809
- var r3 = n3(10);
157810
- e3.exports = function(e4) {
157811
- var t4 = this.__data__, n4 = r3(t4, e4);
157812
- return n4 < 0 ? void 0 : t4[n4][1];
157813
- };
157814
- }, function(e3, t3, n3) {
157815
- var r3 = n3(10);
157816
- e3.exports = function(e4) {
157817
- return -1 < r3(this.__data__, e4);
157818
- };
157819
- }, function(e3, t3, n3) {
157820
- var r3 = n3(10);
157821
- e3.exports = function(e4, t4) {
157822
- var n4 = this.__data__, o3 = r3(n4, e4);
157823
- return o3 < 0 ? (++this.size, n4.push([e4, t4])) : n4[o3][1] = t4, this;
157824
- };
157825
- }, function(e3, t3, n3) {
157826
- var r3 = n3(21)(n3(6), "Map");
157827
- e3.exports = r3;
157828
- }, function(e3, t3, n3) {
157829
- var r3 = n3(11);
157830
- e3.exports = function(e4) {
157831
- var t4 = r3(this, e4).delete(e4);
157832
- return this.size -= t4 ? 1 : 0, t4;
157833
- };
157834
- }, function(e3, t3) {
157835
- e3.exports = function(e4) {
157836
- var t4 = typeof e4;
157837
- return "string" == t4 || "number" == t4 || "symbol" == t4 || "boolean" == t4 ? "__proto__" !== e4 : null === e4;
157838
- };
157839
- }, function(e3, t3, n3) {
157840
- var r3 = n3(11);
157841
- e3.exports = function(e4) {
157842
- return r3(this, e4).get(e4);
157843
- };
157844
- }, function(e3, t3, n3) {
157845
- var r3 = n3(11);
157846
- e3.exports = function(e4) {
157847
- return r3(this, e4).has(e4);
157848
- };
157849
- }, function(e3, t3, n3) {
157850
- var r3 = n3(11);
157851
- e3.exports = function(e4, t4) {
157852
- var n4 = r3(this, e4), o3 = n4.size;
157853
- return n4.set(e4, t4), this.size += n4.size == o3 ? 0 : 1, this;
157854
- };
157855
- }, function(e3, t3, n3) {
157856
- var r3 = n3(75);
157857
- e3.exports = function(e4) {
157858
- return null == e4 ? "" : r3(e4);
157859
- };
157860
- }, function(e3, t3, n3) {
157861
- var r3 = n3(8), o3 = n3(76), i2 = n3(4), a2 = n3(7), u2 = r3 ? r3.prototype : void 0, c2 = u2 ? u2.toString : void 0;
157862
- e3.exports = function e4(t4) {
157863
- if ("string" == typeof t4) return t4;
157864
- if (i2(t4)) return o3(t4, e4) + "";
157865
- if (a2(t4)) return c2 ? c2.call(t4) : "";
157866
- var n4 = t4 + "";
157867
- return "0" == n4 && 1 / t4 == -1 / 0 ? "-0" : n4;
157868
- };
157869
- }, function(e3, t3) {
157870
- e3.exports = function(e4, t4) {
157871
- for (var n3 = -1, r3 = null == e4 ? 0 : e4.length, o3 = Array(r3); ++n3 < r3; ) o3[n3] = t4(e4[n3], n3, e4);
157872
- return o3;
157873
- };
157874
- }, function(e3, t3, n3) {
157875
- var r3 = n3(15), o3 = n3(16);
157876
- e3.exports = function(e4) {
157877
- return o3(e4) && "[object Arguments]" == r3(e4);
157878
- };
157879
- }, function(e3, t3) {
157880
- var n3 = /^(?:0|[1-9]\d*)$/;
157881
- e3.exports = function(e4, t4) {
157882
- var r3 = typeof e4;
157883
- return !!(t4 = null == t4 ? 9007199254740991 : t4) && ("number" == r3 || "symbol" != r3 && n3.test(e4)) && -1 < e4 && e4 % 1 == 0 && e4 < t4;
157884
- };
157885
- }, function(e3, t3) {
157886
- e3.exports = function(e4) {
157887
- return "number" == typeof e4 && -1 < e4 && e4 % 1 == 0 && e4 <= 9007199254740991;
157888
- };
157889
- }, function(e3, t3, n3) {
157890
- var r3 = n3(7);
157891
- e3.exports = function(e4) {
157892
- if ("string" == typeof e4 || r3(e4)) return e4;
157893
- var t4 = e4 + "";
157894
- return "0" == t4 && 1 / e4 == -1 / 0 ? "-0" : t4;
157895
- };
157896
- }, function(e3, t3, n3) {
157897
- var r3 = n3(23), o3 = n3(82);
157898
- e3.exports = function e4(t4, n4, i2, a2, u2) {
157899
- var c2 = -1, s2 = t4.length;
157900
- for (i2 = i2 || o3, u2 = u2 || []; ++c2 < s2; ) {
157901
- var f2 = t4[c2];
157902
- 0 < n4 && i2(f2) ? 1 < n4 ? e4(f2, n4 - 1, i2, a2, u2) : r3(u2, f2) : a2 || (u2[u2.length] = f2);
157903
- }
157904
- return u2;
157905
- };
157906
- }, function(e3, t3, n3) {
157907
- var r3 = n3(8), o3 = n3(22), i2 = n3(4), a2 = r3 ? r3.isConcatSpreadable : void 0;
157908
- e3.exports = function(e4) {
157909
- return i2(e4) || o3(e4) || !!(a2 && e4 && e4[a2]);
157910
- };
157911
- }, function(e3, t3) {
157912
- e3.exports = function(e4, t4) {
157913
- var n3 = -1, r3 = e4.length;
157914
- for (t4 = t4 || Array(r3); ++n3 < r3; ) t4[n3] = e4[n3];
157915
- return t4;
157916
- };
157917
- }, function(e3, t3) {
157918
- e3.exports = function(e4, t4) {
157919
- for (var n3 = -1, r3 = Array(e4); ++n3 < e4; ) r3[n3] = t4(n3);
157920
- return r3;
157921
- };
157922
- }, function(e3, t3, n3) {
157923
- var r3 = n3(86);
157924
- e3.exports = function(e4) {
157925
- return "function" == typeof e4 ? e4 : r3;
157926
- };
157927
- }, function(e3, t3) {
157928
- e3.exports = function(e4) {
157929
- return e4;
157930
- };
157931
- }, function(e3, t3, n3) {
157932
- var r3 = n3(88);
157933
- e3.exports = function(e4) {
157934
- var t4 = r3(e4), n4 = t4 % 1;
157935
- return t4 == t4 ? n4 ? t4 - n4 : t4 : 0;
157936
- };
157937
- }, function(e3, t3, n3) {
157938
- var r3 = n3(20);
157939
- e3.exports = function(e4) {
157940
- return e4 ? (e4 = r3(e4)) !== 1 / 0 && e4 !== -1 / 0 ? e4 == e4 ? e4 : 0 : 17976931348623157e292 * (e4 < 0 ? -1 : 1) : 0 === e4 ? e4 : 0;
157941
- };
157942
- }, function(e3, t3, n3) {
157943
- n3.r(t3), n3.d(t3, "Dots", function() {
157944
- return $e2;
157945
- });
157946
- var r3 = n3(0), o3 = n3.n(r3), i2 = n3(3), a2 = n3.n(i2), u2 = n3(1), c2 = n3(24), s2 = n3.n(c2), f2 = n3(25), l2 = n3.n(f2), p2 = n3(17), d2 = n3.n(p2), h2 = n3(18), y2 = n3.n(h2), v2 = n3(2), b2 = n3.n(v2), g2 = n3(26), m2 = n3(12), w2 = function(e4) {
157947
- var t4 = typeof e4;
157948
- return null != e4 && ("object" == t4 || "function" == t4);
157949
- }, _2 = n3(27), O2 = "object" == typeof self && self && self.Object === Object && self, S2 = _2.a || O2 || Function("return this")(), x2 = function() {
157950
- return S2.Date.now();
157951
- }, E2 = S2.Symbol, P2 = Object.prototype, j2 = P2.hasOwnProperty, C2 = P2.toString, R2 = E2 ? E2.toStringTag : void 0, T2 = function(e4) {
157952
- var t4 = j2.call(e4, R2), n4 = e4[R2];
157953
- try {
157954
- var r4 = !(e4[R2] = void 0);
157955
- } catch (e5) {
157956
- }
157957
- var o4 = C2.call(e4);
157958
- return r4 && (t4 ? e4[R2] = n4 : delete e4[R2]), o4;
157959
- }, k2 = Object.prototype.toString, M2 = function(e4) {
157960
- return k2.call(e4);
157961
- }, A2 = E2 ? E2.toStringTag : void 0, L2 = function(e4) {
157962
- return null == e4 ? void 0 === e4 ? "[object Undefined]" : "[object Null]" : (A2 && A2 in Object(e4) ? T2 : M2)(e4);
157963
- }, I2 = /^\s+|\s+$/g, $2 = /^[-+]0x[0-9a-f]+$/i, z2 = /^0b[01]+$/i, D2 = /^0o[0-7]+$/i, W2 = parseInt, N2 = function(e4) {
157964
- if ("number" == typeof e4) return e4;
157965
- if (function(e5) {
157966
- return "symbol" == typeof e5 || function(e6) {
157967
- return null != e6 && "object" == typeof e6;
157968
- }(e5) && "[object Symbol]" == L2(e5);
157969
- }(e4)) return NaN;
157970
- var t4;
157971
- if (w2(e4) && (t4 = "function" == typeof e4.valueOf ? e4.valueOf() : e4, e4 = w2(t4) ? t4 + "" : t4), "string" != typeof e4) return 0 === e4 ? e4 : +e4;
157972
- e4 = e4.replace(I2, "");
157973
- var n4 = z2.test(e4);
157974
- return n4 || D2.test(e4) ? W2(e4.slice(2), n4 ? 2 : 8) : $2.test(e4) ? NaN : +e4;
157975
- }, F2 = Math.max, B2 = Math.min, V2 = function(e4, t4, n4) {
157976
- var r4, o4, i3, a3, u3, c3, s3 = 0, f3 = false, l3 = false, p3 = true;
157977
- if ("function" != typeof e4) throw new TypeError("Expected a function");
157978
- function d3(t5) {
157979
- var n5 = r4, i4 = o4;
157980
- return r4 = o4 = void 0, s3 = t5, a3 = e4.apply(i4, n5);
157981
- }
157982
- function h3(e5) {
157983
- var n5 = e5 - c3;
157984
- return void 0 === c3 || t4 <= n5 || n5 < 0 || l3 && i3 <= e5 - s3;
157985
- }
157986
- function y3() {
157987
- var e5, n5, r5 = x2();
157988
- if (h3(r5)) return v3(r5);
157989
- u3 = setTimeout(y3, (n5 = t4 - ((e5 = r5) - c3), l3 ? B2(n5, i3 - (e5 - s3)) : n5));
157990
- }
157991
- function v3(e5) {
157992
- return u3 = void 0, p3 && r4 ? d3(e5) : (r4 = o4 = void 0, a3);
157993
- }
157994
- function b3() {
157995
- var e5, n5 = x2(), i4 = h3(n5);
157996
- if (r4 = arguments, o4 = this, c3 = n5, i4) {
157997
- if (void 0 === u3) return s3 = e5 = c3, u3 = setTimeout(y3, t4), f3 ? d3(e5) : a3;
157998
- if (l3) return clearTimeout(u3), u3 = setTimeout(y3, t4), d3(c3);
157999
- }
158000
- return void 0 === u3 && (u3 = setTimeout(y3, t4)), a3;
158001
- }
158002
- return t4 = N2(t4) || 0, w2(n4) && (f3 = !!n4.leading, i3 = (l3 = "maxWait" in n4) ? F2(N2(n4.maxWait) || 0, t4) : i3, p3 = "trailing" in n4 ? !!n4.trailing : p3), b3.cancel = function() {
158003
- void 0 !== u3 && clearTimeout(u3), r4 = c3 = o4 = u3 = void (s3 = 0);
158004
- }, b3.flush = function() {
158005
- return void 0 === u3 ? a3 : v3(x2());
158006
- }, b3;
158007
- };
158008
- function H2(e4) {
158009
- return "function" == typeof e4;
158010
- }
158011
- function q2() {
158012
- return "undefined" == typeof window;
158013
- }
158014
- function U2(e4) {
158015
- return e4 instanceof Element || e4 instanceof HTMLDocument;
158016
- }
158017
- var X2 = { debounce: V2, throttle: function(e4, t4, n4) {
158018
- var r4 = true, o4 = true;
158019
- if ("function" != typeof e4) throw new TypeError("Expected a function");
158020
- return w2(n4) && (r4 = "leading" in n4 ? !!n4.leading : r4, o4 = "trailing" in n4 ? !!n4.trailing : o4), V2(e4, t4, { leading: r4, maxWait: t4, trailing: o4 });
158021
- } };
158022
- function Y2(e4) {
158023
- return (Y2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e5) {
158024
- return typeof e5;
158025
- } : function(e5) {
158026
- return e5 && "function" == typeof Symbol && e5.constructor === Symbol && e5 !== Symbol.prototype ? "symbol" : typeof e5;
158027
- })(e4);
158028
- }
158029
- function G2(e4, t4) {
158030
- for (var n4 = 0; n4 < t4.length; n4++) {
158031
- var r4 = t4[n4];
158032
- r4.enumerable = r4.enumerable || false, r4.configurable = true, "value" in r4 && (r4.writable = true), Object.defineProperty(e4, r4.key, r4);
158033
- }
158034
- }
158035
- function J2(e4, t4) {
158036
- return (J2 = Object.setPrototypeOf || function(e5, t5) {
158037
- return e5.__proto__ = t5, e5;
158038
- })(e4, t4);
158039
- }
158040
- function K2(e4) {
158041
- if (void 0 === e4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
158042
- return e4;
158043
- }
158044
- function Q2(e4) {
158045
- return (Q2 = Object.setPrototypeOf ? Object.getPrototypeOf : function(e5) {
158046
- return e5.__proto__ || Object.getPrototypeOf(e5);
158047
- })(e4);
158048
- }
158049
- function Z2(e4, t4, n4) {
158050
- return t4 in e4 ? Object.defineProperty(e4, t4, { value: n4, enumerable: true, configurable: true, writable: true }) : e4[t4] = n4, e4;
158051
- }
158052
- var ee2 = function() {
158053
- !function(e5, t5) {
158054
- if ("function" != typeof t5 && null !== t5) throw new TypeError("Super expression must either be null or a function");
158055
- e5.prototype = Object.create(t5 && t5.prototype, { constructor: { value: e5, writable: true, configurable: true } }), t5 && J2(e5, t5);
158056
- }(i3, r3.PureComponent);
158057
- var e4, t4, n4 = function(e5) {
158058
- var t5 = function() {
158059
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
158060
- if (Reflect.construct.sham) return false;
158061
- if ("function" == typeof Proxy) return true;
158062
- try {
158063
- return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
158064
- })), true;
158065
- } catch (e6) {
158066
- return false;
158067
- }
158068
- }();
158069
- return function() {
158070
- var n5, r4, o4, i4 = Q2(e5);
158071
- return r4 = this, !(o4 = t5 ? (n5 = Q2(this).constructor, Reflect.construct(i4, arguments, n5)) : i4.apply(this, arguments)) || "object" !== Y2(o4) && "function" != typeof o4 ? K2(r4) : o4;
158072
- };
158073
- }(i3);
158074
- function i3(e5) {
158075
- var t5;
158076
- !function(e6, t6) {
158077
- if (!(e6 instanceof t6)) throw new TypeError("Cannot call a class as a function");
158078
- }(this, i3), Z2(K2(t5 = n4.call(this, e5)), "cancelHandler", function() {
158079
- t5.resizeHandler && t5.resizeHandler.cancel && (t5.resizeHandler.cancel(), t5.resizeHandler = null);
158080
- }), Z2(K2(t5), "rafClean", function() {
158081
- t5.raf && t5.raf.cancel && (t5.raf.cancel(), t5.raf = null);
158082
- }), Z2(K2(t5), "toggleObserver", function(e6) {
158083
- var n5 = t5.getElement();
158084
- n5 && t5.resizeObserver[e6] && t5.resizeObserver[e6](n5);
158085
- }), Z2(K2(t5), "getElement", function() {
158086
- var e6 = t5.props, n5 = e6.querySelector, r4 = e6.targetDomEl;
158087
- if (!q2()) {
158088
- if (n5) return document.querySelector(n5);
158089
- if (r4 && U2(r4)) return r4;
158090
- if (t5.targetRef && U2(t5.targetRef.current)) return t5.targetRef.current;
158091
- var o5 = Object(g2.findDOMNode)(K2(t5));
158092
- if (o5) switch (t5.getRenderType()) {
158093
- case "renderProp":
158094
- case "childFunction":
158095
- case "child":
158096
- case "childArray":
158097
- return o5;
158098
- default:
158099
- return o5.parentElement;
158100
- }
158101
- }
158102
- }), Z2(K2(t5), "createUpdater", function() {
158103
- return t5.rafClean(), t5.raf = function(e6) {
158104
- function t6() {
158105
- for (var t7 = arguments.length, o5 = new Array(t7), i4 = 0; i4 < t7; i4++) o5[i4] = arguments[i4];
158106
- n5 = o5, r4 = r4 || requestAnimationFrame(function() {
158107
- r4 = null, e6.apply(void 0, n5);
158108
- });
158109
- }
158110
- var n5 = [], r4 = null;
158111
- return t6.cancel = function() {
158112
- r4 && (cancelAnimationFrame(r4), r4 = null);
158113
- }, t6;
158114
- }(function(e6) {
158115
- var n5 = e6.width, r4 = e6.height, o5 = t5.props.onResize;
158116
- H2(o5) && o5(n5, r4), t5.setState({ width: n5, height: r4 });
158117
- }), t5.raf;
158118
- }), Z2(K2(t5), "createResizeHandler", function(e6) {
158119
- var n5, r4 = t5.state, o5 = r4.width, i4 = r4.height, a4 = t5.props, u4 = a4.handleWidth, c4 = a4.handleHeight;
158120
- (u4 || c4) && (n5 = t5.createUpdater(), e6.forEach(function(e7) {
158121
- var r5 = e7 && e7.contentRect || {}, a5 = r5.width, s4 = r5.height, f3 = u4 && o5 !== a5 || c4 && i4 !== s4;
158122
- t5.skipOnMount || !f3 || q2() || n5({ width: a5, height: s4 }), t5.skipOnMount = false;
158123
- }));
158124
- }), Z2(K2(t5), "getRenderType", function() {
158125
- var e6 = t5.props, n5 = e6.render, o5 = e6.children;
158126
- return H2(n5) ? "renderProp" : H2(o5) ? "childFunction" : Object(r3.isValidElement)(o5) ? "child" : Array.isArray(o5) ? "childArray" : "parent";
158127
- });
158128
- var o4 = e5.skipOnMount, a3 = e5.refreshMode, u3 = e5.refreshRate, c3 = e5.refreshOptions;
158129
- t5.state = { width: void 0, height: void 0 }, t5.skipOnMount = o4, t5.raf = null, t5.unmounted = false, t5.targetRef = Object(r3.createRef)();
158130
- var s3 = X2[a3];
158131
- return t5.resizeHandler = s3 ? s3(t5.createResizeHandler, u3, c3) : t5.createResizeHandler, t5.resizeObserver = new m2.a(t5.resizeHandler), t5;
158132
- }
158133
- return e4 = i3, (t4 = [{ key: "componentDidMount", value: function() {
158134
- var e5 = this.props.targetRef;
158135
- e5 && e5.current && (this.targetRef.current = e5.current), this.toggleObserver("observe");
158136
- } }, { key: "componentWillUnmount", value: function() {
158137
- this.toggleObserver("unobserve"), this.rafClean(), this.cancelHandler(), this.unmounted = true;
158138
- } }, { key: "render", value: function() {
158139
- var e5 = this.props, t5 = e5.render, n5 = e5.children, i4 = e5.nodeType, a3 = this.state, u3 = { width: a3.width, height: a3.height, targetRef: this.targetRef };
158140
- switch (this.getRenderType()) {
158141
- case "renderProp":
158142
- return t5(u3);
158143
- case "childFunction":
158144
- return n5(u3);
158145
- case "child":
158146
- if ("string" != typeof n5.type) return Object(r3.cloneElement)(n5, u3);
158147
- var c3 = function(e6, t6) {
158148
- if (null == e6) return {};
158149
- var n6, r4 = function(e7, t7) {
158150
- if (null == e7) return {};
158151
- var n7, r5, o5 = {}, i6 = Object.keys(e7);
158152
- for (r5 = 0; r5 < i6.length; r5++) n7 = i6[r5], 0 <= t7.indexOf(n7) || (o5[n7] = e7[n7]);
158153
- return o5;
158154
- }(e6, t6);
158155
- if (Object.getOwnPropertySymbols) for (var o4 = Object.getOwnPropertySymbols(e6), i5 = 0; i5 < o4.length; i5++) n6 = o4[i5], 0 <= t6.indexOf(n6) || Object.prototype.propertyIsEnumerable.call(e6, n6) && (r4[n6] = e6[n6]);
158156
- return r4;
158157
- }(u3, ["targetRef"]);
158158
- return Object(r3.cloneElement)(n5, c3);
158159
- case "childArray":
158160
- return n5.map(function(e6) {
158161
- return !!e6 && Object(r3.cloneElement)(e6, u3);
158162
- });
158163
- default:
158164
- return o3.a.createElement(i4, null);
158165
- }
158166
- } }]) && G2(e4.prototype, t4), i3;
158167
- }();
158168
- ee2.propTypes = { handleWidth: u2.bool, handleHeight: u2.bool, skipOnMount: u2.bool, refreshRate: u2.number, refreshMode: u2.string, refreshOptions: Object(u2.shape)({ leading: u2.bool, trailing: u2.bool }), querySelector: u2.string, targetDomEl: u2.any, targetRef: Object(u2.oneOfType)([u2.func, Object(u2.shape)({ current: u2.any })]), onResize: u2.func, render: u2.func, children: u2.any, nodeType: u2.node }, ee2.defaultProps = { handleWidth: true, handleHeight: true, skipOnMount: false, refreshRate: 1e3, refreshMode: void 0, refreshOptions: void 0, querySelector: null, targetDomEl: null, targetRef: null, onResize: null, render: void 0, children: null, nodeType: "div" };
158169
- var te2 = ee2;
158170
- function ne2(e4) {
158171
- return (ne2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e5) {
158172
- return typeof e5;
158173
- } : function(e5) {
158174
- return e5 && "function" == typeof Symbol && e5.constructor === Symbol && e5 !== Symbol.prototype ? "symbol" : typeof e5;
158175
- })(e4);
158176
- }
158177
- function re2(e4, t4) {
158178
- for (var n4 = 0; n4 < t4.length; n4++) {
158179
- var r4 = t4[n4];
158180
- r4.enumerable = r4.enumerable || false, r4.configurable = true, "value" in r4 && (r4.writable = true), Object.defineProperty(e4, r4.key, r4);
158181
- }
158182
- }
158183
- function oe2(e4, t4) {
158184
- return (oe2 = Object.setPrototypeOf || function(e5, t5) {
158185
- return e5.__proto__ = t5, e5;
158186
- })(e4, t4);
158187
- }
158188
- function ie2(e4) {
158189
- if (void 0 === e4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
158190
- return e4;
158191
- }
158192
- function ae2(e4) {
158193
- return (ae2 = Object.setPrototypeOf ? Object.getPrototypeOf : function(e5) {
158194
- return e5.__proto__ || Object.getPrototypeOf(e5);
158195
- })(e4);
158196
- }
158197
- function ue2(e4, t4, n4) {
158198
- return t4 in e4 ? Object.defineProperty(e4, t4, { value: n4, enumerable: true, configurable: true, writable: true }) : e4[t4] = n4, e4;
158199
- }
158200
- n3(90);
158201
- var ce2 = function() {
158202
- !function(e5, t5) {
158203
- if ("function" != typeof t5 && null !== t5) throw new TypeError("Super expression must either be null or a function");
158204
- e5.prototype = Object.create(t5 && t5.prototype, { constructor: { value: e5, writable: true, configurable: true } }), t5 && oe2(e5, t5);
158205
- }(i3, r3.PureComponent);
158206
- var e4, t4, n4 = function(e5) {
158207
- var t5 = function() {
158208
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
158209
- if (Reflect.construct.sham) return false;
158210
- if ("function" == typeof Proxy) return true;
158211
- try {
158212
- return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
158213
- })), true;
158214
- } catch (e6) {
158215
- return false;
158216
- }
158217
- }();
158218
- return function() {
158219
- var n5, r4, o4, i4 = ae2(e5);
158220
- return r4 = this, !(o4 = t5 ? (n5 = ae2(this).constructor, Reflect.construct(i4, arguments, n5)) : i4.apply(this, arguments)) || "object" !== ne2(o4) && "function" != typeof o4 ? ie2(r4) : o4;
158221
- };
158222
- }(i3);
158223
- function i3(e5) {
158224
- var t5;
158225
- return function(e6, t6) {
158226
- if (!(e6 instanceof t6)) throw new TypeError("Cannot call a class as a function");
158227
- }(this, i3), ue2(ie2(t5 = n4.call(this, e5)), "onMouseDown", function(e6) {
158228
- t5.props.onMouseDown(e6, t5.props.index);
158229
- }), ue2(ie2(t5), "onTouchStart", function(e6) {
158230
- t5.props.onTouchStart(e6, t5.props.index);
158231
- }), t5.childrenRef = o3.a.createRef(), t5;
158232
- }
158233
- return e4 = i3, (t4 = [{ key: "componentDidMount", value: function() {
158234
- this.observeWidth();
158235
- } }, { key: "componentDidUpdate", value: function(e5) {
158236
- e5.width !== this.props.width && this.resizeChildren();
158237
- } }, { key: "observeWidth", value: function() {
158238
- var e5 = this, t5 = new m2.a(function() {
158239
- e5.resizeChildren(), e5.childrenRef.current && t5.unobserve(e5.childrenRef.current);
158240
- });
158241
- this.childrenRef.current && t5.observe(this.childrenRef.current);
158242
- } }, { key: "resizeChildren", value: function() {
158243
- this.childrenRef.current && (this.childrenRef.current.style = null, this.childrenRef.current.offsetWidth > this.props.width && (this.childrenRef.current.style.width = "".concat(this.props.width, "px")));
158244
- } }, { key: "getChildren", value: function() {
158245
- return this.childrenRef.current ? o3.a.cloneElement(this.props.children, { ref: this.childrenRef }) : this.props.children;
158246
- } }, { key: "render", value: function() {
158247
- return o3.a.createElement("li", { className: b2()("BrainhubCarouselItem", { "BrainhubCarouselItem--clickable": this.props.clickable, "BrainhubCarouselItem--active": this.props.index === this.props.currentSlideIndex }), style: { marginLeft: "".concat(this.props.offset / 2, "px"), marginRight: "".concat(this.props.offset / 2, "px"), width: "".concat(this.props.width, "px"), maxWidth: "".concat(this.props.width, "px"), minWidth: "".concat(this.props.width, "px"), pointerEvents: this.props.isDragging ? "none" : null }, onMouseDown: this.props.isDraggingEnabled ? this.onMouseDown : null, onTouchStart: this.props.isDraggingEnabled ? this.onTouchStart : null }, this.getChildren());
158248
- } }]) && re2(e4.prototype, t4), i3;
158249
- }();
158250
- function se2(e4) {
158251
- return (se2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e5) {
158252
- return typeof e5;
158253
- } : function(e5) {
158254
- return e5 && "function" == typeof Symbol && e5.constructor === Symbol && e5 !== Symbol.prototype ? "symbol" : typeof e5;
158255
- })(e4);
158256
- }
158257
- function fe2(e4, t4) {
158258
- for (var n4 = 0; n4 < t4.length; n4++) {
158259
- var r4 = t4[n4];
158260
- r4.enumerable = r4.enumerable || false, r4.configurable = true, "value" in r4 && (r4.writable = true), Object.defineProperty(e4, r4.key, r4);
158261
- }
158262
- }
158263
- function le2(e4, t4) {
158264
- return (le2 = Object.setPrototypeOf || function(e5, t5) {
158265
- return e5.__proto__ = t5, e5;
158266
- })(e4, t4);
158267
- }
158268
- function pe2(e4) {
158269
- if (void 0 === e4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
158270
- return e4;
158271
- }
158272
- function de2(e4) {
158273
- return (de2 = Object.setPrototypeOf ? Object.getPrototypeOf : function(e5) {
158274
- return e5.__proto__ || Object.getPrototypeOf(e5);
158275
- })(e4);
158276
- }
158277
- function he2(e4, t4, n4) {
158278
- return t4 in e4 ? Object.defineProperty(e4, t4, { value: n4, enumerable: true, configurable: true, writable: true }) : e4[t4] = n4, e4;
158279
- }
158280
- n3(94);
158281
- var ye2 = function() {
158282
- !function(e5, t5) {
158283
- if ("function" != typeof t5 && null !== t5) throw new TypeError("Super expression must either be null or a function");
158284
- e5.prototype = Object.create(t5 && t5.prototype, { constructor: { value: e5, writable: true, configurable: true } }), t5 && le2(e5, t5);
158285
- }(i3, r3.Component);
158286
- var e4, t4, n4 = function(e5) {
158287
- var t5 = function() {
158288
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
158289
- if (Reflect.construct.sham) return false;
158290
- if ("function" == typeof Proxy) return true;
158291
- try {
158292
- return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
158293
- })), true;
158294
- } catch (e6) {
158295
- return false;
158296
- }
158297
- }();
158298
- return function() {
158299
- var n5, r4, o4, i4 = de2(e5);
158300
- return r4 = this, !(o4 = t5 ? (n5 = de2(this).constructor, Reflect.construct(i4, arguments, n5)) : i4.apply(this, arguments)) || "object" !== se2(o4) && "function" != typeof o4 ? pe2(r4) : o4;
158301
- };
158302
- }(i3);
158303
- function i3() {
158304
- var e5;
158305
- !function(e6, t6) {
158306
- if (!(e6 instanceof t6)) throw new TypeError("Cannot call a class as a function");
158307
- }(this, i3);
158308
- for (var t5 = arguments.length, r4 = new Array(t5), o4 = 0; o4 < t5; o4++) r4[o4] = arguments[o4];
158309
- return he2(pe2(e5 = n4.call.apply(n4, [this].concat(r4))), "onChange", function(t6) {
158310
- return function() {
158311
- var n5 = e5.props.number || e5.props.thumbnails.length, r5 = e5.calculateButtonValue() % n5;
158312
- return e5.props.onChange(e5.props.value - (r5 - t6));
158313
- };
158314
- }), he2(pe2(e5), "calculateButtonValue", function() {
158315
- var t6 = e5.props.number || e5.props.thumbnails.length;
158316
- return 0 <= e5.props.value ? e5.props.value : e5.props.value + t6 * Math.ceil(Math.abs(e5.props.value / t6));
158317
- }), e5;
158318
- }
158319
- return e4 = i3, (t4 = [{ key: "renderCarouselDots", value: function() {
158320
- var e5 = this;
158321
- if (this.props.thumbnails) {
158322
- var t5 = isNaN(this.props.number) ? this.props.thumbnails.length : this.props.number;
158323
- return this.props.thumbnails.slice(0, t5).map(function(n6, r5) {
158324
- return o3.a.createElement("li", { key: r5 }, o3.a.createElement("button", { className: b2()("BrainhubCarousel__thumbnail", { "BrainhubCarousel__thumbnail--selected": r5 === e5.calculateButtonValue() % t5 }), type: "button", onClick: e5.onChange(r5) }, n6));
158325
- });
158326
- }
158327
- for (var n5 = [], r4 = 0; r4 < this.props.number; r4++) n5.push(o3.a.createElement("li", { key: r4 }, o3.a.createElement("button", { className: b2()("BrainhubCarousel__dot", { "BrainhubCarousel__dot--selected": r4 === this.calculateButtonValue() % this.props.number }), type: "button", onClick: this.onChange(r4) }, r4 + 1)));
158328
- return n5;
158329
- } }, { key: "render", value: function() {
158330
- var e5 = this.props, t5 = e5.className, n5 = e5.rtl;
158331
- return o3.a.createElement("ul", { className: b2()("BrainhubCarousel__dots", t5, n5 ? "BrainhubCarousel__dots--isRTL" : "") }, this.renderCarouselDots());
158332
- } }]) && fe2(e4.prototype, t4), i3;
158333
- }();
158334
- function ve2(e4) {
158335
- return (ve2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e5) {
158336
- return typeof e5;
158337
- } : function(e5) {
158338
- return e5 && "function" == typeof Symbol && e5.constructor === Symbol && e5 !== Symbol.prototype ? "symbol" : typeof e5;
158339
- })(e4);
158340
- }
158341
- function be2(e4) {
158342
- return function(e5) {
158343
- if (Array.isArray(e5)) return ge2(e5);
158344
- }(e4) || function(e5) {
158345
- if ("undefined" != typeof Symbol && Symbol.iterator in Object(e5)) return Array.from(e5);
158346
- }(e4) || function(e5, t4) {
158347
- if (e5) {
158348
- if ("string" == typeof e5) return ge2(e5, t4);
158349
- var n4 = Object.prototype.toString.call(e5).slice(8, -1);
158350
- return "Object" === n4 && e5.constructor && (n4 = e5.constructor.name), "Map" === n4 || "Set" === n4 ? Array.from(e5) : "Arguments" === n4 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n4) ? ge2(e5, t4) : void 0;
158351
- }
158352
- }(e4) || function() {
158353
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
158354
- }();
158355
- }
158356
- function ge2(e4, t4) {
158357
- (null == t4 || t4 > e4.length) && (t4 = e4.length);
158358
- for (var n4 = 0, r4 = new Array(t4); n4 < t4; n4++) r4[n4] = e4[n4];
158359
- return r4;
158360
- }
158361
- function me2(e4, t4) {
158362
- for (var n4 = 0; n4 < t4.length; n4++) {
158363
- var r4 = t4[n4];
158364
- r4.enumerable = r4.enumerable || false, r4.configurable = true, "value" in r4 && (r4.writable = true), Object.defineProperty(e4, r4.key, r4);
158365
- }
158366
- }
158367
- function we2(e4, t4) {
158368
- return (we2 = Object.setPrototypeOf || function(e5, t5) {
158369
- return e5.__proto__ = t5, e5;
158370
- })(e4, t4);
158371
- }
158372
- function _e3(e4) {
158373
- if (void 0 === e4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
158374
- return e4;
158375
- }
158376
- function Oe2(e4) {
158377
- return (Oe2 = Object.setPrototypeOf ? Object.getPrototypeOf : function(e5) {
158378
- return e5.__proto__ || Object.getPrototypeOf(e5);
158379
- })(e4);
158380
- }
158381
- function Se2(e4, t4, n4) {
158382
- return t4 in e4 ? Object.defineProperty(e4, t4, { value: n4, enumerable: true, configurable: true, writable: true }) : e4[t4] = n4, e4;
158383
- }
158384
- n3(96), n3(98);
158385
- var xe2 = o3.a.createElement("i", { className: "BrainhubCarousel__loader" }), Ee2 = o3.a.createElement("span", null, "prev"), Pe2 = o3.a.createElement("span", null, "next"), je2 = function() {
158386
- !function(e5, t5) {
158387
- if ("function" != typeof t5 && null !== t5) throw new TypeError("Super expression must either be null or a function");
158388
- e5.prototype = Object.create(t5 && t5.prototype, { constructor: { value: e5, writable: true, configurable: true } }), t5 && we2(e5, t5);
158389
- }(i3, r3.Component);
158390
- var e4, t4, n4 = function(e5) {
158391
- var t5 = function() {
158392
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
158393
- if (Reflect.construct.sham) return false;
158394
- if ("function" == typeof Proxy) return true;
158395
- try {
158396
- return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
158397
- })), true;
158398
- } catch (e6) {
158399
- return false;
158400
- }
158401
- }();
158402
- return function() {
158403
- var n5, r4, o4, i4 = Oe2(e5);
158404
- return r4 = this, !(o4 = t5 ? (n5 = Oe2(this).constructor, Reflect.construct(i4, arguments, n5)) : i4.apply(this, arguments)) || "object" !== ve2(o4) && "function" != typeof o4 ? _e3(r4) : o4;
158405
- };
158406
- }(i3);
158407
- function i3(e5) {
158408
- var t5;
158409
- return function(e6, t6) {
158410
- if (!(e6 instanceof t6)) throw new TypeError("Cannot call a class as a function");
158411
- }(this, i3), Se2(_e3(t5 = n4.call(this, e5)), "getCurrentValue", function() {
158412
- return t5.props.infinite ? t5.props.value : t5.clamp(t5.props.value);
158413
- }), Se2(_e3(t5), "getNeededAdditionalClones", function() {
158414
- return Math.abs(t5.getCurrentSlideIndex()) > t5.getChildren().length ? Math.ceil((t5.getCurrentValue() - t5.state.infiniteTransitionFrom) / t5.getChildren().length) : 0;
158415
- }), Se2(_e3(t5), "getAdditionalClonesLeft", function() {
158416
- var e6 = t5.getNeededAdditionalClones();
158417
- return e6 < 0 ? -e6 : 0;
158418
- }), Se2(_e3(t5), "getAdditionalClonesRight", function() {
158419
- var e6 = t5.getNeededAdditionalClones();
158420
- return 0 < e6 ? e6 : 0;
158421
- }), Se2(_e3(t5), "getClonesLeft", function() {
158422
- return 3 + t5.getAdditionalClonesLeft();
158423
- }), Se2(_e3(t5), "getClonesRight", function() {
158424
- return 3 + t5.getAdditionalClonesRight();
158425
- }), Se2(_e3(t5), "getAdditionalClonesOffset", function() {
158426
- return -t5.getChildren().length * t5.getCarouselElementWidth() * t5.getAdditionalClonesLeft();
158427
- }), Se2(_e3(t5), "getProp", function(e6) {
158428
- var n5, r4 = (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null) || t5.props, o4 = null;
158429
- return r4.breakpoints && (n5 = t5.state.windowWidth, Object.keys(r4.breakpoints).forEach(function(e7) {
158430
- var t6 = parseInt(e7);
158431
- n5 <= t6 && (!o4 || t6 < o4) && (o4 = t6);
158432
- })), o4 && l2()(r4.breakpoints[o4], e6) ? r4.breakpoints[o4][e6] : r4[e6];
158433
- }), Se2(_e3(t5), "hoop", function(e6) {
158434
- var n5 = t5.getChildren().length - 1;
158435
- return n5 < e6 ? { value: e6 - n5 - 1, hooped: true } : e6 < 0 ? { value: e6 + n5 + 1, hooped: true } : { value: e6, hooped: false };
158436
- }), Se2(_e3(t5), "checkIfValueChanged", function(e6) {
158437
- return (t5.getProp("infinite") ? t5.props.value : t5.clamp(t5.props.value)) !== (t5.getProp("infinite") ? e6.value : t5.clamp(e6.value));
158438
- }), Se2(_e3(t5), "resetInterval", function() {
158439
- t5.interval && clearInterval(t5.interval);
158440
- var e6 = t5.getProp("autoPlay");
158441
- a2()(e6) || (t5.interval = setInterval(function() {
158442
- document.hidden || t5.state.isAutoPlayStopped || t5.nextSlide();
158443
- }, e6));
158444
- }), Se2(_e3(t5), "getChildren", function() {
158445
- return t5.props.children ? Array.isArray(t5.props.children) ? t5.props.children : [t5.props.children] : t5.props.slides ? t5.props.slides : [];
158446
- }), Se2(_e3(t5), "getActiveSlideIndex", function() {
158447
- return t5.getProp("infinite") ? t5.getCurrentSlideIndex() + t5.getClonesLeft() * t5.getChildren().length : t5.getCurrentSlideIndex();
158448
- }), Se2(_e3(t5), "getTargetMod", function() {
158449
- var e6 = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null, n5 = a2()(e6) ? t5.getCurrentValue() : e6, r4 = t5.getChildren().length, o4 = 0 <= n5 ? n5 % r4 : (r4 - Math.abs(n5 % r4)) % r4;
158450
- return o4;
158451
- }), Se2(_e3(t5), "getTargetSlide", function() {
158452
- return a2()(t5.state.infiniteTransitionFrom) ? t5.getTargetMod() : t5.getTargetMod(t5.state.infiniteTransitionFrom) + (t5.getCurrentValue() - t5.state.infiniteTransitionFrom);
158453
- }), Se2(_e3(t5), "onResize", s2()(function(e6) {
158454
- var n5, r4, o4, i4;
158455
- t5.node && (n5 = "function" == typeof e6 ? e6 : null, r4 = t5.arrowLeftNode && t5.arrowLeftNode.offsetWidth, o4 = t5.arrowRightNode && t5.arrowRightNode.offsetWidth, i4 = t5.node.offsetWidth - (r4 || 0) - (o4 || 0), t5.setState(function() {
158456
- return { carouselWidth: i4, windowWidth: window.innerWidth };
158457
- }, n5));
158458
- }, 300)), Se2(_e3(t5), "onMouseDown", function(e6, n5) {
158459
- e6.preventDefault(), e6.stopPropagation();
158460
- var r4 = e6.pageX;
158461
- t5.setState(function() {
158462
- return { clicked: n5, dragStart: r4 };
158463
- });
158464
- }), Se2(_e3(t5), "onMouseMove", function(e6) {
158465
- var n5 = e6.pageX;
158466
- null !== t5.state.dragStart && t5.setState(function(e7) {
158467
- return { dragOffset: t5.getProp("rtl") ? e7.dragStart - n5 : n5 - e7.dragStart };
158468
- });
158469
- }), Se2(_e3(t5), "onTouchStart", function(e6, n5) {
158470
- var r4 = e6.changedTouches;
158471
- t5.setState(function() {
158472
- return { clicked: n5, dragStart: r4[0].pageX };
158473
- });
158474
- }), Se2(_e3(t5), "onMouseUpTouchEnd", function(e6) {
158475
- null !== t5.state.dragStart && (e6.preventDefault(), t5.getProp("draggable") && Math.abs(t5.state.dragOffset) > 10 ? t5.changeSlide(t5.getNearestSlideIndex()) : t5.getProp("clickToChange") && t5.changeSlide(t5.getProp("infinite") ? t5.getCurrentValue() + t5.state.clicked - t5.getActiveSlideIndex() : t5.state.clicked), t5.setState(function() {
158476
- return { clicked: null, dragOffset: 0, dragStart: null, transitionEnabled: true };
158477
- }));
158478
- }), Se2(_e3(t5), "onTransitionEnd", function() {
158479
- var e6 = t5.getProp("infinite");
158480
- t5.setState(function() {
158481
- return { transitionEnabled: !e6, infiniteTransitionFrom: e6 ? t5.getCurrentValue() : null };
158482
- });
158483
- }), Se2(_e3(t5), "onMouseEnter", function() {
158484
- t5.setState(function() {
158485
- return { isAutoPlayStopped: true };
158486
- });
158487
- }), Se2(_e3(t5), "onMouseLeave", function() {
158488
- t5.setState(function() {
158489
- return { isAutoPlayStopped: false };
158490
- }), t5.resetInterval();
158491
- }), Se2(_e3(t5), "simulateEvent", function(e6) {
158492
- var t6 = e6.changedTouches[0], n5 = t6.screenX, r4 = t6.screenY, o4 = t6.clientX, i4 = t6.clientY, a3 = new MouseEvent({ touchstart: "mousedown", touchmove: "mousemove", touchend: "mouseup" }[e6.type], { bubbles: true, cancelable: true, view: window, detail: 1, screenX: n5, screenY: r4, clientX: o4, clientY: i4 });
158493
- t6.target.dispatchEvent(a3);
158494
- }), Se2(_e3(t5), "clamp", function(e6) {
158495
- var n5 = t5.getChildren().length - 1;
158496
- return n5 < e6 ? n5 : e6 < 0 ? 0 : e6;
158497
- }), Se2(_e3(t5), "changeSlide", function(e6) {
158498
- return t5.props.onChange(t5.getProp("infinite") ? e6 : t5.clamp(e6));
158499
- }), Se2(_e3(t5), "nextSlide", function() {
158500
- return t5.changeSlide(t5.getCurrentValue() + t5.getProp("slidesPerScroll"));
158501
- }), Se2(_e3(t5), "prevSlide", function() {
158502
- return t5.changeSlide(t5.getCurrentValue() - t5.getProp("slidesPerScroll"));
158503
- }), Se2(_e3(t5), "getNearestSlideIndex", function() {
158504
- var e6 = t5.getProp("keepDirectionWhenDragging") ? 0 < t5.state.dragOffset ? -Math.ceil(t5.state.dragOffset / t5.getCarouselElementWidth()) : -Math.floor(t5.state.dragOffset / t5.getCarouselElementWidth()) : -Math.round(t5.state.dragOffset / t5.getCarouselElementWidth());
158505
- return t5.getCurrentValue() + e6;
158506
- }), Se2(_e3(t5), "getCurrentSlideIndex", function() {
158507
- return t5.getProp("infinite") ? t5.getTargetSlide() : t5.clamp(t5.getCurrentValue());
158508
- }), Se2(_e3(t5), "getCarouselElementWidth", function() {
158509
- return t5.getProp("itemWidth") || t5.state.carouselWidth / t5.getProp("slidesPerPage");
158510
- }), Se2(_e3(t5), "getTransformOffset", function() {
158511
- var e6 = t5.getCarouselElementWidth() + t5.getProp("offset"), n5 = t5.getProp("centered") ? t5.state.carouselWidth / 2 - e6 / 2 : 0;
158512
- return (t5.getProp("draggable") ? t5.state.dragOffset : 0) - t5.getActiveSlideIndex() * e6 + n5 - t5.getAdditionalClonesOffset();
158513
- }), Se2(_e3(t5), "renderCarouselItems", function() {
158514
- var e6 = t5.getProp("lazyLoad"), n5 = t5.getProp("rtl"), r4 = t5.getTransformOffset(), i4 = t5.getChildren(), a3 = t5.getClonesLeft(), u3 = t5.getClonesRight(), c3 = 1 + (t5.getProp("infinite") ? a3 + u3 : 0), s3 = t5.state.carouselWidth * i4.length * c3, f3 = t5.getProp("animationSpeed"), l3 = t5.state.transitionEnabled, p3 = t5.getProp("draggable") && i4 && 1 < i4.length, h3 = { width: "".concat(s3, "px"), transitionDuration: l3 ? "".concat(f3, "ms, ").concat(f3, "ms") : null };
158515
- n5 ? (h3.marginRight = "".concat(t5.getAdditionalClonesOffset(), "px"), h3.transform = "translateX(".concat(-r4, "px)")) : (h3.marginLeft = "".concat(t5.getAdditionalClonesOffset(), "px"), h3.transform = "translateX(".concat(r4, "px)"));
158516
- var v3, g3, m3 = i4;
158517
- function w3(e7) {
158518
- return _3 && O3 ? e7 : null;
158519
- }
158520
- t5.getProp("infinite") && (v3 = y2()(a3, function() {
158521
- return i4;
158522
- }), g3 = y2()(u3, function() {
158523
- return i4;
158524
- }), m3 = n5 ? d2.a.apply(void 0, be2(g3).concat([i4], be2(v3))) : d2.a.apply(void 0, be2(v3).concat([i4], be2(g3))));
158525
- var _3 = t5.getProp("autoPlay"), O3 = t5.getProp("stopAutoPlayOnHover");
158526
- return o3.a.createElement("div", { className: "BrainhubCarousel__trackContainer" }, o3.a.createElement("ul", { className: b2()("BrainhubCarousel__track", { "BrainhubCarousel__track--transition": l3, "BrainhubCarousel__track--draggable": p3 }), style: h3, ref: function(e7) {
158527
- return t5.trackRef = e7;
158528
- }, onMouseEnter: w3(t5.onMouseEnter), onMouseLeave: w3(t5.onMouseLeave) }, m3.map(function(n6, r5) {
158529
- var i5 = t5.getTargetMod(r5);
158530
- return [null, void 0].includes(n6) ? null : o3.a.createElement(ce2, { key: r5, currentSlideIndex: t5.getActiveSlideIndex(), index: r5, width: t5.getCarouselElementWidth(), offset: r5 !== m3.length ? t5.getProp("offset") : 0, onMouseDown: t5.onMouseDown, onTouchStart: t5.onTouchStart, clickable: t5.getProp("clickToChange"), isDragging: Math.abs(t5.state.dragOffset) > t5.props.minDraggableOffset, isDraggingEnabled: t5.props.draggable || t5.props.clickToChange }, !e6 || e6 && t5.state.lazyLoadedSlides[i5] ? n6 : t5.renderLazyLoader());
158531
- })));
158532
- }), Se2(_e3(t5), "renderLazyLoader", function() {
158533
- return t5.getProp("lazyLoader") || xe2;
158534
- }), Se2(_e3(t5), "renderArrowWithAddedHandler", function(e6, n5, r4) {
158535
- var i4 = 3 < arguments.length && void 0 !== arguments[3] && arguments[3];
158536
- return o3.a.createElement("div", { className: b2()("BrainhubCarousel__customArrows", { "BrainhubCarousel__arrow--disable": i4 }, "BrainhubCarousel__custom-".concat(r4)), ref: function(e7) {
158537
- return t5["".concat(r4, "Node")] = e7;
158538
- }, onClick: t5.getProp("addArrowClickHandler") ? n5 : null }, e6);
158539
- }), Se2(_e3(t5), "renderArrowLeft", function() {
158540
- var e6 = t5.getCurrentValue() <= 0 && !t5.getProp("infinite");
158541
- if (t5.getProp("arrowLeft")) {
158542
- if (!e6) return t5.renderArrowWithAddedHandler(t5.getProp("arrowLeft"), t5.prevSlide, "arrowLeft");
158543
- var n5 = t5.getProp("arrowLeftDisabled") ? t5.getProp("arrowLeftDisabled") : t5.getProp("arrowLeft");
158544
- return t5.renderArrowWithAddedHandler(n5, t5.prevSlide, "arrowLeft", e6);
158545
- }
158546
- return t5.getProp("arrows") ? o3.a.createElement("button", { className: "BrainhubCarousel__arrows BrainhubCarousel__arrowLeft", onClick: t5.prevSlide, ref: function(e7) {
158547
- return t5.arrowLeftNode = e7;
158548
- }, disabled: e6 }, Ee2) : null;
158549
- }), Se2(_e3(t5), "renderArrowRight", function() {
158550
- var e6 = t5.getChildren(), n5 = t5.getCurrentValue() === e6.length - 1 && !t5.getProp("infinite");
158551
- if (t5.getProp("arrowRight")) {
158552
- if (!n5) return t5.renderArrowWithAddedHandler(t5.getProp("arrowRight"), t5.nextSlide, "arrowRight");
158553
- var r4 = t5.getProp("arrowRightDisabled") ? t5.getProp("arrowRightDisabled") : t5.getProp("arrowRight");
158554
- return t5.renderArrowWithAddedHandler(r4, t5.nextSlide, "arrowRight", n5);
158555
- }
158556
- return t5.getProp("arrows") ? o3.a.createElement("button", { className: "BrainhubCarousel__arrows BrainhubCarousel__arrowRight", onClick: t5.nextSlide, ref: function(e7) {
158557
- return t5.arrowRightNode = e7;
158558
- }, disabled: n5 }, Pe2) : null;
158559
- }), t5.state = { carouselWidth: 0, windowWidth: 0, clicked: null, dragOffset: 0, dragStart: null, transitionEnabled: false, infiniteTransitionFrom: e5.infinite ? e5.value : null, isAutoPlayStopped: false, lazyLoadedSlides: [] }, t5.interval = null, t5;
158560
- }
158561
- return e4 = i3, (t4 = [{ key: "componentDidMount", value: function() {
158562
- var e5 = this;
158563
- this.trackRef && this.trackRef.addEventListener("transitionend", this.onTransitionEnd), this.node && (this.node.parentElement.addEventListener("mousemove", this.onMouseMove, { passive: true, capture: true }), document.addEventListener("mouseup", this.onMouseUpTouchEnd, true), this.node.parentElement.addEventListener("touchstart", this.simulateEvent, { passive: true, capture: true }), this.node.parentElement.addEventListener("touchmove", this.simulateEvent, { passive: false }), this.node.parentElement.addEventListener("touchend", this.simulateEvent, { passive: true, capture: true })), this.onResize(function() {
158564
- e5.setLazyLoadedSlides();
158565
- }), this.resetInterval(), "function" == typeof this.props.onInit && this.props.onInit();
158566
- } }, { key: "componentDidUpdate", value: function(e5, t5) {
158567
- var n5 = this.checkIfValueChanged(e5), r4 = this.state.windowWidth !== t5.windowWidth;
158568
- this.getProp("autoPlay") === this.getProp("autoPlay", e5) && !n5 || this.resetInterval(), n5 && this.setState({ transitionEnabled: true }), this.getProp("lazyLoad") && (r4 || n5) && this.setLazyLoadedSlides();
158569
- } }, { key: "componentWillUnmount", value: function() {
158570
- this.trackRef && this.trackRef.removeEventListener("transitionend", this.onTransitionEnd), this.node && (this.node.parentElement.removeEventListener("mousemove", this.onMouseMove), document.removeEventListener("mouseup", this.onMouseUpTouchEnd), this.node.parentElement.removeEventListener("touchstart", this.simulateEvent), this.node.parentElement.removeEventListener("touchmove", this.simulateEvent), this.node.parentElement.removeEventListener("touchend", this.simulateEvent)), this.interval && clearInterval(this.interval);
158571
- } }, { key: "setLazyLoadedSlides", value: function() {
158572
- var e5, t5, n5, r4, o4, i4, a3 = this, u3 = this.getChildren(), c3 = this.getCurrentSlideIndex(), s3 = this.getProp("slidesPerScroll"), f3 = this.getProp("slidesPerPage"), l3 = this.getProp("infinite"), p3 = c3 - s3, d3 = c3 + (f3 - 1) + s3, h3 = false, y3 = this.clamp(p3), v3 = this.clamp(d3);
158573
- l3 && (t5 = (e5 = this.hoop(p3)).value, n5 = e5.hooped, o4 = (r4 = this.hoop(d3)).value, i4 = r4.hooped, y3 = t5, v3 = o4, h3 = n5 || i4);
158574
- var b3 = u3.map(function(e6, t6) {
158575
- return !(!h3 || !(y3 <= t6 || t6 <= v3)) || y3 <= t6 && t6 <= v3 || !!a3.state.lazyLoadedSlides[t6];
158576
- });
158577
- this.setState({ lazyLoadedSlides: b3 });
158578
- } }, { key: "renderDots", value: function() {
158579
- return this.getProp("dots") ? o3.a.createElement(ye2, { value: this.getCurrentValue(), onChange: this.changeSlide, number: this.getChildren().length, rtl: this.getProp("rtl") }) : null;
158580
- } }, { key: "render", value: function() {
158581
- var e5 = this, t5 = this.getProp("rtl");
158582
- return o3.a.createElement("div", { className: "BrainhubCarousel__container" }, o3.a.createElement("div", { className: b2()("BrainhubCarousel", this.getProp("className"), { "BrainhubCarousel--isRTL": t5 }), ref: function(t6) {
158583
- return e5.node = t6;
158584
- } }, o3.a.createElement(te2, { handleWidth: true, onResize: this.onResize }, o3.a.createElement(this.renderArrowLeft, { key: "arrow-left" }), o3.a.createElement(this.renderCarouselItems, { key: "carousel" }), o3.a.createElement(this.renderArrowRight, { key: "arrow-right" }))), this.renderDots());
158585
- } }]) && me2(e4.prototype, t4), i3;
158586
- }();
158587
- Se2(je2, "defaultProps", { offset: 0, slidesPerPage: 1, slidesPerScroll: 1, animationSpeed: 500, draggable: true, rtl: false, lazyLoad: false, minDraggableOffset: 10 });
158588
- var Ce2 = je2;
158589
- function Re2(e4) {
158590
- return (Re2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e5) {
158591
- return typeof e5;
158592
- } : function(e5) {
158593
- return e5 && "function" == typeof Symbol && e5.constructor === Symbol && e5 !== Symbol.prototype ? "symbol" : typeof e5;
158594
- })(e4);
158595
- }
158596
- function Te2() {
158597
- return (Te2 = Object.assign || function(e4) {
158598
- for (var t4 = 1; t4 < arguments.length; t4++) {
158599
- var n4 = arguments[t4];
158600
- for (var r4 in n4) Object.prototype.hasOwnProperty.call(n4, r4) && (e4[r4] = n4[r4]);
158601
- }
158602
- return e4;
158603
- }).apply(this, arguments);
158604
- }
158605
- function ke2(e4, t4) {
158606
- for (var n4 = 0; n4 < t4.length; n4++) {
158607
- var r4 = t4[n4];
158608
- r4.enumerable = r4.enumerable || false, r4.configurable = true, "value" in r4 && (r4.writable = true), Object.defineProperty(e4, r4.key, r4);
158609
- }
158610
- }
158611
- function Me2(e4, t4) {
158612
- return (Me2 = Object.setPrototypeOf || function(e5, t5) {
158613
- return e5.__proto__ = t5, e5;
158614
- })(e4, t4);
158615
- }
158616
- function Ae2(e4) {
158617
- if (void 0 === e4) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
158618
- return e4;
158619
- }
158620
- function Le2(e4) {
158621
- return (Le2 = Object.setPrototypeOf ? Object.getPrototypeOf : function(e5) {
158622
- return e5.__proto__ || Object.getPrototypeOf(e5);
158623
- })(e4);
158624
- }
158625
- var Ie2 = function() {
158626
- !function(e5, t5) {
158627
- if ("function" != typeof t5 && null !== t5) throw new TypeError("Super expression must either be null or a function");
158628
- e5.prototype = Object.create(t5 && t5.prototype, { constructor: { value: e5, writable: true, configurable: true } }), t5 && Me2(e5, t5);
158629
- }(i3, r3.Component);
158630
- var e4, t4, n4 = function(e5) {
158631
- var t5 = function() {
158632
- if ("undefined" == typeof Reflect || !Reflect.construct) return false;
158633
- if (Reflect.construct.sham) return false;
158634
- if ("function" == typeof Proxy) return true;
158635
- try {
158636
- return Date.prototype.toString.call(Reflect.construct(Date, [], function() {
158637
- })), true;
158638
- } catch (e6) {
158639
- return false;
158640
- }
158641
- }();
158642
- return function() {
158643
- var n5, r4, o4, i4 = Le2(e5);
158644
- return r4 = this, !(o4 = t5 ? (n5 = Le2(this).constructor, Reflect.construct(i4, arguments, n5)) : i4.apply(this, arguments)) || "object" !== Re2(o4) && "function" != typeof o4 ? Ae2(r4) : o4;
158645
- };
158646
- }(i3);
158647
- function i3(e5) {
158648
- var t5, r4, o4, u3;
158649
- return function(e6, t6) {
158650
- if (!(e6 instanceof t6)) throw new TypeError("Cannot call a class as a function");
158651
- }(this, i3), u3 = function(e6) {
158652
- return function(n5) {
158653
- t5.setState({ value: n5 }), a2()(e6) || e6(n5);
158654
- };
158655
- }, (o4 = "onChange") in (r4 = Ae2(t5 = n4.call(this, e5))) ? Object.defineProperty(r4, o4, { value: u3, enumerable: true, configurable: true, writable: true }) : r4[o4] = u3, t5.state = { value: 0 }, t5;
158656
- }
158657
- return e4 = i3, (t4 = [{ key: "render", value: function() {
158658
- var e5 = this.props, t5 = e5.value, n5 = e5.onChange, r4 = function(e6, t6) {
158659
- if (null == e6) return {};
158660
- var n6, r5 = function(e7, t7) {
158661
- if (null == e7) return {};
158662
- var n7, r6, o5 = {}, i6 = Object.keys(e7);
158663
- for (r6 = 0; r6 < i6.length; r6++) n7 = i6[r6], 0 <= t7.indexOf(n7) || (o5[n7] = e7[n7]);
158664
- return o5;
158665
- }(e6, t6);
158666
- if (Object.getOwnPropertySymbols) for (var o4 = Object.getOwnPropertySymbols(e6), i5 = 0; i5 < o4.length; i5++) n6 = o4[i5], 0 <= t6.indexOf(n6) || Object.prototype.propertyIsEnumerable.call(e6, n6) && (r5[n6] = e6[n6]);
158667
- return r5;
158668
- }(e5, ["value", "onChange"]), i4 = !a2()(t5);
158669
- return o3.a.createElement(Ce2, Te2({ value: i4 ? parseInt(t5) : this.state.value, onChange: i4 ? n5 : this.onChange(n5) }, r4));
158670
- } }]) && ke2(e4.prototype, t4), i3;
158671
- }(), $e2 = ye2;
158672
- t3.default = Ie2;
158673
- }, function(e3, t3) {
158674
- }, , , , function(e3, t3) {
158675
- }, , function(e3, t3) {
158676
- }, , function(e3, t3) {
158677
- }], n2.c = o2, n2.d = function(e3, t3, r3) {
158678
- n2.o(e3, t3) || Object.defineProperty(e3, t3, { enumerable: true, get: r3 });
158679
- }, n2.r = function(e3) {
158680
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e3, "__esModule", { value: true });
158681
- }, n2.t = function(e3, t3) {
158682
- if (1 & t3 && (e3 = n2(e3)), 8 & t3) return e3;
158683
- if (4 & t3 && "object" == typeof e3 && e3 && e3.__esModule) return e3;
158684
- var r3 = /* @__PURE__ */ Object.create(null);
158685
- if (n2.r(r3), Object.defineProperty(r3, "default", { enumerable: true, value: e3 }), 2 & t3 && "string" != typeof e3) for (var o3 in e3) n2.d(r3, o3, (function(t4) {
158686
- return e3[t4];
158687
- }).bind(null, o3));
158688
- return r3;
158689
- }, n2.n = function(e3) {
158690
- var t3 = e3 && e3.__esModule ? function() {
158691
- return e3.default;
158692
- } : function() {
158693
- return e3;
158694
- };
158695
- return n2.d(t3, "a", t3), t3;
158696
- }, n2.o = function(e3, t3) {
158697
- return Object.prototype.hasOwnProperty.call(e3, t3);
158698
- }, n2.p = "", n2(n2.s = 89);
158699
- function n2(e3) {
158700
- if (o2[e3]) return o2[e3].exports;
158701
- var t3 = o2[e3] = { i: e3, l: false, exports: {} };
158702
- return r2[e3].call(t3.exports, t3, t3.exports, n2), t3.l = true, t3.exports;
158703
- }
158704
- var r2, o2;
158705
- });
158706
- })(reactCarousel);
158707
- var reactCarouselExports = reactCarousel.exports;
158708
- const BrainhubCarousel = /* @__PURE__ */ getDefaultExportFromCjs(reactCarouselExports);
158709
- const Arrow = ({ arrowDirection, ...props }) => {
158710
- var _a3;
158711
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
158712
- "svg",
158713
- {
158714
- ...props,
158715
- className: `SRC-arrow-icon ${props.className ?? ""}`,
158716
- style: {
158717
- ...props.style,
158718
- transform: `${arrowDirection === "left" ? "rotate(180deg)" : ""} ${((_a3 = props.style) == null ? void 0 : _a3.transform) ?? ""}`
158719
- },
158720
- width: "35",
158721
- height: "35",
158722
- viewBox: "0 0 35 35",
158723
- fill: "none",
158724
- xmlns: "http://www.w3.org/2000/svg",
158725
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M0 15.2904L0 19.7096L26.5152 19.7096L14.3624 31.8624L17.5 35L35 17.5L17.5 -1.68579e-07L14.3624 3.13763L26.5152 15.2904L0 15.2904Z" })
158726
- }
158727
- );
158728
- };
158729
- function mod(a2, b2) {
158730
- return (a2 % b2 + b2) % b2;
158731
- }
158732
- const DesktopProps = {
158733
- clickToChange: true,
158734
- infinite: true,
158735
- slidesPerScroll: 1,
158736
- slidesPerPage: 3,
158737
- centered: true,
158738
- arrowLeft: /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow, { className: "SRC-Carousel__Arrow", arrowDirection: "left" }),
158739
- arrowRight: /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow, { className: "SRC-Carousel__Arrow", arrowDirection: "right" }),
158740
- addArrowClickHandler: true,
158741
- breakpoints: {
158742
- 1100: {
158743
- slidesPerPage: 1
158744
- }
158745
- }
158746
- };
158747
- const MobileProps = {
158748
- dots: true,
158749
- infinite: true,
158750
- slidesPerScroll: 1,
158751
- slidesPerPage: 1
158752
- };
158753
- const Carousel = ({
158754
- children: children2,
158755
- isLoading = false
158756
- }) => {
158757
- const showDesktop = useShowDesktop();
158758
- const [currentIndex, setCurrentIndex] = React$2.useState(0);
158759
- const styledChildren = React$2.Children.map(children2, (child, index2) => {
158760
- let childClass = child.props.className ?? "";
158761
- if (index2 === mod(currentIndex, children2.length)) {
158762
- childClass += " SRC-Carousel__SelectedCard";
158763
- } else {
158764
- childClass += " SRC-Carousel__UnselectedCard";
158765
- }
158766
- return React$2.cloneElement(child, {
158767
- className: childClass,
158768
- role: "listitem"
158769
- });
158770
- });
158771
- return isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "spinner", style: { display: "block" } }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
158772
- "div",
158773
- {
158774
- className: "SRC-Carousel",
158775
- role: "marquee",
158776
- "aria-roledescription": "carousel",
158777
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(reactSizeme.SizeMe, { refreshMode: "debounce", noPlaceholder: true, children: ({ size: size2 }) => (
158778
- // @ts-ignore - the BrainhubCarousel component doesn't properly specify `children`
158779
- /* @__PURE__ */ React$2.createElement(
158780
- BrainhubCarousel,
158781
- {
158782
- ...showDesktop ? DesktopProps : MobileProps,
158783
- key: size2.width,
158784
- value: currentIndex,
158785
- onChange: (value) => setCurrentIndex(value)
158786
- },
158787
- styledChildren
158788
- )
158789
- ) })
158790
- }
158791
- );
158792
- };
158793
- function ProjectViewCard(props) {
158794
- const { projectName, projectDescription, synId, image: image2, ...domProps } = props;
158795
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
158796
- Paper,
158797
- {
158798
- ...domProps,
158799
- className: `ProjectViewCard ${domProps.className ?? ""}`,
158800
- sx: {
158801
- m: 1.5,
158802
- wordWrap: "break-word",
158803
- width: "410px",
158804
- height: "325px",
158805
- display: "flex",
158806
- flexDirection: "column",
158807
- overflow: "hidden"
158808
- },
158809
- children: [
158810
- image2 ? image2 : /* @__PURE__ */ jsxRuntimeExports.jsx(
158811
- Box,
158812
- {
158813
- sx: {
158814
- width: "100%",
158815
- height: "25%",
158816
- backgroundColor: "primary.300"
158817
- }
158818
- }
158819
- ),
158820
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
158821
- Stack$6,
158822
- {
158823
- justifyContent: "space-between",
158824
- sx: {
158825
- flexGrow: 1,
158826
- m: 2
158827
- },
158828
- children: [
158829
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
158830
- /* @__PURE__ */ jsxRuntimeExports.jsx(
158831
- Typography,
158832
- {
158833
- variant: "body1",
158834
- sx: {
158835
- fontWeight: "bold"
158836
- },
158837
- children: projectName
158838
- }
158839
- ),
158840
- /* @__PURE__ */ jsxRuntimeExports.jsx(
158841
- Typography,
158842
- {
158843
- variant: "smallText1",
158844
- sx: {
158845
- lineHeight: "21px",
158846
- mt: 1.5
158847
- },
158848
- children: projectDescription
158849
- }
158850
- )
158851
- ] }),
158852
- /* @__PURE__ */ jsxRuntimeExports.jsx(
158853
- Button,
158854
- {
158855
- sx: {
158856
- width: "165px",
158857
- mb: 1,
158858
- minHeight: "38px",
158859
- height: "46px"
158860
- },
158861
- variant: "contained",
158862
- color: "primary",
158863
- onClick: () => window.open(
158864
- `${PRODUCTION_ENDPOINT_CONFIG.PORTAL}Synapse:${synId}`,
158865
- "_blank",
158866
- "noopener"
158867
- ),
158868
- children: "View Project"
158869
- }
158870
- )
158871
- ]
158872
- }
158873
- )
158874
- ]
158875
- }
158876
- );
158877
- }
158878
- const ProjectViewCarousel = ({ entityId }) => {
158879
- const queryBundleRequest = {
158880
- concreteType: "org.sagebionetworks.repo.model.table.QueryBundleRequest",
158881
- entityId,
158882
- partMask: BUNDLE_MASK_QUERY_SELECT_COLUMNS | BUNDLE_MASK_QUERY_RESULTS,
158883
- query: {
158884
- sql: `select * from ${entityId}`
158885
- }
158886
- };
158887
- const { accessToken } = useSynapseContext();
158888
- const [projects, setProjects] = React$2.useState([]);
158889
- const [error2, setError] = React$2.useState();
158890
- const {
158891
- data: queryResultBundle,
158892
- error: queryError,
158893
- isLoading
158894
- } = useGetQueryResultBundle(queryBundleRequest);
158895
- React$2.useEffect(() => {
158896
- let isMounted = true;
158897
- const getData2 = async () => {
158898
- try {
158899
- const entityIdIndex = getFieldIndex(
158900
- "id",
158901
- queryResultBundle
158902
- );
158903
- const displayNameColumnIndex = getFieldIndex(
158904
- "projectDisplayName",
158905
- queryResultBundle
158906
- );
158907
- const descriptionColumnIndex = getFieldIndex(
158908
- "projectDescription",
158909
- queryResultBundle
158910
- );
158911
- const nameColumnIndex = getFieldIndex(
158912
- "name",
158913
- queryResultBundle
158914
- );
158915
- const imageColumnIndex = getFieldIndex(
158916
- "projectImageFileName",
158917
- queryResultBundle
158918
- );
158919
- const projects2 = (queryResultBundle == null ? void 0 : queryResultBundle.queryResult.queryResults.rows.map((row) => {
158920
- const values2 = row.values;
158921
- if (values2.some((value) => value === null)) {
158922
- console.warn("Row has null value(s) when no nulls expected");
158923
- }
158924
- return {
158925
- projectName: values2[displayNameColumnIndex] ?? values2[nameColumnIndex],
158926
- projectDescription: values2[descriptionColumnIndex],
158927
- imageFileName: values2[imageColumnIndex],
158928
- entityId: values2[entityIdIndex]
158929
- };
158930
- })) ?? [];
158931
- if (queryError) {
158932
- throw queryError;
158933
- }
158934
- if (projects2.length === 0) {
158935
- return;
158936
- }
158937
- for (const project of projects2) {
158938
- if (isMounted) {
158939
- try {
158940
- if (project.imageFileName) {
158941
- const wikiPageKey = await SynapseClient.getWikiPageKeyForEntity(
158942
- accessToken,
158943
- project.entityId
158944
- );
158945
- project.imageUrl = await SynapseClient.getPresignedUrlForWikiAttachment(
158946
- accessToken,
158947
- project.entityId,
158948
- wikiPageKey.wikiPageId,
158949
- project.imageFileName
158950
- );
158951
- }
158952
- } catch (err) {
158953
- console.error(err);
158954
- }
158955
- }
158956
- }
158957
- if (isMounted) {
158958
- setProjects(projects2);
158959
- }
158960
- } catch (error22) {
158961
- console.error(error22);
158962
- setError(error22);
158963
- }
158964
- };
158965
- getData2();
158966
- return () => {
158967
- isMounted = false;
158968
- };
158969
- }, [entityId, accessToken, queryResultBundle, queryError]);
158970
- return error2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBanner, { error: error2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Carousel, { isLoading, children: projects.map((project) => {
158971
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
158972
- ProjectViewCard,
158973
- {
158974
- projectName: project.projectName,
158975
- projectDescription: project.projectDescription,
158976
- synId: project.entityId,
158977
- image: project.imageUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
158978
- "img",
158979
- {
158980
- src: project.imageUrl,
158981
- alt: `Logo for ${project.projectName}`
158982
- }
158983
- ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
158984
- Box$1,
158985
- {
158986
- sx: {
158987
- width: "100%",
158988
- height: "25%",
158989
- backgroundColor: "primary.300"
158990
- }
158991
- }
158992
- )
158993
- },
158994
- project.entityId
158995
- );
158996
- }) });
158997
- };
158998
156817
  const SystemUseNotification = (sxProps) => {
158999
156818
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
159000
156819
  Box,
@@ -159903,1378 +157722,6 @@ dl_list_file_entities = syn.get_download_list()`;
159903
157722
  }
159904
157723
  }
159905
157724
  __publicField(StatisticsPlot, "contextType", SynapseContext$1);
159906
- const RLogo = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(
159907
- "svg",
159908
- {
159909
- ...props,
159910
- className: `SRC-r-icon ${props.className ?? ""}`,
159911
- width: "72",
159912
- height: "55",
159913
- viewBox: "0 0 72 55",
159914
- fill: "none",
159915
- xmlns: "http://www.w3.org/2000/svg",
159916
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M71.1866 23.5803C71.1866 10.5543 55.422 0 35.986 0C16.5499 0 0.785156 10.5543 0.785156 23.5803C0.785156 35.1888 13.3024 44.8341 29.794 46.7849V54.2857H41.8023V46.8334C44.7466 46.5062 47.5702 45.9368 50.2115 45.1489L55.0706 54.2857H68.642L60.4751 40.5081C67.0788 36.2186 71.1866 30.2204 71.1866 23.5803ZM14.6232 25.3373C14.6232 16.4312 26.6071 9.22125 41.3779 9.22125C56.1489 9.22125 67.0548 14.153 67.0548 25.3373C67.0548 31.4082 63.8435 35.6369 58.5365 38.23C58.2454 38.0361 57.9667 37.8786 57.761 37.7816C56.5248 37.1516 54.3921 36.5093 54.3921 36.5093C54.3921 36.5093 64.8856 35.7339 64.8856 25.2767C64.8856 14.8194 53.9074 14.6255 53.9074 14.6255H29.794V39.8659C20.8151 37.2607 14.6232 31.7353 14.6232 25.3373ZM41.8992 29.9781V23.2408C48.9029 23.2408 52.5384 22.417 52.5384 26.5488C52.5382 30.9719 47.909 29.9781 41.8992 29.9781ZM41.79 38.7634H45.0132C46.3221 38.7634 47.3036 40.1809 47.9214 41.0895C45.9705 41.3202 43.9228 41.429 41.79 41.4414V38.7634Z" })
159917
- }
159918
- );
159919
- const Python = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
159920
- "svg",
159921
- {
159922
- ...props,
159923
- className: `SRC-python-icon ${props.className ?? ""}`,
159924
- width: "56",
159925
- height: "55",
159926
- viewBox: "0 0 56 55",
159927
- fill: "none",
159928
- xmlns: "http://www.w3.org/2000/svg",
159929
- children: [
159930
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M28.0169 0C14.1637 9.88087e-07 15.0288 6.00758 15.0288 6.00758L15.0442 12.2314H28.264V14.1001H9.79337C9.79337 14.1001 0.928711 13.0947 0.928711 27.0727C0.92871 41.0507 8.66598 40.555 8.66598 40.555H13.2836V34.0687C13.2836 34.0687 13.0347 26.3314 20.8973 26.3314H34.009C34.009 26.3314 41.3756 26.4505 41.3756 19.2119V7.24307C41.3756 7.24307 42.4941 0 28.0169 0ZM20.7275 4.18523C22.0427 4.18523 23.1058 5.24828 23.1058 6.56355C23.1058 7.87882 22.0427 8.94187 20.7275 8.94187C19.4122 8.94187 18.3491 7.87882 18.3491 6.56355C18.3491 5.24828 19.4122 4.18523 20.7275 4.18523Z" }),
159931
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M28.41 54.2857C42.2632 54.2857 41.3981 48.2781 41.3981 48.2781L41.3827 42.0543H28.1629V40.1857H46.6335C46.6335 40.1857 55.4982 41.191 55.4982 27.213C55.4982 13.235 47.7609 13.7307 47.7609 13.7307H43.1433V20.217C43.1433 20.217 43.3922 27.9543 35.5296 27.9543H22.4179C22.4179 27.9543 15.0513 27.8352 15.0513 35.0738V47.0426C15.0513 47.0426 13.9328 54.2857 28.41 54.2857ZM35.6994 50.1005C34.3842 50.1005 33.3211 49.0374 33.3211 47.7222C33.3211 46.4069 34.3842 45.3438 35.6994 45.3438C37.0147 45.3438 38.0778 46.4069 38.0778 47.7222C38.0778 49.0374 37.0147 50.1005 35.6994 50.1005Z" })
159932
- ]
159933
- }
159934
- );
159935
- const Terminal = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
159936
- "svg",
159937
- {
159938
- ...props,
159939
- className: `SRC-terminal-icon ${props.className ?? ""}`,
159940
- width: "54",
159941
- height: "55",
159942
- viewBox: "0 0 54 55",
159943
- fill: "none",
159944
- xmlns: "http://www.w3.org/2000/svg",
159945
- children: [
159946
- /* @__PURE__ */ jsxRuntimeExports.jsx(
159947
- "rect",
159948
- {
159949
- className: "outer",
159950
- x: "0.5",
159951
- y: "1.64453",
159952
- width: "52.6407",
159953
- height: "52.6407"
159954
- }
159955
- ),
159956
- /* @__PURE__ */ jsxRuntimeExports.jsx(
159957
- "rect",
159958
- {
159959
- x: "3.79004",
159960
- y: "4.93457",
159961
- width: "46.0606",
159962
- height: "46.0606",
159963
- fill: "white",
159964
- fillOpacity: "0.2"
159965
- }
159966
- ),
159967
- /* @__PURE__ */ jsxRuntimeExports.jsx(
159968
- "path",
159969
- {
159970
- d: "M8.68308 20.53V19.298C8.68308 19.2047 8.70641 19.1207 8.75308 19.046C8.79974 18.9667 8.87674 18.899 8.98408 18.843L11.5251 17.534C11.7304 17.4313 11.9707 17.3473 12.2461 17.282C12.1107 17.2493 11.9824 17.2143 11.8611 17.177C11.7444 17.135 11.6324 17.086 11.5251 17.03L8.98408 15.728C8.87674 15.672 8.79974 15.6067 8.75308 15.532C8.70641 15.4527 8.68308 15.3663 8.68308 15.273V14.041L14.2271 16.932V17.632L8.68308 20.53ZM20.7172 22.938V24.058H15.2012V22.938H20.7172Z",
159971
- fill: "white"
159972
- }
159973
- )
159974
- ]
159975
- }
159976
- );
159977
- const Java = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
159978
- "svg",
159979
- {
159980
- ...props,
159981
- className: `SRC-java-icon ${props.className ?? ""}`,
159982
- width: "41",
159983
- height: "55",
159984
- viewBox: "0 0 41 55",
159985
- fill: "none",
159986
- xmlns: "http://www.w3.org/2000/svg",
159987
- children: [
159988
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M13.1095 41.9824C13.1095 41.9824 11.035 43.1888 14.5859 43.597C18.8876 44.0878 21.0862 44.0174 25.8267 43.1202C25.8267 43.1202 27.073 43.9017 28.8136 44.5785C18.1866 49.1331 4.76258 44.3147 13.1095 41.9824Z" }),
159989
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.8104 36.0381C11.8104 36.0381 9.48365 37.7604 13.0371 38.1279C17.6323 38.602 21.2613 38.6408 27.5408 37.4316C27.5408 37.4316 28.4093 38.3121 29.7751 38.7937C16.9264 42.5508 2.61523 39.09 11.8104 36.0381Z" }),
159990
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M22.7591 25.9569C25.3776 28.9717 22.0712 31.6845 22.0712 31.6845C22.0712 31.6845 28.72 28.2522 25.6665 23.9541C22.8146 19.9459 20.6276 17.9544 32.4671 11.0879C32.4671 11.0879 13.883 15.7294 22.7591 25.9569Z" }),
159991
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M36.813 46.3781C36.813 46.3781 38.3481 47.643 35.1223 48.6216C28.9882 50.4798 9.59169 51.0409 4.20341 48.6956C2.26647 47.853 5.89879 46.6836 7.04138 46.4382C8.23299 46.1798 8.91395 46.228 8.91395 46.228C6.75987 44.7105 -5.00915 49.2076 2.93587 50.4955C24.6031 54.0093 42.4332 48.9132 36.813 46.3781Z" }),
159992
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14.1065 29.8809C14.1065 29.8809 4.2402 32.2243 10.6126 33.0753C13.3032 33.4355 18.6669 33.354 23.6631 32.9354C27.7462 32.591 31.8462 31.8587 31.8462 31.8587C31.8462 31.8587 30.4064 32.4753 29.3648 33.1865C19.3457 35.8215 -0.00928688 34.5957 5.56276 31.9004C10.2751 29.6225 14.1065 29.8809 14.1065 29.8809Z" }),
159993
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M31.8053 39.774C41.9901 34.4816 37.2811 29.3956 33.9942 30.0808C33.1886 30.2485 32.8294 30.3937 32.8294 30.3937C32.8294 30.3937 33.1284 29.9252 33.6997 29.7224C40.2021 27.4364 45.203 36.4649 31.6006 40.0407C31.6006 40.0409 31.7582 39.9 31.8053 39.774Z" }),
159994
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M25.6648 0C25.6648 0 31.3054 5.64243 20.315 14.3189C11.5019 21.2789 18.3054 25.2473 20.3114 29.7814C15.167 25.1399 11.3917 21.054 13.9245 17.2512C17.642 11.6691 27.9407 8.96266 25.6648 0Z" }),
159995
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15.1064 54.1156C24.8826 54.7414 39.895 53.7684 40.2506 49.1426C40.2506 49.1426 39.5671 50.8962 32.1711 52.2888C23.8269 53.8591 13.5356 53.6758 7.43164 52.6694C7.43179 52.6693 8.68119 53.7036 15.1064 54.1156Z" })
159996
- ]
159997
- }
159998
- );
159999
- const SynapsePoweredPortal = ({ name, description: description2, url, logoUrl }) => {
160000
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PoweredBySynapseItem", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "PoweredBySynapseItemGrid", children: [
160001
- /* @__PURE__ */ jsxRuntimeExports.jsx("img", { className: "logo", src: logoUrl }),
160002
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "body", children: [
160003
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "title", children: name }),
160004
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "description", children: description2 }),
160005
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160006
- "a",
160007
- {
160008
- className: "link",
160009
- target: "_blank",
160010
- rel: "noopener noreferrer",
160011
- href: url,
160012
- children: "View Portal"
160013
- }
160014
- ) })
160015
- ] })
160016
- ] }) });
160017
- };
160018
- const SynapseFullLogo = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160019
- "svg",
160020
- {
160021
- ...props,
160022
- width: "209",
160023
- height: "47",
160024
- viewBox: "0 0 209 47",
160025
- fill: "none",
160026
- xmlns: "http://www.w3.org/2000/svg",
160027
- children: [
160028
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160029
- "path",
160030
- {
160031
- d: "M67.2719 16.9475C67.1879 17.0873 67.0946 17.1945 66.9919 17.2691C66.8986 17.3343 66.7819 17.367 66.6419 17.367C66.4833 17.367 66.2966 17.2877 66.082 17.1293C65.8673 16.9708 65.5967 16.7984 65.27 16.6119C64.9527 16.4162 64.5653 16.2391 64.108 16.0806C63.66 15.9221 63.114 15.8429 62.47 15.8429C61.8633 15.8429 61.3267 15.9268 60.86 16.0946C60.4027 16.2531 60.0154 16.4721 59.698 16.7518C59.39 17.0314 59.1567 17.3623 58.998 17.7445C58.8394 18.1173 58.76 18.5228 58.76 18.9609C58.76 19.5202 58.8954 19.9863 59.166 20.3591C59.446 20.7227 59.81 21.035 60.258 21.2959C60.7153 21.5569 61.2287 21.7853 61.798 21.9811C62.3767 22.1675 62.9647 22.3633 63.562 22.5683C64.1687 22.7734 64.7567 23.0064 65.326 23.2674C65.9046 23.5191 66.418 23.8407 66.866 24.2322C67.3233 24.6237 67.6873 25.1038 67.9579 25.6723C68.2379 26.2409 68.3779 26.94 68.3779 27.7697C68.3779 28.6458 68.2286 29.4708 67.9299 30.2445C67.6313 31.0088 67.1926 31.6754 66.614 32.2439C66.0447 32.8125 65.34 33.2599 64.5 33.5862C63.6693 33.9125 62.722 34.0756 61.658 34.0756C60.3514 34.0756 59.166 33.8426 58.102 33.3765C57.0381 32.9011 56.1281 32.2626 55.3721 31.4609L56.1561 30.1746C56.2307 30.072 56.3194 29.9881 56.4221 29.9229C56.5341 29.8483 56.6554 29.811 56.7861 29.811C56.9074 29.811 57.0427 29.8623 57.192 29.9649C57.3507 30.058 57.528 30.1793 57.724 30.3284C57.92 30.4775 58.144 30.6407 58.396 30.8178C58.648 30.9948 58.9327 31.158 59.25 31.3071C59.5767 31.4563 59.9454 31.5821 60.356 31.6847C60.7667 31.7778 61.2287 31.8245 61.742 31.8245C62.386 31.8245 62.96 31.7359 63.464 31.5588C63.968 31.3817 64.3927 31.1347 64.738 30.8178C65.0927 30.4915 65.3633 30.1047 65.55 29.6572C65.7367 29.2098 65.83 28.7111 65.83 28.1612C65.83 27.5552 65.69 27.0613 65.41 26.6791C65.1393 26.2876 64.78 25.9613 64.332 25.7003C63.884 25.4393 63.3707 25.2202 62.792 25.0431C62.2133 24.8567 61.6253 24.6703 61.028 24.4839C60.4307 24.2881 59.8427 24.0644 59.264 23.8127C58.6854 23.561 58.172 23.2348 57.724 22.834C57.2761 22.4332 56.9121 21.9344 56.6321 21.3379C56.3614 20.732 56.2261 19.9863 56.2261 19.1007C56.2261 18.3923 56.3614 17.7072 56.6321 17.0454C56.9121 16.3836 57.3134 15.7963 57.836 15.2836C58.368 14.771 59.0167 14.3608 59.782 14.0532C60.5567 13.7456 61.4433 13.5918 62.442 13.5918C63.562 13.5918 64.5793 13.7689 65.494 14.1231C66.418 14.4773 67.2299 14.99 67.9299 15.6611L67.2719 16.9475Z",
160032
- fill: props.textColor
160033
- }
160034
- ),
160035
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160036
- "path",
160037
- {
160038
- d: "M85.2842 25.8695V33.8533H82.5682V25.8695L75.2183 13.8169H77.5982C77.8409 13.8169 78.0322 13.8775 78.1722 13.9987C78.3122 14.1105 78.4335 14.2597 78.5362 14.4461L83.1282 22.2341C83.2962 22.5604 83.4502 22.868 83.5902 23.1569C83.7302 23.4366 83.8515 23.7209 83.9542 24.0099C84.0569 23.7209 84.1735 23.4366 84.3042 23.1569C84.4349 22.868 84.5795 22.5604 84.7382 22.2341L89.3161 14.4461C89.4001 14.2876 89.5168 14.1431 89.6661 14.0126C89.8154 13.8821 90.0068 13.8169 90.2401 13.8169H92.6341L85.2842 25.8695Z",
160039
- fill: props.textColor
160040
- }
160041
- ),
160042
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160043
- "path",
160044
- {
160045
- d: "M116.029 13.8169V33.8533H114.671C114.456 33.8533 114.274 33.816 114.125 33.7414C113.985 33.6668 113.845 33.541 113.705 33.3639L102.099 18.2632C102.118 18.4962 102.132 18.7246 102.141 18.9483C102.15 19.172 102.155 19.3818 102.155 19.5775V33.8533H99.7749V13.8169H101.175C101.296 13.8169 101.399 13.8262 101.483 13.8449C101.567 13.8542 101.642 13.8775 101.707 13.9148C101.772 13.9427 101.838 13.9893 101.903 14.0546C101.968 14.1105 102.038 14.1851 102.113 14.2783L113.719 29.365C113.7 29.1226 113.681 28.8896 113.663 28.6659C113.653 28.4329 113.649 28.2138 113.649 28.0087V13.8169H116.029Z",
160046
- fill: props.textColor
160047
- }
160048
- ),
160049
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160050
- "path",
160051
- {
160052
- d: "M137.064 26.4148L133.914 18.2632C133.82 18.0208 133.722 17.7412 133.62 17.4243C133.517 17.098 133.419 16.7531 133.326 16.3896C133.13 17.1446 132.929 17.7738 132.724 18.2772L129.574 26.4148H137.064ZM142.72 33.8533H140.62C140.377 33.8533 140.181 33.7927 140.032 33.6715C139.882 33.5503 139.77 33.3965 139.696 33.2101L137.82 28.3723H128.818L126.942 33.2101C126.886 33.3779 126.778 33.527 126.62 33.6575C126.461 33.788 126.265 33.8533 126.032 33.8533H123.932L131.954 13.8169H134.698L142.72 33.8533Z",
160053
- fill: props.textColor
160054
- }
160055
- ),
160056
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160057
- "path",
160058
- {
160059
- d: "M157.232 24.2056C158.007 24.2056 158.688 24.103 159.276 23.898C159.873 23.693 160.373 23.4086 160.774 23.0451C161.185 22.6723 161.493 22.2294 161.698 21.7168C161.903 21.2041 162.006 20.6402 162.006 20.025C162.006 18.7479 161.609 17.7505 160.816 17.0328C160.032 16.315 158.837 15.9562 157.232 15.9562H154.012V24.2056H157.232ZM157.232 13.8169C158.501 13.8169 159.603 13.966 160.536 14.2643C161.479 14.5533 162.258 14.9681 162.874 15.5087C163.49 16.0494 163.947 16.7019 164.246 17.4662C164.554 18.2306 164.708 19.0835 164.708 20.025C164.708 20.9571 164.545 21.81 164.218 22.5837C163.891 23.3574 163.411 24.0238 162.776 24.5831C162.151 25.1424 161.371 25.5805 160.438 25.8974C159.514 26.205 158.445 26.3588 157.232 26.3588H154.012V33.8533H151.31V13.8169H157.232Z",
160060
- fill: props.textColor
160061
- }
160062
- ),
160063
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160064
- "path",
160065
- {
160066
- d: "M185.036 16.947C184.952 17.0868 184.859 17.194 184.756 17.2686C184.663 17.3339 184.546 17.3665 184.406 17.3665C184.248 17.3665 184.061 17.2872 183.846 17.1288C183.632 16.9703 183.361 16.7979 183.034 16.6114C182.717 16.4157 182.33 16.2386 181.872 16.0801C181.424 15.9217 180.878 15.8424 180.234 15.8424C179.628 15.8424 179.091 15.9263 178.624 16.0941C178.167 16.2526 177.78 16.4716 177.462 16.7513C177.154 17.0309 176.921 17.3618 176.762 17.744C176.604 18.1168 176.524 18.5223 176.524 18.9604C176.524 19.5197 176.66 19.9858 176.93 20.3587C177.21 20.7222 177.574 21.0345 178.022 21.2955C178.48 21.5564 178.993 21.7848 179.562 21.9806C180.141 22.167 180.729 22.3628 181.326 22.5678C181.933 22.7729 182.521 23.006 183.09 23.2669C183.669 23.5186 184.182 23.8402 184.63 24.2317C185.088 24.6232 185.452 25.1033 185.722 25.6719C186.002 26.2404 186.142 26.9395 186.142 27.7692C186.142 28.6454 185.993 29.4703 185.694 30.244C185.396 31.0083 184.957 31.6749 184.378 32.2434C183.809 32.812 183.104 33.2595 182.264 33.5857C181.434 33.912 180.486 34.0751 179.422 34.0751C178.116 34.0751 176.93 33.8421 175.866 33.376C174.802 32.9006 173.892 32.2621 173.136 31.4605L173.92 30.1741C173.995 30.0715 174.084 29.9876 174.186 29.9224C174.298 29.8478 174.42 29.8106 174.55 29.8106C174.672 29.8106 174.807 29.8618 174.956 29.9644C175.115 30.0576 175.292 30.1788 175.488 30.3279C175.684 30.477 175.908 30.6402 176.16 30.8173C176.412 30.9944 176.697 31.1575 177.014 31.3066C177.341 31.4558 177.71 31.5816 178.12 31.6842C178.531 31.7774 178.993 31.824 179.506 31.824C180.15 31.824 180.724 31.7354 181.228 31.5583C181.732 31.3812 182.157 31.1342 182.502 30.8173C182.857 30.491 183.128 30.1042 183.314 29.6568C183.501 29.2093 183.594 28.7107 183.594 28.1607C183.594 27.5548 183.454 27.0608 183.174 26.6786C182.904 26.2871 182.544 25.9608 182.096 25.6998C181.648 25.4388 181.135 25.2197 180.556 25.0427C179.978 24.8562 179.39 24.6698 178.792 24.4834C178.195 24.2876 177.607 24.0639 177.028 23.8122C176.45 23.5606 175.936 23.2343 175.488 22.8335C175.04 22.4327 174.676 21.9339 174.396 21.3374C174.126 20.7315 173.99 19.9858 173.99 19.1003C173.99 18.3918 174.126 17.7067 174.396 17.0449C174.676 16.3831 175.078 15.7958 175.6 15.2831C176.132 14.7705 176.781 14.3603 177.546 14.0527C178.321 13.7451 179.208 13.5913 180.206 13.5913C181.326 13.5913 182.344 13.7684 183.258 14.1226C184.182 14.4768 184.994 14.9895 185.694 15.6607L185.036 16.947Z",
160067
- fill: props.textColor
160068
- }
160069
- ),
160070
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160071
- "path",
160072
- {
160073
- d: "M209.001 31.6441L208.987 33.8533H196.625V13.8169H208.987V16.0261H199.341V22.6816H207.153V24.8068H199.341V31.6441H209.001Z",
160074
- fill: props.textColor
160075
- }
160076
- ),
160077
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160078
- "path",
160079
- {
160080
- d: "M11.0961 19.9908L29.6957 9.44297",
160081
- stroke: "#5C94B9",
160082
- strokeWidth: "1.25"
160083
- }
160084
- ),
160085
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160086
- "path",
160087
- {
160088
- d: "M35.8813 12.5177L35.8813 34.0034",
160089
- stroke: "#E8762B",
160090
- strokeWidth: "1.25"
160091
- }
160092
- ),
160093
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160094
- "path",
160095
- {
160096
- d: "M10.8477 27.5366L29.2055 38.3845",
160097
- stroke: "#62AC62",
160098
- strokeWidth: "1.25"
160099
- }
160100
- ),
160101
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160102
- "circle",
160103
- {
160104
- cx: "35.0481",
160105
- cy: "6.67559",
160106
- r: "6.05059",
160107
- stroke: "#5C94B9",
160108
- strokeWidth: "1.25"
160109
- }
160110
- ),
160111
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160112
- "circle",
160113
- {
160114
- cx: "35.0481",
160115
- cy: "40.054",
160116
- r: "6.05059",
160117
- stroke: "#E8762B",
160118
- strokeWidth: "1.25"
160119
- }
160120
- ),
160121
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160122
- "circle",
160123
- {
160124
- cx: "6.67559",
160125
- cy: "23.3646",
160126
- r: "6.05059",
160127
- stroke: "#62AC62",
160128
- strokeWidth: "1.25"
160129
- }
160130
- )
160131
- ]
160132
- }
160133
- );
160134
- const SynapseFeatureItem$1 = ({ title: title2, description: description2, logo }) => {
160135
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseFeatureItem", children: [
160136
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { height: "60px" }, children: logo }),
160137
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: 700 }, children: title2 }),
160138
- description2
160139
- ] });
160140
- };
160141
- const AccessDataAnywhere = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160142
- "svg",
160143
- {
160144
- ...props,
160145
- version: "1.1",
160146
- id: "Layer_1",
160147
- xmlns: "http://www.w3.org/2000/svg",
160148
- viewBox: "0 0 44 44",
160149
- height: "44",
160150
- width: "44",
160151
- children: [
160152
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160153
- "path",
160154
- {
160155
- fill: "#62AC62",
160156
- fillOpacity: "0.3",
160157
- stroke: "#62AC62",
160158
- d: "M33.3,11.9L33.3,11.9c-3,1.1-7,1.7-11.3,1.7c-4.3,0-8.3-0.6-11.3-1.7h0c-1.3-0.5-2.3-1-3-1.6\n c-0.7-0.6-1-1.1-1-1.4c0-0.4,0.3-0.9,1-1.4c0.7-0.5,1.7-1.1,3-1.6l0,0c3-1.1,7-1.7,11.3-1.7c4.3,0,8.3,0.6,11.3,1.7l0,0\n c1.3,0.5,2.3,1,3,1.6c0.7,0.6,1,1.1,1,1.4c0,0.4-0.3,0.9-1,1.4C35.6,10.8,34.6,11.4,33.3,11.9z"
160159
- }
160160
- ),
160161
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160162
- "path",
160163
- {
160164
- fill: "#62AC62",
160165
- fillOpacity: "0.3",
160166
- stroke: "#62AC62",
160167
- d: "M6.7,26.4l0-4.7c0.8,0.5,1.9,1,3.1,1.5l0,0C13.1,24.4,17.4,25,22,25c4.6,0,8.9-0.6,12.2-1.8\n c1.2-0.4,2.2-0.9,3.1-1.5v4.7c0,0.4-0.3,0.9-1,1.4c-0.7,0.5-1.7,1.1-3,1.6l0,0c-3,1.1-7,1.7-11.3,1.7c-4.3,0-8.3-0.6-11.3-1.7h0\n c-1.3-0.5-2.3-1-3-1.6C7,27.2,6.7,26.7,6.7,26.4C6.7,26.4,6.7,26.4,6.7,26.4z"
160168
- }
160169
- ),
160170
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160171
- "path",
160172
- {
160173
- fill: "#62AC62",
160174
- fillOpacity: "0.3",
160175
- stroke: "#62AC62",
160176
- d: "M6.7,35.1v-4.7c0.8,0.5,1.9,1,3.1,1.5l0,0c3.3,1.2,7.6,1.9,12.2,1.9c4.6,0,8.9-0.6,12.2-1.9\n c1.2-0.4,2.2-0.9,3.1-1.5v4.7c0,0.4-0.3,0.9-1,1.4c-0.7,0.5-1.7,1.1-3,1.6l0,0c-3,1.1-7,1.7-11.3,1.7c-4.3,0-8.3-0.6-11.3-1.7\n c-1.3-0.5-2.3-1-3-1.6C7,36,6.7,35.5,6.7,35.1z"
160177
- }
160178
- ),
160179
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160180
- "path",
160181
- {
160182
- fill: "#62AC62",
160183
- fillOpacity: "0.3",
160184
- stroke: "#62AC62",
160185
- d: "M6.7,17.6l0-4.7c0.8,0.5,1.9,1,3.1,1.5l0,0c3.3,1.2,7.6,1.8,12.2,1.8c4.6,0,8.9-0.6,12.2-1.8\n c1.2-0.4,2.2-0.9,3.1-1.5v4.7c0,0.4-0.3,0.9-1,1.4c-0.7,0.5-1.7,1.1-3,1.6l0,0c-3,1.1-7,1.7-11.3,1.7c-4.3,0-8.3-0.6-11.3-1.7h0\n c-1.3-0.5-2.3-1-3-1.6C7,18.5,6.7,18,6.7,17.6C6.7,17.6,6.7,17.6,6.7,17.6z"
160186
- }
160187
- )
160188
- ]
160189
- }
160190
- );
160191
- const QueryStructuredData = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160192
- "svg",
160193
- {
160194
- ...props,
160195
- width: "46",
160196
- height: "46",
160197
- viewBox: "0 0 46 46",
160198
- fill: "none",
160199
- xmlns: "http://www.w3.org/2000/svg",
160200
- children: [
160201
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160202
- "rect",
160203
- {
160204
- x: "24.707",
160205
- y: "23.3321",
160206
- width: "7.78143",
160207
- height: "1.64142",
160208
- transform: "rotate(45 24.707 23.3321)",
160209
- stroke: "#62AC62"
160210
- }
160211
- ),
160212
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160213
- "path",
160214
- {
160215
- fillRule: "evenodd",
160216
- clipRule: "evenodd",
160217
- d: "M44.9489 39.6283L39.6116 45.0057L27.1416 32.446L29.7623 29.808L32.4806 27.0703L44.9489 39.6283Z",
160218
- fill: "#62AC62",
160219
- fillOpacity: "0.3",
160220
- stroke: "#62AC62"
160221
- }
160222
- ),
160223
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160224
- "path",
160225
- {
160226
- fillRule: "evenodd",
160227
- clipRule: "evenodd",
160228
- d: "M1.00042 14.3167C1.00042 17.8736 2.38623 21.2178 4.90089 23.7344H4.90266C5.89151 24.7233 7.0239 25.5474 8.26616 26.1819C10.1499 27.146 12.1859 27.6334 14.3178 27.6334C19.3455 27.6334 23.8928 24.8509 26.1824 20.3689C26.6643 19.4261 27.0275 18.4478 27.2705 17.4358C27.5115 16.4239 27.6338 15.3818 27.6338 14.3167C27.6338 13.0867 27.4654 11.8657 27.1303 10.6836C26.6166 8.86879 25.741 7.21528 24.5255 5.76558C21.986 2.7368 18.2645 1 14.3178 1C12.1879 1 10.1517 1.48914 8.26616 2.45324C4.24874 4.50728 1.56219 8.40091 1.07999 12.867V12.8705C1.02683 13.3526 1.00042 13.8399 1.00042 14.3167Z",
160229
- stroke: "#62AC62"
160230
- }
160231
- ),
160232
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160233
- "path",
160234
- {
160235
- fillRule: "evenodd",
160236
- clipRule: "evenodd",
160237
- d: "M25.5635 14.2852C25.5635 17.2973 24.3899 20.1294 22.2603 22.2606H22.2588C21.4214 23.0981 20.4624 23.796 19.4104 24.3333C17.8151 25.1498 16.0909 25.5625 14.2855 25.5625C10.0278 25.5625 6.17686 23.2062 4.2379 19.4105C3.82985 18.6121 3.52219 17.7836 3.31644 16.9266C3.11234 16.0697 3.00879 15.1872 3.00879 14.2852C3.00879 13.2436 3.15136 12.2095 3.43515 11.2084C3.87022 9.67156 4.61173 8.27127 5.64109 7.04358C7.79166 4.47864 10.9432 3.00781 14.2855 3.00781C16.0893 3.00781 17.8136 3.42205 19.4104 4.2385C22.8126 5.97798 25.0877 9.27534 25.4961 13.0575V13.0605C25.5411 13.4687 25.5635 13.8814 25.5635 14.2852",
160238
- fill: "white",
160239
- fillOpacity: "0.5"
160240
- }
160241
- ),
160242
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160243
- "path",
160244
- {
160245
- d: "M25.5635 14.2852C25.5635 17.2973 24.3899 20.1294 22.2603 22.2606H22.2588C21.4214 23.0981 20.4624 23.796 19.4104 24.3333C17.8151 25.1498 16.0909 25.5625 14.2855 25.5625C10.0278 25.5625 6.17686 23.2062 4.2379 19.4105C3.82985 18.6121 3.52219 17.7836 3.31644 16.9266C3.11234 16.0697 3.00879 15.1872 3.00879 14.2852C3.00879 13.2436 3.15136 12.2095 3.43515 11.2084C3.87022 9.67156 4.61173 8.27127 5.64109 7.04358C7.79166 4.47864 10.9432 3.00781 14.2855 3.00781C16.0893 3.00781 17.8136 3.42205 19.4104 4.2385C22.8126 5.97798 25.0877 9.27534 25.4961 13.0575V13.0605C25.5411 13.4687 25.5635 13.8814 25.5635 14.2852",
160246
- stroke: "#62AC62"
160247
- }
160248
- )
160249
- ]
160250
- }
160251
- );
160252
- const CommunicateFindings = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160253
- "svg",
160254
- {
160255
- ...props,
160256
- xmlns: "http://www.w3.org/2000/svg",
160257
- width: "38",
160258
- height: "38",
160259
- viewBox: "0 0 38 38",
160260
- fill: "none",
160261
- children: [
160262
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "19", cy: "19", r: "18", fill: "#62AC62", fillOpacity: "0.3" }),
160263
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160264
- "path",
160265
- {
160266
- d: "M18.9189 0C11 0 4.23445 4.89412 1.375 11.825C0.494119 14.025 0 16.4441 0 18.9189C0 29.3689 8.4689 37.8378 18.9189 37.8378C29.3689 37.8378 37.8378 29.3689 37.8378 18.9189C37.8378 8.4689 29.3689 0 18.9189 0ZM36.1345 18.9189C36.1345 20.788 35.8036 22.5498 35.2536 24.2535H28.2691C28.6537 22.6035 28.875 20.9535 28.875 19.2476C28.875 17.3226 28.6559 15.3976 28.2691 13.5287H35.2536C35.8036 15.2346 36.1345 17.0499 36.1345 18.9191V18.9189ZM34.5382 11.825H27.8287C26.7287 8.19412 24.8037 4.84055 22.1632 2.03445C27.6632 3.07857 32.2843 6.81901 34.5382 11.825ZM19.7998 2.08835C22.7153 4.78247 24.8057 8.08225 26.0154 11.7694H19.7998V2.08835ZM26.5093 13.5289C26.9497 15.3443 27.1688 17.2693 27.1688 19.1945C27.1688 20.9003 26.8938 22.604 26.5093 24.254H19.7998V13.529L26.5093 13.5289ZM10.3382 19.1945C10.3382 17.2694 10.5573 15.3444 10.9977 13.5289H18.0383V24.2539H10.9999C10.6132 22.6039 10.3941 20.9002 10.3382 19.1943L10.3382 19.1945ZM18.0943 1.76V11.8256H11.4943C12.7038 8.08511 14.9038 4.67555 17.8754 1.98165L18.0943 1.76ZM15.2884 2.08871C12.7038 4.89459 10.7788 8.19481 9.67895 11.7698H3.30006C5.50006 6.92937 9.95395 3.24481 15.2884 2.08871ZM2.5845 13.5293H9.2406C8.80017 15.3984 8.58105 17.3234 8.63473 19.2482C8.63473 20.954 8.85387 22.604 9.2406 24.254H2.5845C2.0345 22.5482 1.70362 20.7886 1.70362 18.9195C1.70362 17.0504 2.03448 15.2349 2.5845 13.529V13.5293ZM3.24406 25.9604H9.67851C10.7785 29.5912 12.7035 32.9448 15.3441 35.7509C9.89995 34.595 5.44406 30.9105 3.24406 25.9604ZM11.4941 25.9604H18.038V35.9698C15.013 33.2198 12.7592 29.7543 11.4941 25.9604ZM19.8002 25.9604H26.0157C24.8062 29.6449 22.6598 33.0009 19.7468 35.6948L19.8002 25.9604ZM22.1097 35.8043C24.7502 32.9984 26.7288 29.6448 27.8286 25.9604H34.5942C32.3383 31.0199 27.6631 34.7604 22.1097 35.8043Z",
160267
- fill: "#62AC62"
160268
- }
160269
- )
160270
- ]
160271
- }
160272
- );
160273
- const RecordProvenance = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160274
- "svg",
160275
- {
160276
- ...props,
160277
- xmlns: "http://www.w3.org/2000/svg",
160278
- width: "42",
160279
- height: "50",
160280
- viewBox: "0 0 42 50",
160281
- fill: "none",
160282
- children: [
160283
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160284
- "path",
160285
- {
160286
- fillRule: "evenodd",
160287
- clipRule: "evenodd",
160288
- d: "M25.4477 1L21.0001 4.75367L16.5524 1L14.1642 6.31135L8.53184 4.86624L8.68223 10.6937L2.97471 11.8386L5.63571 17.0093L1 20.5283L5.63571 24.038L2.97471 29.2179L8.68223 30.3629L8.53184 36.1809L14.1642 34.7451L16.5524 40.0567L21.0001 36.3029L25.4477 40.0567L27.8359 34.7451L33.4683 36.1809L33.3179 30.3629L39.0255 29.2179L36.3644 24.038L41 20.5284V20.5283L36.3644 17.0093L39.0255 11.8386L33.3179 10.6937L33.4683 4.87565L27.8359 6.31135L25.4477 1Z",
160289
- fill: "#62AC62",
160290
- fillOpacity: "0.3",
160291
- stroke: "#62AC62"
160292
- }
160293
- ),
160294
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160295
- "path",
160296
- {
160297
- fillRule: "evenodd",
160298
- clipRule: "evenodd",
160299
- d: "M7.55442 32.8867L1.4707 43.6316L8.41939 41.7077L10.3471 48.6707L15.3212 39.8966L15.9607 38.7518L14.1647 34.7447L8.5324 36.1804L8.66394 30.916L7.55442 32.8867Z",
160300
- stroke: "#62AC62"
160301
- }
160302
- ),
160303
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160304
- "path",
160305
- {
160306
- fillRule: "evenodd",
160307
- clipRule: "evenodd",
160308
- d: "M33.4683 36.18L27.836 34.7442L26.1152 38.5636L26.764 39.7084L31.8417 48.6703L33.7692 41.7073L40.718 43.631L34.4368 32.539L33.3273 30.5684L33.4683 36.18Z",
160309
- stroke: "#62AC62"
160310
- }
160311
- ),
160312
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160313
- "path",
160314
- {
160315
- fillRule: "evenodd",
160316
- clipRule: "evenodd",
160317
- d: "M20.9993 8.09375C27.8594 8.09375 33.4205 13.6606 33.4205 20.5277C33.4205 27.3948 27.8594 32.9617 20.9993 32.9617C14.1392 32.9617 8.57812 27.3948 8.57812 20.5277C8.57812 13.6606 14.1392 8.09375 20.9993 8.09375Z",
160318
- fill: "white"
160319
- }
160320
- ),
160321
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160322
- "path",
160323
- {
160324
- d: "M20.9993 8.09375C27.8594 8.09375 33.4205 13.6606 33.4205 20.5277C33.4205 27.3948 27.8594 32.9617 20.9993 32.9617C14.1392 32.9617 8.57812 27.3948 8.57812 20.5277C8.57812 13.6606 14.1392 8.09375 20.9993 8.09375",
160325
- stroke: "#62AC62"
160326
- }
160327
- ),
160328
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160329
- "path",
160330
- {
160331
- fillRule: "evenodd",
160332
- clipRule: "evenodd",
160333
- d: "M15.5749 20.0483L14.1338 21.478L18.7658 26.0734L29.0592 15.8613L27.6181 14.4316L18.7658 23.214L15.5749 20.0483Z",
160334
- fill: "#62AC62"
160335
- }
160336
- )
160337
- ]
160338
- }
160339
- );
160340
- const ShareYourResearch = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160341
- "svg",
160342
- {
160343
- ...props,
160344
- xmlns: "http://www.w3.org/2000/svg",
160345
- width: "40",
160346
- height: "43",
160347
- viewBox: "0 0 40 43",
160348
- fill: "none",
160349
- children: [
160350
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160351
- "path",
160352
- {
160353
- d: "M26.8209 30.3486L26.8431 30.3439C26.6161 30.6014 26.4107 30.8736 26.2249 31.1567L14.4797 23.9842C14.7767 23.203 14.9455 22.3564 14.9455 21.4689C14.9455 20.5832 14.7782 19.7367 14.4813 18.9541L26.2294 11.8367C27.4859 13.7531 29.6411 15.0238 32.0914 15.0238C35.9714 15.0238 39.125 11.8488 39.125 7.94942C39.125 4.04832 35.9696 0.875 32.0914 0.875C28.2114 0.875 25.0578 4.05008 25.0578 7.94942C25.0578 8.80159 25.2143 9.61598 25.4897 10.3722L13.723 17.4991C12.4566 15.6288 10.3238 14.3959 7.9086 14.3959C4.02863 14.3959 0.875 17.571 0.875 21.4703C0.875 25.3714 4.03038 28.5448 7.9086 28.5448C10.3252 28.5448 12.4564 27.312 13.7228 25.4419L25.4866 32.6259C25.2068 33.3946 25.0561 34.2121 25.0561 35.0539C25.0561 36.943 25.7872 38.7206 27.1162 40.0557C28.4877 41.4352 30.2889 42.125 32.0896 42.125C33.8904 42.125 35.6934 41.4352 37.0632 40.0556C38.3921 38.7188 39.1232 36.9429 39.1232 35.0539C39.1232 33.1649 38.3922 31.3872 37.0632 30.0521C34.3218 27.2913 29.8606 27.2913 27.1174 30.0505L26.8209 30.3486ZM13.3103 21.4703V21.4704C13.3118 24.4675 10.8865 26.9047 7.90848 26.9047C4.93066 26.9047 2.50668 24.4677 2.50668 21.4703C2.50668 18.4731 4.9305 16.0358 7.90848 16.0358C10.8863 16.0358 13.3103 18.4729 13.3103 21.4703ZM35.9099 38.8977L35.885 38.9227C33.7775 41.0156 30.368 41.0073 28.2709 38.8978C27.2498 37.8706 26.6879 36.5057 26.6879 35.0539C26.6879 33.6021 27.2498 32.2372 28.2709 31.21C29.3244 30.1503 30.7076 29.6213 32.0912 29.6213C33.4748 29.6213 34.8579 30.1503 35.9114 31.21C36.9326 32.2372 37.4944 33.6021 37.4944 35.0539C37.4944 36.5057 36.9326 37.8706 35.9099 38.8977ZM32.0912 2.51341C35.0691 2.51341 37.493 4.95049 37.493 7.94786C37.493 10.9451 35.0692 13.3823 32.0912 13.3823C29.1134 13.3823 26.6894 10.9452 26.6894 7.94786C26.6894 4.95065 29.1133 2.51341 32.0912 2.51341Z",
160354
- fill: "#62AC62",
160355
- stroke: "#62AC62",
160356
- strokeWidth: "0.25"
160357
- }
160358
- ),
160359
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160360
- "ellipse",
160361
- {
160362
- cx: "8",
160363
- cy: "21.5",
160364
- rx: "6",
160365
- ry: "6.5",
160366
- fill: "#62AC62",
160367
- fillOpacity: "0.3"
160368
- }
160369
- ),
160370
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "32", cy: "8", r: "6", fill: "#62AC62", fillOpacity: "0.3" }),
160371
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "32", cy: "35", r: "6", fill: "#62AC62", fillOpacity: "0.3" })
160372
- ]
160373
- }
160374
- );
160375
- const MintDoi = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
160376
- "svg",
160377
- {
160378
- ...props,
160379
- xmlns: "http://www.w3.org/2000/svg",
160380
- width: "37",
160381
- height: "46",
160382
- viewBox: "0 0 37 46",
160383
- fill: "none",
160384
- children: [
160385
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160386
- "path",
160387
- {
160388
- d: "M26.108 6.96266L26.0322 7.04601V6.93714H6.93001H6.80501V7.06214V41.0561H5.07844V5.07822H22.4742H22.5992V4.95322V4.16259V4.03759H22.4742H4.03032H3.90532V4.16259V37.8934H2.04812V2.04799H17.2043H17.3293V1.92299V1V0.875H17.2043H1H0.875V1V38.9399V39.0649H1H3.90515V42.1024V42.2274H4.03015H6.80294V45.0002V45.1252H6.92794H35.9094H36.0344V45.0002V16.9401V16.8883L35.9978 16.8517L26.3333 7.18714H26.3794L26.1118 6.96583L26.108 6.96266ZM13.777 20.5036H13.652V20.6286V21.5516V21.6766H13.777H29.0582H29.1832V21.5516V20.6286V20.5036H29.0582H13.777ZM13.777 37.3661H13.652V37.4911V38.4141V38.5391H13.777H29.0582H29.1832V38.4141V37.4911V37.3661H29.0582H13.777ZM13.777 33.1501H13.652V33.2751V34.198V34.323H13.777H29.0582H29.1832V34.198V33.2751V33.1501H29.0582H13.777ZM13.777 28.934H13.652V29.059V29.982V30.107H13.777H29.0582H29.1832V29.982V29.059V28.934H29.0582H13.777ZM13.777 24.7179H13.652V24.8429V25.7659V25.8909H13.777H29.0582H29.1832V25.7659V24.8429V24.7179H29.0582H13.777ZM25.1127 17.4659V17.5909H25.2377H34.9937V43.9525H7.97386V7.97466H25.1127V17.4659ZM34.0263 16.4177H26.2858V8.67723L34.0263 16.4177Z",
160389
- fill: "#62AC62",
160390
- stroke: "#62AC62",
160391
- strokeWidth: "0.25"
160392
- }
160393
- ),
160394
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 8H26V17H36V45H8V8Z", fill: "#62AC62", fillOpacity: "0.3" })
160395
- ]
160396
- }
160397
- );
160398
- const centerProps = {
160399
- display: "flex",
160400
- alignItems: "center",
160401
- justifyContent: "center"
160402
- };
160403
- const RowDescriptionCell = styled(Box)({
160404
- ...centerProps,
160405
- backgroundColor: "#f2f2f2"
160406
- });
160407
- const BasicPlanCell = styled(Box)({
160408
- ...centerProps,
160409
- backgroundColor: "#def0fc"
160410
- });
160411
- const SelfManagedPlanCell = styled(Box)({
160412
- ...centerProps,
160413
- backgroundColor: "#ffefda"
160414
- });
160415
- const DataCoordinationPlanCell = styled(Box)({
160416
- backgroundColor: "#e6f7e7",
160417
- "& div": {
160418
- padding: "50px 20px"
160419
- },
160420
- "& p": { textAlign: "left" },
160421
- paddingLeft: "30px",
160422
- paddingRight: "30px",
160423
- paddingBottom: "25px"
160424
- });
160425
- const SynapsePlans$1 = () => {
160426
- const theme3 = useTheme$1();
160427
- const isMobileView = useMediaQuery(theme3.breakpoints.down("md"));
160428
- const dataCoordinationPlanHeader = /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Data Coordination Plan" });
160429
- const dataCoordinationPlanCellContent = /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { children: [
160430
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Contact Sage to Customize" }),
160431
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Additional Features Include:" }),
160432
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160433
- Typography,
160434
- {
160435
- variant: "body1",
160436
- sx: { maxWidth: isMobileView ? "100%" : "260px" },
160437
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { children: [
160438
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Unlimited data allowance and custom data storage locations." }),
160439
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Fully managed project set-up, access and documentation." }),
160440
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Tailor-made portal interface for data exploration." }),
160441
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Seamless data integration with client's existing computational tools and workflows." }),
160442
- /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
160443
- "Customized governance support and specific geographical and institutional data policies.",
160444
- " "
160445
- ] }),
160446
- /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: "Dedicated Sage point of contact for unlimited, end-to-end project support." })
160447
- ] })
160448
- }
160449
- )
160450
- ] });
160451
- const gridTemplateColumns2 = isMobileView ? "1fr 1fr 1fr 1fr" : "1fr 1fr 1fr 1fr 1fr";
160452
- const tableGridProps = {
160453
- display: "grid",
160454
- columnGap: "2px",
160455
- rowGap: "2px",
160456
- gridTemplateRows: "auto",
160457
- "& p": { fontSize: "14px", marginBottom: "5px" },
160458
- "& div": { padding: "10px 10px 5px 10px" }
160459
- };
160460
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { children: [
160461
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
160462
- Box,
160463
- {
160464
- sx: {
160465
- ...tableGridProps,
160466
- gridTemplateColumns: gridTemplateColumns2
160467
- },
160468
- children: [
160469
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, {}),
160470
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { backgroundColor: "#98cef5", gridColumnStart: 2 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Basic Hosting Plan" }) }),
160471
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160472
- Box,
160473
- {
160474
- sx: {
160475
- backgroundColor: "#fecb93",
160476
- gridColumnStart: 3,
160477
- gridColumnEnd: "span 2"
160478
- },
160479
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Self Managed Plan" })
160480
- }
160481
- ),
160482
- !isMobileView && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { backgroundColor: "#b0e4ae", gridColumnStart: 5 }, children: dataCoordinationPlanHeader }),
160483
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "User Content Limit" }) }),
160484
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { children: [
160485
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { marginBottom: "5px" }, children: "<=100 GB" }),
160486
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "smallText1", sx: { fontStyle: "italic" }, children: [
160487
- "(Unlimited with ",
160488
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160489
- "custom storage)"
160490
- ] })
160491
- ] }) }),
160492
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { children: [
160493
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { marginBottom: "5px" }, children: "<=100 GB" }),
160494
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "smallText1", sx: { fontStyle: "italic" }, children: [
160495
- "(Unlimited with ",
160496
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160497
- "custom storage)"
160498
- ] })
160499
- ] }) }),
160500
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { children: [
160501
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { marginBottom: "5px" }, children: "<=500 GB" }),
160502
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "smallText1", sx: { fontStyle: "italic" }, children: [
160503
- "(Unlimited with ",
160504
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160505
- "custom storage)"
160506
- ] })
160507
- ] }) }),
160508
- !isMobileView && /* @__PURE__ */ jsxRuntimeExports.jsx(
160509
- DataCoordinationPlanCell,
160510
- {
160511
- sx: {
160512
- gridColumnStart: 5,
160513
- gridRowStart: 2,
160514
- gridRowEnd: "span 15"
160515
- },
160516
- children: dataCoordinationPlanCellContent
160517
- }
160518
- ),
160519
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Storage Environment" }) }),
160520
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160521
- "Sage Managed ",
160522
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160523
- "Shared Storage*"
160524
- ] }) }),
160525
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160526
- "Sage Managed ",
160527
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160528
- "Individual Storage*"
160529
- ] }) }),
160530
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160531
- "Sage Managed ",
160532
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160533
- "Shared Storage*"
160534
- ] }) }),
160535
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Secure Cloud Storage" }) }),
160536
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160537
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Duration of Plan" }) }),
160538
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Duration of Plan" }) }),
160539
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Egress Limit **" }) }),
160540
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "4 TB/Year**" }) }),
160541
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "4 TB/Year**" }) }),
160542
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "20 TB/Year**" }) }),
160543
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160544
- "Project Set Up + ",
160545
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160546
- "Governance Consulting"
160547
- ] }) }),
160548
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160549
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "15 Hours" }) }),
160550
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "15 Hours" }) }),
160551
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160552
- "NIH Data Management",
160553
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160554
- "Sharing Plan Support **"
160555
- ] }) }),
160556
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160557
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160558
- /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }),
160559
- "**"
160560
- ] }) }),
160561
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160562
- /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }),
160563
- "**"
160564
- ] }) }),
160565
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Help Desk Support" }) }),
160566
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160567
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "25 Hours" }) }),
160568
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "25 Hours" }) }),
160569
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "DOIs for Publications & Grants" }) }),
160570
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160571
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160572
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160573
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160574
- "Access to Online",
160575
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160576
- "Documentation & Tutorials"
160577
- ] }) }),
160578
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160579
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160580
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160581
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Project Wikis, Discussion Forum" }) }),
160582
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160583
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160584
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160585
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "User Content Access Management" }) }),
160586
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Self-Service" }) }),
160587
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Self-Service" }) }),
160588
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Self-Service" }) }),
160589
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160590
- "Sharing Content Through",
160591
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160592
- "Controlled Access"
160593
- ] }) }),
160594
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160595
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160596
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "check" }) }) }),
160597
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160598
- "Country-Specific",
160599
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160600
- "Storage Localization"
160601
- ] }) }),
160602
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160603
- "Only with",
160604
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160605
- "Custom Storage"
160606
- ] }) }),
160607
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160608
- "Only with",
160609
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160610
- "Custom Storage"
160611
- ] }) }),
160612
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160613
- "Only with",
160614
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160615
- "Custom Storage"
160616
- ] }) }),
160617
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Contract Length" }) }),
160618
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
160619
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "5 Years" }) }),
160620
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "5 Years" }) }),
160621
- /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Plans Start At" }) }),
160622
- /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "Free" }) }),
160623
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "$15,000" }) }),
160624
- /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", sx: { fontWeight: "bold" }, children: "$30,000" }) })
160625
- ]
160626
- }
160627
- ),
160628
- isMobileView && /* @__PURE__ */ jsxRuntimeExports.jsxs(
160629
- Box,
160630
- {
160631
- sx: {
160632
- ...tableGridProps,
160633
- marginTop: "30px"
160634
- },
160635
- children: [
160636
- /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { backgroundColor: "#b0e4ae" }, children: dataCoordinationPlanHeader }),
160637
- /* @__PURE__ */ jsxRuntimeExports.jsx(DataCoordinationPlanCell, { children: dataCoordinationPlanCellContent })
160638
- ]
160639
- }
160640
- ),
160641
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160642
- Typography,
160643
- {
160644
- variant: "body1",
160645
- component: Box,
160646
- sx: {
160647
- textAlign: "left",
160648
- padding: "20px 5px 0px 5px",
160649
- fontSize: "13px"
160650
- },
160651
- children: "* Storage location is US-based by default. Location and cost may be customized, and size limitations may be removed if using a user-funded cloud storage environment (contact us for more information)."
160652
- }
160653
- ),
160654
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160655
- Typography,
160656
- {
160657
- variant: "body1",
160658
- component: Box,
160659
- sx: {
160660
- textAlign: "left",
160661
- padding: "20px 5px 10px 0px",
160662
- fontSize: "13px"
160663
- },
160664
- children: "** Refer to FAQ"
160665
- }
160666
- )
160667
- ] });
160668
- };
160669
- const buttonSx = {
160670
- textAlign: "center"
160671
- };
160672
- const SynapseHomepage = ({
160673
- projectViewId
160674
- }) => {
160675
- const { accessToken } = useSynapseContext();
160676
- const LOGIN_LINK2 = "/LoginPlace:0";
160677
- const registrationLink = useOneSageURL("/register1");
160678
- const DASHBOARD_LINK = "/Profile:v/projects";
160679
- const contactUsHref = "https://sagebionetworks.jira.com/servicedesk/customer/portal/9/group/26/create/162";
160680
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage", children: [
160681
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section PrimaryBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "HeroContainer", children: [
160682
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "Headline WhiteText", children: [
160683
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseLogoContainer", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SynapseFullLogo, { textColor: "white" }) }),
160684
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "HeadlineSentence", children: [
160685
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "Headline-Strong", children: "Organize" }),
160686
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "Headline-Light", children: [
160687
- " ",
160688
- "your digital research assets."
160689
- ] })
160690
- ] }),
160691
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "HeadlineSentence", children: [
160692
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "Headline-Strong", children: "Get credit" }),
160693
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "Headline-Light", children: " for your research." })
160694
- ] }),
160695
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "HeadlineSentence", children: [
160696
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "Headline-Strong", children: "Collaborate" }),
160697
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "Headline-Light", children: [
160698
- " ",
160699
- "with your colleagues and the public."
160700
- ] })
160701
- ] })
160702
- ] }),
160703
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160704
- "img",
160705
- {
160706
- src: "https://s3.amazonaws.com/static.synapse.org/images/homepage-composite.svg",
160707
- className: "HeroImage",
160708
- alt: ""
160709
- }
160710
- ),
160711
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SignUpButtonContainer", children: accessToken ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
160712
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160713
- Button,
160714
- {
160715
- href: DASHBOARD_LINK,
160716
- variant: "contained",
160717
- color: "lightPrimary",
160718
- sx: buttonSx,
160719
- children: "View Your Dashboard"
160720
- }
160721
- ),
160722
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160723
- Button,
160724
- {
160725
- onClick: () => window.open(
160726
- "https://help.synapse.org/docs/Getting-Started.2055471150.html",
160727
- "_blank",
160728
- "noopener"
160729
- ),
160730
- variant: "contained",
160731
- color: "darkPrimary",
160732
- sx: buttonSx,
160733
- children: "Get Help With Synapse"
160734
- }
160735
- )
160736
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
160737
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160738
- Button,
160739
- {
160740
- href: LOGIN_LINK2,
160741
- variant: "contained",
160742
- color: "lightPrimary",
160743
- sx: buttonSx,
160744
- children: "Log in to Synapse"
160745
- }
160746
- ),
160747
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160748
- Button,
160749
- {
160750
- href: registrationLink.toString(),
160751
- variant: "contained",
160752
- color: "darkPrimary",
160753
- sx: buttonSx,
160754
- children: "Register Now"
160755
- }
160756
- )
160757
- ] }) })
160758
- ] }) }),
160759
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SearchLinkBar SynapseHomepage__Section", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "FlexContainer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
160760
- "a",
160761
- {
160762
- href: "/Search:",
160763
- rel: "noopener noreferrer",
160764
- className: "SRC-whiteText ignoreLink",
160765
- children: [
160766
- /* @__PURE__ */ jsxRuntimeExports.jsx(IconSvg, { icon: "searchOutlined" }),
160767
- "Search Synapse Projects"
160768
- ]
160769
- }
160770
- ) }) }),
160771
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section WhiteBackground", children: [
160772
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160773
- Typography,
160774
- {
160775
- variant: "h2",
160776
- sx: { textAlign: "center", paddingBottom: "30px" },
160777
- children: "Synapse Features"
160778
- }
160779
- ),
160780
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Grid, { container: true, spacing: 8, children: [
160781
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160782
- SynapseFeatureItem$1,
160783
- {
160784
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(AccessDataAnywhere, {}),
160785
- title: "Access your data anywhere",
160786
- description: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160787
- "Synapse provides APIs to store or access your data from the web or programmatically via one of our supported analytical clients (",
160788
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160789
- Link,
160790
- {
160791
- href: "https://r-docs.synapse.org/",
160792
- target: "_blank",
160793
- rel: "noopener noreferrer",
160794
- children: "R"
160795
- }
160796
- ),
160797
- ",",
160798
- " ",
160799
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160800
- Link,
160801
- {
160802
- href: "https://python-docs.synapse.org/",
160803
- target: "_blank",
160804
- rel: "noopener noreferrer",
160805
- children: "Python"
160806
- }
160807
- ),
160808
- ",",
160809
- " ",
160810
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160811
- Link,
160812
- {
160813
- href: "https://python-docs.synapse.org/build/html/CommandLineClient.html",
160814
- target: "_blank",
160815
- rel: "noopener noreferrer",
160816
- children: "Command Line"
160817
- }
160818
- ),
160819
- ")."
160820
- ] })
160821
- }
160822
- ) }),
160823
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160824
- SynapseFeatureItem$1,
160825
- {
160826
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(CommunicateFindings, {}),
160827
- title: "Communicate your findings",
160828
- description: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Use the Synapse Wiki services to communicate your Project's research findings by embedding rich content such as images, Tables, Provenance, and even LaTeX equations." })
160829
- }
160830
- ) }),
160831
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160832
- SynapseFeatureItem$1,
160833
- {
160834
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(RecordProvenance, {}),
160835
- title: "Record Provenance",
160836
- description: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Synapse provides tools to record and display provenance of your analysis - giving you credit for each step of the work you do!" })
160837
- }
160838
- ) }),
160839
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160840
- SynapseFeatureItem$1,
160841
- {
160842
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(QueryStructuredData, {}),
160843
- title: "Query Structured Data",
160844
- description: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Use Synapse Tables to query structured data right from your web browser, or from any analytical client." })
160845
- }
160846
- ) }),
160847
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160848
- SynapseFeatureItem$1,
160849
- {
160850
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(ShareYourResearch, {}),
160851
- title: "Share Your Research",
160852
- description: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "New Synapse Projects are private by default - share with your colleagues, collaborators, and even make your work public! Create Synapse Teams to manage your collaborations." })
160853
- }
160854
- ) }),
160855
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid, { item: true, xs: 12, md: 4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160856
- SynapseFeatureItem$1,
160857
- {
160858
- logo: /* @__PURE__ */ jsxRuntimeExports.jsx(MintDoi, {}),
160859
- title: "Mint a DOI",
160860
- description: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "A digital object identifier (DOI) provides a persistent and easy way to reference your digital assets in publications - including data, code, or analysis results." })
160861
- }
160862
- ) })
160863
- ] })
160864
- ] }),
160865
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section OffWhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered", children: [
160866
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160867
- Typography,
160868
- {
160869
- variant: "h2",
160870
- sx: { textAlign: "center", paddingBottom: "30px" },
160871
- children: "Synapse In Action"
160872
- }
160873
- ),
160874
- /* @__PURE__ */ jsxRuntimeExports.jsx(ProjectViewCarousel, { entityId: projectViewId })
160875
- ] }) }),
160876
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section WhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered", children: [
160877
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160878
- Typography,
160879
- {
160880
- variant: "h2",
160881
- sx: { textAlign: "center", paddingBottom: "30px" },
160882
- children: "Powered By Synapse"
160883
- }
160884
- ),
160885
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: "Our knowledge portals are community-specific interfaces that enable researchers to explore and share data, analyses, and tools." }),
160886
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "PoweredBySynapseFlexContainer", children: [
160887
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160888
- SynapsePoweredPortal,
160889
- {
160890
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/ADKnowledgePortal.svg",
160891
- name: "AD Knowledge Portal",
160892
- description: "Data and tools for the study of Alzheimer's disease, related dementias, and healthy aging.",
160893
- url: "https://adknowledgeportal.synapse.org/"
160894
- }
160895
- ),
160896
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160897
- SynapsePoweredPortal,
160898
- {
160899
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/BSMN.svg",
160900
- name: "BSMN Portal",
160901
- description: "Data and tools to study the role of brain somatic mosaicism in neuropsychiatric disease.",
160902
- url: "https://bsmn.synapse.org/"
160903
- }
160904
- ),
160905
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160906
- SynapsePoweredPortal,
160907
- {
160908
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/CSBC.svg",
160909
- name: "Cancer Complexity Knowledge Portal",
160910
- description: "Approaches, data, and tools to address important questions in basic and translational cancer research.",
160911
- url: "https://cancercomplexity.synapse.org/"
160912
- }
160913
- ),
160914
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160915
- SynapsePoweredPortal,
160916
- {
160917
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/dHealth.svg",
160918
- name: "dHealth Digital Health Knowledge Portal",
160919
- description: "Discover and download digital and mobile health data, tools, benchmarked outcomes and digital biomarkers.",
160920
- url: "https://dhealth.synapse.org/"
160921
- }
160922
- ),
160923
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160924
- SynapsePoweredPortal,
160925
- {
160926
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/NFPortal.svg",
160927
- name: "NF Data Portal",
160928
- description: "Datasets, analysis tools, resources, and publications related to neurofibromatosis and schwannomatosis.",
160929
- url: "https://nf.synapse.org/"
160930
- }
160931
- ),
160932
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160933
- SynapsePoweredPortal,
160934
- {
160935
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/Psychencode.svg",
160936
- name: "Psychencode Knowledge Portal",
160937
- description: "Investigation and large-scale data sets of genomic influences on neuropsychiatric disease.",
160938
- url: "https://psychencode.synapse.org/"
160939
- }
160940
- ),
160941
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160942
- SynapsePoweredPortal,
160943
- {
160944
- logoUrl: "https://arkportal.synapse.org/favicon.svg",
160945
- name: "ARK Portal",
160946
- description: "The ARK Portal hosts data generated by a network of research teams working collaboratively to deepen the understanding of Arthritis and Autoimmune and Related Diseases.",
160947
- url: "https://arkportal.synapse.org/"
160948
- }
160949
- )
160950
- ] })
160951
- ] }) }),
160952
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section OffWhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "FlexContainer", children: [
160953
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160954
- "img",
160955
- {
160956
- src: "https://s3.amazonaws.com/static.synapse.org/images/data-justice.svg",
160957
- className: "SectionGraphic",
160958
- alt: ""
160959
- }
160960
- ),
160961
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SectionTextFlexContainer", children: [
160962
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h2", children: "Our Data Sharing Principles" }),
160963
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "SectionBody", children: "Synapse operates under a complete governance process that includes well-documented Terms and Conditions of Use, guidelines and operating procedures, privacy enhancing technologies, as well as the right of audit and external reviews." }) }),
160964
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160965
- Button,
160966
- {
160967
- variant: "contained",
160968
- color: "primary",
160969
- sx: buttonSx,
160970
- onClick: () => window.open(
160971
- "https://help.synapse.org/docs/Synapse-Governance.2004255211.html",
160972
- "_blank",
160973
- "noopener"
160974
- ),
160975
- children: "Learn More About Data Sharing"
160976
- }
160977
- )
160978
- ] })
160979
- ] }) }),
160980
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section WhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "FlexContainerReverse", children: [
160981
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ClientFlexContainer SectionGraphic", children: [
160982
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
160983
- "a",
160984
- {
160985
- className: "ClientFlexItem",
160986
- href: "https://r-docs.synapse.org/",
160987
- target: "_blank",
160988
- rel: "noopener noreferrer",
160989
- children: [
160990
- /* @__PURE__ */ jsxRuntimeExports.jsx(RLogo, {}),
160991
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "R Client" })
160992
- ]
160993
- }
160994
- ),
160995
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
160996
- "a",
160997
- {
160998
- className: "ClientFlexItem",
160999
- href: "https://python-docs.synapse.org/",
161000
- target: "_blank",
161001
- rel: "noopener noreferrer",
161002
- children: [
161003
- /* @__PURE__ */ jsxRuntimeExports.jsx(Python, {}),
161004
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Python Client" })
161005
- ]
161006
- }
161007
- ),
161008
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
161009
- "a",
161010
- {
161011
- className: "ClientFlexItem",
161012
- href: "https://python-docs.synapse.org/build/html/CommandLineClient.html",
161013
- target: "_blank",
161014
- rel: "noopener noreferrer",
161015
- children: [
161016
- /* @__PURE__ */ jsxRuntimeExports.jsx(Terminal, {}),
161017
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Command Line Client" })
161018
- ]
161019
- }
161020
- ),
161021
- /* @__PURE__ */ jsxRuntimeExports.jsxs(
161022
- "a",
161023
- {
161024
- className: "ClientFlexItem",
161025
- href: "https://github.com/Sage-Bionetworks/Synapse-Repository-Services/blob/develop/client/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseClient.java",
161026
- target: "_blank",
161027
- rel: "noopener noreferrer",
161028
- children: [
161029
- /* @__PURE__ */ jsxRuntimeExports.jsx(Java, {}),
161030
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "Java Client" })
161031
- ]
161032
- }
161033
- )
161034
- ] }),
161035
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SectionTextFlexContainer", children: [
161036
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "h2", children: "Synapse Easily Integrates Into Your Workflow" }),
161037
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "SectionBody", children: "Create Projects, upload & download Files, generate Provenance, query Tables, create Wikis and more all from the comfort of your own code using Synapse analytical clients." }) }),
161038
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161039
- Button,
161040
- {
161041
- onClick: () => window.open(
161042
- "https://help.synapse.org/docs/API-Clients-and-Documentation.1985446128.html",
161043
- "_blank",
161044
- "noopener"
161045
- ),
161046
- variant: "contained",
161047
- color: "primary",
161048
- sx: buttonSx,
161049
- children: "Learn More About Synapse APIs"
161050
- }
161051
- )
161052
- ] })
161053
- ] }) }),
161054
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section OffWhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered", children: [
161055
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161056
- Typography,
161057
- {
161058
- variant: "h2",
161059
- sx: { textAlign: "center", paddingBottom: "10px" },
161060
- children: "Sage’s Data Platform Offerings"
161061
- }
161062
- ),
161063
- /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "SectionBody", children: [
161064
- "Sage offers multiple service plans to help you with your data sharing needs including NIH Data Management and Sharing plans.",
161065
- /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
161066
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161067
- Link,
161068
- {
161069
- href: "https://help.synapse.org/docs/Synapse-Pricing.2965078125.html",
161070
- target: "_blank",
161071
- children: "Learn more"
161072
- }
161073
- ),
161074
- " ",
161075
- "and",
161076
- " ",
161077
- /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { href: contactUsHref, target: "_blank", children: "contact us" }),
161078
- " ",
161079
- "to get started."
161080
- ] }),
161081
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161082
- Button,
161083
- {
161084
- variant: "contained",
161085
- target: "_blank",
161086
- href: contactUsHref,
161087
- sx: { marginTop: "25px" },
161088
- children: "Contact us for more information"
161089
- }
161090
- ),
161091
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161092
- Link,
161093
- {
161094
- target: "_blank",
161095
- href: "https://help.synapse.org/docs/FAQ.2047967233.html",
161096
- sx: { display: "block", marginTop: "25px", marginBottom: "50px" },
161097
- children: "View Frequently Asked Questions"
161098
- }
161099
- ),
161100
- /* @__PURE__ */ jsxRuntimeExports.jsx(SynapsePlans$1, {})
161101
- ] }) }),
161102
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section WhiteBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered", children: [
161103
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161104
- Typography,
161105
- {
161106
- variant: "h2",
161107
- sx: { textAlign: "center", paddingBottom: "30px" },
161108
- children: "Our Partners"
161109
- }
161110
- ),
161111
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "PartnerFlexContainer", children: [
161112
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161113
- "a",
161114
- {
161115
- href: "http://www.nhlbi.nih.gov/",
161116
- target: "_blank",
161117
- rel: "noopener noreferrer",
161118
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161119
- "img",
161120
- {
161121
- alt: "National Heart, Lung, and Blood Institute; NIH",
161122
- src: "https://s3.amazonaws.com/static.synapse.org/images/nih-heart.svg",
161123
- width: "186px"
161124
- }
161125
- )
161126
- }
161127
- ) }),
161128
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161129
- "a",
161130
- {
161131
- href: "http://www.nimh.nih.gov/",
161132
- target: "_blank",
161133
- rel: "noopener noreferrer",
161134
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161135
- "img",
161136
- {
161137
- alt: "National Institute of Mental Health; NIH",
161138
- src: "https://s3.amazonaws.com/static.synapse.org/images/nih-mental.png",
161139
- width: "141px"
161140
- }
161141
- )
161142
- }
161143
- ) }),
161144
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161145
- "a",
161146
- {
161147
- href: "http://www.sloan.org/",
161148
- target: "_blank",
161149
- rel: "noopener noreferrer",
161150
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161151
- "img",
161152
- {
161153
- alt: "Alfred P. Sloan Foundation",
161154
- src: "https://s3.amazonaws.com/static.synapse.org/images/sloan.png",
161155
- width: "175px"
161156
- }
161157
- )
161158
- }
161159
- ) }),
161160
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161161
- "a",
161162
- {
161163
- href: "http://www.nia.nih.gov/",
161164
- target: "_blank",
161165
- rel: "noopener noreferrer",
161166
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161167
- "img",
161168
- {
161169
- alt: "National Institute on Aging; NIH",
161170
- src: "https://s3.amazonaws.com/static.synapse.org/images/nih-aging.svg",
161171
- width: "186px"
161172
- }
161173
- )
161174
- }
161175
- ) }),
161176
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161177
- "a",
161178
- {
161179
- href: "http://www.ctf.org/",
161180
- target: "_blank",
161181
- rel: "noopener noreferrer",
161182
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161183
- "img",
161184
- {
161185
- alt: "Children's Tumor Foundation",
161186
- src: "https://s3.amazonaws.com/static.synapse.org/images/ctf.svg",
161187
- width: "186px"
161188
- }
161189
- )
161190
- }
161191
- ) }),
161192
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161193
- "a",
161194
- {
161195
- href: "http://www.n-tap.org/",
161196
- target: "_blank",
161197
- rel: "noopener noreferrer",
161198
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161199
- "img",
161200
- {
161201
- alt: "Neurofibromatosis Therapeutic Acceleration Program",
161202
- src: "https://s3.amazonaws.com/static.synapse.org/images/ntap_secondary_logo_rgb.png",
161203
- width: "175px"
161204
- }
161205
- )
161206
- }
161207
- ) }),
161208
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "PartnerFlexItem", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161209
- "a",
161210
- {
161211
- href: "https://www.gilbertfamilyfoundation.org/",
161212
- target: "_blank",
161213
- rel: "noopener noreferrer",
161214
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
161215
- "img",
161216
- {
161217
- alt: "Gilbert Family Foundation",
161218
- src: "https://s3.amazonaws.com/static.synapse.org/images/gff_logo_stacked.png",
161219
- width: "77px"
161220
- }
161221
- )
161222
- }
161223
- ) })
161224
- ] })
161225
- ] }) }),
161226
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section PrimaryBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered SynapseHomepage__FlexColumn", children: [
161227
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "WhiteText", children: "Sign up for Synapse today" }),
161228
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SignUpButtonContainer SynapseHomepage__MarginAutoDesktop", children: accessToken ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
161229
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161230
- Button,
161231
- {
161232
- href: DASHBOARD_LINK,
161233
- variant: "contained",
161234
- color: "lightPrimary",
161235
- sx: buttonSx,
161236
- children: "View Your Dashboard"
161237
- }
161238
- ),
161239
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161240
- Button,
161241
- {
161242
- onClick: () => window.open(
161243
- "https://help.synapse.org/docs/Getting-Started.2055471150.html",
161244
- "_blank",
161245
- "noopener"
161246
- ),
161247
- variant: "contained",
161248
- color: "darkPrimary",
161249
- sx: buttonSx,
161250
- children: "Get Help With Synapse"
161251
- }
161252
- )
161253
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
161254
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161255
- Button,
161256
- {
161257
- href: LOGIN_LINK2,
161258
- variant: "contained",
161259
- color: "lightPrimary",
161260
- sx: buttonSx,
161261
- children: "Log in to Synapse"
161262
- }
161263
- ),
161264
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161265
- Button,
161266
- {
161267
- href: registrationLink.toString(),
161268
- variant: "contained",
161269
- color: "darkPrimary",
161270
- sx: buttonSx,
161271
- children: "Register Now"
161272
- }
161273
- )
161274
- ] }) })
161275
- ] }) })
161276
- ] });
161277
- };
161278
157725
  function i(e2, t2, r2, n2) {
161279
157726
  return new (r2 || (r2 = Promise))(function(o2, a2) {
161280
157727
  function i2(e3) {
@@ -163128,97 +159575,122 @@ dl_list_file_entities = syn.get_download_list()`;
163128
159575
  }
163129
159576
  );
163130
159577
  };
163131
- const boxShadow = "0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 1px 1px 0px rgba(0, 0, 0, 0.05)";
163132
- const StyledPopper = styled(Popper)(() => ({
163133
- "& .MuiAutocomplete-paper": {
163134
- borderRadius: "0px 0px 40px 40px",
163135
- p: "0px 20px 20px 20px",
163136
- boxShadow
163137
- }
163138
- }));
163139
- const PopperAlwaysPlacedBelow = (props) => {
163140
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
163141
- StyledPopper,
163142
- {
163143
- ...props,
163144
- placement: "bottom",
163145
- modifiers: [{ name: "flip", enabled: false }]
163146
- }
163147
- );
163148
- };
163149
- const SynapseHomepageSearch = ({ sourceTable, gotoPlace }) => {
163150
- var _a3, _b2;
163151
- const [isPopperOpen, setIsPopperOpen] = React$2.useState(false);
163152
- const theme3 = useTheme$1();
163153
- const partMask = BUNDLE_MASK_QUERY_RESULTS;
163154
- const request = {
163155
- partMask,
163156
- concreteType: "org.sagebionetworks.repo.model.table.QueryBundleRequest",
163157
- entityId: sourceTable,
163158
- query: {
163159
- sql: `SELECT * FROM ${sourceTable}`,
163160
- limit: 10
163161
- }
163162
- };
163163
- const { data: queryResultResponse, isLoading } = useGetQueryResultBundleWithAsyncStatus(request);
163164
- const rowSet = (_b2 = (_a3 = queryResultResponse == null ? void 0 : queryResultResponse.responseBody) == null ? void 0 : _a3.queryResult) == null ? void 0 : _b2.queryResults;
163165
- const headers = rowSet == null ? void 0 : rowSet.headers;
163166
- const topSearchedColIndex = headers == null ? void 0 : headers.findIndex(
163167
- (selectColumn) => selectColumn.name == "top_searched"
163168
- );
163169
- return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControl, { fullWidth: true, sx: { m: 1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163170
- Autocomplete,
163171
- {
163172
- freeSolo: true,
163173
- disableClearable: true,
163174
- filterOptions: (options2) => options2,
163175
- options: rowSet && !isLoading ? rowSet.rows.map((row) => row.values[topSearchedColIndex] ?? "") : ["..."],
163176
- onChange: (_event, newValue) => {
163177
- if (newValue) {
163178
- gotoPlace(`/Search:${encodeURIComponent(newValue)}`);
159578
+ const SynapseFullLogo = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
159579
+ "svg",
159580
+ {
159581
+ ...props,
159582
+ width: "209",
159583
+ height: "47",
159584
+ viewBox: "0 0 209 47",
159585
+ fill: "none",
159586
+ xmlns: "http://www.w3.org/2000/svg",
159587
+ children: [
159588
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159589
+ "path",
159590
+ {
159591
+ d: "M67.2719 16.9475C67.1879 17.0873 67.0946 17.1945 66.9919 17.2691C66.8986 17.3343 66.7819 17.367 66.6419 17.367C66.4833 17.367 66.2966 17.2877 66.082 17.1293C65.8673 16.9708 65.5967 16.7984 65.27 16.6119C64.9527 16.4162 64.5653 16.2391 64.108 16.0806C63.66 15.9221 63.114 15.8429 62.47 15.8429C61.8633 15.8429 61.3267 15.9268 60.86 16.0946C60.4027 16.2531 60.0154 16.4721 59.698 16.7518C59.39 17.0314 59.1567 17.3623 58.998 17.7445C58.8394 18.1173 58.76 18.5228 58.76 18.9609C58.76 19.5202 58.8954 19.9863 59.166 20.3591C59.446 20.7227 59.81 21.035 60.258 21.2959C60.7153 21.5569 61.2287 21.7853 61.798 21.9811C62.3767 22.1675 62.9647 22.3633 63.562 22.5683C64.1687 22.7734 64.7567 23.0064 65.326 23.2674C65.9046 23.5191 66.418 23.8407 66.866 24.2322C67.3233 24.6237 67.6873 25.1038 67.9579 25.6723C68.2379 26.2409 68.3779 26.94 68.3779 27.7697C68.3779 28.6458 68.2286 29.4708 67.9299 30.2445C67.6313 31.0088 67.1926 31.6754 66.614 32.2439C66.0447 32.8125 65.34 33.2599 64.5 33.5862C63.6693 33.9125 62.722 34.0756 61.658 34.0756C60.3514 34.0756 59.166 33.8426 58.102 33.3765C57.0381 32.9011 56.1281 32.2626 55.3721 31.4609L56.1561 30.1746C56.2307 30.072 56.3194 29.9881 56.4221 29.9229C56.5341 29.8483 56.6554 29.811 56.7861 29.811C56.9074 29.811 57.0427 29.8623 57.192 29.9649C57.3507 30.058 57.528 30.1793 57.724 30.3284C57.92 30.4775 58.144 30.6407 58.396 30.8178C58.648 30.9948 58.9327 31.158 59.25 31.3071C59.5767 31.4563 59.9454 31.5821 60.356 31.6847C60.7667 31.7778 61.2287 31.8245 61.742 31.8245C62.386 31.8245 62.96 31.7359 63.464 31.5588C63.968 31.3817 64.3927 31.1347 64.738 30.8178C65.0927 30.4915 65.3633 30.1047 65.55 29.6572C65.7367 29.2098 65.83 28.7111 65.83 28.1612C65.83 27.5552 65.69 27.0613 65.41 26.6791C65.1393 26.2876 64.78 25.9613 64.332 25.7003C63.884 25.4393 63.3707 25.2202 62.792 25.0431C62.2133 24.8567 61.6253 24.6703 61.028 24.4839C60.4307 24.2881 59.8427 24.0644 59.264 23.8127C58.6854 23.561 58.172 23.2348 57.724 22.834C57.2761 22.4332 56.9121 21.9344 56.6321 21.3379C56.3614 20.732 56.2261 19.9863 56.2261 19.1007C56.2261 18.3923 56.3614 17.7072 56.6321 17.0454C56.9121 16.3836 57.3134 15.7963 57.836 15.2836C58.368 14.771 59.0167 14.3608 59.782 14.0532C60.5567 13.7456 61.4433 13.5918 62.442 13.5918C63.562 13.5918 64.5793 13.7689 65.494 14.1231C66.418 14.4773 67.2299 14.99 67.9299 15.6611L67.2719 16.9475Z",
159592
+ fill: props.textColor
163179
159593
  }
163180
- },
163181
- onOpen: () => setIsPopperOpen(true),
163182
- onClose: () => setIsPopperOpen(false),
163183
- PopperComponent: PopperAlwaysPlacedBelow,
163184
- groupBy: () => "Most popular searches",
163185
- renderInput: (params) => /* @__PURE__ */ jsxRuntimeExports.jsx(
163186
- TextField$1,
159594
+ ),
159595
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159596
+ "path",
163187
159597
  {
163188
- ...params,
163189
- variant: "outlined",
163190
- placeholder: "Search Synapse",
163191
- InputProps: {
163192
- ...params.InputProps,
163193
- sx: {
163194
- fontSize: "24px",
163195
- borderRadius: isPopperOpen ? "40px 40px 0px 0px" : "40px",
163196
- backgroundColor: "white",
163197
- boxShadow
163198
- },
163199
- startAdornment: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornment, { position: "start", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163200
- Box,
163201
- {
163202
- sx: {
163203
- ml: "15px",
163204
- display: "flex",
163205
- alignItems: "center"
163206
- },
163207
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163208
- Search$2,
163209
- {
163210
- size: 32,
163211
- fill: theme3.palette.secondary[600]
163212
- }
163213
- )
163214
- }
163215
- ) })
163216
- }
159598
+ d: "M85.2842 25.8695V33.8533H82.5682V25.8695L75.2183 13.8169H77.5982C77.8409 13.8169 78.0322 13.8775 78.1722 13.9987C78.3122 14.1105 78.4335 14.2597 78.5362 14.4461L83.1282 22.2341C83.2962 22.5604 83.4502 22.868 83.5902 23.1569C83.7302 23.4366 83.8515 23.7209 83.9542 24.0099C84.0569 23.7209 84.1735 23.4366 84.3042 23.1569C84.4349 22.868 84.5795 22.5604 84.7382 22.2341L89.3161 14.4461C89.4001 14.2876 89.5168 14.1431 89.6661 14.0126C89.8154 13.8821 90.0068 13.8169 90.2401 13.8169H92.6341L85.2842 25.8695Z",
159599
+ fill: props.textColor
159600
+ }
159601
+ ),
159602
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159603
+ "path",
159604
+ {
159605
+ d: "M116.029 13.8169V33.8533H114.671C114.456 33.8533 114.274 33.816 114.125 33.7414C113.985 33.6668 113.845 33.541 113.705 33.3639L102.099 18.2632C102.118 18.4962 102.132 18.7246 102.141 18.9483C102.15 19.172 102.155 19.3818 102.155 19.5775V33.8533H99.7749V13.8169H101.175C101.296 13.8169 101.399 13.8262 101.483 13.8449C101.567 13.8542 101.642 13.8775 101.707 13.9148C101.772 13.9427 101.838 13.9893 101.903 14.0546C101.968 14.1105 102.038 14.1851 102.113 14.2783L113.719 29.365C113.7 29.1226 113.681 28.8896 113.663 28.6659C113.653 28.4329 113.649 28.2138 113.649 28.0087V13.8169H116.029Z",
159606
+ fill: props.textColor
159607
+ }
159608
+ ),
159609
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159610
+ "path",
159611
+ {
159612
+ d: "M137.064 26.4148L133.914 18.2632C133.82 18.0208 133.722 17.7412 133.62 17.4243C133.517 17.098 133.419 16.7531 133.326 16.3896C133.13 17.1446 132.929 17.7738 132.724 18.2772L129.574 26.4148H137.064ZM142.72 33.8533H140.62C140.377 33.8533 140.181 33.7927 140.032 33.6715C139.882 33.5503 139.77 33.3965 139.696 33.2101L137.82 28.3723H128.818L126.942 33.2101C126.886 33.3779 126.778 33.527 126.62 33.6575C126.461 33.788 126.265 33.8533 126.032 33.8533H123.932L131.954 13.8169H134.698L142.72 33.8533Z",
159613
+ fill: props.textColor
159614
+ }
159615
+ ),
159616
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159617
+ "path",
159618
+ {
159619
+ d: "M157.232 24.2056C158.007 24.2056 158.688 24.103 159.276 23.898C159.873 23.693 160.373 23.4086 160.774 23.0451C161.185 22.6723 161.493 22.2294 161.698 21.7168C161.903 21.2041 162.006 20.6402 162.006 20.025C162.006 18.7479 161.609 17.7505 160.816 17.0328C160.032 16.315 158.837 15.9562 157.232 15.9562H154.012V24.2056H157.232ZM157.232 13.8169C158.501 13.8169 159.603 13.966 160.536 14.2643C161.479 14.5533 162.258 14.9681 162.874 15.5087C163.49 16.0494 163.947 16.7019 164.246 17.4662C164.554 18.2306 164.708 19.0835 164.708 20.025C164.708 20.9571 164.545 21.81 164.218 22.5837C163.891 23.3574 163.411 24.0238 162.776 24.5831C162.151 25.1424 161.371 25.5805 160.438 25.8974C159.514 26.205 158.445 26.3588 157.232 26.3588H154.012V33.8533H151.31V13.8169H157.232Z",
159620
+ fill: props.textColor
159621
+ }
159622
+ ),
159623
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159624
+ "path",
159625
+ {
159626
+ d: "M185.036 16.947C184.952 17.0868 184.859 17.194 184.756 17.2686C184.663 17.3339 184.546 17.3665 184.406 17.3665C184.248 17.3665 184.061 17.2872 183.846 17.1288C183.632 16.9703 183.361 16.7979 183.034 16.6114C182.717 16.4157 182.33 16.2386 181.872 16.0801C181.424 15.9217 180.878 15.8424 180.234 15.8424C179.628 15.8424 179.091 15.9263 178.624 16.0941C178.167 16.2526 177.78 16.4716 177.462 16.7513C177.154 17.0309 176.921 17.3618 176.762 17.744C176.604 18.1168 176.524 18.5223 176.524 18.9604C176.524 19.5197 176.66 19.9858 176.93 20.3587C177.21 20.7222 177.574 21.0345 178.022 21.2955C178.48 21.5564 178.993 21.7848 179.562 21.9806C180.141 22.167 180.729 22.3628 181.326 22.5678C181.933 22.7729 182.521 23.006 183.09 23.2669C183.669 23.5186 184.182 23.8402 184.63 24.2317C185.088 24.6232 185.452 25.1033 185.722 25.6719C186.002 26.2404 186.142 26.9395 186.142 27.7692C186.142 28.6454 185.993 29.4703 185.694 30.244C185.396 31.0083 184.957 31.6749 184.378 32.2434C183.809 32.812 183.104 33.2595 182.264 33.5857C181.434 33.912 180.486 34.0751 179.422 34.0751C178.116 34.0751 176.93 33.8421 175.866 33.376C174.802 32.9006 173.892 32.2621 173.136 31.4605L173.92 30.1741C173.995 30.0715 174.084 29.9876 174.186 29.9224C174.298 29.8478 174.42 29.8106 174.55 29.8106C174.672 29.8106 174.807 29.8618 174.956 29.9644C175.115 30.0576 175.292 30.1788 175.488 30.3279C175.684 30.477 175.908 30.6402 176.16 30.8173C176.412 30.9944 176.697 31.1575 177.014 31.3066C177.341 31.4558 177.71 31.5816 178.12 31.6842C178.531 31.7774 178.993 31.824 179.506 31.824C180.15 31.824 180.724 31.7354 181.228 31.5583C181.732 31.3812 182.157 31.1342 182.502 30.8173C182.857 30.491 183.128 30.1042 183.314 29.6568C183.501 29.2093 183.594 28.7107 183.594 28.1607C183.594 27.5548 183.454 27.0608 183.174 26.6786C182.904 26.2871 182.544 25.9608 182.096 25.6998C181.648 25.4388 181.135 25.2197 180.556 25.0427C179.978 24.8562 179.39 24.6698 178.792 24.4834C178.195 24.2876 177.607 24.0639 177.028 23.8122C176.45 23.5606 175.936 23.2343 175.488 22.8335C175.04 22.4327 174.676 21.9339 174.396 21.3374C174.126 20.7315 173.99 19.9858 173.99 19.1003C173.99 18.3918 174.126 17.7067 174.396 17.0449C174.676 16.3831 175.078 15.7958 175.6 15.2831C176.132 14.7705 176.781 14.3603 177.546 14.0527C178.321 13.7451 179.208 13.5913 180.206 13.5913C181.326 13.5913 182.344 13.7684 183.258 14.1226C184.182 14.4768 184.994 14.9895 185.694 15.6607L185.036 16.947Z",
159627
+ fill: props.textColor
159628
+ }
159629
+ ),
159630
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159631
+ "path",
159632
+ {
159633
+ d: "M209.001 31.6441L208.987 33.8533H196.625V13.8169H208.987V16.0261H199.341V22.6816H207.153V24.8068H199.341V31.6441H209.001Z",
159634
+ fill: props.textColor
159635
+ }
159636
+ ),
159637
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159638
+ "path",
159639
+ {
159640
+ d: "M11.0961 19.9908L29.6957 9.44297",
159641
+ stroke: "#5C94B9",
159642
+ strokeWidth: "1.25"
159643
+ }
159644
+ ),
159645
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159646
+ "path",
159647
+ {
159648
+ d: "M35.8813 12.5177L35.8813 34.0034",
159649
+ stroke: "#E8762B",
159650
+ strokeWidth: "1.25"
159651
+ }
159652
+ ),
159653
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159654
+ "path",
159655
+ {
159656
+ d: "M10.8477 27.5366L29.2055 38.3845",
159657
+ stroke: "#62AC62",
159658
+ strokeWidth: "1.25"
159659
+ }
159660
+ ),
159661
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159662
+ "circle",
159663
+ {
159664
+ cx: "35.0481",
159665
+ cy: "6.67559",
159666
+ r: "6.05059",
159667
+ stroke: "#5C94B9",
159668
+ strokeWidth: "1.25"
159669
+ }
159670
+ ),
159671
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159672
+ "circle",
159673
+ {
159674
+ cx: "35.0481",
159675
+ cy: "40.054",
159676
+ r: "6.05059",
159677
+ stroke: "#E8762B",
159678
+ strokeWidth: "1.25"
159679
+ }
159680
+ ),
159681
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
159682
+ "circle",
159683
+ {
159684
+ cx: "6.67559",
159685
+ cy: "23.3646",
159686
+ r: "6.05059",
159687
+ stroke: "#62AC62",
159688
+ strokeWidth: "1.25"
163217
159689
  }
163218
159690
  )
163219
- }
163220
- ) });
163221
- };
159691
+ ]
159692
+ }
159693
+ );
163222
159694
  const LOGIN_LINK = "/LoginPlace:0";
163223
159695
  const navTextButtonSx = {
163224
159696
  fontSize: "18px",
@@ -163482,7 +159954,6 @@ dl_list_file_entities = syn.get_download_list()`;
163482
159954
  const past30DaysDownloadMetricsTable = "syn61597084";
163483
159955
  const generalStatsMetricsTable = "syn61588163";
163484
159956
  const featuredDatasetsTable = "syn61609402";
163485
- const searchAutocompleteTable = "syn61670515";
163486
159957
  const popularSearches = [
163487
159958
  "Alzheimer's Disease",
163488
159959
  "Parkinson",
@@ -163540,6 +160011,10 @@ dl_list_file_entities = syn.get_download_list()`;
163540
160011
  const tinyView = useMediaQuery("(max-width:385px)");
163541
160012
  const isDesktopView = useMediaQuery(theme3.breakpoints.up("lg"));
163542
160013
  const { ref: ref2, inView } = useInView({ triggerOnce: true });
160014
+ const [searchValue, setSearchValue] = React$2.useState("");
160015
+ const onSearch = (value) => {
160016
+ gotoPlace(`/Search:${encodeURIComponent(value)}`);
160017
+ };
163543
160018
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { sx: { overflow: "hidden" }, children: [
163544
160019
  /* @__PURE__ */ jsxRuntimeExports.jsx(SynapseHomepageNavBar, { gotoPlace }),
163545
160020
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -163635,13 +160110,26 @@ dl_list_file_entities = syn.get_download_list()`;
163635
160110
  maxWidth: "600px",
163636
160111
  m: "auto"
163637
160112
  },
163638
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163639
- SynapseHomepageSearch,
160113
+ component: "form",
160114
+ onSubmit: (event) => {
160115
+ event.preventDefault();
160116
+ onSearch(searchValue);
160117
+ },
160118
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(FormControl, { fullWidth: true, sx: { m: 1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160119
+ OutlinedInput,
163640
160120
  {
163641
- sourceTable: searchAutocompleteTable,
163642
- gotoPlace
160121
+ startAdornment: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornment, { position: "start", sx: { ml: "7px", mr: "13px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
160122
+ Search$2,
160123
+ {
160124
+ size: 32,
160125
+ fill: theme3.palette.secondary[600]
160126
+ }
160127
+ ) }),
160128
+ placeholder: "Search Synapse",
160129
+ sx: { fontSize: "24px", borderRadius: 96.6 },
160130
+ onChange: (event) => setSearchValue(event.target.value)
163643
160131
  }
163644
- )
160132
+ ) })
163645
160133
  }
163646
160134
  ),
163647
160135
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -179550,7 +176038,7 @@ dl_list_file_entities = syn.get_download_list()`;
179550
176038
  )
179551
176039
  ] });
179552
176040
  };
179553
- const version = "3.3.4";
176041
+ const version = "3.3.5";
179554
176042
  const SynapseEnums = {
179555
176043
  BackendDestinationEnum
179556
176044
  };
@@ -179573,8 +176061,6 @@ dl_list_file_entities = syn.get_download_list()`;
179573
176061
  AccountLevelBadges,
179574
176062
  TermsAndConditions,
179575
176063
  PageProgress,
179576
- ProjectViewCarousel,
179577
- SynapseHomepage,
179578
176064
  SynapseHomepageV2,
179579
176065
  SynapseFooter,
179580
176066
  EntityFinder,