@ui5/webcomponents-base 0.0.0-32b659ddc → 0.0.0-33e059bcd

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 (776) hide show
  1. package/.eslintignore +9 -3
  2. package/.npsrc.json +3 -0
  3. package/CHANGELOG.md +1264 -0
  4. package/README.md +58 -7
  5. package/bundle.esm.js +36 -22
  6. package/config/wdio.conf.cjs +400 -0
  7. package/dist/.tsbuildinfo +1 -0
  8. package/dist/AssetRegistry.d.ts +5 -0
  9. package/dist/AssetRegistry.js +6 -9
  10. package/dist/AssetRegistry.js.map +1 -0
  11. package/dist/Boot.d.ts +9 -0
  12. package/dist/Boot.js +71 -0
  13. package/dist/Boot.js.map +1 -0
  14. package/dist/CSP.d.ts +30 -0
  15. package/dist/CSP.js +51 -0
  16. package/dist/CSP.js.map +1 -0
  17. package/dist/CustomElementsRegistry.d.ts +5 -0
  18. package/dist/CustomElementsRegistry.js +78 -0
  19. package/dist/CustomElementsRegistry.js.map +1 -0
  20. package/dist/CustomElementsScope.d.ts +7 -0
  21. package/dist/CustomElementsScope.js +11 -0
  22. package/dist/CustomElementsScope.js.map +1 -0
  23. package/dist/CustomElementsScopeUtils.d.ts +62 -0
  24. package/dist/CustomElementsScopeUtils.js +102 -0
  25. package/dist/CustomElementsScopeUtils.js.map +1 -0
  26. package/dist/DOMObserver.d.ts +11 -0
  27. package/dist/DOMObserver.js +23 -0
  28. package/dist/DOMObserver.js.map +1 -0
  29. package/dist/Device.d.ts +13 -0
  30. package/dist/Device.js +167 -815
  31. package/dist/Device.js.map +1 -0
  32. package/dist/EventProvider.d.ts +25 -0
  33. package/dist/EventProvider.js +67 -70
  34. package/dist/EventProvider.js.map +1 -0
  35. package/dist/FeaturesRegistry.d.ts +3 -0
  36. package/dist/FeaturesRegistry.js +5 -7
  37. package/dist/FeaturesRegistry.js.map +1 -0
  38. package/dist/FontFace.d.ts +2 -0
  39. package/dist/FontFace.js +21 -69
  40. package/dist/FontFace.js.map +1 -0
  41. package/dist/IgnoreCustomElements.d.ts +27 -0
  42. package/dist/IgnoreCustomElements.js +39 -0
  43. package/dist/IgnoreCustomElements.js.map +1 -0
  44. package/dist/InitialConfiguration.d.ts +28 -0
  45. package/dist/InitialConfiguration.js +135 -104
  46. package/dist/InitialConfiguration.js.map +1 -0
  47. package/dist/Keys.d.ts +61 -0
  48. package/dist/Keys.js +181 -0
  49. package/dist/Keys.js.map +1 -0
  50. package/dist/ManagedStyles.d.ts +9 -0
  51. package/dist/ManagedStyles.js +157 -0
  52. package/dist/ManagedStyles.js.map +1 -0
  53. package/dist/MarkedEvents.d.ts +9 -0
  54. package/dist/MarkedEvents.js +15 -0
  55. package/dist/MarkedEvents.js.map +1 -0
  56. package/dist/MediaRange.d.ts +31 -0
  57. package/dist/MediaRange.js +88 -0
  58. package/dist/MediaRange.js.map +1 -0
  59. package/dist/PropertiesFileFormat.d.ts +8 -0
  60. package/dist/PropertiesFileFormat.js +85 -0
  61. package/dist/PropertiesFileFormat.js.map +1 -0
  62. package/dist/Render.d.ts +47 -0
  63. package/dist/Render.js +143 -0
  64. package/dist/Render.js.map +1 -0
  65. package/dist/RenderQueue.d.ts +19 -0
  66. package/dist/RenderQueue.js +53 -39
  67. package/dist/RenderQueue.js.map +1 -0
  68. package/dist/Runtimes.d.ts +27 -0
  69. package/dist/Runtimes.js +86 -0
  70. package/dist/Runtimes.js.map +1 -0
  71. package/dist/StaticArea.d.ts +3 -0
  72. package/dist/StaticArea.js +4 -38
  73. package/dist/StaticArea.js.map +1 -0
  74. package/dist/StaticAreaItem.d.ts +35 -0
  75. package/dist/StaticAreaItem.js +94 -84
  76. package/dist/StaticAreaItem.js.map +1 -0
  77. package/dist/SystemCSSVars.d.ts +2 -0
  78. package/dist/SystemCSSVars.js +9 -0
  79. package/dist/SystemCSSVars.js.map +1 -0
  80. package/dist/Theming.d.ts +3 -0
  81. package/dist/Theming.js +4 -55
  82. package/dist/Theming.js.map +1 -0
  83. package/dist/UI5Element.d.ts +384 -0
  84. package/dist/UI5Element.js +960 -854
  85. package/dist/UI5Element.js.map +1 -0
  86. package/dist/UI5ElementMetadata.d.ts +143 -0
  87. package/dist/UI5ElementMetadata.js +281 -152
  88. package/dist/UI5ElementMetadata.js.map +1 -0
  89. package/dist/animations/AnimationQueue.d.ts +8 -0
  90. package/dist/animations/AnimationQueue.js +31 -38
  91. package/dist/animations/AnimationQueue.js.map +1 -0
  92. package/dist/animations/animate.d.ts +14 -0
  93. package/dist/animations/animate.js +46 -51
  94. package/dist/animations/animate.js.map +1 -0
  95. package/dist/animations/scroll.d.ts +5 -0
  96. package/dist/animations/scroll.js +18 -27
  97. package/dist/animations/scroll.js.map +1 -0
  98. package/dist/animations/slideDown.d.ts +5 -0
  99. package/dist/animations/slideDown.js +53 -78
  100. package/dist/animations/slideDown.js.map +1 -0
  101. package/dist/animations/slideUp.d.ts +5 -0
  102. package/dist/animations/slideUp.js +49 -70
  103. package/dist/animations/slideUp.js.map +1 -0
  104. package/dist/asset-registries/Icons.d.ts +39 -0
  105. package/dist/asset-registries/Icons.js +136 -24
  106. package/dist/asset-registries/Icons.js.map +1 -0
  107. package/dist/asset-registries/Illustrations.d.ts +18 -0
  108. package/dist/asset-registries/Illustrations.js +76 -0
  109. package/dist/asset-registries/Illustrations.js.map +1 -0
  110. package/dist/asset-registries/LocaleData.d.ts +7 -0
  111. package/dist/asset-registries/LocaleData.js +126 -98
  112. package/dist/asset-registries/LocaleData.js.map +1 -0
  113. package/dist/asset-registries/Themes.d.ts +12 -0
  114. package/dist/asset-registries/Themes.js +59 -66
  115. package/dist/asset-registries/Themes.js.map +1 -0
  116. package/dist/asset-registries/i18n.d.ts +23 -0
  117. package/dist/asset-registries/i18n.js +85 -57
  118. package/dist/asset-registries/i18n.js.map +1 -0
  119. package/dist/asset-registries/util/IconCollectionsAlias.d.ts +30 -0
  120. package/dist/asset-registries/util/IconCollectionsAlias.js +37 -0
  121. package/dist/asset-registries/util/IconCollectionsAlias.js.map +1 -0
  122. package/dist/asset-registries/util/IconCollectionsByTheme.d.ts +20 -0
  123. package/dist/asset-registries/util/IconCollectionsByTheme.js +42 -0
  124. package/dist/asset-registries/util/IconCollectionsByTheme.js.map +1 -0
  125. package/dist/asset-registries/util/getIconCollectionByTheme.d.ts +13 -0
  126. package/dist/asset-registries/util/getIconCollectionByTheme.js +29 -0
  127. package/dist/asset-registries/util/getIconCollectionByTheme.js.map +1 -0
  128. package/dist/config/AnimationMode.d.ts +14 -0
  129. package/dist/config/AnimationMode.js +23 -10
  130. package/dist/config/AnimationMode.js.map +1 -0
  131. package/dist/config/CalendarType.d.ts +15 -0
  132. package/dist/config/CalendarType.js +32 -19
  133. package/dist/config/CalendarType.js.map +1 -0
  134. package/dist/config/FormatSettings.d.ts +15 -0
  135. package/dist/config/FormatSettings.js +15 -9
  136. package/dist/config/FormatSettings.js.map +1 -0
  137. package/dist/config/Icons.d.ts +40 -0
  138. package/dist/config/Icons.js +44 -0
  139. package/dist/config/Icons.js.map +1 -0
  140. package/dist/config/Language.d.ts +40 -0
  141. package/dist/config/Language.js +66 -10
  142. package/dist/config/Language.js.map +1 -0
  143. package/dist/config/NoConflict.d.ts +20 -0
  144. package/dist/config/NoConflict.js +41 -41
  145. package/dist/config/NoConflict.js.map +1 -0
  146. package/dist/config/RTL.d.ts +7 -0
  147. package/dist/config/RTL.js +26 -20
  148. package/dist/config/RTL.js.map +1 -0
  149. package/dist/config/Theme.d.ts +38 -0
  150. package/dist/config/Theme.js +65 -23
  151. package/dist/config/Theme.js.map +1 -0
  152. package/dist/config/ThemeRoot.d.ts +29 -0
  153. package/dist/config/ThemeRoot.js +59 -0
  154. package/dist/config/ThemeRoot.js.map +1 -0
  155. package/dist/config/Timezone.d.ts +17 -0
  156. package/dist/config/Timezone.js +30 -0
  157. package/dist/config/Timezone.js.map +1 -0
  158. package/dist/connectToComponent.d.ts +9 -0
  159. package/dist/connectToComponent.js +59 -0
  160. package/dist/connectToComponent.js.map +1 -0
  161. package/dist/css/BusyIndicator.css +80 -0
  162. package/dist/css/FontFace.css +96 -0
  163. package/dist/css/OverrideFontFace.css +32 -0
  164. package/dist/css/SystemCSSVars.css +17 -0
  165. package/dist/custom-elements-internal.json +2765 -0
  166. package/dist/custom-elements.json +2528 -0
  167. package/dist/decorators/customElement.d.ts +23 -0
  168. package/dist/decorators/customElement.js +37 -0
  169. package/dist/decorators/customElement.js.map +1 -0
  170. package/dist/decorators/event.d.ts +13 -0
  171. package/dist/decorators/event.js +24 -0
  172. package/dist/decorators/event.js.map +1 -0
  173. package/dist/decorators/property.d.ts +9 -0
  174. package/dist/decorators/property.js +24 -0
  175. package/dist/decorators/property.js.map +1 -0
  176. package/dist/decorators/slot.d.ts +9 -0
  177. package/dist/decorators/slot.js +37 -0
  178. package/dist/decorators/slot.js.map +1 -0
  179. package/dist/delegate/ItemNavigation.d.ts +114 -0
  180. package/dist/delegate/ItemNavigation.js +311 -274
  181. package/dist/delegate/ItemNavigation.js.map +1 -0
  182. package/dist/delegate/ResizeHandler.d.ts +23 -0
  183. package/dist/delegate/ResizeHandler.js +82 -63
  184. package/dist/delegate/ResizeHandler.js.map +1 -0
  185. package/dist/delegate/ScrollEnablement.d.ts +49 -0
  186. package/dist/delegate/ScrollEnablement.js +159 -100
  187. package/dist/delegate/ScrollEnablement.js.map +1 -0
  188. package/dist/features/F6Navigation.d.ts +19 -0
  189. package/dist/features/F6Navigation.js +151 -0
  190. package/dist/features/F6Navigation.js.map +1 -0
  191. package/dist/features/LegacyDateFormats.d.ts +18 -0
  192. package/dist/features/LegacyDateFormats.js +20 -0
  193. package/dist/features/LegacyDateFormats.js.map +1 -0
  194. package/dist/features/OpenUI5Element.d.ts +9 -0
  195. package/dist/features/OpenUI5Element.js +5 -0
  196. package/dist/features/OpenUI5Element.js.map +1 -0
  197. package/dist/features/OpenUI5Enablement.d.ts +11 -0
  198. package/dist/features/OpenUI5Enablement.js +96 -0
  199. package/dist/features/OpenUI5Enablement.js.map +1 -0
  200. package/dist/features/OpenUI5Support.d.ts +36 -0
  201. package/dist/features/OpenUI5Support.js +152 -73
  202. package/dist/features/OpenUI5Support.js.map +1 -0
  203. package/dist/generated/AssetParameters.d.ts +6 -0
  204. package/dist/generated/AssetParameters.js +8 -0
  205. package/dist/generated/AssetParameters.js.map +1 -0
  206. package/dist/generated/VersionInfo.d.ts +10 -0
  207. package/dist/generated/VersionInfo.js +11 -0
  208. package/dist/generated/VersionInfo.js.map +1 -0
  209. package/dist/generated/css/BusyIndicator.css.d.ts +3 -0
  210. package/dist/generated/css/BusyIndicator.css.js +7 -0
  211. package/dist/generated/css/BusyIndicator.css.js.map +1 -0
  212. package/dist/generated/css/FontFace.css.d.ts +3 -0
  213. package/dist/generated/css/FontFace.css.js +7 -0
  214. package/dist/generated/css/FontFace.css.js.map +1 -0
  215. package/dist/generated/css/OverrideFontFace.css.d.ts +3 -0
  216. package/dist/generated/css/OverrideFontFace.css.js +7 -0
  217. package/dist/generated/css/OverrideFontFace.css.js.map +1 -0
  218. package/dist/generated/css/SystemCSSVars.css.d.ts +3 -0
  219. package/dist/generated/css/SystemCSSVars.css.js +7 -0
  220. package/dist/generated/css/SystemCSSVars.css.js.map +1 -0
  221. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.d.ts +4 -0
  222. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js +9 -0
  223. package/dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js.map +1 -0
  224. package/dist/getSharedResource.d.ts +11 -0
  225. package/dist/getSharedResource.js +40 -0
  226. package/dist/getSharedResource.js.map +1 -0
  227. package/dist/global.d.ts +40 -0
  228. package/dist/i18nBundle.d.ts +41 -0
  229. package/dist/i18nBundle.js +71 -30
  230. package/dist/i18nBundle.js.map +1 -0
  231. package/dist/locale/Locale.d.ts +22 -0
  232. package/dist/locale/Locale.js +79 -0
  233. package/dist/locale/Locale.js.map +1 -0
  234. package/dist/locale/RTLAwareRegistry.d.ts +4 -0
  235. package/dist/locale/RTLAwareRegistry.js +9 -0
  236. package/dist/locale/RTLAwareRegistry.js.map +1 -0
  237. package/dist/locale/applyDirection.d.ts +10 -0
  238. package/dist/locale/applyDirection.js +17 -0
  239. package/dist/locale/applyDirection.js.map +1 -0
  240. package/dist/locale/directionChange.d.ts +15 -0
  241. package/dist/locale/directionChange.js +24 -0
  242. package/dist/locale/directionChange.js.map +1 -0
  243. package/dist/locale/getEffectiveDir.d.ts +2 -0
  244. package/dist/locale/getEffectiveDir.js +24 -0
  245. package/dist/locale/getEffectiveDir.js.map +1 -0
  246. package/dist/locale/getLocale.d.ts +7 -0
  247. package/dist/locale/getLocale.js +38 -0
  248. package/dist/locale/getLocale.js.map +1 -0
  249. package/dist/locale/languageChange.d.ts +5 -0
  250. package/dist/locale/languageChange.js +14 -0
  251. package/dist/locale/languageChange.js.map +1 -0
  252. package/dist/locale/nextFallbackLocale.d.ts +8 -0
  253. package/dist/locale/nextFallbackLocale.js +24 -0
  254. package/dist/locale/nextFallbackLocale.js.map +1 -0
  255. package/dist/locale/normalizeLocale.d.ts +7 -0
  256. package/dist/locale/normalizeLocale.js +47 -0
  257. package/dist/locale/normalizeLocale.js.map +1 -0
  258. package/dist/renderer/LitRenderer.d.ts +14 -0
  259. package/dist/renderer/LitRenderer.js +38 -12
  260. package/dist/renderer/LitRenderer.js.map +1 -0
  261. package/dist/renderer/directives/style-map.js +72 -0
  262. package/dist/renderer/executeTemplate.d.ts +13 -0
  263. package/dist/renderer/executeTemplate.js +30 -0
  264. package/dist/renderer/executeTemplate.js.map +1 -0
  265. package/dist/sap/base/Log.js +750 -0
  266. package/dist/sap/base/assert.js +34 -0
  267. package/dist/sap/base/config/MemoryConfigurationProvider.js +20 -0
  268. package/dist/sap/base/security/URLListValidator.js +406 -0
  269. package/dist/sap/base/security/encodeCSS.js +40 -0
  270. package/dist/sap/base/security/encodeXML.js +53 -0
  271. package/dist/sap/base/security/sanitizeHTML.js +38 -0
  272. package/dist/sap/base/strings/toHex.js +33 -0
  273. package/dist/sap/base/util/now.js +28 -0
  274. package/dist/sap/base/util/uid.js +27 -0
  275. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3600 -0
  276. package/dist/ssr-dom-shim.d.ts +1 -0
  277. package/dist/ssr-dom-shim.js +12 -0
  278. package/dist/ssr-dom-shim.js.map +1 -0
  279. package/dist/ssr-dom.d.ts +0 -0
  280. package/dist/ssr-dom.js +3 -0
  281. package/dist/ssr-dom.js.map +1 -0
  282. package/dist/theming/CustomStyle.d.ts +6 -0
  283. package/dist/theming/CustomStyle.js +46 -17
  284. package/dist/theming/CustomStyle.js.map +1 -0
  285. package/dist/theming/ThemeLoaded.d.ts +5 -0
  286. package/dist/theming/ThemeLoaded.js +14 -0
  287. package/dist/theming/ThemeLoaded.js.map +1 -0
  288. package/dist/theming/ThemeRegistered.d.ts +4 -0
  289. package/dist/theming/ThemeRegistered.js +11 -0
  290. package/dist/theming/ThemeRegistered.js.map +1 -0
  291. package/dist/theming/applyTheme.d.ts +2 -0
  292. package/dist/theming/applyTheme.js +76 -0
  293. package/dist/theming/applyTheme.js.map +1 -0
  294. package/dist/theming/getConstructableStyle.d.ts +9 -0
  295. package/dist/theming/getConstructableStyle.js +25 -0
  296. package/dist/theming/getConstructableStyle.js.map +1 -0
  297. package/dist/theming/getEffectiveLinksHrefs.d.ts +3 -0
  298. package/dist/theming/getEffectiveLinksHrefs.js +17 -0
  299. package/dist/theming/getEffectiveLinksHrefs.js.map +1 -0
  300. package/dist/theming/getEffectiveStyle.d.ts +3 -0
  301. package/dist/theming/getEffectiveStyle.js +32 -0
  302. package/dist/theming/getEffectiveStyle.js.map +1 -0
  303. package/dist/theming/getStylesString.d.ts +3 -0
  304. package/dist/theming/getStylesString.js +11 -0
  305. package/dist/theming/getStylesString.js.map +1 -0
  306. package/dist/theming/getThemeDesignerTheme.d.ts +7 -0
  307. package/dist/theming/getThemeDesignerTheme.js +80 -0
  308. package/dist/theming/getThemeDesignerTheme.js.map +1 -0
  309. package/dist/theming/preloadLinks.d.ts +3 -0
  310. package/dist/theming/preloadLinks.js +19 -0
  311. package/dist/theming/preloadLinks.js.map +1 -0
  312. package/dist/thirdparty/_merge.d.ts +2 -0
  313. package/dist/thirdparty/_merge.js +35 -0
  314. package/dist/thirdparty/_merge.js.map +1 -0
  315. package/dist/thirdparty/isPlainObject.d.ts +2 -0
  316. package/dist/thirdparty/isPlainObject.js +19 -0
  317. package/dist/thirdparty/isPlainObject.js.map +1 -0
  318. package/dist/thirdparty/merge.d.ts +2 -0
  319. package/dist/thirdparty/merge.js +6 -0
  320. package/dist/thirdparty/merge.js.map +1 -0
  321. package/dist/types/AnimationMode.d.ts +24 -0
  322. package/dist/types/AnimationMode.js +25 -6
  323. package/dist/types/AnimationMode.js.map +1 -0
  324. package/dist/types/CSSColor.d.ts +11 -0
  325. package/dist/types/CSSColor.js +14 -0
  326. package/dist/types/CSSColor.js.map +1 -0
  327. package/dist/types/CSSSize.d.ts +11 -0
  328. package/dist/types/CSSSize.js +10 -5
  329. package/dist/types/CSSSize.js.map +1 -0
  330. package/dist/types/CalendarType.d.ts +28 -0
  331. package/dist/types/CalendarType.js +30 -0
  332. package/dist/types/CalendarType.js.map +1 -0
  333. package/dist/types/DOMReference.d.ts +13 -0
  334. package/dist/types/DOMReference.js +21 -0
  335. package/dist/types/DOMReference.js.map +1 -0
  336. package/dist/types/DataType.d.ts +20 -0
  337. package/dist/types/DataType.js +31 -17
  338. package/dist/types/DataType.js.map +1 -0
  339. package/dist/types/Float.d.ts +14 -0
  340. package/dist/types/Float.js +18 -0
  341. package/dist/types/Float.js.map +1 -0
  342. package/dist/types/Integer.d.ts +14 -0
  343. package/dist/types/Integer.js +14 -5
  344. package/dist/types/Integer.js.map +1 -0
  345. package/dist/types/InvisibleMessageMode.d.ts +20 -0
  346. package/dist/types/InvisibleMessageMode.js +20 -0
  347. package/dist/types/InvisibleMessageMode.js.map +1 -0
  348. package/dist/types/ItemNavigationBehavior.d.ts +18 -0
  349. package/dist/types/ItemNavigationBehavior.js +16 -17
  350. package/dist/types/ItemNavigationBehavior.js.map +1 -0
  351. package/dist/types/NavigationMode.d.ts +24 -0
  352. package/dist/types/NavigationMode.js +25 -5
  353. package/dist/types/NavigationMode.js.map +1 -0
  354. package/dist/types/ValueState.d.ts +28 -0
  355. package/dist/types/ValueState.js +27 -19
  356. package/dist/types/ValueState.js.map +1 -0
  357. package/dist/types.d.ts +18 -0
  358. package/dist/types.js +2 -0
  359. package/dist/types.js.map +1 -0
  360. package/dist/updateShadowRoot.d.ts +8 -0
  361. package/dist/updateShadowRoot.js +42 -0
  362. package/dist/updateShadowRoot.js.map +1 -0
  363. package/dist/util/AriaLabelHelper.d.ts +15 -0
  364. package/dist/util/AriaLabelHelper.js +171 -0
  365. package/dist/util/AriaLabelHelper.js.map +1 -0
  366. package/dist/util/Caret.d.ts +7 -0
  367. package/dist/util/Caret.js +23 -0
  368. package/dist/util/Caret.js.map +1 -0
  369. package/dist/util/ColorConversion.d.ts +30 -0
  370. package/dist/util/ColorConversion.js +342 -0
  371. package/dist/util/ColorConversion.js.map +1 -0
  372. package/dist/util/FetchHelper.d.ts +3 -0
  373. package/dist/util/FetchHelper.js +19 -25
  374. package/dist/util/FetchHelper.js.map +1 -0
  375. package/dist/util/FocusableElements.d.ts +4 -0
  376. package/dist/util/FocusableElements.js +68 -56
  377. package/dist/util/FocusableElements.js.map +1 -0
  378. package/dist/util/HTMLSanitizer.d.ts +3 -0
  379. package/dist/util/HTMLSanitizer.js +6 -0
  380. package/dist/util/HTMLSanitizer.js.map +1 -0
  381. package/dist/util/InvisibleMessage.d.ts +10 -0
  382. package/dist/util/InvisibleMessage.js +56 -0
  383. package/dist/util/InvisibleMessage.js.map +1 -0
  384. package/dist/util/PopupUtils.d.ts +7 -0
  385. package/dist/util/PopupUtils.js +74 -0
  386. package/dist/util/PopupUtils.js.map +1 -0
  387. package/dist/util/SlotsHelper.d.ts +9 -0
  388. package/dist/util/SlotsHelper.js +30 -0
  389. package/dist/util/SlotsHelper.js.map +1 -0
  390. package/dist/util/StringHelper.d.ts +3 -0
  391. package/dist/util/StringHelper.js +17 -20
  392. package/dist/util/StringHelper.js.map +1 -0
  393. package/dist/util/TabbableElements.d.ts +17 -0
  394. package/dist/util/TabbableElements.js +53 -40
  395. package/dist/util/TabbableElements.js.map +1 -0
  396. package/dist/util/arraysAreEqual.d.ts +2 -0
  397. package/dist/util/arraysAreEqual.js +13 -0
  398. package/dist/util/arraysAreEqual.js.map +1 -0
  399. package/dist/util/clamp.d.ts +9 -0
  400. package/dist/util/clamp.js +12 -0
  401. package/dist/util/clamp.js.map +1 -0
  402. package/dist/util/createLinkInHead.d.ts +7 -0
  403. package/dist/util/createLinkInHead.js +21 -0
  404. package/dist/util/createLinkInHead.js.map +1 -0
  405. package/dist/util/createStyleInHead.d.ts +8 -0
  406. package/dist/util/createStyleInHead.js +10 -10
  407. package/dist/util/createStyleInHead.js.map +1 -0
  408. package/dist/util/debounce.d.ts +2 -0
  409. package/dist/util/debounce.js +15 -0
  410. package/dist/util/debounce.js.map +1 -0
  411. package/dist/util/detectNavigatorLanguage.d.ts +2 -0
  412. package/dist/util/detectNavigatorLanguage.js +14 -10
  413. package/dist/util/detectNavigatorLanguage.js.map +1 -0
  414. package/dist/util/escapeRegex.d.ts +8 -0
  415. package/dist/util/escapeRegex.js +11 -0
  416. package/dist/util/escapeRegex.js.map +1 -0
  417. package/dist/util/formatMessage.d.ts +2 -0
  418. package/dist/util/formatMessage.js +15 -19
  419. package/dist/util/formatMessage.js.map +1 -0
  420. package/dist/util/generateHighlightedMarkup.d.ts +9 -0
  421. package/dist/util/generateHighlightedMarkup.js +41 -0
  422. package/dist/util/generateHighlightedMarkup.js.map +1 -0
  423. package/dist/util/getActiveElement.d.ts +2 -0
  424. package/dist/util/getActiveElement.js +9 -0
  425. package/dist/util/getActiveElement.js.map +1 -0
  426. package/dist/util/getClassCopy.d.ts +419 -0
  427. package/dist/util/getClassCopy.js +10 -0
  428. package/dist/util/getClassCopy.js.map +1 -0
  429. package/dist/util/getDesigntimePropertyAsArray.d.ts +2 -0
  430. package/dist/util/getDesigntimePropertyAsArray.js +5 -3
  431. package/dist/util/getDesigntimePropertyAsArray.js.map +1 -0
  432. package/dist/util/getEffectiveContentDensity.d.ts +2 -0
  433. package/dist/util/getEffectiveContentDensity.js +4 -0
  434. package/dist/util/getEffectiveContentDensity.js.map +1 -0
  435. package/dist/util/getEffectiveScrollbarStyle.d.ts +2 -0
  436. package/dist/util/getEffectiveScrollbarStyle.js +4 -0
  437. package/dist/util/getEffectiveScrollbarStyle.js.map +1 -0
  438. package/dist/util/getFastNavigationGroups.d.ts +2 -0
  439. package/dist/util/getFastNavigationGroups.js +51 -0
  440. package/dist/util/getFastNavigationGroups.js.map +1 -0
  441. package/dist/util/getFileExtension.d.ts +12 -0
  442. package/dist/util/getFileExtension.js +19 -0
  443. package/dist/util/getFileExtension.js.map +1 -0
  444. package/dist/util/getNormalizedTarget.d.ts +7 -0
  445. package/dist/util/getNormalizedTarget.js +14 -0
  446. package/dist/util/getNormalizedTarget.js.map +1 -0
  447. package/dist/util/getParentElement.d.ts +2 -0
  448. package/dist/util/getParentElement.js +5 -0
  449. package/dist/util/getParentElement.js.map +1 -0
  450. package/dist/util/getSingletonElementInstance.d.ts +11 -0
  451. package/dist/util/getSingletonElementInstance.js +19 -0
  452. package/dist/util/getSingletonElementInstance.js.map +1 -0
  453. package/dist/util/isElementClickable.d.ts +2 -0
  454. package/dist/util/isElementClickable.js +16 -0
  455. package/dist/util/isElementClickable.js.map +1 -0
  456. package/dist/util/isElementContainingBlock.d.ts +2 -0
  457. package/dist/util/isElementContainingBlock.js +11 -0
  458. package/dist/util/isElementContainingBlock.js.map +1 -0
  459. package/dist/util/isElementHidden.d.ts +2 -0
  460. package/dist/util/isElementHidden.js +8 -0
  461. package/dist/util/isElementHidden.js.map +1 -0
  462. package/dist/util/isElementInView.d.ts +6 -0
  463. package/dist/util/isElementInView.js +12 -0
  464. package/dist/util/isElementInView.js.map +1 -0
  465. package/dist/util/isElementTabbable.d.ts +9 -0
  466. package/dist/util/isElementTabbable.js +30 -0
  467. package/dist/util/isElementTabbable.js.map +1 -0
  468. package/dist/util/isValidPropertyName.d.ts +8 -0
  469. package/dist/util/isValidPropertyName.js +20 -12
  470. package/dist/util/isValidPropertyName.js.map +1 -0
  471. package/dist/util/whenDOMReady.d.ts +2 -0
  472. package/dist/util/whenDOMReady.js +11 -10
  473. package/dist/util/whenDOMReady.js.map +1 -0
  474. package/dist/util/willShowContent.d.ts +2 -0
  475. package/dist/util/willShowContent.js +7 -0
  476. package/dist/util/willShowContent.js.map +1 -0
  477. package/dist/validateThemeRoot.d.ts +2 -0
  478. package/dist/validateThemeRoot.js +48 -0
  479. package/dist/validateThemeRoot.js.map +1 -0
  480. package/index.js +228 -2
  481. package/lib/generate-asset-parameters/index.js +27 -0
  482. package/lib/generate-styles/index.js +31 -0
  483. package/lib/generate-version-info/index.js +32 -0
  484. package/package-scripts.cjs +65 -0
  485. package/package.json +30 -14
  486. package/src/css/BusyIndicator.css +80 -0
  487. package/src/css/FontFace.css +96 -0
  488. package/src/css/OverrideFontFace.css +32 -0
  489. package/src/css/SystemCSSVars.css +17 -0
  490. package/src/renderer/directives/style-map.js +72 -0
  491. package/tsconfig.json +18 -0
  492. package/used-modules.txt +14 -0
  493. package/bundle.es5.js +0 -28
  494. package/config/rollup.config.js +0 -1
  495. package/config/wdio.conf.js +0 -1
  496. package/dist/Assets.js +0 -2
  497. package/dist/CSS.js +0 -48
  498. package/dist/FormatSettings.js +0 -31
  499. package/dist/Locale.js +0 -101
  500. package/dist/LocaleProvider.js +0 -34
  501. package/dist/RenderScheduler.js +0 -165
  502. package/dist/ResourceLoaderOverrides.js +0 -38
  503. package/dist/SVGIconRegistry.js +0 -54
  504. package/dist/animations/config.js +0 -5
  505. package/dist/boot.js +0 -32
  506. package/dist/compatibility/DOMObserver.js +0 -62
  507. package/dist/compatibility/patchNodeValue.js +0 -24
  508. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  509. package/dist/dates/CalendarDate.js +0 -203
  510. package/dist/dates/CalendarType.js +0 -22
  511. package/dist/dates/CalendarUtils.js +0 -99
  512. package/dist/delegate/CustomResize.js +0 -78
  513. package/dist/delegate/NativeResize.js +0 -44
  514. package/dist/events/PseudoEvents.js +0 -58
  515. package/dist/features/browsersupport/Edge.js +0 -6
  516. package/dist/features/browsersupport/IE11.js +0 -41
  517. package/dist/features/calendar/Buddhist.js +0 -1
  518. package/dist/features/calendar/Islamic.js +0 -1
  519. package/dist/features/calendar/Japanese.js +0 -1
  520. package/dist/features/calendar/Persian.js +0 -1
  521. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar.json +0 -5906
  522. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_EG.json +0 -5906
  523. package/dist/generated/assets/cldr/sap/ui/core/cldr/ar_SA.json +0 -5906
  524. package/dist/generated/assets/cldr/sap/ui/core/cldr/bg.json +0 -4979
  525. package/dist/generated/assets/cldr/sap/ui/core/cldr/ca.json +0 -4996
  526. package/dist/generated/assets/cldr/sap/ui/core/cldr/cs.json +0 -5498
  527. package/dist/generated/assets/cldr/sap/ui/core/cldr/da.json +0 -4888
  528. package/dist/generated/assets/cldr/sap/ui/core/cldr/de.json +0 -4916
  529. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_AT.json +0 -4917
  530. package/dist/generated/assets/cldr/sap/ui/core/cldr/de_CH.json +0 -4915
  531. package/dist/generated/assets/cldr/sap/ui/core/cldr/el.json +0 -4883
  532. package/dist/generated/assets/cldr/sap/ui/core/cldr/el_CY.json +0 -4883
  533. package/dist/generated/assets/cldr/sap/ui/core/cldr/en.json +0 -4970
  534. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_AU.json +0 -4962
  535. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_GB.json +0 -4971
  536. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_HK.json +0 -4977
  537. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IE.json +0 -4971
  538. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_IN.json +0 -4972
  539. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_NZ.json +0 -4971
  540. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_PG.json +0 -4972
  541. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_SG.json +0 -4973
  542. package/dist/generated/assets/cldr/sap/ui/core/cldr/en_ZA.json +0 -4972
  543. package/dist/generated/assets/cldr/sap/ui/core/cldr/es.json +0 -4912
  544. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_AR.json +0 -4914
  545. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_BO.json +0 -4913
  546. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CL.json +0 -4914
  547. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_CO.json +0 -4913
  548. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_MX.json +0 -4915
  549. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_PE.json +0 -4913
  550. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_UY.json +0 -4915
  551. package/dist/generated/assets/cldr/sap/ui/core/cldr/es_VE.json +0 -4914
  552. package/dist/generated/assets/cldr/sap/ui/core/cldr/et.json +0 -4967
  553. package/dist/generated/assets/cldr/sap/ui/core/cldr/fa.json +0 -4883
  554. package/dist/generated/assets/cldr/sap/ui/core/cldr/fi.json +0 -5008
  555. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr.json +0 -4979
  556. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_BE.json +0 -4979
  557. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CA.json +0 -4973
  558. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_CH.json +0 -4997
  559. package/dist/generated/assets/cldr/sap/ui/core/cldr/fr_LU.json +0 -4979
  560. package/dist/generated/assets/cldr/sap/ui/core/cldr/he.json +0 -5378
  561. package/dist/generated/assets/cldr/sap/ui/core/cldr/hi.json +0 -4829
  562. package/dist/generated/assets/cldr/sap/ui/core/cldr/hr.json +0 -4919
  563. package/dist/generated/assets/cldr/sap/ui/core/cldr/hu.json +0 -4856
  564. package/dist/generated/assets/cldr/sap/ui/core/cldr/id.json +0 -4658
  565. package/dist/generated/assets/cldr/sap/ui/core/cldr/it.json +0 -4950
  566. package/dist/generated/assets/cldr/sap/ui/core/cldr/it_CH.json +0 -4950
  567. package/dist/generated/assets/cldr/sap/ui/core/cldr/ja.json +0 -4830
  568. package/dist/generated/assets/cldr/sap/ui/core/cldr/kk.json +0 -4725
  569. package/dist/generated/assets/cldr/sap/ui/core/cldr/ko.json +0 -4738
  570. package/dist/generated/assets/cldr/sap/ui/core/cldr/lt.json +0 -5481
  571. package/dist/generated/assets/cldr/sap/ui/core/cldr/lv.json +0 -5112
  572. package/dist/generated/assets/cldr/sap/ui/core/cldr/ms.json +0 -4515
  573. package/dist/generated/assets/cldr/sap/ui/core/cldr/nb.json +0 -4977
  574. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl.json +0 -4884
  575. package/dist/generated/assets/cldr/sap/ui/core/cldr/nl_BE.json +0 -4884
  576. package/dist/generated/assets/cldr/sap/ui/core/cldr/pl.json +0 -5176
  577. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt.json +0 -4805
  578. package/dist/generated/assets/cldr/sap/ui/core/cldr/pt_PT.json +0 -4940
  579. package/dist/generated/assets/cldr/sap/ui/core/cldr/ro.json +0 -5090
  580. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru.json +0 -5407
  581. package/dist/generated/assets/cldr/sap/ui/core/cldr/ru_UA.json +0 -5407
  582. package/dist/generated/assets/cldr/sap/ui/core/cldr/sk.json +0 -5370
  583. package/dist/generated/assets/cldr/sap/ui/core/cldr/sl.json +0 -5340
  584. package/dist/generated/assets/cldr/sap/ui/core/cldr/sr.json +0 -5126
  585. package/dist/generated/assets/cldr/sap/ui/core/cldr/sv.json +0 -5011
  586. package/dist/generated/assets/cldr/sap/ui/core/cldr/th.json +0 -4797
  587. package/dist/generated/assets/cldr/sap/ui/core/cldr/tr.json +0 -4979
  588. package/dist/generated/assets/cldr/sap/ui/core/cldr/uk.json +0 -5353
  589. package/dist/generated/assets/cldr/sap/ui/core/cldr/vi.json +0 -4673
  590. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_CN.json +0 -4632
  591. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_HK.json +0 -4640
  592. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_SG.json +0 -4640
  593. package/dist/generated/assets/cldr/sap/ui/core/cldr/zh_TW.json +0 -4728
  594. package/dist/json-imports/LocaleData.js +0 -171
  595. package/dist/renderer/ifDefined.js +0 -21
  596. package/dist/resources/bundle.es5.js +0 -212
  597. package/dist/resources/bundle.es5.js.map +0 -1
  598. package/dist/resources/bundle.esm.js +0 -123
  599. package/dist/resources/bundle.esm.js.map +0 -1
  600. package/dist/shims/Core-shim.js +0 -53
  601. package/dist/test-resources/assets/Themes.js +0 -13
  602. package/dist/test-resources/dev-helpers/ExternalThemePresent.js +0 -3
  603. package/dist/test-resources/elements/Child.js +0 -35
  604. package/dist/test-resources/elements/Generic.js +0 -84
  605. package/dist/test-resources/elements/GenericExt.js +0 -26
  606. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  607. package/dist/test-resources/elements/Parent.js +0 -37
  608. package/dist/test-resources/pages/AllTestElements.html +0 -40
  609. package/dist/test-resources/pages/Configuration.html +0 -20
  610. package/dist/test-resources/pages/ConfigurationScript.html +0 -36
  611. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -25
  612. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -61
  613. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -45
  614. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  615. package/dist/test-resources/specs/Theming.spec.js +0 -31
  616. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  617. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -93
  618. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  619. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  620. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  621. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  622. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  623. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  624. package/dist/theming/StyleInjection.js +0 -67
  625. package/dist/thirdparty/Array.from.js +0 -16
  626. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  627. package/dist/thirdparty/Array.prototype.find.js +0 -46
  628. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  629. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  630. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  631. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  632. package/dist/thirdparty/Number.isInteger.js +0 -5
  633. package/dist/thirdparty/Number.isNaN.js +0 -1
  634. package/dist/thirdparty/Number.parseInt.js +0 -1
  635. package/dist/thirdparty/Object.assign.js +0 -31
  636. package/dist/thirdparty/Object.entries.js +0 -11
  637. package/dist/thirdparty/Symbol.js +0 -2
  638. package/dist/thirdparty/WeakSet.js +0 -27
  639. package/dist/thirdparty/events-polyfills.js +0 -89
  640. package/dist/thirdparty/fetch.js +0 -1
  641. package/dist/thirdparty/template.js +0 -600
  642. package/dist/types/PopupState.js +0 -37
  643. package/dist/util/CSSTransformUtils.js +0 -90
  644. package/dist/util/isDescendantOf.js +0 -15
  645. package/dist/util/isNodeClickable.js +0 -19
  646. package/dist/util/isNodeHidden.js +0 -13
  647. package/dist/util/isNodeTabbable.js +0 -28
  648. package/dist/util/normalizeLocale.js +0 -77
  649. package/dist/webcomponentsjs/LICENSE.md +0 -19
  650. package/dist/webcomponentsjs/README.md +0 -229
  651. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  652. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  653. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  654. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  655. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  656. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  657. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  658. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  659. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  660. package/dist/webcomponentsjs/package.json +0 -46
  661. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  662. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  663. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  664. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  665. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  666. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  667. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  668. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  669. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  670. package/package-scripts.js +0 -42
  671. package/src/AssetRegistry.js +0 -9
  672. package/src/Assets.js +0 -2
  673. package/src/CSS.js +0 -48
  674. package/src/Device.js +0 -823
  675. package/src/EventProvider.js +0 -73
  676. package/src/FeaturesRegistry.js +0 -11
  677. package/src/FontFace.js +0 -73
  678. package/src/FormatSettings.js +0 -31
  679. package/src/InitialConfiguration.js +0 -130
  680. package/src/Locale.js +0 -101
  681. package/src/LocaleProvider.js +0 -34
  682. package/src/RenderQueue.js +0 -42
  683. package/src/RenderScheduler.js +0 -165
  684. package/src/ResourceLoaderOverrides.js +0 -38
  685. package/src/SVGIconRegistry.js +0 -54
  686. package/src/StaticArea.js +0 -41
  687. package/src/StaticAreaItem.js +0 -90
  688. package/src/Theming.js +0 -55
  689. package/src/UI5Element.js +0 -869
  690. package/src/UI5ElementMetadata.js +0 -164
  691. package/src/animations/AnimationQueue.js +0 -42
  692. package/src/animations/animate.js +0 -53
  693. package/src/animations/config.js +0 -5
  694. package/src/animations/scroll.js +0 -28
  695. package/src/animations/slideDown.js +0 -79
  696. package/src/animations/slideUp.js +0 -71
  697. package/src/asset-registries/Icons.js +0 -24
  698. package/src/asset-registries/LocaleData.js +0 -108
  699. package/src/asset-registries/Themes.js +0 -75
  700. package/src/asset-registries/i18n.js +0 -74
  701. package/src/boot.js +0 -32
  702. package/src/compatibility/DOMObserver.js +0 -62
  703. package/src/compatibility/patchNodeValue.js +0 -24
  704. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  705. package/src/config/AnimationMode.js +0 -13
  706. package/src/config/CalendarType.js +0 -22
  707. package/src/config/FormatSettings.js +0 -13
  708. package/src/config/Language.js +0 -12
  709. package/src/config/NoConflict.js +0 -51
  710. package/src/config/RTL.js +0 -31
  711. package/src/config/Theme.js +0 -28
  712. package/src/dates/CalendarDate.js +0 -203
  713. package/src/dates/CalendarType.js +0 -22
  714. package/src/dates/CalendarUtils.js +0 -99
  715. package/src/delegate/CustomResize.js +0 -78
  716. package/src/delegate/ItemNavigation.js +0 -278
  717. package/src/delegate/NativeResize.js +0 -44
  718. package/src/delegate/ResizeHandler.js +0 -66
  719. package/src/delegate/ScrollEnablement.js +0 -106
  720. package/src/events/PseudoEvents.js +0 -58
  721. package/src/features/OpenUI5Support.js +0 -76
  722. package/src/features/browsersupport/Edge.js +0 -6
  723. package/src/features/browsersupport/IE11.js +0 -41
  724. package/src/features/calendar/Buddhist.js +0 -1
  725. package/src/features/calendar/Islamic.js +0 -1
  726. package/src/features/calendar/Japanese.js +0 -1
  727. package/src/features/calendar/Persian.js +0 -1
  728. package/src/i18nBundle.js +0 -35
  729. package/src/json-imports/LocaleData.js +0 -171
  730. package/src/renderer/LitRenderer.js +0 -15
  731. package/src/renderer/ifDefined.js +0 -21
  732. package/src/shims/Core-shim.js +0 -53
  733. package/src/theming/CustomStyle.js +0 -19
  734. package/src/theming/StyleInjection.js +0 -67
  735. package/src/thirdparty/Array.from.js +0 -16
  736. package/src/thirdparty/Array.prototype.fill.js +0 -44
  737. package/src/thirdparty/Array.prototype.find.js +0 -46
  738. package/src/thirdparty/Array.prototype.includes.js +0 -51
  739. package/src/thirdparty/Element.prototype.closest.js +0 -11
  740. package/src/thirdparty/Element.prototype.matches.js +0 -6
  741. package/src/thirdparty/Map.prototype.keys.js +0 -9
  742. package/src/thirdparty/Number.isInteger.js +0 -5
  743. package/src/thirdparty/Number.isNaN.js +0 -1
  744. package/src/thirdparty/Number.parseInt.js +0 -1
  745. package/src/thirdparty/Object.assign.js +0 -31
  746. package/src/thirdparty/Object.entries.js +0 -11
  747. package/src/thirdparty/Symbol.js +0 -2
  748. package/src/thirdparty/WeakSet.js +0 -27
  749. package/src/thirdparty/events-polyfills.js +0 -89
  750. package/src/thirdparty/fetch.js +0 -1
  751. package/src/thirdparty/template.js +0 -600
  752. package/src/types/AnimationMode.js +0 -7
  753. package/src/types/CSSSize.js +0 -9
  754. package/src/types/DataType.js +0 -25
  755. package/src/types/Integer.js +0 -9
  756. package/src/types/ItemNavigationBehavior.js +0 -21
  757. package/src/types/NavigationMode.js +0 -6
  758. package/src/types/PopupState.js +0 -37
  759. package/src/types/ValueState.js +0 -22
  760. package/src/util/CSSTransformUtils.js +0 -90
  761. package/src/util/FetchHelper.js +0 -31
  762. package/src/util/FocusableElements.js +0 -60
  763. package/src/util/StringHelper.js +0 -26
  764. package/src/util/TabbableElements.js +0 -44
  765. package/src/util/createStyleInHead.js +0 -18
  766. package/src/util/detectNavigatorLanguage.js +0 -11
  767. package/src/util/formatMessage.js +0 -23
  768. package/src/util/getDesigntimePropertyAsArray.js +0 -4
  769. package/src/util/isDescendantOf.js +0 -15
  770. package/src/util/isNodeClickable.js +0 -19
  771. package/src/util/isNodeHidden.js +0 -13
  772. package/src/util/isNodeTabbable.js +0 -28
  773. package/src/util/isValidPropertyName.js +0 -20
  774. package/src/util/normalizeLocale.js +0 -77
  775. package/src/util/whenDOMReady.js +0 -13
  776. /package/{config/.eslintrc.js → .eslintrc.cjs} +0 -0
@@ -1,212 +0,0 @@
1
- !function(t){"use strict";
2
- /*!
3
- * css-vars-ponyfill
4
- * v2.1.2
5
- * https://jhildenbiddle.github.io/css-vars-ponyfill/
6
- * (c) 2018-2019 John Hildenbiddle <http://hildenbiddle.com>
7
- * MIT license
8
- */function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function n(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}
9
- /*!
10
- * get-css-data
11
- * v1.6.3
12
- * https://github.com/jhildenbiddle/get-css-data
13
- * (c) 2018-2019 John Hildenbiddle <http://hildenbiddle.com>
14
- * MIT license
15
- */()}function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},r=Array.isArray(t)?t:[t],a=Array.apply(null,Array(r.length)).map((function(t){return null}));function o(){return!("<"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().charAt(0))}function i(t,e){n.onError(t,r[e],e)}function s(t,e){var o=n.onSuccess(t,r[e],e);t=!1===o?"":o||t,a[e]=t,-1===a.indexOf(null)&&n.onComplete(a)}var u=document.createElement("a");r.forEach((function(t,e){if(u.setAttribute("href",t),u.href=String(u.href),Boolean(document.all&&!window.atob)&&u.host.split(":")[0]!==location.host.split(":")[0]){if(u.protocol===location.protocol){var r=new XDomainRequest;r.open("GET",t),r.timeout=0,r.onprogress=Function.prototype,r.ontimeout=Function.prototype,r.onload=function(){o(r.responseText)?s(r.responseText,e):i(r,e)},r.onerror=function(t){i(r,e)},setTimeout((function(){r.send()}),0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),i(null,e)}else{var a=new XMLHttpRequest;a.open("GET",t),n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),n.onBeforeSend(a,t,e),a.onreadystatechange=function(){4===a.readyState&&(200===a.status&&o(a.responseText)?s(a.responseText,e):i(a,e))},a.send()}}))}
16
- /**
17
- * Gets CSS data from <style> and <link> nodes (including @imports), then
18
- * returns data in order processed by DOM. Allows specifying nodes to
19
- * include/exclude and filtering CSS data using RegEx.
20
- *
21
- * @preserve
22
- * @param {object} [options] The options object
23
- * @param {object} [options.rootElement=document] Root element to traverse for
24
- * <link> and <style> nodes.
25
- * @param {string} [options.include] CSS selector matching <link> and <style>
26
- * nodes to include
27
- * @param {string} [options.exclude] CSS selector matching <link> and <style>
28
- * nodes to exclude
29
- * @param {object} [options.filter] Regular expression used to filter node CSS
30
- * data. Each block of CSS data is tested against the filter,
31
- * and only matching data is included.
32
- * @param {object} [options.useCSSOM=false] Determines if CSS data will be
33
- * collected from a stylesheet's runtime values instead of its
34
- * text content. This is required to get accurate CSS data
35
- * when a stylesheet has been modified using the deleteRule()
36
- * or insertRule() methods because these modifications will
37
- * not be reflected in the stylesheet's text content.
38
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
39
- * 1) the XHR object, 2) source node reference, and 3) the
40
- * source URL as arguments.
41
- * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
42
- * 1) CSS text, 2) source node reference, and 3) the source
43
- * URL as arguments.
44
- * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
45
- * object for inspection, 2) soure node reference, and 3) the
46
- * source URL that failed (either a <link> href or an @import)
47
- * as arguments
48
- * @param {function} [options.onComplete] Callback after all nodes have been
49
- * processed. Passes 1) concatenated CSS text, 2) an array of
50
- * CSS text in DOM order, and 3) an array of nodes in DOM
51
- * order as arguments.
52
- *
53
- * @example
54
- *
55
- * getCssData({
56
- * rootElement: document,
57
- * include : 'style,link[rel="stylesheet"]',
58
- * exclude : '[href="skip.css"]',
59
- * filter : /red/,
60
- * useCSSOM : false,
61
- * onBeforeSend(xhr, node, url) {
62
- * // ...
63
- * }
64
- * onSuccess(cssText, node, url) {
65
- * // ...
66
- * }
67
- * onError(xhr, node, url) {
68
- * // ...
69
- * },
70
- * onComplete(cssText, cssArray, nodeArray) {
71
- * // ...
72
- * }
73
- * });
74
- */function a(t){var e={cssComments:/\/\*[\s\S]+?\*\//g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},n={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},a=Array.apply(null,n.rootElement.querySelectorAll(n.include)).filter((function(t){return e=t,r=n.exclude,!(e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,r);var e,r})),i=Array.apply(null,Array(a.length)).map((function(t){return null}));function s(){if(-1===i.indexOf(null)){var t=i.join("");n.onComplete(t,i,a)}}function u(t,e,a,o){var u=n.onSuccess(t,a,o);(function t(e,a,o,i){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=c(e,o,u);l.rules.length?r(l.absoluteUrls,{onBeforeSend:function(t,e,r){n.onBeforeSend(t,a,e)},onSuccess:function(t,e,r){var o=n.onSuccess(t,a,e),i=c(t=!1===o?"":o||t,e,u);return i.rules.forEach((function(e,n){t=t.replace(e,i.absoluteRules[n])})),t},onError:function(n,r,c){s.push({xhr:n,url:r}),u.push(l.rules[c]),t(e,a,o,i,s,u)},onComplete:function(n){n.forEach((function(t,n){e=e.replace(l.rules[n],t)})),t(e,a,o,i,s,u)}}):i(e,s)})(t=void 0!==u&&!1===Boolean(u)?"":u||t,a,o,(function(t,r){null===i[e]&&(r.forEach((function(t){return n.onError(t.xhr,a,t.url)})),!n.filter||n.filter.test(t)?i[e]=t:i[e]="",s())}))}function c(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a={};return a.rules=(t.replace(e.cssComments,"").match(e.cssImports)||[]).filter((function(t){return-1===r.indexOf(t)})),a.urls=a.rules.map((function(t){return t.replace(e.cssImports,"$1")})),a.absoluteUrls=a.urls.map((function(t){return o(t,n)})),a.absoluteRules=a.rules.map((function(t,e){var r=a.urls[e],i=o(a.absoluteUrls[e],n);return t.replace(r,i)})),a}a.length?a.forEach((function(t,e){var a=t.getAttribute("href"),c=t.getAttribute("rel"),l="LINK"===t.nodeName&&a&&c&&"stylesheet"===c.toLowerCase(),h="STYLE"===t.nodeName;if(l)r(a,{mimeType:"text/css",onBeforeSend:function(e,r,a){n.onBeforeSend(e,t,r)},onSuccess:function(n,r,i){var s=o(a,location.href);u(n,e,t,s)},onError:function(r,a,o){i[e]="",n.onError(r,t,a),s()}});else if(h){var p=t.textContent;n.useCSSOM&&(p=Array.apply(null,t.sheet.cssRules).map((function(t){return t.cssText})).join("")),u(p,e,t,location.href)}else i[e]="",s()})):n.onComplete("",[])}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),a=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(a),r.href=e,a.href=t,a.href}var i=s;function s(t,e,n){t instanceof RegExp&&(t=u(t,n)),e instanceof RegExp&&(e=u(e,n));var r=c(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function u(t,e){var n=e.match(t);return n?n[0]:null}function c(t,e,n){var r,a,o,i,s,u=n.indexOf(t),c=n.indexOf(e,u+1),l=u;if(u>=0&&c>0){for(r=[],o=n.length;l>=0&&!s;)l==u?(r.push(l),u=n.indexOf(t,l+1)):1==r.length?s=[r.pop(),c]:((a=r.pop())<o&&(o=a,i=c),c=n.indexOf(e,l+1)),l=u<c&&u>=0?u:c;r.length&&(s=[o,i])}return s}function l(t){var n=e({},{preserveStatic:!0,removeComments:!1},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});function r(t){throw new Error("CSS parse error: ".concat(t))}function a(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function o(){return a(/^{\s*/)}function s(){return a(/^}/)}function u(){a(/^\s*/)}function c(){if(u(),"/"===t[0]&&"*"===t[1]){for(var e=2;t[e]&&("*"!==t[e]||"/"!==t[e+1]);)e++;if(!t[e])return r("end of comment is missing");var n=t.slice(2,e);return t=t.slice(e+2),{type:"comment",comment:n}}}function l(){for(var t,e=[];t=c();)e.push(t);return n.removeComments?[]:e}function h(){for(u();"}"===t[0];)r("extra closing bracket");var e=a(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(t){return t.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(t){return t.replace(/\u200C/g,",")}))}function p(){a(/^([;\s]*)+/);var t=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,e=a(/^(\*?[-#\/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(e){if(e=e[0].trim(),!a(/^:\s*/))return r("property missing ':'");var n=a(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),o={type:"declaration",property:e.replace(t,""),value:n?n[0].replace(t,"").trim():""};return a(/^[;\s]*/),o}}function f(){if(!o())return r("missing '{'");for(var t,e=l();t=p();)e.push(t),e=e.concat(l());return s()?e:r("missing '}'")}function d(){u();for(var t,e=[];t=a(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),a(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:f()}}function m(){if(u(),"@"===t[0]){var e=function(){var t=a(/^@([-\w]+)?keyframes\s*/);if(t){var e=t[1];if(!(t=a(/^([-\w]+)\s*/)))return r("@keyframes missing name");var n,i=t[1];if(!o())return r("@keyframes missing '{'");for(var u=l();n=d();)u.push(n),u=u.concat(l());return s()?{type:"keyframes",name:i,vendor:e,keyframes:u}:r("@keyframes missing '}'")}}()||function(){var t=a(/^@supports *([^{]+)/);if(t)return{type:"supports",supports:t[1].trim(),rules:y()}}()||function(){if(a(/^@host\s*/))return{type:"host",rules:y()}}()||function(){var t=a(/^@media([^{]+)*/);if(t)return{type:"media",media:(t[1]||"").trim(),rules:y()}}()||function(){var t=a(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return{type:"custom-media",name:t[1].trim(),media:t[2].trim()}}()||function(){if(a(/^@page */))return{type:"page",selectors:h()||[],declarations:f()}}()||function(){var t=a(/^@([-\w]+)?document *([^{]+)/);if(t)return{type:"document",document:t[2].trim(),vendor:t[1]?t[1].trim():null,rules:y()}}()||function(){if(a(/^@font-face\s*/))return{type:"font-face",declarations:f()}}()||function(){var t=a(/^@(import|charset|namespace)\s*([^;]+);/);if(t)return{type:t[1],name:t[2].trim()}}();if(e&&!n.preserveStatic){var i=!1;if(e.declarations)i=e.declarations.some((function(t){return/var\(/.test(t.value)}));else i=(e.keyframes||e.rules||[]).some((function(t){return(t.declarations||[]).some((function(t){return/var\(/.test(t.value)}))}));return i?e:{}}return e}}function g(){if(!n.preserveStatic){var e=i("{","}",t);if(e){var a=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),o=/var\(/.test(e.body);if(!a&&!o)return t=t.slice(e.end+1),{}}}var s=h()||[],u=n.preserveStatic?f():f().filter((function(t){var e=s.some((function(t){return/:(?:root|host)(?![.:#(])/.test(t)}))&&/^--\S/.test(t.property),n=/var\(/.test(t.value);return e||n}));return s.length||r("selector missing"),{type:"rule",selectors:s,declarations:u}}function y(e){if(!e&&!o())return r("missing '{'");for(var n,a=l();t.length&&(e||"}"!==t[0])&&(n=m()||g());)n.type&&a.push(n),a=a.concat(l());return e||s()?a:r("missing '}'")}return{type:"stylesheet",stylesheet:{rules:y(!0),errors:[]}}}function h(t){var n=e({},{parseHost:!1,store:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),r=new RegExp(":".concat(n.parseHost?"host":"root","(?![.:#(])"));return"string"==typeof t&&(t=l(t,n)),t.stylesheet.rules.forEach((function(t){"rule"===t.type&&t.selectors.some((function(t){return r.test(t)}))&&t.declarations.forEach((function(t,e){var r=t.property,a=t.value;r&&0===r.indexOf("--")&&(n.store[r]=a)}))})),n.store}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r={charset:function(t){return"@charset "+t.name+";"},comment:function(t){return 0===t.comment.indexOf("__CSSVARSPONYFILL")?"/*"+t.comment+"*/":""},"custom-media":function(t){return"@custom-media "+t.name+" "+t.media+";"},declaration:function(t){return t.property+":"+t.value+";"},document:function(t){return"@"+(t.vendor||"")+"document "+t.document+"{"+a(t.rules)+"}"},"font-face":function(t){return"@font-face{"+a(t.declarations)+"}"},host:function(t){return"@host{"+a(t.rules)+"}"},import:function(t){return"@import "+t.name+";"},keyframe:function(t){return t.values.join(",")+"{"+a(t.declarations)+"}"},keyframes:function(t){return"@"+(t.vendor||"")+"keyframes "+t.name+"{"+a(t.keyframes)+"}"},media:function(t){return"@media "+t.media+"{"+a(t.rules)+"}"},namespace:function(t){return"@namespace "+t.name+";"},page:function(t){return"@page "+(t.selectors.length?t.selectors.join(", "):"")+"{"+a(t.declarations)+"}"},rule:function(t){var e=t.declarations;if(e.length)return t.selectors.join(",")+"{"+a(e)+"}"},supports:function(t){return"@supports "+t.supports+"{"+a(t.rules)+"}"}};function a(t){for(var a="",o=0;o<t.length;o++){var i=t[o];n&&n(i);var s=r[i.type](i);s&&(a+=s,s.length&&i.selectors&&(a+=e))}return a}return a(t.stylesheet.rules)}s.range=c;var f="--",d="var";function m(t){var n=e({},{preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return"string"==typeof t&&(t=l(t,n)),function t(e,n){e.rules.forEach((function(r){r.rules?t(r,n):r.keyframes?r.keyframes.forEach((function(t){"keyframe"===t.type&&n(t.declarations,r)})):r.declarations&&n(r.declarations,e)}))}(t.stylesheet,(function(t,e){for(var r=0;r<t.length;r++){var a=t[r],o=a.type,i=a.property,s=a.value;if("declaration"===o)if(n.preserveVars||!i||0!==i.indexOf(f)){if(-1!==s.indexOf(d+"(")){var u=y(s,n);u!==a.value&&(u=g(u),n.preserveVars?(t.splice(r,0,{type:o,property:i,value:u}),r++):a.value=u)}}else t.splice(r,1),r--}})),p(t)}function g(t){return(t.match(/calc\(([^)]+)\)/g)||[]).forEach((function(e){var n="calc".concat(e.split("calc").join(""));t=t.replace(e,n)})),t}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var r=i("(",")",t);return r?"var"===r.pre.slice(-3)?0===r.body.trim().length?(e.onWarning("var() must contain a non-whitespace string"),t):r.pre.slice(0,-3)+function(t){var r=t.split(",")[0].replace(/[\s\n\t]/g,""),a=(t.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],o=Object.prototype.hasOwnProperty.call(e.variables,r)?String(e.variables[r]):void 0,i=o||(a?String(a):void 0),s=n||t;return o||e.onWarning('variable "'.concat(r,'" is undefined')),i&&"undefined"!==i&&i.length>0?y(i,e,s):"var(".concat(s,")")}(r.body)+y(r.post,e):r.pre+"(".concat(y(r.body,e),")")+y(r.post,e):(-1!==t.indexOf("var(")&&e.onWarning('missing closing ")" in the value "'.concat(t,'"')),t)}var v="undefined"!=typeof window,w=v&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),b={group:0,job:0},P={rootElement:v?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onWarning:function(){},onError:function(){},onSuccess:function(){},onComplete:function(){}},_={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},M={dom:{},job:{},user:{}},T=!1,C=null,S=0,k=null,E=!1;
75
- /**
76
- * Fetches, parses, and transforms CSS custom properties from specified
77
- * <style> and <link> elements into static values, then appends a new <style>
78
- * element with static values to the DOM to provide CSS custom property
79
- * compatibility for legacy browsers. Also provides a single interface for
80
- * live updates of runtime values in both modern and legacy browsers.
81
- *
82
- * @preserve
83
- * @param {object} [options] Options object
84
- * @param {object} [options.rootElement=document] Root element to traverse for
85
- * <link> and <style> nodes
86
- * @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
87
- * and <style> nodes will be processed.
88
- * @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
89
- * matching <link re="stylesheet"> and <style> nodes to
90
- * process
91
- * @param {string} [options.exclude] CSS selector matching <link
92
- * rel="stylehseet"> and <style> nodes to exclude from those
93
- * matches by options.include
94
- * @param {object} [options.variables] A map of custom property name/value
95
- * pairs. Property names can omit or include the leading
96
- * double-hyphen (—), and values specified will override
97
- * previous values
98
- * @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
99
- * only generate legacy-compatible CSS in browsers that lack
100
- * native support (i.e., legacy browsers)
101
- * @param {boolean} [options.preserveStatic=true] Determines if CSS
102
- * declarations that do not reference a custom property will
103
- * be preserved in the transformed CSS
104
- * @param {boolean} [options.preserveVars=false] Determines if CSS custom
105
- * property declarations will be preserved in the transformed
106
- * CSS
107
- * @param {boolean} [options.silent=false] Determines if warning and error
108
- * messages will be displayed on the console
109
- * @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
110
- * update the DOM after processing CSS custom properties
111
- * @param {boolean} [options.updateURLs=true] Determines if the ponyfill will
112
- * convert relative url() paths to absolute urls
113
- * @param {boolean} [options.watch=false] Determines if a MutationObserver will
114
- * be created that will execute the ponyfill when a <link> or
115
- * <style> DOM mutation is observed
116
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
117
- * 1) the XHR object, 2) source node reference, and 3) the
118
- * source URL as arguments
119
- * @param {function} [options.onWarning] Callback after each CSS parsing warning
120
- * has occurred. Passes 1) a warning message as an argument.
121
- * @param {function} [options.onError] Callback after a CSS parsing error has
122
- * occurred or an XHR request has failed. Passes 1) an error
123
- * message, and 2) source node reference, 3) xhr, and 4 url as
124
- * arguments.
125
- * @param {function} [options.onSuccess] Callback after CSS data has been
126
- * collected from each node and before CSS custom properties
127
- * have been transformed. Allows modifying the CSS data before
128
- * it is transformed by returning any string value (or false
129
- * to skip). Passes 1) CSS text, 2) source node reference, and
130
- * 3) the source URL as arguments.
131
- * @param {function} [options.onComplete] Callback after all CSS has been
132
- * processed, legacy-compatible CSS has been generated, and
133
- * (optionally) the DOM has been updated. Passes 1) a CSS
134
- * string with CSS variable values resolved, 2) an array of
135
- * output <style> node references that have been appended to
136
- * the DOM, 3) an object containing all custom properies names
137
- * and values, and 4) the ponyfill execution time in
138
- * milliseconds.
139
- *
140
- * @example
141
- *
142
- * cssVars({
143
- * rootElement : document,
144
- * shadowDOM : false,
145
- * include : 'style,link[rel="stylesheet"]',
146
- * exclude : '',
147
- * variables : {},
148
- * onlyLegacy : true,
149
- * preserveStatic: true,
150
- * preserveVars : false,
151
- * silent : false,
152
- * updateDOM : true,
153
- * updateURLs : true,
154
- * watch : false,
155
- * onBeforeSend(xhr, node, url) {},
156
- * onWarning(message) {},
157
- * onError(message, node, xhr, url) {},
158
- * onSuccess(cssText, node, url) {},
159
- * onComplete(cssText, styleNode, cssVariables, benchmark) {}
160
- * });
161
- */
162
- function D(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r="cssVars(): ",o=e({},P,t);function i(t,e,n,a){!o.silent&&window.console&&console.error("".concat(r).concat(t,"\n"),e),o.onError(t,e,n,a)}function s(t){!o.silent&&window.console&&console.warn("".concat(r).concat(t)),o.onWarning(t)}if(v){if(o.watch)return o.watch=P.watch,function(t){function e(t){return"LINK"===t.tagName&&-1!==(t.getAttribute("rel")||"").indexOf("stylesheet")&&!t.disabled}if(!window.MutationObserver)return;C&&(C.disconnect(),C=null);(C=new MutationObserver((function(n){n.some((function(n){var r,a=!1;return"attributes"===n.type?a=e(n.target):"childList"===n.type&&(r=n.addedNodes,a=Array.apply(null,r).some((function(t){var n=1===t.nodeType&&t.hasAttribute("data-cssvars"),r=function(t){return"STYLE"===t.tagName&&!t.disabled}(t)&&_.cssVars.test(t.textContent);return!n&&(e(t)||r)}))||function(e){return Array.apply(null,e).some((function(e){var n=1===e.nodeType,r=n&&"out"===e.getAttribute("data-cssvars"),a=n&&"src"===e.getAttribute("data-cssvars"),o=a;if(a||r){var i=e.getAttribute("data-cssvars-group"),s=t.rootElement.querySelector('[data-cssvars-group="'.concat(i,'"]'));a&&(O(t.rootElement),M.dom={}),s&&s.parentNode.removeChild(s)}return o}))}(n.removedNodes)),a}))&&D(t)}))).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0})}(o),void D(o);if(!1===o.watch&&C&&(C.disconnect(),C=null),!o.__benchmark){if(T===o.rootElement)return void function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(k),k=setTimeout((function(){t.__benchmark=null,D(t)}),e)}(t);if(o.__benchmark=A(),o.exclude=[C?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',o.exclude].filter((function(t){return t})).join(","),o.variables=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=/^-{2}/;return Object.keys(t).reduce((function(n,r){return n[e.test(r)?r:"--".concat(r.replace(/^-+/,""))]=t[r],n}),{})}(o.variables),!C)if(Array.apply(null,o.rootElement.querySelectorAll('[data-cssvars="out"]')).forEach((function(t){var e=t.getAttribute("data-cssvars-group");(e?o.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]')):null)||t.parentNode.removeChild(t)})),S){var u=o.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])');u.length<S&&(S=u.length,M.dom={})}}if("loading"!==document.readyState)if(w&&o.onlyLegacy){if(o.updateDOM){var c=o.rootElement.host||(o.rootElement===document?document.documentElement:o.rootElement);Object.keys(o.variables).forEach((function(t){c.style.setProperty(t,o.variables[t])}))}}else!E&&(o.shadowDOM||o.rootElement.shadowRoot||o.rootElement.host)?a({rootElement:P.rootElement,include:P.include,exclude:o.exclude,onSuccess:function(t,e,n){return(t=((t=t.replace(_.cssComments,"").replace(_.cssMediaQueries,"")).match(_.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(t,e,n){h(t,{store:M.dom,onWarning:s}),E=!0,D(o)}}):(T=o.rootElement,a({rootElement:o.rootElement,include:o.include,exclude:o.exclude,onBeforeSend:o.onBeforeSend,onError:function(t,e,n){var r=t.responseURL||x(n,location.href),a=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":"");i("CSS XHR Error: ".concat(r," ").concat(t.status," ").concat(a),e,t,r)},onSuccess:function(t,e,n){var r=o.onSuccess(t,e,n);return t=void 0!==r&&!1===Boolean(r)?"":r||t,o.updateURLs&&(t=function(t,e){return(t.replace(_.cssComments,"").match(_.cssUrls)||[]).forEach((function(n){var r=n.replace(_.cssUrls,"$1"),a=x(r,e);t=t.replace(n,n.replace(r,a))})),t}(t,n)),t},onComplete:function(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u={},c=o.updateDOM?M.dom:Object.keys(M.job).length?M.job:M.job=JSON.parse(JSON.stringify(M.dom)),f=!1;if(a.forEach((function(t,e){if(_.cssVars.test(r[e]))try{var n=l(r[e],{preserveStatic:o.preserveStatic,removeComments:!0});h(n,{parseHost:Boolean(o.rootElement.host),store:u,onWarning:s}),t.__cssVars={tree:n}}catch(e){i(e.message,t)}})),o.updateDOM&&e(M.user,o.variables),e(u,o.variables),f=Boolean((document.querySelector("[data-cssvars]")||Object.keys(M.dom).length)&&Object.keys(u).some((function(t){return u[t]!==c[t]}))),e(c,M.user,u),f)O(o.rootElement),D(o);else{var d=[],g=[],y=!1;if(M.job={},o.updateDOM&&b.job++,a.forEach((function(t){var n=!t.__cssVars;if(t.__cssVars)try{m(t.__cssVars.tree,e({},o,{variables:c,onWarning:s}));var r=p(t.__cssVars.tree);if(o.updateDOM){if(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),r.length){var a=t.getAttribute("data-cssvars-group")||++b.group,u=r.replace(/\s/g,""),l=o.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(a,'"]'))||document.createElement("style");y=y||_.cssKeyframes.test(r),l.hasAttribute("data-cssvars")||l.setAttribute("data-cssvars","out"),u===t.textContent.replace(/\s/g,"")?(n=!0,l&&l.parentNode&&(t.removeAttribute("data-cssvars-group"),l.parentNode.removeChild(l))):u!==l.textContent.replace(/\s/g,"")&&([t,l].forEach((function(t){t.setAttribute("data-cssvars-job",b.job),t.setAttribute("data-cssvars-group",a)})),l.textContent=r,d.push(r),g.push(l),l.parentNode||t.parentNode.insertBefore(l,t.nextSibling))}}else t.textContent.replace(/\s/g,"")!==r&&d.push(r)}catch(e){i(e.message,t)}n&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",b.job)})),S=o.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,o.shadowDOM)for(var v,w=[o.rootElement].concat(n(o.rootElement.querySelectorAll("*"))),P=0;v=w[P];++P)if(v.shadowRoot&&v.shadowRoot.querySelector("style")){var C=e({},o,{rootElement:v.shadowRoot});D(C)}o.updateDOM&&y&&N(o.rootElement),T=!1,o.onComplete(d.join(""),g,JSON.parse(JSON.stringify(c)),A()-o.__benchmark)}}}));else document.addEventListener("DOMContentLoaded",(function e(n){D(t),document.removeEventListener("DOMContentLoaded",e)}))}}function N(t){var e=["animation-name","-moz-animation-name","-webkit-animation-name"].filter((function(t){return getComputedStyle(document.body)[t]}))[0];if(e){for(var n=t.getElementsByTagName("*"),r=[],a=0,o=n.length;a<o;a++){var i=n[a];"none"!==getComputedStyle(i)[e]&&(i.style[e]+="__CSSVARSPONYFILL-KEYFRAMES__",r.push(i))}document.body.offsetHeight;for(var s=0,u=r.length;s<u;s++){var c=r[s].style;c[e]=c[e].replace("__CSSVARSPONYFILL-KEYFRAMES__","")}}}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),a=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(a),r.href=e,a.href=t,a.href}function A(){return v&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function O(t){Array.apply(null,t.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach((function(t){return t.setAttribute("data-cssvars","")}))}if(D.reset=function(){for(var t in T=!1,C&&(C.disconnect(),C=null),S=0,k=null,E=!1,M)M[t]={}},String.prototype.startsWith||function(){var t={}.toString;Object.defineProperty(String.prototype,"startsWith",{value:function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,a=String(e),o=a.length,i=arguments.length>1?arguments[1]:void 0,s=i?Number(i):0;s!=s&&(s=0);var u=Math.min(Math.max(s,0),r);if(o+u>r)return!1;for(var c=-1;++c<o;)if(n.charCodeAt(u+c)!=a.charCodeAt(c))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.endsWith||function(){var t={}.toString;Object.defineProperty(String.prototype,"endsWith",{value:function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,a=String(e),o=a.length,i=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(i=s?Number(s):0)!=i&&(i=0)}var u=Math.min(Math.max(i,0),r),c=u-o;if(c<0)return!1;for(var l=-1;++l<o;)if(n.charCodeAt(c+l)!=a.charCodeAt(l))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.includes||function(){var t={}.toString,e="".indexOf;Object.defineProperty(String.prototype,"includes",{value:function(n){if(null==this)throw TypeError();var r=String(this);if(n&&"[object RegExp]"==t.call(n))throw TypeError();var a=r.length,o=String(n),i=o.length,s=arguments.length>1?arguments[1]:void 0,u=s?Number(s):0;u!=u&&(u=0);var c=Math.min(Math.max(u,0),a);return!(i+c>a)&&-1!=e.call(r,o,u)},configurable:!0,writable:!0})}(),String.prototype.repeat||Object.defineProperty(String.prototype,"repeat",{value:function(t){if(null==this)throw TypeError();var e=String(this),n=t?Number(t):0;if(n!=n&&(n=0),n<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=e),n>1&&(e+=e),n>>=1;return r},configurable:!0,writable:!0}),String.prototype.padStart||(String.prototype.padStart=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),e.slice(0,t)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),String(this)+e.slice(0,t))}),Object.entries||(Object.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n);n--;)r[n]=[e[n],t[e[n]]];return r}),Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");for(var e=Object(this),n=e.length>>>0,r=arguments[1],a=r>>0,o=a<0?Math.max(n+a,0):Math.min(a,n),i=arguments[2],s=void 0===i?n:i>>0,u=s<0?Math.max(n+s,0):Math.min(s,n);o<u;)e[o]=t,o++;return e}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError("predicate must be a function");for(var r=arguments[1],a=0;a<n;){var o=e[a];if(t.call(r,o,a,e))return o;a++}},configurable:!0,writable:!0}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var a,o,i=0|e,s=Math.max(i>=0?i:r-Math.abs(i),0);for(;s<r;){if((a=n[s])===(o=t)||"number"==typeof a&&"number"==typeof o&&isNaN(a)&&isNaN(o))return!0;s++}return!1}}),Map.prototype.keys||(Map.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),t}),Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.isNaN=Number.isNaN||window.isNaN,Number.parseInt=Number.parseInt||window.parseInt,Element&&!Element.prototype.matches){var L=Element.prototype;L.matches=L.matchesSelector||L.mozMatchesSelector||L.msMatchesSelector||L.oMatchesSelector||L.webkitMatchesSelector}if(Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),!window.WeakSet){var U=function(t){this.name="__st"+(1e9*Math.random()>>>0)+F+++"__",t&&t.forEach&&t.forEach(this.add,this)},F=Date.now()%1e9,R=U.prototype;R.add=function(t){var e=this.name;return t[e]||Object.defineProperty(t,e,{value:!0,writable:!0}),this},R.delete=function(t){return!!t[this.name]&&(t[this.name]=void 0,!0)},R.has=function(t){return!!t[this.name]},window.WeakSet=U}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e,n,r,a,o,i){try{var s=t[o](i),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,a)}function H(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(t){j(o,r,a,i,s,"next",t)}function s(t){j(o,r,a,i,s,"throw",t)}i(void 0)}))}}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function V(t,e,n){return e&&z(t.prototype,e),n&&z(t,n),t}function B(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Y(t,e)}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Y(t,e){return(Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function J(t,e,n){return(J=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var a=new(Function.bind.apply(t,r));return n&&Y(a,n.prototype),a}).apply(null,arguments)}function G(t){var e="function"==typeof Map?new Map:void 0;return(G=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return J(t,arguments,q(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Y(r,t)})(t)}function $(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Q(t,e,n){return(Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=q(t)););return t}(t,e);if(r){var a=Object.getOwnPropertyDescriptor(r,e);return a.get?a.get.call(n):a.value}})(t,e,n||t)}function Z(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function K(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){a=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function X(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}window.fetch||(window.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var a=new XMLHttpRequest;for(var o in a.open(e.method||"get",t,!0),e.headers)a.setRequestHeader(o,e.headers[o]);function i(){var t,e=[],n=[],r={};return a.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(a,o,i){e.push(o=o.toLowerCase()),n.push([o,i]),r[o]=(t=r[o])?t+","+i:i})),{ok:2==(a.status/100|0),status:a.status,statusText:a.statusText,url:a.responseURL,clone:i,text:function(){return Promise.resolve(a.responseText)},json:function(){return Promise.resolve(a.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([a.response]))},headers:{keys:function(){return e},entries:function(){return n},get:function(t){return r[t.toLowerCase()]},has:function(t){return t.toLowerCase()in r}}}}a.withCredentials="include"==e.credentials,a.onload=function(){n(i())},a.onerror=r,a.send(e.body||null)}))}),function(t){var e,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag",u="object"===("undefined"==typeof module?"undefined":I(module)),c=t.regeneratorRuntime;if(c)u&&(module.exports=c);else{(c=t.regeneratorRuntime=u?module.exports:{}).wrap=w;var l="suspendedStart",h="suspendedYield",p="executing",f="completed",d={},m={};m[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(N([])));y&&y!==n&&r.call(y,o)&&(m=y);var v=M.prototype=P.prototype=Object.create(m);_.prototype=v.constructor=M,M.constructor=_,M[s]=_.displayName="GeneratorFunction",c.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,M):(t.__proto__=M,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(v),t},c.awrap=function(t){return{__await:t}},T(C.prototype),C.prototype[i]=function(){return this},c.AsyncIterator=C,c.async=function(t,e,n,r){var a=new C(w(t,e,n,r));return c.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(v),v[s]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=N,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return s.type="throw",s.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:N(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),d}}}function w(t,e,n,r){var a=e&&e.prototype instanceof P?e:P,o=Object.create(a.prototype),i=new D(r||[]);return o._invoke=function(t,e,n){var r=l;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===a)throw o;return x()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=S(i,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=b(t,e,n);if("normal"===u.type){if(r=n.done?f:h,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=f,n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function P(){}function _(){}function M(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function C(t){var e;this._invoke=function(n,a){function o(){return new Promise((function(e,o){!function e(n,a,o,i){var s=b(t[n],t,a);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"===I(c)&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(t){e("next",t,o,i)}),(function(t){e("throw",t,o,i)})):Promise.resolve(c).then((function(t){u.value=t,o(u)}),(function(t){return e("throw",t,o,i)}))}i(s.arg)}(n,a,e,o)}))}return e=e?e.then(o,o):o()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var a=b(r,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,d;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function N(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:x}}function x(){return{value:e,done:!0}}}(function(){return this||"object"===("undefined"==typeof self?"undefined":I(self))&&self}()||Function("return this")()),
163
- /**
164
- *
165
- *
166
- * @author Jerry Bendy <jerry@icewingcc.com>
167
- * @licence MIT
168
- *
169
- */
170
- function(t){var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),a=n&&"+"===new n("s=%2B").get("s"),o="__URLSearchParams__",i=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),s=h.prototype,u=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&a&&i)){s.append=function(t,e){g(this[o],t,e)},s.delete=function(t){delete this[o][t]},s.get=function(t){var e=this[o];return t in e?e[t][0]:null},s.getAll=function(t){var e=this[o];return t in e?e[t].slice(0):[]},s.has=function(t){return t in this[o]},s.set=function(t,e){this[o][t]=[""+e]},s.toString=function(){var t,e,n,r,a=this[o],i=[];for(e in a)for(n=p(e),t=0,r=a[e];t<r.length;t++)i.push(n+"="+p(r[t]));return i.join("&")};var c=!!a&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:c?new Proxy(n,{construct:function(t,e){return new t(new h(e[0]).toString())}}):h});var l=t.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(t,e){var n=m(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){t.call(e,n,r,this)}),this)}),this)},l.sort=l.sort||function(){var t,e,n,r=m(this.toString()),a=[];for(t in r)a.push(t);for(a.sort(),e=0;e<a.length;e++)this.delete(a[e]);for(e=0;e<a.length;e++){var o=a[e],i=r[o];for(n=0;n<i.length;n++)this.append(o,i[n])}},l.keys=l.keys||function(){var t=[];return this.forEach((function(e,n){t.push(n)})),d(t)},l.values=l.values||function(){var t=[];return this.forEach((function(e){t.push(e)})),d(t)},l.entries=l.entries||function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),d(t)},u&&(l[t.Symbol.iterator]=l[t.Symbol.iterator]||l.entries)}function h(t){((t=t||"")instanceof URLSearchParams||t instanceof h)&&(t=t.toString()),this[o]=m(t)}function p(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function f(t){return decodeURIComponent(t.replace(/\+/g," "))}function d(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 m(t){var e={};if("object"===I(t))for(var n in t)t.hasOwnProperty(n)&&g(e,n,t[n]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var r=t.split("&"),a=0;a<r.length;a++){var o=r[a],i=o.indexOf("=");-1<i?g(e,f(o.slice(0,i)),f(o.slice(i+1))):o&&g(e,f(o),"")}}return e}function g(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);!function(){if(window.ShadyDOM){var t=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get:function(){return t.get.apply(this)},set:function(e){t.set.apply(this,arguments);var n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})}}(),window.CSSVarsPonyfill={cssVars:D};var tt=function(t){var e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null},et=/^((?:[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,nt=function(){function t(e){W(this,t);var n=et.exec(e.replace(/_/g,"-"));if(null===n)throw new Error("The given language ".concat(e," does not adhere to BCP-47."));this.sLocaleId=e,this.sLanguage=n[1]||null,this.sScript=n[2]||null,this.sRegion=n[3]||null,this.sVariant=n[4]&&n[4].slice(1)||null,this.sExtension=n[5]&&n[5].slice(1)||null,this.sPrivateUse=n[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())}return V(t,[{key:"getLanguage",value:function(){return this.sLanguage}},{key:"getScript",value:function(){return this.sScript}},{key:"getRegion",value:function(){return this.sRegion}},{key:"getVariant",value:function(){return this.sVariant}},{key:"getVariantSubtags",value:function(){return this.sVariant?this.sVariant.split("-"):[]}},{key:"getExtension",value:function(){return this.sExtension}},{key:"getExtensionSubtags",value:function(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}},{key:"getPrivateUse",value:function(){return this.sPrivateUse}},{key:"getPrivateUseSubtags",value:function(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}},{key:"hasPrivateUseSubtag",value:function(t){return this.getPrivateUseSubtags().indexOf(t)>=0}},{key:"toString",value: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("-")}}],[{key:"_cldrLocales",get:function(){return tt("$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$")}},{key:"_coreI18nLocales",get:function(){return tt("$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$")}}]),t}(),rt=function(){var t=navigator.languages;return t&&t[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||"en"},at={},ot=at.hasOwnProperty,it=at.toString,st=ot.toString,ut=st.call(Object),ct=function(t){var e,n;return!(!t||"[object Object]"!==it.call(t))&&(!(e=Object.getPrototypeOf(t))||"function"==typeof(n=ot.call(e,"constructor")&&e.constructor)&&st.call(n)===ut)},lt=Object.create(null),ht=function t(){var e,n,r,a,o,i,s=arguments[2]||{},u=3,c=arguments.length,l=arguments[0]||!1,h=arguments[1]?void 0:lt;for("object"!==I(s)&&"function"!=typeof s&&(s={});u<c;u++)if(null!=(o=arguments[u]))for(a in o)e=s[a],r=o[a],"__proto__"!==a&&s!==r&&(l&&r&&(ct(r)||(n=Array.isArray(r)))?(n?(n=!1,i=e&&Array.isArray(e)?e:[]):i=e&&ct(e)?e:{},s[a]=t(l,arguments[1],i,r)):r!==h&&(s[a]=r));return s},pt=function(){var t=[!0,!1];return t.push.apply(t,arguments),ht.apply(null,t)},ft=new Map,dt=function(t){return ft.get(t)},mt=!1,gt={animationMode:"full",theme:"sap_fiori_3",rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{}},yt=new Map;yt.set("true",!0),yt.set("false",!1);var vt,wt,bt,Pt=function(){mt||(!function(){var t,e=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");if(e){try{t=JSON.parse(e.innerHTML)}catch(t){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}t&&(gt=pt(gt,t))}}(),new URLSearchParams(window.location.search).forEach((function(t,e){if(e.startsWith("sap-ui")){var n=t.toLowerCase(),r=e.split("sap-ui-")[1];yt.has(t)&&(t=yt.get(n)),gt[r]=t}})),function(){var t=dt("OpenUI5Support");if(t&&t.isLoaded()){var e=t.getConfigurationSettingsObject();gt=pt(gt,e)}}(),mt=!0)},_t=function(){return void 0===vt&&(Pt(),vt=gt.language),vt},Mt=function(){return _t()?new nt(_t()):function(t){try{if(t&&"string"==typeof t)return new nt(t)}catch(t){}}(rt())},Tt={},Ct=Object.freeze({__proto__:null,setConfiguration:function(t){},getFormatLocale:function(){return Mt()},getLegacyDateFormat:function(){},getLegacyDateCalendarCustomizing:function(){},getCustomLocaleData:function(){return Tt}}),St={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"},kt=function(){if(void 0===wt&&(Pt(),wt=gt.calendarType),wt){var t=Object.keys(St).find((function(t){return t===wt}));if(t)return t}return St.Gregorian},Et=function(){return void 0===bt&&(Pt(),bt=gt.formatSettings),bt.firstDayOfWeek},Dt={getLanguage:_t,getCalendarType:kt,getFirstDayOfWeek:Et,getSupportedLanguages:function(){return tt("$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:function(){},getFormatSettings:function(){return Ct}},Nt={getConfiguration:function(){return Dt},getLibraryResourceBundle:function(){},getFormatSettings:function(){return Ct}};window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},window.sap.ui.getWCCore=function(){return Nt};var xt=new Map,At=new Map,Ot=function(){var t=H(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return xt.get(e)||xt.set(e,fetch(e)),t.next=3,xt.get(e);case 3:return n=t.sent,At.get(e)||At.set(e,n.json()),t.abrupt("return",At.get(e));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Lt=new Map;window.sap=window.sap||{},window.sap.ui=window.sap.ui||{},sap.ui.loader=sap.ui.loader||{},sap.ui.loader._=sap.ui.loader._||{};var Ut=sap.ui.loader._.getModuleContent;sap.ui.loader._.getModuleContent=function(t,e){var n=Lt.get(t)||Lt.get(e);if(n)return n;if(Ut)return Ut(t,e);var r=t.match(/sap\/ui\/core\/cldr\/(\w+)\.json/);if(r)throw new Error("CLDR data for locale ".concat(r[1]," is not loaded!"));return""};dt("OpenUI5Support");var Ft,Rt=new Map,It=new Map,jt=new Set,Ht=new Set,Wt=function(t,e,n){n._?It.set("".concat(t,"_").concat(e),n._):n.includes(":root")?It.set("".concat(t,"_").concat(e),n):Rt.set("".concat(t,"_").concat(e),n),jt.add(t),Ht.add(e)},zt=function(){var t=H(regeneratorRuntime.mark((function t(e,n){var r,a,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=It.get("".concat(e,"_").concat(n)))){t.next=3;break}return t.abrupt("return",r);case 3:if(Ht.has(n)){t.next=7;break}return a=X(Ht.values()).join(", "),console.warn("You have requested a non-registered theme - falling back to sap_fiori_3. Registered themes are: ".concat(a)),t.abrupt("return",It.get("".concat(e,"_sap_fiori_3")));case 7:return t.next=9,Vt(e,n);case 9:return o=t.sent,It.set("".concat(e,"_").concat(n),o._),t.abrupt("return",o._);case 12:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Vt=function(){var t=H(regeneratorRuntime.mark((function t(e,n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Rt.get("".concat(e,"_").concat(n))){t.next=3;break}throw new Error("You have to import the ".concat(e,"/dist/Assets.js module to switch to additional themes"));case 3:return t.abrupt("return",Ot(r));case 4:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),Bt=function(){return jt},qt=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 Ft?r.getInterface():r}}if(Ft=Ft||sap.ui.requireSync("sap/ui/base/Object"),!e)return{};for(var a,o=0,i=e.length;o<i;o++)t[a=e[o]]&&"function"!=typeof t[a]||(this[a]=r(t,a))},Yt={},Jt=window;function Gt(t){return Array.isArray(t)?t:t.split(".")}Yt.create=function(t,e){for(var n=e||Jt,r=Gt(t),a=0;a<r.length;a++){var o=r[a];if(null===n[o]||void 0!==n[o]&&"object"!==I(n[o])&&"function"!=typeof n[o])throw new Error("Could not set object-path for '"+r.join(".")+"', path segment '"+o+"' already exists.");n[o]=n[o]||{},n=n[o]}return n},Yt.get=function(t,e){for(var n=e||Jt,r=Gt(t),a=r.pop(),o=0;o<r.length&&n;o++)n=n[r[o]];return n?n[a]:void 0},Yt.set=function(t,e,n){n=n||Jt;var r=Gt(t),a=r.pop();Yt.create(r,n)[a]=e};var $t,Qt,Zt="undefined"!=typeof window&&window.performance&&performance.now&&performance.timing?($t=performance.timing.navigationStart,function(){return $t+performance.now()}):Date.now,Kt={Level:{NONE:-1,FATAL:0,ERROR:1,WARNING:2,INFO:3,DEBUG:4,TRACE:5,ALL:6}},Xt=[],te={"":Kt.Level.ERROR},ee=3e3,ne=null,re=!1;function ae(t,e){return("000"+String(t)).slice(-e)}function oe(t){return!t||isNaN(te[t])?te[""]:te[t]}function ie(){var t=Xt.length;if(t){var e=Math.min(t,Math.floor(.7*ee));ne&&ne.onDiscardLogEntries(Xt.slice(0,t-e)),Xt=e?Xt.slice(-e,t):[]}}function se(){return ne||(ne={listeners:[],onLogEntry:function(t){for(var e=0;e<ne.listeners.length;e++)ne.listeners[e].onLogEntry&&ne.listeners[e].onLogEntry(t)},onDiscardLogEntries:function(t){for(var e=0;e<ne.listeners.length;e++)ne.listeners[e].onDiscardLogEntries&&ne.listeners[e].onDiscardLogEntries(t)},attach:function(t,e){e&&(ne.listeners.push(e),e.onAttachToLog&&e.onAttachToLog(t))},detach:function(t,e){for(var n=0;n<ne.listeners.length;n++)if(ne.listeners[n]===e)return e.onDetachFromLog&&e.onDetachFromLog(t),void ne.listeners.splice(n,1)}}),ne}function ue(t,e,n,r,a){if(a||r||"function"!=typeof n||(a=n,n=""),a||"function"!=typeof r||(a=r,r=""),t<=oe(r=r||Qt)){var o=Zt(),i=new Date(o),s=Math.floor(1e3*(o-Math.floor(o))),u={time:ae(i.getHours(),2)+":"+ae(i.getMinutes(),2)+":"+ae(i.getSeconds(),2)+"."+ae(i.getMilliseconds(),3)+ae(s,3),date:ae(i.getFullYear(),4)+"-"+ae(i.getMonth()+1,2)+"-"+ae(i.getDate(),2),timestamp:o,level:t,message:String(e||""),details:String(n||""),component:String(r||"")};if(re&&"function"==typeof a&&(u.supportInfo=a()),ee&&(Xt.length>=ee&&ie(),Xt.push(u)),ne&&ne.onLogEntry(u),console){var c=n instanceof Error,l=u.date+" "+u.time+" "+u.message+" - "+u.details+" "+u.component;switch(t){case Kt.Level.FATAL:case Kt.Level.ERROR:c?console.error(l,"\n",n):console.error(l);break;case Kt.Level.WARNING:c?console.warn(l,"\n",n):console.warn(l);break;case Kt.Level.INFO:console.info?c?console.info(l,"\n",n):console.info(l):c?console.log(l,"\n",n):console.log(l);break;case Kt.Level.DEBUG:console.debug?c?console.debug(l,"\n",n):console.debug(l):c?console.log(l,"\n",n):console.log(l);break;case Kt.Level.TRACE:console.trace?c?console.trace(l,"\n",n):console.trace(l):c?console.log(l,"\n",n):console.log(l)}console.info&&u.supportInfo&&console.info(u.supportInfo)}return u}}function ce(t){this.fatal=function(e,n,r,a){return Kt.fatal(e,n,r||t,a),this},this.error=function(e,n,r,a){return Kt.error(e,n,r||t,a),this},this.warning=function(e,n,r,a){return Kt.warning(e,n,r||t,a),this},this.info=function(e,n,r,a){return Kt.info(e,n,r||t,a),this},this.debug=function(e,n,r,a){return Kt.debug(e,n,r||t,a),this},this.trace=function(e,n,r,a){return Kt.trace(e,n,r||t,a),this},this.setLevel=function(e,n){return Kt.setLevel(e,n||t),this},this.getLevel=function(e){return Kt.getLevel(e||t)},this.isLoggable=function(e,n){return Kt.isLoggable(e,n||t)}}Kt.fatal=function(t,e,n,r){ue(Kt.Level.FATAL,t,e,n,r)},Kt.error=function(t,e,n,r){ue(Kt.Level.ERROR,t,e,n,r)},Kt.warning=function(t,e,n,r){ue(Kt.Level.WARNING,t,e,n,r)},Kt.info=function(t,e,n,r){ue(Kt.Level.INFO,t,e,n,r)},Kt.debug=function(t,e,n,r){ue(Kt.Level.DEBUG,t,e,n,r)},Kt.trace=function(t,e,n,r){ue(Kt.Level.TRACE,t,e,n,r)},Kt.setLevel=function(t,e,n){var r;(e=e||Qt||"",n&&null!=te[e])||(te[e]=t,Object.keys(Kt.Level).forEach((function(e){Kt.Level[e]===t&&(r=e)})),ue(Kt.Level.INFO,"Changing log level "+(e?"for '"+e+"' ":"")+"to "+r,"","sap.base.log"))},Kt.getLevel=function(t){return oe(t||Qt)},Kt.isLoggable=function(t,e){return(null==t?Kt.Level.DEBUG:t)<=oe(e||Qt)},Kt.logSupportInfo=function(t){re=t},Kt.getLogEntries=function(){return Xt.slice()},Kt.getLogEntriesLimit=function(){return ee},Kt.setLogEntriesLimit=function(t){if(t<0)throw new Error("The log entries limit needs to be greater than or equal to 0!");ee=t,Xt.length>=ee&&ie()},Kt.addLogListener=function(t){se().attach(this,t)},Kt.removeLogListener=function(t){se().detach(this,t)},Kt.getLogger=function(t,e){return isNaN(e)||null!=te[t]||(te[t]=e),new ce(t)};var le=function(t,e){if(!t){var n="function"==typeof e?e():e;console&&console.assert?console.assert(t,n):Kt.debug("[Assertions] "+n)}},he=function(t){le(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},pe=function(t,e){if(le("string"==typeof t&&t,"Metadata: sClassName must be a non-empty string"),le("object"===I(e),"Metadata: oClassInfo must be empty or an object"),e&&"object"===I(e.metadata)||((e={metadata:e||{},constructor:Yt.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)};pe.prototype.extend=function(t){this.applySettings(t),this.afterApplySettings()},pe.prototype.applySettings=function(t){var e,n=t.metadata;if(n.baseType){var r=Yt.get(n.baseType);"function"!=typeof r&&Kt.fatal("base class '"+n.baseType+"' does not exist"),r.getMetadata?(this._oParent=r.getMetadata(),le(r===r.getMetadata().getClass(),"Metadata: oParentClass must match the class in the parent metadata")):this._oParent=new pe(n.baseType,{})}else this._oParent=void 0;for(var a 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"!==a&&"constructor"!==a&&(e[a]=t[a],a.match(/^_|^on|^init$|^exit$/)||this._aPublicMethods.push(a))},pe.prototype.afterApplySettings=function(){this._oParent?(this._aAllPublicMethods=this._oParent._aAllPublicMethods.concat(this._aPublicMethods),this._bInterfacesUnique=!1):this._aAllPublicMethods=this._aPublicMethods},pe.prototype.getStereotype=function(){return this._sStereotype},pe.prototype.getName=function(){return this._sClassName},pe.prototype.getClass=function(){return this._oClass},pe.prototype.getParent=function(){return this._oParent},pe.prototype._dedupInterfaces=function(){this._bInterfacesUnique||(he(this._aInterfaces),he(this._aPublicMethods),he(this._aAllPublicMethods),this._bInterfacesUnique=!0)},pe.prototype.getPublicMethods=function(){return this._dedupInterfaces(),this._aPublicMethods},pe.prototype.getAllPublicMethods=function(){return this._dedupInterfaces(),this._aAllPublicMethods},pe.prototype.getInterfaces=function(){return this._dedupInterfaces(),this._aInterfaces},pe.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(pe.prototype,"_mImplementedTypes",{get:function(){if(this===pe.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}),pe.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},pe.prototype.isAbstract=function(){return this._bAbstract},pe.prototype.isFinal=function(){return this._bFinal},pe.prototype.isDeprecated=function(){return this._bDeprecated},pe.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},pe.createClass=function(t,e,n,r){"string"==typeof t&&(r=n,n=e,e=t,t=null),le(!t||"function"==typeof t),le("string"==typeof e&&!!e),le(!n||"object"===I(n)),le(!r||"function"==typeof r),"function"==typeof(r=r||pe).preprocessClassInfo&&(n=r.preprocessClassInfo(n)),(n=n||{}).metadata=n.metadata||{},n.hasOwnProperty("constructor")||(n.constructor=void 0);var a=n.constructor;le(!a||"function"==typeof a),t?(a||(a=n.metadata.deprecated?function(){Kt.warning("Usage of deprecated class: "+e),t.apply(this,arguments)}:function(){t.apply(this,arguments)}),a.prototype=Object.create(t.prototype),a.prototype.constructor=a,n.metadata.baseType=t.getMetadata().getName()):(a=a||function(){},delete n.metadata.baseType),n.constructor=a,Yt.set(e,a);var o=new r(e,n);return a.getMetadata=a.prototype.getMetadata=function(){return o},a.getMetadata().isFinal()||(a.extend=function(t,e,n){return pe.createClass(a,t,e,n||r)}),a};var fe=pe.createClass("sap.ui.base.Object",{constructor:function(){if(!(this instanceof fe))throw Error('Cannot instantiate object: "new" is missing!')}});fe.prototype.destroy=function(){},fe.prototype.getInterface=function(){var t=new qt(this,this.getMetadata().getAllPublicMethods());return this.getInterface=function(){return t},t},fe.defineClass=function(t,e,n){var r=new(n||pe)(t,e),a=r.getClass();return a.getMetadata=a.prototype.getMetadata=function(){return r},r.isFinal()||(a.extend=function(t,e,r){return pe.createClass(a,t,e,r||n)}),Kt.debug("defined class '"+t+"'"+(r.getParent()?" as subclass of "+r.getParent().getName():"")),r},fe.prototype.isA=function(t){return this.getMetadata().isA(t)},fe.isA=function(t,e){return t instanceof fe&&t.isA(e)};var de=function(){var t=[!1,!0];return t.push.apply(t,arguments),ht.apply(null,t)},me=/^((?:[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,ge=fe.extend("sap.ui.core.Locale",{constructor:function(t){fe.apply(this);var e=me.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 le(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=ye[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()}}),ye={iw:"he",ji:"yi",in:"id",sh:"sr"};function ve(t){var e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(t);return e&&e[2]?e[2].split(/,/):null}var we=ve("$cldr-rtl-locales:ar,fa,he$")||[];ge._cldrLocales=ve("$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$"),ge._coreI18nLocales=ve("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,kk,ko,lt,lv,ms,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),ge._impliesRTL=function(t){var e=t instanceof ge?t:new ge(t),n=e.getLanguage()||"";n=n&&ye[n]||n;var r=e.getRegion()||"";return!!(r&&we.indexOf(n+"_"+r)>=0)||we.indexOf(n)>=0};var be={loadResource:function(t){return sap.ui.loader._.getModuleContent(t)}},Pe=fe.extend("sap.ui.core.LocaleData",{constructor:function(t){this.oLocale=t,fe.apply(this),this.mData=function(t){var e,n=t.getLanguage()||"",r=t.getScript()||"",a=t.getRegion()||"";function o(t){if(!(ke[t]||Se&&!0!==Se[t])){var e=ke[t]=be.loadResource("sap/ui/core/cldr/"+t+".json",{dataType:"json",failOnError:!1});e&&e.__fallbackLocale&&(!function t(e,n){var r,a,o;if(n)for(r in n)n.hasOwnProperty(r)&&(a=e[r],o=n[r],void 0===a?e[r]=o:null===a?delete e[r]:"object"===I(a)&&"object"===I(o)&&t(a,o))}(e,o(e.__fallbackLocale)),delete e.__fallbackLocale)}return ke[t]}"no"===(n=n&&Ce[n]||n)&&(n="nb");"zh"!==n||a||("Hans"===r?a="CN":"Hant"===r&&(a="TW"));var i=n+"_"+a;n&&a&&(e=o(i));!e&&n&&(e=o(n));return ke[i]=e||Te,ke[i]}(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 le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"months","format",t)},getMonthsStandAlone:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"months","stand-alone",t)},getDays:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviate, wide or short"),this._get(Ee(e),"days","format",t)},getDaysStandAlone:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t||"short"==t,"sWidth must be narrow, abbreviated, wide or short"),this._get(Ee(e),"days","stand-alone",t)},getQuarters:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"quarters","format",t)},getQuartersStandAlone:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"quarters","stand-alone",t)},getDayPeriods:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"dayPeriods","format",t)},getDayPeriodsStandAlone:function(t,e){return le("narrow"==t||"abbreviated"==t||"wide"==t,"sWidth must be narrow, abbreviated or wide"),this._get(Ee(e),"dayPeriods","stand-alone",t)},getDatePattern:function(t,e){return le("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Ee(e),"dateFormats",t)},getTimePattern:function(t,e){return le("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Ee(e),"timeFormats",t)},getDateTimePattern:function(t,e){return le("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),this._get(Ee(e),"dateTimeFormats",t)},getCombinedDateTimePattern:function(t,e,n){le("short"==t||"medium"==t||"long"==t||"full"==t,"sStyle must be short, medium, long or full"),le("short"==e||"medium"==e||"long"==e||"full"==e,"sStyle must be short, medium, long or full");var r=this.getDateTimePattern(t,n),a=this.getDatePattern(t,n),o=this.getTimePattern(e,n);return r.replace("{0}",o).replace("{1}",a)},getCustomDateTimePattern:function(t,e){var n=this._get(Ee(e),"dateTimeFormats","availableFormats");return this._getFormatPattern(t,n,e)},getIntervalPattern:function(t,e){var n,r,a,o,i,s=this._get(Ee(e),"dateTimeFormats","intervalFormats");return t&&(r=(n=t.split("-"))[0],a=n[1],(o=s[r])&&(i=o[a]))?i:s.intervalFormatFallback},getCombinedIntervalPattern:function(t,e){return this._get(Ee(e),"dateTimeFormats","intervalFormats").intervalFormatFallback.replace(/\{(0|1)\}/g,t)},getCustomIntervalPattern:function(t,e,n){var r=this._get(Ee(n),"dateTimeFormats","intervalFormats");return this._getFormatPattern(t,r,n,e)},_getFormatPattern:function(t,e,n,r){var a,o,i;if(r?"string"==typeof r&&("j"!=r&&"J"!=r||(r=this.getPreferredHourSymbol()),i=e[t],a=i&&i[r]):a=e[t],a){if("object"!==I(a))return a;o=Object.keys(a).map((function(t){return a[t]}))}return o||(o=this._createFormatPattern(t,e,n,r)),o&&1===o.length?o[0]:o},_createFormatPattern:function(t,e,n,r){var a,o,i,s,u,c,l,h,p,f,d,m=this._parseSkeletonFormat(t),g=this._findBestMatch(m,t,e),y=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/;if(r){if("string"==typeof r)(p=Me[r]?Me[r].group:"")&&(f=_e[p].index>m[m.length-1].index),h=r;else{for(f=!0,"y"===m[0].symbol&&g&&g.pattern.G&&(s=Me.G,u=_e[s.group],m.splice(0,0,{symbol:"G",group:s.group,match:s.match,index:u.index,field:u.field,length:1})),d=m.length-1;d>=0;d--)if(r[(o=m[d]).group]){f=!1;break}for(d=0;d<m.length;d++)if(r[(o=m[d]).group]){h=o.symbol;break}"h"!=h&&"K"!=h||!r.DayPeriod||(h="a")}if(f)return[this.getCustomDateTimePattern(t,n)];g&&0===g.missingTokens.length&&(c=g.pattern[h])&&g.distance>0&&(c=this._expandFields(c,g.patternTokens,m)),c||(i=this._get(Ee(n),"dateTimeFormats","availableFormats"),y.test(t)&&"ahHkKjJms".indexOf(h)>=0?c=this._getMixedFormatPattern(t,i,n,r):(l=this._getFormatPattern(t,i,n),c=this.getCombinedIntervalPattern(l,n))),a=[c]}else if(g){if("string"==typeof g.pattern)a=[g.pattern];else if("object"===I(g.pattern))for(var v in a=[],g.pattern)c=g.pattern[v],a.push(c);g.distance>0&&(g.missingTokens.length>0?y.test(t)?a=[this._getMixedFormatPattern(t,e,n)]:(a=this._expandFields(a,g.patternTokens,m),a=this._appendItems(a,g.missingTokens,n)):a=this._expandFields(a,g.patternTokens,m))}else a=[c=t];return t.indexOf("J")>=0&&a.forEach((function(t,e){a[e]=t.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"")})),a},_parseSkeletonFormat:function(t){for(var e,n,r,a=[],o={index:-1},i=0;i<t.length;i++)if("j"!=(e=t.charAt(i))&&"J"!=e||(e=this.getPreferredHourSymbol()),e!=o.symbol){if(n=Me[e],r=_e[n.group],"Other"==n.group||r.diffOnly)throw new Error("Symbol '"+e+"' is not allowed in skeleton format '"+t+"'");if(r.index<=o.index)throw new Error("Symbol '"+e+"' at wrong position or duplicate in skeleton format '"+t+"'");o={symbol:e,group:n.group,match:n.match,index:r.index,field:r.field,length:1},a.push(o)}else o.length++;return a},_findBestMatch:function(t,e,n){var r,a,o,i,s,u,c,l,h,p,f={distance:1e4,firstDiffPos:-1};for(var d in n)if(!("intervalFormatFallback"===d||d.indexOf("B")>-1||(r=this._parseSkeletonFormat(d),u=0,a=[],c=!0,t.length<r.length))){s=0,l=t.length;for(var m=0;m<t.length;m++){if(o=t[m],i=r[s],l===t.length&&(l=m),i){if(h=Me[o.symbol],p=Me[i.symbol],o.symbol===i.symbol){o.length===i.length?l===m&&(l=t.length):(o.length<h.numericCeiling?i.length<p.numericCeiling:i.length>=p.numericCeiling)?u+=Math.abs(o.length-i.length):u+=5,s++;continue}if(o.match==i.match){u+=Math.abs(o.length-i.length)+10,s++;continue}}a.push(o),u+=50-m}s<r.length&&(c=!1),c&&(u<f.distance||u===f.distance&&l>f.firstDiffPos)&&(f.distance=u,f.firstDiffPos=l,f.missingTokens=a,f.pattern=n[d],f.patternTokens=r)}if(f.pattern)return f},_expandFields:function(t,e,n){var r="string"==typeof t,a=(r?[t]:t).map((function(t){var r,a,o,i,s,u,c,l,h={},p={},f="",d=!1,m=0;for(n.forEach((function(t){h[t.group]=t})),e.forEach((function(t){p[t.group]=t}));m<t.length;){if(l=t.charAt(m),d)f+=l,"'"==l&&(d=!1);else if((c=Me[l])&&h[c.group]&&p[c.group]){for(s=h[c.group],u=p[c.group],r=s.length,o=u.length,a=1;t.charAt(m+1)==l;)m++,a++;i=r===o||(r<c.numericCeiling?a>=c.numericCeiling:a<c.numericCeiling)?a:Math.max(a,r);for(var g=0;g<i;g++)f+=l}else f+=l,"'"==l&&(d=!0);m++}return f}));return r?a[0]:a},_appendItems:function(t,e,n){var r=this._get(Ee(n),"dateTimeFormats","appendItems");return t.forEach(function(n,a){var o,i,s;e.forEach(function(e){i=r[e.group],o="'"+this.getDisplayName(e.field)+"'",s="";for(var u=0;u<e.length;u++)s+=e.symbol;t[a]=i.replace(/\{0\}/,n).replace(/\{1\}/,s).replace(/\{2\}/,o)}.bind(this))}.bind(this)),t},_getMixedFormatPattern:function(t,e,n,r){var a,o,i,s,u,c;return o=(a=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/.exec(t))[1],i=a[2],u=this._getFormatPattern(o,e,n),c=r?this.getCustomIntervalPattern(i,r,n):this._getFormatPattern(i,e,n),s=/MMMM|LLLL/.test(o)?/E|e|c/.test(o)?"full":"long":/MMM|LLL/.test(o)?"medium":"short",this.getDateTimePattern(s,n).replace(/\{1\}/,u).replace(/\{0\}/,c)},getNumberSymbol:function(t){return le("decimal"==t||"group"==t||"plusSign"==t||"minusSign"==t||"percentSign"==t,"sType must be decimal, group, plusSign, minusSign or percentSign"),this._get("symbols-latn-"+t)},getLenientNumberSymbols:function(t){return le("plusSign"==t||"minusSign"==t,"sType must be plusSign or minusSign"),this._get("lenient-scope-number")[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},getMiscPattern:function(t){return le("approximately"==t||"atLeast"==t||"atMost"==t||"range"==t,"sName must be approximately, atLeast, atMost or range"),this._get("miscPattern")[t]},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")},getCustomCurrencyCodes:function(){var t=this._get("currency")||{},e={};return Object.keys(t).forEach((function(t){e[t]=t})),e},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.getCurrencySymbols();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},getCurrencySymbols:function(){var t,e=this._get("currency"),n={};for(var r in e)t=e[r].isoCode,e[r].symbol?n[r]=e[r].symbol:t&&(n[r]=this._get("currencySymbols")[t]);return Object.assign({},this._get("currencySymbols"),n)},getUnitDisplayName:function(t){var e=this.getUnitFormat(t);return e&&e.displayName||""},getRelativePatterns:function(t,e){void 0===e&&(e="wide"),le("wide"===e||"short"===e||"narrow"===e,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var n,r,a,o,i=[],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-")?(a=parseInt(u.substr(14)),i.push({scale:t,value:a,pattern:n[u]})):0==u.indexOf("relativeTime-type-")&&(r=n[u],o="past"===u.substr(18)?-1:1,s.forEach((function(e){i.push({scale:t,sign:o,pattern:r["relativeTimePattern-count-"+e]})})))}.bind(this)),i},getRelativePattern:function(t,e,n,r){var a,o;return"string"==typeof n&&(r=n,n=void 0),void 0===n&&(n=e>0),void 0===r&&(r="wide"),le("wide"===r||"short"===r||"narrow"===r,"sStyle is only allowed to be set with 'wide', 'short' or 'narrow'"),o=t+"-"+r,0!==e&&-2!==e&&2!==e||(a=this._get("dateFields",o,"relative-type-"+e)),a||(a=this._get("dateFields",o,"relativeTime-type-"+(n?"future":"past"))["relativeTimePattern-count-"+this.getPluralCategory(Math.abs(e).toString())]),a},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){le("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"),le("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,a;switch(t){case"long":a=this._get("decimalFormat-long");break;default:a=this._get("decimalFormat-short")}if(a){var o=e+"-"+n;(r=a[o])||(r=a[o=e+"-other"])}return r},getCurrencyFormat:function(t,e,n){var r,a=this._get("currencyFormat-"+t);if(!a){if("sap-short"===t)throw new Error('Failed to get CLDR data for property "currencyFormat-sap-short"');a=this._get("currencyFormat-short")}if(a){var o=e+"-"+n;(r=a[o])||(r=a[o=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){le("wide"==t||"abbreviated"==t||"narrow"==t,"sWidth must be wide, abbreviate or narrow");var n=this._get(Ee(e),"era-"+t),r=[];for(var a in n)r[parseInt(a)]=n[a];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){le("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"),a=r?r.split(" "):[];for(n=0;n<a.length;n++)for(e in t=a[n].split("-")[0],St)if(t===e.toLowerCase())return e;return St.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",a="%",o="=",i="!=",s="n",u="i",c="f",l="t",h="v",p="w",f="..",d=",",m=0;function g(t){return e[m]===t&&(m++,!0)}function y(){var t=e[m];return m++,t}e=t.split(" ");var v=function t(){var e,m;return e=function t(){var e,n;if(e=function(){var t,e,n;if(t=function(){var t;if(t=function(){if(g(s))return function(t){return t.n};if(g(u))return function(t){return t.i};if(g(c))return function(t){return t.f};if(g(l))return function(t){return t.t};if(g(h))return function(t){return t.v};if(g(p))return function(t){return t.w};throw new Error("Unknown operand: "+y())}(),g(a)){var e=parseInt(y());return function(n){return t(n)%e}}return t}(),g(o))n=!0;else{if(!g(i))throw new Error("Expected '=' or '!='");n=!1}return e=function(){var t,e,n,r=[];return y().split(d).forEach((function(a){if(1===(t=a.split(f)).length)r.push(parseInt(a));else{e=parseInt(t[0]),n=parseInt(t[1]);for(var o=e;o<=n;o++)r.push(o)}})),function(t){return r}}(),n?function(n){return e(n).indexOf(t(n))>=0}:function(n){return-1===e(n).indexOf(t(n))}}(),g(r))return n=t(),function(t){return e(t)&&n(t)};return e}(),g(n)?(m=t(),function(t){return e(t)||m(t)}):e}();if(m!=e.length)throw new Error("Not completely parsed");return function(t){var e,n,r,a,o=t.indexOf(".");return-1===o?(e=t,n="",r=""):(e=t.substr(0,o),r=(n=t.substr(o+1)).replace(/0+$/,"")),a={n:parseFloat(t),i:parseInt(e),v:n.length,w:r.length,f:parseInt(n),t:parseInt(r)},v(a)}}}),_e={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}},Me={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}},Te={orientation:"left-to-right",languages:{},scripts:{},territories:{},"ca-gregorian":{dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},appendItems:{Day:"{0} ({2}: {1})","Day-Of-Week":"{0} {1}",Era:"{0} {1}",Hour:"{0} ({2}: {1})",Minute:"{0} ({2}: {1})",Month:"{0} ({2}: {1})",Quarter:"{0} ({2}: {1})",Second:"{0} ({2}: {1})",Timezone:"{0} {1}",Week:"{0} ({2}: {1})",Year:"{0} {1}"},intervalFormats:{intervalFormatFallback:"{0} – {1}",d:{d:"d – d"},h:{a:"h a – h a",h:"h – h a"},H:{H:"HH – HH"},hm:{a:"h:mm a – h:mm a",h:"h:mm – h:mm a",m:"h:mm – h:mm a"},Hm:{H:"HH:mm – HH:mm",m:"HH:mm – HH:mm"},hmv:{a:"h:mm a – h:mm a v",h:"h:mm – h:mm a v",m:"h:mm – h:mm a v"},Hmv:{H:"HH:mm – HH:mm v",m:"HH:mm – HH:mm v"},hv:{a:"h a – h a v",h:"h – h a v"},Hv:{H:"HH – HH v"},M:{M:"M – M"},Md:{d:"M/d – M/d",M:"M/d – M/d"},MEd:{d:"E, M/d – E, M/d",M:"E, M/d – E, M/d"},MMM:{M:"MMM – MMM"},MMMd:{d:"MMM d – d",M:"MMM d – MMM d"},MMMEd:{d:"E, MMM d – E, MMM d",M:"E, MMM d – E, MMM d"},y:{y:"y – y"},yM:{M:"M/y – M/y",y:"M/y – M/y"},yMd:{d:"M/d/y – M/d/y",M:"M/d/y – M/d/y",y:"M/d/y – M/d/y"},yMEd:{d:"E, M/d/y – E, M/d/y",M:"E, M/d/y – E, M/d/y",y:"E, M/d/y – E, M/d/y"},yMMM:{M:"MMM – MMM y",y:"MMM y – MMM y"},yMMMd:{d:"MMM d – d, y",M:"MMM d – MMM d, y",y:"MMM d, y – MMM d, y"},yMMMEd:{d:"E, MMM d – E, MMM d, y",M:"E, MMM d – E, MMM d, y",y:"E, MMM d, y – E, MMM d, y"},yMMMM:{M:"MMMM – MMMM y",y:"MMMM y – MMMM y"}}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:["AM","PM"],narrow:["a","p"],wide:["AM","PM"]},"stand-alone":{abbreviated:["AM","PM"],narrow:["AM","PM"],wide:["AM","PM"]}},"era-wide":{0:"Before Christ",1:"Anno Domini"},"era-abbreviated":{0:"BC",1:"AD"},"era-narrow":{0:"B",1:"A"}},"eras-gregorian":{0:{_end:"0-12-31"},1:{_start:"1-01-01"}},dateFields:{era:{displayName:"era"},"year-wide":{displayName:"year","relative-type--1":"last year","relative-type-0":"this year","relative-type-1":"next year","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} year","relativeTimePattern-count-other":"in {0} years"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} year ago","relativeTimePattern-count-other":"{0} years ago"}},"year-short":{displayName:"yr.","relative-type--1":"last yr.","relative-type-0":"this yr.","relative-type-1":"next yr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} yr.","relativeTimePattern-count-other":"in {0} yr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} yr. ago","relativeTimePattern-count-other":"{0} yr. ago"}},"year-narrow":{displayName:"yr.","relative-type--1":"last yr.","relative-type-0":"this yr.","relative-type-1":"next yr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} yr.","relativeTimePattern-count-other":"in {0} yr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} yr. ago","relativeTimePattern-count-other":"{0} yr. ago"}},"quarter-wide":{displayName:"quarter","relative-type--1":"last quarter","relative-type-0":"this quarter","relative-type-1":"next quarter","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} quarter","relativeTimePattern-count-other":"in {0} quarters"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} quarter ago","relativeTimePattern-count-other":"{0} quarters ago"}},"quarter-short":{displayName:"qtr.","relative-type--1":"last qtr.","relative-type-0":"this qtr.","relative-type-1":"next qtr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} qtr.","relativeTimePattern-count-other":"in {0} qtrs."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} qtr. ago","relativeTimePattern-count-other":"{0} qtrs. ago"}},"quarter-narrow":{displayName:"qtr.","relative-type--1":"last qtr.","relative-type-0":"this qtr.","relative-type-1":"next qtr.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} qtr.","relativeTimePattern-count-other":"in {0} qtrs."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} qtr. ago","relativeTimePattern-count-other":"{0} qtrs. ago"}},"month-wide":{displayName:"month","relative-type--1":"last month","relative-type-0":"this month","relative-type-1":"next month","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} month","relativeTimePattern-count-other":"in {0} months"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} month ago","relativeTimePattern-count-other":"{0} months ago"}},"month-short":{displayName:"mo.","relative-type--1":"last mo.","relative-type-0":"this mo.","relative-type-1":"next mo.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} mo.","relativeTimePattern-count-other":"in {0} mo."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} mo. ago","relativeTimePattern-count-other":"{0} mo. ago"}},"month-narrow":{displayName:"mo.","relative-type--1":"last mo.","relative-type-0":"this mo.","relative-type-1":"next mo.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} mo.","relativeTimePattern-count-other":"in {0} mo."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} mo. ago","relativeTimePattern-count-other":"{0} mo. ago"}},"week-wide":{displayName:"week","relative-type--1":"last week","relative-type-0":"this week","relative-type-1":"next week","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} week","relativeTimePattern-count-other":"in {0} weeks"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} week ago","relativeTimePattern-count-other":"{0} weeks ago"},relativePeriod:"the week of {0}"},"week-short":{displayName:"wk.","relative-type--1":"last wk.","relative-type-0":"this wk.","relative-type-1":"next wk.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} wk.","relativeTimePattern-count-other":"in {0} wk."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} wk. ago","relativeTimePattern-count-other":"{0} wk. ago"},relativePeriod:"the week of {0}"},"week-narrow":{displayName:"wk.","relative-type--1":"last wk.","relative-type-0":"this wk.","relative-type-1":"next wk.","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} wk.","relativeTimePattern-count-other":"in {0} wk."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} wk. ago","relativeTimePattern-count-other":"{0} wk. ago"},relativePeriod:"the week of {0}"},"day-wide":{displayName:"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},"day-short":{displayName:"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},"day-narrow":{displayName:"day","relative-type--1":"yesterday","relative-type-0":"today","relative-type-1":"tomorrow","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} day","relativeTimePattern-count-other":"in {0} days"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} day ago","relativeTimePattern-count-other":"{0} days ago"}},weekday:{displayName:"day of the week"},"hour-wide":{displayName:"hour","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hour","relativeTimePattern-count-other":"in {0} hours"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hour ago","relativeTimePattern-count-other":"{0} hours ago"}},"hour-short":{displayName:"hr.","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hr.","relativeTimePattern-count-other":"in {0} hr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hr. ago","relativeTimePattern-count-other":"{0} hr. ago"}},"hour-narrow":{displayName:"hr.","relative-type-0":"this hour","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} hr.","relativeTimePattern-count-other":"in {0} hr."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} hr. ago","relativeTimePattern-count-other":"{0} hr. ago"}},"minute-wide":{displayName:"minute","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} minute","relativeTimePattern-count-other":"in {0} minutes"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} minute ago","relativeTimePattern-count-other":"{0} minutes ago"}},"minute-short":{displayName:"min.","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} min.","relativeTimePattern-count-other":"in {0} min."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} min. ago","relativeTimePattern-count-other":"{0} min. ago"}},"minute-narrow":{displayName:"min.","relative-type-0":"this minute","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} min.","relativeTimePattern-count-other":"in {0} min."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} min. ago","relativeTimePattern-count-other":"{0} min. ago"}},"second-wide":{displayName:"second","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} second","relativeTimePattern-count-other":"in {0} seconds"},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} second ago","relativeTimePattern-count-other":"{0} seconds ago"}},"second-short":{displayName:"sec.","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} sec.","relativeTimePattern-count-other":"in {0} sec."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} sec. ago","relativeTimePattern-count-other":"{0} sec. ago"}},"second-narrow":{displayName:"sec.","relative-type-0":"now","relativeTime-type-future":{"relativeTimePattern-count-one":"in {0} sec.","relativeTimePattern-count-other":"in {0} sec."},"relativeTime-type-past":{"relativeTimePattern-count-one":"{0} sec. ago","relativeTimePattern-count-other":"{0} sec. ago"}},zone:{displayName:"time zone"}},decimalFormat:{standard:"#,##0.###"},currencyFormat:{standard:"¤#,##0.00",currencySpacing:{beforeCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "},afterCurrency:{currencyMatch:"[:^S:]",surroundingMatch:"[:digit:]",insertBetween:" "}}},percentFormat:{standard:"#,##0%"},miscPattern:{approximately:"~{0}",atLeast:"{0}+",atMost:"≤{0}",range:"{0}–{1}"},"symbols-latn-decimal":".","symbols-latn-group":",","symbols-latn-plusSign":"+","symbols-latn-minusSign":"-","symbols-latn-percentSign":"%","weekData-minDays":4,"weekData-firstDay":1,"weekData-weekendStart":6,"weekData-weekendEnd":0,timeData:{_allowed:"H h",_preferred:"H"},"lenient-scope-number":{minusSign:"-‐‒–⁻₋−➖﹣",commaSign:",،٫、︐︑﹐﹑,",plusSign:"+⁺₊➕﬩﹢"},plurals:{},units:{short:{per:{compoundUnitPattern:"{0}/{1}"},"acceleration-g-force":{displayName:"g-force","unitPattern-count-one":"{0} G","unitPattern-count-other":"{0} G"},"acceleration-meter-per-second-squared":{displayName:"meters/sec²","unitPattern-count-one":"{0} m/s²","unitPattern-count-other":"{0} m/s²"},"angle-revolution":{displayName:"rev","unitPattern-count-one":"{0} rev","unitPattern-count-other":"{0} rev"},"angle-radian":{displayName:"radians","unitPattern-count-one":"{0} rad","unitPattern-count-other":"{0} rad"},"angle-degree":{displayName:"degrees","unitPattern-count-one":"{0} deg","unitPattern-count-other":"{0} deg"},"angle-arc-minute":{displayName:"arcmins","unitPattern-count-one":"{0} arcmin","unitPattern-count-other":"{0} arcmins"},"angle-arc-second":{displayName:"arcsecs","unitPattern-count-one":"{0} arcsec","unitPattern-count-other":"{0} arcsecs"},"area-square-kilometer":{displayName:"km²","unitPattern-count-one":"{0} km²","unitPattern-count-other":"{0} km²",perUnitPattern:"{0}/km²"},"area-hectare":{displayName:"hectares","unitPattern-count-one":"{0} ha","unitPattern-count-other":"{0} ha"},"area-square-meter":{displayName:"meters²","unitPattern-count-one":"{0} m²","unitPattern-count-other":"{0} m²",perUnitPattern:"{0}/m²"},"area-square-centimeter":{displayName:"cm²","unitPattern-count-one":"{0} cm²","unitPattern-count-other":"{0} cm²",perUnitPattern:"{0}/cm²"},"area-square-mile":{displayName:"sq miles","unitPattern-count-one":"{0} sq mi","unitPattern-count-other":"{0} sq mi",perUnitPattern:"{0}/mi²"},"area-acre":{displayName:"acres","unitPattern-count-one":"{0} ac","unitPattern-count-other":"{0} ac"},"area-square-yard":{displayName:"yards²","unitPattern-count-one":"{0} yd²","unitPattern-count-other":"{0} yd²"},"area-square-foot":{displayName:"sq feet","unitPattern-count-one":"{0} sq ft","unitPattern-count-other":"{0} sq ft"},"area-square-inch":{displayName:"inches²","unitPattern-count-one":"{0} in²","unitPattern-count-other":"{0} in²",perUnitPattern:"{0}/in²"},"concentr-karat":{displayName:"karats","unitPattern-count-one":"{0} kt","unitPattern-count-other":"{0} kt"},"concentr-milligram-per-deciliter":{displayName:"mg/dL","unitPattern-count-one":"{0} mg/dL","unitPattern-count-other":"{0} mg/dL"},"concentr-millimole-per-liter":{displayName:"millimol/liter","unitPattern-count-one":"{0} mmol/L","unitPattern-count-other":"{0} mmol/L"},"concentr-part-per-million":{displayName:"parts/million","unitPattern-count-one":"{0} ppm","unitPattern-count-other":"{0} ppm"},"consumption-liter-per-kilometer":{displayName:"liters/km","unitPattern-count-one":"{0} L/km","unitPattern-count-other":"{0} L/km"},"consumption-liter-per-100kilometers":{displayName:"L/100 km","unitPattern-count-one":"{0} L/100 km","unitPattern-count-other":"{0} L/100 km"},"consumption-mile-per-gallon":{displayName:"miles/gal","unitPattern-count-one":"{0} mpg","unitPattern-count-other":"{0} mpg"},"consumption-mile-per-gallon-imperial":{displayName:"miles/gal Imp.","unitPattern-count-one":"{0} mpg Imp.","unitPattern-count-other":"{0} mpg Imp."},"digital-terabyte":{displayName:"TByte","unitPattern-count-one":"{0} TB","unitPattern-count-other":"{0} TB"},"digital-terabit":{displayName:"Tbit","unitPattern-count-one":"{0} Tb","unitPattern-count-other":"{0} Tb"},"digital-gigabyte":{displayName:"GByte","unitPattern-count-one":"{0} GB","unitPattern-count-other":"{0} GB"},"digital-gigabit":{displayName:"Gbit","unitPattern-count-one":"{0} Gb","unitPattern-count-other":"{0} Gb"},"digital-megabyte":{displayName:"MByte","unitPattern-count-one":"{0} MB","unitPattern-count-other":"{0} MB"},"digital-megabit":{displayName:"Mbit","unitPattern-count-one":"{0} Mb","unitPattern-count-other":"{0} Mb"},"digital-kilobyte":{displayName:"kByte","unitPattern-count-one":"{0} kB","unitPattern-count-other":"{0} kB"},"digital-kilobit":{displayName:"kbit","unitPattern-count-one":"{0} kb","unitPattern-count-other":"{0} kb"},"digital-byte":{displayName:"byte","unitPattern-count-one":"{0} byte","unitPattern-count-other":"{0} byte"},"digital-bit":{displayName:"bit","unitPattern-count-one":"{0} bit","unitPattern-count-other":"{0} bit"},"duration-century":{displayName:"c","unitPattern-count-one":"{0} c","unitPattern-count-other":"{0} c"},"duration-year":{displayName:"years","unitPattern-count-one":"{0} yr","unitPattern-count-other":"{0} yrs",perUnitPattern:"{0}/y"},"duration-month":{displayName:"months","unitPattern-count-one":"{0} mth","unitPattern-count-other":"{0} mths",perUnitPattern:"{0}/m"},"duration-week":{displayName:"weeks","unitPattern-count-one":"{0} wk","unitPattern-count-other":"{0} wks",perUnitPattern:"{0}/w"},"duration-day":{displayName:"days","unitPattern-count-one":"{0} day","unitPattern-count-other":"{0} days",perUnitPattern:"{0}/d"},"duration-hour":{displayName:"hours","unitPattern-count-one":"{0} hr","unitPattern-count-other":"{0} hr",perUnitPattern:"{0}/h"},"duration-minute":{displayName:"mins","unitPattern-count-one":"{0} min","unitPattern-count-other":"{0} min",perUnitPattern:"{0}/min"},"duration-second":{displayName:"secs","unitPattern-count-one":"{0} sec","unitPattern-count-other":"{0} sec",perUnitPattern:"{0}/s"},"duration-millisecond":{displayName:"millisecs","unitPattern-count-one":"{0} ms","unitPattern-count-other":"{0} ms"},"duration-microsecond":{displayName:"μsecs","unitPattern-count-one":"{0} μs","unitPattern-count-other":"{0} μs"},"duration-nanosecond":{displayName:"nanosecs","unitPattern-count-one":"{0} ns","unitPattern-count-other":"{0} ns"},"electric-ampere":{displayName:"amps","unitPattern-count-one":"{0} A","unitPattern-count-other":"{0} A"},"electric-milliampere":{displayName:"milliamps","unitPattern-count-one":"{0} mA","unitPattern-count-other":"{0} mA"},"electric-ohm":{displayName:"ohms","unitPattern-count-one":"{0} Ω","unitPattern-count-other":"{0} Ω"},"electric-volt":{displayName:"volts","unitPattern-count-one":"{0} V","unitPattern-count-other":"{0} V"},"energy-kilocalorie":{displayName:"kcal","unitPattern-count-one":"{0} kcal","unitPattern-count-other":"{0} kcal"},"energy-calorie":{displayName:"cal","unitPattern-count-one":"{0} cal","unitPattern-count-other":"{0} cal"},"energy-foodcalorie":{displayName:"Cal","unitPattern-count-one":"{0} Cal","unitPattern-count-other":"{0} Cal"},"energy-kilojoule":{displayName:"kilojoule","unitPattern-count-one":"{0} kJ","unitPattern-count-other":"{0} kJ"},"energy-joule":{displayName:"joules","unitPattern-count-one":"{0} J","unitPattern-count-other":"{0} J"},"energy-kilowatt-hour":{displayName:"kW-hour","unitPattern-count-one":"{0} kWh","unitPattern-count-other":"{0} kWh"},"frequency-gigahertz":{displayName:"GHz","unitPattern-count-one":"{0} GHz","unitPattern-count-other":"{0} GHz"},"frequency-megahertz":{displayName:"MHz","unitPattern-count-one":"{0} MHz","unitPattern-count-other":"{0} MHz"},"frequency-kilohertz":{displayName:"kHz","unitPattern-count-one":"{0} kHz","unitPattern-count-other":"{0} kHz"},"frequency-hertz":{displayName:"Hz","unitPattern-count-one":"{0} Hz","unitPattern-count-other":"{0} Hz"},"length-kilometer":{displayName:"km","unitPattern-count-one":"{0} km","unitPattern-count-other":"{0} km",perUnitPattern:"{0}/km"},"length-meter":{displayName:"m","unitPattern-count-one":"{0} m","unitPattern-count-other":"{0} m",perUnitPattern:"{0}/m"},"length-decimeter":{displayName:"dm","unitPattern-count-one":"{0} dm","unitPattern-count-other":"{0} dm"},"length-centimeter":{displayName:"cm","unitPattern-count-one":"{0} cm","unitPattern-count-other":"{0} cm",perUnitPattern:"{0}/cm"},"length-millimeter":{displayName:"mm","unitPattern-count-one":"{0} mm","unitPattern-count-other":"{0} mm"},"length-micrometer":{displayName:"µmeters","unitPattern-count-one":"{0} µm","unitPattern-count-other":"{0} µm"},"length-nanometer":{displayName:"nm","unitPattern-count-one":"{0} nm","unitPattern-count-other":"{0} nm"},"length-picometer":{displayName:"pm","unitPattern-count-one":"{0} pm","unitPattern-count-other":"{0} pm"},"length-mile":{displayName:"miles","unitPattern-count-one":"{0} mi","unitPattern-count-other":"{0} mi"},"length-yard":{displayName:"yards","unitPattern-count-one":"{0} yd","unitPattern-count-other":"{0} yd"},"length-foot":{displayName:"feet","unitPattern-count-one":"{0} ft","unitPattern-count-other":"{0} ft",perUnitPattern:"{0}/ft"},"length-inch":{displayName:"inches","unitPattern-count-one":"{0} in","unitPattern-count-other":"{0} in",perUnitPattern:"{0}/in"},"length-parsec":{displayName:"parsecs","unitPattern-count-one":"{0} pc","unitPattern-count-other":"{0} pc"},"length-light-year":{displayName:"light yrs","unitPattern-count-one":"{0} ly","unitPattern-count-other":"{0} ly"},"length-astronomical-unit":{displayName:"au","unitPattern-count-one":"{0} au","unitPattern-count-other":"{0} au"},"length-furlong":{displayName:"furlongs","unitPattern-count-one":"{0} fur","unitPattern-count-other":"{0} fur"},"length-fathom":{displayName:"fathoms","unitPattern-count-one":"{0} ftm","unitPattern-count-other":"{0} ftm"},"length-nautical-mile":{displayName:"nmi","unitPattern-count-one":"{0} nmi","unitPattern-count-other":"{0} nmi"},"length-mile-scandinavian":{displayName:"smi","unitPattern-count-one":"{0} smi","unitPattern-count-other":"{0} smi"},"length-point":{displayName:"points","unitPattern-count-one":"{0} pt","unitPattern-count-other":"{0} pt"},"light-lux":{displayName:"lux","unitPattern-count-one":"{0} lx","unitPattern-count-other":"{0} lx"},"mass-metric-ton":{displayName:"t","unitPattern-count-one":"{0} t","unitPattern-count-other":"{0} t"},"mass-kilogram":{displayName:"kg","unitPattern-count-one":"{0} kg","unitPattern-count-other":"{0} kg",perUnitPattern:"{0}/kg"},"mass-gram":{displayName:"grams","unitPattern-count-one":"{0} g","unitPattern-count-other":"{0} g",perUnitPattern:"{0}/g"},"mass-milligram":{displayName:"mg","unitPattern-count-one":"{0} mg","unitPattern-count-other":"{0} mg"},"mass-microgram":{displayName:"µg","unitPattern-count-one":"{0} µg","unitPattern-count-other":"{0} µg"},"mass-ton":{displayName:"tons","unitPattern-count-one":"{0} tn","unitPattern-count-other":"{0} tn"},"mass-stone":{displayName:"stones","unitPattern-count-one":"{0} st","unitPattern-count-other":"{0} st"},"mass-pound":{displayName:"pounds","unitPattern-count-one":"{0} lb","unitPattern-count-other":"{0} lb",perUnitPattern:"{0}/lb"},"mass-ounce":{displayName:"oz","unitPattern-count-one":"{0} oz","unitPattern-count-other":"{0} oz",perUnitPattern:"{0}/oz"},"mass-ounce-troy":{displayName:"oz troy","unitPattern-count-one":"{0} oz t","unitPattern-count-other":"{0} oz t"},"mass-carat":{displayName:"carats","unitPattern-count-one":"{0} CD","unitPattern-count-other":"{0} CD"},"power-gigawatt":{displayName:"GW","unitPattern-count-one":"{0} GW","unitPattern-count-other":"{0} GW"},"power-megawatt":{displayName:"MW","unitPattern-count-one":"{0} MW","unitPattern-count-other":"{0} MW"},"power-kilowatt":{displayName:"kW","unitPattern-count-one":"{0} kW","unitPattern-count-other":"{0} kW"},"power-watt":{displayName:"watts","unitPattern-count-one":"{0} W","unitPattern-count-other":"{0} W"},"power-milliwatt":{displayName:"mW","unitPattern-count-one":"{0} mW","unitPattern-count-other":"{0} mW"},"power-horsepower":{displayName:"hp","unitPattern-count-one":"{0} hp","unitPattern-count-other":"{0} hp"},"pressure-hectopascal":{displayName:"hPa","unitPattern-count-one":"{0} hPa","unitPattern-count-other":"{0} hPa"},"pressure-millimeter-of-mercury":{displayName:"mmHg","unitPattern-count-one":"{0} mmHg","unitPattern-count-other":"{0} mmHg"},"pressure-pound-per-square-inch":{displayName:"psi","unitPattern-count-one":"{0} psi","unitPattern-count-other":"{0} psi"},"pressure-inch-hg":{displayName:"inHg","unitPattern-count-one":"{0} inHg","unitPattern-count-other":"{0} inHg"},"pressure-millibar":{displayName:"mbar","unitPattern-count-one":"{0} mbar","unitPattern-count-other":"{0} mbar"},"speed-kilometer-per-hour":{displayName:"km/hour","unitPattern-count-one":"{0} kph","unitPattern-count-other":"{0} kph"},"speed-meter-per-second":{displayName:"meters/sec","unitPattern-count-one":"{0} m/s","unitPattern-count-other":"{0} m/s"},"speed-mile-per-hour":{displayName:"miles/hour","unitPattern-count-one":"{0} mph","unitPattern-count-other":"{0} mph"},"speed-knot":{displayName:"kn","unitPattern-count-one":"{0} kn","unitPattern-count-other":"{0} kn"},"temperature-generic":{displayName:"°","unitPattern-count-other":"{0}°"},"temperature-celsius":{displayName:"deg. C","unitPattern-count-one":"{0}°C","unitPattern-count-other":"{0}°C"},"temperature-fahrenheit":{displayName:"deg. F","unitPattern-count-one":"{0}°F","unitPattern-count-other":"{0}°F"},"temperature-kelvin":{displayName:"K","unitPattern-count-one":"{0} K","unitPattern-count-other":"{0} K"},"volume-cubic-kilometer":{displayName:"km³","unitPattern-count-one":"{0} km³","unitPattern-count-other":"{0} km³"},"volume-cubic-meter":{displayName:"m³","unitPattern-count-one":"{0} m³","unitPattern-count-other":"{0} m³",perUnitPattern:"{0}/m³"},"volume-cubic-centimeter":{displayName:"cm³","unitPattern-count-one":"{0} cm³","unitPattern-count-other":"{0} cm³",perUnitPattern:"{0}/cm³"},"volume-cubic-mile":{displayName:"mi³","unitPattern-count-one":"{0} mi³","unitPattern-count-other":"{0} mi³"},"volume-cubic-yard":{displayName:"yards³","unitPattern-count-one":"{0} yd³","unitPattern-count-other":"{0} yd³"},"volume-cubic-foot":{displayName:"feet³","unitPattern-count-one":"{0} ft³","unitPattern-count-other":"{0} ft³"},"volume-cubic-inch":{displayName:"inches³","unitPattern-count-one":"{0} in³","unitPattern-count-other":"{0} in³"},"volume-megaliter":{displayName:"ML","unitPattern-count-one":"{0} ML","unitPattern-count-other":"{0} ML"},"volume-hectoliter":{displayName:"hL","unitPattern-count-one":"{0} hL","unitPattern-count-other":"{0} hL"},"volume-liter":{displayName:"liters","unitPattern-count-one":"{0} L","unitPattern-count-other":"{0} L",perUnitPattern:"{0}/L"},"volume-deciliter":{displayName:"dL","unitPattern-count-one":"{0} dL","unitPattern-count-other":"{0} dL"},"volume-centiliter":{displayName:"cL","unitPattern-count-one":"{0} cL","unitPattern-count-other":"{0} cL"},"volume-milliliter":{displayName:"mL","unitPattern-count-one":"{0} mL","unitPattern-count-other":"{0} mL"},"volume-pint-metric":{displayName:"mpt","unitPattern-count-one":"{0} mpt","unitPattern-count-other":"{0} mpt"},"volume-cup-metric":{displayName:"mcup","unitPattern-count-one":"{0} mc","unitPattern-count-other":"{0} mc"},"volume-acre-foot":{displayName:"acre ft","unitPattern-count-one":"{0} ac ft","unitPattern-count-other":"{0} ac ft"},"volume-bushel":{displayName:"bushels","unitPattern-count-one":"{0} bu","unitPattern-count-other":"{0} bu"},"volume-gallon":{displayName:"gal","unitPattern-count-one":"{0} gal","unitPattern-count-other":"{0} gal",perUnitPattern:"{0}/gal US"},"volume-gallon-imperial":{displayName:"Imp. gal","unitPattern-count-one":"{0} gal Imp.","unitPattern-count-other":"{0} gal Imp.",perUnitPattern:"{0}/gal Imp."},"volume-quart":{displayName:"qts","unitPattern-count-one":"{0} qt","unitPattern-count-other":"{0} qt"},"volume-pint":{displayName:"pints","unitPattern-count-one":"{0} pt","unitPattern-count-other":"{0} pt"},"volume-cup":{displayName:"cups","unitPattern-count-one":"{0} c","unitPattern-count-other":"{0} c"},"volume-fluid-ounce":{displayName:"fl oz","unitPattern-count-one":"{0} fl oz","unitPattern-count-other":"{0} fl oz"},"volume-tablespoon":{displayName:"tbsp","unitPattern-count-one":"{0} tbsp","unitPattern-count-other":"{0} tbsp"},"volume-teaspoon":{displayName:"tsp","unitPattern-count-one":"{0} tsp","unitPattern-count-other":"{0} tsp"},coordinateUnit:{east:"{0} E",north:"{0} N",south:"{0} S",west:"{0} W"}}}},Ce={iw:"he",ji:"yi",in:"id",sh:"sr"},Se=function(){var t,e=ge._cldrLocales,n={};if(e)for(t=0;t<e.length;t++)n[e[t]]=!0;return n}(),ke={};function Ee(t){return t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType()),"ca-"+t.toLowerCase()}var De=Pe.extend("sap.ui.core.CustomLocaleData",{constructor:function(t){Pe.apply(this,arguments),this.mCustomData=sap.ui.getWCCore().getConfiguration().getFormatSettings().getCustomLocaleData()},_get:function(){var t,e=Array.prototype.slice.call(arguments);0==e[0].indexOf("ca-")&&e[0]==Ee()&&(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 t=this._getDeep(this.mData,arguments),e=this._getDeep(this.mCustomData,arguments);return de({},t,e)}});Pe.getInstance=function(t){return t.hasPrivateUseSubtag("sapufmt")?new De(t):new Pe(t)};var Ne=new Map,xe=function(t){return Ne.get(t)},Ae=function(t,e){Ne.set(t,e)},Oe=fe.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var t=Oe.getClass();return this.createDate(t,arguments)}});Oe.UTC=function(){var t=Oe.getClass();return t.UTC.apply(t,arguments)},Oe.now=function(){return Date.now()},Oe.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])}},Oe.getInstance=function(t,e){var n,r;return t instanceof Oe&&(t=t.getJSDate()),e||(e=sap.ui.getWCCore().getConfiguration().getCalendarType()),n=Oe.getClass(e),(r=Object.create(n.prototype)).oDate=t,r.sCalendarType=e,r},Oe.getClass=function(t){t||(t=sap.ui.getWCCore().getConfiguration().getCalendarType());var e=xe(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){Oe.prototype[t]=function(){return this.oDate[t].apply(this.oDate,arguments)}})),Oe.prototype.getJSDate=function(){return this.oDate},Oe.prototype.getCalendarType=function(){return this.sCalendarType},Oe.prototype.getEra=function(){return Oe.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())},Oe.prototype.setEra=function(t){},Oe.prototype.getUTCEra=function(){return Oe.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())},Oe.prototype.setUTCEra=function(t){},Oe.prototype.getWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate())},Oe.prototype.setWeek=function(t){var e=Oe.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setFullYear(e.year,e.month,e.day)},Oe.prototype.getUTCWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Oe.prototype.setUTCWeek=function(t){var e=Oe.getFirstDateOfWeek(this.sCalendarType,t.year||this.getFullYear(),t.week);this.setUTCFullYear(e.year,e.month,e.day)},Oe.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)},Oe.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)},Oe.prototype.getDayPeriod=function(){return this.getHours()<12?0:1},Oe.prototype.getUTCDayPeriod=function(){return this.getUTCHours()<12?0:1},Oe.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort)return this.oDate.getTimezoneShort()},Oe.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong)return this.oDate.getTimezoneLong()};var Le=6048e5;function Ue(t,e){for(var n=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),r=Pe.getInstance(n),a=r.getMinimalDaysInFirstWeek(),o=sap.ui.getConfiguration().getFirstDateOfWeek()||r.getFirstDayOfWeek(),i=new t(t.UTC(e,0,1)),s=7;i.getUTCDay()!==o;)i.setUTCDate(i.getUTCDate()-1),s--;return s<a&&i.setUTCDate(i.getUTCDate()+7),i}function Fe(t,e){return Math.floor((e.valueOf()-t.valueOf())/Le)}Oe.getWeekByDate=function(t,e,n,r){var a,o,i,s,u=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),c=this.getClass(t),l=Ue(c,e),h=new c(c.UTC(e,n,r));return"US"===u.getRegion()?a=Fe(l,h):(i=e+1,s=Ue(c,o=e-1),h>=Ue(c,i)?(e=i,a=0):h<l?(e=o,a=Fe(s,h)):a=Fe(l,h)),{year:e,week:a}},Oe.getFirstDateOfWeek=function(t,e,n){var r=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),a=this.getClass(t),o=Ue(a,e),i=new a(o.valueOf()+n*Le);return"US"===r.getRegion()&&0===n&&o.getUTCFullYear()<e?{year:e,month:0,day:1}:{year:i.getUTCFullYear(),month:i.getUTCMonth(),day:i.getUTCDate()}};var Re={};function Ie(t){var e=sap.ui.getWCCore().getFormatSettings().getFormatLocale(),n=Pe.getInstance(e);if(!(r=Re[t])){var r;(r=n.getEraDates(t))[0]||(r[0]={_start:"1-1-1"});for(var a=0;a<r.length;a++){var o=r[a];o&&(o._start&&(o._startInfo=je(o._start)),o._end&&(o._endInfo=je(o._end)))}Re[t]=r}return r}function je(t){var e,n,r,a=t.split("-");return""==a[0]?(e=-parseInt(a[1]),n=parseInt(a[2])-1,r=parseInt(a[3])):(e=parseInt(a[0]),n=parseInt(a[1])-1,r=parseInt(a[2])),{timestamp:new Date(0).setUTCFullYear(e,n,r),year:e,month:n,day:r}}Oe.getEraByDate=function(t,e,n,r){for(var a,o=Ie(t),i=new Date(0).setUTCFullYear(e,n,r),s=o.length-1;s>=0;s--)if(a=o[s]){if(a._start&&i>=a._startInfo.timestamp)return s;if(a._end&&i<a._endInfo.timestamp)return s}},Oe.getCurrentEra=function(t){var e=new Date;return this.getEraByDate(t,e.getFullYear(),e.getMonth(),e.getDate())},Oe.getEraStartDate=function(t,e){var n=Ie(t),r=n[e]||n[0];if(r._start)return r._startInfo};var He=Oe.extend("sap.ui.core.date.Buddhist",{constructor:function(){var t=arguments;t.length>1&&(t=Ve(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=St.Buddhist}});function We(t){var e=Oe.getEraStartDate(St.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 ze(t){var e=Oe.getEraStartDate(St.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 Ve(t){var e;return e=ze({year:t[0],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}He.UTC=function(){var t=Ve(arguments);return Date.UTC.apply(Date,t)},He.now=function(){return Date.now()},He.prototype._getBuddhist=function(){return We({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},He.prototype._setBuddhist=function(t){var e=ze(t);return this.oDate.setFullYear(e.year,e.month,e.day)},He.prototype._getUTCBuddhist=function(){return We({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},He.prototype._setUTCBuddhist=function(t){var e=ze(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},He.prototype.getYear=function(){return this._getBuddhist().year},He.prototype.getFullYear=function(){return this._getBuddhist().year},He.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year},He.prototype.setYear=function(t){var e=this._getBuddhist();return e.year=t,this._setBuddhist(e)},He.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)},He.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)},He.prototype.getWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},He.prototype.getUTCWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Ae(St.Buddhist,He);var Be=Oe.extend("sap.ui.core.date.Islamic",{constructor:function(){var t=arguments;t.length>1&&(t=Ke(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=St.Islamic}});Be.UTC=function(){var t=Ke(arguments);return Date.UTC.apply(Date,t)},Be.now=function(){return Date.now()};var qe=1721425.5,Ye=1948439.5,Je=-425215872e5,Ge=864e5,$e=null;function Qe(t){var e,n,r,a,o,i,s,u=t.year,c=t.month,l=t.day;if(i=0,c+1>2&&(i=rn(u)?-1:-2),s=qe-1+365*(u-1)+Math.floor((u-1)/4)+-Math.floor((u-1)/100)+Math.floor((u-1)/400)+Math.floor((367*(c+1)-362)/12+i+l),o=(s=Math.floor(s)+.5)-Ye,(a=Math.floor(o/29.530588853))<0)(n=a%12)<0&&(n+=12),r=o-en(e=Math.floor(a/12)+1,n)+1;else{for(a++;tn(a)>o;)a--;r=o-tn(12*((e=Math.floor(a/12)+1)-1)+(n=a%12))+1}return{day:r,month:n,year:e}}function Ze(t){var e,n,r,a,o,i=t.year,s=t.month,u=t.day+(i<1?en(i,s):tn(12*(i-1)+s))+Ye-1,c=Math.floor(u-.5)+.5,l=c-qe,h=Math.floor(l/146097),p=nn(l,146097),f=Math.floor(p/36524),d=nn(p,36524),m=Math.floor(d/1461),g=nn(d,1461),y=Math.floor(g/365),v=400*h+100*f+4*m+y;return 4!=f&&4!=y&&v++,n=c-(qe+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)),a=0,a=c<qe-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400)+Math.floor(739/12+(rn(v)?-1:-2)+1)?0:rn(v)?1:2,e=Math.floor((12*(n+a)+373)/367),r=qe-1+365*(v-1)+Math.floor((v-1)/4)-Math.floor((v-1)/100)+Math.floor((v-1)/400),o=0,e>2&&(o=rn(v)?-1:-2),{day:c-(r+=Math.floor((367*e-362)/12+o+1))+1,month:e-1,year:v}}function Ke(t){var e,n=Array.prototype.slice.call(t);return e=Ze({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 Xe(t){return{year:parseInt(t.substr(0,4)),month:parseInt(t.substr(4,2)),day:parseInt(t.substr(6,2))}}function tn(t){var e,n;$e||($e={},e=sap.ui.getWCCore().getFormatSettings().getLegacyDateFormat(),n=(n=sap.ui.getWCCore().getFormatSettings().getLegacyDateCalendarCustomizing())||[],e||n.length?e&&!n.length||!e&&n.length?Kt.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=Xe(t.gregDate),r=(new Date(Date.UTC(n.year,n.month-1,n.day)).getTime()-Je)/Ge,a=12*((n=Xe(t.islamicMonthStart)).year-1)+n.month-1;$e[a]=r}})),Kt.info("Working with date format: ["+e+"] and customization: "+JSON.stringify(n))):Kt.info("No calendar customizations."));var r=$e[t];r||(r=en(Math.floor(t/12)+1,t%12));return r}function en(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)}function nn(t,e){return t-e*Math.floor(t/e)}function rn(t){return!(t%400&&(t%4||!(t%100)))}Be.prototype._getIslamic=function(){return Qe({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},Be.prototype._setIslamic=function(t){var e=Ze(t);return this.oDate.setFullYear(e.year,e.month,e.day)},Be.prototype._getUTCIslamic=function(){return Qe({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},Be.prototype._setUTCIslamic=function(t){var e=Ze(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},Be.prototype.getDate=function(t){return this._getIslamic().day},Be.prototype.getMonth=function(){return this._getIslamic().month},Be.prototype.getYear=function(){return this._getIslamic().year-1400},Be.prototype.getFullYear=function(){return this._getIslamic().year},Be.prototype.setDate=function(t){var e=this._getIslamic();return e.day=t,this._setIslamic(e)},Be.prototype.setMonth=function(t,e){var n=this._getIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setIslamic(n)},Be.prototype.setYear=function(t){var e=this._getIslamic();return e.year=t+1400,this._setIslamic(e)},Be.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)},Be.prototype.getUTCDate=function(t){return this._getUTCIslamic().day},Be.prototype.getUTCMonth=function(){return this._getUTCIslamic().month},Be.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year},Be.prototype.setUTCDate=function(t){var e=this._getUTCIslamic();return e.day=t,this._setUTCIslamic(e)},Be.prototype.setUTCMonth=function(t,e){var n=this._getUTCIslamic();return n.month=t,void 0!==e&&(n.day=e),this._setUTCIslamic(n)},Be.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)},Ae(St.Islamic,Be);var an=Oe.extend("sap.ui.core.date.Japanese",{constructor:function(){var t=arguments;t.length>1&&(t=un(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=St.Japanese}});function on(t){var e=Oe.getEraByDate(St.Japanese,t.year,t.month,t.day),n=Oe.getEraStartDate(St.Japanese,e).year;return{era:e,year:t.year-n+1,month:t.month,day:t.day}}function sn(t){return{year:Oe.getEraStartDate(St.Japanese,t.era).year+t.year-1,month:t.month,day:t.day}}function un(t){var e,n=t[0];if("number"==typeof n){if(n>=100)return t;n=[Oe.getCurrentEra(St.Japanese),n]}else Array.isArray(n)||(n=[]);return e=sn({era:n[0],year:n[1],month:t[1],day:void 0!==t[2]?t[2]:1}),t[0]=e.year,t}an.UTC=function(){var t=un(arguments);return Date.UTC.apply(Date,t)},an.now=function(){return Date.now()},an.prototype._getJapanese=function(){return on({year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()})},an.prototype._setJapanese=function(t){var e=sn(t);return this.oDate.setFullYear(e.year,e.month,e.day)},an.prototype._getUTCJapanese=function(){return on({year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()})},an.prototype._setUTCJapanese=function(t){var e=sn(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},an.prototype.getYear=function(){return this._getJapanese().year},an.prototype.getFullYear=function(){return this._getJapanese().year},an.prototype.getEra=function(){return this._getJapanese().era},an.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year},an.prototype.getUTCEra=function(){return this._getUTCJapanese().era},an.prototype.setYear=function(t){var e=this._getJapanese();return e.year=t,this._setJapanese(e)},an.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)},an.prototype.setEra=function(t,e,n,r){var a=on(Oe.getEraStartDate(St.Japanese,t));return void 0!==e&&(a.year=e),void 0!==n&&(a.month=n),void 0!==r&&(a.day=r),this._setJapanese(a)},an.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)},an.prototype.setUTCEra=function(t,e,n,r){var a=on(Oe.getEraStartDate(St.Japanese,t));return void 0!==e&&(a.year=e),void 0!==n&&(a.month=n),void 0!==r&&(a.day=r),this._setUTCJapanese(a)},an.prototype.getWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate())},an.prototype.getUTCWeek=function(){return Oe.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate())},Ae(St.Japanese,an);var cn=Oe.extend("sap.ui.core.date.Persian",{constructor:function(){var t=arguments;t.length>1&&(t=pn(t)),this.oDate=this.createDate(Date,t),this.sCalendarType=St.Persian}});cn.UTC=function(){var t=pn(arguments);return Date.UTC.apply(Date,t)},cn.now=function(){return Date.now()};function ln(t){return function(t){var e,n,r,a=mn(t).year,o=a-621,i=fn(o),s=dn(a,3,i.march);if((r=t-s)>=0){if(r<=185)return n=1+gn(r,31),e=yn(r,31)+1,{year:o,month:n-1,day:e};r-=186}else o-=1,r+=179,1===i.leap&&(r+=1);return n=7+gn(r,30),e=yn(r,30)+1,{year:o,month:n-1,day:e}}(dn(t.year,t.month+1,t.day))}function hn(t){return mn(function(t,e,n){for(;e<1;)e+=12,t--;for(;e>12;)e-=12,t++;var r=fn(t);return dn(r.gy,3,r.march)+31*(e-1)-gn(e,7)*(e-7)+n-1}(t.year,t.month+1,t.day))}function pn(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=hn({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 fn(t){var e,n,r,a,o,i,s=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],u=s.length,c=t+621,l=-14,h=s[0];for(i=1;i<u&&(n=(e=s[i])-h,!(t<e));i+=1)l=l+8*gn(n,33)+gn(yn(n,33),4),h=e;return l=l+8*gn(o=t-h,33)+gn(yn(o,33)+3,4),4===yn(n,33)&&n-o==4&&(l+=1),a=20+l-(gn(c,4)-gn(3*(gn(c,100)+1),4)-150),n-o<6&&(o=o-n+33*gn(n+4,33)),-1===(r=yn(yn(o+1,33)-1,4))&&(r=4),{leap:r,gy:c,march:a}}function dn(t,e,n){var r=gn(1461*(t+gn(e-8,6)+100100),4)+gn(153*yn(e+9,12)+2,5)+n-34840408;return r=r-gn(3*gn(t+100100+gn(e-8,6),100),4)+752}function mn(t){var e,n,r,a;return e=(e=4*t+139361631)+4*gn(3*gn(4*t+183187720,146097),4)-3908,n=5*gn(yn(e,1461),4)+308,r=gn(yn(n,153),5)+1,a=yn(gn(n,153),12)+1,{year:gn(e,1461)-100100+gn(8-a,6),month:a-1,day:r}}function gn(t,e){return~~(t/e)}function yn(t,e){return t-~~(t/e)*e}cn.prototype._getPersian=function(){return ln({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})},cn.prototype._setPersian=function(t){var e=hn(t);return this.oDate.setFullYear(e.year,e.month,e.day)},cn.prototype._getUTCPersian=function(){return ln({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})},cn.prototype._setUTCPersian=function(t){var e=hn(t);return this.oDate.setUTCFullYear(e.year,e.month,e.day)},cn.prototype.getDate=function(t){return this._getPersian().day},cn.prototype.getMonth=function(){return this._getPersian().month},cn.prototype.getYear=function(){return this._getPersian().year-1300},cn.prototype.getFullYear=function(){return this._getPersian().year},cn.prototype.setDate=function(t){var e=this._getPersian();return e.day=t,this._setPersian(e)},cn.prototype.setMonth=function(t,e){var n=this._getPersian();return n.month=t,void 0!==e&&(n.day=e),this._setPersian(n)},cn.prototype.setYear=function(t){var e=this._getPersian();return e.year=t+1300,this._setPersian(e)},cn.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)},cn.prototype.getUTCDate=function(t){return this._getUTCPersian().day},cn.prototype.getUTCMonth=function(){return this._getUTCPersian().month},cn.prototype.getUTCFullYear=function(){return this._getUTCPersian().year},cn.prototype.setUTCDate=function(t){var e=this._getUTCPersian();return e.day=t,this._setUTCPersian(e)},cn.prototype.setUTCMonth=function(t,e){var n=this._getUTCPersian();return n.month=t,void 0!==e&&(n.day=e),this._setUTCPersian(n)},cn.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)},Ae(St.Persian,cn);var vn,wn,bn,Pn,_n={},Mn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("style");return n.type="text/css",Object.entries(e).forEach((function(t){return n.setAttribute.apply(n,X(t))})),n.textContent=t,document.head.appendChild(n),n},Tn=function(){return!!window.CSSVarsPonyfill},Cn=function(){vn=void 0,window.CSSVarsPonyfill.cssVars({rootElement:document.head,include:"style[data-ui5-theme-properties],style[data-ui5-element-styles]",silent:!0})},Sn=function(t,e){var n=document.head.querySelector('style[data-ui5-theme-properties="'.concat(e,'"]'));n?n.textContent=t||"":Mn(t,{"data-ui5-theme-properties":e});Tn()&&Cn()},kn=function(t,e){Mn(e,{"data-ui5-element-styles":t,disabled:"disabled"}),Tn()&&(vn||(vn=window.setTimeout(Cn,0)))},En=[],Dn=function(){var t=H(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n="",Bt().forEach(function(){var t=H(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,zt(r,e);case 2:n=t.sent,Sn(n,r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Nn(e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Nn=function(t){En.forEach((function(e){return e(t)}))},xn=function(t){var e=function(t){return _n[t]?_n[t].join(""):""}(t.getMetadata().getTag())||"",n=t.styles;return Array.isArray(n)&&(n=n.join(" ")),"".concat(n," ").concat(e)},An=function(){return void 0===wn&&(Pt(),wn=gt.theme),wn},On=function(){var t=H(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(wn!==e){t.next=2;break}return t.abrupt("return");case 2:return wn=e,t.next=5,Dn(wn);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ln=window.sap,Un=Ln&&Ln.ui&&"function"==typeof Ln.ui.getCore&&Ln.ui.getCore();bn="OpenUI5Support",Pn={isLoaded:function(){return!!Un},init:function(){return Un?new Promise((function(t){Un.attachInit((function(){Ln.ui.require(["sap/ui/core/LocaleData"],t)}))})):Promise.resolve()},getConfigurationSettingsObject:function(){if(Un){var t=Un.getConfiguration(),e=Ln.ui.require("sap/ui/core/LocaleData");return{animationMode:t.getAnimationMode(),language:t.getLanguage(),theme:t.getTheme(),rtl:t.getRTL(),calendarType:t.getCalendarType(),formatSettings:{firstDayOfWeek:e.getInstance(t.getLocale()).getFirstDayOfWeek()}}}},getLocaleDataObject:function(){if(Un){var t=Un.getConfiguration();return Ln.ui.require("sap/ui/core/LocaleData").getInstance(t.getLocale())._get()}},attachListeners:function(){var t;Un&&(t=Un.getConfiguration(),Un.attachThemeChanged(H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,On(t.getTheme());case 2:case"end":return e.stop()}}),e)})))))}},ft.set(bn,Pn);var Fn,Rn,In,jn='\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('.concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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(').concat("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'),Hn=function(){if(!document.querySelector("head>style[data-ui5-font-face]")){var t=dt("OpenUI5Support");t&&t.isLoaded()||Mn(jn,{"data-ui5-font-face":""})}},Wn=dt("OpenUI5Support"),zn=["value-changed"],Vn=function(){return void 0===In&&(Pt(),In=gt.noConflict),In},Bn=function(t){var e=Vn();return!function(t){return zn.includes(t)}(t)&&(!0===e||!function(t){var e=Vn();return!(e.events&&e.events.includes&&e.events.includes(t))}(t))},qn=function(t){In=t},Yn=window,Jn=new WeakMap,Gn=function(){function t(){throw W(this,t),new Error("Static class")}return V(t,null,[{key:"observeDOMNode",value:function(t,e,n){var r=Jn.get(t);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Yn.ShadyDOM?r=Yn.ShadyDOM.observeChildren(t,e):(r=new MutationObserver(e)).observe(t,n),Jn.set(t,r)}},{key:"unobserveDOMNode",value:function(t){var e=Jn.get(t);e&&(e instanceof MutationObserver?e.disconnect():Yn.ShadyDOM.unobserveChildren(e),Jn.delete(t))}}]),t}(),$n=function(){function t(){W(this,t)}return V(t,null,[{key:"isValid",value:function(t){}},{key:"generataTypeAcessors",value:function(t){var e=this;Object.keys(t).forEach((function(n){Object.defineProperty(e,n,{get:function(){return t[n]}})}))}}]),t}(),Qn=new Map,Zn=new Map,Kn=function(t){if(!Zn.has(t)){var e=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Zn.set(t,e)}return Zn.get(t)},Xn=function(t){return t.map((function(t,e){return 0===e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()})).join("")},tr=function(){function t(e){W(this,t),this.metadata=e}return V(t,[{key:"getTag",value:function(){return this.metadata.tag}},{key:"hasAttribute",value:function(t){var e=this.getProperties()[t];return e.type!==Object&&!e.noAttribute}},{key:"getPropertiesList",value:function(){return Object.keys(this.getProperties())}},{key:"getAttributesList",value:function(){return this.getPropertiesList().filter(this.hasAttribute,this).map(Kn)}},{key:"getSlots",value:function(){return this.metadata.slots||{}}},{key:"hasSlots",value:function(){return!!Object.entries(this.getSlots()).length}},{key:"hasIndividualSlots",value:function(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some((function(t){var e=K(t,2);e[0];return e[1].individualSlots}))}},{key:"slotsAreManaged",value:function(){return!!this.metadata.managedSlots}},{key:"getProperties",value:function(){return this.metadata.properties||{}}},{key:"getEvents",value:function(){return this.metadata.events||{}}}],[{key:"validatePropertyValue",value:function(t,e){return e.multiple?t.map((function(t){return er(t,e)})):er(t,e)}},{key:"validateSlotValue",value:function(t,e){return nr(t,e)}}]),t}(),er=function(t,e){var n=e.type;return n===Boolean?"boolean"==typeof t&&t:n===String?"string"==typeof t||null==t?t:t.toString():n===Object?"object"===I(t)?t:e.defaultValue:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof t||"function"!=typeof e)return!1;if(n&&t===e)return!0;var r=t;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==e);return r===e}(n,$n)?n.isValid(t)?t:e.defaultValue:void 0},nr=function(t,e){if(null===t)return t;var n;return((n=t)instanceof HTMLElement&&"slot"===n.localName?n.assignedNodes({flatten:!0}).filter((function(t){return t instanceof HTMLElement})):[n]).forEach((function(t){if(!(t instanceof e.type))throw new Error("".concat(t," is not of type ").concat(e.type))})),t},rr=function(){var t=document.querySelector("ui5-static-area");if(t)return t;var e=document.body;return t=document.createElement("ui5-static-area"),e.insertBefore(t,e.firstChild)},ar=function(t){function e(){return W(this,e),$(this,q(e).call(this))}return B(e,t),V(e,[{key:"destroy",value:function(){var t=document.querySelector(this.tagName.toLowerCase());t.parentElement.removeChild(t)}},{key:"isUI5Element",get:function(){return!0}}]),e}(G(HTMLElement));customElements.get("ui5-static-area")||customElements.define("ui5-static-area",ar);var or=function(){function t(e){W(this,t),this.ui5ElementContext=e}return V(t,[{key:"_updateFragment",value:function(){var t=this.ui5ElementContext.constructor.staticAreaTemplate(this.ui5ElementContext),e=this.ui5ElementContext.constructor.staticAreaStyles||!1;this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),rr().appendChild(this.staticAreaItemDomRef)),this.ui5ElementContext.constructor.render(t,this.staticAreaItemDomRef.shadowRoot,e,{eventContext:this.ui5ElementContext})}},{key:"_removeFragmentFromStaticArea",value:function(){var t=rr();t.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,t.childElementCount<1&&rr().destroy()}},{key:"_updateContentDensity",value:function(t){this.staticAreaItemDomRef&&(t?(this.staticAreaItemDomRef.classList.add("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.add("ui5-content-density-compact")):(this.staticAreaItemDomRef.classList.remove("sapUiSizeCompact"),this.staticAreaItemDomRef.classList.remove("ui5-content-density-compact")))}},{key:"getDomRef",value:function(){return this.staticAreaItemDomRef.shadowRoot}}]),t}(),ir=function(t){function e(){return W(this,e),$(this,q(e).call(this))}return B(e,t),V(e,[{key:"isUI5Element",get:function(){return!0}}]),e}(G(HTMLElement));customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",ir);var sr,ur,cr,lr,hr=function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,null,[{key:"isValid",value:function(t){return Number.isInteger(t)}}]),e}($n),pr=new(function(){function t(){W(this,t),this.list=[],this.promises=new Map}return V(t,[{key:"add",value:function(t){if(this.promises.has(t))return this.promises.get(t);var e,n=new Promise((function(t){e=t}));return n._deferredResolve=e,this.list.push(t),this.promises.set(t,n),n}},{key:"shift",value:function(){var t=this.list.shift();if(t){var e=this.promises.get(t);return this.promises.delete(t),{webComponent:t,promise:e}}}},{key:"getList",value:function(){return this.list}},{key:"isAdded",value:function(t){return this.promises.has(t)}}]),t}()),fr=function(){function t(){throw W(this,t),new Error("Static class")}var e,n;return V(t,null,[{key:"renderDeferred",value:function(e){var n=pr.add(e);return t.scheduleRenderTask(),n}},{key:"renderImmediately",value:function(e){var n=pr.add(e);return t.runRenderTask(),n}},{key:"scheduleRenderTask",value:function(){sr||(sr=window.requestAnimationFrame(t.renderWebComponents))}},{key:"runRenderTask",value:function(){sr||(sr=1,t.renderWebComponents())}},{key:"renderWebComponents",value:function(){for(var e,n,r,a=new Map;e=pr.shift();){n=e.webComponent,r=e.promise;var o=a.get(n)||0;if(o>10)throw new Error("Web component re-rendered too many times this task, max allowed is: ".concat(10));n._render(),r._deferredResolve(),a.set(n,o+1)}lr||(lr=setTimeout((function(){lr=void 0,0===pr.getList().length&&t._resolveTaskPromise()}),200)),sr=void 0}},{key:"whenDOMUpdated",value:function(){return ur||(ur=new Promise((function(t){cr=t,window.requestAnimationFrame((function(){0===pr.getList().length&&(ur=void 0,t())}))})))}},{key:"getNotDefinedComponents",value:function(){return Array.from(document.querySelectorAll("*")).filter((function(t){return t.localName.startsWith("ui5-")&&!t.isUI5Element}))}},{key:"whenShadowDOMReady",value:(n=H(regeneratorRuntime.mark((function t(){var e,n,r,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.getNotDefinedComponents(),n=e.map((function(t){return customElements.whenDefined(t.localName)})),r=new Promise((function(t){return setTimeout(t,5e3)})),t.next=5,Promise.race([Promise.all(n),r]);case 5:return(a=this.getNotDefinedComponents()).length&&console.warn("undefined elements after 5 seconds are: "+X(a).map((function(t){return t.localName})).join(" ; ")),t.abrupt("return",Promise.resolve());case 8:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"whenFinished",value:(e=H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.whenShadowDOMReady();case 2:return e.next=4,t.whenDOMUpdated();case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})},{key:"_resolveTaskPromise",value:function(){pr.getList().length>0||cr&&(cr.call(this,void 0),cr=void 0,ur=void 0)}}]),t}(),dr=function(t,e,n,r){var a=n+e.length,o=t.charAt(a),i=t.substring(0,n)+r;if("("===o){var s=function(t,e){for(var n=1,r=e+1;r<t.length;r++){var a=t.charAt(r);if("("===a?n++:")"===a&&n--,0===n)return r}}(t,a);return i+t.substring(a+1,s)+t.substring(s+1)}return i+t.substring(a)},mr=function(t,e){return(t=function(t,e,n){for(var r=t.indexOf(e);-1!==r;)r=(t=dr(t,e,r,n)).indexOf(e);return t}(t=t.trim(),"::slotted","")).startsWith(":host")?dr(t,":host",0,e):t.match(/^[@0-9]/)||"to"===t||"to{"===t?t:t.match(new RegExp("^".concat(e,"[^a-zA-Z0-9-]")))?t:"".concat(e," ").concat(t)},gr=new Map,yr=new Set,vr=function(t){var e=t.getMetadata().getTag();if(!yr.has(e)){var n=xn(t);n=function(t,e){t=(t=t.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");var n="";return t.split("\n").forEach((function(t){if(t.match(/{$/)){var r=t.split(",");t=r.map((function(t){return mr(t,e)})).join(",")}n="".concat(n).concat(t)})),n}(n,e),kn(e,n),yr.add(e)}},wr=function(t){return"disabled"===t||![HTMLElement,Element,Node].some((function(e){return e.prototype.hasOwnProperty(t)}))},br={events:{_propertyChange:{}}},Pr=new Set,_r=0,Mr=new Map,Tr=function(t){function e(){var t,n;return W(this,e),(t=$(this,q(e).call(this)))._generateId(),t._initializeState(),t._upgradeAllProperties(),t._initializeContainers(),t._upToDate=!1,t._domRefReadyPromise=new Promise((function(t){n=t})),t._domRefReadyPromise._deferredResolve=n,t._monitoredChildProps=new Map,t._firePropertyChange=!1,t}var n,r,a,o,i;return B(e,t),V(e,[{key:"_generateId",value:function(){this._id="ui5wc_".concat(++_r)}},{key:"_initializeContainers",value:function(){var t=this.constructor._needsShadowDOM(),e=this.constructor._needsStaticArea();if(t&&(this.attachShadow({mode:"open"}),window.ShadyDOM&&vr(this.constructor),document.adoptedStyleSheets)){var n=function(t){var e=t.getMetadata().getTag(),n=xn(t);if(gr.has(e))return gr.get(e);var r=new CSSStyleSheet;return r.replaceSync(n),gr.set(e,r),r}(this.constructor);this.shadowRoot.adoptedStyleSheets=[n]}e&&(this.staticAreaItem=new or(this))}},{key:"connectedCallback",value:(i=H(regeneratorRuntime.mark((function t(){var e,n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.constructor._needsShadowDOM(),n=this.constructor._needsStaticArea(),r=this.constructor.getMetadata().slotsAreManaged(),!e){t.next=12;break}if(!r){t.next=8;break}return this._startObservingDOMChildren(),t.next=8,this._processChildren();case 8:return t.next=10,fr.renderImmediately(this);case 10:this._domRefReadyPromise._deferredResolve(),"function"==typeof this.onEnterDOM&&this.onEnterDOM();case 12:n&&this.staticAreaItem._updateFragment(this);case 13:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var t=this.constructor._needsShadowDOM(),e=this.constructor._needsStaticArea(),n=this.constructor.getMetadata().slotsAreManaged();t&&(n&&this._stopObservingDOMChildren(),"function"==typeof this.onExitDOM&&this.onExitDOM()),e&&this.staticAreaItem._removeFragmentFromStaticArea()}},{key:"_startObservingDOMChildren",value:function(){if(this.constructor.getMetadata().hasSlots()){Gn.observeDOMNode(this,this._processChildren.bind(this),{childList:!0,subtree:!0,characterData:!0})}}},{key:"_stopObservingDOMChildren",value:function(){Gn.unobserveDOMNode(this)}},{key:"_processChildren",value:(o=H(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.constructor.getMetadata().hasSlots()){t.next=4;break}return t.next=4,this._updateSlots();case 4:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"_updateSlots",value:(a=H(regeneratorRuntime.mark((function t(){var e,n,r,a,o,i,s,u,c,l,h,p=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=this.constructor.getMetadata().getSlots(),n=e.default&&e.default.type===Node,r=Array.from(n?this.childNodes:this.children),a=0,o=Object.entries(e);a<o.length;a++)i=K(o[a],2),s=i[0],u=i[1],this._clearSlot(s,u);return c=new Map,l=new Map,h=r.map(function(){var t=H(regeneratorRuntime.mark((function t(n,r){var a,o,i,s,u,h,f,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=p.constructor._getSlotName(n),void 0!==(o=e[a])){t.next=6;break}return i=Object.keys(e).join(", "),console.warn("Unknown slotName: ".concat(a,", ignoring"),n,"Valid values are: ".concat(i)),t.abrupt("return");case 6:if(o.individualSlots&&(s=(c.get(a)||0)+1,c.set(a,s),n._individualSlot="".concat(a,"-").concat(s)),!(n instanceof HTMLElement)){t.next=19;break}if(!(u=n.localName).includes("-")){t.next=19;break}if(window.customElements.get(u)){t.next=18;break}return h=window.customElements.whenDefined(u),(f=Mr.get(u))||(f=new Promise((function(t){return setTimeout(t,1e3)})),Mr.set(u,f)),t.next=18,Promise.race([h,f]);case 18:window.customElements.upgrade(n);case 19:(n=p.constructor.getMetadata().constructor.validateSlotValue(n,o)).isUI5Element&&o.listenFor&&p._attachChildPropertyUpdated(n,o.listenFor),d=o.propertyName||a,l.has(d)?l.get(d).push({child:n,idx:r}):l.set(d,[{child:n,idx:r}]);case 23:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),t.next=9,Promise.all(h);case 9:l.forEach((function(t,e){p._state[e]=t.sort((function(t,e){return t.idx-e.idx})).map((function(t){return t.child}))})),this._invalidate();case 11:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"_clearSlot",value:function(t,e){var n=this,r=e.propertyName||t,a=this._state[r];Array.isArray(a)||(a=[a]),a.forEach((function(t){t&&t.isUI5Element&&n._detachChildPropertyUpdated(t)})),this._state[r]=[],this._invalidate(r,[])}},{key:"attributeChangedCallback",value:function(t,e,n){var r=this.constructor.getMetadata().getProperties(),a=function(t){if(!Qn.has(t)){var e=Xn(t.split("-"));Qn.set(t,e)}return Qn.get(t)}(t.replace(/^ui5-/,""));if(r.hasOwnProperty(a)){var o=r[a].type;o===Boolean&&(n=null!==n),o===hr&&(n=parseInt(n)),this[a]=n}}},{key:"_updateAttribute",value:function(t,e){if(this.constructor.getMetadata().hasAttribute(t)&&"object"!==I(e)){var n=Kn(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)}}},{key:"_upgradeProperty",value:function(t){if(this.hasOwnProperty(t)){var e=this[t];delete this[t],this[t]=e}}},{key:"_upgradeAllProperties",value:function(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}},{key:"_initializeState",value:function(){var t=this.constructor._getDefaultState();this._state=Object.assign({},t)}},{key:"_attachChildPropertyUpdated",value:function(t,e){var n=t.constructor.getMetadata(),r=this.constructor._getSlotName(t),a=n.getProperties(),o=[],i=[];Array.isArray(e)?o=e:(o=Array.isArray(e.props)?e.props:Object.keys(a),i=Array.isArray(e.exclude)?e.exclude:[]),this._monitoredChildProps.has(r)||this._monitoredChildProps.set(r,{observedProps:o,notObservedProps:i}),t.addEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate),t._firePropertyChange=!0}},{key:"_detachChildPropertyUpdated",value:function(t){t.removeEventListener("_propertyChange",this._invalidateParentOnPropertyUpdate),t._firePropertyChange=!1}},{key:"_propertyChange",value:function(t,e){this._updateAttribute(t,e),this._firePropertyChange&&this.dispatchEvent(new CustomEvent("_propertyChange",{detail:{name:t,newValue:e},composed:!1,bubbles:!0}))}},{key:"_invalidateParentOnPropertyUpdate",value:function(t){var e=this.parentNode;if(e){var n=e.constructor._getSlotName(this),r=e._monitoredChildProps.get(n);if(r){var a=r.observedProps,o=r.notObservedProps;a.includes(t.detail.name)&&!o.includes(t.detail.name)&&e._invalidate("_parent_",this)}}}},{key:"_invalidate",value:function(){this._upToDate&&this.getDomRef()&&!this._suppressInvalidation&&(this._upToDate=!1,fr.renderDeferred(this))}},{key:"_render",value:function(){var t=this.constructor.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,"function"==typeof this.onBeforeRendering&&this.onBeforeRendering(),this._onComponentStateFinalized&&this._onComponentStateFinalized(),delete this._suppressInvalidation,this._upToDate=!0,this._updateShadowRoot(),this.constructor._needsStaticArea()&&this.staticAreaItem._updateFragment(this),t&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}},{key:"_updateShadowRoot",value:function(){var t,e=this.constructor.template(this);document.adoptedStyleSheets||window.ShadyDOM||(t=xn(this.constructor)),this.constructor.render(e,this.shadowRoot,t,{eventContext:this})}},{key:"_assignIndividualSlotsToChildren",value:function(){Array.from(this.children).forEach((function(t){t._individualSlot&&t.setAttribute("slot",t._individualSlot)}))}},{key:"_waitForDomRef",value:function(){return this._domRefReadyPromise}},{key:"getDomRef",value:function(){if(this.shadowRoot&&0!==this.shadowRoot.children.length)return 1===this.shadowRoot.children.length?this.shadowRoot.children[0]:this.shadowRoot.children[1]}},{key:"getFocusDomRef",value:function(){var t=this.getDomRef();if(t)return t.querySelector("[data-sap-focus-ref]")||t}},{key:"focus",value:(r=H(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._waitForDomRef();case 2:(e=this.getFocusDomRef())&&"function"==typeof e.focus&&e.focus();case 4:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"fireEvent",value:function(t,e,n){var r,a=new CustomEvent("ui5-".concat(t),{detail:e,composed:!1,bubbles:!0,cancelable:n});if(r=this.dispatchEvent(a),Bn(t))return r;var o=new CustomEvent(t,{detail:e,composed:!1,bubbles:!0,cancelable:n});return this.dispatchEvent(o)&&r}},{key:"getSlottedNodes",value:function(t){return this[t].reduce((function(t,e){return"slot"!==e.localName?t.concat([e]):t.concat(e.assignedNodes({flatten:!0}).filter((function(t){return t instanceof HTMLElement})))}),[])}},{key:"updateStaticAreaItemContentDensity",value:function(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}},{key:"getStaticAreaItemDomRef",value:function(){return this.staticAreaItem.getDomRef()}},{key:"isCompact",get:function(){return"compact"===getComputedStyle(this).getPropertyValue("--_ui5_content_density")}},{key:"isUI5Element",get:function(){return!0}}],[{key:"_getSlotName",value:function(t){if(!(t instanceof HTMLElement))return"default";var e=t.getAttribute("slot");if(e){var n=e.match(/^(.+?)-\d+$/);return n?n[1]:e}return"default"}},{key:"_needsShadowDOM",value:function(){return!!this.template}},{key:"_needsStaticArea",value:function(){return"function"==typeof this.staticAreaTemplate}},{key:"_getDefaultState",value:function(){if(this._defaultState)return this._defaultState;var t=this.getMetadata(),e={},n=t.slotsAreManaged(),r=t.getProperties();for(var a in r){var o=r[a].type,i=r[a].defaultValue;o===Boolean?(e[a]=!1,void 0!==i&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):r[a].multiple?e[a]=[]:e[a]=o===Object?"defaultValue"in r[a]?r[a].defaultValue:{}:o===String?"defaultValue"in r[a]?r[a].defaultValue:"":i}if(n)for(var s=t.getSlots(),u=0,c=Object.entries(s);u<c.length;u++){var l=K(c[u],2),h=l[0];e[l[1].propertyName||h]=[]}return this._defaultState=e,e}},{key:"_generateAccessors",value:function(){for(var t=this.prototype,e=this.getMetadata().slotsAreManaged(),n=this.getMetadata().getProperties(),r=function(){var e=K(o[a],2),n=e[0],r=e[1];if(!wr(n))throw new Error('"'.concat(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 "'.concat(n,'". All booleans are false by default.'));Object.defineProperty(t,n,{get:function(){if(void 0!==this._state[n])return this._state[n];var t=r.defaultValue;return r.type!==Boolean&&(r.type===String?t:r.multiple?[]:t)},set:function(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))}})},a=0,o=Object.entries(n);a<o.length;a++)r();if(e)for(var i=this.getMetadata().getSlots(),s=function(){var e=K(c[u],2),n=e[0],r=e[1];if(!wr(n))throw new Error('"'.concat(n,'" is not a valid property name. Use a name that does not collide with DOM APIs'));var a=r.propertyName||n;Object.defineProperty(t,a,{get:function(){return void 0!==this._state[a]?this._state[a]:[]},set:function(){throw new Error("Cannot set slots directly, use the DOM APIs")}})},u=0,c=Object.entries(i);u<c.length;u++)s()}},{key:"define",value:(n=H(regeneratorRuntime.mark((function t(){var e,n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Rn||(Rn=new Promise(function(){var t=H(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Wn){t.next=3;break}return t.next=3,Wn.init();case 3:return t.next=5,new Promise((function(t){document.body?t():document.addEventListener("DOMContentLoaded",(function(){t()}))}));case 5:return t.next=7,Dn(An());case 7:return Wn&&Wn.attachListeners(),Hn(),t.next=11,Fn||(Fn=new Promise((function(t){window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor((function(){t()})):t()})));case 11:e();case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:if(!this.onDefine){t.next=5;break}return t.next=5,this.onDefine();case 5:return e=this.getMetadata().getTag(),n=Pr.has(e),(r=customElements.get(e))&&!n?console.warn("Skipping definition of tag ".concat(e,", because it was already defined by another instance of ui5-webcomponents.")):r||(this._generateAccessors(),Pr.add(e),window.customElements.define(e,this)),t.abrupt("return",this);case 10:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"getMetadata",value:function(){if(this.hasOwnProperty("_metadata"))return this._metadata;for(var t=[this.metadata],n=this;n!==e;)n=Object.getPrototypeOf(n),t.unshift(n.metadata);var r=pt.apply(void 0,[{}].concat(t));return this._metadata=new tr(r),this._metadata}},{key:"observedAttributes",get:function(){return this.getMetadata().getAttributesList()}},{key:"metadata",get:function(){return br}},{key:"styles",get:function(){return""}}]),e}(G(HTMLElement)),Cr=new WeakMap,Sr=function(t){return"function"==typeof t&&Cr.has(t)},kr=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,Er=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==n;){var r=e.nextSibling;t.removeChild(e),e=r}},Dr={},Nr={},xr="{{lit-".concat(String(Math.random()).slice(2),"}}"),Ar="\x3c!--".concat(xr,"--\x3e"),Or=new RegExp("".concat(xr,"|").concat(Ar)),Lr=function t(e,n){W(this,t),this.parts=[],this.element=n;for(var r=[],a=[],o=document.createTreeWalker(n.content,133,null,!1),i=0,s=-1,u=0,c=e.strings,l=e.values.length;u<l;){var h=o.nextNode();if(null!==h){if(s++,1===h.nodeType){if(h.hasAttributes()){for(var p=h.attributes,f=p.length,d=0,m=0;m<f;m++)Ur(p[m].name,"$lit$")&&d++;for(;d-- >0;){var g=c[u],y=Ir.exec(g)[2],v=y.toLowerCase()+"$lit$",w=h.getAttribute(v);h.removeAttribute(v);var b=w.split(Or);this.parts.push({type:"attribute",index:s,name:y,strings:b}),u+=b.length-1}}"TEMPLATE"===h.tagName&&(a.push(h),o.currentNode=h.content)}else if(3===h.nodeType){var P=h.data;if(P.indexOf(xr)>=0){for(var _=h.parentNode,M=P.split(Or),T=M.length-1,C=0;C<T;C++){var S=void 0,k=M[C];if(""===k)S=Rr();else{var E=Ir.exec(k);null!==E&&Ur(E[2],"$lit$")&&(k=k.slice(0,E.index)+E[1]+E[2].slice(0,-"$lit$".length)+E[3]),S=document.createTextNode(k)}_.insertBefore(S,h),this.parts.push({type:"node",index:++s})}""===M[T]?(_.insertBefore(Rr(),h),r.push(h)):h.data=M[T],u+=T}}else if(8===h.nodeType)if(h.data===xr){var D=h.parentNode;null!==h.previousSibling&&s!==i||(s++,D.insertBefore(Rr(),h)),i=s,this.parts.push({type:"node",index:s}),null===h.nextSibling?h.data="":(r.push(h),s--),u++}else for(var N=-1;-1!==(N=h.data.indexOf(xr,N+1));)this.parts.push({type:"node",index:-1}),u++}else o.currentNode=a.pop()}for(var x=0,A=r;x<A.length;x++){var O=A[x];O.parentNode.removeChild(O)}},Ur=function(t,e){var n=t.length-e.length;return n>=0&&t.slice(n)===e},Fr=function(t){return-1!==t.index},Rr=function(){return document.createComment("")},Ir=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,jr=function(){function t(e,n,r){W(this,t),this.__parts=[],this.template=e,this.processor=n,this.options=r}return V(t,[{key:"update",value:function(t){var e=0,n=!0,r=!1,a=void 0;try{for(var o,i=this.__parts[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}var u=!0,c=!1,l=void 0;try{for(var h,p=this.__parts[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var f=h.value;void 0!==f&&f.commit()}}catch(t){c=!0,l=t}finally{try{u||null==p.return||p.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){for(var t,e=kr?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,a=document.createTreeWalker(e,133,null,!1),o=0,i=0,s=a.nextNode();o<r.length;)if(t=r[o],Fr(t)){for(;i<t.index;)i++,"TEMPLATE"===s.nodeName&&(n.push(s),a.currentNode=s.content),null===(s=a.nextNode())&&(a.currentNode=n.pop(),s=a.nextNode());if("node"===t.type){var u=this.processor.handleTextExpression(this.options);u.insertAfterNode(s.previousSibling),this.__parts.push(u)}else{var c;(c=this.__parts).push.apply(c,X(this.processor.handleAttributeExpressions(s,t.name,t.strings,this.options)))}o++}else this.__parts.push(void 0),o++;return kr&&(document.adoptNode(e),customElements.upgrade(e)),e}}]),t}(),Hr=" ".concat(xr," "),Wr=function(){function t(e,n,r,a){W(this,t),this.strings=e,this.values=n,this.type=r,this.processor=a}return V(t,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=!1,r=0;r<t;r++){var a=this.strings[r],o=a.lastIndexOf("\x3c!--");n=(o>-1||n)&&-1===a.indexOf("--\x3e",o+1);var i=Ir.exec(a);e+=null===i?a+(n?Hr:Ar):a.substr(0,i.index)+i[1]+i[2]+"$lit$"+i[3]+xr}return e+=this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),t}(),zr=function(t){return null===t||!("object"===I(t)||"function"==typeof t)},Vr=function(t){return Array.isArray(t)||!(!t||!t[Symbol.iterator])},Br=function(){function t(e,n,r){W(this,t),this.dirty=!0,this.element=e,this.name=n,this.strings=r,this.parts=[];for(var a=0;a<r.length-1;a++)this.parts[a]=this._createPart()}return V(t,[{key:"_createPart",value:function(){return new qr(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var a=this.parts[r];if(void 0!==a){var o=a.value;if(zr(o)||!Vr(o))n+="string"==typeof o?o:String(o);else{var i=!0,s=!1,u=void 0;try{for(var c,l=o[Symbol.iterator]();!(i=(c=l.next()).done);i=!0){var h=c.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{i||null==l.return||l.return()}finally{if(s)throw u}}}}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),t}(),qr=function(){function t(e){W(this,t),this.value=void 0,this.committer=e}return V(t,[{key:"setValue",value:function(t){t===Dr||zr(t)&&t===this.value||(this.value=t,Sr(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;Sr(this.value);){var t=this.value;this.value=Dr,t(this)}this.value!==Dr&&this.committer.commit()}}]),t}(),Yr=function(){function t(e){W(this,t),this.value=void 0,this.__pendingValue=void 0,this.options=e}return V(t,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(Rr()),this.endNode=t.appendChild(Rr())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t.__insert(this.startNode=Rr()),t.__insert(this.endNode=Rr())}},{key:"insertAfterPart",value:function(t){t.__insert(this.startNode=Rr()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Sr(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Dr,t(this)}var e=this.__pendingValue;e!==Dr&&(zr(e)?e!==this.value&&this.__commitText(e):e instanceof Wr?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):Vr(e)?this.__commitIterable(e):e===Nr?(this.value=Nr,this.clear()):this.__commitText(e))}},{key:"__insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"__commitNode",value:function(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}},{key:"__commitText",value:function(t){var 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}},{key:"__commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof jr&&this.value.template===e)this.value.update(t.values);else{var n=new jr(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(e){Array.isArray(this.value)||(this.value=[],this.clear());var n,r=this.value,a=0,o=!0,i=!1,s=void 0;try{for(var u,c=e[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var l=u.value;void 0===(n=r[a])&&(n=new t(this.options),r.push(n),0===a?n.appendIntoPart(this):n.insertAfterPart(r[a-1])),n.setValue(l),n.commit(),a++}}catch(t){i=!0,s=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw s}}a<r.length&&(r.length=a,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;Er(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),t}(),Jr=function(){function t(e,n,r){if(W(this,t),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=n,this.strings=r}return V(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Sr(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Dr,t(this)}if(this.__pendingValue!==Dr){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=Dr}}}]),t}(),Gr=function(t){function e(t,n,r){var a;return W(this,e),(a=$(this,q(e).call(this,t,n,r))).single=2===r.length&&""===r[0]&&""===r[1],a}return B(e,t),V(e,[{key:"_createPart",value:function(){return new $r(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:Q(q(e.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),e}(Br),$r=function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),e}(qr),Qr=!1;try{var Zr={get capture(){return Qr=!0,!1}};window.addEventListener("test",Zr,Zr),window.removeEventListener("test",Zr,Zr)}catch(t){}var Kr=function(){function t(e,n,r){var a=this;W(this,t),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(t){return a.handleEvent(t)}}return V(t,[{key:"setValue",value:function(t){this.__pendingValue=t}},{key:"commit",value:function(){for(;Sr(this.__pendingValue);){var t=this.__pendingValue;this.__pendingValue=Dr,t(this)}if(this.__pendingValue!==Dr){var e=this.__pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),a=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),a&&(this.__options=Xr(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=Dr}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),t}(),Xr=function(t){return t&&(Qr?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},ta=new(function(){function t(){W(this,t)}return V(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var a=e[0];return"."===a?new Gr(t,e.slice(1),n).parts:"@"===a?[new Kr(t,e.slice(1),r.eventContext)]:"?"===a?[new Jr(t,e.slice(1),n)]:new Br(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new Yr(t)}}]),t}());
171
- /**
172
- * @license
173
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
174
- * This code may only be used under the BSD style license found at
175
- * http://polymer.github.io/LICENSE.txt
176
- * The complete set of authors may be found at
177
- * http://polymer.github.io/AUTHORS.txt
178
- * The complete set of contributors may be found at
179
- * http://polymer.github.io/CONTRIBUTORS.txt
180
- * Code distributed by Google as part of the polymer project is also
181
- * subject to an additional IP rights grant found at
182
- * http://polymer.github.io/PATENTS.txt
183
- */
184
- function ea(t){var e=na.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},na.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(xr);return void 0===(n=e.keyString.get(r))&&(n=new Lr(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var na=new Map,ra=new WeakMap,aa=function(t,e,n){var r=ra.get(e);void 0===r&&(Er(e,e.firstChild),ra.set(e,r=new Yr(Object.assign({templateFactory:ea},n))),r.appendInto(e)),r.setValue(t),r.commit()};
185
- /**
186
- * @license
187
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
188
- * This code may only be used under the BSD style license found at
189
- * http://polymer.github.io/LICENSE.txt
190
- * The complete set of authors may be found at
191
- * http://polymer.github.io/AUTHORS.txt
192
- * The complete set of contributors may be found at
193
- * http://polymer.github.io/CONTRIBUTORS.txt
194
- * Code distributed by Google as part of the polymer project is also
195
- * subject to an additional IP rights grant found at
196
- * http://polymer.github.io/PATENTS.txt
197
- */
198
- /**
199
- * @license
200
- * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
201
- * This code may only be used under the BSD style license found at
202
- * http://polymer.github.io/LICENSE.txt
203
- * The complete set of authors may be found at
204
- * http://polymer.github.io/AUTHORS.txt
205
- * The complete set of contributors may be found at
206
- * http://polymer.github.io/CONTRIBUTORS.txt
207
- * Code distributed by Google as part of the polymer project is also
208
- * subject to an additional IP rights grant found at
209
- * http://polymer.github.io/PATENTS.txt
210
- */
211
- (window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.1.2");var oa=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new Wr(t,n,"html",ta)};function ia(){var t=Z(["<style>","</style>",""]);return ia=function(){return t},t}var sa=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.eventContext;n&&(t=oa(ia(),n,t)),aa(t,e,{eventContext:a})};function ua(){var t=Z(['<div><p>\n\t\t\t\t<slot></slot>\n\t\t\t\t<slot name="other"></slot>\n\t\t\t\t<slot name="individual-1"></slot>\n\t\t\t\t<slot name="individual-2"></slot>\n\t\t\t</p></div>']);return ua=function(){return t},t}var ca={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"}}},la=function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,[{key:"onBeforeRendering",value:function(){}},{key:"onAfterRendering",value:function(){}},{key:"onEnterDOM",value:function(){}},{key:"onExitDOM",value:function(){}}],[{key:"metadata",get:function(){return ca}},{key:"render",get:function(){return sa}},{key:"template",get:function(){return function(t){return oa(ua())}}},{key:"styles",get:function(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}}]),e}(Tr);la.define();var ha={tag:"ui5-test-no-shadow"};function pa(){var t=Z(["<div>\n\t\t\t\t<slot></slot>\n\t\t\t</div>"]);return pa=function(){return t},t}(function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,null,[{key:"metadata",get:function(){return ha}}]),e})(Tr).define();var fa={tag:"ui5-test-parent",managedSlots:!0,slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};function da(){var t=Z(["<div></div>"]);return da=function(){return t},t}(function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,null,[{key:"metadata",get:function(){return fa}},{key:"render",get:function(){return sa}},{key:"template",get:function(){return function(t){return oa(pa())}}}]),e})(Tr).define();var ma={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};(function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,null,[{key:"metadata",get:function(){return ma}},{key:"render",get:function(){return sa}},{key:"template",get:function(){return function(t){return oa(da())}}}]),e})(Tr).define();var ga={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(function(t){function e(){return W(this,e),$(this,q(e).apply(this,arguments))}return B(e,t),V(e,null,[{key:"metadata",get:function(){return ga}}]),e})(la).define();Wt("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),Wt("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),Wt("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),Wt("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }"),Wt("@ui5/webcomponents-base-test","sap_belize_hcw",":root{ --var1: orange; }");var ya,va={},wa={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},ba=function(){var t,e,n,r=function(){var 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}(),a=navigator.userAgent,o=window.navigator;if(r.mozilla)t=/Mobile/,a.match(/Firefox\/(\d+\.\d+)/)?(n=parseFloat(RegExp.$1),e={name:wa.FIREFOX,versionStr:"".concat(n),version:n,mozilla:!0,mobile:t.test(a)}):e={mobile:t.test(a),mozilla:!0,version:-1};else if(r.webkit){var i,s=a.toLowerCase().match(/webkit[/]([\d.]+)/);s&&(i=s[1]),t=/Mobile/;var u=a.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),c=a.match(/FxiOS\/(\d+\.\d+)/),l=a.match(/Android .+ Version\/(\d+\.\d+)/);if(u||c||l){var h,p,f;u?(h=wa.CHROME,f=t.test(a),p=parseFloat(u[2])):c?(h=wa.FIREFOX,f=!0,p=parseFloat(c[1])):l&&(h=wa.ANDROID,f=t.test(a),p=parseFloat(l[1])),e={name:h,mobile:f,versionStr:"".concat(p),version:p,webkit:!0,webkitVersion:i}}else{var d=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,m=o.standalone;if(d.test(a)){var g=d.exec(a);n=parseFloat(g[2]),e={name:wa.SAFARI,versionStr:"".concat(n),fullscreen:!1,webview:!1,version:n,mobile:t.test(a),webkit:!0,webkitVersion:i,phantomJS:"PhantomJS"===g[1]}}else e=!/iPhone|iPad|iPod/.test(a)||/CriOS/.test(a)||/FxiOS/.test(a)||!0!==m&&!1!==m?{mobile:t.test(a),webkit:!0,webkitVersion:i,version:-1}:{name:wa.SAFARI,version:-1,fullscreen:m,webview:!m,mobile:t.test(a),webkit:!0,webkitVersion:i}}}else r.msie||r.trident?(n=parseFloat(r.version),e={name:wa.INTERNET_EXPLORER,versionStr:"".concat(n),version:n,msie:!0,mobile:!1}):r.edge?(n=parseFloat(r.version),e={name:wa.EDGE,versionStr:"".concat(n),version:n,edge:!0}):e={name:"",versionStr:"",version:-1,mobile:!1};return e},Pa=function(){return void 0===ya&&(Pt(),ya=gt.animationMode),ya},_a={iw:"he",ji:"yi",in:"id",sh:"sr"},Ma=tt("$cldr-rtl-locales:ar,fa,he$")||[],Ta=function(){var t=(Pt(),gt.rtl);return null!==t?!!t:function(t){return t=t&&_a[t]||t,Ma.indexOf(t)>=0}(_t()||rt())},Ca=new Map,Sa=new Map,ka=function(){var t=H(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Sa.has("SAP-icons")){t.next=3;break}return t.next=3,Sa.get("SAP-icons");case 3:return t.abrupt("return",Array.from(Ca.keys()).map((function(t){return t.split(":")[1]})));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();window.RenderScheduler=fr,window.isIE=function(){return va.browser||(va.browser=ba(),va.browser.BROWSER=wa,va.browser.name&&Object.keys(wa).forEach((function(t){wa[t]===va.browser.name&&(va.browser[t.toLowerCase()]=!0)}))),!!va.browser.msie},window.registerThemeProperties=Wt,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:Pa,getLanguage:_t,getTheme:An,setTheme:On,getNoConflict:Vn,setNoConflict:qn,getCalendarType:kt,getRTL:Ta,getFirstDayOfWeek:Et},getIconNames:ka};var Ea={getAnimationMode:Pa,getLanguage:_t,getTheme:An,setTheme:On,getNoConflict:Vn,setNoConflict:qn,getCalendarType:kt,getRTL:Ta,getFirstDayOfWeek:Et};t.configuration=Ea,t.getIconNames=ka}(this["sap-ui-webcomponents-bundle"]=this["sap-ui-webcomponents-bundle"]||{});
212
- //# sourceMappingURL=bundle.es5.js.map