@arcgis/coding-components 4.33.0-next.95 → 4.33.0-next.96
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/arcgis-coding-components/{KDNLI4PW.js → 3MYLOOCD.js} +2 -2
- package/dist/arcgis-coding-components/{FFNJBL2C.js → 4SCRYS5U.js} +2 -2
- package/dist/arcgis-coding-components/{OVKV7HA4.js → 53KDHA4B.js} +2 -2
- package/dist/arcgis-coding-components/{ASDUXBCM.js → 5IC57CTN.js} +2 -2
- package/dist/arcgis-coding-components/{PSYNCTO3.js → 6ND5QZ7I.js} +2 -2
- package/dist/arcgis-coding-components/{MJ6BLD7M.js → 7CRQCXXJ.js} +2 -2
- package/dist/arcgis-coding-components/{3J5S7LNR.js.LEGAL.txt → 7CRQCXXJ.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{3J5S7LNR.js → CWCIUUNN.js} +2 -2
- package/dist/arcgis-coding-components/{2R5RUMGY.js.LEGAL.txt → CWCIUUNN.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{BFLNMHBO.js → DM7H3X2U.js} +2 -2
- package/dist/arcgis-coding-components/{SN7OK4L3.js → DQVHKB4U.js} +1 -1
- package/dist/arcgis-coding-components/{5TEL4RGD.js.LEGAL.txt → DQVHKB4U.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{AQ7256FU.js → F3HLFRKQ.js} +2 -2
- package/dist/arcgis-coding-components/{SRYV3ZEC.js → G26TZKTT.js} +2 -2
- package/dist/arcgis-coding-components/{SRYV3ZEC.js.LEGAL.txt → G26TZKTT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{JLD22JF5.js → GII7XRBS.js} +2 -2
- package/dist/arcgis-coding-components/{GITY5JPB.js → ITKOCXUH.js} +2 -2
- package/dist/arcgis-coding-components/{VKTGCY47.js → IZAMYKBT.js} +2 -2
- package/dist/arcgis-coding-components/{CCUXMVKL.js.LEGAL.txt → IZAMYKBT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{TCZJCWPP.js → IZWZ42I2.js} +2 -2
- package/dist/arcgis-coding-components/{LZDE7AQN.js → JGWARU5C.js} +2 -2
- package/dist/arcgis-coding-components/{VMOXAMNU.js → K266OADM.js} +1 -1
- package/dist/arcgis-coding-components/{LVFDH3B6.js → MO2KUK6E.js} +2 -2
- package/dist/arcgis-coding-components/MO2KUK6E.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{L236OL2H.js → NBPE4QWT.js} +2 -2
- package/dist/arcgis-coding-components/{L236OL2H.js.LEGAL.txt → NBPE4QWT.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{5TEL4RGD.js → NVCX3HBG.js} +2 -2
- package/dist/arcgis-coding-components/NVCX3HBG.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/PLU4WNW5.js +4 -0
- package/dist/arcgis-coding-components/PLU4WNW5.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{CCUXMVKL.js → QJJ6FX2R.js} +2 -2
- package/dist/arcgis-coding-components/QJJ6FX2R.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{X2XCQYHD.js → QMQVERYO.js} +2 -2
- package/dist/arcgis-coding-components/QMQVERYO.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{2R5RUMGY.js → QRA2ZFNA.js} +2 -2
- package/dist/arcgis-coding-components/QRA2ZFNA.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{PEJJISNO.js → RIHTBYCN.js} +3 -3
- package/dist/arcgis-coding-components/{PEJJISNO.js.LEGAL.txt → RIHTBYCN.js.LEGAL.txt} +1 -1
- package/dist/arcgis-coding-components/{NB7QVTRR.js → SOSZMCTW.js} +2 -2
- package/dist/arcgis-coding-components/SOSZMCTW.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{VSQTG34Y.js → TZFVQ7YP.js} +2 -2
- package/dist/arcgis-coding-components/TZFVQ7YP.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{YUDYJYHY.js → UA5DHEVG.js} +2 -2
- package/dist/arcgis-coding-components/UA5DHEVG.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MIZNH4A4.js → UXZZFJS5.js} +1 -1
- package/dist/arcgis-coding-components/{K636HHJX.js → V6KMD3G6.js} +1 -1
- package/dist/arcgis-coding-components/{ITXGOZGP.js → W3NDSK7A.js} +2 -2
- package/dist/arcgis-coding-components/{3DGOV7PL.js → W45F5XYO.js} +2 -2
- package/dist/arcgis-coding-components/{FHP7O6X7.js → WXBTIG3X.js} +2 -2
- package/dist/arcgis-coding-components/WXBTIG3X.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{MY5224Q2.js → XT2MXE54.js} +2 -2
- package/dist/arcgis-coding-components/XT2MXE54.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/{FYFOWKWN.js → Y4G7MJ7L.js} +2 -2
- package/dist/arcgis-coding-components/{TR7M3ND7.js → YVNOL6OA.js} +2 -2
- package/dist/arcgis-coding-components/YVNOL6OA.js.LEGAL.txt +3 -0
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +2 -2
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +6 -6
- package/dist/arcgis-coding-components/FHP7O6X7.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/LVFDH3B6.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/MJ6BLD7M.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/MY5224Q2.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/NB7QVTRR.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/SN7OK4L3.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/T4KQZUKT.js +0 -4
- package/dist/arcgis-coding-components/T4KQZUKT.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/TR7M3ND7.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/VKTGCY47.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/VSQTG34Y.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/X2XCQYHD.js.LEGAL.txt +0 -3
- package/dist/arcgis-coding-components/YUDYJYHY.js.LEGAL.txt +0 -3
- /package/dist/arcgis-coding-components/{KDNLI4PW.js.LEGAL.txt → 3MYLOOCD.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{FFNJBL2C.js.LEGAL.txt → 4SCRYS5U.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{OVKV7HA4.js.LEGAL.txt → 53KDHA4B.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ASDUXBCM.js.LEGAL.txt → 5IC57CTN.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{PSYNCTO3.js.LEGAL.txt → 6ND5QZ7I.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{BFLNMHBO.js.LEGAL.txt → DM7H3X2U.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{3DGOV7PL.js.LEGAL.txt → F3HLFRKQ.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{JLD22JF5.js.LEGAL.txt → GII7XRBS.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{AQ7256FU.js.LEGAL.txt → ITKOCXUH.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{TCZJCWPP.js.LEGAL.txt → IZWZ42I2.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{LZDE7AQN.js.LEGAL.txt → JGWARU5C.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{GITY5JPB.js.LEGAL.txt → K266OADM.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{K636HHJX.js.LEGAL.txt → UXZZFJS5.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{MIZNH4A4.js.LEGAL.txt → V6KMD3G6.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{ITXGOZGP.js.LEGAL.txt → W3NDSK7A.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{VMOXAMNU.js.LEGAL.txt → W45F5XYO.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-coding-components/{FYFOWKWN.js.LEGAL.txt → Y4G7MJ7L.js.LEGAL.txt} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as X}from"./
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{c as X}from"./RIHTBYCN.js";import{ck as F,jk as Q,kk as se,pk as B}from"./DM7H3X2U.js";se();async function re(i){return await(await X()).colorize(i,"arcade",{tabSize:2})}async function Se(i){if(!i)return;let t=[...i.querySelectorAll("code.language-arcade")];await Promise.all(t.map(async n=>await ie(n,n.textContent)))}async function ie(i,t){!i||i.tagName!=="CODE"||(i.innerHTML=await re(t??""))}function Re(){let i=B.get(Q).getColorTheme();return F(i.tokenTheme.getColorMap())}function Te(i){return B.get(Q).onDidColorThemeChange(()=>i())}function H(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}var I=H();function Y(i){I=i}var ee=/[&<>"']/,le=new RegExp(ee.source,"g"),te=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ae=new RegExp(te.source,"g"),oe={"&":"&","<":"<",">":">",'"':""","'":"'"},G=i=>oe[i];function w(i,t){if(t){if(ee.test(i))return i.replace(le,G)}else if(te.test(i))return i.replace(ae,G);return i}var ce=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ne(i){return i.replace(ce,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}var he=/(^|[^\[])\^/g;function m(i,t){i=typeof i=="string"?i:i.source,t=t||"";let n={replace:(e,s)=>(s=s.source||s,s=s.replace(he,"$1"),i=i.replace(e,s),n),getRegex:()=>new RegExp(i,t)};return n}var pe=/[^\w:]/g,ue=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function V(i,t,n){if(i){let e;try{e=decodeURIComponent(ne(n)).replace(pe,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}t&&!ue.test(n)&&(n=fe(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}var O={},ge=/^[^:]+:\/*[^/]*$/,de=/^([^:]+:)[\s\S]*$/,ke=/^([^:]+:\/*[^/]*)[\s\S]*$/;function fe(i,t){O[" "+i]||(ge.test(i)?O[" "+i]=i+"/":O[" "+i]=U(i,"/",!0)),i=O[" "+i];let n=i.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:i.replace(de,"$1")+t:t.charAt(0)==="/"?n?t:i.replace(ke,"$1")+t:i+t}var j={exec:function(){}};function J(i,t){let n=i.replace(/\|/g,(r,l,a)=>{let c=!1,u=l;for(;--u>=0&&a[u]==="\\";)c=!c;return c?"|":" |"}),e=n.split(/ \|/),s=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>t)e.splice(t);else for(;e.length<t;)e.push("");for(;s<e.length;s++)e[s]=e[s].trim().replace(/\\\|/g,"|");return e}function U(i,t,n){let e=i.length;if(e===0)return"";let s=0;for(;s<e;){let r=i.charAt(e-s-1);if(r===t&&!n)s++;else if(r!==t&&n)s++;else break}return i.slice(0,e-s)}function me(i,t){if(i.indexOf(t[1])===-1)return-1;let n=i.length,e=0,s=0;for(;s<n;s++)if(i[s]==="\\")s++;else if(i[s]===t[0])e++;else if(i[s]===t[1]&&(e--,e<0))return s;return-1}function xe(i,t){!i||i.silent||(t&&console.warn("marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async"),(i.sanitize||i.sanitizer)&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),(i.highlight||i.langPrefix!=="language-")&&console.warn("marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight."),i.mangle&&console.warn("marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`."),i.baseUrl&&console.warn("marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url."),i.smartypants&&console.warn("marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants."),i.xhtml&&console.warn("marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml."),(i.headerIds||i.headerPrefix)&&console.warn("marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`."))}function K(i,t,n,e){let s=t.href,r=t.title?w(t.title):null,l=i[1].replace(/\\([\[\]])/g,"$1");if(i[0].charAt(0)!=="!"){e.state.inLink=!0;let a={type:"link",raw:n,href:s,title:r,text:l,tokens:e.inlineTokens(l)};return e.state.inLink=!1,a}return{type:"image",raw:n,href:s,title:r,text:w(l)}}function be(i,t){let n=i.match(/^(\s+)(?:```)/);if(n===null)return t;let e=n[1];return t.split(`
|
|
5
5
|
`).map(s=>{let r=s.match(/^\s+/);if(r===null)return s;let[l]=r;return l.length>=e.length?s.slice(e.length):s}).join(`
|
|
6
6
|
`)}var C=class{constructor(t){this.options=t||I}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:U(e,`
|
|
7
7
|
`)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let e=n[0],s=be(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:s}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let e=n[2].trim();if(/#$/.test(e)){let s=U(e,"#");(this.options.pedantic||!s||/ $/.test(s))&&(e=s.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let e=n[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;let r=this.lexer.blockTokens(e);return this.lexer.state.top=s,{type:"blockquote",raw:n[0],tokens:r,text:e}}}list(t){let n=this.rules.block.list.exec(t);if(n){let e,s,r,l,a,c,u,g,k,d,h,y,_=n[1].trim(),A=_.length>1,x={type:"list",raw:"",ordered:A,start:A?+_.slice(0,-1):"",loose:!1,items:[]};_=A?`\\d{1,9}\\${_.slice(-1)}`:`\\${_}`,this.options.pedantic&&(_=A?_:"[*+-]");let b=new RegExp(`^( {0,3}${_})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(y=!1,!(!(n=b.exec(t))||this.rules.block.hr.test(t)));){if(e=n[0],t=t.substring(e.length),g=n[2].split(`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as g,b as i,c,d}from"./
|
|
3
|
+
v4.33.0-next.96 */
|
|
4
|
+
import{a as g,b as i,c,d}from"./UXZZFJS5.js";import{c as F}from"./RIHTBYCN.js";import"./3MYLOOCD.js";import{a as y,v as T}from"./V6KMD3G6.js";import{Gl as P,Kl as k,Nl as C,Sl as f,kk as O}from"./DM7H3X2U.js";import"./K266OADM.js";O();var z={False:"false",Null:"null",True:"true"},$={Break:"break",Continue:"continue",Else:"else",For:"for",Function:"function",If:"if",Import:"import",Export:"export",In:"in",Return:"return",Var:"var",While:"while"};var j=["++","--"],V=["-","+","!","~"],W=["=","/=","*=","%=","+=","-="],R=["||","&&"],K=["|","&",">>","<<",">>>","^","==","!=","<","<=",">",">=","+","-","*","/","%"];var s={InvalidModuleUri:"InvalidModuleUri",ForInOfLoopInitializer:"ForInOfLoopInitializer",IdentifierExpected:"IdentifierExpected",InvalidEscapedReservedWord:"InvalidEscapedReservedWord",InvalidExpression:"InvalidExpression",InvalidFunctionIdentifier:"InvalidFunctionIdentifier",InvalidHexEscapeSequence:"InvalidHexEscapeSequence",InvalidLeftHandSideInAssignment:"InvalidLeftHandSideInAssignment",InvalidLeftHandSideInForIn:"InvalidLeftHandSideInForIn",InvalidTemplateHead:"InvalidTemplateHead",InvalidVariableAssignment:"InvalidVariableAssignment",KeyMustBeString:"KeyMustBeString",NoFunctionInsideBlock:"NoFunctionInsideBlock",NoFunctionInsideFunction:"NoFunctionInsideFunction",ModuleExportRootOnly:"ModuleExportRootOnly",ModuleImportRootOnly:"ModuleImportRootOnly",PunctuatorExpected:"PunctuatorExpected",TemplateOctalLiteral:"TemplateOctalLiteral",UnexpectedBoolean:"UnexpectedBoolean",UnexpectedEndOfScript:"UnexpectedEndOfScript",UnexpectedIdentifier:"UnexpectedIdentifier",UnexpectedKeyword:"UnexpectedKeyword",UnexpectedNull:"UnexpectedNull",UnexpectedNumber:"UnexpectedNumber",UnexpectedPunctuator:"UnexpectedPunctuator",UnexpectedString:"UnexpectedString",UnexpectedTemplate:"UnexpectedTemplate",UnexpectedToken:"UnexpectedToken"},H={[s.InvalidModuleUri]:"Module uri must be a text literal.",[s.ForInOfLoopInitializer]:"for-in loop variable declaration may not have an initializer.",[s.IdentifierExpected]:"'${value}' is an invalid identifier.",[s.InvalidEscapedReservedWord]:"Keyword cannot contain escaped characters.",[s.InvalidExpression]:"Invalid expression.",[s.InvalidFunctionIdentifier]:"'${value}' is an invalid function identifier.",[s.InvalidHexEscapeSequence]:"Invalid hexadecimal escape sequence.",[s.InvalidLeftHandSideInAssignment]:"Invalid left-hand side in assignment.",[s.InvalidLeftHandSideInForIn]:"Invalid left-hand side in for-in.",[s.InvalidTemplateHead]:"Invalid template structure.",[s.InvalidVariableAssignment]:"Invalid variable assignment.",[s.KeyMustBeString]:"Object property keys must be a word starting with a letter.",[s.NoFunctionInsideBlock]:"Functions cannot be declared inside of code blocks.",[s.NoFunctionInsideFunction]:"Functions cannot be declared inside another function.",[s.ModuleExportRootOnly]:"Module exports cannot be declared inside of code blocks.",[s.ModuleImportRootOnly]:"Module import cannot be declared inside of code blocks.",[s.PunctuatorExpected]:"'${value}' expected.",[s.TemplateOctalLiteral]:"Octal literals are not allowed in template literals.",[s.UnexpectedBoolean]:"Unexpected boolean literal.",[s.UnexpectedEndOfScript]:"Unexpected end of Arcade expression.",[s.UnexpectedIdentifier]:"Unexpected identifier.",[s.UnexpectedKeyword]:"Unexpected keyword.",[s.UnexpectedNull]:"Unexpected null literal.",[s.UnexpectedNumber]:"Unexpected number.",[s.UnexpectedPunctuator]:"Unexpected punctuator.",[s.UnexpectedString]:"Unexpected text literal.",[s.UnexpectedTemplate]:"Unexpected quasi '${value}'.",[s.UnexpectedToken]:"Unexpected token '${value}'."};var E=[[],[],[]];j.forEach(t=>E[t.length-1]?.push(t));V.forEach(t=>E[t.length-1]?.push(t));R.forEach(t=>E[t.length-1]?.push(t));W.forEach(t=>E[t.length-1]?.push(t));K.forEach(t=>E[t.length-1]?.push(t));var o={AlreadyDefined:"AlreadyDefined",ApiConflict:"ApiConflict",AssignedNeverUsed:"AssignedNeverUsed",DefinedNeverAssigned:"DefinedNeverAssigned",DefinedNeverUsed:"DefinedNeverUsed",EmptyBlockStatement:"EmptyBlockStatement",ExecutionError:"ExecutionError",InvalidApiFunctionUsage:"InvalidApiFunctionUsage",InvalidConstantIdentifier:"InvalidConstantIdentifier",InvalidPropertyIdentifier:"InvalidPropertyIdentifier",NoArgumentExpected:"NoArgumentExpected",NotADictionary:"NotADictionary",NotDefined:"NotDefined",NotEnoughArguments:"NotEnoughArguments",ProfileVariablesAreImmutable:"ProfileVariablesAreImmutable",ProfileVariablesConflict:"ProfileVariablesConflict",ReservedKeyword:"ReservedKeyword",TooManyArguments:"TooManyArguments",UnexpectedEmptyFunction:"UnexpectedEmptyFunction",UnexpectedPropertyIdentifier:"UnexpectedPropertyIdentifier",UnknownPropertyIdentifier:"UnknownPropertyIdentifier"},ce={[o.AlreadyDefined]:"'${identifier}' is already defined.",[o.ApiConflict]:"'${identifier}' is already defined as an Arcade constant or function.",[o.AssignedNeverUsed]:"'${identifier}' is assigned but never used.",[o.DefinedNeverAssigned]:"'${identifier}' is defined but never assigned.",[o.DefinedNeverUsed]:"'${identifier}' is defined but never used.",[o.EmptyBlockStatement]:"Empty block statement.",[o.ExecutionError]:"Execution Error: '${stack}'",[o.InvalidApiFunctionUsage]:"Arcade function '${identifier}' not used in a call expression.",[o.InvalidConstantIdentifier]:"Invalid constant identifier, expecting ${list}.",[o.InvalidPropertyIdentifier]:"Invalid property identifier, expecting ${list}.",[o.NoArgumentExpected]:"Expecting no argument.",[o.NotADictionary]:"'${identifier}' doesn't have properties.",[o.NotDefined]:"'${identifier}' is not defined.",[o.NotEnoughArguments]:"Expecting at least ${min} argument(s).",[o.ProfileVariablesAreImmutable]:"Profile variables cannot be modified.",[o.ProfileVariablesConflict]:"'${identifier}' is already defined as a profile variable.",[o.ReservedKeyword]:"'${identifier}' is a reserved keyword.",[o.TooManyArguments]:"Too many arguments, expecting ${max}.",[o.UnexpectedEmptyFunction]:"Unexpected empty function '${identifier}'.",[o.UnexpectedPropertyIdentifier]:"Unexpected property identifier.",[o.UnknownPropertyIdentifier]:"Unknown property identifier '${identifier}'.",...H};var B=Object.values($),q=Object.values(z);var le=q.map(t=>({label:t,kind:i.Constant})),he=B.map(t=>({label:t,kind:i.Keyword})),de=[{label:"exportfunction",kind:i.Snippet,detail:"Export Function Statement",insertText:`export function \${1:functionName} ($2) {
|
|
5
5
|
$0
|
|
6
6
|
}`,insertTextMode:d.adjustIndentation,insertTextFormat:c.Snippet},{label:"exportvar",kind:i.Snippet,detail:"Export Variable Statement",insertText:"export var ${0:variableName}\n",insertTextMode:d.adjustIndentation,insertTextFormat:c.Snippet},{label:"for",kind:i.Snippet,detail:"For Loop Statement",insertText:"for (var ${1:i} = 0; ${1:i} < ${2:array.length}; ${1:i}++) {\n $0\n}",insertTextMode:d.adjustIndentation,insertTextFormat:c.Snippet},{label:"forin",kind:i.Snippet,detail:"For-In Loop Statement",insertText:"for (var ${1:i} in ${2:arrayOrObject}) {\n $0\n}",insertTextMode:d.adjustIndentation,insertTextFormat:c.Snippet},{label:"forof",kind:i.Snippet,detail:"For-Of Loop Statement",insertText:"for (var ${1:i} of ${2:arrayOrObject}) {\n $0\n}",insertTextMode:d.adjustIndentation,insertTextFormat:c.Snippet},{label:"function",kind:i.Snippet,detail:"Function Statement",insertText:`function \${1:functionName} ($2) {
|
|
7
7
|
$0
|