@ui5/webcomponents-base 0.0.0-c6155714e → 0.0.0-c638668a1

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 (476) hide show
  1. package/.eslintignore +5 -0
  2. package/CHANGELOG.md +293 -0
  3. package/README.md +26 -2
  4. package/bundle.esm.js +18 -16
  5. package/dist/AssetRegistry.js +8 -6
  6. package/dist/Boot.js +61 -0
  7. package/dist/CSP.js +59 -0
  8. package/dist/CustomElementsRegistry.js +95 -0
  9. package/dist/CustomElementsScope.js +108 -0
  10. package/dist/DOMObserver.js +65 -0
  11. package/dist/Device.js +69 -776
  12. package/dist/EventProvider.js +38 -26
  13. package/dist/FeaturesRegistry.js +4 -1
  14. package/dist/FontFace.js +20 -56
  15. package/dist/InitialConfiguration.js +61 -21
  16. package/dist/Keys.js +271 -0
  17. package/dist/ManagedStyles.js +83 -0
  18. package/dist/MediaRange.js +109 -0
  19. package/dist/PropertiesFileFormat.js +95 -0
  20. package/dist/Render.js +175 -0
  21. package/dist/RenderQueue.js +41 -17
  22. package/dist/RenderScheduler.js +24 -140
  23. package/dist/Runtimes.js +107 -0
  24. package/dist/StaticArea.js +3 -0
  25. package/dist/StaticAreaItem.js +101 -0
  26. package/dist/SystemCSSVars.js +10 -0
  27. package/dist/Theming.js +3 -44
  28. package/dist/UI5Element.js +503 -314
  29. package/dist/UI5ElementMetadata.js +194 -23
  30. package/dist/asset-registries/Icons.js +129 -14
  31. package/dist/asset-registries/Illustrations.js +30 -0
  32. package/dist/asset-registries/LocaleData.js +108 -50
  33. package/dist/asset-registries/Themes.js +35 -32
  34. package/dist/asset-registries/i18n.js +80 -34
  35. package/dist/assets-meta/IconCollectionsAlias.js +18 -0
  36. package/dist/config/AnimationMode.js +16 -2
  37. package/dist/config/CalendarType.js +7 -7
  38. package/dist/config/FormatSettings.js +5 -1
  39. package/dist/config/Language.js +62 -3
  40. package/dist/config/NoConflict.js +10 -3
  41. package/dist/config/Theme.js +21 -3
  42. package/dist/css/FontFace.css +45 -0
  43. package/dist/css/OverrideFontFace.css +32 -0
  44. package/dist/css/SystemCSSVars.css +17 -0
  45. package/dist/delegate/ItemNavigation.js +246 -130
  46. package/dist/delegate/ResizeHandler.js +78 -38
  47. package/dist/delegate/ScrollEnablement.js +122 -14
  48. package/dist/features/F6Navigation.js +106 -0
  49. package/dist/features/OpenUI5Support.js +125 -0
  50. package/dist/generated/AssetParameters.js +13 -0
  51. package/dist/generated/VersionInfo.js +10 -0
  52. package/dist/generated/css/FontFace.css.js +5 -0
  53. package/dist/generated/css/OverrideFontFace.css.js +5 -0
  54. package/dist/generated/css/SystemCSSVars.css.js +5 -0
  55. package/dist/getSharedResource.js +30 -0
  56. package/dist/i18nBundle.js +62 -11
  57. package/dist/isLegacyBrowser.js +3 -0
  58. package/dist/{Locale.js → locale/Locale.js} +0 -10
  59. package/dist/locale/RTLAwareRegistry.js +14 -0
  60. package/dist/locale/applyDirection.js +17 -0
  61. package/dist/locale/directionChange.js +32 -0
  62. package/dist/locale/getEffectiveDir.js +28 -0
  63. package/dist/locale/getLocale.js +41 -0
  64. package/dist/locale/languageChange.js +22 -0
  65. package/dist/locale/nextFallbackLocale.js +28 -0
  66. package/{src/util → dist/locale}/normalizeLocale.js +8 -31
  67. package/dist/renderer/LitRenderer.js +26 -7
  68. package/dist/renderer/directives/style-map.js +72 -0
  69. package/dist/renderer/executeTemplate.js +17 -0
  70. package/dist/resources/bundle.esm.js +20 -106
  71. package/dist/resources/bundle.esm.js.map +1 -1
  72. package/dist/sap/base/Log.js +241 -0
  73. package/dist/sap/base/assert.js +8 -0
  74. package/dist/sap/base/security/URLListValidator.js +148 -0
  75. package/dist/sap/base/security/encodeCSS.js +14 -0
  76. package/dist/sap/base/security/encodeXML.js +23 -0
  77. package/dist/sap/base/security/sanitizeHTML.js +16 -0
  78. package/dist/sap/base/strings/toHex.js +8 -0
  79. package/dist/sap/base/util/now.js +7 -0
  80. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3585 -0
  81. package/dist/test-resources/assets/Themes.js +11 -5
  82. package/dist/test-resources/elements/Generic.js +1 -0
  83. package/dist/test-resources/elements/Parent.js +7 -2
  84. package/dist/test-resources/elements/WithStaticArea.js +77 -0
  85. package/dist/test-resources/pages/AllTestElements.html +5 -5
  86. package/dist/test-resources/pages/Configuration.html +0 -2
  87. package/dist/test-resources/pages/ConfigurationScript.html +1 -4
  88. package/dist/test-resources/pages/assets/messagebundle_de.properties +1 -0
  89. package/dist/test-resources/pages/assets/messagebundle_en.properties +1 -0
  90. package/dist/test-resources/pages/assets/messagebundle_es.properties +1 -0
  91. package/dist/test-resources/pages/assets/messagebundle_fr.properties +1 -0
  92. package/dist/test-resources/pages/i18n.html +33 -0
  93. package/dist/test-resources/specs/ConfigurationChange.spec.js +10 -17
  94. package/dist/test-resources/specs/ConfigurationScript.spec.js +25 -31
  95. package/dist/test-resources/specs/ConfigurationURL.spec.js +65 -25
  96. package/dist/test-resources/specs/CustomTheme.spec.js +9 -7
  97. package/dist/test-resources/specs/EventProvider.spec.js +63 -0
  98. package/dist/test-resources/specs/StaticArea.spec.js +78 -0
  99. package/dist/test-resources/specs/Theming.spec.js +12 -10
  100. package/dist/test-resources/specs/UI5ElementInvalidation.js +54 -70
  101. package/dist/test-resources/specs/UI5ElementLifecycle.js +19 -14
  102. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +25 -51
  103. package/dist/test-resources/specs/UI5ElementMetadataExt.js +9 -7
  104. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +7 -5
  105. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +37 -35
  106. package/dist/test-resources/specs/UI5ElementShadowDOM.js +10 -8
  107. package/dist/test-resources/specs/UI5ElementSlots.js +10 -8
  108. package/dist/theming/CustomStyle.js +47 -6
  109. package/dist/theming/ThemeLoaded.js +22 -0
  110. package/dist/theming/applyTheme.js +79 -0
  111. package/dist/theming/getConstructableStyle.js +30 -0
  112. package/dist/theming/getEffectiveLinksHrefs.js +20 -0
  113. package/dist/theming/getEffectiveStyle.js +30 -0
  114. package/dist/theming/getStylesString.js +15 -0
  115. package/dist/theming/getThemeDesignerTheme.js +87 -0
  116. package/dist/theming/preloadLinks.js +23 -0
  117. package/dist/thirdparty/_merge.js +32 -0
  118. package/dist/thirdparty/isPlainObject.js +18 -0
  119. package/dist/thirdparty/merge.js +10 -0
  120. package/dist/types/CSSColor.js +9 -0
  121. package/dist/{dates → types}/CalendarType.js +2 -2
  122. package/dist/types/DataType.js +13 -1
  123. package/dist/types/Float.js +14 -0
  124. package/dist/types/Integer.js +4 -0
  125. package/dist/types/InvisibleMessageMode.js +30 -0
  126. package/dist/types/ItemNavigationBehavior.js +2 -7
  127. package/dist/types/NavigationMode.js +1 -0
  128. package/dist/types/PopupState.js +1 -1
  129. package/dist/types/ValueState.js +2 -1
  130. package/dist/updateShadowRoot.js +30 -0
  131. package/dist/util/AriaLabelHelper.js +41 -0
  132. package/dist/util/Caret.js +45 -0
  133. package/dist/util/ColorConversion.js +370 -0
  134. package/dist/util/FocusableElements.js +30 -11
  135. package/dist/util/HTMLSanitizer.js +7 -0
  136. package/dist/util/InvisibleMessage.js +58 -0
  137. package/dist/util/PopupUtils.js +93 -0
  138. package/dist/util/SlotsHelper.js +43 -0
  139. package/dist/util/StringHelper.js +17 -2
  140. package/dist/util/TabbableElements.js +5 -2
  141. package/dist/util/arraysAreEqual.js +15 -0
  142. package/dist/util/clamp.js +12 -0
  143. package/dist/util/createLinkInHead.js +19 -0
  144. package/dist/util/debounce.js +17 -0
  145. package/dist/util/detectNavigatorLanguage.js +3 -1
  146. package/dist/util/escapeRegex.js +10 -0
  147. package/dist/util/findNodeOwner.js +35 -0
  148. package/dist/util/generateHighlightedMarkup.js +42 -0
  149. package/dist/util/getActiveElement.js +11 -0
  150. package/dist/util/getClassCopy.js +10 -0
  151. package/dist/util/getEffectiveContentDensity.js +5 -0
  152. package/dist/util/getFileExtension.js +21 -0
  153. package/dist/util/getSingletonElementInstance.js +13 -0
  154. package/dist/util/isElementInView.js +15 -0
  155. package/dist/util/isNodeHidden.js +1 -5
  156. package/dist/util/isNodeTabbable.js +4 -4
  157. package/dist/util/isValidPropertyName.js +11 -2
  158. package/dist/util/setToArray.js +10 -0
  159. package/hash.txt +1 -0
  160. package/index.js +1 -1
  161. package/lib/generate-asset-parameters/index.js +21 -0
  162. package/lib/generate-styles/index.js +18 -0
  163. package/lib/generate-version-info/index.js +27 -0
  164. package/package-scripts.js +43 -18
  165. package/package.json +21 -14
  166. package/src/AssetRegistry.js +8 -6
  167. package/src/Boot.js +61 -0
  168. package/src/CSP.js +59 -0
  169. package/src/CustomElementsRegistry.js +95 -0
  170. package/src/CustomElementsScope.js +108 -0
  171. package/src/DOMObserver.js +65 -0
  172. package/src/Device.js +69 -776
  173. package/src/EventProvider.js +38 -26
  174. package/src/FeaturesRegistry.js +4 -1
  175. package/src/FontFace.js +20 -56
  176. package/src/InitialConfiguration.js +61 -21
  177. package/src/Keys.js +271 -0
  178. package/src/ManagedStyles.js +83 -0
  179. package/src/MediaRange.js +109 -0
  180. package/src/PropertiesFileFormat.js +95 -0
  181. package/src/Render.js +175 -0
  182. package/src/RenderQueue.js +41 -17
  183. package/src/RenderScheduler.js +24 -140
  184. package/src/Runtimes.js +107 -0
  185. package/src/StaticArea.js +3 -0
  186. package/src/StaticAreaItem.js +101 -0
  187. package/src/SystemCSSVars.js +10 -0
  188. package/src/Theming.js +3 -44
  189. package/src/UI5Element.js +503 -314
  190. package/src/UI5ElementMetadata.js +194 -23
  191. package/src/asset-registries/Icons.js +129 -14
  192. package/src/asset-registries/Illustrations.js +30 -0
  193. package/src/asset-registries/LocaleData.js +108 -50
  194. package/src/asset-registries/Themes.js +35 -32
  195. package/src/asset-registries/i18n.js +80 -34
  196. package/src/assets-meta/IconCollectionsAlias.js +18 -0
  197. package/src/config/AnimationMode.js +16 -2
  198. package/src/config/CalendarType.js +7 -7
  199. package/src/config/FormatSettings.js +5 -1
  200. package/src/config/Language.js +62 -3
  201. package/src/config/NoConflict.js +10 -3
  202. package/src/config/Theme.js +21 -3
  203. package/src/css/FontFace.css +45 -0
  204. package/src/css/OverrideFontFace.css +32 -0
  205. package/src/css/SystemCSSVars.css +17 -0
  206. package/src/delegate/ItemNavigation.js +246 -129
  207. package/src/delegate/ResizeHandler.js +78 -38
  208. package/src/delegate/ScrollEnablement.js +122 -14
  209. package/src/features/F6Navigation.js +106 -0
  210. package/src/features/OpenUI5Support.js +125 -0
  211. package/src/getSharedResource.js +30 -0
  212. package/src/i18nBundle.js +62 -11
  213. package/src/isLegacyBrowser.js +3 -0
  214. package/src/{Locale.js → locale/Locale.js} +0 -10
  215. package/src/locale/RTLAwareRegistry.js +14 -0
  216. package/src/locale/applyDirection.js +17 -0
  217. package/src/locale/directionChange.js +32 -0
  218. package/src/locale/getEffectiveDir.js +28 -0
  219. package/src/locale/getLocale.js +41 -0
  220. package/src/locale/languageChange.js +22 -0
  221. package/src/locale/nextFallbackLocale.js +28 -0
  222. package/{dist/util → src/locale}/normalizeLocale.js +8 -31
  223. package/src/renderer/LitRenderer.js +26 -7
  224. package/src/renderer/directives/style-map.js +72 -0
  225. package/src/renderer/executeTemplate.js +17 -0
  226. package/src/theming/CustomStyle.js +47 -6
  227. package/src/theming/ThemeLoaded.js +22 -0
  228. package/src/theming/applyTheme.js +79 -0
  229. package/src/theming/getConstructableStyle.js +30 -0
  230. package/src/theming/getEffectiveLinksHrefs.js +20 -0
  231. package/src/theming/getEffectiveStyle.js +30 -0
  232. package/src/theming/getStylesString.js +15 -0
  233. package/src/theming/getThemeDesignerTheme.js +87 -0
  234. package/src/theming/preloadLinks.js +23 -0
  235. package/src/thirdparty/_merge.js +32 -0
  236. package/src/thirdparty/isPlainObject.js +18 -0
  237. package/src/thirdparty/merge.js +10 -0
  238. package/src/types/CSSColor.js +9 -0
  239. package/src/{dates → types}/CalendarType.js +2 -2
  240. package/src/types/DataType.js +13 -1
  241. package/src/types/Float.js +14 -0
  242. package/src/types/Integer.js +4 -0
  243. package/src/types/InvisibleMessageMode.js +30 -0
  244. package/src/types/ItemNavigationBehavior.js +2 -7
  245. package/src/types/NavigationMode.js +1 -0
  246. package/src/types/PopupState.js +1 -1
  247. package/src/types/ValueState.js +2 -1
  248. package/src/updateShadowRoot.js +30 -0
  249. package/src/util/AriaLabelHelper.js +41 -0
  250. package/src/util/Caret.js +45 -0
  251. package/src/util/ColorConversion.js +370 -0
  252. package/src/util/FocusableElements.js +30 -11
  253. package/src/util/HTMLSanitizer.js +7 -0
  254. package/src/util/InvisibleMessage.js +58 -0
  255. package/src/util/PopupUtils.js +93 -0
  256. package/src/util/SlotsHelper.js +43 -0
  257. package/src/util/StringHelper.js +17 -2
  258. package/src/util/TabbableElements.js +5 -2
  259. package/src/util/arraysAreEqual.js +15 -0
  260. package/src/util/clamp.js +12 -0
  261. package/src/util/createLinkInHead.js +19 -0
  262. package/src/util/debounce.js +17 -0
  263. package/src/util/detectNavigatorLanguage.js +3 -1
  264. package/src/util/escapeRegex.js +10 -0
  265. package/src/util/findNodeOwner.js +35 -0
  266. package/src/util/generateHighlightedMarkup.js +42 -0
  267. package/src/util/getActiveElement.js +11 -0
  268. package/src/util/getClassCopy.js +10 -0
  269. package/src/util/getEffectiveContentDensity.js +5 -0
  270. package/src/util/getFileExtension.js +21 -0
  271. package/src/util/getSingletonElementInstance.js +13 -0
  272. package/src/util/isElementInView.js +15 -0
  273. package/src/util/isNodeHidden.js +1 -5
  274. package/src/util/isNodeTabbable.js +4 -4
  275. package/src/util/isValidPropertyName.js +11 -2
  276. package/src/util/setToArray.js +10 -0
  277. package/used-modules.txt +10 -0
  278. package/bundle.es5.js +0 -31
  279. package/dist/Assets.js +0 -2
  280. package/dist/CSS.js +0 -48
  281. package/dist/ContentDensity.js +0 -20
  282. package/dist/FormatSettings.js +0 -31
  283. package/dist/LocaleProvider.js +0 -34
  284. package/dist/ResourceLoaderOverrides.js +0 -38
  285. package/dist/SVGIconRegistry.js +0 -54
  286. package/dist/boot.js +0 -28
  287. package/dist/cldr/en.js +0 -4788
  288. package/dist/compatibility/DOMObserver.js +0 -62
  289. package/dist/compatibility/patchNodeValue.js +0 -24
  290. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  291. package/dist/config/CompactSize.js +0 -23
  292. package/dist/dates/CalendarDate.js +0 -203
  293. package/dist/dates/CalendarDatesRegistry.js +0 -17
  294. package/dist/dates/CalendarUtils.js +0 -99
  295. package/dist/delegate/CustomResize.js +0 -78
  296. package/dist/delegate/NativeResize.js +0 -44
  297. package/dist/events/EventEnrichment.js +0 -38
  298. package/dist/events/PseudoEvents.js +0 -58
  299. package/dist/features/browsersupport/Edge.js +0 -6
  300. package/dist/features/browsersupport/IE11.js +0 -41
  301. package/dist/features/calendar/Buddhist.js +0 -1
  302. package/dist/features/calendar/Islamic.js +0 -1
  303. package/dist/features/calendar/Japanese.js +0 -1
  304. package/dist/features/calendar/Persian.js +0 -1
  305. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5598
  306. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5598
  307. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5598
  308. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4789
  309. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4801
  310. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5245
  311. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4696
  312. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4797
  313. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4798
  314. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4796
  315. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4694
  316. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4694
  317. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4777
  318. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4769
  319. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4778
  320. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4784
  321. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4778
  322. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4779
  323. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4778
  324. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4779
  325. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4780
  326. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4779
  327. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4719
  328. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4721
  329. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4720
  330. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4721
  331. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4721
  332. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4722
  333. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4720
  334. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4722
  335. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4721
  336. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4776
  337. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4704
  338. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -4816
  339. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4788
  340. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4788
  341. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4782
  342. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4806
  343. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4788
  344. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5133
  345. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4680
  346. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4910
  347. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4664
  348. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4500
  349. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4757
  350. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4757
  351. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4599
  352. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4537
  353. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4574
  354. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5234
  355. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -4902
  356. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4352
  357. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4784
  358. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4790
  359. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4790
  360. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5223
  361. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4703
  362. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4753
  363. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -4881
  364. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5157
  365. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5157
  366. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5125
  367. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5105
  368. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -4908
  369. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -4818
  370. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4633
  371. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4791
  372. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5126
  373. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4510
  374. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4469
  375. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4479
  376. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4479
  377. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4565
  378. package/dist/json-imports/LocaleData.js +0 -171
  379. package/dist/renderer/ifDefined.js +0 -21
  380. package/dist/resources/bundle.es5.js +0 -212
  381. package/dist/resources/bundle.es5.js.map +0 -1
  382. package/dist/shims/Core-shim.js +0 -52
  383. package/dist/shims/jquery-shim.js +0 -89
  384. package/dist/test-resources/elements/DensityAware.js +0 -14
  385. package/dist/test-resources/specs/UI5ElementDensityAware.spec.js +0 -51
  386. package/dist/theming/StyleInjection.js +0 -67
  387. package/dist/theming/ThemeBundle.js +0 -29
  388. package/dist/thirdparty/Array.from.js +0 -16
  389. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  390. package/dist/thirdparty/Array.prototype.find.js +0 -46
  391. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  392. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  393. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  394. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  395. package/dist/thirdparty/Number.isInteger.js +0 -5
  396. package/dist/thirdparty/Number.isNaN.js +0 -1
  397. package/dist/thirdparty/Number.parseInt.js +0 -1
  398. package/dist/thirdparty/Object.assign.js +0 -31
  399. package/dist/thirdparty/Object.entries.js +0 -11
  400. package/dist/thirdparty/Symbol.js +0 -2
  401. package/dist/thirdparty/WeakSet.js +0 -27
  402. package/dist/thirdparty/events-polyfills.js +0 -89
  403. package/dist/thirdparty/fetch.js +0 -1
  404. package/dist/thirdparty/template.js +0 -600
  405. package/dist/util/CSSTransformUtils.js +0 -90
  406. package/dist/webcomponentsjs/LICENSE.md +0 -19
  407. package/dist/webcomponentsjs/README.md +0 -229
  408. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  409. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  410. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  411. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  412. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  413. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  414. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  415. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  416. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  417. package/dist/webcomponentsjs/package.json +0 -46
  418. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  419. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  420. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  421. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  422. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  423. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  424. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  425. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  426. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  427. package/src/Assets.js +0 -2
  428. package/src/CSS.js +0 -48
  429. package/src/ContentDensity.js +0 -20
  430. package/src/FormatSettings.js +0 -31
  431. package/src/LocaleProvider.js +0 -34
  432. package/src/ResourceLoaderOverrides.js +0 -38
  433. package/src/SVGIconRegistry.js +0 -54
  434. package/src/boot.js +0 -28
  435. package/src/cldr/en.js +0 -4788
  436. package/src/compatibility/DOMObserver.js +0 -62
  437. package/src/compatibility/patchNodeValue.js +0 -24
  438. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  439. package/src/config/CompactSize.js +0 -23
  440. package/src/dates/CalendarDate.js +0 -203
  441. package/src/dates/CalendarDatesRegistry.js +0 -17
  442. package/src/dates/CalendarUtils.js +0 -99
  443. package/src/delegate/CustomResize.js +0 -78
  444. package/src/delegate/NativeResize.js +0 -44
  445. package/src/events/EventEnrichment.js +0 -38
  446. package/src/events/PseudoEvents.js +0 -58
  447. package/src/features/browsersupport/Edge.js +0 -6
  448. package/src/features/browsersupport/IE11.js +0 -41
  449. package/src/features/calendar/Buddhist.js +0 -1
  450. package/src/features/calendar/Islamic.js +0 -1
  451. package/src/features/calendar/Japanese.js +0 -1
  452. package/src/features/calendar/Persian.js +0 -1
  453. package/src/json-imports/LocaleData.js +0 -171
  454. package/src/renderer/ifDefined.js +0 -21
  455. package/src/shims/Core-shim.js +0 -52
  456. package/src/shims/jquery-shim.js +0 -89
  457. package/src/theming/StyleInjection.js +0 -67
  458. package/src/theming/ThemeBundle.js +0 -29
  459. package/src/thirdparty/Array.from.js +0 -16
  460. package/src/thirdparty/Array.prototype.fill.js +0 -44
  461. package/src/thirdparty/Array.prototype.find.js +0 -46
  462. package/src/thirdparty/Array.prototype.includes.js +0 -51
  463. package/src/thirdparty/Element.prototype.closest.js +0 -11
  464. package/src/thirdparty/Element.prototype.matches.js +0 -6
  465. package/src/thirdparty/Map.prototype.keys.js +0 -9
  466. package/src/thirdparty/Number.isInteger.js +0 -5
  467. package/src/thirdparty/Number.isNaN.js +0 -1
  468. package/src/thirdparty/Number.parseInt.js +0 -1
  469. package/src/thirdparty/Object.assign.js +0 -31
  470. package/src/thirdparty/Object.entries.js +0 -11
  471. package/src/thirdparty/Symbol.js +0 -2
  472. package/src/thirdparty/WeakSet.js +0 -27
  473. package/src/thirdparty/events-polyfills.js +0 -89
  474. package/src/thirdparty/fetch.js +0 -1
  475. package/src/thirdparty/template.js +0 -600
  476. package/src/util/CSSTransformUtils.js +0 -90
@@ -1,123 +1,37 @@
1
- let t={};var e={},n=e.hasOwnProperty,r=e.toString,i=n.toString,a=i.call(Object),o=function(t){var e,o;return!(!t||"[object Object]"!==r.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(o=n.call(e,"constructor")&&e.constructor)&&i.call(o)===a)},s={extend:function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"!=typeof s&&"function"!=typeof s&&(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(t=arguments[u]))for(e in t)n=s[e],s!==(r=t[e])&&(c&&r&&(o(r)||(i=Array.isArray(r)))?(i?(i=!1,a=n&&Array.isArray(n)?n:[]):a=n&&o(n)?n:{},s[e]=extend(c,a,r)):void 0!==r&&(s[e]=r));return s},ajaxSettings:{converters:{"text json":t=>JSON.parse(t+"")}},trim:function(t){return t.trim()}};window.jQuery=window.jQuery||s,t=s;var u=t=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null};const l=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class c{constructor(t){const e=l.exec(t.replace(/_/g,"-"));if(null===e)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,t=>t.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}static get _cldrLocales(){return u("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$")}static get _coreI18nLocales(){return u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$")}}var h=()=>{const t=navigator.languages;return t&&t[0]||(()=>navigator.language)()||navigator.userLanguage||navigator.browserLanguage||"en"};let d=!1;const p={animationMode:"full",theme:"sap_fiori_3",rtl:null,language:null,compactSize:!1,calendarType:null,noConflict:!1,formatSettings:{}},g=new Map;g.set("true",!0),g.set("false",!1);let f={};const m=()=>{d||((()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(f=Object.assign({},e))}})(),new URLSearchParams(window.location.search).forEach((t,e)=>{if(!e.startsWith("sap-ui"))return;const n=t.toLowerCase(),r=e.split("sap-ui-")[1];g.has(t)&&(t=g.get(n)),f[r]=t}),Object.keys(f).forEach(t=>{p[t]=f[t]}),d=!0)},y=(()=>(m(),p.language))(),v=()=>y,_=()=>v()?new c(v()):(t=>{try{if(t&&"string"==typeof t)return new c(t)}catch(t){}})(h()),w={};var b=Object.freeze({__proto__:null,setConfiguration:t=>{},getFormatLocale:()=>_(),getLegacyDateFormat:()=>{},getLegacyDateCalendarCustomizing:()=>{},getCustomLocaleData:()=>w}),C={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"};const T=(()=>(m(),p.calendarType))(),D=()=>{if(T){const t=Object.keys(C).find(t=>t===T);if(t)return t}return C.Gregorian},S=(()=>(m(),p.formatSettings))(),P=()=>S.firstDayOfWeek,M={getLanguage:v,getCalendarType:D,getFirstDayOfWeek:P,getSupportedLanguages:()=>u("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),getOriginInfo:()=>{}},E={getConfiguration:()=>M,getLibraryResourceBundle(){},getFormatSettings:()=>b};window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},window.sap.ui.getWCCore=function(){return E};const U=new Map,x=new Map,O=new Map;window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},sap.ui.loader=sap.ui.loader||{},sap.ui.loader._=sap.ui.loader._||{};const A=sap.ui.loader._.getModuleContent;sap.ui.loader._.getModuleContent=(t,e)=>{const n=O.get(t)||O.get(e);if(n)return n;if(A)return A(t,e);const r=t.match(/sap\/ui\/core\/cldr\/(\w+)\.json/);if(r)throw new Error(`CLDR data for locale ${r[1]} is not loaded!`);return""};const F=new Map,L=new Map,k=new Set,I=new Set,N=(t,e,n)=>{n._?L.set(`${t}_${e}`,n._):n.includes(":root")?L.set(`${t}_${e}`,n):F.set(`${t}_${e}`,n),k.add(t),I.add(e)},R=async(t,e)=>{const n=F.get(`${t}_${e}`);if(!n)throw new Error(`You have to import the ${t}/dist/Assets.js module to switch to additional themes`);return(async t=>{U.get(t)||U.set(t,fetch(t));const e=await U.get(t);return x.get(t)||x.set(t,e.json()),x.get(t)})(n)},W=()=>k;var j,V=function(t,e,n){if(!t)return t;function r(t,e){return function(){var r=t[e].apply(t,arguments);return n?this:r instanceof j?r.getInterface():r}}if(j=j||sap.ui.requireSync("sap/ui/base/Object"),!e)return{};for(var i,a=0,o=e.length;a<o;a++)t[i=e[a]]&&"function"!=typeof t[i]||(this[i]=r(t,i))},$={},Y=window;function z(t){return Array.isArray(t)?t:t.split(".")}$.create=function(t,e){for(var n=e||Y,r=z(t),i=0;i<r.length;i++){var a=r[i];if(null===n[a]||void 0!==n[a]&&"object"!=typeof n[a]&&"function"!=typeof n[a])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+a+"' already exists.");n[a]=n[a]||{},n=n[a]}return n},$.get=function(t,e){for(var n=e||Y,r=z(t),i=r.pop(),a=0;a<r.length&&n;a++)n=n[r[a]];return n?n[i]:void 0},$.set=function(t,e,n){n=n||Y;var r=z(t),i=r.pop();$.create(r,n)[i]=e};var B,H,J="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?(B=performance.timing.navigationStart,function(){return B+performance.now()}):Date.now,Z={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},q=[],G={"":Z.Level.ERROR},Q=null,X=!1;function K(t,e){return("000"+String(t)).slice(-e)}function tt(t){return!t||isNaN(G[t])?G[""]:G[t]}function et(){return Q||(Q={listeners:[],onLogEntry:function(t){for(var e=0;e<Q.listeners.length;e++)Q.listeners[e].onLogEntry&&Q.listeners[e].onLogEntry(t)},attach:function(t,e){e&&(Q.listeners.push(e),e.onAttachToLog&&e.onAttachToLog(t))},detach:function(t,e){for(var n=0;n<Q.listeners.length;n++)if(Q.listeners[n]===e)return e.onDetachFromLog&&e.onDetachFromLog(t),void Q.listeners.splice(n,1)}}),Q}function nt(t,e,n,r,i){if(X&&(i||r||"function"!=typeof n||(i=n,n=""),i||"function"!=typeof r||(i=r,r="")),t<=tt(r=r||H)){var a=J(),o=new Date(a),s=Math.floor(1e3*(a-Math.floor(a))),u={time:K(o.getHours(),2)+":"+K(o.getMinutes(),2)+":"+K(o.getSeconds(),2)+"."+K(o.getMilliseconds(),3)+K(s,3),date:K(o.getFullYear(),4)+"-"+K(o.getMonth()+1,2)+"-"+K(o.getDate(),2),timestamp:a,level:t,message:String(e||""),details:String(n||""),component:String(r||"")};if(X&&"function"==typeof i&&(u.supportInfo=i()),q.push(u),Q&&Q.onLogEntry(u),console){var l=u.date+" "+u.time+" "+u.message+" - "+u.details+" "+u.component;switch(t){case Z.Level.FATAL:case Z.Level.ERROR:console.error(l);break;case Z.Level.WARNING:console.warn(l);break;case Z.Level.INFO:console.info?console.info(l):console.log(l);break;case Z.Level.DEBUG:console.debug?console.debug(l):console.log(l);break;case Z.Level.TRACE:console.trace?console.trace(l):console.log(l)}console.info&&u.supportInfo&&console.info(u.supportInfo)}return u}}function rt(t){this.fatal=function(e,n,r,i){return Z.fatal(e,n,r||t,i),this},this.error=function(e,n,r,i){return Z.error(e,n,r||t,i),this},this.warning=function(e,n,r,i){return Z.warning(e,n,r||t,i),this},this.info=function(e,n,r,i){return Z.info(e,n,r||t,i),this},this.debug=function(e,n,r,i){return Z.debug(e,n,r||t,i),this},this.trace=function(e,n,r,i){return Z.trace(e,n,r||t,i),this},this.setLevel=function(e,n){return Z.setLevel(e,n||t),this},this.getLevel=function(e){return Z.getLevel(e||t)},this.isLoggable=function(e,n){return Z.isLoggable(e,n||t)}}Z.fatal=function(t,e,n,r){nt(Z.Level.FATAL,t,e,n,r)},Z.error=function(t,e,n,r){nt(Z.Level.ERROR,t,e,n,r)},Z.warning=function(t,e,n,r){nt(Z.Level.WARNING,t,e,n,r)},Z.info=function(t,e,n,r){nt(Z.Level.INFO,t,e,n,r)},Z.debug=function(t,e,n,r){nt(Z.Level.DEBUG,t,e,n,r)},Z.trace=function(t,e,n,r){nt(Z.Level.TRACE,t,e,n,r)},Z.setLevel=function(t,e,n){var r;(e=e||H||"",n&&null!=G[e])||(G[e]=t,Object.keys(Z.Level).forEach((function(e){Z.Level[e]===t&&(r=e)})),nt(Z.Level.INFO,"Changing log level "+(e?"for '"+e+"' ":"")+"to "+r,"","sap.base.log"))},Z.getLevel=function(t){return tt(t||H)},Z.isLoggable=function(t,e){return(null==t?Z.Level.DEBUG:t)<=tt(e||H)},Z.logSupportInfo=function(t){X=t},Z.getLogEntries=function(){return q.slice()},Z.addLogListener=function(t){et().attach(this,t)},Z.removeLogListener=function(t){et().detach(this,t)},Z.getLogger=function(t,e){return isNaN(e)||null!=G[t]||(G[t]=e),new rt(t)};var it=function(t,e){if(!t){var n="function"==typeof e?e():e;console&&console.assert?console.assert(t,n):Z.debug("[Assertions] "+n)}},at=function(t){it(t instanceof Array,"uniqueSort: input parameter must be an Array");var e=t.length;if(e>1){t.sort();for(var n=0,r=1;r<e;r++)t[r]!==t[n]&&(t[++n]=t[r]);++n<e&&t.splice(n,e-n)}return t},ot=function(t,e){if(it("string"==typeof t&&t,"Metadata: sClassName must be a non-empty string"),it("object"==typeof e,"Metadata: oClassInfo must be empty or an object"),e&&"object"==typeof e.metadata||((e={metadata:e||{},constructor:$.get(t)}).metadata.__version=1),e.metadata.__version=e.metadata.__version||2,"function"!=typeof e.constructor)throw Error("constructor for class "+t+" must have been declared before creating metadata for it");this._sClassName=t,this._oClass=e.constructor,this.extend(e)};ot.prototype.extend=function(t){this.applySettings(t),this.afterApplySettings()},ot.prototype.applySettings=function(t){var e,n=t.metadata;if(n.baseType){var r=$.get(n.baseType);"function"!=typeof r&&Z.fatal("base class '"+n.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),it(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new ot(n.baseType,{})}else this._oParent=void 0;for(var i in this._bAbstract=!!n.abstract,this._bFinal=!!n.final,this._sStereotype=n.stereotype||(this._oParent?this._oParent._sStereotype:"object"),this._bDeprecated=!!n.deprecated,this._aInterfaces=n.interfaces||[],this._aPublicMethods=n.publicMethods||[],this._bInterfacesUnique=!1,e=this._oClass.prototype,t)"metadata"!==i&&"constructor"!==i&&(e[i]=t[i],i.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(i))},ot.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},ot.prototype.getStereotype=function(){return this._sStereotype},ot.prototype.getName=function(){return this._sClassName},ot.prototype.getClass=function(){return this._oClass},ot.prototype.getParent=function(){return this._oParent},ot.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(at(this._aInterfaces),at(this._aPublicMethods),at(this._aAllPublicMethods),this._bInterfacesUnique=!0)},ot.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},ot.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},ot.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},ot.prototype.isInstanceOf=function(t){if(this._oParent&&this._oParent.isInstanceOf(t))return!0;for(var e=this._aInterfaces,n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1};Object.defineProperty(ot.prototype,"_mImplementedTypes",{get:function(){if(this===ot.prototype)throw new Error("sap.ui.base.Metadata: The '_mImplementedTypes' property must not be accessed on the prototype");var t=Object.create(this._oParent?this._oParent._mImplementedTypes:null);t[this._sClassName]=!0;for(var e=this._aInterfaces,n=e.length;n-- >0;)t[e[n]]||(t[e[n]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(t),writable:!1,configurable:!1}),t},configurable:!0}),ot.prototype.isA=function(t){var e=this._mImplementedTypes;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(t[n]in e)return!0;return!1}return t in e},ot.prototype.isAbstract=function(){return this._bAbstract},ot.prototype.isFinal=function(){return this._bFinal},ot.prototype.isDeprecated=function(){return this._bDeprecated},ot.prototype.addPublicMethods=function(t){var e=t instanceof Array?t:arguments;Array.prototype.push.apply(this._aPublicMethods,e),Array.prototype.push.apply(this._aAllPublicMethods,e),this._bInterfacesUnique=!1},ot.createClass=function(t,e,n,r){"string"==typeof t&&(r=n,n=e,e=t,t=null),it(!t||"function"==typeof t),it("string"==typeof e&&!!e),it(!n||"object"==typeof n),it(!r||"function"==typeof r),"function"==typeof(r=r||ot).preprocessClassInfo&&(n=r.preprocessClassInfo(n)),(n=n||{}).metadata=n.metadata||{},n.hasOwnProperty("constructor")||(n.constructor=void 0);var i=n.constructor;it(!i||"function"==typeof i),t?(i||(i=n.metadata.deprecated?function(){Z.warning("Usage of deprecated class: "+e),t.apply(this,arguments)}:function(){t.apply(this,arguments)}),i.prototype=Object.create(t.prototype),i.prototype.constructor=i,n.metadata.baseType=t.getMetadata().getName()):(i=i||function(){},delete n.metadata.baseType),n.constructor=i,$.set(e,i);var a=new r(e,n);return i.getMetadata=i.prototype.getMetadata=function(){return a},i.getMetadata().isFinal()||(i.extend=function(t,e,n){return ot.createClass(i,t,e,n||r)}),i};var st=ot.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof st))throw Error('Cannot instantiate object: "new" is missing!')}});st.prototype.destroy=function(){},st.prototype.getInterface=function(){var t=new V(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return t},t},st.defineClass=function(t,e,n){var r=new(n||ot)(t,e),i=r.getClass();return i.getMetadata=i.prototype.getMetadata=function(){return r},r.isFinal()||(i.extend=function(t,e,r){return ot.createClass(i,t,e,r||n)}),Z.debug("defined class '"+t+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},st.prototype.isA=function(t){return this.getMetadata().isA(t)},st.isA=function(t,e){return t instanceof st&&t.isA(e)};var ut=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,lt=st.extend("sap.ui.core.Locale",{constructor:function(t){st.apply(this);var e=ut.exec(t.replace(/_/g,"-"));if(null===e)throw"The given language '"+t+"' does not adhere to BCP-47.";this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(function(t){return t.toUpperCase()}))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())},getLanguage:function(){return this.sLanguage},getScript:function(){return this.sScript},getRegion:function(){return this.sRegion},getVariant:function(){return this.sVariant},getVariantSubtags:function(){return this.sVariant?this.sVariant.split("-"):[]},getExtension:function(){return this.sExtension},getExtensionSubtags:function(){return this.sExtension?this.sExtension.slice(2).split("-"):[]},getPrivateUse:function(){return this.sPrivateUse},getPrivateUseSubtags:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]},hasPrivateUseSubtag:function(t){return it(t&&t.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.getPrivateUseSubtags().indexOf(t)>=0},toString:function(){var t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")},getSAPLogonLanguage:function(){var t,e=this.sLanguage||"";return e.indexOf("-")>=0&&(e=e.slice(0,e.indexOf("-"))),"zh"===(e=ct[e]||e)&&("Hant"===this.sScript||!this.sScript&&"TW"===this.sRegion)&&(e="zf"),this.sPrivateUse&&(t=/-(saptrc|sappsd)(?:-|$)/i.exec(this.sPrivateUse))&&(e="saptrc"===t[1].toLowerCase()?"1Q":"2Q"),e.toUpperCase()}}),ct={iw:"he",ji:"yi",in:"id",sh:"sr"};function ht(t){var e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null}var dt=ht("$cldr-rtl-locales:ar,fa,he$")||[];lt._cldrLocales=ht("$cldr-locales:ar,ar_EG,ar_SA,bg,br,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,nn,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$"),lt._coreI18nLocales=ht("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),lt._impliesRTL=function(t){var e=t instanceof lt?t:new lt(t),n=e.getLanguage()||"";n=n&&ct[n]||n;var r=e.getRegion()||"";return!!(r&&dt.indexOf(n+"_"+r)>=0)||dt.indexOf(n)>=0};var pt={loadResource:function(t){return sap.ui.loader._.getModuleContent(t)}},gt=st.extend("sap.ui.core.LocaleData",{constructor:function(t){this.oLocale=t,st.apply(this),this.mData=function(t){var e,n=t.getLanguage()||"",r=t.getScript()||"",i=t.getRegion()||"";function a(t){if(!(wt[t]||_t&&!0!==_t[t])){var e=wt[t]=pt.loadResource("sap/ui/core/cldr/"+t+".json",{dataType:"json",failOnError:!1});e&&e.__fallbackLocale&&(!function t(e,n){var r,i,a;if(n)for(r in n)n.hasOwnProperty(r)&&(i=e[r],a=n[r],void 0===i?e[r]=a:null===i?delete e[r]:"object"==typeof i&&"object"==typeof a&&t(i,a))}(e,a(e.__fallbackLocale)),delete e.__fallbackLocale)}return wt[t]}"no"===(n=n&&vt[n]||n)&&(n="nb");"zh"!==n||i||("Hans"===r?i="CN":"Hant"===r&&(i="TW"));var o=n+"_"+i;n&&i&&(e=a(o));!e&&n&&(e=a(n));return wt[o]=e||yt,wt[o]}(t)},_get:function(){return this._getDeep(this.mData,arguments)},_getMerged:function(){return this._get.apply(this,arguments)},_getDeep:function(t,e){for(var n=t,r=0;r<e.length&&void 0!==(n=n[e[r]]);r++);return n},getOrientation:function(){return this._get("orientation")},getLanguages:function(){return this._get("languages")},getScripts:function(){return this._get("scripts")},getTerritories:function(){return this._get("territories")},getMonths:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"months","format",t)},getMonthsStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"months","stand-alone",t)},getDays:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviate, wide or short"),this._get(bt(e),"days","format",t)},getDaysStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviated, wide or short"),this._get(bt(e),"days","stand-alone",t)},getQuarters:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"quarters","format",t)},getQuartersStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"quarters","stand-alone",t)},getDayPeriods:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"dayPeriods","format",t)},getDayPeriodsStandAlone:function(t,e){return it("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(bt(e),"dayPeriods","stand-alone",t)},getDatePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"dateFormats",t)},getTimePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"timeFormats",t)},getDateTimePattern:function(t,e){return it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(bt(e),"dateTimeFormats",t)},getCombinedDateTimePattern:function(t,e,n){it("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),it("short"==e||"medium"==e||"long"==e||"full"==e,"sStyle must be short, medium, long or full");var r=this.getDateTimePattern(t,n),i=this.getDatePattern(t,n),a=this.getTimePattern(e,n);return r.replace("{0}",a).replace("{1}",i)},getCustomDateTimePattern:function(t,e){var n=this._get(bt(e),"dateTimeFormats","availableFormats");return this._getFormatPattern(t,n,e)},getIntervalPattern:function(t,e){var n,r,i,a,o,s=this._get(bt(e),"dateTimeFormats","intervalFormats");return t&&(r=(n=t.split("-"))[0],i=n[1],(a=s[r])&&(o=a[i]))?o:s.intervalFormatFallback},getCombinedIntervalPattern:function(t,e){return this._get(bt(e),"dateTimeFormats","intervalFormats").intervalFormatFallback.replace(/\{(0|1)\}/g,t)},getCustomIntervalPattern:function(t,e,n){var r=this._get(bt(n),"dateTimeFormats","intervalFormats");return this._getFormatPattern(t,r,n,e)},_getFormatPattern:function(t,e,n,r){var i,a,o;if(r?"string"==typeof r&&("j"!=r&&"J"!=r||(r=this.getPreferredHourSymbol()),o=e[t],i=o&&o[r]):i=e[t],i){if("object"!=typeof i)return i;a=Object.keys(i).map((function(t){return i[t]}))}return a||(a=this._createFormatPattern(t,e,n,r)),a&&1===a.length?a[0]:a},_createFormatPattern:function(t,e,n,r){var i,a,o,s,u,l,c,h,d,p=this._parseSkeletonFormat(t),g=this._findBestMatch(p,t,e),f=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/;if(r){if("string"==typeof r)(c=mt[r]?mt[r].group:"")&&(h=ft[c].index>p[p.length-1].index),l=r;else{for(h=!0,d=p.length-1;d>=0;d--)if(r[(a=p[d]).group]){h=!1;break}for(d=0;d<p.length;d++)if(r[(a=p[d]).group]){l=a.symbol;break}"h"!=l&&"K"!=l||!r.DayPeriod||(l="a")}if(h)return[this.getCustomDateTimePattern(t,n)];g&&0===g.missingTokens.length&&(s=g.pattern[l])&&g.distance>0&&(s=this._expandFields(s,g.patternTokens,p)),s||(o=this._get(bt(n),"dateTimeFormats","availableFormats"),f.test(t)&&"ahHkKjJms".indexOf(l)>=0?s=this._getMixedFormatPattern(t,o,n,r):(u=this._getFormatPattern(t,o,n),s=this.getCombinedIntervalPattern(u,n))),i=[s]}else if(g){if("string"==typeof g.pattern)i=[g.pattern];else if("object"==typeof g.pattern)for(var m in i=[],g.pattern)s=g.pattern[m],i.push(s);g.distance>0&&(g.missingTokens.length>0?f.test(t)?i=[this._getMixedFormatPattern(t,e,n)]:(i=this._expandFields(i,g.patternTokens,p),i=this._appendItems(i,g.missingTokens,n)):i=this._expandFields(i,g.patternTokens,p))}else i=[s=t];return t.indexOf("J")>=0&&i.forEach((function(t,e){i[e]=t.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"")})),i},_parseSkeletonFormat:function(t){for(var e,n,r,i=[],a={index:-1},o=0;o<t.length;o++)if("j"!=(e=t.charAt(o))&&"J"!=e||(e=this.getPreferredHourSymbol()),e!=a.symbol){if(n=mt[e],r=ft[n.group],"Other"==n.group||r.diffOnly)throw new Error("Symbol '"+e+"' is not allowed in skeleton format '"+t+"'");if(r.index<=a.index)throw new Error("Symbol '"+e+"' at wrong position or duplicate in skeleton format '"+t+"'");a={symbol:e,group:n.group,match:n.match,index:r.index,field:r.field,length:1},i.push(a)}else a.length++;return i},_findBestMatch:function(t,e,n){var r,i,a,o,s,u,l,c,h,d,p={distance:1e4,firstDiffPos:-1};for(var g in n)if(!("intervalFormatFallback"===g||g.indexOf("B")>-1||(r=this._parseSkeletonFormat(g),u=0,i=[],l=!0,t.length<r.length))){s=0,c=t.length;for(var f=0;f<t.length;f++){if(a=t[f],o=r[s],c===t.length&&(c=f),o){if(h=mt[a.symbol],d=mt[o.symbol],a.symbol===o.symbol){a.length===o.length?c===f&&(c=t.length):(a.length<h.numericCeiling?o.length<d.numericCeiling:o.length>=d.numericCeiling)?u+=Math.abs(a.length-o.length):u+=5,s++;continue}if(a.match==o.match){u+=Math.abs(a.length-o.length)+10,s++;continue}}i.push(a),u+=50-f}s<r.length&&(l=!1),l&&(u<p.distance||u===p.distance&&c>p.firstDiffPos)&&(p.distance=u,p.firstDiffPos=c,p.missingTokens=i,p.pattern=n[g],p.patternTokens=r)}if(p.pattern)return p},_expandFields:function(t,e,n){var r="string"==typeof t,i=(r?[t]:t).map((function(t){var r,i,a,o,s,u,l,c,h,d,p={},g={},f="",m=!1,y=0;for(n.forEach((function(t){p[t.group]=t})),e.forEach((function(t){g[t.group]=t}));y<t.length;){if(d=t.charAt(y),m)f+=d,"'"==d&&(m=!1);else if((l=mt[d])&&p[l.group]&&g[l.group]){for(s=p[l.group],u=g[l.group],c=mt[s.symbol],h=mt[u.symbol],r=s.length,i=u.length,a=1;t.charAt(y+1)==d;)y++,a++;o=r===i||(r<c.numericCeiling?i>=h.numericCeiling:i<h.numericCeiling)?a:Math.max(a,r);for(var v=0;v<o;v++)f+=d}else f+=d,"'"==d&&(m=!0);y++}return f}));return r?i[0]:i},_appendItems:function(t,e,n){var r=this._get(bt(n),"dateTimeFormats","appendItems");return t.forEach(function(n,i){var a,o,s;e.forEach(function(e){o=r[e.group],a="'"+this.getDisplayName(e.field)+"'",s="";for(var u=0;u<e.length;u++)s+=e.symbol;t[i]=o.replace(/\{0\}/,n).replace(/\{1\}/,s).replace(/\{2\}/,a)}.bind(this))}.bind(this)),t},_getMixedFormatPattern:function(t,e,n,r){var i,a,o,s,u,l;return a=(i=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/.exec(t))[1],o=i[2],u=this._getFormatPattern(a,e,n),l=r?this.getCustomIntervalPattern(o,r,n):this._getFormatPattern(o,e,n),s=/MMMM|LLLL/.test(a)?/E|e|c/.test(a)?"full":"long":/MMM|LLL/.test(a)?"medium":"short",this.getDateTimePattern(s,n).replace(/\{1\}/,u).replace(/\{0\}/,l)},getNumberSymbol:function(t){return it("decimal"==t||"group"==t||"plusSign"==t||"minusSign"==t||"percentSign"==t,"sType must be decimal, group, plusSign, minusSign or percentSign"),this._get("symbols-latn-"+t)},getDecimalPattern:function(){return this._get("decimalFormat").standard},getCurrencyPattern:function(t){return this._get("currencyFormat")[t]||this._get("currencyFormat").standard},getCurrencySpacing:function(t){return this._get("currencyFormat","currencySpacing","after"===t?"afterCurrency":"beforeCurrency")},getPercentPattern:function(){return this._get("percentFormat").standard},getMinimalDaysInFirstWeek:function(){return this._get("weekData-minDays")},getFirstDayOfWeek:function(){return this._get("weekData-firstDay")},getWeekendStart:function(){return this._get("weekData-weekendStart")},getWeekendEnd:function(){return this._get("weekData-weekendEnd")},getCurrencyDigits:function(t){var e=this._get("currency");if(e){if(e[t]&&e[t].hasOwnProperty("digits"))return e[t].digits;if(e.DEFAULT&&e.DEFAULT.hasOwnProperty("digits"))return e.DEFAULT.digits}var n=this._get("currencyDigits",t);return null==n&&null==(n=this._get("currencyDigits","DEFAULT"))&&(n=2),n},getCurrencySymbol:function(t){var e=this._get("currencySymbols");return e&&e[t]||t},getCurrencyCodeBySymbol:function(t){var e,n=this._get("currencySymbols");for(e in n)if(n[e]===t)return e;return t},getUnitDisplayName:function(t){var e=this.getUnitFormat(t);return e&&e.displayName||""},getRelativePatterns:function(t,e){void 0===e&&(e="wide"),it("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n,r,i,a,o=[],s=this.getPluralCategories();return t||(t=["year","month","week","day","hour","minute","second"]),t.forEach(function(t){for(var u in n=this._get("dateFields",t+"-"+e))0===u.indexOf("relative-type-")?(i=parseInt(u.substr(14)),o.push({scale:t,value:i,pattern:n[u]})):0==u.indexOf("relativeTime-type-")&&(r=n[u],a="past"===u.substr(18)?-1:1,s.forEach((function(e){o.push({scale:t,sign:a,pattern:r["relativeTimePattern-count-"+e]})})))}.bind(this)),o},getRelativePattern:function(t,e,n,r){var i,a;return"string"==typeof n&&(r=n,n=void 0),void 0===n&&(n=e>0),void 0===r&&(r="wide"),it("wide"===r||"short"===r||"narrow"===r,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'"),a=t+"-"+r,0!==e&&-2!==e&&2!==e||(i=this._get("dateFields",a,"relative-type-"+e)),i||(i=this._get("dateFields",a,"relativeTime-type-"+(n?"future":"past"))["relativeTimePattern-count-"+this.getPluralCategory(Math.abs(e).toString())]),i},getRelativeSecond:function(t,e){return this.getRelativePattern("second",t,e)},getRelativeMinute:function(t,e){return 0==t?null:this.getRelativePattern("minute",t,e)},getRelativeHour:function(t,e){return 0==t?null:this.getRelativePattern("hour",t,e)},getRelativeDay:function(t,e){return this.getRelativePattern("day",t,e)},getRelativeWeek:function(t,e){return this.getRelativePattern("week",t,e)},getRelativeMonth:function(t,e){return this.getRelativePattern("month",t,e)},getDisplayName:function(t,e){it("second"==t||"minute"==t||"hour"==t||"zone"==t||"day"==t||"weekday"==t||"week"==t||"month"==t||"quarter"==t||"year"==t||"era"==t,"sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era"),void 0===e&&(e="wide"),it("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n=-1===["era","weekday","zone"].indexOf(t)?t+"-"+e:t;return this._get("dateFields",n,"displayName")},getRelativeYear:function(t,e){return this.getRelativePattern("year",t,e)},getDecimalFormat:function(t,e,n){var r,i;switch(t){case"long":i=this._get("decimalFormat-long");break;default:i=this._get("decimalFormat-short")}if(i){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getCurrencyFormat:function(t,e,n){var r,i;if(i=this._get("currencyFormat-short")){var a=e+"-"+n;(r=i[a])||(r=i[a=e+"-other"])}return r},getListFormat:function(t,e){var n=this._get("listPattern-"+(t||"standard")+"-"+(e||"wide"));return n||{}},getResolvedUnitFormat:function(t){return t=this.getUnitFromMapping(t)||t,this.getUnitFormat(t)},getUnitFormat:function(t){return this._get("units","short",t)},getUnitFormats:function(){return this._getMerged("units","short")},getUnitFromMapping:function(t){return this._get("unitMappings",t)},getEras:function(t,e){it("wide"==t||"abbreviated"==t||"narrow"==t,"sWidth must be wide, abbreviate or narrow");var n=this._get(bt(e),"era-"+t),r=[];for(var i in n)r[parseInt(i)]=n[i];return r},getEraDates:function(t){var e=this._get("eras-"+t.toLowerCase()),n=[];for(var r in e)n[parseInt(r)]=e[r];return n},getCalendarWeek:function(t,e){it("wide"==t||"narrow"==t,"sStyle must be wide or narrow");var n="date.week.calendarweek."+t;return sap.ui.getWCCore().getLibraryResourceBundle("sap.ui.core",this.oLocale.toString()).getText(n,e)},getPreferredCalendarType:function(){var t,e,n,r=this._get("calendarPreference"),i=r?r.split(" "):[];for(n=0;n<i.length;n++)for(e in t=i[n].split("-")[0],C)if(t===e.toLowerCase())return e;return C.Gregorian},getPreferredHourSymbol:function(){return this._get("timeData","_preferred")},getPluralCategories:function(){var t=this._get("plurals"),e=Object.keys(t);return e.push("other"),e},getPluralCategory:function(t){var e=this._get("plurals");for(var n in"number"==typeof t&&(t=t.toString()),this._pluralTest||(this._pluralTest={}),e){var r=this._pluralTest[n];if(r||(r=this._parsePluralRule(e[n]),this._pluralTest[n]=r),r(t))return n}return"other"},_parsePluralRule:function(t){var e,n="or",r="and",i="%",a="=",o="!=",s="n",u="i",l="f",c="t",h="v",d="w",p="..",g=",",f=0;function m(t){return e[f]===t&&(f++,!0)}function y(){var t=e[f];return f++,t}e=t.split(" ");var v=function t(){var e,f;return e=function t(){var e,n;if(e=function(){var t,e,n;if(t=function(){var t;if(t=function(){if(m(s))return function(t){return t.n};if(m(u))return function(t){return t.i};if(m(l))return function(t){return t.f};if(m(c))return function(t){return t.t};if(m(h))return function(t){return t.v};if(m(d))return function(t){return t.w};throw new Error("Unknown operand: "+y())}(),m(i)){var e=parseInt(y());return function(n){return t(n)%e}}return t}(),m(a))n=!0;else{if(!m(o))throw new Error("Expected '=' or '!='");n=!1}return e=function(){var t,e,n,r=[];return y().split(g).forEach((function(i){if(1===(t=i.split(p)).length)r.push(parseInt(i));else{e=parseInt(t[0]),n=parseInt(t[1]);for(var a=e;a<=n;a++)r.push(a)}})),function(t){return r}}(),n?function(n){return e(n).indexOf(t(n))>=0}:function(n){return-1===e(n).indexOf(t(n))}}(),m(r))return n=t(),function(t){return e(t)&&n(t)};return e}(),m(n)?(f=t(),function(t){return e(t)||f(t)}):e}();if(f!=e.length)throw new Error("Not completely parsed");return function(t){var e,n,r,i,a=t.indexOf(".");return-1===a?(e=t,n="",r=""):(e=t.substr(0,a),r=(n=t.substr(a+1)).replace(/0+$/,"")),i={n:parseFloat(t),i:parseInt(e),v:n.length,w:r.length,f:parseInt(n),t:parseInt(r)},v(i)}}}),ft={Era:{field:"era",index:0},Year:{field:"year",index:1},Quarter:{field:"quarter",index:2},Month:{field:"month",index:3},Week:{field:"week",index:4},"Day-Of-Week":{field:"weekday",index:5},Day:{field:"day",index:6},DayPeriod:{field:"hour",index:7,diffOnly:!0},Hour:{field:"hour",index:8},Minute:{field:"minute",index:9},Second:{field:"second",index:10},Timezone:{field:"zone",index:11}},mt={G:{group:"Era",match:"Era",numericCeiling:1},y:{group:"Year",match:"Year",numericCeiling:100},Y:{group:"Year",match:"Year",numericCeiling:100},Q:{group:"Quarter",match:"Quarter",numericCeiling:3},q:{group:"Quarter",match:"Quarter",numericCeiling:3},M:{group:"Month",match:"Month",numericCeiling:3},L:{group:"Month",match:"Month",numericCeiling:3},w:{group:"Week",match:"Week",numericCeiling:100},W:{group:"Week",match:"Week",numericCeiling:100},d:{group:"Day",match:"Day",numericCeiling:100},D:{group:"Day",match:"Day",numericCeiling:100},E:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:1},e:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:3},c:{group:"Day-Of-Week",match:"Day-Of-Week",numericCeiling:2},h:{group:"Hour",match:"Hour12",numericCeiling:100},H:{group:"Hour",match:"Hour24",numericCeiling:100},k:{group:"Hour",match:"Hour24",numericCeiling:100},K:{group:"Hour",match:"Hour12",numericCeiling:100},m:{group:"Minute",match:"Minute",numericCeiling:100},s:{group:"Second",match:"Second",numericCeiling:100},z:{group:"Timezone",match:"Timezone",numericCeiling:1},Z:{group:"Timezone",match:"Timezone",numericCeiling:1},O:{group:"Timezone",match:"Timezone",numericCeiling:1},v:{group:"Timezone",match:"Timezone",numericCeiling:1},V:{group:"Timezone",match:"Timezone",numericCeiling:1},X:{group:"Timezone",match:"Timezone",numericCeiling:1},x:{group:"Timezone",match:"Timezone",numericCeiling:1},S:{group:"Other",numericCeiling:100},u:{group:"Other",numericCeiling:100},U:{group:"Other",numericCeiling:1},r:{group:"Other",numericCeiling:100},F:{group:"Other",numericCeiling:100},g:{group:"Other",numericCeiling:100},a:{group:"DayPeriod",numericCeiling:1},b:{group:"Other",numericCeiling:1},B:{group:"Other",numericCeiling:1},A:{group:"Other",numericCeiling:100}},yt={},vt={iw:"he",ji:"yi",in:"id",sh:"sr"},_t=function(){var t,e=lt._cldrLocales,n={};if(e)for(t=0;t<e.length;t++)n[e[t]]=!0;return n}(),wt={};function bt(t){return t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType()),"ca-"+t.toLowerCase()}var Ct=gt.extend("sap.ui.core.CustomLocaleData",{constructor:function(t){gt.apply(this,arguments),this.mCustomData=sap.ui.getWCCore().getFormatSettings().getCustomLocaleData()},_get:function(){var t,e=Array.prototype.slice.call(arguments);0==e[0].indexOf("ca-")&&e[0]==bt()&&(e=e.slice(1)),t=e.join("-");var n=this.mCustomData[t];return null==n&&null==(n=this._getDeep(this.mCustomData,arguments))&&(n=this._getDeep(this.mData,arguments)),n},_getMerged:function(){var e=this._getDeep(this.mData,arguments),n=this._getDeep(this.mCustomData,arguments);return t.extend({},e,n)}});gt.getInstance=function(t){return t.hasPrivateUseSubtag("sapufmt")?new Ct(t):new gt(t)};var Tt=new Map,Dt=function(t){return Tt.get(t)},St=function(t,e){Tt.set(t,e)},Pt=st.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var t=Pt.getClass();return this.createDate(t,arguments)}});Pt.UTC=function(){var t=Pt.getClass();return t.UTC.apply(t,arguments)},Pt.now=function(){return Date.now()},Pt.prototype.createDate=function(t,e){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}},Pt.getInstance=function(t,e){var n,r;return t instanceof Pt&&(t=t.getJSDate()),e||(e=sap.ui.getWCCore().getConfiguration().getCalendarType()),n=Pt.getClass(e),(r=Object.create(n.prototype)).oDate=t,r.sCalendarType=e,r},Pt.getClass=function(t){t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType());var e=Dt(t);if(!e){if(!sap||!sap.ui||!sap.ui.requireSync)throw new Error("Calendar type ["+t+"] is not imported");e=sap.ui.requireSync("sap/ui/core/date/"+t)}return e},["getDate","getMonth","getFullYear","getYear","getDay","getHours","getMinutes","getSeconds","getMilliseconds","getUTCDate","getUTCMonth","getUTCFullYear","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","getTime","valueOf","getTimezoneOffset","toString","toDateString","setDate","setFullYear","setYear","setMonth","setHours","setMinutes","setSeconds","setMilliseconds","setUTCDate","setUTCFullYear","setUTCMonth","setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"].forEach((function(t){Pt.prototype[t]=function(){return this.oDate[t].apply(this.oDate,arguments)}})),Pt.prototype.getJSDate=function(){return this.oDate},Pt.prototype.getCalendarType=function(){return this.sCalendarType},Pt.prototype.getEra=function(){return Pt.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())},Pt.prototype.setEra=function(t){},Pt.prototype.getUTCEra=function(){return Pt.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())},Pt.prototype.setUTCEra=function(t){},Pt.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate())},Pt.prototype.setWeek=function(t){var e=Pt.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setFullYear(e.year,e.month,e.day)},Pt.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Pt.prototype.setUTCWeek=function(t){var e=Pt.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setUTCFullYear(e.year,e.month,e.day)},Pt.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)},Pt.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)},Pt.prototype.getDayPeriod=function(){return this.getHours()<12?0:1},Pt.prototype.getUTCDayPeriod=function(){return this.getUTCHours()<12?0:1},Pt.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort)return this.oDate.getTimezoneShort()},Pt.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong)return this.oDate.getTimezoneLong()};var Mt=6048e5;function Et(t,e){for(var n=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),r=gt.getInstance(n),i=r.getMinimalDaysInFirstWeek(),a=sap.ui.getConfiguration().getFirstDateOfWeek()||r.getFirstDayOfWeek(),o=new t(t.UTC(e,0,1)),s=7;o.getUTCDay()!==a;)o.setUTCDate(o.getUTCDate()-1),s--;return s<i&&o.setUTCDate(o.getUTCDate()+7),o}function Ut(t,e){return Math.floor((e.valueOf()-t.valueOf())/Mt)}Pt.getWeekByDate=function(t,e,n,r){var i,a,o,s,u=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),l=this.getClass(t),c=Et(l,e),h=new l(l.UTC(e,n,r));return"US"===u.getRegion()?i=Ut(c,h):(o=e+1,s=Et(l,a=e-1),h>=Et(l,o)?(e=o,i=0):h<c?(e=a,i=Ut(s,h)):i=Ut(c,h)),{year:e,week:i}},Pt.getFirstDateOfWeek=function(t,e,n){var r=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),i=this.getClass(t),a=Et(i,e),o=new i(a.valueOf()+n*Mt);return"US"===r.getRegion()&&0===n&&a.getUTCFullYear()<e?{year:e,month:0,day:1}:{year:o.getUTCFullYear(),month:o.getUTCMonth(),day:o.getUTCDate()}};var xt={};function Ot(t){var e=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),n=gt.getInstance(e);if(!(r=xt[t])){var r;(r=n.getEraDates(t))[0]||(r[0]={_start:"1-1-1"});for(var i=0;i<r.length;i++){var a=r[i];a&&(a._start&&(a._startInfo=At(a._start)),a._end&&(a._endInfo=At(a._end)))}xt[t]=r}return r}function At(t){var e,n,r,i=t.split("-");return""==i[0]?(e=-parseInt(i[1]),n=parseInt(i[2])-1,r=parseInt(i[3])):(e=parseInt(i[0]),n=parseInt(i[1])-1,r=parseInt(i[2])),{timestamp:new Date(0).setUTCFullYear(e,n,r),year:e,month:n,day:r}}Pt.getEraByDate=function(t,e,n,r){for(var i,a=Ot(t),o=new Date(0).setUTCFullYear(e,n,r),s=a.length-1;s>=0;s--)if(i=a[s]){if(i._start&&o>=i._startInfo.timestamp)return s;if(i._end&&o<i._endInfo.timestamp)return s}},Pt.getCurrentEra=function(t){var e=new Date;return this.getEraByDate(t,e.getFullYear(),e.getMonth(),e.getDate())},Pt.getEraStartDate=function(t,e){var n=Ot(t),r=n[e]||n[0];if(r._start)return r._startInfo};var Ft=Pt.extend("sap.ui.core.date.Buddhist",{constructor:function(){var t=arguments;t.length>1&&(t=It(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Buddhist}});function Lt(t){var e=Pt.getEraStartDate(C.Buddhist,0).year,n=t.year-e+1;return t.year<1941&&t.month<3&&(n-=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function kt(t){var e=Pt.getEraStartDate(C.Buddhist,0).year,n=t.year+e-1;return n<1941&&t.month<3&&(n+=1),null===t.year&&(n=void 0),{year:n,month:t.month,day:t.day}}function It(t){var e;return e=kt({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}Ft.UTC=function(){var t=It(arguments);return Date.UTC.apply(Date,t)},Ft.now=function(){return Date.now()},Ft.prototype._getBuddhist=function(){return Lt({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},Ft.prototype._setBuddhist=function(t){var e=kt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Ft.prototype._getUTCBuddhist=function(){return Lt({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},Ft.prototype._setUTCBuddhist=function(t){var e=kt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Ft.prototype.getYear=function(){return this._getBuddhist().year},Ft.prototype.getFullYear=function(){return this._getBuddhist().year},Ft.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year},Ft.prototype.setYear=function(t){var e=this._getBuddhist();return e.year=t,this._setBuddhist(e)},Ft.prototype.setFullYear=function(t,e,n){var r=this._getBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setBuddhist(r)},Ft.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCBuddhist();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCBuddhist(r)},Ft.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},Ft.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},St(C.Buddhist,Ft);var Nt=Pt.extend("sap.ui.core.date.Islamic",{constructor:function(){var t=arguments;t.length>1&&(t=Bt(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Islamic}});Nt.UTC=function(){var t=Bt(arguments);return Date.UTC.apply(Date,t)},Nt.now=function(){return Date.now()};var Rt=1721425.5,Wt=1948439.5,jt=-425215872e5,Vt=864e5,$t=null;function Yt(t){var e,n,r,i,a,o,s,u=t.year,l=t.month,c=t.day;if(o=0,l+1>2&&(o=Gt(u)?-1:-2),s=Rt-1+365*(u-1)+Math.floor((u-1)/4)+-Math.floor((u-1)/100)+Math.floor((u-1)/400)+Math.floor((367*(l+1)-362)/12+o+c),a=(s=Math.floor(s)+.5)-Wt,(i=Math.floor(a/29.530588853))<0)(n=i%12)<0&&(n+=12),r=a-Zt(e=Math.floor(i/12)+1,n)+1;else{for(i++;Jt(i)>a;)i--;r=a-Jt(12*((e=Math.floor(i/12)+1)-1)+(n=i%12))+1}return{day:r,month:n,year:e}}function zt(t){var e,n,r,i,a,o=t.year,s=t.month,u=t.day+(o<1?Zt(o,s):Jt(12*(o-1)+s))+Wt-1,l=Math.floor(u-.5)+.5,c=l-Rt,h=Math.floor(c/146097),d=qt(c,146097),p=Math.floor(d/36524),g=qt(d,36524),f=Math.floor(g/1461),m=qt(g,1461),y=Math.floor(m/365),v=400*h+100*p+4*f+y;return 4!=p&&4!=y&&v++,n=l-(Rt+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)),i=0,i=l<Rt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(Gt(v)?-1:-2)+1)?0:Gt(v)?1:2,e=Math.floor((12*(n+i)+373)/367),r=Rt-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),a=0,e>2&&(a=Gt(v)?-1:-2),{day:l-(r+=Math.floor((367*e-362)/12+a+1))+1,month:e-1,year:v}}function Bt(t){var e,n=Array.prototype.slice.call(t);return e=zt({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n}function Ht(t){return{year:parseInt(t.substr(0,4)),month:parseInt(t.substr(4,2)),day:parseInt(t.substr(6,2))}}function Jt(t){var e,n;$t||($t={},e=sap.ui.getWCCore().getFormatSettings().getLegacyDateFormat(),n=(n=sap.ui.getWCCore().getFormatSettings().getLegacyDateCalendarCustomizing())||[],e||n.length?e&&!n.length||!e&&n.length?Z.warning("There is an inconsistency between customization data ["+JSON.stringify(n)+"] and the date format ["+e+"]. Calendar customization won't be used."):(n.forEach((function(t){if(t.dateFormat===e){var n=Ht(t.gregDate),r=(new Date(Date.UTC(n.year,n.month-1,n.day)).getTime()-jt)/Vt,i=12*((n=Ht(t.islamicMonthStart)).year-1)+n.month-1;$t[i]=r}})),Z.info("Working with date format: ["+e+"] and customization: "+JSON.stringify(n))):Z.info("No calendar customizations."));var r=$t[t];r||(r=Zt(Math.floor(t/12)+1,t%12));return r}function Zt(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)}function qt(t,e){return t-e*Math.floor(t/e)}function Gt(t){return!(t%400&&(t%4||!(t%100)))}Nt.prototype._getIslamic=function(){return Yt({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},Nt.prototype._setIslamic=function(t){var e=zt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Nt.prototype._getUTCIslamic=function(){return Yt({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},Nt.prototype._setUTCIslamic=function(t){var e=zt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Nt.prototype.getDate=function(t){return this._getIslamic().day},Nt.prototype.getMonth=function(){return this._getIslamic().month},Nt.prototype.getYear=function(){return this._getIslamic().year-1400},Nt.prototype.getFullYear=function(){return this._getIslamic().year},Nt.prototype.setDate=function(t){var e=this._getIslamic();return e.day=t,this._setIslamic(e)},Nt.prototype.setMonth=function(t,e){var n=this._getIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setIslamic(n)},Nt.prototype.setYear=function(t){var e=this._getIslamic();return e.year=t+1400,this._setIslamic(e)},Nt.prototype.setFullYear=function(t,e,n){var r=this._getIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setIslamic(r)},Nt.prototype.getUTCDate=function(t){return this._getUTCIslamic().day},Nt.prototype.getUTCMonth=function(){return this._getUTCIslamic().month},Nt.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year},Nt.prototype.setUTCDate=function(t){var e=this._getUTCIslamic();return e.day=t,this._setUTCIslamic(e)},Nt.prototype.setUTCMonth=function(t,e){var n=this._getUTCIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setUTCIslamic(n)},Nt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCIslamic();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCIslamic(r)},St(C.Islamic,Nt);var Qt=Pt.extend("sap.ui.core.date.Japanese",{constructor:function(){var t=arguments;t.length>1&&(t=te(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Japanese}});function Xt(t){var e=Pt.getEraByDate(C.Japanese,t.year,t.month,t.day),n=Pt.getEraStartDate(C.Japanese,e).year;return{era:e,year:t.year-n+1,month:t.month,day:t.day}}function Kt(t){return{year:Pt.getEraStartDate(C.Japanese,t.era).year+t.year-1,month:t.month,day:t.day}}function te(t){var e,n=t[0];if("number"==typeof n){if(n>=100)return t;n=[Pt.getCurrentEra(C.Japanese),n]}else Array.isArray(n)||(n=[]);return e=Kt({era:n[0],year:n[1],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}Qt.UTC=function(){var t=te(arguments);return Date.UTC.apply(Date,t)},Qt.now=function(){return Date.now()},Qt.prototype._getJapanese=function(){return Xt({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},Qt.prototype._setJapanese=function(t){var e=Kt(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Qt.prototype._getUTCJapanese=function(){return Xt({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},Qt.prototype._setUTCJapanese=function(t){var e=Kt(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Qt.prototype.getYear=function(){return this._getJapanese().year},Qt.prototype.getFullYear=function(){return this._getJapanese().year},Qt.prototype.getEra=function(){return this._getJapanese().era},Qt.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year},Qt.prototype.getUTCEra=function(){return this._getUTCJapanese().era},Qt.prototype.setYear=function(t){var e=this._getJapanese();return e.year=t,this._setJapanese(e)},Qt.prototype.setFullYear=function(t,e,n){var r=this._getJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setJapanese(r)},Qt.prototype.setEra=function(t,e,n,r){var i=Xt(Pt.getEraStartDate(C.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setJapanese(i)},Qt.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCJapanese();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCJapanese(r)},Qt.prototype.setUTCEra=function(t,e,n,r){var i=Xt(Pt.getEraStartDate(C.Japanese,t));return void 0!==e&&(i.year=e),void 0!==n&&(i.month=n),void 0!==r&&(i.day=r),this._setUTCJapanese(i)},Qt.prototype.getWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},Qt.prototype.getUTCWeek=function(){return Pt.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},St(C.Japanese,Qt);var ee=Pt.extend("sap.ui.core.date.Persian",{constructor:function(){var t=arguments;t.length>1&&(t=ie(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=C.Persian}});ee.UTC=function(){var t=ie(arguments);return Date.UTC.apply(Date,t)},ee.now=function(){return Date.now()};function ne(t){return function(t){var e,n,r,i=se(t).year,a=i-621,o=ae(a),s=oe(i,3,o.march);if((r=t-s)>=0){if(r<=185)return n=1+ue(r,31),e=le(r,31)+1,{year:a,month:n-1,day:e};r-=186}else a-=1,r+=179,1===o.leap&&(r+=1);return n=7+ue(r,30),e=le(r,30)+1,{year:a,month:n-1,day:e}}(oe(t.year,t.month+1,t.day))}function re(t){return se(function(t,e,n){for(;e<1;)e+=12,t--;for(;e>12;)e-=12,t++;var r=ae(t);return oe(r.gy,3,r.march)+31*(e-1)-ue(e,7)*(e-7)+n-1}(t.year,t.month+1,t.day))}function ie(t){var e,n=Array.prototype.slice.call(t);return"number"!=typeof t[0]||"number"!=typeof t[1]||void 0!==t[2]&&"number"!=typeof t[2]?(n[0]=NaN,n[1]=NaN,n[2]=NaN,n):(e=re({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),n[0]=e.year,n[1]=e.month,n[2]=e.day,n)}function ae(t){var e,n,r,i,a,o,s=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],u=s.length,l=t+621,c=-14,h=s[0];for(o=1;o<u&&(n=(e=s[o])-h,!(t<e));o+=1)c=c+8*ue(n,33)+ue(le(n,33),4),h=e;return c=c+8*ue(a=t-h,33)+ue(le(a,33)+3,4),4===le(n,33)&&n-a==4&&(c+=1),i=20+c-(ue(l,4)-ue(3*(ue(l,100)+1),4)-150),n-a<6&&(a=a-n+33*ue(n+4,33)),-1===(r=le(le(a+1,33)-1,4))&&(r=4),{leap:r,gy:l,march:i}}function oe(t,e,n){var r=ue(1461*(t+ue(e-8,6)+100100),4)+ue(153*le(e+9,12)+2,5)+n-34840408;return r=r-ue(3*ue(t+100100+ue(e-8,6),100),4)+752}function se(t){var e,n,r,i;return e=(e=4*t+139361631)+4*ue(3*ue(4*t+183187720,146097),4)-3908,n=5*ue(le(e,1461),4)+308,r=ue(le(n,153),5)+1,i=le(ue(n,153),12)+1,{year:ue(e,1461)-100100+ue(8-i,6),month:i-1,day:r}}function ue(t,e){return~~(t/e)}function le(t,e){return t-~~(t/e)*e}ee.prototype._getPersian=function(){return ne({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},ee.prototype._setPersian=function(t){var e=re(t);return this.oDate.setFullYear(e.year,e.month,e.day)},ee.prototype._getUTCPersian=function(){return ne({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},ee.prototype._setUTCPersian=function(t){var e=re(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},ee.prototype.getDate=function(t){return this._getPersian().day},ee.prototype.getMonth=function(){return this._getPersian().month},ee.prototype.getYear=function(){return this._getPersian().year-1300},ee.prototype.getFullYear=function(){return this._getPersian().year},ee.prototype.setDate=function(t){var e=this._getPersian();return e.day=t,this._setPersian(e)},ee.prototype.setMonth=function(t,e){var n=this._getPersian();return n.month=t,void 0!==e&&(n.day=e),this._setPersian(n)},ee.prototype.setYear=function(t){var e=this._getPersian();return e.year=t+1300,this._setPersian(e)},ee.prototype.setFullYear=function(t,e,n){var r=this._getPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setPersian(r)},ee.prototype.getUTCDate=function(t){return this._getUTCPersian().day},ee.prototype.getUTCMonth=function(){return this._getUTCPersian().month},ee.prototype.getUTCFullYear=function(){return this._getUTCPersian().year},ee.prototype.setUTCDate=function(t){var e=this._getUTCPersian();return e.day=t,this._setUTCPersian(e)},ee.prototype.setUTCMonth=function(t,e){var n=this._getUTCPersian();return n.month=t,void 0!==e&&(n.day=e),this._setUTCPersian(n)},ee.prototype.setUTCFullYear=function(t,e,n){var r=this._getUTCPersian();return r.year=t,void 0!==e&&(r.month=e),void 0!==n&&(r.day=n),this._setUTCPersian(r)},St(C.Persian,ee),
2
- /**
3
- *
4
- *
5
- * @author Jerry Bendy <jerry@icewingcc.com>
6
- * @licence MIT
7
- *
8
- */
9
- function(t){var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),a="__URLSearchParams__",o=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),s=h.prototype,u=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&o)){s.append=function(t,e){m(this[a],t,e)},s.delete=function(t){delete this[a][t]},s.get=function(t){var e=this[a];return t in e?e[t][0]:null},s.getAll=function(t){var e=this[a];return t in e?e[t].slice(0):[]},s.has=function(t){return t in this[a]},s.set=function(t,e){this[a][t]=[""+e]},s.toString=function(){var t,e,n,r,i=this[a],o=[];for(e in i)for(n=d(e),t=0,r=i[e];t<r.length;t++)o.push(n+"="+d(r[t]));return o.join("&")};var l=!!i&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:l?new Proxy(n,{construct:function(t,e){return new t(new h(e[0]).toString())}}):h});var c=t.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(t,e){var n=f(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)},c.sort=c.sort||function(){var t,e,n,r=f(this.toString()),i=[];for(t in r)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var a=i[e],o=r[a];for(n=0;n<o.length;n++)this.append(a,o[n])}},c.keys=c.keys||function(){var t=[];return this.forEach((function(e,n){t.push(n)})),g(t)},c.values=c.values||function(){var t=[];return this.forEach((function(e){t.push(e)})),g(t)},c.entries=c.entries||function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),g(t)},u&&(c[t.Symbol.iterator]=c[t.Symbol.iterator]||c.entries)}function h(t){((t=t||"")instanceof URLSearchParams||t instanceof h)&&(t=t.toString()),this[a]=f(t)}function d(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function p(t){return decodeURIComponent(t.replace(/\+/g," "))}function g(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return u&&(n[t.Symbol.iterator]=function(){return n}),n}function f(t){var e={};if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&m(e,n,t[n]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var r=t.split("&"),i=0;i<r.length;i++){var a=r[i],o=a.indexOf("=");-1<o?m(e,p(a.slice(0,o)),p(a.slice(o+1))):a&&m(e,p(a),"")}}return e}function m(t,e,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);e in t?t[e].push(r):t[e]=[r]}}("undefined"!=typeof global?global:window);(()=>{if(!window.ShadyDOM)return;const t=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get(){return t.get.apply(this)},set(e){t.set.apply(this,arguments);const n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})})();var ce=function(){var t,e,n,r,i,a,s=arguments[0]||{},u=1,l=arguments.length;for("object"!=typeof s&&"function"!=typeof s&&(s={});u<l;u++)for(r in i=arguments[u])t=s[r],s!==(n=i[r])&&(n&&(o(n)||(e=Array.isArray(n)))?(e?(e=!1,a=Array.isArray(t)?t:[]):a=t&&o(t)?t:{},s[r]=ce(a,n)):s[r]=n);return s};const he={};let de=!1;he.run=function(){if(de)return;const t=new WeakSet,e=new WeakSet,n=Event.prototype.stopPropagation,r=Event.prototype.stopImmediatePropagation;Event.prototype.stopPropagation=function(){return t.add(this),n.apply(this,arguments)},Event.prototype.isPropagationStopped=function(){return t.has(this)},Event.prototype.stopImmediatePropagation=function(){return e.add(this),r.apply(this,arguments)},Event.prototype.isImmediatePropagationStopped=function(){return e.has(this)},de=!0};const pe=(t,e={})=>{const n=document.createElement("style");return n.type="text/css",Object.entries(e).forEach(t=>n.setAttribute(...t)),n.textContent=t,document.head.appendChild(n),n},ge={};let fe;const me=()=>!!window.CSSVarsPonyfill,ye=()=>{fe=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,include:"style[data-ui5-theme-properties],style[data-ui5-element-styles]",silent:!0})},ve=(t,e)=>{pe(e,{"data-ui5-element-styles":t,disabled:"disabled"}),me()&&(fe||(fe=window.setTimeout(ye,0)))},_e=[],we=async t=>{let e="";W().forEach(async n=>{e=await(async(t,e)=>{const n=L.get(`${t}_${e}`);if(n)return n;if(!I.has(e)){const e=[...I.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to sap_fiori_3. Registered themes are: ${e}`),L.get(`${t}_sap_fiori_3`)}const r=await R(t,e);return L.set(`${t}_${e}`,r._),r._})(n,t),((t,e)=>{const n=document.head.querySelector(`style[data-ui5-theme-properties="${e}"]`);if(n)n.textContent=t||"";else{pe(t,{"data-ui5-theme-properties":e})}me()&&ye()})(e,n)}),be(t)},be=t=>{_e.forEach(e=>e(t))},Ce=t=>{const e=(t=>ge[t]?ge[t].join(""):"")(t.getMetadata().getTag())||"";let n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),`${n} ${e}`};let Te=(()=>(m(),p.theme))();const De=()=>Te;let Se;let Pe;he.run();const Me=()=>Pe||(Pe=new Promise(async t=>{await(()=>new Promise(t=>{document.body?t():document.addEventListener("DOMContentLoaded",()=>{t()})}))(),await we(De()),document.querySelector("head>style[data-ui5-font-face]")||pe('\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local("72"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 400;\n\t\tsrc: local(\'72-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff?ui5-webcomponents) format("woff");\n\t\t\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff?ui5-webcomponents) format("woff");\n\t}\n\t\n\t@font-face {\n\t\tfont-family: "72full";\n\t\tfont-style: normal;\n\t\tfont-weight: 700;\n\t\tsrc: local(\'72-Bold-full\'),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2"),\n\t\t\turl(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff?ui5-webcomponents) format("woff");\n\t}\n',{"data-ui5-font-face":""}),await(()=>Se||(Se=new Promise(t=>{window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor(()=>{t()}):t()}),Se))(),t()}),Pe),Ee=["value-changed"];let Ue=(()=>(m(),p.noConflict))();const xe=t=>!(t=>Ee.includes(t))(t)&&(!0===Ue||!(t=>!(Ue.events&&Ue.events.includes&&Ue.events.includes(t)))(t)),Oe=[],Ae=t=>{-1===Oe.indexOf(t)&&Oe.push(t)},Fe=t=>{Oe.forEach(e=>e(t))};let Le=(()=>(m(),p.compactSize))();const ke=()=>Le,Ie=window,Ne=new WeakMap;class Re{constructor(){throw new Error("Static class")}static observeDOMNode(t,e,n){let r=Ne.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Ie.ShadyDOM?r=Ie.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e),r.observe(t,n)),Ne.set(t,r)}static unobserveDOMNode(t){const e=Ne.get(t);e&&(e instanceof MutationObserver?e.disconnect():Ie.ShadyDOM.unobserveChildren(e),Ne.delete(t))}}class We{static isValid(t){}static generataTypeAcessors(t){Object.keys(t).forEach(e=>{Object.defineProperty(this,e,{get:()=>t[e]})})}}const je=t=>$e(t.split("-")),Ve=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),$e=t=>t.map((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("");class Ye{constructor(t){this.metadata=t}static validatePropertyValue(t,e){return e.multiple?t.map(t=>ze(t,e)):ze(t,e)}static validateSlotValue(t,e){return Be(t,e)}getTag(){return this.metadata.tag}hasAttribute(t){const e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(Ve)}getSlots(){return this.metadata.slots||{}}hasSlots(){return!!Object.entries(this.getSlots()).length}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}getInvalidateOnContentDensityChange(){return!!this.metadata.invalidateOnContentDensityChange}}const ze=(t,e)=>{const n=e.type;return n===Boolean?"boolean"==typeof t&&t:n===String?"string"==typeof t||null==t?t:t.toString():n===Object?"object"==typeof t?t:e.defaultValue:((t,e,n=!1)=>{if("function"!=typeof t||"function"!=typeof e)return!1;if(n&&t===e)return!0;let r=t;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==e);return r===e})(n,We)?n.isValid(t)?t:e.defaultValue:void 0},Be=(t,e)=>{if(null===t)return t;return(t=>{return t instanceof HTMLElement&&"slot"===t.localName?t.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement):[t]})(t).forEach(t=>{if(!(t instanceof e.type))throw new Error(`${t} is not of type ${e.type}`)}),t};class He extends We{static isValid(t){return Number.isInteger(t)}}const Je=10;let Ze;const qe=new class{constructor(){this.list=[],this.promises=new Map}add(t){if(this.promises.has(t))return this.promises.get(t);let e;const n=new Promise(t=>{e=t});return n._deferredResolve=e,this.list.push(t),this.promises.set(t,n),n}shift(){const t=this.list.shift();if(t){const e=this.promises.get(t);return this.promises.delete(t),{webComponent:t,promise:e}}}getList(){return this.list}isAdded(t){return this.promises.has(t)}};let Ge,Qe,Xe;class Ke{constructor(){throw new Error("Static class")}static renderDeferred(t){const e=qe.add(t);return Ke.scheduleRenderTask(),e}static renderImmediately(t){const e=qe.add(t);return Ke.runRenderTask(),e}static scheduleRenderTask(){Ze||(Ze=window.requestAnimationFrame(Ke.renderWebComponents))}static runRenderTask(){Ze||(Ze=1,Ke.renderWebComponents())}static renderWebComponents(){let t,e,n;const r=new Map;for(;t=qe.shift();){e=t.webComponent,n=t.promise;const i=r.get(e)||0;if(i>Je)throw new Error(`Web component re-rendered too many times this task, max allowed is: ${Je}`);e._render(),n._deferredResolve(),r.set(e,i+1)}setTimeout(()=>{0===qe.getList().length&&Ke._resolveTaskPromise()},200),Ze=void 0}static whenDOMUpdated(){return Ge||(Ge=new Promise(t=>{Qe=t,window.requestAnimationFrame(()=>{0===qe.getList().length&&(Ge=void 0,t())})}),Ge)}static getNotDefinedComponents(){return Array.from(document.querySelectorAll("*")).filter(t=>t.localName.startsWith("ui5-")&&!t.isUI5Element)}static async whenShadowDOMReady(){const t=this.getNotDefinedComponents().map(t=>customElements.whenDefined(t.localName)),e=new Promise(t=>setTimeout(t,5e3));await Promise.race([Promise.all(t),e]);const n=this.getNotDefinedComponents();return n.length&&console.warn("undefined elements after 5 seconds are: "+[...n].map(t=>t.localName).join(" ; ")),Promise.resolve()}static async whenFinished(){await Ke.whenShadowDOMReady(),await Ke.whenDOMUpdated()}static _resolveTaskPromise(){qe.getList().length>0||Qe&&(Qe.call(this,Xe),Qe=void 0,Ge=void 0)}}const tn=(t,e,n,r)=>{const i=n+e.length,a=t.charAt(i),o=t.substring(0,n)+r;if("("===a){const e=((t,e)=>{let n=1;for(let r=e+1;r<t.length;r++){const e=t.charAt(r);if("("===e?n++:")"===e&&n--,0===n)return r}})(t,i);return o+t.substring(i+1,e)+t.substring(e+1)}return o+t.substring(i)},en=(t,e)=>(t=((t,e,n)=>{let r=t.indexOf(e);for(;-1!==r;)r=(t=tn(t,e,r,n)).indexOf(e);return t})(t=t.trim(),"::slotted","")).startsWith(":host")?tn(t,":host",0,e):t.match(/^[@0-9]/)||"to"===t||"to{"===t?t:t.match(new RegExp(`^${e}[^a-zA-Z0-9-]`))?t:`${e} ${t}`,nn=new Map,rn=new Set,an=t=>{const e=t.getMetadata().getTag();if(rn.has(e))return;let n=Ce(t);n=((t,e)=>{t=(t=t.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");let n="";return t.split("\n").forEach(t=>{if(t.match(/{$/)){const n=t.split(",");t=n.map(t=>en(t,e)).join(",")}n=`${n}${t}`}),n})(n,e),ve(e,n),rn.add(e)},on=t=>{const e=t.getMetadata().getTag(),n=Ce(t);if(nn.has(e))return nn.get(e);const r=new CSSStyleSheet;return r.replaceSync(n),nn.set(e,r),r},sn=t=>{if("disabled"===t)return!0;return![HTMLElement,Element,Node].some(e=>e.prototype.hasOwnProperty(t))},un={events:{_propertyChange:{}}},ln=new Set,cn=new Map;class hn extends HTMLElement{constructor(){let t;super(),this._generateId(),this._initializeState(),this._upgradeAllProperties(),this._initializeShadowRoot(),Ae(this._onContentDensityChanged.bind(this)),this._domRefReadyPromise=new Promise(e=>{t=e}),this._domRefReadyPromise._deferredResolve=t,this._monitoredChildProps=new Map}_onContentDensityChanged(){this._syncContentDensity(),this.constructor.getMetadata().getInvalidateOnContentDensityChange()&&this._invalidate()}_syncContentDensity(){ke()?this.setAttribute("data-ui5-compact-size",""):this.removeAttribute("data-ui5-compact-size")}_generateId(){this._id=this.constructor._nextID()}_initializeShadowRoot(){if(this.constructor._needsShadowDOM()&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&an(this.constructor),document.adoptedStyleSheets)){const t=on(this.constructor);this.shadowRoot.adoptedStyleSheets=[t]}}async connectedCallback(){this._syncContentDensity(),this.constructor._needsShadowDOM()&&(this._startObservingDOMChildren(),await this._processChildren(),await Ke.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),"function"==typeof this.onEnterDOM&&this.onEnterDOM())}disconnectedCallback(){this.constructor._needsShadowDOM()&&(this._stopObservingDOMChildren(),"function"==typeof this.onExitDOM&&this.onExitDOM())}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;Re.observeDOMNode(this,this._processChildren.bind(this),{childList:!0,subtree:!0,characterData:!0})}_stopObservingDOMChildren(){Re.unobserveDOMNode(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const t=this.constructor.getMetadata().getSlots(),e=t.default&&t.default.type===Node,n=Array.from(e?this.childNodes:this.children);for(const[e,n]of Object.entries(t))this._clearSlot(e);const r=new Map,i=new Map,a=n.map(async(e,n)=>{const a=this.constructor._getSlotName(e),o=t[a];if(void 0===o){const n=Object.keys(t).join(", ");return void console.warn(`Unknown slotName: ${a}, ignoring`,e,`Valid values are: ${n}`)}if(o.individualSlots){const t=(r.get(a)||0)+1;r.set(a,t),e._individualSlot=`${a}-${t}`}if(e instanceof HTMLElement){const t=e.localName;if(t.includes("-")){if(!window.customElements.get(t)){const e=window.customElements.whenDefined(t),n=new Promise(t=>setTimeout(t,1e3));await Promise.race([e,n])}window.customElements.upgrade(e)}}(e=this.constructor.getMetadata().constructor.validateSlotValue(e,o)).isUI5Element&&this._attachChildPropertyUpdated(e,o);const s=o.propertyName||a;i.has(s)?i.get(s).push({child:e,idx:n}):i.set(s,[{child:e,idx:n}])});await Promise.all(a),i.forEach((t,e)=>{this._state[e]=t.sort((t,e)=>t.idx-e.idx).map(t=>t.child)}),this._invalidate()}_clearSlot(t){const e=this.constructor.getMetadata().getSlots()[t].propertyName||t;let n=this._state[e];Array.isArray(n)||(n=[n]),n.forEach(t=>{t&&t.isUI5Element&&this._detachChildPropertyUpdated(t)}),this._state[e]=[],this._invalidate(e,[])}attributeChangedCallback(t,e,n){const r=this.constructor.getMetadata().getProperties(),i=t.replace(/^ui5-/,""),a=je(i);if(r.hasOwnProperty(a)){const t=r[a].type;t===Boolean&&(n=null!==n),t===He&&(n=parseInt(n)),this[a]=n}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;if("object"==typeof e)return;const n=Ve(t),r=this.getAttribute(n);"boolean"==typeof e?!0===e&&null===r?this.setAttribute(n,""):!1===e&&null!==r&&this.removeAttribute(n):r!==e&&this.setAttribute(n,e)}_upgradeProperty(t){if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this[t]=e}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){const t=this.constructor._getDefaultState();this._state=Object.assign({},t)}_attachChildPropertyUpdated(t,e){const n=e.listenFor,r=t.constructor.getMetadata(),i=this.constructor._getSlotName(t),a=r.getProperties();let o=[],s=[];n&&(Array.isArray(n)?o=n:(o=Array.isArray(n.props)?n.props:Object.keys(a),s=Array.isArray(n.exclude)?n.exclude:[]),this._monitoredChildProps.has(i)||this._monitoredChildProps.set(i,{observedProps:o,notObservedProps:s}),t.addEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate))}_detachChildPropertyUpdated(t){t.removeEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate)}_propertyChange(t,e){this._updateAttribute(t,e);const n=new CustomEvent("_propertyChange",{detail:{name:t,newValue:e},composed:!1,bubbles:!0});this.dispatchEvent(n)}_invalidateParentOnPropertyUpdate(t){const e=this.parentNode;if(!e)return;const n=e.constructor._getSlotName(this),r=e._monitoredChildProps.get(n);if(!r)return;const{observedProps:i,notObservedProps:a}=r;i.includes(t.detail.name)&&!a.includes(t.detail.name)&&e._invalidate("_parent_",this)}_invalidate(){this._invalidated||this.getDomRef()&&!this._suppressInvalidation&&(this._invalidated=!0,Ke.renderDeferred(this))}_render(){this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this.dispatchEvent(new CustomEvent("_componentStateFinalized")),delete this._suppressInvalidation,delete this._invalidated,this._updateShadowRoot(),this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_updateShadowRoot(){let t;const e=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(t=Ce(this.constructor)),this.constructor.render(e,this.shadowRoot,t,{eventContext:this})}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach(t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)})}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}getFocusDomRef(){const t=this.getDomRef();if(t){return t.querySelector("[data-sap-focus-ref]")||t}}async focus(){await this._waitForDomRef();const t=this.getFocusDomRef();t&&"function"==typeof t.focus&&t.focus()}fireEvent(t,e,n){let r=!0;const i=new CustomEvent(`ui5-${t}`,{detail:e,composed:!1,bubbles:!0,cancelable:n});if(r=this.dispatchEvent(i),xe(t))return r;const a=new CustomEvent(t,{detail:e,composed:!1,bubbles:!0,cancelable:n});return this.dispatchEvent(a)&&r}getSlottedNodes(t){return this[t].reduce((t,e)=>"slot"!==e.localName?t.concat([e]):t.concat(e.assignedNodes({flatten:!0}).filter(t=>t instanceof HTMLElement)),[])}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _nextID(){const t=je(this.getMetadata().getTag()),e=cn.get(t),n=void 0!==e?e+1:1;return cn.set(t,n),`__${t}${n}`}static _getSlotName(t){if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"}static _needsShadowDOM(){return!!this.template}static _getDefaultState(){if(this._defaultState)return this._defaultState;const t=this.getMetadata(),e={},n=t.getProperties();for(const t in n){const r=n[t].type,i=n[t].defaultValue;r===Boolean?(e[t]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):n[t].multiple?e[t]=[]:e[t]=r===Object?"defaultValue"in n[t]?n[t].defaultValue:{}:r===String?"defaultValue"in n[t]?n[t].defaultValue:"":i}const r=t.getSlots();for(const[t,n]of Object.entries(r)){e[n.propertyName||t]=[]}return this._defaultState=e,e}static _generateAccessors(){const t=this.prototype,e=this.getMetadata().getProperties();for(const[n,r]of Object.entries(e)){if(!sn(n))throw new Error(`"${n}" is not a valid property name. Use a name that does not collide with DOM APIs`);if("boolean"===r.type&&r.defaultValue)throw new Error(`Cannot set a default value for property "${n}". All booleans are false by default.`);Object.defineProperty(t,n,{get(){if(void 0!==this._state[n])return this._state[n];const t=r.defaultValue;return r.type!==Boolean&&(r.type===String?t:r.multiple?[]:t)},set(t){t=this.constructor.getMetadata().constructor.validatePropertyValue(t,r),this._state[n]!==t&&(this._state[n]=t,this._invalidate(n,t),this._propertyChange(n,t))}})}const n=this.getMetadata().getSlots();for(const[e,r]of Object.entries(n)){if(!sn(e))throw new Error(`"${e}" is not a valid property name. Use a name that does not collide with DOM APIs`);const n=r.propertyName||e;Object.defineProperty(t,n,{get(){return void 0!==this._state[n]?this._state[n]:[]},set(){throw new Error("Cannot set slots directly, use the DOM APIs")}})}}static get metadata(){return un}static get styles(){return""}static async define(){await Me();const t=this.getMetadata().getTag(),e=ln.has(t),n=customElements.get(t);return n&&!e?console.warn(`Skipping definition of tag ${t}, because it was already defined by another instance of ui5-webcomponents.`):n||(this._generateAccessors(),ln.add(t),window.customElements.define(t,this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const t=[this.metadata];let e=this;for(;e!==hn;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const n=ce({},...t);return this._metadata=new Ye(n),this._metadata}}
1
+ const t={default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]},e={default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_exp"]}.default,s={default:"en",all:["ar","bg","ca","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt_PT","pt","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh_CN","zh_TW"]}.default,n=t.default,i=t.all;var a=()=>{const t=navigator.languages;return t&&t[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||s},r={},o=r.hasOwnProperty,l=r.toString,c=o.toString,d=c.call(Object),h=function(t){var e,s;return!(!t||"[object Object]"!==l.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(s=o.call(e,"constructor")&&e.constructor)&&c.call(s)===d)},u=Object.create(null),p=function(){var t,e,s,n,i,a,r=arguments[2]||{},o=3,l=arguments.length,c=arguments[0]||!1,d=arguments[1]?void 0:u;for("object"!=typeof r&&"function"!=typeof r&&(r={});o<l;o++)if(null!=(i=arguments[o]))for(n in i)t=r[n],s=i[n],"__proto__"!==n&&r!==s&&(c&&s&&(h(s)||(e=Array.isArray(s)))?(e?(e=!1,a=t&&Array.isArray(t)?t:[]):a=t&&h(t)?t:{},r[n]=p(c,arguments[1],a,s)):s!==d&&(r[n]=s));return r},g=function(){var t=[!0,!1];return t.push.apply(t,arguments),p.apply(null,t)};const f=new Map,m=t=>f.get(t);let y=!1,_={animationMode:"full",theme:e,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const v=new Map;v.set("true",!0),v.set("false",!1);const w=(t,e,s)=>{const n=e.toLowerCase(),i=t.split(`${s}-`)[1];v.has(e)&&(e=v.get(n)),e=((t,e)=>"theme"===t&&e.includes("@")?e.split("@")[0]:e)(i,e),_[i]=e},A=()=>{y||((()=>{const t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(t){try{e=JSON.parse(t.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(_=g(_,e))}})(),(()=>{const t=new URLSearchParams(window.location.search);t.forEach(((t,e)=>{const s=e.split("sap-").length;0!==s&&s!==e.split("sap-ui-").length&&w(e,t,"sap")})),t.forEach(((t,e)=>{e.startsWith("sap-ui")&&w(e,t,"sap-ui")}))})(),(()=>{const t=m("OpenUI5Support");if(!t||!t.isLoaded())return;const e=t.getConfigurationSettingsObject();_=g(_,e)})(),y=!0)};class b{constructor(){this._eventRegistry=new Map}attachEvent(t,e){const s=this._eventRegistry,n=s.get(t);Array.isArray(n)?n.includes(e)||n.push(e):s.set(t,[e])}detachEvent(t,e){const s=this._eventRegistry,n=s.get(t);if(!n)return;const i=n.indexOf(e);-1!==i&&n.splice(i,1),0===n.length&&s.delete(t)}fireEvent(t,e){const s=this._eventRegistry.get(t);return s?s.map((t=>t.call(this,e))):[]}fireEventAsync(t,e){return Promise.all(this.fireEvent(t,e))}isHandlerAttached(t,e){const s=this._eventRegistry.get(t);return!!s&&s.includes(e)}hasListeners(t){return!!this._eventRegistry.get(t)}}const $=new b,S=t=>{$.attachEvent("languageChange",t)};const C=t=>{const e=[];return t.forEach((t=>{e.push(t)})),e},E=(t,e=document.body)=>{let s=document.querySelector(t);return s||(s=document.createElement(t),e.insertBefore(s,e.firstChild))},M=(t,e)=>{const s=t.split(".");let n=E("ui5-shared-resources",document.head);for(let t=0;t<s.length;t++){const i=s[t],a=t===s.length-1;Object.prototype.hasOwnProperty.call(n,i)||(n[i]=a?e:{}),n=n[i]}return n},O={version:"0.0.0-c638668a1",major:0,minor:0,patch:0,suffix:"-c638668a1",isNext:!0,buildTime:1643288635};let x;const T=new Map,P=M("Runtimes",[]),I=()=>x,L=M("Tags",new Map),N=new Set;let k,D={};const R=t=>{N.add(t),L.set(t,I())},j=()=>{const t=P,e=I(),s=t[e];let n="Multiple UI5 Web Components instances detected.";t.length>1&&(n=`${n}\nLoading order (versions before 1.1.0 not listed): ${t.map((t=>`\n${t.description}`)).join("")}`),Object.keys(D).forEach((i=>{let a,r,o;"unknown"===i?(a=1,r={description:"Older unknown runtime"}):(a=((t,e)=>{const s=`${t},${e}`;if(T.has(s))return T.get(s);const n=P[t],i=P[e];if(!n||!i)throw new Error("Invalid runtime index supplied");if(n.isNext||i.isNext)return n.buildTime-i.buildTime;const a=n.major-i.major;if(a)return a;const r=n.minor-i.minor;if(r)return r;const o=n.patch-i.patch;if(o)return o;const l=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(n.suffix,i.suffix);return T.set(s,l),l})(e,i),r=t[i]),o=a>0?"an older":a<0?"a newer":"the same",n=`${n}\n\n"${s.description}" failed to define ${D[i].size} tag(s) as they were defined by a runtime of ${o} version "${r.description}": ${C(D[i]).sort().join(", ")}.`,n=a>0?`${n}\nWARNING! If your code uses features of the above web components, unavailable in ${r.description}, it might not work as expected!`:`${n}\nSince the above web components were defined by the same or newer version runtime, they should be compatible with your code.`})),n=`${n}\n\nTo prevent other runtimes from defining tags that you use, consider using scoping or have third-party libraries use scoping: https://github.com/SAP/ui5-webcomponents/blob/master/docs/2-advanced/03-scoping.md.`,console.warn(n)},U=new Set,H=new Set,B=new b,V=new class{constructor(){this.list=[],this.lookup=new Set}add(t){this.lookup.has(t)||(this.list.push(t),this.lookup.add(t))}remove(t){this.lookup.has(t)&&(this.list=this.list.filter((e=>e!==t)),this.lookup.delete(t))}shift(){const t=this.list.shift();if(t)return this.lookup.delete(t),t}isEmpty(){return 0===this.list.length}isAdded(t){return this.lookup.has(t)}process(t){let e;const s=new Map;for(e=this.shift();e;){const n=s.get(e)||0;if(n>10)throw new Error("Web component processed too many times this task, max allowed is: 10");t(e),s.set(e,n+1),e=this.shift()}}};let z,Z,F,W;const q=async t=>{V.add(t),await J()},G=t=>{B.fireEvent("beforeComponentRender",t),H.add(t),t._render()},J=async()=>{W||(W=new Promise((t=>{window.requestAnimationFrame((()=>{V.process(G),W=null,t(),F||(F=setTimeout((()=>{F=void 0,V.isEmpty()&&X()}),200))}))}))),await W},K=()=>{const t=C(N).map((t=>customElements.whenDefined(t)));return Promise.all(t)},Y=async()=>{await K(),await(z||(z=new Promise((t=>{Z=t,window.requestAnimationFrame((()=>{V.isEmpty()&&(z=void 0,t())}))})),z))},X=()=>{V.isEmpty()&&Z&&(Z(),Z=void 0,z=void 0)},Q=async t=>{H.forEach((e=>{const s=e.constructor.getMetadata().getTag(),n=(i=e.constructor,U.has(i));var i;const a=e.constructor.getMetadata().isLanguageAware(),r=e.constructor.getMetadata().isThemeAware();(!t||t.tag===s||t.rtlAware&&n||t.languageAware&&a||t.themeAware&&r)&&q(e)})),await Y()};let tt,et;const st=()=>(void 0===tt&&(A(),tt=_.language),tt),nt=()=>{var t;return void 0===et&&(A(),t=_.fetchDefaultLanguage,et=t),et},it=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;class at{constructor(t){const e=it.exec(t.replace(/_/g,"-"));if(null===e)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=e[1]||null,this.sScript=e[2]||null,this.sRegion=e[3]||null,this.sVariant=e[4]&&e[4].slice(1)||null,this.sExtension=e[5]&&e[5].slice(1)||null,this.sPrivateUse=e[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,(t=>t.toUpperCase()))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}}const rt=new Map,ot=t=>(rt.has(t)||rt.set(t,new at(t)),rt.get(t)),lt=t=>{try{if(t&&"string"==typeof t)return ot(t)}catch(t){}},ct=t=>t?lt(t):st()?ot(st()):lt(a()),dt=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,ht=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,ut={he:"iw",yi:"ji",id:"in",sr:"sh"},pt=t=>{if(!t)return n;if("zh_HK"===t)return"zh_TW";const e=t.lastIndexOf("_");return e>=0?t.slice(0,e):t!==n?n:""},gt=new Set,ft=new Set,mt=new Map,yt=new Map,_t=new Map,vt=(t,e)=>{mt.set(t,e)},wt=(t,e)=>{const s=`${t}/${e}`;return _t.has(s)},At=async t=>{const e=ct().getLanguage(),i=ct().getRegion();let a=(t=>{let e;if(!t)return n;if("string"==typeof t&&(e=dt.exec(t.replace(/_/g,"-")))){let t=e[1].toLowerCase(),s=e[3]?e[3].toUpperCase():void 0;const n=e[2]?e[2].toLowerCase():void 0,i=e[4]?e[4].slice(1):void 0,a=e[6];return t=ut[t]||t,a&&(e=ht.exec(a))||i&&(e=ht.exec(i))?`en_US_${e[1].toLowerCase()}`:("zh"!==t||s||("hans"===n?s="CN":"hant"===n&&(s="TW")),t+(s?"_"+s+(i?"_"+i.replace("-","_"):""):""))}})(e+(i?`-${i}`:""));for(;a!==s&&!wt(t,a);)a=pt(a);const r=nt();if(a!==s||r)if(wt(t,a))try{const e=await((t,e)=>{const s=`${t}/${e}`,n=_t.get(s);return yt.get(s)||yt.set(s,n(e)),yt.get(s)})(t,a);vt(t,e)}catch(t){ft.has(t.message)||(ft.add(t.message),console.error(t.message))}else(t=>{gt.has(t)||(console.warn(`[${t}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${t}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),gt.add(t))})(t);else vt(t,null)};S((()=>{const t=[...mt.keys()];return Promise.all(t.map(At))}));const bt=new Map,$t=new Map,St=new Map,Ct=new Set;let Et=!1;const Mt={iw:"he",ji:"yi",in:"id",sh:"sr"},Ot=t=>{Et||(console.warn(`[LocaleData] Supported locale "${t}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),Et=!0)},xt=(t,e)=>{bt.set(t,e)},Tt=async(t,e,s)=>{const a=((t,e,s)=>{"no"===(t=t&&Mt[t]||t)&&(t="nb"),"zh"!==t||e||("Hans"===s?e="CN":"Hant"===s&&(e="TW"));let a=`${t}_${e}`;return i.includes(a)?$t.has(a)?a:(Ot(a),n):(a=t,i.includes(a)?$t.has(a)?a:(Ot(a),n):n)})(t,e,s),r=m("OpenUI5Support");if(r){const t=r.getLocaleDataObject();if(t)return void xt(a,t)}try{const t=await(t=>{const e=$t.get(t);return St.get(t)||St.set(t,e(t)),St.get(t)})(a);xt(a,t)}catch(t){Ct.has(t.message)||(Ct.add(t.message),console.error(t.message))}};var Pt,It;Pt="en",It=async t=>(await fetch("https://ui5.sap.com/1.60.2/resources/sap/ui/core/cldr/en.json")).json(),$t.set(Pt,It),S((()=>{const t=ct();return Tt(t.getLanguage(),t.getRegion(),t.getScript())}));const Lt=new Map,Nt=new Map,kt=new Set,Dt=new Set,Rt=(t,e,s)=>{Nt.set(`${t}/${e}`,s),kt.add(t),Dt.add(e)},jt=async(t,s)=>{const n=Lt.get(`${t}_${s}`);if(void 0!==n)return n;if(!Dt.has(s)){const s=[...Dt.values()].join(", ");return console.warn(`You have requested a non-registered theme - falling back to ${e}. Registered themes are: ${s}`),Lt.get(`${t}_${e}`)}const i=Nt.get(`${t}/${s}`);if(!i)return void console.error(`Theme [${s}] not registered for package [${t}]`);let a;try{a=await i(s)}catch(e){return void console.error(t,e.message)}const r=a._||a;return Lt.set(`${t}_${s}`,r),r},Ut=()=>kt,Ht={"SAP-icons-TNT":"tnt",BusinessSuiteInAppSymbols:"business-suite",horizon:"SAP-icons-v5"},Bt=(t,e)=>e?`${t}|${e}`:t,Vt=(t,e,s="")=>{const n="string"==typeof t?t:t.content;if(document.adoptedStyleSheets){const t=new CSSStyleSheet;t.replaceSync(n),t._ui5StyleId=Bt(e,s),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}else{const t={};t[e]=s,((t,e={})=>{const s=document.createElement("style");s.type="text/css",Object.entries(e).forEach((t=>s.setAttribute(...t))),s.textContent=t,document.head.appendChild(s)})(n,t)}},zt=(t,e="")=>document.adoptedStyleSheets?!!document.adoptedStyleSheets.find((s=>s._ui5StyleId===Bt(t,e))):!!document.querySelector(`head>style[${t}="${e}"]`),Zt=(t,e,s="")=>{zt(e,s)?((t,e,s="")=>{const n="string"==typeof t?t:t.content;document.adoptedStyleSheets?document.adoptedStyleSheets.find((t=>t._ui5StyleId===Bt(e,s))).replaceSync(n||""):document.querySelector(`head>style[${e}="${s}"]`).textContent=n||""})(t,e,s):Vt(t,e,s)},Ft=new Set,Wt=()=>{const t=(()=>{let t=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(t)return getComputedStyle(t).backgroundImage;t=document.createElement("span"),t.style.display="none",t.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(t);let e=getComputedStyle(t).backgroundImage;return"none"===e&&(t.classList.add("sapThemeMetaData-UI5-sap-ui-core"),e=getComputedStyle(t).backgroundImage),document.body.removeChild(t),e})();if(!t||"none"===t)return;const e=(t=>{const e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(t);if(e&&e.length>=2){let t=e[1];if(t=t.replace(/\\"/g,'"'),"{"!==t.charAt(0)&&"}"!==t.charAt(t.length-1))try{t=decodeURIComponent(t)}catch(t){return void(Ft.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),Ft.add("decode")))}try{return JSON.parse(t)}catch(t){Ft.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),Ft.add("parse"))}}})(t);return(t=>{let e,s;try{e=t.Path.match(/\.([^.]+)\.css_variables$/)[1],s=t.Extends[0]}catch(e){return void(Ft.has("object")||(console.warn("Malformed theme metadata Object",t),Ft.add("object")))}return{themeName:e,baseThemeName:s}})(e)},qt=new b,Gt="@ui5/webcomponents-theming",Jt=async t=>{if(!Ut().has(Gt))return;const e=await jt(Gt,t);e&&Zt(e,"data-ui5-theme-properties",Gt)},Kt=()=>{((t,e="")=>{if(document.adoptedStyleSheets)document.adoptedStyleSheets=document.adoptedStyleSheets.filter((s=>s._ui5StyleId!==Bt(t,e)));else{const s=document.querySelector(`head > style[${t}="${e}"]`);s&&s.parentElement.removeChild(s)}})("data-ui5-theme-properties",Gt)},Yt=async t=>{const e=(()=>{const t=Wt();if(t)return t;const e=m("OpenUI5Support");if(e&&e.cssVariablesLoaded())return{themeName:e.getConfigurationSettingsObject().theme}})();e&&t===e.themeName?Kt():await Jt(t);const s=(t=>Dt.has(t))(t)?t:e&&e.baseThemeName;await(async t=>{Ut().forEach((async e=>{if(e===Gt)return;const s=await jt(e,t);s&&Zt(s,"data-ui5-theme-properties",e)}))})(s),(t=>{qt.fireEvent("themeLoaded",t)})(t)};let Xt;const Qt=()=>(void 0===Xt&&(A(),Xt=_.theme),Xt),te=async t=>{Xt!==t&&(Xt=t,await Yt(Xt),await Q({themeAware:!0}))},ee=new Map,se=M("SVGIcons.registry",new Map),ne=M("SVGIcons.promises",new Map),ie=(t,{pathData:e,ltr:s,accData:n,collection:i,packageName:a}={})=>{i||(i=re());const r=`${i}/${t}`;se.set(r,{pathData:e,ltr:s,accData:n,packageName:a})},ae=async t=>{const{collection:e,registryKey:s}=(t=>{let e;return t.startsWith("sap-icon://")&&(t=t.replace("sap-icon://","")),[t,e]=t.split("/").reverse(),e=e||re(),e=oe(e),{name:t=t.replace("icon-",""),collection:e,registryKey:`${e}/${t}`}})(t);let n="ICON_NOT_FOUND";try{n=await(async t=>{if(!ne.has(t)){if(!ee.has(t))throw new Error(`No loader registered for the ${t} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const e=ee.get(t);ne.set(t,e(t))}return ne.get(t)})(e)}catch(t){console.error(t.message)}return"ICON_NOT_FOUND"===n?n:(se.has(s)||(t=>{Object.keys(t.data).forEach((e=>{const s=t.data[e];ie(e,{pathData:s.path,ltr:s.ltr,accData:s.acc,collection:t.collection,packageName:t.packageName})}))})(n),se.get(s))},re=()=>(t=>{const e=Qt();return e===t||e===`${t}_exp`})("sap_horizon")?"SAP-icons-v5":"SAP-icons",oe=t=>Ht[t]?Ht[t]:t,le=M("PopupUtilsData",{});le.currentZIndex=le.currentZIndex||100;const ce=()=>le.currentZIndex,de=()=>{const t=window.sap;return t&&t.ui&&"function"==typeof t.ui.getCore&&t.ui.getCore()};var he,ue;he="OpenUI5Support",ue={isLoaded:()=>!!de(),init:()=>{const t=de();return t?new Promise((e=>{t.attachInit((()=>{window.sap.ui.require(["sap/ui/core/LocaleData","sap/ui/core/Popup"],((t,s)=>{s.setInitialZIndex(ce()),e()}))}))})):Promise.resolve()},getConfigurationSettingsObject:()=>{const t=de();if(!t)return;const e=t.getConfiguration(),s=window.sap.ui.require("sap/ui/core/LocaleData");return{animationMode:e.getAnimationMode(),language:e.getLanguage(),theme:e.getTheme(),rtl:e.getRTL(),calendarType:e.getCalendarType(),formatSettings:{firstDayOfWeek:s?s.getInstance(e.getLocale()).getFirstDayOfWeek():void 0}}},getLocaleDataObject:()=>{const t=de();if(!t)return;const e=t.getConfiguration();return window.sap.ui.require("sap/ui/core/LocaleData").getInstance(e.getLocale())._get()},attachListeners:()=>{de()&&(()=>{const t=de(),e=t.getConfiguration();t.attachThemeChanged((async()=>{await te(e.getTheme())}))})()},cssVariablesLoaded:()=>{if(!de())return;const t=[...document.head.children].find((t=>"sap-ui-theme-sap.ui.core"===t.id));return t?!!t.href.match(/\/css(-|_)variables\.css/):void 0},getNextZIndex:()=>{if(!de())return;return window.sap.ui.require("sap/ui/core/Popup").getNextZIndex()},setInitialZIndex:()=>{if(!de())return;window.sap.ui.require("sap/ui/core/Popup").setInitialZIndex(ce())}},f.set(he,ue);var pe={packageName:"@ui5/webcomponents-base",fileName:"FontFace.css",content:'@font-face{font-family:"72";font-style:normal;font-weight:400;src:local("72"),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular.woff?ui5-webcomponents) format("woff")}@font-face{font-family:"72full";font-style:normal;font-weight:400;src:local(\'72-full\'),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Regular-full.woff?ui5-webcomponents) format("woff")}@font-face{font-family:"72";font-style:normal;font-weight:700;src:local(\'72-Bold\'),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold.woff?ui5-webcomponents) format("woff")}@font-face{font-family:"72full";font-style:normal;font-weight:700;src:local(\'72-Bold-full\'),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2"),url(https://ui5.sap.com/sdk/resources/sap/ui/core/themes/sap_fiori_3/fonts/72-Bold-full.woff?ui5-webcomponents) format("woff")}@font-face{font-family:"72Black";font-style:bold;font-weight:900;src:local(\'72Black\'),url(https://openui5nightly.hana.ondemand.com/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"),url(https://openui5nightly.hana.ondemand.com/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff?ui5-webcomponents) format("woff")}'},ge={packageName:"@ui5/webcomponents-base",fileName:"OverrideFontFace.css",content:"@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}"};const fe=()=>{zt("data-ui5-font-face")||Vt(pe,"data-ui5-font-face")},me=()=>{zt("data-ui5-font-face-override")||Vt(ge,"data-ui5-font-face-override")};var ye={packageName:"@ui5/webcomponents-base",fileName:"SystemCSSVars.css",content:":root{--_ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5_content_density:compact}[dir=rtl]{--_ui5_dir:rtl}[dir=ltr]{--_ui5_dir:ltr}"};let _e;const ve=new b,we=async()=>_e||(_e=new Promise((async t=>{void 0===x&&(x=P.length,P.push({...O,alias:"",description:`Runtime ${x} - ver ${O.version}`}));const e=m("OpenUI5Support"),s=m("F6Navigation");e?await e.init():s&&s.init(),await new Promise((t=>{document.body?t():document.addEventListener("DOMContentLoaded",(()=>{t()}))})),await Yt(Qt()),e&&e.attachListeners(),(()=>{const t=m("OpenUI5Support");t&&t.isLoaded()||fe(),me()})(),zt("data-ui5-system-css-vars")||Vt(ye,"data-ui5-system-css-vars"),await ve.fireEventAsync("boot"),t()})),_e);class Ae{static isValid(t){}static attributeToProperty(t){return t}static propertyToAttribute(t){return`${t}`}static valuesAreEqual(t,e){return t===e}static generateTypeAccessors(t){Object.keys(t).forEach((e=>{Object.defineProperty(this,e,{get:()=>t[e]})}))}}const be=(t,e,s=!1)=>{if("function"!=typeof t||"function"!=typeof e)return!1;if(s&&t===e)return!0;let n=t;do{n=Object.getPrototypeOf(n)}while(null!==n&&n!==e);return n===e},$e=new Map,Se=new Map,Ce=t=>{if(!$e.has(t)){const e=Me(t.split("-"));$e.set(t,e)}return $e.get(t)},Ee=t=>{if(!Se.has(t)){const e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Se.set(t,e)}return Se.get(t)},Me=t=>t.map(((t,e)=>0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase())).join(""),Oe=t=>t&&t instanceof HTMLElement&&"slot"===t.localName,xe=t=>Oe(t)?t.assignedNodes({flatten:!0}).filter((t=>t instanceof HTMLElement)):[t];let Te={include:[/^ui5-/],exclude:[]};const Pe=new Map,Ie=t=>{if(!Pe.has(t)){const e=Te.include.some((e=>t.match(e)))&&!Te.exclude.some((e=>t.match(e)));Pe.set(t,e)}return Pe.get(t)},Le=t=>{Ie(t)};class Ne{constructor(t){this.metadata=t}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const t={},e=this.slotsAreManaged(),s=this.getProperties();for(const e in s){const n=s[e].type,i=s[e].defaultValue;n===Boolean?(t[e]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):s[e].multiple?t[e]=[]:t[e]=n===Object?"defaultValue"in s[e]?s[e].defaultValue:{}:n===String?"defaultValue"in s[e]?s[e].defaultValue:"":i}if(e){const e=this.getSlots();for(const[s,n]of Object.entries(e)){t[n.propertyName||s]=[]}}return this._initialState=t,t}static validatePropertyValue(t,e){return e.multiple?t.map((t=>ke(t,e))):ke(t,e)}static validateSlotValue(t,e){return De(t,e)}getPureTag(){return this.metadata.tag}getTag(){const t=this.metadata.tag,e=Le(t);return e?`${t}-${e}`:t}getAltTag(){const t=this.metadata.altTag;if(!t)return;const e=Le(t);return e?`${t}-${e}`:t}hasAttribute(t){const e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute&&!e.multiple}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute,this).map(Ee)}getSlots(){return this.metadata.slots||{}}canSlotText(){const t=this.getSlots().default;return t&&t.type===Node}hasSlots(){return!!Object.entries(this.getSlots()).length}hasIndividualSlots(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some((([t,e])=>e.individualSlots))}slotsAreManaged(){return!!this.metadata.managedSlots}supportsF6FastNavigation(){return!!this.metadata.fastNavigation}getProperties(){return this.metadata.properties||{}}getEvents(){return this.metadata.events||{}}isLanguageAware(){return!!this.metadata.languageAware}isThemeAware(){return!!this.metadata.themeAware}shouldInvalidateOnChildChange(t,e,s){const n=this.getSlots()[t].invalidateOnChildChange;if(void 0===n)return!1;if("boolean"==typeof n)return n;if("object"==typeof n){if("property"===e){if(void 0===n.properties)return!1;if("boolean"==typeof n.properties)return n.properties;if(Array.isArray(n.properties))return n.properties.includes(s);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if("slot"===e){if(void 0===n.slots)return!1;if("boolean"==typeof n.slots)return n.slots;if(Array.isArray(n.slots))return n.slots.includes(s);throw new Error("Wrong format for invalidateOnChildChange.slots: boolean or array is expected")}}throw new Error("Wrong format for invalidateOnChildChange: boolean or object is expected")}}const ke=(t,e)=>{const s=e.type;return s===Boolean?"boolean"==typeof t&&t:s===String?"string"==typeof t||null==t?t:t.toString():s===Object?"object"==typeof t?t:e.defaultValue:be(s,Ae)?s.isValid(t)?t:e.defaultValue:void 0},De=(t,e)=>(t&&xe(t).forEach((t=>{if(!(t instanceof e.type))throw new Error(`${t} is not of type ${e.type}`)})),t);customElements.get("ui5-static-area")||customElements.define("ui5-static-area",class extends HTMLElement{});const Re=M("CustomStyle.eventProvider",new b),je=t=>{Re.attachEvent("CustomCSSChange",t)},Ue=M("CustomStyle.customCSSFor",{});je((t=>{Q({tag:t})}));const He=t=>Array.isArray(t)?Be(t.filter((t=>!!t))).map((t=>"string"==typeof t?t:t.content)).join(" "):"string"==typeof t?t:t.content,Be=t=>t.reduce(((t,e)=>t.concat(Array.isArray(e)?Be(e):e)),[]),Ve=new Map;je((t=>{Ve.delete(`${t}_normal`)}));const ze=(t,e=!1)=>{const s=t.getMetadata().getTag(),n=`${s}_${e?"static":"normal"}`;if(!Ve.has(n)){let i;if(e)i=He(t.staticAreaStyles);else{const e=(t=>Ue[t]?Ue[t].join(""):"")(s)||"";i=`${He(t.styles)} ${e}`}Ve.set(n,i)}return Ve.get(n)},Ze=new Map;je((t=>{Ze.delete(`${t}_normal`)}));const Fe=(t,e=!1)=>{let s;const n=e?"staticAreaTemplate":"template",i=e?t.staticAreaItem.shadowRoot:t.shadowRoot,a=((t,e)=>{const s=e.constructor.getUniqueDependencies().map((t=>t.getMetadata().getPureTag())).filter(Ie);return t(e,s,void 0)})(t.constructor[n],t);document.adoptedStyleSheets?i.adoptedStyleSheets=((t,e=!1)=>{const s=`${t.getMetadata().getTag()}_${e?"static":"normal"}`;if(!Ze.has(s)){const n=ze(t,e),i=new CSSStyleSheet;i.replaceSync(n),Ze.set(s,[i])}return Ze.get(s)})(t.constructor,e):window.ShadyDOM||(s=ze(t.constructor,e)),t.constructor.render(a,i,s,{host:t})};const We={iw:"he",ji:"yi",in:"id",sh:"sr"},qe=(t=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null})("$cldr-rtl-locales:ar,fa,he$")||[],Ge=()=>{const t=(A(),_.rtl);return null!==t?!!t:(t=>(t=t&&We[t]||t,qe.indexOf(t)>=0))(st()||a())},Je=t=>{const e=window.document,s=["ltr","rtl"],n=getComputedStyle(t).getPropertyValue("--_ui5_dir");return s.includes(n)?n:s.includes(t.dir)?t.dir:s.includes(e.documentElement.dir)?e.documentElement.dir:s.includes(e.body.dir)?e.body.dir:Ge()?"rtl":void 0};class Ke extends HTMLElement{constructor(){super(),this._rendered=!1,this.attachShadow({mode:"open"})}setOwnerElement(t){this.ownerElement=t,this.classList.add(this.ownerElement._id),this.ownerElement.hasAttribute("data-ui5-static-stable")&&this.setAttribute("data-ui5-stable",this.ownerElement.getAttribute("data-ui5-static-stable"))}update(){this._rendered&&(this._updateContentDensity(),this._updateDirection(),Fe(this.ownerElement,!0))}_updateContentDensity(){var t;"compact"===(t=this.ownerElement,getComputedStyle(t).getPropertyValue("--_ui5_content_density"))?(this.classList.add("sapUiSizeCompact"),this.classList.add("ui5-content-density-compact")):(this.classList.remove("sapUiSizeCompact"),this.classList.remove("ui5-content-density-compact"))}_updateDirection(){const t=Je(this.ownerElement);t?this.setAttribute("dir",t):this.removeAttribute("dir")}async getDomRef(){return this._updateContentDensity(),this._rendered||(this._rendered=!0,Fe(this.ownerElement,!0)),await Y(),this.shadowRoot}static getTag(){const t="ui5-static-area-item",e=Le(t);return e?`${t}-${e}`:t}static createInstance(){return customElements.get(Ke.getTag())||customElements.define(Ke.getTag(),Ke),document.createElement(this.getTag())}}const Ye=new WeakMap;const Xe=(t,e,s)=>{const n=((t,e,s)=>{const n=new MutationObserver(e);return n.observe(t,s),n})(t,e,s);Ye.set(t,n)},Qe=["value-changed"];let ts;const es=()=>(void 0===ts&&(A(),ts=_.noConflict),ts),ss=t=>{const e=es();return!(t=>Qe.includes(t))(t)&&(!0===e||!(t=>{const e=es();return!(e.events&&e.events.includes&&e.events.includes(t))})(t))},ns=["disabled","title","hidden","role","draggable"],is=t=>{if(ns.includes(t)||t.startsWith("aria"))return!0;return![HTMLElement,Element,Node].some((e=>e.prototype.hasOwnProperty(t)))},as=(t,e)=>{if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0},rs=(t,e)=>class extends t{constructor(){super(),e&&e()}};let os=0;const ls=new Map,cs=new Map;function ds(t){this._suppressInvalidation||(this.onInvalidation(t),this._changedState.push(t),q(this),this._eventProvider.fireEvent("invalidate",{...t,target:this}))}class hs extends HTMLElement{constructor(){let t;super(),this._changedState=[],this._suppressInvalidation=!0,this._inDOM=!1,this._fullyConnected=!1,this._childChangeListeners=new Map,this._slotChangeListeners=new Map,this._eventProvider=new b,this._domRefReadyPromise=new Promise((e=>{t=e})),this._domRefReadyPromise._deferredResolve=t,this._initializeState(),this._upgradeAllProperties(),this.constructor._needsShadowDOM()&&this.attachShadow({mode:"open"})}get _id(){return this.__id||(this.__id="ui5wc_"+ ++os),this.__id}async connectedCallback(){this.setAttribute(this.constructor.getMetadata().getPureTag(),""),this.constructor.getMetadata().supportsF6FastNavigation()&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),this._inDOM&&(G(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,"function"==typeof this.onEnterDOM&&this.onEnterDOM())}disconnectedCallback(){const t=this.constructor.getMetadata().slotsAreManaged();var e;this._inDOM=!1,t&&this._stopObservingDOMChildren(),this._fullyConnected&&("function"==typeof this.onExitDOM&&this.onExitDOM(),this._fullyConnected=!1),this.staticAreaItem&&this.staticAreaItem.parentElement&&this.staticAreaItem.parentElement.removeChild(this.staticAreaItem),e=this,V.remove(e),H.delete(e)}_startObservingDOMChildren(){if(!this.constructor.getMetadata().hasSlots())return;const t=this.constructor.getMetadata().canSlotText(),e={childList:!0,subtree:t,characterData:t};Xe(this,this._processChildren.bind(this),e)}_stopObservingDOMChildren(){(t=>{const e=Ye.get(t);e&&((t=>{t.disconnect()})(e),Ye.delete(t))})(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const t=this.constructor.getMetadata().getSlots(),e=this.constructor.getMetadata().canSlotText(),s=Array.from(e?this.childNodes:this.children),n=new Map,i=new Map;for(const[e,s]of Object.entries(t)){const t=s.propertyName||e;i.set(t,e),n.set(t,[...this._state[t]]),this._clearSlot(e,s)}const a=new Map,r=new Map,o=s.map((async(e,s)=>{const n=(t=>{if(!(t instanceof HTMLElement))return"default";const e=t.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"})(e),i=t[n];if(void 0===i){const s=Object.keys(t).join(", ");return void console.warn(`Unknown slotName: ${n}, ignoring`,e,`Valid values are: ${s}`)}if(i.individualSlots){const t=(a.get(n)||0)+1;a.set(n,t),e._individualSlot=`${n}-${t}`}if(e instanceof HTMLElement){const t=e.localName;if(t.includes("-")){if(!window.customElements.get(t)){const e=window.customElements.whenDefined(t);let s=ls.get(t);s||(s=new Promise((t=>setTimeout(t,1e3))),ls.set(t,s)),await Promise.race([e,s])}window.customElements.upgrade(e)}}if((e=this.constructor.getMetadata().constructor.validateSlotValue(e,i)).isUI5Element&&i.invalidateOnChildChange){(e.attachInvalidate||e._attachChange).bind(e)(this._getChildChangeListener(n))}Oe(e)&&this._attachSlotChange(e,n);const o=i.propertyName||n;r.has(o)?r.get(o).push({child:e,idx:s}):r.set(o,[{child:e,idx:s}])}));await Promise.all(o),r.forEach(((t,e)=>{this._state[e]=t.sort(((t,e)=>t.idx-e.idx)).map((t=>t.child))}));let l=!1;for(const[e,s]of Object.entries(t)){const t=s.propertyName||e;as(n.get(t),this._state[t])||(ds.call(this,{type:"slot",name:i.get(t),reason:"children"}),l=!0)}l||ds.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(t,e){const s=e.propertyName||t;this._state[s].forEach((e=>{if(e&&e.isUI5Element){(e.detachInvalidate||e._detachChange).bind(e)(this._getChildChangeListener(t))}Oe(e)&&this._detachSlotChange(e,t)})),this._state[s]=[]}attachInvalidate(t){this._eventProvider.attachEvent("invalidate",t)}detachInvalidate(t){this._eventProvider.detachEvent("invalidate",t)}_onChildChange(t,e){this.constructor.getMetadata().shouldInvalidateOnChildChange(t,e.type,e.name)&&ds.call(this,{type:"slot",name:t,reason:"childchange",child:e.target})}attributeChangedCallback(t,e,s){const n=this.constructor.getMetadata().getProperties(),i=t.replace(/^ui5-/,""),a=Ce(i);if(n.hasOwnProperty(a)){const t=n[a].type;t===Boolean?s=null!==s:be(t,Ae)&&(s=t.attributeToProperty(s)),this[a]=s}}_updateAttribute(t,e){if(!this.constructor.getMetadata().hasAttribute(t))return;const s=this.constructor.getMetadata().getProperties()[t].type,n=Ee(t),i=this.getAttribute(n);s===Boolean?!0===e&&null===i?this.setAttribute(n,""):!1===e&&null!==i&&this.removeAttribute(n):be(s,Ae)?this.setAttribute(n,s.propertyToAttribute(e)):"object"!=typeof e&&i!==e&&this.setAttribute(n,e)}_upgradeProperty(t){if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this[t]=e}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}_initializeState(){this._state={...this.constructor.getMetadata().getInitialState()}}_getChildChangeListener(t){return this._childChangeListeners.has(t)||this._childChangeListeners.set(t,this._onChildChange.bind(this,t)),this._childChangeListeners.get(t)}_getSlotChangeListener(t){return this._slotChangeListeners.has(t)||this._slotChangeListeners.set(t,this._onSlotChange.bind(this,t)),this._slotChangeListeners.get(t)}_attachSlotChange(t,e){t.addEventListener("slotchange",this._getSlotChangeListener(e))}_detachSlotChange(t,e){t.removeEventListener("slotchange",this._getSlotChangeListener(e))}_onSlotChange(t){ds.call(this,{type:"slot",name:t,reason:"slotchange"})}onInvalidation(t){}_render(){const t=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),this._suppressInvalidation=!1,this._changedState=[],this.constructor._needsShadowDOM()&&Fe(this),this.staticAreaItem&&this.staticAreaItem.update(),t&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}_assignIndividualSlotsToChildren(){Array.from(this.children).forEach((t=>{t._individualSlot&&t.setAttribute("slot",t._individualSlot)}))}_waitForDomRef(){return this._domRefReadyPromise}getDomRef(){if("function"==typeof this._getRealDomRef)return this._getRealDomRef();if(!this.shadowRoot||0===this.shadowRoot.children.length)return;const t=[...this.shadowRoot.children].filter((t=>!["link","style"].includes(t.localName)));return 1!==t.length&&console.warn(`The shadow DOM for ${this.constructor.getMetadata().getTag()} does not have a top level element, the getDomRef() method might not work as expected`),t[0]}getFocusDomRef(){const t=this.getDomRef();if(t){return t.querySelector("[data-sap-focus-ref]")||t}}async getFocusDomRefAsync(){return await this._waitForDomRef(),this.getFocusDomRef()}async focus(){await this._waitForDomRef();const t=this.getFocusDomRef();t&&"function"==typeof t.focus&&t.focus()}fireEvent(t,e,s=!1,n=!0){const i=this._fireEvent(t,e,s,n),a=Ce(t);return a!==t?i&&this._fireEvent(a,e,s):i}_fireEvent(t,e,s=!1,n=!0){const i=new CustomEvent(`ui5-${t}`,{detail:e,composed:!1,bubbles:n,cancelable:s}),a=this.dispatchEvent(i);if(ss(t))return a;const r=new CustomEvent(t,{detail:e,composed:!1,bubbles:n,cancelable:s});return this.dispatchEvent(r)&&a}getSlottedNodes(t){return this[t].reduce(((t,e)=>t.concat(xe(e))),[])}get effectiveDir(){var t;return t=this.constructor,U.add(t),Je(this)}get isUI5Element(){return!0}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _needsShadowDOM(){return!!this.template}static _needsStaticArea(){return!!this.staticAreaTemplate}getStaticAreaItemDomRef(){if(!this.constructor._needsStaticArea())throw new Error("This component does not use the static area");return this.staticAreaItem||(this.staticAreaItem=Ke.createInstance(),this.staticAreaItem.setOwnerElement(this)),this.staticAreaItem.parentElement||E("ui5-static-area").appendChild(this.staticAreaItem),this.staticAreaItem.getDomRef()}static _generateAccessors(){const t=this.prototype,e=this.getMetadata().slotsAreManaged(),s=this.getMetadata().getProperties();for(const[e,n]of Object.entries(s)){if(is(e)||console.warn(`"${e}" is not a valid property name. Use a name that does not collide with DOM APIs`),n.type===Boolean&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All booleans are false by default.`);if(n.type===Array)throw new Error(`Wrong type for property "${e}". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...`);if(n.type===Object&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All properties of type "Object" are empty objects by default.`);if(n.multiple&&n.defaultValue)throw new Error(`Cannot set a default value for property "${e}". All multiple properties are empty arrays by default.`);Object.defineProperty(t,e,{get(){if(void 0!==this._state[e])return this._state[e];const t=n.defaultValue;return n.type!==Boolean&&(n.type===String?t:n.multiple?[]:t)},set(t){let s;t=this.constructor.getMetadata().constructor.validatePropertyValue(t,n);const i=this._state[e];s=n.multiple&&n.compareValues?!as(i,t):be(n.type,Ae)?!n.type.valuesAreEqual(i,t):i!==t,s&&(this._state[e]=t,ds.call(this,{type:"property",name:e,newValue:t,oldValue:i}),this._updateAttribute(e,t))}})}if(e){const e=this.getMetadata().getSlots();for(const[s,n]of Object.entries(e)){is(s)||console.warn(`"${s}" is not a valid property name. Use a name that does not collide with DOM APIs`);const e=n.propertyName||s;Object.defineProperty(t,e,{get(){return void 0!==this._state[e]?this._state[e]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}})}}}static get metadata(){return{}}static get styles(){return""}static get staticAreaStyles(){return""}static get dependencies(){return[]}static getUniqueDependencies(){if(!cs.has(this)){const t=this.dependencies.filter(((t,e,s)=>s.indexOf(t)===e));cs.set(this,t)}return cs.get(this)}static whenDependenciesDefined(){return Promise.all(this.getUniqueDependencies().map((t=>t.define())))}static async onDefine(){return Promise.resolve()}static async define(){await we(),await Promise.all([this.whenDependenciesDefined(),this.onDefine()]);const t=this.getMetadata().getTag(),e=this.getMetadata().getAltTag(),s=(t=>N.has(t))(t),n=customElements.get(t);return n&&!s?(t=>{let e=L.get(t);void 0===e&&(e="unknown"),D[e]=D[e]||new Set,D[e].add(t),k||(k=setTimeout((()=>{j(),D={},k=void 0}),1e3))})(t):n||(this._generateAccessors(),R(t),window.customElements.define(t,this),e&&!customElements.get(e)&&(R(e),window.customElements.define(e,rs(this,(()=>{console.log(`The ${e} tag is deprecated and will be removed in the next release, please use ${t} instead.`)}))))),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const t=[this.metadata];let e=this;for(;e!==hs;)e=Object.getPrototypeOf(e),t.unshift(e.metadata);const s=g({},...t);return this._metadata=new Ne(s),this._metadata}}
10
2
  /**
11
3
  * @license
12
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
13
- * This code may only be used under the BSD style license found at
14
- * http://polymer.github.io/LICENSE.txt
15
- * The complete set of authors may be found at
16
- * http://polymer.github.io/AUTHORS.txt
17
- * The complete set of contributors may be found at
18
- * http://polymer.github.io/CONTRIBUTORS.txt
19
- * Code distributed by Google as part of the polymer project is also
20
- * subject to an additional IP rights grant found at
21
- * http://polymer.github.io/PATENTS.txt
22
- */const dn=new WeakMap,pn=t=>"function"==typeof t&&dn.has(t),gn=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,fn=(t,e,n=null)=>{for(;e!==n;){const n=e.nextSibling;t.removeChild(e),e=n}},mn={},yn={},vn=`{{lit-${String(Math.random()).slice(2)}}}`,_n=`\x3c!--${vn}--\x3e`,wn=new RegExp(`${vn}|${_n}`),bn="$lit$";class Cn{constructor(t,e){this.parts=[],this.element=e;const n=[],r=[],i=document.createTreeWalker(e.content,133,null,!1);let a=0,o=-1,s=0;const{strings:u,values:{length:l}}=t;for(;s<l;){const t=i.nextNode();if(null!==t){if(o++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:n}=e;let r=0;for(let t=0;t<n;t++)Tn(e[t].name,bn)&&r++;for(;r-- >0;){const e=u[s],n=Pn.exec(e)[2],r=n.toLowerCase()+bn,i=t.getAttribute(r);t.removeAttribute(r);const a=i.split(wn);this.parts.push({type:"attribute",index:o,name:n,strings:a}),s+=a.length-1}}"TEMPLATE"===t.tagName&&(r.push(t),i.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(vn)>=0){const r=t.parentNode,i=e.split(wn),a=i.length-1;for(let e=0;e<a;e++){let n,a=i[e];if(""===a)n=Sn();else{const t=Pn.exec(a);null!==t&&Tn(t[2],bn)&&(a=a.slice(0,t.index)+t[1]+t[2].slice(0,-bn.length)+t[3]),n=document.createTextNode(a)}r.insertBefore(n,t),this.parts.push({type:"node",index:++o})}""===i[a]?(r.insertBefore(Sn(),t),n.push(t)):t.data=i[a],s+=a}}else if(8===t.nodeType)if(t.data===vn){const e=t.parentNode;null!==t.previousSibling&&o!==a||(o++,e.insertBefore(Sn(),t)),a=o,this.parts.push({type:"node",index:o}),null===t.nextSibling?t.data="":(n.push(t),o--),s++}else{let e=-1;for(;-1!==(e=t.data.indexOf(vn,e+1));)this.parts.push({type:"node",index:-1}),s++}}else i.currentNode=r.pop()}for(const t of n)t.parentNode.removeChild(t)}}const Tn=(t,e)=>{const n=t.length-e.length;return n>=0&&t.slice(n)===e},Dn=t=>-1!==t.index,Sn=()=>document.createComment(""),Pn=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */var us;const ps=globalThis.trustedTypes,gs=ps?ps.createPolicy("lit-html",{createHTML:t=>t}):void 0,fs=`lit$${(Math.random()+"").slice(9)}$`,ms="?"+fs,ys=`<${ms}>`,_s=document,vs=(t="")=>_s.createComment(t),ws=t=>null===t||"object"!=typeof t&&"function"!=typeof t,As=Array.isArray,bs=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$s=/-->/g,Ss=/>/g,Cs=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,Es=/'/g,Ms=/"/g,Os=/^(?:script|style|textarea)$/i,xs=(t=>(e,...s)=>({_$litType$:t,strings:e,values:s}))(1),Ts=Symbol.for("lit-noChange"),Ps=Symbol.for("lit-nothing"),Is=new WeakMap,Ls=_s.createTreeWalker(_s,129,null,!1),Ns=(t,e)=>{const s=t.length-1,n=[];let i,a=2===e?"<svg>":"",r=bs;for(let e=0;e<s;e++){const s=t[e];let o,l,c=-1,d=0;for(;d<s.length&&(r.lastIndex=d,l=r.exec(s),null!==l);)d=r.lastIndex,r===bs?"!--"===l[1]?r=$s:void 0!==l[1]?r=Ss:void 0!==l[2]?(Os.test(l[2])&&(i=RegExp("</"+l[2],"g")),r=Cs):void 0!==l[3]&&(r=Cs):r===Cs?">"===l[0]?(r=null!=i?i:bs,c=-1):void 0===l[1]?c=-2:(c=r.lastIndex-l[2].length,o=l[1],r=void 0===l[3]?Cs:'"'===l[3]?Ms:Es):r===Ms||r===Es?r=Cs:r===$s||r===Ss?r=bs:(r=Cs,i=void 0);const h=r===Cs&&t[e+1].startsWith("/>")?" ":"";a+=r===bs?s+ys:c>=0?(n.push(o),s.slice(0,c)+"$lit$"+s.slice(c)+fs+h):s+fs+(-2===c?(n.push(void 0),e):h)}const o=a+(t[s]||"<?>")+(2===e?"</svg>":"");return[void 0!==gs?gs.createHTML(o):o,n]};class ks{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let i=0,a=0;const r=t.length-1,o=this.parts,[l,c]=Ns(t,e);if(this.el=ks.createElement(l,s),Ls.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=Ls.nextNode())&&o.length<r;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(fs)){const s=c[a++];if(t.push(e),void 0!==s){const t=n.getAttribute(s.toLowerCase()+"$lit$").split(fs),e=/([.?@])?(.*)/.exec(s);o.push({type:1,index:i,name:e[2],strings:t,ctor:"."===e[1]?Hs:"?"===e[1]?Bs:"@"===e[1]?Vs:Us})}else o.push({type:6,index:i})}for(const e of t)n.removeAttribute(e)}if(Os.test(n.tagName)){const t=n.textContent.split(fs),e=t.length-1;if(e>0){n.textContent=ps?ps.emptyScript:"";for(let s=0;s<e;s++)n.append(t[s],vs()),Ls.nextNode(),o.push({type:2,index:++i});n.append(t[e],vs())}}}else if(8===n.nodeType)if(n.data===ms)o.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(fs,t+1));)o.push({type:7,index:i}),t+=fs.length-1}i++}}static createElement(t,e){const s=_s.createElement("template");return s.innerHTML=t,s}}function Ds(t,e,s=t,n){var i,a,r,o;if(e===Ts)return e;let l=void 0!==n?null===(i=s._$Cl)||void 0===i?void 0:i[n]:s._$Cu;const c=ws(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(a=null==l?void 0:l._$AO)||void 0===a||a.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,s,n)),void 0!==n?(null!==(r=(o=s)._$Cl)&&void 0!==r?r:o._$Cl=[])[n]=l:s._$Cu=l),void 0!==l&&(e=Ds(t,l._$AS(t,e.values),l,n)),e}class Rs{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:s},parts:n}=this._$AD,i=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_s).importNode(s,!0);Ls.currentNode=i;let a=Ls.nextNode(),r=0,o=0,l=n[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new js(a,a.nextSibling,this,t):1===l.type?e=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(e=new zs(a,this,t)),this.v.push(e),l=n[++o]}r!==(null==l?void 0:l.index)&&(a=Ls.nextNode(),r++)}return i}m(t){let e=0;for(const s of this.v)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class js{constructor(t,e,s,n){var i;this.type=2,this._$AH=Ps,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cg=null===(i=null==n?void 0:n.isConnected)||void 0===i||i}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Ds(this,t,e),ws(t)?t===Ps||null==t||""===t?(this._$AH!==Ps&&this._$AR(),this._$AH=Ps):t!==this._$AH&&t!==Ts&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return As(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==Ps&&ws(this._$AH)?this._$AA.nextSibling.data=t:this.S(_s.createTextNode(t)),this._$AH=t}T(t){var e;const{values:s,_$litType$:n}=t,i="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=ks.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===i)this._$AH.m(s);else{const t=new Rs(i,this),e=t.p(this.options);t.m(s),this.S(e),this._$AH=t}}_$AC(t){let e=Is.get(t.strings);return void 0===e&&Is.set(t.strings,e=new ks(t)),e}M(t){As(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,n=0;for(const i of t)n===e.length?e.push(s=new js(this.A(vs()),this.A(vs()),this,this.options)):s=e[n],s._$AI(i),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class Us{constructor(t,e,s,n,i){this.type=1,this._$AH=Ps,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Ps}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,n){const i=this.strings;let a=!1;if(void 0===i)t=Ds(this,t,e,0),a=!ws(t)||t!==this._$AH&&t!==Ts,a&&(this._$AH=t);else{const n=t;let r,o;for(t=i[0],r=0;r<i.length-1;r++)o=Ds(this,n[s+r],e,r),o===Ts&&(o=this._$AH[r]),a||(a=!ws(o)||o!==this._$AH[r]),o===Ps?t=Ps:t!==Ps&&(t+=(null!=o?o:"")+i[r+1]),this._$AH[r]=o}a&&!n&&this.k(t)}k(t){t===Ps?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Hs extends Us{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===Ps?void 0:t}}class Bs extends Us{constructor(){super(...arguments),this.type=4}k(t){t&&t!==Ps?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class Vs extends Us{constructor(t,e,s,n,i){super(t,e,s,n,i),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=Ds(this,t,e,0))&&void 0!==s?s:Ps)===Ts)return;const n=this._$AH,i=t===Ps&&n!==Ps||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Ps&&(n===Ps||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class zs{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){Ds(this,t)}}const Zs=window.litHtmlPolyfillSupport;null==Zs||Zs(ks,js),(null!==(us=globalThis.litHtmlVersions)&&void 0!==us?us:globalThis.litHtmlVersions=[]).push("2.0.1");
23
7
  /**
24
8
  * @license
25
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
26
- * This code may only be used under the BSD style license found at
27
- * http://polymer.github.io/LICENSE.txt
28
- * The complete set of authors may be found at
29
- * http://polymer.github.io/AUTHORS.txt
30
- * The complete set of contributors may be found at
31
- * http://polymer.github.io/CONTRIBUTORS.txt
32
- * Code distributed by Google as part of the polymer project is also
33
- * subject to an additional IP rights grant found at
34
- * http://polymer.github.io/PATENTS.txt
9
+ * Copyright 2020 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
35
11
  */
36
- class Mn{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=gn?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],n=this.template.parts,r=document.createTreeWalker(t,133,null,!1);let i,a=0,o=0,s=r.nextNode();for(;a<n.length;)if(i=n[a],Dn(i)){for(;o<i.index;)o++,"TEMPLATE"===s.nodeName&&(e.push(s),r.currentNode=s.content),null===(s=r.nextNode())&&(r.currentNode=e.pop(),s=r.nextNode());if("node"===i.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(s.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(s,i.name,i.strings,this.options));a++}else this.__parts.push(void 0),a++;return gn&&(document.adoptNode(t),customElements.upgrade(t)),t}}
37
- /**
38
- * @license
39
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
40
- * This code may only be used under the BSD style license found at
41
- * http://polymer.github.io/LICENSE.txt
42
- * The complete set of authors may be found at
43
- * http://polymer.github.io/AUTHORS.txt
44
- * The complete set of contributors may be found at
45
- * http://polymer.github.io/CONTRIBUTORS.txt
46
- * Code distributed by Google as part of the polymer project is also
47
- * subject to an additional IP rights grant found at
48
- * http://polymer.github.io/PATENTS.txt
49
- */const En=` ${vn} `;class Un{constructor(t,e,n,r){this.strings=t,this.values=e,this.type=n,this.processor=r}getHTML(){const t=this.strings.length-1;let e="",n=!1;for(let r=0;r<t;r++){const t=this.strings[r],i=t.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===t.indexOf("--\x3e",i+1);const a=Pn.exec(t);e+=null===a?t+(n?En:_n):t.substr(0,a.index)+a[1]+a[2]+bn+a[3]+vn}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}
50
- /**
51
- * @license
52
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
53
- * This code may only be used under the BSD style license found at
54
- * http://polymer.github.io/LICENSE.txt
55
- * The complete set of authors may be found at
56
- * http://polymer.github.io/AUTHORS.txt
57
- * The complete set of contributors may be found at
58
- * http://polymer.github.io/CONTRIBUTORS.txt
59
- * Code distributed by Google as part of the polymer project is also
60
- * subject to an additional IP rights grant found at
61
- * http://polymer.github.io/PATENTS.txt
62
- */const xn=t=>null===t||!("object"==typeof t||"function"==typeof t),On=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class An{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t<n.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new Fn(this)}_getValue(){const t=this.strings,e=t.length-1;let n="";for(let r=0;r<e;r++){n+=t[r];const e=this.parts[r];if(void 0!==e){const t=e.value;if(xn(t)||!On(t))n+="string"==typeof t?t:String(t);else for(const e of t)n+="string"==typeof e?e:String(e)}}return n+=t[e],n}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class Fn{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===mn||xn(t)&&t===this.value||(this.value=t,pn(t)||(this.committer.dirty=!0))}commit(){for(;pn(this.value);){const t=this.value;this.value=mn,t(this)}this.value!==mn&&this.committer.commit()}}class Ln{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(Sn()),this.endNode=t.appendChild(Sn())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=Sn()),t.__insert(this.endNode=Sn())}insertAfterPart(t){t.__insert(this.startNode=Sn()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){for(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}const t=this.__pendingValue;t!==mn&&(xn(t)?t!==this.value&&this.__commitText(t):t instanceof Un?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):On(t)?this.__commitIterable(t):t===yn?(this.value=yn,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof Mn&&this.value.template===e)this.value.update(t.values);else{const n=new Mn(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let n,r=0;for(const i of t)n=e[r],void 0===n&&(n=new Ln(this.options),e.push(n),0===r?n.appendIntoPart(this):n.insertAfterPart(e[r-1])),n.setValue(i),n.commit(),r++;r<e.length&&(e.length=r,this.clear(n&&n.endNode))}clear(t=this.startNode){fn(this.startNode.parentNode,t.nextSibling,this.endNode)}}class kn{constructor(t,e,n){if(this.value=void 0,this.__pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}setValue(t){this.__pendingValue=t}commit(){for(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}if(this.__pendingValue===mn)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=mn}}class In extends An{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new Nn(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class Nn extends Fn{}let Rn=!1;try{const t={get capture(){return Rn=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}class Wn{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;pn(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=mn,t(this)}if(this.__pendingValue===mn)return;const t=this.__pendingValue,e=this.value,n=null==t||null!=e&&(t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive),r=null!=t&&(null==e||n);n&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),r&&(this.__options=jn(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=mn}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const jn=t=>t&&(Rn?{capture:t.capture,passive:t.passive,once:t.once}:t.capture);
63
- /**
64
- * @license
65
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
66
- * This code may only be used under the BSD style license found at
67
- * http://polymer.github.io/LICENSE.txt
68
- * The complete set of authors may be found at
69
- * http://polymer.github.io/AUTHORS.txt
70
- * The complete set of contributors may be found at
71
- * http://polymer.github.io/CONTRIBUTORS.txt
72
- * Code distributed by Google as part of the polymer project is also
73
- * subject to an additional IP rights grant found at
74
- * http://polymer.github.io/PATENTS.txt
75
- */const Vn=new class{handleAttributeExpressions(t,e,n,r){const i=e[0];if("."===i){return new In(t,e.slice(1),n).parts}return"@"===i?[new Wn(t,e.slice(1),r.eventContext)]:"?"===i?[new kn(t,e.slice(1),n)]:new An(t,e,n).parts}handleTextExpression(t){return new Ln(t)}};
76
- /**
77
- * @license
78
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
79
- * This code may only be used under the BSD style license found at
80
- * http://polymer.github.io/LICENSE.txt
81
- * The complete set of authors may be found at
82
- * http://polymer.github.io/AUTHORS.txt
83
- * The complete set of contributors may be found at
84
- * http://polymer.github.io/CONTRIBUTORS.txt
85
- * Code distributed by Google as part of the polymer project is also
86
- * subject to an additional IP rights grant found at
87
- * http://polymer.github.io/PATENTS.txt
88
- */function $n(t){let e=Yn.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},Yn.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const r=t.strings.join(vn);return n=e.keyString.get(r),void 0===n&&(n=new Cn(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}const Yn=new Map,zn=new WeakMap;
12
+ const Fs=new Map,Ws=(t=>(e,...s)=>{var n;const i=s.length;let a,r;const o=[],l=[];let c,d=0,h=!1;for(;d<i;){for(c=e[d];d<i&&void 0!==(r=s[d],a=null===(n=r)||void 0===n?void 0:n._$litStatic$);)c+=a+e[++d],h=!0;l.push(r),o.push(c),d++}if(d===i&&o.push(e[i]),h){const t=o.join("$$lit$$");void 0===(e=Fs.get(t))&&Fs.set(t,e=o),s=l}return t(e,...s)})(xs),qs=2;
89
13
  /**
90
14
  * @license
91
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
92
- * This code may only be used under the BSD style license found at
93
- * http://polymer.github.io/LICENSE.txt
94
- * The complete set of authors may be found at
95
- * http://polymer.github.io/AUTHORS.txt
96
- * The complete set of contributors may be found at
97
- * http://polymer.github.io/CONTRIBUTORS.txt
98
- * Code distributed by Google as part of the polymer project is also
99
- * subject to an additional IP rights grant found at
100
- * http://polymer.github.io/PATENTS.txt
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
101
17
  */
102
18
  /**
103
19
  * @license
104
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
105
- * This code may only be used under the BSD style license found at
106
- * http://polymer.github.io/LICENSE.txt
107
- * The complete set of authors may be found at
108
- * http://polymer.github.io/AUTHORS.txt
109
- * The complete set of contributors may be found at
110
- * http://polymer.github.io/CONTRIBUTORS.txt
111
- * Code distributed by Google as part of the polymer project is also
112
- * subject to an additional IP rights grant found at
113
- * http://polymer.github.io/PATENTS.txt
20
+ * Copyright 2017 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
114
22
  */
115
- (window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");const Bn=(t,...e)=>new Un(t,e,"html",Vn),Hn=(t,e,n,{eventContext:r}={})=>{n&&(t=Bn`<style>${n}</style>${t}`),((t,e,n)=>{let r=zn.get(e);void 0===r&&(fn(e,e.firstChild),zn.set(e,r=new Ln(Object.assign({templateFactory:$n},n))),r.appendInto(e)),r.setValue(t),r.commit()})(t,e,{eventContext:r})},Jn={tag:"ui5-test-generic",properties:{strProp:{type:String},boolProp:{type:Boolean},objectProp:{type:Object},noAttributeProp:{type:String,noAttribute:!0},multiProp:{type:String,multiple:!0},defaultValueProp:{type:String,defaultValue:"Hello"}},slots:{default:{type:Node},other:{type:HTMLElement},individual:{type:HTMLElement,individualSlots:!0},named:{type:HTMLElement,propertyName:"items"}}};class Zn extends hn{static get metadata(){return Jn}static get render(){return Hn}static get template(){return t=>Bn`<div><p>
23
+ class Gs extends class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}{constructor(t){if(super(t),this.it=Ps,t.type!==qs)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Ps||null==t)return this.vt=void 0,this.it=t;if(t===Ts)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Gs.directiveName="unsafeHTML",Gs.resultType=1;const Js=(t,e,s,{host:n}={})=>{"string"==typeof s?t=Ws`<style>${s}</style>${t}`:Array.isArray(s)&&s.length&&(t=Ws`${s.map((t=>Ws`<link type="text/css" rel="stylesheet" href="${t}">`))}${t}`),((t,e,s)=>{var n,i;const a=null!==(n=null==s?void 0:s.renderBefore)&&void 0!==n?n:e;let r=a._$litPart$;if(void 0===r){const t=null!==(i=null==s?void 0:s.renderBefore)&&void 0!==i?i:null;a._$litPart$=r=new js(e.insertBefore(vs(),t),t,void 0,null!=s?s:{})}r._$AI(t)})(t,e,{host:n})},Ks={tag:"ui5-test-generic",properties:{strProp:{type:String},boolProp:{type:Boolean},objectProp:{type:Object},noAttributeProp:{type:String,noAttribute:!0},multiProp:{type:String,multiple:!0},defaultValueProp:{type:String,defaultValue:"Hello"}},managedSlots:!0,slots:{default:{type:Node},other:{type:HTMLElement},individual:{type:HTMLElement,individualSlots:!0},named:{type:HTMLElement,propertyName:"items"}}};class Ys extends hs{static get metadata(){return Ks}static get render(){return Js}static get template(){return t=>Ws`<div><p>
116
24
  <slot></slot>
117
25
  <slot name="other"></slot>
118
26
  <slot name="individual-1"></slot>
119
27
  <slot name="individual-2"></slot>
120
- </p></div>`}static get styles(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}Zn.define();const qn={tag:"ui5-test-no-shadow"};(class extends hn{static get metadata(){return qn}}).define();const Gn={tag:"ui5-test-parent",slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};(class extends hn{static get metadata(){return Gn}static get render(){return Hn}static get template(){return t=>Bn`<div>
28
+ </p></div>`}static get styles(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}Ys.define();const Xs={tag:"ui5-test-no-shadow"};(class extends hs{static get metadata(){return Xs}}).define();const Qs={tag:"ui5-test-parent",managedSlots:!0,slots:{default:{type:Node,invalidateOnChildChange:{properties:["prop1"]}},items:{type:HTMLElement,invalidateOnChildChange:{properties:!0}}}};(class extends hs{static get metadata(){return Qs}static get render(){return Js}static get template(){return t=>Ws`<div>
121
29
  <slot></slot>
122
- </div>`}}).define();const Qn={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends hn{static get metadata(){return Qn}static get render(){return Hn}static get template(){return t=>Bn`<div></div>`}}).define();const Xn={tag:"ui5-test-density-aware",invalidateOnContentDensityChange:!0};(class extends hn{static get metadata(){return Xn}}).define();const Kn={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends Zn{static get metadata(){return Kn}}).define();N("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),N("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),N("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),N("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }");const tr={},er={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},nr=()=>{const t=(()=>{const t=navigator.userAgent.toLowerCase(),e=/(edge)[ /]([\w.]+)/.exec(t)||/(trident)\/[\w.]+;.*rv:([\w.]+)/.exec(t)||/(webkit)[ /]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(t)||[],n={browser:e[1]||"",version:e[2]||"0"};return n[n.browser]=!0,n})(),e=navigator.userAgent,n=window.navigator;let r,i,a;if(t.mozilla)r=/Mobile/,e.match(/Firefox\/(\d+\.\d+)/)?(a=parseFloat(RegExp.$1),i={name:er.FIREFOX,versionStr:`${a}`,version:a,mozilla:!0,mobile:r.test(e)}):i={mobile:r.test(e),mozilla:!0,version:-1};else if(t.webkit){const t=e.toLowerCase().match(/webkit[/]([\d.]+)/);let o;t&&(o=t[1]),r=/Mobile/;const s=e.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),u=e.match(/FxiOS\/(\d+\.\d+)/),l=e.match(/Android .+ Version\/(\d+\.\d+)/);if(s||u||l){let t,n,a;s?(t=er.CHROME,a=r.test(e),n=parseFloat(s[2])):u?(t=er.FIREFOX,a=!0,n=parseFloat(u[1])):l&&(t=er.ANDROID,a=r.test(e),n=parseFloat(l[1])),i={name:t,mobile:a,versionStr:`${n}`,version:n,webkit:!0,webkitVersion:o}}else{const t=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,s=n.standalone;if(t.test(e)){const n=t.exec(e);a=parseFloat(n[2]),i={name:er.SAFARI,versionStr:`${a}`,fullscreen:!1,webview:!1,version:a,mobile:r.test(e),webkit:!0,webkitVersion:o,phantomJS:"PhantomJS"===n[1]}}else i=!/iPhone|iPad|iPod/.test(e)||/CriOS/.test(e)||/FxiOS/.test(e)||!0!==s&&!1!==s?{mobile:r.test(e),webkit:!0,webkitVersion:o,version:-1}:{name:er.SAFARI,version:-1,fullscreen:s,webview:!s,mobile:r.test(e),webkit:!0,webkitVersion:o}}}else t.msie||t.trident?(a=parseFloat(t.version),i={name:er.INTERNET_EXPLORER,versionStr:`${a}`,version:a,msie:!0,mobile:!1}):t.edge?(a=parseFloat(t.version),i={name:er.EDGE,versionStr:`${a}`,version:a,edge:!0}):i={name:"",versionStr:"",version:-1,mobile:!1};return i},rr=(()=>(m(),p.animationMode))(),ir={iw:"he",ji:"yi",in:"id",sh:"sr"},ar=u("$cldr-rtl-locales:ar,fa,he$")||[],or=new Map,sr=new Map;window.RenderScheduler=Ke,window.isIE=()=>(tr.browser||(tr.browser=nr(),tr.browser.BROWSER=er,tr.browser.name&&Object.keys(er).forEach(t=>{er[t]===tr.browser.name&&(tr.browser[t.toLowerCase()]=!0)})),!!tr.browser.msie),window.registerThemeProperties=N,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>rr,getLanguage:v,getTheme:De,setTheme:async t=>{Te!==t&&(Te=t,await we(Te))},getNoConflict:()=>Ue,setNoConflict:t=>{Ue=t},getCompactSize:ke,setCompactSize:t=>{Le!==t&&(Le=t,(t=>{Fe(t)})(Le?"compact":"cozy"))},getCalendarType:D,getRTL:()=>{const t=(()=>(m(),p.rtl))();return null!==t?!!t:(t=>(t=t&&ir[t]||t,ar.indexOf(t)>=0))(v()||h())},getFirstDayOfWeek:P},getIconNames:async()=>(sr.has("SAP-icons")&&await sr.get("SAP-icons"),Array.from(or.keys()).map(t=>t.split(":")[1]))};
30
+ </div>`}}).define();const tn={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(class extends hs{static get metadata(){return tn}static get render(){return Js}static get template(){return t=>Ws`<div></div>`}}).define();const en={tag:"ui5-with-static-area",properties:{staticContent:{type:Boolean}},slots:{}};(class extends hs{static get metadata(){return en}static get render(){return Js}static get template(){return t=>Ws`
31
+ <div dir=${t.effectiveDir}>
32
+ WithStaticArea works!
33
+ </div>`}static get staticAreaTemplate(){return t=>Ws`
34
+ <div class="ui5-with-static-area-content">
35
+ Static area content.
36
+ </div>`}static get styles(){return"\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\tcolor: red;\n\t\t\t}"}async addStaticArea(){if(!this.staticContent)return;const t=await this.getStaticAreaItemDomRef();return this.responsivePopover=t.querySelector(".ui5-with-static-area-content"),this.responsivePopover}onBeforeRendering(){this.addStaticArea()}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}}).define();const sn={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(class extends Ys{static get metadata(){return sn}}).define();Rt("@ui5/webcomponents-base-test","sap_fiori_3",(()=>":root{ --var1: red; }")),Rt("@ui5/webcomponents-base-test","sap_fiori_3_dark",(()=>":root{ --var1: green; }")),Rt("@ui5/webcomponents-base-test","sap_belize",(()=>":root{ --var1: blue; }")),Rt("@ui5/webcomponents-base-test","sap_belize_hcb",(()=>":root{ --var1: orange; }")),Rt("@ui5/webcomponents-base-test","sap_belize_hcw",(()=>":root{ --var1: orange; }")),Rt("@ui5/webcomponents-base-test","sap_fiori_3_hcb",(()=>":root{ --var1: yellow; }")),Rt("@ui5/webcomponents-base-test","sap_fiori_3_hcw",(()=>":root{ --var1: yellow; }"));const nn=navigator.userAgent,an=/(msie|trident)/i.test(nn),rn=!an&&/(Chrome|CriOS)/.test(nn);!an&&!rn&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(nn),!an&&/webkit/.test(nn);const on=-1!==navigator.platform.indexOf("Win");navigator.platform.match(/iPhone|iPad|iPod/)||navigator.userAgent.match(/Mac/)&&document;!on&&/Android/.test(nn)&&/(?=android)(?=.*mobile)/i.test(nn),/ipad/i.test(nn)||/Macintosh/i.test(nn)&&document;const ln=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,cn=new Map;class dn{constructor(t){this.packageName=t}getText(t,...e){if("string"==typeof t&&(t={key:t,defaultText:t}),!t||!t.key)return"";const s=(n=this.packageName,mt.get(n));var n;s&&!s[t.key]&&console.warn(`Key ${t.key} not found in the i18n bundle, the default text will be used`);const i=s&&s[t.key]?s[t.key]:t.defaultText||t.key;return a=(a=e)||[],i.replace(ln,((t,e,s,n,i)=>{if(e)return"'";if(s)return s.replace(/''/g,"'");if(n)return String(a[parseInt(n)]);throw new Error(`[i18n]: pattern syntax error at pos ${i}`)}));var a}}let hn;const un={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Buddhist:"Buddhist",Persian:"Persian"};class pn extends Ae{static isValid(t){return!!un[t]}}let gn;pn.generateTypeAccessors(un);let fn;const mn=new b;window.isIE=()=>an,window.registerThemePropertiesLoader=Rt,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:()=>(void 0===hn&&(A(),hn=_.animationMode),hn),getLanguage:st,getTheme:Qt,setTheme:te,getNoConflict:es,setNoConflict:t=>{ts=t},getCalendarType:()=>(void 0===gn&&(A(),gn=_.calendarType),pn.isValid(gn)?gn:pn.Gregorian),getRTL:Ge,getFirstDayOfWeek:()=>(void 0===fn&&(A(),fn=_.formatSettings),fn.firstDayOfWeek)},getIconNames:async()=>(await ae("edit"),await ae("tnt/arrow"),await ae("business-suite/3d"),Array.from(se.keys())),registerI18nLoader:(t,e,s)=>{const n=`${t}/${e}`;_t.set(n,s)},getI18nBundle:async t=>(await At(t),(t=>{if(cn.has(t))return cn.get(t);const e=new dn(t);return cn.set(t,e),e})(t)),renderFinished:Y,applyDirection:async()=>{const t=mn.fireEvent("directionChange");await Promise.all(t),await Q({rtlAware:!0})},EventProvider:b};
123
37
  //# sourceMappingURL=bundle.esm.js.map