@blotoutio/providers-shop-gpt-sdk 0.70.0 → 0.71.0
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.
- package/index.cjs.js +168 -41
- package/index.js +168 -41
- package/index.mjs +168 -41
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -70,6 +70,7 @@ const createShopGPTAPI = ({ fetch: fetchImpl = window.fetch, baseURL, userId, st
|
|
70
70
|
return url;
|
71
71
|
};
|
72
72
|
const processQuery = async (query, productHandle) => {
|
73
|
+
var _a;
|
73
74
|
const response = await fetchImpl(getURL('/query'), {
|
74
75
|
method: 'POST',
|
75
76
|
headers: getHeaders(),
|
@@ -82,7 +83,7 @@ const createShopGPTAPI = ({ fetch: fetchImpl = window.fetch, baseURL, userId, st
|
|
82
83
|
const data = (await response.json());
|
83
84
|
return {
|
84
85
|
message: data.message,
|
85
|
-
products: data.products.map((item) => ({ ...item, quantity: 1 })),
|
86
|
+
products: (_a = data.products) === null || _a === void 0 ? void 0 : _a.filter((item) => !!item).map((item) => ({ ...item, quantity: 1 })),
|
86
87
|
};
|
87
88
|
};
|
88
89
|
const queryPrompts = async () => {
|
@@ -371,6 +372,26 @@ const shopGPTStyles = () => i$3 `
|
|
371
372
|
line-height: 21px;
|
372
373
|
}
|
373
374
|
|
375
|
+
.mobile-version {
|
376
|
+
display: none;
|
377
|
+
}
|
378
|
+
|
379
|
+
@media screen and (max-width: 430px) {
|
380
|
+
.container {
|
381
|
+
display: none;
|
382
|
+
}
|
383
|
+
|
384
|
+
.mobile-version {
|
385
|
+
display: flex;
|
386
|
+
overflow: hidden;
|
387
|
+
height: 100%;
|
388
|
+
background: #ffffff;
|
389
|
+
justify-content: center;
|
390
|
+
align-items: center;
|
391
|
+
padding: 25px;
|
392
|
+
}
|
393
|
+
}
|
394
|
+
|
374
395
|
.header {
|
375
396
|
display: flex;
|
376
397
|
justify-content: space-between;
|
@@ -386,7 +407,6 @@ const shopGPTStyles = () => i$3 `
|
|
386
407
|
}
|
387
408
|
}
|
388
409
|
|
389
|
-
.header-title,
|
390
410
|
.chat-header-title {
|
391
411
|
color: #000;
|
392
412
|
font-size: 20px;
|
@@ -400,16 +420,62 @@ const shopGPTStyles = () => i$3 `
|
|
400
420
|
}
|
401
421
|
|
402
422
|
@media screen and (max-width: 430px) {
|
403
|
-
.header-title {
|
404
|
-
font-size: 16px;
|
405
|
-
line-height: 24px;
|
406
|
-
}
|
407
|
-
|
408
423
|
.product-content {
|
409
424
|
max-width: calc(100vw - 150px);
|
410
425
|
}
|
411
426
|
}
|
412
427
|
|
428
|
+
.typing-dots {
|
429
|
+
display: flex;
|
430
|
+
align-items: center;
|
431
|
+
justify-content: center;
|
432
|
+
gap: 8px;
|
433
|
+
}
|
434
|
+
|
435
|
+
.dot {
|
436
|
+
width: 6px;
|
437
|
+
height: 6px;
|
438
|
+
background-color: #b6b6b6;
|
439
|
+
border-radius: 50%;
|
440
|
+
animation: bounce 1.2s infinite ease-in-out;
|
441
|
+
}
|
442
|
+
|
443
|
+
.dot:nth-child(1) {
|
444
|
+
animation-delay: 0s;
|
445
|
+
}
|
446
|
+
|
447
|
+
.dot:nth-child(2) {
|
448
|
+
animation-delay: 0.2s;
|
449
|
+
}
|
450
|
+
|
451
|
+
.dot:nth-child(3) {
|
452
|
+
animation-delay: 0.4s;
|
453
|
+
}
|
454
|
+
|
455
|
+
@keyframes bounce {
|
456
|
+
0%,
|
457
|
+
80%,
|
458
|
+
100% {
|
459
|
+
transform: translateY(0);
|
460
|
+
background-color: #b6b6b6;
|
461
|
+
}
|
462
|
+
40% {
|
463
|
+
transform: translateY(-4px);
|
464
|
+
background-color: #8b8b8b;
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
.bot-icon {
|
469
|
+
width: 24px;
|
470
|
+
height: 24px;
|
471
|
+
background-color: #f25c2b;
|
472
|
+
border-radius: 50%;
|
473
|
+
display: flex;
|
474
|
+
align-items: center;
|
475
|
+
justify-content: center;
|
476
|
+
padding: 5px;
|
477
|
+
}
|
478
|
+
|
413
479
|
.loader {
|
414
480
|
display: flex;
|
415
481
|
flex: 1;
|
@@ -440,7 +506,6 @@ const shopGPTStyles = () => i$3 `
|
|
440
506
|
}
|
441
507
|
}
|
442
508
|
|
443
|
-
.header-sub-title,
|
444
509
|
.chat-header-sub-title {
|
445
510
|
color: #000;
|
446
511
|
font-size: 12px;
|
@@ -453,12 +518,6 @@ const shopGPTStyles = () => i$3 `
|
|
453
518
|
margin: 0;
|
454
519
|
}
|
455
520
|
|
456
|
-
.header-pre-alpha {
|
457
|
-
@media screen and (max-width: 768px) {
|
458
|
-
display: none;
|
459
|
-
}
|
460
|
-
}
|
461
|
-
|
462
521
|
.body {
|
463
522
|
display: flex;
|
464
523
|
flex: 1;
|
@@ -469,6 +528,17 @@ const shopGPTStyles = () => i$3 `
|
|
469
528
|
}
|
470
529
|
}
|
471
530
|
|
531
|
+
.powered-by-tc {
|
532
|
+
text-align: right;
|
533
|
+
color: #000;
|
534
|
+
font-size: 12px;
|
535
|
+
line-height: 150%;
|
536
|
+
|
537
|
+
p {
|
538
|
+
margin: 0;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
|
472
542
|
.products-section {
|
473
543
|
flex: 1 0 0;
|
474
544
|
display: flex;
|
@@ -939,13 +1009,57 @@ const sendFilledIcon = () => b `
|
|
939
1009
|
</svg>
|
940
1010
|
`;
|
941
1011
|
const botIcon = () => b `
|
942
|
-
<svg width="
|
943
|
-
|
944
|
-
<path d="
|
945
|
-
|
946
|
-
|
947
|
-
|
1012
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="11" height="14" viewBox="0 0 11 14" fill="none">
|
1013
|
+
<g clip-path="url(#clip0_12070_2097)">
|
1014
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.80568 0.163439C0.778321 0.218288 0.77832 0.29009 0.77832 0.433692V13.4198C0.77832 13.5635 0.778321 13.6352 0.80568 13.6901C0.829747 13.7383 0.868147 13.7776 0.915379 13.8022C0.969076 13.8301 1.03937 13.8301 1.17995 13.8301H2.11452C2.2551 13.8301 2.32539 13.8301 2.37909 13.8022C2.42632 13.7776 2.46473 13.7383 2.48879 13.6901C2.51615 13.6352 2.51615 13.5635 2.51615 13.4198V12.9615C3.30953 13.6111 4.3166 13.9997 5.41254 13.9997C7.97194 13.9997 10.0468 11.8803 10.0468 9.26597C10.0468 6.65162 7.97194 4.53227 5.41254 4.53227C4.3166 4.53227 3.30953 4.92086 2.51615 5.57051V0.433692C2.51615 0.29009 2.51615 0.218288 2.48879 0.163439C2.46473 0.115193 2.42632 0.0759673 2.37909 0.0513845C2.32539 0.0234375 2.2551 0.0234375 2.11452 0.0234375H1.17995C1.03937 0.0234375 0.969076 0.0234375 0.915379 0.0513845C0.868147 0.0759673 0.829747 0.115193 0.80568 0.163439ZM2.51615 9.26597C2.51615 10.9 3.81291 12.2245 5.41254 12.2245C7.01214 12.2245 8.30892 10.9 8.30892 9.26597C8.30892 7.63202 7.01214 6.30741 5.41254 6.30741C3.81291 6.30741 2.51615 7.63202 2.51615 9.26597Z" fill="white"/>
|
1015
|
+
</g>
|
1016
|
+
<defs>
|
1017
|
+
<clipPath id="clip0_12070_2097">
|
1018
|
+
<rect width="9.33333" height="14" fill="white" transform="translate(0.75)"/>
|
1019
|
+
</clipPath>
|
1020
|
+
</defs>
|
1021
|
+
</svg>
|
948
1022
|
`;
|
1023
|
+
const trueClassicIcon = () => b `<svg xmlns="http://www.w3.org/2000/svg" width="83" height="19" viewBox="0 0 83 19" fill="none">
|
1024
|
+
<g clip-path="url(#clip0_12338_9219)">
|
1025
|
+
<mask id="mask0_12338_9219" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="83" height="19">
|
1026
|
+
<path d="M0.875 0.5H83V18.5H0.875V0.5Z" fill="white"/>
|
1027
|
+
</mask>
|
1028
|
+
<g mask="url(#mask0_12338_9219)">
|
1029
|
+
<path d="M0.875 3.15127C1.5699 3.17412 2.26481 3.19696 2.95901 3.21704V18.182C3.81746 18.1453 4.67381 18.1106 5.53226 18.0767V3.29388L7.61627 3.35412V1.12142C5.36731 1.03835 3.12045 0.944193 0.875 0.844501V3.15127ZM15.4294 11.4984C15.4294 10.543 15.0145 9.74619 14.0087 9.3315C14.9394 9.03519 15.4294 8.28404 15.4294 7.35081V4.20427C15.4294 2.4285 14.326 1.35196 12.2939 1.28135C11.0431 1.24119 9.79504 1.19827 8.54421 1.15258V17.9618C9.40056 17.9306 10.259 17.9023 11.1182 17.8739V10.3942H11.7548C12.5389 10.3942 12.8589 10.7819 12.8589 11.5642V15.7042C12.8589 16.5322 12.9081 17.3145 13.1264 17.8109C13.9855 17.7853 14.8419 17.7597 15.7003 17.7368C15.4785 17.2197 15.4294 16.4235 15.4294 15.5782V11.4984ZM12.8561 7.33073C12.8561 7.97596 12.5613 8.31865 11.997 8.31588C11.7029 8.31588 11.4088 8.31588 11.1154 8.30965V3.37696C11.4088 3.3825 11.7029 3.39081 11.997 3.39981C12.562 3.41365 12.8561 3.76465 12.8561 4.41058V7.33073ZM20.8475 14.6761C20.8475 15.304 20.5281 15.7125 19.9659 15.7215C19.4009 15.7298 19.1068 15.3331 19.1068 14.699V1.48073C18.2489 1.46073 17.3912 1.43789 16.5335 1.41219V15.0133C16.5335 16.7856 17.9542 17.8593 19.9659 17.8109C22.0008 17.7624 23.4215 16.6464 23.4215 14.9101V1.58181C22.5623 1.5645 21.7067 1.54442 20.8475 1.52435V14.6761ZM24.6491 17.5367C26.4797 17.5056 28.3097 17.4772 30.1396 17.4571V15.3698C29.1597 15.3788 28.177 15.3871 27.1971 15.3989V10.3229H29.7219V8.23488C28.8796 8.23488 28.0387 8.22935 27.1971 8.22658V3.74735C28.177 3.75842 29.1597 3.77019 30.1396 3.7785V1.69258C28.3093 1.67018 26.4792 1.64064 24.6491 1.60396V17.5367ZM38.1204 1.61227C36.1087 1.60396 34.7133 2.65765 34.7133 4.36419V14.8416C34.7133 16.546 36.1115 17.6025 38.1204 17.5942C40.1546 17.5852 41.4286 16.5232 41.4314 14.825V11.3219H38.9298V14.5647C38.9298 15.176 38.6616 15.5671 38.0973 15.5671C37.5357 15.5671 37.2873 15.1787 37.2873 14.5674V4.63281C37.2873 4.02219 37.5322 3.63381 38.0973 3.63381C38.6588 3.63381 38.9298 4.02773 38.9298 4.63835V7.64158H41.4314V4.37873C41.4314 2.67981 40.1581 1.61781 38.1204 1.6095V1.61227ZM45.1839 1.7895C44.3346 1.7895 43.4838 1.79504 42.6338 1.79504V17.4135C44.4897 17.4135 46.3428 17.4225 48.1987 17.4343V15.3615C47.1928 15.356 46.1869 15.3532 45.1839 15.3497V1.7895ZM60.3033 1.43227C58.2916 1.47519 56.972 2.57735 56.9692 4.29842V6.79488C56.9692 8.01058 57.436 8.60458 58.1709 9.20135C58.9465 9.86388 59.7242 10.532 60.4999 11.2C60.9407 11.6223 61.0874 11.8937 61.0874 12.6075V14.7024C61.0874 15.3283 60.8424 15.7021 60.2773 15.6931C59.7158 15.6848 59.468 15.3054 59.468 14.6823V11.4423L56.9664 11.434V14.8997C56.9664 16.6208 58.2397 17.7202 60.2745 17.7631C62.2863 17.806 63.6578 16.7385 63.6578 14.9828V12.0419C63.6578 10.8061 63.1945 10.2003 62.4561 9.59527C61.6822 8.92683 60.9061 8.26082 60.1278 7.59727C59.687 7.17704 59.5396 6.91188 59.5396 6.20088V4.51304C59.5396 3.88996 59.7853 3.51058 60.3496 3.50227C60.9147 3.49396 61.1597 3.86781 61.1597 4.49296V7.48165L63.6585 7.46504V4.2105C63.6585 2.45758 62.3354 1.38935 60.3005 1.43504L60.3033 1.43227ZM67.9269 1.24396C65.918 1.30419 64.5949 2.44027 64.5928 4.19319V6.73673C64.5928 7.97596 65.0588 8.57827 65.7938 9.18958C66.5694 9.86596 67.3471 10.5451 68.1227 11.2333C68.5635 11.6673 68.7103 11.9443 68.7103 12.6719V14.816C68.7103 15.4557 68.4653 15.8385 67.9009 15.8267C67.3394 15.8157 67.0909 15.4245 67.0909 14.7903V11.479C66.2577 11.4735 65.4252 11.47 64.5921 11.4652V14.9987C64.5921 16.7517 65.8661 17.8857 67.9009 17.9424C69.9098 17.9992 71.2842 16.9178 71.2842 15.1185V12.1014C71.2842 10.8338 70.8174 10.2114 70.0825 9.59181C69.3091 8.90714 68.5327 8.22568 67.7535 7.54742C67.3127 7.11958 67.166 6.84819 67.166 6.12335V4.39881C67.166 3.76465 67.411 3.37073 67.976 3.35965C68.5404 3.34788 68.7854 3.72796 68.7854 4.36765V7.42488C69.6185 7.41935 70.4517 7.41104 71.2842 7.40481V4.06442C71.2842 2.2665 69.9611 1.18096 67.9269 1.24396ZM72.4375 17.894C73.3015 17.9216 74.1691 17.9507 75.0339 17.9826V1.1955C74.1691 1.22665 73.3015 1.25781 72.4375 1.28689V17.894ZM83 7.40481V3.76258C83 1.8615 81.726 0.737193 79.6911 0.825116C77.6822 0.913732 76.2847 2.11835 76.2847 3.94812V15.2307C76.2847 17.0611 77.6794 18.2657 79.6911 18.3543C81.726 18.4457 82.9972 17.318 83 15.419V11.5109L80.5012 11.4853V15.0569C80.5012 15.7277 80.2302 16.1507 79.668 16.1327C79.1036 16.1126 78.8615 15.6793 78.8587 15.014V4.16758C78.8587 3.4995 79.1036 3.06819 79.668 3.04812C80.233 3.0315 80.5012 3.45104 80.5012 4.12465V7.43388L83 7.40758V7.40481ZM52.4467 1.39835C50.4125 1.42396 48.9911 2.51435 48.9911 4.23335V17.437C49.8503 17.4426 50.7094 17.4481 51.5651 17.4599V13.6418L53.3058 13.6508V17.4765C54.165 17.4848 55.0234 17.4959 55.8798 17.5104V4.17865C55.8798 2.44027 54.4584 1.37481 52.4474 1.40112L52.4467 1.39835ZM51.5651 11.7103V4.48119C51.5651 3.86227 51.8823 3.46212 52.4474 3.45658C53.0117 3.45104 53.303 3.84773 53.3058 4.46735V11.713C52.7268 11.713 52.1442 11.713 51.5651 11.7075V11.7103Z" fill="#2B2A2A"/>
|
1030
|
+
</g>
|
1031
|
+
</g>
|
1032
|
+
<defs>
|
1033
|
+
<clipPath id="clip0_12338_9219">
|
1034
|
+
<rect width="82.125" height="18" fill="white" transform="translate(0.875 0.5)"/>
|
1035
|
+
</clipPath>
|
1036
|
+
</defs>
|
1037
|
+
</svg>`;
|
1038
|
+
const shopGPTIcon = () => b `<svg xmlns="http://www.w3.org/2000/svg" width="105" height="37" viewBox="0 0 105 37" fill="none">
|
1039
|
+
<path d="M10.1239 5.27861C10.0338 4.47936 9.66197 3.86022 9.00845 3.4212C8.35493 2.97655 7.53239 2.75422 6.54084 2.75422C5.83099 2.75422 5.2169 2.86679 4.69859 3.09193C4.18028 3.31144 3.77746 3.61538 3.49014 4.00375C3.20845 4.38649 3.06761 4.8227 3.06761 5.31238C3.06761 5.72326 3.16338 6.07786 3.35493 6.37617C3.55211 6.67448 3.80845 6.92495 4.12394 7.12758C4.44507 7.32458 4.78873 7.49062 5.15493 7.6257C5.52113 7.75516 5.87324 7.8621 6.21127 7.94653L7.90141 8.38555C8.45352 8.52064 9.01972 8.70356 9.6 8.93433C10.1803 9.1651 10.7183 9.46904 11.2141 9.84615C11.7099 10.2233 12.1099 10.6904 12.4141 11.2477C12.7239 11.8049 12.8789 12.4719 12.8789 13.2486C12.8789 14.228 12.6254 15.0976 12.1183 15.8574C11.6169 16.6173 10.8873 17.2167 9.92958 17.6557C8.97746 18.0947 7.82535 18.3143 6.47324 18.3143C5.17746 18.3143 4.05634 18.1088 3.10986 17.6979C2.16338 17.2871 1.42254 16.7045 0.887324 15.9503C0.352113 15.1904 0.056338 14.2899 0 13.2486H2.61972C2.67042 13.8734 2.87324 14.394 3.22817 14.8105C3.58873 15.2214 4.04789 15.5281 4.60563 15.7308C5.16901 15.9278 5.78591 16.0263 6.45634 16.0263C7.19437 16.0263 7.8507 15.9109 8.42535 15.6801C9.00563 15.4437 9.46197 15.1173 9.79437 14.7007C10.1268 14.2786 10.293 13.7861 10.293 13.2233C10.293 12.7111 10.1465 12.2917 9.85352 11.9653C9.5662 11.6388 9.17465 11.3687 8.67887 11.1548C8.18873 10.9409 7.6338 10.7523 7.01408 10.5891L4.96901 10.0319C3.5831 9.65478 2.48451 9.10038 1.67324 8.36867C0.867606 7.63696 0.464789 6.66886 0.464789 5.46435C0.464789 4.4681 0.735211 3.5985 1.27606 2.85553C1.8169 2.11257 2.5493 1.53565 3.47324 1.12477C4.39718 0.708255 5.43944 0.5 6.6 0.5C7.77183 0.5 8.80563 0.705441 9.70141 1.11632C10.6028 1.52721 11.3127 2.09287 11.831 2.81332C12.3493 3.52814 12.6197 4.34991 12.6423 5.27861H10.1239Z" fill="#172A41"/>
|
1040
|
+
<path d="M18.1924 10.3274V18.0272H15.6656V0.736398H18.1586V7.16979H18.3191C18.6233 6.47186 19.0881 5.91745 19.7135 5.50657C20.3388 5.09569 21.1557 4.89024 22.1642 4.89024C23.0543 4.89024 23.8318 5.07317 24.4966 5.43902C25.167 5.80488 25.6853 6.35084 26.0515 7.07692C26.4233 7.79737 26.6093 8.69794 26.6093 9.77861V18.0272H24.0825V10.0826C24.0825 9.13133 23.8374 8.394 23.3473 7.87054C22.8571 7.34146 22.1755 7.07692 21.3022 7.07692C20.705 7.07692 20.1698 7.20356 19.6966 7.45685C19.229 7.71013 18.86 8.08161 18.5895 8.57129C18.3247 9.05535 18.1924 9.64071 18.1924 10.3274Z" fill="#172A41"/>
|
1041
|
+
<path d="M35.3178 18.2889C34.1009 18.2889 33.0389 18.0103 32.1319 17.4531C31.2248 16.8959 30.5206 16.1163 30.0192 15.1144C29.5178 14.1126 29.2671 12.9418 29.2671 11.6023C29.2671 10.257 29.5178 9.08068 30.0192 8.07317C30.5206 7.06567 31.2248 6.2833 32.1319 5.72608C33.0389 5.16886 34.1009 4.89024 35.3178 4.89024C36.5347 4.89024 37.5967 5.16886 38.5037 5.72608C39.4108 6.2833 40.115 7.06567 40.6164 8.07317C41.1178 9.08068 41.3685 10.257 41.3685 11.6023C41.3685 12.9418 41.1178 14.1126 40.6164 15.1144C40.115 16.1163 39.4108 16.8959 38.5037 17.4531C37.5967 18.0103 36.5347 18.2889 35.3178 18.2889ZM35.3263 16.1698C36.115 16.1698 36.7685 15.9615 37.2868 15.545C37.8051 15.1285 38.1882 14.5741 38.4361 13.8818C38.6896 13.1895 38.8164 12.4268 38.8164 11.5938C38.8164 10.7664 38.6896 10.0066 38.4361 9.31426C38.1882 8.61632 37.8051 8.05629 37.2868 7.63415C36.7685 7.21201 36.115 7.00094 35.3263 7.00094C34.5319 7.00094 33.8727 7.21201 33.3488 7.63415C32.8305 8.05629 32.4446 8.61632 32.191 9.31426C31.9432 10.0066 31.8192 10.7664 31.8192 11.5938C31.8192 12.4268 31.9432 13.1895 32.191 13.8818C32.4446 14.5741 32.8305 15.1285 33.3488 15.545C33.8727 15.9615 34.5319 16.1698 35.3263 16.1698Z" fill="#172A41"/>
|
1042
|
+
<path d="M44.058 22.8902V5.0591H46.5257V7.16135H46.7369C46.8834 6.89118 47.0947 6.5788 47.3707 6.2242C47.6468 5.86961 48.0299 5.56004 48.52 5.2955C49.0102 5.02533 49.6581 4.89024 50.4637 4.89024C51.5116 4.89024 52.4468 5.15478 53.2693 5.68387C54.0919 6.21295 54.7369 6.97561 55.2045 7.97186C55.6778 8.96811 55.9144 10.167 55.9144 11.5685C55.9144 12.97 55.6806 14.1717 55.213 15.1735C54.7454 16.1698 54.1031 16.9381 53.2862 17.4784C52.4693 18.0131 51.5369 18.2805 50.489 18.2805C49.7003 18.2805 49.0552 18.1482 48.5538 17.8837C48.058 17.6191 47.6693 17.3096 47.3876 16.955C47.1059 16.6004 46.889 16.2852 46.7369 16.0094H46.5848V22.8902H44.058ZM46.5341 11.5432C46.5341 12.455 46.6665 13.2542 46.9313 13.9409C47.1961 14.6276 47.5792 15.1651 48.0806 15.5535C48.582 15.9362 49.1961 16.1276 49.9228 16.1276C50.6778 16.1276 51.3088 15.9278 51.8158 15.5281C52.3228 15.1229 52.7059 14.5741 52.9651 13.8818C53.2299 13.1895 53.3623 12.4099 53.3623 11.5432C53.3623 10.6876 53.2327 9.91932 52.9735 9.23827C52.72 8.55722 52.3369 8.0197 51.8242 7.6257C51.3172 7.23171 50.6834 7.03471 49.9228 7.03471C49.1904 7.03471 48.5707 7.22326 48.0637 7.60038C47.5623 7.97749 47.182 8.50375 46.9228 9.17917C46.6637 9.8546 46.5341 10.6426 46.5341 11.5432Z" fill="#172A41"/>
|
1043
|
+
<path d="M70.53 6.19887C70.3666 5.68668 70.1469 5.22795 69.8708 4.8227C69.6004 4.41182 69.2765 4.06285 68.899 3.7758C68.5215 3.48311 68.0905 3.26079 67.606 3.10882C67.1272 2.95685 66.6004 2.88086 66.0258 2.88086C65.0511 2.88086 64.1722 3.13133 63.3891 3.63227C62.606 4.13321 61.9863 4.86773 61.53 5.83583C61.0793 6.79831 60.8539 7.97749 60.8539 9.37336C60.8539 10.7749 61.0821 11.9597 61.5384 12.9278C61.9948 13.8959 62.6201 14.6304 63.4145 15.1313C64.2089 15.6323 65.1131 15.8827 66.1272 15.8827C67.068 15.8827 67.8877 15.6914 68.5863 15.3086C69.2905 14.9259 69.8342 14.3856 70.2173 13.6876C70.606 12.9841 70.8004 12.1567 70.8004 11.2054L71.4765 11.3321H66.5243V9.17917H73.3272V11.1463C73.3272 12.5985 73.0173 13.8593 72.3976 14.9287C71.7835 15.9925 70.9328 16.8143 69.8455 17.394C68.7638 17.9737 67.5243 18.2636 66.1272 18.2636C64.561 18.2636 63.1863 17.9034 62.0032 17.1829C60.8258 16.4625 59.9074 15.4409 59.2483 14.1182C58.5891 12.7899 58.2596 11.2139 58.2596 9.39024C58.2596 8.01126 58.4511 6.77298 58.8342 5.67542C59.2173 4.57786 59.7553 3.64634 60.4483 2.88086C61.1469 2.10976 61.9666 1.52158 62.9074 1.11632C63.8539 0.705441 64.8877 0.5 66.0089 0.5C66.9441 0.5 67.8145 0.637899 68.6201 0.913696C69.4314 1.18949 70.1525 1.58068 70.7835 2.08724C71.4201 2.59381 71.9469 3.19606 72.3638 3.894C72.7807 4.5863 73.0624 5.3546 73.2089 6.19887H70.53Z" fill="#172A41"/>
|
1044
|
+
<path d="M76.5111 18.0272V0.736398H82.6801C84.0266 0.736398 85.1421 0.981238 86.0266 1.47092C86.9111 1.9606 87.573 2.63039 88.0125 3.4803C88.4519 4.32458 88.6716 5.2758 88.6716 6.33396C88.6716 7.39775 88.4491 8.3546 88.004 9.2045C87.5646 10.0488 86.8998 10.7186 86.0097 11.2139C85.1252 11.7036 84.0125 11.9484 82.6716 11.9484H78.4294V9.7364H82.435C83.2857 9.7364 83.9759 9.59006 84.5054 9.29737C85.035 8.99906 85.4237 8.59381 85.6716 8.08161C85.9195 7.56942 86.0435 6.98687 86.0435 6.33396C86.0435 5.68105 85.9195 5.10131 85.6716 4.59475C85.4237 4.08818 85.0322 3.69137 84.497 3.40432C83.9674 3.11726 83.2688 2.97373 82.4012 2.97373H79.1223V18.0272H76.5111Z" fill="#172A41"/>
|
1045
|
+
<path d="M90.7485 2.98218V0.736398H104.143V2.98218H98.7429V18.0272H96.14V2.98218H90.7485Z" fill="#172A41"/>
|
1046
|
+
<path d="M0.269894 36.5V28.6989H1.34947V29.6186H1.4419C1.50599 29.5004 1.59842 29.3637 1.71919 29.2086C1.83996 29.0535 2.00757 28.918 2.22201 28.8023C2.43644 28.6841 2.71989 28.625 3.07236 28.625C3.53081 28.625 3.93996 28.7407 4.29982 28.9722C4.65968 29.2037 4.9419 29.5373 5.14648 29.9732C5.35352 30.4091 5.45704 30.9336 5.45704 31.5467C5.45704 32.1599 5.35475 32.6856 5.15018 33.1239C4.9456 33.5598 4.66461 33.8959 4.30722 34.1323C3.94982 34.3663 3.5419 34.4832 3.08345 34.4832C2.73838 34.4832 2.45616 34.4254 2.2368 34.3096C2.01989 34.1939 1.84982 34.0585 1.72658 33.9033C1.60335 33.7482 1.50845 33.6103 1.4419 33.4896H1.37535V36.5H0.269894ZM1.35317 31.5356C1.35317 31.9346 1.41109 32.2842 1.52694 32.5847C1.64278 32.8851 1.81039 33.1203 2.02975 33.2902C2.24912 33.4576 2.51778 33.5413 2.83574 33.5413C3.16602 33.5413 3.44208 33.4539 3.66391 33.2791C3.88574 33.1018 4.05335 32.8617 4.16673 32.5588C4.28257 32.2559 4.34049 31.9149 4.34049 31.5356C4.34049 31.1614 4.2838 30.8252 4.17042 30.5273C4.05951 30.2293 3.8919 29.9941 3.66761 29.8218C3.44577 29.6494 3.16849 29.5632 2.83574 29.5632C2.51532 29.5632 2.24419 29.6457 2.02236 29.8107C1.80299 29.9757 1.63662 30.2059 1.52324 30.5014C1.40986 30.7969 1.35317 31.1417 1.35317 31.5356Z" fill="#4E647F"/>
|
1047
|
+
<path d="M8.95679 34.4869C8.4244 34.4869 7.95978 34.365 7.56295 34.1212C7.16612 33.8775 6.85802 33.5364 6.63866 33.0981C6.41929 32.6598 6.30961 32.1476 6.30961 31.5615C6.30961 30.973 6.41929 30.4583 6.63866 30.0175C6.85802 29.5767 7.16612 29.2345 7.56295 28.9907C7.95978 28.7469 8.4244 28.625 8.95679 28.625C9.48919 28.625 9.9538 28.7469 10.3506 28.9907C10.7475 29.2345 11.0556 29.5767 11.2749 30.0175C11.4943 30.4583 11.604 30.973 11.604 31.5615C11.604 32.1476 11.4943 32.6598 11.2749 33.0981C11.0556 33.5364 10.7475 33.8775 10.3506 34.1212C9.9538 34.365 9.48919 34.4869 8.95679 34.4869ZM8.96049 33.5598C9.30556 33.5598 9.59147 33.4687 9.81824 33.2865C10.045 33.1042 10.2126 32.8617 10.3211 32.5588C10.432 32.2559 10.4874 31.9223 10.4874 31.5578C10.4874 31.1958 10.432 30.8634 10.3211 30.5605C10.2126 30.2552 10.045 30.0101 9.81824 29.8255C9.59147 29.6408 9.30556 29.5484 8.96049 29.5484C8.61295 29.5484 8.32457 29.6408 8.09535 29.8255C7.86859 30.0101 7.69975 30.2552 7.58883 30.5605C7.48038 30.8634 7.42616 31.1958 7.42616 31.5578C7.42616 31.9223 7.48038 32.2559 7.58883 32.5588C7.69975 32.8617 7.86859 33.1042 8.09535 33.2865C8.32457 33.4687 8.61295 33.5598 8.96049 33.5598Z" fill="#4E647F"/>
|
1048
|
+
<path d="M13.7653 34.3724L12.0942 28.6989H13.2366L14.3495 32.8654H14.405L15.5215 28.6989H16.6639L17.7731 32.8469H17.8285L18.934 28.6989H20.0764L18.409 34.3724H17.2814L16.1278 30.2761H16.0428L14.8893 34.3724H13.7653Z" fill="#4E647F"/>
|
1049
|
+
<path d="M23.2693 34.4869C22.7098 34.4869 22.2279 34.3675 21.8237 34.1286C21.422 33.8873 21.1114 33.5487 20.892 33.1129C20.6751 32.6745 20.5667 32.1611 20.5667 31.5726C20.5667 30.9914 20.6751 30.4792 20.892 30.036C21.1114 29.5928 21.417 29.2468 21.8089 28.9981C22.2033 28.7494 22.6642 28.625 23.1917 28.625C23.5121 28.625 23.8227 28.6779 24.1234 28.7838C24.4241 28.8897 24.694 29.0559 24.9331 29.2825C25.1721 29.509 25.3607 29.8033 25.4987 30.1653C25.6367 30.5248 25.7058 30.9619 25.7058 31.4765V31.8681H21.1915V31.0407H24.6225C24.6225 30.7501 24.5633 30.4928 24.445 30.2687C24.3267 30.0422 24.1603 29.8636 23.9459 29.7331C23.7339 29.6026 23.485 29.5373 23.1991 29.5373C22.8885 29.5373 22.6174 29.6137 22.3857 29.7664C22.1565 29.9166 21.979 30.1136 21.8533 30.3574C21.7301 30.5987 21.6684 30.8609 21.6684 31.1441V31.7905C21.6684 32.1697 21.735 32.4923 21.8681 32.7583C22.0036 33.0242 22.1922 33.2274 22.4338 33.3677C22.6753 33.5056 22.9575 33.5746 23.2804 33.5746C23.4899 33.5746 23.6809 33.545 23.8535 33.4859C24.026 33.4244 24.1751 33.3333 24.3008 33.2126C24.4265 33.0919 24.5227 32.943 24.5892 32.7657L25.6355 32.954C25.5517 33.2618 25.4014 33.5315 25.1845 33.763C24.97 33.992 24.7001 34.1705 24.3748 34.2985C24.0519 34.4241 23.6834 34.4869 23.2693 34.4869Z" fill="#4E647F"/>
|
1050
|
+
<path d="M26.8014 34.3724V28.6989H27.8699V29.6001H27.9291C28.0326 29.2948 28.215 29.0547 28.4762 28.8799C28.74 28.7026 29.0382 28.6139 29.371 28.6139C29.44 28.6139 29.5213 28.6164 29.615 28.6213C29.7111 28.6262 29.7863 28.6324 29.8405 28.6398V29.6962C29.7961 29.6839 29.7173 29.6703 29.6039 29.6555C29.4905 29.6383 29.3771 29.6297 29.2637 29.6297C29.0025 29.6297 28.7696 29.6851 28.565 29.7959C28.3629 29.9043 28.2027 30.0557 28.0843 30.2502C27.966 30.4423 27.9069 30.6615 27.9069 30.9077V34.3724H26.8014Z" fill="#4E647F"/>
|
1051
|
+
<path d="M32.9104 34.4869C32.3509 34.4869 31.8691 34.3675 31.4649 34.1286C31.0631 33.8873 30.7525 33.5487 30.5332 33.1129C30.3163 32.6745 30.2078 32.1611 30.2078 31.5726C30.2078 30.9914 30.3163 30.4792 30.5332 30.036C30.7525 29.5928 31.0582 29.2468 31.4501 28.9981C31.8444 28.7494 32.3053 28.625 32.8328 28.625C33.1532 28.625 33.4638 28.6779 33.7645 28.7838C34.0652 28.8897 34.3351 29.0559 34.5742 29.2825C34.8133 29.509 35.0018 29.8033 35.1399 30.1653C35.2779 30.5248 35.3469 30.9619 35.3469 31.4765V31.8681H30.8326V31.0407H34.2636C34.2636 30.7501 34.2045 30.4928 34.0862 30.2687C33.9678 30.0422 33.8015 29.8636 33.587 29.7331C33.3751 29.6026 33.1261 29.5373 32.8402 29.5373C32.5296 29.5373 32.2585 29.6137 32.0268 29.7664C31.7976 29.9166 31.6201 30.1136 31.4944 30.3574C31.3712 30.5987 31.3096 30.8609 31.3096 31.1441V31.7905C31.3096 32.1697 31.3761 32.4923 31.5092 32.7583C31.6448 33.0242 31.8333 33.2274 32.0749 33.3677C32.3164 33.5056 32.5987 33.5746 32.9215 33.5746C33.1311 33.5746 33.3221 33.545 33.4946 33.4859C33.6671 33.4244 33.8163 33.3333 33.942 33.2126C34.0677 33.0919 34.1638 32.943 34.2303 32.7657L35.2766 32.954C35.1928 33.2618 35.0425 33.5315 34.8256 33.763C34.6112 33.992 34.3413 34.1705 34.0159 34.2985C33.693 34.4241 33.3245 34.4869 32.9104 34.4869Z" fill="#4E647F"/>
|
1052
|
+
<path d="M38.5684 34.4832C38.11 34.4832 37.7008 34.3663 37.341 34.1323C36.9836 33.8959 36.7026 33.5598 36.498 33.1239C36.2959 32.6856 36.1948 32.1599 36.1948 31.5467C36.1948 30.9336 36.2971 30.4091 36.5017 29.9732C36.7087 29.5373 36.9922 29.2037 37.3521 28.9722C37.7119 28.7407 38.1198 28.625 38.5758 28.625C38.9283 28.625 39.2117 28.6841 39.4262 28.8023C39.6431 28.918 39.8107 29.0535 39.929 29.2086C40.0498 29.3637 40.1434 29.5004 40.21 29.6186H40.2765V26.8077H41.382V34.3724H40.3024V33.4896H40.21C40.1434 33.6103 40.0473 33.7482 39.9216 33.9033C39.7984 34.0585 39.6283 34.1939 39.4114 34.3096C39.1945 34.4254 38.9135 34.4832 38.5684 34.4832ZM38.8124 33.5413C39.1304 33.5413 39.3991 33.4576 39.6184 33.2902C39.8403 33.1203 40.0079 32.8851 40.1213 32.5847C40.2371 32.2842 40.295 31.9346 40.295 31.5356C40.295 31.1417 40.2383 30.7969 40.1249 30.5014C40.0116 30.2059 39.8452 29.9757 39.6258 29.8107C39.4065 29.6457 39.1353 29.5632 38.8124 29.5632C38.4797 29.5632 38.2024 29.6494 37.9806 29.8218C37.7587 29.9941 37.5911 30.2293 37.4778 30.5273C37.3668 30.8252 37.3114 31.1614 37.3114 31.5356C37.3114 31.9149 37.3681 32.2559 37.4815 32.5588C37.5948 32.8617 37.7624 33.1018 37.9843 33.2791C38.2086 33.4539 38.4846 33.5413 38.8124 33.5413Z" fill="#4E647F"/>
|
1053
|
+
<path d="M45.542 34.3724V26.8077H46.6475V29.6186H46.7141C46.7781 29.5004 46.8706 29.3637 46.9913 29.2086C47.1121 29.0535 47.2797 28.918 47.4942 28.8023C47.7086 28.6841 47.9921 28.625 48.3445 28.625C48.803 28.625 49.2121 28.7407 49.572 28.9722C49.9318 29.2037 50.2141 29.5373 50.4186 29.9732C50.6257 30.4091 50.7292 30.9336 50.7292 31.5467C50.7292 32.1599 50.6269 32.6856 50.4223 33.1239C50.2178 33.5598 49.9368 33.8959 49.5794 34.1323C49.222 34.3663 48.8141 34.4832 48.3556 34.4832C48.0105 34.4832 47.7283 34.4254 47.509 34.3096C47.292 34.1939 47.122 34.0585 46.9987 33.9033C46.8755 33.7482 46.7806 33.6103 46.7141 33.4896H46.6216V34.3724H45.542ZM46.6253 31.5356C46.6253 31.9346 46.6832 32.2842 46.7991 32.5847C46.9149 32.8851 47.0825 33.1203 47.3019 33.2902C47.5213 33.4576 47.7899 33.5413 48.1079 33.5413C48.4382 33.5413 48.7142 33.4539 48.9361 33.2791C49.1579 33.1018 49.3255 32.8617 49.4389 32.5588C49.5547 32.2559 49.6126 31.9149 49.6126 31.5356C49.6126 31.1614 49.556 30.8252 49.4426 30.5273C49.3317 30.2293 49.1641 29.9941 48.9398 29.8218C48.7179 29.6494 48.4406 29.5632 48.1079 29.5632C47.7875 29.5632 47.5163 29.6457 47.2945 29.8107C47.0751 29.9757 46.9088 30.2059 46.7954 30.5014C46.682 30.7969 46.6253 31.1417 46.6253 31.5356Z" fill="#4E647F"/>
|
1054
|
+
<path d="M52.3452 36.5C52.1801 36.5 52.0297 36.4865 51.8942 36.4594C51.7586 36.4347 51.6576 36.4077 51.591 36.3781L51.8572 35.4731C52.0593 35.5273 52.2393 35.5507 52.397 35.5433C52.5547 35.5359 52.694 35.4768 52.8148 35.366C52.938 35.2552 53.0465 35.0742 53.1401 34.8231L53.2769 34.4463L51.1991 28.6989H52.3822L53.8204 33.1018H53.8796L55.3178 28.6989H56.5046L54.1642 35.1296C54.0558 35.4251 53.9178 35.6751 53.7502 35.8795C53.5826 36.0863 53.3829 36.2414 53.1512 36.3449C52.9195 36.4483 52.6509 36.5 52.3452 36.5Z" fill="#4E647F"/>
|
1055
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M60.5232 26.2954C60.507 26.3274 60.507 26.3693 60.507 26.4532V34.0339C60.507 34.1178 60.507 34.1597 60.5232 34.1917C60.5374 34.2198 60.56 34.2428 60.5879 34.2571C60.6196 34.2734 60.661 34.2734 60.7439 34.2734H61.2952C61.3781 34.2734 61.4196 34.2734 61.4513 34.2571C61.4791 34.2428 61.5018 34.2198 61.516 34.1917C61.5321 34.1597 61.5321 34.1178 61.5321 34.0339V33.7664C62.0001 34.1456 62.5941 34.3724 63.2406 34.3724C64.7502 34.3724 65.9741 33.1352 65.9741 31.6091C65.9741 30.0829 64.7502 28.8457 63.2406 28.8457C62.5941 28.8457 62.0001 29.0726 61.5321 29.4518V26.4532C61.5321 26.3693 61.5321 26.3274 61.516 26.2954C61.5018 26.2672 61.4791 26.2443 61.4513 26.23C61.4196 26.2137 61.3781 26.2137 61.2952 26.2137H60.7439C60.661 26.2137 60.6196 26.2137 60.5879 26.23C60.56 26.2443 60.5374 26.2672 60.5232 26.2954ZM61.5321 31.6091C61.5321 32.5629 62.297 33.3362 63.2406 33.3362C64.1841 33.3362 64.949 32.5629 64.949 31.6091C64.949 30.6552 64.1841 29.882 63.2406 29.882C62.297 29.882 61.5321 30.6552 61.5321 31.6091Z" fill="#F25C2B"/>
|
1056
|
+
<path d="M88.2382 29.0703C88.2221 29.1023 88.2221 29.1442 88.2221 29.2281V31.8302C88.2196 32.0036 88.1831 32.175 88.1149 32.3353C88.0442 32.5015 87.9407 32.6525 87.8101 32.7797C87.7732 32.8156 87.7344 32.8494 87.6938 32.881C87.585 32.9797 87.4613 33.0596 87.3276 33.1173C87.1653 33.1873 86.9915 33.2234 86.8158 33.2234C86.6403 33.2234 86.4663 33.1873 86.3041 33.1173C86.1702 33.0595 86.0463 32.9795 85.9374 32.8805C85.897 32.8491 85.8584 32.8154 85.8217 32.7797C85.6911 32.6525 85.5875 32.5015 85.5169 32.3353C85.4487 32.175 85.4124 32.0036 85.41 31.8302L85.4097 29.2282C85.4097 29.1443 85.4096 29.1024 85.3935 29.0704C85.3793 29.0422 85.3567 29.0193 85.3288 29.005C85.2971 28.9887 85.2557 28.9887 85.1727 28.9887H84.6215C84.5386 28.9887 84.4971 28.9887 84.4654 29.005C84.4376 29.0193 84.4149 29.0422 84.4007 29.0704C84.3846 29.1024 84.3846 29.1443 84.3846 29.2282V31.8302C84.3846 32.1628 84.4475 32.4922 84.5697 32.7995C84.5786 32.822 84.5878 32.8443 84.5973 32.8664C84.7182 33.1474 84.8874 33.4033 85.0967 33.6213C85.3224 33.8566 85.5905 34.0431 85.8855 34.1704C86.1804 34.2977 86.4966 34.3633 86.8158 34.3633C87.1351 34.3633 87.4513 34.2977 87.7462 34.1704C88.0412 34.0431 88.3093 33.8566 88.535 33.6213C88.7443 33.4033 88.9135 33.1474 89.0344 32.8664C89.0439 32.8443 89.0531 32.822 89.0621 32.7995C89.1842 32.4922 89.2471 32.1628 89.2471 31.8302V29.2281C89.2471 29.1442 89.2471 29.1023 89.231 29.0703C89.2168 29.0421 89.1941 29.0192 89.1663 29.0049C89.1346 28.9886 89.0931 28.9886 89.0102 28.9886H88.459C88.376 28.9886 88.3346 28.9886 88.3029 29.0049C88.275 29.0192 88.2524 29.0421 88.2382 29.0703Z" fill="#F25C2B"/>
|
1057
|
+
<path d="M66.8112 26.4393C66.8112 26.3555 66.8112 26.3136 66.8273 26.2815C66.8415 26.2534 66.8642 26.2305 66.8921 26.2161C66.9237 26.1998 66.9652 26.1998 67.0481 26.1998H67.5994C67.6823 26.1998 67.7238 26.1998 67.7554 26.2161C67.7833 26.2305 67.8059 26.2534 67.8201 26.2815C67.8363 26.3136 67.8363 26.3555 67.8363 26.4393V34.0201C67.8363 34.1039 67.8363 34.1458 67.8201 34.1778C67.8059 34.206 67.7833 34.2289 67.7554 34.2433C67.7238 34.2595 67.6823 34.2595 67.5994 34.2595H67.0481C66.9652 34.2595 66.9237 34.2595 66.8921 34.2433C66.8642 34.2289 66.8415 34.206 66.8273 34.1778C66.8112 34.1458 66.8112 34.1039 66.8112 34.0201V26.4393Z" fill="#F25C2B"/>
|
1058
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M71.4069 33.327C72.3504 33.327 73.1154 32.5538 73.1154 31.5999C73.1154 30.6461 72.3504 29.8728 71.4069 29.8728C70.4633 29.8728 69.6984 30.6461 69.6984 31.5999C69.6984 32.5538 70.4633 33.327 71.4069 33.327ZM71.4069 34.3633C72.9166 34.3633 74.1404 33.1261 74.1404 31.5999C74.1404 30.0738 72.9166 28.8366 71.4069 28.8366C69.8972 28.8366 68.6734 30.0738 68.6734 31.5999C68.6734 33.1261 69.8972 34.3633 71.4069 34.3633Z" fill="#F25C2B"/>
|
1059
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M80.8045 33.327C81.748 33.327 82.5129 32.5538 82.5129 31.5999C82.5129 30.6461 81.748 29.8728 80.8045 29.8728C79.8609 29.8728 79.096 30.6461 79.096 31.5999C79.096 32.5538 79.8609 33.327 80.8045 33.327ZM80.8045 34.3633C82.3141 34.3633 83.538 33.1261 83.538 31.5999C83.538 30.0738 82.3141 28.8366 80.8045 28.8366C79.2948 28.8366 78.0709 30.0738 78.0709 31.5999C78.0709 33.1261 79.2948 34.3633 80.8045 34.3633Z" fill="#F25C2B"/>
|
1060
|
+
<path d="M75.2265 26.1998C75.1436 26.1998 75.1021 26.1998 75.0705 26.2161C75.0426 26.2305 75.02 26.2534 75.0058 26.2815C74.9896 26.3135 74.9896 26.3555 74.9896 26.4393V27.4083H74.6394C74.5593 27.4083 74.5183 27.4086 74.4872 27.4247C74.4593 27.439 74.4367 27.4619 74.4225 27.49C74.4063 27.5221 74.4063 27.564 74.4063 27.6478V28.2051C74.4063 28.2889 74.4063 28.3308 74.4225 28.3628C74.4367 28.391 74.4593 28.4139 74.4872 28.4282C74.5188 28.4446 74.5603 28.4446 74.6432 28.4446H74.9896V32.5994H74.9882C74.9878 32.6063 74.9874 32.6131 74.987 32.62C74.9876 32.6359 74.9885 32.6518 74.9896 32.6676V32.7073L74.9918 32.7072C75.0376 33.5766 75.7476 34.2581 76.6088 34.2595C76.7762 34.2594 76.9423 34.233 77.1013 34.1816C77.1703 34.1593 77.2245 34.0768 77.2243 34.0035L77.2261 33.2371C77.2261 33.2257 77.224 33.2075 77.2211 33.1964C77.2206 33.1945 77.22 33.1924 77.2194 33.1903C77.2148 33.1737 77.2005 33.1492 77.1865 33.1391C77.1828 33.1365 77.1347 33.1088 77.0944 33.1334C77.0512 33.1536 77.0505 33.154 77.0498 33.1543C77.0388 33.1596 77.0016 33.1737 76.9842 33.1839C76.8335 33.2484 76.8109 33.2469 76.7666 33.2532C76.7363 33.2575 76.7058 33.2596 76.6752 33.2596C76.6174 33.2596 76.56 33.252 76.5042 33.2369C76.4485 33.2218 76.3949 33.1993 76.3449 33.1702C76.3181 33.1523 76.2927 33.1326 76.2687 33.1111C76.2546 33.1011 76.241 33.0905 76.2278 33.0793C76.2212 33.0744 76.2146 33.0693 76.2081 33.0641C76.2064 33.0618 76.2047 33.0596 76.203 33.0573C76.0832 32.9441 76.0151 32.7858 76.0147 32.62C76.0151 32.6146 76.0157 32.6092 76.0163 32.6039C76.0157 32.5999 76.0152 32.5959 76.0147 32.592V28.4446H76.9737C77.0566 28.4446 77.0981 28.4446 77.1298 28.4282C77.1576 28.4139 77.1803 28.391 77.1945 28.3628C77.2106 28.3308 77.2106 28.2889 77.2106 28.2051V27.6478C77.2106 27.564 77.2106 27.5221 77.1945 27.49C77.1803 27.4619 77.1576 27.439 77.1298 27.4247C77.0981 27.4083 77.0566 27.4083 76.9737 27.4083H76.0147V26.4393C76.0147 26.3555 76.0147 26.3135 75.9985 26.2815C75.9843 26.2534 75.9617 26.2305 75.9338 26.2161C75.9021 26.1998 75.8607 26.1998 75.7778 26.1998H75.2265Z" fill="#F25C2B"/>
|
1061
|
+
<path d="M90.323 26.2117C90.2401 26.2117 90.1986 26.2117 90.1669 26.2281C90.1391 26.2424 90.1165 26.2653 90.1022 26.2934C90.0861 26.3255 90.0861 26.3674 90.0861 26.4512V27.4203H89.7359C89.6558 27.4203 89.6148 27.4205 89.5836 27.4366C89.5558 27.4509 89.5331 27.4738 89.5189 27.502C89.5028 27.534 89.5028 27.5759 89.5028 27.6597V28.217C89.5028 28.3008 89.5028 28.3427 89.5189 28.3748C89.5331 28.4029 89.5558 28.4258 89.5836 28.4402C89.6153 28.4565 89.6568 28.4565 89.7397 28.4565H90.0861V32.6113H90.0847C90.0843 32.6182 90.0838 32.6251 90.0835 32.6319C90.0841 32.6478 90.085 32.6637 90.0861 32.6795V32.7192L90.0883 32.7191C90.1341 33.5885 90.844 34.2701 91.7052 34.2715C91.8727 34.2713 92.0388 34.245 92.1978 34.1936C92.2668 34.1713 92.321 34.0887 92.3208 34.0154L92.3225 33.249C92.3226 33.2376 92.3205 33.2194 92.3176 33.2084C92.317 33.2064 92.3165 33.2043 92.3159 33.2022C92.3113 33.1856 92.297 33.1611 92.283 33.151C92.2793 33.1484 92.2311 33.1207 92.1908 33.1453C92.1477 33.1656 92.147 33.1659 92.1463 33.1662C92.1353 33.1715 92.0981 33.1856 92.0807 33.1958C91.9299 33.2603 91.9074 33.2589 91.8631 33.2651C91.8328 33.2694 91.8023 33.2716 91.7716 33.2716C91.7139 33.2716 91.6565 33.2639 91.6007 33.2488C91.5449 33.2337 91.4914 33.2113 91.4414 33.1821C91.4146 33.1643 91.3891 33.1445 91.3652 33.123C91.3511 33.113 91.3375 33.1024 91.3243 33.0912C91.3176 33.0863 91.3111 33.0812 91.3046 33.076C91.3029 33.0738 91.3012 33.0715 91.2995 33.0692C91.1797 32.956 91.1115 32.7977 91.1112 32.6319C91.1116 32.6265 91.1121 32.6212 91.1127 32.6158C91.1122 32.6118 91.1116 32.6079 91.1112 32.6039V28.4565H92.0702C92.1531 28.4565 92.1946 28.4565 92.2262 28.4402C92.2541 28.4258 92.2767 28.4029 92.2909 28.3748C92.3071 28.3427 92.3071 28.3008 92.3071 28.217V27.6597C92.3071 27.5759 92.3071 27.534 92.2909 27.502C92.2767 27.4738 92.2541 27.4509 92.2262 27.4366C92.1946 27.4203 92.1531 27.4203 92.0702 27.4203H91.1112V26.4512C91.1112 26.3674 91.1112 26.3255 91.095 26.2934C91.0808 26.2653 91.0582 26.2424 91.0303 26.2281C90.9986 26.2117 90.9572 26.2117 90.8743 26.2117H90.323Z" fill="#F25C2B"/>
|
1062
|
+
</svg>`;
|
949
1063
|
|
950
1064
|
const IMAGE_WIDTHS = [165, 360, 533, 720, 940, 1066, 1600];
|
951
1065
|
const getImageProperties = (src) => {
|
@@ -965,7 +1079,6 @@ const getImageProperties = (src) => {
|
|
965
1079
|
let ShopGPT = class ShopGPT extends s {
|
966
1080
|
constructor() {
|
967
1081
|
super(...arguments);
|
968
|
-
this.recommendedProduct = null;
|
969
1082
|
this.moreRecommendations = [];
|
970
1083
|
this.chatbotMessages = [];
|
971
1084
|
this.userMessage = '';
|
@@ -1004,7 +1117,7 @@ let ShopGPT = class ShopGPT extends s {
|
|
1004
1117
|
});
|
1005
1118
|
}
|
1006
1119
|
async loadHistory() {
|
1007
|
-
var _a, _b, _c;
|
1120
|
+
var _a, _b, _c, _d;
|
1008
1121
|
try {
|
1009
1122
|
this.isLoadingHistory = true;
|
1010
1123
|
const data = await this.shopGPTAPI.fetchChatHistory();
|
@@ -1017,8 +1130,8 @@ let ShopGPT = class ShopGPT extends s {
|
|
1017
1130
|
product: ((_a = message.products) === null || _a === void 0 ? void 0 : _a.length) ? message.products[0] : null,
|
1018
1131
|
});
|
1019
1132
|
});
|
1020
|
-
if (((_a = data[0]) === null || _a === void 0 ? void 0 : _a.sender) === 'bot' && ((_c = (_b = data[0]) === null || _b === void 0 ? void 0 : _b.products) === null || _c === void 0 ? void 0 : _c.length)
|
1021
|
-
const products = data[0].products.map((product) => ({
|
1133
|
+
if (((_a = data[0]) === null || _a === void 0 ? void 0 : _a.sender) === 'bot' && ((_c = (_b = data[0]) === null || _b === void 0 ? void 0 : _b.products) === null || _c === void 0 ? void 0 : _c.length)) {
|
1134
|
+
const products = (_d = data[0].products) === null || _d === void 0 ? void 0 : _d.map((product) => ({
|
1022
1135
|
...product,
|
1023
1136
|
quantity: 1,
|
1024
1137
|
}));
|
@@ -1034,6 +1147,7 @@ let ShopGPT = class ShopGPT extends s {
|
|
1034
1147
|
}
|
1035
1148
|
}
|
1036
1149
|
async loadInitialQuery() {
|
1150
|
+
var _a, _b, _c, _d;
|
1037
1151
|
const productHandle = this.storeAPI.getCurrentProductHandle();
|
1038
1152
|
if (this.chatbotMessages.length) {
|
1039
1153
|
return;
|
@@ -1042,11 +1156,11 @@ let ShopGPT = class ShopGPT extends s {
|
|
1042
1156
|
this.isTyping = true;
|
1043
1157
|
const reply = await this.shopGPTAPI.processQuery('', productHandle);
|
1044
1158
|
this.chatbotMessages = [
|
1045
|
-
{ sender: 'bot', message: reply.message, product: reply.products[0] },
|
1159
|
+
{ sender: 'bot', message: reply.message, product: (_a = reply.products) === null || _a === void 0 ? void 0 : _a[0] },
|
1046
1160
|
...this.chatbotMessages,
|
1047
1161
|
];
|
1048
|
-
this.recommendedProduct = reply.products[0];
|
1049
|
-
this.moreRecommendations = reply.products.slice(1, 4);
|
1162
|
+
this.recommendedProduct = (_b = reply.products) === null || _b === void 0 ? void 0 : _b[0];
|
1163
|
+
this.moreRecommendations = (_d = (_c = reply.products) === null || _c === void 0 ? void 0 : _c.slice(1, 4)) !== null && _d !== void 0 ? _d : [];
|
1050
1164
|
this.setChatWindowHeight();
|
1051
1165
|
}
|
1052
1166
|
catch (error) {
|
@@ -1075,10 +1189,11 @@ let ShopGPT = class ShopGPT extends s {
|
|
1075
1189
|
});
|
1076
1190
|
}
|
1077
1191
|
resetProductRecommendations() {
|
1078
|
-
this.recommendedProduct =
|
1192
|
+
this.recommendedProduct = undefined;
|
1079
1193
|
this.moreRecommendations = [];
|
1080
1194
|
}
|
1081
1195
|
async sendMessageToServer(e, message) {
|
1196
|
+
var _a, _b, _c, _d;
|
1082
1197
|
e.preventDefault();
|
1083
1198
|
e.stopPropagation();
|
1084
1199
|
if (!message || this.isTyping || this.isLoadingHistory) {
|
@@ -1097,11 +1212,11 @@ let ShopGPT = class ShopGPT extends s {
|
|
1097
1212
|
return;
|
1098
1213
|
}
|
1099
1214
|
this.chatbotMessages = [
|
1100
|
-
{ sender: 'bot', message: reply.message, product: reply.products[0] },
|
1215
|
+
{ sender: 'bot', message: reply.message, product: (_a = reply.products) === null || _a === void 0 ? void 0 : _a[0] },
|
1101
1216
|
...this.chatbotMessages,
|
1102
1217
|
];
|
1103
|
-
this.recommendedProduct = reply.products[0];
|
1104
|
-
this.moreRecommendations = reply.products.slice(1, 4);
|
1218
|
+
this.recommendedProduct = (_b = reply.products) === null || _b === void 0 ? void 0 : _b[0];
|
1219
|
+
this.moreRecommendations = (_d = (_c = reply.products) === null || _c === void 0 ? void 0 : _c.slice(1, 4)) !== null && _d !== void 0 ? _d : [];
|
1105
1220
|
this.setChatWindowHeight();
|
1106
1221
|
}
|
1107
1222
|
catch (e) {
|
@@ -1144,13 +1259,18 @@ let ShopGPT = class ShopGPT extends s {
|
|
1144
1259
|
}
|
1145
1260
|
render() {
|
1146
1261
|
return x `
|
1262
|
+
<div class="mobile-version">
|
1263
|
+
Please switch to the desktop version for the best experience.
|
1264
|
+
</div>
|
1147
1265
|
<div class="container">
|
1148
1266
|
<div class="header">
|
1149
|
-
|
1150
|
-
|
1151
|
-
<p
|
1267
|
+
${shopGPTIcon()}
|
1268
|
+
<div class="powered-by-tc">
|
1269
|
+
<p>Product catalogue powered by</p>
|
1270
|
+
<a href="https://www.trueclassictees.com" target="_blank">
|
1271
|
+
${trueClassicIcon()}
|
1272
|
+
</a>
|
1152
1273
|
</div>
|
1153
|
-
<div class="header-pre-alpha">Pre-Alpha Release v0.1</div>
|
1154
1274
|
</div>
|
1155
1275
|
|
1156
1276
|
<div class="body">${this.productSection()} ${this.chatSection()}</div>
|
@@ -1167,7 +1287,7 @@ let ShopGPT = class ShopGPT extends s {
|
|
1167
1287
|
})}
|
1168
1288
|
>
|
1169
1289
|
<div class="product-section recommended-product">
|
1170
|
-
<h2>Recommended
|
1290
|
+
<h2>Highly Recommended</h2>
|
1171
1291
|
${!((_a = this.recommendedProduct) === null || _a === void 0 ? void 0 : _a.id)
|
1172
1292
|
? x `
|
1173
1293
|
<p class="no-product-text">
|
@@ -1226,7 +1346,7 @@ let ShopGPT = class ShopGPT extends s {
|
|
1226
1346
|
'show-more-sml': this.showMore,
|
1227
1347
|
})}
|
1228
1348
|
>
|
1229
|
-
<h2>
|
1349
|
+
<h2>Alternatives</h2>
|
1230
1350
|
${this.moreRecommendations.length === 0
|
1231
1351
|
? x `
|
1232
1352
|
<p class="no-product-text">
|
@@ -1286,6 +1406,13 @@ let ShopGPT = class ShopGPT extends s {
|
|
1286
1406
|
</div>
|
1287
1407
|
`;
|
1288
1408
|
}
|
1409
|
+
typingIndicator() {
|
1410
|
+
return x `<div class="typing-dots">
|
1411
|
+
<div class="dot"></div>
|
1412
|
+
<div class="dot"></div>
|
1413
|
+
<div class="dot"></div>
|
1414
|
+
</div>`;
|
1415
|
+
}
|
1289
1416
|
chatWindow() {
|
1290
1417
|
if (this.isLoadingHistory) {
|
1291
1418
|
return x ` <div class="loader"><div class="spinner"></div></div> `;
|
@@ -1294,13 +1421,13 @@ let ShopGPT = class ShopGPT extends s {
|
|
1294
1421
|
<div class="chat-window">
|
1295
1422
|
${this.isTyping
|
1296
1423
|
? x `<div class="bot-message-container">
|
1297
|
-
|
1298
|
-
|
1424
|
+
<div class="bot-icon">${botIcon()}</div>
|
1425
|
+
${this.typingIndicator()}
|
1299
1426
|
</div>`
|
1300
1427
|
: ''}
|
1301
1428
|
${this.isFailed
|
1302
1429
|
? x `<div class="bot-message-container">
|
1303
|
-
|
1430
|
+
<div class="bot-icon">${botIcon()}</div>
|
1304
1431
|
<div class="message bot">
|
1305
1432
|
Something went wrong please try again!
|
1306
1433
|
</div>
|
@@ -1310,7 +1437,7 @@ let ShopGPT = class ShopGPT extends s {
|
|
1310
1437
|
if (message.sender === 'bot') {
|
1311
1438
|
return x `
|
1312
1439
|
<div class="bot-message-container">
|
1313
|
-
|
1440
|
+
<div class="bot-icon">${botIcon()}</div>
|
1314
1441
|
<div class="message bot">
|
1315
1442
|
${message.message ? x `<p>${message.message}</p>` : T}
|
1316
1443
|
${message.product
|