@univerjs-pro/resources-ui 1.0.0-insiders.20260717-1e84621

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +34 -0
  2. package/lib/cjs/index.js +1 -0
  3. package/lib/cjs/locale/ar-SA.js +1 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -0
  5. package/lib/cjs/locale/de-DE.js +1 -0
  6. package/lib/cjs/locale/en-US.js +1 -0
  7. package/lib/cjs/locale/es-ES.js +1 -0
  8. package/lib/cjs/locale/fa-IR.js +1 -0
  9. package/lib/cjs/locale/fr-FR.js +1 -0
  10. package/lib/cjs/locale/id-ID.js +1 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  12. package/lib/cjs/locale/ja-JP.js +1 -0
  13. package/lib/cjs/locale/ko-KR.js +1 -0
  14. package/lib/cjs/locale/pl-PL.js +1 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  16. package/lib/cjs/locale/ru-RU.js +1 -0
  17. package/lib/cjs/locale/sk-SK.js +1 -0
  18. package/lib/cjs/locale/vi-VN.js +1 -0
  19. package/lib/cjs/locale/zh-CN.js +1 -0
  20. package/lib/cjs/locale/zh-HK.js +1 -0
  21. package/lib/cjs/locale/zh-TW.js +1 -0
  22. package/lib/es/index.js +1 -0
  23. package/lib/es/locale/ar-SA.js +1 -0
  24. package/lib/es/locale/ca-ES.js +1 -0
  25. package/lib/es/locale/de-DE.js +1 -0
  26. package/lib/es/locale/en-US.js +1 -0
  27. package/lib/es/locale/es-ES.js +1 -0
  28. package/lib/es/locale/fa-IR.js +1 -0
  29. package/lib/es/locale/fr-FR.js +1 -0
  30. package/lib/es/locale/id-ID.js +1 -0
  31. package/lib/es/locale/it-IT.js +1 -0
  32. package/lib/es/locale/ja-JP.js +1 -0
  33. package/lib/es/locale/ko-KR.js +1 -0
  34. package/lib/es/locale/pl-PL.js +1 -0
  35. package/lib/es/locale/pt-BR.js +1 -0
  36. package/lib/es/locale/ru-RU.js +1 -0
  37. package/lib/es/locale/sk-SK.js +1 -0
  38. package/lib/es/locale/vi-VN.js +1 -0
  39. package/lib/es/locale/zh-CN.js +1 -0
  40. package/lib/es/locale/zh-HK.js +1 -0
  41. package/lib/es/locale/zh-TW.js +1 -0
  42. package/lib/index.css +195 -0
  43. package/lib/index.js +1 -0
  44. package/lib/locale/ar-SA.js +1 -0
  45. package/lib/locale/ca-ES.js +1 -0
  46. package/lib/locale/de-DE.js +1 -0
  47. package/lib/locale/en-US.js +1 -0
  48. package/lib/locale/es-ES.js +1 -0
  49. package/lib/locale/fa-IR.js +1 -0
  50. package/lib/locale/fr-FR.js +1 -0
  51. package/lib/locale/id-ID.js +1 -0
  52. package/lib/locale/it-IT.js +1 -0
  53. package/lib/locale/ja-JP.js +1 -0
  54. package/lib/locale/ko-KR.js +1 -0
  55. package/lib/locale/pl-PL.js +1 -0
  56. package/lib/locale/pt-BR.js +1 -0
  57. package/lib/locale/ru-RU.js +1 -0
  58. package/lib/locale/sk-SK.js +1 -0
  59. package/lib/locale/vi-VN.js +1 -0
  60. package/lib/locale/zh-CN.js +1 -0
  61. package/lib/locale/zh-HK.js +1 -0
  62. package/lib/locale/zh-TW.js +1 -0
  63. package/lib/types/config/config.d.ts +12 -0
  64. package/lib/types/controllers/components.controller.d.ts +6 -0
  65. package/lib/types/index.d.ts +9 -0
  66. package/lib/types/locale/ar-SA.d.ts +3 -0
  67. package/lib/types/locale/ca-ES.d.ts +3 -0
  68. package/lib/types/locale/de-DE.d.ts +3 -0
  69. package/lib/types/locale/en-US.d.ts +15 -0
  70. package/lib/types/locale/es-ES.d.ts +3 -0
  71. package/lib/types/locale/fa-IR.d.ts +3 -0
  72. package/lib/types/locale/fr-FR.d.ts +3 -0
  73. package/lib/types/locale/id-ID.d.ts +3 -0
  74. package/lib/types/locale/it-IT.d.ts +3 -0
  75. package/lib/types/locale/ja-JP.d.ts +3 -0
  76. package/lib/types/locale/ko-KR.d.ts +3 -0
  77. package/lib/types/locale/pl-PL.d.ts +3 -0
  78. package/lib/types/locale/pt-BR.d.ts +3 -0
  79. package/lib/types/locale/ru-RU.d.ts +3 -0
  80. package/lib/types/locale/sk-SK.d.ts +3 -0
  81. package/lib/types/locale/types.d.ts +3 -0
  82. package/lib/types/locale/vi-VN.d.ts +3 -0
  83. package/lib/types/locale/zh-CN.d.ts +3 -0
  84. package/lib/types/locale/zh-HK.d.ts +3 -0
  85. package/lib/types/locale/zh-TW.d.ts +3 -0
  86. package/lib/types/plugin.d.ts +14 -0
  87. package/lib/types/services/resource-picker.service.d.ts +32 -0
  88. package/lib/types/services/resource-preview-cache.service.d.ts +19 -0
  89. package/lib/types/services/resource-preview-load-queue.d.ts +12 -0
  90. package/lib/types/views/ResourcePicker.d.ts +2 -0
  91. package/lib/types/views/ResourceTile.d.ts +19 -0
  92. package/lib/types/views/ResourceVirtualGrid.d.ts +14 -0
  93. package/lib/umd/index.js +1 -0
  94. package/lib/umd/locale/ar-SA.js +1 -0
  95. package/lib/umd/locale/ca-ES.js +1 -0
  96. package/lib/umd/locale/de-DE.js +1 -0
  97. package/lib/umd/locale/en-US.js +1 -0
  98. package/lib/umd/locale/es-ES.js +1 -0
  99. package/lib/umd/locale/fa-IR.js +1 -0
  100. package/lib/umd/locale/fr-FR.js +1 -0
  101. package/lib/umd/locale/id-ID.js +1 -0
  102. package/lib/umd/locale/it-IT.js +1 -0
  103. package/lib/umd/locale/ja-JP.js +1 -0
  104. package/lib/umd/locale/ko-KR.js +1 -0
  105. package/lib/umd/locale/pl-PL.js +1 -0
  106. package/lib/umd/locale/pt-BR.js +1 -0
  107. package/lib/umd/locale/ru-RU.js +1 -0
  108. package/lib/umd/locale/sk-SK.js +1 -0
  109. package/lib/umd/locale/vi-VN.js +1 -0
  110. package/lib/umd/locale/zh-CN.js +1 -0
  111. package/lib/umd/locale/zh-HK.js +1 -0
  112. package/lib/umd/locale/zh-TW.js +1 -0
  113. package/package.json +85 -0
package/lib/index.css ADDED
@@ -0,0 +1,195 @@
1
+ .univer-sr-only {
2
+ clip: rect(0, 0, 0, 0);
3
+ white-space: nowrap;
4
+ border-width: 0;
5
+ width: 1px;
6
+ height: 1px;
7
+ margin: -1px;
8
+ padding: 0;
9
+ position: absolute;
10
+ overflow: hidden;
11
+ }
12
+
13
+ .univer-invisible {
14
+ visibility: hidden;
15
+ }
16
+
17
+ .univer-absolute {
18
+ position: absolute;
19
+ }
20
+
21
+ .univer-relative {
22
+ position: relative;
23
+ }
24
+
25
+ .univer-box-border {
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ .univer-flex {
30
+ display: flex;
31
+ }
32
+
33
+ .univer-grid {
34
+ display: grid;
35
+ }
36
+
37
+ .univer-size-5 {
38
+ width: 1.25rem;
39
+ height: 1.25rem;
40
+ }
41
+
42
+ .\!univer-h-auto {
43
+ height: auto !important;
44
+ }
45
+
46
+ .\!univer-h-full {
47
+ height: 100% !important;
48
+ }
49
+
50
+ .univer-h-12 {
51
+ height: 3rem;
52
+ }
53
+
54
+ .univer-h-14 {
55
+ height: 3.5rem;
56
+ }
57
+
58
+ .univer-h-\[112px\] {
59
+ height: 112px;
60
+ }
61
+
62
+ .univer-h-full {
63
+ height: 100%;
64
+ }
65
+
66
+ .univer-w-full {
67
+ width: 100%;
68
+ }
69
+
70
+ .\!univer-min-w-0 {
71
+ min-width: 0 !important;
72
+ }
73
+
74
+ .univer-min-w-0 {
75
+ min-width: 0;
76
+ }
77
+
78
+ .univer-flex-1 {
79
+ flex: 1;
80
+ }
81
+
82
+ @keyframes univer-spin {
83
+ to {
84
+ transform: rotate(360deg);
85
+ }
86
+ }
87
+
88
+ .univer-animate-spin {
89
+ animation: 1s linear infinite univer-spin;
90
+ }
91
+
92
+ .univer-flex-col {
93
+ flex-direction: column;
94
+ }
95
+
96
+ .univer-items-center {
97
+ align-items: center;
98
+ }
99
+
100
+ .univer-justify-center {
101
+ justify-content: center;
102
+ }
103
+
104
+ .univer-gap-1 {
105
+ gap: .25rem;
106
+ }
107
+
108
+ .univer-gap-2 {
109
+ gap: .5rem;
110
+ }
111
+
112
+ .univer-gap-3 {
113
+ gap: .75rem;
114
+ }
115
+
116
+ .univer-overflow-hidden {
117
+ overflow: hidden;
118
+ }
119
+
120
+ .univer-overflow-y-auto {
121
+ overflow-y: auto;
122
+ }
123
+
124
+ .univer-truncate {
125
+ text-overflow: ellipsis;
126
+ white-space: nowrap;
127
+ overflow: hidden;
128
+ }
129
+
130
+ .univer-rounded-sm {
131
+ border-radius: .125rem;
132
+ }
133
+
134
+ .univer-bg-gray-100 {
135
+ background-color: var(--univer-gray-100);
136
+ }
137
+
138
+ .univer-bg-\[conic-gradient\(currentColor_25\%\,transparent_0_50\%\,currentColor_0_75\%\,transparent_0\)\] {
139
+ background-image: conic-gradient(currentColor 25%,transparent 0,transparent 50%,currentColor 0,currentColor 75%,transparent 0);
140
+ background-image: conic-gradient(currentColor 25%,transparent 0 50%,currentColor 0 75%,transparent 0);
141
+ }
142
+
143
+ .univer-bg-\[length\:16px_16px\] {
144
+ background-size: 16px 16px;
145
+ }
146
+
147
+ .univer-object-contain {
148
+ -o-object-fit: contain;
149
+ object-fit: contain;
150
+ }
151
+
152
+ .\!univer-p-0 {
153
+ padding: 0 !important;
154
+ }
155
+
156
+ .\!univer-p-2 {
157
+ padding: .5rem !important;
158
+ }
159
+
160
+ .univer-p-1 {
161
+ padding: .25rem;
162
+ }
163
+
164
+ .univer-p-3 {
165
+ padding: .75rem;
166
+ }
167
+
168
+ .univer-pb-2 {
169
+ padding-bottom: .5rem;
170
+ }
171
+
172
+ .univer-text-center {
173
+ text-align: center;
174
+ }
175
+
176
+ .univer-text-xs {
177
+ font-size: .75rem;
178
+ line-height: 1rem;
179
+ }
180
+
181
+ .univer-text-gray-300 {
182
+ color: var(--univer-gray-300);
183
+ }
184
+
185
+ .univer-text-gray-500 {
186
+ color: var(--univer-gray-500);
187
+ }
188
+
189
+ .dark\:univer-bg-gray-900:where(.univer-dark, .univer-dark *) {
190
+ background-color: var(--univer-gray-900);
191
+ }
192
+
193
+ .dark\:univer-text-gray-700:where(.univer-dark, .univer-dark *) {
194
+ color: var(--univer-gray-700);
195
+ }
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x3020c2=_0x1a54;(function(_0x20653c,_0x2863fe){const _0x513212=_0x1a54,_0x3abbf2=_0x20653c();while(!![]){try{const _0x4cfcf5=-parseInt(_0x513212(0x21b))/0x1*(-parseInt(_0x513212(0x238))/0x2)+parseInt(_0x513212(0x1e0))/0x3*(-parseInt(_0x513212(0x209))/0x4)+parseInt(_0x513212(0x1ca))/0x5+parseInt(_0x513212(0x1ea))/0x6*(-parseInt(_0x513212(0x253))/0x7)+-parseInt(_0x513212(0x1b8))/0x8+parseInt(_0x513212(0x1cd))/0x9+parseInt(_0x513212(0x1df))/0xa;if(_0x4cfcf5===_0x2863fe)break;else _0x3abbf2['push'](_0x3abbf2['shift']());}catch(_0x28bf29){_0x3abbf2['push'](_0x3abbf2['shift']());}}}(_0x54ae,0x4c35b));import{UniverLicensePlugin as _0x4f7e27}from'@univerjs-pro/license';import{IResourceQueryService as _0x22fa27,IResourceRegistryService as _0x15d801,UniverResourcesPlugin as _0x1e4e7a}from'@univerjs-pro/resources';import{DependentOn as _0x3b0f7c,Disposable as _0x4b25aa,IConfigService as _0x5b30ad,Inject as _0x1d1c92,Injector as _0x7a241a,LocaleService as _0x295ecb,Plugin as _0x4adc39,UniverInstanceType as _0x1b9c0a,createIdentifier as _0x4e934d,merge as _0x247f5f,toDisposable as _0x5ee70e}from'@univerjs/core';import{ComponentManager as _0x1bb0f2,IShortcutService as _0x372034,UniverUIPlugin as _0x144d98,useDependency as _0x49db17,useObservable as _0x56a1f0,useVirtualList as _0x544270}from'@univerjs/ui';import{Button as _0x4aba0a,Input as _0x54694c,MultipleSelect as _0x3dffd3,Select as _0x304fd4,clsx as _0x35ca0f}from'@univerjs/design';import{useEffect as _0x2ceb22,useLayoutEffect as _0x1eaec1,useMemo as _0x145e5e,useRef as _0x20e08f,useState as _0x4249fd}from'react';import{BehaviorSubject as _0x14b711}from'rxjs';import{LoadingMultiIcon as _0x1b40a3}from'@univerjs/icons';import{jsx as _0x104792,jsxs as _0x108fc1}from'react/jsx-runtime';const F='resources-ui.config',I={},L=Object['freeze']({'rowHeight':0x70,'columnMinWidth':0x70,'overscan':0x1,'previewConcurrency':0x4});var R=_0x3020c2(0x242),z='1.0.0-insiders.20260717-1e84621';function B(_0x5416bc){'@babel/helpers - typeof';const _0x58a8d4=_0x3020c2;return B=typeof Symbol==_0x58a8d4(0x23f)&&typeof Symbol['iterator']==_0x58a8d4(0x23b)?function(_0x364758){return typeof _0x364758;}:function(_0x3b85ea){const _0x5460c5=_0x58a8d4;return _0x3b85ea&&typeof Symbol==_0x5460c5(0x23f)&&_0x3b85ea[_0x5460c5(0x20e)]===Symbol&&_0x3b85ea!==Symbol[_0x5460c5(0x1c9)]?_0x5460c5(0x23b):typeof _0x3b85ea;},B(_0x5416bc);}function V(_0x4a2af1,_0x401850){const _0x2cfcb8=_0x3020c2;if(B(_0x4a2af1)!=_0x2cfcb8(0x1db)||!_0x4a2af1)return _0x4a2af1;var _0x460e96=_0x4a2af1[Symbol[_0x2cfcb8(0x1c2)]];if(_0x460e96!==void 0x0){var _0x298bea=_0x460e96[_0x2cfcb8(0x255)](_0x4a2af1,_0x401850||'default');if(B(_0x298bea)!=_0x2cfcb8(0x1db))return _0x298bea;throw TypeError(_0x2cfcb8(0x1c7));}return(_0x401850===_0x2cfcb8(0x20f)?String:Number)(_0x4a2af1);}function H(_0x3bf789){const _0x3ae3ca=_0x3020c2;var _0x3d5785=V(_0x3bf789,_0x3ae3ca(0x20f));return B(_0x3d5785)==_0x3ae3ca(0x23b)?_0x3d5785:_0x3d5785+'';}function U(_0x4f58b6,_0x457730,_0x8f6413){const _0x29be6c=_0x3020c2;return(_0x457730=H(_0x457730))in _0x4f58b6?Object[_0x29be6c(0x1f5)](_0x4f58b6,_0x457730,{'value':_0x8f6413,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f58b6[_0x457730]=_0x8f6413,_0x4f58b6;}const W=_0x3020c2(0x244),G=_0x4e934d('resources-ui.picker.service');var K=class extends _0x4b25aa{constructor(..._0x2dbc25){const _0x4c0c72=_0x3020c2;super(..._0x2dbc25),U(this,_0x4c0c72(0x20c),new _0x14b711(null)),U(this,_0x4c0c72(0x251),0x0),U(this,_0x4c0c72(0x234),this[_0x4c0c72(0x20c)][_0x4c0c72(0x22c)]());}[_0x3020c2(0x252)](_0x459a99){const _0x245abb=_0x3020c2;let _0x1a790f=Object[_0x245abb(0x1b6)]({'id':_0x245abb(0x23a)+ ++this[_0x245abb(0x251)],'supportedPayloadTypes':new Set(_0x459a99[_0x245abb(0x1c8)]),'onSelect':_0x459a99['onSelect'],'onDragEnd':_0x459a99[_0x245abb(0x1e3)]});return this[_0x245abb(0x20c)]['next'](_0x1a790f),_0x5ee70e(()=>{const _0x44e2e9=_0x245abb;var _0x50d6ec;((_0x50d6ec=this[_0x44e2e9(0x20c)][_0x44e2e9(0x1f9)]())==null?void 0x0:_0x50d6ec['id'])===_0x1a790f['id']&&this[_0x44e2e9(0x236)]();});}[_0x3020c2(0x236)](){const _0x367457=_0x3020c2;this[_0x367457(0x20c)][_0x367457(0x1f9)]()!==null&&this[_0x367457(0x20c)]['next'](null);}[_0x3020c2(0x1e5)](){const _0x5240b7=_0x3020c2;this[_0x5240b7(0x236)](),this[_0x5240b7(0x20c)][_0x5240b7(0x22f)](),super[_0x5240b7(0x1e5)]();}};const q=_0x4e934d(_0x3020c2(0x1e6));var J=class{constructor(_0x40a048=0xfa){const _0x5357b8=_0x3020c2;this[_0x5357b8(0x1e9)]=_0x40a048,U(this,'_entries',new Map());}[_0x3020c2(0x1c0)](_0x287540){const _0x2b7ce6=_0x3020c2;let _0x4c50ff=Y(_0x287540),_0x4aac27=this[_0x2b7ce6(0x246)][_0x2b7ce6(0x1c0)](_0x4c50ff);if(_0x4aac27)return this[_0x2b7ce6(0x246)][_0x2b7ce6(0x1b9)](_0x4c50ff),this[_0x2b7ce6(0x246)]['set'](_0x4c50ff,_0x4aac27),_0x4aac27;}[_0x3020c2(0x22a)](_0x28d101,_0x4c9080,_0x45d217){const _0x3ab77b=_0x3020c2;let _0xacbf8=Y(_0x28d101);this[_0x3ab77b(0x246)][_0x3ab77b(0x1b9)](_0xacbf8),this[_0x3ab77b(0x246)][_0x3ab77b(0x22a)](_0xacbf8,{'image':_0x45d217,'source':_0x4c9080}),this[_0x3ab77b(0x246)][_0x3ab77b(0x201)]>this['_maxSize']&&this['_entries']['delete'](this[_0x3ab77b(0x246)]['keys']()[_0x3ab77b(0x1c1)]()[_0x3ab77b(0x232)]);}[_0x3020c2(0x1e5)](){const _0x2530bc=_0x3020c2;this['_entries'][_0x2530bc(0x245)]();}};function Y(_0x30be05){const _0x43d3d6=_0x3020c2;return JSON['stringify']([_0x30be05[_0x43d3d6(0x1ce)],_0x30be05['resourceId']]);}var ee=class{constructor(_0x47adf0){const _0x516c50=_0x3020c2;this['_concurrency']=_0x47adf0,U(this,_0x516c50(0x24c),[]),U(this,'_activeCount',0x0);}[_0x3020c2(0x219)](_0x365af2){const _0x15d0a1=_0x3020c2;let _0x5dc769={'active':!0x1,'finished':!0x1,'start':_0x365af2};this[_0x15d0a1(0x24c)][_0x15d0a1(0x1d9)](_0x5dc769),this['_drain']();let _0x36be4a=()=>{const _0x36d672=_0x15d0a1;if(!_0x5dc769[_0x36d672(0x224)]){if(_0x5dc769[_0x36d672(0x224)]=!0x0,_0x5dc769[_0x36d672(0x1cc)])this[_0x36d672(0x1e7)]--;else{let _0x5cd9b7=this[_0x36d672(0x24c)][_0x36d672(0x200)](_0x5dc769);_0x5cd9b7>=0x0&&this[_0x36d672(0x24c)][_0x36d672(0x235)](_0x5cd9b7,0x1);}this[_0x36d672(0x213)]();}};return{'complete':_0x36be4a,'dispose':_0x36be4a};}[_0x3020c2(0x213)](){const _0x3bd148=_0x3020c2;for(;this[_0x3bd148(0x1e7)]<this[_0x3bd148(0x24f)]&&this[_0x3bd148(0x24c)][_0x3bd148(0x233)]>0x0;){let _0x1a6a0a=this[_0x3bd148(0x24c)][_0x3bd148(0x1f2)]();_0x1a6a0a[_0x3bd148(0x224)]||(_0x1a6a0a[_0x3bd148(0x1cc)]=!0x0,this[_0x3bd148(0x1e7)]++,_0x1a6a0a[_0x3bd148(0x23c)]());}}};function te(_0x58257d){const _0x5da3f8=_0x3020c2;let {resource:_0x274297,previewLoadQueue:_0x2495f3,retryCount:_0x471519,retryLabel:_0x2398a8,tabIndex:_0x5dd0b9,buttonRef:_0x502fd8,onDragEnd:_0x1f2e0c,onFocus:_0x3a208b,onKeyDown:_0x3f1d57,onPreviewLoad:_0x3471f3,onRetry:_0x53ace6,onSelect:_0x3a72b0}=_0x58257d,_0x27c3da=ne(_0x274297),_0xa5be1=(_0x27c3da==null?'':_0x27c3da)+':'+_0x471519,[_0x39e73a,_0x597939]=_0x4249fd(null),[_0x50a95e,_0x5239d9]=_0x4249fd(null),[_0x3bb8cb,_0x38b8a5]=_0x4249fd(null),_0x1b6d3e=_0x20e08f(null),_0x2a97fb=_0x39e73a===_0xa5be1,_0x1ec85a=_0x50a95e===_0xa5be1;_0x2ceb22(()=>{const _0x2ee548=_0x1a54;var _0x6b2615;if((_0x6b2615=_0x1b6d3e[_0x2ee548(0x203)])==null||_0x6b2615[_0x2ee548(0x1e5)](),_0x1b6d3e['current']=null,!_0x27c3da)return;let _0x11fc2d=_0x2495f3['request'](()=>_0x38b8a5(_0xa5be1));return _0x1b6d3e[_0x2ee548(0x203)]=_0x11fc2d,()=>{const _0x597ca2=_0x2ee548;_0x1b6d3e['current']===_0x11fc2d&&(_0x1b6d3e[_0x597ca2(0x203)]=null),_0x11fc2d[_0x597ca2(0x1e5)]();};},[_0xa5be1,_0x2495f3,_0x27c3da]);function _0x49acf1(_0x3affe5){const _0x2b423f=_0x1a54;_0x1f2e0c({'reference':_0x274297[_0x2b423f(0x256)],'clientX':_0x3affe5[_0x2b423f(0x20b)],'clientY':_0x3affe5['clientY'],'cancelled':_0x3affe5['dataTransfer'][_0x2b423f(0x204)]===_0x2b423f(0x1fe)});}function _0x1f5be6(_0x145355){const _0x2ea205=_0x1a54;_0x145355[_0x2ea205(0x1fa)]['effectAllowed']=_0x2ea205(0x1dd),_0x145355[_0x2ea205(0x1fa)][_0x2ea205(0x250)](W,JSON['stringify'](_0x274297['reference']));}function _0x2e5f71(){_0x597939(null),_0x53ace6();}return _0x108fc1(_0x5da3f8(0x1c5),{'draggable':!0x0,'className':_0x5da3f8(0x1e2),'data-testid':'resource-tile','role':_0x5da3f8(0x24d),'onDragStart':_0x1f5be6,'onDragEnd':_0x49acf1,'children':[_0x108fc1(_0x4aba0a,{'ref':_0x502fd8,'aria-label':_0x274297[_0x5da3f8(0x1c3)],'className':_0x5da3f8(0x24b),'size':_0x5da3f8(0x218),'tabIndex':_0x5dd0b9,'type':_0x5da3f8(0x22b),'variant':'default','onClick':()=>_0x3a72b0(_0x274297[_0x5da3f8(0x256)]),'onFocus':_0x3a208b,'onKeyDown':_0x3f1d57,'children':[_0x27c3da&&_0x108fc1(_0x5da3f8(0x1c5),{'className':'univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-14\x20univer-w-full\x20univer-items-center\x20univer-justify-center\x20univer-overflow-hidden\x20univer-rounded-sm\x20univer-bg-gray-100\x20univer-bg-[conic-gradient(currentColor_25%,transparent_0_50%,currentColor_0_75%,transparent_0)]\x20univer-bg-[length:16px_16px]\x20univer-p-1\x20univer-text-gray-300\x20dark:univer-bg-gray-900\x20dark:univer-text-gray-700','data-testid':_0x5da3f8(0x215),'children':[!_0x1ec85a&&!_0x2a97fb&&_0x104792(_0x1b40a3,{'className':_0x5da3f8(0x228),'data-testid':_0x5da3f8(0x207)}),_0x104792('img',{'alt':_0x274297[_0x5da3f8(0x1c3)],'className':_0x35ca0f('univer-h-12\x20univer-w-full\x20univer-object-contain',!_0x1ec85a&&_0x5da3f8(0x211)),'crossOrigin':_0x5da3f8(0x1ef),'decoding':_0x5da3f8(0x1bd),'data-retry':_0x471519,'src':_0x3bb8cb===_0xa5be1?_0x27c3da:void 0x0,'onError':()=>{const _0x6624d2=_0x5da3f8;var _0x1fef5f;(_0x1fef5f=_0x1b6d3e[_0x6624d2(0x203)])==null||_0x1fef5f[_0x6624d2(0x22f)](),_0x597939(_0xa5be1);},'onLoad':_0x592b0c=>{const _0xe9ba30=_0x5da3f8;var _0x13ea08;(_0x13ea08=_0x1b6d3e[_0xe9ba30(0x203)])==null||_0x13ea08[_0xe9ba30(0x22f)](),_0x5239d9(_0xa5be1),_0x3471f3(_0x274297[_0xe9ba30(0x256)],_0x27c3da,_0x592b0c[_0xe9ba30(0x1f4)]);}},_0x27c3da+':'+_0x471519)]}),_0x104792(_0x5da3f8(0x229),{'className':_0x5da3f8(0x1be),'children':_0x274297[_0x5da3f8(0x1c3)]})]}),_0x2a97fb&&_0x104792(_0x4aba0a,{'aria-label':_0x2398a8,'className':'!univer-h-auto\x20!univer-p-0','size':'small','tabIndex':_0x5dd0b9,'type':_0x5da3f8(0x22b),'variant':'link','onClick':_0x2e5f71,'children':_0x2398a8})]});}function ne(_0xc58480){const _0x562189=_0x3020c2;var _0x4b3f6a;let _0x1c07fa=(_0x4b3f6a=_0xc58480[_0x562189(0x1ff)][_0x562189(0x240)])==null?re(_0xc58480):_0x4b3f6a;if(_0x1c07fa)return _0x1c07fa[_0x562189(0x1e4)]===_0x562189(0x239)?'data:image/svg+xml;charset=utf-8,'+encodeURIComponent(_0x1c07fa[_0x562189(0x232)]):_0x1c07fa['value'];}function re(_0x1f2a30){const _0x2ed998=_0x3020c2;let _0x405fd4=_0x1f2a30[_0x2ed998(0x1ff)][_0x2ed998(0x1ec)];if(!(_0x405fd4['type']!==_0x2ed998(0x231)||!(_0x2ed998(0x249)in _0x405fd4)))return _0x405fd4[_0x2ed998(0x249)];}function _0x54ae(){const _0x11fb42=['groupLabel','disposeWithMe','shift','getCurrentLocale','currentTarget','defineProperty','_config','ArrowRight','query','getValue','dataTransfer','currentLocale$','_injector','key','none','descriptor','indexOf','size','label','current','dropEffect','contentRect','_configService','resource-preview-loading','unsubscribe','116GoYMtD','resources-ui.picker.search','clientX','_activeSession$','ltr','constructor','string','floor','univer-invisible','preventDefault','_drain','_componentManager','resource-preview','from','direction$','middle','request','tagIds','5PoPipC','version','univer-w-full\x20!univer-min-w-0','revision$','pluginName','observe','univer-flex\x20univer-gap-2','UNIVER_UNKNOWN','max','finished','resource-picker','getDirection','ArrowDown','univer-absolute\x20univer-size-5\x20univer-animate-spin\x20univer-text-gray-500','span','set','button','asObservable','forEach','map','complete','ArrowUp','image','value','length','activeSession$','splice','close','rowHeight','14470YVqUmF','svgText','resource-picker-','symbol','start','grid',',\x20minmax(0,\x201fr))','function','preview','columnMinWidth','@univerjs-pro/resources-ui','slice','application/x-univer-resource-reference','clear','_entries','width','stringify','source','contains','!univer-h-full\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-1\x20!univer-p-2\x20univer-text-center','_pending','gridcell','resources-ui.picker.group','_concurrency','setData','_sessionSequence','open','1449hJynXN','End','call','reference','freeze','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','21632vyCufv','delete','groupId','ceil','height','async','univer-w-full\x20univer-truncate','resources-ui.picker.noResults','get','next','toPrimitive','name','row','div','overscan','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','supportedPayloadTypes','prototype','2024840CORQYj','resources-ui.picker.retryPreview','active','1551267tDEgDn','registryId','univer-box-border\x20univer-grid\x20univer-h-[112px]\x20univer-gap-2\x20univer-pb-2','univer-sr-only','section','resourceId','univer-text-xs\x20univer-text-gray-500','resources-ui.picker.title','resources-ui.picker','focus','disconnect','status','push','univer-flex\x20univer-h-full\x20univer-flex-col\x20univer-gap-3\x20univer-p-3','object','setConfig','copy','subscribe','4037730GDzjLy','58167cfEgcy','decorate','univer-flex\x20univer-h-full\x20univer-flex-col\x20univer-gap-1','onDragEnd','type','dispose','resources-ui.resource-preview-cache.service','_activeCount','has','_maxSize','4062jvaarz','add','payload','min','Enter','anonymous'];_0x54ae=function(){return _0x11fb42;};return _0x54ae();}function ie(_0xd30e18){const _0x2bff68=_0x3020c2;let {resources:_0x12bc71,height:_0x36ca40,direction:_0x39b1b8=_0x2bff68(0x20d),focusFallbackRef:_0x36abe7,retryLabel:_0x14c07e,onSelect:_0x5c4b6e,onDragEnd:_0x3d018e,onPreviewLoad:_0x1a6300}=_0xd30e18,_0x1fb124=_0x20e08f(void 0x0),_0x18e724=_0x20e08f(_0x36abe7);_0x18e724[_0x2bff68(0x203)]=_0x36abe7;let _0x339282=_0x20e08f(new Map()),_0x2a76a0=_0x20e08f(null),_0x2005df=_0x20e08f(null),_0x5bcfe3=_0x145e5e(()=>new ee(L['previewConcurrency']),[]),[_0x1ff898,_0x5cd9db]=_0x4249fd({'height':_0x36ca40,'width':L[_0x2bff68(0x241)]}),[_0x2d7761,_0x23af2b]=_0x4249fd(()=>_0x12bc71[0x0]?X(_0x12bc71[0x0]):null),[_0x5454b1,_0x208b44]=_0x4249fd(()=>new Map()),_0x511f72=Math['max'](0x1,Math[_0x2bff68(0x1bb)](_0x1ff898[_0x2bff68(0x1bc)]/L['rowHeight'])),_0x36bc51=Math[_0x2bff68(0x223)](0x1,Math[_0x2bff68(0x210)](_0x1ff898[_0x2bff68(0x247)]/L[_0x2bff68(0x241)])),_0x496323=Math[_0x2bff68(0x1ed)](_0x36bc51,Math[_0x2bff68(0x223)](0x1,Math['floor'](0xfa/_0x511f72))),_0x4262ec=_0x145e5e(()=>ae(_0x12bc71,_0x496323),[_0x496323,_0x12bc71]),_0xf67769=_0x145e5e(()=>new Map(_0x12bc71['map']((_0x59ba85,_0x2bac21)=>[X(_0x59ba85),_0x2bac21])),[_0x12bc71]),_0x195424=_0x2d7761!==null&&_0xf67769[_0x2bff68(0x1e8)](_0x2d7761)?_0x2d7761:_0x12bc71[0x0]?X(_0x12bc71[0x0]):null,_0x345db3=Math[_0x2bff68(0x223)](0x0,_0x12bc71['findIndex'](_0x1e53fa=>X(_0x1e53fa)===_0x195424)),_0x54a774=Math[_0x2bff68(0x210)](0xfa/_0x496323),_0x149010=Math['min'](L[_0x2bff68(0x1c6)],Math[_0x2bff68(0x223)](0x0,Math[_0x2bff68(0x210)]((_0x54a774-_0x511f72)/0x2))),[_0x48d9d3,{wrapperStyle:_0x5d8569,scrollTo:_0x2be024,containerProps:_0x9e71b1}]=_0x544270(_0x4262ec,{'containerTarget':_0x1fb124,'itemHeight':L[_0x2bff68(0x237)],'overscan':_0x149010});_0x2ceb22(()=>{const _0x38d6b2=_0x2bff68;let _0x2e82f3=_0x1fb124[_0x38d6b2(0x203)];if(!_0x2e82f3||typeof ResizeObserver>'u')return;let _0x6b563c=new ResizeObserver(([_0x8fbd75])=>{const _0x1e60cc=_0x38d6b2;let _0x152297=_0x8fbd75[_0x1e60cc(0x205)][_0x1e60cc(0x247)]||_0x2e82f3['clientWidth'],_0xd41146=_0x8fbd75[_0x1e60cc(0x205)][_0x1e60cc(0x1bc)]||_0x2e82f3['clientHeight'];_0x152297>0x0&&_0xd41146>0x0&&_0x5cd9db({'height':_0xd41146,'width':_0x152297});});return _0x6b563c[_0x38d6b2(0x220)](_0x2e82f3),()=>_0x6b563c[_0x38d6b2(0x1d7)]();},[]),_0x1eaec1(()=>()=>{const _0x664da=_0x2bff68;let _0x447a61=_0x1fb124['current'];if(_0x447a61!=null&&_0x447a61[_0x664da(0x24a)](document['activeElement'])){var _0x3edc07;(_0x3edc07=_0x18e724[_0x664da(0x203)])==null||(_0x3edc07=_0x3edc07[_0x664da(0x203)])==null||_0x3edc07[_0x664da(0x1d6)]();}},[]),_0x2ceb22(()=>{const _0x3113d1=_0x2bff68;let _0xc89e2a=new Set(_0x12bc71[_0x3113d1(0x22e)](X)),_0x1f4fe2=_0x2a76a0[_0x3113d1(0x203)];if(_0x1f4fe2!==null&&!_0xc89e2a[_0x3113d1(0x1e8)](_0x1f4fe2)){var _0x29e916;_0x2a76a0[_0x3113d1(0x203)]=null,_0x2005df[_0x3113d1(0x203)]=null,_0x36abe7==null||(_0x29e916=_0x36abe7[_0x3113d1(0x203)])==null||_0x29e916[_0x3113d1(0x1d6)]();}},[_0x36abe7,_0x12bc71]),_0x2ceb22(()=>{const _0xba02ae=_0x2bff68;let _0x3e283c=_0x2005df[_0xba02ae(0x203)];_0x3e283c!==null&&!_0x339282[_0xba02ae(0x203)][_0xba02ae(0x1e8)](_0x3e283c)&&_0x2be024(Math[_0xba02ae(0x210)](_0x345db3/_0x496323));},[_0x496323,_0x345db3,_0x2be024]);function _0x258aee(_0x1973a1,_0x2c96c0){const _0x2c5100=_0x2bff68;if(_0x2c96c0[_0x2c5100(0x1fd)]===_0x2c5100(0x1ee)||_0x2c96c0[_0x2c5100(0x1fd)]==='\x20'){_0x2c96c0[_0x2c5100(0x212)](),_0x5c4b6e(_0x12bc71[_0x1973a1][_0x2c5100(0x256)]);return;}let _0x25238e=_0x39b1b8==='rtl'?-0x1:0x1,_0x54f0c9=oe(_0x2c96c0[_0x2c5100(0x1fd)],_0x1973a1,_0x12bc71[_0x2c5100(0x233)],_0x496323,_0x25238e);if(_0x54f0c9===_0x1973a1)return;_0x2c96c0['preventDefault']();let _0x2489c7=X(_0x12bc71[_0x54f0c9]);_0x2005df[_0x2c5100(0x203)]=_0x2489c7,_0x23af2b(_0x2489c7);}function _0x586fd7(_0x49cdb3,_0x3e623e){const _0x327768=_0x2bff68;if(_0x3e623e===null){_0x339282['current'][_0x327768(0x1b9)](_0x49cdb3);return;}_0x339282[_0x327768(0x203)][_0x327768(0x22a)](_0x49cdb3,_0x3e623e),_0x2005df[_0x327768(0x203)]===_0x49cdb3&&(_0x2005df[_0x327768(0x203)]=null,_0x3e623e[_0x327768(0x1d6)]());}function _0x521c19(_0x1d7166){const _0xd2a70c=_0x2bff68;var _0x4915df;_0x2a76a0[_0xd2a70c(0x203)]=_0x1d7166,_0x23af2b(_0x1d7166),(_0x4915df=_0x339282['current'][_0xd2a70c(0x1c0)](_0x1d7166))==null||_0x4915df['focus'](),_0x208b44(_0x1316ce=>{const _0x302f57=_0xd2a70c;var _0xb04506;let _0x3c0021=new Map(_0x1316ce);return _0x3c0021[_0x302f57(0x22a)](_0x1d7166,((_0xb04506=_0x1316ce[_0x302f57(0x1c0)](_0x1d7166))==null?0x0:_0xb04506)+0x1),_0x3c0021;});}return _0x104792(_0x2bff68(0x1c5),{'ref':_0x1fb124,'aria-colcount':_0x496323,'aria-rowcount':_0x4262ec[_0x2bff68(0x233)],'className':'univer-w-full\x20univer-overflow-y-auto','dir':_0x39b1b8,'role':_0x2bff68(0x23d),'style':{'height':_0x36ca40},..._0x9e71b1,'children':_0x104792(_0x2bff68(0x1c5),{'style':_0x5d8569,'children':_0x48d9d3[_0x2bff68(0x22e)](({data:_0x17780a,index:_0x5cc448})=>_0x104792(_0x2bff68(0x1c5),{'aria-rowindex':_0x5cc448+0x1,'className':_0x2bff68(0x1cf),'role':_0x2bff68(0x1c4),'style':{'gridTemplateColumns':'repeat('+_0x496323+_0x2bff68(0x23e)},'children':_0x17780a['resources'][_0x2bff68(0x22e)](_0x1d3cd5=>{const _0x1dc358=_0x2bff68;var _0x1ea17e,_0x1ab281;let _0x382931=X(_0x1d3cd5),_0x41a59f=(_0x1ea17e=_0xf67769[_0x1dc358(0x1c0)](_0x382931))==null?0x0:_0x1ea17e;return _0x104792(te,{'buttonRef':_0x346b53=>_0x586fd7(_0x382931,_0x346b53),'previewLoadQueue':_0x5bcfe3,'resource':_0x1d3cd5,'retryCount':(_0x1ab281=_0x5454b1[_0x1dc358(0x1c0)](_0x382931))==null?0x0:_0x1ab281,'retryLabel':_0x14c07e(_0x1d3cd5[_0x1dc358(0x1c3)]),'tabIndex':_0x382931===_0x195424?0x0:-0x1,'onDragEnd':_0x3d018e,'onFocus':()=>{const _0x528a27=_0x1dc358;_0x2a76a0[_0x528a27(0x203)]=_0x382931,_0x23af2b(_0x382931);},'onKeyDown':_0x4fc54b=>_0x258aee(_0x41a59f,_0x4fc54b),'onPreviewLoad':_0x1a6300,'onRetry':()=>_0x521c19(_0x382931),'onSelect':_0x5c4b6e},_0x382931);})},_0x17780a['id']))})});}function ae(_0x292ce9,_0x2cc771){const _0x3bccef=_0x3020c2;let _0x1e41bd=[];for(let _0x1204b5=0x0;_0x1204b5<_0x292ce9[_0x3bccef(0x233)];_0x1204b5+=_0x2cc771){let _0x4f60dd=_0x292ce9[_0x3bccef(0x243)](_0x1204b5,_0x1204b5+_0x2cc771);_0x1e41bd[_0x3bccef(0x1d9)]({'id':JSON['stringify'](_0x4f60dd[_0x3bccef(0x22e)](_0x4fdabf=>_0x4fdabf[_0x3bccef(0x256)])),'resources':_0x4f60dd});}return _0x1e41bd;}function oe(_0x53fc53,_0x5a8b97,_0x466382,_0x1a9d0b,_0xd6bf9a){const _0x1a9a1e=_0x3020c2;switch(_0x53fc53){case _0x1a9a1e(0x1f7):return ce(_0x5a8b97+_0xd6bf9a,_0x466382);case'ArrowLeft':return ce(_0x5a8b97-_0xd6bf9a,_0x466382);case _0x1a9a1e(0x227):return se(_0x5a8b97,_0x466382,_0x1a9d0b,0x1);case _0x1a9a1e(0x230):return se(_0x5a8b97,_0x466382,_0x1a9d0b,-0x1);case'Home':return 0x0;case _0x1a9a1e(0x254):return _0x466382-0x1;default:return _0x5a8b97;}}function se(_0x15e0f1,_0x2be76e,_0x9a6f81,_0x2712c3){const _0x1f7d49=_0x3020c2;let _0x5695be=_0x15e0f1%_0x9a6f81,_0x5173d2=Math[_0x1f7d49(0x210)](_0x15e0f1/_0x9a6f81)+_0x2712c3,_0xbf9612=_0x5173d2*_0x9a6f81+_0x5695be;return _0x5173d2<0x0||_0xbf9612>=_0x2be76e?_0x15e0f1:_0xbf9612;}function ce(_0x43572c,_0x14eff7){const _0x30b435=_0x3020c2;return Math[_0x30b435(0x223)](0x0,Math[_0x30b435(0x1ed)](_0x14eff7-0x1,_0x43572c));}function X(_0x770a10){const _0x3f4ef9=_0x3020c2;return JSON[_0x3f4ef9(0x248)]([_0x770a10['reference'][_0x3f4ef9(0x1ce)],_0x770a10['reference'][_0x3f4ef9(0x1d2)]]);}const le=_0x3020c2(0x1d5);function ue(){const _0x594120=_0x3020c2;let _0x171488=_0x49db17(_0x295ecb),_0xaca195=_0x49db17(G),_0x1ac497=_0x49db17(_0x22fa27),_0x3e7fa1=_0x49db17(_0x15d801),_0x5c8fa2=_0x49db17(_0x372034),_0x3ab29b=_0x49db17(q),[_0x1fd667,_0x11131a]=_0x4249fd(null),[_0x1cda55,_0x59891b]=_0x4249fd(()=>_0x171488[_0x594120(0x1f3)]()),[_0x4d44ec,_0xfd51fc]=_0x4249fd(''),[_0x44a021,_0x2c8ce6]=_0x4249fd(''),[_0x42b414,_0x5ed20f]=_0x4249fd([]),_0x22b5cf=_0x20e08f(null),_0x42cb95=_0x20e08f(null),_0x3fa00d=_0x56a1f0(_0x171488[_0x594120(0x217)],_0x171488[_0x594120(0x226)]());if(_0x2ceb22(()=>{const _0x1463a3=_0x594120;let _0xee0828=_0xaca195[_0x1463a3(0x234)][_0x1463a3(0x1de)](_0x11131a);return()=>_0xee0828[_0x1463a3(0x208)]();},[_0xaca195]),_0x2ceb22(()=>{const _0x376db7=_0x594120;let _0x269be6=_0x171488[_0x376db7(0x1fb)][_0x376db7(0x1de)](_0x59891b);return()=>_0x269be6['unsubscribe']();},[_0x171488]),_0x56a1f0(_0x3e7fa1[_0x594120(0x21e)],0x0),_0x2ceb22(()=>()=>{const _0x1ba410=_0x594120;var _0x4e6a1c;(_0x4e6a1c=_0x42cb95[_0x1ba410(0x203)])==null||_0x4e6a1c[_0x1ba410(0x1e5)](),_0x42cb95[_0x1ba410(0x203)]=null;},[_0x1fd667]),_0x1fd667===null)return null;let _0x2b6961=_0x1ac497[_0x594120(0x1f8)]({'locale':_0x1cda55,'payloadTypes':_0x1fd667[_0x594120(0x1c8)]}),_0x2f6699=_0x1ac497[_0x594120(0x1f8)]({'locale':_0x1cda55,'payloadTypes':_0x1fd667[_0x594120(0x1c8)],..._0x4d44ec===''?{}:{'text':_0x4d44ec},..._0x44a021===''?{}:{'groupId':_0x44a021},..._0x42b414['length']===0x0?{}:{'tagIds':_0x42b414}}),_0x502eed=de(_0x2b6961),_0x2e9319=fe(_0x2b6961);return _0x108fc1(_0x594120(0x1d1),{'aria-label':_0x171488['t'](_0x594120(0x1d4)),'className':_0x594120(0x1da),'data-u-comp':_0x594120(0x225),'children':[_0x108fc1('label',{'children':[_0x104792('span',{'className':_0x594120(0x1d0),'children':_0x171488['t']('resources-ui.picker.search')}),_0x104792(_0x54694c,{'ref':_0x22b5cf,'placeholder':_0x171488['t'](_0x594120(0x20a)),'value':_0x4d44ec,'onBlur':()=>{const _0x112d5d=_0x594120;var _0x294349;(_0x294349=_0x42cb95[_0x112d5d(0x203)])==null||_0x294349['dispose'](),_0x42cb95[_0x112d5d(0x203)]=null;},'onChange':_0xfd51fc,'onFocus':()=>{const _0x5deda0=_0x594120;_0x42cb95[_0x5deda0(0x203)]!=null||(_0x42cb95[_0x5deda0(0x203)]=_0x5c8fa2['forceEscape']());}})]}),_0x108fc1(_0x594120(0x1c5),{'className':_0x594120(0x221),'children':[_0x108fc1('div',{'className':_0x594120(0x1b7),'children':[_0x104792(_0x594120(0x229),{'className':_0x594120(0x1d3),'children':_0x171488['t'](_0x594120(0x24e))}),_0x104792(_0x304fd4,{'className':_0x594120(0x21d),'options':[{'label':_0x171488['t']('resources-ui.picker.allGroups'),'value':''},..._0x502eed[_0x594120(0x22e)](_0x140268=>({'label':_0x140268[_0x594120(0x202)],'value':_0x140268['id']}))],'value':_0x44a021,'onChange':_0x2c8ce6})]}),_0x108fc1(_0x594120(0x1c5),{'className':_0x594120(0x1b7),'children':[_0x104792(_0x594120(0x229),{'className':_0x594120(0x1d3),'children':_0x171488['t']('resources-ui.picker.tags')}),_0x104792(_0x3dffd3,{'className':_0x594120(0x21d),'options':_0x2e9319[_0x594120(0x22e)](_0x24e9a6=>({'label':_0x24e9a6[_0x594120(0x202)],'value':_0x24e9a6['id']})),'value':[..._0x42b414],'onChange':_0x5ed20f})]})]}),_0x2b6961['length']===0x0?_0x104792('div',{'role':_0x594120(0x1d8),'children':_0x171488['t']('resources-ui.picker.noResources')}):_0x2f6699[_0x594120(0x233)]===0x0?_0x104792(_0x594120(0x1c5),{'role':_0x594120(0x1d8),'children':_0x171488['t'](_0x594120(0x1bf))}):_0x104792(ie,{'direction':_0x3fa00d,'focusFallbackRef':_0x22b5cf,'height':0x258,'resources':_0x2f6699,'retryLabel':_0x57b19e=>_0x171488['t'](_0x594120(0x1cb),_0x57b19e),'onDragEnd':_0x1fd667['onDragEnd'],'onPreviewLoad':(_0x2d9c07,_0x97321f,_0x360e4c)=>{_0x3ab29b['set'](_0x2d9c07,_0x97321f,_0x360e4c);},'onSelect':_0x1fd667['onSelect']})]});}function de(_0x4e0367){const _0x21c7ce=_0x3020c2;let _0x57bfe8=new Map();return _0x4e0367[_0x21c7ce(0x22d)](_0x49e660=>{const _0x67c9a4=_0x21c7ce;_0x49e660[_0x67c9a4(0x1ff)]['groupId']&&_0x49e660[_0x67c9a4(0x1f0)]&&!_0x57bfe8[_0x67c9a4(0x1e8)](_0x49e660[_0x67c9a4(0x1ff)][_0x67c9a4(0x1ba)])&&_0x57bfe8['set'](_0x49e660['descriptor'][_0x67c9a4(0x1ba)],_0x49e660[_0x67c9a4(0x1f0)]);}),Array[_0x21c7ce(0x216)](_0x57bfe8,([_0x518a78,_0x587992])=>({'id':_0x518a78,'label':_0x587992}));}function fe(_0x97ab99){const _0x38de15=_0x3020c2;let _0x3d5133=new Map();return _0x97ab99['forEach'](_0x5926b9=>{const _0x285d22=_0x1a54;var _0x559307;(_0x559307=_0x5926b9['descriptor'][_0x285d22(0x21a)])==null||_0x559307['forEach']((_0x504e6e,_0x44a500)=>{const _0x24803b=_0x285d22;let _0x2cf74c=_0x5926b9['tagLabels'][_0x44a500];_0x2cf74c!==void 0x0&&!_0x3d5133[_0x24803b(0x1e8)](_0x504e6e)&&_0x3d5133[_0x24803b(0x22a)](_0x504e6e,_0x2cf74c);});}),Array[_0x38de15(0x216)](_0x3d5133,([_0x25053d,_0x1743d9])=>({'id':_0x25053d,'label':_0x1743d9}));}function Z(_0x271934,_0x208865){return function(_0x5556f0,_0x49eb5d){_0x208865(_0x5556f0,_0x49eb5d,_0x271934);};}function pe(_0x39e7fc,_0x463807,_0x5849a8,_0x2d2803){const _0x2efdcd=_0x3020c2;var _0x120f4e=arguments['length'],_0x4e9df1=_0x120f4e<0x3?_0x463807:_0x2d2803===null?_0x2d2803=Object['getOwnPropertyDescriptor'](_0x463807,_0x5849a8):_0x2d2803,_0x46f0c7;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x2efdcd(0x23f))_0x4e9df1=Reflect[_0x2efdcd(0x1e1)](_0x39e7fc,_0x463807,_0x5849a8,_0x2d2803);else{for(var _0x3985f4=_0x39e7fc[_0x2efdcd(0x233)]-0x1;_0x3985f4>=0x0;_0x3985f4--)(_0x46f0c7=_0x39e7fc[_0x3985f4])&&(_0x4e9df1=(_0x120f4e<0x3?_0x46f0c7(_0x4e9df1):_0x120f4e>0x3?_0x46f0c7(_0x463807,_0x5849a8,_0x4e9df1):_0x46f0c7(_0x463807,_0x5849a8))||_0x4e9df1);}return _0x120f4e>0x3&&_0x4e9df1&&Object['defineProperty'](_0x463807,_0x5849a8,_0x4e9df1),_0x4e9df1;}let Q=class extends _0x4b25aa{constructor(_0xa1eff2){const _0x3cd79c=_0x3020c2;super(),this[_0x3cd79c(0x214)]=_0xa1eff2,this[_0x3cd79c(0x1f1)](this[_0x3cd79c(0x214)]['register'](le,ue));}};Q=pe([Z(0x0,_0x1d1c92(_0x1bb0f2))],Q);const me='UNIVER_RESOURCES_UI_PLUGIN';let $=class extends _0x4adc39{constructor(_0x281802=I,_0x537ae5,_0x4473bc){const _0x557ca6=_0x3020c2;super(),this[_0x557ca6(0x1f6)]=_0x281802,this[_0x557ca6(0x1fc)]=_0x537ae5,this[_0x557ca6(0x206)]=_0x4473bc;let {..._0x1f46c2}=_0x247f5f({},I,this['_config']);this[_0x557ca6(0x206)][_0x557ca6(0x1dc)](F,_0x1f46c2);}['onStarting'](){const _0xc64306=_0x3020c2;[[G,{'useClass':K}],[q,{'useClass':J}],[Q]]['forEach'](_0x535f62=>this[_0xc64306(0x1fc)][_0xc64306(0x1eb)](_0x535f62)),this[_0xc64306(0x1f1)](this[_0xc64306(0x1fc)]['get'](q)),this['disposeWithMe'](this[_0xc64306(0x1fc)][_0xc64306(0x1c0)](Q));}};U($,_0x3020c2(0x21f),me),U($,'packageName',R),U($,_0x3020c2(0x21c),z),U($,_0x3020c2(0x1e4),_0x1b9c0a[_0x3020c2(0x222)]),$=pe([_0x3b0f7c(_0x4f7e27,_0x1e4e7a,_0x144d98),Z(0x1,_0x1d1c92(_0x7a241a)),Z(0x2,_0x5b30ad)],$);function _0x1a54(_0x1b4f3d,_0x35fdbb){_0x1b4f3d=_0x1b4f3d-0x1b6;const _0x54ae60=_0x54ae();let _0x1a547d=_0x54ae60[_0x1b4f3d];return _0x1a547d;}export{L as DEFAULT_RESOURCE_PICKER_CONFIG,G as IResourcePickerService,q as IResourcePreviewCacheService,F as RESOURCES_UI_PLUGIN_CONFIG_KEY,me as RESOURCES_UI_PLUGIN_NAME,le as RESOURCE_PICKER_COMPONENT,W as RESOURCE_REFERENCE_MIME_TYPE,ue as ResourcePicker,K as ResourcePickerService,J as ResourcePreviewCacheService,$ as UniverResourcesUIPlugin};
@@ -0,0 +1 @@
1
+ const _0x7036b4=_0x2e17;function _0x2e17(_0x422172,_0x57b779){_0x422172=_0x422172-0x13a;const _0x33700f=_0x3370();let _0x2e17a1=_0x33700f[_0x422172];return _0x2e17a1;}function _0x3370(){const _0x20a248=['الموارد','10vRSIYN','3427450aPVSsg','1023491QxDBAo','273568VLCMOv','3983576gDPdsN','30RdckpI','لم\x20يتم\x20تسجيل\x20أي\x20موارد','326523ZCtZjU','17093106ytFffy','المجموعة','إعادة\x20محاولة\x20معاينة\x20{0}','414245vKPuHC','جميع\x20المجموعات','لا\x20توجد\x20موارد\x20مطابقة','العلامات'];_0x3370=function(){return _0x20a248;};return _0x3370();}(function(_0x3f4bb6,_0x24d382){const _0x44e2b6=_0x2e17,_0x33051=_0x3f4bb6();while(!![]){try{const _0x1baba1=-parseInt(_0x44e2b6(0x148))/0x1+parseInt(_0x44e2b6(0x13d))/0x2*(-parseInt(_0x44e2b6(0x144))/0x3)+-parseInt(_0x44e2b6(0x140))/0x4+-parseInt(_0x44e2b6(0x13e))/0x5+-parseInt(_0x44e2b6(0x142))/0x6*(-parseInt(_0x44e2b6(0x13f))/0x7)+-parseInt(_0x44e2b6(0x141))/0x8+parseInt(_0x44e2b6(0x145))/0x9;if(_0x1baba1===_0x24d382)break;else _0x33051['push'](_0x33051['shift']());}catch(_0x3dc2e4){_0x33051['push'](_0x33051['shift']());}}}(_0x3370,0x668b4));const e={'resources-ui':{'picker':{'title':_0x7036b4(0x13c),'search':'البحث\x20في\x20الموارد','group':_0x7036b4(0x146),'tags':_0x7036b4(0x13b),'allGroups':_0x7036b4(0x149),'noResources':_0x7036b4(0x143),'noResults':_0x7036b4(0x13a),'retryPreview':_0x7036b4(0x147)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x196a66=_0x5650;function _0x1492(){const _0x5a0b1c=['87641gFOtqf','Recursos','3123396dapOyg','17280sBrOno','80OwxTEc','2136945sDWZkr','23204133CQbrmS','Tots\x20els\x20grups','659855eloiGm','Grup','1358206pwYraJ','No\x20hi\x20ha\x20recursos\x20registrats','1278EKGeky','Cerca\x20recursos'];_0x1492=function(){return _0x5a0b1c;};return _0x1492();}function _0x5650(_0xc24965,_0x20a974){_0xc24965=_0xc24965-0x12c;const _0x1492a0=_0x1492();let _0x5650cc=_0x1492a0[_0xc24965];return _0x5650cc;}(function(_0xfcef0b,_0x4689ca){const _0x2eff21=_0x5650,_0xdc52bc=_0xfcef0b();while(!![]){try{const _0x2908d2=-parseInt(_0x2eff21(0x132))/0x1+-parseInt(_0x2eff21(0x12e))/0x2+-parseInt(_0x2eff21(0x137))/0x3+-parseInt(_0x2eff21(0x134))/0x4+-parseInt(_0x2eff21(0x135))/0x5*(parseInt(_0x2eff21(0x130))/0x6)+-parseInt(_0x2eff21(0x12c))/0x7*(-parseInt(_0x2eff21(0x136))/0x8)+parseInt(_0x2eff21(0x138))/0x9;if(_0x2908d2===_0x4689ca)break;else _0xdc52bc['push'](_0xdc52bc['shift']());}catch(_0x1364e8){_0xdc52bc['push'](_0xdc52bc['shift']());}}}(_0x1492,0x80233));const e={'resources-ui':{'picker':{'title':_0x196a66(0x133),'search':_0x196a66(0x131),'group':_0x196a66(0x12d),'tags':'Etiquetes','allGroups':_0x196a66(0x139),'noResources':_0x196a66(0x12f),'noResults':'No\x20hi\x20ha\x20recursos\x20coincidents','retryPreview':'Torna\x20a\x20provar\x20la\x20previsualització\x20de\x20{0}'}}};export{e as default};
@@ -0,0 +1 @@
1
+ function _0x3cb4(_0x1435c7,_0x3956ea){_0x1435c7=_0x1435c7-0x120;const _0x3fda84=_0x3fda();let _0x3cb44e=_0x3fda84[_0x1435c7];return _0x3cb44e;}const _0x5ebdda=_0x3cb4;(function(_0x3e522f,_0x2a86e3){const _0x3d2bb3=_0x3cb4,_0x31239b=_0x3e522f();while(!![]){try{const _0x531766=parseInt(_0x3d2bb3(0x125))/0x1+-parseInt(_0x3d2bb3(0x124))/0x2*(-parseInt(_0x3d2bb3(0x12d))/0x3)+-parseInt(_0x3d2bb3(0x128))/0x4*(-parseInt(_0x3d2bb3(0x129))/0x5)+parseInt(_0x3d2bb3(0x126))/0x6+parseInt(_0x3d2bb3(0x12e))/0x7*(-parseInt(_0x3d2bb3(0x123))/0x8)+parseInt(_0x3d2bb3(0x127))/0x9*(-parseInt(_0x3d2bb3(0x12c))/0xa)+-parseInt(_0x3d2bb3(0x12a))/0xb;if(_0x531766===_0x2a86e3)break;else _0x31239b['push'](_0x31239b['shift']());}catch(_0x4dc413){_0x31239b['push'](_0x31239b['shift']());}}}(_0x3fda,0xb227a));function _0x3fda(){const _0x5eae5a=['1125sgvpPy','15195642eeMuHK','Gruppe','2626110CjXfjm','12SiKWhP','114709tzeMBS','Tags','Keine\x20passenden\x20Ressourcen','Ressourcen','104XpFXDD','615872lPSvox','736128WoTsag','958566ybChqP','27qOzafj','17500eXYEQY'];_0x3fda=function(){return _0x5eae5a;};return _0x3fda();}const e={'resources-ui':{'picker':{'title':_0x5ebdda(0x122),'search':'Ressourcen\x20durchsuchen','group':_0x5ebdda(0x12b),'tags':_0x5ebdda(0x120),'allGroups':'Alle\x20Gruppen','noResources':'Keine\x20Ressourcen\x20registriert','noResults':_0x5ebdda(0x121),'retryPreview':'Vorschau\x20von\x20{0}\x20erneut\x20laden'}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x419d92=_0x1e39;(function(_0x4da264,_0x1d9ae2){const _0x1c5800=_0x1e39,_0x3d29da=_0x4da264();while(!![]){try{const _0x5a408b=-parseInt(_0x1c5800(0x8a))/0x1+parseInt(_0x1c5800(0x86))/0x2*(-parseInt(_0x1c5800(0x85))/0x3)+parseInt(_0x1c5800(0x8b))/0x4*(parseInt(_0x1c5800(0x8c))/0x5)+parseInt(_0x1c5800(0x8d))/0x6*(-parseInt(_0x1c5800(0x89))/0x7)+parseInt(_0x1c5800(0x87))/0x8+-parseInt(_0x1c5800(0x8e))/0x9*(-parseInt(_0x1c5800(0x83))/0xa)+parseInt(_0x1c5800(0x84))/0xb;if(_0x5a408b===_0x1d9ae2)break;else _0x3d29da['push'](_0x3d29da['shift']());}catch(_0x39ecea){_0x3d29da['push'](_0x3d29da['shift']());}}}(_0x4545,0xa7a33));function _0x1e39(_0x528ef7,_0x55f39d){_0x528ef7=_0x528ef7-0x80;const _0x45453b=_0x4545();let _0x1e39ff=_0x45453b[_0x528ef7];return _0x1e39ff;}const e={'resources-ui':{'picker':{'title':'Resources','search':'Search\x20resources','group':_0x419d92(0x82),'tags':'Tags','allGroups':_0x419d92(0x80),'noResources':_0x419d92(0x81),'noResults':_0x419d92(0x88),'retryPreview':_0x419d92(0x8f)}}};export{e as default};function _0x4545(){const _0x4af2cc=['52562ICTZxE','2818504ElyFkQ','No\x20matching\x20resources','1615852dnCrqf','1047849dhjIsS','414296fPSsSX','30nGaVFw','24kLfNHx','9JwUOrr','Retry\x20{0}\x20preview','All\x20groups','No\x20resources\x20registered','Group','13721670LOgyQF','8056488BsTUON','48nZxpIT'];_0x4545=function(){return _0x4af2cc;};return _0x4545();}
@@ -0,0 +1 @@
1
+ const _0x45e53f=_0x12f6;function _0x12f6(_0x1e03ad,_0x1027f8){_0x1e03ad=_0x1e03ad-0x13a;const _0x2796cd=_0x2796();let _0x12f67c=_0x2796cd[_0x1e03ad];return _0x12f67c;}function _0x2796(){const _0x2c4f24=['20278140NFiCkN','1251jzBiJR','476670IxdifN','18196bsqqpC','3921874EMVhEw','Recursos','Grupo','406720LSLuXc','619842fqSKlE','Reintentar\x20la\x20vista\x20previa\x20de\x20{0}','Todos\x20los\x20grupos','Etiquetas','36336iDEnCu','No\x20hay\x20recursos\x20coincidentes','13YQSdJh','Buscar\x20recursos','56vgMnIj','10sdpTeG','650nQUlkn','10xmlzVu'];_0x2796=function(){return _0x2c4f24;};return _0x2796();}(function(_0x2447af,_0x382043){const _0x3665e8=_0x12f6,_0x1c5801=_0x2447af();while(!![]){try{const _0x31a805=-parseInt(_0x3665e8(0x14c))/0x1+-parseInt(_0x3665e8(0x142))/0x2*(-parseInt(_0x3665e8(0x147))/0x3)+-parseInt(_0x3665e8(0x148))/0x4*(-parseInt(_0x3665e8(0x143))/0x5)+-parseInt(_0x3665e8(0x14d))/0x6*(parseInt(_0x3665e8(0x141))/0x7)+-parseInt(_0x3665e8(0x13d))/0x8*(parseInt(_0x3665e8(0x146))/0x9)+-parseInt(_0x3665e8(0x144))/0xa*(parseInt(_0x3665e8(0x149))/0xb)+parseInt(_0x3665e8(0x145))/0xc*(parseInt(_0x3665e8(0x13f))/0xd);if(_0x31a805===_0x382043)break;else _0x1c5801['push'](_0x1c5801['shift']());}catch(_0x1b7938){_0x1c5801['push'](_0x1c5801['shift']());}}}(_0x2796,0xd0a59));const e={'resources-ui':{'picker':{'title':_0x45e53f(0x14a),'search':_0x45e53f(0x140),'group':_0x45e53f(0x14b),'tags':_0x45e53f(0x13c),'allGroups':_0x45e53f(0x13b),'noResources':'No\x20hay\x20recursos\x20registrados','noResults':_0x45e53f(0x13e),'retryPreview':_0x45e53f(0x13a)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x2c1436=_0x5932;(function(_0x1c5071,_0x12645a){const _0x483010=_0x5932,_0x380a8a=_0x1c5071();while(!![]){try{const _0x2e6364=-parseInt(_0x483010(0x1be))/0x1*(-parseInt(_0x483010(0x1bc))/0x2)+-parseInt(_0x483010(0x1ba))/0x3+-parseInt(_0x483010(0x1c7))/0x4*(parseInt(_0x483010(0x1c1))/0x5)+parseInt(_0x483010(0x1ca))/0x6*(-parseInt(_0x483010(0x1c4))/0x7)+-parseInt(_0x483010(0x1c2))/0x8*(parseInt(_0x483010(0x1bf))/0x9)+parseInt(_0x483010(0x1c9))/0xa*(-parseInt(_0x483010(0x1bd))/0xb)+parseInt(_0x483010(0x1c8))/0xc;if(_0x2e6364===_0x12645a)break;else _0x380a8a['push'](_0x380a8a['shift']());}catch(_0x17182d){_0x380a8a['push'](_0x380a8a['shift']());}}}(_0x1130,0xe0576));const e={'resources-ui':{'picker':{'title':_0x2c1436(0x1cb),'search':_0x2c1436(0x1c6),'group':_0x2c1436(0x1c3),'tags':'برچسب‌ها','allGroups':_0x2c1436(0x1bb),'noResources':'هیچ\x20منبعی\x20ثبت\x20نشده\x20است','noResults':_0x2c1436(0x1c0),'retryPreview':_0x2c1436(0x1c5)}}};function _0x5932(_0x1ab342,_0x4c256e){_0x1ab342=_0x1ab342-0x1ba;const _0x11307a=_0x1130();let _0x5932eb=_0x11307a[_0x1ab342];return _0x5932eb;}function _0x1130(){const _0x59b4ce=['1314975nWdWzI','همه\x20گروه‌ها','610180KOvsMf','3968591LPgrvA','5tsLqxB','76878vOmutK','هیچ\x20منبع\x20منطبقی\x20یافت\x20نشد','10cXipCF','904XxQBbe','گروه','7wfGwPz','تلاش\x20مجدد\x20برای\x20پیش‌نمایش\x20«{0}»','جستجوی\x20منابع','1887140NmWnGV','58004772lLbJJg','50ddicIN','7735398SsyTvO','منابع'];_0x1130=function(){return _0x59b4ce;};return _0x1130();}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x2233(_0x272c8f,_0x27d63b){_0x272c8f=_0x272c8f-0x66;const _0x14c083=_0x14c0();let _0x22331f=_0x14c083[_0x272c8f];return _0x22331f;}const _0x27bb3c=_0x2233;function _0x14c0(){const _0x489e1d=['Ressources','14623lxGyoL','2122972aLsGCb','119650pIwzvM','6727860gnfnwz','3688sCDdde','7722585zPwgvd','1501566HFIIbm','17RbServ','5prVSHB','Aucune\x20ressource\x20enregistrée','Tous\x20les\x20groupes','81478thYRsj','Rechercher\x20des\x20ressources','671oVHJQE','Étiquettes','Groupe'];_0x14c0=function(){return _0x489e1d;};return _0x14c0();}(function(_0x21bda9,_0x322e9a){const _0x1a9297=_0x2233,_0x528518=_0x21bda9();while(!![]){try{const _0x2a130a=parseInt(_0x1a9297(0x6d))/0x1*(-parseInt(_0x1a9297(0x71))/0x2)+parseInt(_0x1a9297(0x6c))/0x3+parseInt(_0x1a9297(0x67))/0x4*(parseInt(_0x1a9297(0x6e))/0x5)+parseInt(_0x1a9297(0x69))/0x6+parseInt(_0x1a9297(0x66))/0x7*(-parseInt(_0x1a9297(0x6a))/0x8)+parseInt(_0x1a9297(0x6b))/0x9+parseInt(_0x1a9297(0x68))/0xa*(-parseInt(_0x1a9297(0x73))/0xb);if(_0x2a130a===_0x322e9a)break;else _0x528518['push'](_0x528518['shift']());}catch(_0x573976){_0x528518['push'](_0x528518['shift']());}}}(_0x14c0,0x98a1f));const e={'resources-ui':{'picker':{'title':_0x27bb3c(0x76),'search':_0x27bb3c(0x72),'group':_0x27bb3c(0x75),'tags':_0x27bb3c(0x74),'allGroups':_0x27bb3c(0x70),'noResources':_0x27bb3c(0x6f),'noResults':'Aucune\x20ressource\x20correspondante','retryPreview':'Réessayer\x20l’aperçu\x20de\x20{0}'}}};export{e as default};
@@ -0,0 +1 @@
1
+ function _0x4b61(_0x3edf4c,_0x251c26){_0x3edf4c=_0x3edf4c-0xb7;const _0x1a6957=_0x1a69();let _0x4b61c3=_0x1a6957[_0x3edf4c];return _0x4b61c3;}function _0x1a69(){const _0x8ce438=['Tag','Grup','74jVndus','88907lEfNPd','4202156vEaFfv','7720784ajfZpY','9OthJVm','Muat\x20ulang\x20pratinjau\x20{0}','3HurYDG','6312750ELSRto','28313470wCLgQB','13822eJSqWg','Cari\x20sumber\x20daya','Belum\x20ada\x20sumber\x20daya\x20yang\x20terdaftar','Sumber\x20daya','3471160DQoIhJ'];_0x1a69=function(){return _0x8ce438;};return _0x1a69();}const _0x53e452=_0x4b61;(function(_0x1b6286,_0x433134){const _0x338a3a=_0x4b61,_0x4f573f=_0x1b6286();while(!![]){try{const _0xcaaf94=-parseInt(_0x338a3a(0xc6))/0x1*(parseInt(_0x338a3a(0xbd))/0x2)+parseInt(_0x338a3a(0xc3))/0x3*(-parseInt(_0x338a3a(0xbf))/0x4)+-parseInt(_0x338a3a(0xba))/0x5+parseInt(_0x338a3a(0xc4))/0x6+parseInt(_0x338a3a(0xbe))/0x7+-parseInt(_0x338a3a(0xc0))/0x8*(parseInt(_0x338a3a(0xc1))/0x9)+parseInt(_0x338a3a(0xc5))/0xa;if(_0xcaaf94===_0x433134)break;else _0x4f573f['push'](_0x4f573f['shift']());}catch(_0x5905bf){_0x4f573f['push'](_0x4f573f['shift']());}}}(_0x1a69,0xa4c4a));const e={'resources-ui':{'picker':{'title':_0x53e452(0xb9),'search':_0x53e452(0xb7),'group':_0x53e452(0xbc),'tags':_0x53e452(0xbb),'allGroups':'Semua\x20grup','noResources':_0x53e452(0xb8),'noResults':'Tidak\x20ada\x20sumber\x20daya\x20yang\x20cocok','retryPreview':_0x53e452(0xc2)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x4c9bb6=_0x4466;function _0x190d(){const _0x187403=['Nessuna\x20risorsa\x20corrispondente','Tutti\x20i\x20gruppi','1110tqtqPb','Cerca\x20risorse','2blWVHf','1929445rJUrop','Gruppo','2525652EMoBsf','99cHLUTH','4091160OeAqNr','104rYSeeJ','801092jfDaHx','46329tMEiBv','11FxOxhu','884490HRLKSf','3335HnYIpO','Risorse'];_0x190d=function(){return _0x187403;};return _0x190d();}function _0x4466(_0x183352,_0x1e89db){_0x183352=_0x183352-0xd4;const _0x190db9=_0x190d();let _0x44664b=_0x190db9[_0x183352];return _0x44664b;}(function(_0xfd4066,_0x2549db){const _0x563175=_0x4466,_0x2dc1e6=_0xfd4066();while(!![]){try{const _0x4e05aa=parseInt(_0x563175(0xd4))/0x1*(parseInt(_0x563175(0xdb))/0x2)+parseInt(_0x563175(0xdc))/0x3*(-parseInt(_0x563175(0xda))/0x4)+-parseInt(_0x563175(0xdf))/0x5*(-parseInt(_0x563175(0xe3))/0x6)+parseInt(_0x563175(0xd5))/0x7+parseInt(_0x563175(0xd9))/0x8+parseInt(_0x563175(0xd8))/0x9*(-parseInt(_0x563175(0xde))/0xa)+parseInt(_0x563175(0xdd))/0xb*(parseInt(_0x563175(0xd7))/0xc);if(_0x4e05aa===_0x2549db)break;else _0x2dc1e6['push'](_0x2dc1e6['shift']());}catch(_0x3b9e73){_0x2dc1e6['push'](_0x2dc1e6['shift']());}}}(_0x190d,0x85acb));const e={'resources-ui':{'picker':{'title':_0x4c9bb6(0xe0),'search':_0x4c9bb6(0xe4),'group':_0x4c9bb6(0xd6),'tags':'Tag','allGroups':_0x4c9bb6(0xe2),'noResources':'Nessuna\x20risorsa\x20registrata','noResults':_0x4c9bb6(0xe1),'retryPreview':'Riprova\x20l’anteprima\x20di\x20{0}'}}};export{e as default};
@@ -0,0 +1 @@
1
+ function _0x7d5f(_0x3e6d95,_0x436242){_0x3e6d95=_0x3e6d95-0x1e1;const _0x30f5dd=_0x30f5();let _0x7d5f70=_0x30f5dd[_0x3e6d95];return _0x7d5f70;}const _0xcae7d2=_0x7d5f;(function(_0x5483d5,_0xc21c11){const _0xd3ba4c=_0x7d5f,_0x415373=_0x5483d5();while(!![]){try{const _0x45f368=parseInt(_0xd3ba4c(0x1e2))/0x1+parseInt(_0xd3ba4c(0x1e4))/0x2*(parseInt(_0xd3ba4c(0x1ea))/0x3)+-parseInt(_0xd3ba4c(0x1e8))/0x4+-parseInt(_0xd3ba4c(0x1eb))/0x5+-parseInt(_0xd3ba4c(0x1e5))/0x6+-parseInt(_0xd3ba4c(0x1e3))/0x7*(-parseInt(_0xd3ba4c(0x1ec))/0x8)+parseInt(_0xd3ba4c(0x1e9))/0x9*(-parseInt(_0xd3ba4c(0x1ee))/0xa);if(_0x45f368===_0xc21c11)break;else _0x415373['push'](_0x415373['shift']());}catch(_0x5364ee){_0x415373['push'](_0x415373['shift']());}}}(_0x30f5,0x341b8));const e={'resources-ui':{'picker':{'title':_0xcae7d2(0x1ed),'search':_0xcae7d2(0x1e7),'group':_0xcae7d2(0x1e6),'tags':'タグ','allGroups':'すべてのグループ','noResources':'リソースが登録されていません','noResults':_0xcae7d2(0x1ef),'retryPreview':_0xcae7d2(0x1e1)}}};function _0x30f5(){const _0x17782e=['902680eWslXh','153ixZliq','807900UtvFqV','615075wCdcGZ','4088csZbUR','リソース','167290uEijBv','一致するリソースがありません','{0}\x20のプレビューを再試行','411072plbmrz','2681NKOmuY','2lbuOqG','177450uSYGKs','グループ','リソースを検索'];_0x30f5=function(){return _0x17782e;};return _0x30f5();}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x1fa431=_0x3b22;(function(_0x536733,_0x320f77){const _0x803d75=_0x3b22,_0x1c7310=_0x536733();while(!![]){try{const _0x570775=parseInt(_0x803d75(0x15c))/0x1*(parseInt(_0x803d75(0x154))/0x2)+parseInt(_0x803d75(0x158))/0x3+-parseInt(_0x803d75(0x15a))/0x4*(parseInt(_0x803d75(0x159))/0x5)+parseInt(_0x803d75(0x161))/0x6+-parseInt(_0x803d75(0x152))/0x7*(parseInt(_0x803d75(0x153))/0x8)+-parseInt(_0x803d75(0x157))/0x9*(-parseInt(_0x803d75(0x15f))/0xa)+parseInt(_0x803d75(0x156))/0xb*(-parseInt(_0x803d75(0x151))/0xc);if(_0x570775===_0x320f77)break;else _0x1c7310['push'](_0x1c7310['shift']());}catch(_0x30b820){_0x1c7310['push'](_0x1c7310['shift']());}}}(_0x1ab0,0x9275e));function _0x3b22(_0x2633f2,_0x4c0d16){_0x2633f2=_0x2633f2-0x151;const _0x1ab054=_0x1ab0();let _0x3b22fb=_0x1ab054[_0x2633f2];return _0x3b22fb;}const e={'resources-ui':{'picker':{'title':_0x1fa431(0x15d),'search':_0x1fa431(0x155),'group':'그룹','tags':'태그','allGroups':_0x1fa431(0x160),'noResources':_0x1fa431(0x15b),'noResults':_0x1fa431(0x15e),'retryPreview':'{0}\x20미리보기\x20다시\x20시도'}}};export{e as default};function _0x1ab0(){const _0x4f290a=['모든\x20그룹','1517958RNuMWS','4980kUnESg','10199JrHYiB','5784dvvGyb','28wRqPWA','리소스\x20검색','20317DvZwRd','1413AjjCyd','3100644AWGYpp','10CLYeUt','874204BJeRJo','등록된\x20리소스가\x20없습니다','80669qOfuCF','리소스','일치하는\x20리소스가\x20없습니다','28090ZTZHYi'];_0x1ab0=function(){return _0x4f290a;};return _0x1ab0();}
@@ -0,0 +1 @@
1
+ function _0x14ea(){const _0x28fecb=['3408712GVghsM','Tagi','1548868sJOgXf','1783390hNCEbc','1101531wbvJSz','239176bzojRP','889266xSVrXd','Wszystkie\x20grupy','2uszdmj','Wyszukaj\x20zasoby','1454508ojvmah'];_0x14ea=function(){return _0x28fecb;};return _0x14ea();}const _0x4d9831=_0x5f38;function _0x5f38(_0x3bb75d,_0x5baa91){_0x3bb75d=_0x3bb75d-0x98;const _0x14ea36=_0x14ea();let _0x5f3892=_0x14ea36[_0x3bb75d];return _0x5f3892;}(function(_0x4f16e4,_0x275402){const _0x3f30c7=_0x5f38,_0x2a18b7=_0x4f16e4();while(!![]){try{const _0x1934eb=parseInt(_0x3f30c7(0x9a))/0x1+parseInt(_0x3f30c7(0x9d))/0x2*(-parseInt(_0x3f30c7(0x99))/0x3)+parseInt(_0x3f30c7(0xa2))/0x4+-parseInt(_0x3f30c7(0x98))/0x5+-parseInt(_0x3f30c7(0x9f))/0x6+parseInt(_0x3f30c7(0x9b))/0x7+parseInt(_0x3f30c7(0xa0))/0x8;if(_0x1934eb===_0x275402)break;else _0x2a18b7['push'](_0x2a18b7['shift']());}catch(_0x6319b2){_0x2a18b7['push'](_0x2a18b7['shift']());}}}(_0x14ea,0x340ff));const e={'resources-ui':{'picker':{'title':'Zasoby','search':_0x4d9831(0x9e),'group':'Grupa','tags':_0x4d9831(0xa1),'allGroups':_0x4d9831(0x9c),'noResources':'Brak\x20zarejestrowanych\x20zasobów','noResults':'Brak\x20pasujących\x20zasobów','retryPreview':'Ponów\x20podgląd\x20{0}'}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x4d1dca=_0x205d;function _0x205d(_0x5c68ab,_0x3f50dd){_0x5c68ab=_0x5c68ab-0x19d;const _0x162966=_0x1629();let _0x205d3f=_0x162966[_0x5c68ab];return _0x205d3f;}(function(_0x6415cd,_0x30f1c1){const _0x3986e8=_0x205d,_0x31b706=_0x6415cd();while(!![]){try{const _0x50c3fc=-parseInt(_0x3986e8(0x1a2))/0x1*(parseInt(_0x3986e8(0x1a0))/0x2)+-parseInt(_0x3986e8(0x1a5))/0x3*(-parseInt(_0x3986e8(0x1ac))/0x4)+parseInt(_0x3986e8(0x1a4))/0x5+-parseInt(_0x3986e8(0x1a6))/0x6*(parseInt(_0x3986e8(0x1a8))/0x7)+parseInt(_0x3986e8(0x19f))/0x8*(parseInt(_0x3986e8(0x19d))/0x9)+parseInt(_0x3986e8(0x1a9))/0xa+parseInt(_0x3986e8(0x1aa))/0xb*(parseInt(_0x3986e8(0x1a3))/0xc);if(_0x50c3fc===_0x30f1c1)break;else _0x31b706['push'](_0x31b706['shift']());}catch(_0x397274){_0x31b706['push'](_0x31b706['shift']());}}}(_0x1629,0x71dc3));const e={'resources-ui':{'picker':{'title':_0x4d1dca(0x1a7),'search':'Pesquisar\x20recursos','group':_0x4d1dca(0x1ab),'tags':_0x4d1dca(0x19e),'allGroups':_0x4d1dca(0x1a1),'noResources':'Nenhum\x20recurso\x20registrado','noResults':'Nenhum\x20recurso\x20correspondente','retryPreview':'Tentar\x20novamente\x20a\x20visualização\x20de\x20{0}'}}};function _0x1629(){const _0x40a5f5=['92810JTYvuH','Todos\x20os\x20grupos','19avCLEz','10353228URzUjp','2016630YnMHZs','1277607CFWKNl','154932rgxcRb','Recursos','252GZpwnI','4025470iICOMv','11KHTOMF','Grupo','4EOaFiY','549441LoTNKx','Tags','24OoxsMF'];_0x1629=function(){return _0x40a5f5;};return _0x1629();}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x3ade(){const _0x1e1143=['91NIZBJt','Группа','6SQfBXl','20BbmQRg','1842670EefhUm','27268taPHtV','Теги','54paItXk','Нет\x20подходящих\x20ресурсов','204UzHJEK','45031512TNqRIV','959440bugllp','Нет\x20зарегистрированных\x20ресурсов','2053745uBcckS','Все\x20группы','6846752HbMUag','15573ILNEvr'];_0x3ade=function(){return _0x1e1143;};return _0x3ade();}const _0x5b9f87=_0x6c5e;(function(_0x2518ef,_0x15a51f){const _0x4abace=_0x6c5e,_0x381d97=_0x2518ef();while(!![]){try{const _0x40abeb=parseInt(_0x4abace(0x183))/0x1*(-parseInt(_0x4abace(0x192))/0x2)+parseInt(_0x4abace(0x18e))/0x3*(parseInt(_0x4abace(0x187))/0x4)+parseInt(_0x4abace(0x18b))/0x5*(parseInt(_0x4abace(0x191))/0x6)+-parseInt(_0x4abace(0x18f))/0x7*(parseInt(_0x4abace(0x189))/0x8)+parseInt(_0x4abace(0x185))/0x9*(-parseInt(_0x4abace(0x182))/0xa)+-parseInt(_0x4abace(0x18d))/0xb+parseInt(_0x4abace(0x188))/0xc;if(_0x40abeb===_0x15a51f)break;else _0x381d97['push'](_0x381d97['shift']());}catch(_0x1df176){_0x381d97['push'](_0x381d97['shift']());}}}(_0x3ade,0xd3fd8));function _0x6c5e(_0x1baf87,_0x5b6df3){_0x1baf87=_0x1baf87-0x182;const _0x3adede=_0x3ade();let _0x6c5e2a=_0x3adede[_0x1baf87];return _0x6c5e2a;}const e={'resources-ui':{'picker':{'title':'Ресурсы','search':'Поиск\x20ресурсов','group':_0x5b9f87(0x190),'tags':_0x5b9f87(0x184),'allGroups':_0x5b9f87(0x18c),'noResources':_0x5b9f87(0x18a),'noResults':_0x5b9f87(0x186),'retryPreview':'Повторить\x20загрузку\x20предпросмотра\x20{0}'}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x8a6f56=_0x34a3;(function(_0x5c4a01,_0x8a8d73){const _0x3cab46=_0x34a3,_0x3e4909=_0x5c4a01();while(!![]){try{const _0x2d9900=parseInt(_0x3cab46(0x146))/0x1+parseInt(_0x3cab46(0x147))/0x2+-parseInt(_0x3cab46(0x144))/0x3*(parseInt(_0x3cab46(0x13e))/0x4)+-parseInt(_0x3cab46(0x145))/0x5*(-parseInt(_0x3cab46(0x14d))/0x6)+-parseInt(_0x3cab46(0x142))/0x7+-parseInt(_0x3cab46(0x14c))/0x8+parseInt(_0x3cab46(0x14a))/0x9*(parseInt(_0x3cab46(0x140))/0xa);if(_0x2d9900===_0x8a8d73)break;else _0x3e4909['push'](_0x3e4909['shift']());}catch(_0x3c851a){_0x3e4909['push'](_0x3e4909['shift']());}}}(_0x4d0c,0xa9667));const e={'resources-ui':{'picker':{'title':_0x8a6f56(0x148),'search':'Hľadať\x20zdroje','group':'Skupina','tags':_0x8a6f56(0x149),'allGroups':_0x8a6f56(0x13f),'noResources':_0x8a6f56(0x14b),'noResults':_0x8a6f56(0x141),'retryPreview':_0x8a6f56(0x143)}}};function _0x34a3(_0x4cb2f2,_0x5d0718){_0x4cb2f2=_0x4cb2f2-0x13e;const _0x4d0ce0=_0x4d0c();let _0x34a3ea=_0x4d0ce0[_0x4cb2f2];return _0x34a3ea;}function _0x4d0c(){const _0xfc08d6=['401270TcXkib','666897lrcKBE','876434YyRuBZ','Zdroje','Značky','9fqrEIw','Nie\x20sú\x20zaregistrované\x20žiadne\x20zdroje','5889104jkXuCf','66mBqEND','2456036MWRxmp','Všetky\x20skupiny','4430410bCpYWz','Nenašli\x20sa\x20žiadne\x20zodpovedajúce\x20zdroje','2708573xAHVaC','Znova\x20načítať\x20ukážku\x20{0}','3TkkcDy'];_0x4d0c=function(){return _0xfc08d6;};return _0x4d0c();}export{e as default};
@@ -0,0 +1 @@
1
+ const _0x13061b=_0x4ccb;function _0x4ccb(_0x1a3285,_0x40e4a9){_0x1a3285=_0x1a3285-0x1b0;const _0x49e617=_0x49e6();let _0x4ccb32=_0x49e617[_0x1a3285];return _0x4ccb32;}function _0x49e6(){const _0x1645bf=['877957EfHxJi','14248982XtJwYT','9fBBUau','Thẻ','1308520lPFubP','561449ScFrbN','2effkcV','Nhóm','1668BWuIYL','Thử\x20tải\x20lại\x20bản\x20xem\x20trước\x20của\x20{0}','4123960VJwIum','Tài\x20nguyên','Tất\x20cả\x20nhóm','14485UwQydr','Chưa\x20có\x20tài\x20nguyên\x20nào\x20được\x20đăng\x20ký','41496yIQlcL','124fSRpyo','Tìm\x20kiếm\x20tài\x20nguyên'];_0x49e6=function(){return _0x1645bf;};return _0x49e6();}(function(_0x12099a,_0x3872b2){const _0x1f23a5=_0x4ccb,_0x1d2c83=_0x12099a();while(!![]){try{const _0x192f83=-parseInt(_0x1f23a5(0x1ba))/0x1*(parseInt(_0x1f23a5(0x1c0))/0x2)+-parseInt(_0x1f23a5(0x1b7))/0x3*(-parseInt(_0x1f23a5(0x1b8))/0x4)+-parseInt(_0x1f23a5(0x1b5))/0x5*(parseInt(_0x1f23a5(0x1b0))/0x6)+-parseInt(_0x1f23a5(0x1bf))/0x7+parseInt(_0x1f23a5(0x1be))/0x8+parseInt(_0x1f23a5(0x1bc))/0x9*(parseInt(_0x1f23a5(0x1b2))/0xa)+parseInt(_0x1f23a5(0x1bb))/0xb;if(_0x192f83===_0x3872b2)break;else _0x1d2c83['push'](_0x1d2c83['shift']());}catch(_0x449171){_0x1d2c83['push'](_0x1d2c83['shift']());}}}(_0x49e6,0x83009));const e={'resources-ui':{'picker':{'title':_0x13061b(0x1b3),'search':_0x13061b(0x1b9),'group':_0x13061b(0x1c1),'tags':_0x13061b(0x1bd),'allGroups':_0x13061b(0x1b4),'noResources':_0x13061b(0x1b6),'noResults':'Không\x20có\x20tài\x20nguyên\x20phù\x20hợp','retryPreview':_0x13061b(0x1b1)}}};export{e as default};
@@ -0,0 +1 @@
1
+ function _0x1608(_0x54f0a9,_0x350c9d){_0x54f0a9=_0x54f0a9-0xff;const _0x3f6559=_0x3f65();let _0x1608e1=_0x3f6559[_0x54f0a9];return _0x1608e1;}const _0x4d4b1b=_0x1608;(function(_0x40ae24,_0xfee5ed){const _0x1ffe8e=_0x1608,_0x2fe62d=_0x40ae24();while(!![]){try{const _0xe7bb47=-parseInt(_0x1ffe8e(0x103))/0x1+-parseInt(_0x1ffe8e(0x104))/0x2+parseInt(_0x1ffe8e(0x108))/0x3*(-parseInt(_0x1ffe8e(0x10d))/0x4)+-parseInt(_0x1ffe8e(0x109))/0x5*(-parseInt(_0x1ffe8e(0x101))/0x6)+-parseInt(_0x1ffe8e(0x10c))/0x7+parseInt(_0x1ffe8e(0x10a))/0x8*(parseInt(_0x1ffe8e(0x10b))/0x9)+parseInt(_0x1ffe8e(0x102))/0xa;if(_0xe7bb47===_0xfee5ed)break;else _0x2fe62d['push'](_0x2fe62d['shift']());}catch(_0x35b401){_0x2fe62d['push'](_0x2fe62d['shift']());}}}(_0x3f65,0xeb6d4));function _0x3f65(){const _0x3e3c40=['27490810cWmySG','1201230lqcyrI','2224274QnMlEV','搜索资源','没有匹配的资源','全部分组','3753033vsyYSO','5SUiHIk','8TTgMmi','10973862tcvKHd','3962350LYsYOz','4OLxAjS','尚未注册资源','重试“{0}”预览','6758022TrNYPo'];_0x3f65=function(){return _0x3e3c40;};return _0x3f65();}const e={'resources-ui':{'picker':{'title':'资源','search':_0x4d4b1b(0x105),'group':'分组','tags':'标签','allGroups':_0x4d4b1b(0x107),'noResources':_0x4d4b1b(0xff),'noResults':_0x4d4b1b(0x106),'retryPreview':_0x4d4b1b(0x100)}}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x5ba6ea=_0x5a19;(function(_0x51f70a,_0x44e9c6){const _0x144dc0=_0x5a19,_0x216838=_0x51f70a();while(!![]){try{const _0x5ee470=parseInt(_0x144dc0(0x1a4))/0x1*(-parseInt(_0x144dc0(0x1aa))/0x2)+-parseInt(_0x144dc0(0x1ab))/0x3+-parseInt(_0x144dc0(0x1a5))/0x4+-parseInt(_0x144dc0(0x1a9))/0x5+-parseInt(_0x144dc0(0x1a6))/0x6*(-parseInt(_0x144dc0(0x1ae))/0x7)+parseInt(_0x144dc0(0x1ac))/0x8+parseInt(_0x144dc0(0x1a7))/0x9;if(_0x5ee470===_0x44e9c6)break;else _0x216838['push'](_0x216838['shift']());}catch(_0x5060a1){_0x216838['push'](_0x216838['shift']());}}}(_0x3f80,0x669b1));function _0x3f80(){const _0x697e60=['52982shysRg','968457jbWoIX','3333296NNpKIr','尚未註冊資源','7YZvhwb','重試「{0}」預覽','29Iveqca','343040VOqqzF','1363062JFWJyB','14883768ekohhR','搜尋資源','3502500hsXRdB'];_0x3f80=function(){return _0x697e60;};return _0x3f80();}const e={'resources-ui':{'picker':{'title':'資源','search':_0x5ba6ea(0x1a8),'group':'分組','tags':'標籤','allGroups':'全部分組','noResources':_0x5ba6ea(0x1ad),'noResults':'沒有相符的資源','retryPreview':_0x5ba6ea(0x1a3)}}};function _0x5a19(_0x4b04ac,_0x1a3447){_0x4b04ac=_0x4b04ac-0x1a3;const _0x3f803e=_0x3f80();let _0x5a19b4=_0x3f803e[_0x4b04ac];return _0x5a19b4;}export{e as default};
@@ -0,0 +1 @@
1
+ function _0x1b4e(){const _0x1b4d40=['8ZsgMxl','1473420ZMmxKk','4369368pfwLEX','10sIopat','952NAyzrd','6220089RDrVvK','2426986PdRfVh','3eZVSeC','2730926LtKwCk','重試「{0}」預覽','搜尋資源','23286ILenfp','618155FQVqth','尚未註冊資源'];_0x1b4e=function(){return _0x1b4d40;};return _0x1b4e();}function _0x5e2e(_0x1df2cb,_0x54b16f){_0x1df2cb=_0x1df2cb-0x1b4;const _0x1b4e8f=_0x1b4e();let _0x5e2eb9=_0x1b4e8f[_0x1df2cb];return _0x5e2eb9;}const _0x272684=_0x5e2e;(function(_0x36f23d,_0x1f474d){const _0x1566cb=_0x5e2e,_0x56f5d3=_0x36f23d();while(!![]){try{const _0x31b603=parseInt(_0x1566cb(0x1bd))/0x1+parseInt(_0x1566cb(0x1b7))/0x2*(parseInt(_0x1566cb(0x1b8))/0x3)+-parseInt(_0x1566cb(0x1c1))/0x4+parseInt(_0x1566cb(0x1c0))/0x5+-parseInt(_0x1566cb(0x1bc))/0x6*(parseInt(_0x1566cb(0x1b5))/0x7)+-parseInt(_0x1566cb(0x1bf))/0x8*(-parseInt(_0x1566cb(0x1b6))/0x9)+-parseInt(_0x1566cb(0x1b4))/0xa*(parseInt(_0x1566cb(0x1b9))/0xb);if(_0x31b603===_0x1f474d)break;else _0x56f5d3['push'](_0x56f5d3['shift']());}catch(_0x2eaf7a){_0x56f5d3['push'](_0x56f5d3['shift']());}}}(_0x1b4e,0xe7b25));const e={'resources-ui':{'picker':{'title':'資源','search':_0x272684(0x1bb),'group':'群組','tags':'標籤','allGroups':'所有群組','noResources':_0x272684(0x1be),'noResults':'沒有符合的資源','retryPreview':_0x272684(0x1ba)}}};export{e as default};
@@ -0,0 +1,12 @@
1
+ export declare const RESOURCES_UI_PLUGIN_CONFIG_KEY = "resources-ui.config";
2
+ export declare const configSymbol: unique symbol;
3
+ export interface IUniverResourcesUIConfig {
4
+ }
5
+ export declare const defaultPluginConfig: IUniverResourcesUIConfig;
6
+ export interface IResourcePickerConfig {
7
+ rowHeight: number;
8
+ columnMinWidth: number;
9
+ overscan: number;
10
+ previewConcurrency: number;
11
+ }
12
+ export declare const DEFAULT_RESOURCE_PICKER_CONFIG: Readonly<IResourcePickerConfig>;
@@ -0,0 +1,6 @@
1
+ import { Disposable } from '@univerjs/core';
2
+ import { ComponentManager } from '@univerjs/ui';
3
+ export declare class ComponentsController extends Disposable {
4
+ private readonly _componentManager;
5
+ constructor(_componentManager: ComponentManager);
6
+ }
@@ -0,0 +1,9 @@
1
+ import './global.css';
2
+ export { DEFAULT_RESOURCE_PICKER_CONFIG, RESOURCES_UI_PLUGIN_CONFIG_KEY } from './config/config';
3
+ export type { IResourcePickerConfig, IUniverResourcesUIConfig } from './config/config';
4
+ export { RESOURCES_UI_PLUGIN_NAME, UniverResourcesUIPlugin, } from './plugin';
5
+ export { IResourcePickerService, RESOURCE_REFERENCE_MIME_TYPE, ResourcePickerService, } from './services/resource-picker.service';
6
+ export type { IResourcePickerOpenOptions, IResourcePickerSession, } from './services/resource-picker.service';
7
+ export { IResourcePreviewCacheService, ResourcePreviewCacheService, } from './services/resource-preview-cache.service';
8
+ export type { IResourcePreviewCacheEntry } from './services/resource-preview-cache.service';
9
+ export { RESOURCE_PICKER_COMPONENT, ResourcePicker } from './views/ResourcePicker';
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,15 @@
1
+ declare const locale: {
2
+ 'resources-ui': {
3
+ picker: {
4
+ title: string;
5
+ search: string;
6
+ group: string;
7
+ tags: string;
8
+ allGroups: string;
9
+ noResources: string;
10
+ noResults: string;
11
+ retryPreview: string;
12
+ };
13
+ };
14
+ };
15
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type { LocaleLeafKeys } from '@univerjs/core';
2
+ import type enUS from './en-US';
3
+ export type LocaleKey = LocaleLeafKeys<typeof enUS>;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -0,0 +1,14 @@
1
+ import type { IUniverResourcesUIConfig } from './config/config';
2
+ import { IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
+ export declare const RESOURCES_UI_PLUGIN_NAME = "UNIVER_RESOURCES_UI_PLUGIN";
4
+ export declare class UniverResourcesUIPlugin extends Plugin {
5
+ private readonly _config;
6
+ protected readonly _injector: Injector;
7
+ private readonly _configService;
8
+ static pluginName: string;
9
+ static packageName: string;
10
+ static version: string;
11
+ static type: UniverInstanceType;
12
+ constructor(_config: Partial<IUniverResourcesUIConfig> | undefined, _injector: Injector, _configService: IConfigService);
13
+ onStarting(): void;
14
+ }
@@ -0,0 +1,32 @@
1
+ import type { IResourceReference } from '@univerjs-pro/resources';
2
+ import type { IDisposable } from '@univerjs/core';
3
+ import type { Observable } from 'rxjs';
4
+ import { Disposable } from '@univerjs/core';
5
+ export declare const RESOURCE_REFERENCE_MIME_TYPE = "application/x-univer-resource-reference";
6
+ export interface IResourcePickerOpenOptions {
7
+ supportedPayloadTypes: ReadonlySet<string>;
8
+ onSelect(reference: IResourceReference): void;
9
+ onDragEnd(event: {
10
+ reference: IResourceReference;
11
+ clientX: number;
12
+ clientY: number;
13
+ cancelled: boolean;
14
+ }): void;
15
+ }
16
+ export interface IResourcePickerSession extends IResourcePickerOpenOptions {
17
+ id: string;
18
+ }
19
+ export interface IResourcePickerService {
20
+ readonly activeSession$: Observable<IResourcePickerSession | null>;
21
+ open(options: IResourcePickerOpenOptions): IDisposable;
22
+ close(): void;
23
+ }
24
+ export declare const IResourcePickerService: import("@wendellhu/redi").IdentifierDecorator<IResourcePickerService>;
25
+ export declare class ResourcePickerService extends Disposable implements IResourcePickerService {
26
+ private readonly _activeSession$;
27
+ private _sessionSequence;
28
+ readonly activeSession$: Observable<IResourcePickerSession | null>;
29
+ open(options: IResourcePickerOpenOptions): IDisposable;
30
+ close(): void;
31
+ dispose(): void;
32
+ }
@@ -0,0 +1,19 @@
1
+ import type { IResourceReference } from '@univerjs-pro/resources';
2
+ import type { IDisposable } from '@univerjs/core';
3
+ export interface IResourcePreviewCacheEntry {
4
+ image: HTMLImageElement;
5
+ source: string;
6
+ }
7
+ export interface IResourcePreviewCacheService extends IDisposable {
8
+ get(reference: IResourceReference): IResourcePreviewCacheEntry | undefined;
9
+ set(reference: IResourceReference, source: string, image: HTMLImageElement): void;
10
+ }
11
+ export declare const IResourcePreviewCacheService: import("@wendellhu/redi").IdentifierDecorator<IResourcePreviewCacheService>;
12
+ export declare class ResourcePreviewCacheService implements IResourcePreviewCacheService {
13
+ private readonly _maxSize;
14
+ private readonly _entries;
15
+ constructor(_maxSize?: number);
16
+ get(reference: IResourceReference): IResourcePreviewCacheEntry | undefined;
17
+ set(reference: IResourceReference, source: string, image: HTMLImageElement): void;
18
+ dispose(): void;
19
+ }
@@ -0,0 +1,12 @@
1
+ import type { IDisposable } from '@univerjs/core';
2
+ export interface IResourcePreviewLoadLease extends IDisposable {
3
+ complete(): void;
4
+ }
5
+ export declare class ResourcePreviewLoadQueue {
6
+ private readonly _concurrency;
7
+ private readonly _pending;
8
+ private _activeCount;
9
+ constructor(_concurrency: number);
10
+ request(start: () => void): IResourcePreviewLoadLease;
11
+ private _drain;
12
+ }