@salesforcedevs/dx-components 0.26.1-alpha0.5 → 0.26.3

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 (324) hide show
  1. package/LICENSE +12 -0
  2. package/lwc.config.json +1 -1
  3. package/package.json +3 -8
  4. package/src/assets/icons/action-sprite/svg/symbols.svg +1 -0
  5. package/src/assets/icons/brand-sprite/svg/symbols.svg +1381 -0
  6. package/src/assets/icons/custom-sprite/svg/symbols.svg +1 -0
  7. package/src/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
  8. package/src/assets/icons/general-sprite/svg/symbols.svg +3013 -0
  9. package/src/assets/icons/salesforcebrand-sprite/svg/symbols.svg +257 -0
  10. package/src/assets/icons/standard-sprite/svg/symbols.svg +1 -0
  11. package/src/assets/icons/utility-sprite/svg/symbols.svg +1 -0
  12. package/src/assets/svg/card-news-learn-moar.svg +415 -0
  13. package/src/assets/svg/cloud-1.svg +24 -0
  14. package/src/assets/svg/cloud-2.svg +18 -0
  15. package/src/assets/svg/codey.svg +93 -0
  16. package/src/assets/svg/command.svg +9 -0
  17. package/src/assets/svg/control.svg +10 -0
  18. package/src/assets/svg/docs-empty-state-small.svg +72 -0
  19. package/src/assets/svg/docs-empty-state.svg +86 -0
  20. package/src/assets/svg/dsc-home-news-bear.svg +3 -0
  21. package/src/assets/svg/dsc-home-news-community.png +0 -0
  22. package/src/assets/svg/dsc-home-news-goatbear.svg +257 -0
  23. package/src/assets/svg/dsc-home-news-samplegallery.svg +76 -0
  24. package/src/assets/svg/empty-state-assistant.svg +1 -0
  25. package/src/assets/svg/fch-blog-cloud-1.png +0 -0
  26. package/src/assets/svg/fch-blog-cloud-2.png +0 -0
  27. package/src/assets/svg/fch-blog-planet.png +0 -0
  28. package/src/assets/svg/feature-backdrop1.svg +10 -0
  29. package/src/assets/svg/feature-backdrop2.svg +10 -0
  30. package/src/assets/svg/featured-demo-art-blank.svg +76 -0
  31. package/src/assets/svg/featured-demo-art-eBikes.svg +77 -0
  32. package/src/assets/svg/footer-graphic-large.svg +207 -0
  33. package/src/assets/svg/footer-graphic-mountains-small.svg +17 -0
  34. package/src/assets/svg/footer-graphic-mountains.svg +21 -0
  35. package/src/assets/svg/footer-graphic-trees-small.svg +33 -0
  36. package/src/assets/svg/footer-graphic-trees.svg +62 -0
  37. package/src/assets/svg/lake-mountain.svg +79 -0
  38. package/src/assets/svg/podcast-subscription-clouds-small.svg +49 -0
  39. package/src/assets/svg/podcast-subscription-clouds.svg +57 -0
  40. package/src/assets/svg/podcasts-subscription-apple.svg +164 -0
  41. package/src/assets/svg/podcasts-subscription-google.svg +29 -0
  42. package/src/assets/svg/podcasts-subscription-spotify.svg +11 -0
  43. package/src/assets/svg/salesforce-cloud.svg +7 -0
  44. package/src/assets/svg/salesforce-logo-corporate.svg +21 -0
  45. package/src/assets/svg/salesforce-logo.svg +14 -0
  46. package/src/assets/svg/sidebar-loading.svg +34 -0
  47. package/src/assets/svg/slack-cta-podcast-background-left.svg +28 -0
  48. package/src/assets/svg/slack-cta-podcast-background-right.svg +38 -0
  49. package/src/assets/svg/trees.svg +42 -0
  50. package/src/modules/base-elements/archiveCard/archiveCard.ts +35 -0
  51. package/src/modules/base-elements/headerBase/headerBase.ts +204 -0
  52. package/src/modules/dx/banner/banner.css +46 -0
  53. package/src/modules/dx/banner/banner.html +13 -0
  54. package/src/modules/dx/banner/banner.ts +14 -0
  55. package/src/modules/dx/brandThemeProvider/brandCssVars.ts +10 -0
  56. package/src/modules/dx/brandThemeProvider/brandThemeProvider.html +3 -0
  57. package/src/modules/dx/brandThemeProvider/brandThemeProvider.ts +46 -0
  58. package/src/modules/dx/breadcrumbs/breadcrumbs.css +111 -0
  59. package/src/modules/dx/breadcrumbs/breadcrumbs.html +44 -0
  60. package/src/modules/dx/breadcrumbs/breadcrumbs.ts +122 -0
  61. package/src/modules/dx/button/button.css +175 -0
  62. package/src/modules/dx/button/button.html +43 -0
  63. package/src/modules/dx/button/button.ts +63 -0
  64. package/src/modules/dx/cardBlogPost/cardBlogPost.css +13 -0
  65. package/src/modules/dx/cardBlogPost/cardBlogPost.html +24 -0
  66. package/src/modules/dx/cardBlogPost/cardBlogPost.ts +23 -0
  67. package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.css +3 -0
  68. package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.html +16 -0
  69. package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.ts +29 -0
  70. package/src/modules/dx/cardCallout/cardCallout.css +57 -0
  71. package/src/modules/dx/cardCallout/cardCallout.html +15 -0
  72. package/src/modules/dx/cardCallout/cardCallout.ts +37 -0
  73. package/src/modules/dx/cardContent/cardContent.css +52 -0
  74. package/src/modules/dx/cardContent/cardContent.html +59 -0
  75. package/src/modules/dx/cardContent/cardContent.ts +68 -0
  76. package/src/modules/dx/cardDemo/cardDemo.css +1 -0
  77. package/src/modules/dx/cardDemo/cardDemo.html +12 -0
  78. package/src/modules/dx/cardDemo/cardDemo.ts +11 -0
  79. package/src/modules/dx/cardDocs/cardDocs.css +50 -0
  80. package/src/modules/dx/cardDocs/cardDocs.html +20 -0
  81. package/src/modules/dx/cardDocs/cardDocs.ts +30 -0
  82. package/src/modules/dx/cardEvent/cardEvent.css +107 -0
  83. package/src/modules/dx/cardEvent/cardEvent.html +94 -0
  84. package/src/modules/dx/cardEvent/cardEvent.ts +42 -0
  85. package/src/modules/dx/cardExpanded/cardExpanded.css +49 -0
  86. package/src/modules/dx/cardExpanded/cardExpanded.html +37 -0
  87. package/src/modules/dx/cardExpanded/cardExpanded.ts +45 -0
  88. package/src/modules/dx/cardGrid/cardGrid.css +89 -0
  89. package/src/modules/dx/cardGrid/cardGrid.html +46 -0
  90. package/src/modules/dx/cardGrid/cardGrid.ts +140 -0
  91. package/src/modules/dx/cardMinimal/cardMinimal.css +31 -0
  92. package/src/modules/dx/cardMinimal/cardMinimal.html +13 -0
  93. package/src/modules/dx/cardMinimal/cardMinimal.ts +3 -0
  94. package/src/modules/dx/cardNews/cardNews.css +159 -0
  95. package/src/modules/dx/cardNews/cardNews.html +37 -0
  96. package/src/modules/dx/cardNews/cardNews.ts +62 -0
  97. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.css +19 -0
  98. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.html +36 -0
  99. package/src/modules/dx/cardPodcastEpisode/cardPodcastEpisode.ts +36 -0
  100. package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.css +3 -0
  101. package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.html +12 -0
  102. package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.ts +29 -0
  103. package/src/modules/dx/cardSmall/cardSmall.css +32 -0
  104. package/src/modules/dx/cardSmall/cardSmall.html +42 -0
  105. package/src/modules/dx/cardSmall/cardSmall.ts +38 -0
  106. package/src/modules/dx/cardTitle/cardTitle.css +41 -0
  107. package/src/modules/dx/cardTitle/cardTitle.html +20 -0
  108. package/src/modules/dx/cardTitle/cardTitle.ts +27 -0
  109. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.css +24 -0
  110. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.html +20 -0
  111. package/src/modules/dx/cardTrailheadModule/cardTrailheadModule.ts +18 -0
  112. package/src/modules/dx/cardVideoPreview/cardVideoPreview.css +14 -0
  113. package/src/modules/dx/cardVideoPreview/cardVideoPreview.html +26 -0
  114. package/src/modules/dx/cardVideoPreview/cardVideoPreview.ts +13 -0
  115. package/src/modules/dx/checkbox/checkbox.css +168 -0
  116. package/src/modules/dx/checkbox/checkbox.html +26 -0
  117. package/src/modules/dx/checkbox/checkbox.ts +55 -0
  118. package/src/modules/dx/checkboxGroup/checkboxGroup.css +12 -0
  119. package/src/modules/dx/checkboxGroup/checkboxGroup.html +15 -0
  120. package/src/modules/dx/checkboxGroup/checkboxGroup.ts +77 -0
  121. package/src/modules/dx/codeBlock/codeBlock.css +128 -0
  122. package/src/modules/dx/codeBlock/codeBlock.html +79 -0
  123. package/src/modules/dx/codeBlock/codeBlock.ts +215 -0
  124. package/src/modules/dx/codeBlock/darkTheme.css +88 -0
  125. package/src/modules/dx/codeBlock/lightTheme.css +72 -0
  126. package/src/modules/dx/dropdown/dropdown.css +93 -0
  127. package/src/modules/dx/dropdown/dropdown.html +67 -0
  128. package/src/modules/dx/dropdown/dropdown.ts +182 -0
  129. package/src/modules/dx/dropdownOption/dropdownOption.css +61 -0
  130. package/src/modules/dx/dropdownOption/dropdownOption.html +53 -0
  131. package/src/modules/dx/dropdownOption/dropdownOption.ts +39 -0
  132. package/src/modules/dx/emptyState/emptyState.css +64 -0
  133. package/src/modules/dx/emptyState/emptyState.html +9 -0
  134. package/src/modules/dx/emptyState/emptyState.ts +20 -0
  135. package/src/modules/dx/feature/feature.css +135 -0
  136. package/src/modules/dx/feature/feature.html +33 -0
  137. package/src/modules/dx/feature/feature.ts +34 -0
  138. package/src/modules/dx/featureGrid/featureGrid.html +3 -0
  139. package/src/modules/dx/featureGrid/featureGrid.ts +15 -0
  140. package/src/modules/dx/featuredContentHeader/featuredContentHeader.css +469 -0
  141. package/src/modules/dx/featuredContentHeader/featuredContentHeader.html +96 -0
  142. package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +113 -0
  143. package/src/modules/dx/featuredContentHeader/svgs.ts +35 -0
  144. package/src/modules/dx/featuresList/featuresList.css +24 -0
  145. package/src/modules/dx/featuresList/featuresList.html +20 -0
  146. package/src/modules/dx/featuresList/featuresList.ts +21 -0
  147. package/src/modules/dx/footer/footer.css +405 -0
  148. package/src/modules/dx/footer/footer.html +145 -0
  149. package/src/modules/dx/footer/footer.ts +124 -0
  150. package/src/modules/dx/footer/links.ts +140 -0
  151. package/src/modules/dx/footerOption/footerOption.css +4 -0
  152. package/src/modules/dx/footerOption/footerOption.html +12 -0
  153. package/src/modules/dx/footerOption/footerOption.ts +19 -0
  154. package/src/modules/dx/formattedDateTime/formattedDateTime.html +1 -0
  155. package/src/modules/dx/formattedDateTime/formattedDateTime.ts +72 -0
  156. package/src/modules/dx/grid/grid.css +48 -0
  157. package/src/modules/dx/grid/grid.html +3 -0
  158. package/src/modules/dx/grid/grid.md +14 -0
  159. package/src/modules/dx/grid/grid.ts +72 -0
  160. package/src/modules/dx/groupBio/groupBio.css +49 -0
  161. package/src/modules/dx/groupBio/groupBio.html +29 -0
  162. package/src/modules/dx/groupBio/groupBio.ts +41 -0
  163. package/src/modules/dx/groupText/groupText.css +119 -0
  164. package/src/modules/dx/groupText/groupText.html +65 -0
  165. package/src/modules/dx/groupText/groupText.ts +93 -0
  166. package/src/modules/dx/headTags/headTags.html +3 -0
  167. package/src/modules/dx/headTags/headTags.ts +39 -0
  168. package/src/modules/dx/header/__benchmarks__/header.benchmark.js +45 -0
  169. package/src/modules/dx/header/header.css +109 -0
  170. package/src/modules/dx/header/header.html +129 -0
  171. package/src/modules/dx/header/header.ts +27 -0
  172. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.css +160 -0
  173. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.html +73 -0
  174. package/src/modules/dx/headerMobileNavMenu/headerMobileNavMenu.ts +102 -0
  175. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.css +5 -0
  176. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.html +14 -0
  177. package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.ts +20 -0
  178. package/src/modules/dx/headerNav/headerNav.css +31 -0
  179. package/src/modules/dx/headerNav/headerNav.html +48 -0
  180. package/src/modules/dx/headerNav/headerNav.ts +56 -0
  181. package/src/modules/dx/headerSearch/headerSearch.css +62 -0
  182. package/src/modules/dx/headerSearch/headerSearch.html +64 -0
  183. package/src/modules/dx/headerSearch/headerSearch.ts +159 -0
  184. package/src/modules/dx/helmet/helmet.css +83 -0
  185. package/src/modules/dx/helmet/helmet.html +39 -0
  186. package/src/modules/dx/helmet/helmet.ts +27 -0
  187. package/src/modules/dx/hr/hr.css +55 -0
  188. package/src/modules/dx/hr/hr.html +23 -0
  189. package/src/modules/dx/hr/hr.ts +45 -0
  190. package/src/modules/dx/icon/icon.css +14 -0
  191. package/src/modules/dx/icon/icon.html +11 -0
  192. package/src/modules/dx/icon/icon.ts +85 -0
  193. package/src/modules/dx/iconBadge/iconBadge.css +40 -0
  194. package/src/modules/dx/iconBadge/iconBadge.html +10 -0
  195. package/src/modules/dx/iconBadge/iconBadge.ts +42 -0
  196. package/src/modules/dx/imageAndLabel/imageAndLabel.css +54 -0
  197. package/src/modules/dx/imageAndLabel/imageAndLabel.html +22 -0
  198. package/src/modules/dx/imageAndLabel/imageAndLabel.ts +16 -0
  199. package/src/modules/dx/input/input.css +165 -0
  200. package/src/modules/dx/input/input.html +58 -0
  201. package/src/modules/dx/input/input.ts +238 -0
  202. package/src/modules/dx/input/validators.ts +5 -0
  203. package/src/modules/dx/instrumentation/instrumentation.html +1 -0
  204. package/src/modules/dx/instrumentation/instrumentation.ts +116 -0
  205. package/src/modules/dx/interactiveImage/interactiveImage.css +59 -0
  206. package/src/modules/dx/interactiveImage/interactiveImage.html +32 -0
  207. package/src/modules/dx/interactiveImage/interactiveImage.ts +71 -0
  208. package/src/modules/dx/lazy/lazy.html +5 -0
  209. package/src/modules/dx/lazy/lazy.ts +163 -0
  210. package/src/modules/dx/logo/logo.css +33 -0
  211. package/src/modules/dx/logo/logo.html +6 -0
  212. package/src/modules/dx/logo/logo.ts +8 -0
  213. package/src/modules/dx/newsletterForm/newsletterForm.css +73 -0
  214. package/src/modules/dx/newsletterForm/newsletterForm.html +73 -0
  215. package/src/modules/dx/newsletterForm/newsletterForm.ts +238 -0
  216. package/src/modules/dx/pagination/pagination.css +51 -0
  217. package/src/modules/dx/pagination/pagination.html +45 -0
  218. package/src/modules/dx/pagination/pagination.ts +93 -0
  219. package/src/modules/dx/podcastHost/podcastHost.css +62 -0
  220. package/src/modules/dx/podcastHost/podcastHost.html +28 -0
  221. package/src/modules/dx/podcastHost/podcastHost.ts +13 -0
  222. package/src/modules/dx/podcastPlayer/podcastPlayer.css +10 -0
  223. package/src/modules/dx/podcastPlayer/podcastPlayer.html +3 -0
  224. package/src/modules/dx/podcastPlayer/podcastPlayer.ts +5 -0
  225. package/src/modules/dx/podcastSubscription/podcastSubscription.css +91 -0
  226. package/src/modules/dx/podcastSubscription/podcastSubscription.html +24 -0
  227. package/src/modules/dx/podcastSubscription/podcastSubscription.ts +58 -0
  228. package/src/modules/dx/popover/popover.css +63 -0
  229. package/src/modules/dx/popover/popover.html +16 -0
  230. package/src/modules/dx/popover/popover.ts +313 -0
  231. package/src/modules/dx/radioGroup/radioGroup.css +12 -0
  232. package/src/modules/dx/radioGroup/radioGroup.html +16 -0
  233. package/src/modules/dx/radioGroup/radioGroup.ts +65 -0
  234. package/src/modules/dx/relativeDateTime/relativeDateTime.html +3 -0
  235. package/src/modules/dx/relativeDateTime/relativeDateTime.ts +113 -0
  236. package/src/modules/dx/searchResults/coveo.css +18989 -0
  237. package/src/modules/dx/searchResults/searchResults.css +387 -0
  238. package/src/modules/dx/searchResults/searchResults.html +104 -0
  239. package/src/modules/dx/searchResults/searchResults.ts +186 -0
  240. package/src/modules/dx/section/section.css +130 -0
  241. package/src/modules/dx/section/section.html +66 -0
  242. package/src/modules/dx/section/section.ts +41 -0
  243. package/src/modules/dx/sectionSignup/sectionSignup.css +43 -0
  244. package/src/modules/dx/sectionSignup/sectionSignup.html +23 -0
  245. package/src/modules/dx/sectionSignup/sectionSignup.ts +44 -0
  246. package/src/modules/dx/select/select.css +44 -0
  247. package/src/modules/dx/select/select.html +60 -0
  248. package/src/modules/dx/select/select.ts +23 -0
  249. package/src/modules/dx/sidebar/sidebar.css +192 -0
  250. package/src/modules/dx/sidebar/sidebar.html +94 -0
  251. package/src/modules/dx/sidebar/sidebar.ts +255 -0
  252. package/src/modules/dx/sidebarOld/sidebarOld.css +160 -0
  253. package/src/modules/dx/sidebarOld/sidebarOld.html +70 -0
  254. package/src/modules/dx/sidebarOld/sidebarOld.ts +187 -0
  255. package/src/modules/dx/sidebarSearch/sidebarSearch.css +3 -0
  256. package/src/modules/dx/sidebarSearch/sidebarSearch.html +26 -0
  257. package/src/modules/dx/sidebarSearch/sidebarSearch.ts +437 -0
  258. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.css +36 -0
  259. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.html +14 -0
  260. package/src/modules/dx/sidebarSearchResult/sidebarSearchResult.ts +70 -0
  261. package/src/modules/dx/skipNavLink/skipNavLink.css +21 -0
  262. package/src/modules/dx/skipNavLink/skipNavLink.html +3 -0
  263. package/src/modules/dx/skipNavLink/skipNavLink.ts +3 -0
  264. package/src/modules/dx/slackCta/slackCta.css +47 -0
  265. package/src/modules/dx/slackCta/slackCta.html +17 -0
  266. package/src/modules/dx/slackCta/slackCta.ts +12 -0
  267. package/src/modules/dx/socials/socials.css +35 -0
  268. package/src/modules/dx/socials/socials.html +22 -0
  269. package/src/modules/dx/socials/socials.ts +81 -0
  270. package/src/modules/dx/spinner/spinner.css +750 -0
  271. package/src/modules/dx/spinner/spinner.html +6 -0
  272. package/src/modules/dx/spinner/spinner.ts +20 -0
  273. package/src/modules/dx/tab/tab.css +106 -0
  274. package/src/modules/dx/tab/tab.html +13 -0
  275. package/src/modules/dx/tab/tab.ts +52 -0
  276. package/src/modules/dx/toc/toc.css +94 -0
  277. package/src/modules/dx/toc/toc.html +28 -0
  278. package/src/modules/dx/toc/toc.ts +77 -0
  279. package/src/modules/dx/tooltip/microtip.css +269 -0
  280. package/src/modules/dx/tooltip/tooltip.css +36 -0
  281. package/src/modules/dx/tooltip/tooltip.html +5 -0
  282. package/src/modules/dx/tooltip/tooltip.ts +6 -0
  283. package/src/modules/dx/topics/topics.css +25 -0
  284. package/src/modules/dx/topics/topics.html +12 -0
  285. package/src/modules/dx/topics/topics.ts +25 -0
  286. package/src/modules/dx/tree/tree.css +5 -0
  287. package/src/modules/dx/tree/tree.html +11 -0
  288. package/src/modules/dx/tree/tree.ts +72 -0
  289. package/src/modules/dx/tree/treeHandler.ts +100 -0
  290. package/src/modules/dx/treeItem/treeItem.css +14 -0
  291. package/src/modules/dx/treeItem/treeItem.html +22 -0
  292. package/src/modules/dx/treeItem/treeItem.ts +110 -0
  293. package/src/modules/dx/treeTile/treeTile.css +190 -0
  294. package/src/modules/dx/treeTile/treeTile.html +27 -0
  295. package/src/modules/dx/treeTile/treeTile.ts +59 -0
  296. package/src/modules/dx/typeBadge/typeBadge.css +74 -0
  297. package/src/modules/dx/typeBadge/typeBadge.html +5 -0
  298. package/src/modules/dx/typeBadge/typeBadge.ts +65 -0
  299. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.css +12 -0
  300. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.html +11 -0
  301. package/src/modules/dx/typeBadgeGroup/typeBadgeGroup.ts +18 -0
  302. package/src/modules/helpers/animations/animations.css +15 -0
  303. package/src/modules/helpers/button/button.css +4 -0
  304. package/src/modules/helpers/card/card.css +258 -0
  305. package/src/modules/helpers/code/code.css +296 -0
  306. package/src/modules/helpers/commonHeader/commonHeader.css +130 -0
  307. package/src/modules/helpers/reset/reset.css +559 -0
  308. package/src/modules/helpers/sidebar/sidebar.css +21 -0
  309. package/src/modules/helpers/slds/slds.css +191 -0
  310. package/src/modules/helpers/table/table.css +110 -0
  311. package/src/modules/helpers/text/text.css +163 -0
  312. package/src/modules/utils/coveo/coveo.ts +70 -0
  313. package/src/modules/utils/css/css.ts +43 -0
  314. package/src/modules/utils/devices/devices.ts +1 -0
  315. package/src/modules/utils/highlight/highlight.ts +32 -0
  316. package/src/modules/utils/normalizers/normalizers.ts +91 -0
  317. package/src/modules/utils/options/options.ts +39 -0
  318. package/src/modules/utils/prismjs/prismjs.html +3 -0
  319. package/src/modules/utils/prismjs/prismjs.ts +3321 -0
  320. package/src/modules/utils/recentSearches/recentSearches.ts +57 -0
  321. package/src/modules/utils/regexps/regexps.ts +5 -0
  322. package/src/modules/utils/seo/seo.ts +4 -0
  323. package/src/modules/utils/slot/slot.ts +17 -0
  324. package/src/modules/utils/wordpress/wordpress.ts +13 -0
@@ -0,0 +1,3321 @@
1
+ /* eslint-disable */
2
+ var commonjsGlobal =
3
+ typeof globalThis !== "undefined"
4
+ ? globalThis
5
+ : typeof window !== "undefined"
6
+ ? window
7
+ : typeof global !== "undefined"
8
+ ? global
9
+ : typeof self !== "undefined"
10
+ ? self
11
+ : {};
12
+
13
+ function createCommonjsModule(fn, basedir, module) {
14
+ return (
15
+ (module = {
16
+ path: basedir,
17
+ exports: {},
18
+ require: function (path, base) {
19
+ return commonjsRequire(
20
+ path,
21
+ base === undefined || base === null ? module.path : base
22
+ );
23
+ }
24
+ }),
25
+ fn(module, module.exports),
26
+ module.exports
27
+ );
28
+ }
29
+
30
+ function commonjsRequire() {
31
+ throw new Error(
32
+ "Dynamic requires are not currently supported by @rollup/plugin-commonjs"
33
+ );
34
+ }
35
+ /* eslint-disable */
36
+ var prism = createCommonjsModule(function (module) {
37
+ /* PrismJS 1.23.0
38
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apex+aspnet+basic+c+csharp+cpp+css-extras+java+javadoc+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+markdown+markup-templating+php+phpdoc+php-extras+plsql+regex+sql+typescript+typoscript+uri+vbnet&plugins=line-numbers+unescaped-markup+match-braces */
39
+ var _self =
40
+ "undefined" != typeof window
41
+ ? window
42
+ : "undefined" != typeof WorkerGlobalScope &&
43
+ self instanceof WorkerGlobalScope
44
+ ? self
45
+ : {},
46
+ Prism = (function (u) {
47
+ var c = /\blang(?:uage)?-([\w-]+)\b/i,
48
+ n = 0,
49
+ e = {},
50
+ M = {
51
+ manual: u.Prism && u.Prism.manual,
52
+ disableWorkerMessageHandler:
53
+ u.Prism && u.Prism.disableWorkerMessageHandler,
54
+ util: {
55
+ encode: function e(n) {
56
+ return n instanceof W
57
+ ? new W(n.type, e(n.content), n.alias)
58
+ : Array.isArray(n)
59
+ ? n.map(e)
60
+ : n
61
+ .replace(/&/g, "&")
62
+ .replace(/</g, "&lt;")
63
+ .replace(/\u00a0/g, " ");
64
+ },
65
+ type: function (e) {
66
+ return Object.prototype.toString
67
+ .call(e)
68
+ .slice(8, -1);
69
+ },
70
+ objId: function (e) {
71
+ return (
72
+ e.__id ||
73
+ Object.defineProperty(e, "__id", {
74
+ value: ++n
75
+ }),
76
+ e.__id
77
+ );
78
+ },
79
+ clone: function t(e, r) {
80
+ var a, n;
81
+ switch (((r = r || {}), M.util.type(e))) {
82
+ case "Object":
83
+ if (((n = M.util.objId(e)), r[n]))
84
+ return r[n];
85
+ for (var i in ((a = {}), (r[n] = a), e))
86
+ e.hasOwnProperty(i) &&
87
+ (a[i] = t(e[i], r));
88
+ return a;
89
+ case "Array":
90
+ return (
91
+ (n = M.util.objId(e)),
92
+ r[n]
93
+ ? r[n]
94
+ : ((a = []),
95
+ (r[n] = a),
96
+ e.forEach(function (e, n) {
97
+ a[n] = t(e, r);
98
+ }),
99
+ a)
100
+ );
101
+ default:
102
+ return e;
103
+ }
104
+ },
105
+ getLanguage: function (e) {
106
+ for (; e && !c.test(e.className); )
107
+ e = e.parentElement;
108
+ return e
109
+ ? (e.className.match(c) || [
110
+ ,
111
+ "none"
112
+ ])[1].toLowerCase()
113
+ : "none";
114
+ },
115
+ currentScript: function () {
116
+ if ("undefined" == typeof document) return null;
117
+ if ("currentScript" in document)
118
+ return document.currentScript;
119
+ try {
120
+ throw new Error();
121
+ } catch (e) {
122
+ var n = (/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(
123
+ e.stack
124
+ ) || [])[1];
125
+ if (n) {
126
+ var t =
127
+ document.getElementsByTagName("script");
128
+ for (var r in t)
129
+ if (t[r].src == n) return t[r];
130
+ }
131
+ return null;
132
+ }
133
+ },
134
+ isActive: function (e, n, t) {
135
+ for (var r = "no-" + n; e; ) {
136
+ var a = e.classList;
137
+ if (a.contains(n)) return !0;
138
+ if (a.contains(r)) return !1;
139
+ e = e.parentElement;
140
+ }
141
+ return !!t;
142
+ }
143
+ },
144
+ languages: {
145
+ plain: e,
146
+ plaintext: e,
147
+ text: e,
148
+ txt: e,
149
+ extend: function (e, n) {
150
+ var t = M.util.clone(M.languages[e]);
151
+ for (var r in n) t[r] = n[r];
152
+ return t;
153
+ },
154
+ insertBefore: function (t, e, n, r) {
155
+ var a = (r = r || M.languages)[t],
156
+ i = {};
157
+ for (var l in a)
158
+ if (a.hasOwnProperty(l)) {
159
+ if (l == e)
160
+ for (var o in n)
161
+ n.hasOwnProperty(o) &&
162
+ (i[o] = n[o]);
163
+ n.hasOwnProperty(l) || (i[l] = a[l]);
164
+ }
165
+ var s = r[t];
166
+ return (
167
+ (r[t] = i),
168
+ M.languages.DFS(M.languages, function (e, n) {
169
+ n === s && e != t && (this[e] = i);
170
+ }),
171
+ i
172
+ );
173
+ },
174
+ DFS: function e(n, t, r, a) {
175
+ a = a || {};
176
+ var i = M.util.objId;
177
+ for (var l in n)
178
+ if (n.hasOwnProperty(l)) {
179
+ t.call(n, l, n[l], r || l);
180
+ var o = n[l],
181
+ s = M.util.type(o);
182
+ "Object" !== s || a[i(o)]
183
+ ? "Array" !== s ||
184
+ a[i(o)] ||
185
+ ((a[i(o)] = !0), e(o, t, l, a))
186
+ : ((a[i(o)] = !0), e(o, t, null, a));
187
+ }
188
+ }
189
+ },
190
+ plugins: {},
191
+ highlightAll: function (e, n) {
192
+ M.highlightAllUnder(document, e, n);
193
+ },
194
+ highlightAllUnder: function (e, n, t) {
195
+ var r = {
196
+ callback: t,
197
+ container: e,
198
+ selector:
199
+ 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
200
+ };
201
+ M.hooks.run("before-highlightall", r),
202
+ (r.elements = Array.prototype.slice.apply(
203
+ r.container.querySelectorAll(r.selector)
204
+ )),
205
+ M.hooks.run("before-all-elements-highlight", r);
206
+ for (var a, i = 0; (a = r.elements[i++]); )
207
+ M.highlightElement(a, !0 === n, r.callback);
208
+ },
209
+ highlightElement: function (e, n, t) {
210
+ var r = M.util.getLanguage(e),
211
+ a = M.languages[r];
212
+ e.className =
213
+ e.className.replace(c, "").replace(/\s+/g, " ") +
214
+ " language-" +
215
+ r;
216
+ var i = e.parentElement;
217
+ i &&
218
+ "pre" === i.nodeName.toLowerCase() &&
219
+ (i.className =
220
+ i.className
221
+ .replace(c, "")
222
+ .replace(/\s+/g, " ") +
223
+ " language-" +
224
+ r);
225
+ var l = {
226
+ element: e,
227
+ language: r,
228
+ grammar: a,
229
+ code: e.textContent
230
+ };
231
+ function o(e) {
232
+ (l.highlightedCode = e),
233
+ M.hooks.run("before-insert", l),
234
+ (l.element.innerHTML = l.highlightedCode),
235
+ M.hooks.run("after-highlight", l),
236
+ M.hooks.run("complete", l),
237
+ t && t.call(l.element);
238
+ }
239
+ if (
240
+ (M.hooks.run("before-sanity-check", l),
241
+ (i = l.element.parentElement) &&
242
+ "pre" === i.nodeName.toLowerCase() &&
243
+ !i.hasAttribute("tabindex") &&
244
+ i.setAttribute("tabindex", "0"),
245
+ !l.code)
246
+ )
247
+ return (
248
+ M.hooks.run("complete", l),
249
+ void (t && t.call(l.element))
250
+ );
251
+ if ((M.hooks.run("before-highlight", l), l.grammar))
252
+ if (n && u.Worker) {
253
+ var s = new Worker(M.filename);
254
+ (s.onmessage = function (e) {
255
+ o(e.data);
256
+ }),
257
+ s.postMessage(
258
+ JSON.stringify({
259
+ language: l.language,
260
+ code: l.code,
261
+ immediateClose: !0
262
+ })
263
+ );
264
+ } else
265
+ o(M.highlight(l.code, l.grammar, l.language));
266
+ else o(M.util.encode(l.code));
267
+ },
268
+ highlight: function (e, n, t) {
269
+ var r = { code: e, grammar: n, language: t };
270
+ return (
271
+ M.hooks.run("before-tokenize", r),
272
+ (r.tokens = M.tokenize(r.code, r.grammar)),
273
+ M.hooks.run("after-tokenize", r),
274
+ W.stringify(M.util.encode(r.tokens), r.language)
275
+ );
276
+ },
277
+ tokenize: function (e, n) {
278
+ var t = n.rest;
279
+ if (t) {
280
+ for (var r in t) n[r] = t[r];
281
+ delete n.rest;
282
+ }
283
+ var a = new i();
284
+ return (
285
+ I(a, a.head, e),
286
+ (function e(n, t, r, a, i, l) {
287
+ for (var o in r)
288
+ if (r.hasOwnProperty(o) && r[o]) {
289
+ var s = r[o];
290
+ s = Array.isArray(s) ? s : [s];
291
+ for (var u = 0; u < s.length; ++u) {
292
+ if (l && l.cause == o + "," + u)
293
+ return;
294
+ var c = s[u],
295
+ g = c.inside,
296
+ f = !!c.lookbehind,
297
+ h = !!c.greedy,
298
+ d = c.alias;
299
+ if (h && !c.pattern.global) {
300
+ var p = c.pattern
301
+ .toString()
302
+ .match(/[imsuy]*$/)[0];
303
+ c.pattern = RegExp(
304
+ c.pattern.source,
305
+ p + "g"
306
+ );
307
+ }
308
+ for (
309
+ var v = c.pattern || c,
310
+ m = a.next,
311
+ y = i;
312
+ m !== t.tail &&
313
+ !(l && y >= l.reach);
314
+ y += m.value.length, m = m.next
315
+ ) {
316
+ var b = m.value;
317
+ if (t.length > n.length) return;
318
+ if (!(b instanceof W)) {
319
+ var k,
320
+ x = 1;
321
+ if (h) {
322
+ if (
323
+ !(k = z(v, y, n, f))
324
+ )
325
+ break;
326
+ var w = k.index,
327
+ A =
328
+ k.index +
329
+ k[0].length,
330
+ P = y;
331
+ for (
332
+ P += m.value.length;
333
+ P <= w;
334
+
335
+ )
336
+ (m = m.next),
337
+ (P +=
338
+ m.value
339
+ .length);
340
+ if (
341
+ ((P -=
342
+ m.value.length),
343
+ (y = P),
344
+ m.value instanceof
345
+ W)
346
+ )
347
+ continue;
348
+ for (
349
+ var E = m;
350
+ E !== t.tail &&
351
+ (P < A ||
352
+ "string" ==
353
+ typeof E.value);
354
+ E = E.next
355
+ )
356
+ x++,
357
+ (P +=
358
+ E.value
359
+ .length);
360
+ x--,
361
+ (b = n.slice(y, P)),
362
+ (k.index -= y);
363
+ } else if (
364
+ !(k = z(v, 0, b, f))
365
+ )
366
+ continue;
367
+ var w = k.index,
368
+ S = k[0],
369
+ O = b.slice(0, w),
370
+ L = b.slice(
371
+ w + S.length
372
+ ),
373
+ N = y + b.length;
374
+ l &&
375
+ N > l.reach &&
376
+ (l.reach = N);
377
+ var j = m.prev;
378
+ O &&
379
+ ((j = I(t, j, O)),
380
+ (y += O.length)),
381
+ q(t, j, x);
382
+ var C = new W(
383
+ o,
384
+ g
385
+ ? M.tokenize(S, g)
386
+ : S,
387
+ d,
388
+ S
389
+ );
390
+ if (
391
+ ((m = I(t, j, C)),
392
+ L && I(t, m, L),
393
+ 1 < x)
394
+ ) {
395
+ var _ = {
396
+ cause: o + "," + u,
397
+ reach: N
398
+ };
399
+ e(
400
+ n,
401
+ t,
402
+ r,
403
+ m.prev,
404
+ y,
405
+ _
406
+ ),
407
+ l &&
408
+ _.reach >
409
+ l.reach &&
410
+ (l.reach =
411
+ _.reach);
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ })(e, a, n, a.head, 0),
418
+ (function (e) {
419
+ var n = [],
420
+ t = e.head.next;
421
+ for (; t !== e.tail; )
422
+ n.push(t.value), (t = t.next);
423
+ return n;
424
+ })(a)
425
+ );
426
+ },
427
+ hooks: {
428
+ all: {},
429
+ add: function (e, n) {
430
+ var t = M.hooks.all;
431
+ (t[e] = t[e] || []), t[e].push(n);
432
+ },
433
+ run: function (e, n) {
434
+ var t = M.hooks.all[e];
435
+ if (t && t.length)
436
+ for (var r, a = 0; (r = t[a++]); ) r(n);
437
+ }
438
+ },
439
+ Token: W
440
+ };
441
+ function W(e, n, t, r) {
442
+ (this.type = e),
443
+ (this.content = n),
444
+ (this.alias = t),
445
+ (this.length = 0 | (r || "").length);
446
+ }
447
+ function z(e, n, t, r) {
448
+ e.lastIndex = n;
449
+ var a = e.exec(t);
450
+ if (a && r && a[1]) {
451
+ var i = a[1].length;
452
+ (a.index += i), (a[0] = a[0].slice(i));
453
+ }
454
+ return a;
455
+ }
456
+ function i() {
457
+ var e = { value: null, prev: null, next: null },
458
+ n = { value: null, prev: e, next: null };
459
+ (e.next = n),
460
+ (this.head = e),
461
+ (this.tail = n),
462
+ (this.length = 0);
463
+ }
464
+ function I(e, n, t) {
465
+ var r = n.next,
466
+ a = { value: t, prev: n, next: r };
467
+ return (n.next = a), (r.prev = a), e.length++, a;
468
+ }
469
+ function q(e, n, t) {
470
+ for (var r = n.next, a = 0; a < t && r !== e.tail; a++)
471
+ r = r.next;
472
+ ((n.next = r).prev = n), (e.length -= a);
473
+ }
474
+ if (
475
+ ((u.Prism = M),
476
+ (W.stringify = function n(e, t) {
477
+ if ("string" == typeof e) return e;
478
+ if (Array.isArray(e)) {
479
+ var r = "";
480
+ return (
481
+ e.forEach(function (e) {
482
+ r += n(e, t);
483
+ }),
484
+ r
485
+ );
486
+ }
487
+ var a = {
488
+ type: e.type,
489
+ content: n(e.content, t),
490
+ tag: "span",
491
+ classes: ["token", e.type],
492
+ attributes: {},
493
+ language: t
494
+ },
495
+ i = e.alias;
496
+ i &&
497
+ (Array.isArray(i)
498
+ ? Array.prototype.push.apply(a.classes, i)
499
+ : a.classes.push(i)),
500
+ M.hooks.run("wrap", a);
501
+ var l = "";
502
+ for (var o in a.attributes)
503
+ l +=
504
+ " " +
505
+ o +
506
+ '="' +
507
+ (a.attributes[o] || "").replace(/"/g, "&quot;") +
508
+ '"';
509
+ return (
510
+ "<" +
511
+ a.tag +
512
+ ' class="' +
513
+ a.classes.join(" ") +
514
+ '"' +
515
+ l +
516
+ ">" +
517
+ a.content +
518
+ "</" +
519
+ a.tag +
520
+ ">"
521
+ );
522
+ }),
523
+ !u.document)
524
+ )
525
+ return (
526
+ u.addEventListener &&
527
+ (M.disableWorkerMessageHandler ||
528
+ u.addEventListener(
529
+ "message",
530
+ function (e) {
531
+ var n = JSON.parse(e.data),
532
+ t = n.language,
533
+ r = n.code,
534
+ a = n.immediateClose;
535
+ u.postMessage(
536
+ M.highlight(r, M.languages[t], t)
537
+ ),
538
+ a && u.close();
539
+ },
540
+ !1
541
+ )),
542
+ M
543
+ );
544
+ var t = M.util.currentScript();
545
+ function r() {
546
+ M.manual || M.highlightAll();
547
+ }
548
+ if (
549
+ (t &&
550
+ ((M.filename = t.src),
551
+ t.hasAttribute("data-manual") && (M.manual = !0)),
552
+ !M.manual)
553
+ ) {
554
+ var a = document.readyState;
555
+ "loading" === a || ("interactive" === a && t && t.defer)
556
+ ? document.addEventListener("DOMContentLoaded", r)
557
+ : window.requestAnimationFrame
558
+ ? window.requestAnimationFrame(r)
559
+ : window.setTimeout(r, 16);
560
+ }
561
+ return M;
562
+ })(_self);
563
+ "undefined" != typeof module && module.exports && (module.exports = Prism),
564
+ "undefined" != typeof global && (global.Prism = Prism);
565
+ (Prism.languages.markup = {
566
+ comment: /<!--[\s\S]*?-->/,
567
+ prolog: /<\?[\s\S]+?\?>/,
568
+ doctype: {
569
+ pattern:
570
+ /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
571
+ greedy: !0,
572
+ inside: {
573
+ "internal-subset": {
574
+ pattern: /(\[)[\s\S]+(?=\]>$)/,
575
+ lookbehind: !0,
576
+ greedy: !0,
577
+ inside: null
578
+ },
579
+ string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 },
580
+ punctuation: /^<!|>$|[[\]]/,
581
+ "doctype-tag": /^DOCTYPE/,
582
+ name: /[^\s<>'"]+/
583
+ }
584
+ },
585
+ cdata: /<!\[CDATA\[[\s\S]*?]]>/i,
586
+ tag: {
587
+ pattern:
588
+ /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
589
+ greedy: !0,
590
+ inside: {
591
+ tag: {
592
+ pattern: /^<\/?[^\s>\/]+/,
593
+ inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ }
594
+ },
595
+ "special-attr": [],
596
+ "attr-value": {
597
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
598
+ inside: {
599
+ punctuation: [
600
+ { pattern: /^=/, alias: "attr-equals" },
601
+ /"|'/
602
+ ]
603
+ }
604
+ },
605
+ punctuation: /\/?>/,
606
+ "attr-name": {
607
+ pattern: /[^\s>\/]+/,
608
+ inside: { namespace: /^[^\s>\/:]+:/ }
609
+ }
610
+ }
611
+ },
612
+ entity: [
613
+ { pattern: /&[\da-z]{1,8};/i, alias: "named-entity" },
614
+ /&#x?[\da-f]{1,8};/i
615
+ ]
616
+ }),
617
+ (Prism.languages.markup.tag.inside["attr-value"].inside.entity =
618
+ Prism.languages.markup.entity),
619
+ (Prism.languages.markup.doctype.inside["internal-subset"].inside =
620
+ Prism.languages.markup),
621
+ Prism.hooks.add("wrap", function (a) {
622
+ "entity" === a.type &&
623
+ (a.attributes.title = a.content.replace(/&amp;/, "&"));
624
+ }),
625
+ Object.defineProperty(Prism.languages.markup.tag, "addInlined", {
626
+ value: function (a, e) {
627
+ var s = {};
628
+ (s["language-" + e] = {
629
+ pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
630
+ lookbehind: !0,
631
+ inside: Prism.languages[e]
632
+ }),
633
+ (s.cdata = /^<!\[CDATA\[|\]\]>$/i);
634
+ var t = {
635
+ "included-cdata": {
636
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
637
+ inside: s
638
+ }
639
+ };
640
+ t["language-" + e] = {
641
+ pattern: /[\s\S]+/,
642
+ inside: Prism.languages[e]
643
+ };
644
+ var n = {};
645
+ (n[a] = {
646
+ pattern: RegExp(
647
+ "(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[^])*?(?=</__>)".replace(
648
+ /__/g,
649
+ function () {
650
+ return a;
651
+ }
652
+ ),
653
+ "i"
654
+ ),
655
+ lookbehind: !0,
656
+ greedy: !0,
657
+ inside: t
658
+ }),
659
+ Prism.languages.insertBefore("markup", "cdata", n);
660
+ }
661
+ }),
662
+ Object.defineProperty(Prism.languages.markup.tag, "addAttribute", {
663
+ value: function (a, e) {
664
+ Prism.languages.markup.tag.inside["special-attr"].push({
665
+ pattern: RegExp(
666
+ "(^|[\"'\\s])(?:" +
667
+ a +
668
+ ")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))",
669
+ "i"
670
+ ),
671
+ lookbehind: !0,
672
+ inside: {
673
+ "attr-name": /^[^\s=]+/,
674
+ "attr-value": {
675
+ pattern: /=[\s\S]+/,
676
+ inside: {
677
+ value: {
678
+ pattern:
679
+ /(=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
680
+ lookbehind: !0,
681
+ alias: [e, "language-" + e],
682
+ inside: Prism.languages[e]
683
+ },
684
+ punctuation: [
685
+ { pattern: /^=/, alias: "attr-equals" },
686
+ /"|'/
687
+ ]
688
+ }
689
+ }
690
+ }
691
+ });
692
+ }
693
+ }),
694
+ (Prism.languages.html = Prism.languages.markup),
695
+ (Prism.languages.mathml = Prism.languages.markup),
696
+ (Prism.languages.svg = Prism.languages.markup),
697
+ (Prism.languages.xml = Prism.languages.extend("markup", {})),
698
+ (Prism.languages.ssml = Prism.languages.xml),
699
+ (Prism.languages.atom = Prism.languages.xml),
700
+ (Prism.languages.rss = Prism.languages.xml);
701
+ !(function (s) {
702
+ var e = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
703
+ (s.languages.css = {
704
+ comment: /\/\*[\s\S]*?\*\//,
705
+ atrule: {
706
+ pattern: /@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,
707
+ inside: {
708
+ rule: /^@[\w-]+/,
709
+ "selector-function-argument": {
710
+ pattern:
711
+ /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
712
+ lookbehind: !0,
713
+ alias: "selector"
714
+ },
715
+ keyword: {
716
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
717
+ lookbehind: !0
718
+ }
719
+ }
720
+ },
721
+ url: {
722
+ pattern: RegExp(
723
+ "\\burl\\((?:" +
724
+ e.source +
725
+ "|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)",
726
+ "i"
727
+ ),
728
+ greedy: !0,
729
+ inside: {
730
+ function: /^url/i,
731
+ punctuation: /^\(|\)$/,
732
+ string: {
733
+ pattern: RegExp("^" + e.source + "$"),
734
+ alias: "url"
735
+ }
736
+ }
737
+ },
738
+ selector: RegExp(
739
+ "[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" +
740
+ e.source +
741
+ ")*(?=\\s*\\{)"
742
+ ),
743
+ string: { pattern: e, greedy: !0 },
744
+ property:
745
+ /(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
746
+ important: /!important\b/i,
747
+ function: /[-a-z0-9]+(?=\()/i,
748
+ punctuation: /[(){};:,]/
749
+ }),
750
+ (s.languages.css.atrule.inside.rest = s.languages.css);
751
+ var t = s.languages.markup;
752
+ t &&
753
+ (t.tag.addInlined("style", "css"),
754
+ t.tag.addAttribute("style", "css"));
755
+ })(Prism);
756
+ Prism.languages.clike = {
757
+ comment: [
758
+ {
759
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
760
+ lookbehind: !0,
761
+ greedy: !0
762
+ },
763
+ { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }
764
+ ],
765
+ string: {
766
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
767
+ greedy: !0
768
+ },
769
+ "class-name": {
770
+ pattern:
771
+ /(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,
772
+ lookbehind: !0,
773
+ inside: { punctuation: /[.\\]/ }
774
+ },
775
+ keyword:
776
+ /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,
777
+ boolean: /\b(?:true|false)\b/,
778
+ function: /\w+(?=\()/,
779
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
780
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
781
+ punctuation: /[{}[\];(),.:]/
782
+ };
783
+ (Prism.languages.javascript = Prism.languages.extend("clike", {
784
+ "class-name": [
785
+ Prism.languages.clike["class-name"],
786
+ {
787
+ pattern:
788
+ /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,
789
+ lookbehind: !0
790
+ }
791
+ ],
792
+ keyword: [
793
+ { pattern: /((?:^|})\s*)catch\b/, lookbehind: !0 },
794
+ {
795
+ pattern:
796
+ /(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
797
+ lookbehind: !0
798
+ }
799
+ ],
800
+ function:
801
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
802
+ number: /\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,
803
+ operator:
804
+ /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
805
+ })),
806
+ (Prism.languages.javascript["class-name"][0].pattern =
807
+ /(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/),
808
+ Prism.languages.insertBefore("javascript", "keyword", {
809
+ regex: {
810
+ pattern:
811
+ /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,
812
+ lookbehind: !0,
813
+ greedy: !0,
814
+ inside: {
815
+ "regex-source": {
816
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
817
+ lookbehind: !0,
818
+ alias: "language-regex",
819
+ inside: Prism.languages.regex
820
+ },
821
+ "regex-flags": /[a-z]+$/,
822
+ "regex-delimiter": /^\/|\/$/
823
+ }
824
+ },
825
+ "function-variable": {
826
+ pattern:
827
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
828
+ alias: "function"
829
+ },
830
+ parameter: [
831
+ {
832
+ pattern:
833
+ /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
834
+ lookbehind: !0,
835
+ inside: Prism.languages.javascript
836
+ },
837
+ {
838
+ pattern:
839
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
840
+ inside: Prism.languages.javascript
841
+ },
842
+ {
843
+ pattern:
844
+ /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
845
+ lookbehind: !0,
846
+ inside: Prism.languages.javascript
847
+ },
848
+ {
849
+ pattern:
850
+ /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
851
+ lookbehind: !0,
852
+ inside: Prism.languages.javascript
853
+ }
854
+ ],
855
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
856
+ }),
857
+ Prism.languages.insertBefore("javascript", "string", {
858
+ hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" },
859
+ "template-string": {
860
+ pattern:
861
+ /`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,
862
+ greedy: !0,
863
+ inside: {
864
+ "template-punctuation": {
865
+ pattern: /^`|`$/,
866
+ alias: "string"
867
+ },
868
+ interpolation: {
869
+ pattern:
870
+ /((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,
871
+ lookbehind: !0,
872
+ inside: {
873
+ "interpolation-punctuation": {
874
+ pattern: /^\${|}$/,
875
+ alias: "punctuation"
876
+ },
877
+ rest: Prism.languages.javascript
878
+ }
879
+ },
880
+ string: /[\s\S]+/
881
+ }
882
+ }
883
+ }),
884
+ Prism.languages.markup &&
885
+ (Prism.languages.markup.tag.addInlined("script", "javascript"),
886
+ Prism.languages.markup.tag.addAttribute(
887
+ "on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)",
888
+ "javascript"
889
+ )),
890
+ (Prism.languages.js = Prism.languages.javascript);
891
+ Prism.languages.sql = {
892
+ comment: {
893
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
894
+ lookbehind: !0
895
+ },
896
+ variable: [
897
+ { pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 },
898
+ /@[\w.$]+/
899
+ ],
900
+ string: {
901
+ pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,
902
+ greedy: !0,
903
+ lookbehind: !0
904
+ },
905
+ function:
906
+ /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,
907
+ keyword:
908
+ /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,
909
+ boolean: /\b(?:TRUE|FALSE|NULL)\b/i,
910
+ number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,
911
+ operator:
912
+ /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,
913
+ punctuation: /[;[\]()`,.]/
914
+ };
915
+ !(function (e) {
916
+ var t =
917
+ /\b(?:abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|get(?=\s*[{};])|(?:after|before)(?=\s+[a-z])|(?:inherited|with|without)\s+sharing)\b/i,
918
+ n =
919
+ "\\b(?:(?=[a-z_]\\w*\\s*[<\\[])|(?!<keyword>))[A-Z_]\\w*(?:\\s*\\.\\s*[A-Z_]\\w*)*\\b(?:\\s*(?:\\[\\s*\\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*".replace(
920
+ /<keyword>/g,
921
+ function () {
922
+ return t.source;
923
+ }
924
+ );
925
+ function i(e) {
926
+ return RegExp(
927
+ e.replace(/<CLASS-NAME>/g, function () {
928
+ return n;
929
+ }),
930
+ "i"
931
+ );
932
+ }
933
+ var a = { keyword: t, punctuation: /[()\[\]{};,:.<>]/ };
934
+ e.languages.apex = {
935
+ comment: e.languages.clike.comment,
936
+ string: e.languages.clike.string,
937
+ sql: {
938
+ pattern: /((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,
939
+ lookbehind: !0,
940
+ greedy: !0,
941
+ alias: "language-sql",
942
+ inside: e.languages.sql
943
+ },
944
+ annotation: { pattern: /@\w+\b/, alias: "punctuation" },
945
+ "class-name": [
946
+ {
947
+ pattern: i(
948
+ "(\\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\\s+\\w+\\s+on)\\s+)<CLASS-NAME>"
949
+ ),
950
+ lookbehind: !0,
951
+ inside: a
952
+ },
953
+ {
954
+ pattern: i("(\\(\\s*)<CLASS-NAME>(?=\\s*\\)\\s*[\\w(])"),
955
+ lookbehind: !0,
956
+ inside: a
957
+ },
958
+ {
959
+ pattern: i("<CLASS-NAME>(?=\\s*\\w+\\s*[;=,(){:])"),
960
+ inside: a
961
+ }
962
+ ],
963
+ trigger: {
964
+ pattern: /(\btrigger\s+)\w+\b/i,
965
+ lookbehind: !0,
966
+ alias: "class-name"
967
+ },
968
+ keyword: t,
969
+ function: /\b[a-z_]\w*(?=\s*\()/i,
970
+ boolean: /\b(?:false|true)\b/i,
971
+ number: /(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,
972
+ operator:
973
+ /[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,
974
+ punctuation: /[()\[\]{};,.]/
975
+ };
976
+ })(Prism);
977
+ !(function (s) {
978
+ function a(e, s) {
979
+ return e.replace(/<<(\d+)>>/g, function (e, n) {
980
+ return "(?:" + s[+n] + ")";
981
+ });
982
+ }
983
+ function t(e, n, s) {
984
+ return RegExp(a(e, n), s || "");
985
+ }
986
+ function e(e, n) {
987
+ for (var s = 0; s < n; s++)
988
+ e = e.replace(/<<self>>/g, function () {
989
+ return "(?:" + e + ")";
990
+ });
991
+ return e.replace(/<<self>>/g, "[^\\s\\S]");
992
+ }
993
+ var n =
994
+ "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",
995
+ i = "class enum interface struct",
996
+ r =
997
+ "add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",
998
+ o =
999
+ "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";
1000
+ function l(e) {
1001
+ return "\\b(?:" + e.trim().replace(/ /g, "|") + ")\\b";
1002
+ }
1003
+ var d = l(i),
1004
+ p = RegExp(l(n + " " + i + " " + r + " " + o)),
1005
+ c = l(i + " " + r + " " + o),
1006
+ u = l(n + " " + i + " " + o),
1007
+ g = e("<(?:[^<>;=+\\-*/%&|^]|<<self>>)*>", 2),
1008
+ b = e("\\((?:[^()]|<<self>>)*\\)", 2),
1009
+ h = "@?\\b[A-Za-z_]\\w*\\b",
1010
+ f = a("<<0>>(?:\\s*<<1>>)?", [h, g]),
1011
+ m = a("(?!<<0>>)<<1>>(?:\\s*\\.\\s*<<1>>)*", [c, f]),
1012
+ k = "\\[\\s*(?:,\\s*)*\\]",
1013
+ y = a("<<0>>(?:\\s*(?:\\?\\s*)?<<1>>)*(?:\\s*\\?)?", [m, k]),
1014
+ w = a("(?:<<0>>|<<1>>)(?:\\s*(?:\\?\\s*)?<<2>>)*(?:\\s*\\?)?", [
1015
+ a("\\(<<0>>+(?:,<<0>>+)+\\)", [
1016
+ a("[^,()<>[\\];=+\\-*/%&|^]|<<0>>|<<1>>|<<2>>", [g, b, k])
1017
+ ]),
1018
+ m,
1019
+ k
1020
+ ]),
1021
+ v = { keyword: p, punctuation: /[<>()?,.:[\]]/ },
1022
+ x = "'(?:[^\r\n'\\\\]|\\\\.|\\\\[Uux][\\da-fA-F]{1,8})'",
1023
+ $ = '"(?:\\\\.|[^\\\\"\r\n])*"';
1024
+ (s.languages.csharp = s.languages.extend("clike", {
1025
+ string: [
1026
+ {
1027
+ pattern: t("(^|[^$\\\\])<<0>>", [
1028
+ '@"(?:""|\\\\[^]|[^\\\\"])*"(?!")'
1029
+ ]),
1030
+ lookbehind: !0,
1031
+ greedy: !0
1032
+ },
1033
+ {
1034
+ pattern: t("(^|[^@$\\\\])<<0>>", [$]),
1035
+ lookbehind: !0,
1036
+ greedy: !0
1037
+ },
1038
+ { pattern: RegExp(x), greedy: !0, alias: "character" }
1039
+ ],
1040
+ "class-name": [
1041
+ {
1042
+ pattern: t("(\\busing\\s+static\\s+)<<0>>(?=\\s*;)", [m]),
1043
+ lookbehind: !0,
1044
+ inside: v
1045
+ },
1046
+ {
1047
+ pattern: t("(\\busing\\s+<<0>>\\s*=\\s*)<<1>>(?=\\s*;)", [
1048
+ h,
1049
+ w
1050
+ ]),
1051
+ lookbehind: !0,
1052
+ inside: v
1053
+ },
1054
+ {
1055
+ pattern: t("(\\busing\\s+)<<0>>(?=\\s*=)", [h]),
1056
+ lookbehind: !0
1057
+ },
1058
+ {
1059
+ pattern: t("(\\b<<0>>\\s+)<<1>>", [d, f]),
1060
+ lookbehind: !0,
1061
+ inside: v
1062
+ },
1063
+ {
1064
+ pattern: t("(\\bcatch\\s*\\(\\s*)<<0>>", [m]),
1065
+ lookbehind: !0,
1066
+ inside: v
1067
+ },
1068
+ { pattern: t("(\\bwhere\\s+)<<0>>", [h]), lookbehind: !0 },
1069
+ {
1070
+ pattern: t("(\\b(?:is(?:\\s+not)?|as)\\s+)<<0>>", [y]),
1071
+ lookbehind: !0,
1072
+ inside: v
1073
+ },
1074
+ {
1075
+ pattern: t(
1076
+ "\\b<<0>>(?=\\s+(?!<<1>>)<<2>>(?:\\s*[=,;:{)\\]]|\\s+(?:in|when)\\b))",
1077
+ [w, u, h]
1078
+ ),
1079
+ inside: v
1080
+ }
1081
+ ],
1082
+ keyword: p,
1083
+ number: /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,
1084
+ operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,
1085
+ punctuation: /\?\.?|::|[{}[\];(),.:]/
1086
+ })),
1087
+ s.languages.insertBefore("csharp", "number", {
1088
+ range: { pattern: /\.\./, alias: "operator" }
1089
+ }),
1090
+ s.languages.insertBefore("csharp", "punctuation", {
1091
+ "named-parameter": {
1092
+ pattern: t("([(,]\\s*)<<0>>(?=\\s*:)", [h]),
1093
+ lookbehind: !0,
1094
+ alias: "punctuation"
1095
+ }
1096
+ }),
1097
+ s.languages.insertBefore("csharp", "class-name", {
1098
+ namespace: {
1099
+ pattern: t(
1100
+ "(\\b(?:namespace|using)\\s+)<<0>>(?:\\s*\\.\\s*<<0>>)*(?=\\s*[;{])",
1101
+ [h]
1102
+ ),
1103
+ lookbehind: !0,
1104
+ inside: { punctuation: /\./ }
1105
+ },
1106
+ "type-expression": {
1107
+ pattern: t(
1108
+ "(\\b(?:default|typeof|sizeof)\\s*\\(\\s*(?!\\s))(?:[^()\\s]|\\s(?!\\s)|<<0>>)*(?=\\s*\\))",
1109
+ [b]
1110
+ ),
1111
+ lookbehind: !0,
1112
+ alias: "class-name",
1113
+ inside: v
1114
+ },
1115
+ "return-type": {
1116
+ pattern: t(
1117
+ "<<0>>(?=\\s+(?:<<1>>\\s*(?:=>|[({]|\\.\\s*this\\s*\\[)|this\\s*\\[))",
1118
+ [w, m]
1119
+ ),
1120
+ inside: v,
1121
+ alias: "class-name"
1122
+ },
1123
+ "constructor-invocation": {
1124
+ pattern: t("(\\bnew\\s+)<<0>>(?=\\s*[[({])", [w]),
1125
+ lookbehind: !0,
1126
+ inside: v,
1127
+ alias: "class-name"
1128
+ },
1129
+ "generic-method": {
1130
+ pattern: t("<<0>>\\s*<<1>>(?=\\s*\\()", [h, g]),
1131
+ inside: {
1132
+ function: t("^<<0>>", [h]),
1133
+ generic: {
1134
+ pattern: RegExp(g),
1135
+ alias: "class-name",
1136
+ inside: v
1137
+ }
1138
+ }
1139
+ },
1140
+ "type-list": {
1141
+ pattern: t(
1142
+ "\\b((?:<<0>>\\s+<<1>>|where\\s+<<2>>)\\s*:\\s*)(?:<<3>>|<<4>>)(?:\\s*,\\s*(?:<<3>>|<<4>>))*(?=\\s*(?:where|[{;]|=>|$))",
1143
+ [d, f, h, w, p.source]
1144
+ ),
1145
+ lookbehind: !0,
1146
+ inside: {
1147
+ keyword: p,
1148
+ "class-name": {
1149
+ pattern: RegExp(w),
1150
+ greedy: !0,
1151
+ inside: v
1152
+ },
1153
+ punctuation: /,/
1154
+ }
1155
+ },
1156
+ preprocessor: {
1157
+ pattern: /(^\s*)#.*/m,
1158
+ lookbehind: !0,
1159
+ alias: "property",
1160
+ inside: {
1161
+ directive: {
1162
+ pattern:
1163
+ /(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,
1164
+ lookbehind: !0,
1165
+ alias: "keyword"
1166
+ }
1167
+ }
1168
+ }
1169
+ });
1170
+ var _ = $ + "|" + x,
1171
+ B = a(
1172
+ "/(?![*/])|//[^\r\n]*[\r\n]|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>",
1173
+ [_]
1174
+ ),
1175
+ E = e(a("[^\"'/()]|<<0>>|\\(<<self>>*\\)", [B]), 2),
1176
+ R =
1177
+ "\\b(?:assembly|event|field|method|module|param|property|return|type)\\b",
1178
+ P = a("<<0>>(?:\\s*\\(<<1>>*\\))?", [m, E]);
1179
+ s.languages.insertBefore("csharp", "class-name", {
1180
+ attribute: {
1181
+ pattern: t(
1182
+ "((?:^|[^\\s\\w>)?])\\s*\\[\\s*)(?:<<0>>\\s*:\\s*)?<<1>>(?:\\s*,\\s*<<1>>)*(?=\\s*\\])",
1183
+ [R, P]
1184
+ ),
1185
+ lookbehind: !0,
1186
+ greedy: !0,
1187
+ inside: {
1188
+ target: {
1189
+ pattern: t("^<<0>>(?=\\s*:)", [R]),
1190
+ alias: "keyword"
1191
+ },
1192
+ "attribute-arguments": {
1193
+ pattern: t("\\(<<0>>*\\)", [E]),
1194
+ inside: s.languages.csharp
1195
+ },
1196
+ "class-name": {
1197
+ pattern: RegExp(m),
1198
+ inside: { punctuation: /\./ }
1199
+ },
1200
+ punctuation: /[:,]/
1201
+ }
1202
+ }
1203
+ });
1204
+ var z = ":[^}\r\n]+",
1205
+ S = e(a("[^\"'/()]|<<0>>|\\(<<self>>*\\)", [B]), 2),
1206
+ j = a("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [S, z]),
1207
+ A = e(
1208
+ a(
1209
+ "[^\"'/()]|/(?!\\*)|/\\*(?:[^*]|\\*(?!/))*\\*/|<<0>>|\\(<<self>>*\\)",
1210
+ [_]
1211
+ ),
1212
+ 2
1213
+ ),
1214
+ F = a("\\{(?!\\{)(?:(?![}:])<<0>>)*<<1>>?\\}", [A, z]);
1215
+ function U(e, n) {
1216
+ return {
1217
+ interpolation: {
1218
+ pattern: t("((?:^|[^{])(?:\\{\\{)*)<<0>>", [e]),
1219
+ lookbehind: !0,
1220
+ inside: {
1221
+ "format-string": {
1222
+ pattern: t(
1223
+ "(^\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\}$)",
1224
+ [n, z]
1225
+ ),
1226
+ lookbehind: !0,
1227
+ inside: { punctuation: /^:/ }
1228
+ },
1229
+ punctuation: /^\{|\}$/,
1230
+ expression: {
1231
+ pattern: /[\s\S]+/,
1232
+ alias: "language-csharp",
1233
+ inside: s.languages.csharp
1234
+ }
1235
+ }
1236
+ },
1237
+ string: /[\s\S]+/
1238
+ };
1239
+ }
1240
+ s.languages.insertBefore("csharp", "string", {
1241
+ "interpolation-string": [
1242
+ {
1243
+ pattern: t(
1244
+ '(^|[^\\\\])(?:\\$@|@\\$)"(?:""|\\\\[^]|\\{\\{|<<0>>|[^\\\\{"])*"',
1245
+ [j]
1246
+ ),
1247
+ lookbehind: !0,
1248
+ greedy: !0,
1249
+ inside: U(j, S)
1250
+ },
1251
+ {
1252
+ pattern: t(
1253
+ '(^|[^@\\\\])\\$"(?:\\\\.|\\{\\{|<<0>>|[^\\\\"{])*"',
1254
+ [F]
1255
+ ),
1256
+ lookbehind: !0,
1257
+ greedy: !0,
1258
+ inside: U(F, A)
1259
+ }
1260
+ ]
1261
+ });
1262
+ })(Prism),
1263
+ (Prism.languages.dotnet = Prism.languages.cs = Prism.languages.csharp);
1264
+ (Prism.languages.aspnet = Prism.languages.extend("markup", {
1265
+ "page-directive": {
1266
+ pattern: /<%\s*@.*%>/i,
1267
+ alias: "tag",
1268
+ inside: {
1269
+ "page-directive": {
1270
+ pattern:
1271
+ /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
1272
+ alias: "tag"
1273
+ },
1274
+ rest: Prism.languages.markup.tag.inside
1275
+ }
1276
+ },
1277
+ directive: {
1278
+ pattern: /<%.*%>/i,
1279
+ alias: "tag",
1280
+ inside: {
1281
+ directive: { pattern: /<%\s*?[$=%#:]{0,2}|%>/i, alias: "tag" },
1282
+ rest: Prism.languages.csharp
1283
+ }
1284
+ }
1285
+ })),
1286
+ (Prism.languages.aspnet.tag.pattern =
1287
+ /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i),
1288
+ Prism.languages.insertBefore(
1289
+ "inside",
1290
+ "punctuation",
1291
+ { directive: Prism.languages.aspnet.directive },
1292
+ Prism.languages.aspnet.tag.inside["attr-value"]
1293
+ ),
1294
+ Prism.languages.insertBefore("aspnet", "comment", {
1295
+ "asp-comment": {
1296
+ pattern: /<%--[\s\S]*?--%>/,
1297
+ alias: ["asp", "comment"]
1298
+ }
1299
+ }),
1300
+ Prism.languages.insertBefore(
1301
+ "aspnet",
1302
+ Prism.languages.javascript ? "script" : "tag",
1303
+ {
1304
+ "asp-script": {
1305
+ pattern:
1306
+ /(<script(?=.*runat=['"]?server['"]?)[^>]*>)[\s\S]*?(?=<\/script>)/i,
1307
+ lookbehind: !0,
1308
+ alias: ["asp", "script"],
1309
+ inside: Prism.languages.csharp || {}
1310
+ }
1311
+ }
1312
+ );
1313
+ Prism.languages.basic = {
1314
+ comment: { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } },
1315
+ string: {
1316
+ pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,
1317
+ greedy: !0
1318
+ },
1319
+ number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,
1320
+ keyword:
1321
+ /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,
1322
+ function:
1323
+ /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,
1324
+ operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,
1325
+ punctuation: /[,;:()]/
1326
+ };
1327
+ (Prism.languages.c = Prism.languages.extend("clike", {
1328
+ comment: {
1329
+ pattern:
1330
+ /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
1331
+ greedy: !0
1332
+ },
1333
+ "class-name": {
1334
+ pattern:
1335
+ /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
1336
+ lookbehind: !0
1337
+ },
1338
+ keyword:
1339
+ /\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,
1340
+ function: /[a-z_]\w*(?=\s*\()/i,
1341
+ number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
1342
+ operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/
1343
+ })),
1344
+ Prism.languages.insertBefore("c", "string", {
1345
+ macro: {
1346
+ pattern:
1347
+ /(^\s*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
1348
+ lookbehind: !0,
1349
+ greedy: !0,
1350
+ alias: "property",
1351
+ inside: {
1352
+ string: [
1353
+ { pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: !0 },
1354
+ Prism.languages.c.string
1355
+ ],
1356
+ comment: Prism.languages.c.comment,
1357
+ "macro-name": [
1358
+ {
1359
+ pattern: /(^#\s*define\s+)\w+\b(?!\()/i,
1360
+ lookbehind: !0
1361
+ },
1362
+ {
1363
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
1364
+ lookbehind: !0,
1365
+ alias: "function"
1366
+ }
1367
+ ],
1368
+ directive: {
1369
+ pattern: /^(#\s*)[a-z]+/,
1370
+ lookbehind: !0,
1371
+ alias: "keyword"
1372
+ },
1373
+ "directive-hash": /^#/,
1374
+ punctuation: /##|\\(?=[\r\n])/,
1375
+ expression: {
1376
+ pattern: /\S[\s\S]*/,
1377
+ inside: Prism.languages.c
1378
+ }
1379
+ }
1380
+ },
1381
+ constant:
1382
+ /\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/
1383
+ }),
1384
+ delete Prism.languages.c.boolean;
1385
+ !(function (e) {
1386
+ var t =
1387
+ /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,
1388
+ n = "\\b(?!<keyword>)\\w+(?:\\s*\\.\\s*\\w+)*\\b".replace(
1389
+ /<keyword>/g,
1390
+ function () {
1391
+ return t.source;
1392
+ }
1393
+ );
1394
+ (e.languages.cpp = e.languages.extend("c", {
1395
+ "class-name": [
1396
+ {
1397
+ pattern: RegExp(
1398
+ "(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+".replace(
1399
+ /<keyword>/g,
1400
+ function () {
1401
+ return t.source;
1402
+ }
1403
+ )
1404
+ ),
1405
+ lookbehind: !0
1406
+ },
1407
+ /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,
1408
+ /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,
1409
+ /\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/
1410
+ ],
1411
+ keyword: t,
1412
+ number: {
1413
+ pattern:
1414
+ /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
1415
+ greedy: !0
1416
+ },
1417
+ operator:
1418
+ />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
1419
+ boolean: /\b(?:true|false)\b/
1420
+ })),
1421
+ e.languages.insertBefore("cpp", "string", {
1422
+ module: {
1423
+ pattern: RegExp(
1424
+ '(\\b(?:module|import)\\s+)(?:"(?:\\\\(?:\r\n|[^])|[^"\\\\\r\n])*"|<[^<>\r\n]*>|' +
1425
+ "<mod-name>(?:\\s*:\\s*<mod-name>)?|:\\s*<mod-name>".replace(
1426
+ /<mod-name>/g,
1427
+ function () {
1428
+ return n;
1429
+ }
1430
+ ) +
1431
+ ")"
1432
+ ),
1433
+ lookbehind: !0,
1434
+ greedy: !0,
1435
+ inside: {
1436
+ string: /^[<"][\s\S]+/,
1437
+ operator: /:/,
1438
+ punctuation: /\./
1439
+ }
1440
+ },
1441
+ "raw-string": {
1442
+ pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
1443
+ alias: "string",
1444
+ greedy: !0
1445
+ }
1446
+ }),
1447
+ e.languages.insertBefore("cpp", "keyword", {
1448
+ "generic-function": {
1449
+ pattern:
1450
+ /\b[a-z_]\w*\s*<(?:[^<>]|<(?:[^<>])*>)*>(?=\s*\()/i,
1451
+ inside: {
1452
+ function: /^\w+/,
1453
+ generic: {
1454
+ pattern: /<[\s\S]+/,
1455
+ alias: "class-name",
1456
+ inside: e.languages.cpp
1457
+ }
1458
+ }
1459
+ }
1460
+ }),
1461
+ e.languages.insertBefore("cpp", "operator", {
1462
+ "double-colon": { pattern: /::/, alias: "punctuation" }
1463
+ }),
1464
+ e.languages.insertBefore("cpp", "class-name", {
1465
+ "base-clause": {
1466
+ pattern:
1467
+ /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
1468
+ lookbehind: !0,
1469
+ greedy: !0,
1470
+ inside: e.languages.extend("cpp", {})
1471
+ }
1472
+ }),
1473
+ e.languages.insertBefore(
1474
+ "inside",
1475
+ "double-colon",
1476
+ { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i },
1477
+ e.languages.cpp["base-clause"]
1478
+ );
1479
+ })(Prism);
1480
+ !(function (e) {
1481
+ var a,
1482
+ n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
1483
+ (e.languages.css.selector = {
1484
+ pattern: e.languages.css.selector,
1485
+ inside: (a = {
1486
+ "pseudo-element":
1487
+ /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,
1488
+ "pseudo-class": /:[-\w]+/,
1489
+ class: /\.[-\w]+/,
1490
+ id: /#[-\w]+/,
1491
+ attribute: {
1492
+ pattern: RegExp("\\[(?:[^[\\]\"']|" + n.source + ")*\\]"),
1493
+ greedy: !0,
1494
+ inside: {
1495
+ punctuation: /^\[|\]$/,
1496
+ "case-sensitivity": {
1497
+ pattern: /(\s)[si]$/i,
1498
+ lookbehind: !0,
1499
+ alias: "keyword"
1500
+ },
1501
+ namespace: {
1502
+ pattern:
1503
+ /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,
1504
+ lookbehind: !0,
1505
+ inside: { punctuation: /\|$/ }
1506
+ },
1507
+ "attr-name": {
1508
+ pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,
1509
+ lookbehind: !0
1510
+ },
1511
+ "attr-value": [
1512
+ n,
1513
+ {
1514
+ pattern:
1515
+ /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,
1516
+ lookbehind: !0
1517
+ }
1518
+ ],
1519
+ operator: /[|~*^$]?=/
1520
+ }
1521
+ },
1522
+ "n-th": [
1523
+ {
1524
+ pattern:
1525
+ /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,
1526
+ lookbehind: !0,
1527
+ inside: { number: /[\dn]+/, operator: /[+-]/ }
1528
+ },
1529
+ { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }
1530
+ ],
1531
+ combinator: />|\+|~|\|\|/,
1532
+ punctuation: /[(),]/
1533
+ })
1534
+ }),
1535
+ (e.languages.css.atrule.inside[
1536
+ "selector-function-argument"
1537
+ ].inside = a),
1538
+ e.languages.insertBefore("css", "property", {
1539
+ variable: {
1540
+ pattern:
1541
+ /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,
1542
+ lookbehind: !0
1543
+ }
1544
+ });
1545
+ var r = { pattern: /(\b\d+)(?:%|[a-z]+\b)/, lookbehind: !0 },
1546
+ i = {
1547
+ pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
1548
+ lookbehind: !0
1549
+ };
1550
+ e.languages.insertBefore("css", "function", {
1551
+ operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 },
1552
+ hexcode: { pattern: /\B#(?:[\da-f]{1,2}){3,4}\b/i, alias: "color" },
1553
+ color: [
1554
+ /\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,
1555
+ {
1556
+ pattern:
1557
+ /\b(?:rgb|hsl)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:rgb|hsl)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
1558
+ inside: {
1559
+ unit: r,
1560
+ number: i,
1561
+ function: /[\w-]+(?=\()/,
1562
+ punctuation: /[(),]/
1563
+ }
1564
+ }
1565
+ ],
1566
+ entity: /\\[\da-f]{1,8}/i,
1567
+ unit: r,
1568
+ number: i
1569
+ });
1570
+ })(Prism);
1571
+ !(function (e) {
1572
+ var t =
1573
+ /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,
1574
+ n = "(^|[^\\w.])(?:[a-z]\\w*\\s*\\.\\s*)*(?:[A-Z]\\w*\\s*\\.\\s*)*",
1575
+ a = {
1576
+ pattern: RegExp(n + "[A-Z](?:[\\d_A-Z]*[a-z]\\w*)?\\b"),
1577
+ lookbehind: !0,
1578
+ inside: {
1579
+ namespace: {
1580
+ pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,
1581
+ inside: { punctuation: /\./ }
1582
+ },
1583
+ punctuation: /\./
1584
+ }
1585
+ };
1586
+ (e.languages.java = e.languages.extend("clike", {
1587
+ "class-name": [
1588
+ a,
1589
+ {
1590
+ pattern: RegExp(n + "[A-Z]\\w*(?=\\s+\\w+\\s*[;,=())])"),
1591
+ lookbehind: !0,
1592
+ inside: a.inside
1593
+ }
1594
+ ],
1595
+ keyword: t,
1596
+ function: [
1597
+ e.languages.clike.function,
1598
+ { pattern: /(\:\:\s*)[a-z_]\w*/, lookbehind: !0 }
1599
+ ],
1600
+ number: /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,
1601
+ operator: {
1602
+ pattern:
1603
+ /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,
1604
+ lookbehind: !0
1605
+ }
1606
+ })),
1607
+ e.languages.insertBefore("java", "string", {
1608
+ "triple-quoted-string": {
1609
+ pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,
1610
+ greedy: !0,
1611
+ alias: "string"
1612
+ }
1613
+ }),
1614
+ e.languages.insertBefore("java", "class-name", {
1615
+ annotation: {
1616
+ pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/,
1617
+ lookbehind: !0,
1618
+ alias: "punctuation"
1619
+ },
1620
+ generics: {
1621
+ pattern:
1622
+ /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
1623
+ inside: {
1624
+ "class-name": a,
1625
+ keyword: t,
1626
+ punctuation: /[<>(),.:]/,
1627
+ operator: /[?&|]/
1628
+ }
1629
+ },
1630
+ namespace: {
1631
+ pattern: RegExp(
1632
+ "(\\b(?:exports|import(?:\\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\\s+)(?!<keyword>)[a-z]\\w*(?:\\.[a-z]\\w*)*\\.?".replace(
1633
+ /<keyword>/g,
1634
+ function () {
1635
+ return t.source;
1636
+ }
1637
+ )
1638
+ ),
1639
+ lookbehind: !0,
1640
+ inside: { punctuation: /\./ }
1641
+ }
1642
+ });
1643
+ })(Prism);
1644
+ !(function (h) {
1645
+ function v(e, n) {
1646
+ return "___" + e.toUpperCase() + n + "___";
1647
+ }
1648
+ Object.defineProperties((h.languages["markup-templating"] = {}), {
1649
+ buildPlaceholders: {
1650
+ value: function (a, r, e, o) {
1651
+ if (a.language === r) {
1652
+ var c = (a.tokenStack = []);
1653
+ (a.code = a.code.replace(e, function (e) {
1654
+ if ("function" == typeof o && !o(e)) return e;
1655
+ for (
1656
+ var n, t = c.length;
1657
+ -1 !== a.code.indexOf((n = v(r, t)));
1658
+
1659
+ )
1660
+ ++t;
1661
+ return (c[t] = e), n;
1662
+ })),
1663
+ (a.grammar = h.languages.markup);
1664
+ }
1665
+ }
1666
+ },
1667
+ tokenizePlaceholders: {
1668
+ value: function (p, k) {
1669
+ if (p.language === k && p.tokenStack) {
1670
+ p.grammar = h.languages[k];
1671
+ var m = 0,
1672
+ d = Object.keys(p.tokenStack);
1673
+ !(function e(n) {
1674
+ for (
1675
+ var t = 0;
1676
+ t < n.length && !(m >= d.length);
1677
+ t++
1678
+ ) {
1679
+ var a = n[t];
1680
+ if (
1681
+ "string" == typeof a ||
1682
+ (a.content && "string" == typeof a.content)
1683
+ ) {
1684
+ var r = d[m],
1685
+ o = p.tokenStack[r],
1686
+ c =
1687
+ "string" == typeof a
1688
+ ? a
1689
+ : a.content,
1690
+ i = v(k, r),
1691
+ u = c.indexOf(i);
1692
+ if (-1 < u) {
1693
+ ++m;
1694
+ var g = c.substring(0, u),
1695
+ l = new h.Token(
1696
+ k,
1697
+ h.tokenize(o, p.grammar),
1698
+ "language-" + k,
1699
+ o
1700
+ ),
1701
+ s = c.substring(u + i.length),
1702
+ f = [];
1703
+ g && f.push.apply(f, e([g])),
1704
+ f.push(l),
1705
+ s && f.push.apply(f, e([s])),
1706
+ "string" == typeof a
1707
+ ? n.splice.apply(
1708
+ n,
1709
+ [t, 1].concat(f)
1710
+ )
1711
+ : (a.content = f);
1712
+ }
1713
+ } else a.content && e(a.content);
1714
+ }
1715
+ return n;
1716
+ })(p.tokens);
1717
+ }
1718
+ }
1719
+ }
1720
+ });
1721
+ })(Prism);
1722
+ !(function (a) {
1723
+ var e = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,
1724
+ t = [
1725
+ { pattern: /\b(?:false|true)\b/i, alias: "boolean" },
1726
+ {
1727
+ pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,
1728
+ greedy: !0,
1729
+ lookbehind: !0
1730
+ },
1731
+ {
1732
+ pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,
1733
+ greedy: !0,
1734
+ lookbehind: !0
1735
+ },
1736
+ /\b(?:null)\b/i,
1737
+ /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
1738
+ ],
1739
+ i =
1740
+ /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
1741
+ n =
1742
+ /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,
1743
+ s = /[{}\[\](),:;]/;
1744
+ a.languages.php = {
1745
+ delimiter: {
1746
+ pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
1747
+ alias: "important"
1748
+ },
1749
+ comment: e,
1750
+ variable: /\$+(?:\w+\b|(?={))/i,
1751
+ package: {
1752
+ pattern:
1753
+ /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1754
+ lookbehind: !0,
1755
+ inside: { punctuation: /\\/ }
1756
+ },
1757
+ "class-name-definition": {
1758
+ pattern:
1759
+ /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,
1760
+ lookbehind: !0,
1761
+ alias: "class-name"
1762
+ },
1763
+ "function-definition": {
1764
+ pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,
1765
+ lookbehind: !0,
1766
+ alias: "function"
1767
+ },
1768
+ keyword: [
1769
+ {
1770
+ pattern:
1771
+ /(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,
1772
+ alias: "type-casting",
1773
+ greedy: !0,
1774
+ lookbehind: !0
1775
+ },
1776
+ {
1777
+ pattern:
1778
+ /([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,
1779
+ alias: "type-hint",
1780
+ greedy: !0,
1781
+ lookbehind: !0
1782
+ },
1783
+ {
1784
+ pattern:
1785
+ /([(,?]\s*[a-z0-9_|]\|\s*)(?:null|false)\b(?=\s*\$)/i,
1786
+ alias: "type-hint",
1787
+ greedy: !0,
1788
+ lookbehind: !0
1789
+ },
1790
+ {
1791
+ pattern:
1792
+ /(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,
1793
+ alias: "return-type",
1794
+ greedy: !0,
1795
+ lookbehind: !0
1796
+ },
1797
+ {
1798
+ pattern:
1799
+ /(\)\s*:\s*(?:\?\s*)?[a-z0-9_|]\|\s*)(?:null|false)\b/i,
1800
+ alias: "return-type",
1801
+ greedy: !0,
1802
+ lookbehind: !0
1803
+ },
1804
+ {
1805
+ pattern:
1806
+ /\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,
1807
+ alias: "type-declaration",
1808
+ greedy: !0
1809
+ },
1810
+ {
1811
+ pattern: /(\|\s*)(?:null|false)\b/i,
1812
+ alias: "type-declaration",
1813
+ greedy: !0,
1814
+ lookbehind: !0
1815
+ },
1816
+ {
1817
+ pattern: /\b(?:parent|self|static)(?=\s*::)/i,
1818
+ alias: "static-context",
1819
+ greedy: !0
1820
+ },
1821
+ { pattern: /(\byield\s+)from\b/i, lookbehind: !0 },
1822
+ /\bclass\b/i,
1823
+ {
1824
+ pattern:
1825
+ /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,
1826
+ lookbehind: !0
1827
+ }
1828
+ ],
1829
+ "argument-name": {
1830
+ pattern: /([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,
1831
+ lookbehind: !0
1832
+ },
1833
+ "class-name": [
1834
+ {
1835
+ pattern:
1836
+ /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,
1837
+ greedy: !0,
1838
+ lookbehind: !0
1839
+ },
1840
+ {
1841
+ pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i,
1842
+ greedy: !0,
1843
+ lookbehind: !0
1844
+ },
1845
+ { pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i, greedy: !0 },
1846
+ {
1847
+ pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,
1848
+ alias: "class-name-fully-qualified",
1849
+ greedy: !0,
1850
+ lookbehind: !0,
1851
+ inside: { punctuation: /\\/ }
1852
+ },
1853
+ {
1854
+ pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,
1855
+ alias: "class-name-fully-qualified",
1856
+ greedy: !0,
1857
+ inside: { punctuation: /\\/ }
1858
+ },
1859
+ {
1860
+ pattern:
1861
+ /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1862
+ alias: "class-name-fully-qualified",
1863
+ greedy: !0,
1864
+ lookbehind: !0,
1865
+ inside: { punctuation: /\\/ }
1866
+ },
1867
+ {
1868
+ pattern: /\b[a-z_]\w*(?=\s*\$)/i,
1869
+ alias: "type-declaration",
1870
+ greedy: !0
1871
+ },
1872
+ {
1873
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
1874
+ alias: ["class-name-fully-qualified", "type-declaration"],
1875
+ greedy: !0,
1876
+ inside: { punctuation: /\\/ }
1877
+ },
1878
+ {
1879
+ pattern: /\b[a-z_]\w*(?=\s*::)/i,
1880
+ alias: "static-context",
1881
+ greedy: !0
1882
+ },
1883
+ {
1884
+ pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,
1885
+ alias: ["class-name-fully-qualified", "static-context"],
1886
+ greedy: !0,
1887
+ inside: { punctuation: /\\/ }
1888
+ },
1889
+ {
1890
+ pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,
1891
+ alias: "type-hint",
1892
+ greedy: !0,
1893
+ lookbehind: !0
1894
+ },
1895
+ {
1896
+ pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,
1897
+ alias: ["class-name-fully-qualified", "type-hint"],
1898
+ greedy: !0,
1899
+ lookbehind: !0,
1900
+ inside: { punctuation: /\\/ }
1901
+ },
1902
+ {
1903
+ pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,
1904
+ alias: "return-type",
1905
+ greedy: !0,
1906
+ lookbehind: !0
1907
+ },
1908
+ {
1909
+ pattern:
1910
+ /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,
1911
+ alias: ["class-name-fully-qualified", "return-type"],
1912
+ greedy: !0,
1913
+ lookbehind: !0,
1914
+ inside: { punctuation: /\\/ }
1915
+ }
1916
+ ],
1917
+ constant: t,
1918
+ function: /\b\w+(?=\s*\()/,
1919
+ property: { pattern: /(->\s*)\w+/, lookbehind: !0 },
1920
+ number: i,
1921
+ operator: n,
1922
+ punctuation: s
1923
+ };
1924
+ var l = {
1925
+ pattern:
1926
+ /{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)*)/,
1927
+ lookbehind: !0,
1928
+ inside: a.languages.php
1929
+ },
1930
+ r = [
1931
+ {
1932
+ pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,
1933
+ alias: "nowdoc-string",
1934
+ greedy: !0,
1935
+ inside: {
1936
+ delimiter: {
1937
+ pattern: /^<<<'[^']+'|[a-z_]\w*;$/i,
1938
+ alias: "symbol",
1939
+ inside: { punctuation: /^<<<'?|[';]$/ }
1940
+ }
1941
+ }
1942
+ },
1943
+ {
1944
+ pattern:
1945
+ /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,
1946
+ alias: "heredoc-string",
1947
+ greedy: !0,
1948
+ inside: {
1949
+ delimiter: {
1950
+ pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,
1951
+ alias: "symbol",
1952
+ inside: { punctuation: /^<<<"?|[";]$/ }
1953
+ },
1954
+ interpolation: l
1955
+ }
1956
+ },
1957
+ {
1958
+ pattern: /`(?:\\[\s\S]|[^\\`])*`/,
1959
+ alias: "backtick-quoted-string",
1960
+ greedy: !0
1961
+ },
1962
+ {
1963
+ pattern: /'(?:\\[\s\S]|[^\\'])*'/,
1964
+ alias: "single-quoted-string",
1965
+ greedy: !0
1966
+ },
1967
+ {
1968
+ pattern: /"(?:\\[\s\S]|[^\\"])*"/,
1969
+ alias: "double-quoted-string",
1970
+ greedy: !0,
1971
+ inside: { interpolation: l }
1972
+ }
1973
+ ];
1974
+ a.languages.insertBefore("php", "variable", {
1975
+ string: r,
1976
+ attribute: {
1977
+ pattern:
1978
+ /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,
1979
+ greedy: !0,
1980
+ inside: {
1981
+ "attribute-content": {
1982
+ pattern: /^(#\[)[\s\S]+(?=]$)/,
1983
+ lookbehind: !0,
1984
+ inside: {
1985
+ comment: e,
1986
+ string: r,
1987
+ "attribute-class-name": [
1988
+ {
1989
+ pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i,
1990
+ alias: "class-name",
1991
+ greedy: !0,
1992
+ lookbehind: !0
1993
+ },
1994
+ {
1995
+ pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i,
1996
+ alias: [
1997
+ "class-name",
1998
+ "class-name-fully-qualified"
1999
+ ],
2000
+ greedy: !0,
2001
+ lookbehind: !0,
2002
+ inside: { punctuation: /\\/ }
2003
+ }
2004
+ ],
2005
+ constant: t,
2006
+ number: i,
2007
+ operator: n,
2008
+ punctuation: s
2009
+ }
2010
+ },
2011
+ delimiter: { pattern: /^#\[|]$/, alias: "punctuation" }
2012
+ }
2013
+ }
2014
+ }),
2015
+ a.hooks.add("before-tokenize", function (e) {
2016
+ if (/<\?/.test(e.code)) {
2017
+ a.languages["markup-templating"].buildPlaceholders(
2018
+ e,
2019
+ "php",
2020
+ /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi
2021
+ );
2022
+ }
2023
+ }),
2024
+ a.hooks.add("after-tokenize", function (e) {
2025
+ a.languages["markup-templating"].tokenizePlaceholders(e, "php");
2026
+ });
2027
+ })(Prism);
2028
+ !(function (p) {
2029
+ var a = (p.languages.javadoclike = {
2030
+ parameter: {
2031
+ pattern:
2032
+ /(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m,
2033
+ lookbehind: !0
2034
+ },
2035
+ keyword: {
2036
+ pattern: /(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,
2037
+ lookbehind: !0
2038
+ },
2039
+ punctuation: /[{}]/
2040
+ });
2041
+ Object.defineProperty(a, "addSupport", {
2042
+ value: function (a, e) {
2043
+ "string" == typeof a && (a = [a]),
2044
+ a.forEach(function (a) {
2045
+ !(function (a, e) {
2046
+ var n = "doc-comment",
2047
+ t = p.languages[a];
2048
+ if (t) {
2049
+ var r = t[n];
2050
+ if (!r) {
2051
+ var o = {
2052
+ "doc-comment": {
2053
+ pattern:
2054
+ /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
2055
+ lookbehind: !0,
2056
+ alias: "comment"
2057
+ }
2058
+ };
2059
+ r = (t = p.languages.insertBefore(
2060
+ a,
2061
+ "comment",
2062
+ o
2063
+ ))[n];
2064
+ }
2065
+ if (
2066
+ (r instanceof RegExp &&
2067
+ (r = t[n] = { pattern: r }),
2068
+ Array.isArray(r))
2069
+ )
2070
+ for (var i = 0, s = r.length; i < s; i++)
2071
+ r[i] instanceof RegExp &&
2072
+ (r[i] = { pattern: r[i] }),
2073
+ e(r[i]);
2074
+ else e(r);
2075
+ }
2076
+ })(a, function (a) {
2077
+ a.inside || (a.inside = {}), (a.inside.rest = e);
2078
+ });
2079
+ });
2080
+ }
2081
+ }),
2082
+ a.addSupport(["java", "javascript", "php"], a);
2083
+ })(Prism);
2084
+ !(function (a) {
2085
+ var e = /(^(?:\s*(?:\*\s*)*))[^*\s].*$/m,
2086
+ n =
2087
+ "(?:[a-zA-Z]\\w+\\s*\\.\\s*)*[A-Z]\\w*(?:\\s*<mem>)?|<mem>".replace(
2088
+ /<mem>/g,
2089
+ function () {
2090
+ return "#\\s*\\w+(?:\\s*\\([^()]*\\))?";
2091
+ }
2092
+ );
2093
+ (a.languages.javadoc = a.languages.extend("javadoclike", {})),
2094
+ a.languages.insertBefore("javadoc", "keyword", {
2095
+ reference: {
2096
+ pattern: RegExp(
2097
+ "(@(?:exception|throws|see|link|linkplain|value)\\s+(?:\\*\\s*)?)(?:" +
2098
+ n +
2099
+ ")"
2100
+ ),
2101
+ lookbehind: !0,
2102
+ inside: {
2103
+ function: {
2104
+ pattern: /(#\s*)\w+(?=\s*\()/,
2105
+ lookbehind: !0
2106
+ },
2107
+ field: { pattern: /(#\s*)\w+/, lookbehind: !0 },
2108
+ namespace: {
2109
+ pattern: /\b(?:[a-z]\w*\s*\.\s*)+/,
2110
+ inside: { punctuation: /\./ }
2111
+ },
2112
+ "class-name": /\b[A-Z]\w*/,
2113
+ keyword: a.languages.java.keyword,
2114
+ punctuation: /[#()[\],.]/
2115
+ }
2116
+ },
2117
+ "class-name": {
2118
+ pattern: /(@param\s+)<[A-Z]\w*>/,
2119
+ lookbehind: !0,
2120
+ inside: { punctuation: /[.<>]/ }
2121
+ },
2122
+ "code-section": [
2123
+ {
2124
+ pattern:
2125
+ /(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,
2126
+ lookbehind: !0,
2127
+ inside: {
2128
+ code: {
2129
+ pattern: e,
2130
+ lookbehind: !0,
2131
+ inside: a.languages.java,
2132
+ alias: "language-java"
2133
+ }
2134
+ }
2135
+ },
2136
+ {
2137
+ pattern:
2138
+ /(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,
2139
+ lookbehind: !0,
2140
+ inside: {
2141
+ line: {
2142
+ pattern: e,
2143
+ lookbehind: !0,
2144
+ inside: {
2145
+ tag: a.languages.markup.tag,
2146
+ entity: a.languages.markup.entity,
2147
+ code: {
2148
+ pattern: /.+/,
2149
+ inside: a.languages.java,
2150
+ alias: "language-java"
2151
+ }
2152
+ }
2153
+ }
2154
+ }
2155
+ }
2156
+ ],
2157
+ tag: a.languages.markup.tag,
2158
+ entity: a.languages.markup.entity
2159
+ }),
2160
+ a.languages.javadoclike.addSupport("java", a.languages.javadoc);
2161
+ })(Prism);
2162
+ !(function (e) {
2163
+ (e.languages.typescript = e.languages.extend("javascript", {
2164
+ "class-name": {
2165
+ pattern:
2166
+ /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
2167
+ lookbehind: !0,
2168
+ greedy: !0,
2169
+ inside: null
2170
+ },
2171
+ keyword:
2172
+ /\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,
2173
+ builtin:
2174
+ /\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/
2175
+ })),
2176
+ delete e.languages.typescript.parameter;
2177
+ var t = e.languages.extend("typescript", {});
2178
+ delete t["class-name"],
2179
+ (e.languages.typescript["class-name"].inside = t),
2180
+ e.languages.insertBefore("typescript", "function", {
2181
+ decorator: {
2182
+ pattern: /@[$\w\xA0-\uFFFF]+/,
2183
+ inside: {
2184
+ at: { pattern: /^@/, alias: "operator" },
2185
+ function: /^[\s\S]+/
2186
+ }
2187
+ },
2188
+ "generic-function": {
2189
+ pattern:
2190
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
2191
+ greedy: !0,
2192
+ inside: {
2193
+ function:
2194
+ /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
2195
+ generic: {
2196
+ pattern: /<[\s\S]+/,
2197
+ alias: "class-name",
2198
+ inside: t
2199
+ }
2200
+ }
2201
+ }
2202
+ }),
2203
+ (e.languages.ts = e.languages.typescript);
2204
+ })(Prism);
2205
+ !(function (e) {
2206
+ var a = e.languages.javascript,
2207
+ n = "{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})+}",
2208
+ s = "(@(?:param|arg|argument|property)\\s+(?:" + n + "\\s+)?)";
2209
+ (e.languages.jsdoc = e.languages.extend("javadoclike", {
2210
+ parameter: {
2211
+ pattern: RegExp(
2212
+ s + "(?:(?!\\s)[$\\w\\xA0-\\uFFFF.])+(?=\\s|$)"
2213
+ ),
2214
+ lookbehind: !0,
2215
+ inside: { punctuation: /\./ }
2216
+ }
2217
+ })),
2218
+ e.languages.insertBefore("jsdoc", "keyword", {
2219
+ "optional-parameter": {
2220
+ pattern: RegExp(
2221
+ s +
2222
+ "\\[(?:(?!\\s)[$\\w\\xA0-\\uFFFF.])+(?:=[^[\\]]+)?\\](?=\\s|$)"
2223
+ ),
2224
+ lookbehind: !0,
2225
+ inside: {
2226
+ parameter: {
2227
+ pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/,
2228
+ lookbehind: !0,
2229
+ inside: { punctuation: /\./ }
2230
+ },
2231
+ code: {
2232
+ pattern: /(=)[\s\S]*(?=\]$)/,
2233
+ lookbehind: !0,
2234
+ inside: a,
2235
+ alias: "language-javascript"
2236
+ },
2237
+ punctuation: /[=[\]]/
2238
+ }
2239
+ },
2240
+ "class-name": [
2241
+ {
2242
+ pattern: RegExp(
2243
+ "(@(?:augments|extends|class|interface|memberof!?|template|this|typedef)\\s+(?:<TYPE>\\s+)?)[A-Z]\\w*(?:\\.[A-Z]\\w*)*".replace(
2244
+ /<TYPE>/g,
2245
+ function () {
2246
+ return n;
2247
+ }
2248
+ )
2249
+ ),
2250
+ lookbehind: !0,
2251
+ inside: { punctuation: /\./ }
2252
+ },
2253
+ {
2254
+ pattern: RegExp("(@[a-z]+\\s+)" + n),
2255
+ lookbehind: !0,
2256
+ inside: {
2257
+ string: a.string,
2258
+ number: a.number,
2259
+ boolean: a.boolean,
2260
+ keyword: e.languages.typescript.keyword,
2261
+ operator: /=>|\.\.\.|[&|?:*]/,
2262
+ punctuation: /[.,;=<>{}()[\]]/
2263
+ }
2264
+ }
2265
+ ],
2266
+ example: {
2267
+ pattern:
2268
+ /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,
2269
+ lookbehind: !0,
2270
+ inside: {
2271
+ code: {
2272
+ pattern: /^(\s*(?:\*\s*)?)\S.*$/m,
2273
+ lookbehind: !0,
2274
+ inside: a,
2275
+ alias: "language-javascript"
2276
+ }
2277
+ }
2278
+ }
2279
+ }),
2280
+ e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc);
2281
+ })(Prism);
2282
+ !(function (a) {
2283
+ function e(a, e) {
2284
+ return RegExp(
2285
+ a.replace(/<ID>/g, function () {
2286
+ return "(?!\\s)[_$a-zA-Z\\xA0-\\uFFFF](?:(?!\\s)[$\\w\\xA0-\\uFFFF])*";
2287
+ }),
2288
+ e
2289
+ );
2290
+ }
2291
+ a.languages.insertBefore("javascript", "function-variable", {
2292
+ "method-variable": {
2293
+ pattern: RegExp(
2294
+ "(\\.\\s*)" +
2295
+ a.languages.javascript["function-variable"].pattern
2296
+ .source
2297
+ ),
2298
+ lookbehind: !0,
2299
+ alias: [
2300
+ "function-variable",
2301
+ "method",
2302
+ "function",
2303
+ "property-access"
2304
+ ]
2305
+ }
2306
+ }),
2307
+ a.languages.insertBefore("javascript", "function", {
2308
+ method: {
2309
+ pattern: RegExp(
2310
+ "(\\.\\s*)" + a.languages.javascript.function.source
2311
+ ),
2312
+ lookbehind: !0,
2313
+ alias: ["function", "property-access"]
2314
+ }
2315
+ }),
2316
+ a.languages.insertBefore("javascript", "constant", {
2317
+ "known-class-name": [
2318
+ {
2319
+ pattern:
2320
+ /\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,
2321
+ alias: "class-name"
2322
+ },
2323
+ { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }
2324
+ ]
2325
+ }),
2326
+ a.languages.insertBefore("javascript", "keyword", {
2327
+ imports: {
2328
+ pattern: e(
2329
+ "(\\bimport\\b\\s*)(?:<ID>(?:\\s*,\\s*(?:\\*\\s*as\\s+<ID>|\\{[^{}]*\\}))?|\\*\\s*as\\s+<ID>|\\{[^{}]*\\})(?=\\s*\\bfrom\\b)"
2330
+ ),
2331
+ lookbehind: !0,
2332
+ inside: a.languages.javascript
2333
+ },
2334
+ exports: {
2335
+ pattern: e(
2336
+ "(\\bexport\\b\\s*)(?:\\*(?:\\s*as\\s+<ID>)?(?=\\s*\\bfrom\\b)|\\{[^{}]*\\})"
2337
+ ),
2338
+ lookbehind: !0,
2339
+ inside: a.languages.javascript
2340
+ }
2341
+ }),
2342
+ a.languages.javascript.keyword.unshift(
2343
+ {
2344
+ pattern: /\b(?:as|default|export|from|import)\b/,
2345
+ alias: "module"
2346
+ },
2347
+ {
2348
+ pattern:
2349
+ /\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,
2350
+ alias: "control-flow"
2351
+ },
2352
+ { pattern: /\bnull\b/, alias: ["null", "nil"] },
2353
+ { pattern: /\bundefined\b/, alias: "nil" }
2354
+ ),
2355
+ a.languages.insertBefore("javascript", "operator", {
2356
+ spread: { pattern: /\.{3}/, alias: "operator" },
2357
+ arrow: { pattern: /=>/, alias: "operator" }
2358
+ }),
2359
+ a.languages.insertBefore("javascript", "punctuation", {
2360
+ "property-access": {
2361
+ pattern: e("(\\.\\s*)#?<ID>"),
2362
+ lookbehind: !0
2363
+ },
2364
+ "maybe-class-name": {
2365
+ pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
2366
+ lookbehind: !0
2367
+ },
2368
+ dom: {
2369
+ pattern:
2370
+ /\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,
2371
+ alias: "variable"
2372
+ },
2373
+ console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" }
2374
+ });
2375
+ for (
2376
+ var t = [
2377
+ "function",
2378
+ "function-variable",
2379
+ "method",
2380
+ "method-variable",
2381
+ "property-access"
2382
+ ],
2383
+ r = 0;
2384
+ r < t.length;
2385
+ r++
2386
+ ) {
2387
+ var n = t[r],
2388
+ s = a.languages.javascript[n];
2389
+ "RegExp" === a.util.type(s) &&
2390
+ (s = a.languages.javascript[n] = { pattern: s });
2391
+ var o = s.inside || {};
2392
+ (s.inside = o)["maybe-class-name"] = /^[A-Z][\s\S]*/;
2393
+ }
2394
+ })(Prism);
2395
+ (Prism.languages.json = {
2396
+ property: {
2397
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
2398
+ lookbehind: !0,
2399
+ greedy: !0
2400
+ },
2401
+ string: {
2402
+ pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
2403
+ lookbehind: !0,
2404
+ greedy: !0
2405
+ },
2406
+ comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 },
2407
+ number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
2408
+ punctuation: /[{}[\],]/,
2409
+ operator: /:/,
2410
+ boolean: /\b(?:true|false)\b/,
2411
+ null: { pattern: /\bnull\b/, alias: "keyword" }
2412
+ }),
2413
+ (Prism.languages.webmanifest = Prism.languages.json);
2414
+ !(function (n) {
2415
+ var e = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
2416
+ n.languages.json5 = n.languages.extend("json", {
2417
+ property: [
2418
+ { pattern: RegExp(e.source + "(?=\\s*:)"), greedy: !0 },
2419
+ {
2420
+ pattern:
2421
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
2422
+ alias: "unquoted"
2423
+ }
2424
+ ],
2425
+ string: { pattern: e, greedy: !0 },
2426
+ number: /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
2427
+ });
2428
+ })(Prism);
2429
+ (Prism.languages.jsonp = Prism.languages.extend("json", {
2430
+ punctuation: /[{}[\]();,.]/
2431
+ })),
2432
+ Prism.languages.insertBefore("jsonp", "punctuation", {
2433
+ function:
2434
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/
2435
+ });
2436
+ Prism.languages.jsstacktrace = {
2437
+ "error-message": { pattern: /^\S.*/m, alias: "string" },
2438
+ "stack-frame": {
2439
+ pattern: /^[ \t]+at[ \t].*/m,
2440
+ inside: {
2441
+ "not-my-code": {
2442
+ pattern:
2443
+ /[ \t]+at[ \t]+(?!\s)(?:node\.js|\<unknown\>|.*(?:node_modules|\(\<anonymous\>\)|\(\<unknown\>|\<anonymous\>$|\(internal\/|\(node\.js)).*/m,
2444
+ alias: "comment"
2445
+ },
2446
+ filename: {
2447
+ pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,
2448
+ lookbehind: !0,
2449
+ alias: "url"
2450
+ },
2451
+ function: {
2452
+ pattern:
2453
+ /(at\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,
2454
+ lookbehind: !0,
2455
+ inside: { punctuation: /\./ }
2456
+ },
2457
+ punctuation: /[()]/,
2458
+ keyword: /\b(?:at|new)\b/,
2459
+ alias: {
2460
+ pattern:
2461
+ /\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,
2462
+ alias: "variable"
2463
+ },
2464
+ "line-number": {
2465
+ pattern: /:[0-9]+(?::[0-9]+)?\b/,
2466
+ alias: "number",
2467
+ inside: { punctuation: /:/ }
2468
+ }
2469
+ }
2470
+ }
2471
+ };
2472
+ !(function (u) {
2473
+ function n(n) {
2474
+ return (
2475
+ (n = n.replace(/<inner>/g, function () {
2476
+ return "(?:\\\\.|[^\\\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))";
2477
+ })),
2478
+ RegExp("((?:^|[^\\\\])(?:\\\\{2})*)(?:" + n + ")")
2479
+ );
2480
+ }
2481
+ var e = "(?:\\\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\\\|\r\n`])+",
2482
+ t = "\\|?__(?:\\|__)+\\|?(?:(?:\n|\r\n?)|(?![^]))".replace(
2483
+ /__/g,
2484
+ function () {
2485
+ return e;
2486
+ }
2487
+ ),
2488
+ a =
2489
+ "\\|?[ \t]*:?-{3,}:?[ \t]*(?:\\|[ \t]*:?-{3,}:?[ \t]*)+\\|?(?:\n|\r\n?)";
2490
+ (u.languages.markdown = u.languages.extend("markup", {})),
2491
+ u.languages.insertBefore("markdown", "prolog", {
2492
+ "front-matter-block": {
2493
+ pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
2494
+ lookbehind: !0,
2495
+ greedy: !0,
2496
+ inside: {
2497
+ punctuation: /^---|---$/,
2498
+ "font-matter": {
2499
+ pattern: /\S+(?:\s+\S+)*/,
2500
+ alias: ["yaml", "language-yaml"],
2501
+ inside: u.languages.yaml
2502
+ }
2503
+ }
2504
+ },
2505
+ blockquote: {
2506
+ pattern: /^>(?:[\t ]*>)*/m,
2507
+ alias: "punctuation"
2508
+ },
2509
+ table: {
2510
+ pattern: RegExp("^" + t + a + "(?:" + t + ")*", "m"),
2511
+ inside: {
2512
+ "table-data-rows": {
2513
+ pattern: RegExp("^(" + t + a + ")(?:" + t + ")*$"),
2514
+ lookbehind: !0,
2515
+ inside: {
2516
+ "table-data": {
2517
+ pattern: RegExp(e),
2518
+ inside: u.languages.markdown
2519
+ },
2520
+ punctuation: /\|/
2521
+ }
2522
+ },
2523
+ "table-line": {
2524
+ pattern: RegExp("^(" + t + ")" + a + "$"),
2525
+ lookbehind: !0,
2526
+ inside: { punctuation: /\||:?-{3,}:?/ }
2527
+ },
2528
+ "table-header-row": {
2529
+ pattern: RegExp("^" + t + "$"),
2530
+ inside: {
2531
+ "table-header": {
2532
+ pattern: RegExp(e),
2533
+ alias: "important",
2534
+ inside: u.languages.markdown
2535
+ },
2536
+ punctuation: /\|/
2537
+ }
2538
+ }
2539
+ }
2540
+ },
2541
+ code: [
2542
+ {
2543
+ pattern:
2544
+ /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
2545
+ lookbehind: !0,
2546
+ alias: "keyword"
2547
+ },
2548
+ { pattern: /``.+?``|`[^`\r\n]+`/, alias: "keyword" },
2549
+ {
2550
+ pattern: /^```[\s\S]*?^```$/m,
2551
+ greedy: !0,
2552
+ inside: {
2553
+ "code-block": {
2554
+ pattern:
2555
+ /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
2556
+ lookbehind: !0
2557
+ },
2558
+ "code-language": {
2559
+ pattern: /^(```).+/,
2560
+ lookbehind: !0
2561
+ },
2562
+ punctuation: /```/
2563
+ }
2564
+ }
2565
+ ],
2566
+ title: [
2567
+ {
2568
+ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
2569
+ alias: "important",
2570
+ inside: { punctuation: /==+$|--+$/ }
2571
+ },
2572
+ {
2573
+ pattern: /(^\s*)#.+/m,
2574
+ lookbehind: !0,
2575
+ alias: "important",
2576
+ inside: { punctuation: /^#+|#+$/ }
2577
+ }
2578
+ ],
2579
+ hr: {
2580
+ pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
2581
+ lookbehind: !0,
2582
+ alias: "punctuation"
2583
+ },
2584
+ list: {
2585
+ pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
2586
+ lookbehind: !0,
2587
+ alias: "punctuation"
2588
+ },
2589
+ "url-reference": {
2590
+ pattern:
2591
+ /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
2592
+ inside: {
2593
+ variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 },
2594
+ string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
2595
+ punctuation: /^[\[\]!:]|[<>]/
2596
+ },
2597
+ alias: "url"
2598
+ },
2599
+ bold: {
2600
+ pattern: n(
2601
+ "\\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\\b|\\*\\*(?:(?!\\*)<inner>|\\*(?:(?!\\*)<inner>)+\\*)+\\*\\*"
2602
+ ),
2603
+ lookbehind: !0,
2604
+ greedy: !0,
2605
+ inside: {
2606
+ content: {
2607
+ pattern: /(^..)[\s\S]+(?=..$)/,
2608
+ lookbehind: !0,
2609
+ inside: {}
2610
+ },
2611
+ punctuation: /\*\*|__/
2612
+ }
2613
+ },
2614
+ italic: {
2615
+ pattern: n(
2616
+ "\\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\\b|\\*(?:(?!\\*)<inner>|\\*\\*(?:(?!\\*)<inner>)+\\*\\*)+\\*"
2617
+ ),
2618
+ lookbehind: !0,
2619
+ greedy: !0,
2620
+ inside: {
2621
+ content: {
2622
+ pattern: /(^.)[\s\S]+(?=.$)/,
2623
+ lookbehind: !0,
2624
+ inside: {}
2625
+ },
2626
+ punctuation: /[*_]/
2627
+ }
2628
+ },
2629
+ strike: {
2630
+ pattern: n("(~~?)(?:(?!~)<inner>)+?\\2"),
2631
+ lookbehind: !0,
2632
+ greedy: !0,
2633
+ inside: {
2634
+ content: {
2635
+ pattern: /(^~~?)[\s\S]+(?=\1$)/,
2636
+ lookbehind: !0,
2637
+ inside: {}
2638
+ },
2639
+ punctuation: /~~?/
2640
+ }
2641
+ },
2642
+ url: {
2643
+ pattern: n(
2644
+ '!?\\[(?:(?!\\])<inner>)+\\](?:\\([^\\s)]+(?:[\t ]+"(?:\\\\.|[^"\\\\])*")?\\)|[ \t]?\\[(?:(?!\\])<inner>)+\\])'
2645
+ ),
2646
+ lookbehind: !0,
2647
+ greedy: !0,
2648
+ inside: {
2649
+ operator: /^!/,
2650
+ content: {
2651
+ pattern: /(^\[)[^\]]+(?=\])/,
2652
+ lookbehind: !0,
2653
+ inside: {}
2654
+ },
2655
+ variable: {
2656
+ pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
2657
+ lookbehind: !0
2658
+ },
2659
+ url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 },
2660
+ string: {
2661
+ pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
2662
+ lookbehind: !0
2663
+ }
2664
+ }
2665
+ }
2666
+ }),
2667
+ ["url", "bold", "italic", "strike"].forEach(function (e) {
2668
+ ["url", "bold", "italic", "strike"].forEach(function (n) {
2669
+ e !== n &&
2670
+ (u.languages.markdown[e].inside.content.inside[n] =
2671
+ u.languages.markdown[n]);
2672
+ });
2673
+ }),
2674
+ u.hooks.add("after-tokenize", function (n) {
2675
+ ("markdown" !== n.language && "md" !== n.language) ||
2676
+ !(function n(e) {
2677
+ if (e && "string" != typeof e)
2678
+ for (var t = 0, a = e.length; t < a; t++) {
2679
+ var i = e[t];
2680
+ if ("code" === i.type) {
2681
+ var r = i.content[1],
2682
+ o = i.content[3];
2683
+ if (
2684
+ r &&
2685
+ o &&
2686
+ "code-language" === r.type &&
2687
+ "code-block" === o.type &&
2688
+ "string" == typeof r.content
2689
+ ) {
2690
+ var l = r.content
2691
+ .replace(/\b#/g, "sharp")
2692
+ .replace(/\b\+\+/g, "pp"),
2693
+ s =
2694
+ "language-" +
2695
+ (l = (/[a-z][\w-]*/i.exec(
2696
+ l
2697
+ ) || [""])[0].toLowerCase());
2698
+ o.alias
2699
+ ? "string" == typeof o.alias
2700
+ ? (o.alias = [o.alias, s])
2701
+ : o.alias.push(s)
2702
+ : (o.alias = [s]);
2703
+ }
2704
+ } else n(i.content);
2705
+ }
2706
+ })(n.tokens);
2707
+ }),
2708
+ u.hooks.add("wrap", function (n) {
2709
+ if ("code-block" === n.type) {
2710
+ for (var e = "", t = 0, a = n.classes.length; t < a; t++) {
2711
+ var i = n.classes[t],
2712
+ r = /language-(.+)/.exec(i);
2713
+ if (r) {
2714
+ e = r[1];
2715
+ break;
2716
+ }
2717
+ }
2718
+ var o = u.languages[e];
2719
+ if (o) {
2720
+ var l = document.createElement("div");
2721
+ l.innerHTML = n.content;
2722
+ var s = l.textContent;
2723
+ n.content = u.highlight(s, o, e);
2724
+ } else if (e && "none" !== e && u.plugins.autoloader) {
2725
+ var d =
2726
+ "md-" +
2727
+ new Date().valueOf() +
2728
+ "-" +
2729
+ Math.floor(1e16 * Math.random());
2730
+ (n.attributes.id = d),
2731
+ u.plugins.autoloader.loadLanguages(e, function () {
2732
+ var n = document.getElementById(d);
2733
+ n &&
2734
+ (n.innerHTML = u.highlight(
2735
+ n.textContent,
2736
+ u.languages[e],
2737
+ e
2738
+ ));
2739
+ });
2740
+ }
2741
+ }
2742
+ }),
2743
+ (u.languages.md = u.languages.markdown);
2744
+ })(Prism);
2745
+ !(function (a) {
2746
+ var e = "(?:\\b[a-zA-Z]\\w*|[|\\\\[\\]])+";
2747
+ (a.languages.phpdoc = a.languages.extend("javadoclike", {
2748
+ parameter: {
2749
+ pattern: RegExp(
2750
+ "(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" +
2751
+ e +
2752
+ "\\s+)?)\\$\\w+"
2753
+ ),
2754
+ lookbehind: !0
2755
+ }
2756
+ })),
2757
+ a.languages.insertBefore("phpdoc", "keyword", {
2758
+ "class-name": [
2759
+ {
2760
+ pattern: RegExp(
2761
+ "(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" +
2762
+ e
2763
+ ),
2764
+ lookbehind: !0,
2765
+ inside: {
2766
+ keyword:
2767
+ /\b(?:callback|resource|boolean|integer|double|object|string|array|false|float|mixed|bool|null|self|true|void|int)\b/,
2768
+ punctuation: /[|\\[\]()]/
2769
+ }
2770
+ }
2771
+ ]
2772
+ }),
2773
+ a.languages.javadoclike.addSupport("php", a.languages.phpdoc);
2774
+ })(Prism);
2775
+ Prism.languages.insertBefore("php", "variable", {
2776
+ this: /\$this\b/,
2777
+ global: /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,
2778
+ scope: {
2779
+ pattern: /\b[\w\\]+::/,
2780
+ inside: { keyword: /static|self|parent/, punctuation: /::|\\/ }
2781
+ }
2782
+ });
2783
+ !(function (E) {
2784
+ var A = (E.languages.plsql = E.languages.extend("sql", {
2785
+ comment: [/\/\*[\s\S]*?\*\//, /--.*/]
2786
+ })),
2787
+ T = A.keyword;
2788
+ Array.isArray(T) || (T = A.keyword = [T]),
2789
+ T.unshift(
2790
+ /\b(?:ACCESS|AGENT|AGGREGATE|ARRAY|ARROW|AT|ATTRIBUTE|AUDIT|AUTHID|BFILE_BASE|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BYTE|CALLING|CHAR_BASE|CHARSET(?:FORM|ID)|CLOB_BASE|COLAUTH|COLLECT|CLUSTERS?|COMPILED|COMPRESS|CONSTANT|CONSTRUCTOR|CONTEXT|CRASH|CUSTOMDATUM|DANGLING|DATE_BASE|DEFINE|DETERMINISTIC|DURATION|ELEMENT|EMPTY|EXCEPTIONS?|EXCLUSIVE|EXTERNAL|FINAL|FORALL|FORM|FOUND|GENERAL|HEAP|HIDDEN|IDENTIFIED|IMMEDIATE|INCLUDING|INCREMENT|INDICATOR|INDEXES|INDICES|INFINITE|INITIAL|ISOPEN|INSTANTIABLE|INTERFACE|INVALIDATE|JAVA|LARGE|LEADING|LENGTH|LIBRARY|LIKE[24C]|LIMITED|LONG|LOOP|MAP|MAXEXTENTS|MAXLEN|MEMBER|MINUS|MLSLABEL|MULTISET|NAME|NAN|NATIVE|NEW|NOAUDIT|NOCOMPRESS|NOCOPY|NOTFOUND|NOWAIT|NUMBER(?:_BASE)?|OBJECT|OCI(?:COLL|DATE|DATETIME|DURATION|INTERVAL|LOBLOCATOR|NUMBER|RAW|REF|REFCURSOR|ROWID|STRING|TYPE)|OFFLINE|ONLINE|ONLY|OPAQUE|OPERATOR|ORACLE|ORADATA|ORGANIZATION|ORL(?:ANY|VARY)|OTHERS|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETERS?|PASCAL|PCTFREE|PIPE(?:LINED)?|PRAGMA|PRIOR|PRIVATE|RAISE|RANGE|RAW|RECORD|REF|REFERENCE|REM|REMAINDER|RESULT|RESOURCE|RETURNING|REVERSE|ROW(?:ID|NUM|TYPE)|SAMPLE|SB[124]|SEGMENT|SELF|SEPARATE|SEQUENCE|SHORT|SIZE(?:_T)?|SPARSE|SQL(?:CODE|DATA|NAME|STATE)|STANDARD|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUCCESSFUL|SYNONYM|SYSDATE|TABAUTH|TDO|THE|TIMEZONE_(?:ABBR|HOUR|MINUTE|REGION)|TRAILING|TRANSAC(?:TIONAL)?|TRUSTED|UB[124]|UID|UNDER|UNTRUSTED|VALIDATE|VALIST|VARCHAR2|VARIABLE|VARIANCE|VARRAY|VIEWS|VOID|WHENEVER|WRAPPED|ZONE)\b/i
2791
+ );
2792
+ var R = A.operator;
2793
+ Array.isArray(R) || (R = A.operator = [R]), R.unshift(/:=/);
2794
+ })(Prism);
2795
+ !(function (a) {
2796
+ var e = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" },
2797
+ n =
2798
+ /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|c[a-zA-Z]|0[0-7]{0,2}|[123][0-7]{2}|.)/,
2799
+ t = "(?:[^\\\\-]|" + n.source + ")",
2800
+ s = RegExp(t + "-" + t),
2801
+ i = {
2802
+ pattern: /(<|')[^<>']+(?=[>']$)/,
2803
+ lookbehind: !0,
2804
+ alias: "variable"
2805
+ };
2806
+ a.languages.regex = {
2807
+ charset: {
2808
+ pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,
2809
+ lookbehind: !0,
2810
+ inside: {
2811
+ "charset-negation": {
2812
+ pattern: /(^\[)\^/,
2813
+ lookbehind: !0,
2814
+ alias: "operator"
2815
+ },
2816
+ "charset-punctuation": {
2817
+ pattern: /^\[|\]$/,
2818
+ alias: "punctuation"
2819
+ },
2820
+ range: {
2821
+ pattern: s,
2822
+ inside: {
2823
+ escape: n,
2824
+ "range-punctuation": {
2825
+ pattern: /-/,
2826
+ alias: "operator"
2827
+ }
2828
+ }
2829
+ },
2830
+ "special-escape": e,
2831
+ charclass: {
2832
+ pattern: /\\[wsd]|\\p{[^{}]+}/i,
2833
+ alias: "class-name"
2834
+ },
2835
+ escape: n
2836
+ }
2837
+ },
2838
+ "special-escape": e,
2839
+ charclass: {
2840
+ pattern: /\.|\\[wsd]|\\p{[^{}]+}/i,
2841
+ alias: "class-name"
2842
+ },
2843
+ backreference: [
2844
+ { pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" },
2845
+ {
2846
+ pattern: /\\k<[^<>']+>/,
2847
+ alias: "keyword",
2848
+ inside: { "group-name": i }
2849
+ }
2850
+ ],
2851
+ anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" },
2852
+ escape: n,
2853
+ group: [
2854
+ {
2855
+ pattern:
2856
+ /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,
2857
+ alias: "punctuation",
2858
+ inside: { "group-name": i }
2859
+ },
2860
+ { pattern: /\)/, alias: "punctuation" }
2861
+ ],
2862
+ quantifier: {
2863
+ pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,
2864
+ alias: "number"
2865
+ },
2866
+ alternation: { pattern: /\|/, alias: "keyword" }
2867
+ };
2868
+ })(Prism);
2869
+ !(function (E) {
2870
+ var n =
2871
+ /\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;
2872
+ (E.languages.typoscript = {
2873
+ comment: [
2874
+ { pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 },
2875
+ {
2876
+ pattern: /(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,
2877
+ lookbehind: !0,
2878
+ greedy: !0
2879
+ },
2880
+ { pattern: /(^|[^"'])#.*/, lookbehind: !0, greedy: !0 }
2881
+ ],
2882
+ function: [
2883
+ {
2884
+ pattern:
2885
+ /<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,
2886
+ inside: {
2887
+ string: {
2888
+ pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
2889
+ inside: { keyword: n }
2890
+ },
2891
+ keyword: { pattern: /INCLUDE_TYPOSCRIPT/ }
2892
+ }
2893
+ },
2894
+ {
2895
+ pattern: /@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,
2896
+ inside: { string: /"[^"\r\n]*"|'[^'\r\n]*'/ }
2897
+ }
2898
+ ],
2899
+ string: {
2900
+ pattern: /^([^=]*=[< ]?)(?:(?!]\n).)*/,
2901
+ lookbehind: !0,
2902
+ inside: {
2903
+ function: /{\$.*}/,
2904
+ keyword: n,
2905
+ number: /^[0-9]+$/,
2906
+ punctuation: /[,|:]/
2907
+ }
2908
+ },
2909
+ keyword: n,
2910
+ number: {
2911
+ pattern: /[0-9]+\s*[.{=]/,
2912
+ inside: { operator: /[.{=]/ }
2913
+ },
2914
+ tag: { pattern: /\.?[\w-\\]+\.?/, inside: { punctuation: /\./ } },
2915
+ punctuation: /[{}[\];(),.:|]/,
2916
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/
2917
+ }),
2918
+ (E.languages.tsconfig = E.languages.typoscript);
2919
+ })(Prism);
2920
+ (Prism.languages.uri = {
2921
+ scheme: {
2922
+ pattern: /^[a-z][a-z0-9+.-]*:/im,
2923
+ greedy: !0,
2924
+ inside: { "scheme-delimiter": /:$/ }
2925
+ },
2926
+ fragment: {
2927
+ pattern: /#[\w\-.~!$&'()*+,;=%:@/?]*/,
2928
+ inside: { "fragment-delimiter": /^#/ }
2929
+ },
2930
+ query: {
2931
+ pattern: /\?[\w\-.~!$&'()*+,;=%:@/?]*/,
2932
+ inside: {
2933
+ "query-delimiter": { pattern: /^\?/, greedy: !0 },
2934
+ "pair-delimiter": /[&;]/,
2935
+ pair: {
2936
+ pattern: /^[^=][\s\S]*/,
2937
+ inside: {
2938
+ key: /^[^=]+/,
2939
+ value: { pattern: /(^=)[\s\S]+/, lookbehind: !0 }
2940
+ }
2941
+ }
2942
+ }
2943
+ },
2944
+ authority: {
2945
+ pattern: RegExp(
2946
+ "^//(?:[\\w\\-.~!$&'()*+,;=%:]*@)?(?:\\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\\.[\\w\\-.~!$&'()*+,;=]+)\\]|[\\w\\-.~!$&'()*+,;=%]*)(?::\\d*)?",
2947
+ "m"
2948
+ ),
2949
+ inside: {
2950
+ "authority-delimiter": /^\/\//,
2951
+ "user-info-segment": {
2952
+ pattern: /^[\w\-.~!$&'()*+,;=%:]*@/,
2953
+ inside: {
2954
+ "user-info-delimiter": /@$/,
2955
+ "user-info": /^[\w\-.~!$&'()*+,;=%:]+/
2956
+ }
2957
+ },
2958
+ "port-segment": {
2959
+ pattern: /:\d*$/,
2960
+ inside: { "port-delimiter": /^:/, port: /^\d+/ }
2961
+ },
2962
+ host: {
2963
+ pattern: /[\s\S]+/,
2964
+ inside: {
2965
+ "ip-literal": {
2966
+ pattern: /^\[[\s\S]+\]$/,
2967
+ inside: {
2968
+ "ip-literal-delimiter": /^\[|\]$/,
2969
+ "ipv-future": /^v[\s\S]+/,
2970
+ "ipv6-address": /^[\s\S]+/
2971
+ }
2972
+ },
2973
+ "ipv4-address":
2974
+ /^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]{0,2})$/
2975
+ }
2976
+ }
2977
+ }
2978
+ },
2979
+ path: {
2980
+ pattern: /^[\w\-.~!$&'()*+,;=%:@/]+/m,
2981
+ inside: { "path-separator": /\// }
2982
+ }
2983
+ }),
2984
+ (Prism.languages.url = Prism.languages.uri);
2985
+ Prism.languages.vbnet = Prism.languages.extend("basic", {
2986
+ comment: [
2987
+ { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } },
2988
+ { pattern: /(^|[^\\:])'.*/, lookbehind: !0, greedy: !0 }
2989
+ ],
2990
+ string: {
2991
+ pattern: /(^|[^"])"(?:""|[^"])*"(?!")/i,
2992
+ lookbehind: !0,
2993
+ greedy: !0
2994
+ },
2995
+ keyword:
2996
+ /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,
2997
+ punctuation: /[,;:(){}]/
2998
+ });
2999
+ !(function () {
3000
+ if ("undefined" != typeof Prism && "undefined" != typeof document) {
3001
+ var o = "line-numbers",
3002
+ a = /\n(?!$)/g,
3003
+ e = (Prism.plugins.lineNumbers = {
3004
+ getLine: function (e, n) {
3005
+ if ("PRE" === e.tagName && e.classList.contains(o)) {
3006
+ var t = e.querySelector(".line-numbers-rows");
3007
+ if (t) {
3008
+ var i =
3009
+ parseInt(
3010
+ e.getAttribute("data-start"),
3011
+ 10
3012
+ ) || 1,
3013
+ r = i + (t.children.length - 1);
3014
+ n < i && (n = i), r < n && (n = r);
3015
+ var s = n - i;
3016
+ return t.children[s];
3017
+ }
3018
+ }
3019
+ },
3020
+ resize: function (e) {
3021
+ u([e]);
3022
+ },
3023
+ assumeViewportIndependence: !0
3024
+ }),
3025
+ t = function (e) {
3026
+ return e
3027
+ ? window.getComputedStyle
3028
+ ? getComputedStyle(e)
3029
+ : e.currentStyle || null
3030
+ : null;
3031
+ },
3032
+ n = void 0;
3033
+ window.addEventListener("resize", function () {
3034
+ (e.assumeViewportIndependence && n === window.innerWidth) ||
3035
+ ((n = window.innerWidth),
3036
+ u(
3037
+ Array.prototype.slice.call(
3038
+ document.querySelectorAll("pre." + o)
3039
+ )
3040
+ ));
3041
+ }),
3042
+ Prism.hooks.add("complete", function (e) {
3043
+ if (e.code) {
3044
+ var n = e.element,
3045
+ t = n.parentNode;
3046
+ if (
3047
+ t &&
3048
+ /pre/i.test(t.nodeName) &&
3049
+ !n.querySelector(".line-numbers-rows") &&
3050
+ Prism.util.isActive(n, o)
3051
+ ) {
3052
+ n.classList.remove(o), t.classList.add(o);
3053
+ var i,
3054
+ r = e.code.match(a),
3055
+ s = r ? r.length + 1 : 1,
3056
+ l = new Array(s + 1).join("<span></span>");
3057
+ (i = document.createElement("span")).setAttribute(
3058
+ "aria-hidden",
3059
+ "true"
3060
+ ),
3061
+ (i.className = "line-numbers-rows"),
3062
+ (i.innerHTML = l),
3063
+ t.hasAttribute("data-start") &&
3064
+ (t.style.counterReset =
3065
+ "linenumber " +
3066
+ (parseInt(
3067
+ t.getAttribute("data-start"),
3068
+ 10
3069
+ ) -
3070
+ 1)),
3071
+ e.element.appendChild(i),
3072
+ u([t]),
3073
+ Prism.hooks.run("line-numbers", e);
3074
+ }
3075
+ }
3076
+ }),
3077
+ Prism.hooks.add("line-numbers", function (e) {
3078
+ (e.plugins = e.plugins || {}), (e.plugins.lineNumbers = !0);
3079
+ });
3080
+ }
3081
+ function u(e) {
3082
+ if (
3083
+ 0 !=
3084
+ (e = e.filter(function (e) {
3085
+ var n = t(e)["white-space"];
3086
+ return "pre-wrap" === n || "pre-line" === n;
3087
+ })).length
3088
+ ) {
3089
+ var n = e
3090
+ .map(function (e) {
3091
+ var n = e.querySelector("code"),
3092
+ t = e.querySelector(".line-numbers-rows");
3093
+ if (n && t) {
3094
+ var i = e.querySelector(".line-numbers-sizer"),
3095
+ r = n.textContent.split(a);
3096
+ i ||
3097
+ (((i =
3098
+ document.createElement("span")).className =
3099
+ "line-numbers-sizer"),
3100
+ n.appendChild(i)),
3101
+ (i.innerHTML = "0"),
3102
+ (i.style.display = "block");
3103
+ var s = i.getBoundingClientRect().height;
3104
+ return (
3105
+ (i.innerHTML = ""),
3106
+ {
3107
+ element: e,
3108
+ lines: r,
3109
+ lineHeights: [],
3110
+ oneLinerHeight: s,
3111
+ sizer: i
3112
+ }
3113
+ );
3114
+ }
3115
+ })
3116
+ .filter(Boolean);
3117
+ n.forEach(function (e) {
3118
+ var i = e.sizer,
3119
+ n = e.lines,
3120
+ r = e.lineHeights,
3121
+ s = e.oneLinerHeight;
3122
+ (r[n.length - 1] = void 0),
3123
+ n.forEach(function (e, n) {
3124
+ if (e && 1 < e.length) {
3125
+ var t = i.appendChild(
3126
+ document.createElement("span")
3127
+ );
3128
+ (t.style.display = "block"),
3129
+ (t.textContent = e);
3130
+ } else r[n] = s;
3131
+ });
3132
+ }),
3133
+ n.forEach(function (e) {
3134
+ for (
3135
+ var n = e.sizer, t = e.lineHeights, i = 0, r = 0;
3136
+ r < t.length;
3137
+ r++
3138
+ )
3139
+ void 0 === t[r] &&
3140
+ (t[r] =
3141
+ n.children[
3142
+ i++
3143
+ ].getBoundingClientRect().height);
3144
+ }),
3145
+ n.forEach(function (e) {
3146
+ var n = e.sizer,
3147
+ t = e.element.querySelector(".line-numbers-rows");
3148
+ (n.style.display = "none"),
3149
+ (n.innerHTML = ""),
3150
+ e.lineHeights.forEach(function (e, n) {
3151
+ t.children[n].style.height = e + "px";
3152
+ });
3153
+ });
3154
+ }
3155
+ }
3156
+ })();
3157
+ "undefined" != typeof Prism &&
3158
+ "undefined" != typeof document &&
3159
+ (Element.prototype.matches ||
3160
+ (Element.prototype.matches =
3161
+ Element.prototype.msMatchesSelector ||
3162
+ Element.prototype.webkitMatchesSelector),
3163
+ (Prism.plugins.UnescapedMarkup = !0),
3164
+ Prism.hooks.add("before-highlightall", function (e) {
3165
+ e.selector +=
3166
+ ', [class*="lang-"] script[type="text/plain"], [class*="language-"] script[type="text/plain"], script[type="text/plain"][class*="lang-"], script[type="text/plain"][class*="language-"]';
3167
+ }),
3168
+ Prism.hooks.add("before-sanity-check", function (e) {
3169
+ var t = e.element;
3170
+ if (t.matches('script[type="text/plain"]')) {
3171
+ var a = document.createElement("code"),
3172
+ c = document.createElement("pre");
3173
+ c.className = a.className = t.className;
3174
+ var n = t.dataset;
3175
+ return (
3176
+ Object.keys(n || {}).forEach(function (e) {
3177
+ Object.prototype.hasOwnProperty.call(n, e) &&
3178
+ (c.dataset[e] = n[e]);
3179
+ }),
3180
+ (a.textContent = e.code =
3181
+ e.code.replace(
3182
+ /&lt;\/script(?:>|&gt;)/gi,
3183
+ "</script>"
3184
+ )),
3185
+ c.appendChild(a),
3186
+ t.parentNode.replaceChild(c, t),
3187
+ void (e.element = a)
3188
+ );
3189
+ }
3190
+ if (!e.code) {
3191
+ var o = t.childNodes;
3192
+ 1 === o.length &&
3193
+ "#comment" == o[0].nodeName &&
3194
+ (t.textContent = e.code = o[0].textContent);
3195
+ }
3196
+ }));
3197
+ !(function () {
3198
+ if ("undefined" != typeof Prism && "undefined" != typeof document) {
3199
+ var d = { "(": ")", "[": "]", "{": "}" },
3200
+ u = {
3201
+ "(": "brace-round",
3202
+ "[": "brace-square",
3203
+ "{": "brace-curly"
3204
+ },
3205
+ f = { "${": "{" },
3206
+ h = 0,
3207
+ n = /^(pair-\d+-)(open|close)$/;
3208
+ Prism.hooks.add("complete", function (e) {
3209
+ var t = e.element,
3210
+ n = t.parentElement;
3211
+ if (n && "PRE" == n.tagName) {
3212
+ var c = [];
3213
+ if (
3214
+ (Prism.util.isActive(t, "match-braces") &&
3215
+ c.push("(", "[", "{"),
3216
+ 0 != c.length)
3217
+ ) {
3218
+ n.__listenerAdded ||
3219
+ (n.addEventListener("mousedown", function () {
3220
+ var e = n.querySelector("code");
3221
+ Array.prototype.slice
3222
+ .call(e.querySelectorAll(".brace-selected"))
3223
+ .forEach(function (e) {
3224
+ e.classList.remove("brace-selected");
3225
+ });
3226
+ }),
3227
+ Object.defineProperty(n, "__listenerAdded", {
3228
+ value: !0
3229
+ }));
3230
+ var o = Array.prototype.slice.call(
3231
+ t.querySelectorAll("span.token.punctuation")
3232
+ ),
3233
+ l = [];
3234
+ c.forEach(function (e) {
3235
+ for (
3236
+ var t = d[e], n = u[e], c = [], r = [], i = 0;
3237
+ i < o.length;
3238
+ i++
3239
+ ) {
3240
+ var s = o[i];
3241
+ if (0 == s.childElementCount) {
3242
+ var a = s.textContent;
3243
+ (a = f[a] || a) === e
3244
+ ? (l.push({
3245
+ index: i,
3246
+ open: !0,
3247
+ element: s
3248
+ }),
3249
+ s.classList.add(n),
3250
+ s.classList.add("brace-open"),
3251
+ r.push(i))
3252
+ : a === t &&
3253
+ (l.push({
3254
+ index: i,
3255
+ open: !1,
3256
+ element: s
3257
+ }),
3258
+ s.classList.add(n),
3259
+ s.classList.add("brace-close"),
3260
+ r.length && c.push([i, r.pop()]));
3261
+ }
3262
+ }
3263
+ c.forEach(function (e) {
3264
+ var t = "pair-" + h++ + "-",
3265
+ n = o[e[0]],
3266
+ c = o[e[1]];
3267
+ (n.id = t + "open"),
3268
+ (c.id = t + "close"),
3269
+ [n, c].forEach(function (e) {
3270
+ e.addEventListener("mouseenter", p),
3271
+ e.addEventListener("mouseleave", v),
3272
+ e.addEventListener("click", m);
3273
+ });
3274
+ });
3275
+ });
3276
+ var r = 0;
3277
+ l.sort(function (e, t) {
3278
+ return e.index - t.index;
3279
+ }),
3280
+ l.forEach(function (e) {
3281
+ e.open
3282
+ ? (e.element.classList.add(
3283
+ "brace-level-" + ((r % 12) + 1)
3284
+ ),
3285
+ r++)
3286
+ : ((r = Math.max(0, r - 1)),
3287
+ e.element.classList.add(
3288
+ "brace-level-" + ((r % 12) + 1)
3289
+ ));
3290
+ });
3291
+ }
3292
+ }
3293
+ });
3294
+ }
3295
+ function e(e) {
3296
+ var t = n.exec(e.id);
3297
+ return document.querySelector(
3298
+ "#" + t[1] + ("open" == t[2] ? "close" : "open")
3299
+ );
3300
+ }
3301
+ function p() {
3302
+ Prism.util.isActive(this, "brace-hover", !0) &&
3303
+ [this, e(this)].forEach(function (e) {
3304
+ e.classList.add("brace-hover");
3305
+ });
3306
+ }
3307
+ function v() {
3308
+ [this, e(this)].forEach(function (e) {
3309
+ e.classList.remove("brace-hover");
3310
+ });
3311
+ }
3312
+ function m() {
3313
+ Prism.util.isActive(this, "brace-select", !0) &&
3314
+ [this, e(this)].forEach(function (e) {
3315
+ e.classList.add("brace-selected");
3316
+ });
3317
+ }
3318
+ })();
3319
+ });
3320
+
3321
+ export default prism;