@arcgis/coding-components 5.2.0-next.140 → 5.2.0-next.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/cdn/{WCI43GIC.js → 2AXSYZEN.js} +2 -2
  2. package/dist/cdn/{AW5IMWD6.js → 2PZP3YWM.js} +2 -2
  3. package/dist/cdn/{TA4G2LVC.js → 33BRQKI6.js} +2 -2
  4. package/dist/cdn/{BYGBU3GB.js → 36W5RXLG.js} +2 -2
  5. package/dist/cdn/{SVYY36W2.js → 3G26WBEK.js} +2 -2
  6. package/dist/cdn/{TXFIQJHJ.js → 45R5XOFL.js} +2 -2
  7. package/dist/cdn/{5M4Y6BPH.js → 467GNIKK.js} +2 -2
  8. package/dist/cdn/{2K2DUTEX.js → 4OC4PWCA.js} +2 -2
  9. package/dist/cdn/{55Q2G4OY.js → 4YFE3KBC.js} +2 -2
  10. package/dist/cdn/{LT46MQ3R.js → 57E5F75J.js} +2 -2
  11. package/dist/cdn/{4SCAQXGL.js → 5EIPVOGO.js} +2 -2
  12. package/dist/cdn/{JPCKFSCN.js → 5HKDO4SX.js} +1 -1
  13. package/dist/cdn/{HVCJZ7GU.js → 5YEMW2UC.js} +2 -2
  14. package/dist/cdn/{TOIOFT2S.js → 62ON7ZHZ.js} +2 -2
  15. package/dist/cdn/{7IMHQO2V.js → 6HKTUV2Z.js} +2 -2
  16. package/dist/cdn/{SR3TBOJY.js → 6VFEED45.js} +2 -2
  17. package/dist/cdn/{UH3YO32A.js → 7GVCXLAE.js} +2 -2
  18. package/dist/cdn/{ROTZLDIT.js → 7IJT3Z4F.js} +2 -2
  19. package/dist/cdn/{FXTQDR6G.js → 7Z6G332Z.js} +1 -1
  20. package/dist/cdn/{FEQYLZXB.js → A3TU47C5.js} +2 -2
  21. package/dist/cdn/{RIKAOQYV.js → ABZ7ZFXX.js} +2 -2
  22. package/dist/cdn/{JUF3UYBF.js → AGJJ7FJX.js} +2 -2
  23. package/dist/cdn/{T2AUH4ME.js → AI6346MJ.js} +2 -2
  24. package/dist/cdn/{C3LWMJ56.js → BFPEJYVB.js} +1 -1
  25. package/dist/cdn/{M76B3W3Y.js → BPCBI4SE.js} +2 -2
  26. package/dist/cdn/{6NME5GYU.js → BTLDXLFC.js} +2 -2
  27. package/dist/cdn/{P4SMRR2P.js → C5WMGZYX.js} +2 -2
  28. package/dist/cdn/{W7SAG4KR.js → CJ2MVXSJ.js} +2 -2
  29. package/dist/cdn/{JTDC4MHL.js → CP57L67B.js} +2 -2
  30. package/dist/cdn/{RJOVUGPB.js → CVJM5DJ5.js} +2 -2
  31. package/dist/cdn/{3DMULL6Y.js → D4TRKALK.js} +2 -2
  32. package/dist/cdn/{DGJ7J5FA.js → D5GWRYT7.js} +2 -2
  33. package/dist/cdn/{VJH3R5OS.js → DITC5ENP.js} +2 -2
  34. package/dist/cdn/{FMX4KCA2.js → DKAMEAFP.js} +2 -2
  35. package/dist/cdn/{VVFPLSXK.js → DSXNVNHP.js} +2 -2
  36. package/dist/cdn/{YEFVOAFD.js → EIKXKAAA.js} +2 -2
  37. package/dist/cdn/{JUVALRBX.js → EQDKZIAP.js} +2 -2
  38. package/dist/cdn/{KYZIVRRE.js → EQKJWVNG.js} +2 -2
  39. package/dist/cdn/{VK74BPIN.js → ERQORLO4.js} +2 -2
  40. package/dist/cdn/{RTUQFFHX.js → EXVPEWWR.js} +2 -2
  41. package/dist/cdn/{3LLBOQET.js → FGO22NCZ.js} +2 -2
  42. package/dist/cdn/{MT3EN3JQ.js → FH5UYXIE.js} +2 -2
  43. package/dist/cdn/{WQCBBI46.js → FRKDR2KF.js} +2 -2
  44. package/dist/cdn/{WFTDQL2F.js → FUBZOMVG.js} +2 -2
  45. package/dist/cdn/{7YGGAMMI.js → G3F6L5BF.js} +2 -2
  46. package/dist/cdn/G4VQ7X3L.js +2 -0
  47. package/dist/cdn/{Y735OZSU.js → GDTEFKCP.js} +2 -2
  48. package/dist/cdn/{QS6XQXBD.js → GJ4W3JPG.js} +2 -2
  49. package/dist/cdn/{JVG2GEOV.js → GK62ODPJ.js} +2 -2
  50. package/dist/cdn/{NNVH66G7.js → GLWUBI25.js} +2 -2
  51. package/dist/cdn/{DEEKUI7Y.js → GWJWZDBK.js} +2 -2
  52. package/dist/cdn/{A4GZ33K7.js → GYG7XT3I.js} +2 -2
  53. package/dist/cdn/{E2AFCZFQ.js → H2KLFHG3.js} +2 -2
  54. package/dist/cdn/{VFCQQ2QW.js → H5EGZU2S.js} +1 -1
  55. package/dist/cdn/{TAVTDQ6S.js → H6RQVSYM.js} +1 -1
  56. package/dist/cdn/{H2UPP7AN.js → HLTDO25M.js} +2 -2
  57. package/dist/cdn/{PCKE4TCN.js → HUTT2UBA.js} +2 -2
  58. package/dist/cdn/{375DJPSU.js → HZSPZILM.js} +2 -2
  59. package/dist/cdn/{VU6OVSPO.js → IF6VZF56.js} +2 -2
  60. package/dist/cdn/{QAELK3EI.js → IO6Q3255.js} +2 -2
  61. package/dist/cdn/{HZRDPUZY.js → ISYMIYR5.js} +2 -2
  62. package/dist/cdn/{6NBR3CBG.js → J4I4EROF.js} +1 -1
  63. package/dist/cdn/{N3YRPFQR.js → J72JBXLX.js} +2 -2
  64. package/dist/cdn/{T4YNKW5K.js → J7TSCCXO.js} +2 -2
  65. package/dist/cdn/{KLUYWWAO.js → JFO2HVZ6.js} +2 -2
  66. package/dist/cdn/{7IPPBEPF.js → JGRWZYW5.js} +2 -2
  67. package/dist/cdn/{4JOBVTMO.js → JW63G7JR.js} +2 -2
  68. package/dist/cdn/{VTV2VG4H.js → JZKEFFFC.js} +2 -2
  69. package/dist/cdn/{TVVA6FEQ.js → KFZFVK3W.js} +2 -2
  70. package/dist/cdn/{SYNWLBAF.js → KKD3ZAX7.js} +2 -2
  71. package/dist/cdn/{QRW7RXCV.js → KSNDH6NJ.js} +2 -2
  72. package/dist/cdn/{L5EAXK66.js → KSYZD77O.js} +2 -2
  73. package/dist/cdn/{D6IZDRAG.js → KY7IXKSM.js} +2 -2
  74. package/dist/cdn/{DUOYG2IK.js → LDUXIRRX.js} +2 -2
  75. package/dist/cdn/{BQAEB2CG.js → LEFE3FVL.js} +1 -1
  76. package/dist/cdn/{UNPBOORD.js → LW6VG5BJ.js} +2 -2
  77. package/dist/cdn/{NIVPC4BK.js → MB3H26SY.js} +2 -2
  78. package/dist/cdn/{33VE4JBP.js → MBEHVUYT.js} +2 -2
  79. package/dist/cdn/{YQITW2XJ.js → ML3XEYX7.js} +2 -2
  80. package/dist/cdn/{CC73R2YO.js → MLQTKNOS.js} +2 -2
  81. package/dist/cdn/{S3HNLKHY.js → MO22NTSF.js} +2 -2
  82. package/dist/cdn/{A3VKXFUZ.js → MZMKV7FA.js} +1 -1
  83. package/dist/cdn/{Z5PSDQLD.js → MZWBKK5Y.js} +2 -2
  84. package/dist/cdn/{DWVVNZOV.js → N56B3UDM.js} +2 -2
  85. package/dist/cdn/{DJSVI4SW.js → N634TYFB.js} +2 -2
  86. package/dist/cdn/{WYBJRCXS.js → NFD5QRK7.js} +2 -2
  87. package/dist/cdn/{OVXVWXRX.js → NGWNHRDV.js} +2 -2
  88. package/dist/cdn/{XUZB7XNL.js → NKGAHXNJ.js} +3 -3
  89. package/dist/cdn/{W7BJ4EJL.js → NQOXXF5T.js} +2 -2
  90. package/dist/cdn/{N4JLGDFS.js → O6XP7VU2.js} +3 -3
  91. package/dist/cdn/OKTFDNZ2.js +2 -0
  92. package/dist/cdn/OMJLVFHT.js +2 -0
  93. package/dist/cdn/{OJKCX7KO.js → OO3J7H7X.js} +2 -2
  94. package/dist/cdn/{KVWBKELA.js → P47PXEKU.js} +2 -2
  95. package/dist/cdn/{PBTICSC2.js → P5SQNRDH.js} +2 -2
  96. package/dist/cdn/{C33GYZXZ.js → PTLGMSM7.js} +2 -2
  97. package/dist/cdn/{5QFCRDPV.js → PVTDESVT.js} +2 -2
  98. package/dist/cdn/PY2Q5GGO.js +2 -0
  99. package/dist/cdn/{PMVQBTIZ.js → Q2IQGLDP.js} +2 -2
  100. package/dist/cdn/{TWKY4BKI.js → Q42IHUZ3.js} +2 -2
  101. package/dist/cdn/{LY2IFALR.js → QDUPWXLI.js} +2 -2
  102. package/dist/cdn/{UVUWGKLM.js → QGSV4ECO.js} +2 -2
  103. package/dist/cdn/{OQKFGD5F.js → QYQXVQVS.js} +2 -2
  104. package/dist/cdn/{TKEKWLBE.js → QZ5SQVOZ.js} +2 -2
  105. package/dist/cdn/{V5J7KWVQ.js → R7SJNYNM.js} +2 -2
  106. package/dist/cdn/{SOG262WW.js → S5T6XTRV.js} +2 -2
  107. package/dist/cdn/{HICJC3K4.js → SIP637YL.js} +2 -2
  108. package/dist/cdn/{Q7GROPRX.js → SP2OSSVP.js} +2 -2
  109. package/dist/cdn/{GLGGJTZV.js → SXM2EQHN.js} +2 -2
  110. package/dist/cdn/{VQR7ACO5.js → TKZNHPOT.js} +2 -2
  111. package/dist/cdn/{RT5UOROF.js → TULXD5ZA.js} +1 -1
  112. package/dist/cdn/{L55CAL6A.js → TUPOE2CF.js} +2 -2
  113. package/dist/cdn/{6EM6CS5H.js → TUQPDQ74.js} +2 -2
  114. package/dist/cdn/{VIBWCDPT.js → U2T7AGOO.js} +2 -2
  115. package/dist/cdn/{RTWZV4XI.js → UF7HDQEU.js} +2 -2
  116. package/dist/cdn/{T2HTSGVS.js → UHQN4ZKV.js} +2 -2
  117. package/dist/cdn/{OEKA3QCT.js → USFPEQ7Q.js} +2 -2
  118. package/dist/cdn/{ZPFMMHAW.js → UXE4ASGX.js} +2 -2
  119. package/dist/cdn/{Z42TYXEQ.js → UYUJZDIZ.js} +2 -2
  120. package/dist/cdn/{OBV47WCU.js → UZD32YRD.js} +2 -2
  121. package/dist/cdn/{G7K5HHRI.js → UZVUXHHW.js} +2 -2
  122. package/dist/cdn/{S52OMKJQ.js → VHXEN75D.js} +2 -2
  123. package/dist/cdn/{3KHLUWP6.js → W6YYQCBS.js} +2 -2
  124. package/dist/cdn/{3MV7L6WD.js → WBYKVSV4.js} +2 -2
  125. package/dist/cdn/{B5GJ5YJV.js → WJYR4BJG.js} +2 -2
  126. package/dist/cdn/{5RKRCDUO.js → WMQL7T43.js} +2 -2
  127. package/dist/cdn/{P3M7MP34.js → XCISKBJD.js} +2 -2
  128. package/dist/cdn/{RRLOGYIL.js → XECHDNHQ.js} +2 -2
  129. package/dist/cdn/{GUL7EIJ4.js → XEK22IDA.js} +1 -1
  130. package/dist/cdn/{6AJWW3LS.js → XG3S7JQW.js} +2 -2
  131. package/dist/cdn/{7OG57VRP.js → XQSXGAPV.js} +2 -2
  132. package/dist/cdn/{56TCXNYJ.js → XVT2TWEJ.js} +2 -2
  133. package/dist/cdn/{N3TIODOB.js → XWEX2VS6.js} +2 -2
  134. package/dist/cdn/{HBRJUCJA.js → Y2QWXLND.js} +2 -2
  135. package/dist/cdn/{N2AWQ7KB.js → YCBGCWWV.js} +2 -2
  136. package/dist/cdn/YG3C4FVJ.js +2 -0
  137. package/dist/cdn/{TKPHDVSX.js → ZB5LSQCI.js} +2 -2
  138. package/dist/cdn/{MS7IKLGS.js → ZGH54UQL.js} +2 -2
  139. package/dist/cdn/{MPFQRTM2.js → ZIITPBDA.js} +2 -2
  140. package/dist/cdn/{NSOQN5L7.js → ZJCPZ5ZN.js} +2 -2
  141. package/dist/cdn/{AFPDVDE4.js → ZLV7T4YS.js} +2 -2
  142. package/dist/cdn/{KQXINZTZ.js → ZQZRAXQ5.js} +2 -2
  143. package/dist/cdn/{IRADQYMM.js → ZRGZPKPU.js} +2 -2
  144. package/dist/cdn/{TIIYEBB2.js → ZUCC43DN.js} +1 -1
  145. package/dist/cdn/index.js +2 -2
  146. package/dist/chunks/ArcadeDebuggerPreviewTabsState.js +1 -1
  147. package/dist/chunks/arcade-defaults.js +1 -1
  148. package/dist/chunks/arcade-executor.js +1 -1
  149. package/dist/chunks/arcade-mode.js +1 -1
  150. package/dist/chunks/arcade-service-accessors.js +1 -1
  151. package/dist/chunks/bigquery.js +1 -1
  152. package/dist/chunks/colorize.js +1 -1
  153. package/dist/chunks/debugger-value-components.js +1 -1
  154. package/dist/chunks/debugger-value-styles.js +1 -1
  155. package/dist/chunks/fields.js +1 -1
  156. package/dist/chunks/functional.js +1 -1
  157. package/dist/chunks/language-defaults-base.js +1 -1
  158. package/dist/chunks/markdown.js +1 -1
  159. package/dist/chunks/monaco-importer.js +1 -1
  160. package/dist/chunks/monaco-theme.js +1 -1
  161. package/dist/chunks/oracle.js +1 -1
  162. package/dist/chunks/postgres.js +1 -1
  163. package/dist/chunks/runtime.js +2 -2
  164. package/dist/chunks/setup-monaco-theme.js +1 -1
  165. package/dist/chunks/sql-expr-defaults.js +1 -1
  166. package/dist/chunks/sql-expr-mode.js +1 -1
  167. package/dist/chunks/sql-expr-service-accessors.js +1 -1
  168. package/dist/chunks/sql-layer-defaults.js +1 -1
  169. package/dist/chunks/sql-layer-mode.js +1 -1
  170. package/dist/chunks/sqlServer.js +1 -1
  171. package/dist/chunks/useT9n.js +1 -1
  172. package/dist/chunks/utilities.js +1 -1
  173. package/dist/chunks/utils.js +1 -1
  174. package/dist/chunks/utils2.js +1 -1
  175. package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
  176. package/dist/components/arcgis-arcade-debugger-console/customElement.js +1 -1
  177. package/dist/components/arcgis-arcade-debugger-output/customElement.js +1 -1
  178. package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
  179. package/dist/components/arcgis-arcade-results/customElement.js +1 -1
  180. package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
  181. package/dist/components/arcgis-code-editor/customElement.js +1 -1
  182. package/dist/components/arcgis-code-editor-shell/customElement.js +1 -1
  183. package/dist/components/arcgis-code-viewer/customElement.js +1 -1
  184. package/dist/components/arcgis-editor-variables/customElement.js +1 -1
  185. package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
  186. package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
  187. package/dist/components/arcgis-sql-layer-editor/customElement.js +1 -1
  188. package/dist/docs/api.json +1 -1
  189. package/dist/docs/docs.json +1 -1
  190. package/dist/docs/web-types.json +1 -1
  191. package/dist/index.js +1 -1
  192. package/dist/loader.js +1 -1
  193. package/package.json +7 -7
  194. package/dist/cdn/2G4FXGUW.js +0 -2
  195. package/dist/cdn/2MUU37FH.js +0 -2
  196. package/dist/cdn/S5M6I2QL.js +0 -2
  197. package/dist/cdn/T3ZUZZY2.js +0 -2
  198. package/dist/cdn/W52HXAM3.js +0 -2
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as b}from"./SVYY36W2.js";import{Cl as _,Dl as T,Hl as o,vl as v}from"./P3M7MP34.js";var Se=Object.defineProperty,Re=(e,t,i)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,l=(e,t,i)=>Re(e,typeof t!="symbol"?t+"":t,i),M,Y,F,I,P;function Le(e){return e.method!==void 0}var Z;(function(e){function t(i){return i}e.create=t})(Z||(Z={}));var x;(function(e){e.parseError=-32700,e.invalidRequest=-32600,e.methodNotFound=-32601,e.invalidParams=-32602,e.internalError=-32603;function t(c){return-32099<=c&&c<=-32e3}e.isServerError=t;function i(c){if(!t(c))throw new Error("Invalid range for a server error.");return c}e.serverError=i,e.unexpectedServerError=-32e3;function n(c){return!0}e.isApplicationError=n;function s(c){return c}e.applicationError=s,e.genericApplicationError=-320100})(x||(x={}));var se=class{constructor(){l(this,"listeners",new Set),l(this,"event",e=>(this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}))}fire(e){this.listeners.forEach(t=>t(e))}},Te=class{constructor(e){l(this,"_value"),l(this,"eventEmitter"),this._value=e,this.eventEmitter=new se}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.eventEmitter.fire(e))}get onChange(){return this.eventEmitter.event}};function Me(e,t){let i=setTimeout(t,e);return{dispose:()=>clearTimeout(i)}}function A(e,t,i){return e instanceof Set?(e.add(t),{dispose:()=>e.delete(t)}):(e.set(t,i),{dispose:()=>e.delete(t)})}var Fe=class{constructor(){l(this,"_state","none"),l(this,"promise"),l(this,"resolve",()=>{}),l(this,"reject",()=>{}),this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}get state(){return this._state}},Fr=(M=class{constructor(){l(this,"_unprocessedMessages",[]),l(this,"_messageListener"),l(this,"id",M.id++),l(this,"_state",new Te({state:"open"})),l(this,"state",this._state)}setListener(e){if(this._messageListener=e,!!e)for(;this._unprocessedMessages.length>0&&this._messageListener!==void 0;){let t=this._unprocessedMessages.shift();this._messageListener(t)}}send(e){return this._sendImpl(e)}_dispatchReceivedMessage(e){this._unprocessedMessages.length===0&&this._messageListener?this._messageListener(e):this._unprocessedMessages.push(e)}_onConnectionClosed(){this._state.value={state:"closed",error:void 0}}log(e){return new Pe(this,e??new Ee)}},l(M,"id",0),M),Pe=class{constructor(e,t){l(this,"baseStream"),l(this,"logger"),this.baseStream=e,this.logger=t}get state(){return this.baseStream.state}setListener(e){if(e===void 0){this.baseStream.setListener(void 0);return}this.baseStream.setListener(t=>{this.logger.log(this.baseStream,"incoming",t),e(t)})}send(e){return this.logger.log(this.baseStream,"outgoing",e),this.baseStream.send(e)}toString(){return`StreamLogger/${this.baseStream.toString()}`}},Ee=class{log(e,t,i){console.log(`${t==="incoming"?"<-":"->"} [${e.toString()}] ${JSON.stringify(i)}`)}},He=class ae{constructor(t){l(this,"connect"),this.connect=t}mapContext(t){return new ae(i=>this.connect(i?Ie(i,t):void 0))}};function Ie(e,t){return{handleNotification:(i,n)=>e.handleNotification(i,t(n)),handleRequest:(i,n,s)=>e.handleRequest(i,n,t(s))}}var Ae=class ce{constructor(t,i,n){l(this,"_stream"),l(this,"_listener"),l(this,"_logger"),l(this,"_unprocessedResponses",new Map),l(this,"_lastUsedRequestId",0),this._stream=t,this._listener=i,this._logger=n,this._stream.setListener(s=>{Le(s)?s.id===void 0?this._processNotification(s):this._processRequest(s):this._processResponse(s)})}static createChannel(t,i){let n=!1;return new He(s=>{if(n)throw new Error(`A channel to the stream ${t} was already constructed!`);return n=!0,new ce(t,s,i)})}get state(){return this._stream.state}async _processNotification(t){if(t.id!==void 0)throw new Error;if(!this._listener){this._logger&&this._logger.debug({text:"Notification ignored",message:t});return}try{await this._listener.handleNotification({method:t.method,params:t.params||null})}catch(i){this._logger&&this._logger.warn({text:`Exception was thrown while handling notification: ${i}`,exception:i,message:t})}}async _processRequest(t){if(t.id===void 0)throw new Error;let i;if(this._listener)try{i=await this._listener.handleRequest({method:t.method,params:t.params||null},t.id)}catch(s){this._logger&&this._logger.warn({text:`Exception was thrown while handling request: ${s}`,message:t,exception:s}),i={error:{code:x.internalError,message:"An unexpected exception was thrown.",data:void 0}}}else this._logger&&this._logger.debug({text:"Received request even though not listening for requests",message:t}),i={error:{code:x.methodNotFound,message:"This endpoint does not listen for requests or notifications.",data:void 0}};let n;"result"in i?n={jsonrpc:"2.0",id:t.id,result:i.result}:n={jsonrpc:"2.0",id:t.id,error:i.error},await this._stream.send(n)}_processResponse(t){let i=""+t.id,n=this._unprocessedResponses.get(i);if(!n){this._logger&&this._logger.debug({text:"Got an unexpected response message",message:t});return}this._unprocessedResponses.delete(i),n(t)}_newRequestId(){return this._lastUsedRequestId++}sendRequest(t,i,n){let s={jsonrpc:"2.0",id:this._newRequestId(),method:t.method,params:t.params||void 0};return n&&n(s.id),new Promise((c,u)=>{let p=""+s.id;this._unprocessedResponses.set(p,m=>{"result"in m?c({result:m.result}):(m.error||u(new Error("Response had neither 'result' nor 'error' field set.")),c({error:m.error}))}),this._stream.send(s).then(void 0,m=>{this._unprocessedResponses.delete(p),u(m)})})}sendNotification(t,i){let n={jsonrpc:"2.0",id:void 0,method:t.method,params:t.params||void 0};return this._stream.send(n)}toString(){return"StreamChannel/"+this._stream.toString()}},k;(function(e){function t(){return{deserializeFromJson:s=>({hasErrors:!1,value:s}),serializeToJson:s=>s}}e.sAny=t;function i(){return{deserializeFromJson:s=>({hasErrors:!1,value:{}}),serializeToJson:s=>({})}}e.sEmptyObject=i;function n(){return{deserializeFromJson:s=>({hasErrors:!1,value:void 0}),serializeToJson:s=>null}}e.sVoidFromNull=n})(k||(k={}));var le=Symbol("OptionalMethodNotFound"),de=class{contextualize(e){return new Oe(this,e)}},Oe=class extends de{constructor(e,t){super(),l(this,"underylingTypedChannel"),l(this,"converters"),this.underylingTypedChannel=e,this.converters=t}async request(e,t,i){let n=await this.converters.getSendContext(i);return this.underylingTypedChannel.request(e,t,n)}async notify(e,t,i){let n=await this.converters.getSendContext(i);return this.underylingTypedChannel.notify(e,t,n)}registerNotificationHandler(e,t){return this.underylingTypedChannel.registerNotificationHandler(e,async(i,n)=>await t(i,await this.converters.getNewContext(n)))}registerRequestHandler(e,t){return this.underylingTypedChannel.registerRequestHandler(e,async(i,n,s)=>await t(i,n,await this.converters.getNewContext(s)))}},K=class ue extends de{constructor(t,i={}){super(),l(this,"channelCtor"),l(this,"_requestSender"),l(this,"_handler",new Map),l(this,"_unknownNotificationHandler",new Set),l(this,"_timeout"),l(this,"sendExceptionDetails",!1),l(this,"_logger"),l(this,"listeningDeferred",new Fe),l(this,"onListening",this.listeningDeferred.promise),l(this,"_requestDidErrorEventEmitter",new se),l(this,"onRequestDidError",this._requestDidErrorEventEmitter.event),this.channelCtor=t,this._logger=i.logger,this.sendExceptionDetails=!!i.sendExceptionDetails,this._timeout=Me(1e3,()=>{this._requestSender||console.warn(`"${this.startListen.name}" has not been called within 1 second after construction of this channel. Did you forget to call it?`,this)})}static fromTransport(t,i={}){return new ue(Ae.createChannel(t,i.logger),i)}startListen(){if(this._requestSender)throw new Error(`"${this.startListen.name}" can be called only once, but it already has been called.`);this._timeout&&(this._timeout.dispose(),this._timeout=void 0),this._requestSender=this.channelCtor.connect({handleRequest:(t,i,n)=>this.handleRequest(t,i,n),handleNotification:(t,i)=>this.handleNotification(t,i)}),this.listeningDeferred.resolve()}checkChannel(t){if(!t)throw new Error(`"${this.startListen.name}" must be called before any messages can be sent or received.`);return!0}async handleRequest(t,i,n){let s=this._handler.get(t.method);if(!s)return this._logger&&this._logger.debug({text:`No request handler for "${t.method}".`,data:{requestObject:t}}),{error:{code:x.methodNotFound,message:`No request handler for "${t.method}".`,data:{method:t.method}}};if(s.kind!="request"){let u=`"${t.method}" is registered as notification, but was sent as request.`;return this._logger&&this._logger.debug({text:u,data:{requestObject:t}}),{error:{code:x.invalidRequest,message:u,data:{method:t.method}}}}let c=s.requestType.paramsSerializer.deserializeFromJson(t.params);if(c.hasErrors){let u=`Got invalid params: ${c.errorMessage}`;return this._logger&&this._logger.debug({text:u,data:{requestObject:t,errorMessage:c.errorMessage}}),{error:{code:x.invalidParams,message:u,data:{errors:c.errorMessage}}}}else{let u=c.value,p;try{let m=await s.handler(u,i,n);if("error"in m||"errorMessage"in m){let D=m.error?s.requestType.errorSerializer.serializeToJson(m.error):void 0;p={error:{code:m.errorCode||x.genericApplicationError,message:m.errorMessage||"An error was returned",data:D}}}else p={result:s.requestType.resultSerializer.serializeToJson(m.ok)}}catch(m){m instanceof ee?p={error:{code:m.code,message:m.message}}:(this._logger&&this._logger.warn({text:`An exception was thrown while handling a request: ${m}.`,exception:m,data:{requestObject:t}}),p={error:{code:x.unexpectedServerError,message:this.sendExceptionDetails?`An exception was thrown while handling a request: ${m}.`:"Server has thrown an unexpected exception"}})}return p}}async handleNotification(t,i){let n=this._handler.get(t.method);if(!n){for(let u of this._unknownNotificationHandler)u(t);this._unknownNotificationHandler.size===0&&this._logger&&this._logger.debug({text:`Unhandled notification "${t.method}"`,data:{requestObject:t}});return}if(n.kind!="notification"){this._logger&&this._logger.debug({text:`"${t.method}" is registered as request, but was sent as notification.`,data:{requestObject:t}});return}let s=n.notificationType.paramsSerializer.deserializeFromJson(t.params);if(s.hasErrors){this._logger&&this._logger.debug({text:`Got invalid params: ${s}`,data:{requestObject:t,errorMessage:s.errorMessage}});return}let c=s.value;for(let u of n.handlers)try{u(c,i)}catch(p){this._logger&&this._logger.warn({text:`An exception was thrown while handling a notification: ${p}.`,exception:p,data:{requestObject:t}})}}registerUnknownNotificationHandler(t){return A(this._unknownNotificationHandler,t)}registerRequestHandler(t,i){if(this._handler.get(t.method))throw new Error(`Handler with method "${t.method}" already registered.`);return A(this._handler,t.method,{kind:"request",requestType:t,handler:i})}registerNotificationHandler(t,i){let n=this._handler.get(t.method);if(!n)n={kind:"notification",notificationType:t,handlers:new Set},this._handler.set(t.method,n);else{if(n.kind!=="notification")throw new Error(`Method "${t.method}" was already registered as request handler.`);if(n.notificationType!==t)throw new Error(`Method "${t.method}" was registered for a different type.`)}return A(n.handlers,i)}getRegisteredTypes(){let t=[];for(let i of this._handler.values())i.kind==="notification"?t.push(i.notificationType):i.kind==="request"&&t.push(i.requestType);return t}async request(t,i,n){if(!this.checkChannel(this._requestSender))throw new Error("Impossible");let s=t.paramsSerializer.serializeToJson(i);$(s);let c=await this._requestSender.sendRequest({method:t.method,params:s},n);if("error"in c){if(t.isOptional&&c.error.code===x.methodNotFound)return le;let u;if(c.error.data!==void 0){let m=t.errorSerializer.deserializeFromJson(c.error.data);if(m.hasErrors)throw new Error(m.errorMessage);u=m.value}else u=void 0;let p=new ee(c.error.message,u,c.error.code);throw this._requestDidErrorEventEmitter.fire({error:p}),p}else{let u=t.resultSerializer.deserializeFromJson(c.result);if(u.hasErrors)throw new Error("Could not deserialize response: "+u.errorMessage+`
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as b}from"./3G26WBEK.js";import{Cl as _,Dl as T,Hl as o,vl as v}from"./XCISKBJD.js";var Se=Object.defineProperty,Re=(e,t,i)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,l=(e,t,i)=>Re(e,typeof t!="symbol"?t+"":t,i),M,Y,F,I,P;function Le(e){return e.method!==void 0}var Z;(function(e){function t(i){return i}e.create=t})(Z||(Z={}));var x;(function(e){e.parseError=-32700,e.invalidRequest=-32600,e.methodNotFound=-32601,e.invalidParams=-32602,e.internalError=-32603;function t(c){return-32099<=c&&c<=-32e3}e.isServerError=t;function i(c){if(!t(c))throw new Error("Invalid range for a server error.");return c}e.serverError=i,e.unexpectedServerError=-32e3;function n(c){return!0}e.isApplicationError=n;function s(c){return c}e.applicationError=s,e.genericApplicationError=-320100})(x||(x={}));var se=class{constructor(){l(this,"listeners",new Set),l(this,"event",e=>(this.listeners.add(e),{dispose:()=>{this.listeners.delete(e)}}))}fire(e){this.listeners.forEach(t=>t(e))}},Te=class{constructor(e){l(this,"_value"),l(this,"eventEmitter"),this._value=e,this.eventEmitter=new se}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.eventEmitter.fire(e))}get onChange(){return this.eventEmitter.event}};function Me(e,t){let i=setTimeout(t,e);return{dispose:()=>clearTimeout(i)}}function A(e,t,i){return e instanceof Set?(e.add(t),{dispose:()=>e.delete(t)}):(e.set(t,i),{dispose:()=>e.delete(t)})}var Fe=class{constructor(){l(this,"_state","none"),l(this,"promise"),l(this,"resolve",()=>{}),l(this,"reject",()=>{}),this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}get state(){return this._state}},Fr=(M=class{constructor(){l(this,"_unprocessedMessages",[]),l(this,"_messageListener"),l(this,"id",M.id++),l(this,"_state",new Te({state:"open"})),l(this,"state",this._state)}setListener(e){if(this._messageListener=e,!!e)for(;this._unprocessedMessages.length>0&&this._messageListener!==void 0;){let t=this._unprocessedMessages.shift();this._messageListener(t)}}send(e){return this._sendImpl(e)}_dispatchReceivedMessage(e){this._unprocessedMessages.length===0&&this._messageListener?this._messageListener(e):this._unprocessedMessages.push(e)}_onConnectionClosed(){this._state.value={state:"closed",error:void 0}}log(e){return new Pe(this,e??new Ee)}},l(M,"id",0),M),Pe=class{constructor(e,t){l(this,"baseStream"),l(this,"logger"),this.baseStream=e,this.logger=t}get state(){return this.baseStream.state}setListener(e){if(e===void 0){this.baseStream.setListener(void 0);return}this.baseStream.setListener(t=>{this.logger.log(this.baseStream,"incoming",t),e(t)})}send(e){return this.logger.log(this.baseStream,"outgoing",e),this.baseStream.send(e)}toString(){return`StreamLogger/${this.baseStream.toString()}`}},Ee=class{log(e,t,i){console.log(`${t==="incoming"?"<-":"->"} [${e.toString()}] ${JSON.stringify(i)}`)}},He=class ae{constructor(t){l(this,"connect"),this.connect=t}mapContext(t){return new ae(i=>this.connect(i?Ie(i,t):void 0))}};function Ie(e,t){return{handleNotification:(i,n)=>e.handleNotification(i,t(n)),handleRequest:(i,n,s)=>e.handleRequest(i,n,t(s))}}var Ae=class ce{constructor(t,i,n){l(this,"_stream"),l(this,"_listener"),l(this,"_logger"),l(this,"_unprocessedResponses",new Map),l(this,"_lastUsedRequestId",0),this._stream=t,this._listener=i,this._logger=n,this._stream.setListener(s=>{Le(s)?s.id===void 0?this._processNotification(s):this._processRequest(s):this._processResponse(s)})}static createChannel(t,i){let n=!1;return new He(s=>{if(n)throw new Error(`A channel to the stream ${t} was already constructed!`);return n=!0,new ce(t,s,i)})}get state(){return this._stream.state}async _processNotification(t){if(t.id!==void 0)throw new Error;if(!this._listener){this._logger&&this._logger.debug({text:"Notification ignored",message:t});return}try{await this._listener.handleNotification({method:t.method,params:t.params||null})}catch(i){this._logger&&this._logger.warn({text:`Exception was thrown while handling notification: ${i}`,exception:i,message:t})}}async _processRequest(t){if(t.id===void 0)throw new Error;let i;if(this._listener)try{i=await this._listener.handleRequest({method:t.method,params:t.params||null},t.id)}catch(s){this._logger&&this._logger.warn({text:`Exception was thrown while handling request: ${s}`,message:t,exception:s}),i={error:{code:x.internalError,message:"An unexpected exception was thrown.",data:void 0}}}else this._logger&&this._logger.debug({text:"Received request even though not listening for requests",message:t}),i={error:{code:x.methodNotFound,message:"This endpoint does not listen for requests or notifications.",data:void 0}};let n;"result"in i?n={jsonrpc:"2.0",id:t.id,result:i.result}:n={jsonrpc:"2.0",id:t.id,error:i.error},await this._stream.send(n)}_processResponse(t){let i=""+t.id,n=this._unprocessedResponses.get(i);if(!n){this._logger&&this._logger.debug({text:"Got an unexpected response message",message:t});return}this._unprocessedResponses.delete(i),n(t)}_newRequestId(){return this._lastUsedRequestId++}sendRequest(t,i,n){let s={jsonrpc:"2.0",id:this._newRequestId(),method:t.method,params:t.params||void 0};return n&&n(s.id),new Promise((c,u)=>{let p=""+s.id;this._unprocessedResponses.set(p,m=>{"result"in m?c({result:m.result}):(m.error||u(new Error("Response had neither 'result' nor 'error' field set.")),c({error:m.error}))}),this._stream.send(s).then(void 0,m=>{this._unprocessedResponses.delete(p),u(m)})})}sendNotification(t,i){let n={jsonrpc:"2.0",id:void 0,method:t.method,params:t.params||void 0};return this._stream.send(n)}toString(){return"StreamChannel/"+this._stream.toString()}},k;(function(e){function t(){return{deserializeFromJson:s=>({hasErrors:!1,value:s}),serializeToJson:s=>s}}e.sAny=t;function i(){return{deserializeFromJson:s=>({hasErrors:!1,value:{}}),serializeToJson:s=>({})}}e.sEmptyObject=i;function n(){return{deserializeFromJson:s=>({hasErrors:!1,value:void 0}),serializeToJson:s=>null}}e.sVoidFromNull=n})(k||(k={}));var le=Symbol("OptionalMethodNotFound"),de=class{contextualize(e){return new Oe(this,e)}},Oe=class extends de{constructor(e,t){super(),l(this,"underylingTypedChannel"),l(this,"converters"),this.underylingTypedChannel=e,this.converters=t}async request(e,t,i){let n=await this.converters.getSendContext(i);return this.underylingTypedChannel.request(e,t,n)}async notify(e,t,i){let n=await this.converters.getSendContext(i);return this.underylingTypedChannel.notify(e,t,n)}registerNotificationHandler(e,t){return this.underylingTypedChannel.registerNotificationHandler(e,async(i,n)=>await t(i,await this.converters.getNewContext(n)))}registerRequestHandler(e,t){return this.underylingTypedChannel.registerRequestHandler(e,async(i,n,s)=>await t(i,n,await this.converters.getNewContext(s)))}},K=class ue extends de{constructor(t,i={}){super(),l(this,"channelCtor"),l(this,"_requestSender"),l(this,"_handler",new Map),l(this,"_unknownNotificationHandler",new Set),l(this,"_timeout"),l(this,"sendExceptionDetails",!1),l(this,"_logger"),l(this,"listeningDeferred",new Fe),l(this,"onListening",this.listeningDeferred.promise),l(this,"_requestDidErrorEventEmitter",new se),l(this,"onRequestDidError",this._requestDidErrorEventEmitter.event),this.channelCtor=t,this._logger=i.logger,this.sendExceptionDetails=!!i.sendExceptionDetails,this._timeout=Me(1e3,()=>{this._requestSender||console.warn(`"${this.startListen.name}" has not been called within 1 second after construction of this channel. Did you forget to call it?`,this)})}static fromTransport(t,i={}){return new ue(Ae.createChannel(t,i.logger),i)}startListen(){if(this._requestSender)throw new Error(`"${this.startListen.name}" can be called only once, but it already has been called.`);this._timeout&&(this._timeout.dispose(),this._timeout=void 0),this._requestSender=this.channelCtor.connect({handleRequest:(t,i,n)=>this.handleRequest(t,i,n),handleNotification:(t,i)=>this.handleNotification(t,i)}),this.listeningDeferred.resolve()}checkChannel(t){if(!t)throw new Error(`"${this.startListen.name}" must be called before any messages can be sent or received.`);return!0}async handleRequest(t,i,n){let s=this._handler.get(t.method);if(!s)return this._logger&&this._logger.debug({text:`No request handler for "${t.method}".`,data:{requestObject:t}}),{error:{code:x.methodNotFound,message:`No request handler for "${t.method}".`,data:{method:t.method}}};if(s.kind!="request"){let u=`"${t.method}" is registered as notification, but was sent as request.`;return this._logger&&this._logger.debug({text:u,data:{requestObject:t}}),{error:{code:x.invalidRequest,message:u,data:{method:t.method}}}}let c=s.requestType.paramsSerializer.deserializeFromJson(t.params);if(c.hasErrors){let u=`Got invalid params: ${c.errorMessage}`;return this._logger&&this._logger.debug({text:u,data:{requestObject:t,errorMessage:c.errorMessage}}),{error:{code:x.invalidParams,message:u,data:{errors:c.errorMessage}}}}else{let u=c.value,p;try{let m=await s.handler(u,i,n);if("error"in m||"errorMessage"in m){let D=m.error?s.requestType.errorSerializer.serializeToJson(m.error):void 0;p={error:{code:m.errorCode||x.genericApplicationError,message:m.errorMessage||"An error was returned",data:D}}}else p={result:s.requestType.resultSerializer.serializeToJson(m.ok)}}catch(m){m instanceof ee?p={error:{code:m.code,message:m.message}}:(this._logger&&this._logger.warn({text:`An exception was thrown while handling a request: ${m}.`,exception:m,data:{requestObject:t}}),p={error:{code:x.unexpectedServerError,message:this.sendExceptionDetails?`An exception was thrown while handling a request: ${m}.`:"Server has thrown an unexpected exception"}})}return p}}async handleNotification(t,i){let n=this._handler.get(t.method);if(!n){for(let u of this._unknownNotificationHandler)u(t);this._unknownNotificationHandler.size===0&&this._logger&&this._logger.debug({text:`Unhandled notification "${t.method}"`,data:{requestObject:t}});return}if(n.kind!="notification"){this._logger&&this._logger.debug({text:`"${t.method}" is registered as request, but was sent as notification.`,data:{requestObject:t}});return}let s=n.notificationType.paramsSerializer.deserializeFromJson(t.params);if(s.hasErrors){this._logger&&this._logger.debug({text:`Got invalid params: ${s}`,data:{requestObject:t,errorMessage:s.errorMessage}});return}let c=s.value;for(let u of n.handlers)try{u(c,i)}catch(p){this._logger&&this._logger.warn({text:`An exception was thrown while handling a notification: ${p}.`,exception:p,data:{requestObject:t}})}}registerUnknownNotificationHandler(t){return A(this._unknownNotificationHandler,t)}registerRequestHandler(t,i){if(this._handler.get(t.method))throw new Error(`Handler with method "${t.method}" already registered.`);return A(this._handler,t.method,{kind:"request",requestType:t,handler:i})}registerNotificationHandler(t,i){let n=this._handler.get(t.method);if(!n)n={kind:"notification",notificationType:t,handlers:new Set},this._handler.set(t.method,n);else{if(n.kind!=="notification")throw new Error(`Method "${t.method}" was already registered as request handler.`);if(n.notificationType!==t)throw new Error(`Method "${t.method}" was registered for a different type.`)}return A(n.handlers,i)}getRegisteredTypes(){let t=[];for(let i of this._handler.values())i.kind==="notification"?t.push(i.notificationType):i.kind==="request"&&t.push(i.requestType);return t}async request(t,i,n){if(!this.checkChannel(this._requestSender))throw new Error("Impossible");let s=t.paramsSerializer.serializeToJson(i);$(s);let c=await this._requestSender.sendRequest({method:t.method,params:s},n);if("error"in c){if(t.isOptional&&c.error.code===x.methodNotFound)return le;let u;if(c.error.data!==void 0){let m=t.errorSerializer.deserializeFromJson(c.error.data);if(m.hasErrors)throw new Error(m.errorMessage);u=m.value}else u=void 0;let p=new ee(c.error.message,u,c.error.code);throw this._requestDidErrorEventEmitter.fire({error:p}),p}else{let u=t.resultSerializer.deserializeFromJson(c.result);if(u.hasErrors)throw new Error("Could not deserialize response: "+u.errorMessage+`
3
3
 
4
- ${JSON.stringify(c,null,2)}`);return u.value}}async notify(t,i,n){if(!this.checkChannel(this._requestSender))throw new Error;let s=t.paramsSerializer.serializeToJson(i);$(s),this._requestSender.sendNotification({method:t.method,params:s},n)}};function $(e){if(e!==null&&Array.isArray(e)&&typeof e!="object")throw new Error("Invalid value! Only null, array and object is allowed.")}var ee=class me extends Error{constructor(t,i,n=x.genericApplicationError){super(t),l(this,"data"),l(this,"code"),this.data=i,this.code=n,Object.setPrototypeOf(this,me.prototype)}},qe=class N{constructor(t,i,n,s,c=!1){l(this,"method"),l(this,"paramsSerializer"),l(this,"resultSerializer"),l(this,"errorSerializer"),l(this,"isOptional"),l(this,"kind","request"),this.method=t,this.paramsSerializer=i,this.resultSerializer=n,this.errorSerializer=s,this.isOptional=c}withMethod(t){return new N(t,this.paramsSerializer,this.resultSerializer,this.errorSerializer)}optional(){return new N(this.method,this.paramsSerializer,this.resultSerializer,this.errorSerializer,!0)}},je=class pe{constructor(t,i){l(this,"method"),l(this,"paramsSerializer"),l(this,"kind","notification"),this.method=t,this.paramsSerializer=i}withMethod(t){return new pe(t,this.paramsSerializer)}};function a(e){return new qe((e||{}).method,k.sAny(),k.sAny(),k.sAny())}function g(e){return new je((e||{}).method,k.sAny())}var ze=Symbol(),te=(Y=ze,F=class{constructor(e){l(this,"error"),l(this,Y),this.error=e}},l(F,"factory",e=>new F(e)),F);function Ne(e){let t=re(e.server),i=re(e.client);return new Be(e.tags||[],t,i)}function re(e){let t={};for(let[i,n]of Object.entries(e)){let s=n.method?n.method:i;t[i]=n.withMethod(s)}return t}var Be=class ge{constructor(t=[],i,n){l(this,"tags"),l(this,"server"),l(this,"client"),this.tags=t,this.server=i,this.client=n}_onlyDesignTime(){return new Error("This property is not meant to be accessed at runtime")}get TContractObject(){throw this._onlyDesignTime()}get TClientInterface(){throw this._onlyDesignTime()}get TServerInterface(){throw this._onlyDesignTime()}get TClientHandler(){throw this._onlyDesignTime()}get TServerHandler(){throw this._onlyDesignTime()}get TTags(){throw this._onlyDesignTime()}getInterface(t,i,n,s){let c=this.buildCounterpart(t,n),u=this.registerHandlers(t,i,s,c);return{counterpart:c,dispose:()=>u.dispose()}}buildCounterpart(t,i){let n={};for(let[s,c]of Object.entries(i)){let u;c.kind==="request"?c.isOptional?u=async(p,m)=>{p===void 0&&(p={});try{return await t.request(c,p,m)}catch(D){if(D&&D.code===x.methodNotFound)return le;throw D}}:u=(p,m)=>(p===void 0&&(p={}),t.request(c,p,m)):u=(p,m)=>(p===void 0&&(p={}),t.notify(c,p,m)),n[s]=u}return n}registerHandlers(t,i,n,s){let c=[];for(let[u,p]of Object.entries(i))if(p.kind==="request"){let m=n[u];if(!m)continue;let D=this.createRequestHandler(s,m);c.push(t.registerRequestHandler(p,D))}else{let m=n[u];m&&c.push(t.registerNotificationHandler(p,(D,ve)=>{m(D,{context:ve,counterpart:s})}))}return{dispose:()=>c.forEach(u=>u.dispose())}}createRequestHandler(t,i){return async(n,s,c)=>{let u=await i(n,{context:c,counterpart:t,newErr:te.factory,requestId:s});return u instanceof te?u.error:{ok:u}}}static getServerFromStream(t,i,n,s){let c=K.fromTransport(i,n),{server:u}=t.getServer(c,s);return c.startListen(),{channel:c,server:u}}static registerServerToStream(t,i,n,s){let c=K.fromTransport(i,n),{client:u}=t.registerServer(c,s);return c.startListen(),{channel:c,client:u}}getServer(t,i){let{counterpart:n,dispose:s}=this.getInterface(t,this.client,this.server,i);return{server:n,dispose:s}}registerServer(t,i){let{counterpart:n,dispose:s}=this.getInterface(t,this.server,this.client,i);return{client:n,dispose:s}}withContext(){return new ge(this.tags,this.server,this.client)}},O=(function(e){return e.Comment="comment",e.Imports="imports",e.Region="region",e})({}),h=(function(e){return e[e.File=1]="File",e[e.Module=2]="Module",e[e.Namespace=3]="Namespace",e[e.Package=4]="Package",e[e.Class=5]="Class",e[e.Method=6]="Method",e[e.Property=7]="Property",e[e.Field=8]="Field",e[e.Constructor=9]="Constructor",e[e.Enum=10]="Enum",e[e.Interface=11]="Interface",e[e.Function=12]="Function",e[e.Variable=13]="Variable",e[e.Constant=14]="Constant",e[e.String=15]="String",e[e.Number=16]="Number",e[e.Boolean=17]="Boolean",e[e.Array=18]="Array",e[e.Object=19]="Object",e[e.Key=20]="Key",e[e.Null=21]="Null",e[e.EnumMember=22]="EnumMember",e[e.Struct=23]="Struct",e[e.Event=24]="Event",e[e.Operator=25]="Operator",e[e.TypeParameter=26]="TypeParameter",e})({}),We=(function(e){return e[e.Deprecated=1]="Deprecated",e})({}),ie=(function(e){return e[e.Type=1]="Type",e[e.Parameter=2]="Parameter",e})({});var f=(function(e){return e[e.Text=1]="Text",e[e.Method=2]="Method",e[e.Function=3]="Function",e[e.Constructor=4]="Constructor",e[e.Field=5]="Field",e[e.Variable=6]="Variable",e[e.Class=7]="Class",e[e.Interface=8]="Interface",e[e.Module=9]="Module",e[e.Property=10]="Property",e[e.Unit=11]="Unit",e[e.Value=12]="Value",e[e.Enum=13]="Enum",e[e.Keyword=14]="Keyword",e[e.Snippet=15]="Snippet",e[e.Color=16]="Color",e[e.File=17]="File",e[e.Reference=18]="Reference",e[e.Folder=19]="Folder",e[e.EnumMember=20]="EnumMember",e[e.Constant=21]="Constant",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter",e})({}),Ue=(function(e){return e[e.Deprecated=1]="Deprecated",e})({}),Ve=(function(e){return e[e.PlainText=1]="PlainText",e[e.Snippet=2]="Snippet",e})({}),q=(function(e){return e[e.Text=1]="Text",e[e.Read=2]="Read",e[e.Write=3]="Write",e})({}),w=(function(e){return e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll",e})({});var y=(function(e){return e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Information=3]="Information",e[e.Hint=4]="Hint",e})({}),ne=(function(e){return e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated",e})({}),j=(function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e})({}),z=(function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange",e})({}),oe=(function(e){return e[e.Invoked=1]="Invoked",e[e.Automatic=2]="Automatic",e})({});var d=class{constructor(e){this.method=e}},Je={textDocumentImplementation:new d("textDocument/implementation"),textDocumentTypeDefinition:new d("textDocument/typeDefinition"),textDocumentDocumentColor:new d("textDocument/documentColor"),textDocumentColorPresentation:new d("textDocument/colorPresentation"),textDocumentFoldingRange:new d("textDocument/foldingRange"),textDocumentDeclaration:new d("textDocument/declaration"),textDocumentSelectionRange:new d("textDocument/selectionRange"),textDocumentPrepareCallHierarchy:new d("textDocument/prepareCallHierarchy"),textDocumentSemanticTokensFull:new d("textDocument/semanticTokens/full"),textDocumentSemanticTokensFullDelta:new d("textDocument/semanticTokens/full/delta"),textDocumentLinkedEditingRange:new d("textDocument/linkedEditingRange"),workspaceWillCreateFiles:new d("workspace/willCreateFiles"),workspaceWillRenameFiles:new d("workspace/willRenameFiles"),workspaceWillDeleteFiles:new d("workspace/willDeleteFiles"),textDocumentMoniker:new d("textDocument/moniker"),textDocumentPrepareTypeHierarchy:new d("textDocument/prepareTypeHierarchy"),textDocumentInlineValue:new d("textDocument/inlineValue"),textDocumentInlayHint:new d("textDocument/inlayHint"),textDocumentDiagnostic:new d("textDocument/diagnostic"),textDocumentInlineCompletion:new d("textDocument/inlineCompletion"),textDocumentWillSaveWaitUntil:new d("textDocument/willSaveWaitUntil"),textDocumentCompletion:new d("textDocument/completion"),textDocumentHover:new d("textDocument/hover"),textDocumentSignatureHelp:new d("textDocument/signatureHelp"),textDocumentDefinition:new d("textDocument/definition"),textDocumentReferences:new d("textDocument/references"),textDocumentDocumentHighlight:new d("textDocument/documentHighlight"),textDocumentDocumentSymbol:new d("textDocument/documentSymbol"),textDocumentCodeAction:new d("textDocument/codeAction"),workspaceSymbol:new d("workspace/symbol"),textDocumentCodeLens:new d("textDocument/codeLens"),textDocumentDocumentLink:new d("textDocument/documentLink"),textDocumentFormatting:new d("textDocument/formatting"),textDocumentRangeFormatting:new d("textDocument/rangeFormatting"),textDocumentRangesFormatting:new d("textDocument/rangesFormatting"),textDocumentOnTypeFormatting:new d("textDocument/onTypeFormatting"),textDocumentRename:new d("textDocument/rename"),workspaceExecuteCommand:new d("workspace/executeCommand"),workspaceDidCreateFiles:new d("workspace/didCreateFiles"),workspaceDidRenameFiles:new d("workspace/didRenameFiles"),workspaceDidDeleteFiles:new d("workspace/didDeleteFiles"),workspaceDidChangeConfiguration:new d("workspace/didChangeConfiguration"),textDocumentDidOpen:new d("textDocument/didOpen"),textDocumentDidChange:new d("textDocument/didChange"),textDocumentDidClose:new d("textDocument/didClose"),textDocumentDidSave:new d("textDocument/didSave"),textDocumentWillSave:new d("textDocument/willSave"),workspaceDidChangeWatchedFiles:new d("workspace/didChangeWatchedFiles")},Pr=Ne({server:{textDocumentImplementation:a({method:"textDocument/implementation"}),textDocumentTypeDefinition:a({method:"textDocument/typeDefinition"}),textDocumentDocumentColor:a({method:"textDocument/documentColor"}),textDocumentColorPresentation:a({method:"textDocument/colorPresentation"}),textDocumentFoldingRange:a({method:"textDocument/foldingRange"}),textDocumentDeclaration:a({method:"textDocument/declaration"}),textDocumentSelectionRange:a({method:"textDocument/selectionRange"}),textDocumentPrepareCallHierarchy:a({method:"textDocument/prepareCallHierarchy"}),callHierarchyIncomingCalls:a({method:"callHierarchy/incomingCalls"}),callHierarchyOutgoingCalls:a({method:"callHierarchy/outgoingCalls"}),textDocumentSemanticTokensFull:a({method:"textDocument/semanticTokens/full"}),textDocumentSemanticTokensFullDelta:a({method:"textDocument/semanticTokens/full/delta"}),textDocumentSemanticTokensRange:a({method:"textDocument/semanticTokens/range"}),textDocumentLinkedEditingRange:a({method:"textDocument/linkedEditingRange"}),workspaceWillCreateFiles:a({method:"workspace/willCreateFiles"}),workspaceWillRenameFiles:a({method:"workspace/willRenameFiles"}),workspaceWillDeleteFiles:a({method:"workspace/willDeleteFiles"}),textDocumentMoniker:a({method:"textDocument/moniker"}),textDocumentPrepareTypeHierarchy:a({method:"textDocument/prepareTypeHierarchy"}),typeHierarchySupertypes:a({method:"typeHierarchy/supertypes"}),typeHierarchySubtypes:a({method:"typeHierarchy/subtypes"}),textDocumentInlineValue:a({method:"textDocument/inlineValue"}),textDocumentInlayHint:a({method:"textDocument/inlayHint"}),inlayHintResolve:a({method:"inlayHint/resolve"}),textDocumentDiagnostic:a({method:"textDocument/diagnostic"}),workspaceDiagnostic:a({method:"workspace/diagnostic"}),textDocumentInlineCompletion:a({method:"textDocument/inlineCompletion"}),initialize:a({method:"initialize"}),shutdown:a({method:"shutdown"}),textDocumentWillSaveWaitUntil:a({method:"textDocument/willSaveWaitUntil"}),textDocumentCompletion:a({method:"textDocument/completion"}),completionItemResolve:a({method:"completionItem/resolve"}),textDocumentHover:a({method:"textDocument/hover"}),textDocumentSignatureHelp:a({method:"textDocument/signatureHelp"}),textDocumentDefinition:a({method:"textDocument/definition"}),textDocumentReferences:a({method:"textDocument/references"}),textDocumentDocumentHighlight:a({method:"textDocument/documentHighlight"}),textDocumentDocumentSymbol:a({method:"textDocument/documentSymbol"}),textDocumentCodeAction:a({method:"textDocument/codeAction"}),codeActionResolve:a({method:"codeAction/resolve"}),workspaceSymbol:a({method:"workspace/symbol"}),workspaceSymbolResolve:a({method:"workspaceSymbol/resolve"}),textDocumentCodeLens:a({method:"textDocument/codeLens"}),codeLensResolve:a({method:"codeLens/resolve"}),textDocumentDocumentLink:a({method:"textDocument/documentLink"}),documentLinkResolve:a({method:"documentLink/resolve"}),textDocumentFormatting:a({method:"textDocument/formatting"}),textDocumentRangeFormatting:a({method:"textDocument/rangeFormatting"}),textDocumentRangesFormatting:a({method:"textDocument/rangesFormatting"}),textDocumentOnTypeFormatting:a({method:"textDocument/onTypeFormatting"}),textDocumentRename:a({method:"textDocument/rename"}),textDocumentPrepareRename:a({method:"textDocument/prepareRename"}),workspaceExecuteCommand:a({method:"workspace/executeCommand"}),workspaceDidChangeWorkspaceFolders:g({method:"workspace/didChangeWorkspaceFolders"}),windowWorkDoneProgressCancel:g({method:"window/workDoneProgress/cancel"}),workspaceDidCreateFiles:g({method:"workspace/didCreateFiles"}),workspaceDidRenameFiles:g({method:"workspace/didRenameFiles"}),workspaceDidDeleteFiles:g({method:"workspace/didDeleteFiles"}),notebookDocumentDidOpen:g({method:"notebookDocument/didOpen"}),notebookDocumentDidChange:g({method:"notebookDocument/didChange"}),notebookDocumentDidSave:g({method:"notebookDocument/didSave"}),notebookDocumentDidClose:g({method:"notebookDocument/didClose"}),initialized:g({method:"initialized"}),exit:g({method:"exit"}),workspaceDidChangeConfiguration:g({method:"workspace/didChangeConfiguration"}),textDocumentDidOpen:g({method:"textDocument/didOpen"}),textDocumentDidChange:g({method:"textDocument/didChange"}),textDocumentDidClose:g({method:"textDocument/didClose"}),textDocumentDidSave:g({method:"textDocument/didSave"}),textDocumentWillSave:g({method:"textDocument/willSave"}),workspaceDidChangeWatchedFiles:g({method:"workspace/didChangeWatchedFiles"}),setTrace:g({method:"$/setTrace"}),cancelRequest:g({method:"$/cancelRequest"}),progress:g({method:"$/progress"})},client:{workspaceWorkspaceFolders:a({method:"workspace/workspaceFolders"}).optional(),workspaceConfiguration:a({method:"workspace/configuration"}).optional(),workspaceFoldingRangeRefresh:a({method:"workspace/foldingRange/refresh"}).optional(),windowWorkDoneProgressCreate:a({method:"window/workDoneProgress/create"}).optional(),workspaceSemanticTokensRefresh:a({method:"workspace/semanticTokens/refresh"}).optional(),windowShowDocument:a({method:"window/showDocument"}).optional(),workspaceInlineValueRefresh:a({method:"workspace/inlineValue/refresh"}).optional(),workspaceInlayHintRefresh:a({method:"workspace/inlayHint/refresh"}).optional(),workspaceDiagnosticRefresh:a({method:"workspace/diagnostic/refresh"}).optional(),clientRegisterCapability:a({method:"client/registerCapability"}).optional(),clientUnregisterCapability:a({method:"client/unregisterCapability"}).optional(),windowShowMessageRequest:a({method:"window/showMessageRequest"}).optional(),workspaceCodeLensRefresh:a({method:"workspace/codeLens/refresh"}).optional(),workspaceApplyEdit:a({method:"workspace/applyEdit"}).optional(),windowShowMessage:g({method:"window/showMessage"}),windowLogMessage:g({method:"window/logMessage"}),telemetryEvent:g({method:"telemetry/event"}),textDocumentPublishDiagnostics:g({method:"textDocument/publishDiagnostics"}),logTrace:g({method:"$/logTrace"}),cancelRequest:g({method:"$/cancelRequest"}),progress:g({method:"$/progress"})}});var Er=(I=class{constructor(){l(this,"_store",new Ge)}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}},l(I,"None",Object.freeze({dispose(){}})),I),Ge=(P=class{constructor(){l(this,"_toDispose",new Set),l(this,"_isDisposed",!1)}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){if(this._toDispose.size!==0)try{for(let e of this._toDispose)e.dispose()}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?P.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}},l(P,"DISABLE_DISPOSED_WARNING",!1),P),Hr=new Map([[w.Empty,""],[w.QuickFix,"quickfix"],[w.Refactor,"refactor"],[w.RefactorExtract,"refactor.extract"],[w.RefactorInline,"refactor.inline"],[w.RefactorRewrite,"refactor.rewrite"],[w.Source,"source"],[w.SourceOrganizeImports,"source.organizeImports"],[w.SourceFixAll,"source.fixAll"]]);var Ir=new Map([[o.CodeActionTriggerType.Invoke,oe.Invoked],[o.CodeActionTriggerType.Auto,oe.Automatic]]);var Ar=new Map([[f.Text,o.CompletionItemKind.Text],[f.Method,o.CompletionItemKind.Method],[f.Function,o.CompletionItemKind.Function],[f.Constructor,o.CompletionItemKind.Constructor],[f.Field,o.CompletionItemKind.Field],[f.Variable,o.CompletionItemKind.Variable],[f.Class,o.CompletionItemKind.Class],[f.Interface,o.CompletionItemKind.Interface],[f.Module,o.CompletionItemKind.Module],[f.Property,o.CompletionItemKind.Property],[f.Unit,o.CompletionItemKind.Unit],[f.Value,o.CompletionItemKind.Value],[f.Enum,o.CompletionItemKind.Enum],[f.Keyword,o.CompletionItemKind.Keyword],[f.Snippet,o.CompletionItemKind.Snippet],[f.Color,o.CompletionItemKind.Color],[f.File,o.CompletionItemKind.File],[f.Reference,o.CompletionItemKind.Reference],[f.Folder,o.CompletionItemKind.Folder],[f.EnumMember,o.CompletionItemKind.EnumMember],[f.Constant,o.CompletionItemKind.Constant],[f.Struct,o.CompletionItemKind.Struct],[f.Event,o.CompletionItemKind.Event],[f.Operator,o.CompletionItemKind.Operator],[f.TypeParameter,o.CompletionItemKind.TypeParameter]]);var Or=new Map([[Ue.Deprecated,o.CompletionItemTag.Deprecated]]);var qr=new Map([[o.CompletionTriggerKind.Invoke,j.Invoked],[o.CompletionTriggerKind.TriggerCharacter,j.TriggerCharacter],[o.CompletionTriggerKind.TriggerForIncompleteCompletions,j.TriggerForIncompleteCompletions]]);var jr=new Map([[Ve.Snippet,o.CompletionItemInsertTextRule.InsertAsSnippet]]);var zr=new Map([[h.File,o.SymbolKind.File],[h.Module,o.SymbolKind.Module],[h.Namespace,o.SymbolKind.Namespace],[h.Package,o.SymbolKind.Package],[h.Class,o.SymbolKind.Class],[h.Method,o.SymbolKind.Method],[h.Property,o.SymbolKind.Property],[h.Field,o.SymbolKind.Field],[h.Constructor,o.SymbolKind.Constructor],[h.Enum,o.SymbolKind.Enum],[h.Interface,o.SymbolKind.Interface],[h.Function,o.SymbolKind.Function],[h.Variable,o.SymbolKind.Variable],[h.Constant,o.SymbolKind.Constant],[h.String,o.SymbolKind.String],[h.Number,o.SymbolKind.Number],[h.Boolean,o.SymbolKind.Boolean],[h.Array,o.SymbolKind.Array],[h.Object,o.SymbolKind.Object],[h.Key,o.SymbolKind.Key],[h.Null,o.SymbolKind.Null],[h.EnumMember,o.SymbolKind.EnumMember],[h.Struct,o.SymbolKind.Struct],[h.Event,o.SymbolKind.Event],[h.Operator,o.SymbolKind.Operator],[h.TypeParameter,o.SymbolKind.TypeParameter]]);var Nr=new Map([[We.Deprecated,o.SymbolTag.Deprecated]]);var Br=new Map([[q.Text,o.DocumentHighlightKind.Text],[q.Read,o.DocumentHighlightKind.Read],[q.Write,o.DocumentHighlightKind.Write]]);var Wr=new Map([[O.Comment,o.FoldingRangeKind.Comment],[O.Imports,o.FoldingRangeKind.Imports],[O.Region,o.FoldingRangeKind.Region]]);var Ur=new Map([[_.Error,y.Error],[_.Warning,y.Warning],[_.Info,y.Information],[_.Hint,y.Hint]]);var Vr=new Map([[y.Error,_.Error],[y.Warning,_.Warning],[y.Information,_.Info],[y.Hint,_.Hint]]);var Jr=new Map([[ne.Unnecessary,T.Unnecessary],[ne.Deprecated,T.Deprecated]]);var Gr=new Map([[o.SignatureHelpTriggerKind.Invoke,z.Invoked],[o.SignatureHelpTriggerKind.TriggerCharacter,z.TriggerCharacter],[o.SignatureHelpTriggerKind.ContentChange,z.ContentChange]]);var Qr=new Map([[ie.Type,o.InlayHintKind.Type],[ie.Parameter,o.InlayHintKind.Parameter]]);var Xr=new Map([...Object.values(Je)].map(e=>[e.method,e]));var C=null;typeof WebSocket<"u"?C=WebSocket:typeof MozWebSocket<"u"?C=MozWebSocket:typeof global<"u"?C=global.WebSocket||global.MozWebSocket:typeof window<"u"?C=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(C=self.WebSocket||self.MozWebSocket);var he={},B={},W=class e{static getOrCreate(t){return B[t]||(B[t]=new e(t)),B[t]}constructor(t){this._languageId=t,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((i,n)=>{this._lazyLoadPromiseResolve=i,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,he[this._languageId].loader().then(t=>this._lazyLoadPromiseResolve(t),t=>this._lazyLoadPromiseReject(t))),this._lazyLoadPromise}};function r(e){let t=e.id;he[t]=e,o.register(e);let i=W.getOrCreate(t);o.registerTokensProviderFactory(t,{create:async()=>(await i.load()).language}),o.onLanguageEncountered(t,async()=>{let n=await i.load();o.setLanguageConfiguration(t,n.conf)})}r({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>import("./DUOYG2IK.js")});r({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>import("./RTUQFFHX.js")});r({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>import("./E2AFCZFQ.js")});r({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>import("./QRW7RXCV.js")});r({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>import("./TKEKWLBE.js")});r({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>import("./YQITW2XJ.js")});r({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>import("./CC73R2YO.js")});r({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>import("./G7K5HHRI.js")});r({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>import("./4SCAQXGL.js")});r({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>import("./4SCAQXGL.js")});r({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>import("./BYGBU3GB.js")});r({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>import("./RJOVUGPB.js")});r({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>import("./OVXVWXRX.js")});r({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>import("./5QFCRDPV.js")});r({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>import("./PCKE4TCN.js")});r({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>import("./VU6OVSPO.js")});r({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>import("./UVUWGKLM.js")});r({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>import("./56TCXNYJ.js")});r({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>import("./SR3TBOJY.js")});r({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>import("./NNVH66G7.js")});r({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagAutoInterpolationDollar)});r({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagAngleInterpolationDollar)});r({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagBracketInterpolationDollar)});r({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagAngleInterpolationBracket)});r({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagBracketInterpolationBracket)});r({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagAutoInterpolationDollar)});r({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>import("./MPFQRTM2.js").then(e=>e.TagAutoInterpolationBracket)});r({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>import("./4JOBVTMO.js")});r({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>import("./H2UPP7AN.js")});r({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>import("./DJSVI4SW.js")});r({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>import("./RIKAOQYV.js")});r({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>import("./VJH3R5OS.js")});r({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>import("./LY2IFALR.js")});r({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>import("./SOG262WW.js")});r({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>import("./VTV2VG4H.js")});r({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>import("./ZPFMMHAW.js")});r({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>import("./3KHLUWP6.js")});r({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>import("./C33GYZXZ.js")});r({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>import("./VQR7ACO5.js")});r({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>import("./TA4G2LVC.js")});r({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>import("./Q7GROPRX.js")});r({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>import("./UNPBOORD.js")});r({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>import("./RTWZV4XI.js")});r({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>import("./MS7IKLGS.js")});r({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>import("./W7SAG4KR.js")});r({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>import("./LT46MQ3R.js")});r({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>import("./N2AWQ7KB.js")});r({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>import("./JVG2GEOV.js")});r({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>import("./DEEKUI7Y.js")});r({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>import("./TXFIQJHJ.js")});r({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>import("./6NME5GYU.js")});r({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>import("./WFTDQL2F.js")});r({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>import("./5RKRCDUO.js")});r({id:"pla",extensions:[".pla"],loader:()=>import("./3MV7L6WD.js")});r({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>import("./55Q2G4OY.js")});r({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>import("./N3YRPFQR.js")});r({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>import("./MT3EN3JQ.js")});r({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>import("./7YGGAMMI.js")});r({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>import("./L55CAL6A.js")});r({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>import("./RRLOGYIL.js")});r({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>import("./V5J7KWVQ.js")});r({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>import("./WYBJRCXS.js")});r({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>import("./TVVA6FEQ.js")});r({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>import("./OQKFGD5F.js")});r({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>import("./HICJC3K4.js")});r({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>import("./HVCJZ7GU.js")});r({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>import("./TWKY4BKI.js")});r({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>import("./JUF3UYBF.js")});r({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>import("./L5EAXK66.js")});r({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>import("./IRADQYMM.js")});r({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>import("./NIVPC4BK.js")});r({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>import("./3LLBOQET.js")});r({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>import("./W7BJ4EJL.js")});r({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>import("./KYZIVRRE.js")});r({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>import("./375DJPSU.js")});r({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>import("./3DMULL6Y.js")});r({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>import("./FMX4KCA2.js")});r({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>import("./B5GJ5YJV.js")});r({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>import("./HZRDPUZY.js")});r({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>import("./SYNWLBAF.js")});r({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>import("./SYNWLBAF.js")});r({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>import("./WCI43GIC.js")});r({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>import("./Z42TYXEQ.js")});r({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>import("./W52HXAM3.js")});r({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>import("./OEKA3QCT.js")});r({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>import("./7OG57VRP.js")});r({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>import("./KQXINZTZ.js")});r({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>import("./Z5PSDQLD.js")});r({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>import("./TKPHDVSX.js")});var S=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(t){this._options=t||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(t){this.setOptions(t)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},U={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},V={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Xe=new S("css",U,V),Ye=new S("scss",U,V),Ze=new S("less",U,V);function J(){return import("./PBTICSC2.js")}o.onLanguage("less",()=>{J().then(e=>e.setupMode(Ze))});o.onLanguage("scss",()=>{J().then(e=>e.setupMode(Ye))});o.onLanguage("css",()=>{J().then(e=>e.setupMode(Xe))});var G=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(t){this._options=t||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},$e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},E={format:$e,suggest:{},data:{useDefaultDataProvider:!0}};function H(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===R,documentFormattingEdits:e===R,documentRangeFormattingEdits:e===R}}var R="html",fe="handlebars",xe="razor",et=Q(R,E,H(R)),zn=et.defaults,tt=Q(fe,E,H(fe)),Nn=tt.defaults,rt=Q(xe,E,H(xe)),Bn=rt.defaults;function it(){return import("./KVWBKELA.js")}function Q(e,t=E,i=H(e)){let n=new G(e,t,i),s,c=o.onLanguage(e,async()=>{s=(await it()).setupMode(n)});return{defaults:n,dispose(){c.dispose(),s?.dispose(),s=void 0}}}var X=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setDiagnosticsOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(t){this._diagnosticsOptions=t||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},ot={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},st={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},at=new X("json",ot,st);function ct(){return import("./PMVQBTIZ.js")}o.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});o.onLanguage("json",()=>{ct().then(e=>e.setupMode(at))});var _e="__monacoFindWidgetTabIndexPatchApplied",L="__monacoFindWidgetOriginalTabIndex";function De(e,t){let i=e?._domNode;if(!i)return;let n=i.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(let s of n)if(s instanceof HTMLElement)if(t){if(!(L in s.dataset))continue;let c=s.dataset[L];c===""?s.removeAttribute("tabindex"):s.tabIndex=Number(c),delete s.dataset[L]}else L in s.dataset||(s.dataset[L]=s.getAttribute("tabindex")??""),s.tabIndex=-1}if(!b[_e]){let e=b.prototype._reveal,t=b.prototype._hide;b.prototype._reveal=function(...i){e.apply(this,i),De(this,!0)},b.prototype._hide=function(...i){t.apply(this,i),De(this,!1)},b[_e]=!0}var dt=async()=>{let{editor:e}=await import("./ROTZLDIT.js");return e},we=null;async function nc(){return we??=dt(),await we}export{nc as a};
4
+ ${JSON.stringify(c,null,2)}`);return u.value}}async notify(t,i,n){if(!this.checkChannel(this._requestSender))throw new Error;let s=t.paramsSerializer.serializeToJson(i);$(s),this._requestSender.sendNotification({method:t.method,params:s},n)}};function $(e){if(e!==null&&Array.isArray(e)&&typeof e!="object")throw new Error("Invalid value! Only null, array and object is allowed.")}var ee=class me extends Error{constructor(t,i,n=x.genericApplicationError){super(t),l(this,"data"),l(this,"code"),this.data=i,this.code=n,Object.setPrototypeOf(this,me.prototype)}},qe=class N{constructor(t,i,n,s,c=!1){l(this,"method"),l(this,"paramsSerializer"),l(this,"resultSerializer"),l(this,"errorSerializer"),l(this,"isOptional"),l(this,"kind","request"),this.method=t,this.paramsSerializer=i,this.resultSerializer=n,this.errorSerializer=s,this.isOptional=c}withMethod(t){return new N(t,this.paramsSerializer,this.resultSerializer,this.errorSerializer)}optional(){return new N(this.method,this.paramsSerializer,this.resultSerializer,this.errorSerializer,!0)}},je=class pe{constructor(t,i){l(this,"method"),l(this,"paramsSerializer"),l(this,"kind","notification"),this.method=t,this.paramsSerializer=i}withMethod(t){return new pe(t,this.paramsSerializer)}};function a(e){return new qe((e||{}).method,k.sAny(),k.sAny(),k.sAny())}function g(e){return new je((e||{}).method,k.sAny())}var ze=Symbol(),te=(Y=ze,F=class{constructor(e){l(this,"error"),l(this,Y),this.error=e}},l(F,"factory",e=>new F(e)),F);function Ne(e){let t=re(e.server),i=re(e.client);return new Be(e.tags||[],t,i)}function re(e){let t={};for(let[i,n]of Object.entries(e)){let s=n.method?n.method:i;t[i]=n.withMethod(s)}return t}var Be=class ge{constructor(t=[],i,n){l(this,"tags"),l(this,"server"),l(this,"client"),this.tags=t,this.server=i,this.client=n}_onlyDesignTime(){return new Error("This property is not meant to be accessed at runtime")}get TContractObject(){throw this._onlyDesignTime()}get TClientInterface(){throw this._onlyDesignTime()}get TServerInterface(){throw this._onlyDesignTime()}get TClientHandler(){throw this._onlyDesignTime()}get TServerHandler(){throw this._onlyDesignTime()}get TTags(){throw this._onlyDesignTime()}getInterface(t,i,n,s){let c=this.buildCounterpart(t,n),u=this.registerHandlers(t,i,s,c);return{counterpart:c,dispose:()=>u.dispose()}}buildCounterpart(t,i){let n={};for(let[s,c]of Object.entries(i)){let u;c.kind==="request"?c.isOptional?u=async(p,m)=>{p===void 0&&(p={});try{return await t.request(c,p,m)}catch(D){if(D&&D.code===x.methodNotFound)return le;throw D}}:u=(p,m)=>(p===void 0&&(p={}),t.request(c,p,m)):u=(p,m)=>(p===void 0&&(p={}),t.notify(c,p,m)),n[s]=u}return n}registerHandlers(t,i,n,s){let c=[];for(let[u,p]of Object.entries(i))if(p.kind==="request"){let m=n[u];if(!m)continue;let D=this.createRequestHandler(s,m);c.push(t.registerRequestHandler(p,D))}else{let m=n[u];m&&c.push(t.registerNotificationHandler(p,(D,ve)=>{m(D,{context:ve,counterpart:s})}))}return{dispose:()=>c.forEach(u=>u.dispose())}}createRequestHandler(t,i){return async(n,s,c)=>{let u=await i(n,{context:c,counterpart:t,newErr:te.factory,requestId:s});return u instanceof te?u.error:{ok:u}}}static getServerFromStream(t,i,n,s){let c=K.fromTransport(i,n),{server:u}=t.getServer(c,s);return c.startListen(),{channel:c,server:u}}static registerServerToStream(t,i,n,s){let c=K.fromTransport(i,n),{client:u}=t.registerServer(c,s);return c.startListen(),{channel:c,client:u}}getServer(t,i){let{counterpart:n,dispose:s}=this.getInterface(t,this.client,this.server,i);return{server:n,dispose:s}}registerServer(t,i){let{counterpart:n,dispose:s}=this.getInterface(t,this.server,this.client,i);return{client:n,dispose:s}}withContext(){return new ge(this.tags,this.server,this.client)}},O=(function(e){return e.Comment="comment",e.Imports="imports",e.Region="region",e})({}),h=(function(e){return e[e.File=1]="File",e[e.Module=2]="Module",e[e.Namespace=3]="Namespace",e[e.Package=4]="Package",e[e.Class=5]="Class",e[e.Method=6]="Method",e[e.Property=7]="Property",e[e.Field=8]="Field",e[e.Constructor=9]="Constructor",e[e.Enum=10]="Enum",e[e.Interface=11]="Interface",e[e.Function=12]="Function",e[e.Variable=13]="Variable",e[e.Constant=14]="Constant",e[e.String=15]="String",e[e.Number=16]="Number",e[e.Boolean=17]="Boolean",e[e.Array=18]="Array",e[e.Object=19]="Object",e[e.Key=20]="Key",e[e.Null=21]="Null",e[e.EnumMember=22]="EnumMember",e[e.Struct=23]="Struct",e[e.Event=24]="Event",e[e.Operator=25]="Operator",e[e.TypeParameter=26]="TypeParameter",e})({}),We=(function(e){return e[e.Deprecated=1]="Deprecated",e})({}),ie=(function(e){return e[e.Type=1]="Type",e[e.Parameter=2]="Parameter",e})({});var f=(function(e){return e[e.Text=1]="Text",e[e.Method=2]="Method",e[e.Function=3]="Function",e[e.Constructor=4]="Constructor",e[e.Field=5]="Field",e[e.Variable=6]="Variable",e[e.Class=7]="Class",e[e.Interface=8]="Interface",e[e.Module=9]="Module",e[e.Property=10]="Property",e[e.Unit=11]="Unit",e[e.Value=12]="Value",e[e.Enum=13]="Enum",e[e.Keyword=14]="Keyword",e[e.Snippet=15]="Snippet",e[e.Color=16]="Color",e[e.File=17]="File",e[e.Reference=18]="Reference",e[e.Folder=19]="Folder",e[e.EnumMember=20]="EnumMember",e[e.Constant=21]="Constant",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter",e})({}),Ue=(function(e){return e[e.Deprecated=1]="Deprecated",e})({}),Ve=(function(e){return e[e.PlainText=1]="PlainText",e[e.Snippet=2]="Snippet",e})({}),q=(function(e){return e[e.Text=1]="Text",e[e.Read=2]="Read",e[e.Write=3]="Write",e})({}),w=(function(e){return e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll",e})({});var y=(function(e){return e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Information=3]="Information",e[e.Hint=4]="Hint",e})({}),ne=(function(e){return e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated",e})({}),j=(function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e})({}),z=(function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange",e})({}),oe=(function(e){return e[e.Invoked=1]="Invoked",e[e.Automatic=2]="Automatic",e})({});var d=class{constructor(e){this.method=e}},Je={textDocumentImplementation:new d("textDocument/implementation"),textDocumentTypeDefinition:new d("textDocument/typeDefinition"),textDocumentDocumentColor:new d("textDocument/documentColor"),textDocumentColorPresentation:new d("textDocument/colorPresentation"),textDocumentFoldingRange:new d("textDocument/foldingRange"),textDocumentDeclaration:new d("textDocument/declaration"),textDocumentSelectionRange:new d("textDocument/selectionRange"),textDocumentPrepareCallHierarchy:new d("textDocument/prepareCallHierarchy"),textDocumentSemanticTokensFull:new d("textDocument/semanticTokens/full"),textDocumentSemanticTokensFullDelta:new d("textDocument/semanticTokens/full/delta"),textDocumentLinkedEditingRange:new d("textDocument/linkedEditingRange"),workspaceWillCreateFiles:new d("workspace/willCreateFiles"),workspaceWillRenameFiles:new d("workspace/willRenameFiles"),workspaceWillDeleteFiles:new d("workspace/willDeleteFiles"),textDocumentMoniker:new d("textDocument/moniker"),textDocumentPrepareTypeHierarchy:new d("textDocument/prepareTypeHierarchy"),textDocumentInlineValue:new d("textDocument/inlineValue"),textDocumentInlayHint:new d("textDocument/inlayHint"),textDocumentDiagnostic:new d("textDocument/diagnostic"),textDocumentInlineCompletion:new d("textDocument/inlineCompletion"),textDocumentWillSaveWaitUntil:new d("textDocument/willSaveWaitUntil"),textDocumentCompletion:new d("textDocument/completion"),textDocumentHover:new d("textDocument/hover"),textDocumentSignatureHelp:new d("textDocument/signatureHelp"),textDocumentDefinition:new d("textDocument/definition"),textDocumentReferences:new d("textDocument/references"),textDocumentDocumentHighlight:new d("textDocument/documentHighlight"),textDocumentDocumentSymbol:new d("textDocument/documentSymbol"),textDocumentCodeAction:new d("textDocument/codeAction"),workspaceSymbol:new d("workspace/symbol"),textDocumentCodeLens:new d("textDocument/codeLens"),textDocumentDocumentLink:new d("textDocument/documentLink"),textDocumentFormatting:new d("textDocument/formatting"),textDocumentRangeFormatting:new d("textDocument/rangeFormatting"),textDocumentRangesFormatting:new d("textDocument/rangesFormatting"),textDocumentOnTypeFormatting:new d("textDocument/onTypeFormatting"),textDocumentRename:new d("textDocument/rename"),workspaceExecuteCommand:new d("workspace/executeCommand"),workspaceDidCreateFiles:new d("workspace/didCreateFiles"),workspaceDidRenameFiles:new d("workspace/didRenameFiles"),workspaceDidDeleteFiles:new d("workspace/didDeleteFiles"),workspaceDidChangeConfiguration:new d("workspace/didChangeConfiguration"),textDocumentDidOpen:new d("textDocument/didOpen"),textDocumentDidChange:new d("textDocument/didChange"),textDocumentDidClose:new d("textDocument/didClose"),textDocumentDidSave:new d("textDocument/didSave"),textDocumentWillSave:new d("textDocument/willSave"),workspaceDidChangeWatchedFiles:new d("workspace/didChangeWatchedFiles")},Pr=Ne({server:{textDocumentImplementation:a({method:"textDocument/implementation"}),textDocumentTypeDefinition:a({method:"textDocument/typeDefinition"}),textDocumentDocumentColor:a({method:"textDocument/documentColor"}),textDocumentColorPresentation:a({method:"textDocument/colorPresentation"}),textDocumentFoldingRange:a({method:"textDocument/foldingRange"}),textDocumentDeclaration:a({method:"textDocument/declaration"}),textDocumentSelectionRange:a({method:"textDocument/selectionRange"}),textDocumentPrepareCallHierarchy:a({method:"textDocument/prepareCallHierarchy"}),callHierarchyIncomingCalls:a({method:"callHierarchy/incomingCalls"}),callHierarchyOutgoingCalls:a({method:"callHierarchy/outgoingCalls"}),textDocumentSemanticTokensFull:a({method:"textDocument/semanticTokens/full"}),textDocumentSemanticTokensFullDelta:a({method:"textDocument/semanticTokens/full/delta"}),textDocumentSemanticTokensRange:a({method:"textDocument/semanticTokens/range"}),textDocumentLinkedEditingRange:a({method:"textDocument/linkedEditingRange"}),workspaceWillCreateFiles:a({method:"workspace/willCreateFiles"}),workspaceWillRenameFiles:a({method:"workspace/willRenameFiles"}),workspaceWillDeleteFiles:a({method:"workspace/willDeleteFiles"}),textDocumentMoniker:a({method:"textDocument/moniker"}),textDocumentPrepareTypeHierarchy:a({method:"textDocument/prepareTypeHierarchy"}),typeHierarchySupertypes:a({method:"typeHierarchy/supertypes"}),typeHierarchySubtypes:a({method:"typeHierarchy/subtypes"}),textDocumentInlineValue:a({method:"textDocument/inlineValue"}),textDocumentInlayHint:a({method:"textDocument/inlayHint"}),inlayHintResolve:a({method:"inlayHint/resolve"}),textDocumentDiagnostic:a({method:"textDocument/diagnostic"}),workspaceDiagnostic:a({method:"workspace/diagnostic"}),textDocumentInlineCompletion:a({method:"textDocument/inlineCompletion"}),initialize:a({method:"initialize"}),shutdown:a({method:"shutdown"}),textDocumentWillSaveWaitUntil:a({method:"textDocument/willSaveWaitUntil"}),textDocumentCompletion:a({method:"textDocument/completion"}),completionItemResolve:a({method:"completionItem/resolve"}),textDocumentHover:a({method:"textDocument/hover"}),textDocumentSignatureHelp:a({method:"textDocument/signatureHelp"}),textDocumentDefinition:a({method:"textDocument/definition"}),textDocumentReferences:a({method:"textDocument/references"}),textDocumentDocumentHighlight:a({method:"textDocument/documentHighlight"}),textDocumentDocumentSymbol:a({method:"textDocument/documentSymbol"}),textDocumentCodeAction:a({method:"textDocument/codeAction"}),codeActionResolve:a({method:"codeAction/resolve"}),workspaceSymbol:a({method:"workspace/symbol"}),workspaceSymbolResolve:a({method:"workspaceSymbol/resolve"}),textDocumentCodeLens:a({method:"textDocument/codeLens"}),codeLensResolve:a({method:"codeLens/resolve"}),textDocumentDocumentLink:a({method:"textDocument/documentLink"}),documentLinkResolve:a({method:"documentLink/resolve"}),textDocumentFormatting:a({method:"textDocument/formatting"}),textDocumentRangeFormatting:a({method:"textDocument/rangeFormatting"}),textDocumentRangesFormatting:a({method:"textDocument/rangesFormatting"}),textDocumentOnTypeFormatting:a({method:"textDocument/onTypeFormatting"}),textDocumentRename:a({method:"textDocument/rename"}),textDocumentPrepareRename:a({method:"textDocument/prepareRename"}),workspaceExecuteCommand:a({method:"workspace/executeCommand"}),workspaceDidChangeWorkspaceFolders:g({method:"workspace/didChangeWorkspaceFolders"}),windowWorkDoneProgressCancel:g({method:"window/workDoneProgress/cancel"}),workspaceDidCreateFiles:g({method:"workspace/didCreateFiles"}),workspaceDidRenameFiles:g({method:"workspace/didRenameFiles"}),workspaceDidDeleteFiles:g({method:"workspace/didDeleteFiles"}),notebookDocumentDidOpen:g({method:"notebookDocument/didOpen"}),notebookDocumentDidChange:g({method:"notebookDocument/didChange"}),notebookDocumentDidSave:g({method:"notebookDocument/didSave"}),notebookDocumentDidClose:g({method:"notebookDocument/didClose"}),initialized:g({method:"initialized"}),exit:g({method:"exit"}),workspaceDidChangeConfiguration:g({method:"workspace/didChangeConfiguration"}),textDocumentDidOpen:g({method:"textDocument/didOpen"}),textDocumentDidChange:g({method:"textDocument/didChange"}),textDocumentDidClose:g({method:"textDocument/didClose"}),textDocumentDidSave:g({method:"textDocument/didSave"}),textDocumentWillSave:g({method:"textDocument/willSave"}),workspaceDidChangeWatchedFiles:g({method:"workspace/didChangeWatchedFiles"}),setTrace:g({method:"$/setTrace"}),cancelRequest:g({method:"$/cancelRequest"}),progress:g({method:"$/progress"})},client:{workspaceWorkspaceFolders:a({method:"workspace/workspaceFolders"}).optional(),workspaceConfiguration:a({method:"workspace/configuration"}).optional(),workspaceFoldingRangeRefresh:a({method:"workspace/foldingRange/refresh"}).optional(),windowWorkDoneProgressCreate:a({method:"window/workDoneProgress/create"}).optional(),workspaceSemanticTokensRefresh:a({method:"workspace/semanticTokens/refresh"}).optional(),windowShowDocument:a({method:"window/showDocument"}).optional(),workspaceInlineValueRefresh:a({method:"workspace/inlineValue/refresh"}).optional(),workspaceInlayHintRefresh:a({method:"workspace/inlayHint/refresh"}).optional(),workspaceDiagnosticRefresh:a({method:"workspace/diagnostic/refresh"}).optional(),clientRegisterCapability:a({method:"client/registerCapability"}).optional(),clientUnregisterCapability:a({method:"client/unregisterCapability"}).optional(),windowShowMessageRequest:a({method:"window/showMessageRequest"}).optional(),workspaceCodeLensRefresh:a({method:"workspace/codeLens/refresh"}).optional(),workspaceApplyEdit:a({method:"workspace/applyEdit"}).optional(),windowShowMessage:g({method:"window/showMessage"}),windowLogMessage:g({method:"window/logMessage"}),telemetryEvent:g({method:"telemetry/event"}),textDocumentPublishDiagnostics:g({method:"textDocument/publishDiagnostics"}),logTrace:g({method:"$/logTrace"}),cancelRequest:g({method:"$/cancelRequest"}),progress:g({method:"$/progress"})}});var Er=(I=class{constructor(){l(this,"_store",new Ge)}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}},l(I,"None",Object.freeze({dispose(){}})),I),Ge=(P=class{constructor(){l(this,"_toDispose",new Set),l(this,"_isDisposed",!1)}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){if(this._toDispose.size!==0)try{for(let e of this._toDispose)e.dispose()}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?P.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}},l(P,"DISABLE_DISPOSED_WARNING",!1),P),Hr=new Map([[w.Empty,""],[w.QuickFix,"quickfix"],[w.Refactor,"refactor"],[w.RefactorExtract,"refactor.extract"],[w.RefactorInline,"refactor.inline"],[w.RefactorRewrite,"refactor.rewrite"],[w.Source,"source"],[w.SourceOrganizeImports,"source.organizeImports"],[w.SourceFixAll,"source.fixAll"]]);var Ir=new Map([[o.CodeActionTriggerType.Invoke,oe.Invoked],[o.CodeActionTriggerType.Auto,oe.Automatic]]);var Ar=new Map([[f.Text,o.CompletionItemKind.Text],[f.Method,o.CompletionItemKind.Method],[f.Function,o.CompletionItemKind.Function],[f.Constructor,o.CompletionItemKind.Constructor],[f.Field,o.CompletionItemKind.Field],[f.Variable,o.CompletionItemKind.Variable],[f.Class,o.CompletionItemKind.Class],[f.Interface,o.CompletionItemKind.Interface],[f.Module,o.CompletionItemKind.Module],[f.Property,o.CompletionItemKind.Property],[f.Unit,o.CompletionItemKind.Unit],[f.Value,o.CompletionItemKind.Value],[f.Enum,o.CompletionItemKind.Enum],[f.Keyword,o.CompletionItemKind.Keyword],[f.Snippet,o.CompletionItemKind.Snippet],[f.Color,o.CompletionItemKind.Color],[f.File,o.CompletionItemKind.File],[f.Reference,o.CompletionItemKind.Reference],[f.Folder,o.CompletionItemKind.Folder],[f.EnumMember,o.CompletionItemKind.EnumMember],[f.Constant,o.CompletionItemKind.Constant],[f.Struct,o.CompletionItemKind.Struct],[f.Event,o.CompletionItemKind.Event],[f.Operator,o.CompletionItemKind.Operator],[f.TypeParameter,o.CompletionItemKind.TypeParameter]]);var Or=new Map([[Ue.Deprecated,o.CompletionItemTag.Deprecated]]);var qr=new Map([[o.CompletionTriggerKind.Invoke,j.Invoked],[o.CompletionTriggerKind.TriggerCharacter,j.TriggerCharacter],[o.CompletionTriggerKind.TriggerForIncompleteCompletions,j.TriggerForIncompleteCompletions]]);var jr=new Map([[Ve.Snippet,o.CompletionItemInsertTextRule.InsertAsSnippet]]);var zr=new Map([[h.File,o.SymbolKind.File],[h.Module,o.SymbolKind.Module],[h.Namespace,o.SymbolKind.Namespace],[h.Package,o.SymbolKind.Package],[h.Class,o.SymbolKind.Class],[h.Method,o.SymbolKind.Method],[h.Property,o.SymbolKind.Property],[h.Field,o.SymbolKind.Field],[h.Constructor,o.SymbolKind.Constructor],[h.Enum,o.SymbolKind.Enum],[h.Interface,o.SymbolKind.Interface],[h.Function,o.SymbolKind.Function],[h.Variable,o.SymbolKind.Variable],[h.Constant,o.SymbolKind.Constant],[h.String,o.SymbolKind.String],[h.Number,o.SymbolKind.Number],[h.Boolean,o.SymbolKind.Boolean],[h.Array,o.SymbolKind.Array],[h.Object,o.SymbolKind.Object],[h.Key,o.SymbolKind.Key],[h.Null,o.SymbolKind.Null],[h.EnumMember,o.SymbolKind.EnumMember],[h.Struct,o.SymbolKind.Struct],[h.Event,o.SymbolKind.Event],[h.Operator,o.SymbolKind.Operator],[h.TypeParameter,o.SymbolKind.TypeParameter]]);var Nr=new Map([[We.Deprecated,o.SymbolTag.Deprecated]]);var Br=new Map([[q.Text,o.DocumentHighlightKind.Text],[q.Read,o.DocumentHighlightKind.Read],[q.Write,o.DocumentHighlightKind.Write]]);var Wr=new Map([[O.Comment,o.FoldingRangeKind.Comment],[O.Imports,o.FoldingRangeKind.Imports],[O.Region,o.FoldingRangeKind.Region]]);var Ur=new Map([[_.Error,y.Error],[_.Warning,y.Warning],[_.Info,y.Information],[_.Hint,y.Hint]]);var Vr=new Map([[y.Error,_.Error],[y.Warning,_.Warning],[y.Information,_.Info],[y.Hint,_.Hint]]);var Jr=new Map([[ne.Unnecessary,T.Unnecessary],[ne.Deprecated,T.Deprecated]]);var Gr=new Map([[o.SignatureHelpTriggerKind.Invoke,z.Invoked],[o.SignatureHelpTriggerKind.TriggerCharacter,z.TriggerCharacter],[o.SignatureHelpTriggerKind.ContentChange,z.ContentChange]]);var Qr=new Map([[ie.Type,o.InlayHintKind.Type],[ie.Parameter,o.InlayHintKind.Parameter]]);var Xr=new Map([...Object.values(Je)].map(e=>[e.method,e]));var C=null;typeof WebSocket<"u"?C=WebSocket:typeof MozWebSocket<"u"?C=MozWebSocket:typeof global<"u"?C=global.WebSocket||global.MozWebSocket:typeof window<"u"?C=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(C=self.WebSocket||self.MozWebSocket);var he={},B={},W=class e{static getOrCreate(t){return B[t]||(B[t]=new e(t)),B[t]}constructor(t){this._languageId=t,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((i,n)=>{this._lazyLoadPromiseResolve=i,this._lazyLoadPromiseReject=n})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,he[this._languageId].loader().then(t=>this._lazyLoadPromiseResolve(t),t=>this._lazyLoadPromiseReject(t))),this._lazyLoadPromise}};function r(e){let t=e.id;he[t]=e,o.register(e);let i=W.getOrCreate(t);o.registerTokensProviderFactory(t,{create:async()=>(await i.load()).language}),o.onLanguageEncountered(t,async()=>{let n=await i.load();o.setLanguageConfiguration(t,n.conf)})}r({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>import("./LDUXIRRX.js")});r({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>import("./EXVPEWWR.js")});r({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>import("./H2KLFHG3.js")});r({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>import("./KSNDH6NJ.js")});r({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>import("./QZ5SQVOZ.js")});r({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>import("./ML3XEYX7.js")});r({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>import("./MLQTKNOS.js")});r({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>import("./UZVUXHHW.js")});r({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>import("./5EIPVOGO.js")});r({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>import("./5EIPVOGO.js")});r({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>import("./36W5RXLG.js")});r({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>import("./CVJM5DJ5.js")});r({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>import("./NGWNHRDV.js")});r({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>import("./PVTDESVT.js")});r({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>import("./HUTT2UBA.js")});r({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>import("./IF6VZF56.js")});r({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>import("./QGSV4ECO.js")});r({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>import("./XVT2TWEJ.js")});r({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>import("./6VFEED45.js")});r({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>import("./GLWUBI25.js")});r({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagAutoInterpolationDollar)});r({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagAngleInterpolationDollar)});r({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagBracketInterpolationDollar)});r({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagAngleInterpolationBracket)});r({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagBracketInterpolationBracket)});r({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagAutoInterpolationDollar)});r({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>import("./ZIITPBDA.js").then(e=>e.TagAutoInterpolationBracket)});r({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>import("./JW63G7JR.js")});r({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>import("./HLTDO25M.js")});r({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>import("./N634TYFB.js")});r({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>import("./ABZ7ZFXX.js")});r({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>import("./DITC5ENP.js")});r({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>import("./QDUPWXLI.js")});r({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>import("./S5T6XTRV.js")});r({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>import("./JZKEFFFC.js")});r({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>import("./UXE4ASGX.js")});r({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>import("./W6YYQCBS.js")});r({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>import("./PTLGMSM7.js")});r({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>import("./TKZNHPOT.js")});r({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>import("./33BRQKI6.js")});r({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>import("./SP2OSSVP.js")});r({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>import("./LW6VG5BJ.js")});r({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>import("./UF7HDQEU.js")});r({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>import("./ZGH54UQL.js")});r({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>import("./CJ2MVXSJ.js")});r({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>import("./57E5F75J.js")});r({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>import("./YCBGCWWV.js")});r({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>import("./GK62ODPJ.js")});r({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>import("./GWJWZDBK.js")});r({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>import("./45R5XOFL.js")});r({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>import("./BTLDXLFC.js")});r({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>import("./FUBZOMVG.js")});r({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>import("./WMQL7T43.js")});r({id:"pla",extensions:[".pla"],loader:()=>import("./WBYKVSV4.js")});r({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>import("./4YFE3KBC.js")});r({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>import("./J72JBXLX.js")});r({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>import("./FH5UYXIE.js")});r({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>import("./G3F6L5BF.js")});r({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>import("./TUPOE2CF.js")});r({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>import("./XECHDNHQ.js")});r({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>import("./R7SJNYNM.js")});r({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>import("./NFD5QRK7.js")});r({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>import("./KFZFVK3W.js")});r({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>import("./QYQXVQVS.js")});r({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>import("./SIP637YL.js")});r({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>import("./5YEMW2UC.js")});r({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>import("./Q42IHUZ3.js")});r({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>import("./AGJJ7FJX.js")});r({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>import("./KSYZD77O.js")});r({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>import("./ZRGZPKPU.js")});r({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>import("./MB3H26SY.js")});r({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>import("./FGO22NCZ.js")});r({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>import("./NQOXXF5T.js")});r({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>import("./EQKJWVNG.js")});r({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>import("./HZSPZILM.js")});r({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>import("./D4TRKALK.js")});r({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>import("./DKAMEAFP.js")});r({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>import("./WJYR4BJG.js")});r({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>import("./ISYMIYR5.js")});r({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>import("./KKD3ZAX7.js")});r({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>import("./KKD3ZAX7.js")});r({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>import("./2AXSYZEN.js")});r({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>import("./UYUJZDIZ.js")});r({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>import("./OKTFDNZ2.js")});r({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>import("./USFPEQ7Q.js")});r({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>import("./XQSXGAPV.js")});r({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>import("./ZQZRAXQ5.js")});r({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>import("./MZWBKK5Y.js")});r({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>import("./ZB5LSQCI.js")});var S=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(t){this._options=t||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(t){this.setOptions(t)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},U={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},V={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Xe=new S("css",U,V),Ye=new S("scss",U,V),Ze=new S("less",U,V);function J(){return import("./P5SQNRDH.js")}o.onLanguage("less",()=>{J().then(e=>e.setupMode(Ze))});o.onLanguage("scss",()=>{J().then(e=>e.setupMode(Ye))});o.onLanguage("css",()=>{J().then(e=>e.setupMode(Xe))});var G=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(t){this._options=t||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},$e={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},E={format:$e,suggest:{},data:{useDefaultDataProvider:!0}};function H(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===R,documentFormattingEdits:e===R,documentRangeFormattingEdits:e===R}}var R="html",fe="handlebars",xe="razor",et=Q(R,E,H(R)),zn=et.defaults,tt=Q(fe,E,H(fe)),Nn=tt.defaults,rt=Q(xe,E,H(xe)),Bn=rt.defaults;function it(){return import("./P47PXEKU.js")}function Q(e,t=E,i=H(e)){let n=new G(e,t,i),s,c=o.onLanguage(e,async()=>{s=(await it()).setupMode(n)});return{defaults:n,dispose(){c.dispose(),s?.dispose(),s=void 0}}}var X=class{constructor(t,i,n){this._onDidChange=new v,this._languageId=t,this.setDiagnosticsOptions(i),this.setModeConfiguration(n)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(t){this._diagnosticsOptions=t||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(t){this._modeConfiguration=t||Object.create(null),this._onDidChange.fire(this)}},ot={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},st={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},at=new X("json",ot,st);function ct(){return import("./Q2IQGLDP.js")}o.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});o.onLanguage("json",()=>{ct().then(e=>e.setupMode(at))});var _e="__monacoFindWidgetTabIndexPatchApplied",L="__monacoFindWidgetOriginalTabIndex";function De(e,t){let i=e?._domNode;if(!i)return;let n=i.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(let s of n)if(s instanceof HTMLElement)if(t){if(!(L in s.dataset))continue;let c=s.dataset[L];c===""?s.removeAttribute("tabindex"):s.tabIndex=Number(c),delete s.dataset[L]}else L in s.dataset||(s.dataset[L]=s.getAttribute("tabindex")??""),s.tabIndex=-1}if(!b[_e]){let e=b.prototype._reveal,t=b.prototype._hide;b.prototype._reveal=function(...i){e.apply(this,i),De(this,!0)},b.prototype._hide=function(...i){t.apply(this,i),De(this,!1)},b[_e]=!0}var dt=async()=>{let{editor:e}=await import("./7IJT3Z4F.js");return e},we=null;async function nc(){return we??=dt(),await we}export{nc as a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import"./TAVTDQ6S.js";var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,""],[/(\s)((?:@startingWithDash)+)/,["white","attribute.name"]],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@whitespace"},{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}};export{e as conf,r as language};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./H6RQVSYM.js";var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,""],[/(\s)((?:@startingWithDash)+)/,["white","attribute.name"]],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@whitespace"},{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}};export{e as conf,r as language};
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as kt}from"./C3LWMJ56.js";var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),jt=new WeakMap,M=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&jt.set(e,t))}return t}toString(){return this.cssText}},Ht=s=>new M(typeof s=="string"?s:s+"",void 0,vt),be=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,n,r)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+s[r+1],s[0]);return new M(e,s,vt)},Vt=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),n=Y.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},Et=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return Ht(e)})(s):s;var{is:Ae,defineProperty:_e,getOwnPropertyDescriptor:Ce,getOwnPropertyNames:we,getOwnPropertySymbols:Oe,getPrototypeOf:Te}=Object,tt=globalThis,zt=tt.trustedTypes,Se=zt?zt.emptyScript:"",Pe=tt.reactiveElementPolyfillSupport,k=(s,t)=>s,X={toAttribute(s,t){switch(t){case Boolean:s=s?Se:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},j=(s,t)=>!Ae(s,t),Bt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,e);n!==void 0&&_e(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Ce(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Te(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,o=[...we(e),...Oe(e)];for(let n of o)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,n]of e)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let n=this._$Eu(e,o);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)e.unshift(Et(n))}else t!==void 0&&e.push(Et(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:X).toAttribute(e,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:X;this._$Em=n;let a=i.fromAttribute(e,r.type);this[n]=a??this._$Ej?.get(n)??a,this._$Em=null}}requestUpdate(t,e,o,n=!1,r){if(t!==void 0){let i=this.constructor;if(n===!1&&(r=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??j)(r,e)||o.useDefault&&o.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:n,wrapped:r},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[k("elementProperties")]=new Map,A[k("finalized")]=new Map,Pe?.({ReactiveElement:A}),(tt.reactiveElementVersions??=[]).push("2.1.2");var bt=globalThis,Wt=s=>s,et=bt.trustedTypes,Ft=et?et.createPolicy("lit-html",{createHTML:s=>s}):void 0,At="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+_,Ne=`<${_t}>`,T=document,V=()=>T.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",Ct=Array.isArray,Yt=s=>Ct(s)||typeof s?.[Symbol.iterator]=="function",$t=`[
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as kt}from"./BFPEJYVB.js";var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),jt=new WeakMap,M=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&jt.set(e,t))}return t}toString(){return this.cssText}},Ht=s=>new M(typeof s=="string"?s:s+"",void 0,vt),be=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,n,r)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+s[r+1],s[0]);return new M(e,s,vt)},Vt=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),n=Y.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},Et=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return Ht(e)})(s):s;var{is:Ae,defineProperty:_e,getOwnPropertyDescriptor:Ce,getOwnPropertyNames:we,getOwnPropertySymbols:Oe,getPrototypeOf:Te}=Object,tt=globalThis,zt=tt.trustedTypes,Se=zt?zt.emptyScript:"",Pe=tt.reactiveElementPolyfillSupport,k=(s,t)=>s,X={toAttribute(s,t){switch(t){case Boolean:s=s?Se:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},j=(s,t)=>!Ae(s,t),Bt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,e);n!==void 0&&_e(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Ce(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Te(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,o=[...we(e),...Oe(e)];for(let n of o)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,n]of e)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let n=this._$Eu(e,o);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)e.unshift(Et(n))}else t!==void 0&&e.push(Et(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:X).toAttribute(e,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:X;this._$Em=n;let a=i.fromAttribute(e,r.type);this[n]=a??this._$Ej?.get(n)??a,this._$Em=null}}requestUpdate(t,e,o,n=!1,r){if(t!==void 0){let i=this.constructor;if(n===!1&&(r=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??j)(r,e)||o.useDefault&&o.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:n,wrapped:r},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[k("elementProperties")]=new Map,A[k("finalized")]=new Map,Pe?.({ReactiveElement:A}),(tt.reactiveElementVersions??=[]).push("2.1.2");var bt=globalThis,Wt=s=>s,et=bt.trustedTypes,Ft=et?et.createPolicy("lit-html",{createHTML:s=>s}):void 0,At="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,_t="?"+_,Ne=`<${_t}>`,T=document,V=()=>T.createComment(""),z=s=>s===null||typeof s!="object"&&typeof s!="function",Ct=Array.isArray,Yt=s=>Ct(s)||typeof s?.[Symbol.iterator]=="function",$t=`[
3
3
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Gt=/>/g,w=RegExp(`>|${$t}(?:([^\\s"'>=/]+)(${$t}*=${$t}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Kt=/'/g,Qt=/"/g,Zt=/^(?:script|style|textarea|title)$/i,wt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),fs=wt(1),ms=wt(2),ys=wt(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Xt(s,t){if(!Ct(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}var te=(s,t)=>{let e=s.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=qt:u[1]!==void 0?i=Gt:u[2]!==void 0?(Zt.test(u[2])&&(n=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=n??H,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?w:u[3]==='"'?Qt:Kt):i===Qt||i===Kt?i=w:i===qt||i===Gt?i=H:(i=w,n=void 0);let v=i===w&&s[a+1].startsWith("/>")?" ":"";r+=i===H?c+Ne:h>=0?(o.push(l),c.slice(0,h)+At+c.slice(h)+_+v):c+_+(h===-2?a:v)}return[Xt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},B=class s{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,u]=te(t,e);if(this.el=s.createElement(l,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=O.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(At)){let m=u[i++],v=n.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:C[2],strings:v,ctor:C[1]==="."?ot:C[1]==="?"?nt:C[1]==="@"?rt:P}),n.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Zt.test(n.tagName)){let h=n.textContent.split(_),m=h.length-1;if(m>0){n.textContent=et?et.emptyScript:"";for(let v=0;v<m;v++)n.append(h[v],V()),O.nextNode(),c.push({type:2,index:++r});n.append(h[m],V())}}}else if(n.nodeType===8)if(n.data===_t)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:r}),h+=_.length-1}r++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,r=z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(s),n._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=S(s,n._$AS(s,t.values),n,o)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??T).importNode(e,!0);O.currentNode=n;let r=O.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new L(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new it(r,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(r=O.nextNode(),i++)}return O.currentNode=T,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=B.createElement(Xt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new st(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new B(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let r of t)n===e.length?e.push(o=new s(this.O(V()),this.O(V()),this,this.options)):o=e[n],o._$AI(r),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Wt(t).nextSibling;Wt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=S(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!z(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends P{constructor(t,e,o,n,r){super(t,e,o,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,n=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==d&&(o===d||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},ee={M:At,P:_,A:_t,C:1,L:te,R:st,D:Yt,V:S,I:L,H:P,N:nt,U:rt,B:ot,F:it},xe=bt.litHtmlPolyfillSupport;xe?.(B,L),(bt.litHtmlVersions??=[]).push("3.3.2");var Ot=(s,t,e)=>{let o=e?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=e?.renderBefore??null;o._$litPart$=n=new L(t.insertBefore(V(),r),r,void 0,e??{})}return n._$AI(s),n};var Tt=globalThis,E=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ot(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:E});var De=Tt.litElementPolyfillSupport;De?.({LitElement:E});(Tt.litElementVersions??=[]).push("4.2.2");var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},W=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var q=Symbol.for("controller"),Le=s=>typeof s=="object"&&s!==null&&(q in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Ns=s=>typeof s?.then=="function";var F,x=s=>{F!==s&&(F=s,queueMicrotask(()=>F===s?F=void 0:0))},G=s=>F,N=[],ct=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,U,xs=s=>{U!==s&&(U=s,queueMicrotask(()=>U===s?U=void 0:0))},Ue=()=>{let s=U;return U=void 0,s},oe=async(s,t)=>{let e=lt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(n=>t(n,o))}return e.exports},ne=async s=>{let t=lt(s);return await t.ready,t},lt=s=>{let e=G().manager.X(s);if(e!==void 0)return e;if(Le(s))return s;let o=Ue();if(o!==void 0)return o},at=!1,Ds=s=>{at=!0;try{return s()}finally{at=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var re=(s,t)=>{let e=t>Re?Ie:t/Me,o=0,n=setInterval(()=>{o+=e,o>=t&&(clearInterval(n),s())},e);return n},Re=4e3,Ie=2e3,Me=4;var ke=(s,t,e)=>{let o=Object.keys(s),n=o.length;R===void 0&&queueMicrotask(I),R??=new Map;let r=R.get(s);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(s,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[n];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},R,I=()=>{R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0},je=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((n,r)=>p(t,void 0,e===r?n:void 0)),e},He=(s=[G(),...se()],t,e)=>{let o=Array.isArray(s)?s:[s],n=o.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};o.forEach(i=>ke(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(s="",t={},e=G())=>{let o={emit:n=>{s===""&&I();let r=new CustomEvent(s,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return s===""&&He(void 0,n=>s=n.key,o),o},ze=Ve.bind(null,""),ce;ce=q;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#n=[],this.#r=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ce]=!0,this.#h=[];let e=this,o=t??G(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=ae(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(ct(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#n;#r;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(kt(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?ae(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return x(this.#o),oe}get useRef(){return x(this.#o),ne}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#n.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#n.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(ie,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ie,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#i.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#i.push(n.remove)})}};function ie(s){p(s,void 0,this)}var ae=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,n,r){if(!((n==="exports"||n==="_exports")&&n in o&&o[n]===e)&&(n in o||n in Promise.prototype||typeof n=="symbol"))return typeof o=="function"?o[n]:Reflect.get(o,n,r)}},e=new Proxy(s,t);return e};var le=St;var ht=s=>s.replace(Be,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Be=/[A-Z]+(?![a-z])|[A-Z]/gu;var zs=s=>s.charAt(0).toLowerCase()+s.slice(1);var he=(s,t)=>new Array(t+1).join(s),Bs=s=>{let t='"',e="'";s.includes(t)&&!s.includes(e)&&(e='"',t="'");let n=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${e})+)`,"gu");s=s.replace(n,(i,a,c,l)=>a+c+he(e,l.length/2));let r=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return s=s.replace(r,(i,a,c,l)=>a+c+he(`\\${t}`,l.length)),t+s+t},Ws=s=>{let t=s?s.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")},Fs=s=>`\u200E${s??""}\u200E`,We="randomUUID"in crypto,qs=()=>{if(We)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`},Gs=s=>{let[t,e]=s.split(".");return`${t}.${e}`};var{I:Fe}=ee,de=s=>s;var dt=s=>s.strings===void 0,pe=()=>document.createComment(""),Js=(s,t,e)=>{let o=s._$AA.parentNode,n=t===void 0?s._$AB:t._$AA;if(e===void 0){let r=o.insertBefore(pe(),n),i=o.insertBefore(pe(),n);e=new Fe(r,i,s,s.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=de(c).nextSibling;de(o).insertBefore(c,n),c=l}}}return e},Ys=(s,t,e=s)=>(s._$AI(t,e),s),qe={},ue=(s,t=qe)=>s._$AH=t,Zs=s=>s._$AH,Xs=s=>{s._$AR(),s._$AA.remove()};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var K=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),K(o,t);return!0},pt=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},fe=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Qe(t)}};function Ge(s){this._$AN!==void 0?(pt(this),this._$AM=s,fe(this)):this._$AM=s}function Ke(s,t=!1,e=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(t)if(Array.isArray(o))for(let r=e;r<o.length;r++)K(o[r],!1),pt(o[r]);else o!=null&&(K(o,!1),pt(o));else K(this,s)}var Qe=s=>{s.type==y.CHILD&&(s._$AP??=Ke,s._$AQ??=Ge)},ut=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),fe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var lo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=$(class extends ut{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Lt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Ut={};function Rt(){}function It(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ye=(s,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=l.split(";"),C=h?h?.split(",").map(Ze):void 0,gt=C?.map(([D])=>D),J=class extends Dt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,D])=>D).filter(D=>D!=="")}static{this.C=gt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=s}constructor(){!J.B&&(J.B=c(),J.F()),super()}};customElements.define(a,J)}},ft=Object.defineProperty,Ze=s=>{let t=s.split(":");return t.length===1?[t[0],ht(t[0])]:t},Xe=globalThis.HTMLElement??Rt,Dt=class extends Xe{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#n({a:e.A}):e.B.then(async o=>{await e.K.p,t.#n(await(o.default?.then(n=>typeof n=="function"?{a:n}:n)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{It(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Lt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#n(t){let e=this.constructor,o=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);es(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ts,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ts([s,t]){this[s]=t}var es=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},t.hasAttribute=function(n){return e.hasAttribute.call(this.el,n)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends le{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ct(void 0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=re(t,ss)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},ss=1e3,yt="autoDestroyDisabled";var ye=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var ge="important",os=" !"+ge,ns=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(os);o.includes("-")||r?e.setProperty(o,r?n.slice(0,-11):n,r?ge:""):e[o]=n}}return f}});var rs=$(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ue(s),t}});var ve=class s extends E{constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,o=e.N,n=e.K.o,r=s.prototype.shouldUpdate;t.#n=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Rt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Ut;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??j,i={attribute:o&1&&typeof t=="string"?ht(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let n=this.K,r=super.getPropertyDescriptor(t,e,o);return o.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,i))}}}static{this.lumina=!0}static{It(this)}#t;#e;#s;#n;#r;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(n=>{this.#n.reject(n),setTimeout(()=>{throw n})})):e&&this.requestUpdate()}#d(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,r=t??(o===Ut?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#i(){let t=this.el.G??Lt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(W(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(n=>!n.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():p(n.hostLoaded,n);this.loaded?.(),this.#n.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#d(t):super.update(t)}listen(t,e,o){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,e,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#n.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var $e=s=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...s,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=o,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(s.defaultAssetPath),o};var Dn=s=>typeof s=="object"&&s!=null?ye(s):s;var Mt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(n){return e.#t.call(this,n)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},Ln=$(Mt);var Un=d;var Q=$e({defaultAssetPath:"https://jsdev.arcgis.com/6.0.0-next/coding-components/",hydratedAttribute:"hydrated"}),{customElement:jn,getAssetPath:Hn,setAssetPath:Vn}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Ns as a,x as b,ct as c,se as d,xs as e,Ds as f,Ht as g,be as h,j as i,fs as j,f as k,d as l,He as m,ze as n,St as o,zs as p,Bs as q,Ws as r,Fs as s,qs as t,Gs as u,Ye as v,y as w,$ as x,g as y,Js as z,Ys as A,ue as B,Zs as C,Xs as D,lo as E,xt as F,ve as G,Dn as H,Un as I,Q as J,jn as K,Hn as L};
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Kt=/'/g,Qt=/"/g,Zt=/^(?:script|style|textarea|title)$/i,wt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),fs=wt(1),ms=wt(2),ys=wt(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Xt(s,t){if(!Ct(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}var te=(s,t)=>{let e=s.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=qt:u[1]!==void 0?i=Gt:u[2]!==void 0?(Zt.test(u[2])&&(n=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=n??H,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?w:u[3]==='"'?Qt:Kt):i===Qt||i===Kt?i=w:i===qt||i===Gt?i=H:(i=w,n=void 0);let v=i===w&&s[a+1].startsWith("/>")?" ":"";r+=i===H?c+Ne:h>=0?(o.push(l),c.slice(0,h)+At+c.slice(h)+_+v):c+_+(h===-2?a:v)}return[Xt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},B=class s{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,u]=te(t,e);if(this.el=s.createElement(l,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=O.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(At)){let m=u[i++],v=n.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:C[2],strings:v,ctor:C[1]==="."?ot:C[1]==="?"?nt:C[1]==="@"?rt:P}),n.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Zt.test(n.tagName)){let h=n.textContent.split(_),m=h.length-1;if(m>0){n.textContent=et?et.emptyScript:"";for(let v=0;v<m;v++)n.append(h[v],V()),O.nextNode(),c.push({type:2,index:++r});n.append(h[m],V())}}}else if(n.nodeType===8)if(n.data===_t)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:r}),h+=_.length-1}r++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,r=z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(s),n._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=S(s,n._$AS(s,t.values),n,o)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??T).importNode(e,!0);O.currentNode=n;let r=O.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new L(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new it(r,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(r=O.nextNode(),i++)}return O.currentNode=T,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=B.createElement(Xt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new st(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new B(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let r of t)n===e.length?e.push(o=new s(this.O(V()),this.O(V()),this,this.options)):o=e[n],o._$AI(r),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Wt(t).nextSibling;Wt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=S(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!z(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends P{constructor(t,e,o,n,r){super(t,e,o,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,n=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==d&&(o===d||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},ee={M:At,P:_,A:_t,C:1,L:te,R:st,D:Yt,V:S,I:L,H:P,N:nt,U:rt,B:ot,F:it},xe=bt.litHtmlPolyfillSupport;xe?.(B,L),(bt.litHtmlVersions??=[]).push("3.3.2");var Ot=(s,t,e)=>{let o=e?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=e?.renderBefore??null;o._$litPart$=n=new L(t.insertBefore(V(),r),r,void 0,e??{})}return n._$AI(s),n};var Tt=globalThis,E=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ot(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:E});var De=Tt.litElementPolyfillSupport;De?.({LitElement:E});(Tt.litElementVersions??=[]).push("4.2.2");var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},W=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var q=Symbol.for("controller"),Le=s=>typeof s=="object"&&s!==null&&(q in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Ns=s=>typeof s?.then=="function";var F,x=s=>{F!==s&&(F=s,queueMicrotask(()=>F===s?F=void 0:0))},G=s=>F,N=[],ct=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,U,xs=s=>{U!==s&&(U=s,queueMicrotask(()=>U===s?U=void 0:0))},Ue=()=>{let s=U;return U=void 0,s},oe=async(s,t)=>{let e=lt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(n=>t(n,o))}return e.exports},ne=async s=>{let t=lt(s);return await t.ready,t},lt=s=>{let e=G().manager.X(s);if(e!==void 0)return e;if(Le(s))return s;let o=Ue();if(o!==void 0)return o},at=!1,Ds=s=>{at=!0;try{return s()}finally{at=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var re=(s,t)=>{let e=t>Re?Ie:t/Me,o=0,n=setInterval(()=>{o+=e,o>=t&&(clearInterval(n),s())},e);return n},Re=4e3,Ie=2e3,Me=4;var ke=(s,t,e)=>{let o=Object.keys(s),n=o.length;R===void 0&&queueMicrotask(I),R??=new Map;let r=R.get(s);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(s,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[n];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},R,I=()=>{R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0},je=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((n,r)=>p(t,void 0,e===r?n:void 0)),e},He=(s=[G(),...se()],t,e)=>{let o=Array.isArray(s)?s:[s],n=o.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};o.forEach(i=>ke(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(s="",t={},e=G())=>{let o={emit:n=>{s===""&&I();let r=new CustomEvent(s,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return s===""&&He(void 0,n=>s=n.key,o),o},ze=Ve.bind(null,""),ce;ce=q;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#n=[],this.#r=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[ce]=!0,this.#h=[];let e=this,o=t??G(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=ae(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(ct(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#n;#r;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(kt(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?ae(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return x(this.#o),oe}get useRef(){return x(this.#o),ne}get useRefSync(){return x(this.#o),lt}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#n.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#n.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(ie,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ie,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#i.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#i.push(n.remove)})}};function ie(s){p(s,void 0,this)}var ae=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,n,r){if(!((n==="exports"||n==="_exports")&&n in o&&o[n]===e)&&(n in o||n in Promise.prototype||typeof n=="symbol"))return typeof o=="function"?o[n]:Reflect.get(o,n,r)}},e=new Proxy(s,t);return e};var le=St;var ht=s=>s.replace(Be,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Be=/[A-Z]+(?![a-z])|[A-Z]/gu;var zs=s=>s.charAt(0).toLowerCase()+s.slice(1);var he=(s,t)=>new Array(t+1).join(s),Bs=s=>{let t='"',e="'";s.includes(t)&&!s.includes(e)&&(e='"',t="'");let n=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${e})+)`,"gu");s=s.replace(n,(i,a,c,l)=>a+c+he(e,l.length/2));let r=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return s=s.replace(r,(i,a,c,l)=>a+c+he(`\\${t}`,l.length)),t+s+t},Ws=s=>{let t=s?s.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")},Fs=s=>`\u200E${s??""}\u200E`,We="randomUUID"in crypto,qs=()=>{if(We)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`},Gs=s=>{let[t,e]=s.split(".");return`${t}.${e}`};var{I:Fe}=ee,de=s=>s;var dt=s=>s.strings===void 0,pe=()=>document.createComment(""),Js=(s,t,e)=>{let o=s._$AA.parentNode,n=t===void 0?s._$AB:t._$AA;if(e===void 0){let r=o.insertBefore(pe(),n),i=o.insertBefore(pe(),n);e=new Fe(r,i,s,s.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=de(c).nextSibling;de(o).insertBefore(c,n),c=l}}}return e},Ys=(s,t,e=s)=>(s._$AI(t,e),s),qe={},ue=(s,t=qe)=>s._$AH=t,Zs=s=>s._$AH,Xs=s=>{s._$AR(),s._$AA.remove()};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var K=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),K(o,t);return!0},pt=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},fe=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),Qe(t)}};function Ge(s){this._$AN!==void 0?(pt(this),this._$AM=s,fe(this)):this._$AM=s}function Ke(s,t=!1,e=0){let o=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(t)if(Array.isArray(o))for(let r=e;r<o.length;r++)K(o[r],!1),pt(o[r]);else o!=null&&(K(o,!1),pt(o));else K(this,s)}var Qe=s=>{s.type==y.CHILD&&(s._$AP??=Ke,s._$AQ??=Ge)},ut=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),fe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var lo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=$(class extends ut{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Lt=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Ut={};function Rt(){}function It(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var Ye=(s,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=l.split(";"),C=h?h?.split(",").map(Ze):void 0,gt=C?.map(([D])=>D),J=class extends Dt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,D])=>D).filter(D=>D!=="")}static{this.C=gt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=s}constructor(){!J.B&&(J.B=c(),J.F()),super()}};customElements.define(a,J)}},ft=Object.defineProperty,Ze=s=>{let t=s.split(":");return t.length===1?[t[0],ht(t[0])]:t},Xe=globalThis.HTMLElement??Rt,Dt=class extends Xe{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#n({a:e.A}):e.B.then(async o=>{await e.K.p,t.#n(await(o.default?.then(n=>typeof n=="function"?{a:n}:n)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{It(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Lt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#n(t){let e=this.constructor,o=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);es(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ts,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ts([s,t]){this[s]=t}var es=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},t.hasAttribute=function(n){return e.hasAttribute.call(this.el,n)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends le{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=yt in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ct(void 0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=re(t,ss)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},ss=1e3,yt="autoDestroyDisabled";var ye=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var ge="important",os=" !"+ge,ns=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(os);o.includes("-")||r?e.setProperty(o,r?n.slice(0,-11):n,r?ge:""):e[o]=n}}return f}});var rs=$(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ue(s),t}});var ve=class s extends E{constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,o=e.N,n=e.K.o,r=s.prototype.shouldUpdate;t.#n=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=Rt,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Ut;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??j,i={attribute:o&1&&typeof t=="string"?ht(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let n=this.K,r=super.getPropertyDescriptor(t,e,o);return o.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,i))}}}static{this.lumina=!0}static{It(this)}#t;#e;#s;#n;#r;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(n=>{this.#n.reject(n),setTimeout(()=>{throw n})})):e&&this.requestUpdate()}#d(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,r=t??(o===Ut?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#i(){let t=this.el.G??Lt(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(W(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(n=>!n.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():p(n.hostLoaded,n);this.loaded?.(),this.#n.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#d(t):super.update(t)}listen(t,e,o){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,e,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#n.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var $e=s=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...s,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=o,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(s.defaultAssetPath),o};var Dn=s=>typeof s=="object"&&s!=null?ye(s):s;var Mt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(n){return e.#t.call(this,n)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},Ln=$(Mt);var Un=d;var Q=$e({defaultAssetPath:"https://jsdev.arcgis.com/5.2.0-next/coding-components/",hydratedAttribute:"hydrated"}),{customElement:jn,getAssetPath:Hn,setAssetPath:Vn}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{Ns as a,x as b,ct as c,se as d,xs as e,Ds as f,Ht as g,be as h,j as i,fs as j,f as k,d as l,He as m,ze as n,St as o,zs as p,Bs as q,Ws as r,Fs as s,qs as t,Gs as u,Ye as v,y as w,$ as x,g as y,Js as z,Ys as A,ue as B,Zs as C,Xs as D,lo as E,xt as F,ve as G,Dn as H,Un as I,Q as J,jn as K,Hn as L};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a,b}from"./FRKDR2KF.js";import"./XCISKBJD.js";import"./H6RQVSYM.js";export{a as conf,b as language};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import d from"./JFO2HVZ6.js";import c from"./N56B3UDM.js";import b from"./SXM2EQHN.js";import a from"./H5EGZU2S.js";import"./ZLV7T4YS.js";import"./MZMKV7FA.js";import"./C5WMGZYX.js";import"./J4I4EROF.js";import"./LEFE3FVL.js";import"./XEK22IDA.js";import"./NKGAHXNJ.js";import"./XWEX2VS6.js";import"./3G26WBEK.js";import"./O6XP7VU2.js";import"./BFPEJYVB.js";import"./XCISKBJD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,,{a:a,b:b,c:c}])=>{return{getSqlExprDiagnosticService:b,getSqlExprWorker:a,setupMode:c}},a,b,c,d)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as g}from"./6NBR3CBG.js";import{E as n,F as l,G as b,K as p,h as u,j as m}from"./N4JLGDFS.js";import"./C3LWMJ56.js";import"./TAVTDQ6S.js";var z=u`:host{--internal-border: var(--arcgis-coding-components-border, 1px solid var(--calcite-color-border-3));--internal-background-color: var(--arcgis-coding-components-background-color, var(--calcite-color-foreground-1));--internal-side-action-bar-max-w: var(--arcgis-coding-components-side-action-bar-max-w, 25%);--internal-code-editor-side-panel-w: var(--arcgis-coding-components-code-editor-side-panel-w, 600px);--internal-code-editor-side-panel-max-w: var(--arcgis-coding-components-code-editor-side-panel-max-w, 45%);--internal-code-editor-results-panel-max-h: var(--arcgis-coding-components-code-editor-results-panel-max-h, 50%);--internal-code-editor-results-panel-h: var(--arcgis-coding-components-code-editor-results-panel-h, 50%);--internal-code-editor-results-panel-bottom-drawer-controls-h: 0px;display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--internal-border);box-sizing:border-box;background-color:var(--internal-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.bottom-drawer{display:flex;flex:0 0 auto;flex-direction:column;overflow:hidden;position:relative;box-sizing:border-box;min-height:0}.bottom-drawer-resize-handle{display:none;position:absolute;inset-inline:0;inset-block-start:0;align-items:center;justify-content:center;block-size:var(--calcite-size-fixed-sm-plus);cursor:ns-resize;touch-action:none;user-select:none;z-index:var(--calcite-z-index-header);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);outline:none}.bottom-drawer-resize-handle-bar{display:flex;align-items:center;justify-content:center;inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transition:box-shadow .12s ease,color .12s ease,background-color .12s ease}.bottom-drawer-resize-handle-bar calcite-icon{color:inherit}}:host(:state(results-has-content)) .bottom-drawer{padding-block-start:var(--calcite-size-fixed-sm-plus);height:calc(var(--internal-code-editor-results-panel-h) + var(--internal-code-editor-results-panel-bottom-drawer-controls-h));max-height:calc(var(--internal-code-editor-results-panel-max-h) + var(--internal-code-editor-results-panel-bottom-drawer-controls-h))}:host(:state(results-has-content)) .bottom-drawer-resize-handle{display:flex}:host(:state(results-has-content)) .bottom-drawer-resize-handle:focus .bottom-drawer-resize-handle-bar{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host(:state(results-has-content)) .bottom-drawer-resize-handle:hover .bottom-drawer-resize-handle-bar,:host(:state(results-has-content)) .bottom-drawer-resize-handle .bottom-drawer-resize-handle-bar,:host(:state(is-resizing)) .bottom-drawer-resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}:host(:state(results-has-content)) slot[name=bottom-action-bar]::slotted(*){border-top:0}slot[name=top-action-bar]{flex:0 0 auto}slot[name=top-action-bar]::slotted(*){border-bottom:var(--internal-border)}slot[name=bottom-action-bar]{flex:0 0 auto}slot[name=bottom-action-bar]::slotted(*){border-top:var(--internal-border)}slot[name=side-panel]::slotted(*){max-width:var(--internal-code-editor-side-panel-max-w);width:var(--internal-code-editor-side-panel-w);border-inline-start:var(--internal-border);box-sizing:border-box;flex:1 0 auto}slot[name=side-panel]::slotted(.hidden){display:none}slot[name=editor]::slotted(*){flex:auto;min-height:0}slot[name=results-panel]{display:flex;flex:1 1 auto;overflow:hidden;min-height:0}slot[name=results-panel]::slotted(*){border-top:var(--internal-border);box-sizing:border-box;flex:1 1 auto;min-height:0}slot[name=side-action-bar]::slotted(*){max-width:var(--internal-side-action-bar-max-w);border-inline-start:var(--internal-border)}`,P=10,k=25,v=100,x="results-has-content",f="is-resizing",C="--arcgis-coding-components-code-editor-results-panel-max-h",s="--internal-code-editor-results-panel-h",a="--internal-code-editor-results-panel-max-h",i="--internal-code-editor-results-panel-bottom-drawer-controls-h",c=class extends b{static{this.styles=[z]}#e=void 0;#t=!1;#a=!1;#n=n();#h=n();#l=n();#r;#v=e=>{this.#e===e.pointerId&&this.#o()};load(){this.manager.onLifecycle(()=>(this.#r=new ResizeObserver(()=>{this.#t&&this.#i()}),this.updateComplete.then(()=>this.#g()),()=>{this.#o(),this.#r?.disconnect(),this.#r=void 0}))}#u(e){this.#e===e.pointerId&&this.#o()}#x(){this.#t&&this.#i(),this.#g()}#f(e){e.button!==0||!this.#t||(e.preventDefault(),e.currentTarget instanceof HTMLElement&&(e.currentTarget.focus(),e.currentTarget.setPointerCapture(e.pointerId)),this.#e=e.pointerId,this.#a=!0,this.elementInternals.states.add(f),this.#m(e))}#y(e){if(!this.#t)return;this.#i();let t=this.#k(e);t!=null&&(e.preventDefault(),e.stopPropagation(),this.#a=!0,this.#c(t))}#w(e){if(!e.target)return;let t=g(e);if(this.#t=t,t){this.elementInternals.states.add(x),this.#i();return}this.#o(),this.#a||this.#$(),this.elementInternals.states.delete(x)}#o(){let e=this.#e;if(!e)return;this.#e=void 0;let t=this.#h.value;t?.hasPointerCapture(e)&&t.releasePointerCapture(e),this.elementInternals.states.delete(f)}#m(e){if(this.#e!==e.pointerId)return;let t=this.#s(),r=this.el.getBoundingClientRect().bottom-e.clientY-t;this.#c(r,t)}#z(){let e=Number.parseFloat(this.el.style.getPropertyValue(s));if(Number.isFinite(e))return e;let t=Number.parseFloat(getComputedStyle(this.#n.value??this.el).height);return Number.isFinite(t)?Math.max(0,t-this.#s()):v}#b(){return this.el.querySelector(':scope > [slot="bottom-action-bar"]')}#s(){let e=this.#b()?.getBoundingClientRect().height??0,t=this.#l.value?.getBoundingClientRect().height??0;return e+t}#p(){return getComputedStyle(this.el).getPropertyValue(C).trim()||null}#d(e,t){t?this.el.style.setProperty(e,t):this.el.style.removeProperty(e)}#P(e){let t=this.#p();if(!t)return null;let r=Number.parseFloat(t);if(t.endsWith("px")&&Number.isFinite(r))return r;if(t.endsWith("%")&&Number.isFinite(r))return this.el.getBoundingClientRect().height*r/100;let o=this.#n.value;if(!o)return null;let d=this.el.style.getPropertyValue(i),y=this.el.style.getPropertyValue(s),w=this.el.style.getPropertyValue(a);this.el.style.setProperty(i,`${e}px`),this.el.style.setProperty(s,`${this.el.getBoundingClientRect().height}px`),this.el.style.setProperty(a,t);let h=Number.parseFloat(getComputedStyle(o).height);return this.#d(i,d),this.#d(s,y),this.#d(a,w),Number.isFinite(h)?Math.max(0,h-e):null}#g(){let e=this.#r;if(!e)return;e.disconnect(),e.observe(this.el);let t=this.#l.value;t&&e.observe(t);let r=this.#b();r&&e.observe(r)}#k(e){let t=e.shiftKey?k:P,r=this.#z();switch(e.key){case"ArrowUp":return r+t;case"ArrowDown":return r-t;default:return}}#C(e,t){let r=Math.max(0,this.el.getBoundingClientRect().height-t),o=this.#P(t),d=o==null?r:Math.min(r,o);return Math.min(Math.max(e,v),d)}#c(e,t=this.#s()){let r=this.#C(e,t),o=this.#p();this.el.style.setProperty(i,`${t}px`),this.el.style.setProperty(s,`${r}px`),this.el.style.setProperty(a,o??`calc(100% - ${t}px)`)}#$(){this.el.style.removeProperty(i),this.el.style.removeProperty(s),this.el.style.removeProperty(a)}#i(){let e=this.#s(),t=Number.parseFloat(this.el.style.getPropertyValue(s));return Number.isFinite(t)?this.#c(t,e):this.el.style.setProperty(i,`${e}px`),e}render(){return m`<slot name=top-action-bar></slot><div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><slot name=editor></slot><div class="bottom-drawer" ${l(this.#n)}><div aria-label="Resize results panel" aria-orientation=horizontal class="bottom-drawer-resize-handle" role=separator tabindex=0 @pointercancel=${this.#u} @pointerdown=${this.#f} @pointermove=${this.#m} @pointerup=${this.#u} @lostpointercapture=${this.#v} @keydown=${this.#y} ${l(this.#h)}><div class="bottom-drawer-resize-handle-bar" ${l(this.#l)}><calcite-icon icon=drag-resize-vertical scale=s></calcite-icon></div></div><slot name=bottom-action-bar @slotchange=${this.#x}></slot><slot name=results-panel @slotchange=${this.#w}></slot></div></div><slot name=side-panel></slot><slot name=side-action-bar></slot></div>`}};p("arcgis-code-editor-shell",c);export{c as CodeEditorShell};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as g}from"./J4I4EROF.js";import{E as n,F as l,G as b,K as p,h as u,j as m}from"./O6XP7VU2.js";import"./BFPEJYVB.js";import"./H6RQVSYM.js";var z=u`:host{--internal-border: var(--arcgis-coding-components-border, 1px solid var(--calcite-color-border-3));--internal-background-color: var(--arcgis-coding-components-background-color, var(--calcite-color-foreground-1));--internal-side-action-bar-max-w: var(--arcgis-coding-components-side-action-bar-max-w, 25%);--internal-code-editor-side-panel-w: var(--arcgis-coding-components-code-editor-side-panel-w, 600px);--internal-code-editor-side-panel-max-w: var(--arcgis-coding-components-code-editor-side-panel-max-w, 45%);--internal-code-editor-results-panel-max-h: var(--arcgis-coding-components-code-editor-results-panel-max-h, 50%);--internal-code-editor-results-panel-h: var(--arcgis-coding-components-code-editor-results-panel-h, 50%);--internal-code-editor-results-panel-bottom-drawer-controls-h: 0px;display:flex;flex-direction:column;position:relative;overflow:hidden;border:var(--internal-border);box-sizing:border-box;background-color:var(--internal-background-color);height:100%;.flex-adjustable{flex:1 1 auto;overflow:hidden}.flex-row{display:flex;flex-direction:row;overflow:hidden}.flex-column{display:flex;flex-direction:column;overflow:hidden}.bottom-drawer{display:flex;flex:0 0 auto;flex-direction:column;overflow:hidden;position:relative;box-sizing:border-box;min-height:0}.bottom-drawer-resize-handle{display:none;position:absolute;inset-inline:0;inset-block-start:0;align-items:center;justify-content:center;block-size:var(--calcite-size-fixed-sm-plus);cursor:ns-resize;touch-action:none;user-select:none;z-index:var(--calcite-z-index-header);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);outline:none}.bottom-drawer-resize-handle-bar{display:flex;align-items:center;justify-content:center;inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);transition:box-shadow .12s ease,color .12s ease,background-color .12s ease}.bottom-drawer-resize-handle-bar calcite-icon{color:inherit}}:host(:state(results-has-content)) .bottom-drawer{padding-block-start:var(--calcite-size-fixed-sm-plus);height:calc(var(--internal-code-editor-results-panel-h) + var(--internal-code-editor-results-panel-bottom-drawer-controls-h));max-height:calc(var(--internal-code-editor-results-panel-max-h) + var(--internal-code-editor-results-panel-bottom-drawer-controls-h))}:host(:state(results-has-content)) .bottom-drawer-resize-handle{display:flex}:host(:state(results-has-content)) .bottom-drawer-resize-handle:focus .bottom-drawer-resize-handle-bar{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host(:state(results-has-content)) .bottom-drawer-resize-handle:hover .bottom-drawer-resize-handle-bar,:host(:state(results-has-content)) .bottom-drawer-resize-handle .bottom-drawer-resize-handle-bar,:host(:state(is-resizing)) .bottom-drawer-resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}:host(:state(results-has-content)) slot[name=bottom-action-bar]::slotted(*){border-top:0}slot[name=top-action-bar]{flex:0 0 auto}slot[name=top-action-bar]::slotted(*){border-bottom:var(--internal-border)}slot[name=bottom-action-bar]{flex:0 0 auto}slot[name=bottom-action-bar]::slotted(*){border-top:var(--internal-border)}slot[name=side-panel]::slotted(*){max-width:var(--internal-code-editor-side-panel-max-w);width:var(--internal-code-editor-side-panel-w);border-inline-start:var(--internal-border);box-sizing:border-box;flex:1 0 auto}slot[name=side-panel]::slotted(.hidden){display:none}slot[name=editor]::slotted(*){flex:auto;min-height:0}slot[name=results-panel]{display:flex;flex:1 1 auto;overflow:hidden;min-height:0}slot[name=results-panel]::slotted(*){border-top:var(--internal-border);box-sizing:border-box;flex:1 1 auto;min-height:0}slot[name=side-action-bar]::slotted(*){max-width:var(--internal-side-action-bar-max-w);border-inline-start:var(--internal-border)}`,P=10,k=25,v=100,x="results-has-content",f="is-resizing",C="--arcgis-coding-components-code-editor-results-panel-max-h",s="--internal-code-editor-results-panel-h",a="--internal-code-editor-results-panel-max-h",i="--internal-code-editor-results-panel-bottom-drawer-controls-h",c=class extends b{static{this.styles=[z]}#e=void 0;#t=!1;#a=!1;#n=n();#h=n();#l=n();#r;#v=e=>{this.#e===e.pointerId&&this.#o()};load(){this.manager.onLifecycle(()=>(this.#r=new ResizeObserver(()=>{this.#t&&this.#i()}),this.updateComplete.then(()=>this.#g()),()=>{this.#o(),this.#r?.disconnect(),this.#r=void 0}))}#u(e){this.#e===e.pointerId&&this.#o()}#x(){this.#t&&this.#i(),this.#g()}#f(e){e.button!==0||!this.#t||(e.preventDefault(),e.currentTarget instanceof HTMLElement&&(e.currentTarget.focus(),e.currentTarget.setPointerCapture(e.pointerId)),this.#e=e.pointerId,this.#a=!0,this.elementInternals.states.add(f),this.#m(e))}#y(e){if(!this.#t)return;this.#i();let t=this.#k(e);t!=null&&(e.preventDefault(),e.stopPropagation(),this.#a=!0,this.#c(t))}#w(e){if(!e.target)return;let t=g(e);if(this.#t=t,t){this.elementInternals.states.add(x),this.#i();return}this.#o(),this.#a||this.#$(),this.elementInternals.states.delete(x)}#o(){let e=this.#e;if(!e)return;this.#e=void 0;let t=this.#h.value;t?.hasPointerCapture(e)&&t.releasePointerCapture(e),this.elementInternals.states.delete(f)}#m(e){if(this.#e!==e.pointerId)return;let t=this.#s(),r=this.el.getBoundingClientRect().bottom-e.clientY-t;this.#c(r,t)}#z(){let e=Number.parseFloat(this.el.style.getPropertyValue(s));if(Number.isFinite(e))return e;let t=Number.parseFloat(getComputedStyle(this.#n.value??this.el).height);return Number.isFinite(t)?Math.max(0,t-this.#s()):v}#b(){return this.el.querySelector(':scope > [slot="bottom-action-bar"]')}#s(){let e=this.#b()?.getBoundingClientRect().height??0,t=this.#l.value?.getBoundingClientRect().height??0;return e+t}#p(){return getComputedStyle(this.el).getPropertyValue(C).trim()||null}#d(e,t){t?this.el.style.setProperty(e,t):this.el.style.removeProperty(e)}#P(e){let t=this.#p();if(!t)return null;let r=Number.parseFloat(t);if(t.endsWith("px")&&Number.isFinite(r))return r;if(t.endsWith("%")&&Number.isFinite(r))return this.el.getBoundingClientRect().height*r/100;let o=this.#n.value;if(!o)return null;let d=this.el.style.getPropertyValue(i),y=this.el.style.getPropertyValue(s),w=this.el.style.getPropertyValue(a);this.el.style.setProperty(i,`${e}px`),this.el.style.setProperty(s,`${this.el.getBoundingClientRect().height}px`),this.el.style.setProperty(a,t);let h=Number.parseFloat(getComputedStyle(o).height);return this.#d(i,d),this.#d(s,y),this.#d(a,w),Number.isFinite(h)?Math.max(0,h-e):null}#g(){let e=this.#r;if(!e)return;e.disconnect(),e.observe(this.el);let t=this.#l.value;t&&e.observe(t);let r=this.#b();r&&e.observe(r)}#k(e){let t=e.shiftKey?k:P,r=this.#z();switch(e.key){case"ArrowUp":return r+t;case"ArrowDown":return r-t;default:return}}#C(e,t){let r=Math.max(0,this.el.getBoundingClientRect().height-t),o=this.#P(t),d=o==null?r:Math.min(r,o);return Math.min(Math.max(e,v),d)}#c(e,t=this.#s()){let r=this.#C(e,t),o=this.#p();this.el.style.setProperty(i,`${t}px`),this.el.style.setProperty(s,`${r}px`),this.el.style.setProperty(a,o??`calc(100% - ${t}px)`)}#$(){this.el.style.removeProperty(i),this.el.style.removeProperty(s),this.el.style.removeProperty(a)}#i(){let e=this.#s(),t=Number.parseFloat(this.el.style.getPropertyValue(s));return Number.isFinite(t)?this.#c(t,e):this.el.style.setProperty(i,`${e}px`),e}render(){return m`<slot name=top-action-bar></slot><div class="flex-row flex-adjustable"><div class="flex-column flex-adjustable"><slot name=editor></slot><div class="bottom-drawer" ${l(this.#n)}><div aria-label="Resize results panel" aria-orientation=horizontal class="bottom-drawer-resize-handle" role=separator tabindex=0 @pointercancel=${this.#u} @pointerdown=${this.#f} @pointermove=${this.#m} @pointerup=${this.#u} @lostpointercapture=${this.#v} @keydown=${this.#y} ${l(this.#h)}><div class="bottom-drawer-resize-handle-bar" ${l(this.#l)}><calcite-icon icon=drag-resize-vertical scale=s></calcite-icon></div></div><slot name=bottom-action-bar @slotchange=${this.#x}></slot><slot name=results-panel @slotchange=${this.#w}></slot></div></div><slot name=side-panel></slot><slot name=side-action-bar></slot></div>`}};p("arcgis-code-editor-shell",c);export{c as CodeEditorShell};