@rainbow-robotics/preview-host 0.11.2-dev.0 → 0.11.2
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.
- package/dist/assets/{AmrCapabilityControl.5JPgsSoR.js → AmrCapabilityControl.DHlClNfl.js} +1 -1
- package/dist/assets/{RbLocalizationProvider.6wdT7WY9.js → RbLocalizationProvider.Bjp-XasT.js} +55 -55
- package/dist/assets/{__federation_expose_App.C_beiC6X.js → __federation_expose_App.BoAD7rmq.js} +344 -312
- package/dist/assets/__federation_fn_import.DdkEuT6t.js +2 -2
- package/dist/assets/{cssMode.f4FeviXh.js → cssMode.DvbQhRWp.js} +1 -1
- package/dist/assets/{freemarker2.B9IjV80o.js → freemarker2.D4QgvvAA.js} +1 -1
- package/dist/assets/{handlebars.ce13EvEW.js → handlebars.aNWQrcY9.js} +1 -1
- package/dist/assets/{html.DLKUMOEg.js → html.De5DHXNR.js} +1 -1
- package/dist/assets/{htmlMode.DTPata5W.js → htmlMode.LxOTVQQu.js} +1 -1
- package/dist/assets/index.DKZKIW-y.js +1 -0
- package/dist/assets/{index.jRC7zSWR.js → index.aaHIZMQG.js} +2 -2
- package/dist/assets/{index.Y2rHkgnC.js → index.lzV92Wx_.js} +1 -1
- package/dist/assets/{javascript.B2eEkT__.js → javascript.Cvwtihkn.js} +1 -1
- package/dist/assets/{jsonMode.B4ss9Cwa.js → jsonMode.DhyMqrQK.js} +1 -1
- package/dist/assets/{liquid.B_pWb41O.js → liquid.BteD4Gob.js} +1 -1
- package/dist/assets/{lspLanguageFeatures.Ugz3kGYC.js → lspLanguageFeatures.B0QqnvEK.js} +1 -1
- package/dist/assets/{mdx.DQDtSef7.js → mdx.DswheUlM.js} +1 -1
- package/dist/assets/{python.qjwY-oSU.js → python.BoMGDtn_.js} +1 -1
- package/dist/assets/{razor.ox5OgvAl.js → razor.D9ppbGyZ.js} +1 -1
- package/dist/assets/remoteEntry.js +1 -1
- package/dist/assets/{tsMode.DlZ1E1XF.js → tsMode.CI_2C2BP.js} +1 -1
- package/dist/assets/{typescript.DddPiD6C.js → typescript.B-PscPZM.js} +1 -1
- package/dist/assets/{useParsedPointCloudData.CjDZIVgK.js → useParsedPointCloudData.By3wmxd4.js} +2 -2
- package/dist/assets/{xml.BzC2RAU8.js → xml.BR2Tjm_U.js} +1 -1
- package/dist/assets/{yaml.DLsEIYG7.js → yaml.CO5muCL7.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/sounds/mech-keyboard.mp3 +0 -0
- package/package.json +1 -1
- package/serve.mjs +61 -14
- package/dist/assets/index.BPi3qPPC.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./__federation_expose_App.
|
|
1
|
+
import{l as e}from"./__federation_expose_App.BoAD7rmq.js";const i={comments:{blockComment:["{/*","*/}"]},brackets:[["{","}"]],autoClosingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"“",close:"”"},{open:"‘",close:"’"},{open:"`",close:"`"},{open:"{",close:"}"},{open:"(",close:")"},{open:"_",close:"_"},{open:"**",close:"**"},{open:"<",close:">"}],onEnterRules:[{beforeText:/^\s*- .+/,action:{indentAction:e.IndentAction.None,appendText:"- "}},{beforeText:/^\s*\+ .+/,action:{indentAction:e.IndentAction.None,appendText:"+ "}},{beforeText:/^\s*\* .+/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^> /,action:{indentAction:e.IndentAction.None,appendText:"> "}},{beforeText:/<\w+/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/\s+>\s*$/,action:{indentAction:e.IndentAction.Indent}},{beforeText:/<\/\w+>/,action:{indentAction:e.IndentAction.Outdent}},...Array.from({length:100},(n,t)=>({beforeText:new RegExp(`^${t}\\. .+`),action:{indentAction:e.IndentAction.None,appendText:`${t+1}. `}}))]},s={defaultToken:"",tokenPostfix:".mdx",control:/[!#()*+.[\\\]_`{}\-]/,escapes:/\\@control/,tokenizer:{root:[[/^---$/,{token:"meta.content",next:"@frontmatter",nextEmbedded:"yaml"}],[/^\s*import/,{token:"keyword",next:"@import",nextEmbedded:"js"}],[/^\s*export/,{token:"keyword",next:"@export",nextEmbedded:"js"}],[/<\w+/,{token:"type.identifier",next:"@jsx"}],[/<\/?\w+>/,"type.identifier"],[/^(\s*)(>*\s*)(#{1,6}\s)/,[{token:"white"},{token:"comment"},{token:"keyword",next:"@header"}]],[/^(\s*)(>*\s*)([*+-])(\s+)/,["white","comment","keyword","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/,["white","comment","number","white"]],[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/,["white","comment","keyword"]],[/`{3,}(\s.*)?$/,{token:"string",next:"@codeblock_backtick"}],[/~{3,}(\s.*)?$/,{token:"string",next:"@codeblock_tilde"}],[/`{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_backtick",nextEmbedded:"$1"}],[/~{3,}(\S+).*$/,{token:"string",next:"@codeblock_highlight_tilde",nextEmbedded:"$1"}],[/^(\s*)(-{4,})$/,["white","comment"]],[/^(\s*)(>+)/,["white","comment"]],{include:"content"}],content:[[/(\[)(.+)(]\()(.+)(\s+".*")(\))/,["","string.link","","type.identifier","string.link",""]],[/(\[)(.+)(]\()(.+)(\))/,["","type.identifier","","string.link",""]],[/(\[)(.+)(]\[)(.+)(])/,["","type.identifier","","type.identifier",""]],[/(\[)(.+)(]:\s+)(\S*)/,["","type.identifier","","string.link"]],[/(\[)(.+)(])/,["","type.identifier",""]],[/`.*`/,"variable.source"],[/_/,{token:"emphasis",next:"@emphasis_underscore"}],[/\*(?!\*)/,{token:"emphasis",next:"@emphasis_asterisk"}],[/\*\*/,{token:"strong",next:"@strong"}],[/{/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}]],import:[[/'\s*(;|$)/,{token:"string",next:"@pop",nextEmbedded:"@pop"}]],expression:[[/{/,{token:"delimiter.bracket",next:"@expression"}],[/}/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],export:[[/^\s*$/,{token:"delimiter.bracket",next:"@pop",nextEmbedded:"@pop"}]],jsx:[[/\s+/,""],[/(\w+)(=)("(?:[^"\\]|\\.)*")/,["attribute.name","operator","string"]],[/(\w+)(=)('(?:[^'\\]|\\.)*')/,["attribute.name","operator","string"]],[/(\w+(?=\s|>|={|$))/,["attribute.name"]],[/={/,{token:"delimiter.bracket",next:"@expression",nextEmbedded:"js"}],[/>/,{token:"type.identifier",next:"@pop"}]],header:[[/.$/,{token:"keyword",next:"@pop"}],{include:"content"},[/./,{token:"keyword"}]],strong:[[/\*\*/,{token:"strong",next:"@pop"}],{include:"content"},[/./,{token:"strong"}]],emphasis_underscore:[[/_/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],emphasis_asterisk:[[/\*(?!\*)/,{token:"emphasis",next:"@pop"}],{include:"content"},[/./,{token:"emphasis"}]],frontmatter:[[/^---$/,{token:"meta.content",nextEmbedded:"@pop",next:"@pop"}]],codeblock_highlight_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_highlight_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/.*$/,"variable.source"]],codeblock_backtick:[[/\s*`{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblock_tilde:[[/\s*~{3,}\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]]}};export{i as conf,s as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./__federation_expose_App.
|
|
1
|
+
import{l as e}from"./__federation_expose_App.BoAD7rmq.js";const t={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:e.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","type","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/f'{1,3}/,"string.escape","@fStringBody"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/f"{1,3}/,"string.escape","@fDblStringBody"],[/"/,"string.escape","@dblStringBody"]],fStringBody:[[/[^\\'\{\}]+$/,"string","@popall"],[/[^\\'\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],fDblStringBody:[[/[^\\"\{\}]+$/,"string","@popall"],[/[^\\"\{\}]+/,"string"],[/\{[^\}':!=]+/,"identifier","@fStringDetail"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]],fStringDetail:[[/[:][^}]+/,"string"],[/[!][ars]/,"string"],[/=/,"string"],[/\}/,"identifier","@pop"]]}};export{t as conf,s as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as t}from"./__federation_expose_App.
|
|
1
|
+
import{l as t}from"./__federation_expose_App.BoAD7rmq.js";const e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:t.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.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:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{o as conf,m as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const u={},m=new Set(["Module","__esModule","default","_export_sfc"]);let g={"./App":()=>(E([],!1,"./App"),y("./__federation_expose_App.
|
|
1
|
+
const u={},m=new Set(["Module","__esModule","default","_export_sfc"]);let g={"./App":()=>(E([],!1,"./App"),y("./__federation_expose_App.BoAD7rmq.js").then(e=>Object.keys(e).every(o=>m.has(o))?()=>e.default:()=>e))};const b={},E=(e,o,l)=>{const r=import.meta.url;if(typeof r>"u"){console.warn('The remote style takes effect only when the build.target option in the vite.config.ts file is higher than that of "es2020".');return}const i=r.substring(0,r.lastIndexOf("remoteEntry.js")),_='/';'assets',e.forEach(a=>{let n="";const c=_||i;if(c){const s={trailing:t=>t.endsWith("/")?t.slice(0,-1):t,leading:t=>t.startsWith("/")?t.slice(1):t},w=t=>t.startsWith("http")||t.startsWith("//"),d=s.trailing(c),h=s.leading(a),p=s.trailing(i);w(c)?n=[d,h].filter(Boolean).join("/"):p.includes(d)?n=[p,h].filter(Boolean).join("/"):n=[p+d,h].filter(Boolean).join("/")}else n=a;if(o){const s="css__@app/nexus__"+l;window[s]=window[s]||[],window[s].push(n);return}if(n in b)return;b[n]=!0;const f=document.createElement("link");f.rel="stylesheet",f.href=n,document.head.appendChild(f)})};async function y(e){return u[e]??=import(e),u[e]}const A=e=>{if(!g[e])throw new Error("Can not find remote module "+e);return g[e]()},T=e=>{globalThis.__federation_shared__=globalThis.__federation_shared__||{},Object.entries(e).forEach(([o,l])=>{for(const[r,i]of Object.entries(l)){const _=i.scope||"default";globalThis.__federation_shared__[_]=globalThis.__federation_shared__[_]||{};const a=globalThis.__federation_shared__[_];(a[o]=a[o]||{})[r]=i}})};export{E as dynamicLoadingCss,A as get,T as init};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as M,e as w,U as F,b as P,M as v,l as f,t as K,R as O}from"./__federation_expose_App.
|
|
1
|
+
import{a as M,e as w,U as F,b as P,M as v,l as f,t as K,R as O}from"./__federation_expose_App.BoAD7rmq.js";class E{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;const e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=M({moduleId:"vs/language/typescript/tsWorker",createWorker:()=>new Worker(new URL("/assets/ts.worker-BjWGAzqc.js",import.meta.url),{type:"module"}),label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync()?await this._worker.withSyncedResources(w.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy()))()),this._client}async getLanguageServiceWorker(...e){const t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}}const s={};s["lib.d.ts"]=!0;s["lib.decorators.d.ts"]=!0;s["lib.decorators.legacy.d.ts"]=!0;s["lib.dom.asynciterable.d.ts"]=!0;s["lib.dom.d.ts"]=!0;s["lib.dom.iterable.d.ts"]=!0;s["lib.es2015.collection.d.ts"]=!0;s["lib.es2015.core.d.ts"]=!0;s["lib.es2015.d.ts"]=!0;s["lib.es2015.generator.d.ts"]=!0;s["lib.es2015.iterable.d.ts"]=!0;s["lib.es2015.promise.d.ts"]=!0;s["lib.es2015.proxy.d.ts"]=!0;s["lib.es2015.reflect.d.ts"]=!0;s["lib.es2015.symbol.d.ts"]=!0;s["lib.es2015.symbol.wellknown.d.ts"]=!0;s["lib.es2016.array.include.d.ts"]=!0;s["lib.es2016.d.ts"]=!0;s["lib.es2016.full.d.ts"]=!0;s["lib.es2016.intl.d.ts"]=!0;s["lib.es2017.arraybuffer.d.ts"]=!0;s["lib.es2017.d.ts"]=!0;s["lib.es2017.date.d.ts"]=!0;s["lib.es2017.full.d.ts"]=!0;s["lib.es2017.intl.d.ts"]=!0;s["lib.es2017.object.d.ts"]=!0;s["lib.es2017.sharedmemory.d.ts"]=!0;s["lib.es2017.string.d.ts"]=!0;s["lib.es2017.typedarrays.d.ts"]=!0;s["lib.es2018.asyncgenerator.d.ts"]=!0;s["lib.es2018.asynciterable.d.ts"]=!0;s["lib.es2018.d.ts"]=!0;s["lib.es2018.full.d.ts"]=!0;s["lib.es2018.intl.d.ts"]=!0;s["lib.es2018.promise.d.ts"]=!0;s["lib.es2018.regexp.d.ts"]=!0;s["lib.es2019.array.d.ts"]=!0;s["lib.es2019.d.ts"]=!0;s["lib.es2019.full.d.ts"]=!0;s["lib.es2019.intl.d.ts"]=!0;s["lib.es2019.object.d.ts"]=!0;s["lib.es2019.string.d.ts"]=!0;s["lib.es2019.symbol.d.ts"]=!0;s["lib.es2020.bigint.d.ts"]=!0;s["lib.es2020.d.ts"]=!0;s["lib.es2020.date.d.ts"]=!0;s["lib.es2020.full.d.ts"]=!0;s["lib.es2020.intl.d.ts"]=!0;s["lib.es2020.number.d.ts"]=!0;s["lib.es2020.promise.d.ts"]=!0;s["lib.es2020.sharedmemory.d.ts"]=!0;s["lib.es2020.string.d.ts"]=!0;s["lib.es2020.symbol.wellknown.d.ts"]=!0;s["lib.es2021.d.ts"]=!0;s["lib.es2021.full.d.ts"]=!0;s["lib.es2021.intl.d.ts"]=!0;s["lib.es2021.promise.d.ts"]=!0;s["lib.es2021.string.d.ts"]=!0;s["lib.es2021.weakref.d.ts"]=!0;s["lib.es2022.array.d.ts"]=!0;s["lib.es2022.d.ts"]=!0;s["lib.es2022.error.d.ts"]=!0;s["lib.es2022.full.d.ts"]=!0;s["lib.es2022.intl.d.ts"]=!0;s["lib.es2022.object.d.ts"]=!0;s["lib.es2022.regexp.d.ts"]=!0;s["lib.es2022.string.d.ts"]=!0;s["lib.es2023.array.d.ts"]=!0;s["lib.es2023.collection.d.ts"]=!0;s["lib.es2023.d.ts"]=!0;s["lib.es2023.full.d.ts"]=!0;s["lib.es2023.intl.d.ts"]=!0;s["lib.es2024.arraybuffer.d.ts"]=!0;s["lib.es2024.collection.d.ts"]=!0;s["lib.es2024.d.ts"]=!0;s["lib.es2024.full.d.ts"]=!0;s["lib.es2024.object.d.ts"]=!0;s["lib.es2024.promise.d.ts"]=!0;s["lib.es2024.regexp.d.ts"]=!0;s["lib.es2024.sharedmemory.d.ts"]=!0;s["lib.es2024.string.d.ts"]=!0;s["lib.es5.d.ts"]=!0;s["lib.es6.d.ts"]=!0;s["lib.esnext.array.d.ts"]=!0;s["lib.esnext.collection.d.ts"]=!0;s["lib.esnext.d.ts"]=!0;s["lib.esnext.decorators.d.ts"]=!0;s["lib.esnext.disposable.d.ts"]=!0;s["lib.esnext.error.d.ts"]=!0;s["lib.esnext.float16.d.ts"]=!0;s["lib.esnext.full.d.ts"]=!0;s["lib.esnext.intl.d.ts"]=!0;s["lib.esnext.iterator.d.ts"]=!0;s["lib.esnext.promise.d.ts"]=!0;s["lib.esnext.sharedmemory.d.ts"]=!0;s["lib.scripthost.d.ts"]=!0;s["lib.webworker.asynciterable.d.ts"]=!0;s["lib.webworker.d.ts"]=!0;s["lib.webworker.importscripts.d.ts"]=!0;s["lib.webworker.iterable.d.ts"]=!0;function A(c,e,t=0){if(typeof c=="string")return c;if(c===void 0)return"";let o="";if(t){o+=e;for(let i=0;i<t;i++)o+=" "}if(o+=c.messageText,t++,c.next)for(const i of c.next)o+=A(i,e,t);return o}function _(c){return c?c.map(e=>e.text).join(""):""}class y{constructor(e){this._worker=e}_textSpanToRange(e,t){let o=e.getPositionAt(t.start),i=e.getPositionAt(t.start+t.length),{lineNumber:l,column:p}=o,{lineNumber:n,column:r}=i;return{startLineNumber:l,startColumn:p,endLineNumber:n,endColumn:r}}}class H{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return e&&e.path.indexOf("/lib.")===0?!!s[e.path.slice(1)]:!1}getOrCreateModel(e){const t=F.parse(e),o=w.getModel(t);if(o)return o;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return w.createModel(this._libFiles[t.path.slice(1)],"typescript",t);const i=K.getExtraLibs()[e];return i?w.createModel(i.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}}class W extends y{constructor(e,t,o,i){super(i),this._libFiles=e,this._defaults=t,this._selector=o,this._disposables=[],this._listener=Object.create(null);const l=r=>{if(r.getLanguageId()!==o)return;const u=()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h?r.isAttachedToEditor()&&this._doValidate(r):this._doValidate(r)};let d;const g=r.onDidChangeContent(()=>{clearTimeout(d),d=window.setTimeout(u,500)}),b=r.onDidChangeAttached(()=>{const{onlyVisible:h}=this._defaults.getDiagnosticsOptions();h&&(r.isAttachedToEditor()?u():w.setModelMarkers(r,this._selector,[]))});this._listener[r.uri.toString()]={dispose(){g.dispose(),b.dispose(),clearTimeout(d)}},u()},p=r=>{w.setModelMarkers(r,this._selector,[]);const u=r.uri.toString();this._listener[u]&&(this._listener[u].dispose(),delete this._listener[u])};this._disposables.push(w.onDidCreateModel(r=>l(r))),this._disposables.push(w.onWillDisposeModel(p)),this._disposables.push(w.onDidChangeModelLanguage(r=>{p(r.model),l(r.model)})),this._disposables.push({dispose(){for(const r of w.getModels())p(r)}});const n=()=>{for(const r of w.getModels())p(r),l(r)};this._disposables.push(this._defaults.onDidChange(n)),this._disposables.push(this._defaults.onDidExtraLibsChange(n)),w.getModels().forEach(r=>l(r))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){const t=await this._worker(e.uri);if(e.isDisposed())return;const o=[],{noSyntaxValidation:i,noSemanticValidation:l,noSuggestionDiagnostics:p}=this._defaults.getDiagnosticsOptions();i||o.push(t.getSyntacticDiagnostics(e.uri.toString())),l||o.push(t.getSemanticDiagnostics(e.uri.toString())),p||o.push(t.getSuggestionDiagnostics(e.uri.toString()));const n=await Promise.all(o);if(!n||e.isDisposed())return;const r=n.reduce((d,g)=>g.concat(d),[]).filter(d=>(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(d.code)===-1),u=r.map(d=>d.relatedInformation||[]).reduce((d,g)=>g.concat(d),[]).map(d=>d.file?F.parse(d.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(u),!e.isDisposed()&&w.setModelMarkers(e,this._selector,r.map(d=>this._convertDiagnostics(e,d)))}_convertDiagnostics(e,t){const o=t.start||0,i=t.length||1,{lineNumber:l,column:p}=e.getPositionAt(o),{lineNumber:n,column:r}=e.getPositionAt(o+i),u=[];return t.reportsUnnecessary&&u.push(P.Unnecessary),t.reportsDeprecated&&u.push(P.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:l,startColumn:p,endLineNumber:n,endColumn:r,message:A(t.messageText,`
|
|
2
2
|
`),code:t.code.toString(),tags:u,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];const o=[];return t.forEach(i=>{let l=e;if(i.file&&(l=this._libFiles.getOrCreateModel(i.file.fileName)),!l)return;const p=i.start||0,n=i.length||1,{lineNumber:r,column:u}=l.getPositionAt(p),{lineNumber:d,column:g}=l.getPositionAt(p+n);o.push({resource:l.uri,startLineNumber:r,startColumn:u,endLineNumber:d,endColumn:g,message:A(i.messageText,`
|
|
3
3
|
`)})}),o}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return v.Error;case 3:return v.Info;case 0:return v.Warning;case 2:return v.Hint}return v.Info}}class C extends y{get triggerCharacters(){return["."]}async provideCompletionItems(e,t,o,i){const l=e.getWordUntilPosition(t),p=new O(t.lineNumber,l.startColumn,t.lineNumber,l.endColumn),n=e.uri,r=e.getOffsetAt(t),u=await this._worker(n);if(e.isDisposed())return;const d=await u.getCompletionsAtPosition(n.toString(),r);return!d||e.isDisposed()?void 0:{suggestions:d.entries.map(b=>{let h=p;if(b.replacementSpan){const x=e.getPositionAt(b.replacementSpan.start),D=e.getPositionAt(b.replacementSpan.start+b.replacementSpan.length);h=new O(x.lineNumber,x.column,D.lineNumber,D.column)}const k=[];return b.kindModifiers!==void 0&&b.kindModifiers.indexOf("deprecated")!==-1&&k.push(f.CompletionItemTag.Deprecated),{uri:n,position:t,offset:r,range:h,label:b.name,insertText:b.name,sortText:b.sortText,kind:C.convertKind(b.kind),tags:k}})}}async resolveCompletionItem(e,t){const o=e,i=o.uri,l=o.position,p=o.offset,r=await(await this._worker(i)).getCompletionEntryDetails(i.toString(),p,o.label);return r?{uri:i,position:l,label:r.name,kind:C.convertKind(r.kind),detail:_(r.displayParts),documentation:{value:C.createDocumentationString(r)}}:o}static convertKind(e){switch(e){case a.primitiveType:case a.keyword:return f.CompletionItemKind.Keyword;case a.variable:case a.localVariable:return f.CompletionItemKind.Variable;case a.memberVariable:case a.memberGetAccessor:case a.memberSetAccessor:return f.CompletionItemKind.Field;case a.function:case a.memberFunction:case a.constructSignature:case a.callSignature:case a.indexSignature:return f.CompletionItemKind.Function;case a.enum:return f.CompletionItemKind.Enum;case a.module:return f.CompletionItemKind.Module;case a.class:return f.CompletionItemKind.Class;case a.interface:return f.CompletionItemKind.Interface;case a.warning:return f.CompletionItemKind.File}return f.CompletionItemKind.Property}static createDocumentationString(e){let t=_(e.documentation);if(e.tags)for(const o of e.tags)t+=`
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./__federation_expose_App.
|
|
1
|
+
import{l as e}from"./__federation_expose_App.BoAD7rmq.js";const n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:e.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:e.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:e.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:e.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")}}},o={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","out","package","private","protected","public","override","readonly","require","global","return","satisfies","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"}]}};export{n as conf,o as language};
|
package/dist/assets/{useParsedPointCloudData.CjDZIVgK.js → useParsedPointCloudData.By3wmxd4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as Pc,
|
|
1
|
+
import{c as Pc,f8 as Eu,cx as Fg,gq as Ug,gr as gc,gs as Iv,gt as Au,gu as yf,gv as kv,gw as Bg,gx as xf,gy as Ov,gz as Fv,G as Uv,j as v,x as $t,cG as Hn,co as tn,H as C,c1 as $,U as we,gA as ba,bJ as wr,fl as zg,a$ as nt,cE as Cu,cn as Ea,cD as hi,av as ts,bF as Nn,fM as Hg,dh as Gg,gB as Bv,di as Pu,fN as Vg,gC as zv,dd as Hv,gD as Gv,gE as Vv,S as Wv,gj as Wg,eJ as jv,aX as Kn,eD as Ao,bY as Rn,fC as Xv,fS as qv,cp as Zv,bj as Yv,fd as Kv,fn as jg,cT as $v,eP as Sh,eW as Xg,cL as Qv,eq as Jv,bR as qg,bS as vr,bP as Zg,bH as Rc,fI as ey,fJ as ty,eL as Ru,gF as _f,d2 as ny,aW as go,bs as ca,V as Pi,cW as iy,cV as sy,d5 as ry,d6 as ay,_ as oy,cA as ly,cQ as Yg,gG as cy,fk as dy,fj as hy,gH as uy,fp as fy,cO as Co,ag as Po,ab as ii,db as Mh,cv as py,el as my,em as gy,X as wf,a9 as by,bQ as Xo,eX as vy,gI as yy,go as xy,cJ as Kg,gp as _y,ew as wy,af as Sy,eY as Sf}from"./RbLocalizationProvider.Bjp-XasT.js";import{importShared as At}from"./__federation_fn_import.DdkEuT6t.js";import{g as My}from"./index.P6snMalu.js";import{c as Nc}from"./emotion-styled-base.browser.esm.BIcjgOzg.js";/**
|
|
2
2
|
* @license lucide-react v0.486.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -4751,4 +4751,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4751
4751
|
color-mix(in srgb, var(--color-fg-default) 2%, transparent) 100%
|
|
4752
4752
|
);}.moving-dot{position:absolute;left:50%;top:0.5rem;width:0.5rem;height:0.5rem;transform:translateX(-50%);border-radius:9999px;background:var(--color-fg-default);box-shadow:0 0 0.625rem color-mix(in srgb, var(--color-fg-default) 95%, transparent),0 0 1.25rem color-mix(in srgb, var(--color-fg-information) 70%, transparent);animation:`,r=>r.isMoving?"drop-down 4s ease-in-out infinite, sparkle 0.65s ease-in-out infinite":"none",";}@keyframes drop-down{0%{top:0.25rem;opacity:0.2;}5%{opacity:1;}90%{opacity:0.9;}100%{top:calc(100% - 0.75rem);opacity:0.1;}}@keyframes sparkle{0%{filter:brightness(0.9);}50%{filter:brightness(1.35);}100%{filter:brightness(0.9);}}"),Cv=({className:r,items:e,latestIndex:t=0,latestIndexes:n,compact:i=!1,showResult:s=!i})=>{const{t:a}=tn();return e.length?v(PR,{className:$t("gap-2",r),children:e.map((o,l)=>{const c=n?n.includes(l):l===t,d=l===0,h=l===e.length-1;return C("div",{className:"relative flex items-start gap-3 rounded-md px-2 py-1.5",children:[v(RR,{isFirst:d,isLast:h,children:v(NR,{isLatest:c})}),C($,{className:"min-w-0 flex-1 gap-0.5",children:[C("div",{className:"flex min-h-5 items-center justify-between gap-1.5",children:[v("span",{className:$t("typo-compact-xs2-semibold truncate font-mono",c?"text-fg-information":"text-fg-default"),children:o.message||"-"}),c?v("span",{className:"bg-fill-information typo-compact-2xs-semibold text-fg-inverse rounded-lg px-1.5 py-0.5",children:a("move.amr.rightPanel.history.latest")}):null]}),!i&&C(hi,{children:[C("div",{className:"flex items-center justify-between gap-2",children:[v("span",{className:"typo-compact-2xs-medium text-fg-subtler",children:a("move.amr.rightPanel.history.time")}),v("span",{className:"typo-compact-xs-normal text-fg-subtle truncate",children:ly(o.createdAt,"YYYY-MM-DD HH:mm:ss")})]}),C("div",{className:"flex items-center justify-between gap-2",children:[v("span",{className:"typo-compact-2xs-medium text-fg-subtler",children:a("move.amr.rightPanel.history.command")}),v("span",{className:"typo-compact-xs-normal text-fg-subtle truncate",children:o.command||"-"})]})]}),s&&C("div",{className:"flex items-center justify-between gap-2",children:[v("span",{className:"typo-compact-2xs-medium text-fg-subtler",children:a("move.amr.rightPanel.history.result")}),v("span",{className:$t("typo-compact-xs-normal",{"text-fg-success":o.result==="success","text-fg-danger":o.result==="fail","text-fg-information":o.result==="start","text-fg-disabled":o.result==="cancel","text-fg-subtle":o.result!=="success"&&o.result!=="fail"&&o.result!=="start"&&o.result!=="cancel"}),children:o.result||"-"})]})]})]},`${o.createdAt}-${o.command}-${l}`)})}):v("div",{className:r,children:v("span",{className:"typo-compact-xs2-normal text-fg-subtle",children:a("move.amr.rightPanel.history.noHistory")})})},PR=Nc($,{target:"edynay22"})({name:"bjn8wh",styles:"position:relative"}),RR=Nc("div",{target:"edynay21"})('position:relative;width:0.875rem;min-width:0.875rem;align-self:stretch;&::before{content:"";position:absolute;left:50%;transform:translateX(-50%);width:1px;background:rgba(148, 163, 184, 0.45);top:',r=>r.isFirst?"0.75rem":"-0.625rem",";",r=>r.isLast?`height: ${r.isFirst?"0":"1.375rem"}; bottom: unset;`:"bottom: -0.625rem;",";}"),NR=Nc("span",{target:"edynay20"})("position:absolute;top:0.5rem;left:50%;width:0.5rem;height:0.5rem;transform:translateX(-50%);border-radius:9999px;background:",r=>r.isLatest?"rgb(59 130 246)":"rgb(107 114 128)",";box-shadow:",r=>r.isLatest?"0 0 0.5rem rgba(59, 130, 246, 0.9), 0 0 1rem rgba(59, 130, 246, 0.55)":"none",";animation:",r=>r.isLatest?"latest-pulse 1.2s ease-in-out infinite":"none",";@keyframes latest-pulse{0%{opacity:0.45;transform:translateX(-50%) scale(0.8);}50%{opacity:1;transform:translateX(-50%) scale(1);}100%{opacity:0.5;transform:translateX(-50%) scale(0.85);}}"),{useEffect:DR,useMemo:Mg,useState:LR}=await At("react"),IR=[{createdAt:"2026-03-19T10:12:41Z",message:"Move Goal: NODE_A-12",command:"goal",result:"success"},{createdAt:"2026-03-19T10:11:03Z",message:"Move Linear: 0.8m",command:"xLinear",result:"start"},{createdAt:"2026-03-19T10:09:36Z",message:"Move Rotate: 90.0deg",command:"rotate",result:"cancel"},{createdAt:"2026-03-19T10:08:02Z",message:"Move Target: 12.5, 4.1, 0.0",command:"target",result:"fail"}],kR=r=>r.toUpperCase().replace("_"," "),Tg=r=>{if(!r)return"-";const e=new Date(r);if(Number.isNaN(e.getTime()))return r;const t=n=>String(n).padStart(2,"0");return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())} ${t(e.getHours())}:${t(e.getMinutes())}:${t(e.getSeconds())}`},OR=(r,e)=>{const t=new Date(r).getTime(),n=new Date(e).getTime();return Number.isNaN(t)||Number.isNaN(n)||n<t?0:Math.floor((n-t)/1e3)},Eg=r=>{if(!r)return null;const e=new Date(r).getTime();return Number.isNaN(e)?null:e},FR=r=>{const e=Math.max(0,Math.floor(r)),t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=e%60;return t>0?`${t}h ${n}m ${i}s`:`${n}m ${i}s`},UR=r=>{if(r.command==="goal")return`Move Goal: ${r.goalId||r.goalName}`;if(r.command==="rotate")return`Move Rotate: ${r.target?.toFixed(1)??0}deg`;if(r.command==="target"){const e=r.goalPose;return e?`Move Target: ${e.x?.toFixed(3)??0}, ${e.y?.toFixed(3)??0}, ${e.z?.toFixed(3)??0}`:r.message||"Move Target: -"}return r.command==="circular"?`Move Circular: ${r.target?.toFixed(1)??0}deg`:`Move Linear: ${r.target?.toFixed(1)??0}m`},BR=r=>{if(!r?.items?.length)return;const e=r.items[0],t=r.items;return{status:e.status||"",createdAt:e.createdAt||"",updatedAt:e.updateAt||"",goalNode:e.goalName||e.goalId||"",currentNode:e.goalName||e.goalId||"",estimatedDuration:0,actualDuration:OR(e.createdAt,e.updateAt),previousNodes:t.map(n=>({createdAt:n.createdAt,message:UR(n),command:n.command,result:n.result}))}},d2=({logData:r,moveStatus:e})=>{const{t}=tn(),[n,i]=LR(()=>Date.now()),s=BR(r),a=s?.status??"",o=a?kR(a):t("move.amr.rightPanel.task.idle"),l=s?.previousNodes??[],c=l.length?l:IR,d=e?.goalNode?.name||e?.goalNode?.id||s?.goalNode||"N/A",h=e?.curNode?.name||e?.curNode?.id||s?.currentNode||"N/A",u=a==="in_progress"||a==="move"||a==="vir";DR(()=>{if(!u)return;const b=window.setInterval(()=>{i(Date.now())},1e3);return()=>{window.clearInterval(b)}},[u]);const f=Mg(()=>{const b=Eg(s?.createdAt),p=Eg(s?.updatedAt);if(b!==null){if(u)return Math.max(0,Math.floor((n-b)/1e3));if(p!==null&&p>=b)return Math.floor((p-b)/1e3)}return typeof s?.actualDuration=="number"&&s.actualDuration>=0?Math.floor(s.actualDuration):0},[u,n,s?.actualDuration,s?.createdAt,s?.updatedAt]),m=Mg(()=>FR(f),[f]);return C($,{className:"h-full min-h-0",children:[C($,{className:"border-subtler gap-1.5 border-b p-3",children:[C("div",{className:"flex items-center justify-between",children:[v("div",{className:"typo-compact-xs-normal text-fg-subtler",children:t("move.amr.rightPanel.task.status")}),C("div",{className:"flex flex-row items-center gap-2",children:[v(yi,{color:a!==""?"blue":"gray",className:a!==""?"animate-pulse":void 0}),v("div",{className:"typo-compact-xs-semibold text-fg-default",children:o})]})]}),C("div",{className:"flex items-center justify-between",children:[v("div",{className:"typo-compact-xs-normal text-fg-subtler",children:t("move.amr.rightPanel.common.created")}),v("div",{className:"typo-compact-xs-normal text-fg-subtle",children:Tg(s?.createdAt)})]}),C("div",{className:"flex items-center justify-between",children:[v("div",{className:"typo-compact-xs-normal text-fg-subtler",children:t("move.amr.rightPanel.task.lastUpdated")}),v("div",{className:"typo-compact-xs-normal text-fg-subtle",children:Tg(s?.updatedAt)})]})]}),v("div",{className:"border-subtler border-b p-3",children:C($,{className:"bg-raised space-y-2 rounded p-2",children:[v(AR,{currentNode:h,targetNode:d,moveStatus:a}),v("div",{className:"border-subtler border-b"}),C(we,{className:"justify-between",children:[v("span",{className:"typo-compact-xs-normal text-fg-subtler",children:t("move.amr.rightPanel.task.duration")}),v("span",{className:"typo-compact-xs-normal text-fg-default",children:m})]})]})}),C($,{className:"border-subtler min-h-0 gap-1.5 border-b p-3",children:[C(we,{className:"space-x-1.5",children:[v("span",{className:"typo-compact-sm2-semibold text-fg-default",children:t("move.amr.rightPanel.task.pathHistory")}),v("span",{className:"typo-compact-sm2-normal text-fg-subtle",children:c.length})]}),v(Cv,{items:c,className:"min-h-0 flex-1 overflow-y-auto"})]})]})},{useEffect:io,useRef:ea,useState:ph}=await At("react"),Ag=[{key:"docking",label:"move.amr.rightPanel.dock.step.docking"},{key:"checkCharge",label:"move.amr.rightPanel.dock.step.checkCharge"},{key:"complete",label:"move.amr.rightPanel.dock.step.complete"}],h2=({amrStatus:r,isPaused:e,onDock:t=()=>{},onUndock:n=()=>{},onStop:i=()=>{},onPause:s=()=>{},onResume:a=()=>{},maxRetryCount:o,onOpenRetrySettings:l=()=>{},dockDisabled:c=!1,rejectMessage:d})=>{const{t:h}=tn(),[u,f]=ph(!1),[m,b]=ph(!1),[p,g]=ph(new Set),y=ea(!1),x=ea(!1),w=ea(!1),P=ea(""),T=ea(!1),A=ea(!1),M=r?.chargeState?.charge??"none",_=r?.chargeState?.dockResult??"",S=r?.chargeState?.dock??!1,R=M.toLowerCase(),k=_.toLowerCase(),O=k==="move",H=k==="fail",q=R!=="none"&&M!=="",G=R==="charging",K=R==="battery_on",V=u||O||K,Y=!V&&S,le=h(V?"move.amr.rightPanel.dock.status.move":Y?"move.amr.rightPanel.dock.status.dock":"move.amr.rightPanel.dock.status.undocked"),se=V?"blue":Y?"green":"red",ge=O&&!K&&!G,de=[...u&&!O?["pointDock"]:[],...ge?["docking"]:[],...K?["checkCharge"]:[],...G?["complete"]:[]],X=Ag.map(Fe=>({message:h(Fe.label),result:p.has(Fe.key)?"success":void 0})),ee=de.map(Fe=>Ag.findIndex(j=>j.key===Fe)).filter(Fe=>Fe>=0);io(()=>{const Fe=y.current;y.current=G,!(!G||Fe||T.current)&&(f(!1),g(j=>{const Ke=new Set(j);return Ke.add("pointDock"),Ke.add("docking"),Ke.add("checkCharge"),Ke.add("complete"),Ke}))},[G]),io(()=>{const Fe=x.current;x.current=K,!(!K||Fe||T.current)&&g(j=>{const Ke=new Set(j);return Ke.add("pointDock"),Ke.add("docking"),Ke})},[K]),io(()=>{const Fe=w.current;w.current=O,!(!O||Fe||T.current)&&g(j=>{const Ke=new Set(j);return Ke.add("pointDock"),Ke})},[O]),io(()=>{const Fe=P.current;P.current=k,!(k!=="fail"||Fe==="fail")&&(f(!1),g(new Set))},[k]);const ie=()=>{P.current="",g(new Set),f(!1),b(!1),T.current=!1,A.current=!1};io(()=>{if(m){if(O){A.current=!0;return}A.current&&(A.current=!1,b(!1),T.current=!1)}},[m,O]);const Z=()=>{ie(),f(!0),t()},ue=()=>{ie(),i()},oe=()=>{s()},be=()=>{a()},Ce=()=>{ie(),b(!0),T.current=!0,n()},je=()=>C($,{className:"gap-2",children:[C("div",{className:"grid grid-cols-2 gap-2",children:[v(nt,{variant:"successSoft",onClick:Z,disabled:c,children:h("move.amr.rightPanel.dock.action.dock")}),v(nt,{variant:"dangerSoft",onClick:Ce,disabled:c,children:h("move.amr.rightPanel.dock.action.undock")})]}),V&&C($,{className:"gap-1.5",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:h("move.amr.rightPanel.dock.operation.motion")}),C("div",{className:"grid grid-cols-2 gap-2",children:[v(nt,{variant:"dangerSoft",leadingIcon:v(zg,{className:"size-3"}),disabled:m,onClick:ue,children:h("move.amr.rightPanel.common.stop")}),e?v(nt,{variant:"soft",leadingIcon:v(dy,{className:"size-3"}),disabled:m,onClick:be,children:h("move.amr.rightPanel.dock.action.resume")}):v(nt,{variant:"soft",leadingIcon:v(hy,{className:"size-3"}),disabled:m,onClick:oe,children:h("move.amr.rightPanel.dock.action.pause")})]})]})]});return C(hi,{children:[C($,{className:"border-subtler gap-2.5 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.dock.operation.title")}),C($,{className:"gap-2 rounded",children:[C("div",{className:"bg-fill-disabled grid grid-cols-2 gap-x-3 rounded-md px-3 py-3",children:[C($,{className:"gap-0.5",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:h("move.amr.rightPanel.dock.operation.dock")}),C(we,{className:"items-center gap-1.5",children:[v(yi,{color:se,className:V||Y?"animate-pulse":void 0}),v("p",{className:"typo-compact-xs2-medium text-fg-default",children:le})]})]}),C($,{className:"gap-0.5",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:h("move.amr.rightPanel.dock.operation.charge")}),v("p",{className:"typo-compact-xs2-medium text-fg-default uppercase",children:q?M:h("move.amr.rightPanel.common.none")})]})]}),je(),C(we,{className:"items-start gap-1",children:[v("div",{className:"flex size-4 shrink-0 items-center justify-center",children:v(Cu,{className:"text-fg-subtlest size-3"})}),v("p",{className:"typo-compact-xs-normal text-fg-subtler flex-1",children:h("move.amr.rightPanel.dock.operation.description")})]})]})]}),C($,{className:"border-subtler gap-2 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.dock.status.title")}),v(Cv,{items:X,latestIndexes:m?[]:ee,compact:!0})]}),C($,{className:"border-subtler gap-2 border-b p-2.5",children:[C(we,{className:"items-center justify-between self-stretch",children:[C(we,{className:"flex-1 items-center gap-1.5",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.dock.retryCount")}),H&&v("span",{className:"typo-compact-2xs-semibold bg-fill-danger text-fg-inverse rounded-lg px-1.5 py-0.5",children:h("move.amr.rightPanel.common.fail")})]}),C("button",{type:"button",className:"hover:bg-fill-hovered flex h-5 items-center gap-0.5 rounded-sm px-1.5",onClick:l,children:[v(Yg,{className:"text-fg-default size-3"}),v("span",{className:"text-fg-default text-[10px] leading-3 font-semibold",children:h("move.amr.rightPanel.common.settings")})]})]}),d&&C(we,{className:"border-danger bg-fill-danger-subtlest mt-1 items-start gap-2 rounded-md border px-3 py-2.5",children:[v(cy,{className:"text-fg-danger mt-0.5 size-4 shrink-0"}),v("p",{className:"typo-compact-xs-semibold text-fg-danger",children:d})]}),v("div",{className:"bg-fill-control-surface-disabled outline-border-disabled inline-flex h-9 w-full items-center overflow-hidden rounded-md px-2.5 outline outline-1 outline-offset-[-1px]",children:o!==void 0?v("p",{className:"text-fg-default text-sm leading-5",children:o}):v("p",{className:"text-fg-subtler text-sm leading-5",children:"—"})})]})]})},{useEffect:zR,useState:mh}=await At("react"),{createPortal:HR}=await At("react-dom"),GR=r=>{const e=Math.floor(r/3600).toString().padStart(2,"0"),t=Math.floor(r%3600/60).toString().padStart(2,"0"),n=Math.floor(r%60).toString().padStart(2,"0");return`${e}:${t}:${n}`},u2=({onOpenChange:r,open:e,close:t,onSaveMapping:n,completedKeyframeCount:i=0,totalKeyframePoints:s=0,durationSeconds:a=0,existingMapNames:o=[]})=>{const{t:l}=tn(),[c,d]=mh(""),[h,u]=mh(!1),[f,m]=mh(""),b=async()=>{const y=c.trim();if(!y){m(l("move.amr.rightPanel.map.saveDialog.error.required"));return}if(i<=0){m(l("move.amr.rightPanel.map.mapping.keyframeRequired"));return}if(y.length<3){m(l("move.amr.rightPanel.map.saveDialog.error.minLength"));return}if(!/^[a-zA-Z0-9가-힣_-]+$/.test(y)){m(l("move.amr.rightPanel.map.saveDialog.error.invalidChars"));return}if(o.includes(y)){m(l("move.amr.rightPanel.map.saveDialog.error.duplicateName",{name:y}));return}u(!0),m("");try{const x=await n(y);if(x.ok){d(""),p();return}"reason"in x&&x.reason==="load-failed"?m(l("move.amr.rightPanel.map.saveDialog.error.loadFailed")):m(l("move.amr.rightPanel.map.saveDialog.error.saveFailed"))}catch{m(l("move.amr.rightPanel.map.saveDialog.error.saveError"))}finally{u(!1)}},p=()=>{h||(d(""),m(""),t?.(),r?.(!1))};if(zR(()=>{e||(d(""),m(""),u(!1))},[e]),!e)return null;const g=C($,{className:"fixed inset-0 z-50 items-center justify-center p-4",children:[v("button",{type:"button","aria-label":l("move.amr.rightPanel.map.saveDialog.closeBackdrop"),className:"bg-bg-dim absolute inset-0",onClick:p}),C($,{className:"bg-bg-overlay relative w-full max-w-xl overflow-hidden rounded-lg p-4",children:[v($,{className:"shrink-0 gap-0.5 p-1",children:C(we,{className:"items-start justify-between",children:[C($,{className:"gap-0.5",children:[v("p",{className:"typo-compact-lg-semibold text-fg-default",children:l("move.amr.rightPanel.map.saveDialog.title")}),v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:l("move.amr.rightPanel.map.saveDialog.description")})]}),v(Kn,{variant:"transparent",size:"2xs",icon:v(Ao,{}),className:"text-fg-subtle",onClick:p,disabled:h})]})}),C($,{className:"gap-3 p-1 pt-3",children:[C($,{className:"gap-1.5",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:l("move.amr.rightPanel.map.info.mapName")}),v(Rn,{type:"text",value:c,placeholder:l("move.amr.rightPanel.map.saveDialog.placeholder"),disabled:h,autoFocus:!0,className:"w-full",onChange:y=>{d(y.target.value),m("")},onKeyDown:y=>{y.key==="Enter"&&!h&&b()}}),v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:l("move.amr.rightPanel.map.saveDialog.nameRule")})]}),f&&v(we,{className:"bg-bg-danger-tertiary outline-border-danger rounded-md p-2.5 outline outline-1 outline-offset-[-1px]",children:v("p",{className:"typo-compact-xs-normal text-fg-danger",children:f})}),C($,{className:"bg-bg-alt-1 gap-1 rounded-md p-2.5",children:[C(we,{className:"items-center justify-between",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:l("move.amr.rightPanel.map.mapping.keyframesReceived")}),v("p",{className:"typo-compact-2xs-semibold text-fg-information",children:i.toLocaleString()})]}),C(we,{className:"items-center justify-between",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:l("move.amr.rightPanel.map.mapping.keyframePoints")}),v("p",{className:"typo-compact-2xs-semibold text-fg-default",children:l("move.amr.rightPanel.map.mapping.points",{count:s.toLocaleString()})})]}),C(we,{className:"items-center justify-between",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:l("move.amr.rightPanel.task.duration")}),v("p",{className:"typo-compact-2xs-semibold text-fg-default",children:GR(a)})]})]})]}),C(we,{className:"shrink-0 items-center justify-end gap-2 p-1 pt-3",children:[v(nt,{variant:"outlined",onClick:p,disabled:h,children:l("move.amr.rightPanel.common.cancel")}),v(nt,{variant:"brand",onClick:b,disabled:h||!c.trim()||i<=0,children:l(h?"move.amr.rightPanel.common.saving":"move.amr.rightPanel.map.saveDialog.saveMap")})]})]})]});return typeof window>"u"?g:HR(g,document.body)},{useEffect:VR}=await At("react"),f2=({isEraserEnabled:r=!1,onEraserToggle:e=()=>{},eraserRadius:t=1,setEraserRadius:n=()=>{},eraseSelectedAreaDisabled:i=!1,onEraseSelectedArea:s=()=>{},onReleaseSelectedPoints:a=()=>{},onSaveChanges:o=()=>{}})=>{const{t:l}=tn();return VR(()=>()=>{e(!1)},[e]),C($,{className:"h-full justify-between overflow-y-auto",children:[C($,{children:[C($,{className:"gap-0.5 px-3 pt-3",children:[C(we,{className:"justify-between",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:l("move.amr.rightPanel.map.erasing.eraseMode")}),v(wr,{size:"default",checked:r,onCheckedChange:()=>e(!r)})]}),C("p",{className:"typo-compact-xs-normal text-fg-subtler",children:[l("move.amr.rightPanel.map.erasing.descriptionLine1"),v("br",{}),l("move.amr.rightPanel.map.erasing.descriptionLine2")]})]}),C($,{className:"gap-2 p-3",children:[C(we,{className:"justify-between",children:[v("p",{className:"typo-compact-xs2-normal text-fg-default",children:l("move.amr.rightPanel.map.erasing.eraserRadius")}),C("p",{className:"typo-compact-xs2-normal text-fg-default",children:[t.toFixed(1)," m"]})]}),v(Rc,{min:0,max:5,step:.1,value:[t],onValueChange:c=>n(c[0]),disabled:!r})]}),C($,{className:"border-border-subtler gap-2 border-b-[1px] px-3 pb-3",children:[v(nt,{size:"xs2",variant:"soft",leadingIcon:v(uy,{className:"size-3.5"}),disabled:!r||i,onClick:s,children:l("move.amr.rightPanel.map.erasing.eraseSelectedArea")}),v(nt,{size:"xs2",variant:"soft",leadingIcon:v(fy,{className:"size-3.5"}),disabled:!r,onClick:a,children:l("move.amr.rightPanel.map.erasing.releaseSelectedPoints")})]})]}),v($,{className:"p-3",children:v(nt,{variant:"brand",size:"sm",onClick:o,disabled:!r,children:l("move.amr.rightPanel.common.saveChanges")})})]})},{useCallback:Cg,useRef:WR}=await At("react"),Pv={bidirectional:!0,mode:"sequential",properties:{dir:"FORWARD",method:"PP",speed:0,avoidRange:0,safetyField:0,slowMarginX:0,slowMarginY:0,stopMarginX:0,stopMarginY:0}},p2=()=>{const r=WR(Pv),e=Cg(n=>{r.current=n},[]),t=Cg(n=>{const{bidirectional:i,mode:s,properties:a}=r.current;n(i,s,a)},[]);return{setLinkCreationSettings:e,createLinks:t}},Bo=({children:r,cancelLabel:e,saveLabel:t,onCancel:n,onSave:i,cancelDisabled:s=!1,saveDisabled:a=!1})=>C($,{className:"border-subtler sticky bottom-0 z-1 gap-2 border-t p-3",children:[r,C("div",{className:"grid grid-cols-2 gap-2",children:[v(nt,{variant:"outlined",className:"h-9",disabled:s,onClick:n,children:e}),v(nt,{variant:"brand",className:"h-9",disabled:a,onClick:i,children:t})]})]}),{useEffect:ic,useMemo:ta,useState:Ei}=await At("react"),zt=Pv.properties,Tu=["PP","HPP","TNG","SIDE"],Pg=r=>Tu.includes(r),Bs=(r,e,t,n)=>{if(!r||r.trim()==="")return n;const i=Number(r);return Number.isNaN(i)?n:Math.min(t,Math.max(e,i))},vi=r=>r.toFixed(2),jR=({selectedObjects:r,focusedLinkId:e,linkVisibilityFilter:t,nodes:n,visibleSelectedLinks:i,onFocusedLinkChange:s,onLinkVisibilityFilterChange:a,onToolChange:o,onCreateLinks:l,onLinkCreationSettingsChange:c,onUpdateLink:d,onDeleteLink:h,onDeleteLinksBetweenSelected:u,onCancelTopologyChanges:f,onSaveTopologyChanges:m})=>{const{confirmDialog:b}=Co({confirmComponent:Po}),{t:p}=tn(),[g,y]=Ei("sequential"),[x,w]=Ei("bidirectional"),[P,T]=Ei(zt.dir),[A,M]=Ei(zt.method),[_,S]=Ei(String(zt.speed)),[R,k]=Ei(String(zt.avoidRange)),[O,H]=Ei(String(zt.safetyField)),[q,G]=Ei(vi(zt.slowMarginX)),[K,V]=Ei(vi(zt.slowMarginY)),[Y,le]=Ei(vi(zt.stopMarginX)),[se,ge]=Ei(vi(zt.stopMarginY)),[de,X]=Ei(!1);ic(()=>{o?.("select")},[o]);const ee=ta(()=>r.map(W=>{const ae=n.find(ve=>ve.uuid===W.uuid);return{id:W.uuid,name:ae?.name||W.name||W.uuid,mesh:W}}),[n,r]),ie=ta(()=>i.map(W=>{const ae=n.find(ce=>ce.id===W.from),ve=n.find(ce=>ce.id===W.to);return{...W,fromName:ae?.name??W.from,toName:ve?.name??W.to}}),[n,i]),Z=i.length>0,ue=i.length,oe=ta(()=>e?i.find(W=>W.id===e)??null:null,[e,i]),be=W=>{W!=="all"&&W!=="forward"&&W!=="reverse"||a({...t,dir:W})},Ce=W=>{W!=="all"&&!Pg(W)||a({...t,method:W})},je=ta(()=>ie.find(W=>W.id===oe?.id)??null,[oe?.id,ie]);ic(()=>{if(!Z){T(zt.dir),M(zt.method),S(String(zt.speed)),k(String(zt.avoidRange)),H(String(zt.safetyField)),G(vi(zt.slowMarginX)),V(vi(zt.slowMarginY)),le(vi(zt.stopMarginX)),ge(vi(zt.stopMarginY)),X(!1);return}},[Z]),ic(()=>{oe&&(T(oe.dir),M(oe.method),S(String(oe.speed)),k(String(oe.avoidRange)),H(String(oe.safetyField)),G(vi(oe.slowMarginX??zt.slowMarginX)),V(vi(oe.slowMarginY??zt.slowMarginY)),le(vi(oe.stopMarginX??zt.stopMarginX)),ge(vi(oe.stopMarginY??zt.stopMarginY)),X(!1))},[oe]);const Fe=ta(()=>{const W=ee.length;if(W<2)return p("move.amr.rightPanel.topology.link.selectAtLeastTwo");if(W===2){const[ce,Oe]=ee,Pe=x==="bidirectional"?" ↔ ":" → ";return p("move.amr.rightPanel.topology.link.willCreateNamed",{from:ce.name,connector:Pe,to:Oe.name})}const ae=g==="sequential"?W-1:W*(W-1)/2,ve=x==="bidirectional"?ae*2:ae;return p("move.amr.rightPanel.topology.link.willCreateCount",{count:ve})},[g,x,ee,p]),j=ta(()=>({dir:P,method:A,speed:Bs(_,-1,1,zt.speed),avoidRange:Bs(R,-1,1.2,zt.avoidRange),safetyField:Bs(O,-1,Number.MAX_SAFE_INTEGER,zt.safetyField),slowMarginX:Bs(q,-1,1,zt.slowMarginX),slowMarginY:Bs(K,-1,1,zt.slowMarginY),stopMarginX:Bs(Y,-1,1,zt.stopMarginX),stopMarginY:Bs(se,-1,1,zt.stopMarginY)}),[R,P,A,O,q,K,_,Y,se]),Ke=W=>{ee.length<2||l?.(W,g,j)},Ue=()=>{oe&&d?.(oe.id,j)},Te=()=>{oe&&h?.(oe.id)},Se=W=>ae=>{if(X(!0),Number(ae)<0){W("-1");return}W(ae)},et=W=>ae=>{X(!0),W(ae)},Be=W=>ae=>{W(vi(Bs(ae,-1,1,0)))},N=ee.length>=2,E=Z?"edit":"add";return ic(()=>{E==="add"&&c?.({bidirectional:x==="bidirectional",mode:g,properties:j})},[g,x,j,E,c]),C($,{className:"h-full min-h-0 overflow-hidden",children:[C($,{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto",children:[C(we,{className:"border-subtler gap-1.5 border-b p-3",children:[v(Pu,{className:"text-fg-default"}),C($,{className:"gap-0.5",children:[v("p",{className:"compact-sm-semibold text-fg-default",children:E==="edit"?`${ue} link${ue>1?"s":""} selected`:p("move.amr.rightPanel.topology.link.nodeSelectedCount",{count:ee.length})}),v("p",{className:"typo-compact-xs-normal text-fg-subtle",children:E==="edit"?ue>1?"Select one link from the list below to edit.":"Review and update the selected link.":p("move.amr.rightPanel.topology.link.selectAtLeastTwoShort")})]})]}),E==="edit"&&C($,{className:"border-subtler gap-1.5 border-b p-3",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:"Link Filter"}),C("div",{className:"grid grid-cols-2 gap-2",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"Direction"}),C(ca,{size:"sm",value:t.dir,handleChange:be,children:[v(Pi,{value:"all",children:"All"}),v(Pi,{value:"forward",children:"Forward"}),v(Pi,{value:"reverse",children:"Reverse"})]})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"Method"}),C(ca,{size:"sm",value:t.method,handleChange:Ce,children:[v(Pi,{value:"all",children:"All"}),Tu.map(W=>v(Pi,{value:W,children:W},W))]})]})]})]}),E==="add"&&C(hi,{children:[C($,{className:"border-subtler gap-2 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.creationMode")}),C("div",{className:"grid grid-cols-2 gap-2",children:[C(ii,{name:"topology-link-mode-sequential",className:"w-full",checkValue:"sequential",value:g,disabled:ee.length<3,onChange:W=>{W.target.checked&&y("sequential")},children:[p("move.amr.rightPanel.topology.link.sequential"),v("br",{}),"(1→2→3)"]}),C(ii,{name:"topology-link-mode-complete",className:"w-full",checkValue:"complete",value:g,disabled:ee.length<3,onChange:W=>{W.target.checked&&y("complete")},children:[p("move.amr.rightPanel.topology.link.complete"),v("br",{}),"(all↔all)"]})]}),v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:p("move.amr.rightPanel.topology.link.modeAvailable")})]}),C($,{className:"border-border-subtler gap-2 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.direction")}),C("div",{className:"grid grid-cols-2 gap-2",children:[v(ii,{name:"topology-link-direction-bidirectional",className:"w-full",checkValue:"bidirectional",value:x,disabled:!N,onChange:W=>{W.target.checked&&w("bidirectional")},children:p("move.amr.rightPanel.topology.link.bidirectional")}),v(ii,{name:"topology-link-direction-unidirectional",className:"w-full",checkValue:"unidirectional",value:x,disabled:!N,onChange:W=>{W.target.checked&&w("unidirectional")},children:p("move.amr.rightPanel.topology.link.unidirectional")})]}),v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:p("move.amr.rightPanel.topology.link.configureDirection")})]})]}),E==="edit"&&C($,{className:"border-subtler gap-3 border-b p-3",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:"Selected Links"}),v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:ue>1?"Choose one link to load its properties into the editor.":"The selected link is ready to edit."})]}),v($,{className:"border-border-subtle max-h-40 gap-1 overflow-y-auto rounded-md border p-1.5",children:ie.map((W,ae)=>C(we,{className:`items-center justify-between rounded-md border px-2 py-1.5 transition-colors ${W.id===oe?.id?"border-border-default bg-fill-subtler":"bg-fill-control-surface hover:border-border-subtle border-transparent"}`,onClick:()=>{s(W.id)},children:[v("p",{className:"typo-compact-xs-semibold text-fg-default truncate",children:`${ae+1}. ${W.fromName} -> ${W.toName}`}),v("p",{className:"typo-compact-xs-normal text-fg-subtler shrink-0",children:`${W.method} / ${W.dir}`})]},W.id))})]}),C($,{className:`border-subtler gap-2 border-b p-3 ${E==="add"&&!N?"opacity-50":""}`,children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.properties")}),C($,{className:"gap-2",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.dir")}),C("div",{className:"grid grid-cols-2 gap-2",children:[v(ii,{name:"topology-link-dir-forward",className:"w-full",checkValue:"FORWARD",value:P,disabled:E==="add"?!N:!oe,onChange:W=>{W.target.checked&&(X(!0),T("FORWARD"))},children:"FORWARD"}),v(ii,{name:"topology-link-dir-reverse",className:"w-full",checkValue:"REVERSE",value:P,disabled:E==="add"?!N:!oe,onChange:W=>{W.target.checked&&(X(!0),T("REVERSE"))},children:"REVERSE"})]})]}),C($,{className:"gap-2",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.method")}),v(ca,{size:"sm",value:A,disabled:E==="add"?!N:!oe,handleChange:W=>{Pg(W)&&(X(!0),M(W))},children:Tu.map(W=>v(Pi,{value:W,children:W},W))})]}),C("div",{className:"grid grid-cols-2 gap-2",children:[C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-default",children:p("move.amr.rightPanel.common.speed")}),v("p",{className:"text-fg-subtle",children:"(max 1.0)"})]}),v(Nn,{className:"w-full",value:_,step:.1,increaseStep:Number(_)<0?1:.1,min:-1,max:1,disabled:E==="add"?!N:!oe,handleChange:Se(S)})]}),C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-default",children:p("move.amr.rightPanel.topology.link.avoidRange")}),v("p",{className:"text-fg-subtle",children:"(max 1.2)"})]}),v(Nn,{className:"w-full",value:R,step:.1,increaseStep:Number(R)<0?1:.1,min:-1,max:1.2,disabled:E==="add"?!N:!oe,handleChange:Se(k)})]})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:p("move.amr.rightPanel.topology.link.safetyField")}),v(Nn,{className:"w-full",value:O,step:1,min:-1,disabled:E==="add"?!N:!oe,handleChange:W=>{X(!0),H(W)}})]}),C($,{className:"gap-2",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-default",children:"Slow Margin"}),v("p",{className:"text-fg-subtle",children:"(max 1.0)"})]}),C("div",{className:"grid grid-cols-2 gap-2",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"X"}),v(Nn,{className:"w-full",value:q,step:.01,fixedDigit:2,increaseStep:Number(q)<0?1:.01,decreaseStep:Number(q)<=0?1:.01,min:-1,max:1,disabled:E==="add"?!N:!oe,handleChange:et(G),onBlur:()=>{Be(G)(q)}})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"Y"}),v(Nn,{className:"w-full",value:K,step:.01,fixedDigit:2,increaseStep:Number(K)<0?1:.01,decreaseStep:Number(K)<=0?1:.01,min:-1,max:1,disabled:E==="add"?!N:!oe,handleChange:et(V),onBlur:()=>{Be(V)(K)}})]})]})]}),C($,{className:"gap-2",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-default",children:"Stop Margin"}),v("p",{className:"text-fg-subtle",children:"(max 1.0)"})]}),C("div",{className:"grid grid-cols-2 gap-2",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"X"}),v(Nn,{className:"w-full",value:Y,step:.01,fixedDigit:2,increaseStep:Number(Y)<0?1:.01,decreaseStep:Number(Y)<=0?1:.01,min:-1,max:1,disabled:E==="add"?!N:!oe,handleChange:et(le),onBlur:()=>{Be(le)(Y)}})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:"Y"}),v(Nn,{className:"w-full",value:se,step:.01,fixedDigit:2,increaseStep:Number(se)<0?1:.01,decreaseStep:Number(se)<=0?1:.01,min:-1,max:1,disabled:E==="add"?!N:!oe,handleChange:et(ge),onBlur:()=>{Be(ge)(se)}})]})]})]})]})]}),v(Bo,{cancelLabel:p("move.amr.rightPanel.common.cancel"),saveLabel:p("move.amr.rightPanel.common.save"),onCancel:async()=>{await b({title:p("move.amr.rightPanel.common.cancel"),content:p("move.amr.rightPanel.topology.dialog.discardContent"),buttonText:{yes:p("move.amr.rightPanel.common.discard"),no:p("move.amr.rightPanel.common.keepEditing")}})&&f?.()},onSave:m,children:C($,{className:"border-subtler border-b p-3",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtle text-center",children:E==="edit"?je?`${je.fromName} -> ${je.toName} is selected for editing.`:"Select a link from the list above to edit.":Fe}),v("p",{className:"typo-compact-xs-normal text-fg-subtler pt-1 text-center",children:E==="edit"?oe?`dir ${j.dir} / method ${j.method} / speed ${j.speed.toFixed(1)} / avoid ${j.avoidRange.toFixed(1)}`:"":p("move.amr.rightPanel.topology.link.previewProperties",{dir:j.dir,method:j.method,speed:j.speed.toFixed(1),avoid:j.avoidRange.toFixed(1)})}),v($,{className:"gap-2 pt-3",children:E==="edit"?C(hi,{children:[v(nt,{variant:"soft",className:"text-fg-default py-2",disabled:!oe||!de,onClick:Ue,children:"Update selected link"}),v(nt,{variant:"dangerSoft",onClick:Te,disabled:!oe,leadingIcon:v(Mh,{}),children:"Delete selected link"})]}):C(hi,{children:[v(nt,{variant:"soft",className:"text-fg-default py-2",disabled:ee.length<2,onClick:()=>{Ke(x==="bidirectional")},children:p("move.amr.rightPanel.topology.link.linkSelected")}),v(nt,{variant:"dangerSoft",onClick:u,disabled:ee.length<2,leadingIcon:v(Mh,{}),children:p("move.amr.rightPanel.topology.link.deleteLinks")})]})})]})})]})},XR=({selectedTool:r="select",onToolChange:e,selectedNodeType:t="goal",onSelectNodeType:n,selectedNodePlacementType:i="cursor",onSelectNodePlacementType:s,onAddNodeAtRobot:a,onAddNodeAtCursor:o,onSaveTopologyChanges:l,onCancelTopologyChanges:c,showRobotPlacement:d=!0})=>{const{confirmDialog:h}=Co({confirmComponent:Po}),{t:u}=tn(),f=r==="target";return C($,{className:"h-full min-h-0 gap-0",children:[C($,{className:"min-h-0 flex-1 overflow-y-auto",children:[C($,{className:"border-subtler gap-0.5 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:u("move.amr.rightPanel.topology.add.title")}),v("p",{className:"typo-compact-xs-normal text-fg-subtler",children:u("move.amr.rightPanel.topology.add.description")})]}),C($,{className:"border-subtler gap-2 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:u("move.amr.rightPanel.topology.add.selectNodeType")}),C("div",{className:"grid grid-cols-3 gap-2",children:[v(ii,{className:"w-full",name:"topology-node-type-goal",checkValue:"goal",value:t,onChange:m=>{m.target.checked&&n?.("goal")},children:u("move.amr.rightPanel.topology.nodeType.goal")}),v(ii,{className:"w-full",name:"topology-node-type-route",checkValue:"route",value:t,onChange:m=>{m.target.checked&&n?.("route")},children:u("move.amr.rightPanel.topology.nodeType.route")}),v(ii,{className:"w-full",name:"topology-node-type-align",checkValue:"align",value:t,onChange:m=>{m.target.checked&&n?.("align")},children:u("move.amr.rightPanel.topology.nodeType.align")})]})]}),C($,{className:"border-subtler gap-2 border-b p-3",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:u("move.amr.rightPanel.topology.add.selectPlacement")}),C(we,{className:"items-center justify-between gap-2 py-1",children:[C($,{className:"gap-0.5",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:"Cursor Preview"}),v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:"Enable cursor placement mode before adding at cursor position."})]}),v(wr,{checked:f,onCheckedChange:m=>{if(m){e?.("target");return}r==="target"&&e?.("select")}})]}),C($,{className:"gap-2",children:[v(ii,{className:"w-full",name:"topology-node-placement-cursor",checkValue:"cursor",value:i,onChange:m=>{m.target.checked&&s?.("cursor")},children:u("move.amr.rightPanel.topology.add.atCursorPosition")}),d&&v(ii,{className:"w-full",name:"topology-node-placement-robot",checkValue:"robot",value:i,onChange:m=>{m.target.checked&&s?.("robot")},children:u("move.amr.rightPanel.topology.add.atRobotPosition")})]})]})]}),v(Bo,{cancelLabel:u("move.amr.rightPanel.common.cancel"),saveLabel:u("move.amr.rightPanel.common.save"),onCancel:async()=>{await h({title:u("move.amr.rightPanel.common.cancel"),content:u("move.amr.rightPanel.topology.dialog.discardContent"),buttonText:{yes:u("move.amr.rightPanel.common.discard"),no:u("move.amr.rightPanel.common.keepEditing")}})&&c?.()},onSave:l,children:C(nt,{variant:"soft",className:"text-fg-default",onClick:()=>{if(i==="robot"){a?.();return}if(r!=="target"){py.openToast({type:"basic",variant:"warning",title:"Cursor Preview Disabled",content:"Turn on cursor placement mode before adding a node at cursor position.",position:"top-right"});return}o?.()},children:[u("move.amr.rightPanel.topology.add.addNode")," (N)"]})})]})},{useEffect:gh,useMemo:Rg,useRef:bh,useState:bs}=await At("react"),vh=["INIT","CHARGING","AUTO_DOOR","ARUCO","APRIL","V_MARKER","TAPE","PRECISION","SCAN_MATCH"],Ai=r=>Number(r.toFixed(3)),Rv=-1,Nv=31,qR=r=>{const e=r.trim();if(!/^-?\d+$/.test(e))return null;const t=Number(e);return Number.isInteger(t)?Math.min(Nv,Math.max(Rv,t)):null},ZR=r=>{const e=r.toLowerCase().replace("init","goal");return e==="route"||e==="align"?e:"goal"},YR=({selectedObjects:r=[],selectedNodeTransform:e=null,nodes:t=[],robotPose:n=null,onUpdateNode:i,onChangeNodeType:s,onTransformSelectedNodes:a,onDeleteSelectedNodes:o,onCancelTopologyChanges:l,onSaveTopologyChanges:c})=>{const{confirmDialog:d}=Co({confirmComponent:Po}),{t:h}=tn(),[u,f]=bs(""),[m,b]=bs([]),[p,g]=bs("0"),[y,x]=bs("0.0"),[w,P]=bs("0.0"),[T,A]=bs("0.0"),[M,_]=bs("0.0"),[S,R]=bs(!1),[k,O]=bs("1"),H=bh({altKey:!1,metaKey:!1,ctrlKey:!1}),q=bh(null),G=bh(!1);gh(()=>{const N=W=>{H.current={altKey:W.altKey,metaKey:W.metaKey,ctrlKey:W.ctrlKey}},E=()=>{H.current={altKey:!1,metaKey:!1,ctrlKey:!1},q.current=null};return window.addEventListener("keydown",N),window.addEventListener("keyup",N),window.addEventListener("blur",E),()=>{window.removeEventListener("keydown",N),window.removeEventListener("keyup",N),window.removeEventListener("blur",E)}},[]);const K=Rg(()=>r.map(N=>{const E=t.find(W=>W.uuid===N.uuid);return{uuid:N.uuid,externalId:String(N.userData?.id??""),name:N.name,type:ZR(E?.type||N.userData?.type||"goal"),features:Array.isArray(N.userData?.features)?N.userData.features.filter(W=>typeof W=="string"&&vh.includes(W)):[],safetyField:typeof N.userData?.safetyField=="number"?N.userData.safetyField:E?.safetyField??0,x:N.position.x,y:N.position.y,z:N.position.z,rz:Ai(N.rotation.z*180/Math.PI)}}),[t,r]),V=K[K.length-1],Y=K.length===1,le=Rg(()=>{if(!n)return null;const N=Number(n.x),E=Number(n.y),W=Number(n.rz);return[N,E,W].some(ae=>Number.isNaN(ae))?null:{x:Ai(N),y:Ai(E),rz:Ai(W)}},[n]);gh(()=>{f(V?.name??""),b(V?.features??[]),g(String(V?.safetyField??0))},[V?.uuid,V?.name,V?.features,V?.safetyField]),gh(()=>{let N=null;e?N={x:e.x,y:e.y,z:e.z,rz:e.rz}:V&&(N={x:V.x,y:V.y,z:V.z,rz:V.rz}),x(String(Ai(N?.x??0))),P(String(Ai(N?.y??0))),A(String(Ai(N?.z??0))),_(String(Ai(N?.rz??0)))},[V,V?.uuid,V?.x,V?.y,V?.z,V?.rz,e]);const se=(N,E)=>{i?.(N,E)},ge=N=>N.filter(E=>typeof E=="string"&&vh.includes(E)),de=(N,E)=>{N==="x"&&x(E),N==="y"&&P(E),N==="z"&&A(E)},X=(N,E)=>{if(N==="x"||N==="y"||N==="z"){de(N,E);return}_(E)},ee=N=>{const E=r[r.length-1];return E?N==="x"?E.position.x:N==="y"?E.position.y:N==="z"?E.position.z:Ai(E.rotation.z*180/Math.PI):0},ie=(N=H.current)=>N.altKey?"delta":N.metaKey||N.ctrlKey?"absolute":"single",Z=()=>q.current??ie(),ue=(N,E)=>{q.current=ie({altKey:E?.altKey,metaKey:E?.metaKey,ctrlKey:E?.ctrlKey})},oe=()=>{q.current=null},be=N=>{G.current=N.metaKey||N.ctrlKey},Ce=(N,E,W)=>{const ae=W?N.features.includes(E)?N.features:[...N.features,E]:N.features.filter(ve=>ve!==E);se(N.uuid,{features:ae})},je=(N,E)=>{if(!V||!Array.isArray(E))return;const W=ge(E),ae=W.includes(N),ve=G.current;if(G.current=!1,b(W),ve){for(const ce of K)Ce(ce,N,ae);return}se(V.uuid,{features:W})},Fe=(N,E,W)=>{if(!V)return;const ae=W?Z():ie(),ve=Number(E);if(Number.isNaN(ve))return;const ce=Ai(ve),Oe=String(ce);if(N==="x"||N==="y"||N==="z"?de(N,Oe):_(Oe),ae==="delta"){const Pe=Ai(W?(W==="up"?1:-1)*(Number(k)||1):ce-ee(N));a?.(N,Pe,"delta");return}if(ae==="absolute"){a?.(N,ce,"absolute");return}if(N==="x"||N==="y"||N==="z"){se(V.uuid,{[N]:ce});return}se(V.uuid,{rz:ce})},j=(N,E,W)=>{if(W){Fe(N,E,W);return}X(N,E)},Ke=(N,E)=>{Fe(N,E)},Ue=(N,E)=>{if(!V)return;const W=E?Z():ie(),ae=qR(N);if(ae===null)return;const ve=String(ae);if(g(ve),W==="absolute"){for(const ce of K)se(ce.uuid,{safetyField:ae});return}se(V.uuid,{safetyField:ae})},Te=N=>{V&&/^-?\d*$/.test(N)&&g(N)},Se=(N,E)=>{if(E){Ue(N,E);return}Te(N)},et=N=>{Ue(N)},Be=()=>{!Y||!le||(x(String(le.x)),P(String(le.y)),_(String(le.rz)),se(V.uuid,le))};return C($,{className:"h-full min-h-0 overflow-hidden",children:[C($,{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto",children:[C($,{className:"border-subtler gap-3 border-b p-3",children:[C(we,{className:"items-center justify-between gap-2",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.nodeProperties")}),K.length>1&&C("p",{className:"typo-compact-2xs-semibold text-fg-subtler",children:[K.length," selected"]})]}),C($,{className:"gap-1.5",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.nodeId")}),C(we,{className:"items-center gap-1.5",children:[v("p",{className:"typo-compact-xs-normal text-fg-subtler flex-1",children:V?.externalId??""}),V?.externalId&&v("button",{className:"text-fg-subtler hover:text-fg-default shrink-0",onClick:()=>{gy({text:V.externalId??""})},children:v(my,{className:"size-3.5"})})]})]}),C($,{className:"gap-1.5",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.name")}),v(Rn,{className:"w-full",type:"text",value:u,onChange:N=>{if(!V)return;const E=N.target.value;f(E),se(V.uuid,{name:E})}})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.nodeType")}),C(ca,{size:"sm",value:V?.type??"goal",disabled:!Y,handleChange:N=>{!V||!Y||N!==V.type&&(N==="goal"||N==="route"||N==="align")&&s?.(V.uuid,N)},children:[v(Pi,{value:"goal",children:h("move.amr.rightPanel.topology.nodeType.goal")}),v(Pi,{value:"route",children:h("move.amr.rightPanel.topology.nodeType.route")}),v(Pi,{value:"align",children:h("move.amr.rightPanel.topology.nodeType.align")})]}),v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:h(Y?"move.amr.rightPanel.topology.edit.nodeTypeUnavailable":"move.amr.rightPanel.topology.edit.nodeTypeSingleSelect")})]}),C($,{className:"gap-1.5",children:[C(we,{className:"items-center gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:h("move.amr.rightPanel.topology.link.safetyField")}),v("p",{className:"text-fg-subtle typo-compact-2xs-normal",children:"(-1 ~ 31)"})]}),v(Nn,{className:"w-full",value:p,step:1,min:Rv,max:Nv,handleChange:(N,E,W)=>{Se(N,W?.type)},handleEnter:N=>{et(N)},onButtonPointerDown:ue,onButtonPointerUp:oe})]})]}),v("div",{className:"border-subtler border-b",children:v(wf,{title:v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.features")}),children:v("div",{className:"grid grid-cols-2 gap-x-2 gap-y-2",children:vh.map(N=>v(by,{className:"[&_[data-slot=checkbox-surface]]:border-border-default [&_[data-slot=checkbox-surface]]:bg-fill-control-surface [&_[data-slot=checkbox-surface]]:shadow-none",name:`topology-feature-${V?.uuid??""}`,checkValue:N,value:m,onClick:be,handleChange:E=>{je(N,E)},children:v("span",{className:"typo-compact-xs-normal text-fg-default",children:N})},N))})})}),v("div",{className:"border-subtler border-b",children:C(wf,{initialOpen:!0,title:C(we,{className:"w-full items-center justify-between",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:h("move.amr.rightPanel.topology.edit.transform")}),C(we,{className:"text-fg-default items-center gap-0.5",children:[v(nt,{variant:"transparent",size:"2xs",leadingIcon:v(Yg,{}),onClick:N=>{N.preventDefault(),N.stopPropagation(),R(E=>!E)},children:h("move.amr.rightPanel.topology.edit.stepSize")}),v("div",{className:`overflow-hidden transition-all duration-200 ease-out ${S?"w-32 opacity-100":"pointer-events-none w-0 opacity-0"}`,children:v(Nn,{className:"h-8 w-32",value:k,step:.1,handleChange:N=>{O(N)}})})]})]}),children:[C($,{className:"gap-2 pt-1",children:[C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-danger",children:"X"}),v("p",{className:"text-fg-subtle",children:"(m)"})]}),v(Nn,{className:"w-full",value:y,step:Number(k)||1,handleChange:(N,E,W)=>{j("x",N,W?.type)},handleEnter:N=>{Ke("x",N)},onButtonPointerDown:ue,onButtonPointerUp:oe})]}),C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-success",children:"Y"}),v("p",{className:"text-fg-subtle",children:"(m)"})]}),v(Nn,{className:"w-full",value:w,step:Number(k)||1,handleChange:(N,E,W)=>{j("y",N,W?.type)},handleEnter:N=>{Ke("y",N)},onButtonPointerDown:ue,onButtonPointerUp:oe})]}),C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-brand",children:"Z"}),v("p",{className:"text-fg-subtle",children:"(m)"})]}),v(Nn,{className:"w-full",value:T,step:Number(k)||1,handleChange:(N,E,W)=>{j("z",N,W?.type)},handleEnter:N=>{Ke("z",N)},onButtonPointerDown:ue,onButtonPointerUp:oe})]})]}),C($,{className:"gap-1",children:[C(we,{className:"typo-compact-xs-medium gap-1",children:[v("p",{className:"text-fg-information",children:"RZ"}),v("p",{className:"text-fg-subtle",children:"(°)"})]}),v(Nn,{className:"w-full",value:M,step:Number(k)||1,min:0,max:360,handleChange:(N,E,W)=>{j("rz",N,W?.type)},handleEnter:N=>{Ke("rz",N)},onButtonPointerDown:ue,onButtonPointerUp:oe}),Y&&le&&v(we,{className:"mt-2 justify-center",children:v(nt,{variant:"transparent",size:"sm",leadingIcon:v(ba,{}),onClick:Be,children:"Match Robot Pose"})})]})]})})]}),v(Bo,{cancelLabel:h("move.amr.rightPanel.common.cancel"),saveLabel:h("move.amr.rightPanel.common.saveChanges"),onCancel:async()=>{await d({title:h("move.amr.rightPanel.common.cancel"),content:h("move.amr.rightPanel.topology.dialog.discardContent"),buttonText:{yes:h("move.amr.rightPanel.common.discard"),no:h("move.amr.rightPanel.common.keepEditing")}})&&l?.()},onSave:c,children:C("button",{className:"typo-compact-sm-normal text-fg-danger hover:bg-fill-subtle flex items-center justify-center gap-1 rounded-md py-2 transition-colors",onClick:o,children:[v(Mh,{className:"size-4"}),h("move.amr.rightPanel.common.delete")]})})]})},{useEffect:KR,useMemo:$R,useRef:QR,useState:sc}=await At("react"),JR=r=>{const e=r.toLowerCase();return e==="goal"?v(xy,{className:"text-fg-warning"}):e==="route"?v(Kg,{className:"text-fg-brand"}):v(_y,{className:"text-fg-success"})},eN=({nodes:r=[],selectedObjects:e=[],selectedNodeTransform:t=null,robotPose:n=null,onNodeSelected:i,selectedTool:s="select",onToolChange:a,selectedNodeType:o="goal",onSelectNodeType:l,selectedNodePlacementType:c="cursor",onSelectNodePlacementType:d,onAddNodeAtRobot:h,onAddNodeAtCursor:u,onUpdateNode:f,onChangeNodeType:m,onTransformSelectedNodes:b,onDeleteSelectedNodes:p,onSaveTopologyChanges:g,onCancelTopologyChanges:y,showRobotPlacement:x=!0})=>{const{t:w}=tn(),P=QR(null),[T,A]=sc(""),[M,_]=sc("all"),[S,R]=sc(!1),[k,O]=sc(!1),H=e.length>0,q=$R(()=>{const V=T.trim().toLowerCase(),Y=V?r.filter(le=>(le.name||le.id).toLowerCase().includes(V)):r;return{all:Y,goal:Y.filter(le=>le.type.toLowerCase()==="goal"),route:Y.filter(le=>le.type.toLowerCase()==="route"),align:Y.filter(le=>le.type.toLowerCase()==="align")}},[r,T]),G=q[M];KR(()=>{const V=P.current;if(!V)return;const Y=()=>{const{scrollTop:le,clientHeight:se,scrollHeight:ge}=V;R(le>4),O(le+se<ge-4)};return Y(),V.addEventListener("scroll",Y),()=>{V.removeEventListener("scroll",Y)}},[G]);const K=V=>V.length===0?v(go,{className:"h-full w-full flex-1 [&_[data-slot='empty-view-section']]:h-full",type:"icon",icon:v(vy,{}),message:w("move.amr.rightPanel.topology.nodes.empty")}):V.map(Y=>C($,{children:[C(we,{className:"hover:bg-fill-subtle cursor-pointer items-center justify-between rounded-md px-1.5 py-1.5 transition-colors",onClick:le=>{const se=le.metaKey||le.ctrlKey?"remove":le.shiftKey?"add":"replace";i?.(Y.uuid,se)},children:[C(we,{className:"min-w-0 flex-1 items-center gap-2",children:[JR(Y.type),C(we,{className:"min-w-0 flex-1 items-center justify-between gap-2",children:[v("p",{className:"typo-compact-xs-normal text-fg-default truncate",children:Y.name?Y.name:`${Y.id}(ID)`}),C(we,{className:"mr-2 shrink-0 items-center gap-1.5",children:[v("p",{className:"typo-compact-2xs-semibold text-fg-subtler uppercase",children:Y.type}),v(ts,{type:"vertical",thickness:"thick",className:"text-fg-subtler h-4"}),C("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:[Y.x.toFixed(1),", ",Y.y.toFixed(1),", ",Y.z.toFixed(1)]})]})]})]}),v(yy,{className:"text-fg-default"})]}),v(ts,{className:"text-fg-subtler"})]},Y.uuid));return C($,{className:"h-full min-h-0 gap-0",children:[C($,{className:"border-subtler h-[25%] min-h-[16rem] gap-2 border-b p-3",children:[v(Rn,{size:"sm",className:"w-full",value:T,type:"search",placeholder:w("move.amr.rightPanel.topology.nodes.searchByName"),onChange:V=>{A(V.target.value)}}),C(Zg,{className:"min-h-0 w-full flex-1",variant:"line",value:M,onValueChange:V=>{(V==="all"||V==="goal"||V==="route"||V==="align")&&_(V)},children:[C(we,{className:"items-center justify-between gap-2",children:[C(qg,{children:[v(vr,{value:"all",children:w("move.amr.rightPanel.topology.nodeType.all")}),v(vr,{value:"goal",children:w("move.amr.rightPanel.topology.nodeType.goal")}),v(vr,{value:"route",children:w("move.amr.rightPanel.topology.nodeType.route")}),v(vr,{value:"align",children:w("move.amr.rightPanel.topology.nodeType.align")})]}),C("p",{className:"typo-compact-2xs-semibold text-fg-subtler shrink-0 px-2",children:[G.length," / ",r.length]})]}),C("div",{className:"border-border-subtle bg-fill-disabled relative min-h-0 flex-1 overflow-hidden rounded-md border",children:[G.length>4&&S&&v("div",{className:"from-bg-alt-1 pointer-events-none absolute top-0 right-0 left-0 z-[1] h-3 rounded-t-md bg-gradient-to-b to-transparent"}),C("div",{ref:P,className:"h-full min-h-0 overflow-y-auto px-1 py-0.5",children:[v(Xo,{value:"all",className:"h-full",children:v($,{className:"h-full min-h-0 gap-1",children:K(q.all)})}),v(Xo,{value:"goal",className:"h-full",children:v($,{className:"h-full min-h-0 gap-1",children:K(q.goal)})}),v(Xo,{value:"route",className:"h-full",children:v($,{className:"h-full min-h-0 gap-1",children:K(q.route)})}),v(Xo,{value:"align",className:"h-full",children:v($,{className:"h-full min-h-0 gap-1",children:K(q.align)})})]}),G.length>4&&k&&v("div",{className:"from-bg-alt-1 pointer-events-none absolute right-0 bottom-0 left-0 z-[1] h-6 rounded-b-md bg-gradient-to-t to-transparent"})]})]})]}),v($,{className:"min-h-0 flex-1",children:H?v(YR,{selectedObjects:e,selectedNodeTransform:t,nodes:r,robotPose:n,onUpdateNode:f,onChangeNodeType:m,onTransformSelectedNodes:b,onDeleteSelectedNodes:p,onCancelTopologyChanges:y,onSaveTopologyChanges:g}):v(XR,{selectedTool:s,onToolChange:a,selectedNodeType:o,onSelectNodeType:l,selectedNodePlacementType:c,onSelectNodePlacementType:d,onAddNodeAtRobot:h,onAddNodeAtCursor:u,onSaveTopologyChanges:g,onCancelTopologyChanges:y,showRobotPlacement:x})})]})},rc=({label:r,value:e})=>C("div",{className:"flex items-center justify-between gap-2",children:[v("span",{className:"typo-compact-xs-normal text-fg-subtle",children:r}),v("span",{className:"typo-compact-xs-semibold text-fg-default",children:e})]}),tN=r=>{if(!r)return"-";const e=new Date(r);return Number.isNaN(e.getTime())?r:r.slice(0,19).replace("T"," ")},nN=({nodeCount:r=0,linkCount:e,zoneCount:t=0,createdAt:n,downloadDisabled:i=!1,downloadHelpText:s,onDownloadTopology:a,onCancelTopologyChanges:o,onSaveTopologyChanges:l})=>{const{t:c}=tn();return C($,{className:"h-full min-h-0",children:[C($,{className:"min-h-0 flex-1 gap-4 p-3",children:[C($,{className:"gap-2",children:[v("p",{className:"typo-compact-sm-bold text-fg-default",children:c("move.amr.rightPanel.topology.overview.title")}),v("p",{className:"typo-compact-xs-normal text-fg-subtle",children:c("move.amr.rightPanel.topology.overview.description")})]}),C($,{className:"border-subtler bg-fill-control-surface gap-3 rounded-lg border p-3",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:c("move.amr.rightPanel.topology.overview.summaryTitle")}),C($,{className:"gap-2",children:[v(rc,{label:c("move.amr.rightPanel.topology.overview.createdAt"),value:tN(n)}),v(rc,{label:c("move.amr.rightPanel.topology.overview.nodes"),value:r}),v(rc,{label:c("move.amr.rightPanel.topology.overview.links"),value:e??"-"}),v(rc,{label:c("move.amr.rightPanel.topology.overview.zones"),value:t})]})]}),C($,{className:"border-subtler bg-fill-control-surface gap-2 rounded-lg border p-3",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:c("move.amr.rightPanel.topology.overview.fileTitle")}),v("p",{className:"typo-compact-xs-normal text-fg-subtle",children:c("move.amr.rightPanel.topology.overview.fileDescription")}),s&&v("p",{className:"typo-compact-xs-normal text-fg-warning",children:s})]})]}),v(Bo,{cancelLabel:c("move.amr.rightPanel.common.cancel"),saveLabel:c("move.amr.rightPanel.common.save"),onCancel:o,onSave:l,children:v(nt,{variant:"soft",className:"h-9",disabled:i,leadingIcon:v(wy,{}),onClick:a,children:c("move.amr.rightPanel.topology.overview.download")})})]})},{useMemo:ac}=await At("react"),iN=["NO_ENTRY","IGNORE_LIDAR_2D","IGNORE_LIDAR_3D"],sN=({draft:r={state:"idle",editingZoneId:null,selectedVertexIndex:null,name:"",type:"NO_ENTRY",pointCount:0,points:[]},selectedZoneIds:e,focusedZoneId:t,onFocusedZoneChange:n,onDraftStart:i,onDraftCancel:s,onDraftClear:a,onDraftUndo:o,onDraftClose:l,onDraftReopen:c,onDraftCommit:d,onDraftMetaChange:h,zones:u,onEditZone:f,onDeleteZone:m,hasUnsavedTopologyChanges:b=!1,isTopologySaving:p=!1,onSaveTopologyChanges:g,onCancelTopologyChanges:y})=>{const{t:x}=tn(),{confirmDialog:w}=Co({confirmComponent:Po}),P=ac(()=>{if(e.length===0)return[];const be=new Set(e);return u.filter(Ce=>be.has(Ce.id))},[e,u]),T=ac(()=>r.editingZoneId?u.find(be=>be.id===r.editingZoneId)??null:t?P.find(be=>be.id===t)??null:P[0]??null,[r.editingZoneId,t,P,u]),A=ac(()=>r.editingZoneId?u.find(be=>be.id===r.editingZoneId)??null:null,[r.editingZoneId,u]),M=e.length>1,_=ac(()=>M?"multi-select":r.editingZoneId||P.length>0?"edit":"create",[r.editingZoneId,M,P.length]),S=A??T,R=r.state==="idle",k=r.state==="closed",O=r.editingZoneId!==null,H=r.state!=="idle",q=H,G=R&&T!==null,K=r.points.length>0&&!k,V=r.points.length>0&&!k,Y=r.points.length>=3&&!k,le=k,se=b&&!H&&!p,ge=!H&&S===null,de=H?r.name:S?.name??"",X=H?r.type:S?.type??"",ee=x(O?"move.amr.rightPanel.topology.zone.updateZone":"move.amr.rightPanel.topology.zone.createZone");x(O?"move.amr.rightPanel.topology.zone.discardEditContent":"move.amr.rightPanel.topology.zone.discardDraftContent");const ie=x(G?"move.amr.rightPanel.topology.zone.createNewZone":"move.amr.rightPanel.topology.zone.startDrawing"),Z=H,ue=_==="create"&&R,oe=_==="multi-select"?x("move.amr.rightPanel.topology.zone.selectedCount",{count:e.length}):_==="edit"?r.editingZoneId?x("move.amr.rightPanel.topology.zone.editingZone"):x("move.amr.rightPanel.topology.zone.oneSelected"):x("move.amr.rightPanel.topology.zone.createZone");return C($,{className:"h-full min-h-0",children:[C($,{className:"min-h-0 flex-1 gap-3 overflow-y-auto p-3",children:[v(we,{className:"border-subtler gap-1.5 border-b pb-3",children:v($,{className:"gap-0.5",children:v("p",{className:"compact-sm-semibold text-fg-default",children:oe})})}),P.length>0&&!r.editingZoneId&&C(hi,{children:[C($,{className:"gap-2",children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:x("move.amr.rightPanel.topology.zone.selectedZones")}),v($,{className:"border-border-subtle max-h-40 gap-1 overflow-y-auto rounded-md border p-1.5",children:P.map((be,Ce)=>{const je=be.id===T?.id;return C(we,{className:`items-center justify-between rounded-md border px-2 py-1.5 transition-colors ${je?"border-border-default bg-fill-subtler":"border-transparent bg-fill-control-surface hover:border-border-subtle"}`,onClick:()=>{n(be.id)},children:[v("p",{className:"typo-compact-xs-semibold text-fg-default truncate",children:`${Ce+1}. ${be.name||be.id}`}),v("p",{className:"typo-compact-xs-normal text-fg-subtler shrink-0",children:x("move.amr.rightPanel.topology.zone.pointCount",{type:be.type,count:be.polygon.length})})]},be.id)})})]}),v(ts,{})]}),C($,{className:$t("gap-2",ge&&"opacity-50"),children:[v("p",{className:"typo-compact-sm2-semibold text-fg-default",children:x("move.amr.rightPanel.topology.zone.details")}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:x("move.amr.rightPanel.topology.zone.name")}),q?v(Rn,{className:"w-full",size:"sm",placeholder:x("move.amr.rightPanel.topology.zone.namePlaceholder"),value:de,onChange:be=>{h?.({name:be.target.value})}}):v("div",{className:"border-border-subtle bg-fill-control-surface rounded-md border px-3 py-2",children:v("p",{className:"typo-compact-xs-normal text-fg-default",children:de||"-"})})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:x("move.amr.rightPanel.topology.zone.type")}),q?v("div",{className:"grid grid-cols-1 gap-2",children:iN.map(be=>v(ii,{className:"w-full",name:`topology-zone-type-${be.toLowerCase()}`,checkValue:be,value:X,onChange:Ce=>{Ce.target.checked&&h?.({type:be})},children:be},be))}):v("div",{className:"border-border-subtle bg-fill-control-surface rounded-md border px-3 py-2",children:v("p",{className:"typo-compact-xs-normal text-fg-default",children:X||"-"})})]})]}),v(ts,{})]}),C(Bo,{cancelLabel:x("move.amr.rightPanel.common.discard"),saveLabel:x(p?"move.amr.rightPanel.common.saving":"move.amr.rightPanel.common.saveChanges"),cancelDisabled:!se,saveDisabled:!se,onCancel:async()=>{await w({title:x("move.amr.rightPanel.common.discard"),content:x("move.amr.rightPanel.topology.dialog.discardContent"),buttonText:{yes:x("move.amr.rightPanel.common.discard"),no:x("move.amr.rightPanel.common.keepEditing")}})&&y?.()},onSave:()=>{g?.()},children:[ue&&v(nt,{variant:"soft",className:"text-fg-default py-2",onClick:()=>{i?.({name:r.name,type:r.type})},children:ie}),R&&G&&C(hi,{children:[v(nt,{variant:"soft",className:"text-fg-default py-2",onClick:()=>{f?.(T.id)},children:x("move.amr.rightPanel.topology.zone.editZone")}),v(nt,{variant:"dangerSoft",className:"py-2",onClick:async()=>{await w({title:x("move.amr.rightPanel.topology.zone.deleteZone"),content:x("move.amr.rightPanel.topology.zone.deleteContent"),buttonText:{yes:x("move.amr.rightPanel.common.delete"),no:x("move.amr.rightPanel.topology.zone.keep")}})&&m?.(T.id)},children:x("move.amr.rightPanel.topology.zone.deleteZone")})]}),Z&&C(hi,{children:[C("div",{className:"grid grid-cols-2 gap-2",children:[v(nt,{variant:"outlined",disabled:!K,onClick:o,children:x("move.amr.rightPanel.topology.zone.undoLastPoint")}),v(nt,{variant:"outlined",disabled:!V,onClick:a,children:x("move.amr.rightPanel.topology.zone.clearPoints")})]}),!k&&v(nt,{variant:"dangerSoft",disabled:!Y,onClick:l,children:x("move.amr.rightPanel.topology.zone.closeZone")}),k&&C(hi,{children:[v(nt,{variant:"soft",className:"text-fg-default py-2",onClick:c,children:x(O?"move.amr.rightPanel.topology.zone.reopenZone":"move.amr.rightPanel.topology.zone.reopen")}),v(nt,{variant:"brand",className:"py-2",disabled:!le,onClick:d,children:ee})]})]})]})]})},{memo:rN,useCallback:yh,useEffect:aN,useState:oN}=await At("react"),xh="topology_tab",_h=r=>r==="overview"||r==="node"||r==="link"||r==="zone",lN=[{labelKey:"move.amr.rightPanel.topology.tab.overview",value:"overview"},{labelKey:"move.amr.rightPanel.topology.tab.node",value:"node"},{labelKey:"move.amr.rightPanel.topology.tab.link",value:"link"},{labelKey:"move.amr.rightPanel.topology.tab.zone",value:"zone"}],cN=({className:r,overviewTabProps:e,nodeTabProps:t,linkTabProps:n,zoneTabProps:i})=>{const{theme:s}=Ea(),{t:a}=tn(),{confirmDialog:o}=Co({confirmComponent:Po}),[l,c]=qy(),[d,h]=oN(()=>{const p=l.get(xh)??"";return _h(p)?p:"overview"}),u=i?.draft?.state==="drawing"||i?.draft?.state==="closed",f=yh(async()=>await o({title:"Leave Zone",content:"Leaving the Zone tab will discard the current zone draft. Continue?",buttonText:{yes:"Leave",no:a("move.amr.rightPanel.common.cancel")}})?(i?.onDraftCancel?.(),!0):!1,[o,a,i]),m=yh(async()=>{await o({title:a("move.amr.rightPanel.common.cancel"),content:a("move.amr.rightPanel.topology.dialog.discardContent"),buttonText:{yes:a("move.amr.rightPanel.common.discard"),no:a("move.amr.rightPanel.common.keepEditing")}})&&t?.onCancelTopologyChanges?.()},[o,t,a]),b=yh(async p=>{if(d===p||d==="zone"&&p!=="zone"&&u&&!await f())return;h(p);const g=new URLSearchParams(l);g.set(xh,p),c(g,{replace:!0})},[f,u,l,c,d]);return aN(()=>{const p=l.get(xh)??"",g=_h(p)?p:"overview";h(y=>y!==g?g:y)},[l]),v("div",{className:$t("TopologyControl","h-full",r),children:v("div",{className:"flex h-full min-h-0 gap-0",children:C("div",{className:"flex h-full min-h-0 flex-1 flex-col overflow-x-hidden",children:[v("div",{className:$t("sticky top-0 left-0 z-2",s==="light"?"bg-default":"bg-alt-1"),children:v(Sy,{tabItems:lN.map(p=>({key:p.value,label:a(p.labelKey)})),activeKey:d,handleChange:async p=>{_h(p)&&await b(p)},size:"xs",tabBtnClassName:"typo-compact-xs-bold light:bg-white light:[&.active]:bg-fill-navy! light:[&.active]:text-white!"})}),C($,{className:"min-h-0 flex-1 overflow-y-auto",children:[d==="overview"&&v(nN,{...e,nodeCount:t?.nodes?.length??0,linkCount:n?.links?.length??0,zoneCount:i?.zones?.length??0,onCancelTopologyChanges:m,onSaveTopologyChanges:t?.onSaveTopologyChanges}),d==="node"&&v(eN,{...t}),d==="link"&&v(jR,{...n}),d==="zone"&&v(sN,{...i})]})]})})})},m2=rN(cN),dN=await At("react"),hN={APRILTAG:"AprilTag",ARUCO:"ArUco"},uN={x:"text-fg-danger",y:"text-fg-success",z:"text-fg-brand",rx:"text-fg-danger",ry:"text-fg-success",rz:"text-fg-brand"},na=({label:r,value:e})=>C(we,{className:"items-baseline gap-1",children:[v("span",{className:`typo-compact-xs-semibold ${uN[r]??"text-fg-subtler"}`,children:r}),v("span",{className:"typo-compact-xs-normal text-fg-default font-mono",children:e})]}),fN=({detection:r,isSelected:e,onSelect:t})=>{const n=hN[r.type]??r.type,i=r.confidence!=null?Math.round(r.confidence*100):null,s=r.confidence!=null&&r.confidence>=.85,a=[r.distM!=null?r.distM.toFixed(2)+" m":"—",...(r.camIds?.length?r.camIds:[r.camId]).map(o=>`cam ${o}`)];return v("button",{type:"button",onClick:()=>t(String(r.markerId)),className:$t("w-full rounded-md border text-left transition-all",e?"border-fg-brand bg-fill-brand-subtlest":"bg-fill-disabled hover:bg-fill-subtlest border-transparent"),children:C($,{className:"gap-1 px-3 py-2.5",children:[C(we,{className:"items-center justify-between",children:[C(we,{className:"items-center gap-2",children:[C("span",{className:["typo-compact-lg-semibold",e?"text-fg-brand":"text-fg-default"].join(" "),children:["#",r.markerId]}),v("span",{className:["typo-compact-2xs-semibold rounded-full px-2 py-0.5",e?"bg-fg-brand text-white":"bg-fill-disabled text-fg-subtle"].join(" "),children:n})]}),i!=null&&C("span",{className:["typo-compact-sm-semibold",s?"text-fg-success":"text-fg-caution"].join(" "),children:[i,"%"]})]}),v(we,{className:"items-center gap-1.5",children:a.map((o,l)=>C(dN.Fragment,{children:[l>0&&v("span",{className:"text-fg-subtler",children:"·"}),v("span",{className:"typo-compact-xs-normal text-fg-subtle",children:o})]},o))}),r.pose?C($,{className:"gap-0.5",children:[C(we,{className:"items-center gap-3",children:[v(na,{label:"x",value:r.pose.x.toFixed(3)}),v(na,{label:"y",value:r.pose.y.toFixed(3)}),r.pose.z!=null&&v(na,{label:"z",value:r.pose.z.toFixed(3)})]}),C(we,{className:"items-center gap-3",children:[r.pose.rx!=null&&v(na,{label:"rx",value:`${r.pose.rx.toFixed(1)}°`}),r.pose.ry!=null&&v(na,{label:"ry",value:`${r.pose.ry.toFixed(1)}°`}),v(na,{label:"rz",value:`${r.pose.rz.toFixed(1)}°`})]})]}):v(go,{type:"icon",icon:v(ba,{}),message:"No pose data",className:"py-1"})]})})},{useEffect:pN,useMemo:mN,useState:so}=await At("react"),gN=[{label:"0.04m",value:"0.04"},{label:"0.1m",value:"0.10"},{label:"0.15m",value:"0.15"}],bN=(r,e)=>(r.confidence??0)!==(e.confidence??0)?(r.confidence??0)>(e.confidence??0):r.distM!=null&&e.distM!=null?r.distM<e.distM:r.distM!=null?!0:e.distM!=null?!1:r.camId<e.camId,vN=r=>{const e=new Map,t=new Map;return r.forEach(n=>{const i=t.get(n.markerId)??new Set;i.add(n.camId),n.camIds?.forEach(a=>i.add(a)),t.set(n.markerId,i);const s=e.get(n.markerId);(!s||bN(n,s))&&e.set(n.markerId,n)}),Array.from(e.values()).map(n=>({...n,camIds:Array.from(t.get(n.markerId)??[n.camId]).filter(i=>Number.isFinite(i)).sort((i,s)=>i-s)}))},g2=({mode:r="register",isScanning:e=!1,detections:t=[],onRegisterMarker:n,isRegisterPending:i=!1,lastRegisteredMarkerId:s,registeredMarkers:a=[],capturedPose:o=null,onCapturePose:l,onTeachTarget:c})=>{const{t:d}=tn(),[h,u]=so(""),f=mN(()=>vN(t),[t]);pN(()=>{s!=null&&u("")},[s]);const[m,b]=so("WALL"),[p,g]=so("0.10"),[y,x]=so(null),[w,P]=so(""),T=f.find(H=>String(H.markerId)===h)??null,A=H=>{u(H)},M=()=>{T&&n?.({camId:T.camId,markerId:T.markerId,type:T.type,mount:m,markerSizeM:Number(p)})},_=()=>{!y||!w||(c?.({markerNodeId:y.nodeId,markerId:y.markerId,nodeName:w}),P(""))},S=f.length>0,R=f.map(H=>H.distM).filter(H=>Number.isFinite(H)).sort((H,q)=>H-q)[0],k=R!=null?`${R.toFixed(2)}m`:"-",O=v($,{className:"border-subtler gap-2 border-b p-3",children:C($,{className:"bg-fill-disabled gap-1 rounded-md p-3",children:[C(we,{className:"items-center justify-between gap-3",children:[C(we,{className:"items-center gap-1",children:[v(ba,{className:"text-fg-subtle size-4"}),v("p",{className:"typo-compact-xs2-normal text-fg-subtle",children:d("move.amr.rightPanel.marker.markerStatus")})]}),C(we,{className:"items-center gap-1.5",children:[v(yi,{color:S?"green":"gray"}),v("p",{className:"typo-compact-sm-semibold text-fg-default uppercase",children:S?d("move.amr.rightPanel.marker.foundCount",{count:f.length}):d("move.amr.rightPanel.marker.notFound")})]})]}),C(we,{className:"items-center justify-between gap-3",children:[C(we,{className:"items-center gap-1",children:[v(Kg,{className:"text-fg-subtle size-4"}),v("p",{className:"typo-compact-xs2-normal text-fg-subtle",children:d("move.title.distance")})]}),v("p",{className:"typo-compact-sm-semibold text-fg-default",children:k})]})]})});return r==="register"?C($,{className:"h-full gap-0",children:[O,C($,{className:"flex-1 gap-0 overflow-y-auto",children:[f.length===0?v("div",{className:"p-3 pb-0",children:v(go,{type:"icon",icon:v(Sf,{}),message:d("move.amr.rightPanel.marker.notFound"),className:"bg-fill-disabled rounded-md"})}):v($,{className:"gap-2 p-3 pb-0",children:f.map(H=>v(fN,{detection:H,isSelected:h===String(H.markerId),onSelect:A},H.markerId))}),C($,{className:"gap-3 p-3",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.markerId")}),v("div",{className:"bg-fill-disabled border-border-subtler flex h-8 items-center rounded-md border px-3",children:v("p",{className:`typo-compact-sm-normal ${T?"text-fg-default":"text-fg-subtler"}`,children:T?`#${T.markerId}`:"—"})})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.markerType")}),v("div",{className:"bg-fill-disabled border-border-subtler flex h-8 items-center rounded-md border px-3",children:v("p",{className:`typo-compact-sm-normal ${T?"text-fg-default":"text-fg-subtler"}`,children:T?T.type==="ARUCO"?"ArUco":"AprilTag":"—"})})]}),C($,{className:"gap-2",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.markerSize")}),v(we,{className:"items-center",children:v(Nn,{className:"flex-1",size:"sm",value:p,step:.05,digit:2,fixedDigit:2,min:"0.01",max:"1.00",handleChange:H=>g(H)})})]}),v(we,{className:"gap-2",children:gN.map(H=>v(ii,{className:"flex-1",value:p,checkValue:H.value,unCheckValue:H.value,handleChange:q=>g(q),size:"sm",children:H.label},H.value))})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.mount")}),C(we,{className:"gap-2",children:[v(ii,{className:"w-full",value:m,checkValue:"WALL",unCheckValue:"WALL",handleChange:H=>b(H),size:"sm",children:d("move.amr.rightPanel.marker.mount.wall")}),v(ii,{className:"w-full",value:m,checkValue:"FLOOR",unCheckValue:"FLOOR",handleChange:H=>b(H),size:"sm",children:d("move.amr.rightPanel.marker.mount.floor")})]})]})]})]}),v("div",{className:"p-3",children:v(nt,{variant:"brand",className:"h-9 w-full",onClick:M,disabled:!T||i,children:T?d("move.amr.rightPanel.marker.registerId",{id:T.markerId}):d("move.amr.rightPanel.marker.registerMarker")})})]}):C($,{className:"h-full gap-0",children:[O,C($,{className:"flex-1 gap-3 overflow-y-auto p-3",children:[C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.targetMarker")}),v(ca,{size:"sm",value:y?String(y.markerId):"",handleChange:H=>{const q=a.find(G=>String(G.markerId)===H);x(q??null)},disabled:a.length===0,children:a.length===0?v(Pi,{value:"",children:d("move.amr.rightPanel.marker.noRegisteredMarkers")}):a.map(H=>C(Pi,{value:String(H.markerId),children:["id ",H.markerId," · ",H.type," · ",H.mount]},H.markerId))})]}),y?.precisionTarget&&(()=>{const H=y.precisionTarget,q=H.context.match(/dock_offset=([^;]+)/)?.[1]?.split(",")??[];return v($,{className:"gap-2",children:v("div",{className:"bg-fill-disabled rounded-md px-3 py-2.5",children:C($,{className:"gap-2",children:[H.nodeName&&v("p",{className:"typo-compact-sm-semibold text-fg-default",children:H.nodeName}),q.length>0&&C($,{className:"gap-0.5",children:[v("p",{className:"typo-compact-2xs-normal text-fg-subtler",children:d("move.amr.rightPanel.marker.dockOffset")}),v("div",{className:"grid grid-cols-3 gap-x-2 gap-y-0.5",children:["x","y","z","rx","ry","rz"].map((G,K)=>C(we,{className:"items-baseline gap-1",children:[v("span",{className:"typo-compact-xs-semibold text-fg-subtle w-4",children:G}),v("span",{className:"typo-compact-xs-normal text-fg-default truncate font-mono",children:q[K]?Number(q[K]).toFixed(3):"—"})]},G))})]})]})})})})(),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.capturedPose")}),o?v("div",{className:"bg-fill-disabled rounded-md px-3 py-2.5",children:v(we,{className:"items-center gap-3",children:[{label:"x",value:o.x.toFixed(3),color:"text-fg-danger"},{label:"y",value:o.y.toFixed(3),color:"text-fg-success"},{label:"θ",value:`${o.rz.toFixed(1)}°`,color:"text-fg-brand"}].map(({label:H,value:q,color:G})=>C(we,{className:"items-baseline gap-1",children:[v("span",{className:`typo-compact-xs-semibold ${G}`,children:H}),v("span",{className:"typo-compact-xs-normal text-fg-default font-mono",children:q})]},H))})}):v("div",{className:"bg-fill-disabled rounded-md px-3 py-2",children:v(go,{type:"icon",icon:v(Sf,{}),message:d("move.amr.rightPanel.marker.moveRobotThenCapture"),className:"py-1"})}),v(nt,{size:"xs2",variant:"soft",leadingIcon:v(ba,{}),onClick:l,disabled:!y,children:d("move.amr.rightPanel.marker.captureCurrentPose")})]}),C($,{className:"gap-1",children:[v("p",{className:"typo-compact-xs-semibold text-fg-default",children:d("move.amr.rightPanel.marker.targetName")}),v(Rn,{className:"w-full",size:"sm",placeholder:d("move.amr.rightPanel.marker.targetNamePlaceholder"),value:w,onChange:H=>P(H.target.value)})]})]}),v("div",{className:"p-3",children:v(nt,{variant:"brand",className:"h-9 w-full",onClick:_,disabled:!y||!w||!o,children:d("move.amr.rightPanel.marker.saveTarget")})})]})},{useEffect:yN}=await At("react"),xN={KeyV:"select",KeyT:"target",KeyG:"move",KeyR:"rotate",KeyS:"scale"},Ng=r=>{if(!(r instanceof HTMLElement))return!1;if(r.isContentEditable)return!0;const e=r.tagName.toLowerCase();if(e==="textarea"||e==="select")return!0;if(e==="input"){const n=r.type.toLowerCase();return n===""||n==="text"||n==="search"||n==="email"||n==="password"||n==="number"||n==="tel"||n==="url"}return!!r.closest("textarea, select, [contenteditable='true'], input:not([type]), input[type='text'], input[type='search'], input[type='email'], input[type='password'], input[type='number'], input[type='tel'], input[type='url']")},b2=({enabled:r=!0,tools:e,topology:t,selection:n,camera:i,link:s,zone:a})=>{const{enabled:o=!0,selectedTool:l,onToolChange:c,hasSelectedNode:d=!0,hasSelectedZone:h=!1}=e,u=t?.enabled??!0,f=!!t,m=t?.selectedNodePlacementType,b=t?.onAddNodeAtRobot,p=t?.onAddNodeAtCursor,g=n?.enabled??!0,y=!!n,x=n?.hasSelectedNodes??!1,w=n?.hasSelectedLinks??!1,P=n?.hasSelectedZones??!1,T=n?.onDeleteSelectedNodes,A=n?.onDeleteSelectedLinks,M=n?.onDeleteSelectedZones,_=i?.enabled??!0,S=!!i,R=i?.hasSelectedNode??!1,k=i?.onFocusSelectedNode,O=s?.enabled??!0,H=!!s,q=s?.selectedNodeCount??0,G=s?.onCreateLinks,K=a?.enabled??!0,V=!!a,Y=a?.state,le=a?.pointCount??0,se=a?.onCloseDraft;yN(()=>{if(!r)return;const ge=(oe,be)=>{o&&(l==="disabled"&&be!=="select"&&be!=="target"||h&&(be==="rotate"||be==="scale")||l!==be&&(oe.preventDefault(),c(be)))},de=oe=>{if(!(!f||!u)){if(m==="robot"){oe.preventDefault(),b?.();return}l==="target"&&(oe.preventDefault(),p?.())}},X=oe=>{if(!(!y||!g)){if(x){oe.preventDefault(),T?.();return}if(w){oe.preventDefault(),A?.();return}P&&(oe.preventDefault(),M?.())}},ee=oe=>{!S||!_||!R||(oe.preventDefault(),k?.())},ie=oe=>{!H||!O||q<2||(oe.preventDefault(),G?.())},Z=oe=>{!V||!K||Y!=="drawing"||le<3||(oe.preventDefault(),se?.())},ue=oe=>{if(!(Ng(oe.target)||Ng(document.activeElement))&&!oe.repeat&&!(oe.metaKey||oe.ctrlKey||oe.altKey||oe.shiftKey))switch(oe.code){case"Escape":Z(oe);return;case"KeyN":de(oe);return;case"Delete":case"Backspace":X(oe);return;case"KeyF":ee(oe);return;case"KeyL":ie(oe);return;case"KeyV":case"KeyT":case"KeyG":case"KeyR":case"KeyS":{const be=xN[oe.code];if(!be)return;ge(oe,be);return}default:return}};return window.addEventListener("keydown",ue),()=>{window.removeEventListener("keydown",ue)}},[r,_,S,R,H,y,w,d,h,x,P,f,V,p,b,A,T,M,k,G,se,c,m,q,l,g,o,u,O,Y,K,le])},{useState:_N,useCallback:wN}=await At("react"),v2=()=>{const[r,e]=_N("select"),t=wN(n=>{e(n)},[]);return{selectedTool:r,onToolChange:t}},{useEffect:Dg,useRef:Lg,useState:SN}=await At("react"),Ig=.5,MN=520;function y2({anchorObject:r,anchorWorldPosition:e,worldStudioRef:t,viewportHostRef:n,horizontalPlacementBoundary:i=MN}){const[s,a]=SN(null),o=Lg(null),l=Lg(null);return Dg(()=>{const c=()=>{const m=n.current,b=t.current?.getCanvas();o.current=m?.getBoundingClientRect()??null,l.current=b?.getBoundingClientRect()??null};c();const d=n.current,h=t.current?.getCanvas(),u=new ResizeObserver(()=>{c()});d&&u.observe(d),h&&u.observe(h);const f=()=>{c()};return window.addEventListener("resize",f),window.addEventListener("scroll",f,!0),document.addEventListener("fullscreenchange",f),()=>{u.disconnect(),window.removeEventListener("resize",f),window.removeEventListener("scroll",f,!0),document.removeEventListener("fullscreenchange",f)}},[n,t]),Dg(()=>{if(!r&&!e){a(null);return}let c=0;const d=new I,h=new I,u=()=>{const f=t.current?.getCanvas(),m=t.current?.getCamera(),b=n.current;if(!f||!m||!b){a(A=>A===null?A:null),c=requestAnimationFrame(u);return}if(m.updateMatrixWorld(),r)r.updateMatrixWorld(),r.getWorldPosition(h);else if(e)h.copy(e);else{a(A=>A===null?A:null),c=requestAnimationFrame(u);return}d.copy(h).project(m);const p=o.current,g=l.current;if(!p||!g){a(A=>A===null?A:null),c=requestAnimationFrame(u);return}const y=(d.x+1)/2*g.width,x=(-d.y+1)/2*g.height,w=y+g.left-p.left,P=x+g.top-p.top,T=Number.isFinite(w)&&Number.isFinite(P)&&d.z>=-1&&d.z<=1&&w>=0&&w<=p.width&&P>=0&&P<=p.height;a(A=>{if(!T)return A===null?A:null;const M={x:w,y:P,placement:w>p.width-i?"left":"right"};return A&&Math.abs(A.x-M.x)<Ig&&Math.abs(A.y-M.y)<Ig&&A.placement===M.placement?A:M}),c=requestAnimationFrame(u)};return u(),()=>{cancelAnimationFrame(c)}},[r,e,i,n,t]),s}const{useEffect:TN,useMemo:ia,useRef:EN,useState:ci}=await At("react"),x2=(r,e=!1)=>{const{t}=tn(),[n,i]=ci(!0),[s,a]=ci(!1),[o,l]=ci(!1),[c,d]=ci(!1),[h,u]=ci(!1),[f,m]=ci(!0),[b,p]=ci(!0),[g,y]=ci(!1),[x,w]=ci(_u),[P,T]=ci(Kb),[A,M]=ci(!1),[_,S]=ci(0),[R,k]=ci(0),[O,H]=ci("topView"),q=EN(!1);TN(()=>{!r||q.current||(S(r.minZ),k(r.maxZ))},[r]);const G=ia(()=>[{id:"lidarPoints",label:t(e?"move.amr.rightPanel.capability.lidar2d":"move.amr.viewportControls.visibility.lidarPoints"),description:t("move.amr.viewportControls.visibility.lidarPointsDescription"),checked:f,onCheckedChange:m},...e?[{id:"lidar3DPoints",label:t("move.amr.rightPanel.capability.lidar3d"),description:t("move.amr.viewportControls.visibility.lidarPointsDescription"),checked:b,onCheckedChange:p}]:[],{id:"simpleNodes",label:t("move.amr.viewportControls.visibility.simpleNodes"),description:t("move.amr.viewportControls.visibility.simpleNodesDescription"),checked:h,onCheckedChange:u},{id:"nodeLabels",label:t("move.amr.viewportControls.visibility.nodeLabels"),description:t("move.amr.viewportControls.visibility.nodeLabelsDescription"),checked:c,onCheckedChange:d},{id:"grid",label:t("move.amr.viewportControls.visibility.grid"),description:t("move.amr.viewportControls.visibility.gridDescription"),checked:n,onCheckedChange:i},{id:"mapBoundary",label:t("move.amr.viewportControls.visibility.mapBoundary"),description:t("move.amr.viewportControls.visibility.mapBoundaryDescription"),checked:g,onCheckedChange:y}],[n,f,b,e,g,c,h,t]),K=ia(()=>({label:t("move.amr.viewportControls.camera.projection"),description:t("move.amr.viewportControls.camera.projectionDescription"),value:O,items:[{label:t("move.amr.viewportControls.camera.topView"),value:"topView",description:t("move.amr.viewportControls.camera.topViewDescription")},{label:t("move.amr.viewportControls.camera.perspective"),value:"perspective",description:t("move.amr.viewportControls.camera.perspectiveDescription")}],onChange:ge=>{H(ge)}}),[t,O]),V=ia(()=>({sectionLabel:t("move.amr.viewportControls.section.manualCamera"),label:t("move.amr.viewportControls.camera.move"),description:t("move.amr.viewportControls.camera.moveDescription")}),[t]),Y=ia(()=>[{id:"mapPointSize",label:`${t("move.amr.rightPanel.map.info.pointCloud")} ${t("settings.tool.title.size")}`,value:P,min:.01,max:.3,step:.01,digit:2,onChange:T},{id:"lidarPointSize",label:t("move.amr.viewportControls.rendering.lidarPointSize"),description:t("move.amr.viewportControls.rendering.lidarPointSizeDescription"),value:x,min:.01,max:.5,step:.01,digit:2,onChange:w}],[x,P,t]),le=ia(()=>({enabled:A,minZ:_,maxZ:R,bounds:r?{minZ:r.minZ,maxZ:r.maxZ}:void 0,onEnabledChange:M,onMinZChange:ge=>{q.current=!0,S(ge)},onMaxZChange:ge=>{q.current=!0,k(ge)},onReset:()=>{q.current=!1,r&&(S(r.minZ),k(r.maxZ)),M(!1)}}),[A,r,R,_]),se=ia(()=>A?{minZ:_,maxZ:R}:null,[A,R,_]);return{showGrid:n,setShowGrid:i,showJoysticks:s,setShowJoysticks:a,showViewControls:o,setShowViewControls:l,showNodeLabels:c,setShowNodeLabels:d,showSimpleNodes:h,setShowSimpleNodes:u,showLidar:f,setShowLidar:m,showLidar3D:b,setShowLidar3D:p,showMapBoundary:g,setShowMapBoundary:y,lidarPointSize:x,setLidarPointSize:w,mapPointSize:P,setMapPointSize:T,viewportCameraMode:O,visibilityItems:G,cameraModeControl:K,cameraMoveControl:V,renderingSettingItems:Y,mapPointHeightClip:se,pointCloudHeightClipControl:le}},{useMemo:AN}=await At("react"),_2=({loading:r,isDefaultData:e,mapCloud:t,topology:n,nodes:i,links:s})=>AN(()=>{const a=!r&&!e,o=t?.rowCount??t?.data?.length??0,l=i?.length??n?.nodes?.length??0,c=s?.length??n?.links?.length??0;return{isLive:a,pointCount:o,latency:0,fps:0,nodeCount:l,linkCount:c}},[e,r,t?.data?.length,t?.rowCount,s?.length,i?.length,n?.links?.length,n?.nodes?.length]),{useCallback:wh}=await At("react"),w2=()=>{const r=wh((n,i,s)=>{const a=new Blob([i],{type:s?.mimeType}),o=window.URL.createObjectURL(a),l=document.createElement("a");l.href=o,l.download=n,l.click(),window.URL.revokeObjectURL(o)},[]),e=wh((n,i)=>{const s=JSON.stringify(i,null,2)??"";r(n,s,{mimeType:"application/json"})},[r]),t=wh((n,i)=>{const s=i.map(a=>a.map(o=>o??"").join(",")).join(`
|
|
4753
4753
|
`);r(n,s,{mimeType:"text/csv;charset=utf-8;"})},[r]);return{downloadFile:r,downloadJsonFile:e,downloadCsvFile:t}},Dv=`const d=e=>Math.min(1,Math.max(0,e)),a=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,L=e=>{const t=d(Math.sqrt(e/255));return{r:d(.13572138+t*(4.6153926+t*(-42.66032258+t*(132.13108234+t*(-152.94239396+t*59.28637943))))),g:d(.09140261+t*(2.19418839+t*(4.84296658+t*(-14.18503333+t*(4.27729857+t*2.82956604))))),b:d(.1066733+t*(12.64194608+t*(-60.58204836+t*(110.36276771+t*(-89.90310912+t*27.34824973)))))}},x=e=>{switch(e){case 2:return 20;case 3:return 28;case 7:case 8:return 30;default:return null}},A=e=>{const t=new DataView(e);if(t.byteLength<227||t.getUint32(0,!1)!==1279349574)throw new Error("Invalid LAS buffer.");const r=t.getUint32(96,!0),h=t.getUint8(104)&63,g=t.getUint16(105,!0),w=t.getUint32(107,!0),o=w>0&&h<=5?w:Number(t.getBigUint64(247,!0));if(!Number.isSafeInteger(o)||g<20||r+o*g>t.byteLength)throw new Error("Invalid LAS point data.");const p=[t.getFloat64(131,!0),t.getFloat64(139,!0),t.getFloat64(147,!0)],b=[t.getFloat64(155,!0),t.getFloat64(163,!0),t.getFloat64(171,!0)],l=new Float32Array(o*3),U=new Float32Array(o),f=new Float32Array(o*3),i=x(h),u=i===null?void 0:new Float32Array(o*3);let C=!1;for(let c=0;c<o;c+=1){const s=r+c*g,n=c*3;l[n]=t.getInt32(s,!0)*p[0]+b[0],l[n+1]=t.getInt32(s+4,!0)*p[1]+b[1],l[n+2]=t.getInt32(s+8,!0)*p[2]+b[2];const F=t.getUint16(s+12,!0);U[c]=F,C||=F>0;const y=L(F);f[n]=a(y.r),f[n+1]=a(y.g),f[n+2]=a(y.b),u&&i!==null&&i+6<=g&&(u[n]=a(t.getUint16(s+i,!0)/65535),u[n+1]=a(t.getUint16(s+i+2,!0)/65535),u[n+2]=a(t.getUint16(s+i+4,!0)/65535))}return{pointCount:o,positions:l,colors:u,intensities:C?U:void 0,intensityColors:f,bounds:{minX:t.getFloat64(187,!0),minY:t.getFloat64(203,!0),minZ:t.getFloat64(219,!0),maxX:t.getFloat64(179,!0),maxY:t.getFloat64(195,!0),maxZ:t.getFloat64(211,!0)}}},m=self;m.onmessage=e=>{try{const t=A(e.data.buffer),r=[t.positions.buffer];t.intensityColors&&r.push(t.intensityColors.buffer),t.colors&&r.push(t.colors.buffer),t.intensities&&r.push(t.intensities.buffer),m.postMessage({id:e.data.id,type:"success",data:t},r)}catch(t){m.postMessage({id:e.data.id,type:"error",message:t instanceof Error?t.message:"Unknown LAS error."})}};
|
|
4754
|
-
`,kg=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",Dv],{type:"text/javascript;charset=utf-8"});function CN(r){let e;try{if(e=kg&&(self.URL||self.webkitURL).createObjectURL(kg),!e)throw"";const t=new Worker(e,{type:"module",name:r?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(e)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(Dv),{type:"module",name:r?.name})}}const{useEffect:PN,useRef:RN,useState:NN}=await At("react"),Og={data:null,error:null,loading:!1},S2=r=>{const[e,t]=NN(Og),n=RN(0);return PN(()=>{if(!r){n.current+=1,t(Og);return}const i=n.current+1;n.current=i,t({data:null,error:null,loading:!0});let s;try{s=new CN}catch(o){t({data:null,error:o instanceof Error?o:new Error("Failed to create LAS parser worker."),loading:!1});return}s.onmessage=o=>{n.current===o.data.id&&(t(o.data.type==="success"?{data:o.data.data,error:null,loading:!1}:{data:null,error:new Error(o.data.message),loading:!1}),s.terminate())},s.onerror=o=>{n.current===i&&t({data:null,error:new Error(o.message),loading:!1}),s.terminate()};const a=r.slice(0);return s.postMessage({id:i,buffer:a},[a]),()=>s.terminate()},[r]),e};export{
|
|
4754
|
+
`,kg=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",Dv],{type:"text/javascript;charset=utf-8"});function CN(r){let e;try{if(e=kg&&(self.URL||self.webkitURL).createObjectURL(kg),!e)throw"";const t=new Worker(e,{type:"module",name:r?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(e)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(Dv),{type:"module",name:r?.name})}}const{useEffect:PN,useRef:RN,useState:NN}=await At("react"),Og={data:null,error:null,loading:!1},S2=r=>{const[e,t]=NN(Og),n=RN(0);return PN(()=>{if(!r){n.current+=1,t(Og);return}const i=n.current+1;n.current=i,t({data:null,error:null,loading:!0});let s;try{s=new CN}catch(o){t({data:null,error:o instanceof Error?o:new Error("Failed to create LAS parser worker."),loading:!1});return}s.onmessage=o=>{n.current===o.data.id&&(t(o.data.type==="success"?{data:o.data.data,error:null,loading:!1}:{data:null,error:new Error(o.data.message),loading:!1}),s.terminate())},s.onerror=o=>{n.current===i&&t({data:null,error:new Error(o.message),loading:!1}),s.terminate()};const a=r.slice(0);return s.postMessage({id:i,buffer:a},[a]),()=>s.terminate()},[r]),e};export{uu as $,Lf as A,fi as B,Ne as C,ln as D,hn as E,Si as F,Vt as G,To as H,Hs as I,Ut as J,Dr as K,fo as L,Ii as M,GN as N,Pt as O,ns as P,Lt as Q,yi as R,wn as S,xi as T,zc as U,I as V,sf as W,sv as X,Sp as Y,Hc as Z,JA as _,zN as a,Wy as a$,TE as a0,YA as a1,ex as a2,ZA as a3,$A as a4,gn as a5,qA as a6,DA as a7,e1 as a8,QA as a9,EP as aA,qN as aB,AR as aC,FP as aD,t2 as aE,p2 as aF,y2 as aG,S2 as aH,w2 as aI,v2 as aJ,x2 as aK,b2 as aL,_2 as aM,JN as aN,QN as aO,e2 as aP,o2 as aQ,l2 as aR,i2 as aS,n2 as aT,m2 as aU,r2 as aV,a2 as aW,s2 as aX,UN as aY,Cy as aZ,FN as a_,Pa as aa,jN as ab,w0 as ac,VN as ad,t1 as ae,Lb as af,Jt as ag,Fn as ah,pi as ai,Ys as aj,gt as ak,ke as al,wi as am,mr as an,Pn as ao,Bc as ap,Qb as aq,AA as ar,Jb as as,ZN as at,Yd as au,qy as av,KN as aw,ON as ax,EE as ay,$N as az,me as b,YN as b0,rg as b1,AP as b2,u2 as b3,b1 as b4,Ta as b5,OP as b6,UP as b7,Pv as b8,h2 as b9,XN as ba,fP as bb,x1 as bc,f2 as bd,_1 as be,g2 as bf,gs as bg,xC as bh,TC as bi,c2 as bj,DC as bk,IC as bl,d2 as bm,Bo as bn,jR as bo,XR as bp,YR as bq,eN as br,nN as bs,sN as bt,WC as bu,uP as bv,tf as c,jt as d,HN as e,ht as f,rn as g,Ee as h,bt as i,Yt as j,Ie as k,BN as l,H_ as m,yr as n,Aa as o,Ks as p,Ab as q,qn as r,sa as s,vn as t,WN as u,Oc as v,xt as w,zn as x,RE as y,js as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./__federation_expose_App.
|
|
1
|
+
import{l as e}from"./__federation_expose_App.BoAD7rmq.js";const n={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},o={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{n as conf,o as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./__federation_expose_App.
|
|
1
|
+
import{l as e}from"./__federation_expose_App.BoAD7rmq.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};
|