@ui5/webcomponents-base 0.0.0-e7dd012d7 → 0.0.0-e818f286e

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 (353) hide show
  1. package/.eslintignore +3 -0
  2. package/CHANGELOG.md +314 -0
  3. package/README.md +53 -7
  4. package/bundle.esm.js +20 -20
  5. package/dist/AssetRegistry.js +8 -9
  6. package/dist/Boot.js +59 -0
  7. package/dist/CSP.js +59 -0
  8. package/dist/CustomElementsRegistry.js +60 -4
  9. package/dist/CustomElementsScope.js +20 -98
  10. package/dist/CustomElementsScopeUtils.js +108 -0
  11. package/dist/DOMObserver.js +65 -0
  12. package/dist/Device.js +71 -773
  13. package/dist/EventProvider.js +30 -26
  14. package/dist/FeaturesRegistry.js +4 -1
  15. package/dist/FontFace.js +7 -95
  16. package/dist/InitialConfiguration.js +37 -21
  17. package/dist/Keys.js +98 -0
  18. package/dist/ManagedStyles.js +83 -0
  19. package/dist/MediaRange.js +109 -0
  20. package/dist/{util/parseProperties.js → PropertiesFileFormat.js} +6 -0
  21. package/dist/Render.js +175 -0
  22. package/dist/RenderScheduler.js +16 -138
  23. package/dist/Runtimes.js +107 -0
  24. package/dist/StaticArea.js +1 -29
  25. package/dist/StaticAreaItem.js +58 -65
  26. package/dist/SystemCSSVars.js +4 -25
  27. package/dist/UI5Element.js +315 -382
  28. package/dist/UI5ElementMetadata.js +132 -17
  29. package/dist/asset-registries/Icons.js +117 -14
  30. package/dist/asset-registries/Illustrations.js +30 -0
  31. package/dist/asset-registries/LocaleData.js +97 -68
  32. package/dist/asset-registries/Themes.js +29 -35
  33. package/dist/asset-registries/i18n.js +62 -49
  34. package/dist/assets/bundle.esm.81ba431e.js +43 -0
  35. package/dist/assets-meta/IconCollectionsAlias.js +18 -0
  36. package/dist/config/Icons.js +52 -0
  37. package/dist/config/Language.js +18 -20
  38. package/dist/config/Theme.js +25 -0
  39. package/dist/css/BusyIndicator.css +80 -0
  40. package/dist/css/FontFace.css +75 -0
  41. package/dist/css/OverrideFontFace.css +32 -0
  42. package/dist/css/SystemCSSVars.css +17 -0
  43. package/dist/delegate/ItemNavigation.js +238 -201
  44. package/dist/delegate/ResizeHandler.js +78 -37
  45. package/dist/delegate/ScrollEnablement.js +49 -20
  46. package/dist/features/F6Navigation.js +110 -0
  47. package/dist/features/OpenUI5Enablement.js +119 -0
  48. package/dist/features/OpenUI5Support.js +41 -6
  49. package/dist/generated/AssetParameters.js +1 -1
  50. package/dist/generated/VersionInfo.js +10 -0
  51. package/dist/generated/css/BusyIndicator.css.js +5 -0
  52. package/dist/generated/css/FontFace.css.js +5 -0
  53. package/dist/generated/css/OverrideFontFace.css.js +5 -0
  54. package/dist/generated/css/SystemCSSVars.css.js +5 -0
  55. package/dist/i18nBundle.js +38 -4
  56. package/dist/locale/applyDirection.js +6 -4
  57. package/dist/locale/directionChange.js +32 -0
  58. package/dist/locale/getEffectiveDir.js +28 -0
  59. package/dist/locale/languageChange.js +1 -1
  60. package/dist/renderer/LitRenderer.js +39 -18
  61. package/dist/renderer/directives/style-map.js +72 -0
  62. package/dist/renderer/executeTemplate.js +19 -2
  63. package/dist/sap/base/Log.js +241 -0
  64. package/dist/sap/base/assert.js +8 -0
  65. package/dist/sap/base/security/URLListValidator.js +148 -0
  66. package/dist/sap/base/security/encodeCSS.js +14 -0
  67. package/dist/sap/base/security/encodeXML.js +23 -0
  68. package/dist/sap/base/security/sanitizeHTML.js +16 -0
  69. package/dist/sap/base/strings/toHex.js +8 -0
  70. package/dist/sap/base/util/now.js +7 -0
  71. package/dist/sap/ui/thirdparty/caja-html-sanitizer.js +3585 -0
  72. package/dist/theming/CustomStyle.js +25 -5
  73. package/dist/theming/applyTheme.js +11 -16
  74. package/dist/theming/getConstructableStyle.js +7 -6
  75. package/dist/theming/getEffectiveLinksHrefs.js +27 -0
  76. package/dist/theming/getEffectiveStyle.js +24 -8
  77. package/dist/theming/getStylesString.js +4 -2
  78. package/dist/theming/getThemeDesignerTheme.js +25 -5
  79. package/dist/theming/preloadLinks.js +23 -0
  80. package/dist/types/CSSColor.js +9 -0
  81. package/dist/types/CalendarType.js +1 -1
  82. package/dist/types/DataType.js +13 -1
  83. package/dist/types/Float.js +4 -0
  84. package/dist/types/Integer.js +4 -0
  85. package/dist/types/InvisibleMessageMode.js +30 -0
  86. package/dist/types/ItemNavigationBehavior.js +2 -7
  87. package/dist/types/PopupState.js +1 -1
  88. package/dist/types/ValueState.js +1 -1
  89. package/dist/updateShadowRoot.js +29 -0
  90. package/dist/util/AriaLabelHelper.js +6 -8
  91. package/dist/util/Caret.js +32 -0
  92. package/dist/util/ColorConversion.js +398 -0
  93. package/dist/util/FocusableElements.js +22 -9
  94. package/dist/util/HTMLSanitizer.js +7 -0
  95. package/dist/util/InvisibleMessage.js +69 -0
  96. package/dist/util/PopupUtils.js +93 -0
  97. package/dist/util/SlotsHelper.js +43 -0
  98. package/dist/util/TabbableElements.js +5 -1
  99. package/dist/util/arraysAreEqual.js +15 -0
  100. package/dist/util/clamp.js +12 -0
  101. package/dist/util/createLinkInHead.js +19 -0
  102. package/dist/util/debounce.js +17 -0
  103. package/dist/util/escapeRegex.js +10 -0
  104. package/dist/util/generateHighlightedMarkup.js +42 -0
  105. package/dist/util/getActiveElement.js +11 -0
  106. package/dist/util/getClassCopy.js +10 -0
  107. package/dist/util/getEffectiveContentDensity.js +5 -0
  108. package/dist/util/getNormalizedTarget.js +16 -0
  109. package/dist/util/isDefaultSlotProvided.js +11 -0
  110. package/dist/util/isElementInView.js +15 -0
  111. package/dist/util/isNodeHidden.js +1 -1
  112. package/dist/util/isNodeTabbable.js +4 -4
  113. package/hash.txt +1 -0
  114. package/index.js +1 -1
  115. package/lib/generate-asset-parameters/index.js +8 -5
  116. package/lib/generate-styles/index.js +26 -0
  117. package/lib/generate-version-info/index.js +32 -0
  118. package/package-scripts.js +37 -28
  119. package/package.json +20 -13
  120. package/src/AssetRegistry.js +8 -9
  121. package/src/Boot.js +59 -0
  122. package/src/CSP.js +59 -0
  123. package/src/CustomElementsRegistry.js +60 -4
  124. package/src/CustomElementsScope.js +20 -98
  125. package/src/CustomElementsScopeUtils.js +108 -0
  126. package/src/DOMObserver.js +65 -0
  127. package/src/Device.js +71 -773
  128. package/src/EventProvider.js +30 -26
  129. package/src/FeaturesRegistry.js +4 -1
  130. package/src/FontFace.js +7 -95
  131. package/src/InitialConfiguration.js +37 -21
  132. package/src/Keys.js +98 -0
  133. package/src/ManagedStyles.js +83 -0
  134. package/src/MediaRange.js +109 -0
  135. package/src/{util/parseProperties.js → PropertiesFileFormat.js} +6 -0
  136. package/src/Render.js +175 -0
  137. package/src/RenderScheduler.js +16 -138
  138. package/src/Runtimes.js +107 -0
  139. package/src/StaticArea.js +1 -29
  140. package/src/StaticAreaItem.js +58 -65
  141. package/src/SystemCSSVars.js +4 -25
  142. package/src/UI5Element.js +315 -382
  143. package/src/UI5ElementMetadata.js +132 -17
  144. package/src/asset-registries/Icons.js +117 -14
  145. package/src/asset-registries/Illustrations.js +30 -0
  146. package/src/asset-registries/LocaleData.js +97 -68
  147. package/src/asset-registries/Themes.js +29 -35
  148. package/src/asset-registries/i18n.js +62 -49
  149. package/src/assets-meta/IconCollectionsAlias.js +18 -0
  150. package/src/config/Icons.js +52 -0
  151. package/src/config/Language.js +18 -20
  152. package/src/config/Theme.js +25 -0
  153. package/src/css/BusyIndicator.css +80 -0
  154. package/src/css/FontFace.css +75 -0
  155. package/src/css/OverrideFontFace.css +32 -0
  156. package/src/css/SystemCSSVars.css +17 -0
  157. package/src/delegate/ItemNavigation.js +238 -201
  158. package/src/delegate/ResizeHandler.js +78 -37
  159. package/src/delegate/ScrollEnablement.js +49 -20
  160. package/src/features/F6Navigation.js +110 -0
  161. package/src/features/OpenUI5Enablement.js +119 -0
  162. package/src/features/OpenUI5Support.js +41 -6
  163. package/src/i18nBundle.js +38 -4
  164. package/src/locale/applyDirection.js +6 -4
  165. package/src/locale/directionChange.js +32 -0
  166. package/src/locale/getEffectiveDir.js +28 -0
  167. package/src/locale/languageChange.js +1 -1
  168. package/src/renderer/LitRenderer.js +39 -18
  169. package/src/renderer/directives/style-map.js +72 -0
  170. package/src/renderer/executeTemplate.js +19 -2
  171. package/src/theming/CustomStyle.js +25 -5
  172. package/src/theming/applyTheme.js +11 -16
  173. package/src/theming/getConstructableStyle.js +7 -6
  174. package/src/theming/getEffectiveLinksHrefs.js +27 -0
  175. package/src/theming/getEffectiveStyle.js +24 -8
  176. package/src/theming/getStylesString.js +4 -2
  177. package/src/theming/getThemeDesignerTheme.js +25 -5
  178. package/src/theming/preloadLinks.js +23 -0
  179. package/src/types/CSSColor.js +9 -0
  180. package/src/types/CalendarType.js +1 -1
  181. package/src/types/DataType.js +13 -1
  182. package/src/types/Float.js +4 -0
  183. package/src/types/Integer.js +4 -0
  184. package/src/types/InvisibleMessageMode.js +30 -0
  185. package/src/types/ItemNavigationBehavior.js +2 -7
  186. package/src/types/PopupState.js +1 -1
  187. package/src/types/ValueState.js +1 -1
  188. package/src/updateShadowRoot.js +29 -0
  189. package/src/util/AriaLabelHelper.js +6 -8
  190. package/src/util/Caret.js +32 -0
  191. package/src/util/ColorConversion.js +398 -0
  192. package/src/util/FocusableElements.js +22 -9
  193. package/src/util/HTMLSanitizer.js +7 -0
  194. package/src/util/InvisibleMessage.js +69 -0
  195. package/src/util/PopupUtils.js +93 -0
  196. package/src/util/SlotsHelper.js +43 -0
  197. package/src/util/TabbableElements.js +5 -1
  198. package/src/util/arraysAreEqual.js +15 -0
  199. package/src/util/clamp.js +12 -0
  200. package/src/util/createLinkInHead.js +19 -0
  201. package/src/util/debounce.js +17 -0
  202. package/src/util/escapeRegex.js +10 -0
  203. package/src/util/generateHighlightedMarkup.js +42 -0
  204. package/src/util/getActiveElement.js +11 -0
  205. package/src/util/getClassCopy.js +10 -0
  206. package/src/util/getEffectiveContentDensity.js +5 -0
  207. package/src/util/getNormalizedTarget.js +16 -0
  208. package/src/util/isDefaultSlotProvided.js +11 -0
  209. package/src/util/isElementInView.js +15 -0
  210. package/src/util/isNodeHidden.js +1 -1
  211. package/src/util/isNodeTabbable.js +4 -4
  212. package/used-modules.txt +10 -0
  213. package/bundle.es5.js +0 -28
  214. package/config/.eslintrc.js +0 -3
  215. package/config/rollup.config.js +0 -1
  216. package/dist/SVGIconRegistry.js +0 -73
  217. package/dist/boot.js +0 -34
  218. package/dist/compatibility/DOMObserver.js +0 -62
  219. package/dist/compatibility/patchNodeValue.js +0 -24
  220. package/dist/compatibility/whenPolyfillLoaded.js +0 -26
  221. package/dist/config/AssetsPath.js +0 -17
  222. package/dist/delegate/CustomResize.js +0 -78
  223. package/dist/delegate/NativeResize.js +0 -45
  224. package/dist/features/PropertiesFormatSupport.js +0 -8
  225. package/dist/features/browsersupport/Edge.js +0 -6
  226. package/dist/features/browsersupport/IE11.js +0 -42
  227. package/dist/features/browsersupport/IE11WithWebComponentsPolyfill.js +0 -5
  228. package/dist/renderer/ifDefined.js +0 -21
  229. package/dist/renderer/scopeHTML.js +0 -32
  230. package/dist/resources/bundle.es5.js +0 -212
  231. package/dist/resources/bundle.es5.js.map +0 -1
  232. package/dist/resources/bundle.esm.js +0 -129
  233. package/dist/resources/bundle.esm.js.map +0 -1
  234. package/dist/test-resources/assets/Themes.js +0 -17
  235. package/dist/test-resources/elements/Child.js +0 -35
  236. package/dist/test-resources/elements/Generic.js +0 -84
  237. package/dist/test-resources/elements/GenericExt.js +0 -26
  238. package/dist/test-resources/elements/NoShadowDOM.js +0 -13
  239. package/dist/test-resources/elements/Parent.js +0 -37
  240. package/dist/test-resources/elements/WithStaticArea.js +0 -76
  241. package/dist/test-resources/pages/AllTestElements.html +0 -42
  242. package/dist/test-resources/pages/Configuration.html +0 -20
  243. package/dist/test-resources/pages/ConfigurationScript.html +0 -36
  244. package/dist/test-resources/pages/assets/messagebundle_de.properties +0 -1
  245. package/dist/test-resources/pages/assets/messagebundle_en.properties +0 -1
  246. package/dist/test-resources/pages/assets/messagebundle_es.properties +0 -1
  247. package/dist/test-resources/pages/assets/messagebundle_fr.properties +0 -1
  248. package/dist/test-resources/pages/i18n.html +0 -40
  249. package/dist/test-resources/specs/ConfigurationChange.spec.js +0 -25
  250. package/dist/test-resources/specs/ConfigurationScript.spec.js +0 -61
  251. package/dist/test-resources/specs/ConfigurationURL.spec.js +0 -45
  252. package/dist/test-resources/specs/CustomTheme.spec.js +0 -25
  253. package/dist/test-resources/specs/StaticArea.spec.js +0 -34
  254. package/dist/test-resources/specs/Theming.spec.js +0 -31
  255. package/dist/test-resources/specs/UI5ElementInvalidation.js +0 -258
  256. package/dist/test-resources/specs/UI5ElementLifecycle.js +0 -96
  257. package/dist/test-resources/specs/UI5ElementListenForChildPropChanges.spec.js +0 -101
  258. package/dist/test-resources/specs/UI5ElementMetadataExt.js +0 -40
  259. package/dist/test-resources/specs/UI5ElementPropertyValidation.js +0 -12
  260. package/dist/test-resources/specs/UI5ElementPropsAndAttrs.spec.js +0 -65
  261. package/dist/test-resources/specs/UI5ElementShadowDOM.js +0 -22
  262. package/dist/test-resources/specs/UI5ElementSlots.js +0 -34
  263. package/dist/theming/CSSVarsPonyfill.js +0 -68
  264. package/dist/theming/adaptCSSForIE.js +0 -95
  265. package/dist/theming/createComponentStyleTag.js +0 -54
  266. package/dist/theming/createThemePropertiesStyleTag.js +0 -20
  267. package/dist/thirdparty/Array.from.js +0 -16
  268. package/dist/thirdparty/Array.prototype.fill.js +0 -44
  269. package/dist/thirdparty/Array.prototype.find.js +0 -46
  270. package/dist/thirdparty/Array.prototype.includes.js +0 -51
  271. package/dist/thirdparty/Element.prototype.closest.js +0 -11
  272. package/dist/thirdparty/Element.prototype.matches.js +0 -6
  273. package/dist/thirdparty/Map.prototype.keys.js +0 -9
  274. package/dist/thirdparty/Number.isInteger.js +0 -5
  275. package/dist/thirdparty/Number.isNaN.js +0 -1
  276. package/dist/thirdparty/Number.parseFloat.js +0 -1
  277. package/dist/thirdparty/Number.parseInt.js +0 -1
  278. package/dist/thirdparty/Object.assign.js +0 -31
  279. package/dist/thirdparty/Object.entries.js +0 -11
  280. package/dist/thirdparty/Symbol.js +0 -2
  281. package/dist/thirdparty/WeakSet.js +0 -27
  282. package/dist/thirdparty/es6-string-methods.js +0 -182
  283. package/dist/thirdparty/events-polyfills.js +0 -89
  284. package/dist/thirdparty/fetch.js +0 -1
  285. package/dist/thirdparty/template.js +0 -600
  286. package/dist/thirdparty/webcomponents-sd-ce-pf.js +0 -318
  287. package/dist/util/EffectiveAssetPath.js +0 -27
  288. package/dist/util/encodeCSS.js +0 -24
  289. package/dist/util/findNodeOwner.js +0 -35
  290. package/dist/util/isSlot.js +0 -3
  291. package/dist/webcomponentsjs/LICENSE.md +0 -19
  292. package/dist/webcomponentsjs/README.md +0 -229
  293. package/dist/webcomponentsjs/bundles/webcomponents-ce.js +0 -63
  294. package/dist/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
  295. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -297
  296. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
  297. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -208
  298. package/dist/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
  299. package/dist/webcomponentsjs/bundles/webcomponents-sd.js +0 -166
  300. package/dist/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
  301. package/dist/webcomponentsjs/custom-elements-es5-adapter.js +0 -15
  302. package/dist/webcomponentsjs/package.json +0 -46
  303. package/dist/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +0 -16
  304. package/dist/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +0 -53
  305. package/dist/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +0 -17
  306. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +0 -19
  307. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +0 -28
  308. package/dist/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +0 -18
  309. package/dist/webcomponentsjs/webcomponents-bundle.js +0 -298
  310. package/dist/webcomponentsjs/webcomponents-bundle.js.map +0 -1
  311. package/dist/webcomponentsjs/webcomponents-loader.js +0 -185
  312. package/src/SVGIconRegistry.js +0 -73
  313. package/src/boot.js +0 -34
  314. package/src/compatibility/DOMObserver.js +0 -62
  315. package/src/compatibility/patchNodeValue.js +0 -24
  316. package/src/compatibility/whenPolyfillLoaded.js +0 -26
  317. package/src/config/AssetsPath.js +0 -17
  318. package/src/delegate/CustomResize.js +0 -78
  319. package/src/delegate/NativeResize.js +0 -45
  320. package/src/features/PropertiesFormatSupport.js +0 -8
  321. package/src/features/browsersupport/Edge.js +0 -6
  322. package/src/features/browsersupport/IE11.js +0 -42
  323. package/src/features/browsersupport/IE11WithWebComponentsPolyfill.js +0 -5
  324. package/src/renderer/ifDefined.js +0 -21
  325. package/src/renderer/scopeHTML.js +0 -32
  326. package/src/theming/CSSVarsPonyfill.js +0 -68
  327. package/src/theming/adaptCSSForIE.js +0 -95
  328. package/src/theming/createComponentStyleTag.js +0 -54
  329. package/src/theming/createThemePropertiesStyleTag.js +0 -20
  330. package/src/thirdparty/Array.from.js +0 -16
  331. package/src/thirdparty/Array.prototype.fill.js +0 -44
  332. package/src/thirdparty/Array.prototype.find.js +0 -46
  333. package/src/thirdparty/Array.prototype.includes.js +0 -51
  334. package/src/thirdparty/Element.prototype.closest.js +0 -11
  335. package/src/thirdparty/Element.prototype.matches.js +0 -6
  336. package/src/thirdparty/Map.prototype.keys.js +0 -9
  337. package/src/thirdparty/Number.isInteger.js +0 -5
  338. package/src/thirdparty/Number.isNaN.js +0 -1
  339. package/src/thirdparty/Number.parseFloat.js +0 -1
  340. package/src/thirdparty/Number.parseInt.js +0 -1
  341. package/src/thirdparty/Object.assign.js +0 -31
  342. package/src/thirdparty/Object.entries.js +0 -11
  343. package/src/thirdparty/Symbol.js +0 -2
  344. package/src/thirdparty/WeakSet.js +0 -27
  345. package/src/thirdparty/es6-string-methods.js +0 -182
  346. package/src/thirdparty/events-polyfills.js +0 -89
  347. package/src/thirdparty/fetch.js +0 -1
  348. package/src/thirdparty/template.js +0 -600
  349. package/src/thirdparty/webcomponents-sd-ce-pf.js +0 -318
  350. package/src/util/EffectiveAssetPath.js +0 -27
  351. package/src/util/encodeCSS.js +0 -24
  352. package/src/util/findNodeOwner.js +0 -35
  353. package/src/util/isSlot.js +0 -3
@@ -1,212 +0,0 @@
1
- !function(e){"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 t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function n(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:t.mimeType||null,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.isArray(e)?e:[e],o=Array.apply(null,Array(r.length)).map((function(e){return null}));function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="<"===e.trim().charAt(0);return!t}function a(e,t){n.onError(e,r[t],t)}function s(e,t){var i=n.onSuccess(e,r[t],t);e=!1===i?"":i||e,o[t]=e,-1===o.indexOf(null)&&n.onComplete(o)}var u=document.createElement("a");r.forEach((function(e,t){if(u.setAttribute("href",e),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",e),r.timeout=0,r.onprogress=Function.prototype,r.ontimeout=Function.prototype,r.onload=function(){i(r.responseText)?s(r.responseText,t):a(r,t)},r.onerror=function(e){a(r,t)},setTimeout((function(){r.send()}),0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(e,")")),a(null,t)}else{var o=new XMLHttpRequest;o.open("GET",e),n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),n.onBeforeSend(o,e,t),o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&i(o.responseText)?s(o.responseText,t):a(o,t))},o.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 o(e){var t=/\/\*[\s\S]+?\*\//g,n=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,o={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},a=Array.apply(null,o.rootElement.querySelectorAll(o.include)).filter((function(e){return t=e,n=o.exclude,!(t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector).call(t,n);var t,n})),s=Array.apply(null,Array(a.length)).map((function(e){return null}));function u(){if(-1===s.indexOf(null)){var e=s.join("");o.onComplete(e,s,a)}}function c(e,t,n,r){var i=o.onSuccess(e,n,r);f(e=void 0!==i&&!1===Boolean(i)?"":i||e,n,r,(function(e,r){null===s[t]&&(r.forEach((function(e){return o.onError(e.xhr,n,e.url)})),!o.filter||o.filter.test(e)?s[t]=e:s[t]="",u())}))}function l(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a={};return a.rules=(e.replace(t,"").match(n)||[]).filter((function(e){return-1===o.indexOf(e)})),a.urls=a.rules.map((function(e){return e.replace(n,"$1")})),a.absoluteUrls=a.urls.map((function(e){return i(e,r)})),a.absoluteRules=a.rules.map((function(e,t){var n=a.urls[t],o=i(a.absoluteUrls[t],r);return e.replace(n,o)})),a}function f(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=l(e,n,s);u.rules.length?r(u.absoluteUrls,{onBeforeSend:function(e,n,r){o.onBeforeSend(e,t,n)},onSuccess:function(e,n,r){var i=o.onSuccess(e,t,n),a=l(e=!1===i?"":i||e,n,s);return a.rules.forEach((function(t,n){e=e.replace(t,a.absoluteRules[n])})),e},onError:function(r,o,c){a.push({xhr:r,url:o}),s.push(u.rules[c]),f(e,t,n,i,a,s)},onComplete:function(r){r.forEach((function(t,n){e=e.replace(u.rules[n],t)})),f(e,t,n,i,a,s)}}):i(e,a)}a.length?a.forEach((function(e,t){var n=e.getAttribute("href"),a=e.getAttribute("rel"),l="LINK"===e.nodeName&&n&&a&&"stylesheet"===a.toLowerCase(),f="STYLE"===e.nodeName;if(l)r(n,{mimeType:"text/css",onBeforeSend:function(t,n,r){o.onBeforeSend(t,e,n)},onSuccess:function(r,o,a){var s=i(n,location.href);c(r,t,e,s)},onError:function(n,r,i){s[t]="",o.onError(n,e,r),u()}});else if(f){var h=e.textContent;o.useCSSOM&&(h=Array.apply(null,e.sheet.cssRules).map((function(e){return e.cssText})).join("")),c(h,t,e,location.href)}else s[t]="",u()})):o.onComplete("",[])}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),r.href=t,o.href=e,o.href}var a=s;function s(e,t,n){e instanceof RegExp&&(e=u(e,n)),t instanceof RegExp&&(t=u(t,n));var r=c(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function u(e,t){var n=t.match(e);return n?n[0]:null}function c(e,t,n){var r,o,i,a,s,u=n.indexOf(e),c=n.indexOf(t,u+1),l=u;if(u>=0&&c>0){for(r=[],i=n.length;l>=0&&!s;)l==u?(r.push(l),u=n.indexOf(e,l+1)):1==r.length?s=[r.pop(),c]:((o=r.pop())<i&&(i=o,a=c),c=n.indexOf(t,l+1)),l=u<c&&u>=0?u:c;r.length&&(s=[i,a])}return s}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={preserveStatic:!0,removeComments:!1},o=t({},r,n),i=[];function s(e){throw new Error("CSS parse error: ".concat(e))}function u(t){var n=t.exec(e);if(n)return e=e.slice(n[0].length),n}function c(){return u(/^{\s*/)}function l(){return u(/^}/)}function f(){u(/^\s*/)}function h(){if(f(),"/"===e[0]&&"*"===e[1]){for(var t=2;e[t]&&("*"!==e[t]||"/"!==e[t+1]);)t++;if(!e[t])return s("end of comment is missing");var n=e.slice(2,t);return e=e.slice(t+2),{type:"comment",comment:n}}}function d(){for(var e,t=[];e=h();)t.push(e);return o.removeComments?[]:t}function p(){for(f();"}"===e[0];)s("extra closing bracket");var t=u(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(t)return t[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function v(){u(/^([;\s]*)+/);var e=/\/\*[^*]*\*+([^\/*][^*]*\*+)*\//g,t=u(/^(\*?[-#\/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=t[0].trim(),!u(/^:\s*/))return s("property missing ':'");var n=u(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),r={type:"declaration",property:t.replace(e,""),value:n?n[0].replace(e,"").trim():""};return u(/^[;\s]*/),r}}function m(){if(!c())return s("missing '{'");for(var e,t=d();e=v();)t.push(e),t=t.concat(d());return l()?t:s("missing '}'")}function g(){f();for(var e,t=[];e=u(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),u(/^,\s*/);if(t.length)return{type:"keyframe",values:t,declarations:m()}}function y(){var e=u(/^@([-\w]+)?keyframes\s*/);if(e){var t=e[1];if(!(e=u(/^([-\w]+)\s*/)))return s("@keyframes missing name");var n,r=e[1];if(!c())return s("@keyframes missing '{'");for(var o=d();n=g();)o.push(n),o=o.concat(d());return l()?{type:"keyframes",name:r,vendor:t,keyframes:o}:s("@keyframes missing '}'")}}function w(){if(u(/^@page */))return{type:"page",selectors:p()||[],declarations:m()}}function b(){if(u(/^@font-face\s*/))return{type:"font-face",declarations:m()}}function _(){var e=u(/^@supports *([^{]+)/);if(e)return{type:"supports",supports:e[1].trim(),rules:R()}}function S(){if(u(/^@host\s*/))return{type:"host",rules:R()}}function k(){var e=u(/^@media([^{]+)*/);if(e)return{type:"media",media:(e[1]||"").trim(),rules:R()}}function E(){var e=u(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(e)return{type:"custom-media",name:e[1].trim(),media:e[2].trim()}}function x(){var e=u(/^@([-\w]+)?document *([^{]+)/);if(e)return{type:"document",document:e[2].trim(),vendor:e[1]?e[1].trim():null,rules:R()}}function A(){var e=u(/^@(import|charset|namespace)\s*([^;]+);/);if(e)return{type:e[1],name:e[2].trim()}}function O(){if(f(),"@"===e[0]){var t=y()||_()||S()||k()||E()||w()||x()||b()||A();if(t&&!o.preserveStatic){var n=!1;if(t.declarations)n=t.declarations.some((function(e){return/var\(/.test(e.value)}));else n=(t.keyframes||t.rules||[]).some((function(e){return(e.declarations||[]).some((function(e){return/var\(/.test(e.value)}))}));return n?t:{}}return t}}function C(){if(!o.preserveStatic){var t=a("{","}",e);if(t){var n=/:(?:root|host)(?![.:#(])/.test(t.pre)&&/--\S*\s*:/.test(t.body),r=/var\(/.test(t.body);if(!n&&!r)return e=e.slice(t.end+1),{}}}var i=p()||[],u=o.preserveStatic?m():m().filter((function(e){var t=i.some((function(e){return/:(?:root|host)(?![.:#(])/.test(e)}))&&/^--\S/.test(e.property),n=/var\(/.test(e.value);return t||n}));return i.length||s("selector missing"),{type:"rule",selectors:i,declarations:u}}function R(t){if(!t&&!c())return s("missing '{'");for(var n,r=d();e.length&&(t||"}"!==e[0])&&(n=O()||C());)n.type&&r.push(n),r=r.concat(d());return t||l()?r:s("missing '}'")}return{type:"stylesheet",stylesheet:{rules:R(!0),errors:i}}}function f(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={parseHost:!1,store:{},onWarning:function(){}},o=t({},r,n),i=new RegExp(":".concat(o.parseHost?"host":"root","(?![.:#(])"));return"string"==typeof e&&(e=l(e,o)),e.stylesheet.rules.forEach((function(e){"rule"===e.type&&e.selectors.some((function(e){return i.test(e)}))&&e.declarations.forEach((function(e,t){var n=e.property,r=e.value;n&&0===n.indexOf("--")&&(o.store[n]=r)}))})),o.store}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r={charset:function(e){return"@charset "+e.name+";"},comment:function(e){return 0===e.comment.indexOf("__CSSVARSPONYFILL")?"/*"+e.comment+"*/":""},"custom-media":function(e){return"@custom-media "+e.name+" "+e.media+";"},declaration:function(e){return e.property+":"+e.value+";"},document:function(e){return"@"+(e.vendor||"")+"document "+e.document+"{"+o(e.rules)+"}"},"font-face":function(e){return"@font-face{"+o(e.declarations)+"}"},host:function(e){return"@host{"+o(e.rules)+"}"},import:function(e){return"@import "+e.name+";"},keyframe:function(e){return e.values.join(",")+"{"+o(e.declarations)+"}"},keyframes:function(e){return"@"+(e.vendor||"")+"keyframes "+e.name+"{"+o(e.keyframes)+"}"},media:function(e){return"@media "+e.media+"{"+o(e.rules)+"}"},namespace:function(e){return"@namespace "+e.name+";"},page:function(e){return"@page "+(e.selectors.length?e.selectors.join(", "):"")+"{"+o(e.declarations)+"}"},rule:function(e){var t=e.declarations;if(t.length)return e.selectors.join(",")+"{"+o(t)+"}"},supports:function(e){return"@supports "+e.supports+"{"+o(e.rules)+"}"}};function o(e){for(var o="",i=0;i<e.length;i++){var a=e[i];n&&n(a);var s=r[a.type](a);s&&(o+=s,s.length&&a.selectors&&(o+=t))}return o}return o(e.stylesheet.rules)}function d(e,t){e.rules.forEach((function(n){n.rules?d(n,t):n.keyframes?n.keyframes.forEach((function(e){"keyframe"===e.type&&t(e.declarations,n)})):n.declarations&&t(n.declarations,e)}))}s.range=c;function p(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},o=t({},r,n);return"string"==typeof e&&(e=l(e,o)),d(e.stylesheet,(function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=r.type,a=r.property,s=r.value;if("declaration"===i)if(o.preserveVars||!a||0!==a.indexOf("--")){if(-1!==s.indexOf("var(")){var u=m(s,o);u!==r.value&&(u=v(u),o.preserveVars?(e.splice(n,0,{type:i,property:a,value:u}),n++):r.value=u)}}else e.splice(n,1),n--}})),h(e)}function v(e){return(e.match(/calc\(([^)]+)\)/g)||[]).forEach((function(t){var n="calc".concat(t.split("calc").join(""));e=e.replace(t,n)})),e}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(-1===e.indexOf("var("))return e;var r=a("(",")",e);function o(e){var r=e.split(",")[0].replace(/[\s\n\t]/g,""),o=(e.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],i=Object.prototype.hasOwnProperty.call(t.variables,r)?String(t.variables[r]):void 0,a=i||(o?String(o):void 0),s=n||e;return i||t.onWarning('variable "'.concat(r,'" is undefined')),a&&"undefined"!==a&&a.length>0?m(a,t,s):"var(".concat(s,")")}if(r){if("var"===r.pre.slice(-3)){var i=0===r.body.trim().length;return i?(t.onWarning("var() must contain a non-whitespace string"),e):r.pre.slice(0,-3)+o(r.body)+m(r.post,t)}return r.pre+"(".concat(m(r.body,t),")")+m(r.post,t)}return-1!==e.indexOf("var(")&&t.onWarning('missing closing ")" in the value "'.concat(e,'"')),e}var g="undefined"!=typeof window,y=g&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),w={group:0,job:0},b={rootElement:g?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*[:)])/},S={dom:{},job:{},user:{}},k=!1,E=null,x=0,A=null,O=!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 C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r="cssVars(): ",i=t({},b,e);function a(e,t,n,o){!i.silent&&window.console&&console.error("".concat(r).concat(e,"\n"),t),i.onError(e,t,n,o)}function s(e){!i.silent&&window.console&&console.warn("".concat(r).concat(e)),i.onWarning(e)}if(g){if(i.watch)return i.watch=b.watch,R(i),void C(i);if(!1===i.watch&&E&&(E.disconnect(),E=null),!i.__benchmark){if(k===i.rootElement)return void M(e);if(i.__benchmark=j(),i.exclude=[E?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',i.exclude].filter((function(e){return e})).join(","),i.variables=N(i.variables),!E){var u=Array.apply(null,i.rootElement.querySelectorAll('[data-cssvars="out"]'));if(u.forEach((function(e){var t=e.getAttribute("data-cssvars-group");(t?i.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(t,'"]')):null)||e.parentNode.removeChild(e)})),x){var c=i.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])');c.length<x&&(x=c.length,S.dom={})}}}if("loading"!==document.readyState)if(y&&i.onlyLegacy){if(i.updateDOM){var d=i.rootElement.host||(i.rootElement===document?document.documentElement:i.rootElement);Object.keys(i.variables).forEach((function(e){d.style.setProperty(e,i.variables[e])}))}}else!O&&(i.shadowDOM||i.rootElement.shadowRoot||i.rootElement.host)?o({rootElement:b.rootElement,include:b.include,exclude:i.exclude,onSuccess:function(e,t,n){return(e=((e=e.replace(_.cssComments,"").replace(_.cssMediaQueries,"")).match(_.cssVarDeclRules)||[]).join(""))||!1},onComplete:function(e,t,n){f(e,{store:S.dom,onWarning:s}),O=!0,C(i)}}):(k=i.rootElement,o({rootElement:i.rootElement,include:i.include,exclude:i.exclude,onBeforeSend:i.onBeforeSend,onError:function(e,t,n){var r=e.responseURL||T(n,location.href),o=e.statusText?"(".concat(e.statusText,")"):"Unspecified Error"+(0===e.status?" (possibly CORS related)":"");a("CSS XHR Error: ".concat(r," ").concat(e.status," ").concat(o),t,e,r)},onSuccess:function(e,t,n){var r=i.onSuccess(e,t,n);return e=void 0!==r&&!1===Boolean(r)?"":r||e,i.updateURLs&&(e=L(e,n)),e},onComplete:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u={},c=i.updateDOM?S.dom:Object.keys(S.job).length?S.job:S.job=JSON.parse(JSON.stringify(S.dom)),d=!1;if(o.forEach((function(e,t){if(_.cssVars.test(r[t]))try{var n=l(r[t],{preserveStatic:i.preserveStatic,removeComments:!0});f(n,{parseHost:Boolean(i.rootElement.host),store:u,onWarning:s}),e.__cssVars={tree:n}}catch(t){a(t.message,e)}})),i.updateDOM&&t(S.user,i.variables),t(u,i.variables),d=Boolean((document.querySelector("[data-cssvars]")||Object.keys(S.dom).length)&&Object.keys(u).some((function(e){return u[e]!==c[e]}))),t(c,S.user,u),d)D(i.rootElement),C(i);else{var v=[],m=[],g=!1;if(S.job={},i.updateDOM&&w.job++,o.forEach((function(e){var n=!e.__cssVars;if(e.__cssVars)try{p(e.__cssVars.tree,t({},i,{variables:c,onWarning:s}));var r=h(e.__cssVars.tree);if(i.updateDOM){if(e.getAttribute("data-cssvars")||e.setAttribute("data-cssvars","src"),r.length){var o=e.getAttribute("data-cssvars-group")||++w.group,u=r.replace(/\s/g,""),l=i.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(o,'"]'))||document.createElement("style");g=g||_.cssKeyframes.test(r),l.hasAttribute("data-cssvars")||l.setAttribute("data-cssvars","out"),u===e.textContent.replace(/\s/g,"")?(n=!0,l&&l.parentNode&&(e.removeAttribute("data-cssvars-group"),l.parentNode.removeChild(l))):u!==l.textContent.replace(/\s/g,"")&&([e,l].forEach((function(e){e.setAttribute("data-cssvars-job",w.job),e.setAttribute("data-cssvars-group",o)})),l.textContent=r,v.push(r),m.push(l),l.parentNode||e.parentNode.insertBefore(l,e.nextSibling))}}else e.textContent.replace(/\s/g,"")!==r&&v.push(r)}catch(t){a(t.message,e)}n&&e.setAttribute("data-cssvars","skip"),e.hasAttribute("data-cssvars-job")||e.setAttribute("data-cssvars-job",w.job)})),x=i.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,i.shadowDOM)for(var y,b=[i.rootElement].concat(n(i.rootElement.querySelectorAll("*"))),E=0;y=b[E];++E)if(y.shadowRoot&&y.shadowRoot.querySelector("style")){var A=t({},i,{rootElement:y.shadowRoot});C(A)}i.updateDOM&&g&&P(i.rootElement),k=!1,i.onComplete(v.join(""),m,JSON.parse(JSON.stringify(c)),j()-i.__benchmark)}}}));else document.addEventListener("DOMContentLoaded",(function t(n){C(e),document.removeEventListener("DOMContentLoaded",t)}))}}function R(e){function t(e){return"LINK"===e.tagName&&-1!==(e.getAttribute("rel")||"").indexOf("stylesheet")&&!e.disabled}window.MutationObserver&&(E&&(E.disconnect(),E=null),(E=new MutationObserver((function(n){n.some((function(n){var r,o=!1;return"attributes"===n.type?o=t(n.target):"childList"===n.type&&(r=n.addedNodes,o=Array.apply(null,r).some((function(e){var n=1===e.nodeType&&e.hasAttribute("data-cssvars"),r=function(e){return"STYLE"===e.tagName&&!e.disabled}(e)&&_.cssVars.test(e.textContent);return!n&&(t(e)||r)}))||function(t){return Array.apply(null,t).some((function(t){var n=1===t.nodeType,r=n&&"out"===t.getAttribute("data-cssvars"),o=n&&"src"===t.getAttribute("data-cssvars"),i=o;if(o||r){var a=t.getAttribute("data-cssvars-group"),s=e.rootElement.querySelector('[data-cssvars-group="'.concat(a,'"]'));o&&(D(e.rootElement),S.dom={}),s&&s.parentNode.removeChild(s)}return i}))}(n.removedNodes)),o}))&&C(e)}))).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0}))}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(A),A=setTimeout((function(){e.__benchmark=null,C(e)}),t)}function P(e){var t=["animation-name","-moz-animation-name","-webkit-animation-name"].filter((function(e){return getComputedStyle(document.body)[e]}))[0];if(t){for(var n=e.getElementsByTagName("*"),r=[],o="__CSSVARSPONYFILL-KEYFRAMES__",i=0,a=n.length;i<a;i++){var s=n[i];"none"!==getComputedStyle(s)[t]&&(s.style[t]+=o,r.push(s))}document.body.offsetHeight;for(var u=0,c=r.length;u<c;u++){var l=r[u].style;l[t]=l[t].replace(o,"")}}}function L(e,t){return(e.replace(_.cssComments,"").match(_.cssUrls)||[]).forEach((function(n){var r=n.replace(_.cssUrls,"$1"),o=T(r,t);e=e.replace(n,n.replace(r,o))})),e}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=/^-{2}/;return Object.keys(e).reduce((function(n,r){return n[t.test(r)?r:"--".concat(r.replace(/^-+/,""))]=e[r],n}),{})}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),r.href=t,o.href=e,o.href}function j(){return g&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function D(e){Array.apply(null,e.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]')).forEach((function(e){return e.setAttribute("data-cssvars","")}))}if(C.reset=function(){for(var e in k=!1,E&&(E.disconnect(),E=null),x=0,A=null,O=!1,S)S[e]={}},String.prototype.startsWith||function(){var e={}.toString;Object.defineProperty(String.prototype,"startsWith",{value:function(t){if(null==this)throw TypeError();var n=String(this);if(t&&"[object RegExp]"==e.call(t))throw TypeError();var r=n.length,o=String(t),i=o.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var u=Math.min(Math.max(s,0),r);if(i+u>r)return!1;for(var c=-1;++c<i;)if(n.charCodeAt(u+c)!=o.charCodeAt(c))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.endsWith||function(){var e={}.toString;Object.defineProperty(String.prototype,"endsWith",{value:function(t){if(null==this)throw TypeError();var n=String(this);if(t&&"[object RegExp]"==e.call(t))throw TypeError();var r=n.length,o=String(t),i=o.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0)!=a&&(a=0)}var u=Math.min(Math.max(a,0),r),c=u-i;if(c<0)return!1;for(var l=-1;++l<i;)if(n.charCodeAt(c+l)!=o.charCodeAt(l))return!1;return!0},configurable:!0,writable:!0})}(),String.prototype.includes||function(){var e={}.toString,t="".indexOf;Object.defineProperty(String.prototype,"includes",{value:function(n){if(null==this)throw TypeError();var r=String(this);if(n&&"[object RegExp]"==e.call(n))throw TypeError();var o=r.length,i=String(n),a=i.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),o);return!(a+c>o)&&-1!=t.call(r,i,u)},configurable:!0,writable:!0})}(),String.prototype.repeat||Object.defineProperty(String.prototype,"repeat",{value:function(e){if(null==this)throw TypeError();var t=String(this),n=e?Number(e):0;if(n!=n&&(n=0),n<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=t),n>1&&(t+=t),n>>=1;return r},configurable:!0,writable:!0}),String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))}),String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))}),Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}),Array.prototype.fill||Object.defineProperty(Array.prototype,"fill",{value:function(e){if(null==this)throw new TypeError("this is null or not defined");for(var t=Object(this),n=t.length>>>0,r=arguments[1],o=r>>0,i=o<0?Math.max(n+o,0):Math.min(o,n),a=arguments[2],s=void 0===a?n:a>>0,u=s<0?Math.max(n+s,0):Math.min(s,n);i<u;)t[i]=e,i++;return t}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw TypeError("predicate must be a function");for(var r=arguments[1],o=0;o<n;){var i=t[o];if(e.call(r,i,o,t))return i;o++}},configurable:!0,writable:!0}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){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 o,i,a=0|t,s=Math.max(a>=0?a:r-Math.abs(a),0);for(;s<r;){if((o=n[s])===(i=e)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;s++}return!1}}),Map.prototype.keys||(Map.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),e}),Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},Number.isNaN=Number.isNaN||window.isNaN,Number.parseFloat=Number.parseFloat||window.parseFloat,Number.parseInt=Number.parseInt||window.parseInt,Element&&!Element.prototype.matches){var I=Element.prototype;I.matches=I.matchesSelector||I.mozMatchesSelector||I.msMatchesSelector||I.oMatchesSelector||I.webkitMatchesSelector}if(Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),!window.WeakSet){var V=function(e){this.name="__st"+(1e9*Math.random()>>>0)+U+++"__",e&&e.forEach&&e.forEach(this.add,this)},U=Date.now()%1e9,F=V.prototype;F.add=function(e){var t=this.name;return e[t]||Object.defineProperty(e,t,{value:!0,writable:!0}),this},F.delete=function(e){return!!e[this.name]&&(e[this.name]=void 0,!0)},F.has=function(e){return!!e[this.name]},window.WeakSet=V}window.fetch||(window.fetch=function(e,t){return t=t||{},new Promise((function(n,r){var o=new XMLHttpRequest;for(var i in o.open(t.method||"get",e,!0),t.headers)o.setRequestHeader(i,t.headers[i]);function a(){var e,t=[],n=[],r={};return o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(o,i,a){t.push(i=i.toLowerCase()),n.push([i,a]),r[i]=(e=r[i])?e+","+a:a})),{ok:2==(o.status/100|0),status:o.status,statusText:o.statusText,url:o.responseURL,clone:a,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return r[e.toLowerCase()]},has:function(e){return e.toLowerCase()in r}}}}o.withCredentials="include"==t.credentials,o.onload=function(){n(a())},o.onerror=r,o.send(t.body||null)}))}),function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",u="object"==typeof module,c=e.regeneratorRuntime;if(c)u&&(module.exports=c);else{(c=e.regeneratorRuntime=u?module.exports:{}).wrap=w;var l="suspendedStart",f="suspendedYield",h="executing",d="completed",p={},v={};v[i]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(M([])));g&&g!==n&&r.call(g,i)&&(v=g);var y=k.prototype=_.prototype=Object.create(v);S.prototype=y.constructor=k,k.constructor=S,k[s]=S.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(y),e},c.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[a]=function(){return this},c.AsyncIterator=x,c.async=function(e,t,n,r){var o=new x(w(e,t,n,r));return c.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(y),y[s]="Generator",y[i]=function(){return this},y.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=M,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}}}function w(e,t,n,r){var o=t&&t.prototype instanceof _?t:_,i=Object.create(o.prototype),a=new R(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=b(e,t,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function S(){}function k(){}function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function t(n,o,i,a){var s=b(e[n],e,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(c).then((function(e){u.value=e,i(u)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}var n;this._invoke=function(e,r){function o(){return new Promise((function(n,o){t(e,r,n,o)}))}return n=n?n.then(o,o):o()}}function A(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=b(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function M(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")()),
163
- /**
164
- *
165
- *
166
- * @author Jerry Bendy <jerry@icewingcc.com>
167
- * @licence MIT
168
- *
169
- */
170
- function(e){var t,n=e.URLSearchParams&&e.URLSearchParams.prototype.get?e.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),o=n&&"+"===new n("s=%2B").get("s"),i=!n||((t=new n).append("s"," &"),"s=+%26"===t.toString()),a=l.prototype,s=!(!e.Symbol||!e.Symbol.iterator);if(!(n&&r&&o&&i)){a.append=function(e,t){v(this.__URLSearchParams__,e,t)},a.delete=function(e){delete this.__URLSearchParams__[e]},a.get=function(e){var t=this.__URLSearchParams__;return e in t?t[e][0]:null},a.getAll=function(e){var t=this.__URLSearchParams__;return e in t?t[e].slice(0):[]},a.has=function(e){return e in this.__URLSearchParams__},a.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},a.toString=function(){var e,t,n,r,o=this.__URLSearchParams__,i=[];for(t in o)for(n=f(t),e=0,r=o[t];e<r.length;e++)i.push(n+"="+f(r[e]));return i.join("&")};var u=!!o&&n&&!r&&e.Proxy;Object.defineProperty(e,"URLSearchParams",{value:u?new Proxy(n,{construct:function(e,t){return new e(new l(t[0]).toString())}}):l});var c=e.URLSearchParams.prototype;c.polyfill=!0,c.forEach=c.forEach||function(e,t){var n=p(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},c.sort=c.sort||function(){var e,t,n,r=p(this.toString()),o=[];for(e in r)o.push(e);for(o.sort(),t=0;t<o.length;t++)this.delete(o[t]);for(t=0;t<o.length;t++){var i=o[t],a=r[i];for(n=0;n<a.length;n++)this.append(i,a[n])}},c.keys=c.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},c.values=c.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},c.entries=c.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},s&&(c[e.Symbol.iterator]=c[e.Symbol.iterator]||c.entries)}function l(e){((e=e||"")instanceof URLSearchParams||e instanceof l)&&(e=e.toString()),this.__URLSearchParams__=p(e)}function f(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function h(e){return decodeURIComponent(e.replace(/\+/g," "))}function d(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(n[e.Symbol.iterator]=function(){return n}),n}function p(e){var t={};if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&v(t,n,e[n]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),o=0;o<r.length;o++){var i=r[o],a=i.indexOf("=");-1<a?v(t,h(i.slice(0,a)),h(i.slice(a+1))):i&&v(t,h(i),"")}}return t}function v(e,t,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);t in e?e[t].push(r):e[t]=[r]}}("undefined"!=typeof global?global:window);function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){W(i,r,o,a,s,"next",e)}function s(e){W(i,r,o,a,s,"throw",e)}a(void 0)}))}}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return t&&q(e.prototype,t),n&&q(e,n),e}function Z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(){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(e){return!1}}function X(e,t,n){return(X=Y()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&J(o,n.prototype),o}).apply(null,arguments)}function K(e){var t="function"==typeof Map?new Map:void 0;return(K=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return X(e,arguments,G(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),J(r,e)})(e)}function Q(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ee(e,t,n){return(ee="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=G(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function te(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&"[object Arguments]"!==Object.prototype.toString.call(e))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function re(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}!function(){if(window.ShadyDOM){var e=Object.getOwnPropertyDescriptor(Node.prototype,"nodeValue");Object.defineProperty(Node.prototype,"nodeValue",{get:function(){return e.get.apply(this)},set:function(t){e.set.apply(this,arguments);var n=this.parentNode;n instanceof HTMLElement&&n.isUI5Element&&n._processChildren()}})}}(),window.CSSVarsPonyfill={cssVars:C};var oe=new Map,ie=function(e,t){oe.set(e,t)},ae=function(e){return oe.get(e)},se={default:"en",all:["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"]},ue={default:"sap_fiori_3",all:["sap_fiori_3","sap_fiori_3_dark","sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3_hcb","sap_fiori_3_hcw"]}.default,ce={default:"en",all:["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"]}.default,le=se.default,fe=se.all,he=function(){var e=navigator.languages;return e&&e[0]||navigator.language||navigator.userLanguage||navigator.browserLanguage||ce},de={},pe=de.hasOwnProperty,ve=de.toString,me=pe.toString,ge=me.call(Object),ye=function(e){var t,n;return!(!e||"[object Object]"!==ve.call(e))&&(!(t=Object.getPrototypeOf(e))||"function"==typeof(n=pe.call(t,"constructor")&&t.constructor)&&me.call(n)===ge)},we=Object.create(null),be=function e(){var t,n,r,o,i,a,s=arguments[2]||{},u=3,c=arguments.length,l=arguments[0]||!1,f=arguments[1]?void 0:we;for("object"!==B(s)&&"function"!=typeof s&&(s={});u<c;u++)if(null!=(i=arguments[u]))for(o in i)t=s[o],r=i[o],"__proto__"!==o&&s!==r&&(l&&r&&(ye(r)||(n=Array.isArray(r)))?(n?(n=!1,a=t&&Array.isArray(t)?t:[]):a=t&&ye(t)?t:{},s[o]=e(l,arguments[1],a,r)):r!==f&&(s[o]=r));return s},_e=function(){var e=[!0,!1];return e.push.apply(e,arguments),be.apply(null,e)},Se=!1,ke={animationMode:"full",theme:ue,rtl:null,language:null,calendarType:null,noConflict:!1,formatSettings:{},useDefaultLanguage:!1,assetsPath:""},Ee=new Map;Ee.set("true",!0),Ee.set("false",!1);var xe,Ae,Oe,Ce,Re,Me,Pe,Le,Ne=function(){Se||(!function(){var e,t=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");if(t){try{e=JSON.parse(t.innerHTML)}catch(e){console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(ke=_e(ke,e))}}(),new URLSearchParams(window.location.search).forEach((function(e,t){if(t.startsWith("sap-ui")){var n=e.toLowerCase(),r=t.split("sap-ui-")[1];Ee.has(e)&&(e=Ee.get(n)),ke[r]=e}})),function(){var e=ae("OpenUI5Support");if(e&&e.isLoaded()){var t=e.getConfigurationSettingsObject();ke=_e(ke,t)}}(),Se=!0)},Te=function(){function e(){z(this,e),this._eventRegistry={}}return $(e,[{key:"attachEvent",value:function(e,t){var n=this._eventRegistry,r=n[e];Array.isArray(r)||(n[e]=[],r=n[e]),r.push({function:t})}},{key:"detachEvent",value:function(e,t){var n=this._eventRegistry,r=n[e];r&&0===(r=r.filter((function(e){return e.function!==t}))).length&&delete n[e]}},{key:"fireEvent",value:function(e,t){var n=this,r=this._eventRegistry[e];return r?r.map((function(e){return e.function.call(n,t)})):[]}},{key:"isHandlerAttached",value:function(e,t){var n=this._eventRegistry[e];if(!n)return!1;for(var r=0;r<n.length;r++){if(n[r].function===t)return!0}return!1}},{key:"hasListeners",value:function(e){return!!this._eventRegistry[e]}}]),e}(),je=new Te,De=function(e){je.attachEvent("languageChange",e)},Ie=function(){function e(){z(this,e),this.list=[],this.lookup=new Set}return $(e,[{key:"add",value:function(e){this.lookup.has(e)||(this.list.push(e),this.lookup.add(e))}},{key:"remove",value:function(e){this.lookup.has(e)&&(this.list=this.list.filter((function(t){return t!==e})),this.lookup.delete(e))}},{key:"shift",value:function(){var e=this.list.shift();if(e)return this.lookup.delete(e),e}},{key:"isEmpty",value:function(){return 0===this.list.length}},{key:"isAdded",value:function(e){return this.lookup.has(e)}},{key:"process",value:function(e){var t,n=new Map;for(t=this.shift();t;){var r=n.get(t)||0;if(r>10)throw new Error("Web component processed too many times this task, max allowed is: ".concat(10));e(t),n.set(t,r+1),t=this.shift()}}}]),e}(),Ve=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t},Ue=new Set,Fe=new Set,Be=function(e){Ue.add(e)},We=function(e){return Ue.has(e)},He=function(e){Fe.add(e),xe||(xe=setTimeout((function(){ze(),xe=void 0}),1e3))},ze=function(){console.warn("The following tags have already been defined by a different UI5 Web Components version: ".concat(Ve(Fe).join(", "))),Fe.clear()},qe=new Set,$e=new Set,Ze=new Ie,Ge=function(){function e(){throw z(this,e),new Error("Static class")}var t,n,r;return $(e,null,[{key:"renderDeferred",value:(r=H(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Ze.add(n),t.next=3,e.scheduleRenderTask();case 3:case"end":return t.stop()}}),t)}))),function(e){return r.apply(this,arguments)})},{key:"renderImmediately",value:function(e){e._render()}},{key:"cancelRender",value:function(e){Ze.remove(e)}},{key:"scheduleRenderTask",value:(n=H(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Re||(Re=new Promise((function(t){window.requestAnimationFrame((function(){Ze.process((function(e){return e._render()})),Re=null,t(),Ce||(Ce=setTimeout((function(){Ce=void 0,Ze.isEmpty()&&e._resolveTaskPromise()}),200))}))}))),t.next=3,Re;case 3:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})},{key:"whenDOMUpdated",value:function(){return Ae||(Ae=new Promise((function(e){Oe=e,window.requestAnimationFrame((function(){Ze.isEmpty()&&(Ae=void 0,e())}))})))}},{key:"whenAllCustomElementsAreDefined",value:function(){var e=Ve(Ue).map((function(e){return customElements.whenDefined(e)}));return Promise.all(e)}},{key:"whenFinished",value:(t=H(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.whenAllCustomElementsAreDefined();case 2:return t.next=4,e.whenDOMUpdated();case 4:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})},{key:"_resolveTaskPromise",value:function(){Ze.isEmpty()&&Oe&&(Oe.call(this),Oe=void 0,Ae=void 0)}},{key:"register",value:function(e){$e.add(e)}},{key:"deregister",value:function(e){$e.delete(e)}},{key:"reRenderAllUI5Elements",value:function(t){$e.forEach((function(n){var r,o=n.constructor.getMetadata().getTag(),i=(r=n.constructor,qe.has(r)),a=n.constructor.getMetadata().isLanguageAware();(!t||t.tag===o||t.rtlAware&&i||t.languageAware&&a)&&e.renderDeferred(n)}))}}]),e}(),Je=function(){return void 0===Me&&(Ne(),Me=ke.language),Me},Ye=function(){var e;return void 0===Pe&&(Ne(),e=ke.useDefaultLanguage,Pe=e),Pe},Xe=/^((?:[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,Ke=function(){function e(t){z(this,e);var n=Xe.exec(t.replace(/_/g,"-"));if(null===n)throw new Error("The given language ".concat(t," does not adhere to BCP-47."));this.sLocaleId=t,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(e){return e.toUpperCase()}))),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}return $(e,[{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(e){return this.getPrivateUseSubtags().indexOf(e)>=0}},{key:"toString",value:function(){var e=[this.sLanguage];return this.sScript&&e.push(this.sScript),this.sRegion&&e.push(this.sRegion),this.sVariant&&e.push(this.sVariant),this.sExtension&&e.push(this.sExtension),this.sPrivateUse&&e.push(this.sPrivateUse),e.join("-")}}]),e}(),Qe=new Map,et=function(e){return Qe.has(e)||Qe.set(e,new Ke(e)),Qe.get(e)},tt=function(e){try{if(e&&"string"==typeof e)return et(e)}catch(e){}},nt=function(e){return e?tt(e):Je()?et(Je()):tt(he())},rt=new Map,ot=new Map,it=new Map,at=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return rt.get(t)||rt.set(t,fetch(t)),e.next=3,rt.get(t);case 3:return n=e.sent,it.get(t)||it.set(t,n.text()),e.abrupt("return",it.get(t));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),st=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return rt.get(t)||rt.set(t,fetch(t)),e.next=3,rt.get(t);case 3:return n=e.sent,ot.get(t)||ot.set(t,n.json()),e.abrupt("return",ot.get(t));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ut=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,ct=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,lt={he:"iw",yi:"ji",id:"in",sr:"sh"},ft=function(e){var t;if(!e)return le;if("string"==typeof e&&(t=ut.exec(e.replace(/_/g,"-")))){var n=t[1].toLowerCase(),r=t[3]?t[3].toUpperCase():void 0,o=t[2]?t[2].toLowerCase():void 0,i=t[4]?t[4].slice(1):void 0,a=t[6];return n=lt[n]||n,a&&(t=ct.exec(a))||i&&(t=ct.exec(i))?"en_US_".concat(t[1].toLowerCase()):("zh"!==n||r||("hans"===o?r="CN":"hant"===o&&(r="TW")),n+(r?"_"+r+(i?"_"+i.replace("-","_"):""):""))}},ht=function(e){if(!e)return le;if("zh_HK"===e)return"zh_TW";var t=e.lastIndexOf("_");return t>=0?e.slice(0,t):e!==le?le:""},dt=function(){return void 0===Le&&(Ne(),Le=ke.assetsPath),Le},pt=function(e){if("string"!=typeof e)return e;e=e;var t=dt();return t?"".concat(t).concat(e):e},vt=new Map,mt=new Map,gt=function(e,t){vt.set(e,t)},yt=function(e){return vt.get(e)},wt=function(){var e=H(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,u,c,l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=mt.get(t)){e.next=4;break}return console.warn("Message bundle assets are not configured. Falling back to English texts."," You need to import ".concat(t,"/dist/Assets.js with a build tool that supports JSON imports.")),e.abrupt("return");case 4:for(r=nt().getLanguage(),o=nt().getRegion(),i=Ye(),a=ft(r+(o?"-".concat(o):""));a!==ce&&!n[a];)a=ht(a);if(!i||a!==ce){e.next=12;break}return gt(t,null),e.abrupt("return");case 12:if("object"!==B(s=n[a])){e.next=16;break}return gt(t,s),e.abrupt("return");case 16:return e.next=18,at(pt(s));case 18:if(!(u=e.sent).startsWith("{")){e.next=23;break}c=JSON.parse,e.next=27;break;case 23:if(l=ae("PropertiesFormatSupport")){e.next=26;break}throw new Error('In order to support .properties files, please: import "@ui5/webcomponents-base/dist/features/PropertiesFormatSupport.js";');case 26:c=l.parser;case 27:f=c(u),gt(t,f);case 29:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();De((function(){var e=re(vt.keys());return Promise.all(e.map(wt))}));var bt=new Map,_t={},St={},kt=function(e){return"https://ui5.sap.com/1.60.2/resources/sap/ui/core/cldr/".concat(e,".json")},Et={iw:"he",ji:"yi",in:"id",sh:"sr"},xt=function(e,t,n){"no"===(e=e&&Et[e]||e)&&(e="nb"),"zh"!==e||t||("Hans"===n?t="CN":"Hant"===n&&(t="TW"));var r="".concat(e,"_").concat(t);return fe.includes(r)||(r=e),fe.includes(r)||(r=le),r},At=function(e,t){bt.set(e,t)},Ot=function(){var e=H(regeneratorRuntime.mark((function e(t,n,r){var o,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(kt&&fe.filter((function(e){return!_t[e]&&!St[e]})).forEach((function(e){St[e]=kt(e)})),o=xt(t,n,r),i=_t[o],a=St[o],s=ae("OpenUI5Support"),!i&&s&&(i=s.getLocaleDataObject()),!i){e.next=10;break}At("sap/ui/core/cldr/".concat(o,".json"),i),e.next=15;break;case 10:if(!a){e.next=15;break}return e.next=13,st(pt(a));case 13:u=e.sent,At("sap/ui/core/cldr/".concat(o,".json"),u);case 15:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}();De((function(){var e=nt();return Ot(e.getLanguage(),e.getRegion(),e.getScript())}));var Ct,Rt,Mt=new Map,Pt=new Map,Lt=new Set,Nt=new Set,Tt=function(e,t,n){n._?Pt.set("".concat(e,"_").concat(t),n._):n.includes(":root")||""===n?Pt.set("".concat(e,"_").concat(t),n):Mt.set("".concat(e,"_").concat(t),n),Lt.add(e),Nt.add(t)},jt=function(){var e=H(regeneratorRuntime.mark((function e(t,n){var r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===(r=Pt.get("".concat(t,"_").concat(n)))){e.next=3;break}return e.abrupt("return",r);case 3:if(Nt.has(n)){e.next=7;break}return o=re(Nt.values()).join(", "),console.warn("You have requested a non-registered theme - falling back to ".concat(ue,". Registered themes are: ").concat(o)),e.abrupt("return",Pt.get("".concat(t,"_").concat(ue)));case 7:return e.next=9,Dt(t,n);case 9:return i=e.sent,a=i._||i,Pt.set("".concat(t,"_").concat(n),a),e.abrupt("return",a);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Dt=function(){var e=H(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=Mt.get("".concat(t,"_").concat(n))){e.next=3;break}throw new Error("You have to import the ".concat(t,"/dist/Assets.js module to switch to additional themes"));case 3:return e.abrupt("return",".css"===(i=void 0,(i=(o=r).lastIndexOf("."))<1?"":o.slice(i))?at(r):st(pt(r)));case 4:case"end":return e.stop()}var o,i}),e)})));return function(t,n){return e.apply(this,arguments)}}(),It=function(){return Lt},Vt=function(e){return Nt.has(e)},Ut=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("style");return n.type="text/css",Object.entries(t).forEach((function(e){return n.setAttribute.apply(n,re(e))})),n.textContent=e,document.head.appendChild(n),n},Ft=function(e,t){var n=document.head.querySelector('style[data-ui5-theme-properties="'.concat(t,'"]'));n?n.textContent=e||"":Ut(e,{"data-ui5-theme-properties":t})},Bt=function(){var e=function(){var e=document.querySelector(".sapThemeMetaData-Base-baseLib");if(e)return getComputedStyle(e).backgroundImage;(e=document.createElement("span")).style.display="none",e.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(e);var t=getComputedStyle(e).backgroundImage;return document.body.removeChild(e),t}();if(e&&"none"!==e)return function(e){var t,n;try{t=e.Path.match(/\.([^.]+)\.css_variables$/)[1],n=e.Extends[0]}catch(t){return void console.warn("Malformed theme metadata Object",e)}return{themeName:t,baseThemeName:n}}(function(e){var t=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(e);if(t&&t.length>=2){var n=t[1];if("{"!==(n=n.replace(/\\"/g,'"')).charAt(0)&&"}"!==n.charAt(n.length-1))try{n=decodeURIComponent(n)}catch(e){return void console.warn("Malformed theme metadata string, unable to decodeURIComponent")}try{return JSON.parse(n)}catch(e){console.warn("Malformed theme metadata string, unable to parse JSON")}}}(e))},Wt=function(){return!!window.CSSVarsPonyfill},Ht=function(){Ct=void 0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.head;e.querySelectorAll('style[data-ui5-element-styles][data-cssvars="src"]').forEach((function(t){var n=t.getAttribute("data-cssvars-group");t.removeAttribute("data-cssvars-group"),t.disabled=!1;var r=e.querySelector('style[data-cssvars="out"][data-cssvars-group="'.concat(n,'"]'));r&&r.removeAttribute("data-cssvars-group")}))}(),window.CSSVarsPonyfill.cssVars({rootElement:document.head,variables:zt()?qt():{},silent:!0})},zt=function(){var e=document.body;return e.hasAttribute("data-ui5-compact-size")||e.classList.contains("ui5-content-density-compact")||e.classList.contains("sapUiSizeCompact")},qt=function(){var e={};return re(document.querySelectorAll("[data-ui5-theme-properties]")).forEach((function(t){for(var n,r=t.textContent.replace("\n",""),o=new RegExp("data-ui5-compact-size[^{]*{(.*?)}","g");null!==(n=o.exec(r));){n[1].split(";").forEach((function(t){var n=t.split(":");e[n[0].trim()]=n[1].trim()}))}})),e},$t=new Te,Zt=function(e){return $t.fireEvent("themeLoaded",e)},Gt="@ui5/webcomponents-theme-base",Jt=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(It().has(Gt)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,jt(Gt,t);case 4:n=e.sent,Ft(n,Gt);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Yt=function(){var e=H(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:It().forEach(function(){var e=H(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n!==Gt){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,jt(n,t);case 4:r=e.sent,Ft(r,n);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xt=function(){var e=Bt();if(e)return e;var t=ae("OpenUI5Support");if(t&&t.cssVariablesLoaded())return{themeName:t.getConfigurationSettingsObject().theme}},Kt=function(){var e=H(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Xt())&&t===n.themeName){e.next=6;break}return e.next=4,Jt(t);case 4:e.next=7;break;case 6:o=void 0,(o=document.head.querySelector('style[data-ui5-theme-properties="'.concat(Gt,'"]')))&&o.parentElement.removeChild(o);case 7:return r=Vt(t)?t:n&&n.baseThemeName,e.next=10,Yt(r);case 10:Wt()&&Ht(),Zt(t);case 12:case"end":return e.stop()}var o}),e)})));return function(t){return e.apply(this,arguments)}}(),Qt=function(){return void 0===Rt&&(Ne(),Rt=ke.theme),Rt},en=function(){var e=H(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Rt!==t){e.next=2;break}return e.abrupt("return");case 2:return Rt=t,e.next=5,Kt(Rt);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),tn=window.sap,nn=tn&&tn.ui&&"function"==typeof tn.ui.getCore&&tn.ui.getCore();ie("OpenUI5Support",{isLoaded:function(){return!!nn},init:function(){return nn?new Promise((function(e){nn.attachInit((function(){tn.ui.require(["sap/ui/core/LocaleData"],e)}))})):Promise.resolve()},getConfigurationSettingsObject:function(){if(nn){var e=nn.getConfiguration(),t=tn.ui.require("sap/ui/core/LocaleData");return{animationMode:e.getAnimationMode(),language:e.getLanguage(),theme:e.getTheme(),rtl:e.getRTL(),calendarType:e.getCalendarType(),formatSettings:{firstDayOfWeek:t?t.getInstance(e.getLocale()).getFirstDayOfWeek():void 0}}}},getLocaleDataObject:function(){if(nn){var e=nn.getConfiguration();return tn.ui.require("sap/ui/core/LocaleData").getInstance(e.getLocale())._get()}},attachListeners:function(){var e;nn&&(e=nn.getConfiguration(),nn.attachThemeChanged(H(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,en(e.getTheme());case 2:case"end":return t.stop()}}),t)})))))},cssVariablesLoaded:function(){if(nn){var e=re(document.head.children).find((function(e){return"sap-ui-theme-sap.ui.core"===e.id}));if(e)return!!e.href.match(/\/css(-|_)variables\.css/)}}});var rn,on,an='\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'),sn=function(){var e=ae("OpenUI5Support");e&&e.isLoaded()||un(),cn()},un=function(){document.querySelector("head>style[data-ui5-font-face]")||Ut(an,{"data-ui5-font-face":""})},cn=function(){document.querySelector("head>style[data-ui5-font-face-override]")||Ut("\n\t@font-face {\n\t\tfont-family: '72override';\n\t\tunicode-range: U+0102-0103, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EB7, U+1EB8-1EC7, U+1EC8-1ECB, U+1ECC-1EE3, U+1EE4-1EF1, U+1EF4-1EF7;\n\t\tsrc: local('Arial'), local('Helvetica'), local('sans-serif');\n\t}\n",{"data-ui5-font-face-override":""})},ln=function(){function e(){z(this,e)}return $(e,null,[{key:"isValid",value:function(e){}},{key:"generateTypeAcessors",value:function(e){var t=this;Object.keys(e).forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]}})}))}}]),e}(),fn=new Map,hn=new Map,dn=function(e){if(!fn.has(e)){var t=vn(e.split("-"));fn.set(e,t)}return fn.get(e)},pn=function(e){if(!hn.has(e)){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();hn.set(e,t)}return hn.get(e)},vn=function(e){return e.map((function(e,t){return 0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})).join("")},mn=function(e){return e&&e instanceof HTMLElement&&"slot"===e.localName},gn={include:[/^ui5-/],exclude:[]},yn=new Map,wn=function(e){if(!yn.has(e)){var t=gn.include.some((function(t){return e.match(t)}))&&!gn.exclude.some((function(t){return e.match(t)}));yn.set(e,t)}return yn.get(e)},bn=function(e){wn(e)},_n=function(){function e(t){z(this,e),this.metadata=t}return $(e,[{key:"getPureTag",value:function(){return this.metadata.tag}},{key:"getTag",value:function(){var e=this.metadata.tag,t=bn(e);return t?"".concat(e,"-").concat(t):e}},{key:"getAltTag",value:function(){var e=this.metadata.altTag;if(e){var t=bn(e);return t?"".concat(e,"-").concat(t):e}}},{key:"hasAttribute",value:function(e){var t=this.getProperties()[e];return t.type!==Object&&!t.noAttribute}},{key:"getPropertiesList",value:function(){return Object.keys(this.getProperties())}},{key:"getAttributesList",value:function(){return this.getPropertiesList().filter(this.hasAttribute,this).map(pn)}},{key:"getSlots",value:function(){return this.metadata.slots||{}}},{key:"canSlotText",value:function(){var e=this.getSlots().default;return e&&e.type===Node}},{key:"hasSlots",value:function(){return!!Object.entries(this.getSlots()).length}},{key:"hasIndividualSlots",value:function(){return this.slotsAreManaged()&&Object.entries(this.getSlots()).some((function(e){var t=ne(e,2);t[0];return t[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:"isLanguageAware",value:function(){return!!this.metadata.languageAware}}],[{key:"validatePropertyValue",value:function(e,t){return t.multiple?e.map((function(e){return Sn(e,t)})):Sn(e,t)}},{key:"validateSlotValue",value:function(e,t){return kn(e,t)}}]),e}(),Sn=function(e,t){var n=t.type;return n===Boolean?"boolean"==typeof e&&e:n===String?"string"==typeof e||null==e?e:e.toString():n===Object?"object"===B(e)?e:t.defaultValue:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof e||"function"!=typeof t)return!1;if(n&&e===t)return!0;var r=e;do{r=Object.getPrototypeOf(r)}while(null!==r&&r!==t);return r===t}(n,ln)?n.isValid(e)?e:t.defaultValue:void 0},kn=function(e,t){if(null===e)return e;var n;return(mn(n=e)?n.assignedNodes({flatten:!0}).filter((function(e){return e instanceof HTMLElement})):[n]).forEach((function(e){if(!(e instanceof t.type))throw new Error("".concat(e," is not of type ").concat(t.type))})),e},En=function(e,t){var n=t.constructor.getUniqueDependencies().map((function(e){return e.getMetadata().getPureTag()})).filter(wn);return e(t,n,undefined)},xn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=document.querySelector(e);return n||(n=document.createElement(e),t.insertBefore(n,t.firstChild))},An=function(){return xn("ui5-static-area")},On=function(e){function t(){return z(this,t),Q(this,G(t).call(this))}return Z(t,e),$(t,[{key:"destroy",value:function(){var e=document.querySelector(this.tagName.toLowerCase());e.parentElement.removeChild(e)}},{key:"isUI5Element",get:function(){return!0}}]),t}(K(HTMLElement));customElements.get("ui5-static-area")||customElements.define("ui5-static-area",On);var Cn=function(e){return Array.isArray(e)?Rn(e).join(" "):e},Rn=function e(t){return t.reduce((function(t,n){return t.concat(Array.isArray(n)?e(n):n)}),[])},Mn=function(){function e(t){z(this,e),this.ui5ElementContext=t,this._rendered=!1}var t;return $(e,[{key:"isRendered",value:function(){return this._rendered}},{key:"_updateFragment",value:function(){var e=En(this.ui5ElementContext.constructor.staticAreaTemplate,this.ui5ElementContext),t=!window.ShadyDOM&&Cn(this.ui5ElementContext.constructor.staticAreaStyles);this.staticAreaItemDomRef||(this.staticAreaItemDomRef=document.createElement("ui5-static-area-item"),this.staticAreaItemDomRef.attachShadow({mode:"open"}),this.staticAreaItemDomRef.classList.add(this.ui5ElementContext._id),An().appendChild(this.staticAreaItemDomRef),this._rendered=!0),this._updateContentDensity(this.ui5ElementContext.isCompact),this.ui5ElementContext.constructor.render(e,this.staticAreaItemDomRef.shadowRoot,t,{eventContext:this.ui5ElementContext})}},{key:"_removeFragmentFromStaticArea",value:function(){if(this.staticAreaItemDomRef){var e=An();e.removeChild(this.staticAreaItemDomRef),this.staticAreaItemDomRef=null,e.childElementCount<1&&An().destroy()}}},{key:"_updateContentDensity",value:function(e){this.staticAreaItemDomRef&&(e?(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:(t=H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rendered&&this.staticAreaItemDomRef||this._updateFragment(),e.next=3,Ge.whenDOMUpdated();case 3:return e.abrupt("return",this.staticAreaItemDomRef&&this.staticAreaItemDomRef.shadowRoot);case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),Pn=function(e){function t(){return z(this,t),Q(this,G(t).call(this))}return Z(t,e),$(t,[{key:"isUI5Element",get:function(){return!0}}]),t}(K(HTMLElement));customElements.get("ui5-static-area-item")||customElements.define("ui5-static-area-item",Pn);var Ln,Nn,Tn=window,jn=new WeakMap,Dn=function(){function e(){throw z(this,e),new Error("Static class")}return $(e,null,[{key:"observeDOMNode",value:function(e,t,n){var r=jn.get(e);if(r)throw new Error("A mutation/ShadyDOM observer is already assigned to this node.");Tn.ShadyDOM?r=Tn.ShadyDOM.observeChildren(e,t):(r=new MutationObserver(t)).observe(e,n),jn.set(e,r)}},{key:"unobserveDOMNode",value:function(e){var t=jn.get(e);t&&(t instanceof MutationObserver?t.disconnect():Tn.ShadyDOM.unobserveChildren(t),jn.delete(e))}}]),e}(),In=["value-changed"],Vn=function(){return void 0===Ln&&(Ne(),Ln=ke.noConflict),Ln},Un=function(e){var t=Vn();return!function(e){return In.includes(e)}(e)&&(!0===t||!function(e){var t=Vn();return!(t.events&&t.events.includes&&t.events.includes(e))}(e))},Fn=function(e){Ln=e},Bn={iw:"he",ji:"yi",in:"id",sh:"sr"},Wn=((Nn=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec("$cldr-rtl-locales:ar,fa,he$"))&&Nn[2]?Nn[2].split(/,/):null)||[],Hn=function(){var e=(Ne(),ke.rtl);return null!==e?!!e:function(e){return e=e&&Bn[e]||e,Wn.indexOf(e)>=0}(Je()||he())},zn=new Te,qn=function(e){zn.attachEvent("CustomCSSChange",e)},$n={},Zn=new Map;qn((function(e){Zn.delete(e)}));var Gn=function(e){var t=e.getMetadata().getTag();if(!Zn.has(t)){var n=function(e){return $n[e]?$n[e].join(""):""}(t)||"",r=Cn(e.styles),o="".concat(r," ").concat(n);Zn.set(t,o)}return Zn.get(t)},Jn=new Map;qn((function(e){Jn.delete(e)}));var Yn=function(e,t,n,r){var o=n+t.length,i=e.charAt(o),a=e.substring(0,n)+r;if("("===i){var s=function(e,t){for(var n=1,r=t+1;r<e.length;r++){var o=e.charAt(r);if("("===o?n++:")"===o&&n--,0===n)return r}}(e,o);return a+e.substring(o+1,s)+e.substring(s+1)}return a+e.substring(o)},Xn=function(e,t,n){return(e=function(e,t,n){for(var r=e.indexOf(t);-1!==r;)r=(e=Yn(e,t,r,n)).indexOf(t);return e}(e=e.trim(),"::slotted","")).startsWith(":host")?Yn(e,":host",0,t):e.match(/^[@0-9]/)||"to"===e||"to{"===e||e.match(new RegExp("^".concat(t,"[^a-zA-Z0-9-]")))||n&&e.startsWith("[".concat(n,"]"))?e:"".concat(t," ").concat(e)},Kn=function(e,t,n){e=(e=e.replace(/\n/g," ")).replace(/([{}])/g,"$1\n");var r="";return e.split("\n").forEach((function(e){if(e.match(/{$/)){var o=e.split(",");e=o.map((function(e){return Xn(e,t,n)})).join(",")}r="".concat(r).concat(e)})),r},Qn=new Set;qn((function(e){Qn.delete(e)}));var er=function(e){var t=e.getMetadata().getTag(),n=e.getMetadata().getPureTag();if(!Qn.has(t)){var r=Gn(e);r=Kn(r,t,n);var o=function(e){var t=e.staticAreaStyles;return Array.isArray(t)&&(t=t.join(" ")),t}(e);o&&(o=Kn(o,"ui5-static-area-item"),r="".concat(r," ").concat(o)),Ut(r,{"data-ui5-element-styles":t}),Wt()&&(Ct||(Ct=window.setTimeout(Ht,0))),Qn.add(t)}},tr=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"isValid",value:function(e){return Number.isInteger(e)}}]),t}(ln),nr=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"isValid",value:function(e){return Number(e)===e}}]),t}(ln),rr=["disabled","title","hidden","role","draggable"],or=function(e){return!(!rr.includes(e)&&!e.startsWith("aria"))||![HTMLElement,Element,Node].some((function(t){return t.prototype.hasOwnProperty(e)}))},ir={events:{"_property-change":{}}},ar=0,sr=new Map,ur=new Map,cr=function(e){function t(){var e,n;return z(this,t),(e=Q(this,G(t).call(this)))._propertyChangeListeners=new Set,e._initializeState(),e._upgradeAllProperties(),e._initializeContainers(),e._upToDate=!1,e._inDOM=!1,e._fullyConnected=!1,e._domRefReadyPromise=new Promise((function(e){n=e})),e._domRefReadyPromise._deferredResolve=n,e._monitoredChildProps=new Map,e._shouldInvalidateParent=!1,e}var n,r,o,i,a,s;return Z(t,e),$(t,[{key:"addEventListener",value:function(e,n,r){return"_property-change"===e&&this._propertyChangeListeners.add(n),ee(G(t.prototype),"addEventListener",this).call(this,e,n,r)}},{key:"removeEventListener",value:function(e,n,r){return"_property-change"===e&&this._propertyChangeListeners.delete(n),ee(G(t.prototype),"removeEventListener",this).call(this,e,n,r)}},{key:"_hasPropertyChangeListeners",value:function(){return!!this._propertyChangeListeners.size}},{key:"_initializeContainers",value:function(){var e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea();e&&this.attachShadow({mode:"open"}),t&&(this.staticAreaItem=new Mn(this))}},{key:"connectedCallback",value:(s=H(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.setAttribute(this.constructor.getMetadata().getPureTag(),""),t=this.constructor._needsShadowDOM(),n=this.constructor.getMetadata().slotsAreManaged(),this._inDOM=!0,!n){e.next=8;break}return this._startObservingDOMChildren(),e.next=8,this._processChildren();case 8:if(!t){e.next=19;break}if(this.shadowRoot){e.next=12;break}return e.next=12,Promise.resolve();case 12:if(this._inDOM){e.next=14;break}return e.abrupt("return");case 14:Ge.register(this),Ge.renderImmediately(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,"function"==typeof this.onEnterDOM&&this.onEnterDOM();case 19:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var e=this.constructor._needsShadowDOM(),t=this.constructor._needsStaticArea(),n=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,n&&this._stopObservingDOMChildren(),e&&(Ge.deregister(this),this._fullyConnected&&("function"==typeof this.onExitDOM&&this.onExitDOM(),this._fullyConnected=!1)),t&&this.staticAreaItem._removeFragmentFromStaticArea(),Ge.cancelRender(this)}},{key:"_startObservingDOMChildren",value:function(){if(this.constructor.getMetadata().hasSlots()){var e={childList:!0,subtree:this.constructor.getMetadata().canSlotText(),characterData:!0};Dn.observeDOMNode(this,this._processChildren.bind(this),e)}}},{key:"_stopObservingDOMChildren",value:function(){Dn.unobserveDOMNode(this)}},{key:"_processChildren",value:(a=H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.constructor.getMetadata().hasSlots()){e.next=4;break}return e.next=4,this._updateSlots();case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"_updateSlots",value:(i=H(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,u,c,l,f,h=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=this.constructor.getMetadata().getSlots(),n=this.constructor.getMetadata().canSlotText(),r=Array.from(n?this.childNodes:this.children),o=0,i=Object.entries(t);o<i.length;o++)a=ne(i[o],2),s=a[0],u=a[1],this._clearSlot(s,u);return c=new Map,l=new Map,f=r.map(function(){var e=H(regeneratorRuntime.mark((function e(n,r){var o,i,a,s,u,f,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=h.constructor._getSlotName(n),void 0!==(i=t[o])){e.next=6;break}return a=Object.keys(t).join(", "),console.warn("Unknown slotName: ".concat(o,", ignoring"),n,"Valid values are: ".concat(a)),e.abrupt("return");case 6:if(i.individualSlots&&(s=(c.get(o)||0)+1,c.set(o,s),n._individualSlot="".concat(o,"-").concat(s)),!(n instanceof HTMLElement)){e.next=19;break}if(!(u=n.localName).includes("-")){e.next=19;break}if(window.customElements.get(u)){e.next=18;break}return f=window.customElements.whenDefined(u),(d=sr.get(u))||(d=new Promise((function(e){return setTimeout(e,1e3)})),sr.set(u,d)),e.next=18,Promise.race([f,d]);case 18:window.customElements.upgrade(n);case 19:(n=h.constructor.getMetadata().constructor.validateSlotValue(n,i)).isUI5Element&&i.listenFor&&h._attachChildPropertyUpdated(n,i.listenFor),n.isUI5Element&&i.invalidateParent&&(n._shouldInvalidateParent=!0),mn(n)&&h._attachSlotChange(n),p=i.propertyName||o,l.has(p)?l.get(p).push({child:n,idx:r}):l.set(p,[{child:n,idx:r}]);case 25:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),e.next=9,Promise.all(f);case 9:l.forEach((function(e,t){h._state[t]=e.sort((function(e,t){return e.idx-t.idx})).map((function(e){return e.child}))})),this._invalidate("slots");case 11:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"_clearSlot",value:function(e,t){var n=this,r=t.propertyName||e,o=this._state[r];Array.isArray(o)||(o=[o]),o.forEach((function(e){e&&e.isUI5Element&&(n._detachChildPropertyUpdated(e),e._shouldInvalidateParent=!1),mn(e)&&n._detachSlotChange(e)})),this._state[r]=[],this._invalidate(r,[])}},{key:"attributeChangedCallback",value:function(e,t,n){var r=this.constructor.getMetadata().getProperties(),o=e.replace(/^ui5-/,""),i=dn(o);if(r.hasOwnProperty(i)){var a=r[i].type;a===Boolean&&(n=null!==n),a===tr&&(n=parseInt(n)),a===nr&&(n=parseFloat(n)),this[i]=n}}},{key:"_updateAttribute",value:function(e,t){if(this.constructor.getMetadata().hasAttribute(e)&&"object"!==B(t)){var n=pn(e),r=this.getAttribute(n);"boolean"==typeof t?!0===t&&null===r?this.setAttribute(n,""):!1===t&&null!==r&&this.removeAttribute(n):r!==t&&this.setAttribute(n,t)}}},{key:"_upgradeProperty",value:function(e){if(this.hasOwnProperty(e)){var t=this[e];delete this[e],this[e]=t}}},{key:"_upgradeAllProperties",value:function(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty,this)}},{key:"_initializeState",value:function(){var e=this.constructor._getDefaultState();this._state=Object.assign({},e)}},{key:"_attachChildPropertyUpdated",value:function(e,t){var n=this.constructor._getSlotName(e),r=[],o=[];Array.isArray(t)?r=t:(r=Array.isArray(t.include)?t.include:[],o=Array.isArray(t.exclude)?t.exclude:[]),this._monitoredChildProps.has(n)||this._monitoredChildProps.set(n,{observedProps:r,notObservedProps:o}),e.addEventListener("_property-change",this._invalidateParentOnPropertyUpdate)}},{key:"_detachChildPropertyUpdated",value:function(e){e.removeEventListener("_property-change",this._invalidateParentOnPropertyUpdate)}},{key:"_propertyChange",value:function(e,t){this._updateAttribute(e,t),this._hasPropertyChangeListeners()&&this.dispatchEvent(new CustomEvent("_property-change",{detail:{name:e,newValue:t},composed:!1,bubbles:!1}))}},{key:"_invalidateParentOnPropertyUpdate",value:function(e){var t=this.parentNode;if(t){var n=t.constructor._getSlotName(this),r=t._monitoredChildProps.get(n);if(r){var o=r.observedProps,i=r.notObservedProps,a=1===o.length&&"*"===o[0]||o.includes(e.detail.name),s=i.includes(e.detail.name);a&&!s&&t._invalidate("_parent_",this)}}}},{key:"_attachSlotChange",value:function(e){var t=this;this._invalidateOnSlotChange||(this._invalidateOnSlotChange=function(){t._invalidate("slotchange")}),e.addEventListener("slotchange",this._invalidateOnSlotChange)}},{key:"_detachSlotChange",value:function(e){e.removeEventListener("slotchange",this._invalidateOnSlotChange)}},{key:"_invalidate",value:function(){this._shouldInvalidateParent&&this.parentNode._invalidate(),this._upToDate&&this.getDomRef()&&!this._suppressInvalidation&&(this._upToDate=!1,Ge.renderDeferred(this))}},{key:"_render",value:function(){var e=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._shouldUpdateFragment()&&(this.staticAreaItem._updateFragment(this),this.staticAreaItemDomRef=this.staticAreaItem.staticAreaItemDomRef.shadowRoot),e&&this._assignIndividualSlotsToChildren(),"function"==typeof this.onAfterRendering&&this.onAfterRendering()}},{key:"_updateShadowRoot",value:function(){if(this.constructor._needsShadowDOM()){var e,t=En(this.constructor.template,this);window.ShadyDOM&&er(this.constructor),document.adoptedStyleSheets&&(this.shadowRoot.adoptedStyleSheets=function(e){var t=e.getMetadata().getTag();if(!Jn.has(t)){var n=Gn(e),r=new CSSStyleSheet;r.replaceSync(n),Jn.set(t,[r])}return Jn.get(t)}(this.constructor)),document.adoptedStyleSheets||window.ShadyDOM||(e=Gn(this.constructor)),this.constructor.render(t,this.shadowRoot,e,{eventContext:this})}}},{key:"_assignIndividualSlotsToChildren",value:function(){Array.from(this.children).forEach((function(e){e._individualSlot&&e.setAttribute("slot",e._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 e=this.getDomRef();if(e)return e.querySelector("[data-sap-focus-ref]")||e}},{key:"getStableDomRef",value:function(e){return this.staticAreaItemDomRef&&this.staticAreaItemDomRef.querySelector("[data-ui5-stable=".concat(e,"]"))||this.getDomRef().querySelector("[data-ui5-stable=".concat(e,"]"))}},{key:"focus",value:(o=H(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._waitForDomRef();case 2:(t=this.getFocusDomRef())&&"function"==typeof t.focus&&t.focus();case 4:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"fireEvent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._fireEvent(e,t,n,r),i=dn(e);return i!==e?o&&this._fireEvent(i,t,n):o}},{key:"_fireEvent",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!0,i=new CustomEvent("ui5-".concat(e),{detail:t,composed:!1,bubbles:r,cancelable:n});if(o=this.dispatchEvent(i),Un(e))return o;var a=new CustomEvent(e,{detail:t,composed:!1,bubbles:r,cancelable:n}),s=this.dispatchEvent(a);return s&&o}},{key:"getSlottedNodes",value:function(e){return this[e].reduce((function(e,t){return mn(t)?e.concat(t.assignedNodes({flatten:!0}).filter((function(e){return e instanceof HTMLElement}))):e.concat([t])}),[])}},{key:"updateStaticAreaItemContentDensity",value:function(){this.staticAreaItem&&this.staticAreaItem._updateContentDensity(this.isCompact)}},{key:"_shouldUpdateFragment",value:function(){return this.constructor._needsStaticArea()&&this.staticAreaItem.isRendered()}},{key:"getStaticAreaItemDomRef",value:function(){return this.staticAreaItem.getDomRef()}},{key:"_id",get:function(){return this.__id||(this.__id="ui5wc_".concat(++ar)),this.__id}},{key:"isCompact",get:function(){return"compact"===getComputedStyle(this).getPropertyValue("--_ui5_content_density")}},{key:"effectiveDir",get:function(){var e;e=this.constructor,qe.add(e);var t=window.document,n=["ltr","rtl"],r=getComputedStyle(this).getPropertyValue("--_ui5_dir");return n.includes(r)?r:n.includes(this.dir)?this.dir:n.includes(t.documentElement.dir)?t.documentElement.dir:n.includes(t.body.dir)?t.body.dir:Hn()?"rtl":void 0}},{key:"isUI5Element",get:function(){return!0}}],[{key:"_getSlotName",value:function(e){if(!(e instanceof HTMLElement))return"default";var t=e.getAttribute("slot");if(t){var n=t.match(/^(.+?)-\d+$/);return n?n[1]:t}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 e=this.getMetadata(),t={},n=e.slotsAreManaged(),r=e.getProperties();for(var o in r){var i=r[o].type,a=r[o].defaultValue;i===Boolean?(t[o]=!1,void 0!==a&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):r[o].multiple?t[o]=[]:t[o]=i===Object?"defaultValue"in r[o]?r[o].defaultValue:{}:i===String?"defaultValue"in r[o]?r[o].defaultValue:"":a}if(n)for(var s=e.getSlots(),u=0,c=Object.entries(s);u<c.length;u++){var l=ne(c[u],2),f=l[0];t[l[1].propertyName||f]=[]}return this._defaultState=t,t}},{key:"_generateAccessors",value:function(){for(var e=this.prototype,t=this.getMetadata().slotsAreManaged(),n=this.getMetadata().getProperties(),r=function(){var t=ne(i[o],2),n=t[0],r=t[1];if(or(n)||console.warn('"'.concat(n,'" is not a valid property name. Use a name that does not collide with DOM APIs')),r.type===Boolean&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All booleans are false by default.'));if(r.type===Array)throw new Error('Wrong type for property "'.concat(n,'". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...'));if(r.type===Object&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All properties of type "Object" are empty objects by default.'));if(r.multiple&&r.defaultValue)throw new Error('Cannot set a default value for property "'.concat(n,'". All multiple properties are empty arrays by default.'));Object.defineProperty(e,n,{get:function(){if(void 0!==this._state[n])return this._state[n];var e=r.defaultValue;return r.type!==Boolean&&(r.type===String?e:r.multiple?[]:e)},set:function(e){e=this.constructor.getMetadata().constructor.validatePropertyValue(e,r),this._state[n]!==e&&(this._state[n]=e,this._invalidate(n,e),this._propertyChange(n,e))}})},o=0,i=Object.entries(n);o<i.length;o++)r();if(t)for(var a=this.getMetadata().getSlots(),s=function(){var t=ne(c[u],2),n=t[0],r=t[1];or(n)||console.warn('"'.concat(n,'" is not a valid property name. Use a name that does not collide with DOM APIs'));var o=r.propertyName||n;Object.defineProperty(e,o,{get:function(){return void 0!==this._state[o]?this._state[o]:[]},set:function(){throw new Error("Cannot set slots directly, use the DOM APIs")}})},u=0,c=Object.entries(a);u<c.length;u++)s()}},{key:"getUniqueDependencies",value:function(){if(!ur.has(this)){var e=this.dependencies.filter((function(e,t,n){return n.indexOf(e)===t}));ur.set(this,e)}return ur.get(this)}},{key:"whenDependenciesDefined",value:function(){return Promise.all(this.getUniqueDependencies().map((function(e){return e.define()})))}},{key:"onDefine",value:(r=H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve());case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"define",value:(n=H(regeneratorRuntime.mark((function e(){var t,n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,on||(on=new Promise(function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=ae("OpenUI5Support"))){e.next=4;break}return e.next=4,n.init();case 4:return e.next=6,new Promise((function(e){document.body?e():document.addEventListener("DOMContentLoaded",(function(){e()}))}));case 6:return e.next=8,Kt(Qt());case 8:return n&&n.attachListeners(),sn(),document.querySelector("head>style[data-ui5-system-css-vars]")||Ut('\n\t:root {\n\t\t--_ui5_content_density:cozy;\n\t}\n\t\n\t[data-ui5-compact-size],\n\t.ui5-content-density-compact,\n\t.sapUiSizeCompact {\n\t\t--_ui5_content_density:compact;\n\t}\n\t\n\t[dir="rtl"] {\n\t\t--_ui5_dir:rtl;\n\t}\n\t\n\t[dir="ltr"] {\n\t\t--_ui5_dir:ltr;\n\t}\n',{"data-ui5-system-css-vars":""}),e.next=13,rn||(rn=new Promise((function(e){window.WebComponents&&!window.WebComponents.ready&&window.WebComponents.waitFor?window.WebComponents.waitFor((function(){e()})):e()})));case 13:t();case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:return e.next=4,Promise.all([this.whenDependenciesDefined(),this.onDefine()]);case 4:return t=this.getMetadata().getTag(),n=this.getMetadata().getAltTag(),r=We(t),(o=customElements.get(t))&&!r?He(t):o||(this._generateAccessors(),Be(t),window.customElements.define(t,this),n&&!customElements.get(n)&&(i=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),t}(this),Be(n),window.customElements.define(n,i))),e.abrupt("return",this);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getMetadata",value:function(){if(this.hasOwnProperty("_metadata"))return this._metadata;for(var e=[this.metadata],n=this;n!==t;)n=Object.getPrototypeOf(n),e.unshift(n.metadata);var r=_e.apply(void 0,[{}].concat(e));return this._metadata=new _n(r),this._metadata}},{key:"observedAttributes",get:function(){return this.getMetadata().getAttributesList()}},{key:"metadata",get:function(){return ir}},{key:"styles",get:function(){return""}},{key:"staticAreaStyles",get:function(){return""}},{key:"dependencies",get:function(){return[]}}]),t}(K(HTMLElement)),lr=new WeakMap,fr=function(e){return"function"==typeof e&&lr.has(e)},hr=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,dr=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}},pr={},vr={},mr="{{lit-".concat(String(Math.random()).slice(2),"}}"),gr="\x3c!--".concat(mr,"--\x3e"),yr=new RegExp("".concat(mr,"|").concat(gr)),wr="$lit$",br=function e(t,n){z(this,e),this.parts=[],this.element=n;for(var r=[],o=[],i=document.createTreeWalker(n.content,133,null,!1),a=0,s=-1,u=0,c=t.strings,l=t.values.length;u<l;){var f=i.nextNode();if(null!==f){if(s++,1===f.nodeType){if(f.hasAttributes()){for(var h=f.attributes,d=h.length,p=0,v=0;v<d;v++)_r(h[v].name,wr)&&p++;for(;p-- >0;){var m=c[u],g=Er.exec(m)[2],y=g.toLowerCase()+wr,w=f.getAttribute(y);f.removeAttribute(y);var b=w.split(yr);this.parts.push({type:"attribute",index:s,name:g,strings:b}),u+=b.length-1}}"TEMPLATE"===f.tagName&&(o.push(f),i.currentNode=f.content)}else if(3===f.nodeType){var _=f.data;if(_.indexOf(mr)>=0){for(var S=f.parentNode,k=_.split(yr),E=k.length-1,x=0;x<E;x++){var A=void 0,O=k[x];if(""===O)A=kr();else{var C=Er.exec(O);null!==C&&_r(C[2],wr)&&(O=O.slice(0,C.index)+C[1]+C[2].slice(0,-wr.length)+C[3]),A=document.createTextNode(O)}S.insertBefore(A,f),this.parts.push({type:"node",index:++s})}""===k[E]?(S.insertBefore(kr(),f),r.push(f)):f.data=k[E],u+=E}}else if(8===f.nodeType)if(f.data===mr){var R=f.parentNode;null!==f.previousSibling&&s!==a||(s++,R.insertBefore(kr(),f)),a=s,this.parts.push({type:"node",index:s}),null===f.nextSibling?f.data="":(r.push(f),s--),u++}else for(var M=-1;-1!==(M=f.data.indexOf(mr,M+1));)this.parts.push({type:"node",index:-1}),u++}else i.currentNode=o.pop()}for(var P=0,L=r;P<L.length;P++){var N=L[P];N.parentNode.removeChild(N)}},_r=function(e,t){var n=e.length-t.length;return n>=0&&e.slice(n)===t},Sr=function(e){return-1!==e.index},kr=function(){return document.createComment("")},Er=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,xr=function(){function e(t,n,r){z(this,e),this.__parts=[],this.template=t,this.processor=n,this.options=r}return $(e,[{key:"update",value:function(e){var t=0,n=!0,r=!1,o=void 0;try{for(var i,a=this.__parts[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;void 0!==s&&s.setValue(e[t]),t++}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}var u=!0,c=!1,l=void 0;try{for(var f,h=this.__parts[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var d=f.value;void 0!==d&&d.commit()}}catch(e){c=!0,l=e}finally{try{u||null==h.return||h.return()}finally{if(c)throw l}}}},{key:"_clone",value:function(){for(var e,t=hr?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,o=document.createTreeWalker(t,133,null,!1),i=0,a=0,s=o.nextNode();i<r.length;)if(e=r[i],Sr(e)){for(;a<e.index;)a++,"TEMPLATE"===s.nodeName&&(n.push(s),o.currentNode=s.content),null===(s=o.nextNode())&&(o.currentNode=n.pop(),s=o.nextNode());if("node"===e.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,re(this.processor.handleAttributeExpressions(s,e.name,e.strings,this.options)))}i++}else this.__parts.push(void 0),i++;return hr&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),e}(),Ar=" ".concat(mr," "),Or=function(){function e(t,n,r,o){z(this,e),this.strings=t,this.values=n,this.type=r,this.processor=o}return $(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=!1,r=0;r<e;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=Er.exec(o);t+=null===a?o+(n?Ar:gr):o.substr(0,a.index)+a[1]+a[2]+wr+a[3]+mr}return t+=this.strings[e]}},{key:"getTemplateElement",value:function(){var e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}]),e}(),Cr=function(e){return null===e||!("object"===B(e)||"function"==typeof e)},Rr=function(e){return Array.isArray(e)||!(!e||!e[Symbol.iterator])},Mr=function(){function e(t,n,r){z(this,e),this.dirty=!0,this.element=t,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return $(e,[{key:"_createPart",value:function(){return new Pr(this)}},{key:"_getValue",value:function(){for(var e=this.strings,t=e.length-1,n="",r=0;r<t;r++){n+=e[r];var o=this.parts[r];if(void 0!==o){var i=o.value;if(Cr(i)||!Rr(i))n+="string"==typeof i?i:String(i);else{var a=!0,s=!1,u=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;n+="string"==typeof f?f:String(f)}}catch(e){s=!0,u=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw u}}}}}return n+=e[t]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),e}(),Pr=function(){function e(t){z(this,e),this.value=void 0,this.committer=t}return $(e,[{key:"setValue",value:function(e){e===pr||Cr(e)&&e===this.value||(this.value=e,fr(e)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;fr(this.value);){var e=this.value;this.value=pr,e(this)}this.value!==pr&&this.committer.commit()}}]),e}(),Lr=function(){function e(t){z(this,e),this.value=void 0,this.__pendingValue=void 0,this.options=t}return $(e,[{key:"appendInto",value:function(e){this.startNode=e.appendChild(kr()),this.endNode=e.appendChild(kr())}},{key:"insertAfterNode",value:function(e){this.startNode=e,this.endNode=e.nextSibling}},{key:"appendIntoPart",value:function(e){e.__insert(this.startNode=kr()),e.__insert(this.endNode=kr())}},{key:"insertAfterPart",value:function(e){e.__insert(this.startNode=kr()),this.endNode=e.endNode,e.endNode=this.startNode}},{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;fr(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=pr,e(this)}var t=this.__pendingValue;t!==pr&&(Cr(t)?t!==this.value&&this.__commitText(t):t instanceof Or?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):Rr(t)?this.__commitIterable(t):t===vr?(this.value=vr,this.clear()):this.__commitText(t))}},{key:"__insert",value:function(e){this.endNode.parentNode.insertBefore(e,this.endNode)}},{key:"__commitNode",value:function(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}},{key:"__commitText",value:function(e){var t=this.startNode.nextSibling,n="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}},{key:"__commitTemplateResult",value:function(e){var t=this.options.templateFactory(e);if(this.value instanceof xr&&this.value.template===t)this.value.update(e.values);else{var n=new xr(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var n,r=this.value,o=0,i=!0,a=!1,s=void 0;try{for(var u,c=t[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var l=u.value;void 0===(n=r[o])&&(n=new e(this.options),r.push(n),0===o?n.appendIntoPart(this):n.insertAfterPart(r[o-1])),n.setValue(l),n.commit(),o++}}catch(e){a=!0,s=e}finally{try{i||null==c.return||c.return()}finally{if(a)throw s}}o<r.length&&(r.length=o,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;dr(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),Nr=function(){function e(t,n,r){if(z(this,e),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=t,this.name=n,this.strings=r}return $(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;fr(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=pr,e(this)}if(this.__pendingValue!==pr){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=pr}}}]),e}(),Tr=function(e){function t(e,n,r){var o;return z(this,t),(o=Q(this,G(t).call(this,e,n,r))).single=2===r.length&&""===r[0]&&""===r[1],o}return Z(t,e),$(t,[{key:"_createPart",value:function(){return new jr(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:ee(G(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(Mr),jr=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),t}(Pr),Dr=!1;try{var Ir={get capture(){return Dr=!0,!1}};window.addEventListener("test",Ir,Ir),window.removeEventListener("test",Ir,Ir)}catch(e){}var Vr=function(){function e(t,n,r){var o=this;z(this,e),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(e){return o.handleEvent(e)}}return $(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;fr(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=pr,e(this)}if(this.__pendingValue!==pr){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),o=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=Ur(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=pr}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),Ur=function(e){return e&&(Dr?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},Fr=new(function(){function e(){z(this,e)}return $(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var o=t[0];return"."===o?new Tr(e,t.slice(1),n).parts:"@"===o?[new Vr(e,t.slice(1),r.eventContext)]:"?"===o?[new Nr(e,t.slice(1),n)]:new Mr(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new Lr(e)}}]),e}());
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 Br(e){var t=Wr.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},Wr.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var r=e.strings.join(mr);return void 0===(n=t.keyString.get(r))&&(n=new br(e,e.getTemplateElement()),t.keyString.set(r,n)),t.stringsArray.set(e.strings,n),n}var Wr=new Map,Hr=new WeakMap,zr=function(e,t,n){var r=Hr.get(t);void 0===r&&(dr(t,t.firstChild),Hr.set(t,r=new Lr(Object.assign({templateFactory:Br},n))),r.appendInto(t)),r.setValue(e),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 qr,$r,Zr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new Or(e,n,"html",Fr)},Gr=new Map,Jr=function(e,t,n){return n&&t&&t.length&&(e=e.map((function(e){if(Gr.has(e))return Gr.get(e);var r=e;return t.forEach((function(e){r=r.replace(new RegExp("(</?)(".concat(e,")(/?[> \t\n])"),"g"),"$1$2-".concat(n,"$3"))})),Gr.set(e,r),r}))),e};function Yr(){var e=te(["<style>","</style>",""]);return Yr=function(){return e},e}var Xr=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.eventContext;n&&(e=Zr(Yr(),n,e)),zr(e,t,{eventContext:o})},Kr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Zr.apply(void 0,[Jr(e,qr,$r)].concat(n))};function Qr(){var e=te(['<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 Qr=function(){return e},e}var eo={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"}}},to=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,[{key:"onBeforeRendering",value:function(){}},{key:"onAfterRendering",value:function(){}},{key:"onEnterDOM",value:function(){}},{key:"onExitDOM",value:function(){}}],[{key:"metadata",get:function(){return eo}},{key:"render",get:function(){return Xr}},{key:"template",get:function(){return function(e){return Kr(Qr())}}},{key:"styles",get:function(){return":host {\n display: inline-block;\n border: 1px solid black;\n color: var(--var1);\n }"}}]),t}(cr);to.define();var no={tag:"ui5-test-no-shadow"};function ro(){var e=te(["<div>\n\t\t\t\t<slot></slot>\n\t\t\t</div>"]);return ro=function(){return e},e}(function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"metadata",get:function(){return no}}]),t})(cr).define();var oo={tag:"ui5-test-parent",managedSlots:!0,slots:{default:{type:Node,listenFor:["prop1"]},items:{type:HTMLElement,listenFor:{include:["*"],exclude:["prop3"]}}}};function io(){var e=te(["<div></div>"]);return io=function(){return e},e}(function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"metadata",get:function(){return oo}},{key:"render",get:function(){return Xr}},{key:"template",get:function(){return function(e){return Kr(ro())}}}]),t})(cr).define();var ao={tag:"ui5-test-child",properties:{prop1:{type:String},prop2:{type:String},prop3:{type:String}}};function so(){var e=te(['\n\t\t\t\t<div class="ui5-with-static-area-content">\n\t\t\t\t\tStatic area content.\n\t\t\t\t</div>']);return so=function(){return e},e}function uo(){var e=te(["\n\t\t\t\t<div>\n\t\t\t\t\tWithStaticArea works!\n\t\t\t\t</div>"]);return uo=function(){return e},e}(function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"metadata",get:function(){return ao}},{key:"render",get:function(){return Xr}},{key:"template",get:function(){return function(e){return Kr(io())}}}]),t})(cr).define();var co={tag:"ui5-with-static-area",properties:{staticContent:{type:Boolean}},slots:{}};(function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}var n;return Z(t,e),$(t,[{key:"addStaticArea",value:(n=H(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.staticContent){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.getStaticAreaItemDomRef();case 4:return t=e.sent,this.responsivePopover=t.querySelector(".ui5-with-static-area-content"),e.abrupt("return",this.responsivePopover);case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"onBeforeRendering",value:function(){this.addStaticArea()}},{key:"onAfterRendering",value:function(){}},{key:"onEnterDOM",value:function(){}},{key:"onExitDOM",value:function(){}}],[{key:"metadata",get:function(){return co}},{key:"render",get:function(){return Xr}},{key:"template",get:function(){return function(e){return Kr(uo())}}},{key:"staticAreaTemplate",get:function(){return function(e){return Kr(so())}}},{key:"styles",get:function(){return"\n\t\t\t:host {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tborder: 1px solid black;\n\t\t\t\tcolor: red;\n\t\t\t}"}}]),t})(cr).define();var lo={tag:"ui5-test-generic-ext",properties:{extProp:{type:String},strProp:{defaultValue:"Ext"}},slots:{extSlot:{type:HTMLElement}}};(function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"metadata",get:function(){return lo}}]),t})(to).define();Tt("@ui5/webcomponents-base-test","sap_fiori_3",":root{ --var1: red; }"),Tt("@ui5/webcomponents-base-test","sap_fiori_3_dark",":root{ --var1: green; }"),Tt("@ui5/webcomponents-base-test","sap_belize",":root{ --var1: blue; }"),Tt("@ui5/webcomponents-base-test","sap_belize_hcb",":root{ --var1: orange; }"),Tt("@ui5/webcomponents-base-test","sap_belize_hcw",":root{ --var1: orange; }"),Tt("@ui5/webcomponents-base-test","sap_fiori_3_hcb",":root{ --var1: yellow; }"),Tt("@ui5/webcomponents-base-test","sap_fiori_3_hcw",":root{ --var1: yellow; }");var fo={},ho={INTERNET_EXPLORER:"ie",EDGE:"ed",FIREFOX:"ff",CHROME:"cr",SAFARI:"sf",ANDROID:"an"},po=function(){var e,t,n,r=function(){var e=navigator.userAgent.toLowerCase(),t=/(edge)[ /]([\w.]+)/.exec(e)||/(trident)\/[\w.]+;.*rv:([\w.]+)/.exec(e)||/(webkit)[ /]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(e)||[],n={browser:t[1]||"",version:t[2]||"0"};return n[n.browser]=!0,n}(),o=navigator.userAgent,i=window.navigator;if(r.mozilla)e=/Mobile/,o.match(/Firefox\/(\d+\.\d+)/)?(n=parseFloat(RegExp.$1),t={name:ho.FIREFOX,versionStr:"".concat(n),version:n,mozilla:!0,mobile:e.test(o)}):t={mobile:e.test(o),mozilla:!0,version:-1};else if(r.webkit){var a,s=o.toLowerCase().match(/webkit[/]([\d.]+)/);s&&(a=s[1]),e=/Mobile/;var u=o.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/),c=o.match(/FxiOS\/(\d+\.\d+)/),l=o.match(/Android .+ Version\/(\d+\.\d+)/);if(u||c||l){var f,h,d;u?(f=ho.CHROME,d=e.test(o),h=parseFloat(u[2])):c?(f=ho.FIREFOX,d=!0,h=parseFloat(c[1])):l&&(f=ho.ANDROID,d=e.test(o),h=parseFloat(l[1])),t={name:f,mobile:d,versionStr:"".concat(h),version:h,webkit:!0,webkitVersion:a}}else{var p=/(Version|PhantomJS)\/(\d+\.\d+).*Safari/,v=i.standalone;if(p.test(o)){var m=p.exec(o);n=parseFloat(m[2]),t={name:ho.SAFARI,versionStr:"".concat(n),fullscreen:!1,webview:!1,version:n,mobile:e.test(o),webkit:!0,webkitVersion:a,phantomJS:"PhantomJS"===m[1]}}else t=!/iPhone|iPad|iPod/.test(o)||/CriOS/.test(o)||/FxiOS/.test(o)||!0!==v&&!1!==v?{mobile:e.test(o),webkit:!0,webkitVersion:a,version:-1}:{name:ho.SAFARI,version:-1,fullscreen:v,webview:!v,mobile:e.test(o),webkit:!0,webkitVersion:a}}}else r.msie||r.trident?(n=parseFloat(r.version),t={name:ho.INTERNET_EXPLORER,versionStr:"".concat(n),version:n,msie:!0,mobile:!1}):r.edge?(n=parseFloat(r.version),t={name:ho.EDGE,versionStr:"".concat(n),version:n,edge:!0}):t={name:"",versionStr:"",version:-1,mobile:!1};return t},vo="object"===("undefined"==typeof chrome?"undefined":B(chrome))||"object"===("undefined"==typeof v8?"undefined":B(v8))?function(e,t){return t>2&&e.length,e}:function(e){return e},mo=/(?:\r\n|\r|\n|^)[ \t\f]*/,go=/(\\u[0-9a-fA-F]{0,4})|(\\.)|(\\$)|([ \t\f]*[ \t\f:=][ \t\f]*)/g,yo=/(\\u[0-9a-fA-F]{0,4})|(\\.)|(\\$)/g,wo={"\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"};ie("PropertiesFormatSupport",{parser:function(e){var t,n,r,o,i,a,s,u,c={},l=e.split(mo),f=function(e){o?(o="".concat(o).concat(e),u++):(o=e,u=0)};for(i=0;i<l.length;i++){if(!(""===(t=l[i])||"#"===t.charAt(0)||"!"===t.charAt(0))){for((n=go).lastIndex=s=0,r=null,o="",a=n.exec(t);null!==a;){if(s<a.index&&f(t.slice(s,a.index)),s=n.lastIndex,a[1]){if(6!==a[1].length)throw new Error("Incomplete Unicode Escape '".concat(a[1],"'"));f(String.fromCharCode(parseInt(a[1].slice(2),16)))}else a[2]?f(wo[a[2]]||a[2].slice(1)):a[3]?(t=l[++i],s=0,n.lastIndex=s):a[4]&&(r=o,o="",(n=yo).lastIndex=s);a=n.exec(t)}s<t.length&&f(t.slice(s)),null==r&&(r=o,o=""),c[r]=vo(o,o?u:0)}}return c}});var bo,_o,So=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,ko=function(e,t){return t=t||[],e.replace(So,(function(e,n,r,o,i){if(n)return"'";if(r)return r.replace(/''/g,"'");if(o)return String(t[parseInt(o)]);throw new Error("[i18n]: pattern syntax error at pos ".concat(i))}))},Eo=new Map,xo=function(){function e(t){z(this,e),this.packageName=t}return $(e,[{key:"getText",value:function(e){if("string"==typeof e&&(e={key:e,defaultText:e}),!e||!e.key)return"";for(var t=yt(this.packageName),n=t&&t[e.key]?t[e.key]:e.defaultText||e.key,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return ko(n,o)}}]),e}(),Ao=function(){return void 0===bo&&(Ne(),bo=ke.animationMode),bo},Oo={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Buddhist:"Buddhist",Persian:"Persian"},Co=function(e){function t(){return z(this,t),Q(this,G(t).apply(this,arguments))}return Z(t,e),$(t,null,[{key:"isValid",value:function(e){return!!Oo[e]}}]),t}(ln);Co.generateTypeAcessors(Oo);var Ro,Mo=function(){return void 0===_o&&(Ne(),_o=ke.calendarType),Co.isValid(_o)?_o:Co.Gregorian},Po=function(){return void 0===Ro&&(Ne(),Ro=ke.formatSettings),Ro.firstDayOfWeek},Lo=function(e,t){for(var n=e.split("."),r=xn("ui5-shared-resources",document.head),o=0;o<n.length;o++){var i=n[o],a=o===n.length-1;Object.prototype.hasOwnProperty.call(r,i)||(r[i]=a?t:{}),r=r[i]}return r},No=Lo("SVGIcons.registry",new Map),To=Lo("SVGIcons.promises",new Map),jo=function(){var e=H(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(Array.from(To.values()));case 2:return e.abrupt("return",Array.from(No.keys()));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();window.RenderScheduler=Ge,window.isIE=function(){return fo.browser||(fo.browser=po(),fo.browser.BROWSER=ho,fo.browser.name&&Object.keys(ho).forEach((function(e){ho[e]===fo.browser.name&&(fo.browser[e.toLowerCase()]=!0)}))),!!fo.browser.msie},window.registerThemeProperties=Tt,window["sap-ui-webcomponents-bundle"]={configuration:{getAnimationMode:Ao,getLanguage:Je,getTheme:Qt,setTheme:en,getNoConflict:Vn,setNoConflict:Fn,getCalendarType:Mo,getRTL:Hn,getFirstDayOfWeek:Po},getIconNames:jo,registerI18nBundle:function(e,t){var n=mt.get(e)||{};mt.set(e,Object.assign({},n,t))},fetchI18nBundle:wt,getI18nBundle:function(e){if(Eo.has(e))return Eo.get(e);var t=new xo(e);return Eo.set(e,t),t}};var Do={getAnimationMode:Ao,getLanguage:Je,getTheme:Qt,setTheme:en,getNoConflict:Vn,setNoConflict:Fn,getCalendarType:Mo,getRTL:Hn,getFirstDayOfWeek:Po};e.configuration=Do,e.getIconNames=jo}(this["sap-ui-webcomponents-bundle"]=this["sap-ui-webcomponents-bundle"]||{});
212
- //# sourceMappingURL=bundle.es5.js.map