useblocks 1.0.97 → 1.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.578ebd67e31ef84e27b6.html +1 -0
- package/iframe/iframe.578ebd67e31ef84e27b6.html +1 -0
- package/iframe/js/330.6029435a.js +1 -0
- package/iframe/js/{826.1a65e74f.js.LICENSE.txt → 330.6029435a.js.LICENSE.txt} +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/translations.pot +267 -250
- package/asset-manifest.json +0 -166
- package/css.worker.js +0 -2
- package/css.worker.js.LICENSE.txt +0 -6
- package/editor.worker.js +0 -1
- package/html.worker.js +0 -2
- package/html.worker.js.LICENSE.txt +0 -14
- package/iframe/iframe-eblock.9ba2e4fe0d95678a9bad.html +0 -1
- package/iframe/iframe.9ba2e4fe0d95678a9bad.html +0 -1
- package/iframe/js/826.1a65e74f.js +0 -1
- package/plugin.html +0 -294
- package/plugin_blocks_test.html +0 -144
- package/plugin_default.html +0 -56
- package/plugin_idigital.html +0 -254
- package/plugin_nota.html +0 -861
- package/plugin_s.html +0 -31
- package/static/css/57.3f9e7de8.chunk.css +0 -1
- package/static/css/578.fe5765dd.chunk.css +0 -1
- package/static/css/6501.e131603e.chunk.css +0 -1
- package/static/css/6798.4dd1ea5d.chunk.css +0 -1
- package/static/css/8084.15f07f40.chunk.css +0 -1
- package/static/js/1538.7a45fa30.chunk.js +0 -2
- package/static/js/1538.7a45fa30.chunk.js.LICENSE.txt +0 -23
- package/static/js/1729.a0be903e.chunk.js +0 -1
- package/static/js/1880.a21db601.chunk.js +0 -1
- package/static/js/251.5cce1b24.js +0 -2
- package/static/js/251.5cce1b24.js.LICENSE.txt +0 -11
- package/static/js/2642.b60a63f6.chunk.js +0 -1
- package/static/js/2722.d7c999d9.js +0 -2
- package/static/js/2722.d7c999d9.js.LICENSE.txt +0 -38
- package/static/js/3017.fb727b48.chunk.js +0 -1
- package/static/js/3019.aaa6d087.chunk.js +0 -2
- package/static/js/3019.aaa6d087.chunk.js.LICENSE.txt +0 -6
- package/static/js/3085.b9d27236.chunk.js +0 -2
- package/static/js/3085.b9d27236.chunk.js.LICENSE.txt +0 -54
- package/static/js/4309.ae8e4ad0.chunk.js +0 -1
- package/static/js/4972.264e4569.js +0 -1
- package/static/js/5346.78ea8df2.chunk.js +0 -2
- package/static/js/5346.78ea8df2.chunk.js.LICENSE.txt +0 -6
- package/static/js/57.f116a039.chunk.js +0 -1
- package/static/js/578.cd6fd49f.chunk.js +0 -2
- package/static/js/578.cd6fd49f.chunk.js.LICENSE.txt +0 -6
- package/static/js/6144.a3bf0881.chunk.js +0 -2
- package/static/js/6144.a3bf0881.chunk.js.LICENSE.txt +0 -6
- package/static/js/6419.16951b0a.js +0 -2
- package/static/js/6419.16951b0a.js.LICENSE.txt +0 -1
- package/static/js/6483.5ce4be3d.js +0 -2
- package/static/js/6483.5ce4be3d.js.LICENSE.txt +0 -59
- package/static/js/6501.2d81fff4.chunk.js +0 -1
- package/static/js/6774.d6dae3aa.js +0 -2
- package/static/js/6774.d6dae3aa.js.LICENSE.txt +0 -39
- package/static/js/6798.1f7dcce5.chunk.js +0 -2
- package/static/js/6798.1f7dcce5.chunk.js.LICENSE.txt +0 -39
- package/static/js/6819.85c72c79.chunk.js +0 -2
- package/static/js/6819.85c72c79.chunk.js.LICENSE.txt +0 -6
- package/static/js/6957.5082b810.chunk.js +0 -1
- package/static/js/7348.650581da.js +0 -2
- package/static/js/7348.650581da.js.LICENSE.txt +0 -21
- package/static/js/7463.69864ff5.chunk.js +0 -2
- package/static/js/7463.69864ff5.chunk.js.LICENSE.txt +0 -6
- package/static/js/8084.5abf4dd7.chunk.js +0 -1
- package/static/js/8473.54e12d36.chunk.js +0 -2
- package/static/js/8473.54e12d36.chunk.js.LICENSE.txt +0 -101
- package/static/js/8521.a1623fc2.chunk.js +0 -2
- package/static/js/8521.a1623fc2.chunk.js.LICENSE.txt +0 -6
- package/static/js/9644.1ae95bb7.chunk.js +0 -2
- package/static/js/9644.1ae95bb7.chunk.js.LICENSE.txt +0 -6
- package/static/js/9950.83bd61e8.js +0 -1
- package/static/js/9960.218c70ae.chunk.js +0 -2
- package/static/js/9960.218c70ae.chunk.js.LICENSE.txt +0 -30
- package/static/js/ant-locale/locale-ar_EG-js.a1f4a2ee.chunk.js +0 -1
- package/static/js/ant-locale/locale-az_AZ-js.1b3f2ec6.chunk.js +0 -1
- package/static/js/ant-locale/locale-bg_BG-js.2f68d816.chunk.js +0 -1
- package/static/js/ant-locale/locale-bn_BD-js.38ca14cb.chunk.js +0 -1
- package/static/js/ant-locale/locale-by_BY-js.927570db.chunk.js +0 -1
- package/static/js/ant-locale/locale-ca_ES-js.e4bdfa2b.chunk.js +0 -1
- package/static/js/ant-locale/locale-cs_CZ-js.f1151015.chunk.js +0 -1
- package/static/js/ant-locale/locale-da_DK-js.33e12cfb.chunk.js +0 -1
- package/static/js/ant-locale/locale-de_DE-js.42497042.chunk.js +0 -1
- package/static/js/ant-locale/locale-el_GR-js.007d40b4.chunk.js +0 -1
- package/static/js/ant-locale/locale-en_GB-js.6756ba01.chunk.js +0 -1
- package/static/js/ant-locale/locale-es_ES-js.43424efe.chunk.js +0 -1
- package/static/js/ant-locale/locale-et_EE-js.3694348e.chunk.js +0 -1
- package/static/js/ant-locale/locale-eu_ES-js.e2678a29.chunk.js +0 -1
- package/static/js/ant-locale/locale-fa_IR-js.3b6bfddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-fi_FI-js.8e749864.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_BE-js.2aec36ca.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_CA-js.ba00ca3a.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_FR-js.1e6d0a10.chunk.js +0 -1
- package/static/js/ant-locale/locale-ga_IE-js.cc1f0f56.chunk.js +0 -1
- package/static/js/ant-locale/locale-gl_ES-js.c1588dec.chunk.js +0 -1
- package/static/js/ant-locale/locale-he_IL-js.1be3257a.chunk.js +0 -1
- package/static/js/ant-locale/locale-hi_IN-js.8e3ea1dc.chunk.js +0 -1
- package/static/js/ant-locale/locale-hr_HR-js.94001d08.chunk.js +0 -1
- package/static/js/ant-locale/locale-hu_HU-js.50a3ffc6.chunk.js +0 -1
- package/static/js/ant-locale/locale-hy_AM-js.6b20bceb.chunk.js +0 -1
- package/static/js/ant-locale/locale-id_ID-js.b380cc8b.chunk.js +0 -1
- package/static/js/ant-locale/locale-is_IS-js.995979c0.chunk.js +0 -1
- package/static/js/ant-locale/locale-it_IT-js.46a8ce6d.chunk.js +0 -1
- package/static/js/ant-locale/locale-ja_JP-js.69f9da33.chunk.js +0 -1
- package/static/js/ant-locale/locale-ka_GE-js.8b08646c.chunk.js +0 -1
- package/static/js/ant-locale/locale-kk_KZ-js.a1cc2ddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-km_KH-js.09c630f9.chunk.js +0 -1
- package/static/js/ant-locale/locale-kmr_IQ-js.c25f3afa.chunk.js +0 -1
- package/static/js/ant-locale/locale-kn_IN-js.40066823.chunk.js +0 -1
- package/static/js/ant-locale/locale-ko_KR-js.68047848.chunk.js +0 -1
- package/static/js/ant-locale/locale-ku_IQ-js.594553b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-lt_LT-js.08ac662b.chunk.js +0 -1
- package/static/js/ant-locale/locale-lv_LV-js.2a33af61.chunk.js +0 -1
- package/static/js/ant-locale/locale-mk_MK-js.caa088c9.chunk.js +0 -1
- package/static/js/ant-locale/locale-ml_IN-js.3aa233eb.chunk.js +0 -1
- package/static/js/ant-locale/locale-mn_MN-js.2550caa5.chunk.js +0 -1
- package/static/js/ant-locale/locale-ms_MY-js.924bfbf0.chunk.js +0 -1
- package/static/js/ant-locale/locale-my_MM-js.bc3805ae.chunk.js +0 -1
- package/static/js/ant-locale/locale-nb_NO-js.471cc88a.chunk.js +0 -1
- package/static/js/ant-locale/locale-ne_NP-js.52b65a1a.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_BE-js.2af0a7fe.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_NL-js.453457a0.chunk.js +0 -1
- package/static/js/ant-locale/locale-pl_PL-js.1e4b27da.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_BR-js.75dc6403.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_PT-js.b07438c3.chunk.js +0 -1
- package/static/js/ant-locale/locale-ro_RO-js.4a05dc9d.chunk.js +0 -1
- package/static/js/ant-locale/locale-ru_RU-js.a1cd5bb3.chunk.js +0 -1
- package/static/js/ant-locale/locale-si_LK-js.3b54f4c4.chunk.js +0 -1
- package/static/js/ant-locale/locale-sk_SK-js.cd76b6b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-sl_SI-js.8afbce30.chunk.js +0 -1
- package/static/js/ant-locale/locale-sr_RS-js.0708405f.chunk.js +0 -1
- package/static/js/ant-locale/locale-sv_SE-js.9f47a065.chunk.js +0 -1
- package/static/js/ant-locale/locale-ta_IN-js.3b46361c.chunk.js +0 -1
- package/static/js/ant-locale/locale-th_TH-js.83e732d3.chunk.js +0 -1
- package/static/js/ant-locale/locale-tk_TK-js.63d0b187.chunk.js +0 -1
- package/static/js/ant-locale/locale-tr_TR-js.b5e42917.chunk.js +0 -1
- package/static/js/ant-locale/locale-uk_UA-js.ef0d8c8e.chunk.js +0 -1
- package/static/js/ant-locale/locale-ur_PK-js.904c3e1c.chunk.js +0 -1
- package/static/js/ant-locale/locale-vi_VN-js.f0324229.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_CN-js.428a6bc7.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_HK-js.0feb368f.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js +0 -1
- package/static/js/mergeTags/locale0.594765fd.chunk.js +0 -1
- package/static/js/mergeTags/locale1.7a79e21e.chunk.js +0 -1
- package/static/js/useblocks_core.2e4321bc.js +0 -2
- package/static/js/useblocks_core.2e4321bc.js.LICENSE.txt +0 -23
- package/static/media/ai-image.7c42c2e12001ebf31881.png +0 -0
- package/static/media/codicon.f13d28f3e470ec5c0896.ttf +0 -0
- package/static/media/empty-image.1827d6561f3c4042dfb3.png +0 -0
- package/static/media/fb.ff10384394f8044ec889.png +0 -0
- package/static/media/frame_dark.318d7ed53535d80662dc.png +0 -0
- package/static/media/frame_light.22a9b4ec728365d8193f.png +0 -0
- package/static/media/frame_template_gallery.85693b3950e7689fb3a5.png +0 -0
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
- package/static/media/icon-menu-block-welcome.1c534a003522feadd2e7.png +0 -0
- package/static/media/ig.47a89992b4bec92d4364.png +0 -0
- package/static/media/pi.d992c693bb1aa899ab66.png +0 -0
- package/static/media/project-email-back-dark.9916625a9a714830b770.svg +0 -29
- package/static/media/project-email-back.0ce470def19ce7c063e0.svg +0 -29
- package/static/media/sign_up_01.333271584216122b89ba.png +0 -0
- package/static/media/sign_up_01_blocks.5538cfdb90d4869794dc.png +0 -0
- package/static/media/sign_up_02.d99d2aa6bf1ea74f01fa.png +0 -0
- package/static/media/sign_up_02_blocks.837fc2c9a9461fda13be.png +0 -0
- package/static/media/sign_up_03.5545ffad60a2cb5e0336.png +0 -0
- package/static/media/sign_up_03_blocks.126601f7a6fbea4b6c54.png +0 -0
- package/static/media/sign_up_04.398a4ca50d5f5b3cd837.png +0 -0
- package/static/media/sign_up_04_blocks.255c5c07b23cbcc256fd.png +0 -0
- package/static/media/sign_up_05.4c58df1be2edaa79d52b.png +0 -0
- package/static/media/sign_up_05_blocks.431b6844fdf3e14642c2.png +0 -0
- package/static/media/tg.10f004529a98df9732b9.png +0 -0
- package/static/media/tt.13446917f0122329816e.png +0 -0
- package/static/media/tw.823a7736ac2d82815c71.png +0 -0
- package/static/media/video.854adea50295d0a3f7ae.png +0 -0
- package/static/media/yt.4ac57e55d158b40c7fc1.png +0 -0
- package/useblocks-esm.js +0 -1
- package/useblocks.d.ts +0 -1826
- package/useblocks.js +0 -1
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
-
|
|
12
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
-
and limitations under the License.
|
|
14
|
-
***************************************************************************** */
|
|
15
|
-
|
|
16
|
-
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @license
|
|
20
|
-
* Lodash <https://lodash.com/>
|
|
21
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
22
|
-
* Released under MIT license <https://lodash.com/license>
|
|
23
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
24
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @license React
|
|
29
|
-
* react-jsx-runtime.production.min.js
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the MIT license found in the
|
|
34
|
-
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @license React
|
|
39
|
-
* use-sync-external-store-shim.production.min.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @license React
|
|
49
|
-
* use-sync-external-store-shim/with-selector.production.min.js
|
|
50
|
-
*
|
|
51
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the MIT license found in the
|
|
54
|
-
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @remix-run/router v1.0.1
|
|
59
|
-
*
|
|
60
|
-
* Copyright (c) Remix Software Inc.
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the MIT license found in the
|
|
63
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
64
|
-
*
|
|
65
|
-
* @license MIT
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* React Router DOM v6.4.1
|
|
70
|
-
*
|
|
71
|
-
* Copyright (c) Remix Software Inc.
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the MIT license found in the
|
|
74
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
75
|
-
*
|
|
76
|
-
* @license MIT
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* react-virtual
|
|
81
|
-
*
|
|
82
|
-
* Copyright (c) TanStack
|
|
83
|
-
*
|
|
84
|
-
* This source code is licensed under the MIT license found in the
|
|
85
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
86
|
-
*
|
|
87
|
-
* @license MIT
|
|
88
|
-
*/
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* virtual-core
|
|
92
|
-
*
|
|
93
|
-
* Copyright (c) TanStack
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the MIT license found in the
|
|
96
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
97
|
-
*
|
|
98
|
-
* @license MIT
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/** */
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 8521.a1623fc2.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[8521],{80902:(e,t,n)=>{n.r(t),n.d(t,{CloseTagAdapter:()=>Ut,CompletionAdapter:()=>lt,DefinitionAdapter:()=>wt,DiagnosticsAdapter:()=>ut,DocumentColorAdapter:()=>Ot,DocumentFormattingEditProvider:()=>Tt,DocumentHighlightAdapter:()=>Ct,DocumentLinkAdapter:()=>St,DocumentRangeFormattingEditProvider:()=>Rt,DocumentSymbolAdapter:()=>It,FoldingRangeAdapter:()=>Lt,HoverAdapter:()=>vt,ReferenceAdapter:()=>yt,RenameAdapter:()=>xt,SelectionRangeAdapter:()=>jt,SignatureHelpAdapter:()=>Nt,WorkerManager:()=>se,fromPosition:()=>gt,fromRange:()=>ht,setupMode:()=>gn,toRange:()=>ft,toTextEdit:()=>mt});var r,i,o=n(21551),a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let i of c(t))u.call(e,i)||i===n||a(e,i,{get:()=>t[i],enumerable:!(r=s(t,i))||r.enumerable});return e},l={};d(l,r=o,"default"),i&&d(i,r,"default");var g,h,f,p,m,v,k,_,C,b,w,E,y,x,I,A,S,T,R,D,O,L,F,P,M,j,N,U,W,B,V,K,H,z,q,X,Q,G,J,Y,Z,$,ee,te,ne,re,ie,oe,ae,se=class{_defaults;_idleCheckInterval;_lastUsedTime;_configChangeListener;_worker;_client;constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval((()=>this._checkIfIdle()),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((()=>this._stopWorker()))}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>12e4&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=l.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then((e=>{t=e})).then((t=>{if(this._worker)return this._worker.withSyncedResources(e)})).then((e=>t))}};(h=g||(g={})).MIN_VALUE=-2147483648,h.MAX_VALUE=2147483647,(p=f||(f={})).MIN_VALUE=0,p.MAX_VALUE=2147483647,(v=m||(m={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=f.MAX_VALUE),t===Number.MAX_VALUE&&(t=f.MAX_VALUE),{line:e,character:t}},v.is=function(e){var t=e;return st.objectLiteral(t)&&st.uinteger(t.line)&&st.uinteger(t.character)},(_=k||(k={})).create=function(e,t,n,r){if(st.uinteger(e)&&st.uinteger(t)&&st.uinteger(n)&&st.uinteger(r))return{start:m.create(e,t),end:m.create(n,r)};if(m.is(e)&&m.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},_.is=function(e){var t=e;return st.objectLiteral(t)&&m.is(t.start)&&m.is(t.end)},(b=C||(C={})).create=function(e,t){return{uri:e,range:t}},b.is=function(e){var t=e;return st.defined(t)&&k.is(t.range)&&(st.string(t.uri)||st.undefined(t.uri))},(E=w||(w={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},E.is=function(e){var t=e;return st.defined(t)&&k.is(t.targetRange)&&st.string(t.targetUri)&&(k.is(t.targetSelectionRange)||st.undefined(t.targetSelectionRange))&&(k.is(t.originSelectionRange)||st.undefined(t.originSelectionRange))},(x=y||(y={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},x.is=function(e){var t=e;return st.numberRange(t.red,0,1)&&st.numberRange(t.green,0,1)&&st.numberRange(t.blue,0,1)&&st.numberRange(t.alpha,0,1)},(A=I||(I={})).create=function(e,t){return{range:e,color:t}},A.is=function(e){var t=e;return k.is(t.range)&&y.is(t.color)},(T=S||(S={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},T.is=function(e){var t=e;return st.string(t.label)&&(st.undefined(t.textEdit)||z.is(t))&&(st.undefined(t.additionalTextEdits)||st.typedArray(t.additionalTextEdits,z.is))},(D=R||(R={})).Comment="comment",D.Imports="imports",D.Region="region",(L=O||(O={})).create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return st.defined(n)&&(o.startCharacter=n),st.defined(r)&&(o.endCharacter=r),st.defined(i)&&(o.kind=i),o},L.is=function(e){var t=e;return st.uinteger(t.startLine)&&st.uinteger(t.startLine)&&(st.undefined(t.startCharacter)||st.uinteger(t.startCharacter))&&(st.undefined(t.endCharacter)||st.uinteger(t.endCharacter))&&(st.undefined(t.kind)||st.string(t.kind))},(P=F||(F={})).create=function(e,t){return{location:e,message:t}},P.is=function(e){var t=e;return st.defined(t)&&C.is(t.location)&&st.string(t.message)},(j=M||(M={})).Error=1,j.Warning=2,j.Information=3,j.Hint=4,(U=N||(N={})).Unnecessary=1,U.Deprecated=2,(W||(W={})).is=function(e){var t=e;return void 0!==t&&null!==t&&st.string(t.href)},(V=B||(B={})).create=function(e,t,n,r,i,o){var a={range:e,message:t};return st.defined(n)&&(a.severity=n),st.defined(r)&&(a.code=r),st.defined(i)&&(a.source=i),st.defined(o)&&(a.relatedInformation=o),a},V.is=function(e){var t,n=e;return st.defined(n)&&k.is(n.range)&&st.string(n.message)&&(st.number(n.severity)||st.undefined(n.severity))&&(st.integer(n.code)||st.string(n.code)||st.undefined(n.code))&&(st.undefined(n.codeDescription)||st.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(st.string(n.source)||st.undefined(n.source))&&(st.undefined(n.relatedInformation)||st.typedArray(n.relatedInformation,F.is))},(H=K||(K={})).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return st.defined(n)&&n.length>0&&(i.arguments=n),i},H.is=function(e){var t=e;return st.defined(t)&&st.string(t.title)&&st.string(t.command)},(q=z||(z={})).replace=function(e,t){return{range:e,newText:t}},q.insert=function(e,t){return{range:{start:e,end:e},newText:t}},q.del=function(e){return{range:e,newText:""}},q.is=function(e){var t=e;return st.objectLiteral(t)&&st.string(t.newText)&&k.is(t.range)},(Q=X||(X={})).create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},Q.is=function(e){var t=e;return void 0!==t&&st.objectLiteral(t)&&st.string(t.label)&&(st.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(st.string(t.description)||void 0===t.description)},(G||(G={})).is=function(e){return"string"===typeof e},(Y=J||(J={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},Y.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},Y.del=function(e,t){return{range:e,newText:"",annotationId:t}},Y.is=function(e){var t=e;return z.is(t)&&(X.is(t.annotationId)||G.is(t.annotationId))},($=Z||(Z={})).create=function(e,t){return{textDocument:e,edits:t}},$.is=function(e){var t=e;return st.defined(t)&&ge.is(t.textDocument)&&Array.isArray(t.edits)},(te=ee||(ee={})).create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},te.is=function(e){var t=e;return t&&"create"===t.kind&&st.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||st.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||st.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||G.is(t.annotationId))},(re=ne||(ne={})).create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},re.is=function(e){var t=e;return t&&"rename"===t.kind&&st.string(t.oldUri)&&st.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||st.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||st.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||G.is(t.annotationId))},(oe=ie||(ie={})).create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},oe.is=function(e){var t=e;return t&&"delete"===t.kind&&st.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||st.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||st.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||G.is(t.annotationId))},(ae||(ae={})).is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return st.string(e.kind)?ee.is(e)||ne.is(e)||ie.is(e):Z.is(e)})))};var ce,ue,de,le,ge,he,fe,pe,me,ve,ke,_e,Ce,be,we,Ee,ye,xe,Ie,Ae,Se,Te,Re,De,Oe,Le,Fe,Pe,Me,je,Ne,Ue,We,Be,Ve,Ke,He,ze,qe,Xe,Qe,Ge,Je,Ye,Ze,$e,et,tt,nt,rt,it,ot=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=z.insert(e,t):G.is(n)?(i=n,r=J.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=J.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=z.replace(e,t):G.is(n)?(i=n,r=J.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=J.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=z.del(e):G.is(t)?(r=t,n=J.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=J.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),at=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(G.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new at(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(Z.is(e)){var n=new ot(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new ot(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(ge.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new ot(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new ot(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new at,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(X.is(t)||G.is(t)?r=t:n=t,void 0===r?i=ee.create(e,n):(o=G.is(r)?r:this._changeAnnotations.manage(r),i=ee.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,a;if(X.is(n)||G.is(n)?i=n:r=n,void 0===i?o=ne.create(e,t,r):(a=G.is(i)?i:this._changeAnnotations.manage(i),o=ne.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(X.is(t)||G.is(t)?r=t:n=t,void 0===r?i=ie.create(e,n):(o=G.is(r)?r:this._changeAnnotations.manage(r),i=ie.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o}}();(ue=ce||(ce={})).create=function(e){return{uri:e}},ue.is=function(e){var t=e;return st.defined(t)&&st.string(t.uri)},(le=de||(de={})).create=function(e,t){return{uri:e,version:t}},le.is=function(e){var t=e;return st.defined(t)&&st.string(t.uri)&&st.integer(t.version)},(he=ge||(ge={})).create=function(e,t){return{uri:e,version:t}},he.is=function(e){var t=e;return st.defined(t)&&st.string(t.uri)&&(null===t.version||st.integer(t.version))},(pe=fe||(fe={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},pe.is=function(e){var t=e;return st.defined(t)&&st.string(t.uri)&&st.string(t.languageId)&&st.integer(t.version)&&st.string(t.text)},(ve=me||(me={})).PlainText="plaintext",ve.Markdown="markdown",function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(me||(me={})),(ke||(ke={})).is=function(e){var t=e;return st.objectLiteral(e)&&me.is(t.kind)&&st.string(t.value)},(Ce=_e||(_e={})).Text=1,Ce.Method=2,Ce.Function=3,Ce.Constructor=4,Ce.Field=5,Ce.Variable=6,Ce.Class=7,Ce.Interface=8,Ce.Module=9,Ce.Property=10,Ce.Unit=11,Ce.Value=12,Ce.Enum=13,Ce.Keyword=14,Ce.Snippet=15,Ce.Color=16,Ce.File=17,Ce.Reference=18,Ce.Folder=19,Ce.EnumMember=20,Ce.Constant=21,Ce.Struct=22,Ce.Event=23,Ce.Operator=24,Ce.TypeParameter=25,(we=be||(be={})).PlainText=1,we.Snippet=2,(Ee||(Ee={})).Deprecated=1,(xe=ye||(ye={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},xe.is=function(e){var t=e;return t&&st.string(t.newText)&&k.is(t.insert)&&k.is(t.replace)},(Ae=Ie||(Ie={})).asIs=1,Ae.adjustIndentation=2,(Se||(Se={})).create=function(e){return{label:e}},(Te||(Te={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(De=Re||(Re={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},De.is=function(e){var t=e;return st.string(t)||st.objectLiteral(t)&&st.string(t.language)&&st.string(t.value)},(Oe||(Oe={})).is=function(e){var t=e;return!!t&&st.objectLiteral(t)&&(ke.is(t.contents)||Re.is(t.contents)||st.typedArray(t.contents,Re.is))&&(void 0===e.range||k.is(e.range))},(Le||(Le={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(Fe||(Fe={})).create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return st.defined(t)&&(i.documentation=t),st.defined(n)?i.parameters=n:i.parameters=[],i},(Me=Pe||(Pe={})).Text=1,Me.Read=2,Me.Write=3,(je||(je={})).create=function(e,t){var n={range:e};return st.number(t)&&(n.kind=t),n},(Ue=Ne||(Ne={})).File=1,Ue.Module=2,Ue.Namespace=3,Ue.Package=4,Ue.Class=5,Ue.Method=6,Ue.Property=7,Ue.Field=8,Ue.Constructor=9,Ue.Enum=10,Ue.Interface=11,Ue.Function=12,Ue.Variable=13,Ue.Constant=14,Ue.String=15,Ue.Number=16,Ue.Boolean=17,Ue.Array=18,Ue.Object=19,Ue.Key=20,Ue.Null=21,Ue.EnumMember=22,Ue.Struct=23,Ue.Event=24,Ue.Operator=25,Ue.TypeParameter=26,(We||(We={})).Deprecated=1,(Be||(Be={})).create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o},(Ke=Ve||(Ve={})).create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},Ke.is=function(e){var t=e;return t&&st.string(t.name)&&st.number(t.kind)&&k.is(t.range)&&k.is(t.selectionRange)&&(void 0===t.detail||st.string(t.detail))&&(void 0===t.deprecated||st.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},(ze=He||(He={})).Empty="",ze.QuickFix="quickfix",ze.Refactor="refactor",ze.RefactorExtract="refactor.extract",ze.RefactorInline="refactor.inline",ze.RefactorRewrite="refactor.rewrite",ze.Source="source",ze.SourceOrganizeImports="source.organizeImports",ze.SourceFixAll="source.fixAll",(Xe=qe||(qe={})).create=function(e,t){var n={diagnostics:e};return void 0!==t&&null!==t&&(n.only=t),n},Xe.is=function(e){var t=e;return st.defined(t)&&st.typedArray(t.diagnostics,B.is)&&(void 0===t.only||st.typedArray(t.only,st.string))},(Ge=Qe||(Qe={})).create=function(e,t,n){var r={title:e},i=!0;return"string"===typeof t?(i=!1,r.kind=t):K.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Ge.is=function(e){var t=e;return t&&st.string(t.title)&&(void 0===t.diagnostics||st.typedArray(t.diagnostics,B.is))&&(void 0===t.kind||st.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||K.is(t.command))&&(void 0===t.isPreferred||st.boolean(t.isPreferred))&&(void 0===t.edit||ae.is(t.edit))},(Ye=Je||(Je={})).create=function(e,t){var n={range:e};return st.defined(t)&&(n.data=t),n},Ye.is=function(e){var t=e;return st.defined(t)&&k.is(t.range)&&(st.undefined(t.command)||K.is(t.command))},($e=Ze||(Ze={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},$e.is=function(e){var t=e;return st.defined(t)&&st.uinteger(t.tabSize)&&st.boolean(t.insertSpaces)},(tt=et||(et={})).create=function(e,t,n){return{range:e,target:t,data:n}},tt.is=function(e){var t=e;return st.defined(t)&&k.is(t.range)&&(st.undefined(t.target)||st.string(t.target))},(rt=nt||(nt={})).create=function(e,t){return{range:e,parent:t}},rt.is=function(e){var t=e;return void 0!==t&&k.is(t.range)&&(void 0===t.parent||rt.is(t.parent))},function(e){function t(e,n){if(e.length<=1)return e;var r=e.length/2|0,i=e.slice(0,r),o=e.slice(r);t(i,n),t(o,n);for(var a=0,s=0,c=0;a<i.length&&s<o.length;){var u=n(i[a],o[s]);e[c++]=u<=0?i[a++]:o[s++]}for(;a<i.length;)e[c++]=i[a++];for(;s<o.length;)e[c++]=o[s++];return e}e.create=function(e,t,n,r){return new ct(e,t,n,r)},e.is=function(e){var t=e;return!!(st.defined(t)&&st.string(t.uri)&&(st.undefined(t.languageId)||st.string(t.languageId))&&st.uinteger(t.lineCount)&&st.func(t.getText)&&st.func(t.positionAt)&&st.func(t.offsetAt))},e.applyEdits=function(e,n){for(var r=e.getText(),i=t(n,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),o=r.length,a=i.length-1;a>=0;a--){var s=i[a],c=e.offsetAt(s.range.start),u=e.offsetAt(s.range.end);if(!(u<=o))throw new Error("Overlapping edit");r=r.substring(0,c)+s.newText+r.substring(u,r.length),o=c}return r}}(it||(it={}));var st,ct=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return m.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var o=n-1;return m.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(st||(st={}));var ut=class{constructor(e,t,n){this._languageId=e,this._worker=t;const r=e=>{let t,n=e.getLanguageId();n===this._languageId&&(this._listener[e.uri.toString()]=e.onDidChangeContent((()=>{window.clearTimeout(t),t=window.setTimeout((()=>this._doValidate(e.uri,n)),500)})),this._doValidate(e.uri,n))},i=e=>{l.editor.setModelMarkers(e,this._languageId,[]);let t=e.uri.toString(),n=this._listener[t];n&&(n.dispose(),delete this._listener[t])};this._disposables.push(l.editor.onDidCreateModel(r)),this._disposables.push(l.editor.onWillDisposeModel(i)),this._disposables.push(l.editor.onDidChangeModelLanguage((e=>{i(e.model),r(e.model)}))),this._disposables.push(n((e=>{l.editor.getModels().forEach((e=>{e.getLanguageId()===this._languageId&&(i(e),r(e))}))}))),this._disposables.push({dispose:()=>{l.editor.getModels().forEach(i);for(let e in this._listener)this._listener[e].dispose()}}),l.editor.getModels().forEach(r)}_disposables=[];_listener=Object.create(null);dispose(){this._disposables.forEach((e=>e&&e.dispose())),this._disposables.length=0}_doValidate(e,t){this._worker(e).then((t=>t.doValidation(e.toString()))).then((n=>{const r=n.map((e=>function(e,t){let n="number"===typeof t.code?String(t.code):t.code;return{severity:dt(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source}}(0,e)));let i=l.editor.getModel(e);i&&i.getLanguageId()===t&&l.editor.setModelMarkers(i,t,r)})).then(void 0,(e=>{}))}};function dt(e){switch(e){case M.Error:return l.MarkerSeverity.Error;case M.Warning:return l.MarkerSeverity.Warning;case M.Information:return l.MarkerSeverity.Info;case M.Hint:return l.MarkerSeverity.Hint;default:return l.MarkerSeverity.Info}}var lt=class{constructor(e,t){this._worker=e,this._triggerCharacters=t}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,t,n,r){const i=e.uri;return this._worker(i).then((e=>e.doComplete(i.toString(),gt(t)))).then((n=>{if(!n)return;const r=e.getWordUntilPosition(t),o=new l.Range(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn),a=n.items.map((e=>{const n={uri:i,position:gt(t),label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,command:(r=e.command,r&&"editor.action.triggerSuggest"===r.command?{id:r.command,title:r.title,arguments:r.arguments}:void 0),range:o,kind:pt(e.kind)};var r,a;return e.textEdit&&("undefined"!==typeof(a=e.textEdit).insert&&"undefined"!==typeof a.replace?n.range={insert:ft(e.textEdit.insert),replace:ft(e.textEdit.replace)}:n.range=ft(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(mt)),e.insertTextFormat===be.Snippet&&(n.insertTextRules=l.languages.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:a}}))}resolveCompletionItem(e,t){const n=e.uri,r=e.position;return this._worker(n).then((t=>t.doResolve(n.toString(),r,e)))}};function gt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function ht(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function ft(e){if(e)return new l.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function pt(e){const t=l.languages.CompletionItemKind;switch(e){case _e.Text:return t.Text;case _e.Method:return t.Method;case _e.Function:return t.Function;case _e.Constructor:return t.Constructor;case _e.Field:return t.Field;case _e.Variable:return t.Variable;case _e.Class:return t.Class;case _e.Interface:return t.Interface;case _e.Module:return t.Module;case _e.Property:return t.Property;case _e.Unit:return t.Unit;case _e.Value:return t.Value;case _e.Enum:return t.Enum;case _e.Keyword:return t.Keyword;case _e.Snippet:return t.Snippet;case _e.Color:return t.Color;case _e.File:return t.File;case _e.Reference:return t.Reference}return t.Property}function mt(e){if(e)return{range:ft(e.range),text:e.newText}}var vt=class{constructor(e){this._worker=e}provideHover(e,t,n){let r=e.uri;return this._worker(r).then((e=>e.doHover(r.toString(),gt(t)))).then((e=>{if(e)return{range:ft(e.range),contents:_t(e.contents)}}))}};function kt(e){return"string"===typeof e?{value:e}:(t=e)&&"object"===typeof t&&"string"===typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function _t(e){if(e)return Array.isArray(e)?e.map(kt):[kt(e)]}var Ct=class{constructor(e){this._worker=e}provideDocumentHighlights(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.findDocumentHighlights(r.toString(),gt(t)))).then((e=>{if(e)return e.map((e=>({range:ft(e.range),kind:bt(e.kind)})))}))}};function bt(e){switch(e){case Pe.Read:return l.languages.DocumentHighlightKind.Read;case Pe.Write:return l.languages.DocumentHighlightKind.Write;case Pe.Text:return l.languages.DocumentHighlightKind.Text}return l.languages.DocumentHighlightKind.Text}var wt=class{constructor(e){this._worker=e}provideDefinition(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.findDefinition(r.toString(),gt(t)))).then((e=>{if(e)return[Et(e)]}))}};function Et(e){return{uri:l.Uri.parse(e.uri),range:ft(e.range)}}var yt=class{constructor(e){this._worker=e}provideReferences(e,t,n,r){const i=e.uri;return this._worker(i).then((e=>e.findReferences(i.toString(),gt(t)))).then((e=>{if(e)return e.map(Et)}))}},xt=class{constructor(e){this._worker=e}provideRenameEdits(e,t,n,r){const i=e.uri;return this._worker(i).then((e=>e.doRename(i.toString(),gt(t),n))).then((e=>function(e){if(!e||!e.changes)return;let t=[];for(let n in e.changes){const r=l.Uri.parse(n);for(let i of e.changes[n])t.push({resource:r,versionId:void 0,textEdit:{range:ft(i.range),text:i.newText}})}return{edits:t}}(e)))}};var It=class{constructor(e){this._worker=e}provideDocumentSymbols(e,t){const n=e.uri;return this._worker(n).then((e=>e.findDocumentSymbols(n.toString()))).then((e=>{if(e)return e.map((e=>({name:e.name,detail:"",containerName:e.containerName,kind:At(e.kind),range:ft(e.location.range),selectionRange:ft(e.location.range),tags:[]})))}))}};function At(e){let t=l.languages.SymbolKind;switch(e){case Ne.File:return t.Array;case Ne.Module:return t.Module;case Ne.Namespace:return t.Namespace;case Ne.Package:return t.Package;case Ne.Class:return t.Class;case Ne.Method:return t.Method;case Ne.Property:return t.Property;case Ne.Field:return t.Field;case Ne.Constructor:return t.Constructor;case Ne.Enum:return t.Enum;case Ne.Interface:return t.Interface;case Ne.Function:return t.Function;case Ne.Variable:return t.Variable;case Ne.Constant:return t.Constant;case Ne.String:return t.String;case Ne.Number:return t.Number;case Ne.Boolean:return t.Boolean;case Ne.Array:return t.Array}return t.Function}var St=class{constructor(e){this._worker=e}provideLinks(e,t){const n=e.uri;return this._worker(n).then((e=>e.findDocumentLinks(n.toString()))).then((e=>{if(e)return{links:e.map((e=>({range:ft(e.range),url:e.target})))}}))}},Tt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.format(r.toString(),null,Dt(t)).then((e=>{if(e&&0!==e.length)return e.map(mt)}))))}},Rt=class{constructor(e){this._worker=e}provideDocumentRangeFormattingEdits(e,t,n,r){const i=e.uri;return this._worker(i).then((e=>e.format(i.toString(),ht(t),Dt(n)).then((e=>{if(e&&0!==e.length)return e.map(mt)}))))}};function Dt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var Ot=class{constructor(e){this._worker=e}provideDocumentColors(e,t){const n=e.uri;return this._worker(n).then((e=>e.findDocumentColors(n.toString()))).then((e=>{if(e)return e.map((e=>({color:e.color,range:ft(e.range)})))}))}provideColorPresentations(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.getColorPresentations(r.toString(),t.color,ht(t.range)))).then((e=>{if(e)return e.map((e=>{let t={label:e.label};return e.textEdit&&(t.textEdit=mt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(mt)),t}))}))}},Lt=class{constructor(e){this._worker=e}provideFoldingRanges(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.getFoldingRanges(r.toString(),t))).then((e=>{if(e)return e.map((e=>{const t={start:e.startLine+1,end:e.endLine+1};return"undefined"!==typeof e.kind&&(t.kind=function(e){switch(e){case R.Comment:return l.languages.FoldingRangeKind.Comment;case R.Imports:return l.languages.FoldingRangeKind.Imports;case R.Region:return l.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))}};var Ft,Pt,Mt,jt=class{constructor(e){this._worker=e}provideSelectionRanges(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.getSelectionRanges(r.toString(),t.map(gt)))).then((e=>{if(e)return e.map((e=>{const t=[];for(;e;)t.push({range:ft(e.range)}),e=e.parent;return t}))}))}},Nt=class{constructor(e){this._worker=e}signatureHelpTriggerCharacters=["(",","];async provideSignatureHelp(e,t,n){const r=e.uri;return this._worker(r).then((e=>e.getSignatureHelpItems(r.toString(),gt(t)))).then((t=>{if(t&&!e.isDisposed())return{value:t,dispose(){}}}))}},Ut=class{constructor(e){this._worker=e}get triggerCharacters(){return[">"]}provideCompletionItems(e,t,n,r){const i=e.uri;return this._worker(i).then((e=>e.doAutoInsert(i.toString(),gt(t)))).then((t=>{if(t&&!e.isDisposed())return{isIncomplete:!0,suggestions:[{label:t.substring(t.indexOf("<")),kind:l.languages.CompletionItemKind.Property,documentation:t,insertText:t,insertTextRules:l.languages.CompletionItemInsertTextRule.InsertAsSnippet}]}}))}};function Wt(e){return 32===e||9===e}function Bt(e){return 10===e||13===e}function Vt(e){return e>=48&&e<=57}(Pt=Ft||(Ft={}))[Pt.lineFeed=10]="lineFeed",Pt[Pt.carriageReturn=13]="carriageReturn",Pt[Pt.space=32]="space",Pt[Pt._0=48]="_0",Pt[Pt._1=49]="_1",Pt[Pt._2=50]="_2",Pt[Pt._3=51]="_3",Pt[Pt._4=52]="_4",Pt[Pt._5=53]="_5",Pt[Pt._6=54]="_6",Pt[Pt._7=55]="_7",Pt[Pt._8=56]="_8",Pt[Pt._9=57]="_9",Pt[Pt.a=97]="a",Pt[Pt.b=98]="b",Pt[Pt.c=99]="c",Pt[Pt.d=100]="d",Pt[Pt.e=101]="e",Pt[Pt.f=102]="f",Pt[Pt.g=103]="g",Pt[Pt.h=104]="h",Pt[Pt.i=105]="i",Pt[Pt.j=106]="j",Pt[Pt.k=107]="k",Pt[Pt.l=108]="l",Pt[Pt.m=109]="m",Pt[Pt.n=110]="n",Pt[Pt.o=111]="o",Pt[Pt.p=112]="p",Pt[Pt.q=113]="q",Pt[Pt.r=114]="r",Pt[Pt.s=115]="s",Pt[Pt.t=116]="t",Pt[Pt.u=117]="u",Pt[Pt.v=118]="v",Pt[Pt.w=119]="w",Pt[Pt.x=120]="x",Pt[Pt.y=121]="y",Pt[Pt.z=122]="z",Pt[Pt.A=65]="A",Pt[Pt.B=66]="B",Pt[Pt.C=67]="C",Pt[Pt.D=68]="D",Pt[Pt.E=69]="E",Pt[Pt.F=70]="F",Pt[Pt.G=71]="G",Pt[Pt.H=72]="H",Pt[Pt.I=73]="I",Pt[Pt.J=74]="J",Pt[Pt.K=75]="K",Pt[Pt.L=76]="L",Pt[Pt.M=77]="M",Pt[Pt.N=78]="N",Pt[Pt.O=79]="O",Pt[Pt.P=80]="P",Pt[Pt.Q=81]="Q",Pt[Pt.R=82]="R",Pt[Pt.S=83]="S",Pt[Pt.T=84]="T",Pt[Pt.U=85]="U",Pt[Pt.V=86]="V",Pt[Pt.W=87]="W",Pt[Pt.X=88]="X",Pt[Pt.Y=89]="Y",Pt[Pt.Z=90]="Z",Pt[Pt.asterisk=42]="asterisk",Pt[Pt.backslash=92]="backslash",Pt[Pt.closeBrace=125]="closeBrace",Pt[Pt.closeBracket=93]="closeBracket",Pt[Pt.colon=58]="colon",Pt[Pt.comma=44]="comma",Pt[Pt.dot=46]="dot",Pt[Pt.doubleQuote=34]="doubleQuote",Pt[Pt.minus=45]="minus",Pt[Pt.openBrace=123]="openBrace",Pt[Pt.openBracket=91]="openBracket",Pt[Pt.plus=43]="plus",Pt[Pt.slash=47]="slash",Pt[Pt.formFeed=12]="formFeed",Pt[Pt.tab=9]="tab",(Mt||(Mt={})).DEFAULT={allowTrailingComma:!1};var Kt,Ht,zt,qt,Xt,Qt,Gt=function(e,t=!1){const n=e.length;let r=0,i="",o=0,a=16,s=0,c=0,u=0,d=0,l=0;function g(t,n){let i=0,o=0;for(;i<t||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else{if(!(t>=97&&t<=102))break;o=16*o+t-97+10}r++,i++}return i<t&&(o=-1),o}function h(){if(i="",l=0,o=r,c=s,d=u,r>=n)return o=n,a=17;let t=e.charCodeAt(r);if(Wt(t)){do{r++,i+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Wt(t));return a=15}if(Bt(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),s++,u=r,a=14;switch(t){case 123:return r++,a=1;case 125:return r++,a=2;case 91:return r++,a=3;case 93:return r++,a=4;case 58:return r++,a=6;case 44:return r++,a=5;case 34:return r++,i=function(){let t="",i=r;for(;;){if(r>=n){t+=e.substring(i,r),l=2;break}const o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92!==o){if(o>=0&&o<=31){if(Bt(o)){t+=e.substring(i,r),l=2;break}l=6}r++}else{if(t+=e.substring(i,r),r++,r>=n){l=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:const e=g(4,!0);e>=0?t+=String.fromCharCode(e):l=4;break;default:l=5}i=r}}return t}(),a=10;case 47:const c=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!Bt(e.charCodeAt(r));)r++;return i=e.substring(c,r),a=12}if(42===e.charCodeAt(r+1)){r+=2;const t=n-1;let o=!1;for(;r<t;){const t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,o=!0;break}r++,Bt(t)&&(13===t&&10===e.charCodeAt(r)&&r++,s++,u=r)}return o||(r++,l=1),i=e.substring(c,r),a=13}return i+=String.fromCharCode(t),r++,a=16;case 45:if(i+=String.fromCharCode(t),r++,r===n||!Vt(e.charCodeAt(r)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&Vt(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(r++,!(r<e.length&&Vt(e.charCodeAt(r))))return l=3,e.substring(t,r);for(r++;r<e.length&&Vt(e.charCodeAt(r));)r++}let n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if(r++,(r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&Vt(e.charCodeAt(r))){for(r++;r<e.length&&Vt(e.charCodeAt(r));)r++;n=r}else l=3;return e.substring(t,n)}(),a=11;default:for(;r<n&&f(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(i=e.substring(o,r),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(t),r++,a=16}}function f(e){if(Wt(e)||Bt(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,i="",o=0,a=16,l=0},getPosition:()=>r,scan:t?function(){let e;do{e=h()}while(e>=12&&e<=15);return e}:h,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>l}};function Jt(e){return{getInitialState:()=>new dn(null,null,!1,null),tokenize:(t,n)=>function(e,t,n,r=0){let i=0,o=!1;switch(n.scanError){case 2:t='"'+t,i=1;break;case 1:t="/*"+t,i=2}const a=Gt(t);let s=n.lastWasColon,c=n.parents;const u={tokens:[],endState:n.clone()};for(;;){let d=r+a.getPosition(),l="";const g=a.scan();if(17===g)break;if(d===r+a.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(a.getPosition(),3));switch(o&&(d-=i),o=i>0,g){case 1:c=un.push(c,0),l=Yt,s=!1;break;case 2:c=un.pop(c),l=Yt,s=!1;break;case 3:c=un.push(c,1),l=Zt,s=!1;break;case 4:c=un.pop(c),l=Zt,s=!1;break;case 6:l=$t,s=!0;break;case 5:l=en,s=!1;break;case 8:case 9:l=tn,s=!1;break;case 7:l=nn,s=!1;break;case 10:const e=c?c.type:0;l=s||1===e?rn:an,s=!1;break;case 11:l=on,s=!1}if(e)switch(g){case 12:l=cn;break;case 13:l=sn}u.endState=new dn(n.getStateData(),a.getTokenError(),s,c),u.tokens.push({startIndex:d,scopes:l})}return u}(e,t,n)}}(Ht=Kt||(Kt={}))[Ht.None=0]="None",Ht[Ht.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",Ht[Ht.UnexpectedEndOfString=2]="UnexpectedEndOfString",Ht[Ht.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",Ht[Ht.InvalidUnicode=4]="InvalidUnicode",Ht[Ht.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",Ht[Ht.InvalidCharacter=6]="InvalidCharacter",(qt=zt||(zt={}))[qt.OpenBraceToken=1]="OpenBraceToken",qt[qt.CloseBraceToken=2]="CloseBraceToken",qt[qt.OpenBracketToken=3]="OpenBracketToken",qt[qt.CloseBracketToken=4]="CloseBracketToken",qt[qt.CommaToken=5]="CommaToken",qt[qt.ColonToken=6]="ColonToken",qt[qt.NullKeyword=7]="NullKeyword",qt[qt.TrueKeyword=8]="TrueKeyword",qt[qt.FalseKeyword=9]="FalseKeyword",qt[qt.StringLiteral=10]="StringLiteral",qt[qt.NumericLiteral=11]="NumericLiteral",qt[qt.LineCommentTrivia=12]="LineCommentTrivia",qt[qt.BlockCommentTrivia=13]="BlockCommentTrivia",qt[qt.LineBreakTrivia=14]="LineBreakTrivia",qt[qt.Trivia=15]="Trivia",qt[qt.Unknown=16]="Unknown",qt[qt.EOF=17]="EOF",(Qt=Xt||(Xt={}))[Qt.InvalidSymbol=1]="InvalidSymbol",Qt[Qt.InvalidNumberFormat=2]="InvalidNumberFormat",Qt[Qt.PropertyNameExpected=3]="PropertyNameExpected",Qt[Qt.ValueExpected=4]="ValueExpected",Qt[Qt.ColonExpected=5]="ColonExpected",Qt[Qt.CommaExpected=6]="CommaExpected",Qt[Qt.CloseBraceExpected=7]="CloseBraceExpected",Qt[Qt.CloseBracketExpected=8]="CloseBracketExpected",Qt[Qt.EndOfFileExpected=9]="EndOfFileExpected",Qt[Qt.InvalidCommentToken=10]="InvalidCommentToken",Qt[Qt.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",Qt[Qt.UnexpectedEndOfString=12]="UnexpectedEndOfString",Qt[Qt.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",Qt[Qt.InvalidUnicode=14]="InvalidUnicode",Qt[Qt.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",Qt[Qt.InvalidCharacter=16]="InvalidCharacter";var Yt="delimiter.bracket.json",Zt="delimiter.array.json",$t="delimiter.colon.json",en="delimiter.comma.json",tn="keyword.json",nn="keyword.json",rn="string.value.json",on="number.json",an="string.key.json",sn="comment.block.json",cn="comment.line.json",un=class{constructor(e,t){this.parent=e,this.type=t}static pop(e){return e?e.parent:null}static push(e,t){return new un(e,t)}static equals(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0}},dn=class{_state;scanError;lastWasColon;parents;constructor(e,t,n,r){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=r}clone(){return new dn(this._state,this.scanError,this.lastWasColon,this.parents)}equals(e){return e===this||!!(e&&e instanceof dn)&&(this.scanError===e.scanError&&this.lastWasColon===e.lastWasColon&&un.equals(this.parents,e.parents))}getStateData(){return this._state}setStateData(e){this._state=e}};var ln=class extends ut{constructor(e,t,n){super(e,t,n.onDidChange),this._disposables.push(l.editor.onWillDisposeModel((e=>{this._resetSchema(e.uri)}))),this._disposables.push(l.editor.onDidChangeModelLanguage((e=>{this._resetSchema(e.model.uri)})))}_resetSchema(e){this._worker().then((t=>{t.resetSchema(e.toString())}))}};function gn(e){const t=[],n=[],r=new se(e);t.push(r);const i=(...e)=>r.getLanguageServiceWorker(...e);function o(){const{languageId:t,modeConfiguration:r}=e;fn(n),r.documentFormattingEdits&&n.push(l.languages.registerDocumentFormattingEditProvider(t,new Tt(i))),r.documentRangeFormattingEdits&&n.push(l.languages.registerDocumentRangeFormattingEditProvider(t,new Rt(i))),r.completionItems&&n.push(l.languages.registerCompletionItemProvider(t,new lt(i,[" ",":",'"']))),r.hovers&&n.push(l.languages.registerHoverProvider(t,new vt(i))),r.documentSymbols&&n.push(l.languages.registerDocumentSymbolProvider(t,new It(i))),r.tokens&&n.push(l.languages.setTokensProvider(t,Jt(!0))),r.colors&&n.push(l.languages.registerColorProvider(t,new Ot(i))),r.foldingRanges&&n.push(l.languages.registerFoldingRangeProvider(t,new Lt(i))),r.diagnostics&&n.push(new ln(t,i,e)),r.selectionRanges&&n.push(l.languages.registerSelectionRangeProvider(t,new jt(i)))}o(),t.push(l.languages.setLanguageConfiguration(e.languageId,pn));let a=e.modeConfiguration;return e.onDidChange((e=>{e.modeConfiguration!==a&&(a=e.modeConfiguration,o())})),t.push(hn(n)),hn(t)}function hn(e){return{dispose:()=>fn(e)}}function fn(e){for(;e.length;)e.pop().dispose()}var pn={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 9644.1ae95bb7.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[9644],{99644:(e,t,n)=>{n.r(t),n.d(t,{conf:()=>u,language:()=>b});var i,r,o=n(21551),a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,m=Object.prototype.hasOwnProperty,p=(e,t,n,i)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let r of d(t))m.call(e,r)||r===n||a(e,r,{get:()=>t[r],enumerable:!(i=s(t,r))||i.enumerable});return e},l={};p(l,i=o,"default"),r&&p(r,i,"default");var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${c.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:l.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:l.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},b={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.34.0(dee69564fa27426c7ebb706c3d2ed3d1acccedfe)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/
|