@apify/ui-library 0.56.1-featurepublishuilibrary-0a4729.38395 → 0.57.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/CHANGELOG.md CHANGED
@@ -3,6 +3,113 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 0.57.0 (2025-02-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **app:** Break links in actor issues comments anywhere ([#17206](https://github.com/apify/apify-core/issues/17206)) ([5353a3d](https://github.com/apify/apify-core/commit/5353a3d5249c024e0eaefe5c943a15338aa4a938))
12
+ * **app:** Correct action link color ([#18073](https://github.com/apify/apify-core/issues/18073)) ([8f5e59e](https://github.com/apify/apify-core/commit/8f5e59e6f1b42d2a3d320de6585d1f90f8f0cae0))
13
+ * **app:** double scrollbar for code component ([#18914](https://github.com/apify/apify-core/issues/18914)) ([a0b7957](https://github.com/apify/apify-core/commit/a0b7957d20828e0c8c999bfa1e2f9de5c745095a))
14
+ * **app:** Fix numbering issues in ordered lists in issue comments ([#17444](https://github.com/apify/apify-core/issues/17444)) ([39abe98](https://github.com/apify/apify-core/commit/39abe98b6b85b61e0678b7510413a8bacfaf778a))
15
+ * **app:** fix of lagging TOC component ([#15605](https://github.com/apify/apify-core/issues/15605)) ([5069a2f](https://github.com/apify/apify-core/commit/5069a2f2aaa6726b6ebd3bff3b4d15b9b5b4ea1a))
16
+ * **app:** Fix some package vulnerabilities ([#17606](https://github.com/apify/apify-core/issues/17606)) ([ecdbed1](https://github.com/apify/apify-core/commit/ecdbed1b9e6b8408a530e30394e153070923619e))
17
+ * **app:** Fixed redirect to store after oAuth sign up ([#15655](https://github.com/apify/apify-core/issues/15655)) ([5f172f8](https://github.com/apify/apify-core/commit/5f172f8e1fd6d0cd5f9109181d12e6bd1631e966))
18
+ * **app:** fixing web scrolling issue ([#19576](https://github.com/apify/apify-core/issues/19576)) ([e0fce1f](https://github.com/apify/apify-core/commit/e0fce1f85d96612454c9d5d574363a4524afcb90))
19
+ * **app:** markdown links ([#17225](https://github.com/apify/apify-core/issues/17225)) ([3e20ee3](https://github.com/apify/apify-core/commit/3e20ee3e295c29230efc0a1830a013725c614447))
20
+ * **app:** propagate image props ([#17958](https://github.com/apify/apify-core/issues/17958)) ([f0e12bd](https://github.com/apify/apify-core/commit/f0e12bdbbf79c816cf89c40f3b7c4630b78371a5))
21
+ * **app:** set integration card icons background to contrasting color ([#18586](https://github.com/apify/apify-core/issues/18586)) ([80a943e](https://github.com/apify/apify-core/commit/80a943e9fa403a5be21e6807f7944e3a9e1492c9))
22
+ * **app:** store categories fix ([#16092](https://github.com/apify/apify-core/issues/16092)) ([e1b7f42](https://github.com/apify/apify-core/commit/e1b7f42c786d9f7bf33744a623b5296af7d638a6))
23
+ * **app:** tron overlay transparency ([#17609](https://github.com/apify/apify-core/issues/17609)) ([c7ee9fc](https://github.com/apify/apify-core/commit/c7ee9fc0d908a98dd19cf7e273466f5ab4e622b0))
24
+ * **app:** Update tokens from Supernova [internal] ([#18219](https://github.com/apify/apify-core/issues/18219)) ([5be93a6](https://github.com/apify/apify-core/commit/5be93a69215680af1de7db409fd4bea0ec0b87df))
25
+ * **app:** updating package versions to fix broken workflow ([#15209](https://github.com/apify/apify-core/issues/15209)) ([d6cd3c6](https://github.com/apify/apify-core/commit/d6cd3c6c31556aef6ebb1b7d66bd2d98d82972e4))
26
+ * **app:** Warning/error message alignment improvement ([#19684](https://github.com/apify/apify-core/issues/19684)) ([681167d](https://github.com/apify/apify-core/commit/681167dabaeb295c92210d1e69786066a1c66451))
27
+ * **ci:** Correctly link repository to shared packages [internal] ([#19234](https://github.com/apify/apify-core/issues/19234)) ([025f282](https://github.com/apify/apify-core/commit/025f2821f92b5db634e6a9907ac2cb150cfb7734))
28
+ * **packages:** Add missing reference to ui-library [internal] ([#19274](https://github.com/apify/apify-core/issues/19274)) ([fcb6918](https://github.com/apify/apify-core/commit/fcb6918354dd542cb5ecc7b1a959e26d3c23f710))
29
+ * **packages:** add outDir to tsconfig to fix WebStorm auto-imports ([#15250](https://github.com/apify/apify-core/issues/15250)) ([d97a431](https://github.com/apify/apify-core/commit/d97a4318e13aa9b3507e55a61bd09e6af435d8b2))
30
+ * **packages:** Bold headings in Markdown and TOC ([#18767](https://github.com/apify/apify-core/issues/18767)) ([9ddf911](https://github.com/apify/apify-core/commit/9ddf91168862a543edc07d4fe9c175f5a98300dd)), closes [#18658](https://github.com/apify/apify-core/issues/18658)
31
+ * **packages:** Fixed bodyXS lineHeight definition [internal] ([#17308](https://github.com/apify/apify-core/issues/17308)) ([a6d50b7](https://github.com/apify/apify-core/commit/a6d50b79fbbc21806bb3c03b007819f5022a565d))
32
+
33
+
34
+ ### Features
35
+
36
+ * Add color & typography tokens [internal] ([#18926](https://github.com/apify/apify-core/issues/18926)) ([b7a8a54](https://github.com/apify/apify-core/commit/b7a8a54582630dd1e5ec92a2d78233d619d2c757))
37
+ * Add default Walsheim font for marketing tokens [internal] ([#18394](https://github.com/apify/apify-core/issues/18394)) ([3415ec5](https://github.com/apify/apify-core/commit/3415ec5fe5aa9e95c55429f265aedc3260db50cc))
38
+ * Add properly typed generated color properties [internal] ([#18303](https://github.com/apify/apify-core/issues/18303)) ([ad4ca90](https://github.com/apify/apify-core/commit/ad4ca901cbd6f9d759405acdc0317ca78ee6c3dc)), closes [#18132](https://github.com/apify/apify-core/issues/18132)
39
+ * **app:** actor reviews UI prep ([#19190](https://github.com/apify/apify-core/issues/19190)) ([e002e20](https://github.com/apify/apify-core/commit/e002e2007d78c8bf1d907f4dad42edd44636fc36))
40
+ * **app:** actors list fresh ([#17286](https://github.com/apify/apify-core/issues/17286)) ([ae0232b](https://github.com/apify/apify-core/commit/ae0232bb0cc9a1fae226d674f2f271dcdf04a1ea))
41
+ * **app:** Add default icon sizes for buttons ([#19644](https://github.com/apify/apify-core/issues/19644)) ([ffb7c39](https://github.com/apify/apify-core/commit/ffb7c39123368cf11aa69ceab5e7b4aa884ad6fa))
42
+ * **app:** add devices to the new theme [internal] ([#16155](https://github.com/apify/apify-core/issues/16155)) ([e82d71f](https://github.com/apify/apify-core/commit/e82d71f54f98e4faeb85be1c6eaabdf9fe62c313)), closes [#16154](https://github.com/apify/apify-core/issues/16154)
43
+ * **app:** add the monitoring alerts modal ([#16127](https://github.com/apify/apify-core/issues/16127)) ([9b66655](https://github.com/apify/apify-core/commit/9b666554573c878e8709f5fc5c30f761d4114cda)), closes [#15851](https://github.com/apify/apify-core/issues/15851)
44
+ * **app:** Added script which fixes indentation of package lock files after bootstrap [internal] ([#15604](https://github.com/apify/apify-core/issues/15604)) ([a0ed085](https://github.com/apify/apify-core/commit/a0ed085ef956968564b35ac5ea0c19cac1772394))
45
+ * **app:** analytics actor filter ([#16576](https://github.com/apify/apify-core/issues/16576)) ([18ad686](https://github.com/apify/apify-core/commit/18ad686cf7418a52b75ab7a31fa6f41be9e27e4f))
46
+ * **app:** christmas hackaton ([#18899](https://github.com/apify/apify-core/issues/18899)) ([88d5ef2](https://github.com/apify/apify-core/commit/88d5ef2e9ccbb9ba40eb66daa78d516633c49c6e))
47
+ * **app:** code component consolidation ([#15370](https://github.com/apify/apify-core/issues/15370)) ([50556be](https://github.com/apify/apify-core/commit/50556beb287aeab7a469eca12f32b7466cce18c9))
48
+ * **app:** content typography components added ([#15508](https://github.com/apify/apify-core/issues/15508)) ([c192519](https://github.com/apify/apify-core/commit/c192519a2d34dfe4425d80709646b766455846b7))
49
+ * **app:** Create reviews for Actors ([#19618](https://github.com/apify/apify-core/issues/19618)) ([4cec10f](https://github.com/apify/apify-core/commit/4cec10f3d877d3b54421b4e24c6c624f9d49d17c))
50
+ * **app:** Display existing reviews from DB ([#19593](https://github.com/apify/apify-core/issues/19593)) ([ddb1a85](https://github.com/apify/apify-core/commit/ddb1a8542459148623231cb11d8055e6db4c3014))
51
+ * **app:** empty states redesign ([#18752](https://github.com/apify/apify-core/issues/18752)) ([e6682a2](https://github.com/apify/apify-core/commit/e6682a2b8d3cbce0be0ce8c2514379d7920e95d8))
52
+ * **app:** Finished run monitoring ([#16496](https://github.com/apify/apify-core/issues/16496)) ([029b60b](https://github.com/apify/apify-core/commit/029b60bbc991a56067c55c1be7769050f3c53496))
53
+ * **app:** Fix of wrong readme links ([#15621](https://github.com/apify/apify-core/issues/15621)) ([b3c57e2](https://github.com/apify/apify-core/commit/b3c57e2535dc43e9126ca48e90b5120a98754034))
54
+ * **app:** Homepage font var [internal] ([#18005](https://github.com/apify/apify-core/issues/18005)) ([b17a8fc](https://github.com/apify/apify-core/commit/b17a8fca1568a7da4c538cb51ec5fb2785cc399c))
55
+ * **app:** introduce non-empty dataset page search ([#18947](https://github.com/apify/apify-core/issues/18947)) ([46deea7](https://github.com/apify/apify-core/commit/46deea7adea353138767d645a08f81086ee73377))
56
+ * **app:** making sure suggestions do not collide with header on web ([#16005](https://github.com/apify/apify-core/issues/16005)) ([f1dc828](https://github.com/apify/apify-core/commit/f1dc828cdf1caec0cb13228b345312fd3e0b325f))
57
+ * **app:** making ui-library public ([#19230](https://github.com/apify/apify-core/issues/19230)) ([7f1ac7a](https://github.com/apify/apify-core/commit/7f1ac7acc86b010df73f065bf1298a8420e7d201))
58
+ * **app:** markdown sanitization ([#17168](https://github.com/apify/apify-core/issues/17168)) ([95cdd3b](https://github.com/apify/apify-core/commit/95cdd3ba2fcdf08f623b8effb8850504eed8aba6))
59
+ * **app:** monitoring alerts tweaks part 1 ([#15971](https://github.com/apify/apify-core/issues/15971)) ([f8d0d9b](https://github.com/apify/apify-core/commit/f8d0d9ba554a41fb05531f09e90f1c7031dad0ec))
60
+ * **app:** monitoring dashboards v2 [internal] ([#16618](https://github.com/apify/apify-core/issues/16618)) ([8d86b1b](https://github.com/apify/apify-core/commit/8d86b1b0217eedaa7916d49716320d504daa5527))
61
+ * **app:** optimize image sizes in User/Actor Avatar, where possible [internal] ([#16166](https://github.com/apify/apify-core/issues/16166)) ([41889e0](https://github.com/apify/apify-core/commit/41889e036d136c60b966bda1c2069c19bc4c0a7e)), closes [#15086](https://github.com/apify/apify-core/issues/15086)
62
+ * **app:** Pre-generate supernova tokens to usable code [internal] ([#17738](https://github.com/apify/apify-core/issues/17738)) ([7916f39](https://github.com/apify/apify-core/commit/7916f39cb04cdfe7a661ffd98b2fd8898c5213a9)), closes [#17392](https://github.com/apify/apify-core/issues/17392)
63
+ * **app:** publishing ui-library to public npm registry ([#19533](https://github.com/apify/apify-core/issues/19533)) ([863aa43](https://github.com/apify/apify-core/commit/863aa43f43299dddc267029a15489a95fb942c18))
64
+ * **app:** remove tron text partial styles [internal] ([#16066](https://github.com/apify/apify-core/issues/16066)) ([489efab](https://github.com/apify/apify-core/commit/489efab77a080313636195b2cc0620dc9d7f8afb))
65
+ * **app:** Replace icons in ui-library ([#19591](https://github.com/apify/apify-core/issues/19591)) ([296633a](https://github.com/apify/apify-core/commit/296633aeb10712e9f0219a616428e81d0eefe3ca)), closes [#19314](https://github.com/apify/apify-core/issues/19314)
66
+ * **app:** replace tron spaces with theme [internal] ([#16407](https://github.com/apify/apify-core/issues/16407)) ([a1ac069](https://github.com/apify/apify-core/commit/a1ac0691842efbd3efdaf0210c097ca5a8570e63))
67
+ * **app:** replace tron.fontFamily with new theme [internal] ([#16296](https://github.com/apify/apify-core/issues/16296)) ([1c22642](https://github.com/apify/apify-core/commit/1c22642a43c7ff3bb1bfb599dc8078d4ae4531c5)), closes [#16160](https://github.com/apify/apify-core/issues/16160)
68
+ * **app:** shared image component added ([#16891](https://github.com/apify/apify-core/issues/16891)) ([99d0889](https://github.com/apify/apify-core/commit/99d08890b9e917ab4c2cedb6d9d78115a84e436c))
69
+ * **app:** UI in a new bundler [internal] ([#15549](https://github.com/apify/apify-core/issues/15549)) ([bfd5839](https://github.com/apify/apify-core/commit/bfd5839c8b8a08afa639d64004ac7936eb851463))
70
+ * **app:** ui library package added ([#15143](https://github.com/apify/apify-core/issues/15143)) ([4b39648](https://github.com/apify/apify-core/commit/4b39648ed1c976264d9022c78a98b02730c54b12))
71
+ * **app:** update design system tokens and remove inverted logic from floating components ([#18710](https://github.com/apify/apify-core/issues/18710)) ([8f7dccb](https://github.com/apify/apify-core/commit/8f7dccb7c55d977bc17b4a7430a203ecb221c27c))
72
+ * **app:** updated dependencies of ui-library package ([#15245](https://github.com/apify/apify-core/issues/15245)) ([6a97878](https://github.com/apify/apify-core/commit/6a978786ad954006740d3e7b7c7f444c5e351374))
73
+ * bump Node version to 22.13.0 (latest LTS) [internal] ([#19023](https://github.com/apify/apify-core/issues/19023)) ([56ff23b](https://github.com/apify/apify-core/commit/56ff23bc884940d36b9f2d68145fa1993055dc87))
74
+ * **ci:** Speed up package building in CI [internal] ([#15570](https://github.com/apify/apify-core/issues/15570)) ([ed19296](https://github.com/apify/apify-core/commit/ed19296aba0478329dd446eb9cd99535d50659fb))
75
+ * **everything:** Update everything but Meteor to Node 20 [internal] ([#15540](https://github.com/apify/apify-core/issues/15540)) ([c9e9073](https://github.com/apify/apify-core/commit/c9e90739c00039395381a10135074182c6917a7c))
76
+ * **general:** Deduplicate some dependencies, fix ensuing chaos [internal] ([#16480](https://github.com/apify/apify-core/issues/16480)) ([2e84581](https://github.com/apify/apify-core/commit/2e84581bf1b1fb7e1b24ddd31772121a1d324f6f))
77
+ * **general:** Use NPM workspaces for dependency installation [internal] ([#16383](https://github.com/apify/apify-core/issues/16383)) ([7871b96](https://github.com/apify/apify-core/commit/7871b96fd2e4a77c70163ca08044fb8f6cc1cd3c))
78
+ * **packages:** Add option to markdown to lazy load images [internal] ([#17853](https://github.com/apify/apify-core/issues/17853)) ([6d1baa9](https://github.com/apify/apify-core/commit/6d1baa99272be30bb486039558f2cc1ad6b5ddc7))
79
+ * **packages:** Added marketing variant for Text and Heading components [internal] ([#17441](https://github.com/apify/apify-core/issues/17441)) ([d838024](https://github.com/apify/apify-core/commit/d8380243ddc16fda2131a29d4f32ee23d9343920))
80
+ * **packages:** Added sanitizeUrl utility function ([#18701](https://github.com/apify/apify-core/issues/18701)) ([d86b061](https://github.com/apify/apify-core/commit/d86b061e95083b5c3ea4474d00ff40571be43a34))
81
+ * **packages:** badge & tag components ([#19144](https://github.com/apify/apify-core/issues/19144)) ([0953c40](https://github.com/apify/apify-core/commit/0953c4091491e423d2cef55ac4afc8e19b49e7e3))
82
+ * **packages:** Colors and radiuses design token updates ([#17661](https://github.com/apify/apify-core/issues/17661)) ([a4fa54e](https://github.com/apify/apify-core/commit/a4fa54e1b3816aca4ccd87e46c0081d2463940c0))
83
+ * **packages:** Moved components needed for the docs landing pages to ui-library packages [internal] ([#15515](https://github.com/apify/apify-core/issues/15515)) ([d762e57](https://github.com/apify/apify-core/commit/d762e5768dafce03a4539de30209db0303cc7695))
84
+ * **packages:** Start tracking youtube videos rendered with markdown [internal] ([#16318](https://github.com/apify/apify-core/issues/16318)) ([6568a31](https://github.com/apify/apify-core/commit/6568a3150401f83c1cd1021a42a66187558022e2))
85
+ * **packages:** update typography tokens ([#15473](https://github.com/apify/apify-core/issues/15473)) ([dca20fc](https://github.com/apify/apify-core/commit/dca20fcfedf3935eaf8146dade0f39f6454d2156))
86
+ * **packages:** Updated design system color tokens [internal] ([#19141](https://github.com/apify/apify-core/issues/19141)) ([5823374](https://github.com/apify/apify-core/commit/58233740d4c7327c81c885a172d04c664083b461))
87
+ * **packages:** Updated typography tokens for body with Inter, applied Inter font to some headings ([#17247](https://github.com/apify/apify-core/issues/17247)) ([5dd4be3](https://github.com/apify/apify-core/commit/5dd4be35a8072d5f4da9af0e83255b16bd2eaaba))
88
+ * **web:** Add support for dark mode images in store collections ([#18987](https://github.com/apify/apify-core/issues/18987)) ([32477e5](https://github.com/apify/apify-core/commit/32477e5cbde9c47d943b59decacd9422683cb9c2))
89
+
90
+
91
+
92
+
93
+
94
+ ## [0.56.2](https://github.com/apify-packages/meta-package-repo/compare/@apify-packages/ui-library@0.56.1...@apify-packages/ui-library@0.56.2) (2025-02-21)
95
+
96
+
97
+ ### Bug Fixes
98
+
99
+ * **app:** Warning/error message alignment improvement ([#19684](https://github.com/apify-packages/meta-package-repo/issues/19684)) ([681167d](https://github.com/apify-packages/meta-package-repo/commit/681167dabaeb295c92210d1e69786066a1c66451))
100
+
101
+
102
+
103
+
104
+
105
+ ## [0.56.1](https://github.com/apify-packages/meta-package-repo/compare/@apify-packages/ui-library@0.56.0...@apify-packages/ui-library@0.56.1) (2025-02-20)
106
+
107
+ **Note:** Version bump only for package @apify-packages/ui-library
108
+
109
+
110
+
111
+
112
+
6
113
  # [0.56.0](https://github.com/apify-packages/meta-package-repo/compare/@apify-packages/ui-library@0.55.0...@apify-packages/ui-library@0.56.0) (2025-02-19)
7
114
 
8
115
 
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/components/message.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,iBAAiB;;;;;;CAM7B,CAAC;AAgEF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AASpE,KAAK,YAAY,GAAG,QAAQ,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwC1C,CAAC;AAEF,KAAK,oBAAoB,GAAG,IAAI,CAAC,YAAY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AAa,UAAW,oBAAoB,sBAA2C,CAAC"}
@@ -34,6 +34,7 @@ const StyledMessage = styled(Box) `
34
34
 
35
35
  .${messageClassNames.dismiss} {
36
36
  background: transparent;
37
+ height: 20px;
37
38
 
38
39
  svg {
39
40
  color: ${theme.color.neutral.icon}
@@ -87,7 +88,7 @@ export const Message = ({ className, icon, caption, children, onDismissClick, ty
87
88
  const Icon = icon || typeToIcon[type];
88
89
  return (<StyledMessage className={clsx(className, messageClassNames.main, type, borderless && 'borderless')} mb={boxless ? 'space8' : 'space16'} // TODO: Export message without margin
89
90
  p={boxless ? 'none' : 'space16'} forwardedAs={as} {...rest}>
90
- <div className={messageClassNames.icon}><Icon /></div>
91
+ <Icon className={messageClassNames.icon} size="20"/>
91
92
  <div className={messageClassNames.content}>
92
93
  {caption && (<Heading as='div' type='titleM' className={messageClassNames.caption}>{caption}</Heading>)}
93
94
  {children}
@@ -1 +1 @@
1
- {"version":3,"file":"message.jsx","sourceRoot":"","sources":["../../../src/components/message.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE5F,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,GAAG,EAAiB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC;AAEF,MAAM,aAAa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