@dao42/d42paas-front 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/1569.js +2 -2
  2. package/dist/1585.js +2 -2
  3. package/dist/1593.js +2 -2
  4. package/dist/1594.js +2 -2
  5. package/dist/162.js +2 -2
  6. package/dist/1649.js +2 -2
  7. package/dist/1742.js +171 -0
  8. package/dist/1941.js +2 -2
  9. package/dist/2014.js +2 -2
  10. package/dist/2088.js +2 -2
  11. package/dist/2235.js +247 -247
  12. package/dist/2271.js +2 -2
  13. package/dist/2287.js +3 -3
  14. package/dist/2388.js +2 -2
  15. package/dist/2583.js +2 -2
  16. package/dist/2862.js +2 -2
  17. package/dist/2906.js +2 -2
  18. package/dist/300.js +2 -2
  19. package/dist/3008.js +2 -2
  20. package/dist/317.js +7 -7
  21. package/dist/3315.js +2 -2
  22. package/dist/3399.js +2 -2
  23. package/dist/3504.js +2 -2
  24. package/dist/3553.js +2 -2
  25. package/dist/3673.js +2 -2
  26. package/dist/3780.js +3 -3
  27. package/dist/3855.js +2 -2
  28. package/dist/4035.js +3 -3
  29. package/dist/4073.js +2 -2
  30. package/dist/4246.js +5 -5
  31. package/dist/4366.js +4 -4
  32. package/dist/4369.js +2 -2
  33. package/dist/4454.js +2 -2
  34. package/dist/4511.js +2 -2
  35. package/dist/4558.js +2 -2
  36. package/dist/4610.js +2 -2
  37. package/dist/471.js +2 -2
  38. package/dist/4858.js +3 -3
  39. package/dist/4896.js +2 -2
  40. package/dist/491.js +2 -2
  41. package/dist/5257.js +2 -2
  42. package/dist/5454.js +2 -2
  43. package/dist/5524.js +2 -2
  44. package/dist/5669.js +2 -2
  45. package/dist/5881.js +2 -2
  46. package/dist/5900.js +2 -2
  47. package/dist/5924.js +2 -2
  48. package/dist/5925.js +2 -2
  49. package/dist/5972.js +2 -2
  50. package/dist/5974.js +2 -2
  51. package/dist/6022.js +2 -2
  52. package/dist/6120.js +155 -0
  53. package/dist/615.js +4 -4
  54. package/dist/6162.js +2 -2
  55. package/dist/6175.js +2 -2
  56. package/dist/622.js +2 -2
  57. package/dist/6223.js +2 -2
  58. package/dist/6330.js +2 -2
  59. package/dist/6331.js +2 -2
  60. package/dist/6354.js +2 -2
  61. package/dist/6751.js +2 -2
  62. package/dist/6792.js +2 -2
  63. package/dist/6844.js +2 -2
  64. package/dist/7125.js +2 -2
  65. package/dist/7127.js +2 -2
  66. package/dist/7135.js +2 -2
  67. package/dist/7148.js +2 -2
  68. package/dist/7447.js +2 -2
  69. package/dist/7453.js +2 -2
  70. package/dist/7483.js +2 -2
  71. package/dist/7604.js +2 -2
  72. package/dist/7971.js +2 -2
  73. package/dist/8147.js +2 -2
  74. package/dist/8308.js +2 -2
  75. package/dist/8309.js +2 -2
  76. package/dist/8327.js +2 -2
  77. package/dist/849.js +2 -2
  78. package/dist/8677.js +2 -2
  79. package/dist/868.js +2 -2
  80. package/dist/8947.js +2 -2
  81. package/dist/930.js +1 -1
  82. package/dist/9342.js +2 -2
  83. package/dist/9482.js +2 -2
  84. package/dist/9538.js +2 -2
  85. package/dist/9741.js +2 -2
  86. package/dist/9909.js +7 -7
  87. package/dist/9953.js +2 -2
  88. package/dist/css.worker.js +23 -23
  89. package/dist/daoPaaS.js +4 -3
  90. package/dist/editor.worker.js +7 -7
  91. package/dist/html.worker.js +19 -19
  92. package/dist/index.html +1 -1
  93. package/dist/json.worker.js +19 -19
  94. package/dist/ts.worker.js +21 -21
  95. package/package.json +1 -1
  96. package/dist/17.js +0 -168
  97. package/dist/4289.js +0 -171
package/dist/2271.js CHANGED
@@ -1,8 +1,8 @@
1
- "use strict";exports.id=2271,exports.ids=[2271],exports.modules={52271:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>n,language:()=>o});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2271],{52271:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>n,language:()=>o});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/var n={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".scss",ws:`[
7
7
  \r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},[`[^)\r
8
- ]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}};
8
+ ]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]);
package/dist/2287.js CHANGED
@@ -1,11 +1,11 @@
1
- "use strict";exports.id=2287,exports.ids=[2287,5900],exports.modules={72287:(l,r,t)=>{t.r(r),t.d(r,{conf:()=>a,language:()=>c});var e=t(35900);/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2287,5900],{72287:(p,r,t)=>{t.r(r),t.d(r,{conf:()=>a,language:()=>c});var e=t(35900);/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var a=e.conf,c={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer}},35900:(l,r,t)=>{t.r(r),t.d(r,{conf:()=>x,language:()=>f});var e=t(90361);/*!-----------------------------------------------------------------------------
6
+ *-----------------------------------------------------------------------------*/var a=e.conf,c={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer}},35900:(p,r,t)=>{t.r(r),t.d(r,{conf:()=>f,language:()=>x});var e=t(90361);/*!-----------------------------------------------------------------------------
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
9
9
  * Released under the MIT license
10
10
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
11
- *-----------------------------------------------------------------------------*/var a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,u=s=>a(s,"__esModule",{value:!0}),m=(s,o,g)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of p(o))!d.call(s,i)&&i!=="default"&&a(s,i,{get:()=>o[i],enumerable:!(g=c(o,i))||g.enumerable});return s},n={};u(n),m(n,e);var x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:n.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:n.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:n.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:n.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},f={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}};
11
+ *-----------------------------------------------------------------------------*/var a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,u=s=>a(s,"__esModule",{value:!0}),m=(s,o,g)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of l(o))!d.call(s,i)&&i!=="default"&&a(s,i,{get:()=>o[i],enumerable:!(g=c(o,i))||g.enumerable});return s},n={};u(n),m(n,e);var f={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:n.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:n.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:n.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:n.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},x={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","override","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([dgimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]);
package/dist/2388.js CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";exports.id=2388,exports.ids=[2388],exports.modules={42388:(m,t,e)=>{e.r(t),e.d(t,{conf:()=>i,language:()=>r});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2388],{42388:(r,t,e)=>{e.r(t),e.d(t,{conf:()=>i,language:()=>m});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["<!--","-->"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},r={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}};
6
+ *-----------------------------------------------------------------------------*/var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["<!--","-->"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},m={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],commentState:[[/#}/,"comment.twig","@pop"],[/./,"comment.twig"]],blockState:[[/[-~]?%}/,"delimiter.twig","@pop"],[/\s+/],[/(verbatim)(\s*)([-~]?%})/,["keyword.twig","",{token:"delimiter.twig",next:"@rawDataState"}]],{include:"expression"}],rawDataState:[[/({%[-~]?)(\s*)(endverbatim)(\s*)([-~]?%})/,["delimiter.twig","","keyword.twig","",{token:"delimiter.twig",next:"@popall"}]],[/./,"string.twig"]],variableState:[[/[-~]?}}/,"delimiter.twig","@pop"],{include:"expression"}],stringState:[[/"/,"string.twig","@pop"],[/#{\s*/,"string.twig","@interpolationState"],[/[^#"\\]*(?:(?:\\.|#(?!\{))[^#"\\]*)*/,"string.twig"]],interpolationState:[[/}/,"string.twig","@pop"],{include:"expression"}],expression:[[/\s+/],[/\+|-|\/{1,2}|%|\*{1,2}/,"operators.twig"],[/(and|or|not|b-and|b-xor|b-or)(\s+)/,["operators.twig",""]],[/==|!=|<|>|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
package/dist/2583.js CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";exports.id=2583,exports.ids=[2583],exports.modules={62583:(o,e,t)=>{t.r(e),t.d(e,{conf:()=>r,language:()=>n});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2583],{62583:(o,e,t)=>{t.r(e),t.d(e,{conf:()=>r,language:()=>n});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var r={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","\u03C0","\u212F","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xF7","\u2208","\u2209","\u220B","\u220C","\u2218","\u221A","\u221B","\u2229","\u222A","\u2248","\u2249","\u2260","\u2261","\u2262","\u2264","\u2265","\u2286","\u2287","\u2288","\u2289","\u228A","\u228B","\u22BB"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}}};
6
+ *-----------------------------------------------------------------------------*/var r={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","\u03C0","\u212F","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xF7","\u2208","\u2209","\u220B","\u220C","\u2218","\u221A","\u221B","\u2229","\u222A","\u2248","\u2249","\u2260","\u2261","\u2262","\u2264","\u2265","\u2286","\u2287","\u2288","\u2289","\u228A","\u228B","\u22BB"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}}}]);
package/dist/2862.js CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";exports.id=2862,exports.ids=[2862],exports.modules={12862:(r,e,n)=>{n.r(e),n.d(e,{conf:()=>o,language:()=>t});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2862],{12862:(r,e,n)=>{n.r(e),n.d(e,{conf:()=>o,language:()=>t});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}};
6
+ *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","\u0441tu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}}]);
package/dist/2906.js CHANGED
@@ -1,8 +1,8 @@
1
- "use strict";exports.id=2906,exports.ids=[2906],exports.modules={72906:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>o,language:()=>n});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[2906],{72906:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>o,language:()=>n});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},n={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","fileprivate","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","fileprivate","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}};/*!---------------------------------------------------------------------------------------------
7
7
  * Copyright (C) David Owens II, owensd.io. All rights reserved.
8
- *--------------------------------------------------------------------------------------------*/}};
8
+ *--------------------------------------------------------------------------------------------*/}}]);
package/dist/300.js CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";exports.id=300,exports.ids=[300],exports.modules={50300:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>p,language:()=>n});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[300],{50300:(i,e,t)=>{t.r(e),t.d(e,{conf:()=>p,language:()=>n});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},n={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}};
6
+ *-----------------------------------------------------------------------------*/var p={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},n={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]);
package/dist/3008.js CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";exports.id=3008,exports.ids=[3008],exports.modules={23008:(t,e,n)=>{n.r(e),n.d(e,{conf:()=>s,language:()=>i});/*!-----------------------------------------------------------------------------
1
+ "use strict";(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[3008],{23008:(t,e,n)=>{n.r(e),n.d(e,{conf:()=>s,language:()=>i});/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/var s={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},i={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}}};
6
+ *-----------------------------------------------------------------------------*/var s={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},i={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}}}]);
package/dist/317.js CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";var B=(Pe,Y,s)=>new Promise((t,_)=>{var V=L=>{try{Z(s.next(L))}catch(H){_(H)}},x=L=>{try{Z(s.throw(L))}catch(H){_(H)}},Z=L=>L.done?t(L.value):Promise.resolve(L.value).then(V,x);Z((s=s.apply(Pe,Y)).next())});exports.id=317,exports.ids=[317],exports.modules={90930:(Pe,Y,s)=>{s.r(Y),s.d(Y,{FileTree:()=>Ie});var t=s(2784),_=s(48679),V=s(83780),x=s(63317),Z=s(88683),L=s(34845),H=s(44959),te=Object.defineProperty,ce=Object.defineProperties,de=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Te=(O,p,i)=>p in O?te(O,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):O[p]=i,U=(O,p)=>{for(var i in p||(p={}))ue.call(p,i)&&Te(O,i,p[i]);if(oe)for(var i of oe(p))we.call(p,i)&&Te(O,i,p[i]);return O},w=(O,p)=>ce(O,de(p));function ae(O,p){for(let i=0;i<O.length;i++)O[i].type==="DIRECTORY"?p.children.push(`${p.index}${O[i].name}/`):p.children.push(`${p.index}${O[i].name}`)}function me(O){if(!O)return;const p={},i=O.name;p[i]={index:i,children:[],hasChildren:!0,data:i},ae(O.children,p[i]);let R=[...O.children],J=[...p[i].children];for(;R.length;){const re=R.length;for(let F=0;F<re;F++){const D=R.shift(),Q=J.shift();switch(R=R.concat(D.children),D.type){case"DIRECTORY":const W=Q;p[W]={index:W,hasChildren:!0,children:[],data:D.name},ae(D.children,p[W]),J=J.concat(p[W].children);break;case"FILE":const q=Q;p[q]={index:q,hasChildren:!1,data:D.name};break;default:break}}}return p}const Ie=({onCustomSelect:O,onCustomUpload:p})=>{const i={target:"",files:[]},R=(0,Z.m)(a=>a.socket),[J,re]=(0,t.useState)(),[F,D]=(0,t.useState)([]),[Q,W]=(0,t.useState)([]),[q,fe]=(0,t.useState)({}),$=(0,t.useRef)(null),{CRDTInfo:G,dockerInfo:Fe}=(0,x.N)(a=>a),{fileTree:ee}=(0,x.N)(a=>a),[pe,ve]=(0,t.useState)({});(0,t.useEffect)(()=>{x.N.getState().appStatus==="replay"&&(W([]),D([]));const a=me(ee.data);W(Q.filter(y=>a[y])),D(F.filter(y=>a[y])),ve(a)},[ee]),(0,t.useEffect)(()=>{W([]),D([])},[Fe]);const le=a=>{if(a.length===1&&(W(a),x.N.getState().appStatus==="code")){const y={timestamp:Date.now().toString(),userInfo:H.HP.getState().userInfo,editor:{extraInfo:{messageId:"1",playgroundId:x.N.getState().playgroundInfo.playgroundId},evtType:"File"},file:{action:"Get",path:a[0]}};R.emit("fileContent",JSON.stringify(y))}},se=a=>{D([...F,a])},ie=a=>{D(F.filter(y=>y!==a))},De=a=>B(this,null,function*(){return yield new Promise(c=>{const d=new FileReader;d.readAsDataURL(a),d.onload=E=>{c(E.target.result)}})}),Ae=(a,y="/")=>B(this,null,function*(){return yield new Promise(d=>{if(a.isFile)a.file(E=>B(this,null,function*(){d([{path:`${y}${E.name}`,content:yield De(E)}])}));else if(a.isDirectory){let E=[{path:`${y}${a.name}/`,content:""}];a.createReader().readEntries(z=>B(this,null,function*(){for(let M=0;M<z.length;M++)E=E.concat(yield Ae(z[M],`${y}${a.name}/`));d(E)}))}})}),ge=a=>B(this,null,function*(){var y;a.preventDefault();let c=a.target;for(;c&&((y=c.tagName)==null?void 0:y.toLowerCase())!=="button";)c=c.lastChild;const d=c?c.dataset.rctItemId:"/";d[d.length-1]!=="/"?i.target=`${d.split("/").slice(0,-1).join("/")}/`:i.target=d;const E=a.dataTransfer.items;if(E.length!==0){for(let A=0;A<E.length;A++){const z=E[A].webkitGetAsEntry();z&&(i.files=i.files.concat(yield Ae(z)))}c==null||c.parentNode.classList.remove("rct-tree-item-title-container-selected"),c==null||c.parentNode.parentNode.classList.remove("rct-tree-item-li-selected"),p?p(U({},i)):ke(JSON.stringify(i)),i.target="",i.files=[]}});(0,t.useEffect)(()=>{$.current&&($.current.removeEventListener("drop",ge),$.current.addEventListener("drop",ge,!1),$.current.addEventListener("dragover",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation())},!1),$.current.addEventListener("dragenter",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation(),a.target.tagName.toLowerCase()==="button"&&(a.target.parentNode.classList.add("rct-tree-item-title-container-selected"),a.target.parentNode.parentNode.classList.add("rct-tree-item-li-selected")))},!1),$.current.addEventListener("dragleave",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation(),a.target.tagName.toLowerCase()==="button"&&(a.target.parentNode.classList.remove("rct-tree-item-title-container-selected"),a.target.parentNode.parentNode.classList.remove("rct-tree-item-li-selected")))},!1))},[$]);const ke=a=>{R.emit("upload",a)};return(0,t.useEffect)(()=>{var a;const y=H.zA.getState().userList.find(c=>c.uuid===G.userInfo.uuid);if(((a=G==null?void 0:G.editor)==null?void 0:a.evtType)==="File"&&y){const c=G.file.path;(0,L.b7)(G.userInfo)?x.N.getState().appStatus==="replay"&&(le([c]),c[c.length-1]==="/"&&(F.indexOf(c)===-1?se(c):ie(c))):(fe(d=>{const E=U({},d),A=Object.entries(E);for(const z of A){const[M,Le]=z,Ee=Le.findIndex(he=>he.uuid===y.uuid);if(Ee>-1){E[M].splice(Ee,1),E[M].length===0&&delete E[M];break}}return E[c]?E[c].push({uuid:y.uuid,color:y.color,avatar:y.avatar}):E[c]=[{uuid:y.uuid,color:y.color,avatar:y.avatar}],E}),c[c.length-1]==="/"&&(F.indexOf(c)===-1?se(c):ie(c)))}},[G]),t.createElement("div",{ref:$,style:{height:"100%",overflow:"auto"}},t.createElement(_.p,{canDragAndDrop:!0,items:pe,onFocusItem:a=>re(a.index),onExpandItem:a=>{se(a.index)},onCollapseItem:a=>{ie(a.index)},getItemTitle:a=>a.data,viewState:{["tree-1"]:{focusedItem:J,expandedItems:F,selectedItems:Q}},onSelectItems:a=>{le(a),O==null||O(a)},renderItem:({title:a,arrow:y,depth:c,context:d,children:E})=>t.createElement("div",w(U({},d.itemContainerWithChildrenProps),{className:["rct-tree-item-li",d.isSelected?"rct-tree-item-li-selected":"",d.isExpanded?"rct-tree-item-li-expanded":"",d.isFocused?"rct-tree-item-li-focused":"",E?"rct-tree-item-li-hasChildren":""].join(" ")}),t.createElement("div",{className:["rct-tree-item-title-container",d.isSelected?"rct-tree-item-title-container-selected":"",d.isExpanded?"rct-tree-item-title-container-expanded":"",d.isFocused?"rct-tree-item-title-container-focused":"",E?"rct-tree-item-title-container-hasChildren":""].join(" "),style:{paddingLeft:`${c}0px`}},y,t.createElement("button",w(U(U({},d.itemContainerWithoutChildrenProps),d.interactiveElementProps),{className:["rct-tree-item-button",d.isSelected?"rct-tree-item-button-selected":"",d.isExpanded?"rct-tree-item-button-expanded":"",d.isFocused?"rct-tree-item-button-focused":"",E?"rct-tree-item-button-hasChildren":""].join(" ")}),a),q[d.interactiveElementProps["data-rct-item-id"]]&&q[d.interactiveElementProps["data-rct-item-id"]].map(A=>t.createElement("div",{className:"rct-tree-item-avatar rounded-full absolute border",key:A.uuid,style:{borderColor:A.color,backgroundImage:`url(${A.avatar})`}}))),E)},t.createElement(V.m,{treeId:"tree-1",rootItem:"/",treeLabel:"File Tree"})))}},20317:(Pe,Y,s)=>{s.r(Y),s.d(Y,{LanguageIcon:()=>Xe,default:()=>Rt});var t=s(2784),_=s(92638),V=s(88683),x=s(66100),Z=s(77289),L=s(78440),H=Object.defineProperty,te=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,oe=(e,r,n)=>r in e?H(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,ue=(e,r)=>{for(var n in r||(r={}))ce.call(r,n)&&oe(e,n,r[n]);if(te)for(var n of te(r))de.call(r,n)&&oe(e,n,r[n]);return e},we=(e,r)=>{var n={};for(var o in e)ce.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&te)for(var o of te(e))r.indexOf(o)<0&&de.call(e,o)&&(n[o]=e[o]);return n};const U=e=>{var r=e,{terminal:n,onKey:o,fitHook:h}=r,l=we(r,["terminal","onKey","fitHook"]);const u=ue({height:"100%",width:"100%",padding:"5px 20px",backgroundColor:"#1e1e1e"},l),m=new L.FitAddon,T=(0,t.useRef)(null),C=f=>{f.onKey(({key:N,domEvent:v})=>{let g=N;switch(N.charCodeAt(0)){case 13:break;case 27:switch(v.key){case"ArrowLeft":if(f.buffer.active.cursorX<=2)return;break;case"ArrowRight":break;case"ArrowUp":case"ArrowDown":break;default:break}break;case 8:case 127:f.buffer.active.cursorX>2&&(g="\b");break;case 27:g="[3~";break;default:break}o(g)})},P=()=>{try{setTimeout(()=>{m.fit()},0)}catch(f){}};return(0,t.useEffect)(()=>{n&&(n.loadAddon(m),C(n),n.open(T.current),P())},[n]),(0,t.useEffect)(()=>{P()},[h]),t.createElement(t.Fragment,null,t.createElement("div",{style:ue({},u),ref:T}))};var w=s(44959),ae=s(76635),me=s(34845),Ie=Object.defineProperty,O=Object.defineProperties,p=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,re=(e,r,n)=>r in e?Ie(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,F=(e,r)=>{for(var n in r||(r={}))R.call(r,n)&&re(e,n,r[n]);if(i)for(var n of i(r))J.call(r,n)&&re(e,n,r[n]);return e},D=(e,r)=>O(e,p(r)),Q=(e,r)=>{var n={};for(var o in e)R.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&i)for(var o of i(e))r.indexOf(o)<0&&J.call(e,o)&&(n[o]=e[o]);return n};const q=e=>{var r=e,{options:n}=r,o=Q(r,["options"]);const h=F({},n),l=document.createElement("div");l.classList.add("xterm-helper-user-label");const[u,m]=(0,t.useState)(null),T=(0,V.m)(v=>v.socket),{CRDTInfo:C}=(0,w.Ng)(v=>v),P=(v,g)=>{v.write(`\r
2
- `),v.clear(),f(v,g)},f=(v,g)=>{v.write(g)},N=v=>{if(w.Ng.getState().appStatus==="replay")return;const g={timestamp:Date.now().toString(),userInfo:(0,ae.pick)(w.HP.getState().userInfo,"uuid"),terminal:{doc:{action:"Edit",value:v}}};T.emit("terminal",JSON.stringify(g))};return(0,t.useEffect)(()=>{if(!u){const v=new Z.Terminal(h);m(v)}},[]),(0,t.useEffect)(()=>{var v;!u||C.terminal&&P(u,((v=w.Ng.getState().CRDTInfo.terminal.doc)==null?void 0:v.value)||"")},[u]),(0,t.useEffect)(()=>{const v=C.terminal;if(u&&v){if(v.doc.action==="Get"){P(u,v.doc.value);return}f(u,v.doc.value||"");const g=w.zA.getState().userList[C.userInfo.uuid];if(g&&!(0,me.b7)(C.userInfo)){const k=u._core._helperContainer;l.innerText=g.name,l.style.backgroundColor=g.color,l.style.top=k.firstChild.style.top,l.style.left=k.firstChild.style.left,k==null||k.appendChild(l),u.setOption("theme",D(F({},u.getOption("theme")),{cursor:g.color}));const ne=setTimeout(()=>{k==null||k.removeChild(l),u.setOption("theme",D(F({},u.getOption("theme")),{cursor:"#ffffff"}))},6e3);return()=>{try{k==null||k.removeChild(l)}catch(Ce){console.log(`There isn't any "userLabel", please try again.`)}u.setOption("theme",D(F({},u.getOption("theme")),{cursor:"#ffffff"})),clearTimeout(ne)}}}},[C.terminal]),t.createElement("div",{id:"terminal",style:{height:"100%",width:"100%"}},t.createElement(U,F({terminal:u,onKey:N},o)))};var fe=s(1442),$=Object.defineProperty,G=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,le=(e,r,n)=>r in e?$(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,se=(e,r)=>{for(var n in r||(r={}))pe.call(r,n)&&le(e,n,r[n]);if(ee)for(var n of ee(r))ve.call(r,n)&&le(e,n,r[n]);return e},ie=(e,r)=>G(e,Fe(r)),De=(e,r)=>{var n={};for(var o in e)pe.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&ee)for(var o of ee(e))r.indexOf(o)<0&&ve.call(e,o)&&(n[o]=e[o]);return n};const ge=e=>{var r=e,{activeKey:n,onSelect:o,tabItems:h}=r,l=De(r,["activeKey","onSelect","tabItems"]);return t.createElement(fe.Z,ie(se({},l),{activeKey:n,onSelect:o}),h.map(u=>t.createElement(fe.Z.Item,{eventKey:u.eventKey,key:u.eventKey},u.itemName)))};var ke=s(92467),a=s(25050),y=s(86788),c=Object.defineProperty,d=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,z=(e,r,n)=>r in e?c(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,M=(e,r)=>{for(var n in r||(r={}))E.call(r,n)&&z(e,n,r[n]);if(d)for(var n of d(r))A.call(r,n)&&z(e,n,r[n]);return e},Le=(e,r)=>{var n={};for(var o in e)E.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&d)for(var o of d(e))r.indexOf(o)<0&&A.call(e,o)&&(n[o]=e[o]);return n};const Ee=x.Z.div`
1
+ "use strict";var B=(Pe,Y,s)=>new Promise((t,_)=>{var V=L=>{try{Z(s.next(L))}catch(H){_(H)}},x=L=>{try{Z(s.throw(L))}catch(H){_(H)}},Z=L=>L.done?t(L.value):Promise.resolve(L.value).then(V,x);Z((s=s.apply(Pe,Y)).next())});(this.webpackChunkDaoPaaS=this.webpackChunkDaoPaaS||[]).push([[317],{90930:(Pe,Y,s)=>{s.r(Y),s.d(Y,{FileTree:()=>Ie});var t=s(2784),_=s(48679),V=s(83780),x=s(63317),Z=s(88683),L=s(34845),H=s(44959),te=Object.defineProperty,ce=Object.defineProperties,de=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Te=(O,p,i)=>p in O?te(O,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):O[p]=i,U=(O,p)=>{for(var i in p||(p={}))ue.call(p,i)&&Te(O,i,p[i]);if(oe)for(var i of oe(p))we.call(p,i)&&Te(O,i,p[i]);return O},w=(O,p)=>ce(O,de(p));function ae(O,p){for(let i=0;i<O.length;i++)O[i].type==="DIRECTORY"?p.children.push(`${p.index}${O[i].name}/`):p.children.push(`${p.index}${O[i].name}`)}function me(O){if(!O)return;const p={},i=O.name;p[i]={index:i,children:[],hasChildren:!0,data:i},ae(O.children,p[i]);let R=[...O.children],J=[...p[i].children];for(;R.length;){const re=R.length;for(let D=0;D<re;D++){const F=R.shift(),Q=J.shift();switch(R=R.concat(F.children),F.type){case"DIRECTORY":const W=Q;p[W]={index:W,hasChildren:!0,children:[],data:F.name},ae(F.children,p[W]),J=J.concat(p[W].children);break;case"FILE":const q=Q;p[q]={index:q,hasChildren:!1,data:F.name};break;default:break}}}return p}const Ie=({onCustomSelect:O,onCustomUpload:p})=>{const i={target:"",files:[]},R=(0,Z.m)(a=>a.socket),[J,re]=(0,t.useState)(),[D,F]=(0,t.useState)([]),[Q,W]=(0,t.useState)([]),[q,fe]=(0,t.useState)({}),$=(0,t.useRef)(null),{CRDTInfo:G,dockerInfo:De}=(0,x.N)(a=>a),{fileTree:ee}=(0,x.N)(a=>a),[pe,ve]=(0,t.useState)({});(0,t.useEffect)(()=>{x.N.getState().appStatus==="replay"&&(W([]),F([]));const a=me(ee.data);W(Q.filter(y=>a[y])),F(D.filter(y=>a[y])),ve(a)},[ee]),(0,t.useEffect)(()=>{W([]),F([])},[De]);const le=a=>{if(a.length===1&&(W(a),x.N.getState().appStatus==="code")){const y={timestamp:Date.now().toString(),userInfo:H.HP.getState().userInfo,editor:{extraInfo:{messageId:"1",playgroundId:x.N.getState().playgroundInfo.playgroundId},evtType:"File"},file:{action:"Get",path:a[0]}};R.emit("fileContent",JSON.stringify(y))}},se=a=>{F([...D,a])},ie=a=>{F(D.filter(y=>y!==a))},Fe=a=>B(this,null,function*(){return yield new Promise(c=>{const d=new FileReader;d.readAsDataURL(a),d.onload=E=>{c(E.target.result)}})}),Ae=(a,y="/")=>B(this,null,function*(){return yield new Promise(d=>{if(a.isFile)a.file(E=>B(this,null,function*(){d([{path:`${y}${E.name}`,content:yield Fe(E)}])}));else if(a.isDirectory){let E=[{path:`${y}${a.name}/`,content:""}];a.createReader().readEntries(z=>B(this,null,function*(){for(let M=0;M<z.length;M++)E=E.concat(yield Ae(z[M],`${y}${a.name}/`));d(E)}))}})}),ge=a=>B(this,null,function*(){var y;a.preventDefault();let c=a.target;for(;c&&((y=c.tagName)==null?void 0:y.toLowerCase())!=="button";)c=c.lastChild;const d=c?c.dataset.rctItemId:"/";d[d.length-1]!=="/"?i.target=`${d.split("/").slice(0,-1).join("/")}/`:i.target=d;const E=a.dataTransfer.items;if(E.length!==0){for(let A=0;A<E.length;A++){const z=E[A].webkitGetAsEntry();z&&(i.files=i.files.concat(yield Ae(z)))}c==null||c.parentNode.classList.remove("rct-tree-item-title-container-selected"),c==null||c.parentNode.parentNode.classList.remove("rct-tree-item-li-selected"),p?p(U({},i)):ke(JSON.stringify(i)),i.target="",i.files=[]}});(0,t.useEffect)(()=>{$.current&&($.current.removeEventListener("drop",ge),$.current.addEventListener("drop",ge,!1),$.current.addEventListener("dragover",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation())},!1),$.current.addEventListener("dragenter",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation(),a.target.tagName.toLowerCase()==="button"&&(a.target.parentNode.classList.add("rct-tree-item-title-container-selected"),a.target.parentNode.parentNode.classList.add("rct-tree-item-li-selected")))},!1),$.current.addEventListener("dragleave",a=>{a.dataTransfer.items.length!==0&&(a.preventDefault(),a.stopPropagation(),a.target.tagName.toLowerCase()==="button"&&(a.target.parentNode.classList.remove("rct-tree-item-title-container-selected"),a.target.parentNode.parentNode.classList.remove("rct-tree-item-li-selected")))},!1))},[$]);const ke=a=>{R.emit("upload",a)};return(0,t.useEffect)(()=>{var a;const y=H.zA.getState().userList.find(c=>c.uuid===G.userInfo.uuid);if(((a=G==null?void 0:G.editor)==null?void 0:a.evtType)==="File"&&y){const c=G.file.path;(0,L.b7)(G.userInfo)?x.N.getState().appStatus==="replay"&&(le([c]),c[c.length-1]==="/"&&(D.indexOf(c)===-1?se(c):ie(c))):(fe(d=>{const E=U({},d),A=Object.entries(E);for(const z of A){const[M,Le]=z,Ee=Le.findIndex(he=>he.uuid===y.uuid);if(Ee>-1){E[M].splice(Ee,1),E[M].length===0&&delete E[M];break}}return E[c]?E[c].push({uuid:y.uuid,color:y.color,avatar:y.avatar}):E[c]=[{uuid:y.uuid,color:y.color,avatar:y.avatar}],E}),c[c.length-1]==="/"&&(D.indexOf(c)===-1?se(c):ie(c)))}},[G]),t.createElement("div",{ref:$,style:{height:"100%",overflow:"auto"}},t.createElement(_.p,{canDragAndDrop:!0,items:pe,onFocusItem:a=>re(a.index),onExpandItem:a=>{se(a.index)},onCollapseItem:a=>{ie(a.index)},getItemTitle:a=>a.data,viewState:{["tree-1"]:{focusedItem:J,expandedItems:D,selectedItems:Q}},onSelectItems:a=>{le(a),O==null||O(a)},renderItem:({title:a,arrow:y,depth:c,context:d,children:E})=>t.createElement("div",w(U({},d.itemContainerWithChildrenProps),{className:["rct-tree-item-li",d.isSelected?"rct-tree-item-li-selected":"",d.isExpanded?"rct-tree-item-li-expanded":"",d.isFocused?"rct-tree-item-li-focused":"",E?"rct-tree-item-li-hasChildren":""].join(" ")}),t.createElement("div",{className:["rct-tree-item-title-container",d.isSelected?"rct-tree-item-title-container-selected":"",d.isExpanded?"rct-tree-item-title-container-expanded":"",d.isFocused?"rct-tree-item-title-container-focused":"",E?"rct-tree-item-title-container-hasChildren":""].join(" "),style:{paddingLeft:`${c}0px`}},y,t.createElement("button",w(U(U({},d.itemContainerWithoutChildrenProps),d.interactiveElementProps),{className:["rct-tree-item-button",d.isSelected?"rct-tree-item-button-selected":"",d.isExpanded?"rct-tree-item-button-expanded":"",d.isFocused?"rct-tree-item-button-focused":"",E?"rct-tree-item-button-hasChildren":""].join(" ")}),a),q[d.interactiveElementProps["data-rct-item-id"]]&&q[d.interactiveElementProps["data-rct-item-id"]].map(A=>t.createElement("div",{className:"rct-tree-item-avatar rounded-full absolute border",key:A.uuid,style:{borderColor:A.color,backgroundImage:`url(${A.avatar})`}}))),E)},t.createElement(V.m,{treeId:"tree-1",rootItem:"/",treeLabel:"File Tree"})))}},20317:(Pe,Y,s)=>{s.r(Y),s.d(Y,{LanguageIcon:()=>Xe,default:()=>Rt});var t=s(2784),_=s(92638),V=s(88683),x=s(14416),Z=s(77289),L=s(78440),H=Object.defineProperty,te=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,oe=(e,r,n)=>r in e?H(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,ue=(e,r)=>{for(var n in r||(r={}))ce.call(r,n)&&oe(e,n,r[n]);if(te)for(var n of te(r))de.call(r,n)&&oe(e,n,r[n]);return e},we=(e,r)=>{var n={};for(var o in e)ce.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&te)for(var o of te(e))r.indexOf(o)<0&&de.call(e,o)&&(n[o]=e[o]);return n};const U=e=>{var r=e,{terminal:n,onKey:o,fitHook:h}=r,l=we(r,["terminal","onKey","fitHook"]);const u=ue({height:"100%",width:"100%",padding:"5px 20px",backgroundColor:"#1e1e1e"},l),m=new L.FitAddon,T=(0,t.useRef)(null),C=f=>{f.onKey(({key:N,domEvent:v})=>{let g=N;switch(N.charCodeAt(0)){case 13:break;case 27:switch(v.key){case"ArrowLeft":if(f.buffer.active.cursorX<=2)return;break;case"ArrowRight":break;case"ArrowUp":case"ArrowDown":break;default:break}break;case 8:case 127:f.buffer.active.cursorX>2&&(g="\b");break;case 27:g="[3~";break;default:break}o(g)})},P=()=>{try{setTimeout(()=>{m.fit()},0)}catch(f){}};return(0,t.useEffect)(()=>{n&&(n.loadAddon(m),C(n),n.open(T.current),P())},[n]),(0,t.useEffect)(()=>{P()},[h]),t.createElement(t.Fragment,null,t.createElement("div",{style:ue({},u),ref:T}))};var w=s(44959),ae=s(76635),me=s(34845),Ie=Object.defineProperty,O=Object.defineProperties,p=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,J=Object.prototype.propertyIsEnumerable,re=(e,r,n)=>r in e?Ie(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,D=(e,r)=>{for(var n in r||(r={}))R.call(r,n)&&re(e,n,r[n]);if(i)for(var n of i(r))J.call(r,n)&&re(e,n,r[n]);return e},F=(e,r)=>O(e,p(r)),Q=(e,r)=>{var n={};for(var o in e)R.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&i)for(var o of i(e))r.indexOf(o)<0&&J.call(e,o)&&(n[o]=e[o]);return n};const q=e=>{var r=e,{options:n}=r,o=Q(r,["options"]);const h=D({},n),l=document.createElement("div");l.classList.add("xterm-helper-user-label");const[u,m]=(0,t.useState)(null),T=(0,V.m)(v=>v.socket),{CRDTInfo:C}=(0,w.Ng)(v=>v),P=(v,g)=>{v.write(`\r
2
+ `),v.clear(),f(v,g)},f=(v,g)=>{v.write(g)},N=v=>{if(w.Ng.getState().appStatus==="replay")return;const g={timestamp:Date.now().toString(),userInfo:(0,ae.pick)(w.HP.getState().userInfo,"uuid"),terminal:{doc:{action:"Edit",value:v}}};T.emit("terminal",JSON.stringify(g))};return(0,t.useEffect)(()=>{if(!u){const v=new Z.Terminal(h);m(v)}},[]),(0,t.useEffect)(()=>{var v;!u||C.terminal&&P(u,((v=w.Ng.getState().CRDTInfo.terminal.doc)==null?void 0:v.value)||"")},[u]),(0,t.useEffect)(()=>{const v=C.terminal;if(u&&v){if(v.doc.action==="Get"){P(u,v.doc.value);return}f(u,v.doc.value||"");const g=w.zA.getState().userList[C.userInfo.uuid];if(g&&!(0,me.b7)(C.userInfo)){const k=u._core._helperContainer;l.innerText=g.name,l.style.backgroundColor=g.color,l.style.top=k.firstChild.style.top,l.style.left=k.firstChild.style.left,k==null||k.appendChild(l),u.setOption("theme",F(D({},u.getOption("theme")),{cursor:g.color}));const ne=setTimeout(()=>{k==null||k.removeChild(l),u.setOption("theme",F(D({},u.getOption("theme")),{cursor:"#ffffff"}))},6e3);return()=>{try{k==null||k.removeChild(l)}catch(Ce){console.log(`There isn't any "userLabel", please try again.`)}u.setOption("theme",F(D({},u.getOption("theme")),{cursor:"#ffffff"})),clearTimeout(ne)}}}},[C.terminal]),t.createElement("div",{id:"terminal",style:{height:"100%",width:"100%"}},t.createElement(U,D({terminal:u,onKey:N},o)))};var fe=s(1442),$=Object.defineProperty,G=Object.defineProperties,De=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,le=(e,r,n)=>r in e?$(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,se=(e,r)=>{for(var n in r||(r={}))pe.call(r,n)&&le(e,n,r[n]);if(ee)for(var n of ee(r))ve.call(r,n)&&le(e,n,r[n]);return e},ie=(e,r)=>G(e,De(r)),Fe=(e,r)=>{var n={};for(var o in e)pe.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&ee)for(var o of ee(e))r.indexOf(o)<0&&ve.call(e,o)&&(n[o]=e[o]);return n};const ge=e=>{var r=e,{activeKey:n,onSelect:o,tabItems:h}=r,l=Fe(r,["activeKey","onSelect","tabItems"]);return t.createElement(fe.Z,ie(se({},l),{activeKey:n,onSelect:o}),h.map(u=>t.createElement(fe.Z.Item,{eventKey:u.eventKey,key:u.eventKey},u.itemName)))};var ke=s(92467),a=s(79520),y=s(86788),c=Object.defineProperty,d=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,z=(e,r,n)=>r in e?c(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,M=(e,r)=>{for(var n in r||(r={}))E.call(r,n)&&z(e,n,r[n]);if(d)for(var n of d(r))A.call(r,n)&&z(e,n,r[n]);return e},Le=(e,r)=>{var n={};for(var o in e)E.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&d)for(var o of d(e))r.indexOf(o)<0&&A.call(e,o)&&(n[o]=e[o]);return n};const Ee=x.Z.div`
3
3
  background: #eee;
4
4
  border-color: ${e=>e.user.color};
5
5
  background-image: ${e=>'url("'+e.user.avatar+'")'};
@@ -33,7 +33,7 @@
33
33
  &.pro-running {
34
34
  background-color: red;
35
35
  }
36
- `,st=({playgroundStatus:e,dockerStatus:r})=>t.createElement(t.Fragment,null,(()=>{switch(e){case"EMPTY":return t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 loading text-white animate-spin flex justify-center items-center"}),t.createElement("div",null,"\u52A0\u8F7D\u4E2D..."));case"ACTIVE":return r==="STOP"?t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 run-solid text-white flex justify-center items-center"}),t.createElement("div",null,"\u8FD0\u884C")):r==="RUNNING"&&t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 stop text-white flex justify-center items-center"}),t.createElement("div",null,"\u505C\u6B62\u8FD0\u884C"));case"INACTIVE":return t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 self-center text-xl d42 cloud-offline-outline flex justify-center items-center"}),t.createElement("div",null,"\u6FC0\u6D3B"));default:return t.createElement(t.Fragment,null)}})()),it=e=>{var r=ot(e,[]);const n=(0,V.m)(g=>g.socket),o=(0,w.Ng)(g=>g.playgroundStatus),h=(0,w.Ng)(g=>g.dockerStatus),[l,u]=(0,t.useState)("EMPTY"),[m,T]=(0,t.useState)("STOP");(0,t.useEffect)(()=>{u(o)},[o]),(0,t.useEffect)(()=>{T(h)},[h]);const C=()=>{w.Ng.getState().playgroundStatus==="ACTIVE"?n.emit("run"):w.Ng.getState().playgroundStatus==="INACTIVE"&&n.emit("active")},P=()=>{n.emit("stop")},[f,N]=(0,t.useState)("ONLINE");(0,t.useEffect)(()=>{window.addEventListener("online",()=>{N("ONLINE")}),window.addEventListener("offline",()=>{N("OFFLINE")}),setInterval(()=>{v()<=300?N("WEAK_NET"):N("ONLINE")},3e5)},[]);const v=()=>{const g=window.navigator.connection;if(g&&g.downlink)return g.downlink*1024/8};return t.createElement(at,null,t.createElement(lt,nt({onClick:l==="INACTIVE"||m==="STOP"?C:P,className:[l==="EMPTY"?"disabled":"",l==="ACTIVE"&&m==="RUNNING"?"pro-running":""].join(" ")},r),t.createElement(st,{playgroundStatus:l,dockerStatus:m})),t.createElement("i",{className:"d42 offline text-xl text-white absolute animate-pulse -right-2",style:{display:f==="OFFLINE"?"block":"none"}}),t.createElement("i",{className:"d42 loading text-xl text-white animate-spin absolute -right-2",style:{display:f==="WEAK_NET"?"block":"none"}}))};var Se=s(47862),ct=s(28316),Oe=s(2354);const dt=x.Z.div`
36
+ `,st=({playgroundStatus:e,dockerStatus:r})=>t.createElement(t.Fragment,null,(()=>{switch(e){case"EMPTY":return t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 loading text-white animate-spin flex justify-center items-center"}),t.createElement("div",null,"\u52A0\u8F7D\u4E2D..."));case"ACTIVE":return r==="STOP"?t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 run-solid text-white flex justify-center items-center"}),t.createElement("div",null,"\u8FD0\u884C")):r==="RUNNING"&&t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 text-xl d42 stop text-white flex justify-center items-center"}),t.createElement("div",null,"\u505C\u6B62\u8FD0\u884C"));case"INACTIVE":return t.createElement(t.Fragment,null,t.createElement("i",{className:"w-5 h-5 mr-2.5 self-center text-xl d42 cloud-offline-outline flex justify-center items-center"}),t.createElement("div",null,"\u6FC0\u6D3B"));default:return t.createElement(t.Fragment,null)}})()),it=e=>{var r=ot(e,[]);const n=(0,V.m)(g=>g.socket),o=(0,w.Ng)(g=>g.playgroundStatus),h=(0,w.Ng)(g=>g.dockerStatus),[l,u]=(0,t.useState)("EMPTY"),[m,T]=(0,t.useState)("STOP");(0,t.useEffect)(()=>{u(o)},[o]),(0,t.useEffect)(()=>{T(h)},[h]);const C=()=>{w.Ng.getState().playgroundStatus==="ACTIVE"?n.emit("run"):w.Ng.getState().playgroundStatus==="INACTIVE"&&n.emit("active")},P=()=>{n.emit("stop")},[f,N]=(0,t.useState)("ONLINE");(0,t.useEffect)(()=>{window.addEventListener("online",()=>{N("ONLINE")}),window.addEventListener("offline",()=>{N("OFFLINE")}),setInterval(()=>{v()<=300?N("WEAK_NET"):N("ONLINE")},3e5)},[]);const v=()=>{const g=window.navigator.connection;if(g&&g.downlink)return g.downlink*1024/8};return t.createElement(at,null,t.createElement(lt,nt({onClick:l==="INACTIVE"||m==="STOP"?C:P,className:[l==="EMPTY"?"disabled":"",l==="ACTIVE"&&m==="RUNNING"?"pro-running":""].join(" ")},r),t.createElement(st,{playgroundStatus:l,dockerStatus:m})),t.createElement("i",{className:"d42 offline text-xl text-white absolute animate-pulse -right-2",style:{display:f==="OFFLINE"?"block":"none"}}),t.createElement("i",{className:"d42 loading text-xl text-white animate-spin absolute -right-2",style:{display:f==="WEAK_NET"?"block":"none"}}))};var Se=s(47862),ct=s(28316),Oe=s(85046);const dt=x.Z.div`
37
37
  position: relative;
38
38
  min-width: 300px;
39
39
  min-height: 225px;
@@ -83,7 +83,7 @@
83
83
  border: 1px solid #d4d4d4;
84
84
  border-radius: 4px;
85
85
  background-color: #d4d4d4;
86
- `,Ge=w.HP.getState().userInfo.uuid,Ot=({})=>{const[e,r]=(0,t.useState)([]),[n,o]=(0,t.useState)(null),[h,l]=(0,t.useState)(!1),[u,m]=(0,t.useState)(!1),[T,C]=(0,t.useState)(!1),[P,f]=(0,t.useState)([""]),[N]=(0,t.useState)({uid:Ge,cid:w.Ng.getState().playgroundInfo.playgroundId,sid:"0"}),v=()=>{o(b=>{if(b)return b;const S=new Oe.A7({send:()=>{}}),I=new Oe.$V("https://develop.1024paas.com",N,["agora"],S);return localStorage.getItem("d42rtc")&&k(I),I.onVideoStream=(j,X)=>{m(!0),g({id:j.uid,videoStream:X})},I.onAudioStream=(j,X)=>{m(!0),g({id:j.uid,audioStream:X})},I.on(Oe.zW.userAudioClose,j=>{const X=document.querySelector(`#audio-${j.uid}`);X.srcObject=null,X.pause()}),I.on(Oe.zW.userVideoClose,j=>{Ne(j.uid)}),I})},g=b=>{r(S=>{const I=S.findIndex(j=>j.id===b.id);if(I===-1)return b.id===Ge?[b,...S]:[...S,b];if(I>-1){const j=S[I],X=Je(Je({},j),b);return S.splice(I,1,X),[...S]}})},k=b=>{b.setState(JSON.parse(localStorage.getItem("d42rtc")))},ne=(b,S)=>{l(S),S?b.join():(b.leave(),localStorage.removeItem("d42rtc"))},Ce=b=>{C(!1),m(!0),b.startVideo()},Ne=b=>{r(S=>S.filter(I=>I.id!==b))},je=()=>B(this,null,function*(){const b=yield(0,gt.ZS)();C(!0),r([b[0].userInfo.uuid]),f([b[0].media.extraInfo.segmentId]),m(!0)}),Ye=()=>{};return(0,t.useEffect)(()=>{n&&localStorage.setItem("d42rtc",JSON.stringify(n.getState())),e.length===0&&m(!1)},[e]),(0,t.useEffect)(()=>{v()},[]),t.createElement(bt,{className:"flex items-center"},h?t.createElement(t.Fragment,null,t.createElement("button",{className:"button",onClick:()=>ne(n,!1)},"\u79BB\u5F00\u623F\u95F4"),t.createElement("button",{className:"button",onClick:()=>Ce(n)},"\u53D1\u8D77\u89C6\u9891")):t.createElement("button",{className:"button",onClick:()=>ne(n,!0)},"\u52A0\u5165\u623F\u95F4"),t.createElement("button",{className:"button",onClick:je},"\u89C6\u9891\u56DE\u653E"),ct.createPortal(t.createElement(St,{style:{display:u?"block":"none"}},e.map((b,S)=>t.createElement(vt,{key:b.id,userMedia:b,isRemote:!(0,me.b7)({uuid:b.id}),rtc:n,rtcID:N,currentId:b.id,closeVideoWindow:Ne,replaying:T,segmentId:P[S]}))),document.body))};var Xe=(e=>(e.js="javascript",e.ts="typescript",e.typescript="typescript",e.tsx="typescript",e.python="python",e.json="json",e.ruby="ruby",e.rb="ruby",e.java="java",e.md="markdown",e.erb="erb",e.css="css",e.ru="ruby",e.ejs="html",e.html="html",e))(Xe||{});const xe=(0,ke.Z)(e=>({isFolded:!1,setFold:r=>e({isFolded:r})})),xt=(0,_.Vo)(()=>B(this,null,function*(){return(yield Promise.resolve().then(s.bind(s,86788))).Editor})),Ct=(0,_.Vo)(()=>B(this,null,function*(){return(yield Promise.resolve().then(s.bind(s,90930))).FileTree}));/*! purgecss start ignore */const Nt=x.Z.div`
86
+ `,Ge=w.HP.getState().userInfo.uuid,Ot=({})=>{const[e,r]=(0,t.useState)([]),[n,o]=(0,t.useState)(null),[h,l]=(0,t.useState)(!1),[u,m]=(0,t.useState)(!1),[T,C]=(0,t.useState)(!1),[P,f]=(0,t.useState)([""]),[N]=(0,t.useState)({uid:Ge,cid:w.Ng.getState().playgroundInfo.playgroundId,sid:"0"}),v=()=>{o(b=>{if(b)return b;const S=new Oe.Conn({send:()=>{}}),I=new Oe.D42RTC("https://develop.1024paas.com",N,["agora"],S);return localStorage.getItem("d42rtc")&&k(I),I.onVideoStream=(j,X)=>{m(!0),g({id:j.uid,videoStream:X})},I.onAudioStream=(j,X)=>{m(!0),g({id:j.uid,audioStream:X})},I.on(Oe.Events.userAudioClose,j=>{const X=document.querySelector(`#audio-${j.uid}`);X.srcObject=null,X.pause()}),I.on(Oe.Events.userVideoClose,j=>{Ne(j.uid)}),I})},g=b=>{r(S=>{const I=S.findIndex(j=>j.id===b.id);if(I===-1)return b.id===Ge?[b,...S]:[...S,b];if(I>-1){const j=S[I],X=Je(Je({},j),b);return S.splice(I,1,X),[...S]}})},k=b=>{b.setState(JSON.parse(localStorage.getItem("d42rtc")))},ne=(b,S)=>{l(S),S?b.join():(b.leave(),localStorage.removeItem("d42rtc"))},Ce=b=>{C(!1),m(!0),b.startVideo()},Ne=b=>{r(S=>S.filter(I=>I.id!==b))},je=()=>B(this,null,function*(){const b=yield(0,gt.ZS)();C(!0),r([b[0].userInfo.uuid]),f([b[0].media.extraInfo.segmentId]),m(!0)}),Ye=()=>{};return(0,t.useEffect)(()=>{n&&localStorage.setItem("d42rtc",JSON.stringify(n.getState())),e.length===0&&m(!1)},[e]),(0,t.useEffect)(()=>{v()},[]),t.createElement(bt,{className:"flex items-center"},h?t.createElement(t.Fragment,null,t.createElement("button",{className:"button",onClick:()=>ne(n,!1)},"\u79BB\u5F00\u623F\u95F4"),t.createElement("button",{className:"button",onClick:()=>Ce(n)},"\u53D1\u8D77\u89C6\u9891")):t.createElement("button",{className:"button",onClick:()=>ne(n,!0)},"\u52A0\u5165\u623F\u95F4"),t.createElement("button",{className:"button",onClick:je},"\u89C6\u9891\u56DE\u653E"),ct.createPortal(t.createElement(St,{style:{display:u?"block":"none"}},e.map((b,S)=>t.createElement(vt,{key:b.id,userMedia:b,isRemote:!(0,me.b7)({uuid:b.id}),rtc:n,rtcID:N,currentId:b.id,closeVideoWindow:Ne,replaying:T,segmentId:P[S]}))),document.body))};var Xe=(e=>(e.js="javascript",e.ts="typescript",e.typescript="typescript",e.tsx="typescript",e.python="python",e.json="json",e.ruby="ruby",e.rb="ruby",e.java="java",e.md="markdown",e.erb="erb",e.css="css",e.ru="ruby",e.ejs="html",e.html="html",e))(Xe||{});const xe=(0,ke.Z)(e=>({isFolded:!1,setFold:r=>e({isFolded:r})})),xt=(0,_.Vo)(()=>B(this,null,function*(){return(yield Promise.resolve().then(s.bind(s,86788))).Editor})),Ct=(0,_.Vo)(()=>B(this,null,function*(){return(yield Promise.resolve().then(s.bind(s,90930))).FileTree}));/*! purgecss start ignore */const Nt=x.Z.div`
87
87
  width: 100vw;
88
88
  height: 100vh;
89
89
  overflow: hidden;
@@ -122,10 +122,10 @@
122
122
  }
123
123
  `,It=x.Z.div`
124
124
  height: 100%;
125
- `,Ft=x.Z.section`
125
+ `,Dt=x.Z.section`
126
126
  background: #202327;
127
127
  width: 500px;
128
- `,Dt=e=>{const r=[{eventKey:"console",itemName:"Console"},{eventKey:"shell",itemName:"Shell"}],n={convertEol:!0,fontSize:12,fontFamily:"Monaco, Menlo, monospace",lineHeight:1,cursorBlink:!0,cursorWidth:1,cursorStyle:"block",rightClickSelectsWord:!0,theme:{background:"#1E1E1E"}},o=xe.getState().isFolded,h=(0,K.N)(v=>v.playgroundInfo),[l,u]=(0,t.useState)("shell"),[m,T]=(0,t.useState)(h.url),{socket:C}=V.m.getState();let P=1;const[f,N]=(0,t.useState)(t.createElement(t.Fragment,null));return(0,t.useEffect)(()=>{P&&l==="console"&&(P--,N(t.createElement(tt,{options:n,fitHook:o})))},[l]),(0,t.useEffect)(()=>{e.replay&&(0,Se.A)()},[e.replay]),(0,t.useEffect)(()=>{T(h.url)},[h]),(0,t.useEffect)(()=>{e.playgroundId&&(C==null||C.emit("playgroundInfo",JSON.stringify({messageId:"1",playgroundId:e.playgroundId})))},[e.playgroundId]),t.createElement(t.Fragment,null,t.createElement(Nt,{className:"flex flex-col"},t.createElement(At,null),t.createElement(Tt,{className:"flex flex-1 mt-2.5 flex-row"},t.createElement("section",{className:"flex flex-row"},t.createElement(kt,null),t.createElement(Lt,null)),t.createElement("section",{className:"bg-codezone-black rounded-sm mx-3.5 flex-1 flex flex-col"},t.createElement(It,null,t.createElement(t.Suspense,{fallback:t.createElement(Re,{count:10})},t.createElement(xt,null)))),t.createElement(Ft,{className:"rounded-sm mr-2.5"},t.createElement(ge,{className:"mb-1",appearance:"tabs",activeKey:l,onSelect:u,tabItems:r}),t.createElement(t.Suspense,{fallback:t.createElement(Re,null)},t.createElement(Pt,null,t.createElement("div",{key:"console",className:"",style:{display:l==="console"?"block":"none",height:"100%",width:"100%"}},f),t.createElement("div",{key:"terminal",style:{display:l==="console"?"none":"block",height:"100%",width:"100%"}},t.createElement(q,{options:n,fitHook:o}))))))))},At=()=>{var e,r;const n=(0,w.zA)(m=>m.userList),o=(0,K.N)(m=>m.appStatus),h=(0,K.N)(m=>m.globalData),{setAppStatus:l}=K.N.getState(),u=w.HP.getState().userInfo;return n?t.createElement(wt,{className:"relative bg-codezone-black h-16 flex px-9 flex-shrink-0 justify-between"},t.createElement("div",{className:"flex"},t.createElement(he,{user:u,onClick:()=>{const m=window.open("//github.com/login/oauth/authorize?client_id=7333fa72cf5753ba016e&redirect_uri=http://localhost:3000/auth/github","targetWindow",`toolbar=no,
128
+ `,Ft=e=>{const r=[{eventKey:"console",itemName:"Console"},{eventKey:"shell",itemName:"Shell"}],n={convertEol:!0,fontSize:12,fontFamily:"Monaco, Menlo, monospace",lineHeight:1,cursorBlink:!0,cursorWidth:1,cursorStyle:"block",rightClickSelectsWord:!0,theme:{background:"#1E1E1E"}},o=xe.getState().isFolded,h=(0,K.N)(v=>v.playgroundInfo),[l,u]=(0,t.useState)("shell"),[m,T]=(0,t.useState)(h.url),{socket:C}=V.m.getState();let P=1;const[f,N]=(0,t.useState)(t.createElement(t.Fragment,null));return(0,t.useEffect)(()=>{P&&l==="console"&&(P--,N(t.createElement(tt,{options:n,fitHook:o})))},[l]),(0,t.useEffect)(()=>{e.replay&&(0,Se.A)()},[e.replay]),(0,t.useEffect)(()=>{T(h.url)},[h]),(0,t.useEffect)(()=>{e.playgroundId&&(C==null||C.emit("playgroundInfo",JSON.stringify({messageId:"1",playgroundId:e.playgroundId})))},[e.playgroundId]),t.createElement(t.Fragment,null,t.createElement(Nt,{className:"flex flex-col"},t.createElement(At,null),t.createElement(Tt,{className:"flex flex-1 mt-2.5 flex-row"},t.createElement("section",{className:"flex flex-row"},t.createElement(kt,null),t.createElement(Lt,null)),t.createElement("section",{className:"bg-codezone-black rounded-sm mx-3.5 flex-1 flex flex-col"},t.createElement(It,null,t.createElement(t.Suspense,{fallback:t.createElement(Re,{count:10})},t.createElement(xt,null)))),t.createElement(Dt,{className:"rounded-sm mr-2.5"},t.createElement(ge,{className:"mb-1",appearance:"tabs",activeKey:l,onSelect:u,tabItems:r}),t.createElement(t.Suspense,{fallback:t.createElement(Re,null)},t.createElement(Pt,null,t.createElement("div",{key:"console",className:"",style:{display:l==="console"?"block":"none",height:"100%",width:"100%"}},f),t.createElement("div",{key:"terminal",style:{display:l==="console"?"none":"block",height:"100%",width:"100%"}},t.createElement(q,{options:n,fitHook:o}))))))))},At=()=>{var e,r;const n=(0,w.zA)(m=>m.userList),o=(0,K.N)(m=>m.appStatus),h=(0,K.N)(m=>m.globalData),{setAppStatus:l}=K.N.getState(),u=w.HP.getState().userInfo;return n?t.createElement(wt,{className:"relative bg-codezone-black h-16 flex px-9 flex-shrink-0 justify-between"},t.createElement("div",{className:"flex"},t.createElement(he,{user:u,onClick:()=>{const m=window.open("//github.com/login/oauth/authorize?client_id=7333fa72cf5753ba016e&redirect_uri=http://localhost:3000/auth/github","targetWindow",`toolbar=no,
129
129
  location=no,
130
130
  status=no,
131
131
  menubar=no,
@@ -140,4 +140,4 @@
140
140
  margin: 15px;
141
141
  color: #fff;
142
142
  visibility: ${e?"hidden":"visible"};
143
- `},"\u6587\u4EF6"),t.createElement("div",{style:{height:"calc(100% - 52px)"}},t.createElement(t.Suspense,{fallback:t.createElement(Re,{count:5})},t.createElement(Ct,null))))},Rt=Dt}};
143
+ `},"\u6587\u4EF6"),t.createElement("div",{style:{height:"calc(100% - 52px)"}},t.createElement(t.Suspense,{fallback:t.createElement(Re,{count:5})},t.createElement(Ct,null))))},Rt=Ft}}]);