@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

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 (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,2619 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[3],{H1Ra:function(e,t,n){"use strict";var a=n("q1tI"),r=n.n(a),i=function(){var e=0,t={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},objId:function(t){return t["__id"]||Object.defineProperty(t,"__id",{value:++e}),t["__id"]},clone:function(e,n){var a=t.util.type(e);switch(n=n||{},a){case"Object":if(n[t.util.objId(e)])return n[t.util.objId(e)];i={};for(var r in n[t.util.objId(e)]=i,e)e.hasOwnProperty(r)&&(i[r]=t.util.clone(e[r],n));return i;case"Array":if(n[t.util.objId(e)])return n[t.util.objId(e)];var i=[];return n[t.util.objId(e)]=i,e.forEach((function(e,a){i[a]=t.util.clone(e,n)})),i}return e}},languages:{extend:function(e,n){var a=t.util.clone(t.languages[e]);for(var r in n)a[r]=n[r];return a},insertBefore:function(e,n,a,r){r=r||t.languages;var i=r[e];if(2==arguments.length){for(var s in a=arguments[1],a)a.hasOwnProperty(s)&&(i[s]=a[s]);return i}var o={};for(var l in i)if(i.hasOwnProperty(l)){if(l==n)for(var s in a)a.hasOwnProperty(s)&&(o[s]=a[s]);o[l]=i[l]}return t.languages.DFS(t.languages,(function(t,n){n===r[e]&&t!=e&&(this[t]=o)})),r[e]=o},DFS:function(e,n,a,r){for(var i in r=r||{},e)e.hasOwnProperty(i)&&(n.call(e,i,e[i],a||i),"Object"!==t.util.type(e[i])||r[t.util.objId(e[i])]?"Array"!==t.util.type(e[i])||r[t.util.objId(e[i])]||(r[t.util.objId(e[i])]=!0,t.languages.DFS(e[i],n,i,r)):(r[t.util.objId(e[i])]=!0,t.languages.DFS(e[i],n,null,r)))}},plugins:{},highlight:function(e,a,r){var i={code:e,grammar:a,language:r};return t.hooks.run("before-tokenize",i),i.tokens=t.tokenize(i.code,i.grammar),t.hooks.run("after-tokenize",i),n.stringify(t.util.encode(i.tokens),i.language)},matchGrammar:function(e,n,a,r,i,s,o){var l=t.Token;for(var u in a)if(a.hasOwnProperty(u)&&a[u]){if(u==o)return;var c=a[u];c="Array"===t.util.type(c)?c:[c];for(var d=0;d<c.length;++d){var p=c[d],g=p.inside,f=!!p.lookbehind,b=!!p.greedy,m=0,h=p.alias;if(b&&!p.pattern.global){var y=p.pattern.toString().match(/[imuy]*$/)[0];p.pattern=RegExp(p.pattern.source,y+"g")}p=p.pattern||p;for(var E=r,S=i;E<n.length;S+=n[E].length,++E){var k=n[E];if(n.length>e.length)return;if(!(k instanceof l)){if(b&&E!=n.length-1){p.lastIndex=S;var w=p.exec(e);if(!w)break;for(var A=w.index+(f?w[1].length:0),v=w.index+w[0].length,T=E,I=S,_=n.length;T<_&&(I<v||!n[T].type&&!n[T-1].greedy);++T)I+=n[T].length,A>=I&&(++E,S=I);if(n[E]instanceof l)continue;R=T-E,k=e.slice(S,I),w.index-=S}else{p.lastIndex=0;w=p.exec(k);var R=1}if(w){f&&(m=w[1]?w[1].length:0);A=w.index+m,w=w[0].slice(m),v=A+w.length;var O=k.slice(0,A),N=k.slice(v),L=[E,R];O&&(++E,S+=O.length,L.push(O));var x=new l(u,g?t.tokenize(w,g):w,h,w,b);if(L.push(x),N&&L.push(N),Array.prototype.splice.apply(n,L),1!=R&&t.matchGrammar(e,n,a,E,S,!0,u),s)break}else if(s)break}}}}},hooks:{add:function(){},run:function(e,t){}},tokenize:function(e,n,a){var r=[e],i=n.rest;if(i){for(var s in i)n[s]=i[s];delete n.rest}return t.matchGrammar(e,r,n,0,0,!1),r}},n=t.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!r};return n.stringify=function(e,a,r){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map((function(t){return n.stringify(t,a,e)})).join("");var i={type:e.type,content:n.stringify(e.content,a,r),tag:"span",classes:["token",e.type],attributes:{},language:a,parent:r};if(e.alias){var s="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,s)}var o=Object.keys(i.attributes).map((function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,"&quot;")+'"'})).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(o?" "+o:"")+">"+i.content+"</"+i.tag+">"},t}();i.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup["tag"].inside["attr-value"].inside["entity"]=i.languages.markup["entity"],i.languages.markup["doctype"].inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes["title"]=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[t]},n["cdata"]=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},i.languages.insertBefore("markup","cdata",r)}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:a}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,s=0;s<r.length;s++)i[r[s]]=e.languages.bash[r[s]];e.languages.shell=e.languages.bash}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.c=i.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\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/,function:/[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),i.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},i.languages.c["string"]],comment:i.languages.c["comment"],"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:i.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete i.languages.c["boolean"],function(e){var t=/\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|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|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/;e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","operator",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(i),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css["atrule"].inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:e.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},n.tag))}(i),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css["atrule"].inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+\b)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#(?:[\da-f]{1,2}){3,4}\b/i,alias:"color"},color:[/\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,{pattern:/\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,inside:{unit:a,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:r})}(i),i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|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/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,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)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\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*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\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*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}}}),i.languages.markup&&i.languages.markup.tag.addInlined("script","javascript"),i.languages.js=i.languages.javascript,function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside["tag"].pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside["tag"].inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function e(t){return t?"string"===typeof t?t:"string"===typeof t.content?t.content:t.content.map(e).join(""):""},a=function t(a){for(var r=[],i=0;i<a.length;i++){var s=a[i],o=!1;if("string"!==typeof s&&("tag"===s.type&&s.content[0]&&"tag"===s.content[0].type?"</"===s.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===n(s.content[0].content[1])&&r.pop():"/>"===s.content[s.content.length-1].content||r.push({tagName:n(s.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===s.type&&"{"===s.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===s.type&&"}"===s.content?r[r.length-1].openedBraces--:o=!0),(o||"string"===typeof s)&&r.length>0&&0===r[r.length-1].openedBraces){var l=n(s);i<a.length-1&&("string"===typeof a[i+1]||"plain-text"===a[i+1].type)&&(l+=n(a[i+1]),a.splice(i+1,1)),i>0&&("string"===typeof a[i-1]||"plain-text"===a[i-1].type)&&(l=n(a[i-1])+l,a.splice(i-1,1),i--),a[i]=new e.Token("plain-text",l,null,l)}s.content&&"string"!==typeof s.content&&t(s.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||a(e.tokens)}))}(i),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function"].source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\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/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript["keyword"].unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],a=0;a<n.length;a++){var r=n[a],i=e.languages.javascript[r];"RegExp"===e.util.type(i)&&(i=e.languages.javascript[r]={pattern:i});var s=i.inside||{};i.inside=s,s["maybe-class-name"]=/^[A-Z][\s\S]*/}}(i),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(i),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var a=t[n],r=[];/^\w+$/.test(n)||r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+a+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(i),i.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},i.languages.go=i.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete i.languages.go["class-name"],i.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:i.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:true|false)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*)[a-zA-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,punctuation:/[!(){}\[\]:=,]/,constant:/\b(?!ID\b)[A-Z][A-Z_\d]*\b/},function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,r,i){if(n.language===a){var s=n.tokenStack=[];n.code=n.code.replace(r,(function(e){if("function"===typeof i&&!i(e))return e;var r,o=s.length;while(-1!==n.code.indexOf(r=t(a,o)))++o;return s[o]=e,r})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var r=0,i=Object.keys(n.tokenStack);s(n.tokens)}function s(o){for(var l=0;l<o.length;l++){if(r>=i.length)break;var u=o[l];if("string"===typeof u||u.content&&"string"===typeof u.content){var c=i[r],d=n.tokenStack[c],p="string"===typeof u?u:u.content,g=t(a,c),f=p.indexOf(g);if(f>-1){++r;var b=p.substring(0,f),m=new e.Token(a,e.tokenize(d,n.grammar),"language-"+a,d),h=p.substring(f+g.length),y=[];b&&y.push.apply(y,s([b])),y.push(m),h&&y.push.apply(y,s([h])),"string"===typeof u?o.splice.apply(o,[l,1].concat(y)):u.content=y}}else u.content&&s(u.content)}return o}}}})}(i),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/i,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:true|false)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/i,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}))}(i),i.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},i.languages.webmanifest=i.languages.json,i.languages.less=i.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,operator:/[+\-*\/]/}),i.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),i.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return a})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+?\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){function t(e){if(e&&"string"!==typeof e)for(var n=0,a=e.length;n<a;n++){var r=e[n];if("code"===r.type){var i=r.content[1],s=r.content[3];if(i&&s&&"code-language"===i.type&&"code-block"===s.type&&"string"===typeof i.content){var o=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase();var l="language-"+o;s.alias?"string"===typeof s.alias?s.alias=[s.alias,l]:s.alias.push(l):s.alias=[l]}}else t(r.content)}}"markdown"!==e.language&&"md"!==e.language||t(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",a=0,r=t.classes.length;a<r;a++){var i=t.classes[a],s=/language-(.+)/.exec(i);if(s){n=s[1];break}}var o=e.languages[n];if(o){var l=t.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&");t.content=e.highlight(l,o,n)}else if(n&&"none"!==n&&e.plugins.autoloader){var u="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes["id"]=u,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}})),e.languages.md=e.languages.markdown}(i),i.languages.objectivec=i.languages.extend("c",{string:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,keyword:/\b(?: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|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete i.languages.objectivec["class-name"],i.languages.objc=i.languages.objectivec,i.languages.ocaml={comment:/\(\*[\s\S]*?\*\)/,string:[{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},{pattern:/(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i,greedy:!0}],number:/\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?[\d_]+)?)/i,directive:{pattern:/\B#\w+/,alias:"important"},label:{pattern:/\B~\w+/,alias:"function"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"variable"},module:{pattern:/\b[A-Z]\w+/,alias:"variable"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,operator:/:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/[(){}\[\]|.,:;]|\b_\b/},i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^\s*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},i.languages.python["string-interpolation"].inside["interpolation"].inside.rest=i.languages.python,i.languages.py=i.languages.python,i.languages.reason=i.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/}),i.languages.insertBefore("reason","class-name",{character:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,alias:"string"},constructor:{pattern:/\b[A-Z]\w*\b(?!\s*\.)/,alias:"variable"},label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete i.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,inside:{atrule:/(?:@[\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,{pattern:/(\s+)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/,lookbehind:!0}})}(i),i.languages.scss=i.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),i.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|forward|for|each|while|import|use|extend|debug|warn|mixin|include|function|return|content)\b/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),i.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),i.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|with|show|hide)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),i.languages.scss["atrule"].inside.rest=i.languages.scss,i.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\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,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},a={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/url\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\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,{pattern:/\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,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:true|false)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};a["interpolation"]={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^{|}$/,alias:"punctuation"},rest:a}},a["func"]={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},e.languages.stylus={"atrule-declaration":{pattern:/(^\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:if|else|for|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(?:\r?\n|\r)(?:\{|\2[ \t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:a.interpolation}},rest:a}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,lookbehind:!0,inside:{interpolation:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}}(i),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\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/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete e.languages.typescript["parameter"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t);var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(i),i.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^_`|~]+/i,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/},function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return a})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return a}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return a})).replace(/<<key>>/g,(function(){return"(?:"+r+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(i),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(i);var s=i,o={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","at-rule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},l=o,u={Prism:s,theme:l};function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(this,arguments)}var p=/\r\n|\r|\n/,g=function(e){0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},f=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},b=function(e){var t=[[]],n=[e],a=[0],r=[e.length],i=0,s=0,o=[],l=[o];while(s>-1){while((i=a[s]++)<r[s]){var u=void 0,c=t[s],d=n[s],b=d[i];if("string"===typeof b?(c=s>0?c:["plain"],u=b):(c=f(c,b.type),b.alias&&(c=f(c,b.alias)),u=b.content),"string"===typeof u){var m=u.split(p),h=m.length;o.push({types:c,content:m[0]});for(var y=1;y<h;y++)g(o),l.push(o=[]),o.push({types:c,content:m[y]})}else s++,t.push(c),n.push(u),a.push(0),r.push(u.length)}s--,t.pop(),n.pop(),a.pop(),r.pop()}return g(o),l},m=function(e,t){var n=e.plain,a=Object.create(null),r=e.styles.reduce((function(e,n){var a=n.languages,r=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=d({},e[t],r);e[t]=n})),e}),a);return r.root=n,r.plain=d({},n,{backgroundColor:null}),r};function h(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}var y=function(e){function t(){var t=this,n=[],a=arguments.length;while(a--)n[a]=arguments[a];e.apply(this,n),c(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?m(e.theme,e.language):void 0;return t.themeDict=n})),c(this,"getLineProps",(function(e){var n=e.key,a=e.className,r=e.style,i=h(e,["key","className","style","line"]),s=i,o=d({},s,{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(o.style=l.plain),void 0!==r&&(o.style=void 0!==o.style?d({},o.style,r):r),void 0!==n&&(o.key=n),a&&(o.className+=" "+a),o})),c(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,r=n.length,i=t.getThemeDict(t.props);if(void 0!==i){if(1===r&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===r&&!a)return i[n[0]];var s=a?{display:"inline-block"}:{},o=n.map((function(e){return i[e]}));return Object.assign.apply(Object,[s].concat(o))}})),c(this,"getTokenProps",(function(e){var n=e.key,a=e.className,r=e.style,i=e.token,s=h(e,["key","className","style","token"]),o=s,l=d({},o,{className:"token "+i.types.join(" "),children:i.content,style:t.getStyleForToken(i),key:void 0});return void 0!==r&&(l.style=void 0!==l.style?d({},l.style,r):r),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l})),c(this,"tokenize",(function(e,t,n,a){var r={code:t,grammar:n,language:a,tokens:[]};e.hooks.run("before-tokenize",r);var i=r.tokens=e.tokenize(r.code,r.grammar,r.language);return e.hooks.run("after-tokenize",r),i}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,r=e.children,i=this.getThemeDict(this.props),s=t.languages[n],o=void 0!==s?this.tokenize(t,a,s,n):[a],l=b(o);return r({tokens:l,className:"prism-code language-"+n,style:void 0!==i?i.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(a["Component"]),E=y,S=n("dEAq");n("qHiR"),n("foS9");function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},k.apply(this,arguments)}function w(e,t){return _(e)||I(e,t)||v(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){if(e){if("string"===typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function I(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],s=!0,o=!1;try{for(n=n.call(e);!(s=(a=n.next()).done);s=!0)if(i.push(a.value),t&&i.length===t)break}catch(l){o=!0,r=l}finally{try{s||null==n["return"]||n["return"]()}finally{if(o)throw r}}return i}}function _(e){if(Array.isArray(e))return e}t["a"]=function(e){var t=e.code,n=e.lang,a=e.showCopy,i=void 0===a||a,s=Object(S["useCopy"])(),o=w(s,2),l=o[0],c=o[1];return r.a.createElement("div",{className:"__dumi-default-code-block"},r.a.createElement(E,k({},u,{code:t,language:n,theme:void 0}),(function(e){var n=e.className,a=e.style,s=e.tokens,o=e.getLineProps,u=e.getTokenProps;return r.a.createElement("pre",{className:n,style:a},i&&r.a.createElement("button",{className:"__dumi-default-icon __dumi-default-code-block-copy-btn","data-status":c,onClick:function(){return l(t)}}),s.map((function(e,t){return r.a.createElement("div",o({line:e,key:t}),e.map((function(e,t){return r.a.createElement("span",u({token:e,key:t}))})))})))})))}},foS9:function(e,t,n){},qHiR:function(e,t,n){}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [3],
3
+ {
4
+ H1Ra: function (e, t, n) {
5
+ 'use strict';
6
+ var a = n('q1tI'),
7
+ r = n.n(a),
8
+ i = (function () {
9
+ var e = 0,
10
+ t = {
11
+ util: {
12
+ encode: function (e) {
13
+ return e instanceof n
14
+ ? new n(e.type, t.util.encode(e.content), e.alias)
15
+ : 'Array' === t.util.type(e)
16
+ ? e.map(t.util.encode)
17
+ : e
18
+ .replace(/&/g, '&amp;')
19
+ .replace(/</g, '&lt;')
20
+ .replace(/\u00a0/g, ' ');
21
+ },
22
+ type: function (e) {
23
+ return Object.prototype.toString
24
+ .call(e)
25
+ .match(/\[object (\w+)\]/)[1];
26
+ },
27
+ objId: function (t) {
28
+ return (
29
+ t['__id'] ||
30
+ Object.defineProperty(t, '__id', { value: ++e }),
31
+ t['__id']
32
+ );
33
+ },
34
+ clone: function (e, n) {
35
+ var a = t.util.type(e);
36
+ switch (((n = n || {}), a)) {
37
+ case 'Object':
38
+ if (n[t.util.objId(e)]) return n[t.util.objId(e)];
39
+ i = {};
40
+ for (var r in ((n[t.util.objId(e)] = i), e))
41
+ e.hasOwnProperty(r) && (i[r] = t.util.clone(e[r], n));
42
+ return i;
43
+ case 'Array':
44
+ if (n[t.util.objId(e)]) return n[t.util.objId(e)];
45
+ var i = [];
46
+ return (
47
+ (n[t.util.objId(e)] = i),
48
+ e.forEach(function (e, a) {
49
+ i[a] = t.util.clone(e, n);
50
+ }),
51
+ i
52
+ );
53
+ }
54
+ return e;
55
+ },
56
+ },
57
+ languages: {
58
+ extend: function (e, n) {
59
+ var a = t.util.clone(t.languages[e]);
60
+ for (var r in n) a[r] = n[r];
61
+ return a;
62
+ },
63
+ insertBefore: function (e, n, a, r) {
64
+ r = r || t.languages;
65
+ var i = r[e];
66
+ if (2 == arguments.length) {
67
+ for (var s in ((a = arguments[1]), a))
68
+ a.hasOwnProperty(s) && (i[s] = a[s]);
69
+ return i;
70
+ }
71
+ var o = {};
72
+ for (var l in i)
73
+ if (i.hasOwnProperty(l)) {
74
+ if (l == n)
75
+ for (var s in a) a.hasOwnProperty(s) && (o[s] = a[s]);
76
+ o[l] = i[l];
77
+ }
78
+ return (
79
+ t.languages.DFS(t.languages, function (t, n) {
80
+ n === r[e] && t != e && (this[t] = o);
81
+ }),
82
+ (r[e] = o)
83
+ );
84
+ },
85
+ DFS: function (e, n, a, r) {
86
+ for (var i in ((r = r || {}), e))
87
+ e.hasOwnProperty(i) &&
88
+ (n.call(e, i, e[i], a || i),
89
+ 'Object' !== t.util.type(e[i]) || r[t.util.objId(e[i])]
90
+ ? 'Array' !== t.util.type(e[i]) ||
91
+ r[t.util.objId(e[i])] ||
92
+ ((r[t.util.objId(e[i])] = !0),
93
+ t.languages.DFS(e[i], n, i, r))
94
+ : ((r[t.util.objId(e[i])] = !0),
95
+ t.languages.DFS(e[i], n, null, r)));
96
+ },
97
+ },
98
+ plugins: {},
99
+ highlight: function (e, a, r) {
100
+ var i = { code: e, grammar: a, language: r };
101
+ return (
102
+ t.hooks.run('before-tokenize', i),
103
+ (i.tokens = t.tokenize(i.code, i.grammar)),
104
+ t.hooks.run('after-tokenize', i),
105
+ n.stringify(t.util.encode(i.tokens), i.language)
106
+ );
107
+ },
108
+ matchGrammar: function (e, n, a, r, i, s, o) {
109
+ var l = t.Token;
110
+ for (var u in a)
111
+ if (a.hasOwnProperty(u) && a[u]) {
112
+ if (u == o) return;
113
+ var c = a[u];
114
+ c = 'Array' === t.util.type(c) ? c : [c];
115
+ for (var d = 0; d < c.length; ++d) {
116
+ var p = c[d],
117
+ g = p.inside,
118
+ f = !!p.lookbehind,
119
+ b = !!p.greedy,
120
+ m = 0,
121
+ h = p.alias;
122
+ if (b && !p.pattern.global) {
123
+ var y = p.pattern.toString().match(/[imuy]*$/)[0];
124
+ p.pattern = RegExp(p.pattern.source, y + 'g');
125
+ }
126
+ p = p.pattern || p;
127
+ for (
128
+ var E = r, S = i;
129
+ E < n.length;
130
+ S += n[E].length, ++E
131
+ ) {
132
+ var k = n[E];
133
+ if (n.length > e.length) return;
134
+ if (!(k instanceof l)) {
135
+ if (b && E != n.length - 1) {
136
+ p.lastIndex = S;
137
+ var w = p.exec(e);
138
+ if (!w) break;
139
+ for (
140
+ var A = w.index + (f ? w[1].length : 0),
141
+ v = w.index + w[0].length,
142
+ T = E,
143
+ I = S,
144
+ _ = n.length;
145
+ T < _ &&
146
+ (I < v || (!n[T].type && !n[T - 1].greedy));
147
+ ++T
148
+ )
149
+ (I += n[T].length), A >= I && (++E, (S = I));
150
+ if (n[E] instanceof l) continue;
151
+ (R = T - E), (k = e.slice(S, I)), (w.index -= S);
152
+ } else {
153
+ p.lastIndex = 0;
154
+ w = p.exec(k);
155
+ var R = 1;
156
+ }
157
+ if (w) {
158
+ f && (m = w[1] ? w[1].length : 0);
159
+ (A = w.index + m),
160
+ (w = w[0].slice(m)),
161
+ (v = A + w.length);
162
+ var O = k.slice(0, A),
163
+ N = k.slice(v),
164
+ L = [E, R];
165
+ O && (++E, (S += O.length), L.push(O));
166
+ var x = new l(u, g ? t.tokenize(w, g) : w, h, w, b);
167
+ if (
168
+ (L.push(x),
169
+ N && L.push(N),
170
+ Array.prototype.splice.apply(n, L),
171
+ 1 != R && t.matchGrammar(e, n, a, E, S, !0, u),
172
+ s)
173
+ )
174
+ break;
175
+ } else if (s) break;
176
+ }
177
+ }
178
+ }
179
+ }
180
+ },
181
+ hooks: { add: function () {}, run: function (e, t) {} },
182
+ tokenize: function (e, n, a) {
183
+ var r = [e],
184
+ i = n.rest;
185
+ if (i) {
186
+ for (var s in i) n[s] = i[s];
187
+ delete n.rest;
188
+ }
189
+ return t.matchGrammar(e, r, n, 0, 0, !1), r;
190
+ },
191
+ },
192
+ n = (t.Token = function (e, t, n, a, r) {
193
+ (this.type = e),
194
+ (this.content = t),
195
+ (this.alias = n),
196
+ (this.length = 0 | (a || '').length),
197
+ (this.greedy = !!r);
198
+ });
199
+ return (
200
+ (n.stringify = function (e, a, r) {
201
+ if ('string' == typeof e) return e;
202
+ if ('Array' === t.util.type(e))
203
+ return e
204
+ .map(function (t) {
205
+ return n.stringify(t, a, e);
206
+ })
207
+ .join('');
208
+ var i = {
209
+ type: e.type,
210
+ content: n.stringify(e.content, a, r),
211
+ tag: 'span',
212
+ classes: ['token', e.type],
213
+ attributes: {},
214
+ language: a,
215
+ parent: r,
216
+ };
217
+ if (e.alias) {
218
+ var s = 'Array' === t.util.type(e.alias) ? e.alias : [e.alias];
219
+ Array.prototype.push.apply(i.classes, s);
220
+ }
221
+ var o = Object.keys(i.attributes)
222
+ .map(function (e) {
223
+ return (
224
+ e +
225
+ '="' +
226
+ (i.attributes[e] || '').replace(/"/g, '&quot;') +
227
+ '"'
228
+ );
229
+ })
230
+ .join(' ');
231
+ return (
232
+ '<' +
233
+ i.tag +
234
+ ' class="' +
235
+ i.classes.join(' ') +
236
+ '"' +
237
+ (o ? ' ' + o : '') +
238
+ '>' +
239
+ i.content +
240
+ '</' +
241
+ i.tag +
242
+ '>'
243
+ );
244
+ }),
245
+ t
246
+ );
247
+ })();
248
+ (i.languages.markup = {
249
+ comment: /<!--[\s\S]*?-->/,
250
+ prolog: /<\?[\s\S]+?\?>/,
251
+ doctype: {
252
+ pattern:
253
+ /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
254
+ greedy: !0,
255
+ inside: {
256
+ 'internal-subset': {
257
+ pattern: /(\[)[\s\S]+(?=\]>$)/,
258
+ lookbehind: !0,
259
+ greedy: !0,
260
+ inside: null,
261
+ },
262
+ string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 },
263
+ punctuation: /^<!|>$|[[\]]/,
264
+ 'doctype-tag': /^DOCTYPE/,
265
+ name: /[^\s<>'"]+/,
266
+ },
267
+ },
268
+ cdata: /<!\[CDATA\[[\s\S]*?]]>/i,
269
+ tag: {
270
+ pattern:
271
+ /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
272
+ greedy: !0,
273
+ inside: {
274
+ tag: {
275
+ pattern: /^<\/?[^\s>\/]+/,
276
+ inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ },
277
+ },
278
+ 'attr-value': {
279
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
280
+ inside: {
281
+ punctuation: [{ pattern: /^=/, alias: 'attr-equals' }, /"|'/],
282
+ },
283
+ },
284
+ punctuation: /\/?>/,
285
+ 'attr-name': {
286
+ pattern: /[^\s>\/]+/,
287
+ inside: { namespace: /^[^\s>\/:]+:/ },
288
+ },
289
+ },
290
+ },
291
+ entity: [
292
+ { pattern: /&[\da-z]{1,8};/i, alias: 'named-entity' },
293
+ /&#x?[\da-f]{1,8};/i,
294
+ ],
295
+ }),
296
+ (i.languages.markup['tag'].inside['attr-value'].inside['entity'] =
297
+ i.languages.markup['entity']),
298
+ (i.languages.markup['doctype'].inside['internal-subset'].inside =
299
+ i.languages.markup),
300
+ i.hooks.add('wrap', function (e) {
301
+ 'entity' === e.type &&
302
+ (e.attributes['title'] = e.content.replace(/&amp;/, '&'));
303
+ }),
304
+ Object.defineProperty(i.languages.markup.tag, 'addInlined', {
305
+ value: function (e, t) {
306
+ var n = {};
307
+ (n['language-' + t] = {
308
+ pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
309
+ lookbehind: !0,
310
+ inside: i.languages[t],
311
+ }),
312
+ (n['cdata'] = /^<!\[CDATA\[|\]\]>$/i);
313
+ var a = {
314
+ 'included-cdata': {
315
+ pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
316
+ inside: n,
317
+ },
318
+ };
319
+ a['language-' + t] = { pattern: /[\s\S]+/, inside: i.languages[t] };
320
+ var r = {};
321
+ (r[e] = {
322
+ pattern: RegExp(
323
+ /(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(
324
+ /__/g,
325
+ function () {
326
+ return e;
327
+ },
328
+ ),
329
+ 'i',
330
+ ),
331
+ lookbehind: !0,
332
+ greedy: !0,
333
+ inside: a,
334
+ }),
335
+ i.languages.insertBefore('markup', 'cdata', r);
336
+ },
337
+ }),
338
+ (i.languages.html = i.languages.markup),
339
+ (i.languages.mathml = i.languages.markup),
340
+ (i.languages.svg = i.languages.markup),
341
+ (i.languages.xml = i.languages.extend('markup', {})),
342
+ (i.languages.ssml = i.languages.xml),
343
+ (i.languages.atom = i.languages.xml),
344
+ (i.languages.rss = i.languages.xml),
345
+ (function (e) {
346
+ var t =
347
+ '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b',
348
+ n = {
349
+ pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
350
+ lookbehind: !0,
351
+ alias: 'punctuation',
352
+ inside: null,
353
+ },
354
+ a = {
355
+ bash: n,
356
+ environment: { pattern: RegExp('\\$' + t), alias: 'constant' },
357
+ variable: [
358
+ {
359
+ pattern: /\$?\(\([\s\S]+?\)\)/,
360
+ greedy: !0,
361
+ inside: {
362
+ variable: [
363
+ { pattern: /(^\$\(\([\s\S]+)\)\)/, lookbehind: !0 },
364
+ /^\$\(\(/,
365
+ ],
366
+ number:
367
+ /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
368
+ operator:
369
+ /--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,
370
+ punctuation: /\(\(?|\)\)?|,|;/,
371
+ },
372
+ },
373
+ {
374
+ pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
375
+ greedy: !0,
376
+ inside: { variable: /^\$\(|^`|\)$|`$/ },
377
+ },
378
+ {
379
+ pattern: /\$\{[^}]+\}/,
380
+ greedy: !0,
381
+ inside: {
382
+ operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
383
+ punctuation: /[\[\]]/,
384
+ environment: {
385
+ pattern: RegExp('(\\{)' + t),
386
+ lookbehind: !0,
387
+ alias: 'constant',
388
+ },
389
+ },
390
+ },
391
+ /\$(?:\w+|[#?*!@$])/,
392
+ ],
393
+ entity:
394
+ /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/,
395
+ };
396
+ (e.languages.bash = {
397
+ shebang: { pattern: /^#!\s*\/.*/, alias: 'important' },
398
+ comment: { pattern: /(^|[^"{\\$])#.*/, lookbehind: !0 },
399
+ 'function-name': [
400
+ {
401
+ pattern: /(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,
402
+ lookbehind: !0,
403
+ alias: 'function',
404
+ },
405
+ { pattern: /\b\w+(?=\s*\(\s*\)\s*\{)/, alias: 'function' },
406
+ ],
407
+ 'for-or-select': {
408
+ pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
409
+ alias: 'variable',
410
+ lookbehind: !0,
411
+ },
412
+ 'assign-left': {
413
+ pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
414
+ inside: {
415
+ environment: {
416
+ pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + t),
417
+ lookbehind: !0,
418
+ alias: 'constant',
419
+ },
420
+ },
421
+ alias: 'variable',
422
+ lookbehind: !0,
423
+ },
424
+ string: [
425
+ {
426
+ pattern: /((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,
427
+ lookbehind: !0,
428
+ greedy: !0,
429
+ inside: a,
430
+ },
431
+ {
432
+ pattern:
433
+ /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
434
+ lookbehind: !0,
435
+ greedy: !0,
436
+ inside: { bash: n },
437
+ },
438
+ {
439
+ pattern:
440
+ /(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,
441
+ lookbehind: !0,
442
+ greedy: !0,
443
+ inside: a,
444
+ },
445
+ ],
446
+ environment: { pattern: RegExp('\\$?' + t), alias: 'constant' },
447
+ variable: a.variable,
448
+ function: {
449
+ pattern:
450
+ /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
451
+ lookbehind: !0,
452
+ },
453
+ keyword: {
454
+ pattern:
455
+ /(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,
456
+ lookbehind: !0,
457
+ },
458
+ builtin: {
459
+ pattern:
460
+ /(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,
461
+ lookbehind: !0,
462
+ alias: 'class-name',
463
+ },
464
+ boolean: {
465
+ pattern: /(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,
466
+ lookbehind: !0,
467
+ },
468
+ 'file-descriptor': { pattern: /\B&\d\b/, alias: 'important' },
469
+ operator: {
470
+ pattern:
471
+ /\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,
472
+ inside: {
473
+ 'file-descriptor': { pattern: /^\d/, alias: 'important' },
474
+ },
475
+ },
476
+ punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
477
+ number: {
478
+ pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
479
+ lookbehind: !0,
480
+ },
481
+ }),
482
+ (n.inside = e.languages.bash);
483
+ for (
484
+ var r = [
485
+ 'comment',
486
+ 'function-name',
487
+ 'for-or-select',
488
+ 'assign-left',
489
+ 'string',
490
+ 'environment',
491
+ 'function',
492
+ 'keyword',
493
+ 'builtin',
494
+ 'boolean',
495
+ 'file-descriptor',
496
+ 'operator',
497
+ 'punctuation',
498
+ 'number',
499
+ ],
500
+ i = a.variable[1].inside,
501
+ s = 0;
502
+ s < r.length;
503
+ s++
504
+ )
505
+ i[r[s]] = e.languages.bash[r[s]];
506
+ e.languages.shell = e.languages.bash;
507
+ })(i),
508
+ (i.languages.clike = {
509
+ comment: [
510
+ {
511
+ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
512
+ lookbehind: !0,
513
+ greedy: !0,
514
+ },
515
+ { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 },
516
+ ],
517
+ string: {
518
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
519
+ greedy: !0,
520
+ },
521
+ 'class-name': {
522
+ pattern:
523
+ /(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,
524
+ lookbehind: !0,
525
+ inside: { punctuation: /[.\\]/ },
526
+ },
527
+ keyword:
528
+ /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,
529
+ boolean: /\b(?:true|false)\b/,
530
+ function: /\w+(?=\()/,
531
+ number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
532
+ operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
533
+ punctuation: /[{}[\];(),.:]/,
534
+ }),
535
+ (i.languages.c = i.languages.extend('clike', {
536
+ comment: {
537
+ pattern:
538
+ /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,
539
+ greedy: !0,
540
+ },
541
+ 'class-name': {
542
+ pattern:
543
+ /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,
544
+ lookbehind: !0,
545
+ },
546
+ keyword:
547
+ /\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/,
548
+ function: /[a-z_]\w*(?=\s*\()/i,
549
+ number:
550
+ /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,
551
+ operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,
552
+ })),
553
+ i.languages.insertBefore('c', 'string', {
554
+ macro: {
555
+ pattern:
556
+ /(^\s*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,
557
+ lookbehind: !0,
558
+ greedy: !0,
559
+ alias: 'property',
560
+ inside: {
561
+ string: [
562
+ { pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: !0 },
563
+ i.languages.c['string'],
564
+ ],
565
+ comment: i.languages.c['comment'],
566
+ 'macro-name': [
567
+ { pattern: /(^#\s*define\s+)\w+\b(?!\()/i, lookbehind: !0 },
568
+ {
569
+ pattern: /(^#\s*define\s+)\w+\b(?=\()/i,
570
+ lookbehind: !0,
571
+ alias: 'function',
572
+ },
573
+ ],
574
+ directive: {
575
+ pattern: /^(#\s*)[a-z]+/,
576
+ lookbehind: !0,
577
+ alias: 'keyword',
578
+ },
579
+ 'directive-hash': /^#/,
580
+ punctuation: /##|\\(?=[\r\n])/,
581
+ expression: { pattern: /\S[\s\S]*/, inside: i.languages.c },
582
+ },
583
+ },
584
+ constant:
585
+ /\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/,
586
+ }),
587
+ delete i.languages.c['boolean'],
588
+ (function (e) {
589
+ var t =
590
+ /\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|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|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/;
591
+ (e.languages.cpp = e.languages.extend('c', {
592
+ 'class-name': [
593
+ {
594
+ pattern: RegExp(
595
+ /(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(
596
+ /<keyword>/g,
597
+ function () {
598
+ return t.source;
599
+ },
600
+ ),
601
+ ),
602
+ lookbehind: !0,
603
+ },
604
+ /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,
605
+ /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,
606
+ /\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/,
607
+ ],
608
+ keyword: t,
609
+ number: {
610
+ pattern:
611
+ /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,
612
+ greedy: !0,
613
+ },
614
+ operator:
615
+ />>=?|<<=?|->|([-+&|:])\1|[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,
616
+ boolean: /\b(?:true|false)\b/,
617
+ })),
618
+ e.languages.insertBefore('cpp', 'string', {
619
+ 'raw-string': {
620
+ pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,
621
+ alias: 'string',
622
+ greedy: !0,
623
+ },
624
+ }),
625
+ e.languages.insertBefore('cpp', 'class-name', {
626
+ 'base-clause': {
627
+ pattern:
628
+ /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,
629
+ lookbehind: !0,
630
+ greedy: !0,
631
+ inside: e.languages.extend('cpp', {}),
632
+ },
633
+ }),
634
+ e.languages.insertBefore(
635
+ 'inside',
636
+ 'operator',
637
+ { 'class-name': /\b[a-z_]\w*\b(?!\s*::)/i },
638
+ e.languages.cpp['base-clause'],
639
+ );
640
+ })(i),
641
+ (function (e) {
642
+ var t = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
643
+ (e.languages.css = {
644
+ comment: /\/\*[\s\S]*?\*\//,
645
+ atrule: {
646
+ pattern: /@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,
647
+ inside: {
648
+ rule: /^@[\w-]+/,
649
+ 'selector-function-argument': {
650
+ pattern:
651
+ /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
652
+ lookbehind: !0,
653
+ alias: 'selector',
654
+ },
655
+ keyword: {
656
+ pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
657
+ lookbehind: !0,
658
+ },
659
+ },
660
+ },
661
+ url: {
662
+ pattern: RegExp(
663
+ '\\burl\\((?:' +
664
+ t.source +
665
+ '|' +
666
+ /(?:[^\\\r\n()"']|\\[\s\S])*/.source +
667
+ ')\\)',
668
+ 'i',
669
+ ),
670
+ greedy: !0,
671
+ inside: {
672
+ function: /^url/i,
673
+ punctuation: /^\(|\)$/,
674
+ string: { pattern: RegExp('^' + t.source + '$'), alias: 'url' },
675
+ },
676
+ },
677
+ selector: RegExp(
678
+ '[^{}\\s](?:[^{};"\'\\s]|\\s+(?![\\s{])|' +
679
+ t.source +
680
+ ')*(?=\\s*\\{)',
681
+ ),
682
+ string: { pattern: t, greedy: !0 },
683
+ property:
684
+ /(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
685
+ important: /!important\b/i,
686
+ function: /[-a-z0-9]+(?=\()/i,
687
+ punctuation: /[(){};:,]/,
688
+ }),
689
+ (e.languages.css['atrule'].inside.rest = e.languages.css);
690
+ var n = e.languages.markup;
691
+ n &&
692
+ (n.tag.addInlined('style', 'css'),
693
+ e.languages.insertBefore(
694
+ 'inside',
695
+ 'attr-value',
696
+ {
697
+ 'style-attr': {
698
+ pattern: /(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,
699
+ lookbehind: !0,
700
+ inside: {
701
+ 'attr-value': {
702
+ pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
703
+ inside: {
704
+ style: {
705
+ pattern: /(["'])[\s\S]+(?=["']$)/,
706
+ lookbehind: !0,
707
+ alias: 'language-css',
708
+ inside: e.languages.css,
709
+ },
710
+ punctuation: [
711
+ { pattern: /^=/, alias: 'attr-equals' },
712
+ /"|'/,
713
+ ],
714
+ },
715
+ },
716
+ 'attr-name': /^style/i,
717
+ },
718
+ },
719
+ },
720
+ n.tag,
721
+ ));
722
+ })(i),
723
+ (function (e) {
724
+ var t,
725
+ n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;
726
+ (e.languages.css.selector = {
727
+ pattern: e.languages.css.selector,
728
+ inside: (t = {
729
+ 'pseudo-element':
730
+ /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,
731
+ 'pseudo-class': /:[-\w]+/,
732
+ class: /\.[-\w]+/,
733
+ id: /#[-\w]+/,
734
+ attribute: {
735
+ pattern: RegExp('\\[(?:[^[\\]"\']|' + n.source + ')*\\]'),
736
+ greedy: !0,
737
+ inside: {
738
+ punctuation: /^\[|\]$/,
739
+ 'case-sensitivity': {
740
+ pattern: /(\s)[si]$/i,
741
+ lookbehind: !0,
742
+ alias: 'keyword',
743
+ },
744
+ namespace: {
745
+ pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,
746
+ lookbehind: !0,
747
+ inside: { punctuation: /\|$/ },
748
+ },
749
+ 'attr-name': {
750
+ pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,
751
+ lookbehind: !0,
752
+ },
753
+ 'attr-value': [
754
+ n,
755
+ {
756
+ pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,
757
+ lookbehind: !0,
758
+ },
759
+ ],
760
+ operator: /[|~*^$]?=/,
761
+ },
762
+ },
763
+ 'n-th': [
764
+ {
765
+ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,
766
+ lookbehind: !0,
767
+ inside: { number: /[\dn]+/, operator: /[+-]/ },
768
+ },
769
+ { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 },
770
+ ],
771
+ combinator: />|\+|~|\|\|/,
772
+ punctuation: /[(),]/,
773
+ }),
774
+ }),
775
+ (e.languages.css['atrule'].inside[
776
+ 'selector-function-argument'
777
+ ].inside = t),
778
+ e.languages.insertBefore('css', 'property', {
779
+ variable: {
780
+ pattern:
781
+ /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,
782
+ lookbehind: !0,
783
+ },
784
+ });
785
+ var a = { pattern: /(\b\d+)(?:%|[a-z]+\b)/, lookbehind: !0 },
786
+ r = {
787
+ pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
788
+ lookbehind: !0,
789
+ };
790
+ e.languages.insertBefore('css', 'function', {
791
+ operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 },
792
+ hexcode: { pattern: /\B#(?:[\da-f]{1,2}){3,4}\b/i, alias: 'color' },
793
+ color: [
794
+ /\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,
795
+ {
796
+ pattern:
797
+ /\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,
798
+ inside: {
799
+ unit: a,
800
+ number: r,
801
+ function: /[\w-]+(?=\()/,
802
+ punctuation: /[(),]/,
803
+ },
804
+ },
805
+ ],
806
+ entity: /\\[\da-f]{1,8}/i,
807
+ unit: a,
808
+ number: r,
809
+ });
810
+ })(i),
811
+ (i.languages.javascript = i.languages.extend('clike', {
812
+ 'class-name': [
813
+ i.languages.clike['class-name'],
814
+ {
815
+ pattern:
816
+ /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,
817
+ lookbehind: !0,
818
+ },
819
+ ],
820
+ keyword: [
821
+ { pattern: /((?:^|})\s*)(?:catch|finally)\b/, lookbehind: !0 },
822
+ {
823
+ pattern:
824
+ /(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|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/,
825
+ lookbehind: !0,
826
+ },
827
+ ],
828
+ function:
829
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
830
+ number:
831
+ /\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)?)+)?/,
832
+ operator:
833
+ /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,
834
+ })),
835
+ (i.languages.javascript['class-name'][0].pattern =
836
+ /(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/),
837
+ i.languages.insertBefore('javascript', 'keyword', {
838
+ regex: {
839
+ pattern:
840
+ /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,
841
+ lookbehind: !0,
842
+ greedy: !0,
843
+ inside: {
844
+ 'regex-source': {
845
+ pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
846
+ lookbehind: !0,
847
+ alias: 'language-regex',
848
+ inside: i.languages.regex,
849
+ },
850
+ 'regex-flags': /[a-z]+$/,
851
+ 'regex-delimiter': /^\/|\/$/,
852
+ },
853
+ },
854
+ 'function-variable': {
855
+ pattern:
856
+ /#?(?!\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*=>))/,
857
+ alias: 'function',
858
+ },
859
+ parameter: [
860
+ {
861
+ pattern:
862
+ /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
863
+ lookbehind: !0,
864
+ inside: i.languages.javascript,
865
+ },
866
+ {
867
+ pattern:
868
+ /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
869
+ inside: i.languages.javascript,
870
+ },
871
+ {
872
+ pattern:
873
+ /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
874
+ lookbehind: !0,
875
+ inside: i.languages.javascript,
876
+ },
877
+ {
878
+ pattern:
879
+ /((?:\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*\{)/,
880
+ lookbehind: !0,
881
+ inside: i.languages.javascript,
882
+ },
883
+ ],
884
+ constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/,
885
+ }),
886
+ i.languages.insertBefore('javascript', 'string', {
887
+ 'template-string': {
888
+ pattern:
889
+ /`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,
890
+ greedy: !0,
891
+ inside: {
892
+ 'template-punctuation': { pattern: /^`|`$/, alias: 'string' },
893
+ interpolation: {
894
+ pattern:
895
+ /((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,
896
+ lookbehind: !0,
897
+ inside: {
898
+ 'interpolation-punctuation': {
899
+ pattern: /^\${|}$/,
900
+ alias: 'punctuation',
901
+ },
902
+ rest: i.languages.javascript,
903
+ },
904
+ },
905
+ string: /[\s\S]+/,
906
+ },
907
+ },
908
+ }),
909
+ i.languages.markup &&
910
+ i.languages.markup.tag.addInlined('script', 'javascript'),
911
+ (i.languages.js = i.languages.javascript),
912
+ (function (e) {
913
+ var t = e.util.clone(e.languages.javascript);
914
+ (e.languages.jsx = e.languages.extend('markup', t)),
915
+ (e.languages.jsx.tag.pattern =
916
+ /<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i),
917
+ (e.languages.jsx.tag.inside['tag'].pattern = /^<\/?[^\s>\/]*/i),
918
+ (e.languages.jsx.tag.inside['attr-value'].pattern =
919
+ /=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i),
920
+ (e.languages.jsx.tag.inside['tag'].inside['class-name'] =
921
+ /^[A-Z]\w*(?:\.[A-Z]\w*)*$/),
922
+ e.languages.insertBefore(
923
+ 'inside',
924
+ 'attr-name',
925
+ {
926
+ spread: {
927
+ pattern:
928
+ /\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,
929
+ inside: { punctuation: /\.{3}|[{}.]/, 'attr-value': /\w+/ },
930
+ },
931
+ },
932
+ e.languages.jsx.tag,
933
+ ),
934
+ e.languages.insertBefore(
935
+ 'inside',
936
+ 'attr-value',
937
+ {
938
+ script: {
939
+ pattern: /=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,
940
+ inside: {
941
+ 'script-punctuation': {
942
+ pattern: /^=(?={)/,
943
+ alias: 'punctuation',
944
+ },
945
+ rest: e.languages.jsx,
946
+ },
947
+ alias: 'language-javascript',
948
+ },
949
+ },
950
+ e.languages.jsx.tag,
951
+ );
952
+ var n = function e(t) {
953
+ return t
954
+ ? 'string' === typeof t
955
+ ? t
956
+ : 'string' === typeof t.content
957
+ ? t.content
958
+ : t.content.map(e).join('')
959
+ : '';
960
+ },
961
+ a = function t(a) {
962
+ for (var r = [], i = 0; i < a.length; i++) {
963
+ var s = a[i],
964
+ o = !1;
965
+ if (
966
+ ('string' !== typeof s &&
967
+ ('tag' === s.type &&
968
+ s.content[0] &&
969
+ 'tag' === s.content[0].type
970
+ ? '</' === s.content[0].content[0].content
971
+ ? r.length > 0 &&
972
+ r[r.length - 1].tagName ===
973
+ n(s.content[0].content[1]) &&
974
+ r.pop()
975
+ : '/>' === s.content[s.content.length - 1].content ||
976
+ r.push({
977
+ tagName: n(s.content[0].content[1]),
978
+ openedBraces: 0,
979
+ })
980
+ : r.length > 0 &&
981
+ 'punctuation' === s.type &&
982
+ '{' === s.content
983
+ ? r[r.length - 1].openedBraces++
984
+ : r.length > 0 &&
985
+ r[r.length - 1].openedBraces > 0 &&
986
+ 'punctuation' === s.type &&
987
+ '}' === s.content
988
+ ? r[r.length - 1].openedBraces--
989
+ : (o = !0)),
990
+ (o || 'string' === typeof s) &&
991
+ r.length > 0 &&
992
+ 0 === r[r.length - 1].openedBraces)
993
+ ) {
994
+ var l = n(s);
995
+ i < a.length - 1 &&
996
+ ('string' === typeof a[i + 1] ||
997
+ 'plain-text' === a[i + 1].type) &&
998
+ ((l += n(a[i + 1])), a.splice(i + 1, 1)),
999
+ i > 0 &&
1000
+ ('string' === typeof a[i - 1] ||
1001
+ 'plain-text' === a[i - 1].type) &&
1002
+ ((l = n(a[i - 1]) + l), a.splice(i - 1, 1), i--),
1003
+ (a[i] = new e.Token('plain-text', l, null, l));
1004
+ }
1005
+ s.content && 'string' !== typeof s.content && t(s.content);
1006
+ }
1007
+ };
1008
+ e.hooks.add('after-tokenize', function (e) {
1009
+ ('jsx' !== e.language && 'tsx' !== e.language) || a(e.tokens);
1010
+ });
1011
+ })(i),
1012
+ (function (e) {
1013
+ function t(e, t) {
1014
+ return RegExp(
1015
+ e.replace(/<ID>/g, function () {
1016
+ return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/
1017
+ .source;
1018
+ }),
1019
+ t,
1020
+ );
1021
+ }
1022
+ e.languages.insertBefore('javascript', 'function-variable', {
1023
+ 'method-variable': {
1024
+ pattern: RegExp(
1025
+ '(\\.\\s*)' +
1026
+ e.languages.javascript['function-variable'].pattern.source,
1027
+ ),
1028
+ lookbehind: !0,
1029
+ alias: [
1030
+ 'function-variable',
1031
+ 'method',
1032
+ 'function',
1033
+ 'property-access',
1034
+ ],
1035
+ },
1036
+ }),
1037
+ e.languages.insertBefore('javascript', 'function', {
1038
+ method: {
1039
+ pattern: RegExp(
1040
+ '(\\.\\s*)' + e.languages.javascript['function'].source,
1041
+ ),
1042
+ lookbehind: !0,
1043
+ alias: ['function', 'property-access'],
1044
+ },
1045
+ }),
1046
+ e.languages.insertBefore('javascript', 'constant', {
1047
+ 'known-class-name': [
1048
+ {
1049
+ pattern:
1050
+ /\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/,
1051
+ alias: 'class-name',
1052
+ },
1053
+ { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: 'class-name' },
1054
+ ],
1055
+ }),
1056
+ e.languages.insertBefore('javascript', 'keyword', {
1057
+ imports: {
1058
+ pattern: t(
1059
+ /(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/
1060
+ .source,
1061
+ ),
1062
+ lookbehind: !0,
1063
+ inside: e.languages.javascript,
1064
+ },
1065
+ exports: {
1066
+ pattern: t(
1067
+ /(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/
1068
+ .source,
1069
+ ),
1070
+ lookbehind: !0,
1071
+ inside: e.languages.javascript,
1072
+ },
1073
+ }),
1074
+ e.languages.javascript['keyword'].unshift(
1075
+ {
1076
+ pattern: /\b(?:as|default|export|from|import)\b/,
1077
+ alias: 'module',
1078
+ },
1079
+ {
1080
+ pattern:
1081
+ /\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,
1082
+ alias: 'control-flow',
1083
+ },
1084
+ { pattern: /\bnull\b/, alias: ['null', 'nil'] },
1085
+ { pattern: /\bundefined\b/, alias: 'nil' },
1086
+ ),
1087
+ e.languages.insertBefore('javascript', 'operator', {
1088
+ spread: { pattern: /\.{3}/, alias: 'operator' },
1089
+ arrow: { pattern: /=>/, alias: 'operator' },
1090
+ }),
1091
+ e.languages.insertBefore('javascript', 'punctuation', {
1092
+ 'property-access': {
1093
+ pattern: t(/(\.\s*)#?<ID>/.source),
1094
+ lookbehind: !0,
1095
+ },
1096
+ 'maybe-class-name': {
1097
+ pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
1098
+ lookbehind: !0,
1099
+ },
1100
+ dom: {
1101
+ pattern:
1102
+ /\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,
1103
+ alias: 'variable',
1104
+ },
1105
+ console: { pattern: /\bconsole(?=\s*\.)/, alias: 'class-name' },
1106
+ });
1107
+ for (
1108
+ var n = [
1109
+ 'function',
1110
+ 'function-variable',
1111
+ 'method',
1112
+ 'method-variable',
1113
+ 'property-access',
1114
+ ],
1115
+ a = 0;
1116
+ a < n.length;
1117
+ a++
1118
+ ) {
1119
+ var r = n[a],
1120
+ i = e.languages.javascript[r];
1121
+ 'RegExp' === e.util.type(i) &&
1122
+ (i = e.languages.javascript[r] = { pattern: i });
1123
+ var s = i.inside || {};
1124
+ (i.inside = s), (s['maybe-class-name'] = /^[A-Z][\s\S]*/);
1125
+ }
1126
+ })(i),
1127
+ (function (e) {
1128
+ var t = /#(?!\{).+/,
1129
+ n = { pattern: /#\{[^}]+\}/, alias: 'variable' };
1130
+ (e.languages.coffeescript = e.languages.extend('javascript', {
1131
+ comment: t,
1132
+ string: [
1133
+ { pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 },
1134
+ {
1135
+ pattern: /"(?:\\[\s\S]|[^\\"])*"/,
1136
+ greedy: !0,
1137
+ inside: { interpolation: n },
1138
+ },
1139
+ ],
1140
+ keyword:
1141
+ /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
1142
+ 'class-member': { pattern: /@(?!\d)\w+/, alias: 'variable' },
1143
+ })),
1144
+ e.languages.insertBefore('coffeescript', 'comment', {
1145
+ 'multiline-comment': {
1146
+ pattern: /###[\s\S]+?###/,
1147
+ alias: 'comment',
1148
+ },
1149
+ 'block-regex': {
1150
+ pattern: /\/{3}[\s\S]*?\/{3}/,
1151
+ alias: 'regex',
1152
+ inside: { comment: t, interpolation: n },
1153
+ },
1154
+ }),
1155
+ e.languages.insertBefore('coffeescript', 'string', {
1156
+ 'inline-javascript': {
1157
+ pattern: /`(?:\\[\s\S]|[^\\`])*`/,
1158
+ inside: {
1159
+ delimiter: { pattern: /^`|`$/, alias: 'punctuation' },
1160
+ script: {
1161
+ pattern: /[\s\S]+/,
1162
+ alias: 'language-javascript',
1163
+ inside: e.languages.javascript,
1164
+ },
1165
+ },
1166
+ },
1167
+ 'multiline-string': [
1168
+ { pattern: /'''[\s\S]*?'''/, greedy: !0, alias: 'string' },
1169
+ {
1170
+ pattern: /"""[\s\S]*?"""/,
1171
+ greedy: !0,
1172
+ alias: 'string',
1173
+ inside: { interpolation: n },
1174
+ },
1175
+ ],
1176
+ }),
1177
+ e.languages.insertBefore('coffeescript', 'keyword', {
1178
+ property: /(?!\d)\w+(?=\s*:(?!:))/,
1179
+ }),
1180
+ delete e.languages.coffeescript['template-string'],
1181
+ (e.languages.coffee = e.languages.coffeescript);
1182
+ })(i),
1183
+ (function (e) {
1184
+ e.languages.diff = {
1185
+ coord: [/^(?:\*{3}|-{3}|\+{3}).*$/m, /^@@.*@@$/m, /^\d.*$/m],
1186
+ };
1187
+ var t = {
1188
+ 'deleted-sign': '-',
1189
+ 'deleted-arrow': '<',
1190
+ 'inserted-sign': '+',
1191
+ 'inserted-arrow': '>',
1192
+ unchanged: ' ',
1193
+ diff: '!',
1194
+ };
1195
+ Object.keys(t).forEach(function (n) {
1196
+ var a = t[n],
1197
+ r = [];
1198
+ /^\w+$/.test(n) || r.push(/\w+/.exec(n)[0]),
1199
+ 'diff' === n && r.push('bold'),
1200
+ (e.languages.diff[n] = {
1201
+ pattern: RegExp(
1202
+ '^(?:[' + a + '].*(?:\r\n?|\n|(?![\\s\\S])))+',
1203
+ 'm',
1204
+ ),
1205
+ alias: r,
1206
+ inside: {
1207
+ line: {
1208
+ pattern: /(.)(?=[\s\S]).*(?:\r\n?|\n)?/,
1209
+ lookbehind: !0,
1210
+ },
1211
+ prefix: { pattern: /[\s\S]/, alias: /\w+/.exec(n)[0] },
1212
+ },
1213
+ });
1214
+ }),
1215
+ Object.defineProperty(e.languages.diff, 'PREFIXES', { value: t });
1216
+ })(i),
1217
+ (i.languages.git = {
1218
+ comment: /^#.*/m,
1219
+ deleted: /^[-\u2013].*/m,
1220
+ inserted: /^\+.*/m,
1221
+ string: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,
1222
+ command: {
1223
+ pattern: /^.*\$ git .*$/m,
1224
+ inside: { parameter: /\s--?\w+/m },
1225
+ },
1226
+ coord: /^@@.*@@$/m,
1227
+ 'commit-sha1': /^commit \w{40}$/m,
1228
+ }),
1229
+ (i.languages.go = i.languages.extend('clike', {
1230
+ string: { pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 },
1231
+ keyword:
1232
+ /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,
1233
+ boolean: /\b(?:_|iota|nil|true|false)\b/,
1234
+ number:
1235
+ /(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,
1236
+ operator:
1237
+ /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,
1238
+ builtin:
1239
+ /\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,
1240
+ })),
1241
+ delete i.languages.go['class-name'],
1242
+ (i.languages.graphql = {
1243
+ comment: /#.*/,
1244
+ description: {
1245
+ pattern:
1246
+ /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
1247
+ greedy: !0,
1248
+ alias: 'string',
1249
+ inside: {
1250
+ 'language-markdown': {
1251
+ pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,
1252
+ lookbehind: !0,
1253
+ inside: i.languages.markdown,
1254
+ },
1255
+ },
1256
+ },
1257
+ string: {
1258
+ pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,
1259
+ greedy: !0,
1260
+ },
1261
+ number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
1262
+ boolean: /\b(?:true|false)\b/,
1263
+ variable: /\$[a-z_]\w*/i,
1264
+ directive: { pattern: /@[a-z_]\w*/i, alias: 'function' },
1265
+ 'attr-name': {
1266
+ pattern:
1267
+ /[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
1268
+ greedy: !0,
1269
+ },
1270
+ 'class-name': {
1271
+ pattern:
1272
+ /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*)[a-zA-Z_]\w*/,
1273
+ lookbehind: !0,
1274
+ },
1275
+ fragment: {
1276
+ pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,
1277
+ lookbehind: !0,
1278
+ alias: 'function',
1279
+ },
1280
+ keyword:
1281
+ /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
1282
+ operator: /[!=|&]|\.{3}/,
1283
+ punctuation: /[!(){}\[\]:=,]/,
1284
+ constant: /\b(?!ID\b)[A-Z][A-Z_\d]*\b/,
1285
+ }),
1286
+ (function (e) {
1287
+ function t(e, t) {
1288
+ return '___' + e.toUpperCase() + t + '___';
1289
+ }
1290
+ Object.defineProperties((e.languages['markup-templating'] = {}), {
1291
+ buildPlaceholders: {
1292
+ value: function (n, a, r, i) {
1293
+ if (n.language === a) {
1294
+ var s = (n.tokenStack = []);
1295
+ (n.code = n.code.replace(r, function (e) {
1296
+ if ('function' === typeof i && !i(e)) return e;
1297
+ var r,
1298
+ o = s.length;
1299
+ while (-1 !== n.code.indexOf((r = t(a, o)))) ++o;
1300
+ return (s[o] = e), r;
1301
+ })),
1302
+ (n.grammar = e.languages.markup);
1303
+ }
1304
+ },
1305
+ },
1306
+ tokenizePlaceholders: {
1307
+ value: function (n, a) {
1308
+ if (n.language === a && n.tokenStack) {
1309
+ n.grammar = e.languages[a];
1310
+ var r = 0,
1311
+ i = Object.keys(n.tokenStack);
1312
+ s(n.tokens);
1313
+ }
1314
+ function s(o) {
1315
+ for (var l = 0; l < o.length; l++) {
1316
+ if (r >= i.length) break;
1317
+ var u = o[l];
1318
+ if (
1319
+ 'string' === typeof u ||
1320
+ (u.content && 'string' === typeof u.content)
1321
+ ) {
1322
+ var c = i[r],
1323
+ d = n.tokenStack[c],
1324
+ p = 'string' === typeof u ? u : u.content,
1325
+ g = t(a, c),
1326
+ f = p.indexOf(g);
1327
+ if (f > -1) {
1328
+ ++r;
1329
+ var b = p.substring(0, f),
1330
+ m = new e.Token(
1331
+ a,
1332
+ e.tokenize(d, n.grammar),
1333
+ 'language-' + a,
1334
+ d,
1335
+ ),
1336
+ h = p.substring(f + g.length),
1337
+ y = [];
1338
+ b && y.push.apply(y, s([b])),
1339
+ y.push(m),
1340
+ h && y.push.apply(y, s([h])),
1341
+ 'string' === typeof u
1342
+ ? o.splice.apply(o, [l, 1].concat(y))
1343
+ : (u.content = y);
1344
+ }
1345
+ } else u.content && s(u.content);
1346
+ }
1347
+ return o;
1348
+ }
1349
+ },
1350
+ },
1351
+ });
1352
+ })(i),
1353
+ (function (e) {
1354
+ (e.languages.handlebars = {
1355
+ comment: /\{\{![\s\S]*?\}\}/,
1356
+ delimiter: { pattern: /^\{\{\{?|\}\}\}?$/i, alias: 'punctuation' },
1357
+ string: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,
1358
+ number:
1359
+ /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,
1360
+ boolean: /\b(?:true|false)\b/,
1361
+ block: {
1362
+ pattern: /^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/i,
1363
+ lookbehind: !0,
1364
+ alias: 'keyword',
1365
+ },
1366
+ brackets: {
1367
+ pattern: /\[[^\]]+\]/,
1368
+ inside: { punctuation: /\[|\]/, variable: /[\s\S]+/ },
1369
+ },
1370
+ punctuation: /[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,
1371
+ variable: /[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/,
1372
+ }),
1373
+ e.hooks.add('before-tokenize', function (t) {
1374
+ var n = /\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;
1375
+ e.languages['markup-templating'].buildPlaceholders(
1376
+ t,
1377
+ 'handlebars',
1378
+ n,
1379
+ );
1380
+ }),
1381
+ e.hooks.add('after-tokenize', function (t) {
1382
+ e.languages['markup-templating'].tokenizePlaceholders(
1383
+ t,
1384
+ 'handlebars',
1385
+ );
1386
+ });
1387
+ })(i),
1388
+ (i.languages.json = {
1389
+ property: { pattern: /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, greedy: !0 },
1390
+ string: { pattern: /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, greedy: !0 },
1391
+ comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 },
1392
+ number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
1393
+ punctuation: /[{}[\],]/,
1394
+ operator: /:/,
1395
+ boolean: /\b(?:true|false)\b/,
1396
+ null: { pattern: /\bnull\b/, alias: 'keyword' },
1397
+ }),
1398
+ (i.languages.webmanifest = i.languages.json),
1399
+ (i.languages.less = i.languages.extend('css', {
1400
+ comment: [
1401
+ /\/\*[\s\S]*?\*\//,
1402
+ { pattern: /(^|[^\\])\/\/.*/, lookbehind: !0 },
1403
+ ],
1404
+ atrule: {
1405
+ pattern:
1406
+ /@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,
1407
+ inside: { punctuation: /[:()]/ },
1408
+ },
1409
+ selector: {
1410
+ pattern:
1411
+ /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,
1412
+ inside: { variable: /@+[\w-]+/ },
1413
+ },
1414
+ property: /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,
1415
+ operator: /[+\-*\/]/,
1416
+ })),
1417
+ i.languages.insertBefore('less', 'property', {
1418
+ variable: [
1419
+ { pattern: /@[\w-]+\s*:/, inside: { punctuation: /:/ } },
1420
+ /@@?[\w-]+/,
1421
+ ],
1422
+ 'mixin-usage': {
1423
+ pattern: /([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,
1424
+ lookbehind: !0,
1425
+ alias: 'function',
1426
+ },
1427
+ }),
1428
+ (i.languages.makefile = {
1429
+ comment: {
1430
+ pattern: /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,
1431
+ lookbehind: !0,
1432
+ },
1433
+ string: {
1434
+ pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
1435
+ greedy: !0,
1436
+ },
1437
+ builtin: /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,
1438
+ symbol: {
1439
+ pattern: /^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,
1440
+ inside: { variable: /\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/ },
1441
+ },
1442
+ variable: /\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,
1443
+ keyword: [
1444
+ /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,
1445
+ {
1446
+ pattern:
1447
+ /(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \t])/,
1448
+ lookbehind: !0,
1449
+ },
1450
+ ],
1451
+ operator: /(?:::|[?:+!])?=|[|@]/,
1452
+ punctuation: /[:;(){}]/,
1453
+ }),
1454
+ (function (e) {
1455
+ var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;
1456
+ function n(e) {
1457
+ return (
1458
+ (e = e.replace(/<inner>/g, function () {
1459
+ return t;
1460
+ })),
1461
+ RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + '(?:' + e + ')')
1462
+ );
1463
+ }
1464
+ var a = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/
1465
+ .source,
1466
+ r = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(
1467
+ /__/g,
1468
+ function () {
1469
+ return a;
1470
+ },
1471
+ ),
1472
+ i =
1473
+ /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/
1474
+ .source;
1475
+ (e.languages.markdown = e.languages.extend('markup', {})),
1476
+ e.languages.insertBefore('markdown', 'prolog', {
1477
+ 'front-matter-block': {
1478
+ pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
1479
+ lookbehind: !0,
1480
+ greedy: !0,
1481
+ inside: {
1482
+ punctuation: /^---|---$/,
1483
+ 'font-matter': {
1484
+ pattern: /\S+(?:\s+\S+)*/,
1485
+ alias: ['yaml', 'language-yaml'],
1486
+ inside: e.languages.yaml,
1487
+ },
1488
+ },
1489
+ },
1490
+ blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: 'punctuation' },
1491
+ table: {
1492
+ pattern: RegExp('^' + r + i + '(?:' + r + ')*', 'm'),
1493
+ inside: {
1494
+ 'table-data-rows': {
1495
+ pattern: RegExp('^(' + r + i + ')(?:' + r + ')*$'),
1496
+ lookbehind: !0,
1497
+ inside: {
1498
+ 'table-data': {
1499
+ pattern: RegExp(a),
1500
+ inside: e.languages.markdown,
1501
+ },
1502
+ punctuation: /\|/,
1503
+ },
1504
+ },
1505
+ 'table-line': {
1506
+ pattern: RegExp('^(' + r + ')' + i + '$'),
1507
+ lookbehind: !0,
1508
+ inside: { punctuation: /\||:?-{3,}:?/ },
1509
+ },
1510
+ 'table-header-row': {
1511
+ pattern: RegExp('^' + r + '$'),
1512
+ inside: {
1513
+ 'table-header': {
1514
+ pattern: RegExp(a),
1515
+ alias: 'important',
1516
+ inside: e.languages.markdown,
1517
+ },
1518
+ punctuation: /\|/,
1519
+ },
1520
+ },
1521
+ },
1522
+ },
1523
+ code: [
1524
+ {
1525
+ pattern:
1526
+ /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
1527
+ lookbehind: !0,
1528
+ alias: 'keyword',
1529
+ },
1530
+ { pattern: /``.+?``|`[^`\r\n]+`/, alias: 'keyword' },
1531
+ {
1532
+ pattern: /^```[\s\S]*?^```$/m,
1533
+ greedy: !0,
1534
+ inside: {
1535
+ 'code-block': {
1536
+ pattern:
1537
+ /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
1538
+ lookbehind: !0,
1539
+ },
1540
+ 'code-language': { pattern: /^(```).+/, lookbehind: !0 },
1541
+ punctuation: /```/,
1542
+ },
1543
+ },
1544
+ ],
1545
+ title: [
1546
+ {
1547
+ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
1548
+ alias: 'important',
1549
+ inside: { punctuation: /==+$|--+$/ },
1550
+ },
1551
+ {
1552
+ pattern: /(^\s*)#.+/m,
1553
+ lookbehind: !0,
1554
+ alias: 'important',
1555
+ inside: { punctuation: /^#+|#+$/ },
1556
+ },
1557
+ ],
1558
+ hr: {
1559
+ pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
1560
+ lookbehind: !0,
1561
+ alias: 'punctuation',
1562
+ },
1563
+ list: {
1564
+ pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
1565
+ lookbehind: !0,
1566
+ alias: 'punctuation',
1567
+ },
1568
+ 'url-reference': {
1569
+ pattern:
1570
+ /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
1571
+ inside: {
1572
+ variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 },
1573
+ string:
1574
+ /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
1575
+ punctuation: /^[\[\]!:]|[<>]/,
1576
+ },
1577
+ alias: 'url',
1578
+ },
1579
+ bold: {
1580
+ pattern: n(
1581
+ /\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/
1582
+ .source,
1583
+ ),
1584
+ lookbehind: !0,
1585
+ greedy: !0,
1586
+ inside: {
1587
+ content: {
1588
+ pattern: /(^..)[\s\S]+(?=..$)/,
1589
+ lookbehind: !0,
1590
+ inside: {},
1591
+ },
1592
+ punctuation: /\*\*|__/,
1593
+ },
1594
+ },
1595
+ italic: {
1596
+ pattern: n(
1597
+ /\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/
1598
+ .source,
1599
+ ),
1600
+ lookbehind: !0,
1601
+ greedy: !0,
1602
+ inside: {
1603
+ content: {
1604
+ pattern: /(^.)[\s\S]+(?=.$)/,
1605
+ lookbehind: !0,
1606
+ inside: {},
1607
+ },
1608
+ punctuation: /[*_]/,
1609
+ },
1610
+ },
1611
+ strike: {
1612
+ pattern: n(/(~~?)(?:(?!~)<inner>)+?\2/.source),
1613
+ lookbehind: !0,
1614
+ greedy: !0,
1615
+ inside: {
1616
+ content: {
1617
+ pattern: /(^~~?)[\s\S]+(?=\1$)/,
1618
+ lookbehind: !0,
1619
+ inside: {},
1620
+ },
1621
+ punctuation: /~~?/,
1622
+ },
1623
+ },
1624
+ url: {
1625
+ pattern: n(
1626
+ /!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/
1627
+ .source,
1628
+ ),
1629
+ lookbehind: !0,
1630
+ greedy: !0,
1631
+ inside: {
1632
+ operator: /^!/,
1633
+ content: {
1634
+ pattern: /(^\[)[^\]]+(?=\])/,
1635
+ lookbehind: !0,
1636
+ inside: {},
1637
+ },
1638
+ variable: {
1639
+ pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
1640
+ lookbehind: !0,
1641
+ },
1642
+ url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 },
1643
+ string: {
1644
+ pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
1645
+ lookbehind: !0,
1646
+ },
1647
+ },
1648
+ },
1649
+ }),
1650
+ ['url', 'bold', 'italic', 'strike'].forEach(function (t) {
1651
+ ['url', 'bold', 'italic', 'strike'].forEach(function (n) {
1652
+ t !== n &&
1653
+ (e.languages.markdown[t].inside.content.inside[n] =
1654
+ e.languages.markdown[n]);
1655
+ });
1656
+ }),
1657
+ e.hooks.add('after-tokenize', function (e) {
1658
+ function t(e) {
1659
+ if (e && 'string' !== typeof e)
1660
+ for (var n = 0, a = e.length; n < a; n++) {
1661
+ var r = e[n];
1662
+ if ('code' === r.type) {
1663
+ var i = r.content[1],
1664
+ s = r.content[3];
1665
+ if (
1666
+ i &&
1667
+ s &&
1668
+ 'code-language' === i.type &&
1669
+ 'code-block' === s.type &&
1670
+ 'string' === typeof i.content
1671
+ ) {
1672
+ var o = i.content
1673
+ .replace(/\b#/g, 'sharp')
1674
+ .replace(/\b\+\+/g, 'pp');
1675
+ o = (/[a-z][\w-]*/i.exec(o) || [''])[0].toLowerCase();
1676
+ var l = 'language-' + o;
1677
+ s.alias
1678
+ ? 'string' === typeof s.alias
1679
+ ? (s.alias = [s.alias, l])
1680
+ : s.alias.push(l)
1681
+ : (s.alias = [l]);
1682
+ }
1683
+ } else t(r.content);
1684
+ }
1685
+ }
1686
+ ('markdown' !== e.language && 'md' !== e.language) || t(e.tokens);
1687
+ }),
1688
+ e.hooks.add('wrap', function (t) {
1689
+ if ('code-block' === t.type) {
1690
+ for (var n = '', a = 0, r = t.classes.length; a < r; a++) {
1691
+ var i = t.classes[a],
1692
+ s = /language-(.+)/.exec(i);
1693
+ if (s) {
1694
+ n = s[1];
1695
+ break;
1696
+ }
1697
+ }
1698
+ var o = e.languages[n];
1699
+ if (o) {
1700
+ var l = t.content
1701
+ .replace(/&lt;/g, '<')
1702
+ .replace(/&amp;/g, '&');
1703
+ t.content = e.highlight(l, o, n);
1704
+ } else if (n && 'none' !== n && e.plugins.autoloader) {
1705
+ var u =
1706
+ 'md-' +
1707
+ new Date().valueOf() +
1708
+ '-' +
1709
+ Math.floor(1e16 * Math.random());
1710
+ (t.attributes['id'] = u),
1711
+ e.plugins.autoloader.loadLanguages(n, function () {
1712
+ var t = document.getElementById(u);
1713
+ t &&
1714
+ (t.innerHTML = e.highlight(
1715
+ t.textContent,
1716
+ e.languages[n],
1717
+ n,
1718
+ ));
1719
+ });
1720
+ }
1721
+ }
1722
+ }),
1723
+ (e.languages.md = e.languages.markdown);
1724
+ })(i),
1725
+ (i.languages.objectivec = i.languages.extend('c', {
1726
+ string:
1727
+ /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
1728
+ keyword:
1729
+ /\b(?: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|in|self|super)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
1730
+ operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/,
1731
+ })),
1732
+ delete i.languages.objectivec['class-name'],
1733
+ (i.languages.objc = i.languages.objectivec),
1734
+ (i.languages.ocaml = {
1735
+ comment: /\(\*[\s\S]*?\*\)/,
1736
+ string: [
1737
+ { pattern: /"(?:\\.|[^\\\r\n"])*"/, greedy: !0 },
1738
+ {
1739
+ pattern: /(['`])(?:\\(?:\d+|x[\da-f]+|.)|(?!\1)[^\\\r\n])\1/i,
1740
+ greedy: !0,
1741
+ },
1742
+ ],
1743
+ number:
1744
+ /\b(?:0x[\da-f][\da-f_]+|(?:0[bo])?\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?[\d_]+)?)/i,
1745
+ directive: { pattern: /\B#\w+/, alias: 'important' },
1746
+ label: { pattern: /\B~\w+/, alias: 'function' },
1747
+ 'type-variable': { pattern: /\B'\w+/, alias: 'function' },
1748
+ variant: { pattern: /`\w+/, alias: 'variable' },
1749
+ module: { pattern: /\b[A-Z]\w+/, alias: 'variable' },
1750
+ keyword:
1751
+ /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,
1752
+ boolean: /\b(?:false|true)\b/,
1753
+ operator:
1754
+ /:=|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,
1755
+ punctuation: /[(){}\[\]|.,:;]|\b_\b/,
1756
+ }),
1757
+ (i.languages.python = {
1758
+ comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0 },
1759
+ 'string-interpolation': {
1760
+ pattern:
1761
+ /(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
1762
+ greedy: !0,
1763
+ inside: {
1764
+ interpolation: {
1765
+ pattern:
1766
+ /((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,
1767
+ lookbehind: !0,
1768
+ inside: {
1769
+ 'format-spec': {
1770
+ pattern: /(:)[^:(){}]+(?=}$)/,
1771
+ lookbehind: !0,
1772
+ },
1773
+ 'conversion-option': {
1774
+ pattern: /![sra](?=[:}]$)/,
1775
+ alias: 'punctuation',
1776
+ },
1777
+ rest: null,
1778
+ },
1779
+ },
1780
+ string: /[\s\S]+/,
1781
+ },
1782
+ },
1783
+ 'triple-quoted-string': {
1784
+ pattern: /(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,
1785
+ greedy: !0,
1786
+ alias: 'string',
1787
+ },
1788
+ string: {
1789
+ pattern: /(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
1790
+ greedy: !0,
1791
+ },
1792
+ function: {
1793
+ pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
1794
+ lookbehind: !0,
1795
+ },
1796
+ 'class-name': { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 },
1797
+ decorator: {
1798
+ pattern: /(^\s*)@\w+(?:\.\w+)*/im,
1799
+ lookbehind: !0,
1800
+ alias: ['annotation', 'punctuation'],
1801
+ inside: { punctuation: /\./ },
1802
+ },
1803
+ keyword:
1804
+ /\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
1805
+ builtin:
1806
+ /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
1807
+ boolean: /\b(?:True|False|None)\b/,
1808
+ number:
1809
+ /(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,
1810
+ operator: /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
1811
+ punctuation: /[{}[\];(),.:]/,
1812
+ }),
1813
+ (i.languages.python['string-interpolation'].inside[
1814
+ 'interpolation'
1815
+ ].inside.rest = i.languages.python),
1816
+ (i.languages.py = i.languages.python),
1817
+ (i.languages.reason = i.languages.extend('clike', {
1818
+ string: {
1819
+ pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
1820
+ greedy: !0,
1821
+ },
1822
+ 'class-name': /\b[A-Z]\w*/,
1823
+ keyword:
1824
+ /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,
1825
+ operator:
1826
+ /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:mod|land|lor|lxor|lsl|lsr|asr)\b/,
1827
+ })),
1828
+ i.languages.insertBefore('reason', 'class-name', {
1829
+ character: {
1830
+ pattern:
1831
+ /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,
1832
+ alias: 'string',
1833
+ },
1834
+ constructor: { pattern: /\b[A-Z]\w*\b(?!\s*\.)/, alias: 'variable' },
1835
+ label: { pattern: /\b[a-z]\w*(?=::)/, alias: 'symbol' },
1836
+ }),
1837
+ delete i.languages.reason.function,
1838
+ (function (e) {
1839
+ (e.languages.sass = e.languages.extend('css', {
1840
+ comment: {
1841
+ pattern: /^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,
1842
+ lookbehind: !0,
1843
+ },
1844
+ })),
1845
+ e.languages.insertBefore('sass', 'atrule', {
1846
+ 'atrule-line': {
1847
+ pattern: /^(?:[ \t]*)[@+=].+/m,
1848
+ inside: { atrule: /(?:@[\w-]+|[+=])/m },
1849
+ },
1850
+ }),
1851
+ delete e.languages.sass.atrule;
1852
+ var t = /\$[-\w]+|#\{\$[-\w]+\}/,
1853
+ n = [
1854
+ /[+*\/%]|[=!]=|<=?|>=?|\b(?:and|or|not)\b/,
1855
+ { pattern: /(\s+)-(?=\s)/, lookbehind: !0 },
1856
+ ];
1857
+ e.languages.insertBefore('sass', 'property', {
1858
+ 'variable-line': {
1859
+ pattern: /^[ \t]*\$.+/m,
1860
+ inside: { punctuation: /:/, variable: t, operator: n },
1861
+ },
1862
+ 'property-line': {
1863
+ pattern: /^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,
1864
+ inside: {
1865
+ property: [
1866
+ /[^:\s]+(?=\s*:)/,
1867
+ { pattern: /(:)[^:\s]+/, lookbehind: !0 },
1868
+ ],
1869
+ punctuation: /:/,
1870
+ variable: t,
1871
+ operator: n,
1872
+ important: e.languages.sass.important,
1873
+ },
1874
+ },
1875
+ }),
1876
+ delete e.languages.sass.property,
1877
+ delete e.languages.sass.important,
1878
+ e.languages.insertBefore('sass', 'punctuation', {
1879
+ selector: {
1880
+ pattern:
1881
+ /([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/,
1882
+ lookbehind: !0,
1883
+ },
1884
+ });
1885
+ })(i),
1886
+ (i.languages.scss = i.languages.extend('css', {
1887
+ comment: {
1888
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
1889
+ lookbehind: !0,
1890
+ },
1891
+ atrule: {
1892
+ pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
1893
+ inside: { rule: /@[\w-]+/ },
1894
+ },
1895
+ url: /(?:[-a-z]+-)?url(?=\()/i,
1896
+ selector: {
1897
+ pattern:
1898
+ /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]+))/m,
1899
+ inside: {
1900
+ parent: { pattern: /&/, alias: 'important' },
1901
+ placeholder: /%[-\w]+/,
1902
+ variable: /\$[-\w]+|#\{\$[-\w]+\}/,
1903
+ },
1904
+ },
1905
+ property: {
1906
+ pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
1907
+ inside: { variable: /\$[-\w]+|#\{\$[-\w]+\}/ },
1908
+ },
1909
+ })),
1910
+ i.languages.insertBefore('scss', 'atrule', {
1911
+ keyword: [
1912
+ /@(?:if|else(?: if)?|forward|for|each|while|import|use|extend|debug|warn|mixin|include|function|return|content)\b/i,
1913
+ { pattern: /( +)(?:from|through)(?= )/, lookbehind: !0 },
1914
+ ],
1915
+ }),
1916
+ i.languages.insertBefore('scss', 'important', {
1917
+ variable: /\$[-\w]+|#\{\$[-\w]+\}/,
1918
+ }),
1919
+ i.languages.insertBefore('scss', 'function', {
1920
+ 'module-modifier': {
1921
+ pattern: /\b(?:as|with|show|hide)\b/i,
1922
+ alias: 'keyword',
1923
+ },
1924
+ placeholder: { pattern: /%[-\w]+/, alias: 'selector' },
1925
+ statement: {
1926
+ pattern: /\B!(?:default|optional)\b/i,
1927
+ alias: 'keyword',
1928
+ },
1929
+ boolean: /\b(?:true|false)\b/,
1930
+ null: { pattern: /\bnull\b/, alias: 'keyword' },
1931
+ operator: {
1932
+ pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,
1933
+ lookbehind: !0,
1934
+ },
1935
+ }),
1936
+ (i.languages.scss['atrule'].inside.rest = i.languages.scss),
1937
+ (i.languages.sql = {
1938
+ comment: {
1939
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
1940
+ lookbehind: !0,
1941
+ },
1942
+ variable: [
1943
+ { pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 },
1944
+ /@[\w.$]+/,
1945
+ ],
1946
+ string: {
1947
+ pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,
1948
+ greedy: !0,
1949
+ lookbehind: !0,
1950
+ },
1951
+ function:
1952
+ /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,
1953
+ keyword:
1954
+ /\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,
1955
+ boolean: /\b(?:TRUE|FALSE|NULL)\b/i,
1956
+ number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,
1957
+ operator:
1958
+ /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,
1959
+ punctuation: /[;[\]()`,.]/,
1960
+ }),
1961
+ (function (e) {
1962
+ var t = { pattern: /(\b\d+)(?:%|[a-z]+)/, lookbehind: !0 },
1963
+ n = {
1964
+ pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
1965
+ lookbehind: !0,
1966
+ },
1967
+ a = {
1968
+ comment: {
1969
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
1970
+ lookbehind: !0,
1971
+ },
1972
+ url: { pattern: /url\((["']?).*?\1\)/i, greedy: !0 },
1973
+ string: {
1974
+ pattern: /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,
1975
+ greedy: !0,
1976
+ },
1977
+ interpolation: null,
1978
+ func: null,
1979
+ important: /\B!(?:important|optional)\b/i,
1980
+ keyword: {
1981
+ pattern:
1982
+ /(^|\s+)(?:(?:if|else|for|return|unless)(?=\s+|$)|@[\w-]+)/,
1983
+ lookbehind: !0,
1984
+ },
1985
+ hexcode: /#[\da-f]{3,6}/i,
1986
+ color: [
1987
+ /\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,
1988
+ {
1989
+ pattern:
1990
+ /\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,
1991
+ inside: {
1992
+ unit: t,
1993
+ number: n,
1994
+ function: /[\w-]+(?=\()/,
1995
+ punctuation: /[(),]/,
1996
+ },
1997
+ },
1998
+ ],
1999
+ entity: /\\[\da-f]{1,8}/i,
2000
+ unit: t,
2001
+ boolean: /\b(?:true|false)\b/,
2002
+ operator: [
2003
+ /~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/,
2004
+ ],
2005
+ number: n,
2006
+ punctuation: /[{}()\[\];:,]/,
2007
+ };
2008
+ (a['interpolation'] = {
2009
+ pattern: /\{[^\r\n}:]+\}/,
2010
+ alias: 'variable',
2011
+ inside: {
2012
+ delimiter: { pattern: /^{|}$/, alias: 'punctuation' },
2013
+ rest: a,
2014
+ },
2015
+ }),
2016
+ (a['func'] = {
2017
+ pattern: /[\w-]+\([^)]*\).*/,
2018
+ inside: { function: /^[^(]+/, rest: a },
2019
+ }),
2020
+ (e.languages.stylus = {
2021
+ 'atrule-declaration': {
2022
+ pattern: /(^\s*)@.+/m,
2023
+ lookbehind: !0,
2024
+ inside: { atrule: /^@[\w-]+/, rest: a },
2025
+ },
2026
+ 'variable-declaration': {
2027
+ pattern: /(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,
2028
+ lookbehind: !0,
2029
+ inside: { variable: /^\S+/, rest: a },
2030
+ },
2031
+ statement: {
2032
+ pattern: /(^[ \t]*)(?:if|else|for|return|unless)[ \t].+/m,
2033
+ lookbehind: !0,
2034
+ inside: { keyword: /^\S+/, rest: a },
2035
+ },
2036
+ 'property-declaration': {
2037
+ pattern:
2038
+ /((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,](?=$)(?!(?:\r?\n|\r)(?:\{|\2[ \t]+)))/m,
2039
+ lookbehind: !0,
2040
+ inside: {
2041
+ property: {
2042
+ pattern: /^[^\s:]+/,
2043
+ inside: { interpolation: a.interpolation },
2044
+ },
2045
+ rest: a,
2046
+ },
2047
+ },
2048
+ selector: {
2049
+ pattern:
2050
+ /(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t]+)))/m,
2051
+ lookbehind: !0,
2052
+ inside: {
2053
+ interpolation: a.interpolation,
2054
+ comment: a.comment,
2055
+ punctuation: /[{},]/,
2056
+ },
2057
+ },
2058
+ func: a.func,
2059
+ string: a.string,
2060
+ comment: {
2061
+ pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
2062
+ lookbehind: !0,
2063
+ greedy: !0,
2064
+ },
2065
+ interpolation: a.interpolation,
2066
+ punctuation: /[{}()\[\];:.]/,
2067
+ });
2068
+ })(i),
2069
+ (function (e) {
2070
+ (e.languages.typescript = e.languages.extend('javascript', {
2071
+ 'class-name': {
2072
+ pattern:
2073
+ /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
2074
+ lookbehind: !0,
2075
+ greedy: !0,
2076
+ inside: null,
2077
+ },
2078
+ keyword:
2079
+ /\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/,
2080
+ builtin:
2081
+ /\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/,
2082
+ })),
2083
+ delete e.languages.typescript['parameter'];
2084
+ var t = e.languages.extend('typescript', {});
2085
+ delete t['class-name'],
2086
+ (e.languages.typescript['class-name'].inside = t),
2087
+ e.languages.insertBefore('typescript', 'function', {
2088
+ 'generic-function': {
2089
+ pattern:
2090
+ /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
2091
+ greedy: !0,
2092
+ inside: {
2093
+ function:
2094
+ /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
2095
+ generic: {
2096
+ pattern: /<[\s\S]+/,
2097
+ alias: 'class-name',
2098
+ inside: t,
2099
+ },
2100
+ },
2101
+ },
2102
+ }),
2103
+ (e.languages.ts = e.languages.typescript);
2104
+ })(i),
2105
+ (function (e) {
2106
+ var t = e.util.clone(e.languages.typescript);
2107
+ e.languages.tsx = e.languages.extend('jsx', t);
2108
+ var n = e.languages.tsx.tag;
2109
+ (n.pattern = RegExp(
2110
+ /(^|[^\w$]|(?=<\/))/.source + '(?:' + n.pattern.source + ')',
2111
+ n.pattern.flags,
2112
+ )),
2113
+ (n.lookbehind = !0);
2114
+ })(i),
2115
+ (i.languages.wasm = {
2116
+ comment: [/\(;[\s\S]*?;\)/, { pattern: /;;.*/, greedy: !0 }],
2117
+ string: { pattern: /"(?:\\[\s\S]|[^"\\])*"/, greedy: !0 },
2118
+ keyword: [
2119
+ { pattern: /\b(?:align|offset)=/, inside: { operator: /=/ } },
2120
+ {
2121
+ pattern:
2122
+ /\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,
2123
+ inside: { punctuation: /\./ },
2124
+ },
2125
+ /\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/,
2126
+ ],
2127
+ variable: /\$[\w!#$%&'*+\-./:<=>?@\\^_`|~]+/i,
2128
+ number:
2129
+ /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,
2130
+ punctuation: /[()]/,
2131
+ }),
2132
+ (function (e) {
2133
+ var t = /[*&][^\s[\]{},]+/,
2134
+ n =
2135
+ /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,
2136
+ a =
2137
+ '(?:' +
2138
+ n.source +
2139
+ '(?:[ \t]+' +
2140
+ t.source +
2141
+ ')?|' +
2142
+ t.source +
2143
+ '(?:[ \t]+' +
2144
+ n.source +
2145
+ ')?)',
2146
+ r =
2147
+ /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(
2148
+ /<PLAIN>/g,
2149
+ function () {
2150
+ return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/
2151
+ .source;
2152
+ },
2153
+ ),
2154
+ i = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
2155
+ function s(e, t) {
2156
+ t = (t || '').replace(/m/g, '') + 'm';
2157
+ var n =
2158
+ /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source
2159
+ .replace(/<<prop>>/g, function () {
2160
+ return a;
2161
+ })
2162
+ .replace(/<<value>>/g, function () {
2163
+ return e;
2164
+ });
2165
+ return RegExp(n, t);
2166
+ }
2167
+ (e.languages.yaml = {
2168
+ scalar: {
2169
+ pattern: RegExp(
2170
+ /([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(
2171
+ /<<prop>>/g,
2172
+ function () {
2173
+ return a;
2174
+ },
2175
+ ),
2176
+ ),
2177
+ lookbehind: !0,
2178
+ alias: 'string',
2179
+ },
2180
+ comment: /#.*/,
2181
+ key: {
2182
+ pattern: RegExp(
2183
+ /((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source
2184
+ .replace(/<<prop>>/g, function () {
2185
+ return a;
2186
+ })
2187
+ .replace(/<<key>>/g, function () {
2188
+ return '(?:' + r + '|' + i + ')';
2189
+ }),
2190
+ ),
2191
+ lookbehind: !0,
2192
+ greedy: !0,
2193
+ alias: 'atrule',
2194
+ },
2195
+ directive: {
2196
+ pattern: /(^[ \t]*)%.+/m,
2197
+ lookbehind: !0,
2198
+ alias: 'important',
2199
+ },
2200
+ datetime: {
2201
+ pattern: s(
2202
+ /\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/
2203
+ .source,
2204
+ ),
2205
+ lookbehind: !0,
2206
+ alias: 'number',
2207
+ },
2208
+ boolean: {
2209
+ pattern: s(/true|false/.source, 'i'),
2210
+ lookbehind: !0,
2211
+ alias: 'important',
2212
+ },
2213
+ null: {
2214
+ pattern: s(/null|~/.source, 'i'),
2215
+ lookbehind: !0,
2216
+ alias: 'important',
2217
+ },
2218
+ string: { pattern: s(i), lookbehind: !0, greedy: !0 },
2219
+ number: {
2220
+ pattern: s(
2221
+ /[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/
2222
+ .source,
2223
+ 'i',
2224
+ ),
2225
+ lookbehind: !0,
2226
+ },
2227
+ tag: n,
2228
+ important: t,
2229
+ punctuation: /---|[:[\]{}\-,|>?]|\.\.\./,
2230
+ }),
2231
+ (e.languages.yml = e.languages.yaml);
2232
+ })(i);
2233
+ var s = i,
2234
+ o = {
2235
+ plain: { backgroundColor: '#2a2734', color: '#9a86fd' },
2236
+ styles: [
2237
+ {
2238
+ types: ['comment', 'prolog', 'doctype', 'cdata', 'punctuation'],
2239
+ style: { color: '#6c6783' },
2240
+ },
2241
+ { types: ['namespace'], style: { opacity: 0.7 } },
2242
+ {
2243
+ types: ['tag', 'operator', 'number'],
2244
+ style: { color: '#e09142' },
2245
+ },
2246
+ { types: ['property', 'function'], style: { color: '#9a86fd' } },
2247
+ {
2248
+ types: ['tag-id', 'selector', 'atrule-id'],
2249
+ style: { color: '#eeebff' },
2250
+ },
2251
+ { types: ['attr-name'], style: { color: '#c4b9fe' } },
2252
+ {
2253
+ types: [
2254
+ 'boolean',
2255
+ 'string',
2256
+ 'entity',
2257
+ 'url',
2258
+ 'attr-value',
2259
+ 'keyword',
2260
+ 'control',
2261
+ 'directive',
2262
+ 'unit',
2263
+ 'statement',
2264
+ 'regex',
2265
+ 'at-rule',
2266
+ 'placeholder',
2267
+ 'variable',
2268
+ ],
2269
+ style: { color: '#ffcc99' },
2270
+ },
2271
+ {
2272
+ types: ['deleted'],
2273
+ style: { textDecorationLine: 'line-through' },
2274
+ },
2275
+ { types: ['inserted'], style: { textDecorationLine: 'underline' } },
2276
+ { types: ['italic'], style: { fontStyle: 'italic' } },
2277
+ { types: ['important', 'bold'], style: { fontWeight: 'bold' } },
2278
+ { types: ['important'], style: { color: '#c4b9fe' } },
2279
+ ],
2280
+ },
2281
+ l = o,
2282
+ u = { Prism: s, theme: l };
2283
+ function c(e, t, n) {
2284
+ return (
2285
+ t in e
2286
+ ? Object.defineProperty(e, t, {
2287
+ value: n,
2288
+ enumerable: !0,
2289
+ configurable: !0,
2290
+ writable: !0,
2291
+ })
2292
+ : (e[t] = n),
2293
+ e
2294
+ );
2295
+ }
2296
+ function d() {
2297
+ return (
2298
+ (d =
2299
+ Object.assign ||
2300
+ function (e) {
2301
+ for (var t = 1; t < arguments.length; t++) {
2302
+ var n = arguments[t];
2303
+ for (var a in n)
2304
+ Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
2305
+ }
2306
+ return e;
2307
+ }),
2308
+ d.apply(this, arguments)
2309
+ );
2310
+ }
2311
+ var p = /\r\n|\r|\n/,
2312
+ g = function (e) {
2313
+ 0 === e.length
2314
+ ? e.push({ types: ['plain'], content: '\n', empty: !0 })
2315
+ : 1 === e.length &&
2316
+ '' === e[0].content &&
2317
+ ((e[0].content = '\n'), (e[0].empty = !0));
2318
+ },
2319
+ f = function (e, t) {
2320
+ var n = e.length;
2321
+ return n > 0 && e[n - 1] === t ? e : e.concat(t);
2322
+ },
2323
+ b = function (e) {
2324
+ var t = [[]],
2325
+ n = [e],
2326
+ a = [0],
2327
+ r = [e.length],
2328
+ i = 0,
2329
+ s = 0,
2330
+ o = [],
2331
+ l = [o];
2332
+ while (s > -1) {
2333
+ while ((i = a[s]++) < r[s]) {
2334
+ var u = void 0,
2335
+ c = t[s],
2336
+ d = n[s],
2337
+ b = d[i];
2338
+ if (
2339
+ ('string' === typeof b
2340
+ ? ((c = s > 0 ? c : ['plain']), (u = b))
2341
+ : ((c = f(c, b.type)),
2342
+ b.alias && (c = f(c, b.alias)),
2343
+ (u = b.content)),
2344
+ 'string' === typeof u)
2345
+ ) {
2346
+ var m = u.split(p),
2347
+ h = m.length;
2348
+ o.push({ types: c, content: m[0] });
2349
+ for (var y = 1; y < h; y++)
2350
+ g(o), l.push((o = [])), o.push({ types: c, content: m[y] });
2351
+ } else s++, t.push(c), n.push(u), a.push(0), r.push(u.length);
2352
+ }
2353
+ s--, t.pop(), n.pop(), a.pop(), r.pop();
2354
+ }
2355
+ return g(o), l;
2356
+ },
2357
+ m = function (e, t) {
2358
+ var n = e.plain,
2359
+ a = Object.create(null),
2360
+ r = e.styles.reduce(function (e, n) {
2361
+ var a = n.languages,
2362
+ r = n.style;
2363
+ return (
2364
+ (a && !a.includes(t)) ||
2365
+ n.types.forEach(function (t) {
2366
+ var n = d({}, e[t], r);
2367
+ e[t] = n;
2368
+ }),
2369
+ e
2370
+ );
2371
+ }, a);
2372
+ return (
2373
+ (r.root = n), (r.plain = d({}, n, { backgroundColor: null })), r
2374
+ );
2375
+ };
2376
+ function h(e, t) {
2377
+ var n = {};
2378
+ for (var a in e)
2379
+ Object.prototype.hasOwnProperty.call(e, a) &&
2380
+ -1 === t.indexOf(a) &&
2381
+ (n[a] = e[a]);
2382
+ return n;
2383
+ }
2384
+ var y = (function (e) {
2385
+ function t() {
2386
+ var t = this,
2387
+ n = [],
2388
+ a = arguments.length;
2389
+ while (a--) n[a] = arguments[a];
2390
+ e.apply(this, n),
2391
+ c(this, 'getThemeDict', function (e) {
2392
+ if (
2393
+ void 0 !== t.themeDict &&
2394
+ e.theme === t.prevTheme &&
2395
+ e.language === t.prevLanguage
2396
+ )
2397
+ return t.themeDict;
2398
+ (t.prevTheme = e.theme), (t.prevLanguage = e.language);
2399
+ var n = e.theme ? m(e.theme, e.language) : void 0;
2400
+ return (t.themeDict = n);
2401
+ }),
2402
+ c(this, 'getLineProps', function (e) {
2403
+ var n = e.key,
2404
+ a = e.className,
2405
+ r = e.style,
2406
+ i = h(e, ['key', 'className', 'style', 'line']),
2407
+ s = i,
2408
+ o = d({}, s, {
2409
+ className: 'token-line',
2410
+ style: void 0,
2411
+ key: void 0,
2412
+ }),
2413
+ l = t.getThemeDict(t.props);
2414
+ return (
2415
+ void 0 !== l && (o.style = l.plain),
2416
+ void 0 !== r &&
2417
+ (o.style = void 0 !== o.style ? d({}, o.style, r) : r),
2418
+ void 0 !== n && (o.key = n),
2419
+ a && (o.className += ' ' + a),
2420
+ o
2421
+ );
2422
+ }),
2423
+ c(this, 'getStyleForToken', function (e) {
2424
+ var n = e.types,
2425
+ a = e.empty,
2426
+ r = n.length,
2427
+ i = t.getThemeDict(t.props);
2428
+ if (void 0 !== i) {
2429
+ if (1 === r && 'plain' === n[0])
2430
+ return a ? { display: 'inline-block' } : void 0;
2431
+ if (1 === r && !a) return i[n[0]];
2432
+ var s = a ? { display: 'inline-block' } : {},
2433
+ o = n.map(function (e) {
2434
+ return i[e];
2435
+ });
2436
+ return Object.assign.apply(Object, [s].concat(o));
2437
+ }
2438
+ }),
2439
+ c(this, 'getTokenProps', function (e) {
2440
+ var n = e.key,
2441
+ a = e.className,
2442
+ r = e.style,
2443
+ i = e.token,
2444
+ s = h(e, ['key', 'className', 'style', 'token']),
2445
+ o = s,
2446
+ l = d({}, o, {
2447
+ className: 'token ' + i.types.join(' '),
2448
+ children: i.content,
2449
+ style: t.getStyleForToken(i),
2450
+ key: void 0,
2451
+ });
2452
+ return (
2453
+ void 0 !== r &&
2454
+ (l.style = void 0 !== l.style ? d({}, l.style, r) : r),
2455
+ void 0 !== n && (l.key = n),
2456
+ a && (l.className += ' ' + a),
2457
+ l
2458
+ );
2459
+ }),
2460
+ c(this, 'tokenize', function (e, t, n, a) {
2461
+ var r = { code: t, grammar: n, language: a, tokens: [] };
2462
+ e.hooks.run('before-tokenize', r);
2463
+ var i = (r.tokens = e.tokenize(r.code, r.grammar, r.language));
2464
+ return e.hooks.run('after-tokenize', r), i;
2465
+ });
2466
+ }
2467
+ return (
2468
+ e && (t.__proto__ = e),
2469
+ (t.prototype = Object.create(e && e.prototype)),
2470
+ (t.prototype.constructor = t),
2471
+ (t.prototype.render = function () {
2472
+ var e = this.props,
2473
+ t = e.Prism,
2474
+ n = e.language,
2475
+ a = e.code,
2476
+ r = e.children,
2477
+ i = this.getThemeDict(this.props),
2478
+ s = t.languages[n],
2479
+ o = void 0 !== s ? this.tokenize(t, a, s, n) : [a],
2480
+ l = b(o);
2481
+ return r({
2482
+ tokens: l,
2483
+ className: 'prism-code language-' + n,
2484
+ style: void 0 !== i ? i.root : {},
2485
+ getLineProps: this.getLineProps,
2486
+ getTokenProps: this.getTokenProps,
2487
+ });
2488
+ }),
2489
+ t
2490
+ );
2491
+ })(a['Component']),
2492
+ E = y,
2493
+ S = n('dEAq');
2494
+ n('qHiR'), n('foS9');
2495
+ function k() {
2496
+ return (
2497
+ (k =
2498
+ Object.assign ||
2499
+ function (e) {
2500
+ for (var t = 1; t < arguments.length; t++) {
2501
+ var n = arguments[t];
2502
+ for (var a in n)
2503
+ Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
2504
+ }
2505
+ return e;
2506
+ }),
2507
+ k.apply(this, arguments)
2508
+ );
2509
+ }
2510
+ function w(e, t) {
2511
+ return _(e) || I(e, t) || v(e, t) || A();
2512
+ }
2513
+ function A() {
2514
+ throw new TypeError(
2515
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
2516
+ );
2517
+ }
2518
+ function v(e, t) {
2519
+ if (e) {
2520
+ if ('string' === typeof e) return T(e, t);
2521
+ var n = Object.prototype.toString.call(e).slice(8, -1);
2522
+ return (
2523
+ 'Object' === n && e.constructor && (n = e.constructor.name),
2524
+ 'Map' === n || 'Set' === n
2525
+ ? Array.from(e)
2526
+ : 'Arguments' === n ||
2527
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
2528
+ ? T(e, t)
2529
+ : void 0
2530
+ );
2531
+ }
2532
+ }
2533
+ function T(e, t) {
2534
+ (null == t || t > e.length) && (t = e.length);
2535
+ for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
2536
+ return a;
2537
+ }
2538
+ function I(e, t) {
2539
+ var n =
2540
+ null == e
2541
+ ? null
2542
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
2543
+ e['@@iterator'];
2544
+ if (null != n) {
2545
+ var a,
2546
+ r,
2547
+ i = [],
2548
+ s = !0,
2549
+ o = !1;
2550
+ try {
2551
+ for (n = n.call(e); !(s = (a = n.next()).done); s = !0)
2552
+ if ((i.push(a.value), t && i.length === t)) break;
2553
+ } catch (l) {
2554
+ (o = !0), (r = l);
2555
+ } finally {
2556
+ try {
2557
+ s || null == n['return'] || n['return']();
2558
+ } finally {
2559
+ if (o) throw r;
2560
+ }
2561
+ }
2562
+ return i;
2563
+ }
2564
+ }
2565
+ function _(e) {
2566
+ if (Array.isArray(e)) return e;
2567
+ }
2568
+ t['a'] = function (e) {
2569
+ var t = e.code,
2570
+ n = e.lang,
2571
+ a = e.showCopy,
2572
+ i = void 0 === a || a,
2573
+ s = Object(S['useCopy'])(),
2574
+ o = w(s, 2),
2575
+ l = o[0],
2576
+ c = o[1];
2577
+ return r.a.createElement(
2578
+ 'div',
2579
+ { className: '__dumi-default-code-block' },
2580
+ r.a.createElement(
2581
+ E,
2582
+ k({}, u, { code: t, language: n, theme: void 0 }),
2583
+ function (e) {
2584
+ var n = e.className,
2585
+ a = e.style,
2586
+ s = e.tokens,
2587
+ o = e.getLineProps,
2588
+ u = e.getTokenProps;
2589
+ return r.a.createElement(
2590
+ 'pre',
2591
+ { className: n, style: a },
2592
+ i &&
2593
+ r.a.createElement('button', {
2594
+ className:
2595
+ '__dumi-default-icon __dumi-default-code-block-copy-btn',
2596
+ 'data-status': c,
2597
+ onClick: function () {
2598
+ return l(t);
2599
+ },
2600
+ }),
2601
+ s.map(function (e, t) {
2602
+ return r.a.createElement(
2603
+ 'div',
2604
+ o({ line: e, key: t }),
2605
+ e.map(function (e, t) {
2606
+ return r.a.createElement('span', u({ token: e, key: t }));
2607
+ }),
2608
+ );
2609
+ }),
2610
+ );
2611
+ },
2612
+ ),
2613
+ );
2614
+ };
2615
+ },
2616
+ foS9: function (e, t, n) {},
2617
+ qHiR: function (e, t, n) {},
2618
+ },
2619
+ ]);