@threedddplus/logoeditor 0.0.212 → 0.0.214

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.
@@ -3859,6 +3859,52 @@ TIFFParser.prototype = {
3859
3859
  }
3860
3860
  };
3861
3861
 
3862
+ var prepocessSvgData = function prepocessSvgData(svgData, objects) {
3863
+ svgData.forEach(function (resItem) {
3864
+ var path;
3865
+ var node;
3866
+ objects == null ? void 0 : objects.forEach(function (item) {
3867
+ //@ts-ignore
3868
+ if (item.id === resItem.path) {
3869
+ path = item;
3870
+ //@ts-ignore
3871
+ } else if (item.id === resItem.element) {
3872
+ node = item;
3873
+ }
3874
+ });
3875
+ if (node && path) {
3876
+ var _resItem$node$childre, _resItem$node$childre2;
3877
+ var fontSize = (_resItem$node$childre = resItem.node.children[0]) == null ? void 0 : (_resItem$node$childre2 = _resItem$node$childre.getAttribute('font-size')) == null ? void 0 : _resItem$node$childre2.replace('px', '');
3878
+ node.set({
3879
+ path: path,
3880
+ top: path.top,
3881
+ left: path.left,
3882
+ textAlign: 'center',
3883
+ pathStartOffset: path.width * parseFloat(resItem.node.startOffset.baseVal.valueAsString) / 100,
3884
+ // fontFamily: resItem.node.children[0].getAttribute("font-family"),
3885
+ fontSize: fontSize || 25
3886
+ });
3887
+ node.setCoords();
3888
+ }
3889
+ });
3890
+ };
3891
+ var setDimensions = function setDimensions(loadedObject, canvasWidth, canvasHeight) {
3892
+ var val = 300;
3893
+ if ((loadedObject.width <= 200 || loadedObject.height <= 200) && (loadedObject.minX === -0 || loadedObject.minX)) {
3894
+ val = 600;
3895
+ }
3896
+ if (Math.ceil(loadedObject.width + loadedObject.left + 45) >= Math.floor(canvasWidth)) {
3897
+ loadedObject.scaleToWidth(val);
3898
+ } else if (Math.ceil(loadedObject.height + loadedObject.top + 10) >= Math.floor(canvasHeight)) {
3899
+ loadedObject.scaleToHeight(val);
3900
+ } else if (Math.ceil(loadedObject.left) < 0) {
3901
+ loadedObject.scaleToWidth(val);
3902
+ } else if (Math.ceil(loadedObject.top) < 0) {
3903
+ loadedObject.scaleToHeight(val);
3904
+ } else if (loadedObject.width < 200 || loadedObject.height < 200) {
3905
+ loadedObject.scaleToWidth(val);
3906
+ }
3907
+ };
3862
3908
  var converterSlice = function converterSlice(set, get) {
3863
3909
  var processImage = function processImage(svgstr, colorValue, canvasToLoad, addCheckerBox) {
3864
3910
  if (canvasToLoad === void 0) {
@@ -3873,52 +3919,11 @@ var converterSlice = function converterSlice(set, get) {
3873
3919
  var _canvasToLoad, _use3dddPlus$getState;
3874
3920
  var svgData = getDesignConceptSVGData(svgstr);
3875
3921
  var loadedObject = fabric.util.groupSVGElements(objects, options);
3876
- console.log("SVG DATA--->", svgData);
3877
- svgData.forEach(function (resItem) {
3878
- var path;
3879
- var node;
3880
- objects == null ? void 0 : objects.forEach(function (item) {
3881
- //@ts-ignore
3882
- if (item.id === resItem.path) {
3883
- path = item;
3884
- //@ts-ignore
3885
- } else if (item.id === resItem.element) {
3886
- node = item;
3887
- }
3888
- });
3889
- if (node && path) {
3890
- var _resItem$node$childre, _resItem$node$childre2;
3891
- var fontSize = (_resItem$node$childre = resItem.node.children[0]) == null ? void 0 : (_resItem$node$childre2 = _resItem$node$childre.getAttribute('font-size')) == null ? void 0 : _resItem$node$childre2.replace('px', '');
3892
- node.set({
3893
- path: path,
3894
- top: path.top,
3895
- left: path.left,
3896
- textAlign: 'center',
3897
- pathStartOffset: path.width * parseFloat(resItem.node.startOffset.baseVal.valueAsString) / 100,
3898
- // fontFamily: resItem.node.children[0].getAttribute("font-family"),
3899
- fontSize: fontSize || 25
3900
- });
3901
- node.setCoords();
3902
- }
3903
- });
3922
+ prepocessSvgData(svgData, objects);
3904
3923
  var canvas = (_canvasToLoad = canvasToLoad) != null ? _canvasToLoad : use3dddPlus.getState().popupCanv;
3905
3924
  var canvasWidth = canvas.width;
3906
3925
  var canvasHeight = canvas.height;
3907
- var val = 300;
3908
- if ((loadedObject.width <= 200 || loadedObject.height <= 200) && (loadedObject.minX === -0 || loadedObject.minX)) {
3909
- val = 600;
3910
- }
3911
- if (Math.ceil(loadedObject.width + loadedObject.left + 45) >= Math.floor(canvasWidth)) {
3912
- loadedObject.scaleToWidth(val);
3913
- } else if (Math.ceil(loadedObject.height + loadedObject.top + 10) >= Math.floor(canvasHeight)) {
3914
- loadedObject.scaleToHeight(val);
3915
- } else if (Math.ceil(loadedObject.left) < 0) {
3916
- loadedObject.scaleToWidth(val);
3917
- } else if (Math.ceil(loadedObject.top) < 0) {
3918
- loadedObject.scaleToHeight(val);
3919
- } else if (loadedObject.width < 200 || loadedObject.height < 200) {
3920
- loadedObject.scaleToWidth(val);
3921
- }
3926
+ setDimensions(loadedObject, canvasWidth, canvasHeight);
3922
3927
  //@ts-ignore
3923
3928
  var objImage = loadedObject == null ? void 0 : loadedObject._objects;
3924
3929
  if (!objImage) {
@@ -3927,6 +3932,7 @@ var converterSlice = function converterSlice(set, get) {
3927
3932
  var _Fills = [];
3928
3933
  var fillCounts = {};
3929
3934
  var colorObjects = {};
3935
+ // Identify and Count Fill Colors
3930
3936
  if (objImage) {
3931
3937
  objImage.forEach(function (ele) {
3932
3938
  var _ele$id;
@@ -3956,10 +3962,57 @@ var converterSlice = function converterSlice(set, get) {
3956
3962
  use3dddPlus.setState({
3957
3963
  loadedObject: objImage
3958
3964
  });
3965
+ // Extract Top Colors
3959
3966
  var sortedFillColors = Object.keys(fillCounts).sort(function (a, b) {
3960
3967
  return fillCounts[b] - fillCounts[a];
3961
3968
  });
3962
3969
  var topColors = sortedFillColors.slice(0, colorValue);
3970
+ // Map Colors to Their Closest Dominant Colors
3971
+ var colorMap = {};
3972
+ sortedFillColors.forEach(function (color) {
3973
+ var closestColor = topColors.reduce(function (prev, curr) {
3974
+ var prevDiff = euclideanDistance(color, prev);
3975
+ var currDiff = euclideanDistance(color, curr);
3976
+ return prevDiff < currDiff ? prev : curr;
3977
+ });
3978
+ colorMap[color] = closestColor;
3979
+ });
3980
+ // Apply Updated Colors to Objects
3981
+ if (objImage) {
3982
+ objImage.forEach(function (ele) {
3983
+ ele.set({
3984
+ fill: colorMap[ele.fill.toString()]
3985
+ });
3986
+ });
3987
+ }
3988
+ // Re-calculate colorObjects
3989
+ if (objImage) {
3990
+ objImage.forEach(function (ele) {
3991
+ var _ele$id2;
3992
+ ele.set({
3993
+ strokeWidth: 0
3994
+ });
3995
+ ele.set({
3996
+ id: (_ele$id2 = ele.id) != null ? _ele$id2 : use3dddPlus.getState().guid()
3997
+ });
3998
+ if (typeof ele.fill === 'string' && ele.fill !== '') {
3999
+ set({
4000
+ fillColor: [].concat(ele.fill)
4001
+ });
4002
+ var fillColor = ele.fill.toString();
4003
+ var pixelCount = ele.width * ele.height;
4004
+ fillCounts[fillColor] = (fillCounts[fillColor] || 0) + pixelCount;
4005
+ if (colorObjects[fillColor]) {
4006
+ colorObjects[fillColor].objects.push(ele.get('id'));
4007
+ } else {
4008
+ colorObjects[fillColor] = {
4009
+ objects: [ele.get('id')]
4010
+ };
4011
+ }
4012
+ }
4013
+ });
4014
+ }
4015
+ // Convert Colors to Hex & Store
3963
4016
  var colorObjectsHex = {};
3964
4017
  topColors.map(function (e) {
3965
4018
  if (e.search('#') === -1) {
@@ -3973,6 +4026,7 @@ var converterSlice = function converterSlice(set, get) {
3973
4026
  colorObjectsHex[e] = colorObjects[e];
3974
4027
  }
3975
4028
  });
4029
+ // Store Colors in State
3976
4030
  //@ts-ignore
3977
4031
  set({
3978
4032
  fillColor: get().removeDuplicates(_Fills)
@@ -4002,6 +4056,7 @@ var converterSlice = function converterSlice(set, get) {
4002
4056
  use3dddPlus.setState({
4003
4057
  defaultColorFillCopy: defaultCF
4004
4058
  });
4059
+ // Step 5: Assign Closest Colors to Objects
4005
4060
  function euclideanDistance(color1, color2) {
4006
4061
  var c1 = new fabric.Color(color1).getSource();
4007
4062
  var c2 = new fabric.Color(color2).getSource();
@@ -4010,22 +4065,7 @@ var converterSlice = function converterSlice(set, get) {
4010
4065
  var diffB = c1[2] - c2[2];
4011
4066
  return Math.sqrt(Math.pow(diffR, 2) + Math.pow(diffG, 2) + Math.pow(diffB, 2));
4012
4067
  }
4013
- var colorMap = {};
4014
- sortedFillColors.forEach(function (color) {
4015
- var closestColor = topColors.reduce(function (prev, curr) {
4016
- var prevDiff = euclideanDistance(color, prev);
4017
- var currDiff = euclideanDistance(color, curr);
4018
- return prevDiff < currDiff ? prev : curr;
4019
- });
4020
- colorMap[color] = closestColor;
4021
- });
4022
- if (objImage) {
4023
- objImage.forEach(function (ele) {
4024
- ele.set({
4025
- fill: colorMap[ele.fill.toString()]
4026
- });
4027
- });
4028
- }
4068
+ // Step 6: Add Checkerboard Background (Optional)
4029
4069
  if (addCheckerBox) {
4030
4070
  loadedObject.set({
4031
4071
  colorFill: fillColors,
@@ -4100,6 +4140,7 @@ var converterSlice = function converterSlice(set, get) {
4100
4140
  }
4101
4141
  }
4102
4142
  }
4143
+ // Step 7: Finalize the Canvas
4103
4144
  canvas.add(loadedObject).renderAll();
4104
4145
  canvas.centerObject(loadedObject);
4105
4146
  canvas.setActiveObject(loadedObject);
@@ -4171,7 +4212,7 @@ var converterSlice = function converterSlice(set, get) {
4171
4212
  });
4172
4213
  }
4173
4214
  });
4174
- // return { href, availableFonts };
4215
+ // return { href, availableFonts };
4175
4216
  return href;
4176
4217
  };
4177
4218
  return {
@@ -4422,6 +4463,7 @@ var converterSlice = function converterSlice(set, get) {
4422
4463
  }
4423
4464
  },
4424
4465
  refreshColor: function refreshColor(colorValue) {
4466
+ console.log('colorValue---->', colorValue);
4425
4467
  processImage(use3dddPlus.getState().imageData, colorValue);
4426
4468
  },
4427
4469
  removeDuplicates: function removeDuplicates(arr) {
@@ -4450,10 +4492,10 @@ var converterSlice = function converterSlice(set, get) {
4450
4492
  }
4451
4493
  },
4452
4494
  changeSVGColor: function changeSVGColor(property, color) {
4495
+ console.log('-->', property, color);
4453
4496
  use3dddPlus.getState().popUpCanvasUpdateModification(true);
4454
4497
  var fillColor = _extends({}, use3dddPlus.getState().colorFill);
4455
4498
  if (use3dddPlus.getState().loadedObject) {
4456
- // let objImage1 = use3dddPlus.getState().popupCanv.getObjects();
4457
4499
  var objImage = use3dddPlus.getState().popupCanv.getObjects();
4458
4500
  if (objImage.length > 0) {
4459
4501
  objImage.forEach(function (ele) {
@@ -4464,30 +4506,13 @@ var converterSlice = function converterSlice(set, get) {
4464
4506
  });
4465
4507
  }
4466
4508
  if (ele.id && defaultColorObject && defaultColorObject.objects && defaultColorObject.objects.includes(ele.id) && typeof ele.fill === 'string' && ele.fill !== '') {
4467
- // const _C = (ele.fill === 'transparent' || (typeof ele.fill === 'string' && ele.fill.includes('#')) ? ele.fill : get().RGBToHex(ele.fill));
4468
- // if (_C === previousColor) {
4469
4509
  ele.set({
4470
4510
  fill: color
4471
4511
  });
4472
- // }
4473
4512
  }
4474
- // if(typeof ele.fill === "string" && ele.fill !== ""){
4475
- // const _C = (ele.fill === 'transparent' || (typeof ele.fill === 'string' && ele.fill.includes('#')) ? ele.fill : get().RGBToHex(ele.fill));
4476
- // if (_C === previousColor) {
4477
- // ele.set({
4478
- // fill: color,
4479
- // });
4480
- // }
4481
- // }
4482
4513
  });
4483
-
4484
4514
  use3dddPlus.getState().popupCanv.renderAll();
4485
4515
  fillColor[property] = color;
4486
- // Object.keys(fillColor).forEach((fc: any) => {
4487
- // if(fillColor[fc] === previousColor){
4488
- // fillColor[fc] = color;
4489
- // }
4490
- // });
4491
4516
  use3dddPlus.setState({
4492
4517
  colorFill: fillColor
4493
4518
  });
@@ -8061,31 +8086,276 @@ var LeftMenu = function LeftMenu() {
8061
8086
  })));
8062
8087
  };
8063
8088
 
8064
- var css_248z$3 = "#ls{background-color:#fff;background:radial-gradient(#eee,#ccc);height:100%;left:0;opacity:1;position:relative;transition:opacity 1s;width:100%;z-index:10000!important}#ls.fade-out{opacity:0}#l{animation:spin 2s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#b16b6b;display:block;height:100px;left:50%;margin:-50px 0 0 -50px;position:relative;top:50%;width:100px}#l:before{animation:spin 3s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#c10909;bottom:5px;left:5px;right:5px;top:5px}#l:after,#l:before{content:\"\";position:absolute}#l:after{animation:spin 1.5s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#bb4646;bottom:15px;left:15px;right:15px;top:15px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}";
8089
+ var css_248z$3 = "#ls{background-color:#fff;background:radial-gradient(#eee,#ccc);height:100%;left:0;opacity:1;position:relative;transition:opacity 1s;width:100%;z-index:10000!important}#ls.fade-out{opacity:0}#l{animation:spin 2s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#b16b6b;display:block;height:100px;left:50%;margin:-50px 0 0 -50px;position:relative;top:50%;width:100px}#l:before{animation:spin 3s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#c10909;bottom:5px;left:5px;right:5px;top:5px}#l:after,#l:before{content:\"\";position:absolute}#l:after{animation:spin 1.5s linear infinite;border:3px solid transparent;border-radius:50%;border-top-color:#bb4646;bottom:15px;left:15px;right:15px;top:15px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loader-progress{z-index:999999999999999}.loader-progress-overlay-logoeditor{align-items:center;background:hsla(40,16%,93%,.6);border-radius:8px;bottom:0;display:none;height:88%;justify-content:center;left:10%;pointer-events:none;position:fixed;right:50%;top:6%;transition:opacity .3s ease-in-out;width:80%;z-index:999999999999999}body .loader-progress-overlay-logoeditor svg.rs-logo-letters{height:25px}.loader-progress .loader-progress-overlay-logoeditor{display:flex;pointer-events:all}svg.rs-logo-letters{height:auto;width:100%}svg.rs-logo-letters g{opacity:1;transform:translateX(0)}@media (prefers-reduced-motion){svg.rs-logo-letters g{opacity:1;transform:translateX(0)}}svg.rs-logo-letters g.animate{animation:fadeInSlideIn .15s cubic-bezier(.12,.03,.35,.98) forwards}@keyframes fadeInSlideIn{0%{opacity:0;transform:translateX(-3%)}to{opacity:1;transform:translateX(0)}}";
8065
8090
  styleInject(css_248z$3);
8066
8091
 
8067
- var Loader = function Loader(_ref) {
8068
- var _ref$position = _ref.position,
8069
- position = _ref$position === void 0 ? 'overlay' : _ref$position,
8070
- _ref$height = _ref.height,
8071
- height = _ref$height === void 0 ? '100%' : _ref$height;
8072
- var loaderRef = React.useRef();
8092
+ var Loader = function Loader() {
8093
+ var rootRef = React.useRef(null);
8094
+ var intervalRef = React.useRef(null);
8095
+ var delay = 80;
8096
+ var animate = true;
8097
+ // Function to start looping animation
8098
+ var startAnimationLoop = function startAnimationLoop() {
8099
+ var _rootRef$current;
8100
+ document.body.classList.add('loader-progress');
8101
+ singleAnimationLoop();
8102
+ intervalRef.current = setInterval(function () {
8103
+ singleAnimationLoop();
8104
+ }, delay * (((_rootRef$current = rootRef.current) == null ? void 0 : _rootRef$current.querySelectorAll('svg.rs-logo-letters g').length) || 0) + 800);
8105
+ };
8106
+ // Function to handle a single animation loop
8107
+ var singleAnimationLoop = function singleAnimationLoop() {
8108
+ var _rootRef$current2;
8109
+ addAnimateClassToLetters();
8110
+ var logoSvgLetters = (_rootRef$current2 = rootRef.current) == null ? void 0 : _rootRef$current2.querySelectorAll('svg.rs-logo-letters g');
8111
+ logoSvgLetters == null ? void 0 : logoSvgLetters.forEach(function (letter) {
8112
+ letter.classList.remove('animate');
8113
+ });
8114
+ };
8115
+ // Function to animate class to letters
8116
+ var addAnimateClassToLetters = function addAnimateClassToLetters() {
8117
+ var _rootRef$current3;
8118
+ var logoSvgLetters = (_rootRef$current3 = rootRef.current) == null ? void 0 : _rootRef$current3.querySelectorAll('svg.rs-logo-letters g');
8119
+ logoSvgLetters == null ? void 0 : logoSvgLetters.forEach(function (letter, index) {
8120
+ setTimeout(function () {
8121
+ letter.classList.add('animate');
8122
+ }, index * delay);
8123
+ });
8124
+ };
8125
+ // Function to stop animation loop
8126
+ var stopAnimationLoop = function stopAnimationLoop() {
8127
+ var _rootRef$current4;
8128
+ document.body.classList.remove('loader-progress');
8129
+ var logoSvgLetters = (_rootRef$current4 = rootRef.current) == null ? void 0 : _rootRef$current4.querySelectorAll('svg.rs-logo-letters g');
8130
+ logoSvgLetters == null ? void 0 : logoSvgLetters.forEach(function (letter) {
8131
+ letter.classList.remove('animate');
8132
+ });
8133
+ if (intervalRef.current) {
8134
+ clearInterval(intervalRef.current);
8135
+ }
8136
+ };
8137
+ // Effect to handle animation start/stop based on `animate` prop
8073
8138
  React.useEffect(function () {
8074
- if (!loaderRef) return;
8075
- loaderRef.current.style.height = height;
8076
- }, [loaderRef]);
8077
- return React.createElement("section", {
8078
- ref: loaderRef,
8079
- id: "ls",
8080
- style: position === 'overlay' ? {
8081
- position: 'absolute',
8082
- opacity: 0.8,
8083
- top: 0
8084
- } : {},
8085
- className: "w-full h-full"
8086
- }, React.createElement("div", {
8087
- id: "l"
8088
- }));
8139
+ {
8140
+ startAnimationLoop();
8141
+ }
8142
+ // Cleanup on unmount
8143
+ return function () {
8144
+ stopAnimationLoop();
8145
+ };
8146
+ }, [animate]);
8147
+ return React.createElement("div", {
8148
+ ref: rootRef,
8149
+ className: "loader-progress-overlay-logoeditor"
8150
+ }, React.createElement("svg", {
8151
+ className: "rs-logo-letters",
8152
+ width: "1621",
8153
+ height: "244",
8154
+ viewBox: "0 0 1621 244",
8155
+ fill: "none",
8156
+ xmlns: "http://www.w3.org/2000/svg",
8157
+ "aria-hidden": "true"
8158
+ }, React.createElement("g", {
8159
+ className: "R",
8160
+ "clip-path": "url(#clip0_3639_29751)"
8161
+ }, React.createElement("path", {
8162
+ d: "M186.973 73.1564C182.326 109.658 159.826 130.946 132.395 137.888L149.114 178.265L173.881 239.236H116.582L93.2883 181.909L77.0791 143.672L65.4605 198.049L56.8458 239.236H0L46.7575 4.78086H51.2915C63.5902 4.83871 76.6823 4.72301 90.0011 4.78086H90.1145H118.736C161.356 5.0701 191.451 36.7126 186.803 73.2142M105.19 97.1052C117.376 97.1052 132.451 92.7666 134.775 72.4622C137.099 52.1578 118.509 49.4968 106.324 49.439C105.927 49.439 103.547 49.3233 103.547 49.3233C103.547 49.3233 100.146 49.3233 94.8186 49.3812L84.1635 97.1052C84.1635 97.1052 101.846 97.2787 103.377 97.1052H105.19Z",
8163
+ fill: "#CE0E2D"
8164
+ })), React.createElement("g", {
8165
+ className: "I",
8166
+ "clip-path": "url(#clip2_3639_29751)"
8167
+ }, React.createElement("path", {
8168
+ d: "M230.146 228.005C231.563 220.601 273.617 4.77246 273.617 4.77246C273.617 4.77246 238.931 4.77246 214.9 4.77246L175.794 205.387L169.276 239.228H227.936L230.146 228.063V228.005Z",
8169
+ fill: "#CE0E2D"
8170
+ })), React.createElement("g", {
8171
+ className: "C",
8172
+ "clip-path": "url(#clip4_3639_29751)"
8173
+ }, React.createElement("path", {
8174
+ d: "M424.94 10.4125C415.702 5.66903 403.29 0 380.79 0C353.245 0 328.988 8.38786 309.038 24.8165C277.64 49.9801 259.673 92.7293 259.617 141.957C259.617 203.912 294.246 243.942 348.088 244C368.888 244 391.388 237.405 395.185 234.629C395.582 232.431 406.804 175.393 406.804 175.393C406.804 175.393 400.229 179.558 390.878 182.566C381.413 186.153 370.248 187.772 358.233 187.772C322.073 187.772 316.689 155.783 316.689 136.751C316.689 109.852 325.134 85.9611 339.813 71.21C349.561 61.5495 362.597 56.1697 376.936 56.1697C391.785 56.1697 400.003 59.2935 406.804 62.5329C414.455 66.0616 425.11 74.8544 425.11 74.8544L437.012 19.0318C437.012 19.0318 434.235 15.156 424.997 10.4125",
8175
+ fill: "#CE0E2D"
8176
+ })), React.createElement("g", {
8177
+ className: "H",
8178
+ "clip-path": "url(#clip6_3639_29751)"
8179
+ }, React.createElement("path", {
8180
+ d: "M554.264 4.62769L548.596 32.8572L537.431 90.126H493.621L510.227 4.62769H451.511L406 239.372H464.66L481.719 150.808H525.473L508.357 239.372H571.777C571.777 239.372 567.583 236.017 568.716 229.48C569.85 222.943 612.64 4.62769 612.64 4.62769H554.264Z",
8181
+ fill: "#CE0E2D"
8182
+ })), React.createElement("g", {
8183
+ className: "A",
8184
+ "clip-path": "url(#clip8_3639_29751)"
8185
+ }, React.createElement("path", {
8186
+ d: "M662.652 152.221L689.233 87.7217L694.618 152.279H662.709L662.652 152.221ZM753.447 231.125C752.427 224.068 726.753 5 726.753 5H684.019L565 239.744H623.263L643.213 197.053H695.695L699.492 229.563L700.455 239.744H754.694L753.447 231.183V231.125Z",
8187
+ fill: "#CE0E2D"
8188
+ })), React.createElement("g", {
8189
+ className: "R",
8190
+ "clip-path": "url(#clip10_3639_29751)"
8191
+ }, React.createElement("path", {
8192
+ d: "M938.974 73.1564C934.326 109.658 911.826 130.946 884.395 137.888L901.114 178.265L925.881 239.236H868.582L845.288 181.909L829.079 143.672L817.461 198.049L808.846 239.236H752L798.758 4.78086H803.348C815.647 4.83871 828.739 4.72301 842.058 4.78086H842.171H870.792C913.413 5.0701 943.508 36.7126 938.86 73.2142M857.247 97.1052C869.376 97.1052 884.508 92.7666 886.775 72.4622C889.099 52.1578 870.509 49.4968 858.324 49.439C857.927 49.439 855.547 49.3233 855.547 49.3233C855.547 49.3233 852.146 49.3233 846.819 49.3812L836.22 97.1052C836.22 97.1052 853.903 97.2787 855.377 97.1052H857.19H857.247Z",
8193
+ fill: "#CE0E2D"
8194
+ })), React.createElement("g", {
8195
+ className: "D",
8196
+ "clip-path": "url(#clip12_3639_29751)"
8197
+ }, React.createElement("path", {
8198
+ d: "M1049.6 128.103C1047.5 137.763 1043.87 146.788 1039 155.002C1034.41 162.869 1028.23 169.522 1020.58 174.786C1013.61 179.703 1004.65 182.19 994.169 182.19H990.258L1013.04 65.2807C1013.04 65.2807 1013.38 65.2807 1013.61 65.2807C1017.41 65.1072 1021.15 64.9915 1024.55 64.9915C1035.26 64.9915 1042.68 67.5367 1046.48 72.5116C1050.73 78.1228 1053.05 87.4941 1053.05 100.336C1053.05 108.782 1051.92 118.211 1049.6 128.161M1106.9 55.2731C1102.7 43.6458 1096.7 33.9274 1088.87 26.2916C1081.22 18.8293 1071.98 13.2181 1061.33 9.63157C1051.18 6.21858 1039.85 4.48315 1027.66 4.48315C1023.92 4.48315 969.401 4.541 969.401 4.541H965.887L926.498 211.229L921 239.517H984.023C986.687 239.517 1020.81 238.938 1029.82 235.699C1043.08 230.955 1054.58 224.534 1064.28 216.667C1073.91 208.742 1082.02 199.486 1088.42 189.132C1094.71 179.066 1099.7 168.365 1103.21 157.316C1106.78 146.614 1109.33 135.739 1110.75 124.921C1112.17 114.393 1112.96 104.328 1112.96 95.0721C1112.96 79.9739 1110.98 66.6112 1106.9 55.331V55.2731Z",
8199
+ fill: "#CE0E2D"
8200
+ })), React.createElement("g", {
8201
+ className: "S",
8202
+ "clip-path": "url(#clip14_3639_29751)"
8203
+ }, React.createElement("path", {
8204
+ d: "M1198.3 96.6051C1184.36 87.176 1175.23 80.3501 1175.23 72.0779C1175.23 63.0537 1183.34 57.2111 1195.98 57.2111H1197.05C1208.95 57.2111 1220.01 61.6654 1225.73 65.4833L1233.55 70.6317L1250.5 16.1395L1245.34 12.9579C1232.65 5.03284 1217.4 1.15706 1198.92 1.15706C1152.56 1.09921 1120.14 33.5516 1120.09 80.1187C1120.09 114.306 1143.55 133.454 1161.01 144.792C1178.75 156.188 1181.98 161.973 1181.98 169.261C1181.98 182.161 1170.36 186.731 1160.38 186.731C1146.84 186.731 1132.61 182.046 1121.62 174.063L1113.91 168.509L1096 221.902L1100.02 225.431C1112.21 236.017 1133.29 242.496 1156.47 242.843H1156.59C1205.16 242.843 1237.86 210.102 1237.92 161.221C1237.92 134.206 1224.94 112.976 1198.41 96.6051",
8205
+ fill: "#CE0E2D"
8206
+ })), React.createElement("g", {
8207
+ className: "O",
8208
+ "clip-path": "url(#clip16_3639_29751)"
8209
+ }, React.createElement("path", {
8210
+ d: "M1364.97 129.318C1362.59 140.02 1359.13 149.564 1354.82 157.663C1350.63 165.415 1345.75 171.546 1340.2 175.943C1335.21 179.818 1329.88 181.727 1323.99 181.727C1314.01 181.727 1310.5 177.62 1308.63 174.554C1304.83 168.075 1302.96 158.82 1302.96 146.961C1302.96 134.987 1304.21 123.475 1306.82 112.773C1309.42 102.187 1312.94 92.9318 1317.36 85.2381C1321.44 77.8915 1326.43 72.1068 1331.98 67.9417C1336.97 64.1817 1342.3 62.3884 1348.19 62.3884C1354.76 62.3884 1359.41 64.4709 1362.98 68.8673C1366.72 73.6108 1368.71 82.6928 1368.71 95.0722C1368.71 107.451 1367.46 118.385 1365.02 129.318M1428.56 94.5515C1428.56 79.4534 1426.86 66.0906 1423.34 54.8104C1419.83 43.1253 1414.67 33.1755 1408.1 25.3661C1401.35 17.2675 1393.02 11.2514 1383.39 7.3756C1374.26 3.73122 1363.95 1.82227 1352.89 1.82227C1336.12 1.82227 1320.65 5.81373 1306.93 13.7388C1293.38 21.606 1281.77 32.3656 1272.3 45.8441C1262.95 59.0333 1255.7 74.7099 1250.59 92.3533C1245.61 109.765 1243.06 128.566 1243 148.118C1243.23 178.199 1250.03 201.569 1263.4 217.535C1277.01 233.906 1296.45 242.178 1321.27 242.178C1337.37 242.178 1352.27 238.129 1365.7 230.03C1378.85 222.047 1390.24 211.172 1399.6 197.462C1408.83 183.984 1416.14 168.249 1421.13 150.606C1426.06 133.078 1428.56 114.22 1428.61 94.4937L1428.56 94.5515Z",
8211
+ fill: "#CE0E2D"
8212
+ })), React.createElement("g", {
8213
+ className: "N",
8214
+ "clip-path": "url(#clip18_3639_29751)"
8215
+ }, React.createElement("path", {
8216
+ d: "M1563.55 4.59888L1557.88 35.5472L1543.43 108.435L1499.39 4.59888H1458.47C1458.47 4.59888 1458.47 4.71457 1458.42 4.88811H1457.62L1418.52 205.503L1412 239.343H1470.66L1472.87 228.179C1473.38 225.576 1481.99 181.38 1490.44 137.706L1533.51 239.401H1574.32L1620.4 4.65673H1563.55V4.59888Z",
8217
+ fill: "#CE0E2D"
8218
+ })), React.createElement("defs", null, React.createElement("clipPath", {
8219
+ id: "clip0_3639_29751"
8220
+ }, React.createElement("rect", {
8221
+ width: "187.277",
8222
+ height: "234.472",
8223
+ fill: "white",
8224
+ transform: "translate(0 4.76416)"
8225
+ })), React.createElement("clipPath", {
8226
+ id: "clip1_3639_29751"
8227
+ }, React.createElement("rect", {
8228
+ width: "187.277",
8229
+ height: "234.472",
8230
+ fill: "white",
8231
+ transform: "translate(0 4.76416)"
8232
+ })), React.createElement("clipPath", {
8233
+ id: "clip2_3639_29751"
8234
+ }, React.createElement("rect", {
8235
+ width: "104.34",
8236
+ height: "234.455",
8237
+ fill: "white",
8238
+ transform: "translate(169.276 4.77246)"
8239
+ })), React.createElement("clipPath", {
8240
+ id: "clip3_3639_29751"
8241
+ }, React.createElement("rect", {
8242
+ width: "104.34",
8243
+ height: "234.455",
8244
+ fill: "white",
8245
+ transform: "translate(169.276 4.77246)"
8246
+ })), React.createElement("clipPath", {
8247
+ id: "clip4_3639_29751"
8248
+ }, React.createElement("rect", {
8249
+ width: "177.395",
8250
+ height: "244",
8251
+ fill: "white",
8252
+ transform: "translate(259.617)"
8253
+ })), React.createElement("clipPath", {
8254
+ id: "clip5_3639_29751"
8255
+ }, React.createElement("rect", {
8256
+ width: "177.395",
8257
+ height: "244",
8258
+ fill: "white",
8259
+ transform: "translate(259.617)"
8260
+ })), React.createElement("clipPath", {
8261
+ id: "clip6_3639_29751"
8262
+ }, React.createElement("rect", {
8263
+ width: "206.64",
8264
+ height: "234.744",
8265
+ fill: "white",
8266
+ transform: "translate(406 4.62769)"
8267
+ })), React.createElement("clipPath", {
8268
+ id: "clip7_3639_29751"
8269
+ }, React.createElement("rect", {
8270
+ width: "206.64",
8271
+ height: "234.744",
8272
+ fill: "white",
8273
+ transform: "translate(406 4.62769)"
8274
+ })), React.createElement("clipPath", {
8275
+ id: "clip8_3639_29751"
8276
+ }, React.createElement("rect", {
8277
+ width: "189.694",
8278
+ height: "234.744",
8279
+ fill: "white",
8280
+ transform: "translate(565 5)"
8281
+ })), React.createElement("clipPath", {
8282
+ id: "clip9_3639_29751"
8283
+ }, React.createElement("rect", {
8284
+ width: "189.694",
8285
+ height: "234.744",
8286
+ fill: "white",
8287
+ transform: "translate(565 5)"
8288
+ })), React.createElement("clipPath", {
8289
+ id: "clip10_3639_29751"
8290
+ }, React.createElement("rect", {
8291
+ width: "187.333",
8292
+ height: "234.472",
8293
+ fill: "white",
8294
+ transform: "translate(752 4.76416)"
8295
+ })), React.createElement("clipPath", {
8296
+ id: "clip11_3639_29751"
8297
+ }, React.createElement("rect", {
8298
+ width: "187.333",
8299
+ height: "234.472",
8300
+ fill: "white",
8301
+ transform: "translate(752 4.76416)"
8302
+ })), React.createElement("clipPath", {
8303
+ id: "clip12_3639_29751"
8304
+ }, React.createElement("rect", {
8305
+ width: "191.961",
8306
+ height: "235.034",
8307
+ fill: "white",
8308
+ transform: "translate(921 4.48315)"
8309
+ })), React.createElement("clipPath", {
8310
+ id: "clip13_3639_29751"
8311
+ }, React.createElement("rect", {
8312
+ width: "191.961",
8313
+ height: "235.034",
8314
+ fill: "white",
8315
+ transform: "translate(921 4.48315)"
8316
+ })), React.createElement("clipPath", {
8317
+ id: "clip14_3639_29751"
8318
+ }, React.createElement("rect", {
8319
+ width: "154.498",
8320
+ height: "241.686",
8321
+ fill: "white",
8322
+ transform: "translate(1096 1.15698)"
8323
+ })), React.createElement("clipPath", {
8324
+ id: "clip15_3639_29751"
8325
+ }, React.createElement("rect", {
8326
+ width: "154.498",
8327
+ height: "241.686",
8328
+ fill: "white",
8329
+ transform: "translate(1096 1.15698)"
8330
+ })), React.createElement("clipPath", {
8331
+ id: "clip16_3639_29751"
8332
+ }, React.createElement("rect", {
8333
+ width: "185.613",
8334
+ height: "240.356",
8335
+ fill: "white",
8336
+ transform: "translate(1243 1.82227)"
8337
+ })), React.createElement("clipPath", {
8338
+ id: "clip17_3639_29751"
8339
+ }, React.createElement("rect", {
8340
+ width: "185.613",
8341
+ height: "240.356",
8342
+ fill: "white",
8343
+ transform: "translate(1243 1.82227)"
8344
+ })), React.createElement("clipPath", {
8345
+ id: "clip18_3639_29751"
8346
+ }, React.createElement("rect", {
8347
+ width: "208.397",
8348
+ height: "234.802",
8349
+ fill: "white",
8350
+ transform: "translate(1412 4.59888)"
8351
+ })), React.createElement("clipPath", {
8352
+ id: "clip19_3639_29751"
8353
+ }, React.createElement("rect", {
8354
+ width: "208.397",
8355
+ height: "234.802",
8356
+ fill: "white",
8357
+ transform: "translate(1412 4.59888)"
8358
+ })))));
8089
8359
  };
8090
8360
 
8091
8361
  var UpIcon = function UpIcon(_ref) {