@teipublisher/pb-components 1.40.2 → 1.41.0
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/CHANGELOG.md +13 -0
- package/dist/demo/pb-code-editor.html +12 -9
- package/dist/{iron-form-f540b15b.js → iron-form-9e72ac45.js} +1 -1
- package/dist/jinn-codemirror-c1a4b755.js +1 -0
- package/dist/{paper-checkbox-f6a70487.js → paper-checkbox-102e3b43.js} +120 -120
- package/dist/pb-code-editor.js +22 -0
- package/dist/pb-components-bundle.js +234 -234
- package/dist/pb-edit-app.js +33 -33
- package/dist/pb-elements.json +61 -16
- package/dist/pb-i18n-6ad23bcf.js +1 -0
- package/dist/pb-message-0fb0b538.js +911 -0
- package/dist/pb-odd-editor.js +110 -82
- package/package.json +4 -5
- package/pb-elements.json +61 -16
- package/src/pb-code-editor.js +51 -663
- package/src/pb-components.js +0 -1
- package/src/pb-odd-model-editor.js +33 -23
- package/src/pb-odd-parameter-editor.js +17 -9
- package/src/pb-odd-rendition-editor.js +19 -9
- package/css/codemirror/3024-day.css +0 -41
- package/css/codemirror/3024-night.css +0 -39
- package/css/codemirror/abbott.css +0 -268
- package/css/codemirror/abcdef.css +0 -32
- package/css/codemirror/ambiance-mobile.css +0 -5
- package/css/codemirror/ambiance.css +0 -74
- package/css/codemirror/ayu-dark.css +0 -44
- package/css/codemirror/ayu-mirage.css +0 -45
- package/css/codemirror/base16-dark.css +0 -40
- package/css/codemirror/base16-light.css +0 -38
- package/css/codemirror/bespin.css +0 -34
- package/css/codemirror/blackboard.css +0 -32
- package/css/codemirror/cobalt.css +0 -25
- package/css/codemirror/colorforth.css +0 -33
- package/css/codemirror/darcula.css +0 -53
- package/css/codemirror/dracula.css +0 -40
- package/css/codemirror/duotone-dark.css +0 -35
- package/css/codemirror/duotone-light.css +0 -36
- package/css/codemirror/eclipse.css +0 -23
- package/css/codemirror/elegant.css +0 -13
- package/css/codemirror/erlang-dark.css +0 -34
- package/css/codemirror/gruvbox-dark.css +0 -39
- package/css/codemirror/hopscotch.css +0 -34
- package/css/codemirror/icecoder.css +0 -43
- package/css/codemirror/idea.css +0 -42
- package/css/codemirror/isotope.css +0 -34
- package/css/codemirror/juejin.css +0 -30
- package/css/codemirror/lesser-dark.css +0 -47
- package/css/codemirror/liquibyte.css +0 -95
- package/css/codemirror/lucario.css +0 -37
- package/css/codemirror/material-darker.css +0 -135
- package/css/codemirror/material-ocean.css +0 -141
- package/css/codemirror/material-palenight.css +0 -141
- package/css/codemirror/material.css +0 -141
- package/css/codemirror/mbo.css +0 -37
- package/css/codemirror/mdn-like.css +0 -46
- package/css/codemirror/midnight.css +0 -39
- package/css/codemirror/monokai.css +0 -41
- package/css/codemirror/moxer.css +0 -143
- package/css/codemirror/neat.css +0 -12
- package/css/codemirror/neo.css +0 -43
- package/css/codemirror/night.css +0 -27
- package/css/codemirror/nord.css +0 -42
- package/css/codemirror/oceanic-next.css +0 -46
- package/css/codemirror/panda-syntax.css +0 -85
- package/css/codemirror/paraiso-dark.css +0 -38
- package/css/codemirror/paraiso-light.css +0 -38
- package/css/codemirror/pastel-on-dark.css +0 -52
- package/css/codemirror/railscasts.css +0 -34
- package/css/codemirror/rubyblue.css +0 -25
- package/css/codemirror/seti.css +0 -44
- package/css/codemirror/shadowfox.css +0 -52
- package/css/codemirror/solarized.css +0 -168
- package/css/codemirror/ssms.css +0 -16
- package/css/codemirror/the-matrix.css +0 -30
- package/css/codemirror/tomorrow-night-bright.css +0 -35
- package/css/codemirror/tomorrow-night-eighties.css +0 -38
- package/css/codemirror/ttcn.css +0 -64
- package/css/codemirror/twilight.css +0 -32
- package/css/codemirror/vibrant-ink.css +0 -34
- package/css/codemirror/xq-dark.css +0 -53
- package/css/codemirror/xq-light.css +0 -43
- package/css/codemirror/yeti.css +0 -44
- package/css/codemirror/yonce.css +0 -59
- package/css/codemirror/zenburn.css +0 -37
- package/dist/pb-message-1a0c0c52.js +0 -1360
- package/lib/codemirror/addon/display/placeholder.js +0 -70
- package/lib/codemirror/addon/edit/matchbrackets.js +0 -152
- package/lib/codemirror/addon/lint/lint.js +0 -282
- package/lib/codemirror/mode/css/css.js +0 -855
- package/lib/codemirror/mode/stex/stex.js +0 -249
- package/lib/codemirror/mode/xml/xml.js +0 -404
- package/lib/codemirror/mode/xquery/xquery.js +0 -434
|
@@ -1,1360 +0,0 @@
|
|
|
1
|
-
import{P as e,h as t,x as i,f as n,B as r,d as o,b as l,I as s,T as a,y as c,z as h,A as d,D as u,C as p,n as m,g,t as f}from"./paper-checkbox-f6a70487.js";import{d as v,N as y,i as b,p as x,L as w,h as z,c as C,a as k,r as M}from"./pb-mixin-15ff531f.js";
|
|
2
|
-
/**
|
|
3
|
-
@license
|
|
4
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
5
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
6
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
7
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
|
-
Code distributed by Google as part of the polymer project is also
|
|
9
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/e({_template:t`
|
|
11
|
-
<style>
|
|
12
|
-
:host {
|
|
13
|
-
display: inline-block;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
#baseURIAnchor {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#sizedImgDiv {
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 0px;
|
|
25
|
-
right: 0px;
|
|
26
|
-
bottom: 0px;
|
|
27
|
-
left: 0px;
|
|
28
|
-
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
#img {
|
|
33
|
-
display: block;
|
|
34
|
-
width: var(--iron-image-width, auto);
|
|
35
|
-
height: var(--iron-image-height, auto);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:host([sizing]) #sizedImgDiv {
|
|
39
|
-
display: block;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host([sizing]) #img {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
#placeholder {
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: 0px;
|
|
49
|
-
right: 0px;
|
|
50
|
-
bottom: 0px;
|
|
51
|
-
left: 0px;
|
|
52
|
-
|
|
53
|
-
background-color: inherit;
|
|
54
|
-
opacity: 1;
|
|
55
|
-
|
|
56
|
-
@apply --iron-image-placeholder;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#placeholder.faded-out {
|
|
60
|
-
transition: opacity 0.5s linear;
|
|
61
|
-
opacity: 0;
|
|
62
|
-
}
|
|
63
|
-
</style>
|
|
64
|
-
|
|
65
|
-
<a id="baseURIAnchor" href="#"></a>
|
|
66
|
-
<div id="sizedImgDiv" role="img" hidden$="[[_computeImgDivHidden(sizing)]]" aria-hidden$="[[_computeImgDivARIAHidden(alt)]]" aria-label$="[[_computeImgDivARIALabel(alt, src)]]"></div>
|
|
67
|
-
<img id="img" alt$="[[alt]]" hidden$="[[_computeImgHidden(sizing)]]" crossorigin$="[[crossorigin]]" on-load="_imgOnLoad" on-error="_imgOnError">
|
|
68
|
-
<div id="placeholder" hidden$="[[_computePlaceholderHidden(preload, fade, loading, loaded)]]" class$="[[_computePlaceholderClassName(preload, fade, loading, loaded)]]"></div>
|
|
69
|
-
`,is:"iron-image",properties:{src:{type:String,value:""},alt:{type:String,value:null},crossorigin:{type:String,value:null},preventLoad:{type:Boolean,value:!1},sizing:{type:String,value:null,reflectToAttribute:!0},position:{type:String,value:"center"},preload:{type:Boolean,value:!1},placeholder:{type:String,value:null,observer:"_placeholderChanged"},fade:{type:Boolean,value:!1},loaded:{notify:!0,readOnly:!0,type:Boolean,value:!1},loading:{notify:!0,readOnly:!0,type:Boolean,value:!1},error:{notify:!0,readOnly:!0,type:Boolean,value:!1},width:{observer:"_widthChanged",type:Number,value:null},height:{observer:"_heightChanged",type:Number,value:null}},observers:["_transformChanged(sizing, position)","_loadStateObserver(src, preventLoad)"],created:function(){this._resolvedSrc=""},_imgOnLoad:function(){this.$.img.src===this._resolveSrc(this.src)&&(this._setLoading(!1),this._setLoaded(!0),this._setError(!1))},_imgOnError:function(){this.$.img.src===this._resolveSrc(this.src)&&(this.$.img.removeAttribute("src"),this.$.sizedImgDiv.style.backgroundImage="",this._setLoading(!1),this._setLoaded(!1),this._setError(!0))},_computePlaceholderHidden:function(){return!this.preload||!this.fade&&!this.loading&&this.loaded},_computePlaceholderClassName:function(){return this.preload&&this.fade&&!this.loading&&this.loaded?"faded-out":""},_computeImgDivHidden:function(){return!this.sizing},_computeImgDivARIAHidden:function(){return""===this.alt?"true":void 0},_computeImgDivARIALabel:function(){return null!==this.alt?this.alt:""===this.src?"":this._resolveSrc(this.src).replace(/[?|#].*/g,"").split("/").pop()},_computeImgHidden:function(){return!!this.sizing},_widthChanged:function(){this.style.width=isNaN(this.width)?this.width:this.width+"px"},_heightChanged:function(){this.style.height=isNaN(this.height)?this.height:this.height+"px"},_loadStateObserver:function(e,t){var i=this._resolveSrc(e);i!==this._resolvedSrc&&(this._resolvedSrc="",this.$.img.removeAttribute("src"),this.$.sizedImgDiv.style.backgroundImage="",""===e||t?(this._setLoading(!1),this._setLoaded(!1),this._setError(!1)):(this._resolvedSrc=i,this.$.img.src=this._resolvedSrc,this.$.sizedImgDiv.style.backgroundImage='url("'+this._resolvedSrc+'")',this._setLoading(!0),this._setLoaded(!1),this._setError(!1)))},_placeholderChanged:function(){this.$.placeholder.style.backgroundImage=this.placeholder?'url("'+this.placeholder+'")':""},_transformChanged:function(){var e=this.$.sizedImgDiv.style,t=this.$.placeholder.style;e.backgroundSize=t.backgroundSize=this.sizing,e.backgroundPosition=t.backgroundPosition=this.sizing?this.position:"",e.backgroundRepeat=t.backgroundRepeat=this.sizing?"no-repeat":""},_resolveSrc:function(e){var t=i(e,this.$.baseURIAnchor.href);return t.length>=2&&"/"===t[0]&&"/"!==t[1]&&(t=(location.origin||location.protocol+"//"+location.host)+t),t}}),
|
|
70
|
-
/**
|
|
71
|
-
@license
|
|
72
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
73
|
-
This code may only be used under the BSD style license found at
|
|
74
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
75
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
76
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
77
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
78
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
79
|
-
*/
|
|
80
|
-
e({_template:t`
|
|
81
|
-
<style include="paper-material-styles">
|
|
82
|
-
:host {
|
|
83
|
-
display: inline-block;
|
|
84
|
-
position: relative;
|
|
85
|
-
box-sizing: border-box;
|
|
86
|
-
background-color: var(--paper-card-background-color, var(--primary-background-color));
|
|
87
|
-
border-radius: 2px;
|
|
88
|
-
|
|
89
|
-
@apply --paper-font-common-base;
|
|
90
|
-
@apply --paper-card;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* IE 10 support for HTML5 hidden attr */
|
|
94
|
-
:host([hidden]), [hidden] {
|
|
95
|
-
display: none !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.header {
|
|
99
|
-
position: relative;
|
|
100
|
-
border-top-left-radius: inherit;
|
|
101
|
-
border-top-right-radius: inherit;
|
|
102
|
-
overflow: hidden;
|
|
103
|
-
|
|
104
|
-
@apply --paper-card-header;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.header iron-image {
|
|
108
|
-
display: block;
|
|
109
|
-
width: 100%;
|
|
110
|
-
--iron-image-width: 100%;
|
|
111
|
-
pointer-events: none;
|
|
112
|
-
|
|
113
|
-
@apply --paper-card-header-image;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.header .title-text {
|
|
117
|
-
padding: 16px;
|
|
118
|
-
font-size: 24px;
|
|
119
|
-
font-weight: 400;
|
|
120
|
-
color: var(--paper-card-header-color, #000);
|
|
121
|
-
|
|
122
|
-
@apply --paper-card-header-text;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.header .title-text.over-image {
|
|
126
|
-
position: absolute;
|
|
127
|
-
bottom: 0px;
|
|
128
|
-
|
|
129
|
-
@apply --paper-card-header-image-text;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
:host ::slotted(.card-content) {
|
|
133
|
-
padding: 16px;
|
|
134
|
-
position:relative;
|
|
135
|
-
|
|
136
|
-
@apply --paper-card-content;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
:host ::slotted(.card-actions) {
|
|
140
|
-
border-top: 1px solid #e8e8e8;
|
|
141
|
-
padding: 5px 16px;
|
|
142
|
-
position:relative;
|
|
143
|
-
|
|
144
|
-
@apply --paper-card-actions;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
:host([elevation="1"]) {
|
|
148
|
-
@apply --paper-material-elevation-1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
:host([elevation="2"]) {
|
|
152
|
-
@apply --paper-material-elevation-2;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
:host([elevation="3"]) {
|
|
156
|
-
@apply --paper-material-elevation-3;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
:host([elevation="4"]) {
|
|
160
|
-
@apply --paper-material-elevation-4;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
:host([elevation="5"]) {
|
|
164
|
-
@apply --paper-material-elevation-5;
|
|
165
|
-
}
|
|
166
|
-
</style>
|
|
167
|
-
|
|
168
|
-
<div class="header">
|
|
169
|
-
<iron-image hidden\$="[[!image]]" aria-hidden\$="[[_isHidden(image)]]" src="[[image]]" alt="[[alt]]" placeholder="[[placeholderImage]]" preload="[[preloadImage]]" fade="[[fadeImage]]"></iron-image>
|
|
170
|
-
<div hidden\$="[[!heading]]" class\$="title-text [[_computeHeadingClass(image)]]">[[heading]]</div>
|
|
171
|
-
</div>
|
|
172
|
-
|
|
173
|
-
<slot></slot>
|
|
174
|
-
`,is:"paper-card",properties:{heading:{type:String,value:"",observer:"_headingChanged"},image:{type:String,value:""},alt:{type:String},preloadImage:{type:Boolean,value:!1},fadeImage:{type:Boolean,value:!1},placeholderImage:{type:String,value:null},elevation:{type:Number,value:1,reflectToAttribute:!0},animatedShadow:{type:Boolean,value:!1},animated:{type:Boolean,reflectToAttribute:!0,readOnly:!0,computed:"_computeAnimated(animatedShadow)"}},_isHidden:function(e){return e?"false":"true"},_headingChanged:function(e){var t=this.getAttribute("heading"),i=this.getAttribute("aria-label");"string"==typeof i&&i!==t||this.setAttribute("aria-label",e)},_computeHeadingClass:function(e){return e?" over-image":""},_computeAnimated:function(e){return e}});
|
|
175
|
-
/**
|
|
176
|
-
* @license
|
|
177
|
-
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
178
|
-
* This code may only be used under the BSD style license found at
|
|
179
|
-
* http://polymer.github.io/LICENSE.txt
|
|
180
|
-
* The complete set of authors may be found at
|
|
181
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
182
|
-
* The complete set of contributors may be found at
|
|
183
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
184
|
-
* Code distributed by Google as part of the polymer project is also
|
|
185
|
-
* subject to an additional IP rights grant found at
|
|
186
|
-
* http://polymer.github.io/PATENTS.txt
|
|
187
|
-
*/
|
|
188
|
-
const A=new WeakMap,L=v(e=>t=>{if(!(t instanceof y))throw new Error("unsafeHTML can only be used in text bindings");const i=A.get(t);if(void 0!==i&&b(e)&&e===i.value&&t.value===i.fragment)return;const n=document.createElement("template");n.innerHTML=e;const r=document.importNode(n.content,!0);t.setValue(r),A.set(t,{value:e,fragment:r})}),S=t`<iron-iconset-svg name="icons" size="24">
|
|
189
|
-
<svg><defs>
|
|
190
|
-
<g id="3d-rotation"><path d="M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z"></path></g>
|
|
191
|
-
<g id="accessibility"><path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"></path></g>
|
|
192
|
-
<g id="accessible"><circle cx="12" cy="4" r="2"></circle><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19-.26C10.76 7.11 10 8.04 10 9.09V15c0 1.1.9 2 2 2h5v5h2v-5.5c0-1.1-.9-2-2-2h-3v-3.45c1.29 1.07 3.25 1.94 5 1.95zm-6.17 5c-.41 1.16-1.52 2-2.83 2-1.66 0-3-1.34-3-3 0-1.31.84-2.41 2-2.83V12.1c-2.28.46-4 2.48-4 4.9 0 2.76 2.24 5 5 5 2.42 0 4.44-1.72 4.9-4h-2.07z"></path></g>
|
|
193
|
-
<g id="account-balance"><path d="M4 10v7h3v-7H4zm6 0v7h3v-7h-3zM2 22h19v-3H2v3zm14-12v7h3v-7h-3zm-4.5-9L2 6v2h19V6l-9.5-5z"></path></g>
|
|
194
|
-
<g id="account-balance-wallet"><path d="M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8zm4-2.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>
|
|
195
|
-
<g id="account-box"><path d="M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"></path></g>
|
|
196
|
-
<g id="account-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"></path></g>
|
|
197
|
-
<g id="add"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></g>
|
|
198
|
-
<g id="add-alert"><path d="M10.01 21.01c0 1.1.89 1.99 1.99 1.99s1.99-.89 1.99-1.99h-3.98zm8.87-4.19V11c0-3.25-2.25-5.97-5.29-6.69v-.72C13.59 2.71 12.88 2 12 2s-1.59.71-1.59 1.59v.72C7.37 5.03 5.12 7.75 5.12 11v5.82L3 18.94V20h18v-1.06l-2.12-2.12zM16 13.01h-3v3h-2v-3H8V11h3V8h2v3h3v2.01z"></path></g>
|
|
199
|
-
<g id="add-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>
|
|
200
|
-
<g id="add-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"></path></g>
|
|
201
|
-
<g id="add-circle-outline"><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>
|
|
202
|
-
<g id="add-shopping-cart"><path d="M11 9h2V6h3V4h-3V1h-2v3H8v2h3v3zm-4 9c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm-9.83-3.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.86-7.01L19.42 4h-.01l-1.1 2-2.76 5H8.53l-.13-.27L6.16 6l-.95-2-.94-2H1v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.13 0-.25-.11-.25-.25z"></path></g>
|
|
203
|
-
<g id="alarm"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path></g>
|
|
204
|
-
<g id="alarm-add"><path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V9z"></path></g>
|
|
205
|
-
<g id="alarm-off"><path d="M12 6c3.87 0 7 3.13 7 7 0 .84-.16 1.65-.43 2.4l1.52 1.52c.58-1.19.91-2.51.91-3.92 0-4.97-4.03-9-9-9-1.41 0-2.73.33-3.92.91L9.6 6.43C10.35 6.16 11.16 6 12 6zm10-.28l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM2.92 2.29L1.65 3.57 2.98 4.9l-1.11.93 1.42 1.42 1.11-.94.8.8C3.83 8.69 3 10.75 3 13c0 4.97 4.02 9 9 9 2.25 0 4.31-.83 5.89-2.2l2.2 2.2 1.27-1.27L3.89 3.27l-.97-.98zm13.55 16.1C15.26 19.39 13.7 20 12 20c-3.87 0-7-3.13-7-7 0-1.7.61-3.26 1.61-4.47l9.86 9.86zM8.02 3.28L6.6 1.86l-.86.71 1.42 1.42.86-.71z"></path></g>
|
|
206
|
-
<g id="alarm-on"><path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06 3.18 3.18 6-6-1.06-1.06-4.93 4.95z"></path></g>
|
|
207
|
-
<g id="all-out"><path d="M16.21 4.16l4 4v-4zm4 12l-4 4h4zm-12 4l-4-4v4zm-4-12l4-4h-4zm12.95-.95c-2.73-2.73-7.17-2.73-9.9 0s-2.73 7.17 0 9.9 7.17 2.73 9.9 0 2.73-7.16 0-9.9zm-1.1 8.8c-2.13 2.13-5.57 2.13-7.7 0s-2.13-5.57 0-7.7 5.57-2.13 7.7 0 2.13 5.57 0 7.7z"></path></g>
|
|
208
|
-
<g id="android"><path d="M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z"></path></g>
|
|
209
|
-
<g id="announcement"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"></path></g>
|
|
210
|
-
<g id="apps"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"></path></g>
|
|
211
|
-
<g id="archive"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"></path></g>
|
|
212
|
-
<g id="arrow-back"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"></path></g>
|
|
213
|
-
<g id="arrow-downward"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"></path></g>
|
|
214
|
-
<g id="arrow-drop-down"><path d="M7 10l5 5 5-5z"></path></g>
|
|
215
|
-
<g id="arrow-drop-down-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12l-4-4h8l-4 4z"></path></g>
|
|
216
|
-
<g id="arrow-drop-up"><path d="M7 14l5-5 5 5z"></path></g>
|
|
217
|
-
<g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></g>
|
|
218
|
-
<g id="arrow-upward"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"></path></g>
|
|
219
|
-
<g id="aspect-ratio"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>
|
|
220
|
-
<g id="assessment"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></g>
|
|
221
|
-
<g id="assignment"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></g>
|
|
222
|
-
<g id="assignment-ind"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z"></path></g>
|
|
223
|
-
<g id="assignment-late"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 15h-2v-2h2v2zm0-4h-2V8h2v6zm-1-9c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"></path></g>
|
|
224
|
-
<g id="assignment-return"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm4 12h-4v3l-5-5 5-5v3h4v4z"></path></g>
|
|
225
|
-
<g id="assignment-returned"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 15l-5-5h3V9h4v4h3l-5 5z"></path></g>
|
|
226
|
-
<g id="assignment-turned-in"><path d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>
|
|
227
|
-
<g id="attachment"><path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z"></path></g>
|
|
228
|
-
<g id="autorenew"><path d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"></path></g>
|
|
229
|
-
<g id="backspace"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12.59 12 9 8.41 10.41 7 14 10.59 17.59 7 19 8.41 15.41 12 19 15.59z"></path></g>
|
|
230
|
-
<g id="backup"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>
|
|
231
|
-
<g id="block"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"></path></g>
|
|
232
|
-
<g id="book"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>
|
|
233
|
-
<g id="bookmark"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>
|
|
234
|
-
<g id="bookmark-border"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>
|
|
235
|
-
<g id="bug-report"><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"></path></g>
|
|
236
|
-
<g id="build"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></g>
|
|
237
|
-
<g id="cached"><path d="M19 8l-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"></path></g>
|
|
238
|
-
<g id="camera-enhance"><path d="M9 3L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2h-3.17L15 3H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-1l1.25-2.75L16 13l-2.75-1.25L12 9l-1.25 2.75L8 13l2.75 1.25z"></path></g>
|
|
239
|
-
<g id="cancel"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"></path></g>
|
|
240
|
-
<g id="card-giftcard"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>
|
|
241
|
-
<g id="card-membership"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"></path></g>
|
|
242
|
-
<g id="card-travel"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z"></path></g>
|
|
243
|
-
<g id="change-history"><path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"></path></g>
|
|
244
|
-
<g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path></g>
|
|
245
|
-
<g id="check-box"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>
|
|
246
|
-
<g id="check-box-outline-blank"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>
|
|
247
|
-
<g id="check-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></g>
|
|
248
|
-
<g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path></g>
|
|
249
|
-
<g id="chevron-right"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path></g>
|
|
250
|
-
<g id="chrome-reader-mode"><path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"></path></g>
|
|
251
|
-
<g id="class"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"></path></g>
|
|
252
|
-
<g id="clear"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>
|
|
253
|
-
<g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></g>
|
|
254
|
-
<g id="cloud"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z"></path></g>
|
|
255
|
-
<g id="cloud-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01C8.58 8.28 10.13 7 12 7c2.21 0 4 1.79 4 4h.5c1.38 0 2.5 1.12 2.5 2.5S17.88 16 16.5 16z"></path></g>
|
|
256
|
-
<g id="cloud-done"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41L10 17z"></path></g>
|
|
257
|
-
<g id="cloud-download"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"></path></g>
|
|
258
|
-
<g id="cloud-off"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4c-1.48 0-2.85.43-4.01 1.17l1.46 1.46C10.21 6.23 11.08 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3 0 1.13-.64 2.11-1.56 2.62l1.45 1.45C23.16 18.16 24 16.68 24 15c0-2.64-2.05-4.78-4.65-4.96zM3 5.27l2.75 2.74C2.56 8.15 0 10.77 0 14c0 3.31 2.69 6 6 6h11.73l2 2L21 20.73 4.27 4 3 5.27zM7.73 10l8 8H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h1.73z"></path></g>
|
|
259
|
-
<g id="cloud-queue"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3z"></path></g>
|
|
260
|
-
<g id="cloud-upload"><path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"></path></g>
|
|
261
|
-
<g id="code"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path></g>
|
|
262
|
-
<g id="compare-arrows"><path d="M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"></path></g>
|
|
263
|
-
<g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></g>
|
|
264
|
-
<g id="content-cut"><path d="M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"></path></g>
|
|
265
|
-
<g id="content-paste"><path d="M19 2h-4.18C14.4.84 13.3 0 12 0c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm7 18H5V4h2v3h10V4h2v16z"></path></g>
|
|
266
|
-
<g id="copyright"><path d="M10.08 10.86c.05-.33.16-.62.3-.87s.34-.46.59-.62c.24-.15.54-.22.91-.23.23.01.44.05.63.13.2.09.38.21.52.36s.25.33.34.53.13.42.14.64h1.79c-.02-.47-.11-.9-.28-1.29s-.4-.73-.7-1.01-.66-.5-1.08-.66-.88-.23-1.39-.23c-.65 0-1.22.11-1.7.34s-.88.53-1.2.92-.56.84-.71 1.36S8 11.29 8 11.87v.27c0 .58.08 1.12.23 1.64s.39.97.71 1.35.72.69 1.2.91 1.05.34 1.7.34c.47 0 .91-.08 1.32-.23s.77-.36 1.08-.63.56-.58.74-.94.29-.74.3-1.15h-1.79c-.01.21-.06.4-.15.58s-.21.33-.36.46-.32.23-.52.3c-.19.07-.39.09-.6.1-.36-.01-.66-.08-.89-.23-.25-.16-.45-.37-.59-.62s-.25-.55-.3-.88-.08-.67-.08-1v-.27c0-.35.03-.68.08-1.01zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>
|
|
267
|
-
<g id="create"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></g>
|
|
268
|
-
<g id="create-new-folder"><path d="M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"></path></g>
|
|
269
|
-
<g id="credit-card"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>
|
|
270
|
-
<g id="dashboard"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"></path></g>
|
|
271
|
-
<g id="date-range"><path d="M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"></path></g>
|
|
272
|
-
<g id="delete"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></g>
|
|
273
|
-
<g id="delete-forever"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12l1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"></path></g>
|
|
274
|
-
<g id="delete-sweep"><path d="M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"></path></g>
|
|
275
|
-
<g id="description"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"></path></g>
|
|
276
|
-
<g id="dns"><path d="M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>
|
|
277
|
-
<g id="done"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path></g>
|
|
278
|
-
<g id="done-all"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"></path></g>
|
|
279
|
-
<g id="donut-large"><path d="M11 5.08V2c-5 .5-9 4.81-9 10s4 9.5 9 10v-3.08c-3-.48-6-3.4-6-6.92s3-6.44 6-6.92zM18.97 11H22c-.47-5-4-8.53-9-9v3.08C16 5.51 18.54 8 18.97 11zM13 18.92V22c5-.47 8.53-4 9-9h-3.03c-.43 3-2.97 5.49-5.97 5.92z"></path></g>
|
|
280
|
-
<g id="donut-small"><path d="M11 9.16V2c-5 .5-9 4.79-9 10s4 9.5 9 10v-7.16c-1-.41-2-1.52-2-2.84s1-2.43 2-2.84zM14.86 11H22c-.48-4.75-4-8.53-9-9v7.16c1 .3 1.52.98 1.86 1.84zM13 14.84V22c5-.47 8.52-4.25 9-9h-7.14c-.34.86-.86 1.54-1.86 1.84z"></path></g>
|
|
281
|
-
<g id="drafts"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z"></path></g>
|
|
282
|
-
<g id="eject"><path d="M5 17h14v2H5zm7-12L5.33 15h13.34z"></path></g>
|
|
283
|
-
<g id="error"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></g>
|
|
284
|
-
<g id="error-outline"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>
|
|
285
|
-
<g id="euro-symbol"><path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1 0 .34.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z"></path></g>
|
|
286
|
-
<g id="event"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"></path></g>
|
|
287
|
-
<g id="event-seat"><path d="M4 18v3h3v-3h10v3h3v-6H4zm15-8h3v3h-3zM2 10h3v3H2zm15 3H7V5c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v8z"></path></g>
|
|
288
|
-
<g id="exit-to-app"><path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"></path></g>
|
|
289
|
-
<g id="expand-less"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></g>
|
|
290
|
-
<g id="expand-more"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></g>
|
|
291
|
-
<g id="explore"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path></g>
|
|
292
|
-
<g id="extension"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"></path></g>
|
|
293
|
-
<g id="face"><path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8z"></path></g>
|
|
294
|
-
<g id="favorite"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></g>
|
|
295
|
-
<g id="favorite-border"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z"></path></g>
|
|
296
|
-
<g id="feedback"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"></path></g>
|
|
297
|
-
<g id="file-download"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>
|
|
298
|
-
<g id="file-upload"><path d="M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"></path></g>
|
|
299
|
-
<g id="filter-list"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></g>
|
|
300
|
-
<g id="find-in-page"><path d="M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L20 19.59zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3z"></path></g>
|
|
301
|
-
<g id="find-replace"><path d="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"></path></g>
|
|
302
|
-
<g id="fingerprint"><path d="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"></path></g>
|
|
303
|
-
<g id="first-page"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"></path></g>
|
|
304
|
-
<g id="flag"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></g>
|
|
305
|
-
<g id="flight-land"><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z"></path></g>
|
|
306
|
-
<g id="flight-takeoff"><path d="M2.5 19h19v2h-19zm19.57-9.36c-.21-.8-1.04-1.28-1.84-1.06L14.92 10l-6.9-6.43-1.93.51 4.14 7.17-4.97 1.33-1.97-1.54-1.45.39 1.82 3.16.77 1.33 1.6-.43 5.31-1.42 4.35-1.16L21 11.49c.81-.23 1.28-1.05 1.07-1.85z"></path></g>
|
|
307
|
-
<g id="flip-to-back"><path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2v2zm0-4h2V7h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zM5 7H3v12c0 1.1.89 2 2 2h12v-2H5V7zm10-2h2V3h-2v2zm0 12h2v-2h-2v2z"></path></g>
|
|
308
|
-
<g id="flip-to-front"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3c0 1.1.89 2 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9c-1.11 0-2 .9-2 2v10c0 1.1.89 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z"></path></g>
|
|
309
|
-
<g id="folder"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"></path></g>
|
|
310
|
-
<g id="folder-open"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"></path></g>
|
|
311
|
-
<g id="folder-shared"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"></path></g>
|
|
312
|
-
<g id="font-download"><path d="M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"></path></g>
|
|
313
|
-
<g id="forward"><path d="M12 8V4l8 8-8 8v-4H4V8z"></path></g>
|
|
314
|
-
<g id="fullscreen"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></g>
|
|
315
|
-
<g id="fullscreen-exit"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></g>
|
|
316
|
-
<g id="g-translate"><path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4.09c1.04 0 1.99.37 2.74 1.07l.07.06-1.23 1.18-.06-.05c-.29-.27-.78-.59-1.52-.59-1.31 0-2.38 1.09-2.38 2.42s1.07 2.42 2.38 2.42c1.37 0 1.96-.87 2.12-1.46H7.08V9.91h3.95l.01.07c.04.21.05.4.05.61 0 2.35-1.61 4-3.92 4zm6.03-1.71c.33.6.74 1.18 1.19 1.7l-.54.53-.65-2.23zm.77-.76h-.99l-.31-1.04h3.99s-.34 1.31-1.56 2.74c-.52-.62-.89-1.23-1.13-1.7zM21 20c0 .55-.45 1-1 1h-7l2-2-.81-2.77.92-.92L17.79 18l.73-.73-2.71-2.68c.9-1.03 1.6-2.25 1.92-3.51H19v-1.04h-3.64V9h-1.04v1.04h-1.96L11.18 6H20c.55 0 1 .45 1 1v13z"></path></g>
|
|
317
|
-
<g id="gavel"><path d="M1 21h12v2H1zM5.245 8.07l2.83-2.827 14.14 14.142-2.828 2.828zM12.317 1l5.657 5.656-2.83 2.83-5.654-5.66zM3.825 9.485l5.657 5.657-2.828 2.828-5.657-5.657z"></path></g>
|
|
318
|
-
<g id="gesture"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"></path></g>
|
|
319
|
-
<g id="get-app"><path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"></path></g>
|
|
320
|
-
<g id="gif"><path d="M11.5 9H13v6h-1.5zM9 9H6c-.6 0-1 .5-1 1v4c0 .5.4 1 1 1h3c.6 0 1-.5 1-1v-2H8.5v1.5h-2v-3H10V10c0-.5-.4-1-1-1zm10 1.5V9h-4.5v6H16v-2h2v-1.5h-2v-1z"></path></g>
|
|
321
|
-
<g id="grade"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>
|
|
322
|
-
<g id="group-work"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8zm6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>
|
|
323
|
-
<g id="help"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></g>
|
|
324
|
-
<g id="help-outline"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"></path></g>
|
|
325
|
-
<g id="highlight-off"><path d="M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>
|
|
326
|
-
<g id="history"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>
|
|
327
|
-
<g id="home"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"></path></g>
|
|
328
|
-
<g id="hourglass-empty"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"></path></g>
|
|
329
|
-
<g id="hourglass-full"><path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6z"></path></g>
|
|
330
|
-
<g id="http"><path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-1c0-.8-.7-1.5-1.5-1.5zm0 2.5h-2v-1h2v1z"></path></g>
|
|
331
|
-
<g id="https"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>
|
|
332
|
-
<g id="important-devices"><path d="M23 11.01L18 11c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5c.55 0 1-.45 1-1v-9c0-.55-.45-.99-1-.99zM23 20h-5v-7h5v7zM20 2H2C.89 2 0 2.89 0 4v12c0 1.1.89 2 2 2h7v2H7v2h8v-2h-2v-2h2v-2H2V4h18v5h2V4c0-1.11-.9-2-2-2zm-8.03 7L11 6l-.97 3H7l2.47 1.76-.94 2.91 2.47-1.8 2.47 1.8-.94-2.91L15 9h-3.03z"></path></g>
|
|
333
|
-
<g id="inbox"><path d="M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10z"></path></g>
|
|
334
|
-
<g id="indeterminate-check-box"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"></path></g>
|
|
335
|
-
<g id="info"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></g>
|
|
336
|
-
<g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g>
|
|
337
|
-
<g id="input"><path d="M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z"></path></g>
|
|
338
|
-
<g id="invert-colors"><path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 19.59c-1.6 0-3.11-.62-4.24-1.76C6.62 16.69 6 15.19 6 13.59s.62-3.11 1.76-4.24L12 5.1v14.49z"></path></g>
|
|
339
|
-
<g id="label"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"></path></g>
|
|
340
|
-
<g id="label-outline"><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16zM16 17H5V7h11l3.55 5L16 17z"></path></g>
|
|
341
|
-
<g id="language"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path></g>
|
|
342
|
-
<g id="last-page"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"></path></g>
|
|
343
|
-
<g id="launch"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>
|
|
344
|
-
<g id="lightbulb-outline"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path></g>
|
|
345
|
-
<g id="line-style"><path d="M3 16h5v-2H3v2zm6.5 0h5v-2h-5v2zm6.5 0h5v-2h-5v2zM3 20h2v-2H3v2zm4 0h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM3 12h8v-2H3v2zm10 0h8v-2h-8v2zM3 4v4h18V4H3z"></path></g>
|
|
346
|
-
<g id="line-weight"><path d="M3 17h18v-2H3v2zm0 3h18v-1H3v1zm0-7h18v-3H3v3zm0-9v4h18V4H3z"></path></g>
|
|
347
|
-
<g id="link"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></g>
|
|
348
|
-
<g id="list"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"></path></g>
|
|
349
|
-
<g id="lock"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"></path></g>
|
|
350
|
-
<g id="lock-open"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"></path></g>
|
|
351
|
-
<g id="lock-outline"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"></path></g>
|
|
352
|
-
<g id="low-priority"><path d="M14 5h8v2h-8zm0 5.5h8v2h-8zm0 5.5h8v2h-8zM2 11.5C2 15.08 4.92 18 8.5 18H9v2l3-3-3-3v2h-.5C6.02 16 4 13.98 4 11.5S6.02 7 8.5 7H12V5H8.5C4.92 5 2 7.92 2 11.5z"></path></g>
|
|
353
|
-
<g id="loyalty"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7zm11.77 8.27L13 19.54l-4.27-4.27C8.28 14.81 8 14.19 8 13.5c0-1.38 1.12-2.5 2.5-2.5.69 0 1.32.28 1.77.74l.73.72.73-.73c.45-.45 1.08-.73 1.77-.73 1.38 0 2.5 1.12 2.5 2.5 0 .69-.28 1.32-.73 1.77z"></path></g>
|
|
354
|
-
<g id="mail"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>
|
|
355
|
-
<g id="markunread"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"></path></g>
|
|
356
|
-
<g id="markunread-mailbox"><path d="M20 6H10v6H8V4h6V0H6v6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2z"></path></g>
|
|
357
|
-
<g id="menu"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></g>
|
|
358
|
-
<g id="more-horiz"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>
|
|
359
|
-
<g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>
|
|
360
|
-
<g id="motorcycle"><path d="M19.44 9.03L15.41 5H11v2h3.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h1.65l2.77-2.77c-.21.54-.32 1.14-.32 1.77 0 2.8 2.2 5 5 5s5-2.2 5-5c0-2.65-1.97-4.77-4.56-4.97zM7.82 15C7.4 16.15 6.28 17 5 17c-1.63 0-3-1.37-3-3s1.37-3 3-3c1.28 0 2.4.85 2.82 2H5v2h2.82zM19 17c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"></path></g>
|
|
361
|
-
<g id="move-to-inbox"><path d="M19 3H4.99c-1.11 0-1.98.9-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19v10zm-3-5h-2V7h-4v3H8l4 4 4-4z"></path></g>
|
|
362
|
-
<g id="next-week"><path d="M20 7h-4V5c0-.55-.22-1.05-.59-1.41C15.05 3.22 14.55 3 14 3h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM10 5h4v2h-4V5zm1 13.5l-1-1 3-3-3-3 1-1 4 4-4 4z"></path></g>
|
|
363
|
-
<g id="note-add"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"></path></g>
|
|
364
|
-
<g id="offline-pin"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 16H7v-2h10v2zm-6.7-4L7 10.7l1.4-1.4 1.9 1.9 5.3-5.3L17 7.3 10.3 14z"></path></g>
|
|
365
|
-
<g id="opacity"><path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"></path></g>
|
|
366
|
-
<g id="open-in-browser"><path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm-7 6l-4 4h3v6h2v-6h3l-4-4z"></path></g>
|
|
367
|
-
<g id="open-in-new"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path></g>
|
|
368
|
-
<g id="open-with"><path d="M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"></path></g>
|
|
369
|
-
<g id="pageview"><path d="M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3.21 14.21l-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9-1.42 1.42z"></path></g>
|
|
370
|
-
<g id="pan-tool"><path d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"></path></g>
|
|
371
|
-
<g id="payment"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"></path></g>
|
|
372
|
-
<g id="perm-camera-mic"><path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 5.91V21h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-6 8c0 1.1-.9 2-2 2s-2-.9-2-2V9c0-1.1.9-2 2-2s2 .9 2 2v4z"></path></g>
|
|
373
|
-
<g id="perm-contact-calendar"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1z"></path></g>
|
|
374
|
-
<g id="perm-data-setting"><path d="M18.99 11.5c.34 0 .67.03 1 .07L20 0 0 20h11.56c-.04-.33-.07-.66-.07-1 0-4.14 3.36-7.5 7.5-7.5zm3.71 7.99c.02-.16.04-.32.04-.49 0-.17-.01-.33-.04-.49l1.06-.83c.09-.08.12-.21.06-.32l-1-1.73c-.06-.11-.19-.15-.31-.11l-1.24.5c-.26-.2-.54-.37-.85-.49l-.19-1.32c-.01-.12-.12-.21-.24-.21h-2c-.12 0-.23.09-.25.21l-.19 1.32c-.3.13-.59.29-.85.49l-1.24-.5c-.11-.04-.24 0-.31.11l-1 1.73c-.06.11-.04.24.06.32l1.06.83c-.02.16-.03.32-.03.49 0 .17.01.33.03.49l-1.06.83c-.09.08-.12.21-.06.32l1 1.73c.06.11.19.15.31.11l1.24-.5c.26.2.54.37.85.49l.19 1.32c.02.12.12.21.25.21h2c.12 0 .23-.09.25-.21l.19-1.32c.3-.13.59-.29.84-.49l1.25.5c.11.04.24 0 .31-.11l1-1.73c.06-.11.03-.24-.06-.32l-1.07-.83zm-3.71 1.01c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path></g>
|
|
375
|
-
<g id="perm-device-information"><path d="M13 7h-2v2h2V7zm0 4h-2v6h2v-6zm4-9.99L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"></path></g>
|
|
376
|
-
<g id="perm-identity"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"></path></g>
|
|
377
|
-
<g id="perm-media"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6 3.5 4.51 2.5-3.01L21 15H7z"></path></g>
|
|
378
|
-
<g id="perm-phone-msg"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM12 3v10l3-3h6V3h-9z"></path></g>
|
|
379
|
-
<g id="perm-scan-wifi"><path d="M12 3C6.95 3 3.15 4.85 0 7.23L12 22 24 7.25C20.85 4.87 17.05 3 12 3zm1 13h-2v-6h2v6zm-2-8V6h2v2h-2z"></path></g>
|
|
380
|
-
<g id="pets"><circle cx="4.5" cy="9.5" r="2.5"></circle><circle cx="9" cy="5.5" r="2.5"></circle><circle cx="15" cy="5.5" r="2.5"></circle><circle cx="19.5" cy="9.5" r="2.5"></circle><path d="M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"></path></g>
|
|
381
|
-
<g id="picture-in-picture"><path d="M19 7h-8v6h8V7zm2-4H3c-1.1 0-2 .9-2 2v14c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98V5c0-1.1-.9-2-2-2zm0 16.01H3V4.98h18v14.03z"></path></g>
|
|
382
|
-
<g id="picture-in-picture-alt"><path d="M19 11h-8v6h8v-6zm4 8V4.98C23 3.88 22.1 3 21 3H3c-1.1 0-2 .88-2 1.98V19c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H3V4.97h18v14.05z"></path></g>
|
|
383
|
-
<g id="play-for-work"><path d="M11 5v5.59H7.5l4.5 4.5 4.5-4.5H13V5h-2zm-5 9c0 3.31 2.69 6 6 6s6-2.69 6-6h-2c0 2.21-1.79 4-4 4s-4-1.79-4-4H6z"></path></g>
|
|
384
|
-
<g id="polymer"><path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"></path></g>
|
|
385
|
-
<g id="power-settings-new"><path d="M13 3h-2v10h2V3zm4.83 2.17l-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"></path></g>
|
|
386
|
-
<g id="pregnant-woman"><path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"></path></g>
|
|
387
|
-
<g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"></path></g>
|
|
388
|
-
<g id="query-builder"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>
|
|
389
|
-
<g id="question-answer"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></g>
|
|
390
|
-
<g id="radio-button-checked"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>
|
|
391
|
-
<g id="radio-button-unchecked"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"></path></g>
|
|
392
|
-
<g id="receipt"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z"></path></g>
|
|
393
|
-
<g id="record-voice-over"><circle cx="9" cy="9" r="4"></circle><path d="M9 15c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4zm7.76-9.64l-1.68 1.69c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14z"></path></g>
|
|
394
|
-
<g id="redeem"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"></path></g>
|
|
395
|
-
<g id="redo"><path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"></path></g>
|
|
396
|
-
<g id="refresh"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"></path></g>
|
|
397
|
-
<g id="remove"><path d="M19 13H5v-2h14v2z"></path></g>
|
|
398
|
-
<g id="remove-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"></path></g>
|
|
399
|
-
<g id="remove-circle-outline"><path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"></path></g>
|
|
400
|
-
<g id="remove-shopping-cart"><path d="M22.73 22.73L2.77 2.77 2 2l-.73-.73L0 2.54l4.39 4.39 2.21 4.66-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h7.46l1.38 1.38c-.5.36-.83.95-.83 1.62 0 1.1.89 2 1.99 2 .67 0 1.26-.33 1.62-.84L21.46 24l1.27-1.27zM7.42 15c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h2.36l2 2H7.42zm8.13-2c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H6.54l9.01 9zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2z"></path></g>
|
|
401
|
-
<g id="reorder"><path d="M3 15h18v-2H3v2zm0 4h18v-2H3v2zm0-8h18V9H3v2zm0-6v2h18V5H3z"></path></g>
|
|
402
|
-
<g id="reply"><path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>
|
|
403
|
-
<g id="reply-all"><path d="M7 8V5l-7 7 7 7v-3l-4-4 4-4zm6 1V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"></path></g>
|
|
404
|
-
<g id="report"><path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></g>
|
|
405
|
-
<g id="report-problem"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>
|
|
406
|
-
<g id="restore"><path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"></path></g>
|
|
407
|
-
<g id="restore-page"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm-2 16c-2.05 0-3.81-1.24-4.58-3h1.71c.63.9 1.68 1.5 2.87 1.5 1.93 0 3.5-1.57 3.5-3.5S13.93 9.5 12 9.5c-1.35 0-2.52.78-3.1 1.9l1.6 1.6h-4V9l1.3 1.3C8.69 8.92 10.23 8 12 8c2.76 0 5 2.24 5 5s-2.24 5-5 5z"></path></g>
|
|
408
|
-
<g id="room"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"></path></g>
|
|
409
|
-
<g id="rounded-corner"><path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v2zm-8 0h2v-2H7v2zm-4 0h2v-2H3v2zM21 8c0-2.76-2.24-5-5-5h-5v2h5c1.65 0 3 1.35 3 3v5h2V8z"></path></g>
|
|
410
|
-
<g id="rowing"><path d="M8.5 14.5L4 19l1.5 1.5L9 17h2l-2.5-2.5zM15 1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 20.01L18 24l-2.99-3.01V19.5l-7.1-7.09c-.31.05-.61.07-.91.07v-2.16c1.66.03 3.61-.87 4.67-2.04l1.4-1.55c.19-.21.43-.38.69-.5.29-.14.62-.23.96-.23h.03C15.99 6.01 17 7.02 17 8.26v5.75c0 .84-.35 1.61-.92 2.16l-3.58-3.58v-2.27c-.63.52-1.43 1.02-2.29 1.39L16.5 18H18l3 3.01z"></path></g>
|
|
411
|
-
<g id="save"><path d="M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"></path></g>
|
|
412
|
-
<g id="schedule"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"></path></g>
|
|
413
|
-
<g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g>
|
|
414
|
-
<g id="select-all"><path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z"></path></g>
|
|
415
|
-
<g id="send"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"></path></g>
|
|
416
|
-
<g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g>
|
|
417
|
-
<g id="settings-applications"><path d="M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z"></path></g>
|
|
418
|
-
<g id="settings-backup-restore"><path d="M14 12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2-9c-4.97 0-9 4.03-9 9H0l4 4 4-4H5c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.51 0-2.91-.49-4.06-1.3l-1.42 1.44C8.04 20.3 9.94 21 12 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"></path></g>
|
|
419
|
-
<g id="settings-bluetooth"><path d="M11 24h2v-2h-2v2zm-4 0h2v-2H7v2zm8 0h2v-2h-2v2zm2.71-18.29L12 0h-1v7.59L6.41 3 5 4.41 10.59 10 5 15.59 6.41 17 11 12.41V20h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 3.83l1.88 1.88L13 7.59V3.83zm1.88 10.46L13 16.17v-3.76l1.88 1.88z"></path></g>
|
|
420
|
-
<g id="settings-brightness"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5V16zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3V9z"></path></g>
|
|
421
|
-
<g id="settings-cell"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z"></path></g>
|
|
422
|
-
<g id="settings-ethernet"><path d="M7.77 6.76L6.23 5.48.82 12l5.41 6.52 1.54-1.28L3.42 12l4.35-5.24zM7 13h2v-2H7v2zm10-2h-2v2h2v-2zm-6 2h2v-2h-2v2zm6.77-7.52l-1.54 1.28L20.58 12l-4.35 5.24 1.54 1.28L23.18 12l-5.41-6.52z"></path></g>
|
|
423
|
-
<g id="settings-input-antenna"><path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 10.62 9.5 12c0 1.02.62 1.9 1.5 2.29v3.3L7.59 21 9 22.41l3-3 3 3L16.41 21 13 17.59v-3.3zM12 1C5.93 1 1 5.93 1 12h2c0-4.97 4.03-9 9-9s9 4.03 9 9h2c0-6.07-4.93-11-11-11z"></path></g>
|
|
424
|
-
<g id="settings-input-component"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>
|
|
425
|
-
<g id="settings-input-composite"><path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1v2zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6h-2zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6v2z"></path></g>
|
|
426
|
-
<g id="settings-input-hdmi"><path d="M18 7V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v3H5v6l3 6v3h8v-3l3-6V7h-1zM8 4h8v3h-2V5h-1v2h-2V5h-1v2H8V4z"></path></g>
|
|
427
|
-
<g id="settings-input-svideo"><path d="M8 11.5c0-.83-.67-1.5-1.5-1.5S5 10.67 5 11.5 5.67 13 6.5 13 8 12.33 8 11.5zm7-5c0-.83-.67-1.5-1.5-1.5h-3C9.67 5 9 5.67 9 6.5S9.67 8 10.5 8h3c.83 0 1.5-.67 1.5-1.5zM8.5 15c-.83 0-1.5.67-1.5 1.5S7.67 18 8.5 18s1.5-.67 1.5-1.5S9.33 15 8.5 15zM12 1C5.93 1 1 5.93 1 12s4.93 11 11 11 11-4.93 11-11S18.07 1 12 1zm0 20c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9zm5.5-11c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm-2 5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path></g>
|
|
428
|
-
<g id="settings-overscan"><path d="M12.01 5.5L10 8h4l-1.99-2.5zM18 10v4l2.5-1.99L18 10zM6 10l-2.5 2.01L6 14v-4zm8 6h-4l2.01 2.5L14 16zm7-13H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></g>
|
|
429
|
-
<g id="settings-phone"><path d="M13 9h-2v2h2V9zm4 0h-2v2h2V9zm3 6.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 9v2h2V9h-2z"></path></g>
|
|
430
|
-
<g id="settings-power"><path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm2-22h-2v10h2V2zm3.56 2.44l-1.45 1.45C16.84 6.94 18 8.83 18 11c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 4.44C5.36 5.88 4 8.28 4 11c0 4.42 3.58 8 8 8s8-3.58 8-8c0-2.72-1.36-5.12-3.44-6.56zM15 24h2v-2h-2v2z"></path></g>
|
|
431
|
-
<g id="settings-remote"><path d="M15 9H9c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V10c0-.55-.45-1-1-1zm-3 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM7.05 6.05l1.41 1.41C9.37 6.56 10.62 6 12 6s2.63.56 3.54 1.46l1.41-1.41C15.68 4.78 13.93 4 12 4s-3.68.78-4.95 2.05zM12 0C8.96 0 6.21 1.23 4.22 3.22l1.41 1.41C7.26 3.01 9.51 2 12 2s4.74 1.01 6.36 2.64l1.41-1.41C17.79 1.23 15.04 0 12 0z"></path></g>
|
|
432
|
-
<g id="settings-voice"><path d="M7 24h2v-2H7v2zm5-11c1.66 0 2.99-1.34 2.99-3L15 4c0-1.66-1.34-3-3-3S9 2.34 9 4v6c0 1.66 1.34 3 3 3zm-1 11h2v-2h-2v2zm4 0h2v-2h-2v2zm4-14h-1.7c0 3-2.54 5.1-5.3 5.1S6.7 13 6.7 10H5c0 3.41 2.72 6.23 6 6.72V20h2v-3.28c3.28-.49 6-3.31 6-6.72z"></path></g>
|
|
433
|
-
<g id="shop"><path d="M16 6V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H2v13c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6h-6zm-6-2h4v2h-4V4zM9 18V9l7.5 4L9 18z"></path></g>
|
|
434
|
-
<g id="shop-two"><path d="M3 9H1v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2H3V9zm15-4V3c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H5v11c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5h-5zm-6-2h4v2h-4V3zm0 12V8l5.5 3-5.5 4z"></path></g>
|
|
435
|
-
<g id="shopping-basket"><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"></path></g>
|
|
436
|
-
<g id="shopping-cart"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"></path></g>
|
|
437
|
-
<g id="sort"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path></g>
|
|
438
|
-
<g id="speaker-notes"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 14H6v-2h2v2zm0-3H6V9h2v2zm0-3H6V6h2v2zm7 6h-5v-2h5v2zm3-3h-8V9h8v2zm0-3h-8V6h8v2z"></path></g>
|
|
439
|
-
<g id="speaker-notes-off"><path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H18v2h-4.92l6.99 6.99C21.14 17.95 22 17.08 22 16V4c0-1.1-.9-2-2-2z"></path></g>
|
|
440
|
-
<g id="spellcheck"><path d="M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64l1.14 3zm-6.02-5L8.5 5.48 10.57 11H6.43zm15.16.59l-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13l-1.41-1.41z"></path></g>
|
|
441
|
-
<g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>
|
|
442
|
-
<g id="star-border"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>
|
|
443
|
-
<g id="star-half"><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"></path></g>
|
|
444
|
-
<g id="stars"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"></path></g>
|
|
445
|
-
<g id="store"><path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"></path></g>
|
|
446
|
-
<g id="subdirectory-arrow-left"><path d="M11 9l1.42 1.42L8.83 14H18V4h2v12H8.83l3.59 3.58L11 21l-6-6 6-6z"></path></g>
|
|
447
|
-
<g id="subdirectory-arrow-right"><path d="M19 15l-6 6-1.42-1.42L15.17 16H4V4h2v10h9.17l-3.59-3.58L13 9l6 6z"></path></g>
|
|
448
|
-
<g id="subject"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"></path></g>
|
|
449
|
-
<g id="supervisor-account"><path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"></path></g>
|
|
450
|
-
<g id="swap-horiz"><path d="M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"></path></g>
|
|
451
|
-
<g id="swap-vert"><path d="M16 17.01V10h-2v7.01h-3L15 21l4-3.99h-3zM9 3L5 6.99h3V14h2V6.99h3L9 3z"></path></g>
|
|
452
|
-
<g id="swap-vertical-circle"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"></path></g>
|
|
453
|
-
<g id="system-update-alt"><path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"></path></g>
|
|
454
|
-
<g id="tab"><path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"></path></g>
|
|
455
|
-
<g id="tab-unselected"><path d="M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"></path></g>
|
|
456
|
-
<g id="text-format"><path d="M5 17v2h14v-2H5zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1l.9-2.2zM12 5.98L13.87 11h-3.74L12 5.98z"></path></g>
|
|
457
|
-
<g id="theaters"><path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z"></path></g>
|
|
458
|
-
<g id="thumb-down"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"></path></g>
|
|
459
|
-
<g id="thumb-up"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></g>
|
|
460
|
-
<g id="thumbs-up-down"><path d="M12 6c0-.55-.45-1-1-1H5.82l.66-3.18.02-.23c0-.31-.13-.59-.33-.8L5.38 0 .44 4.94C.17 5.21 0 5.59 0 6v6.5c0 .83.67 1.5 1.5 1.5h6.75c.62 0 1.15-.38 1.38-.91l2.26-5.29c.07-.17.11-.36.11-.55V6zm10.5 4h-6.75c-.62 0-1.15.38-1.38.91l-2.26 5.29c-.07.17-.11.36-.11.55V18c0 .55.45 1 1 1h5.18l-.66 3.18-.02.24c0 .31.13.59.33.8l.79.78 4.94-4.94c.27-.27.44-.65.44-1.06v-6.5c0-.83-.67-1.5-1.5-1.5z"></path></g>
|
|
461
|
-
<g id="timeline"><path d="M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2z"></path></g>
|
|
462
|
-
<g id="toc"><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"></path></g>
|
|
463
|
-
<g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"></path></g>
|
|
464
|
-
<g id="toll"><path d="M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12c0-2.61 1.67-4.83 4-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09c-2.33-.82-4-3.04-4-5.65z"></path></g>
|
|
465
|
-
<g id="touch-app"><path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S10 6.67 10 7.5v10.74l-3.43-.72c-.08-.01-.15-.03-.24-.03-.31 0-.59.13-.79.33l-.79.8 4.94 4.94c.27.27.65.44 1.06.44h6.79c.75 0 1.33-.55 1.44-1.28l.75-5.27c.01-.07.02-.14.02-.2 0-.62-.38-1.16-.91-1.38z"></path></g>
|
|
466
|
-
<g id="track-changes"><path d="M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z"></path></g>
|
|
467
|
-
<g id="translate"><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></g>
|
|
468
|
-
<g id="trending-down"><path d="M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6z"></path></g>
|
|
469
|
-
<g id="trending-flat"><path d="M22 12l-4-4v3H3v2h15v3z"></path></g>
|
|
470
|
-
<g id="trending-up"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"></path></g>
|
|
471
|
-
<g id="turned-in"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"></path></g>
|
|
472
|
-
<g id="turned-in-not"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></g>
|
|
473
|
-
<g id="unarchive"><path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.49-.17-.93-.45-1.28zM12 9.5l5.5 5.5H14v2h-4v-2H6.5L12 9.5zM5.12 5l.82-1h12l.93 1H5.12z"></path></g>
|
|
474
|
-
<g id="undo"><path d="M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"></path></g>
|
|
475
|
-
<g id="unfold-less"><path d="M7.41 18.59L8.83 20 12 16.83 15.17 20l1.41-1.41L12 14l-4.59 4.59zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10l4.59-4.59z"></path></g>
|
|
476
|
-
<g id="unfold-more"><path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z"></path></g>
|
|
477
|
-
<g id="update"><path d="M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79 2.73 2.71 7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58 3.51-3.47 9.14-3.47 12.65 0L21 3v7.12zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8h1.5z"></path></g>
|
|
478
|
-
<g id="verified-user"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path></g>
|
|
479
|
-
<g id="view-agenda"><path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1z"></path></g>
|
|
480
|
-
<g id="view-array"><path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"></path></g>
|
|
481
|
-
<g id="view-carousel"><path d="M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z"></path></g>
|
|
482
|
-
<g id="view-column"><path d="M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z"></path></g>
|
|
483
|
-
<g id="view-day"><path d="M2 21h19v-3H2v3zM20 8H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zM2 3v3h19V3H2z"></path></g>
|
|
484
|
-
<g id="view-headline"><path d="M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"></path></g>
|
|
485
|
-
<g id="view-list"><path d="M4 14h4v-4H4v4zm0 5h4v-4H4v4zM4 9h4V5H4v4zm5 5h12v-4H9v4zm0 5h12v-4H9v4zM9 5v4h12V5H9z"></path></g>
|
|
486
|
-
<g id="view-module"><path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z"></path></g>
|
|
487
|
-
<g id="view-quilt"><path d="M10 18h5v-6h-5v6zm-6 0h5V5H4v13zm12 0h5v-6h-5v6zM10 5v6h11V5H10z"></path></g>
|
|
488
|
-
<g id="view-stream"><path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"></path></g>
|
|
489
|
-
<g id="view-week"><path d="M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"></path></g>
|
|
490
|
-
<g id="visibility"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"></path></g>
|
|
491
|
-
<g id="visibility-off"><path d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></g>
|
|
492
|
-
<g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></g>
|
|
493
|
-
<g id="watch-later"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"></path></g>
|
|
494
|
-
<g id="weekend"><path d="M21 10c-1.1 0-2 .9-2 2v3H5v-3c0-1.1-.9-2-2-2s-2 .9-2 2v5c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2zm-3-5H6c-1.1 0-2 .9-2 2v2.15c1.16.41 2 1.51 2 2.82V14h12v-2.03c0-1.3.84-2.4 2-2.82V7c0-1.1-.9-2-2-2z"></path></g>
|
|
495
|
-
<g id="work"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"></path></g>
|
|
496
|
-
<g id="youtube-searched-for"><path d="M17.01 14h-.8l-.27-.27c.98-1.14 1.57-2.61 1.57-4.23 0-3.59-2.91-6.5-6.5-6.5s-6.5 3-6.5 6.5H2l3.84 4 4.16-4H6.51C6.51 7 8.53 5 11.01 5s4.5 2.01 4.5 4.5c0 2.48-2.02 4.5-4.5 4.5-.65 0-1.26-.14-1.82-.38L7.71 15.1c.97.57 2.09.9 3.3.9 1.61 0 3.08-.59 4.22-1.57l.27.27v.79l5.01 4.99L22 19l-4.99-5z"></path></g>
|
|
497
|
-
<g id="zoom-in"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></g>
|
|
498
|
-
<g id="zoom-out"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"></path></g>
|
|
499
|
-
</defs></svg>
|
|
500
|
-
</iron-iconset-svg>`;document.head.appendChild(S.content),
|
|
501
|
-
/**
|
|
502
|
-
@license
|
|
503
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
504
|
-
This code may only be used under the BSD style license found at
|
|
505
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
506
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
507
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
508
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
509
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
510
|
-
*/
|
|
511
|
-
e({_template:t`
|
|
512
|
-
<style>
|
|
513
|
-
:host {
|
|
514
|
-
display: block;
|
|
515
|
-
transition-duration: var(--iron-collapse-transition-duration, 300ms);
|
|
516
|
-
/* Safari 10 needs this property prefixed to correctly apply the custom property */
|
|
517
|
-
-webkit-transition-duration: var(--iron-collapse-transition-duration, 300ms);
|
|
518
|
-
overflow: visible;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
:host(.iron-collapse-closed) {
|
|
522
|
-
display: none;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
:host(:not(.iron-collapse-opened)) {
|
|
526
|
-
overflow: hidden;
|
|
527
|
-
}
|
|
528
|
-
</style>
|
|
529
|
-
|
|
530
|
-
<slot></slot>
|
|
531
|
-
`,is:"iron-collapse",behaviors:[n],properties:{horizontal:{type:Boolean,value:!1,observer:"_horizontalChanged"},opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},transitioning:{type:Boolean,notify:!0,readOnly:!0},noAnimation:{type:Boolean},_desiredSize:{type:String,value:""}},get dimension(){return this.horizontal?"width":"height"},get _dimensionMax(){return this.horizontal?"maxWidth":"maxHeight"},get _dimensionMaxCss(){return this.horizontal?"max-width":"max-height"},hostAttributes:{role:"group","aria-hidden":"true"},listeners:{transitionend:"_onTransitionEnd"},toggle:function(){this.opened=!this.opened},show:function(){this.opened=!0},hide:function(){this.opened=!1},updateSize:function(e,t){e="auto"===e?"":e;var i=t&&!this.noAnimation&&this.isAttached&&this._desiredSize!==e;if(this._desiredSize=e,this._updateTransition(!1),i){var n=this._calcSize();""===e&&(this.style[this._dimensionMax]="",e=this._calcSize()),this.style[this._dimensionMax]=n,this.scrollTop=this.scrollTop,this._updateTransition(!0),i=e!==n}this.style[this._dimensionMax]=e,i||this._transitionEnd()},enableTransition:function(e){r._warn("`enableTransition()` is deprecated, use `noAnimation` instead."),this.noAnimation=!e},_updateTransition:function(e){this.style.transitionDuration=e&&!this.noAnimation?"":"0s"},_horizontalChanged:function(){this.style.transitionProperty=this._dimensionMaxCss;var e="maxWidth"===this._dimensionMax?"maxHeight":"maxWidth";this.style[e]="",this.updateSize(this.opened?"auto":"0px",!1)},_openedChanged:function(){this.setAttribute("aria-hidden",!this.opened),this._setTransitioning(!0),this.toggleClass("iron-collapse-closed",!1),this.toggleClass("iron-collapse-opened",!1),this.updateSize(this.opened?"auto":"0px",!0),this.opened&&this.focus()},_transitionEnd:function(){this.style[this._dimensionMax]=this._desiredSize,this.toggleClass("iron-collapse-closed",!this.opened),this.toggleClass("iron-collapse-opened",this.opened),this._updateTransition(!1),this.notifyResize(),this._setTransitioning(!1)},_onTransitionEnd:function(e){o(e).rootTarget===this&&this._transitionEnd()},_calcSize:function(){return this.getBoundingClientRect()[this.dimension]+"px"}});class H extends(x(w)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{horizontal:{type:Boolean},noAnimation:{type:Boolean,attribute:"no-animation"},opened:{type:Boolean},toggles:{type:Boolean},expandIcon:{type:String,attribute:"expand-icon"},collapseIcon:{type:String,attribute:"collapse-icon"},noIcons:{type:Boolean,attribute:"no-icons"}})}constructor(){super(),this.horizontal=!1,this.noAnimation=!1,this.opened=!1,this.expandIcon="icons:expand-more",this.collapseIcon="icons:expand-less",this.noIcons=!1,this.toggles=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("pb-collapse-open",()=>{this.open()}),this.toggles&&this.subscribeTo("pb-collapse-open",e=>{if(e.detail&&e.detail._source!==this){for(const t of this.querySelectorAll("pb-collapse"))if(t===e.detail._source)return;this.close()}})}open(){this.opened||(this.opened=!0,this.emitTo("pb-collapse-open",this))}close(){this.opened&&(this.opened=!1)}toggle(){this.opened=!this.opened,this.opened&&this.emitTo("pb-collapse-open",this.data)}render(){return z`
|
|
532
|
-
<div id="trigger" @click="${this.toggle}" class="collapse-trigger">
|
|
533
|
-
${this.noIcons?null:z`<iron-icon icon="${this.opened?this.collapseIcon:this.expandIcon}"></iron-icon>`}
|
|
534
|
-
<slot id="collapseTrigger" name="collapse-trigger"></slot>
|
|
535
|
-
</div>
|
|
536
|
-
<iron-collapse id="collapse" horizontal="${this.horizontal}" no-animation="${this.noAnimation}" .opened="${this.opened}">
|
|
537
|
-
<slot name="collapse-content"></slot>
|
|
538
|
-
</iron-collapse>
|
|
539
|
-
`}static get styles(){return C`
|
|
540
|
-
:host {
|
|
541
|
-
display: block;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
#trigger {
|
|
545
|
-
display: table-row;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
#trigger iron-icon {
|
|
549
|
-
display: table-cell;
|
|
550
|
-
padding: var(--pb-collapse-icon-padding, 0 4px 0 0);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
slot[name="collapse-trigger"] {
|
|
554
|
-
display: table-cell;
|
|
555
|
-
}
|
|
556
|
-
`}}customElements.define("pb-collapse",H);
|
|
557
|
-
/**
|
|
558
|
-
@license
|
|
559
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
560
|
-
This code may only be used under the BSD style license found at
|
|
561
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
562
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
563
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
564
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
565
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
566
|
-
*/
|
|
567
|
-
const T=document.createElement("template");T.setAttribute("style","display: none;"),T.innerHTML="<dom-module id=\"paper-item-shared-styles\">\n <template>\n <style>\n :host, .paper-item {\n display: block;\n position: relative;\n min-height: var(--paper-item-min-height, 48px);\n padding: 0px 16px;\n }\n\n .paper-item {\n @apply --paper-font-subhead;\n border:none;\n outline: none;\n background: white;\n width: 100%;\n text-align: left;\n }\n\n :host([hidden]), .paper-item[hidden] {\n display: none !important;\n }\n\n :host(.iron-selected), .paper-item.iron-selected {\n font-weight: var(--paper-item-selected-weight, bold);\n\n @apply --paper-item-selected;\n }\n\n :host([disabled]), .paper-item[disabled] {\n color: var(--paper-item-disabled-color, var(--disabled-text-color));\n\n @apply --paper-item-disabled;\n }\n\n :host(:focus), .paper-item:focus {\n position: relative;\n outline: 0;\n\n @apply --paper-item-focused;\n }\n\n :host(:focus):before, .paper-item:focus:before {\n @apply --layout-fit;\n\n background: currentColor;\n content: '';\n opacity: var(--dark-divider-opacity);\n pointer-events: none;\n\n @apply --paper-item-focused-before;\n }\n </style>\n </template>\n</dom-module>",document.head.appendChild(T.content);
|
|
568
|
-
/**
|
|
569
|
-
@license
|
|
570
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
571
|
-
This code may only be used under the BSD style license found at
|
|
572
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
573
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
574
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
575
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
576
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
577
|
-
*/
|
|
578
|
-
const V=[l,s,{hostAttributes:{role:"option",tabindex:"0"}}];
|
|
579
|
-
/**
|
|
580
|
-
@license
|
|
581
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
582
|
-
This code may only be used under the BSD style license found at
|
|
583
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
584
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
585
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
586
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
587
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
588
|
-
*/
|
|
589
|
-
e({_template:t`
|
|
590
|
-
<style include="paper-item-shared-styles">
|
|
591
|
-
:host {
|
|
592
|
-
@apply --layout-horizontal;
|
|
593
|
-
@apply --layout-center;
|
|
594
|
-
@apply --paper-font-subhead;
|
|
595
|
-
|
|
596
|
-
@apply --paper-item;
|
|
597
|
-
}
|
|
598
|
-
</style>
|
|
599
|
-
<slot></slot>
|
|
600
|
-
`,is:"paper-item",behaviors:[V]});
|
|
601
|
-
/**
|
|
602
|
-
@license
|
|
603
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
604
|
-
This code may only be used under the BSD style license found at
|
|
605
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
606
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
607
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
608
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
609
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
610
|
-
*/
|
|
611
|
-
const O=t`
|
|
612
|
-
<dom-module id="paper-material-shared-styles">
|
|
613
|
-
<template>
|
|
614
|
-
<style>
|
|
615
|
-
:host {
|
|
616
|
-
display: block;
|
|
617
|
-
position: relative;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
:host([elevation="1"]) {
|
|
621
|
-
@apply --shadow-elevation-2dp;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
:host([elevation="2"]) {
|
|
625
|
-
@apply --shadow-elevation-4dp;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
:host([elevation="3"]) {
|
|
629
|
-
@apply --shadow-elevation-6dp;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
:host([elevation="4"]) {
|
|
633
|
-
@apply --shadow-elevation-8dp;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
:host([elevation="5"]) {
|
|
637
|
-
@apply --shadow-elevation-16dp;
|
|
638
|
-
}
|
|
639
|
-
</style>
|
|
640
|
-
</template>
|
|
641
|
-
</dom-module>
|
|
642
|
-
`;O.setAttribute("style","display: none;"),document.body.appendChild(O.content),
|
|
643
|
-
/**
|
|
644
|
-
@license
|
|
645
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
646
|
-
This code may only be used under the BSD style license found at
|
|
647
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
648
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
649
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
650
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
651
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
652
|
-
*/
|
|
653
|
-
e({_template:t`
|
|
654
|
-
<style include="paper-material-shared-styles"></style>
|
|
655
|
-
<style>
|
|
656
|
-
:host([animated]) {
|
|
657
|
-
@apply --shadow-transition;
|
|
658
|
-
}
|
|
659
|
-
:host {
|
|
660
|
-
@apply --paper-material;
|
|
661
|
-
}
|
|
662
|
-
</style>
|
|
663
|
-
|
|
664
|
-
<slot></slot>
|
|
665
|
-
`,is:"paper-material",properties:{elevation:{type:Number,reflectToAttribute:!0,value:1},animated:{type:Boolean,reflectToAttribute:!0,value:!1}}});var N={UP:"up",DOWN:"down"},_={LEFT_ARROW:37,RIGHT_ARROW:39,UP_ARROW:38,DOWN_ARROW:40,ENTER:13,ESCAPE:27};e({_template:t`
|
|
666
|
-
<style>
|
|
667
|
-
paper-material {
|
|
668
|
-
display: none;
|
|
669
|
-
position: absolute;
|
|
670
|
-
width: 100%;
|
|
671
|
-
z-index: 1000;
|
|
672
|
-
background-color: white;
|
|
673
|
-
max-height: 252px;
|
|
674
|
-
overflow-y: auto;
|
|
675
|
-
|
|
676
|
-
@apply --suggestions-wrapper;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
paper-item,
|
|
680
|
-
:host ::slotted(paper-item) {
|
|
681
|
-
min-height: var(--paper-item-min-height, 36px);
|
|
682
|
-
padding: 0 16px;
|
|
683
|
-
position: relative;
|
|
684
|
-
line-height: 18px;
|
|
685
|
-
|
|
686
|
-
@apply --suggestions-item;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
paper-item:hover,
|
|
690
|
-
:host ::slotted(paper-item:hover) {
|
|
691
|
-
background: #eee;
|
|
692
|
-
color: #333;
|
|
693
|
-
cursor: pointer;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
paper-item.active,
|
|
697
|
-
:host ::slotted(paper-item.active) {
|
|
698
|
-
background: #eee;
|
|
699
|
-
color: #333;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* IE11 paper-item min-height bug: https://github.com/PolymerElements/paper-item/issues/35
|
|
704
|
-
*/
|
|
705
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
706
|
-
paper-item {
|
|
707
|
-
height: var(--paper-item-min-height, 36px);
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
</style>
|
|
711
|
-
<div>
|
|
712
|
-
<!-- unselectable is needed to fix an issue related to the focus being taken away when clicking in the
|
|
713
|
-
results scrollbar -->
|
|
714
|
-
<paper-material elevation="1" id="suggestionsWrapper" unselectable="on"></paper-material>
|
|
715
|
-
|
|
716
|
-
<!-- Default suggestion template -->
|
|
717
|
-
<template id="defaultTemplate">
|
|
718
|
-
<paper-item id\$="[[_getSuggestionId(index)]]" role="option" aria-selected="false" on-tap="_onSelect">
|
|
719
|
-
<div>[[_getItemText(item)]]</div>
|
|
720
|
-
<paper-ripple></paper-ripple>
|
|
721
|
-
</paper-item>
|
|
722
|
-
</template>
|
|
723
|
-
|
|
724
|
-
<!-- Custom template -->
|
|
725
|
-
<slot id="templates" name="autocomplete-custom-template"></slot>
|
|
726
|
-
</div>
|
|
727
|
-
`,is:"paper-autocomplete-suggestions",behaviors:[a],properties:{for:{type:String},isOpen:{type:Boolean,value:!1,notify:!0},minLength:{type:Number,value:1},maxViewableItems:{type:Number,value:7},textProperty:{type:String,value:"text"},valueProperty:{type:String,value:"value"},source:{type:Array},selectedOption:{type:Object,notify:!0},remoteSource:{type:Boolean,value:!1},eventNamespace:{type:String,value:"-"},highlightedSuggestion:{type:Object,value:{},notify:!0},queryFn:{type:Function},highlightFirst:{type:Boolean,value:!1},showResultsOnFocus:{type:Boolean,value:!1},_suggestions:{type:Array,observer:"_onSuggestionsChanged"},_currentIndex:{type:Number,value:-1},_scrollIndex:{type:Number,value:0},_itemHeight:{type:Number,value:36,observer:"_itemHeightChanged"},_value:{value:void 0},_text:{value:void 0},_idItemSeed:{type:String,value:"aria-"+(new Date).getTime()+"-"+Math.floor(1e3*Math.random()),readOnly:!0},_bindedFunctions:{type:Object,value:function(){return{_onKeypress:null,_onFocus:null,_onBlur:null}}},_hasItemHighBeenCalculated:{type:Boolean,value:!1},__customTplRef:Object},ready:function(){this._value=this.value,this.dataHost=this,this.$.suggestionsWrapper.addEventListener("mousedown",(function(e){e.preventDefault()})),this._suggestionTemplate.__dataHost=this,this.templatize(this._suggestionTemplate)},attached:function(){if(this._input=this.parentNode.querySelector("#"+this.for),null===this._input)throw new Error("Cannot find input field with id: "+this.for);this._bindedFunctions._onKeypress=this._onKeypress.bind(this),this._bindedFunctions._onFocus=this._onFocus.bind(this),this._bindedFunctions._onBlur=this._onBlur.bind(this),this._input.addEventListener("keyup",this._bindedFunctions._onKeypress),this._input.addEventListener("focus",this._bindedFunctions._onFocus),this._input.addEventListener("blur",this._bindedFunctions._onBlur)},detached:function(){this.cancelDebouncer("_onSuggestionChanged"),this._input.removeEventListener("keyup",this._bindedFunctions._onKeypress),this._input.removeEventListener("focus",this._bindedFunctions._onFocus),this._input.removeEventListener("blur",this._bindedFunctions._onBlur),this._input=null,this.__customTplRef=null},_getItemText:function(e){return e[this.textProperty]},_showSuggestionsWrapper:function(){var e=this.$.suggestionsWrapper;e.style.display="block",e.setAttribute("role","listbox"),this.isOpen=!0},_hideSuggestionsWrapper:function(){var e=this.$.suggestionsWrapper;e.style.display="none",e.removeAttribute("role"),this.isOpen=!1,this.highlightedSuggestion={},this._clearSuggestions()},_handleSuggestions:function(e){this.remoteSource?this._remoteSuggestions():this._createSuggestions(e)},_remoteSuggestions:function(){var e=this._input.value,t={text:e,value:e};e&&e.length>=this.minLength?this._fireEvent(t,"change"):this._suggestions=[]},_bindSuggestions:function(e){e.length&&e.length>0?(this._suggestions=e,this._currentIndex=-1,this._scrollIndex=0):this._suggestions=[]},_createSuggestions:function(e){this._currentIndex=-1,this._scrollIndex=0;var t=e.target.value;null!==t&&t.length>=this.minLength?(t=t.toLowerCase(),this.source&&this.source.length>0&&(this._suggestions=this.queryFn(this.source,t))):this._suggestions=[]},get _suggestionTemplate(){if(this.__customTplRef)return this.__customTplRef;var e=this.getEffectiveChildren();return this.__customTplRef=e.length>0?e[0]:this.$.defaultTemplate,this.__customTplRef},_renderSuggestions:function(e){var t=o(this.$.suggestionsWrapper);this._clearSuggestions(),[].slice.call(e).forEach(function(e,i){var n=this.stamp();n.item=e,n.index=i,t.appendChild(n.root)}.bind(this))},_clearSuggestions:function(){for(var e,t=o(this.$.suggestionsWrapper);e=t.lastChild;)t.removeChild(e)},_onSuggestionsChanged:function(){this.debounce("_onSuggestionChanged",()=>{if(this._renderSuggestions(this._suggestions),this._suggestions.length>0?this._showSuggestionsWrapper():this._hideSuggestionsWrapper(),c(),this._resetScroll(),!this._hasItemHighBeenCalculated){var e=this.$.suggestionsWrapper.querySelector("paper-item");null!==e&&(this._itemHeight=e.offsetHeight,this._hasItemHighBeenCalculated=!0)}this.highlightFirst&&this._moveHighlighted(N.DOWN)},100)},_selection:function(e){var t=this._suggestions[e];this._input.value=t[this.textProperty],this.selectedOption=t,this._value=this.value,this._text=this.text,this._emptyItems(),this._fireEvent(t,"selected"),this.hideSuggestions()},_getItems:function(){return this.$.suggestionsWrapper.querySelectorAll("paper-item")},_emptyItems:function(){this._suggestions=[]},_getId:function(){var e=this.getAttribute("id");return e||(e=this.dataset.id),e},_removeActive:function(e){[].slice.call(e).forEach((function(e){e.classList.remove("active"),e.setAttribute("aria-selected","false")}))},_onKeypress:function(e){switch(e.which||e.keyCode){case _.DOWN_ARROW:this._moveHighlighted(N.DOWN);break;case _.UP_ARROW:this._moveHighlighted(N.UP);break;case _.ENTER:this._keyenter();break;case _.ESCAPE:this._hideSuggestionsWrapper();break;case _.LEFT_ARROW:case _.RIGHT_ARROW:break;default:this._handleSuggestions(e)}},_keyenter:function(){if("block"===this.$.suggestionsWrapper.style.display&&this._currentIndex>-1){var e=this._currentIndex;this._selection(e)}},_moveHighlighted:function(e){var t=this._getItems();if(0!==t.length){var i=t.length-1,n=0===this._currentIndex,r=this._currentIndex===i;if((-1===this._currentIndex||n)&&e===N.UP)this._currentIndex=i;else if(r&&e===N.DOWN)this._currentIndex=0;else{var o=e===N.DOWN?1:-1;this._currentIndex=this._currentIndex+o}var l=this._suggestions[this._currentIndex],s=t[this._currentIndex];this._removeActive(t),s.classList.add("active"),s.setAttribute("aria-selected","true"),this._setHighlightedSuggestion(l,s.id),this._scroll(e)}},_scroll:function(e){var t,i,n=this._currentIndex-this._scrollIndex,r=0===this._currentIndex&&n<0,o=this._currentIndex===this._suggestions.length-1&&n>=this.maxViewableItems;r&&e===N.DOWN?(t=0,i=!0):o&&e===N.UP?(t=this._suggestions.length-this.maxViewableItems,i=!0):e===N.UP?(t=this._scrollIndex-1,i=n<0):(t=this._scrollIndex+1,i=n>=this.maxViewableItems),i&&(this._scrollIndex=t,this.$.suggestionsWrapper.scrollTop=this._scrollIndex*this._itemHeight)},_resetScroll:function(){this.$.suggestionsWrapper.scrollTop=0},_setHighlightedSuggestion:function(e,t){this.highlightedSuggestion={option:e,elementId:t,textValue:e[this.textProperty],value:e[this.valueProperty]}},_fireEvent:function(e,t){var i=this._getId(),n="autocomplete"+this.eventNamespace+t;this.fire(n,{id:i,value:e[this.valueProperty]||e.value,text:e[this.textProperty]||e.text,target:this,option:e})},_onSelect:function(e){var t=this.modelForElement(e.currentTarget).index;this._selection(t)},_onBlur:function(){var e={text:this.text,value:this.value};this._fireEvent(e,"blur"),this.hideSuggestions()},_onFocus:function(e){var t={text:this.text,value:this.value};this.showResultsOnFocus&&this._handleSuggestions(e),this._fireEvent(t,"focus")},_getSuggestionId:function(e){return this._idItemSeed+"-"+e},_itemHeightChanged:function(){this.$.suggestionsWrapper.style.maxHeight=this._itemHeight*this.maxViewableItems+"px"},suggestions:function(e){this._bindSuggestions(e)},hideSuggestions:function(){setTimeout(function(){this._hideSuggestionsWrapper()}.bind(this),0)},queryFn:function(e,t){var i=[];return e.forEach(function(e){var n,r;if("object"==typeof e?(n=e[this.textProperty],r=e[this.valueProperty]):r=n=e.toString(),0===n.toLowerCase().indexOf(t)){var o={};o[this.textProperty]=n,o[this.valueProperty]=r,i.push(o)}}.bind(this)),i}});
|
|
728
|
-
/*!
|
|
729
|
-
* hotkeys-js v3.8.7
|
|
730
|
-
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
|
731
|
-
*
|
|
732
|
-
* Copyright (c) 2021 kenny wong <wowohoo@qq.com>
|
|
733
|
-
* http://jaywcjlove.github.io/hotkeys
|
|
734
|
-
*
|
|
735
|
-
* Licensed under the MIT license.
|
|
736
|
-
*/
|
|
737
|
-
var E="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function I(e,t,i){e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){i(window.event)}))}function D(e,t){for(var i=t.slice(0,t.length-1),n=0;n<i.length;n++)i[n]=e[i[n].toLowerCase()];return i}function W(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),i=t.lastIndexOf("");i>=0;)t[i-1]+=",",t.splice(i,1),i=t.lastIndexOf("");return t}function B(e,t){for(var i=e.length>=t.length?e:t,n=e.length>=t.length?t:e,r=!0,o=0;o<i.length;o++)-1===n.indexOf(i[o])&&(r=!1);return r}for(var F={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":E?173:189,"=":E?61:187,";":E?59:186,"'":222,"[":219,"]":221,"\\":220},P={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},R={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},U={16:!1,18:!1,17:!1,91:!1},G={},K=1;K<20;K++)F["f".concat(K)]=111+K;var j=[],q="all",X=[],Y=function(e){return F[e.toLowerCase()]||P[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function $(e){q=e||"all"}function Z(){return q||"all"}function Q(){return j.slice(0)}function J(e){var t=e.target||e.srcElement,i=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==i&&"TEXTAREA"!==i&&"SELECT"!==i||t.readOnly)||(n=!1),n}function ee(e){return"string"==typeof e&&(e=Y(e)),-1!==j.indexOf(e)}function te(e,t){var i,n;for(var r in e||(e=Z()),G)if(Object.prototype.hasOwnProperty.call(G,r))for(i=G[r],n=0;n<i.length;)i[n].scope===e?i.splice(n,1):n++;Z()===e&&$(t||"all")}function ie(e){var t=e.keyCode||e.which||e.charCode,i=j.indexOf(t);if(i>=0&&j.splice(i,1),e.key&&"meta"===e.key.toLowerCase()&&j.splice(0,j.length),93!==t&&224!==t||(t=91),t in U)for(var n in U[t]=!1,P)P[n]===t&&(ae[n]=!1)}function ne(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&re(e)}));else if("object"==typeof e)e.key&&re(e);else if("string"==typeof e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=i[0],o=i[1];"function"==typeof r&&(o=r,r=""),re({key:e,scope:r,method:o,splitKey:"+"})}}else Object.keys(G).forEach((function(e){return delete G[e]}))}var re=function(e){var t=e.key,i=e.scope,n=e.method,r=e.splitKey,o=void 0===r?"+":r;W(t).forEach((function(e){var t=e.split(o),r=t.length,l=t[r-1],s="*"===l?"*":Y(l);if(G[s]){i||(i=Z());var a=r>1?D(P,t):[];G[s]=G[s].map((function(e){return(!n||e.method===n)&&e.scope===i&&B(e.mods,a)?{}:e}))}}))};function oe(e,t,i){var n;if(t.scope===i||"all"===t.scope){for(var r in n=t.mods.length>0,U)Object.prototype.hasOwnProperty.call(U,r)&&(!U[r]&&t.mods.indexOf(+r)>-1||U[r]&&-1===t.mods.indexOf(+r))&&(n=!1);(0!==t.mods.length||U[16]||U[18]||U[17]||U[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function le(e){var t=G["*"],i=e.keyCode||e.which||e.charCode;if(ae.filter.call(this,e)){if(93!==i&&224!==i||(i=91),-1===j.indexOf(i)&&229!==i&&j.push(i),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var i=R[t];e[t]&&-1===j.indexOf(i)?j.push(i):!e[t]&&j.indexOf(i)>-1?j.splice(j.indexOf(i),1):"metaKey"===t&&e[t]&&3===j.length&&(e.ctrlKey||e.shiftKey||e.altKey||(j=j.slice(j.indexOf(i))))})),i in U){for(var n in U[i]=!0,P)P[n]===i&&(ae[n]=!0);if(!t)return}for(var r in U)Object.prototype.hasOwnProperty.call(U,r)&&(U[r]=e[R[r]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===j.indexOf(17)&&j.push(17),-1===j.indexOf(18)&&j.push(18),U[17]=!0,U[18]=!0);var o=Z();if(t)for(var l=0;l<t.length;l++)t[l].scope===o&&("keydown"===e.type&&t[l].keydown||"keyup"===e.type&&t[l].keyup)&&oe(e,t[l],o);if(i in G)for(var s=0;s<G[i].length;s++)if(("keydown"===e.type&&G[i][s].keydown||"keyup"===e.type&&G[i][s].keyup)&&G[i][s].key){for(var a=G[i][s],c=a.splitKey,h=a.key.split(c),d=[],u=0;u<h.length;u++)d.push(Y(h[u]));d.sort().join("")===j.sort().join("")&&oe(e,a,o)}}}function se(e){return X.indexOf(e)>-1}function ae(e,t,i){j=[];var n=W(e),r=[],o="all",l=document,s=0,a=!1,c=!0,h="+";for(void 0===i&&"function"==typeof t&&(i=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(o=t.scope),t.element&&(l=t.element),t.keyup&&(a=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(h=t.splitKey)),"string"==typeof t&&(o=t);s<n.length;s++)r=[],(e=n[s].split(h)).length>1&&(r=D(P,e)),(e="*"===(e=e[e.length-1])?"*":Y(e))in G||(G[e]=[]),G[e].push({keyup:a,keydown:c,scope:o,mods:r,shortcut:n[s],method:i,key:n[s],splitKey:h});void 0!==l&&!se(l)&&window&&(X.push(l),I(l,"keydown",(function(e){le(e)})),I(window,"focus",(function(){j=[]})),I(l,"keyup",(function(e){le(e),ie(e)})))}var ce={setScope:$,getScope:Z,deleteScope:te,getPressedKeyCodes:Q,isPressed:ee,filter:J,unbind:ne};for(var he in ce)Object.prototype.hasOwnProperty.call(ce,he)&&(ae[he]=ce[he]);if("undefined"!=typeof window){var de=window.hotkeys;ae.noConflict=function(e){return e&&window.hotkeys===ae&&(window.hotkeys=de),ae},window.hotkeys=ae}const ue=new Set(["INPUT","SELECT","TEXTAREA","PAPER-INPUT","PAPER-TEXTAREA","PB-SEARCH"]);let pe=!0;pe&&(ae.filter=e=>{const t=(e.target||e.srcElement).tagName;return!(t.isContentEditable||ue.has(t))},pe=!1);const me=e=>class extends e{static get properties(){return Object.assign(Object.assign({},super.properties),{},{hotkeys:{type:Object}})}constructor(){super(),this.hotkeys={}}registerHotkey(e,t,i){e&&this.hotkeys[e]&&(i?ae(this.hotkeys[e],{element:i},t):ae(this.hotkeys[e],t))}display(e){if(e&&this.hotkeys[e]){let t=[];return this.hotkeys[e].split(/\s*,\s*/).forEach(e=>{t.push(e.replace("+","-"))}),t.join(", ")}return""}};function ge(e,t,i){i?ae(e,{element:i},t):ae(e,t)}window.pbKeyboard=ge,
|
|
738
|
-
/**
|
|
739
|
-
@license
|
|
740
|
-
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
|
|
741
|
-
This code may only be used under the BSD style license found at
|
|
742
|
-
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
|
743
|
-
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
|
744
|
-
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
|
745
|
-
part of the polymer project is also subject to an additional IP rights grant
|
|
746
|
-
found at http://polymer.github.io/PATENTS.txt
|
|
747
|
-
*/
|
|
748
|
-
e({is:"paper-icon-button",_template:t`
|
|
749
|
-
<style>
|
|
750
|
-
:host {
|
|
751
|
-
display: inline-block;
|
|
752
|
-
position: relative;
|
|
753
|
-
padding: 8px;
|
|
754
|
-
outline: none;
|
|
755
|
-
-webkit-user-select: none;
|
|
756
|
-
-moz-user-select: none;
|
|
757
|
-
-ms-user-select: none;
|
|
758
|
-
user-select: none;
|
|
759
|
-
cursor: pointer;
|
|
760
|
-
z-index: 0;
|
|
761
|
-
line-height: 1;
|
|
762
|
-
|
|
763
|
-
width: 40px;
|
|
764
|
-
height: 40px;
|
|
765
|
-
|
|
766
|
-
/*
|
|
767
|
-
NOTE: Both values are needed, since some phones require the value to
|
|
768
|
-
be \`transparent\`.
|
|
769
|
-
*/
|
|
770
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
771
|
-
-webkit-tap-highlight-color: transparent;
|
|
772
|
-
|
|
773
|
-
/* Because of polymer/2558, this style has lower specificity than * */
|
|
774
|
-
box-sizing: border-box !important;
|
|
775
|
-
|
|
776
|
-
@apply --paper-icon-button;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
:host #ink {
|
|
780
|
-
color: var(--paper-icon-button-ink-color, var(--primary-text-color));
|
|
781
|
-
opacity: 0.6;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
:host([disabled]) {
|
|
785
|
-
color: var(--paper-icon-button-disabled-text, var(--disabled-text-color));
|
|
786
|
-
pointer-events: none;
|
|
787
|
-
cursor: auto;
|
|
788
|
-
|
|
789
|
-
@apply --paper-icon-button-disabled;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
:host([hidden]) {
|
|
793
|
-
display: none !important;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
:host(:hover) {
|
|
797
|
-
@apply --paper-icon-button-hover;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
iron-icon {
|
|
801
|
-
--iron-icon-width: 100%;
|
|
802
|
-
--iron-icon-height: 100%;
|
|
803
|
-
}
|
|
804
|
-
</style>
|
|
805
|
-
|
|
806
|
-
<iron-icon id="icon" src="[[src]]" icon="[[icon]]"
|
|
807
|
-
alt$="[[alt]]"></iron-icon>
|
|
808
|
-
`,hostAttributes:{role:"button",tabindex:"0"},behaviors:[h],registered:function(){this._template.setAttribute("strip-whitespace","")},properties:{src:{type:String},icon:{type:String},alt:{type:String,observer:"_altChanged"}},_altChanged:function(e,t){var i=this.getAttribute("aria-label");i&&t!=i||this.setAttribute("aria-label",e)}}),e({_template:t`
|
|
809
|
-
<style>
|
|
810
|
-
:host {
|
|
811
|
-
display: block;
|
|
812
|
-
box-sizing: border-box;
|
|
813
|
-
position: relative;
|
|
814
|
-
|
|
815
|
-
--paper-input-container-focus-color: var(--primary-color);
|
|
816
|
-
|
|
817
|
-
--paper-icon-button: {
|
|
818
|
-
height: 24px;
|
|
819
|
-
width: 24px;
|
|
820
|
-
padding: 2px;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
--paper-input-container-ms-clear: {
|
|
824
|
-
display: none;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
.input-wrapper {
|
|
829
|
-
@apply --layout-horizontal;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
.input-wrapper paper-input {
|
|
833
|
-
@apply --layout-flex;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
#clear {
|
|
837
|
-
display: none;
|
|
838
|
-
line-height: 8px;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
.sr-only {
|
|
842
|
-
position: absolute;
|
|
843
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
paper-autocomplete-suggestions {
|
|
847
|
-
--suggestions-wrapper: {
|
|
848
|
-
@apply --paper-autocomplete-suggestions-wrapper;
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
--paper-item-min-height: var(--paper-autocomplete-suggestions-item-min-height, 36px);
|
|
852
|
-
}
|
|
853
|
-
</style>
|
|
854
|
-
|
|
855
|
-
<div class="input-wrapper" role="combobox" aria-haspopup="true" aria-owns="suggestionsWrapper" aria-expanded\$="[[_isSuggestionsOpened]]">
|
|
856
|
-
<!-- For accessibility, it is needed to have a label or aria-label. Label is preferred -->
|
|
857
|
-
<label for="autocompleteInput" class="sr-only">[[label]]</label>
|
|
858
|
-
|
|
859
|
-
<!-- Adding a hidden input to integrate with iron-form, if required -->
|
|
860
|
-
<input type="hidden" name\$="[[name]]" value\$="[[value]]">
|
|
861
|
-
|
|
862
|
-
<paper-input id="autocompleteInput" label="[[label]]" autocapitalize="[[autocapitalize]]" no-label-float="[[noLabelFloat]]" disabled="{{disabled}}" readonly="[[readonly]]" focused="{{focused}}" auto-validate\$="[[autoValidate]]" error-message\$="[[errorMessage]]" required\$="[[required]]" value="{{text}}" allowed-pattern="[[allowedPattern]]" pattern="[[pattern]]" always-float-label="[[alwaysFloatLabel]]" char-counter\$="[[charCounter]]" maxlength\$="[[maxlength]]" placeholder="[[placeholder]]" invalid="{{invalid}}" role="textbox" aria-autocomplete="list" aria-multiline="false" aria-activedescendant\$="[[_highlightedSuggestion.elementId]]" aria-disabled\$="[[disabled]]" aria-controls="autocompleteStatus suggestionsWrapper">
|
|
863
|
-
|
|
864
|
-
<slot name="prefix" slot="prefix"></slot>
|
|
865
|
-
<!-- TODO: remove tabindex workaround when is fixed https://github.com/PolymerElements/paper-input/issues/324 -->
|
|
866
|
-
<paper-icon-button slot="suffix" suffix="" id="clear" icon="clear" on-click="_clear" tabindex="-1"></paper-icon-button>
|
|
867
|
-
<slot name="suffix" slot="suffix"></slot>
|
|
868
|
-
</paper-input>
|
|
869
|
-
<!-- to announce current selection to screen reader -->
|
|
870
|
-
<span id="autocompleteStatus" role="status" class="sr-only">[[_highlightedSuggestion.textValue]]</span>
|
|
871
|
-
</div>
|
|
872
|
-
|
|
873
|
-
<paper-autocomplete-suggestions for="autocompleteInput" id="paperAutocompleteSuggestions" min-length="[[minLength]]" text-property="[[textProperty]]" value-property="[[valueProperty]]" selected-option="{{selectedOption}}" source="[[source]]" remote-source="[[remoteSource]]" query-fn="[[queryFn]]" event-namespace="[[eventNamespace]]" highlighted-suggestion="{{_highlightedSuggestion}}" is-open="{{_isSuggestionsOpened}}" highlight-first="[[highlightFirst]]" show-results-on-focus="[[showResultsOnFocus]]">
|
|
874
|
-
|
|
875
|
-
<slot id="templates" name="autocomplete-custom-template"></slot>
|
|
876
|
-
|
|
877
|
-
</paper-autocomplete-suggestions>
|
|
878
|
-
`,is:"paper-autocomplete",properties:{autoValidate:{type:Boolean,value:!1},invalid:{type:Boolean,notify:!0,value:!1},autocapitalize:String,errorMessage:{type:String},label:String,noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},placeholder:String,required:{type:Boolean,value:!1},readonly:{type:Boolean,value:!1},focused:{type:Boolean,value:!1,notify:!0},disabled:{type:Boolean,value:!1},source:{type:Array,observer:"_sourceChanged"},textProperty:{type:String,value:"text"},valueProperty:{type:String,value:"value"},value:{type:Object,notify:!0},text:{type:String,notify:!0,value:""},disableShowClear:{type:Boolean,value:!1},remoteSource:{type:Boolean,value:!1},eventNamespace:{type:String,value:"-"},minLength:{type:Number,value:1},pattern:String,allowedPattern:String,charCounter:{type:Boolean,value:!1},maxlength:{type:Number},name:String,queryFn:{type:Function},highlightFirst:{type:Boolean,value:!1},showResultsOnFocus:{type:Boolean,value:!1},_value:{value:void 0},_text:{value:void 0},_isClearButtonVisible:{type:Boolean,value:!1},_isSuggestionsOpened:{type:Boolean,value:!1},selectedOption:{type:Object,notify:!0}},observers:["_textObserver(text)"],_sourceChanged:function(e){var t=this.text;!Array.isArray(e)||0===e.length||null===t||t.length<this.minLength||this.$.autocompleteInput.focused&&this.$.paperAutocompleteSuggestions._handleSuggestions({target:{value:t}})},ready:function(){this._value=this.value,this.addEventListener("autocomplete"+this.eventNamespace+"selected",this._onAutocompleteSelected.bind(this))},_clear:function(){var e={text:this.text,value:this.value};this.value=null,this._value=null,this.text="",this._text="",this._fireEvent(e,"reset-blur"),this._hideClearButton(),this.$.autocompleteInput.focused||this.$.autocompleteInput.focus()},_fireEvent:function(e,t){var i=this._getId(),n="autocomplete"+this.eventNamespace+t;this.fire(n,{id:i,value:e[this.valueProperty]||e.value,text:e[this.textProperty]||e.text,target:this,option:e})},_textObserver:function(e){e&&e.trim()?this._showClearButton():this._hideClearButton()},_onAutocompleteSelected:function(e){var t=e.detail;this.value=t.value,this.text=t.text},_showClearButton:function(){this.disableShowClear||this._isClearButtonVisible||(this.$.clear.style.display="inline-block",this._isClearButtonVisible=!0)},_hideClearButton:function(){this._isClearButtonVisible&&(this.$.clear.style.display="none",this._isClearButtonVisible=!1)},_getId:function(){var e=this.getAttribute("id");return e||(e=this.dataset.id),e},getOption:function(){return{text:this.text,value:this.value}},setOption:function(e){this.text=e[this.textProperty]||e.text,this.value=e[this.valueProperty]||e.value,this._showClearButton()},disable:function(){this.disabled=!0},enable:function(){this.disabled=!1},suggestions:function(e){this.$.paperAutocompleteSuggestions.suggestions(e)},validate:function(){return this.$.autocompleteInput.validate()},clear:function(){this._value="",this._text="",this._clear()},reset:function(){this._clear()},hideSuggestions:function(){this._hideClearButton(),this.$.paperAutocompleteSuggestions.hideSuggestions()},onSelectHandler:function(e){this.$.paperAutocompleteSuggestions._onSelect(e)}});class fe extends(x(w)){static get properties(){return Object.assign(Object.assign({},super.properties),{},{path:{type:String},src:{type:String},title:{type:String},_href:{type:String}})}constructor(){super(),this.title=""}connectedCallback(){super.connectedCallback(),fe.waitOnce("pb-page-ready",e=>{if("."===e.endpoint)this._href="/exist/apps/eXide/";else{const t=/^(.*:\/+[^/]+)\/.*$/.exec(e.endpoint);this._href=t?t[1]+"/exist/apps/eXide/":"/exist/apps/eXide/"}})}render(){return new URL(this._href,window.location.href).origin===this.getUrl().origin?z`<a href="${this._href}" target="eXide" title="${this.title}" @click="${this.open}"><slot></slot></a>`:z`<a href="${this._href}/index.html?open=${this.path}" title="${this.title}"><slot></slot></a>`}static get styles(){return C`
|
|
879
|
-
:host {
|
|
880
|
-
display: inline;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
a {
|
|
884
|
-
color: inherit;
|
|
885
|
-
text-decoration: none;
|
|
886
|
-
}
|
|
887
|
-
`}setPath(e){this.path=e}open(e){e.preventDefault();let t=this._href,i=this.path;if(this.src){const e=document.getElementById(this.src);i=e.getFullPath(),t=e.sourceView}const n=window.open("","eXide");if(n&&!n.closed){n.eXide?(console.log("<pb-edit-xml> using existing eXide to open %s",i),n.eXide.app.findDocument(i),n.focus()):(console.log("<pb-edit-xml> opening new eXide for %s",i),window.eXide_onload=function(){n.eXide.app.findDocument(i)},n.location=t)}}}customElements.define("pb-edit-xml",fe);class ve extends HTMLElement{static get version(){return"1.6.1"}}customElements.define("vaadin-lumo-styles",ve);const ye=document.createElement("template");ye.innerHTML='<custom-style>\n <style>\n @font-face {\n font-family: \'lumo-icons\';\n src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEcAAsAAAAAIiwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2MAABd4h9To2WhlYWQAAA3kAAAAMAAAADZa/6SsaGhlYQAADhQAAAAdAAAAJAbpA35obXR4AAAONAAAABAAAACspBAAAGxvY2EAAA5EAAAAWAAAAFh55IAsbWF4cAAADpwAAAAfAAAAIAFKAXBuYW1lAAAOvAAAATEAAAIuUUJZCHBvc3QAAA/wAAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wgc1Z9N0jpNnEL6kbRVS6HA2hQYGh9TGR1CbCqa2rXrWOkQE/sHNJgmtZvoVNZqE1B1DNHxzTQxCehUTYiJTQyENui0qSLezr3PduyQfgmRWOfde8+9551z7rnn/O4jLoJ/bRP0UaKQMLFJjpBAvphLZC3Dk0ok7WBzR2/upJs7Ryw/nfFbln/uuN/apCvwrKLrSvUqRufbm5pn0fs0w4gYxnGVP6qHnO4bWiDQGQgwtS6lm3lB3QoX1M2vwEmuzirF39y+Es2+DJ8d1pkyqBIqoze3D1+Zz4DrFoazxI8dWwMrDlZ2DMqQAR9AROsJU+2cmlTPazTco52F1xTa2a2+K8vvq92dVHmtLoPeQX/AZPRYGthDYOeZjBjKoFsVGulR3lWU95WeCK44qHU7MhWUGUKZDT3oKUcG2GWuh+EDDfUYA/jhAhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgRW95uEtpJ1Vfn9XiLriRBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKiflqHRSoWZc3m11Wa/fJdFgXD4sSYfleJBKd8GMz7J8dZn/cGRCcKGDnA2Ge3fKzcvlnTDNthGWLXzX/WaXtUAmRgeLlHSr30r0G9UTXMb0AtmwzOoy73fkSlHZkduw/TYuU9cAD4YutPoxTTsA3797wVr4Z/1NC5zARHr4vtxJjxIfiZMhMkbWk+14BnJZKwqGZwDfswLyxWDSg11rFLJF7Nopxjd1h1/QOT+oezgfu3Yq+Hk+duf5x+40o1GTkaIgikK/IEnC6aYxCUBaZJSN4XTYFjU/YMNIKqJwhDGOCCI8FDXnXmXjtGhGJyShqjAOnBOkW2JG9S7GgYeMWAU5JzhnWmBOaOM+CKEPoqSfFDC2Unq+DLlUgUVUFFLZGJg6jtlojsdsa8kPObPuJdi5dnBdBsLJMGTWDa4t2JvtwuPo9s+Y86suv/W33QG1rAaOAUV+vx4K6f2D04PVKlC7WLSrZzAi45ZV6lIC7WoXqmRyvUqoVwrzUoVsIjeTXWQv+RH5GTlBXiB/In8ln0IbBCAFOajAJrgZYyOHWqOfUe/aHjI12R6OQo1jCgt215l+4f6XPb+0MNou0V+43n2F77tSfRb24d7zitgnKmvYHs69zugaPvBwv6ioXkb2LdL65Atw51uLkXlu1bhMMRcXSPcYoqKIRlh34lQP8/5JbuUFye4vxD6/6MxFF11C0uVLr9Ulgw44tS3pMViNLUExbycFgLIct+QDMibRimx1ydUz8FXZiuOIDBOMVX2nUZc+huNE5XUJ81uiJoiabwqaVF0uacKbau/pl4R2VW0XXlJra6boVrYG646TF5NYzwy4vjENVrDlcNpZPl8DH6XX8XWCx0mvWVZY6KFLrvsY66/zPict5FnxaNUR/juvZCM3TvD60E2W1tZizbXTPDuabcm0nbbzpWKpmA1ayBQ8giedLUM+A0kNjBjQjmuYz7YrgIXYvmF63ZLBwSXrpn9Tb9wwdd/U1H0PMQK3XcO8ul3WT7PyPPdpy0TemKxNRcJNauiXJnnUDpUppQWs4SnUIy0EESGYqJYQLGHxzaGWwVIaS6Y7mQFM8ZjYDQ3axjf61SWjU33JwOZA1pwaG1L9mzf71aHRdX1JHw6Fp0aXhNwbqyeGNg4NbdzGCBxoz4ZXjy4Nu69Zr6sDY6vMrLU5nA1P8JkbdWXJ6ERfMryvNh1JfQ9+T4dIhGvK9w3dxjBBzatsQ/MlOHVIDnYpDz6odAXlQ01t2Pa5Iafd8MMpxAeDKP0C6CjgVLT5osB6icUx01lWjXxzT/GyRF2welEM5Z/7jG3VjQ1SrNn5IbyzOG5dobB3/QHxyZvsXcoz8IoEwS7plCg+zxHQk424q9BfEpkESJbFHQusDBSWFkuBkoPO0kLKwRVYjxGXlHTcTDQMJ/H6TX9afkO7mnraTO1feTnZAXLu4cp7HAXMmNG1yeFk9TgS/NHhZR/4QoBTr/ZB+6hCgyl15Nq1UbN6nE1/ZnP1U2cizCBpvs8cJQZJ4LkYx5N/yZPAUZNQQ0V4f3BQllWrK3YRzl30dOT6RVn2upNur6woSa8CqpdT/aKnBM4o3jNur9d9xqtUT6veBEt9Ca9at+ERzEEhUkR8sa5mQ4aVvJoVeEA8zI4ei5mULXFGyU7z/6TAeYLVcpzSWZY8PYYF5yrTV60sT0+XV141vX++Wf16V2bFeGVPZXxFpkvyeKTWLlzfW0mnKxsY6Y3294/0998SCfX1blm5pbcvFGlq/r07MRAMhYIDiW5JFKWW3vdrEpCsZSJG+om7Zu/PSScZJhNkLbmW5Wsr12pWqW5zKtlwRS4bFOxUw17mCzy6lskCDl1WYOGWDYrADrMA7BDDweWWNd5koiJnR1dz+ytLP2q0SqPB1lnK2ccB7RYe4FSoPks3iB3t4txTSHctb2sy1ivk0pvHuCNm6w1f6wxv3+OCgN78LqdQnUVh7R0oTAp0zOf2rbW770Vu5C2dIyGdTnHo8zSji7dppj0USoVCz+lhRMTh53Teq9VbGfbjuSbAooSdXayY4PYHg374C6f7gl1B/DXuJ4/QXxOBdJFJspFsI3egpoWUUCjlTIFnNYNl+ZyZKmBeYKGHkD1QyDlhaKbKwKcIJqJ4TLJ2OmdY/JWXae4DdGBw8HZ7eXcgFF2zr2SoalDry5iKqoa0Puhe3hPQ2s3elTYM+MI+n3rK0KgL7/La3GeMLt6m7u912vGnvtORiIa0qBmhqVi+XW9XNBmqb8eVgKzIHfGI5bNoG7X0UCzeISmqIcO/nY8FH7U8avX9fx/ST+hx0sezPw9Qy8Mum3GWf2N4Uy/yIYGVBXbJHWIZp7dfTcptdMTr9Qmq7DaiK/ukqCL4kt4RUfS5XPnMtmT22/mQFqF7emSqtrlu8SVElxDRJrZODkpuwe0VfTfjdEp1f7A7v+fozNBXUJ/6WTuK2TtFlpFVZAZ3LcFvUi1Z2p2YT+EMAkGJVStOzLTAPg4IqWIAlzRSjOBkl2zxj3TKycpzT/MnvX3uaSMWM+gU0rkXjohhefVRMaps3/kLMSKv23lT23uxQrkQjyOJleMDsdhAnD6ZGElWZ5MjCXzCE/hkWX+WF4knzGhVOyK2eQZekV3eyo0zL8kuYWCnDCvjjhAkcTPOBDXVdoav3HVcFnQjLvtV9S2p0zA6JegPwMQxt+yFb3ll9zGlq/5dRKb3cEyQYoaNYpharJ7xCB7AWxsLY3jjZXY0XsZj0Wjwc9I6PP/dKABnCZaqHpaZEACxk4ZeLZSKNgZABl+lYQX1sJQOSX3n6r410evcoud5JeAGUXVP9H1tZOKejTq4Ono0z0erro1FrnOpohva1d/hTdtVsQdKN5W9RlT3NjD0nznyKNTgKAMfWNWcyodV0IGLPIHOF0o4JyqufaK4z6WIIzuGh3d8c8cwQg8ER+OVxyrjdm8vNuhts4LoOihGxIMuUdgzwiYN7xhh1+oZnJNuTG7gQZvu4XWZ9GAZZjGEubwePqYhtKDTH+9VQkl17/iGybsnJ+8+sKtyPrcll9ty65Zsdst/9iqpEKh7M5VdBxh3csOdNc6tW3I1uyM1PzOXegSOrLFsFNI2O27M+TF2ApnN9MUv5ud6LjxIvEQnHRzxIu4IsA9MLFkJn2tcZoZ7ON7dXe7ujrc8HrusPKamlqXwd77lQUuLpilau4PUMapueBb7irU4RoUXEYXuVuIGlRGmOp+2lNkaRPVziOqmlaZvaqG4dFgSj0jxEJWrv12IUWntmw+rfQarRE0Aph4ocI6nlUlGqs+u3/+T/ethW62PpHp2eHbZstnh/wOO95yDAHicY2BkYGAA4pmJ6QHx/DZfGbiZXwBFGGpUNzQi6P+vmacy3QJyORiYQKIANoULVXicY2BkYGAO+p8FJF8wAAHzVAZGBlSgDQBW9gNvAAAAeJxjYGBgYH4xNDAAzwQmjwAAAAAATgCaAOgBCgEsAU4BcAGaAcQB7gIaApwC6ASaBLwE1gTyBQ4FKgV6BdAF/gZEBmYGtgcYB5AIGAhSCGoI/glGCb4J2goECjwKggq4CvALUAuWC7x4nGNgZGBg0GZMYRBlAAEmIOYCQgaG/2A+AwAYlAG8AHicbZE9TsMwGIbf9A/RSggEYmHxAgtq+jN2ZGj3Dt3T1GlTOXHkuBW9AyfgEByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjtlugzAQRbkJUEJIuu/7vqR8lGNPAcWx0YAb5e/LklR96EgenSufGY038PqKvf9rhgGG8BEgxA4ijBBjjAQTTLGLPezjAIc4wjFOcIoznOMCl7jCNW5wizvc4wGPeMIzXvCKN7zjAzN8eonQRWZSSaYmjvug6ase98hFltexMJmmVNmV2WBvdNgZUc+ujAWzXW3UDnu1w43asStHc8GpzAXX/py0jqTQZJTgkcxJLpaCF0lD32xNt+43tAsn29Dft02uDKS2cjGUNgsk26qK2lFthYoU27INPqmiDqg5goe0pqR5qSoqMdek/CUZFywL46rEsiImleqiqoMyt4baXlu/1GLdNFf5zbcNmdr1YUWCZe47o+zUmb/DoStbw3cVsef9ALjjiPQA) format(\'woff\');\n font-weight: normal;\n font-style: normal;\n }\n\n html {\n --lumo-icons-align-center: "\\ea01";\n --lumo-icons-align-left: "\\ea02";\n --lumo-icons-align-right: "\\ea03";\n --lumo-icons-angle-down: "\\ea04";\n --lumo-icons-angle-left: "\\ea05";\n --lumo-icons-angle-right: "\\ea06";\n --lumo-icons-angle-up: "\\ea07";\n --lumo-icons-arrow-down: "\\ea08";\n --lumo-icons-arrow-left: "\\ea09";\n --lumo-icons-arrow-right: "\\ea0a";\n --lumo-icons-arrow-up: "\\ea0b";\n --lumo-icons-bar-chart: "\\ea0c";\n --lumo-icons-bell: "\\ea0d";\n --lumo-icons-calendar: "\\ea0e";\n --lumo-icons-checkmark: "\\ea0f";\n --lumo-icons-chevron-down: "\\ea10";\n --lumo-icons-chevron-left: "\\ea11";\n --lumo-icons-chevron-right: "\\ea12";\n --lumo-icons-chevron-up: "\\ea13";\n --lumo-icons-clock: "\\ea14";\n --lumo-icons-cog: "\\ea15";\n --lumo-icons-cross: "\\ea16";\n --lumo-icons-download: "\\ea17";\n --lumo-icons-dropdown: "\\ea18";\n --lumo-icons-edit: "\\ea19";\n --lumo-icons-error: "\\ea1a";\n --lumo-icons-eye: "\\ea1b";\n --lumo-icons-eye-disabled: "\\ea1c";\n --lumo-icons-menu: "\\ea1d";\n --lumo-icons-minus: "\\ea1e";\n --lumo-icons-ordered-list: "\\ea1f";\n --lumo-icons-phone: "\\ea20";\n --lumo-icons-photo: "\\ea21";\n --lumo-icons-play: "\\ea22";\n --lumo-icons-plus: "\\ea23";\n --lumo-icons-redo: "\\ea24";\n --lumo-icons-reload: "\\ea25";\n --lumo-icons-search: "\\ea26";\n --lumo-icons-undo: "\\ea27";\n --lumo-icons-unordered-list: "\\ea28";\n --lumo-icons-upload: "\\ea29";\n --lumo-icons-user: "\\ea2a";\n }\n </style>\n</custom-style>',document.head.appendChild(ye.content);const be=document.createElement("template");be.innerHTML='<custom-style>\n <style>\n html {\n /* Base (background) */\n --lumo-base-color: #FFF;\n\n /* Tint */\n --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);\n --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);\n --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);\n --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);\n --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);\n --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);\n --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);\n --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);\n --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);\n --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);\n --lumo-tint: #FFF;\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);\n --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);\n --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);\n --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);\n --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);\n --lumo-shade-50pct: hsla(214, 45%, 20%, 0.5);\n --lumo-shade-60pct: hsla(214, 43%, 19%, 0.61);\n --lumo-shade-70pct: hsla(214, 42%, 18%, 0.72);\n --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);\n --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);\n --lumo-shade: hsl(214, 35%, 15%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-shade-5pct);\n --lumo-contrast-10pct: var(--lumo-shade-10pct);\n --lumo-contrast-20pct: var(--lumo-shade-20pct);\n --lumo-contrast-30pct: var(--lumo-shade-30pct);\n --lumo-contrast-40pct: var(--lumo-shade-40pct);\n --lumo-contrast-50pct: var(--lumo-shade-50pct);\n --lumo-contrast-60pct: var(--lumo-shade-60pct);\n --lumo-contrast-70pct: var(--lumo-shade-70pct);\n --lumo-contrast-80pct: var(--lumo-shade-80pct);\n --lumo-contrast-90pct: var(--lumo-shade-90pct);\n --lumo-contrast: var(--lumo-shade);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 90%, 52%);\n --lumo-primary-color-50pct: hsla(214, 90%, 52%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 52%, 0.1);\n --lumo-primary-text-color: var(--lumo-primary-color);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 100%, 61%);\n --lumo-error-color-50pct: hsla(3, 100%, 60%, 0.5);\n --lumo-error-color-10pct: hsla(3, 100%, 60%, 0.1);\n --lumo-error-text-color: hsl(3, 92%, 53%);\n --lumo-error-contrast-color: #FFF;\n\n /* Success */\n --lumo-success-color: hsl(145, 80%, 42%); /* hsl(144,82%,37%); */\n --lumo-success-color-50pct: hsla(145, 76%, 44%, 0.55);\n --lumo-success-color-10pct: hsla(145, 76%, 44%, 0.12);\n --lumo-success-text-color: hsl(145, 100%, 32%);\n --lumo-success-contrast-color: #FFF;\n }\n </style>\n</custom-style><dom-module id="lumo-color">\n <template>\n <style>\n [theme~="dark"] {\n /* Base (background) */\n --lumo-base-color: hsl(214, 35%, 21%);\n\n /* Tint */\n --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);\n --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);\n --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);\n --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);\n --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);\n --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);\n --lumo-tint-60pct: hsla(214, 82%, 90%, 0.6);\n --lumo-tint-70pct: hsla(214, 87%, 92%, 0.7);\n --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);\n --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);\n --lumo-tint: hsl(214, 100%, 98%);\n\n /* Shade */\n --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);\n --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);\n --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);\n --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);\n --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);\n --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);\n --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);\n --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);\n --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);\n --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);\n --lumo-shade: hsl(214, 33%, 13%);\n\n /* Contrast */\n --lumo-contrast-5pct: var(--lumo-tint-5pct);\n --lumo-contrast-10pct: var(--lumo-tint-10pct);\n --lumo-contrast-20pct: var(--lumo-tint-20pct);\n --lumo-contrast-30pct: var(--lumo-tint-30pct);\n --lumo-contrast-40pct: var(--lumo-tint-40pct);\n --lumo-contrast-50pct: var(--lumo-tint-50pct);\n --lumo-contrast-60pct: var(--lumo-tint-60pct);\n --lumo-contrast-70pct: var(--lumo-tint-70pct);\n --lumo-contrast-80pct: var(--lumo-tint-80pct);\n --lumo-contrast-90pct: var(--lumo-tint-90pct);\n --lumo-contrast: var(--lumo-tint);\n\n /* Text */\n --lumo-header-text-color: var(--lumo-contrast);\n --lumo-body-text-color: var(--lumo-contrast-90pct);\n --lumo-secondary-text-color: var(--lumo-contrast-70pct);\n --lumo-tertiary-text-color: var(--lumo-contrast-50pct);\n --lumo-disabled-text-color: var(--lumo-contrast-30pct);\n\n /* Primary */\n --lumo-primary-color: hsl(214, 86%, 55%);\n --lumo-primary-color-50pct: hsla(214, 86%, 55%, 0.5);\n --lumo-primary-color-10pct: hsla(214, 90%, 63%, 0.1);\n --lumo-primary-text-color: hsl(214, 100%, 70%);\n --lumo-primary-contrast-color: #FFF;\n\n /* Error */\n --lumo-error-color: hsl(3, 90%, 63%);\n --lumo-error-color-50pct: hsla(3, 90%, 63%, 0.5);\n --lumo-error-color-10pct: hsla(3, 90%, 63%, 0.1);\n --lumo-error-text-color: hsl(3, 100%, 67%);\n\n /* Success */\n --lumo-success-color: hsl(145, 65%, 42%);\n --lumo-success-color-50pct: hsla(145, 65%, 42%, 0.5);\n --lumo-success-color-10pct: hsla(145, 65%, 42%, 0.1);\n --lumo-success-text-color: hsl(145, 85%, 47%);\n }\n\n html {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n [theme~="dark"] {\n color: var(--lumo-body-text-color);\n background-color: var(--lumo-base-color);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: var(--lumo-header-text-color);\n }\n\n a {\n color: var(--lumo-primary-text-color);\n }\n\n blockquote {\n color: var(--lumo-secondary-text-color);\n }\n\n code,\n pre {\n background-color: var(--lumo-contrast-10pct);\n border-radius: var(--lumo-border-radius-m);\n }\n </style>\n </template>\n</dom-module><dom-module id="lumo-color-legacy">\n <template>\n <style include="lumo-color">\n :host {\n color: var(--lumo-body-text-color) !important;\n background-color: var(--lumo-base-color) !important;\n }\n </style>\n </template>\n</dom-module>',document.head.appendChild(be.content);const xe=document.createElement("template");xe.innerHTML="<custom-style>\n <style>\n html {\n --lumo-size-xs: 1.625rem;\n --lumo-size-s: 1.875rem;\n --lumo-size-m: 2.25rem;\n --lumo-size-l: 2.75rem;\n --lumo-size-xl: 3.5rem;\n\n /* Icons */\n --lumo-icon-size-s: 1.25em;\n --lumo-icon-size-m: 1.5em;\n --lumo-icon-size-l: 2.25em;\n /* For backwards compatibility */\n --lumo-icon-size: var(--lumo-icon-size-m);\n }\n </style>\n</custom-style>",document.head.appendChild(xe.content);const we=document.createElement("template");we.innerHTML="<custom-style>\n <style>\n html {\n /* Square */\n --lumo-space-xs: 0.25rem;\n --lumo-space-s: 0.5rem;\n --lumo-space-m: 1rem;\n --lumo-space-l: 1.5rem;\n --lumo-space-xl: 2.5rem;\n\n /* Wide */\n --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);\n --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);\n --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);\n --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);\n --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);\n\n /* Tall */\n --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);\n --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);\n --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);\n --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);\n --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);\n }\n </style>\n</custom-style>",document.head.appendChild(we.content);const ze=document.createElement("template");ze.innerHTML="<custom-style>\n <style>\n html {\n /* Border radius */\n --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */\n --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */\n --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */\n --lumo-border-radius: 0.25em; /* Deprecated */\n\n /* Shadow */\n --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);\n --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);\n --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);\n --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);\n --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);\n\n /* Clickable element cursor */\n --lumo-clickable-cursor: default;\n }\n </style>\n</custom-style>",document.head.appendChild(ze.content);const Ce=document.createElement("template");Ce.innerHTML='<custom-style>\n <style>\n html {\n /* Font families */\n --lumo-font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n\n /* Font sizes */\n --lumo-font-size-xxs: .75rem;\n --lumo-font-size-xs: .8125rem;\n --lumo-font-size-s: .875rem;\n --lumo-font-size-m: 1rem;\n --lumo-font-size-l: 1.125rem;\n --lumo-font-size-xl: 1.375rem;\n --lumo-font-size-xxl: 1.75rem;\n --lumo-font-size-xxxl: 2.5rem;\n\n /* Line heights */\n --lumo-line-height-xs: 1.25;\n --lumo-line-height-s: 1.375;\n --lumo-line-height-m: 1.625;\n }\n\n </style>\n</custom-style><dom-module id="lumo-typography">\n <template>\n <style>\n html {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n /* Can’t combine with the above selector because that doesn’t work in browsers without native shadow dom */\n :host {\n font-family: var(--lumo-font-family);\n font-size: var(--lumo-font-size, var(--lumo-font-size-m));\n line-height: var(--lumo-line-height-m);\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n small,\n [theme~="font-size-s"] {\n font-size: var(--lumo-font-size-s);\n line-height: var(--lumo-line-height-s);\n }\n\n [theme~="font-size-xs"] {\n font-size: var(--lumo-font-size-xs);\n line-height: var(--lumo-line-height-xs);\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: 600;\n line-height: var(--lumo-line-height-xs);\n margin-top: 1.25em;\n }\n\n h1 {\n font-size: var(--lumo-font-size-xxxl);\n margin-bottom: 0.75em;\n }\n\n h2 {\n font-size: var(--lumo-font-size-xxl);\n margin-bottom: 0.5em;\n }\n\n h3 {\n font-size: var(--lumo-font-size-xl);\n margin-bottom: 0.5em;\n }\n\n h4 {\n font-size: var(--lumo-font-size-l);\n margin-bottom: 0.5em;\n }\n\n h5 {\n font-size: var(--lumo-font-size-m);\n margin-bottom: 0.25em;\n }\n\n h6 {\n font-size: var(--lumo-font-size-xs);\n margin-bottom: 0;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n }\n\n p,\n blockquote {\n margin-top: 0.5em;\n margin-bottom: 0.75em;\n }\n\n a {\n text-decoration: none;\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n hr {\n display: block;\n align-self: stretch;\n height: 1px;\n border: 0;\n padding: 0;\n margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);\n background-color: var(--lumo-contrast-10pct);\n }\n\n blockquote {\n border-left: 2px solid var(--lumo-contrast-30pct);\n }\n\n b,\n strong {\n font-weight: 600;\n }\n\n /* RTL specific styles */\n\n blockquote[dir="rtl"] {\n border-left: none;\n border-right: 2px solid var(--lumo-contrast-30pct);\n }\n\n </style>\n </template>\n</dom-module>',document.head.appendChild(Ce.content);const ke=e=>class extends e{static get properties(){return{theme:{type:String,readOnly:!0}}}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),"theme"===e&&this._setTheme(i)}},Me=e=>class extends(ke(e)){static finalize(){super.finalize();const e=this.prototype._template,t=this.template&&this.template.parentElement&&this.template.parentElement.id===this.is,i=Object.getPrototypeOf(this.prototype)._template;i&&!t&&Array.from(i.content.querySelectorAll("style[include]")).forEach(t=>{this._includeStyle(t.getAttribute("include"),e)}),this._includeMatchingThemes(e)}static _includeMatchingThemes(e){const t=d.prototype.modules;let i=!1;const n=this.is+"-default-theme";Object.keys(t).sort((e,t)=>{const i=0===e.indexOf("vaadin-"),n=0===t.indexOf("vaadin-"),r=["lumo-","material-"],o=r.filter(t=>0===e.indexOf(t)).length>0,l=r.filter(e=>0===t.indexOf(e)).length>0;return i!==n?i?-1:1:o!==l?o?-1:1:0}).forEach(r=>{if(r!==n){const n=t[r].getAttribute("theme-for");n&&n.split(" ").forEach(t=>{new RegExp("^"+t.split("*").join(".*")+"$").test(this.is)&&(i=!0,this._includeStyle(r,e))})}}),!i&&t[n]&&this._includeStyle(n,e)}static _includeStyle(e,t){if(t&&!t.content.querySelector(`style[include="${e}"]`)){const i=document.createElement("style");i.setAttribute("include",e),t.content.appendChild(i)}}}
|
|
888
|
-
/**
|
|
889
|
-
@license
|
|
890
|
-
Copyright (c) 2020 Vaadin Ltd.
|
|
891
|
-
This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
892
|
-
*/;class Ae{static detectScrollType(){const e=document.createElement("div");e.textContent="ABCD",e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e);let t="reverse";return e.scrollLeft>0?t="default":(e.scrollLeft=2,e.scrollLeft<2&&(t="negative")),document.body.removeChild(e),t}static getNormalizedScrollLeft(e,t,i){const{scrollLeft:n}=i;if("rtl"!==t||!e)return n;switch(e){case"negative":return i.scrollWidth-i.clientWidth+n;case"reverse":return i.scrollWidth-i.clientWidth-n}return n}static setNormalizedScrollLeft(e,t,i,n){if("rtl"===t&&e)switch(e){case"negative":i.scrollLeft=i.clientWidth-i.scrollWidth+n;break;case"reverse":i.scrollLeft=i.scrollWidth-i.clientWidth-n;break;default:i.scrollLeft=n}else i.scrollLeft=n}}const Le=[];let Se;new MutationObserver((function(){const e=Te();Le.forEach(t=>{He(t,e)})})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const He=function(e,t){t?e.setAttribute("dir",t):e.removeAttribute("dir")},Te=function(){return document.documentElement.getAttribute("dir")},Ve=e=>class extends e{static get properties(){return{dir:{type:String,readOnly:!0}}}static finalize(){super.finalize(),Se||(Se=Ae.detectScrollType())}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")||(this.__subscribe(),He(this,Te()))}attributeChangedCallback(e,t,i){if(super.attributeChangedCallback(e,t,i),"dir"!==e)return;const n=i===Te()&&-1===Le.indexOf(this),r=!i&&t&&-1===Le.indexOf(this),o=i!==Te()&&t===Te();n||r?(this.__subscribe(),He(this,Te())):o&&this.__subscribe(!1)}disconnectedCallback(){super.disconnectedCallback(),this.__subscribe(!1),this.removeAttribute("dir")}__subscribe(e=!0){e?-1===Le.indexOf(this)&&Le.push(this):Le.indexOf(this)>-1&&Le.splice(Le.indexOf(this),1)}__getNormalizedScrollLeft(e){return Ae.getNormalizedScrollLeft(Se,this.getAttribute("dir")||"ltr",e)}__setNormalizedScrollLeft(e,t){return Ae.setNormalizedScrollLeft(Se,this.getAttribute("dir")||"ltr",e,t)}},Oe=/\/\*\*\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,Ne=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function _e(){function e(){return!0}return Be(e)}function Ee(){try{return!!Ie()||!!De()&&(Ne?!We():!_e())}catch(e){return!1}}function Ie(){return localStorage.getItem("vaadin.developmentmode.force")}function De(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function We(){if(Ne){if(Object.keys(Ne).map(e=>Ne[e]).filter(e=>e.productionMode).length>0)return!0}return!1}function Be(e,t){if("function"!=typeof e)return;const i=Oe.exec(e.toString());if(i)try{e=new Function(i[1])}catch(e){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",e)}return e(t)}window.Vaadin=window.Vaadin||{};const Fe=function(e,t){if(window.Vaadin.developmentMode)return Be(e,t)};function Pe(){}void 0===window.Vaadin.developmentMode&&(window.Vaadin.developmentMode=Ee());const Re=function(){if("function"==typeof Fe)return Fe(Pe)};let Ue;window.Vaadin||(window.Vaadin={}),window.Vaadin.registrations=window.Vaadin.registrations||[],window.Vaadin.developmentModeCallback=window.Vaadin.developmentModeCallback||{},window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Re&&Re()};const Ge=new Set,Ke=e=>class extends(Ve(e)){static finalize(){super.finalize();const{is:e}=this;e&&!Ge.has(e)&&(window.Vaadin.registrations.push(this),Ge.add(e),window.Vaadin.developmentModeCallback&&(Ue=u.debounce(Ue,p,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),m(Ue)))}constructor(){super(),null===document.doctype&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};let je=navigator.userAgent,qe=navigator.platform,Xe=/gecko\/\d/i.test(je),Ye=/MSIE \d/.test(je),$e=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(je),Ze=/Edge\/(\d+)/.exec(je),Qe=Ye||$e||Ze,Je=Qe&&(Ye?document.documentMode||6:+(Ze||$e)[1]),et=!Ze&&/WebKit\//.test(je),tt=et&&/Qt\/\d+\.\d+/.test(je),it=!Ze&&/Chrome\//.test(je),nt=/Opera\//.test(je),rt=/Apple Computer/.test(navigator.vendor),ot=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(je),lt=/PhantomJS/.test(je),st=rt&&(/Mobile\/\w+/.test(je)||navigator.maxTouchPoints>2),at=/Android/.test(je),ct=st||at||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(je),ht=st||/Mac/.test(qe),dt=/\bCrOS\b/.test(je),ut=/win/i.test(qe),pt=nt&&je.match(/Version\/(\d*\.\d*)/);pt&&(pt=Number(pt[1])),pt&&pt>=15&&(nt=!1,et=!0);let mt=ht&&(tt||nt&&(null==pt||pt<12.11)),gt=Xe||Qe&&Je>=9;function ft(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}let vt,yt=function(e,t){let i=e.className,n=ft(t).exec(i);if(n){let t=i.slice(n.index+n[0].length);e.className=i.slice(0,n.index)+(t?n[1]+t:"")}};function bt(e){for(let t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function xt(e,t){return bt(e).appendChild(t)}function wt(e,t,i,n){let r=document.createElement(e);if(i&&(r.className=i),n&&(r.style.cssText=n),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(let e=0;e<t.length;++e)r.appendChild(t[e]);return r}function zt(e,t,i,n){let r=wt(e,t,i,n);return r.setAttribute("role","presentation"),r}function Ct(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function kt(){let e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function Mt(e,t){let i=e.className;ft(t).test(i)||(e.className+=(i?" ":"")+t)}function At(e,t){let i=e.split(" ");for(let e=0;e<i.length;e++)i[e]&&!ft(i[e]).test(t)&&(t+=" "+i[e]);return t}vt=document.createRange?function(e,t,i,n){let r=document.createRange();return r.setEnd(n||e,i),r.setStart(e,t),r}:function(e,t,i){let n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(e){return n}return n.collapse(!0),n.moveEnd("character",i),n.moveStart("character",t),n};let Lt=function(e){e.select()};function St(e){let t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function Ht(e,t,i){t||(t={});for(let n in e)!e.hasOwnProperty(n)||!1===i&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function Tt(e,t,i,n,r){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(let o=n||0,l=r||0;;){let n=e.indexOf("\t",o);if(n<0||n>=t)return l+(t-o);l+=n-o,l+=i-l%i,o=n+1}}st?Lt=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:Qe&&(Lt=function(e){try{e.select()}catch(e){}});class Vt{constructor(){this.id=null,this.f=null,this.time=0,this.handler=St(this.onTimeout,this)}onTimeout(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)}set(e,t){this.f=t;const i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)}}function Ot(e,t){for(let i=0;i<e.length;++i)if(e[i]==t)return i;return-1}let Nt=50,_t={toString:function(){return"CodeMirror.Pass"}},Et={scroll:!1},It={origin:"*mouse"},Dt={origin:"+move"};function Wt(e,t,i){for(let n=0,r=0;;){let o=e.indexOf("\t",n);-1==o&&(o=e.length);let l=o-n;if(o==e.length||r+l>=t)return n+Math.min(l,t-r);if(r+=o-n,r+=i-r%i,n=o+1,r>=t)return n}}let Bt=[""];function Ft(e){for(;Bt.length<=e;)Bt.push(Pt(Bt)+" ");return Bt[e]}function Pt(e){return e[e.length-1]}function Rt(e,t){let i=[];for(let n=0;n<e.length;n++)i[n]=t(e[n],n);return i}function Ut(e,t,i){let n=0,r=i(t);for(;n<e.length&&i(e[n])<=r;)n++;e.splice(n,0,t)}function Gt(){}function Kt(e,t){let i;return Object.create?i=Object.create(e):(Gt.prototype=e,i=new Gt),t&&Ht(t,i),i}let jt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function qt(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||jt.test(e))}function Xt(e,t){return t?!!(t.source.indexOf("\\w")>-1&&qt(e))||t.test(e):qt(e)}function Yt(e){for(let t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}let $t=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Zt(e){return e.charCodeAt(0)>=768&&$t.test(e)}function Qt(e,t,i){for(;(i<0?t>0:t<e.length)&&Zt(e.charAt(t));)t+=i;return t}function Jt(e,t,i){let n=t>i?-1:1;for(;;){if(t==i)return t;let r=(t+i)/2,o=n<0?Math.ceil(r):Math.floor(r);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+n}}function ei(e,t,i,n){if(!e)return n(t,i,"ltr",0);let r=!1;for(let o=0;o<e.length;++o){let l=e[o];(l.from<i&&l.to>t||t==i&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,i),1==l.level?"rtl":"ltr",o),r=!0)}r||n(t,i,"ltr")}let ti=null;function ii(e,t,i){let n;ti=null;for(let r=0;r<e.length;++r){let o=e[r];if(o.from<t&&o.to>t)return r;o.to==t&&(o.from!=o.to&&"before"==i?n=r:ti=r),o.from==t&&(o.from!=o.to&&"before"!=i?n=r:ti=r)}return null!=n?n:ti}let ni=function(){let e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(i){return i<=247?e.charAt(i):1424<=i&&i<=1524?"R":1536<=i&&i<=1785?t.charAt(i-1536):1774<=i&&i<=2220?"r":8192<=i&&i<=8203?"w":8204==i?"b":"L"}let n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,s=/[1n]/;function a(e,t,i){this.level=e,this.from=t,this.to=i}return function(e,t){let c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;let h=e.length,d=[];for(let t=0;t<h;++t)d.push(i(e.charCodeAt(t)));for(let e=0,t=c;e<h;++e){let i=d[e];"m"==i?d[e]=t:t=i}for(let e=0,t=c;e<h;++e){let i=d[e];"1"==i&&"r"==t?d[e]="n":o.test(i)&&(t=i,"r"==i&&(d[e]="R"))}for(let e=1,t=d[0];e<h-1;++e){let i=d[e];"+"==i&&"1"==t&&"1"==d[e+1]?d[e]="1":","!=i||t!=d[e+1]||"1"!=t&&"n"!=t||(d[e]=t),t=i}for(let e=0;e<h;++e){let t=d[e];if(","==t)d[e]="N";else if("%"==t){let t;for(t=e+1;t<h&&"%"==d[t];++t);let i=e&&"!"==d[e-1]||t<h&&"1"==d[t]?"1":"N";for(let n=e;n<t;++n)d[n]=i;e=t-1}}for(let e=0,t=c;e<h;++e){let i=d[e];"L"==t&&"1"==i?d[e]="L":o.test(i)&&(t=i)}for(let e=0;e<h;++e)if(r.test(d[e])){let t;for(t=e+1;t<h&&r.test(d[t]);++t);let i="L"==(e?d[e-1]:c),n=i==("L"==(t<h?d[t]:c))?i?"L":"R":c;for(let i=e;i<t;++i)d[i]=n;e=t-1}let u,p=[];for(let e=0;e<h;)if(l.test(d[e])){let t=e;for(++e;e<h&&l.test(d[e]);++e);p.push(new a(0,t,e))}else{let i=e,n=p.length,r="rtl"==t?1:0;for(++e;e<h&&"L"!=d[e];++e);for(let t=i;t<e;)if(s.test(d[t])){i<t&&(p.splice(n,0,new a(1,i,t)),n+=r);let o=t;for(++t;t<e&&s.test(d[t]);++t);p.splice(n,0,new a(2,o,t)),n+=r,i=t}else++t;i<e&&p.splice(n,0,new a(1,i,e))}return"ltr"==t&&(1==p[0].level&&(u=e.match(/^\s+/))&&(p[0].from=u[0].length,p.unshift(new a(0,0,u[0].length))),1==Pt(p).level&&(u=e.match(/\s+$/))&&(Pt(p).to-=u[0].length,p.push(new a(0,h-u[0].length,h)))),"rtl"==t?p.reverse():p}}();function ri(e,t){let i=e.order;return null==i&&(i=e.order=ni(e.text,t)),i}const oi=[];let li=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{let n=e._handlers||(e._handlers={});n[t]=(n[t]||oi).concat(i)}};function si(e,t){return e._handlers&&e._handlers[t]||oi}function ai(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{let n=e._handlers,r=n&&n[t];if(r){let e=Ot(r,i);e>-1&&(n[t]=r.slice(0,e).concat(r.slice(e+1)))}}}function ci(e,t){let i=si(e,t);if(!i.length)return;let n=Array.prototype.slice.call(arguments,2);for(let e=0;e<i.length;++e)i[e].apply(null,n)}function hi(e,t,i){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ci(e,i||t.type,e,t),fi(t)||t.codemirrorIgnore}function di(e){let t=e._handlers&&e._handlers.cursorActivity;if(!t)return;let i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]);for(let e=0;e<t.length;++e)-1==Ot(i,t[e])&&i.push(t[e])}function ui(e,t){return si(e,t).length>0}function pi(e){e.prototype.on=function(e,t){li(this,e,t)},e.prototype.off=function(e,t){ai(this,e,t)}}function mi(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function gi(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function fi(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function vi(e){mi(e),gi(e)}function yi(e){return e.target||e.srcElement}function bi(e){let t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),ht&&e.ctrlKey&&1==t&&(t=3),t}let xi,wi,zi=function(){if(Qe&&Je<9)return!1;let e=wt("div");return"draggable"in e||"dragDrop"in e}();function Ci(e){if(null==xi){let t=wt("span","");xt(e,wt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(xi=t.offsetWidth<=1&&t.offsetHeight>2&&!(Qe&&Je<8))}let t=xi?wt("span",""):wt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return t.setAttribute("cm-text",""),t}function ki(e){if(null!=wi)return wi;let t=xt(e,document.createTextNode("AخA")),i=vt(t,0,1).getBoundingClientRect(),n=vt(t,1,2).getBoundingClientRect();return bt(e),!(!i||i.left==i.right)&&(wi=n.right-i.right<3)}let Mi=3!="\n\nb".split(/\n/).length?e=>{let t=0,i=[],n=e.length;for(;t<=n;){let n=e.indexOf("\n",t);-1==n&&(n=e.length);let r=e.slice(t,"\r"==e.charAt(n-1)?n-1:n),o=r.indexOf("\r");-1!=o?(i.push(r.slice(0,o)),t+=o+1):(i.push(r),t=n+1)}return i}:e=>e.split(/\r\n?|\n/),Ai=window.getSelection?e=>{try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:e=>{let t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Li=(()=>{let e=wt("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)})(),Si=null;function Hi(e){if(null!=Si)return Si;let t=xt(e,wt("span","x")),i=t.getBoundingClientRect(),n=vt(t,0,1).getBoundingClientRect();return Si=Math.abs(i.left-n.left)>1}let Ti={},Vi={};function Oi(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ti[e]=t}function Ni(e,t){Vi[e]=t}function _i(e){if("string"==typeof e&&Vi.hasOwnProperty(e))e=Vi[e];else if(e&&"string"==typeof e.name&&Vi.hasOwnProperty(e.name)){let t=Vi[e.name];"string"==typeof t&&(t={name:t}),(e=Kt(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return _i("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return _i("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ei(e,t){t=_i(t);let i=Ti[t.name];if(!i)return Ei(e,"text/plain");let n=i(e,t);if(Ii.hasOwnProperty(t.name)){let e=Ii[t.name];for(let t in e)e.hasOwnProperty(t)&&(n.hasOwnProperty(t)&&(n["_"+t]=n[t]),n[t]=e[t])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(let e in t.modeProps)n[e]=t.modeProps[e];return n}let Ii={};function Di(e,t){Ht(t,Ii.hasOwnProperty(e)?Ii[e]:Ii[e]={})}function Wi(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);let i={};for(let e in t){let n=t[e];n instanceof Array&&(n=n.concat([])),i[e]=n}return i}function Bi(e,t){let i;for(;e.innerMode&&(i=e.innerMode(t),i&&i.mode!=e);)t=i.state,e=i.mode;return i||{mode:e,state:t}}function Fi(e,t,i){return!e.startState||e.startState(t,i)}class Pi{constructor(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i}eol(){return this.pos>=this.string.length}sol(){return this.pos==this.lineStart}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t,i=this.string.charAt(this.pos);if(t="string"==typeof e?i==e:i&&(e.test?e.test(i):e(i)),t)return++this.pos,i}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Tt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Tt(this.string,this.lineStart,this.tabSize):0)}indentation(){return Tt(this.string,null,this.tabSize)-(this.lineStart?Tt(this.string,this.lineStart,this.tabSize):0)}match(e,t,i){if("string"!=typeof e){let i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}{let n=e=>i?e.toLowerCase():e;if(n(this.string.substr(this.pos,e.length))==n(e))return!1!==t&&(this.pos+=e.length),!0}}current(){return this.string.slice(this.start,this.pos)}hideFirstChars(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}lookAhead(e){let t=this.lineOracle;return t&&t.lookAhead(e)}baseToken(){let e=this.lineOracle;return e&&e.baseToken(this.pos)}}function Ri(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");let i=e;for(;!i.lines;)for(let e=0;;++e){let n=i.children[e],r=n.chunkSize();if(t<r){i=n;break}t-=r}return i.lines[t]}function Ui(e,t,i){let n=[],r=t.line;return e.iter(t.line,i.line+1,e=>{let o=e.text;r==i.line&&(o=o.slice(0,i.ch)),r==t.line&&(o=o.slice(t.ch)),n.push(o),++r}),n}function Gi(e,t,i){let n=[];return e.iter(t,i,e=>{n.push(e.text)}),n}function Ki(e,t){let i=t-e.height;if(i)for(let t=e;t;t=t.parent)t.height+=i}function ji(e){if(null==e.parent)return null;let t=e.parent,i=Ot(t.lines,e);for(let e=t.parent;e;t=e,e=e.parent)for(let n=0;e.children[n]!=t;++n)i+=e.children[n].chunkSize();return i+t.first}function qi(e,t){let i=e.first;e:do{for(let n=0;n<e.children.length;++n){let r=e.children[n],o=r.height;if(t<o){e=r;continue e}t-=o,i+=r.chunkSize()}return i}while(!e.lines);let n=0;for(;n<e.lines.length;++n){let i=e.lines[n].height;if(t<i)break;t-=i}return i+n}function Xi(e,t){return t>=e.first&&t<e.first+e.size}function Yi(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function $i(e,t,i=null){if(!(this instanceof $i))return new $i(e,t,i);this.line=e,this.ch=t,this.sticky=i}function Zi(e,t){return e.line-t.line||e.ch-t.ch}function Qi(e,t){return e.sticky==t.sticky&&0==Zi(e,t)}function Ji(e){return $i(e.line,e.ch)}function en(e,t){return Zi(e,t)<0?t:e}function tn(e,t){return Zi(e,t)<0?e:t}function nn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function rn(e,t){if(t.line<e.first)return $i(e.first,0);let i=e.first+e.size-1;return t.line>i?$i(i,Ri(e,i).text.length):on(t,Ri(e,t.line).text.length)}function on(e,t){let i=e.ch;return null==i||i>t?$i(e.line,t):i<0?$i(e.line,0):e}function ln(e,t){let i=[];for(let n=0;n<t.length;n++)i[n]=rn(e,t[n]);return i}class sn{constructor(e,t){this.state=e,this.lookAhead=t}}class an{constructor(e,t,i,n){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1}lookAhead(e){let t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t}baseToken(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;let t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}}nextLine(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--}static fromSaved(e,t,i){return t instanceof sn?new an(e,Wi(e.mode,t.state),i,t.lookAhead):new an(e,Wi(e.mode,t),i)}save(e){let t=!1!==e?Wi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new sn(t,this.maxLookAhead):t}}function cn(e,t,i,n){let r=[e.state.modeGen],o={};yn(e,t.text,e.doc.mode,i,(e,t)=>r.push(e,t),o,n);let l=i.state;for(let n=0;n<e.state.overlays.length;++n){i.baseTokens=r;let s=e.state.overlays[n],a=1,c=0;i.state=!0,yn(e,t.text,s.mode,i,(e,t)=>{let i=a;for(;c<e;){let t=r[a];t>e&&r.splice(a,1,e,r[a+1],t),a+=2,c=Math.min(e,t)}if(t)if(s.opaque)r.splice(i,a-i,e,"overlay "+t),a=i+2;else for(;i<a;i+=2){let e=r[i+1];r[i+1]=(e?e+" ":"")+"overlay "+t}},o),i.state=l,i.baseTokens=null,i.baseTokenPos=1}return{styles:r,classes:o.bgClass||o.textClass?o:null}}function hn(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){let n=dn(e,ji(t)),r=t.text.length>e.options.maxHighlightLength&&Wi(e.doc.mode,n.state),o=cn(e,t,n);r&&(n.state=r),t.stateAfter=n.save(!r),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dn(e,t,i){let n=e.doc,r=e.display;if(!n.mode.startState)return new an(n,!0,t);let o=bn(e,t,i),l=o>n.first&&Ri(n,o-1).stateAfter,s=l?an.fromSaved(n,l,o):new an(n,Fi(n.mode),o);return n.iter(o,t,i=>{un(e,i.text,s);let n=s.line;i.stateAfter=n==t-1||n%5==0||n>=r.viewFrom&&n<r.viewTo?s.save():null,s.nextLine()}),i&&(n.modeFrontier=s.line),s}function un(e,t,i,n){let r=e.doc.mode,o=new Pi(t,e.options.tabSize,i);for(o.start=o.pos=n||0,""==t&&pn(r,i.state);!o.eol();)mn(r,o,i.state),o.start=o.pos}function pn(e,t){if(e.blankLine)return e.blankLine(t);if(!e.innerMode)return;let i=Bi(e,t);return i.mode.blankLine?i.mode.blankLine(i.state):void 0}function mn(e,t,i,n){for(let r=0;r<10;r++){n&&(n[0]=Bi(e,i).mode);let r=e.token(t,i);if(t.pos>t.start)return r}throw new Error("Mode "+e.name+" failed to advance stream.")}class gn{constructor(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i}}function fn(e,t,i,n){let r,o,l=e.doc,s=l.mode,a=Ri(l,(t=rn(l,t)).line),c=dn(e,t.line,i),h=new Pi(a.text,e.options.tabSize,c);for(n&&(o=[]);(n||h.pos<t.ch)&&!h.eol();)h.start=h.pos,r=mn(s,h,c.state),n&&o.push(new gn(h,r,Wi(l.mode,c.state)));return n?o:new gn(h,r,c.state)}function vn(e,t){if(e)for(;;){let i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);let n=i[1]?"bgClass":"textClass";null==t[n]?t[n]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+i[2])}return e}function yn(e,t,i,n,r,o,l){let s=i.flattenSpans;null==s&&(s=e.options.flattenSpans);let a,c=0,h=null,d=new Pi(t,e.options.tabSize,n),u=e.options.addModeClass&&[null];for(""==t&&vn(pn(i,n.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,l&&un(e,t,n,d.pos),d.pos=t.length,a=null):a=vn(mn(i,d,n.state,u),o),u){let e=u[0].name;e&&(a="m-"+(a?e+" "+a:e))}if(!s||h!=a){for(;c<d.start;)c=Math.min(d.start,c+5e3),r(c,h);h=a}d.start=d.pos}for(;c<d.pos;){let e=Math.min(d.pos,c+5e3);r(e,h),c=e}}function bn(e,t,i){let n,r,o=e.doc,l=i?-1:t-(e.doc.mode.innerMode?1e3:100);for(let s=t;s>l;--s){if(s<=o.first)return o.first;let t=Ri(o,s-1),l=t.stateAfter;if(l&&(!i||s+(l instanceof sn?l.lookAhead:0)<=o.modeFrontier))return s;let a=Tt(t.text,null,e.options.tabSize);(null==r||n>a)&&(r=s-1,n=a)}return r}function xn(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),e.highlightFrontier<t-10)return;let i=e.first;for(let n=t-1;n>i;n--){let r=Ri(e,n).stateAfter;if(r&&(!(r instanceof sn)||n+r.lookAhead<t)){i=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}let wn=!1,zn=!1;function Cn(){wn=!0}function kn(){zn=!0}function Mn(e,t,i){this.marker=e,this.from=t,this.to=i}function An(e,t){if(e)for(let i=0;i<e.length;++i){let n=e[i];if(n.marker==t)return n}}function Ln(e,t){let i;for(let n=0;n<e.length;++n)e[n]!=t&&(i||(i=[])).push(e[n]);return i}function Sn(e,t,i){let n=i&&window.WeakSet&&(i.markedSpans||(i.markedSpans=new WeakSet));n&&n.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],n&&n.add(e.markedSpans)),t.marker.attachLine(e)}function Hn(e,t,i){let n;if(e)for(let r=0;r<e.length;++r){let o=e[r],l=o.marker;if(null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==l.type&&(!i||!o.marker.insertLeft)){let e=null==o.to||(l.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Mn(l,o.from,e?null:o.to))}}return n}function Tn(e,t,i){let n;if(e)for(let r=0;r<e.length;++r){let o=e[r],l=o.marker;if(null==o.to||(l.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==l.type&&(!i||o.marker.insertLeft)){let e=null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Mn(l,e?null:o.from-t,null==o.to?null:o.to-t))}}return n}function Vn(e,t){if(t.full)return null;let i=Xi(e,t.from.line)&&Ri(e,t.from.line).markedSpans,n=Xi(e,t.to.line)&&Ri(e,t.to.line).markedSpans;if(!i&&!n)return null;let r=t.from.ch,o=t.to.ch,l=0==Zi(t.from,t.to),s=Hn(i,r,l),a=Tn(n,o,l),c=1==t.text.length,h=Pt(t.text).length+(c?r:0);if(s)for(let e=0;e<s.length;++e){let t=s[e];if(null==t.to){let e=An(a,t.marker);e?c&&(t.to=null==e.to?null:e.to+h):t.to=r}}if(a)for(let e=0;e<a.length;++e){let t=a[e];if(null!=t.to&&(t.to+=h),null==t.from){An(s,t.marker)||(t.from=h,c&&(s||(s=[])).push(t))}else t.from+=h,c&&(s||(s=[])).push(t)}s&&(s=On(s)),a&&a!=s&&(a=On(a));let d=[s];if(!c){let e,i=t.text.length-2;if(i>0&&s)for(let t=0;t<s.length;++t)null==s[t].to&&(e||(e=[])).push(new Mn(s[t].marker,null,null));for(let t=0;t<i;++t)d.push(e);d.push(a)}return d}function On(e){for(let t=0;t<e.length;++t){let i=e[t];null!=i.from&&i.from==i.to&&!1!==i.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Nn(e,t,i){let n=null;if(e.iter(t.line,i.line+1,e=>{if(e.markedSpans)for(let t=0;t<e.markedSpans.length;++t){let i=e.markedSpans[t].marker;!i.readOnly||n&&-1!=Ot(n,i)||(n||(n=[])).push(i)}}),!n)return null;let r=[{from:t,to:i}];for(let e=0;e<n.length;++e){let t=n[e],i=t.find(0);for(let e=0;e<r.length;++e){let n=r[e];if(Zi(n.to,i.from)<0||Zi(n.from,i.to)>0)continue;let o=[e,1],l=Zi(n.from,i.from),s=Zi(n.to,i.to);(l<0||!t.inclusiveLeft&&!l)&&o.push({from:n.from,to:i.from}),(s>0||!t.inclusiveRight&&!s)&&o.push({from:i.to,to:n.to}),r.splice.apply(r,o),e+=o.length-3}}return r}function _n(e){let t=e.markedSpans;if(t){for(let i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}}function En(e,t){if(t){for(let i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}}function In(e){return e.inclusiveLeft?-1:0}function Dn(e){return e.inclusiveRight?1:0}function Wn(e,t){let i=e.lines.length-t.lines.length;if(0!=i)return i;let n=e.find(),r=t.find(),o=Zi(n.from,r.from)||In(e)-In(t);if(o)return-o;let l=Zi(n.to,r.to)||Dn(e)-Dn(t);return l||t.id-e.id}function Bn(e,t){let i,n=zn&&e.markedSpans;if(n)for(let e,r=0;r<n.length;++r)e=n[r],e.marker.collapsed&&null==(t?e.from:e.to)&&(!i||Wn(i,e.marker)<0)&&(i=e.marker);return i}function Fn(e){return Bn(e,!0)}function Pn(e){return Bn(e,!1)}function Rn(e,t){let i,n=zn&&e.markedSpans;if(n)for(let e=0;e<n.length;++e){let r=n[e];r.marker.collapsed&&(null==r.from||r.from<t)&&(null==r.to||r.to>t)&&(!i||Wn(i,r.marker)<0)&&(i=r.marker)}return i}function Un(e,t,i,n,r){let o=Ri(e,t),l=zn&&o.markedSpans;if(l)for(let e=0;e<l.length;++e){let t=l[e];if(!t.marker.collapsed)continue;let o=t.marker.find(0),s=Zi(o.from,i)||In(t.marker)-In(r),a=Zi(o.to,n)||Dn(t.marker)-Dn(r);if(!(s>=0&&a<=0||s<=0&&a>=0)&&(s<=0&&(t.marker.inclusiveRight&&r.inclusiveLeft?Zi(o.to,i)>=0:Zi(o.to,i)>0)||s>=0&&(t.marker.inclusiveRight&&r.inclusiveLeft?Zi(o.from,n)<=0:Zi(o.from,n)<0)))return!0}}function Gn(e){let t;for(;t=Fn(e);)e=t.find(-1,!0).line;return e}function Kn(e){let t;for(;t=Pn(e);)e=t.find(1,!0).line;return e}function jn(e){let t,i;for(;t=Pn(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function qn(e,t){let i=Ri(e,t),n=Gn(i);return i==n?t:ji(n)}function Xn(e,t){if(t>e.lastLine())return t;let i,n=Ri(e,t);if(!Yn(e,n))return t;for(;i=Pn(n);)n=i.find(1,!0).line;return ji(n)+1}function Yn(e,t){let i=zn&&t.markedSpans;if(i)for(let n,r=0;r<i.length;++r)if(n=i[r],n.marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&$n(e,t,n))return!0}}function $n(e,t,i){if(null==i.to){let t=i.marker.find(1,!0);return $n(e,t.line,An(t.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(let n,r=0;r<t.markedSpans.length;++r)if(n=t.markedSpans[r],n.marker.collapsed&&!n.marker.widgetNode&&n.from==i.to&&(null==n.to||n.to!=i.from)&&(n.marker.inclusiveLeft||i.marker.inclusiveRight)&&$n(e,t,n))return!0}function Zn(e){let t=0,i=(e=Gn(e)).parent;for(let n=0;n<i.lines.length;++n){let r=i.lines[n];if(r==e)break;t+=r.height}for(let e=i.parent;e;i=e,e=i.parent)for(let n=0;n<e.children.length;++n){let r=e.children[n];if(r==i)break;t+=r.height}return t}function Qn(e){if(0==e.height)return 0;let t,i=e.text.length,n=e;for(;t=Fn(n);){let e=t.find(0,!0);n=e.from.line,i+=e.from.ch-e.to.ch}for(n=e;t=Pn(n);){let e=t.find(0,!0);i-=n.text.length-e.from.ch,n=e.to.line,i+=n.text.length-e.to.ch}return i}function Jn(e){let t=e.display,i=e.doc;t.maxLine=Ri(i,i.first),t.maxLineLength=Qn(t.maxLine),t.maxLineChanged=!0,i.iter(e=>{let i=Qn(e);i>t.maxLineLength&&(t.maxLineLength=i,t.maxLine=e)})}class er{constructor(e,t,i){this.text=e,En(this,t),this.height=i?i(this):1}lineNo(){return ji(this)}}function tr(e,t,i,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),_n(e),En(e,i);let r=n?n(e):1;r!=e.height&&Ki(e,r)}function ir(e){e.parent=null,_n(e)}pi(er);let nr={},rr={};function or(e,t){if(!e||/^\s*$/.test(e))return null;let i=t.addModeClass?rr:nr;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function lr(e,t){let i=zt("span",null,null,et?"padding-right: .1px":null),n={pre:zt("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(let i=0;i<=(t.rest?t.rest.length:0);i++){let r,o=i?t.rest[i-1]:t.line;n.pos=0,n.addToken=ar,ki(e.display.measure)&&(r=ri(o,e.doc.direction))&&(n.addToken=hr(n.addToken,r)),n.map=[],ur(o,n,hn(e,o,t!=e.display.externalMeasured&&ji(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=At(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=At(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Ci(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(et){let e=n.content.lastChild;(/\bcm-tab\b/.test(e.className)||e.querySelector&&e.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ci(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=At(n.pre.className,n.textClass||"")),n}function sr(e){let t=wt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function ar(e,t,i,n,r,o,l){if(!t)return;let s,a=e.splitSpaces?cr(t,e.trailingSpace):t,c=e.cm.state.specialChars,h=!1;if(c.test(t)){s=document.createDocumentFragment();let i=0;for(;;){c.lastIndex=i;let n,r=c.exec(t),o=r?r.index-i:t.length-i;if(o){let t=document.createTextNode(a.slice(i,i+o));Qe&&Je<9?s.appendChild(wt("span",[t])):s.appendChild(t),e.map.push(e.pos,e.pos+o,t),e.col+=o,e.pos+=o}if(!r)break;if(i+=o+1,"\t"==r[0]){let t=e.cm.options.tabSize,i=t-e.col%t;n=s.appendChild(wt("span",Ft(i),"cm-tab")),n.setAttribute("role","presentation"),n.setAttribute("cm-text","\t"),e.col+=i}else"\r"==r[0]||"\n"==r[0]?(n=s.appendChild(wt("span","\r"==r[0]?"␍":"","cm-invalidchar")),n.setAttribute("cm-text",r[0]),e.col+=1):(n=e.cm.options.specialCharPlaceholder(r[0]),n.setAttribute("cm-text",r[0]),Qe&&Je<9?s.appendChild(wt("span",[n])):s.appendChild(n),e.col+=1);e.map.push(e.pos,e.pos+1,n),e.pos++}}else e.col+=t.length,s=document.createTextNode(a),e.map.push(e.pos,e.pos+t.length,s),Qe&&Je<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==a.charCodeAt(t.length-1),i||n||r||h||o||l){let t=i||"";n&&(t+=n),r&&(t+=r);let a=wt("span",[s],t,o);if(l)for(let e in l)l.hasOwnProperty(e)&&"style"!=e&&"class"!=e&&a.setAttribute(e,l[e]);return e.content.appendChild(a)}e.content.appendChild(s)}function cr(e,t){if(e.length>1&&!/ /.test(e))return e;let i=t,n="";for(let t=0;t<e.length;t++){let r=e.charAt(t);" "!=r||!i||t!=e.length-1&&32!=e.charCodeAt(t+1)||(r=" "),n+=r,i=" "==r}return n}function hr(e,t){return(i,n,r,o,l,s,a)=>{r=r?r+" cm-force-border":"cm-force-border";let c=i.pos,h=c+n.length;for(;;){let d;for(let e=0;e<t.length&&(d=t[e],!(d.to>c&&d.from<=c));e++);if(d.to>=h)return e(i,n,r,o,l,s,a);e(i,n.slice(0,d.to-c),r,o,null,s,a),o=null,n=n.slice(d.to-c),c=d.to}}}function dr(e,t,i,n){let r=!n&&i.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!n&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",i.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function ur(e,t,i){let n=e.markedSpans,r=e.text,o=0;if(!n){for(let e=1;e<i.length;e+=2)t.addToken(t,r.slice(o,o=i[e]),or(i[e+1],t.cm.options));return}let l,s,a,c,h,d,u,p=r.length,m=0,g=1,f="",v=0;for(;;){if(v==m){a=c=h=s="",u=null,d=null,v=1/0;let e,i=[];for(let t=0;t<n.length;++t){let r=n[t],o=r.marker;if("bookmark"==o.type&&r.from==m&&o.widgetNode)i.push(o);else if(r.from<=m&&(null==r.to||r.to>m||o.collapsed&&r.to==m&&r.from==m)){if(null!=r.to&&r.to!=m&&v>r.to&&(v=r.to,c=""),o.className&&(a+=" "+o.className),o.css&&(s=(s?s+";":"")+o.css),o.startStyle&&r.from==m&&(h+=" "+o.startStyle),o.endStyle&&r.to==v&&(e||(e=[])).push(o.endStyle,r.to),o.title&&((u||(u={})).title=o.title),o.attributes)for(let e in o.attributes)(u||(u={}))[e]=o.attributes[e];o.collapsed&&(!d||Wn(d.marker,o)<0)&&(d=r)}else r.from>m&&v>r.from&&(v=r.from)}if(e)for(let t=0;t<e.length;t+=2)e[t+1]==v&&(c+=" "+e[t]);if(!d||d.from==m)for(let e=0;e<i.length;++e)dr(t,0,i[e]);if(d&&(d.from||0)==m){if(dr(t,(null==d.to?p+1:d.to)-m,d.marker,null==d.from),null==d.to)return;d.to==m&&(d=!1)}}if(m>=p)break;let e=Math.min(p,v);for(;;){if(f){let i=m+f.length;if(!d){let n=i>e?f.slice(0,e-m):f;t.addToken(t,n,l?l+a:a,h,m+n.length==v?c:"",s,u)}if(i>=e){f=f.slice(e-m),m=e;break}m=i,h=""}f=r.slice(o,o=i[g++]),l=or(i[g++],t.cm.options)}}}function pr(e,t,i){this.line=t,this.rest=jn(t),this.size=this.rest?ji(Pt(this.rest))-i+1:1,this.node=this.text=null,this.hidden=Yn(e,t)}function mr(e,t,i){let n,r=[];for(let o=t;o<i;o=n){let t=new pr(e.doc,Ri(e.doc,o),o);n=o+t.size,r.push(t)}return r}let gr=null;function fr(e){gr?gr.ops.push(e):e.ownsGroup=gr={ops:[e],delayedCallbacks:[]}}function vr(e){let t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(let t=0;t<e.ops.length;t++){let i=e.ops[t];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(i<t.length)}function yr(e,t){let i=e.ownsGroup;if(i)try{vr(i)}finally{gr=null,t(i)}}let br=null;function xr(e,t){let i=si(e,t);if(!i.length)return;let n,r=Array.prototype.slice.call(arguments,2);gr?n=gr.delayedCallbacks:br?n=br:(n=br=[],setTimeout(wr,0));for(let e=0;e<i.length;++e)n.push(()=>i[e].apply(null,r))}function wr(){let e=br;br=null;for(let t=0;t<e.length;++t)e[t]()}function zr(e,t,i,n){for(let r=0;r<t.changes.length;r++){let o=t.changes[r];"text"==o?Ar(e,t):"gutter"==o?Sr(e,t,i,n):"class"==o?Lr(e,t):"widget"==o&&Hr(e,t,n)}t.changes=null}function Cr(e){return e.node==e.text&&(e.node=wt("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),Qe&&Je<8&&(e.node.style.zIndex=2)),e.node}function kr(e,t){let i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){let n=Cr(t);t.background=n.insertBefore(wt("div",null,i),n.firstChild),e.display.input.setUneditable(t.background)}}function Mr(e,t){let i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):lr(e,t)}function Ar(e,t){let i=t.text.className,n=Mr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,Lr(e,t)):i&&(t.text.className=i)}function Lr(e,t){kr(e,t),t.line.wrapClass?Cr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");let i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function Sr(e,t,i,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){let i=Cr(t);t.gutterBackground=wt("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,`left: ${e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth}px; width: ${n.gutterTotalWidth}px`),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}let r=t.line.gutterMarkers;if(e.options.lineNumbers||r){let o=Cr(t),l=t.gutter=wt("div",null,"CodeMirror-gutter-wrapper",`left: ${e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth}px`);if(l.setAttribute("aria-hidden","true"),e.display.input.setUneditable(l),o.insertBefore(l,t.text),t.line.gutterClass&&(l.className+=" "+t.line.gutterClass),!e.options.lineNumbers||r&&r["CodeMirror-linenumbers"]||(t.lineNumber=l.appendChild(wt("div",Yi(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt",`left: ${n.gutterLeft["CodeMirror-linenumbers"]}px; width: ${e.display.lineNumInnerWidth}px`))),r)for(let t=0;t<e.display.gutterSpecs.length;++t){let i=e.display.gutterSpecs[t].className,o=r.hasOwnProperty(i)&&r[i];o&&l.appendChild(wt("div",[o],"CodeMirror-gutter-elt",`left: ${n.gutterLeft[i]}px; width: ${n.gutterWidth[i]}px`))}}}function Hr(e,t,i){t.alignable&&(t.alignable=null);let n=ft("CodeMirror-linewidget");for(let e,i=t.node.firstChild;i;i=e)e=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);Vr(e,t,i)}function Tr(e,t,i,n){let r=Mr(e,t);return t.text=t.node=r.pre,r.bgClass&&(t.bgClass=r.bgClass),r.textClass&&(t.textClass=r.textClass),Lr(e,t),Sr(e,t,i,n),Vr(e,t,n),t.node}function Vr(e,t,i){if(Or(e,t.line,t,i,!0),t.rest)for(let n=0;n<t.rest.length;n++)Or(e,t.rest[n],t,i,!1)}function Or(e,t,i,n,r){if(!t.widgets)return;let o=Cr(i);for(let l=0,s=t.widgets;l<s.length;++l){let t=s[l],a=wt("div",[t.node],"CodeMirror-linewidget"+(t.className?" "+t.className:""));t.handleMouseEvents||a.setAttribute("cm-ignore-events","true"),Nr(t,a,i,n),e.display.input.setUneditable(a),r&&t.above?o.insertBefore(a,i.gutter||i.text):o.appendChild(a),xr(t,"redraw")}}function Nr(e,t,i,n){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);let r=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(r-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=r+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function _r(e){if(null!=e.height)return e.height;let t=e.doc.cm;if(!t)return 0;if(!Ct(document.body,e.node)){let i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),xt(t.display.measure,wt("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function Er(e,t){for(let i=yi(t);i!=e.wrapper;i=i.parentNode)if(!i||1==i.nodeType&&"true"==i.getAttribute("cm-ignore-events")||i.parentNode==e.sizer&&i!=e.mover)return!0}function Ir(e){return e.lineSpace.offsetTop}function Dr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Wr(e){if(e.cachedPaddingH)return e.cachedPaddingH;let t=xt(e.measure,wt("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function Br(e){return Nt-e.display.nativeBarWidth}function Fr(e){return e.display.scroller.clientWidth-Br(e)-e.display.barWidth}function Pr(e){return e.display.scroller.clientHeight-Br(e)-e.display.barHeight}function Rr(e,t,i){let n=e.options.lineWrapping,r=n&&Fr(e);if(!t.measure.heights||n&&t.measure.width!=r){let e=t.measure.heights=[];if(n){t.measure.width=r;let n=t.text.firstChild.getClientRects();for(let t=0;t<n.length-1;t++){let r=n[t],o=n[t+1];Math.abs(r.bottom-o.bottom)>2&&e.push((r.bottom+o.top)/2-i.top)}}e.push(i.bottom-i.top)}}function Ur(e,t,i){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(let i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(let t=0;t<e.rest.length;t++)if(ji(e.rest[t])>i)return{map:e.measure.maps[t],cache:e.measure.caches[t],before:!0}}function Gr(e,t){let i=ji(t=Gn(t)),n=e.display.externalMeasured=new pr(e.doc,t,i);n.lineN=i;let r=n.built=lr(e,n);return n.text=r.pre,xt(e.display.lineMeasure,r.pre),n}function Kr(e,t,i,n){return Xr(e,qr(e,t),i,n)}function jr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[So(e,t)];let i=e.display.externalMeasured;return i&&t>=i.lineN&&t<i.lineN+i.size?i:void 0}function qr(e,t){let i=ji(t),n=jr(e,i);n&&!n.text?n=null:n&&n.changes&&(zr(e,n,i,Co(e)),e.curOp.forceUpdate=!0),n||(n=Gr(e,t));let r=Ur(n,t,i);return{line:t,view:n,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function Xr(e,t,i,n,r){t.before&&(i=-1);let o,l=i+(n||"");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Rr(e,t.view,t.rect),t.hasHeights=!0),o=Jr(e,t,i,n),o.bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:r?o.rtop:o.top,bottom:r?o.rbottom:o.bottom}}let Yr,$r={left:0,right:0,top:0,bottom:0};function Zr(e,t,i){let n,r,o,l,s,a;for(let c=0;c<e.length;c+=3)if(s=e[c],a=e[c+1],t<s?(r=0,o=1,l="left"):t<a?(r=t-s,o=r+1):(c==e.length-3||t==a&&e[c+3]>t)&&(o=a-s,r=o-1,t>=a&&(l="right")),null!=r){if(n=e[c+2],s==a&&i==(n.insertLeft?"left":"right")&&(l=i),"left"==i&&0==r)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)n=e[2+(c-=3)],l="left";if("right"==i&&r==a-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)n=e[(c+=3)+2],l="right";break}return{node:n,start:r,end:o,collapse:l,coverStart:s,coverEnd:a}}function Qr(e,t){let i=$r;if("left"==t)for(let t=0;t<e.length&&(i=e[t]).left==i.right;t++);else for(let t=e.length-1;t>=0&&(i=e[t]).left==i.right;t--);return i}function Jr(e,t,i,n){let r,o=Zr(t.map,i,n),l=o.node,s=o.start,a=o.end,c=o.collapse;if(3==l.nodeType){for(let e=0;e<4;e++){for(;s&&Zt(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+a<o.coverEnd&&Zt(t.line.text.charAt(o.coverStart+a));)++a;if(r=Qe&&Je<9&&0==s&&a==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Qr(vt(l,s,a).getClientRects(),n),r.left||r.right||0==s)break;a=s,s-=1,c="right"}Qe&&Je<11&&(r=eo(e.display.measure,r))}else{let t;s>0&&(c=n="right"),r=e.options.lineWrapping&&(t=l.getClientRects()).length>1?t["right"==n?t.length-1:0]:l.getBoundingClientRect()}if(Qe&&Je<9&&!s&&(!r||!r.left&&!r.right)){let t=l.parentNode.getClientRects()[0];r=t?{left:t.left,right:t.left+zo(e.display),top:t.top,bottom:t.bottom}:$r}let h=r.top-t.rect.top,d=r.bottom-t.rect.top,u=(h+d)/2,p=t.view.measure.heights,m=0;for(;m<p.length-1&&!(u<p[m]);m++);let g=m?p[m-1]:0,f=p[m],v={left:("right"==c?r.right:r.left)-t.rect.left,right:("left"==c?r.left:r.right)-t.rect.left,top:g,bottom:f};return r.left||r.right||(v.bogus=!0),e.options.singleCursorHeightPerLine||(v.rtop=h,v.rbottom=d),v}function eo(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Hi(e))return t;let i=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*n,bottom:t.bottom*n}}function to(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(let t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function io(e){e.display.externalMeasure=null,bt(e.display.lineMeasure);for(let t=0;t<e.display.view.length;t++)to(e.display.view[t])}function no(e){io(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function ro(){return it&&at?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function oo(){return it&&at?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function lo(e){let t=0;if(e.widgets)for(let i=0;i<e.widgets.length;++i)e.widgets[i].above&&(t+=_r(e.widgets[i]));return t}function so(e,t,i,n,r){if(!r){let e=lo(t);i.top+=e,i.bottom+=e}if("line"==n)return i;n||(n="local");let o=Zn(t);if("local"==n?o+=Ir(e.display):o-=e.display.viewOffset,"page"==n||"window"==n){let t=e.display.lineSpace.getBoundingClientRect();o+=t.top+("window"==n?0:oo());let r=t.left+("window"==n?0:ro());i.left+=r,i.right+=r}return i.top+=o,i.bottom+=o,i}function ao(e,t,i){if("div"==i)return t;let n=t.left,r=t.top;if("page"==i)n-=ro(),r-=oo();else if("local"==i||!i){let t=e.display.sizer.getBoundingClientRect();n+=t.left,r+=t.top}let o=e.display.lineSpace.getBoundingClientRect();return{left:n-o.left,top:r-o.top}}function co(e,t,i,n,r){return n||(n=Ri(e.doc,t.line)),so(e,n,Kr(e,n,t.ch,r),i)}function ho(e,t,i,n,r,o){function l(t,l){let s=Xr(e,r,t,l?"right":"left",o);return l?s.left=s.right:s.right=s.left,so(e,n,s,i)}n=n||Ri(e.doc,t.line),r||(r=qr(e,n));let s=ri(n,e.doc.direction),a=t.ch,c=t.sticky;if(a>=n.text.length?(a=n.text.length,c="before"):a<=0&&(a=0,c="after"),!s)return l("before"==c?a-1:a,"before"==c);function h(e,t,i){return l(i?e-1:e,1==s[t].level!=i)}let d=ii(s,a,c),u=ti,p=h(a,d,"before"==c);return null!=u&&(p.other=h(a,u,"before"!=c)),p}function uo(e,t){let i=0;t=rn(e.doc,t),e.options.lineWrapping||(i=zo(e.display)*t.ch);let n=Ri(e.doc,t.line),r=Zn(n)+Ir(e.display);return{left:i,right:i,top:r,bottom:r+n.height}}function po(e,t,i,n,r){let o=$i(e,t,i);return o.xRel=r,n&&(o.outside=n),o}function mo(e,t,i){let n=e.doc;if((i+=e.display.viewOffset)<0)return po(n.first,0,null,-1,-1);let r=qi(n,i),o=n.first+n.size-1;if(r>o)return po(n.first+n.size-1,Ri(n,o).text.length,null,1,1);t<0&&(t=0);let l=Ri(n,r);for(;;){let o=yo(e,l,r,t,i),s=Rn(l,o.ch+(o.xRel>0||o.outside>0?1:0));if(!s)return o;let a=s.find(1);if(a.line==r)return a;l=Ri(n,r=a.line)}}function go(e,t,i,n){n-=lo(t);let r=t.text.length,o=Jt(t=>Xr(e,i,t-1).bottom<=n,r,0);return r=Jt(t=>Xr(e,i,t).top>n,o,r),{begin:o,end:r}}function fo(e,t,i,n){return i||(i=qr(e,t)),go(e,t,i,so(e,t,Xr(e,i,n),"line").top)}function vo(e,t,i,n){return!(e.bottom<=i)&&(e.top>i||(n?e.left:e.right)>t)}function yo(e,t,i,n,r){r-=Zn(t);let o=qr(e,t),l=lo(t),s=0,a=t.text.length,c=!0,h=ri(t,e.doc.direction);if(h){let l=(e.options.lineWrapping?xo:bo)(e,t,i,o,h,n,r);c=1!=l.level,s=c?l.from:l.to-1,a=c?l.to:l.from-1}let d,u,p=null,m=null,g=Jt(t=>{let i=Xr(e,o,t);return i.top+=l,i.bottom+=l,!!vo(i,n,r,!1)&&(i.top<=r&&i.left<=n&&(p=t,m=i),!0)},s,a),f=!1;if(m){let e=n-m.left<m.right-n,t=e==c;g=p+(t?0:1),u=t?"after":"before",d=e?m.left:m.right}else{c||g!=a&&g!=s||g++,u=0==g?"after":g==t.text.length?"before":Xr(e,o,g-(c?1:0)).bottom+l<=r==c?"after":"before";let n=ho(e,$i(i,g,u),"line",t,o);d=n.left,f=r<n.top?-1:r>=n.bottom?1:0}return g=Qt(t.text,g,1),po(i,g,u,f,n-d)}function bo(e,t,i,n,r,o,l){let s=Jt(s=>{let a=r[s],c=1!=a.level;return vo(ho(e,$i(i,c?a.to:a.from,c?"before":"after"),"line",t,n),o,l,!0)},0,r.length-1),a=r[s];if(s>0){let c=1!=a.level,h=ho(e,$i(i,c?a.from:a.to,c?"after":"before"),"line",t,n);vo(h,o,l,!0)&&h.top>l&&(a=r[s-1])}return a}function xo(e,t,i,n,r,o,l){let{begin:s,end:a}=go(e,t,n,l);/\s/.test(t.text.charAt(a-1))&&a--;let c=null,h=null;for(let t=0;t<r.length;t++){let i=r[t];if(i.from>=a||i.to<=s)continue;let l=Xr(e,n,1!=i.level?Math.min(a,i.to)-1:Math.max(s,i.from)).right,d=l<o?o-l+1e9:l-o;(!c||h>d)&&(c=i,h=d)}return c||(c=r[r.length-1]),c.from<s&&(c={from:s,to:c.to,level:c.level}),c.to>a&&(c={from:c.from,to:a,level:c.level}),c}function wo(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Yr){Yr=wt("pre",null,"CodeMirror-line-like");for(let e=0;e<49;++e)Yr.appendChild(document.createTextNode("x")),Yr.appendChild(wt("br"));Yr.appendChild(document.createTextNode("x"))}xt(e.measure,Yr);let t=Yr.offsetHeight/50;return t>3&&(e.cachedTextHeight=t),bt(e.measure),t||1}function zo(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;let t=wt("span","xxxxxxxxxx"),i=wt("pre",[t],"CodeMirror-line-like");xt(e.measure,i);let n=t.getBoundingClientRect(),r=(n.right-n.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function Co(e){let t=e.display,i={},n={},r=t.gutters.clientLeft;for(let o=t.gutters.firstChild,l=0;o;o=o.nextSibling,++l){let t=e.display.gutterSpecs[l].className;i[t]=o.offsetLeft+o.clientLeft+r,n[t]=o.clientWidth}return{fixedPos:ko(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function ko(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Mo(e){let t=wo(e.display),i=e.options.lineWrapping,n=i&&Math.max(5,e.display.scroller.clientWidth/zo(e.display)-3);return r=>{if(Yn(e.doc,r))return 0;let o=0;if(r.widgets)for(let e=0;e<r.widgets.length;e++)r.widgets[e].height&&(o+=r.widgets[e].height);return i?o+(Math.ceil(r.text.length/n)||1)*t:o+t}}function Ao(e){let t=e.doc,i=Mo(e);t.iter(e=>{let t=i(e);t!=e.height&&Ki(e,t)})}function Lo(e,t,i,n){let r=e.display;if(!i&&"true"==yi(t).getAttribute("cm-not-content"))return null;let o,l,s=r.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,l=t.clientY-s.top}catch(t){return null}let a,c=mo(e,o,l);if(n&&c.xRel>0&&(a=Ri(e.doc,c.line).text).length==c.ch){let t=Tt(a,a.length,e.options.tabSize)-a.length;c=$i(c.line,Math.max(0,Math.round((o-Wr(e.display).left)/zo(e.display))-t))}return c}function So(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;let i=e.display.view;for(let e=0;e<i.length;e++)if((t-=i[e].size)<0)return e}function Ho(e,t,i,n){null==t&&(t=e.doc.first),null==i&&(i=e.doc.first+e.doc.size),n||(n=0);let r=e.display;if(n&&i<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>t)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)zn&&qn(e.doc,t)<r.viewTo&&Vo(e);else if(i<=r.viewFrom)zn&&Xn(e.doc,i+n)>r.viewFrom?Vo(e):(r.viewFrom+=n,r.viewTo+=n);else if(t<=r.viewFrom&&i>=r.viewTo)Vo(e);else if(t<=r.viewFrom){let t=Oo(e,i,i+n,1);t?(r.view=r.view.slice(t.index),r.viewFrom=t.lineN,r.viewTo+=n):Vo(e)}else if(i>=r.viewTo){let i=Oo(e,t,t,-1);i?(r.view=r.view.slice(0,i.index),r.viewTo=i.lineN):Vo(e)}else{let o=Oo(e,t,t,-1),l=Oo(e,i,i+n,1);o&&l?(r.view=r.view.slice(0,o.index).concat(mr(e,o.lineN,l.lineN)).concat(r.view.slice(l.index)),r.viewTo+=n):Vo(e)}let o=r.externalMeasured;o&&(i<o.lineN?o.lineN+=n:t<o.lineN+o.size&&(r.externalMeasured=null))}function To(e,t,i){e.curOp.viewChanged=!0;let n=e.display,r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size&&(n.externalMeasured=null),t<n.viewFrom||t>=n.viewTo)return;let o=n.view[So(e,t)];if(null==o.node)return;let l=o.changes||(o.changes=[]);-1==Ot(l,i)&&l.push(i)}function Vo(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Oo(e,t,i,n){let r,o=So(e,t),l=e.display.view;if(!zn||i==e.doc.first+e.doc.size)return{index:o,lineN:i};let s=e.display.viewFrom;for(let e=0;e<o;e++)s+=l[e].size;if(s!=t){if(n>0){if(o==l.length-1)return null;r=s+l[o].size-t,o++}else r=s-t;t+=r,i+=r}for(;qn(e.doc,i)!=i;){if(o==(n<0?0:l.length-1))return null;i+=n*l[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:i}}function No(e,t,i){let n=e.display;0==n.view.length||t>=n.viewTo||i<=n.viewFrom?(n.view=mr(e,t,i),n.viewFrom=t):(n.viewFrom>t?n.view=mr(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(So(e,t))),n.viewFrom=t,n.viewTo<i?n.view=n.view.concat(mr(e,n.viewTo,i)):n.viewTo>i&&(n.view=n.view.slice(0,So(e,i)))),n.viewTo=i}function _o(e){let t=e.display.view,i=0;for(let e=0;e<t.length;e++){let n=t[e];n.hidden||n.node&&!n.changes||++i}return i}function Eo(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Io(e,t=!0){let i=e.doc,n={},r=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment();for(let n=0;n<i.sel.ranges.length;n++){if(!t&&n==i.sel.primIndex)continue;let l=i.sel.ranges[n];if(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom)continue;let s=l.empty();(s||e.options.showCursorWhenSelecting)&&Do(e,l.head,r),s||Bo(e,l,o)}return n}function Do(e,t,i){let n=ho(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),r=i.appendChild(wt("div"," ","CodeMirror-cursor"));if(r.style.left=n.left+"px",r.style.top=n.top+"px",r.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){let e=i.appendChild(wt("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));e.style.display="",e.style.left=n.other.left+"px",e.style.top=n.other.top+"px",e.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function Wo(e,t){return e.top-t.top||e.left-t.left}function Bo(e,t,i){let n=e.display,r=e.doc,o=document.createDocumentFragment(),l=Wr(e.display),s=l.left,a=Math.max(n.sizerWidth,Fr(e)-n.sizer.offsetLeft)-l.right,c="ltr"==r.direction;function h(e,t,i,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(wt("div",null,"CodeMirror-selected",`position: absolute; left: ${e}px;\n top: ${t}px; width: ${null==i?a-e:i}px;\n height: ${n-t}px`))}function d(t,i,n){let o,l,d=Ri(r,t),u=d.text.length;function p(i,n){return co(e,$i(t,i),"div",d,n)}function m(t,i,n){let r=fo(e,d,null,t),o="ltr"==i==("after"==n)?"left":"right";return p("after"==n?r.begin:r.end-(/\s/.test(d.text.charAt(r.end-1))?2:1),o)[o]}let g=ri(d,r.direction);return ei(g,i||0,null==n?u:n,(e,t,r,d)=>{let f="ltr"==r,v=p(e,f?"left":"right"),y=p(t-1,f?"right":"left"),b=null==i&&0==e,x=null==n&&t==u,w=0==d,z=!g||d==g.length-1;if(y.top-v.top<=3){let e=(c?x:b)&&z,t=(c?b:x)&&w?s:(f?v:y).left,i=e?a:(f?y:v).right;h(t,v.top,i-t,v.bottom)}else{let i,n,o,l;f?(i=c&&b&&w?s:v.left,n=c?a:m(e,r,"before"),o=c?s:m(t,r,"after"),l=c&&x&&z?a:y.right):(i=c?m(e,r,"before"):s,n=!c&&b&&w?a:v.right,o=!c&&x&&z?s:y.left,l=c?m(t,r,"after"):a),h(i,v.top,n-i,v.bottom),v.bottom<y.top&&h(s,v.bottom,null,y.top),h(o,y.top,l-o,y.bottom)}(!o||Wo(v,o)<0)&&(o=v),Wo(y,o)<0&&(o=y),(!l||Wo(v,l)<0)&&(l=v),Wo(y,l)<0&&(l=y)}),{start:o,end:l}}let u=t.from(),p=t.to();if(u.line==p.line)d(u.line,u.ch,p.ch);else{let e=Ri(r,u.line),t=Ri(r,p.line),i=Gn(e)==Gn(t),n=d(u.line,u.ch,i?e.text.length+1:null).end,o=d(p.line,i?0:null,p.ch).start;i&&(n.top<o.top-2?(h(n.right,n.top,null,n.bottom),h(s,o.top,o.left,o.bottom)):h(n.right,n.top,o.left-n.right,n.bottom)),n.bottom<o.top&&h(s,n.bottom,null,o.top)}i.appendChild(o)}function Fo(e){if(!e.state.focused)return;let t=e.display;clearInterval(t.blinker);let i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(()=>{e.hasFocus()||Go(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}function Po(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Uo(e))}function Ro(e){e.state.delayingBlurEvent=!0,setTimeout(()=>{e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Go(e))},100)}function Uo(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ci(e,"focus",e,t),e.state.focused=!0,Mt(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),et&&setTimeout(()=>e.display.input.reset(!0),20)),e.display.input.receivedFocus()),Fo(e))}function Go(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ci(e,"blur",e,t),e.state.focused=!1,yt(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(()=>{e.state.focused||(e.display.shift=!1)},150))}function Ko(e){let t=e.display,i=t.lineDiv.offsetTop;for(let n=0;n<t.view.length;n++){let r,o=t.view[n],l=e.options.lineWrapping,s=0;if(o.hidden)continue;if(Qe&&Je<8){let e=o.node.offsetTop+o.node.offsetHeight;r=e-i,i=e}else{let e=o.node.getBoundingClientRect();r=e.bottom-e.top,!l&&o.text.firstChild&&(s=o.text.firstChild.getBoundingClientRect().right-e.left-1)}let a=o.line.height-r;if((a>.005||a<-.005)&&(Ki(o.line,r),jo(o.line),o.rest))for(let e=0;e<o.rest.length;e++)jo(o.rest[e]);if(s>e.display.sizerWidth){let t=Math.ceil(s/zo(e.display));t>e.display.maxLineLength&&(e.display.maxLineLength=t,e.display.maxLine=o.line,e.display.maxLineChanged=!0)}}}function jo(e){if(e.widgets)for(let t=0;t<e.widgets.length;++t){let i=e.widgets[t],n=i.node.parentNode;n&&(i.height=n.offsetHeight)}}function qo(e,t,i){let n=i&&null!=i.top?Math.max(0,i.top):e.scroller.scrollTop;n=Math.floor(n-Ir(e));let r=i&&null!=i.bottom?i.bottom:n+e.wrapper.clientHeight,o=qi(t,n),l=qi(t,r);if(i&&i.ensure){let n=i.ensure.from.line,r=i.ensure.to.line;n<o?(o=n,l=qi(t,Zn(Ri(t,n))+e.wrapper.clientHeight)):Math.min(r,t.lastLine())>=l&&(o=qi(t,Zn(Ri(t,r))-e.wrapper.clientHeight),l=r)}return{from:o,to:Math.max(l,o+1)}}function Xo(e,t){if(hi(e,"scrollCursorIntoView"))return;let i=e.display,n=i.sizer.getBoundingClientRect(),r=null;if(t.top+n.top<0?r=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!lt){let n=wt("div","",null,`position: absolute;\n top: ${t.top-i.viewOffset-Ir(e.display)}px;\n height: ${t.bottom-t.top+Br(e)+i.barHeight}px;\n left: ${t.left}px; width: ${Math.max(2,t.right-t.left)}px;`);e.display.lineSpace.appendChild(n),n.scrollIntoView(r),e.display.lineSpace.removeChild(n)}}function Yo(e,t,i,n){let r;null==n&&(n=0),e.options.lineWrapping||t!=i||(i="before"==t.sticky?$i(t.line,t.ch+1,"before"):t,t=t.ch?$i(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(let o=0;o<5;o++){let o=!1,l=ho(e,t),s=i&&i!=t?ho(e,i):l;r={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-n,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+n};let a=Zo(e,r),c=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=a.scrollTop&&(rl(e,a.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(o=!0)),null!=a.scrollLeft&&(ll(e,a.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(o=!0)),!o)break}return r}function $o(e,t){let i=Zo(e,t);null!=i.scrollTop&&rl(e,i.scrollTop),null!=i.scrollLeft&&ll(e,i.scrollLeft)}function Zo(e,t){let i=e.display,n=wo(e.display);t.top<0&&(t.top=0);let r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:i.scroller.scrollTop,o=Pr(e),l={};t.bottom-t.top>o&&(t.bottom=t.top+o);let s=e.doc.height+Dr(i),a=t.top<n,c=t.bottom>s-n;if(t.top<r)l.scrollTop=a?0:t.top;else if(t.bottom>r+o){let e=Math.min(t.top,(c?s:t.bottom)-o);e!=r&&(l.scrollTop=e)}let h=e.options.fixedGutter?0:i.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:i.scroller.scrollLeft-h,u=Fr(e)-i.gutters.offsetWidth,p=t.right-t.left>u;return p&&(t.right=t.left+u),t.left<10?l.scrollLeft=0:t.left<d?l.scrollLeft=Math.max(0,t.left+h-(p?0:10)):t.right>u+d-3&&(l.scrollLeft=t.right+(p?0:10)-u),l}function Qo(e,t){null!=t&&(il(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Jo(e){il(e);let t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function el(e,t,i){null==t&&null==i||il(e),null!=t&&(e.curOp.scrollLeft=t),null!=i&&(e.curOp.scrollTop=i)}function tl(e,t){il(e),e.curOp.scrollToPos=t}function il(e){let t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null,nl(e,uo(e,t.from),uo(e,t.to),t.margin)}}function nl(e,t,i,n){let r=Zo(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-n,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+n});el(e,r.scrollLeft,r.scrollTop)}function rl(e,t){Math.abs(e.doc.scrollTop-t)<2||(Xe||El(e,{top:t}),ol(e,t,!0),Xe&&El(e),Ll(e,100))}function ol(e,t,i){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||i)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function ll(e,t,i,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,Bl(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function sl(e){let t=e.display,i=t.gutters.offsetWidth,n=Math.round(e.doc.height+Dr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?i:0,docHeight:n,scrollHeight:n+Br(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}class al{constructor(e,t,i){this.cm=i;let n=this.vert=wt("div",[wt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=wt("div",[wt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=r.tabIndex=-1,e(n),e(r),li(n,"scroll",()=>{n.clientHeight&&t(n.scrollTop,"vertical")}),li(r,"scroll",()=>{r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Qe&&Je<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}update(e){let t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";let i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=i?n+"px":"0",this.horiz.style.left=e.barLeft+"px";let t=e.viewWidth-e.barLeft-(i?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+t)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?n:0,bottom:t?n:0}}setScrollLeft(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")}setScrollTop(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")}zeroWidthHack(){let e=ht&&!ot?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Vt,this.disableVert=new Vt}enableZeroWidthBar(e,t,i){function n(){let r=e.getBoundingClientRect();("vert"==i?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,n)}e.style.pointerEvents="auto",t.set(1e3,n)}clear(){let e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}}class cl{update(){return{bottom:0,right:0}}setScrollLeft(){}setScrollTop(){}clear(){}}function hl(e,t){t||(t=sl(e));let i=e.display.barWidth,n=e.display.barHeight;dl(e,t);for(let t=0;t<4&&i!=e.display.barWidth||n!=e.display.barHeight;t++)i!=e.display.barWidth&&e.options.lineWrapping&&Ko(e),dl(e,sl(e)),i=e.display.barWidth,n=e.display.barHeight}function dl(e,t){let i=e.display,n=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=n.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=n.bottom)+"px",i.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=n.bottom+"px",i.scrollbarFiller.style.width=n.right+"px"):i.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=n.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}let ul={native:al,null:cl};function pl(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&yt(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ul[e.options.scrollbarStyle](t=>{e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),li(t,"mousedown",()=>{e.state.focused&&setTimeout(()=>e.display.input.focus(),0)}),t.setAttribute("cm-not-content","true")},(t,i)=>{"horizontal"==i?ll(e,t):rl(e,t)},e),e.display.scrollbars.addClass&&Mt(e.display.wrapper,e.display.scrollbars.addClass)}let ml=0;function gl(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ml,markArrays:null},fr(e.curOp)}function fl(e){let t=e.curOp;t&&yr(t,e=>{for(let t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;vl(e)})}function vl(e){let t=e.ops;for(let e=0;e<t.length;e++)yl(t[e]);for(let e=0;e<t.length;e++)bl(t[e]);for(let e=0;e<t.length;e++)xl(t[e]);for(let e=0;e<t.length;e++)wl(t[e]);for(let e=0;e<t.length;e++)zl(t[e])}function yl(e){let t=e.cm,i=t.display;Tl(t),e.updateMaxLine&&Jn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Hl(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function bl(e){e.updatedDisplay=e.mustUpdate&&Nl(e.cm,e.update)}function xl(e){let t=e.cm,i=t.display;e.updatedDisplay&&Ko(t),e.barMeasure=sl(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Kr(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+Br(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-Fr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function wl(e){let t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&ll(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);let i=e.focus&&e.focus==kt();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&hl(t,e.barMeasure),e.updatedDisplay&&Wl(t,e.barMeasure),e.selectionChanged&&Fo(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&Po(e.cm)}function zl(e){let t=e.cm,i=t.display,n=t.doc;if(e.updatedDisplay&&_l(t,e.update),null==i.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(i.wheelStartX=i.wheelStartY=null),null!=e.scrollTop&&ol(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&ll(t,e.scrollLeft,!0,!0),e.scrollToPos){Xo(t,Yo(t,rn(n,e.scrollToPos.from),rn(n,e.scrollToPos.to),e.scrollToPos.margin))}let r=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(r)for(let e=0;e<r.length;++e)r[e].lines.length||ci(r[e],"hide");if(o)for(let e=0;e<o.length;++e)o[e].lines.length&&ci(o[e],"unhide");i.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ci(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Cl(e,t){if(e.curOp)return t();gl(e);try{return t()}finally{fl(e)}}function kl(e,t){return function(){if(e.curOp)return t.apply(e,arguments);gl(e);try{return t.apply(e,arguments)}finally{fl(e)}}}function Ml(e){return function(){if(this.curOp)return e.apply(this,arguments);gl(this);try{return e.apply(this,arguments)}finally{fl(this)}}}function Al(e){return function(){let t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);gl(t);try{return e.apply(this,arguments)}finally{fl(t)}}}function Ll(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,St(Sl,e))}function Sl(e){let t=e.doc;if(t.highlightFrontier>=e.display.viewTo)return;let i=+new Date+e.options.workTime,n=dn(e,t.highlightFrontier),r=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),o=>{if(n.line>=e.display.viewFrom){let i=o.styles,l=o.text.length>e.options.maxHighlightLength?Wi(t.mode,n.state):null,s=cn(e,o,n,!0);l&&(n.state=l),o.styles=s.styles;let a=o.styleClasses,c=s.classes;c?o.styleClasses=c:a&&(o.styleClasses=null);let h=!i||i.length!=o.styles.length||a!=c&&(!a||!c||a.bgClass!=c.bgClass||a.textClass!=c.textClass);for(let e=0;!h&&e<i.length;++e)h=i[e]!=o.styles[e];h&&r.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&un(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>i)return Ll(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),r.length&&Cl(e,()=>{for(let t=0;t<r.length;t++)To(e,r[t],"text")})}class Hl{constructor(e,t,i){let n=e.display;this.viewport=t,this.visible=qo(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Fr(e),this.force=i,this.dims=Co(e),this.events=[]}signal(e,t){ui(e,t)&&this.events.push(arguments)}finish(){for(let e=0;e<this.events.length;e++)ci.apply(null,this.events[e])}}function Tl(e){let t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Br(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Br(e)+"px",t.scrollbarsClipped=!0)}function Vl(e){if(e.hasFocus())return null;let t=kt();if(!t||!Ct(e.display.lineDiv,t))return null;let i={activeElt:t};if(window.getSelection){let t=window.getSelection();t.anchorNode&&t.extend&&Ct(e.display.lineDiv,t.anchorNode)&&(i.anchorNode=t.anchorNode,i.anchorOffset=t.anchorOffset,i.focusNode=t.focusNode,i.focusOffset=t.focusOffset)}return i}function Ol(e){if(e&&e.activeElt&&e.activeElt!=kt()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Ct(document.body,e.anchorNode)&&Ct(document.body,e.focusNode))){let t=window.getSelection(),i=document.createRange();i.setEnd(e.anchorNode,e.anchorOffset),i.collapse(!1),t.removeAllRanges(),t.addRange(i),t.extend(e.focusNode,e.focusOffset)}}function Nl(e,t){let i=e.display,n=e.doc;if(t.editorIsHidden)return Vo(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&0==_o(e))return!1;Fl(e)&&(Vo(e),t.dims=Co(e));let r=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),l=Math.min(r,t.visible.to+e.options.viewportMargin);i.viewFrom<o&&o-i.viewFrom<20&&(o=Math.max(n.first,i.viewFrom)),i.viewTo>l&&i.viewTo-l<20&&(l=Math.min(r,i.viewTo)),zn&&(o=qn(e.doc,o),l=Xn(e.doc,l));let s=o!=i.viewFrom||l!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;No(e,o,l),i.viewOffset=Zn(Ri(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";let a=_o(e);if(!s&&0==a&&!t.force&&i.renderedView==i.view&&(null==i.updateLineNumbers||i.updateLineNumbers>=i.viewTo))return!1;let c=Vl(e);return a>4&&(i.lineDiv.style.display="none"),Il(e,i.updateLineNumbers,t.dims),a>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,Ol(c),bt(i.cursorDiv),bt(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,s&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,Ll(e,400)),i.updateLineNumbers=null,!0}function _l(e,t){let i=t.viewport;for(let n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Fr(e))n&&(t.visible=qo(e.display,e.doc,i));else if(i&&null!=i.top&&(i={top:Math.min(e.doc.height+Dr(e.display)-Pr(e),i.top)}),t.visible=qo(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Nl(e,t))break;Ko(e);let r=sl(e);Eo(e),hl(e,r),Wl(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function El(e,t){let i=new Hl(e,t);if(Nl(e,i)){Ko(e),_l(e,i);let t=sl(e);Eo(e),hl(e,t),Wl(e,t),i.finish()}}function Il(e,t,i){let n=e.display,r=e.options.lineNumbers,o=n.lineDiv,l=o.firstChild;function s(t){let i=t.nextSibling;return et&&ht&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),i}let a=n.view,c=n.viewFrom;for(let n=0;n<a.length;n++){let h=a[n];if(h.hidden);else if(h.node&&h.node.parentNode==o){for(;l!=h.node;)l=s(l);let n=r&&null!=t&&t<=c&&h.lineNumber;h.changes&&(Ot(h.changes,"gutter")>-1&&(n=!1),zr(e,h,c,i)),n&&(bt(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(Yi(e.options,c)))),l=h.node.nextSibling}else{let t=Tr(e,h,c,i);o.insertBefore(t,l)}c+=h.size}for(;l;)l=s(l)}function Dl(e){let t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",xr(e,"gutterChanged",e)}function Wl(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Br(e)+"px"}function Bl(e){let t=e.display,i=t.view;if(!(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter))return;let n=ko(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=n+"px";for(let t=0;t<i.length;t++)if(!i[t].hidden){e.options.fixedGutter&&(i[t].gutter&&(i[t].gutter.style.left=o),i[t].gutterBackground&&(i[t].gutterBackground.style.left=o));let n=i[t].alignable;if(n)for(let e=0;e<n.length;e++)n[e].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+r+"px")}function Fl(e){if(!e.options.lineNumbers)return!1;let t=e.doc,i=Yi(e.options,t.first+t.size-1),n=e.display;if(i.length!=n.lineNumChars){let t=n.measure.appendChild(wt("div",[wt("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),r=t.firstChild.offsetWidth,o=t.offsetWidth-r;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(r,n.lineGutter.offsetWidth-o)+1,n.lineNumWidth=n.lineNumInnerWidth+o,n.lineNumChars=n.lineNumInnerWidth?i.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Dl(e.display),!0}return!1}function Pl(e,t){let i=[],n=!1;for(let r=0;r<e.length;r++){let o=e[r],l=null;if("string"!=typeof o&&(l=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}i.push({className:o,style:l})}return t&&!n&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function Rl(e){let t=e.gutters,i=e.gutterSpecs;bt(t),e.lineGutter=null;for(let n=0;n<i.length;++n){let{className:r,style:o}=i[n],l=t.appendChild(wt("div",null,"CodeMirror-gutter "+r));o&&(l.style.cssText=o),"CodeMirror-linenumbers"==r&&(e.lineGutter=l,l.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",Dl(e)}function Ul(e){Rl(e.display),Ho(e),Bl(e)}function Gl(e,t,i,n){let r=this;this.input=i,r.scrollbarFiller=wt("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=wt("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=zt("div",null,"CodeMirror-code"),r.selectionDiv=wt("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=wt("div",null,"CodeMirror-cursors"),r.measure=wt("div",null,"CodeMirror-measure"),r.lineMeasure=wt("div",null,"CodeMirror-measure"),r.lineSpace=zt("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none");let o=zt("div",[r.lineSpace],"CodeMirror-lines");r.mover=wt("div",[o],null,"position: relative"),r.sizer=wt("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=wt("div",null,null,"position: absolute; height: "+Nt+"px; width: 1px;"),r.gutters=wt("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=wt("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=wt("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),Qe&&Je<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),et||Xe&&ct||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,r.gutterSpecs=Pl(n.gutters,n.lineNumbers),Rl(r),i.init(r)}let Kl=0,jl=null;function ql(e){let t=e.wheelDeltaX,i=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==i&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:null==i&&(i=e.wheelDelta),{x:t,y:i}}function Xl(e){let t=ql(e);return t.x*=jl,t.y*=jl,t}function Yl(e,t){let i=ql(t),n=i.x,r=i.y,o=e.display,l=o.scroller,s=l.scrollWidth>l.clientWidth,a=l.scrollHeight>l.clientHeight;if(n&&s||r&&a){if(r&&ht&&et)e:for(let i=t.target,n=o.view;i!=l;i=i.parentNode)for(let t=0;t<n.length;t++)if(n[t].node==i){e.display.currentWheelTarget=i;break e}if(n&&!Xe&&!nt&&null!=jl)return r&&a&&rl(e,Math.max(0,l.scrollTop+r*jl)),ll(e,Math.max(0,l.scrollLeft+n*jl)),(!r||r&&a)&&mi(t),void(o.wheelStartX=null);if(r&&null!=jl){let t=r*jl,i=e.doc.scrollTop,n=i+o.wrapper.clientHeight;t<0?i=Math.max(0,i+t-50):n=Math.min(e.doc.height,n+t+50),El(e,{top:i,bottom:n})}Kl<20&&(null==o.wheelStartX?(o.wheelStartX=l.scrollLeft,o.wheelStartY=l.scrollTop,o.wheelDX=n,o.wheelDY=r,setTimeout(()=>{if(null==o.wheelStartX)return;let e=l.scrollLeft-o.wheelStartX,t=l.scrollTop-o.wheelStartY,i=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,i&&(jl=(jl*Kl+i)/(Kl+1),++Kl)},200)):(o.wheelDX+=n,o.wheelDY+=r))}}Qe?jl=-.53:Xe?jl=15:it?jl=-.7:rt&&(jl=-1/3);class $l{constructor(e,t){this.ranges=e,this.primIndex=t}primary(){return this.ranges[this.primIndex]}equals(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(let t=0;t<this.ranges.length;t++){let i=this.ranges[t],n=e.ranges[t];if(!Qi(i.anchor,n.anchor)||!Qi(i.head,n.head))return!1}return!0}deepCopy(){let e=[];for(let t=0;t<this.ranges.length;t++)e[t]=new Zl(Ji(this.ranges[t].anchor),Ji(this.ranges[t].head));return new $l(e,this.primIndex)}somethingSelected(){for(let e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1}contains(e,t){t||(t=e);for(let i=0;i<this.ranges.length;i++){let n=this.ranges[i];if(Zi(t,n.from())>=0&&Zi(e,n.to())<=0)return i}return-1}}class Zl{constructor(e,t){this.anchor=e,this.head=t}from(){return tn(this.anchor,this.head)}to(){return en(this.anchor,this.head)}empty(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}}function Ql(e,t,i){let n=e&&e.options.selectionsMayTouch,r=t[i];t.sort((e,t)=>Zi(e.from(),t.from())),i=Ot(t,r);for(let e=1;e<t.length;e++){let r=t[e],o=t[e-1],l=Zi(o.to(),r.from());if(n&&!r.empty()?l>0:l>=0){let n=tn(o.from(),r.from()),l=en(o.to(),r.to()),s=o.empty()?r.from()==r.head:o.from()==o.head;e<=i&&--i,t.splice(--e,2,new Zl(s?l:n,s?n:l))}}return new $l(t,i)}function Jl(e,t){return new $l([new Zl(e,t||e)],0)}function es(e){return e.text?$i(e.from.line+e.text.length-1,Pt(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ts(e,t){if(Zi(e,t.from)<0)return e;if(Zi(e,t.to)<=0)return es(t);let i=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=es(t).ch-t.to.ch),$i(i,n)}function is(e,t){let i=[];for(let n=0;n<e.sel.ranges.length;n++){let r=e.sel.ranges[n];i.push(new Zl(ts(r.anchor,t),ts(r.head,t)))}return Ql(e.cm,i,e.sel.primIndex)}function ns(e,t,i){return e.line==t.line?$i(i.line,e.ch-t.ch+i.ch):$i(i.line+(e.line-t.line),e.ch)}function rs(e,t,i){let n=[],r=$i(e.first,0),o=r;for(let l=0;l<t.length;l++){let s=t[l],a=ns(s.from,r,o),c=ns(es(s),r,o);if(r=s.to,o=c,"around"==i){let t=e.sel.ranges[l],i=Zi(t.head,t.anchor)<0;n[l]=new Zl(i?c:a,i?a:c)}else n[l]=new Zl(a,a)}return new $l(n,e.sel.primIndex)}function os(e){e.doc.mode=Ei(e.options,e.doc.modeOption),ls(e)}function ls(e){e.doc.iter(e=>{e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Ll(e,100),e.state.modeGen++,e.curOp&&Ho(e)}function ss(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Pt(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function as(e,t,i,n){function r(e){return i?i[e]:null}function o(e,i,r){tr(e,i,r,n),xr(e,"change",e,t)}function l(e,t){let i=[];for(let o=e;o<t;++o)i.push(new er(c[o],r(o),n));return i}let s=t.from,a=t.to,c=t.text,h=Ri(e,s.line),d=Ri(e,a.line),u=Pt(c),p=r(c.length-1),m=a.line-s.line;if(t.full)e.insert(0,l(0,c.length)),e.remove(c.length,e.size-c.length);else if(ss(e,t)){let t=l(0,c.length-1);o(d,d.text,p),m&&e.remove(s.line,m),t.length&&e.insert(s.line,t)}else if(h==d)if(1==c.length)o(h,h.text.slice(0,s.ch)+u+h.text.slice(a.ch),p);else{let t=l(1,c.length-1);t.push(new er(u+h.text.slice(a.ch),p,n)),o(h,h.text.slice(0,s.ch)+c[0],r(0)),e.insert(s.line+1,t)}else if(1==c.length)o(h,h.text.slice(0,s.ch)+c[0]+d.text.slice(a.ch),r(0)),e.remove(s.line+1,m);else{o(h,h.text.slice(0,s.ch)+c[0],r(0)),o(d,u+d.text.slice(a.ch),p);let t=l(1,c.length-1);m>1&&e.remove(s.line+1,m-1),e.insert(s.line+1,t)}xr(e,"change",e,t)}function cs(e,t,i){function n(e,r,o){if(e.linked)for(let l=0;l<e.linked.length;++l){let s=e.linked[l];if(s.doc==r)continue;let a=o&&s.sharedHist;i&&!a||(t(s.doc,a),n(s.doc,e,a))}}n(e,null,!0)}function hs(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Ao(e),os(e),ds(e),e.options.direction=t.direction,e.options.lineWrapping||Jn(e),e.options.mode=t.modeOption,Ho(e)}function ds(e){("rtl"==e.doc.direction?Mt:yt)(e.display.lineDiv,"CodeMirror-rtl")}function us(e){Cl(e,()=>{ds(e),Ho(e)})}function ps(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function ms(e,t){let i={from:Ji(t.from),to:es(t),text:Ui(e,t.from,t.to)};return ws(e,i,t.from.line,t.to.line+1),cs(e,e=>ws(e,i,t.from.line,t.to.line+1),!0),i}function gs(e){for(;e.length;){if(!Pt(e).ranges)break;e.pop()}}function fs(e,t){return t?(gs(e.done),Pt(e.done)):e.done.length&&!Pt(e.done).ranges?Pt(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Pt(e.done)):void 0}function vs(e,t,i,n){let r=e.history;r.undone.length=0;let o,l,s=+new Date;if((r.lastOp==n||r.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&r.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=fs(r,r.lastOp==n)))l=Pt(o.changes),0==Zi(t.from,t.to)&&0==Zi(t.from,l.to)?l.to=es(t):o.changes.push(ms(e,t));else{let i=Pt(r.done);for(i&&i.ranges||xs(e.sel,r.done),o={changes:[ms(e,t)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(i),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=s,r.lastOp=r.lastSelOp=n,r.lastOrigin=r.lastSelOrigin=t.origin,l||ci(e,"historyAdded")}function ys(e,t,i,n){let r=t.charAt(0);return"*"==r||"+"==r&&i.ranges.length==n.ranges.length&&i.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function bs(e,t,i,n){let r=e.history,o=n&&n.origin;i==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||ys(e,o,Pt(r.done),t))?r.done[r.done.length-1]=t:xs(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=i,n&&!1!==n.clearRedo&&gs(r.undone)}function xs(e,t){let i=Pt(t);i&&i.ranges&&i.equals(e)||t.push(e)}function ws(e,t,i,n){let r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,n),i=>{i.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=i.markedSpans),++o})}function zs(e){if(!e)return null;let t;for(let i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function Cs(e,t){let i=t["spans_"+e.id];if(!i)return null;let n=[];for(let e=0;e<t.text.length;++e)n.push(zs(i[e]));return n}function ks(e,t){let i=Cs(e,t),n=Vn(e,t);if(!i)return n;if(!n)return i;for(let e=0;e<i.length;++e){let t=i[e],r=n[e];if(t&&r)e:for(let e=0;e<r.length;++e){let i=r[e];for(let e=0;e<t.length;++e)if(t[e].marker==i.marker)continue e;t.push(i)}else r&&(i[e]=r)}return i}function Ms(e,t,i){let n=[];for(let o=0;o<e.length;++o){let l=e[o];if(l.ranges){n.push(i?$l.prototype.deepCopy.call(l):l);continue}let s=l.changes,a=[];n.push({changes:a});for(let e=0;e<s.length;++e){let i,n=s[e];if(a.push({from:n.from,to:n.to,text:n.text}),t)for(var r in n)(i=r.match(/^spans_(\d+)$/))&&Ot(t,Number(i[1]))>-1&&(Pt(a)[r]=n[r],delete n[r])}}return n}function As(e,t,i,n){if(n){let n=e.anchor;if(i){let e=Zi(t,n)<0;e!=Zi(i,n)<0?(n=t,t=i):e!=Zi(t,i)<0&&(t=i)}return new Zl(n,t)}return new Zl(i||t,t)}function Ls(e,t,i,n,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),Ns(e,new $l([As(e.sel.primary(),t,i,r)],0),n)}function Ss(e,t,i){let n=[],r=e.cm&&(e.cm.display.shift||e.extend);for(let i=0;i<e.sel.ranges.length;i++)n[i]=As(e.sel.ranges[i],t[i],null,r);Ns(e,Ql(e.cm,n,e.sel.primIndex),i)}function Hs(e,t,i,n){let r=e.sel.ranges.slice(0);r[t]=i,Ns(e,Ql(e.cm,r,e.sel.primIndex),n)}function Ts(e,t,i,n){Ns(e,Jl(t,i),n)}function Vs(e,t,i){let n={ranges:t.ranges,update:function(t){this.ranges=[];for(let i=0;i<t.length;i++)this.ranges[i]=new Zl(rn(e,t[i].anchor),rn(e,t[i].head))},origin:i&&i.origin};return ci(e,"beforeSelectionChange",e,n),e.cm&&ci(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Ql(e.cm,n.ranges,n.ranges.length-1):t}function Os(e,t,i){let n=e.history.done,r=Pt(n);r&&r.ranges?(n[n.length-1]=t,_s(e,t,i)):Ns(e,t,i)}function Ns(e,t,i){_s(e,t,i),bs(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function _s(e,t,i){(ui(e,"beforeSelectionChange")||e.cm&&ui(e.cm,"beforeSelectionChange"))&&(t=Vs(e,t,i));let n=i&&i.bias||(Zi(t.primary().head,e.sel.primary().head)<0?-1:1);Es(e,Ds(e,t,n,!0)),i&&!1===i.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||Jo(e.cm)}function Es(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,di(e.cm)),xr(e,"cursorActivity",e))}function Is(e){Es(e,Ds(e,e.sel,null,!1))}function Ds(e,t,i,n){let r;for(let o=0;o<t.ranges.length;o++){let l=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],a=Bs(e,l.anchor,s&&s.anchor,i,n),c=Bs(e,l.head,s&&s.head,i,n);(r||a!=l.anchor||c!=l.head)&&(r||(r=t.ranges.slice(0,o)),r[o]=new Zl(a,c))}return r?Ql(e.cm,r,t.primIndex):t}function Ws(e,t,i,n,r){let o=Ri(e,t.line);if(o.markedSpans)for(let l=0;l<o.markedSpans.length;++l){let s=o.markedSpans[l],a=s.marker,c="selectLeft"in a?!a.selectLeft:a.inclusiveLeft,h="selectRight"in a?!a.selectRight:a.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(h?s.to>=t.ch:s.to>t.ch))){if(r&&(ci(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--l;continue}break}if(!a.atomic)continue;if(i){let l,s=a.find(n<0?1:-1);if((n<0?h:c)&&(s=Fs(e,s,-n,s&&s.line==t.line?o:null)),s&&s.line==t.line&&(l=Zi(s,i))&&(n<0?l<0:l>0))return Ws(e,s,t,n,r)}let s=a.find(n<0?-1:1);return(n<0?c:h)&&(s=Fs(e,s,n,s.line==t.line?o:null)),s?Ws(e,s,t,n,r):null}}return t}function Bs(e,t,i,n,r){let o=n||1,l=Ws(e,t,i,o,r)||!r&&Ws(e,t,i,o,!0)||Ws(e,t,i,-o,r)||!r&&Ws(e,t,i,-o,!0);return l||(e.cantEdit=!0,$i(e.first,0))}function Fs(e,t,i,n){return i<0&&0==t.ch?t.line>e.first?rn(e,$i(t.line-1)):null:i>0&&t.ch==(n||Ri(e,t.line)).text.length?t.line<e.first+e.size-1?$i(t.line+1,0):null:new $i(t.line,t.ch+i)}function Ps(e){e.setSelection($i(e.firstLine(),0),$i(e.lastLine()),Et)}function Rs(e,t,i){let n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:()=>n.canceled=!0};return i&&(n.update=(t,i,r,o)=>{t&&(n.from=rn(e,t)),i&&(n.to=rn(e,i)),r&&(n.text=r),void 0!==o&&(n.origin=o)}),ci(e,"beforeChange",e,n),e.cm&&ci(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function Us(e,t,i){if(e.cm){if(!e.cm.curOp)return kl(e.cm,Us)(e,t,i);if(e.cm.state.suppressEdits)return}if((ui(e,"beforeChange")||e.cm&&ui(e.cm,"beforeChange"))&&!(t=Rs(e,t,!0)))return;let n=wn&&!i&&Nn(e,t.from,t.to);if(n)for(let i=n.length-1;i>=0;--i)Gs(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else Gs(e,t)}function Gs(e,t){if(1==t.text.length&&""==t.text[0]&&0==Zi(t.from,t.to))return;let i=is(e,t);vs(e,t,i,e.cm?e.cm.curOp.id:NaN),qs(e,t,i,Vn(e,t));let n=[];cs(e,(e,i)=>{i||-1!=Ot(n,e.history)||(Qs(e.history,t),n.push(e.history)),qs(e,t,null,Vn(e,t))})}function Ks(e,t,i){let n=e.cm&&e.cm.state.suppressEdits;if(n&&!i)return;let r,o=e.history,l=e.sel,s="undo"==t?o.done:o.undone,a="undo"==t?o.undone:o.done,c=0;for(;c<s.length&&(r=s[c],i?!r.ranges||r.equals(e.sel):r.ranges);c++);if(c==s.length)return;for(o.lastOrigin=o.lastSelOrigin=null;;){if(r=s.pop(),!r.ranges){if(n)return void s.push(r);break}if(xs(r,a),i&&!r.equals(e.sel))return void Ns(e,r,{clearRedo:!1});l=r}let h=[];xs(l,a),a.push({changes:h,generation:o.generation}),o.generation=r.generation||++o.maxGeneration;let d=ui(e,"beforeChange")||e.cm&&ui(e.cm,"beforeChange");for(let i=r.changes.length-1;i>=0;--i){let n=r.changes[i];if(n.origin=t,d&&!Rs(e,n,!1))return void(s.length=0);h.push(ms(e,n));let o=i?is(e,n):Pt(s);qs(e,n,o,ks(e,n)),!i&&e.cm&&e.cm.scrollIntoView({from:n.from,to:es(n)});let l=[];cs(e,(e,t)=>{t||-1!=Ot(l,e.history)||(Qs(e.history,n),l.push(e.history)),qs(e,n,null,ks(e,n))})}}function js(e,t){if(0!=t&&(e.first+=t,e.sel=new $l(Rt(e.sel.ranges,e=>new Zl($i(e.anchor.line+t,e.anchor.ch),$i(e.head.line+t,e.head.ch))),e.sel.primIndex),e.cm)){Ho(e.cm,e.first,e.first-t,t);for(let t=e.cm.display,i=t.viewFrom;i<t.viewTo;i++)To(e.cm,i,"gutter")}}function qs(e,t,i,n){if(e.cm&&!e.cm.curOp)return kl(e.cm,qs)(e,t,i,n);if(t.to.line<e.first)return void js(e,t.text.length-1-(t.to.line-t.from.line));if(t.from.line>e.lastLine())return;if(t.from.line<e.first){let i=t.text.length-1-(e.first-t.from.line);js(e,i),t={from:$i(e.first,0),to:$i(t.to.line+i,t.to.ch),text:[Pt(t.text)],origin:t.origin}}let r=e.lastLine();t.to.line>r&&(t={from:t.from,to:$i(r,Ri(e,r).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ui(e,t.from,t.to),i||(i=is(e,t)),e.cm?Xs(e.cm,t,n):as(e,t,n),_s(e,i,Et),e.cantEdit&&Bs(e,$i(e.firstLine(),0))&&(e.cantEdit=!1)}function Xs(e,t,i){let n=e.doc,r=e.display,o=t.from,l=t.to,s=!1,a=o.line;e.options.lineWrapping||(a=ji(Gn(Ri(n,o.line))),n.iter(a,l.line+1,e=>{if(e==r.maxLine)return s=!0,!0})),n.sel.contains(t.from,t.to)>-1&&di(e),as(n,t,i,Mo(e)),e.options.lineWrapping||(n.iter(a,o.line+t.text.length,e=>{let t=Qn(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),xn(n,o.line),Ll(e,400);let c=t.text.length-(l.line-o.line)-1;t.full?Ho(e):o.line!=l.line||1!=t.text.length||ss(e.doc,t)?Ho(e,o.line,l.line+1,c):To(e,o.line,"text");let h=ui(e,"changes"),d=ui(e,"change");if(d||h){let i={from:o,to:l,text:t.text,removed:t.removed,origin:t.origin};d&&xr(e,"change",e,i),h&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(i)}e.display.selForContextMenu=null}function Ys(e,t,i,n,r){n||(n=i),Zi(n,i)<0&&([i,n]=[n,i]),"string"==typeof t&&(t=e.splitLines(t)),Us(e,{from:i,to:n,text:t,origin:r})}function $s(e,t,i,n){i<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function Zs(e,t,i,n){for(let r=0;r<e.length;++r){let o=e[r],l=!0;if(o.ranges){o.copied||(o=e[r]=o.deepCopy(),o.copied=!0);for(let e=0;e<o.ranges.length;e++)$s(o.ranges[e].anchor,t,i,n),$s(o.ranges[e].head,t,i,n)}else{for(let e=0;e<o.changes.length;++e){let r=o.changes[e];if(i<r.from.line)r.from=$i(r.from.line+n,r.from.ch),r.to=$i(r.to.line+n,r.to.ch);else if(t<=r.to.line){l=!1;break}}l||(e.splice(0,r+1),r=0)}}}function Qs(e,t){let i=t.from.line,n=t.to.line,r=t.text.length-(n-i)-1;Zs(e.done,i,n,r),Zs(e.undone,i,n,r)}function Js(e,t,i,n){let r=t,o=t;return"number"==typeof t?o=Ri(e,nn(e,t)):r=ji(t),null==r?null:(n(o,r)&&e.cm&&To(e.cm,r,i),o)}function ea(e){this.lines=e,this.parent=null;let t=0;for(let i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}function ta(e){this.children=e;let t=0,i=0;for(let n=0;n<e.length;++n){let r=e[n];t+=r.chunkSize(),i+=r.height,r.parent=this}this.size=t,this.height=i,this.parent=null}ea.prototype={chunkSize(){return this.lines.length},removeInner(e,t){for(let i=e,n=e+t;i<n;++i){let e=this.lines[i];this.height-=e.height,ir(e),xr(e,"delete")}this.lines.splice(e,t)},collapse(e){e.push.apply(e,this.lines)},insertInner(e,t,i){this.height+=i,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(let e=0;e<t.length;++e)t[e].parent=this},iterN(e,t,i){for(let n=e+t;e<n;++e)if(i(this.lines[e]))return!0}},ta.prototype={chunkSize(){return this.size},removeInner(e,t){this.size-=t;for(let i=0;i<this.children.length;++i){let n=this.children[i],r=n.chunkSize();if(e<r){let o=Math.min(t,r-e),l=n.height;if(n.removeInner(e,o),this.height-=l-n.height,r==o&&(this.children.splice(i--,1),n.parent=null),0==(t-=o))break;e=0}else e-=r}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ea))){let e=[];this.collapse(e),this.children=[new ea(e)],this.children[0].parent=this}},collapse(e){for(let t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner(e,t,i){this.size+=t.length,this.height+=i;for(let n=0;n<this.children.length;++n){let r=this.children[n],o=r.chunkSize();if(e<=o){if(r.insertInner(e,t,i),r.lines&&r.lines.length>50){let e=r.lines.length%25+25;for(let t=e;t<r.lines.length;){let e=new ea(r.lines.slice(t,t+=25));r.height-=e.height,this.children.splice(++n,0,e),e.parent=this}r.lines=r.lines.slice(0,e),this.maybeSpill()}break}e-=o}},maybeSpill(){if(this.children.length<=10)return;let e=this;do{let t=new ta(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;let i=Ot(e.parent.children,e);e.parent.children.splice(i+1,0,t)}else{let i=new ta(e.children);i.parent=e,e.children=[i,t],e=i}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()},iterN(e,t,i){for(let n=0;n<this.children.length;++n){let r=this.children[n],o=r.chunkSize();if(e<o){let n=Math.min(t,o-e);if(r.iterN(e,n,i))return!0;if(0==(t-=n))break;e=0}else e-=o}}};class ia{constructor(e,t,i){if(i)for(let e in i)i.hasOwnProperty(e)&&(this[e]=i[e]);this.doc=e,this.node=t}clear(){let e=this.doc.cm,t=this.line.widgets,i=this.line,n=ji(i);if(null==n||!t)return;for(let e=0;e<t.length;++e)t[e]==this&&t.splice(e--,1);t.length||(i.widgets=null);let r=_r(this);Ki(i,Math.max(0,i.height-r)),e&&(Cl(e,()=>{na(e,i,-r),To(e,n,"widget")}),xr(e,"lineWidgetCleared",e,this,n))}changed(){let e=this.height,t=this.doc.cm,i=this.line;this.height=null;let n=_r(this)-e;n&&(Yn(this.doc,i)||Ki(i,i.height+n),t&&Cl(t,()=>{t.curOp.forceUpdate=!0,na(t,i,n),xr(t,"lineWidgetChanged",t,this,ji(i))}))}}function na(e,t,i){Zn(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Qo(e,i)}function ra(e,t,i,n){let r=new ia(e,i,n),o=e.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),Js(e,t,"widget",t=>{let i=t.widgets||(t.widgets=[]);if(null==r.insertAt?i.push(r):i.splice(Math.min(i.length,Math.max(0,r.insertAt)),0,r),r.line=t,o&&!Yn(e,t)){let i=Zn(t)<e.scrollTop;Ki(t,t.height+_r(r)),i&&Qo(o,r.height),o.curOp.forceUpdate=!0}return!0}),o&&xr(o,"lineWidgetAdded",o,r,"number"==typeof t?t:ji(t)),r}pi(ia);let oa=0;class la{constructor(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++oa}clear(){if(this.explicitlyCleared)return;let e=this.doc.cm,t=e&&!e.curOp;if(t&&gl(e),ui(this,"clear")){let e=this.find();e&&xr(this,"clear",e.from,e.to)}let i=null,n=null;for(let t=0;t<this.lines.length;++t){let r=this.lines[t],o=An(r.markedSpans,this);e&&!this.collapsed?To(e,ji(r),"text"):e&&(null!=o.to&&(n=ji(r)),null!=o.from&&(i=ji(r))),r.markedSpans=Ln(r.markedSpans,o),null==o.from&&this.collapsed&&!Yn(this.doc,r)&&e&&Ki(r,wo(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(let t=0;t<this.lines.length;++t){let i=Gn(this.lines[t]),n=Qn(i);n>e.display.maxLineLength&&(e.display.maxLine=i,e.display.maxLineLength=n,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&Ho(e,i,n+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Is(e.doc)),e&&xr(e,"markerCleared",e,this,i,n),t&&fl(e),this.parent&&this.parent.clear()}find(e,t){let i,n;null==e&&"bookmark"==this.type&&(e=1);for(let r=0;r<this.lines.length;++r){let o=this.lines[r],l=An(o.markedSpans,this);if(null!=l.from&&(i=$i(t?o:ji(o),l.from),-1==e))return i;if(null!=l.to&&(n=$i(t?o:ji(o),l.to),1==e))return n}return i&&{from:i,to:n}}changed(){let e=this.find(-1,!0),t=this,i=this.doc.cm;e&&i&&Cl(i,()=>{let n=e.line,r=ji(e.line),o=jr(i,r);if(o&&(to(o),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!Yn(t.doc,n)&&null!=t.height){let e=t.height;t.height=null;let i=_r(t)-e;i&&Ki(n,n.height+i)}xr(i,"markerChanged",i,this)})}attachLine(e){if(!this.lines.length&&this.doc.cm){let e=this.doc.cm.curOp;e.maybeHiddenMarkers&&-1!=Ot(e.maybeHiddenMarkers,this)||(e.maybeUnhiddenMarkers||(e.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)}detachLine(e){if(this.lines.splice(Ot(this.lines,e),1),!this.lines.length&&this.doc.cm){let e=this.doc.cm.curOp;(e.maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)}}}function sa(e,t,i,n,r){if(n&&n.shared)return ca(e,t,i,n,r);if(e.cm&&!e.cm.curOp)return kl(e.cm,sa)(e,t,i,n,r);let o=new la(e,r),l=Zi(t,i);if(n&&Ht(n,o,!1),l>0||0==l&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=zt("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Un(e,t.line,t,i,o)||t.line!=i.line&&Un(e,i.line,t,i,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");kn()}o.addToHistory&&vs(e,{from:t,to:i,origin:"markText"},e.sel,NaN);let s,a=t.line,c=e.cm;if(e.iter(a,i.line+1,n=>{c&&o.collapsed&&!c.options.lineWrapping&&Gn(n)==c.display.maxLine&&(s=!0),o.collapsed&&a!=t.line&&Ki(n,0),Sn(n,new Mn(o,a==t.line?t.ch:null,a==i.line?i.ch:null),e.cm&&e.cm.curOp),++a}),o.collapsed&&e.iter(t.line,i.line+1,t=>{Yn(e,t)&&Ki(t,0)}),o.clearOnEnter&&li(o,"beforeCursorEnter",()=>o.clear()),o.readOnly&&(Cn(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++oa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ho(c,t.line,i.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(let e=t.line;e<=i.line;e++)To(c,e,"text");o.atomic&&Is(c.doc),xr(c,"markerAdded",c,o)}return o}pi(la);class aa{constructor(e,t){this.markers=e,this.primary=t;for(let t=0;t<e.length;++t)e[t].parent=this}clear(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(let e=0;e<this.markers.length;++e)this.markers[e].clear();xr(this,"clear")}}find(e,t){return this.primary.find(e,t)}}function ca(e,t,i,n,r){(n=Ht(n)).shared=!1;let o=[sa(e,t,i,n,r)],l=o[0],s=n.widgetNode;return cs(e,e=>{s&&(n.widgetNode=s.cloneNode(!0)),o.push(sa(e,rn(e,t),rn(e,i),n,r));for(let t=0;t<e.linked.length;++t)if(e.linked[t].isParent)return;l=Pt(o)}),new aa(o,l)}function ha(e){return e.findMarks($i(e.first,0),e.clipPos($i(e.lastLine())),e=>e.parent)}function da(e,t){for(let i=0;i<t.length;i++){let n=t[i],r=n.find(),o=e.clipPos(r.from),l=e.clipPos(r.to);if(Zi(o,l)){let t=sa(e,o,l,n.primary,n.primary.type);n.markers.push(t),t.parent=n}}}function ua(e){for(let t=0;t<e.length;t++){let i=e[t],n=[i.primary.doc];cs(i.primary.doc,e=>n.push(e));for(let e=0;e<i.markers.length;e++){let t=i.markers[e];-1==Ot(n,t.doc)&&(t.parent=null,i.markers.splice(e--,1))}}}pi(aa);let pa=0,ma=function(e,t,i,n,r){if(!(this instanceof ma))return new ma(e,t,i,n,r);null==i&&(i=0),ta.call(this,[new ea([new er("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;let o=$i(i,0);this.sel=Jl(o),this.history=new ps(null),this.id=++pa,this.modeOption=t,this.lineSep=n,this.direction="rtl"==r?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),as(this,{from:o,to:o,text:e}),Ns(this,Jl(o),Et)};ma.prototype=Kt(ta.prototype,{constructor:ma,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){let i=0;for(let e=0;e<t.length;++e)i+=t[e].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){let t=Gi(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Al((function(e){let t=$i(this.first,0),i=this.first+this.size-1;Us(this,{from:t,to:$i(i,Ri(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&el(this.cm,0,0),Ns(this,Jl(t),Et)})),replaceRange:function(e,t,i,n){Ys(this,e,t=rn(this,t),i=i?rn(this,i):t,n)},getRange:function(e,t,i){let n=Ui(this,rn(this,e),rn(this,t));return!1===i?n:""===i?n.join(""):n.join(i||this.lineSeparator())},getLine:function(e){let t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Xi(this,e))return Ri(this,e)},getLineNumber:function(e){return ji(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ri(this,e)),Gn(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return rn(this,e)},getCursor:function(e){let t,i=this.sel.primary();return t=null==e||"head"==e?i.head:"anchor"==e?i.anchor:"end"==e||"to"==e||!1===e?i.to():i.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Al((function(e,t,i){Ts(this,rn(this,"number"==typeof e?$i(e,t||0):e),null,i)})),setSelection:Al((function(e,t,i){Ts(this,rn(this,e),rn(this,t||e),i)})),extendSelection:Al((function(e,t,i){Ls(this,rn(this,e),t&&rn(this,t),i)})),extendSelections:Al((function(e,t){Ss(this,ln(this,e),t)})),extendSelectionsBy:Al((function(e,t){Ss(this,ln(this,Rt(this.sel.ranges,e)),t)})),setSelections:Al((function(e,t,i){if(!e.length)return;let n=[];for(let t=0;t<e.length;t++)n[t]=new Zl(rn(this,e[t].anchor),rn(this,e[t].head||e[t].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ns(this,Ql(this.cm,n,t),i)})),addSelection:Al((function(e,t,i){let n=this.sel.ranges.slice(0);n.push(new Zl(rn(this,e),rn(this,t||e))),Ns(this,Ql(this.cm,n,n.length-1),i)})),getSelection:function(e){let t,i=this.sel.ranges;for(let e=0;e<i.length;e++){let n=Ui(this,i[e].from(),i[e].to());t=t?t.concat(n):n}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){let t=[],i=this.sel.ranges;for(let n=0;n<i.length;n++){let r=Ui(this,i[n].from(),i[n].to());!1!==e&&(r=r.join(e||this.lineSeparator())),t[n]=r}return t},replaceSelection:function(e,t,i){let n=[];for(let t=0;t<this.sel.ranges.length;t++)n[t]=e;this.replaceSelections(n,t,i||"+input")},replaceSelections:Al((function(e,t,i){let n=[],r=this.sel;for(let t=0;t<r.ranges.length;t++){let o=r.ranges[t];n[t]={from:o.from(),to:o.to(),text:this.splitLines(e[t]),origin:i}}let o=t&&"end"!=t&&rs(this,n,t);for(let e=n.length-1;e>=0;e--)Us(this,n[e]);o?Os(this,o):this.cm&&Jo(this.cm)})),undo:Al((function(){Ks(this,"undo")})),redo:Al((function(){Ks(this,"redo")})),undoSelection:Al((function(){Ks(this,"undo",!0)})),redoSelection:Al((function(){Ks(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){let e=this.history,t=0,i=0;for(let i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(let t=0;t<e.undone.length;t++)e.undone[t].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){this.history=new ps(this.history),cs(this,e=>e.history=this.history,!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ms(this.history.done),undone:Ms(this.history.undone)}},setHistory:function(e){let t=this.history=new ps(this.history);t.done=Ms(e.done.slice(0),null,!0),t.undone=Ms(e.undone.slice(0),null,!0)},setGutterMarker:Al((function(e,t,i){return Js(this,e,"gutter",e=>{let n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=i,!i&&Yt(n)&&(e.gutterMarkers=null),!0})})),clearGutter:Al((function(e){this.iter(t=>{t.gutterMarkers&&t.gutterMarkers[e]&&Js(this,t,"gutter",()=>(t.gutterMarkers[e]=null,Yt(t.gutterMarkers)&&(t.gutterMarkers=null),!0))})})),lineInfo:function(e){let t;if("number"==typeof e){if(!Xi(this,e))return null;if(t=e,!(e=Ri(this,e)))return null}else if(t=ji(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Al((function(e,t,i){return Js(this,e,"gutter"==t?"gutter":"class",e=>{let n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(ft(i).test(e[n]))return!1;e[n]+=" "+i}else e[n]=i;return!0})})),removeLineClass:Al((function(e,t,i){return Js(this,e,"gutter"==t?"gutter":"class",e=>{let n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",r=e[n];if(!r)return!1;if(null==i)e[n]=null;else{let t=r.match(ft(i));if(!t)return!1;let o=t.index+t[0].length;e[n]=r.slice(0,t.index)+(t.index&&o!=r.length?" ":"")+r.slice(o)||null}return!0})})),addLineWidget:Al((function(e,t,i){return ra(this,e,t,i)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return sa(this,rn(this,e),rn(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){let i={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return sa(this,e=rn(this,e),e,i,"bookmark")},findMarksAt:function(e){let t=[],i=Ri(this,(e=rn(this,e)).line).markedSpans;if(i)for(let n=0;n<i.length;++n){let r=i[n];(null==r.from||r.from<=e.ch)&&(null==r.to||r.to>=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,i){e=rn(this,e),t=rn(this,t);let n=[],r=e.line;return this.iter(e.line,t.line+1,o=>{let l=o.markedSpans;if(l)for(let o=0;o<l.length;o++){let s=l[o];null!=s.to&&r==e.line&&e.ch>=s.to||null==s.from&&r!=e.line||null!=s.from&&r==t.line&&s.from>=t.ch||i&&!i(s.marker)||n.push(s.marker.parent||s.marker)}++r}),n},getAllMarks:function(){let e=[];return this.iter(t=>{let i=t.markedSpans;if(i)for(let t=0;t<i.length;++t)null!=i[t].from&&e.push(i[t].marker)}),e},posFromIndex:function(e){let t,i=this.first,n=this.lineSeparator().length;return this.iter(r=>{let o=r.text.length+n;if(o>e)return t=e,!0;e-=o,++i}),rn(this,$i(i,t))},indexFromPos:function(e){let t=(e=rn(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;let i=this.lineSeparator().length;return this.iter(this.first,e.line,e=>{t+=e.text.length+i}),t},copy:function(e){let t=new ma(Gi(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});let t=this.first,i=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<i&&(i=e.to);let n=new ma(Gi(this,t,i),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],da(n,ha(this)),n},unlinkDoc:function(e){if(e instanceof Mc&&(e=e.doc),this.linked)for(let t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),ua(ha(this));break}}if(e.history==this.history){let t=[e.id];cs(e,e=>t.push(e.id),!0),e.history=new ps(null),e.history.done=Ms(this.history.done,t),e.history.undone=Ms(this.history.undone,t)}},iterLinkedDocs:function(e){cs(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Mi(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Al((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(e=>e.order=null),this.cm&&us(this.cm))}))}),ma.prototype.eachLine=ma.prototype.iter;let ga=0;function fa(e){let t=this;if(ba(t),hi(t,e)||Er(t.display,e))return;mi(e),Qe&&(ga=+new Date);let i=Lo(t,e,!0),n=e.dataTransfer.files;if(i&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File){let e=n.length,r=Array(e),o=0;const l=()=>{++o==e&&kl(t,()=>{i=rn(t.doc,i);let e={from:i,to:i,text:t.doc.splitLines(r.filter(e=>null!=e).join(t.doc.lineSeparator())),origin:"paste"};Us(t.doc,e),Os(t.doc,Jl(rn(t.doc,i),rn(t.doc,es(e))))})()},s=(e,i)=>{if(t.options.allowDropFileTypes&&-1==Ot(t.options.allowDropFileTypes,e.type))return void l();let n=new FileReader;n.onerror=()=>l(),n.onload=()=>{let e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(r[i]=e),l()},n.readAsText(e)};for(let e=0;e<n.length;e++)s(n[e],e)}else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1)return t.state.draggingText(e),void setTimeout(()=>t.display.input.focus(),20);try{let n=e.dataTransfer.getData("Text");if(n){let e;if(t.state.draggingText&&!t.state.draggingText.copy&&(e=t.listSelections()),_s(t.doc,Jl(i,i)),e)for(let i=0;i<e.length;++i)Ys(t.doc,"",e[i].anchor,e[i].head,"drag");t.replaceSelection(n,"around","paste"),t.display.input.focus()}}catch(e){}}}function va(e,t){if(Qe&&(!e.state.draggingText||+new Date-ga<100))vi(t);else if(!hi(e,t)&&!Er(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!rt)){let i=wt("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",nt&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),nt&&i.parentNode.removeChild(i)}}function ya(e,t){let i=Lo(e,t);if(!i)return;let n=document.createDocumentFragment();Do(e,i,n),e.display.dragCursor||(e.display.dragCursor=wt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),xt(e.display.dragCursor,n)}function ba(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function xa(e){if(!document.getElementsByClassName)return;let t=document.getElementsByClassName("CodeMirror"),i=[];for(let e=0;e<t.length;e++){let n=t[e].CodeMirror;n&&i.push(n)}i.length&&i[0].operation(()=>{for(let t=0;t<i.length;t++)e(i[t])})}let wa=!1;function za(){wa||(Ca(),wa=!0)}function Ca(){let e;li(window,"resize",()=>{null==e&&(e=setTimeout(()=>{e=null,xa(ka)},100))}),li(window,"blur",()=>xa(Go))}function ka(e){let t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}let Ma={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};for(let e=0;e<10;e++)Ma[e+48]=Ma[e+96]=String(e);for(let e=65;e<=90;e++)Ma[e]=String.fromCharCode(e);for(let e=1;e<=12;e++)Ma[e+111]=Ma[e+63235]="F"+e;let Aa={};function La(e){let t,i,n,r,o=e.split(/-(?!$)/);e=o[o.length-1];for(let e=0;e<o.length-1;e++){let l=o[e];if(/^(cmd|meta|m)$/i.test(l))r=!0;else if(/^a(lt)?$/i.test(l))t=!0;else if(/^(c|ctrl|control)$/i.test(l))i=!0;else{if(!/^s(hift)?$/i.test(l))throw new Error("Unrecognized modifier name: "+l);n=!0}}return t&&(e="Alt-"+e),i&&(e="Ctrl-"+e),r&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Sa(e){let t={};for(let i in e)if(e.hasOwnProperty(i)){let n=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if("..."==n){delete e[i];continue}let r=Rt(i.split(" "),La);for(let e=0;e<r.length;e++){let i,o;e==r.length-1?(o=r.join(" "),i=n):(o=r.slice(0,e+1).join(" "),i="...");let l=t[o];if(l){if(l!=i)throw new Error("Inconsistent bindings for "+o)}else t[o]=i}delete e[i]}for(let i in t)e[i]=t[i];return e}function Ha(e,t,i,n){let r=(t=Na(t)).call?t.call(e,n):t[e];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&i(r))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Ha(e,t.fallthrough,i,n);for(let r=0;r<t.fallthrough.length;r++){let o=Ha(e,t.fallthrough[r],i,n);if(o)return o}}}function Ta(e){let t="string"==typeof e?e:Ma[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Va(e,t,i){let n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(mt?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(mt?t.ctrlKey:t.metaKey)&&"Mod"!=n&&(e="Cmd-"+e),!i&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Oa(e,t){if(nt&&34==e.keyCode&&e.char)return!1;let i=Ma[e.keyCode];return null!=i&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(i=e.code),Va(i,e,t))}function Na(e){return"string"==typeof e?Aa[e]:e}function _a(e,t){let i=e.doc.sel.ranges,n=[];for(let e=0;e<i.length;e++){let r=t(i[e]);for(;n.length&&Zi(r.from,Pt(n).to)<=0;){let e=n.pop();if(Zi(e.from,r.from)<0){r.from=e.from;break}}n.push(r)}Cl(e,()=>{for(let t=n.length-1;t>=0;t--)Ys(e.doc,"",n[t].from,n[t].to,"+delete");Jo(e)})}function Ea(e,t,i){let n=Qt(e.text,t+i,i);return n<0||n>e.text.length?null:n}function Ia(e,t,i){let n=Ea(e,t.ch,i);return null==n?null:new $i(t.line,n,i<0?"after":"before")}function Da(e,t,i,n,r){if(e){"rtl"==t.doc.direction&&(r=-r);let e=ri(i,t.doc.direction);if(e){let o,l=r<0?Pt(e):e[0],s=r<0==(1==l.level)?"after":"before";if(l.level>0||"rtl"==t.doc.direction){let e=qr(t,i);o=r<0?i.text.length-1:0;let n=Xr(t,e,o).top;o=Jt(i=>Xr(t,e,i).top==n,r<0==(1==l.level)?l.from:l.to-1,o),"before"==s&&(o=Ea(i,o,1))}else o=r<0?l.to:l.from;return new $i(n,o,s)}}return new $i(n,r<0?i.text.length:0,r<0?"before":"after")}function Wa(e,t,i,n){let r=ri(t,e.doc.direction);if(!r)return Ia(t,i,n);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");let o=ii(r,i.ch,i.sticky),l=r[o];if("ltr"==e.doc.direction&&l.level%2==0&&(n>0?l.to>i.ch:l.from<i.ch))return Ia(t,i,n);let s,a=(e,i)=>Ea(t,e instanceof $i?e.ch:e,i),c=i=>e.options.lineWrapping?(s=s||qr(e,t),fo(e,t,s,i)):{begin:0,end:t.text.length},h=c("before"==i.sticky?a(i,-1):i.ch);if("rtl"==e.doc.direction||1==l.level){let e=1==l.level==n<0,t=a(i,e?1:-1);if(null!=t&&(e?t<=l.to&&t<=h.end:t>=l.from&&t>=h.begin)){let n=e?"before":"after";return new $i(i.line,t,n)}}let d=(e,t,n)=>{let o=(e,t)=>t?new $i(i.line,a(e,1),"before"):new $i(i.line,e,"after");for(;e>=0&&e<r.length;e+=t){let i=r[e],l=t>0==(1!=i.level),s=l?n.begin:a(n.end,-1);if(i.from<=s&&s<i.to)return o(s,l);if(s=l?i.from:a(i.to,-1),n.begin<=s&&s<n.end)return o(s,l)}},u=d(o+n,n,h);if(u)return u;let p=n>0?h.end:a(h.begin,-1);return null==p||n>0&&p==t.text.length||(u=d(n>0?0:r.length-1,n,c(p)),!u)?null:u}Aa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Aa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Aa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Aa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Aa.default=ht?Aa.macDefault:Aa.pcDefault;let Ba={selectAll:Ps,singleSelection:e=>e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Et),killLine:e=>_a(e,t=>{if(t.empty()){let i=Ri(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:$i(t.head.line+1,0)}:{from:t.head,to:$i(t.head.line,i)}}return{from:t.from(),to:t.to()}}),deleteLine:e=>_a(e,t=>({from:$i(t.from().line,0),to:rn(e.doc,$i(t.to().line+1,0))})),delLineLeft:e=>_a(e,e=>({from:$i(e.from().line,0),to:e.from()})),delWrappedLineLeft:e=>_a(e,t=>{let i=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:i},"div"),to:t.from()}}),delWrappedLineRight:e=>_a(e,t=>{let i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div");return{from:t.from(),to:n}}),undo:e=>e.undo(),redo:e=>e.redo(),undoSelection:e=>e.undoSelection(),redoSelection:e=>e.redoSelection(),goDocStart:e=>e.extendSelection($i(e.firstLine(),0)),goDocEnd:e=>e.extendSelection($i(e.lastLine())),goLineStart:e=>e.extendSelectionsBy(t=>Fa(e,t.head.line),{origin:"+move",bias:1}),goLineStartSmart:e=>e.extendSelectionsBy(t=>Ra(e,t.head),{origin:"+move",bias:1}),goLineEnd:e=>e.extendSelectionsBy(t=>Pa(e,t.head.line),{origin:"+move",bias:-1}),goLineRight:e=>e.extendSelectionsBy(t=>{let i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},Dt),goLineLeft:e=>e.extendSelectionsBy(t=>{let i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},Dt),goLineLeftSmart:e=>e.extendSelectionsBy(t=>{let i=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return n.ch<e.getLine(n.line).search(/\S/)?Ra(e,t.head):n},Dt),goLineUp:e=>e.moveV(-1,"line"),goLineDown:e=>e.moveV(1,"line"),goPageUp:e=>e.moveV(-1,"page"),goPageDown:e=>e.moveV(1,"page"),goCharLeft:e=>e.moveH(-1,"char"),goCharRight:e=>e.moveH(1,"char"),goColumnLeft:e=>e.moveH(-1,"column"),goColumnRight:e=>e.moveH(1,"column"),goWordLeft:e=>e.moveH(-1,"word"),goGroupRight:e=>e.moveH(1,"group"),goGroupLeft:e=>e.moveH(-1,"group"),goWordRight:e=>e.moveH(1,"word"),delCharBefore:e=>e.deleteH(-1,"codepoint"),delCharAfter:e=>e.deleteH(1,"char"),delWordBefore:e=>e.deleteH(-1,"word"),delWordAfter:e=>e.deleteH(1,"word"),delGroupBefore:e=>e.deleteH(-1,"group"),delGroupAfter:e=>e.deleteH(1,"group"),indentAuto:e=>e.indentSelection("smart"),indentMore:e=>e.indentSelection("add"),indentLess:e=>e.indentSelection("subtract"),insertTab:e=>e.replaceSelection("\t"),insertSoftTab:e=>{let t=[],i=e.listSelections(),n=e.options.tabSize;for(let r=0;r<i.length;r++){let o=i[r].from(),l=Tt(e.getLine(o.line),o.ch,n);t.push(Ft(n-l%n))}e.replaceSelections(t)},defaultTab:e=>{e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:e=>Cl(e,()=>{let t=e.listSelections(),i=[];for(let n=0;n<t.length;n++){if(!t[n].empty())continue;let r=t[n].head,o=Ri(e.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new $i(r.line,r.ch-1)),r.ch>0)r=new $i(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),$i(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){let t=Ri(e.doc,r.line-1).text;t&&(r=new $i(r.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+t.charAt(t.length-1),$i(r.line-1,t.length-1),r,"+transpose"))}i.push(new Zl(r,r))}e.setSelections(i)}),newlineAndIndent:e=>Cl(e,()=>{let t=e.listSelections();for(let i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(let i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Jo(e)}),openLine:e=>e.replaceSelection("\n","start"),toggleOverwrite:e=>e.toggleOverwrite()};function Fa(e,t){let i=Ri(e.doc,t),n=Gn(i);return n!=i&&(t=ji(n)),Da(!0,e,n,t,1)}function Pa(e,t){let i=Ri(e.doc,t),n=Kn(i);return n!=i&&(t=ji(n)),Da(!0,e,i,t,-1)}function Ra(e,t){let i=Fa(e,t.line),n=Ri(e.doc,i.line),r=ri(n,e.doc.direction);if(!r||0==r[0].level){let e=Math.max(i.ch,n.text.search(/\S/)),r=t.line==i.line&&t.ch<=e&&t.ch;return $i(i.line,r?0:e,i.sticky)}return i}function Ua(e,t,i){if("string"==typeof t&&!(t=Ba[t]))return!1;e.display.input.ensurePolled();let n=e.display.shift,r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),r=t(e)!=_t}finally{e.display.shift=n,e.state.suppressEdits=!1}return r}function Ga(e,t,i){for(let n=0;n<e.state.keyMaps.length;n++){let r=Ha(t,e.state.keyMaps[n],i,e);if(r)return r}return e.options.extraKeys&&Ha(t,e.options.extraKeys,i,e)||Ha(t,e.options.keyMap,i,e)}let Ka=new Vt;function ja(e,t,i,n){let r=e.state.keySeq;if(r){if(Ta(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:Ka.set(50,()=>{e.state.keySeq==r&&(e.state.keySeq=null,e.display.input.reset())}),qa(e,r+" "+t,i,n))return!0}return qa(e,t,i,n)}function qa(e,t,i,n){let r=Ga(e,t,n);return"multi"==r&&(e.state.keySeq=t),"handled"==r&&xr(e,"keyHandled",e,t,i),"handled"!=r&&"multi"!=r||(mi(i),Fo(e)),!!r}function Xa(e,t){let i=Oa(t,!0);return!!i&&(t.shiftKey&&!e.state.keySeq?ja(e,"Shift-"+i,t,t=>Ua(e,t,!0))||ja(e,i,t,t=>{if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return Ua(e,t)}):ja(e,i,t,t=>Ua(e,t)))}function Ya(e,t,i){return ja(e,"'"+i+"'",t,t=>Ua(e,t,!0))}let $a=null;function Za(e){let t=this;if(e.target&&e.target!=t.display.input.getField())return;if(t.curOp.focus=kt(),hi(t,e))return;Qe&&Je<11&&27==e.keyCode&&(e.returnValue=!1);let i=e.keyCode;t.display.shift=16==i||e.shiftKey;let n=Xa(t,e);nt&&($a=n?i:null,n||88!=i||Li||!(ht?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),Xe&&!ht&&!n&&46==i&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=i||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||Qa(t)}function Qa(e){let t=e.display.lineDiv;function i(e){18!=e.keyCode&&e.altKey||(yt(t,"CodeMirror-crosshair"),ai(document,"keyup",i),ai(document,"mouseover",i))}Mt(t,"CodeMirror-crosshair"),li(document,"keyup",i),li(document,"mouseover",i)}function Ja(e){16==e.keyCode&&(this.doc.sel.shift=!1),hi(this,e)}function ec(e){let t=this;if(e.target&&e.target!=t.display.input.getField())return;if(Er(t.display,e)||hi(t,e)||e.ctrlKey&&!e.altKey||ht&&e.metaKey)return;let i=e.keyCode,n=e.charCode;if(nt&&i==$a)return $a=null,void mi(e);if(nt&&(!e.which||e.which<10)&&Xa(t,e))return;let r=String.fromCharCode(null==n?i:n);"\b"!=r&&(Ya(t,e,r)||t.display.input.onKeyPress(e))}const tc=400;class ic{constructor(e,t,i){this.time=e,this.pos=t,this.button=i}compare(e,t,i){return this.time+tc>e&&0==Zi(t,this.pos)&&i==this.button}}let nc,rc;function oc(e,t){let i=+new Date;return rc&&rc.compare(i,e,t)?(nc=rc=null,"triple"):nc&&nc.compare(i,e,t)?(rc=new ic(i,e,t),nc=null,"double"):(nc=new ic(i,e,t),rc=null,"single")}function lc(e){let t=this,i=t.display;if(hi(t,e)||i.activeTouch&&i.input.supportsTouch())return;if(i.input.ensurePolled(),i.shift=e.shiftKey,Er(i,e))return void(et||(i.scroller.draggable=!1,setTimeout(()=>i.scroller.draggable=!0,100)));if(gc(t,e))return;let n=Lo(t,e),r=bi(e),o=n?oc(n,r):"single";window.focus(),1==r&&t.state.selectingText&&t.state.selectingText(e),n&&sc(t,r,n,o,e)||(1==r?n?cc(t,n,o,e):yi(e)==i.scroller&&mi(e):2==r?(n&&Ls(t.doc,n),setTimeout(()=>i.input.focus(),20)):3==r&&(gt?t.display.input.onContextMenu(e):Ro(t)))}function sc(e,t,i,n,r){let o="Click";return"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,ja(e,Va(o,r),r,t=>{if("string"==typeof t&&(t=Ba[t]),!t)return!1;let n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,i)!=_t}finally{e.state.suppressEdits=!1}return n})}function ac(e,t,i){let n=e.getOption("configureMouse"),r=n?n(e,t,i):{};if(null==r.unit){let e=dt?i.shiftKey&&i.metaKey:i.altKey;r.unit=e?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==r.extend||e.doc.extend)&&(r.extend=e.doc.extend||i.shiftKey),null==r.addNew&&(r.addNew=ht?i.metaKey:i.ctrlKey),null==r.moveOnDrag&&(r.moveOnDrag=!(ht?i.altKey:i.ctrlKey)),r}function cc(e,t,i,n){Qe?setTimeout(St(Po,e),0):e.curOp.focus=kt();let r,o=ac(e,i,n),l=e.doc.sel;e.options.dragDrop&&zi&&!e.isReadOnly()&&"single"==i&&(r=l.contains(t))>-1&&(Zi((r=l.ranges[r]).from(),t)<0||t.xRel>0)&&(Zi(r.to(),t)>0||t.xRel<0)?hc(e,n,t,o):uc(e,n,t,o)}function hc(e,t,i,n){let r=e.display,o=!1,l=kl(e,t=>{et&&(r.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Ro(e)),ai(r.wrapper.ownerDocument,"mouseup",l),ai(r.wrapper.ownerDocument,"mousemove",s),ai(r.scroller,"dragstart",a),ai(r.scroller,"drop",l),o||(mi(t),n.addNew||Ls(e.doc,i,null,null,n.extend),et&&!rt||Qe&&9==Je?setTimeout(()=>{r.wrapper.ownerDocument.body.focus({preventScroll:!0}),r.input.focus()},20):r.input.focus())}),s=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},a=()=>o=!0;et&&(r.scroller.draggable=!0),e.state.draggingText=l,l.copy=!n.moveOnDrag,li(r.wrapper.ownerDocument,"mouseup",l),li(r.wrapper.ownerDocument,"mousemove",s),li(r.scroller,"dragstart",a),li(r.scroller,"drop",l),e.state.delayingBlurEvent=!0,setTimeout(()=>r.input.focus(),20),r.scroller.dragDrop&&r.scroller.dragDrop()}function dc(e,t,i){if("char"==i)return new Zl(t,t);if("word"==i)return e.findWordAt(t);if("line"==i)return new Zl($i(t.line,0),rn(e.doc,$i(t.line+1,0)));let n=i(e,t);return new Zl(n.from,n.to)}function uc(e,t,i,n){Qe&&Ro(e);let r=e.display,o=e.doc;mi(t);let l,s,a=o.sel,c=a.ranges;if(n.addNew&&!n.extend?(s=o.sel.contains(i),l=s>-1?c[s]:new Zl(i,i)):(l=o.sel.primary(),s=o.sel.primIndex),"rectangle"==n.unit)n.addNew||(l=new Zl(i,i)),i=Lo(e,t,!0,!0),s=-1;else{let t=dc(e,i,n.unit);l=n.extend?As(l,t.anchor,t.head,n.extend):t}n.addNew?-1==s?(s=c.length,Ns(o,Ql(e,c.concat([l]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==n.unit&&!n.extend?(Ns(o,Ql(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),a=o.sel):Hs(o,s,l,It):(s=0,Ns(o,new $l([l],0),It),a=o.sel);let h=i;function d(t){if(0!=Zi(h,t))if(h=t,"rectangle"==n.unit){let n=[],r=e.options.tabSize,l=Tt(Ri(o,i.line).text,i.ch,r),c=Tt(Ri(o,t.line).text,t.ch,r),h=Math.min(l,c),d=Math.max(l,c);for(let l=Math.min(i.line,t.line),s=Math.min(e.lastLine(),Math.max(i.line,t.line));l<=s;l++){let e=Ri(o,l).text,t=Wt(e,h,r);h==d?n.push(new Zl($i(l,t),$i(l,t))):e.length>t&&n.push(new Zl($i(l,t),$i(l,Wt(e,d,r))))}n.length||n.push(new Zl(i,i)),Ns(o,Ql(e,a.ranges.slice(0,s).concat(n),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{let i,r=l,c=dc(e,t,n.unit),h=r.anchor;Zi(c.anchor,h)>0?(i=c.head,h=tn(r.from(),c.anchor)):(i=c.anchor,h=en(r.to(),c.head));let d=a.ranges.slice(0);d[s]=pc(e,new Zl(rn(o,h),i)),Ns(o,Ql(e,d,s),It)}}let u=r.wrapper.getBoundingClientRect(),p=0;function m(t){let i=++p,l=Lo(e,t,!0,"rectangle"==n.unit);if(l)if(0!=Zi(l,h)){e.curOp.focus=kt(),d(l);let n=qo(r,o);(l.line>=n.to||l.line<n.from)&&setTimeout(kl(e,()=>{p==i&&m(t)}),150)}else{let n=t.clientY<u.top?-20:t.clientY>u.bottom?20:0;n&&setTimeout(kl(e,()=>{p==i&&(r.scroller.scrollTop+=n,m(t))}),50)}}function g(t){e.state.selectingText=!1,p=1/0,t&&(mi(t),r.input.focus()),ai(r.wrapper.ownerDocument,"mousemove",f),ai(r.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null}let f=kl(e,e=>{0!==e.buttons&&bi(e)?m(e):g(e)}),v=kl(e,g);e.state.selectingText=v,li(r.wrapper.ownerDocument,"mousemove",f),li(r.wrapper.ownerDocument,"mouseup",v)}function pc(e,t){let{anchor:i,head:n}=t,r=Ri(e.doc,i.line);if(0==Zi(i,n)&&i.sticky==n.sticky)return t;let o=ri(r);if(!o)return t;let l=ii(o,i.ch,i.sticky),s=o[l];if(s.from!=i.ch&&s.to!=i.ch)return t;let a,c=l+(s.from==i.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(n.line!=i.line)a=(n.line-i.line)*("ltr"==e.doc.direction?1:-1)>0;else{let e=ii(o,n.ch,n.sticky),t=e-l||(n.ch-i.ch)*(1==s.level?-1:1);a=e==c-1||e==c?t<0:t>0}let h=o[c+(a?-1:0)],d=a==(1==h.level),u=d?h.from:h.to,p=d?"after":"before";return i.ch==u&&i.sticky==p?t:new Zl(new $i(i.line,u,p),n)}function mc(e,t,i,n){let r,o;if(t.touches)r=t.touches[0].clientX,o=t.touches[0].clientY;else try{r=t.clientX,o=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&mi(t);let l=e.display,s=l.lineDiv.getBoundingClientRect();if(o>s.bottom||!ui(e,i))return fi(t);o-=s.top-l.viewOffset;for(let n=0;n<e.display.gutterSpecs.length;++n){let s=l.gutters.childNodes[n];if(s&&s.getBoundingClientRect().right>=r){return ci(e,i,e,qi(e.doc,o),e.display.gutterSpecs[n].className,t),fi(t)}}}function gc(e,t){return mc(e,t,"gutterClick",!0)}function fc(e,t){Er(e.display,t)||vc(e,t)||hi(e,t,"contextmenu")||gt||e.display.input.onContextMenu(t)}function vc(e,t){return!!ui(e,"gutterContextMenu")&&mc(e,t,"gutterContextMenu",!1)}function yc(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),no(e)}let bc={toString:function(){return"CodeMirror.Init"}},xc={},wc={};function zc(e){let t=e.optionHandlers;function i(i,n,r,o){e.defaults[i]=n,r&&(t[i]=o?(e,t,i)=>{i!=bc&&r(e,t,i)}:r)}e.defineOption=i,e.Init=bc,i("value","",(e,t)=>e.setValue(t),!0),i("mode",null,(e,t)=>{e.doc.modeOption=t,os(e)},!0),i("indentUnit",2,os,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,e=>{ls(e),no(e),Ho(e)},!0),i("lineSeparator",null,(e,t)=>{if(e.doc.lineSep=t,!t)return;let i=[],n=e.doc.first;e.doc.iter(e=>{for(let r=0;;){let o=e.text.indexOf(t,r);if(-1==o)break;r=o+t.length,i.push($i(n,o))}n++});for(let n=i.length-1;n>=0;n--)Ys(e.doc,t,i[n],$i(i[n].line,i[n].ch+t.length))}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(e,t,i)=>{e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),i!=bc&&e.refresh()}),i("specialCharPlaceholder",sr,e=>e.refresh(),!0),i("electricChars",!0),i("inputStyle",ct?"contenteditable":"textarea",()=>{throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,(e,t)=>e.getInputField().spellcheck=t,!0),i("autocorrect",!1,(e,t)=>e.getInputField().autocorrect=t,!0),i("autocapitalize",!1,(e,t)=>e.getInputField().autocapitalize=t,!0),i("rtlMoveVisually",!ut),i("wholeLineUpdateBefore",!0),i("theme","default",e=>{yc(e),Ul(e)},!0),i("keyMap","default",(e,t,i)=>{let n=Na(t),r=i!=bc&&Na(i);r&&r.detach&&r.detach(e,n),n.attach&&n.attach(e,r||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,kc,!0),i("gutters",[],(e,t)=>{e.display.gutterSpecs=Pl(t,e.options.lineNumbers),Ul(e)},!0),i("fixedGutter",!0,(e,t)=>{e.display.gutters.style.left=t?ko(e.display)+"px":"0",e.refresh()},!0),i("coverGutterNextToScrollbar",!1,e=>hl(e),!0),i("scrollbarStyle","native",e=>{pl(e),hl(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),i("lineNumbers",!1,(e,t)=>{e.display.gutterSpecs=Pl(e.options.gutters,t),Ul(e)},!0),i("firstLineNumber",1,Ul,!0),i("lineNumberFormatter",e=>e,Ul,!0),i("showCursorWhenSelecting",!1,Eo,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,(e,t)=>{"nocursor"==t&&(Go(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),i("screenReaderLabel",null,(e,t)=>{t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)}),i("disableInput",!1,(e,t)=>{t||e.display.input.reset()},!0),i("dragDrop",!0,Cc),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,Eo,!0),i("singleCursorHeightPerLine",!0,Eo,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,ls,!0),i("addModeClass",!1,ls,!0),i("pollInterval",100),i("undoDepth",200,(e,t)=>e.doc.history.undoDepth=t),i("historyEventDelay",1250),i("viewportMargin",10,e=>e.refresh(),!0),i("maxHighlightLength",1e4,ls,!0),i("moveInputWithCursor",!0,(e,t)=>{t||e.display.input.resetPosition()}),i("tabindex",null,(e,t)=>e.display.input.getField().tabIndex=t||""),i("autofocus",null),i("direction","ltr",(e,t)=>e.doc.setDirection(t),!0),i("phrases",null)}function Cc(e,t,i){if(!t!=!(i&&i!=bc)){let i=e.display.dragFunctions,n=t?li:ai;n(e.display.scroller,"dragstart",i.start),n(e.display.scroller,"dragenter",i.enter),n(e.display.scroller,"dragover",i.over),n(e.display.scroller,"dragleave",i.leave),n(e.display.scroller,"drop",i.drop)}}function kc(e){e.options.lineWrapping?(Mt(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(yt(e.display.wrapper,"CodeMirror-wrap"),Jn(e)),Ao(e),Ho(e),no(e),setTimeout(()=>hl(e),100)}function Mc(e,t){if(!(this instanceof Mc))return new Mc(e,t);this.options=t=t?Ht(t):{},Ht(xc,t,!1);let i=t.value;"string"==typeof i?i=new ma(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;let n=new Mc.inputStyles[t.inputStyle](this),r=this.display=new Gl(e,i,n,t);r.wrapper.CodeMirror=this,yc(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),pl(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Vt,keySeq:null,specialChars:null},t.autofocus&&!ct&&r.input.focus(),Qe&&Je<11&&setTimeout(()=>this.display.input.reset(!0),20),Ac(this),za(),gl(this),this.curOp.forceUpdate=!0,hs(this,i),t.autofocus&&!ct||this.hasFocus()?setTimeout(()=>{this.hasFocus()&&!this.state.focused&&Uo(this)},20):Go(this);for(let e in wc)wc.hasOwnProperty(e)&&wc[e](this,t[e],bc);Fl(this),t.finishInit&&t.finishInit(this);for(let e=0;e<Lc.length;++e)Lc[e](this);fl(this),et&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(r.lineDiv).textRendering&&(r.lineDiv.style.textRendering="auto")}function Ac(e){let t=e.display;li(t.scroller,"mousedown",kl(e,lc)),li(t.scroller,"dblclick",Qe&&Je<11?kl(e,t=>{if(hi(e,t))return;let i=Lo(e,t);if(!i||gc(e,t)||Er(e.display,t))return;mi(t);let n=e.findWordAt(i);Ls(e.doc,n.anchor,n.head)}):t=>hi(e,t)||mi(t)),li(t.scroller,"contextmenu",t=>fc(e,t)),li(t.input.getField(),"contextmenu",i=>{t.scroller.contains(i.target)||fc(e,i)});let i,n={end:0};function r(){t.activeTouch&&(i=setTimeout(()=>t.activeTouch=null,1e3),n=t.activeTouch,n.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;let t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;let i=t.left-e.left,n=t.top-e.top;return i*i+n*n>400}li(t.scroller,"touchstart",r=>{if(!hi(e,r)&&!o(r)&&!gc(e,r)){t.input.ensurePolled(),clearTimeout(i);let e=+new Date;t.activeTouch={start:e,moved:!1,prev:e-n.end<=300?n:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}}),li(t.scroller,"touchmove",()=>{t.activeTouch&&(t.activeTouch.moved=!0)}),li(t.scroller,"touchend",i=>{let n=t.activeTouch;if(n&&!Er(t,i)&&null!=n.left&&!n.moved&&new Date-n.start<300){let r,o=e.coordsChar(t.activeTouch,"page");r=!n.prev||l(n,n.prev)?new Zl(o,o):!n.prev.prev||l(n,n.prev.prev)?e.findWordAt(o):new Zl($i(o.line,0),rn(e.doc,$i(o.line+1,0))),e.setSelection(r.anchor,r.head),e.focus(),mi(i)}r()}),li(t.scroller,"touchcancel",r),li(t.scroller,"scroll",()=>{t.scroller.clientHeight&&(rl(e,t.scroller.scrollTop),ll(e,t.scroller.scrollLeft,!0),ci(e,"scroll",e))}),li(t.scroller,"mousewheel",t=>Yl(e,t)),li(t.scroller,"DOMMouseScroll",t=>Yl(e,t)),li(t.wrapper,"scroll",()=>t.wrapper.scrollTop=t.wrapper.scrollLeft=0),t.dragFunctions={enter:t=>{hi(e,t)||vi(t)},over:t=>{hi(e,t)||(ya(e,t),vi(t))},start:t=>va(e,t),drop:kl(e,fa),leave:t=>{hi(e,t)||ba(e)}};let s=t.input.getField();li(s,"keyup",t=>Ja.call(e,t)),li(s,"keydown",kl(e,Za)),li(s,"keypress",kl(e,ec)),li(s,"focus",t=>Uo(e,t)),li(s,"blur",t=>Go(e,t))}Mc.defaults=xc,Mc.optionHandlers=wc;let Lc=[];function Sc(e,t,i,n){let r,o=e.doc;null==i&&(i="add"),"smart"==i&&(o.mode.indent?r=dn(e,t).state:i="prev");let l=e.options.tabSize,s=Ri(o,t),a=Tt(s.text,null,l);s.stateAfter&&(s.stateAfter=null);let c,h=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==i&&(c=o.mode.indent(r,s.text.slice(h.length),s.text),c==_t||c>150)){if(!n)return;i="prev"}}else c=0,i="not";"prev"==i?c=t>o.first?Tt(Ri(o,t-1).text,null,l):0:"add"==i?c=a+e.options.indentUnit:"subtract"==i?c=a-e.options.indentUnit:"number"==typeof i&&(c=a+i),c=Math.max(0,c);let d="",u=0;if(e.options.indentWithTabs)for(let e=Math.floor(c/l);e;--e)u+=l,d+="\t";if(u<c&&(d+=Ft(c-u)),d!=h)return Ys(o,d,$i(t,0),$i(t,h.length),"+input"),s.stateAfter=null,!0;for(let e=0;e<o.sel.ranges.length;e++){let i=o.sel.ranges[e];if(i.head.line==t&&i.head.ch<h.length){let i=$i(t,h.length);Hs(o,e,new Zl(i,i));break}}}Mc.defineInitHook=e=>Lc.push(e);let Hc=null;function Tc(e){Hc=e}function Vc(e,t,i,n,r){let o=e.doc;e.display.shift=!1,n||(n=o.sel);let l=+new Date-200,s="paste"==r||e.state.pasteIncoming>l,a=Mi(t),c=null;if(s&&n.ranges.length>1)if(Hc&&Hc.text.join("\n")==t){if(n.ranges.length%Hc.text.length==0){c=[];for(let e=0;e<Hc.text.length;e++)c.push(o.splitLines(Hc.text[e]))}}else a.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=Rt(a,e=>[e]));let h=e.curOp.updateInput;for(let t=n.ranges.length-1;t>=0;t--){let h=n.ranges[t],d=h.from(),u=h.to();h.empty()&&(i&&i>0?d=$i(d.line,d.ch-i):e.state.overwrite&&!s?u=$i(u.line,Math.min(Ri(o,u.line).text.length,u.ch+Pt(a).length)):s&&Hc&&Hc.lineWise&&Hc.text.join("\n")==a.join("\n")&&(d=u=$i(d.line,0)));let p={from:d,to:u,text:c?c[t%c.length]:a,origin:r||(s?"paste":e.state.cutIncoming>l?"cut":"+input")};Us(e.doc,p),xr(e,"inputRead",e,p)}t&&!s&&Nc(e,t),Jo(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Oc(e,t){let i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Cl(t,()=>Vc(t,i,0,null,"paste")),!0}function Nc(e,t){if(!e.options.electricChars||!e.options.smartIndent)return;let i=e.doc.sel;for(let n=i.ranges.length-1;n>=0;n--){let r=i.ranges[n];if(r.head.ch>100||n&&i.ranges[n-1].head.line==r.head.line)continue;let o=e.getModeAt(r.head),l=!1;if(o.electricChars){for(let i=0;i<o.electricChars.length;i++)if(t.indexOf(o.electricChars.charAt(i))>-1){l=Sc(e,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ri(e.doc,r.head.line).text.slice(0,r.head.ch))&&(l=Sc(e,r.head.line,"smart"));l&&xr(e,"electricInput",e,r.head.line)}}function _c(e){let t=[],i=[];for(let n=0;n<e.doc.sel.ranges.length;n++){let r=e.doc.sel.ranges[n].head.line,o={anchor:$i(r,0),head:$i(r+1,0)};i.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:i}}function Ec(e,t,i,n){e.setAttribute("autocorrect",i?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Ic(){let e=wt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=wt("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return et?e.style.width="1000px":e.setAttribute("wrap","off"),st&&(e.style.border="1px solid black"),Ec(e),t}function Dc(e){let t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,i){let n=this.options,r=n[e];n[e]==i&&"mode"!=e||(n[e]=i,t.hasOwnProperty(e)&&kl(this,t[e])(this,i,r),ci(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Na(e))},removeKeyMap:function(e){let t=this.state.keyMaps;for(let i=0;i<t.length;++i)if(t[i]==e||t[i].name==e)return t.splice(i,1),!0},addOverlay:Ml((function(t,i){let n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");Ut(this.state.overlays,{mode:n,modeSpec:t,opaque:i&&i.opaque,priority:i&&i.priority||0},e=>e.priority),this.state.modeGen++,Ho(this)})),removeOverlay:Ml((function(e){let t=this.state.overlays;for(let i=0;i<t.length;++i){let n=t[i].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(i,1),this.state.modeGen++,void Ho(this)}})),indentLine:Ml((function(e,t,i){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Xi(this.doc,e)&&Sc(this,e,t,i)})),indentSelection:Ml((function(e){let t=this.doc.sel.ranges,i=-1;for(let n=0;n<t.length;n++){let r=t[n];if(r.empty())r.head.line>i&&(Sc(this,r.head.line,e,!0),i=r.head.line,n==this.doc.sel.primIndex&&Jo(this));else{let o=r.from(),l=r.to(),s=Math.max(i,o.line);i=Math.min(this.lastLine(),l.line-(l.ch?0:1))+1;for(let t=s;t<i;++t)Sc(this,t,e);let a=this.doc.sel.ranges;0==o.ch&&t.length==a.length&&a[n].from().ch>0&&Hs(this.doc,n,new Zl(o,a[n].to()),Et)}}})),getTokenAt:function(e,t){return fn(this,e,t)},getLineTokens:function(e,t){return fn(this,$i(e),t,!0)},getTokenTypeAt:function(e){e=rn(this.doc,e);let t,i=hn(this,Ri(this.doc,e.line)),n=0,r=(i.length-1)/2,o=e.ch;if(0==o)t=i[2];else for(;;){let e=n+r>>1;if((e?i[2*e-1]:0)>=o)r=e;else{if(!(i[2*e+1]<o)){t=i[2*e+2];break}n=e+1}}let l=t?t.indexOf("overlay "):-1;return l<0?t:0==l?null:t.slice(0,l-1)},getModeAt:function(t){let i=this.doc.mode;return i.innerMode?e.innerMode(i,this.getTokenAt(t).state).mode:i},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){let n=[];if(!i.hasOwnProperty(t))return n;let r=i[t],o=this.getModeAt(e);if("string"==typeof o[t])r[o[t]]&&n.push(r[o[t]]);else if(o[t])for(let e=0;e<o[t].length;e++){let i=r[o[t][e]];i&&n.push(i)}else o.helperType&&r[o.helperType]?n.push(r[o.helperType]):r[o.name]&&n.push(r[o.name]);for(let e=0;e<r._global.length;e++){let t=r._global[e];t.pred(o,this)&&-1==Ot(n,t.val)&&n.push(t.val)}return n},getStateAfter:function(e,t){let i=this.doc;return dn(this,(e=nn(i,null==e?i.first+i.size-1:e))+1,t).state},cursorCoords:function(e,t){let i,n=this.doc.sel.primary();return i=null==e?n.head:"object"==typeof e?rn(this.doc,e):e?n.from():n.to(),ho(this,i,t||"page")},charCoords:function(e,t){return co(this,rn(this.doc,e),t||"page")},coordsChar:function(e,t){return mo(this,(e=ao(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=ao(this,{top:e,left:0},t||"page").top,qi(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,i){let n,r=!1;if("number"==typeof e){let t=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>t&&(e=t,r=!0),n=Ri(this.doc,e)}else n=e;return so(this,n,{top:0,left:0},t||"page",i||r).top+(r?this.doc.height-Zn(n):0)},defaultTextHeight:function(){return wo(this.display)},defaultCharWidth:function(){return zo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,i,n,r){let o=this.display,l=(e=ho(this,rn(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==n)l=e.top;else if("above"==n||"near"==n){let i=Math.max(o.wrapper.clientHeight,this.doc.height),r=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>i)&&e.top>t.offsetHeight?l=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=i&&(l=e.bottom),s+t.offsetWidth>r&&(s=r-t.offsetWidth)}t.style.top=l+"px",t.style.left=t.style.right="","right"==r?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?s=0:"middle"==r&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),i&&$o(this,{left:s,top:l,right:s+t.offsetWidth,bottom:l+t.offsetHeight})},triggerOnKeyDown:Ml(Za),triggerOnKeyPress:Ml(ec),triggerOnKeyUp:Ja,triggerOnMouseDown:Ml(lc),execCommand:function(e){if(Ba.hasOwnProperty(e))return Ba[e].call(null,this)},triggerElectric:Ml((function(e){Nc(this,e)})),findPosH:function(e,t,i,n){let r=1;t<0&&(r=-1,t=-t);let o=rn(this.doc,e);for(let e=0;e<t&&(o=Wc(this.doc,o,r,i,n),!o.hitSide);++e);return o},moveH:Ml((function(e,t){this.extendSelectionsBy(i=>this.display.shift||this.doc.extend||i.empty()?Wc(this.doc,i.head,e,t,this.options.rtlMoveVisually):e<0?i.from():i.to(),Dt)})),deleteH:Ml((function(e,t){let i=this.doc.sel,n=this.doc;i.somethingSelected()?n.replaceSelection("",null,"+delete"):_a(this,i=>{let r=Wc(n,i.head,e,t,!1);return e<0?{from:r,to:i.head}:{from:i.head,to:r}})})),findPosV:function(e,t,i,n){let r=1,o=n;t<0&&(r=-1,t=-t);let l=rn(this.doc,e);for(let e=0;e<t;++e){let e=ho(this,l,"div");if(null==o?o=e.left:e.left=o,l=Bc(this,e,r,i),l.hitSide)break}return l},moveV:Ml((function(e,t){let i=this.doc,n=[],r=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy(o=>{if(r)return e<0?o.from():o.to();let l=ho(this,o.head,"div");null!=o.goalColumn&&(l.left=o.goalColumn),n.push(l.left);let s=Bc(this,l,e,t);return"page"==t&&o==i.sel.primary()&&Qo(this,co(this,s,"div").top-l.top),s},Dt),n.length)for(let e=0;e<i.sel.ranges.length;e++)i.sel.ranges[e].goalColumn=n[e]})),findWordAt:function(e){let t=Ri(this.doc,e.line).text,i=e.ch,n=e.ch;if(t){let r=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!i?++n:--i;let o=t.charAt(i),l=Xt(o,r)?e=>Xt(e,r):/\s/.test(o)?e=>/\s/.test(e):e=>!/\s/.test(e)&&!Xt(e);for(;i>0&&l(t.charAt(i-1));)--i;for(;n<t.length&&l(t.charAt(n));)++n}return new Zl($i(e.line,i),$i(e.line,n))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Mt(this.display.cursorDiv,"CodeMirror-overwrite"):yt(this.display.cursorDiv,"CodeMirror-overwrite"),ci(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==kt()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Ml((function(e,t){el(this,e,t)})),getScrollInfo:function(){let e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Br(this)-this.display.barHeight,width:e.scrollWidth-Br(this)-this.display.barWidth,clientHeight:Pr(this),clientWidth:Fr(this)}},scrollIntoView:Ml((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:$i(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?tl(this,e):nl(this,e.from,e.to,e.margin)})),setSize:Ml((function(e,t){let i=e=>"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e;null!=e&&(this.display.wrapper.style.width=i(e)),null!=t&&(this.display.wrapper.style.height=i(t)),this.options.lineWrapping&&io(this);let n=this.display.viewFrom;this.doc.iter(n,this.display.viewTo,e=>{if(e.widgets)for(let t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){To(this,n,"widget");break}++n}),this.curOp.forceUpdate=!0,ci(this,"refresh",this)})),operation:function(e){return Cl(this,e)},startOperation:function(){return gl(this)},endOperation:function(){return fl(this)},refresh:Ml((function(){let e=this.display.cachedTextHeight;Ho(this),this.curOp.forceUpdate=!0,no(this),el(this,this.doc.scrollLeft,this.doc.scrollTop),Dl(this.display),(null==e||Math.abs(e-wo(this.display))>.5||this.options.lineWrapping)&&Ao(this),ci(this,"refresh",this)})),swapDoc:Ml((function(e){let t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),hs(this,e),no(this),this.display.input.reset(),el(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,xr(this,"swapDoc",this,t),t})),phrase:function(e){let t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},pi(e),e.registerHelper=function(t,n,r){i.hasOwnProperty(t)||(i[t]=e[t]={_global:[]}),i[t][n]=r},e.registerGlobalHelper=function(t,n,r,o){e.registerHelper(t,n,o),i[t]._global.push({pred:r,val:o})}}function Wc(e,t,i,n,r){let o=t,l=i,s=Ri(e,t.line),a=r&&"rtl"==e.direction?-i:i;function c(){let i=t.line+a;return!(i<e.first||i>=e.first+e.size)&&(t=new $i(i,t.ch,t.sticky),s=Ri(e,i))}function h(o){let l;if("codepoint"==n){let e=s.text.charCodeAt(t.ch+(i>0?0:-1));if(isNaN(e))l=null;else{let n=i>0?e>=55296&&e<56320:e>=56320&&e<57343;l=new $i(t.line,Math.max(0,Math.min(s.text.length,t.ch+i*(n?2:1))),-i)}}else l=r?Wa(e.cm,s,t,i):Ia(s,t,i);if(null==l){if(o||!c())return!1;t=Da(r,e.cm,s,t.line,a)}else t=l;return!0}if("char"==n||"codepoint"==n)h();else if("column"==n)h(!0);else if("word"==n||"group"==n){let r=null,o="group"==n,l=e.cm&&e.cm.getHelper(t,"wordChars");for(let e=!0;!(i<0)||h(!e);e=!1){let n=s.text.charAt(t.ch)||"\n",a=Xt(n,l)?"w":o&&"\n"==n?"n":!o||/\s/.test(n)?null:"p";if(!o||e||a||(a="s"),r&&r!=a){i<0&&(i=1,h(),t.sticky="after");break}if(a&&(r=a),i>0&&!h(!e))break}}let d=Bs(e,t,o,l,!0);return Qi(o,d)&&(d.hitSide=!0),d}function Bc(e,t,i,n){let r,o,l=e.doc,s=t.left;if("page"==n){let n=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),o=Math.max(n-.5*wo(e.display),3);r=(i>0?t.bottom:t.top)+i*o}else"line"==n&&(r=i>0?t.bottom+3:t.top-3);for(;o=mo(e,s,r),o.outside;){if(i<0?r<=0:r>=l.height){o.hitSide=!0;break}r+=5*i}return o}class Fc{constructor(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Vt,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}init(e){let t=this,i=t.cm,n=t.div=e.lineDiv;function r(e){for(let t=e.target;t;t=t.parentNode){if(t==n)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function o(e){if(!r(e)||hi(i,e))return;if(i.somethingSelected())Tc({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;{let t=_c(i);Tc({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(()=>{i.setSelections(t.ranges,0,Et),i.replaceSelection("",null,"cut")})}}if(e.clipboardData){e.clipboardData.clearData();let t=Hc.text.join("\n");if(e.clipboardData.setData("Text",t),e.clipboardData.getData("Text")==t)return void e.preventDefault()}let o=Ic(),l=o.firstChild;i.display.lineSpace.insertBefore(o,i.display.lineSpace.firstChild),l.value=Hc.text.join("\n");let s=kt();Lt(l),setTimeout(()=>{i.display.lineSpace.removeChild(o),s.focus(),s==n&&t.showPrimarySelection()},50)}n.contentEditable=!0,Ec(n,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize),li(n,"paste",e=>{!r(e)||hi(i,e)||Oc(e,i)||Je<=11&&setTimeout(kl(i,()=>this.updateFromDOM()),20)}),li(n,"compositionstart",e=>{this.composing={data:e.data,done:!1}}),li(n,"compositionupdate",e=>{this.composing||(this.composing={data:e.data,done:!1})}),li(n,"compositionend",e=>{this.composing&&(e.data!=this.composing.data&&this.readFromDOMSoon(),this.composing.done=!0)}),li(n,"touchstart",()=>t.forceCompositionEnd()),li(n,"input",()=>{this.composing||this.readFromDOMSoon()}),li(n,"copy",o),li(n,"cut",o)}screenReaderLabelChanged(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")}prepareSelection(){let e=Io(this.cm,!1);return e.focus=kt()==this.div,e}showSelection(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))}getSelection(){return this.cm.display.wrapper.ownerDocument.getSelection()}showPrimarySelection(){let e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),n=i.from(),r=i.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||r.line<t.display.viewFrom)return void e.removeAllRanges();let o=Kc(t,e.anchorNode,e.anchorOffset),l=Kc(t,e.focusNode,e.focusOffset);if(o&&!o.bad&&l&&!l.bad&&0==Zi(tn(o,l),n)&&0==Zi(en(o,l),r))return;let s=t.display.view,a=n.line>=t.display.viewFrom&&Pc(t,n)||{node:s[0].measure.map[2],offset:0},c=r.line<t.display.viewTo&&Pc(t,r);if(!c){let e=s[s.length-1].measure,t=e.maps?e.maps[e.maps.length-1]:e.map;c={node:t[t.length-1],offset:t[t.length-2]-t[t.length-3]}}if(!a||!c)return void e.removeAllRanges();let h,d=e.rangeCount&&e.getRangeAt(0);try{h=vt(a.node,a.offset,c.offset,c.node)}catch(e){}h&&(!Xe&&t.state.focused?(e.collapse(a.node,a.offset),h.collapsed||(e.removeAllRanges(),e.addRange(h))):(e.removeAllRanges(),e.addRange(h)),d&&null==e.anchorNode?e.addRange(d):Xe&&this.startGracePeriod()),this.rememberSelection()}startGracePeriod(){clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(()=>{this.gracePeriod=!1,this.selectionChanged()&&this.cm.operation(()=>this.cm.curOp.selectionChanged=!0)},20)}showMultipleSelections(e){xt(this.cm.display.cursorDiv,e.cursors),xt(this.cm.display.selectionDiv,e.selection)}rememberSelection(){let e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset}selectionInEditor(){let e=this.getSelection();if(!e.rangeCount)return!1;let t=e.getRangeAt(0).commonAncestorContainer;return Ct(this.div,t)}focus(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&kt()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())}blur(){this.div.blur()}getField(){return this.div}supportsTouch(){return!0}receivedFocus(){let e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Cl(this.cm,()=>e.cm.curOp.selectionChanged=!0),this.polling.set(this.cm.options.pollInterval,t)}selectionChanged(){let e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset}pollSelection(){if(null!=this.readDOMTimeout||this.gracePeriod||!this.selectionChanged())return;let e=this.getSelection(),t=this.cm;if(at&&it&&this.cm.display.gutterSpecs.length&&Rc(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(this.composing)return;this.rememberSelection();let i=Kc(t,e.anchorNode,e.anchorOffset),n=Kc(t,e.focusNode,e.focusOffset);i&&n&&Cl(t,()=>{Ns(t.doc,Jl(i,n),Et),(i.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}pollContent(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);let e,t,i,n=this.cm,r=n.display,o=n.doc.sel.primary(),l=o.from(),s=o.to();if(0==l.ch&&l.line>n.firstLine()&&(l=$i(l.line-1,Ri(n.doc,l.line-1).length)),s.ch==Ri(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=$i(s.line+1,0)),l.line<r.viewFrom||s.line>r.viewTo-1)return!1;l.line==r.viewFrom||0==(e=So(n,l.line))?(t=ji(r.view[0].line),i=r.view[0].node):(t=ji(r.view[e].line),i=r.view[e-1].node.nextSibling);let a,c,h=So(n,s.line);if(h==r.view.length-1?(a=r.viewTo-1,c=r.lineDiv.lastChild):(a=ji(r.view[h+1].line)-1,c=r.view[h+1].node.previousSibling),!i)return!1;let d=n.doc.splitLines(Gc(n,i,c,t,a)),u=Ui(n.doc,$i(t,0),$i(a,Ri(n.doc,a).text.length));for(;d.length>1&&u.length>1;)if(Pt(d)==Pt(u))d.pop(),u.pop(),a--;else{if(d[0]!=u[0])break;d.shift(),u.shift(),t++}let p=0,m=0,g=d[0],f=u[0],v=Math.min(g.length,f.length);for(;p<v&&g.charCodeAt(p)==f.charCodeAt(p);)++p;let y=Pt(d),b=Pt(u),x=Math.min(y.length-(1==d.length?p:0),b.length-(1==u.length?p:0));for(;m<x&&y.charCodeAt(y.length-m-1)==b.charCodeAt(b.length-m-1);)++m;if(1==d.length&&1==u.length&&t==l.line)for(;p&&p>l.ch&&y.charCodeAt(y.length-m-1)==b.charCodeAt(b.length-m-1);)p--,m++;d[d.length-1]=y.slice(0,y.length-m).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");let w=$i(t,p),z=$i(a,u.length?Pt(u).length-m:0);return d.length>1||d[0]||Zi(w,z)?(Ys(n.doc,d,w,z,"+input"),!0):void 0}ensurePolled(){this.forceCompositionEnd()}reset(){this.forceCompositionEnd()}forceCompositionEnd(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())}readFromDOMSoon(){null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(()=>{if(this.readDOMTimeout=null,this.composing){if(!this.composing.done)return;this.composing=null}this.updateFromDOM()},80))}updateFromDOM(){!this.cm.isReadOnly()&&this.pollContent()||Cl(this.cm,()=>Ho(this.cm))}setUneditable(e){e.contentEditable="false"}onKeyPress(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||kl(this.cm,Vc)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))}readOnlyChanged(e){this.div.contentEditable=String("nocursor"!=e)}onContextMenu(){}resetPosition(){}}function Pc(e,t){let i=jr(e,t.line);if(!i||i.hidden)return null;let n=Ri(e.doc,t.line),r=Ur(i,n,t.line),o=ri(n,e.doc.direction),l="left";if(o){l=ii(o,t.ch)%2?"right":"left"}let s=Zr(r.map,t.ch,l);return s.offset="right"==s.collapse?s.end:s.start,s}function Rc(e){for(let t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Uc(e,t){return t&&(e.bad=!0),e}function Gc(e,t,i,n,r){let o="",l=!1,s=e.doc.lineSeparator(),a=!1;function c(e){return t=>t.id==e}function h(){l&&(o+=s,a&&(o+=s),l=a=!1)}function d(e){e&&(h(),o+=e)}function u(t){if(1==t.nodeType){let i=t.getAttribute("cm-text");if(i)return void d(i);let o,p=t.getAttribute("cm-marker");if(p){let t=e.findMarks($i(n,0),$i(r+1,0),c(+p));return void(t.length&&(o=t[0].find(0))&&d(Ui(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;let m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&h();for(let e=0;e<t.childNodes.length;e++)u(t.childNodes[e]);/^(pre|p)$/i.test(t.nodeName)&&(a=!0),m&&(l=!0)}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;u(t),t!=i;)t=t.nextSibling,a=!1;return o}function Kc(e,t,i){let n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[i],!n)return Uc(e.clipPos($i(e.display.viewTo-1)),!0);t=null,i=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(let r=0;r<e.display.view.length;r++){let o=e.display.view[r];if(o.node==n)return jc(o,t,i)}}function jc(e,t,i){let n=e.text.firstChild,r=!1;if(!t||!Ct(n,t))return Uc($i(ji(e.line),0),!0);if(t==n&&(r=!0,t=n.childNodes[i],i=0,!t)){let t=e.rest?Pt(e.rest):e.line;return Uc($i(ji(t),t.text.length),r)}let o=3==t.nodeType?t:null,l=t;for(o||1!=t.childNodes.length||3!=t.firstChild.nodeType||(o=t.firstChild,i&&(i=o.nodeValue.length));l.parentNode!=n;)l=l.parentNode;let s=e.measure,a=s.maps;function c(t,i,n){for(let r=-1;r<(a?a.length:0);r++){let o=r<0?s.map:a[r];for(let l=0;l<o.length;l+=3){let s=o[l+2];if(s==t||s==i){let i=ji(r<0?e.line:e.rest[r]),a=o[l]+n;return(n<0||s!=t)&&(a=o[l+(n?1:0)]),$i(i,a)}}}}let h=c(o,l,i);if(h)return Uc(h,r);for(let e=l.nextSibling,t=o?o.nodeValue.length-i:0;e;e=e.nextSibling){if(h=c(e,e.firstChild,0),h)return Uc($i(h.line,h.ch-t),r);t+=e.textContent.length}for(let e=l.previousSibling,t=i;e;e=e.previousSibling){if(h=c(e,e.firstChild,-1),h)return Uc($i(h.line,h.ch+t),r);t+=e.textContent.length}}Fc.prototype.needsContentAttribute=!0;class qc{constructor(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Vt,this.hasSelection=!1,this.composing=null}init(e){let t=this,i=this.cm;this.createField(e);const n=this.textarea;function r(e){if(!hi(i,e)){if(i.somethingSelected())Tc({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;{let r=_c(i);Tc({lineWise:!0,text:r.text}),"cut"==e.type?i.setSelections(r.ranges,null,Et):(t.prevInput="",n.value=r.text.join("\n"),Lt(n))}}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),st&&(n.style.width="0px"),li(n,"input",()=>{Qe&&Je>=9&&this.hasSelection&&(this.hasSelection=null),t.poll()}),li(n,"paste",e=>{hi(i,e)||Oc(e,i)||(i.state.pasteIncoming=+new Date,t.fastPoll())}),li(n,"cut",r),li(n,"copy",r),li(e.scroller,"paste",r=>{if(Er(e,r)||hi(i,r))return;if(!n.dispatchEvent)return i.state.pasteIncoming=+new Date,void t.focus();const o=new Event("paste");o.clipboardData=r.clipboardData,n.dispatchEvent(o)}),li(e.lineSpace,"selectstart",t=>{Er(e,t)||mi(t)}),li(n,"compositionstart",()=>{let e=i.getCursor("from");t.composing&&t.composing.range.clear(),t.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),li(n,"compositionend",()=>{t.composing&&(t.poll(),t.composing.range.clear(),t.composing=null)})}createField(e){this.wrapper=Ic(),this.textarea=this.wrapper.firstChild}screenReaderLabelChanged(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")}prepareSelection(){let e=this.cm,t=e.display,i=e.doc,n=Io(e);if(e.options.moveInputWithCursor){let r=ho(e,i.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+l.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+l.left-o.left))}return n}showSelection(e){let t=this.cm.display;xt(t.cursorDiv,e.cursors),xt(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")}reset(e){if(this.contextMenuPending||this.composing)return;let t=this.cm;if(t.somethingSelected()){this.prevInput="";let e=t.getSelection();this.textarea.value=e,t.state.focused&&Lt(this.textarea),Qe&&Je>=9&&(this.hasSelection=e)}else e||(this.prevInput=this.textarea.value="",Qe&&Je>=9&&(this.hasSelection=null))}getField(){return this.textarea}supportsTouch(){return!1}focus(){if("nocursor"!=this.cm.options.readOnly&&(!ct||kt()!=this.textarea))try{this.textarea.focus()}catch(e){}}blur(){this.textarea.blur()}resetPosition(){this.wrapper.style.top=this.wrapper.style.left=0}receivedFocus(){this.slowPoll()}slowPoll(){this.pollingFast||this.polling.set(this.cm.options.pollInterval,()=>{this.poll(),this.cm.state.focused&&this.slowPoll()})}fastPoll(){let e=!1,t=this;function i(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,i))}t.pollingFast=!0,t.polling.set(20,i)}poll(){let e=this.cm,t=this.textarea,i=this.prevInput;if(this.contextMenuPending||!e.state.focused||Ai(t)&&!i&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;let n=t.value;if(n==i&&!e.somethingSelected())return!1;if(Qe&&Je>=9&&this.hasSelection===n||ht&&/[\uf700-\uf7ff]/.test(n))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){let e=n.charCodeAt(0);if(8203!=e||i||(i=""),8666==e)return this.reset(),this.cm.execCommand("undo")}let r=0,o=Math.min(i.length,n.length);for(;r<o&&i.charCodeAt(r)==n.charCodeAt(r);)++r;return Cl(e,()=>{Vc(e,n.slice(r),i.length-r,null,this.composing?"*compose":null),n.length>1e3||n.indexOf("\n")>-1?t.value=this.prevInput="":this.prevInput=n,this.composing&&(this.composing.range.clear(),this.composing.range=e.markText(this.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))}),!0}ensurePolled(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)}onKeyPress(){Qe&&Je>=9&&(this.hasSelection=null),this.fastPoll()}onContextMenu(e){let t=this,i=t.cm,n=i.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();let o=Lo(i,e),l=n.scroller.scrollTop;if(!o||nt)return;i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(o)&&kl(i,Ns)(i.doc,Jl(o),Et);let s,a=r.style.cssText,c=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();function d(){if(null!=r.selectionStart){let e=i.somethingSelected(),o=""+(e?r.value:"");r.value="⇚",r.value=o,t.prevInput=e?"":"",r.selectionStart=1,r.selectionEnd=o.length,n.selForContextMenu=i.doc.sel}}function u(){if(t.contextMenuPending==u&&(t.contextMenuPending=!1,t.wrapper.style.cssText=c,r.style.cssText=a,Qe&&Je<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=l),null!=r.selectionStart)){(!Qe||Qe&&Je<9)&&d();let e=0,o=()=>{n.selForContextMenu==i.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&""==t.prevInput?kl(i,Ps)(i):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(o,200)}}if(t.wrapper.style.cssText="position: static",r.style.cssText=`position: absolute; width: 30px; height: 30px;\n top: ${e.clientY-h.top-5}px; left: ${e.clientX-h.left-5}px;\n z-index: 1000; background: ${Qe?"rgba(255, 255, 255, .05)":"transparent"};\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`,et&&(s=window.scrollY),n.input.focus(),et&&window.scrollTo(null,s),n.input.reset(),i.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=u,n.selForContextMenu=i.doc.sel,clearTimeout(n.detectingSelectAll),Qe&&Je>=9&&d(),gt){vi(e);let t=()=>{ai(window,"mouseup",t),setTimeout(u,20)};li(window,"mouseup",t)}else setTimeout(u,50)}readOnlyChanged(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e}setUneditable(){}}function Xc(e,t){if((t=t?Ht(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){let i=kt();t.autofocus=i==e||null!=e.getAttribute("autofocus")&&i==document.body}function i(){e.value=r.getValue()}let n;if(e.form&&(li(e.form,"submit",i),!t.leaveSubmitMethodAlone)){let t=e.form;n=t.submit;try{let e=t.submit=()=>{i(),t.submit=n,t.submit(),t.submit=e}}catch(e){}}t.finishInit=r=>{r.save=i,r.getTextArea=()=>e,r.toTextArea=()=>{r.toTextArea=isNaN,i(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(ai(e.form,"submit",i),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=n))}},e.style.display="none";let r=Mc(t=>e.parentNode.insertBefore(t,e.nextSibling),t);return r}function Yc(e){e.off=ai,e.on=li,e.wheelEventPixels=Xl,e.Doc=ma,e.splitLines=Mi,e.countColumn=Tt,e.findColumn=Wt,e.isWordChar=qt,e.Pass=_t,e.signal=ci,e.Line=er,e.changeEnd=es,e.scrollbarModel=ul,e.Pos=$i,e.cmpPos=Zi,e.modes=Ti,e.mimeModes=Vi,e.resolveMode=_i,e.getMode=Ei,e.modeExtensions=Ii,e.extendMode=Di,e.copyState=Wi,e.startState=Fi,e.innerMode=Bi,e.commands=Ba,e.keyMap=Aa,e.keyName=Oa,e.isModifierKey=Ta,e.lookupKey=Ha,e.normalizeKeyMap=Sa,e.StringStream=Pi,e.SharedTextMarker=aa,e.TextMarker=la,e.LineWidget=ia,e.e_preventDefault=mi,e.e_stopPropagation=gi,e.e_stop=vi,e.addClass=Mt,e.contains=Ct,e.rmClass=yt,e.keyNames=Ma}qc.prototype.needsContentAttribute=!1,zc(Mc),Dc(Mc);let $c="iter insert remove copy getEditor constructor".split(" ");for(let e in ma.prototype)ma.prototype.hasOwnProperty(e)&&Ot($c,e)<0&&(Mc.prototype[e]=function(e){return function(){return e.apply(this.doc,arguments)}}(ma.prototype[e]));function Zc(e){e.defineMode("xquery",(function(){var e=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("operator"),i={type:"atom",style:"atom"},n={type:"axis_specifier",style:"qualifier"},r={",":{type:"punctuation",style:null}},o=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],l=0,s=o.length;l<s;l++)r[o[l]]=e(o[l]);var a=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(l=0,s=a.length;l<s;l++)r[a[l]]=i;var c=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(l=0,s=c.length;l<s;l++)r[c[l]]=t;var h=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(l=0,s=h.length;l<s;l++)r[h[l]]=n;return r}();function t(e,t,i){return t.tokenize=i,i(e,t)}function i(i,s){var u=i.next(),m=!1,f=g(i);if("<"==u){if(i.match("!--",!0))return t(i,s,a);if(i.match("![CDATA",!1))return s.tokenize=c,"tag";if(i.match("?",!1))return t(i,s,h);var b=i.eat("/");i.eatSpace();for(var x,w="";x=i.eat(/[^\s\u00a0=<>\"\'\/?]/);)w+=x;return t(i,s,l(w,b))}if("{"==u)return v(s,{type:"codeblock"}),null;if("}"==u)return y(s),null;if(d(s))return">"==u?"tag":"/"==u&&i.eat(">")?(y(s),"tag"):"variable";if(/\d/.test(u))return i.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===u&&i.eat(":"))return v(s,{type:"comment"}),t(i,s,n);if(f||'"'!==u&&"'"!==u){if("$"===u)return t(i,s,o);if(":"===u&&i.eat("="))return"keyword";if("("===u)return v(s,{type:"paren"}),null;if(")"===u)return y(s),null;if("["===u)return v(s,{type:"bracket"}),null;if("]"===u)return y(s),null;var z=e.propertyIsEnumerable(u)&&e[u];if(f&&'"'===u)for(;'"'!==i.next(););if(f&&"'"===u)for(;"'"!==i.next(););z||i.eatWhile(/[\w\$_-]/);var C=i.eat(":");!i.eat(":")&&C&&i.eatWhile(/[\w\$_-]/),i.match(/^[ \t]*\(/,!1)&&(m=!0);var k=i.current();return z=e.propertyIsEnumerable(k)&&e[k],m&&!z&&(z={type:"function_call",style:"variable def"}),p(s)?(y(s),"variable"):("element"!=k&&"attribute"!=k&&"axis_specifier"!=z.type||v(s,{type:"xmlconstructor"}),z?z.style:"variable")}return t(i,s,r(u))}function n(e,t){for(var i,n=!1,r=!1,o=0;i=e.next();){if(")"==i&&n){if(!(o>0)){y(t);break}o--}else":"==i&&r&&o++;n=":"==i,r="("==i}return"comment"}function r(e,t){return function(n,o){var l;if(m(o)&&n.current()==e)return y(o),t&&(o.tokenize=t),"string";if(v(o,{type:"string",name:e,tokenize:r(e,t)}),n.match("{",!1)&&u(o))return o.tokenize=i,"string";for(;l=n.next();){if(l==e){y(o),t&&(o.tokenize=t);break}if(n.match("{",!1)&&u(o))return o.tokenize=i,"string"}return"string"}}function o(e,t){var n=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(n),e.match(":=",!1)||e.eat(":");return e.eatWhile(n),t.tokenize=i,"variable"}function l(e,t){return function(n,r){return n.eatSpace(),t&&n.eat(">")?(y(r),r.tokenize=i,"tag"):(n.eat("/")||v(r,{type:"tag",name:e,tokenize:i}),n.eat(">")?(r.tokenize=i,"tag"):(r.tokenize=s,"tag"))}}function s(e,n){var o=e.next();return"/"==o&&e.eat(">")?(u(n)&&y(n),d(n)&&y(n),"tag"):">"==o?(u(n)&&y(n),"tag"):"="==o?null:'"'==o||"'"==o?t(e,n,r(o,s)):(u(n)||v(n,{type:"attribute",tokenize:s}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(y(n),n.tokenize=i),"attribute")}function a(e,t){for(var n;n=e.next();)if("-"==n&&e.match("->",!0))return t.tokenize=i,"comment"}function c(e,t){for(var n;n=e.next();)if("]"==n&&e.match("]",!0))return t.tokenize=i,"comment"}function h(e,t){for(var n;n=e.next();)if("?"==n&&e.match(">",!0))return t.tokenize=i,"comment meta"}function d(e){return f(e,"tag")}function u(e){return f(e,"attribute")}function p(e){return f(e,"xmlconstructor")}function m(e){return f(e,"string")}function g(e){return'"'===e.current()?e.match(/^[^\"]+\"\:/,!1):"'"===e.current()&&e.match(/^[^\"]+\'\:/,!1)}function f(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function v(e,t){e.stack.push(t)}function y(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||i}return{startState:function(){return{tokenize:i,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(:",blockCommentEnd:":)"}})),e.defineMIME("application/xquery","xquery")}function Qc(e){function t(e){for(var t={},i=0;i<e.length;++i)t[e[i].toLowerCase()]=!0;return t}e.defineMode("css",(function(t,i){var n=i.inline;i.propertyKeywords||(i=e.resolveMode("text/css"));var r,o,l=t.indentUnit,s=i.tokenHooks,a=i.documentTypes||{},c=i.mediaTypes||{},h=i.mediaFeatures||{},d=i.mediaValueKeywords||{},u=i.propertyKeywords||{},p=i.nonStandardPropertyKeywords||{},m=i.fontProperties||{},g=i.counterDescriptors||{},f=i.colorKeywords||{},v=i.valueKeywords||{},y=i.allowNested,b=i.lineComment,x=!0===i.supportsAtComponent,w=!1!==t.highlightNonStandardPropertyKeywords;function z(e,t){return r=t,e}function C(e,t){var i=e.next();if(s[i]){var n=s[i](e,t);if(!1!==n)return n}return"@"==i?(e.eatWhile(/[\w\\\-]/),z("def",e.current())):"="==i||("~"==i||"|"==i)&&e.eat("=")?z(null,"compare"):'"'==i||"'"==i?(t.tokenize=k(i),t.tokenize(e,t)):"#"==i?(e.eatWhile(/[\w\\\-]/),z("atom","hash")):"!"==i?(e.match(/^\s*\w*/),z("keyword","important")):/\d/.test(i)||"."==i&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),z("number","unit")):"-"!==i?/[,+>*\/]/.test(i)?z(null,"select-op"):"."==i&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?z("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(i)?z(null,i):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=M),z("variable callee","variable")):/[\w\\\-]/.test(i)?(e.eatWhile(/[\w\\\-]/),z("property","word")):z(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),z("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?z("variable-2","variable-definition"):z("variable-2","variable")):e.match(/^\w+-/)?z("meta","meta"):void 0}function k(e){return function(t,i){for(var n,r=!1;null!=(n=t.next());){if(n==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==n}return(n==e||!r&&")"!=e)&&(i.tokenize=null),z("string","string")}}function M(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=k(")"),z(null,"(")}function A(e,t,i){this.type=e,this.indent=t,this.prev=i}function L(e,t,i,n){return e.context=new A(i,t.indentation()+(!1===n?0:l),e.context),i}function S(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function H(e,t,i){return O[i.context.type](e,t,i)}function T(e,t,i,n){for(var r=n||1;r>0;r--)i.context=i.context.prev;return H(e,t,i)}function V(e){var t=e.current().toLowerCase();o=v.hasOwnProperty(t)?"atom":f.hasOwnProperty(t)?"keyword":"variable"}var O={top:function(e,t,i){if("{"==e)return L(i,t,"block");if("}"==e&&i.context.prev)return S(i);if(x&&/@component/i.test(e))return L(i,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return L(i,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return L(i,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return i.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return L(i,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return L(i,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return L(i,t,"parens")}return i.context.type},block:function(e,t,i){if("word"==e){var n=t.current().toLowerCase();return u.hasOwnProperty(n)?(o="property","maybeprop"):p.hasOwnProperty(n)?(o=w?"string-2":"property","maybeprop"):y?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?O.top(e,t,i):(o="error","block")},maybeprop:function(e,t,i){return":"==e?L(i,t,"prop"):H(e,t,i)},prop:function(e,t,i){if(";"==e)return S(i);if("{"==e&&y)return L(i,t,"propBlock");if("}"==e||"{"==e)return T(e,t,i);if("("==e)return L(i,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)V(t);else if("interpolation"==e)return L(i,t,"interpolation")}else o+=" error";return"prop"},propBlock:function(e,t,i){return"}"==e?S(i):"word"==e?(o="property","maybeprop"):i.context.type},parens:function(e,t,i){return"{"==e||"}"==e?T(e,t,i):")"==e?S(i):"("==e?L(i,t,"parens"):"interpolation"==e?L(i,t,"interpolation"):("word"==e&&V(t),"parens")},pseudo:function(e,t,i){return"meta"==e?"pseudo":"word"==e?(o="variable-3",i.context.type):H(e,t,i)},documentTypes:function(e,t,i){return"word"==e&&a.hasOwnProperty(t.current())?(o="tag",i.context.type):O.atBlock(e,t,i)},atBlock:function(e,t,i){if("("==e)return L(i,t,"atBlock_parens");if("}"==e||";"==e)return T(e,t,i);if("{"==e)return S(i)&&L(i,t,y?"block":"top");if("interpolation"==e)return L(i,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();o="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":h.hasOwnProperty(n)?"property":d.hasOwnProperty(n)?"keyword":u.hasOwnProperty(n)?"property":p.hasOwnProperty(n)?w?"string-2":"property":v.hasOwnProperty(n)?"atom":f.hasOwnProperty(n)?"keyword":"error"}return i.context.type},atComponentBlock:function(e,t,i){return"}"==e?T(e,t,i):"{"==e?S(i)&&L(i,t,y?"block":"top",!1):("word"==e&&(o="error"),i.context.type)},atBlock_parens:function(e,t,i){return")"==e?S(i):"{"==e||"}"==e?T(e,t,i,2):O.atBlock(e,t,i)},restricted_atBlock_before:function(e,t,i){return"{"==e?L(i,t,"restricted_atBlock"):"word"==e&&"@counter-style"==i.stateArg?(o="variable","restricted_atBlock_before"):H(e,t,i)},restricted_atBlock:function(e,t,i){return"}"==e?(i.stateArg=null,S(i)):"word"==e?(o="@font-face"==i.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==i.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,i){return"word"==e?(o="variable","keyframes"):"{"==e?L(i,t,"top"):H(e,t,i)},at:function(e,t,i){return";"==e?S(i):"{"==e||"}"==e?T(e,t,i):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at")},interpolation:function(e,t,i){return"}"==e?S(i):"{"==e||";"==e?T(e,t,i):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new A(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var i=(t.tokenize||C)(e,t);return i&&"object"==typeof i&&(r=i[1],i=i[0]),o=i,"comment"!=r&&(t.state=O[t.state](r,e,t)),o},indent:function(e,t){var i=e.context,n=t&&t.charAt(0),r=i.indent;return"prop"!=i.type||"}"!=n&&")"!=n||(i=i.prev),i.prev&&("}"!=n||"block"!=i.type&&"top"!=i.type&&"interpolation"!=i.type&&"restricted_atBlock"!=i.type?(")"!=n||"parens"!=i.type&&"atBlock_parens"!=i.type)&&("{"!=n||"at"!=i.type&&"atBlock"!=i.type)||(r=Math.max(0,i.indent-l)):r=(i=i.prev).indent),r},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}}));var i=["domain","regexp","url","url-prefix"],n=t(i),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(r),l=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],s=t(l),a=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],c=t(a),h=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(h),u=["border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],p=t(u),m=t(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),f=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=t(f),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=t(y),x=i.concat(r).concat(l).concat(a).concat(h).concat(u).concat(f).concat(y);function w(e,t){for(var i,n=!1;null!=(i=e.next());){if(n&&"/"==i){t.tokenize=null;break}n="*"==i}return["comment","comment"]}e.registerHelper("hintWords","css",x),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:g,colorKeywords:v,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:v,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},":":function(e){return!!e.match(/^\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:v,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:o,mediaFeatures:s,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:g,colorKeywords:v,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css",helperType:"gss"})}function Jc(e){var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},i={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(n,r){var o,l,s=n.indentUnit,a={},c=r.htmlMode?t:i;for(var h in c)a[h]=c[h];for(var h in r)a[h]=r[h];function d(e,t){function i(i){return t.tokenize=i,i(e,t)}var n=e.next();return"<"==n?e.eat("!")?e.eat("[")?e.match("CDATA[")?i(m("atom","]]>")):null:e.match("--")?i(m("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),i(g(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=m("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=u,"tag bracket"):"&"==n?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function u(e,t){var i=e.next();if(">"==i||"/"==i&&e.eat(">"))return t.tokenize=d,o=">"==i?"endTag":"selfcloseTag","tag bracket";if("="==i)return o="equals",null;if("<"==i){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(i)?(t.tokenize=p(i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e){var t=function(t,i){for(;!t.eol();)if(t.next()==e){i.tokenize=u;break}return"string"};return t.isInAttribute=!0,t}function m(e,t){return function(i,n){for(;!i.eol();){if(i.match(t)){n.tokenize=d;break}i.next()}return e}}function g(e){return function(t,i){for(var n;null!=(n=t.next());){if("<"==n)return i.tokenize=g(e+1),i.tokenize(t,i);if(">"==n){if(1==e){i.tokenize=d;break}return i.tokenize=g(e-1),i.tokenize(t,i)}}return"meta"}}function f(e,t,i){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=i,(a.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){for(var i;;){if(!e.context)return;if(i=e.context.tagName,!a.contextGrabbers.hasOwnProperty(i)||!a.contextGrabbers[i].hasOwnProperty(t))return;v(e)}}function b(e,t,i){return"openTag"==e?(i.tagStart=t.column(),x):"closeTag"==e?w:b}function x(e,t,i){return"word"==e?(i.tagName=t.current(),l="tag",k):a.allowMissingTagName&&"endTag"==e?(l="tag bracket",k(e,t,i)):(l="error",x)}function w(e,t,i){if("word"==e){var n=t.current();return i.context&&i.context.tagName!=n&&a.implicitlyClosed.hasOwnProperty(i.context.tagName)&&v(i),i.context&&i.context.tagName==n||!1===a.matchClosing?(l="tag",z):(l="tag error",C)}return a.allowMissingTagName&&"endTag"==e?(l="tag bracket",z(e,t,i)):(l="error",C)}function z(e,t,i){return"endTag"!=e?(l="error",z):(v(i),b)}function C(e,t,i){return l="error",z(e,t,i)}function k(e,t,i){if("word"==e)return l="attribute",M;if("endTag"==e||"selfcloseTag"==e){var n=i.tagName,r=i.tagStart;return i.tagName=i.tagStart=null,"selfcloseTag"==e||a.autoSelfClosers.hasOwnProperty(n)?y(i,n):(y(i,n),i.context=new f(i,n,r==i.indented)),b}return l="error",k}function M(e,t,i){return"equals"==e?A:(a.allowMissing||(l="error"),k(e,t,i))}function A(e,t,i){return"string"==e?L:"word"==e&&a.allowUnquoted?(l="string",k):(l="error",k(e,t,i))}function L(e,t,i){return"string"==e?L:k(e,t,i)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var i=t.tokenize(e,t);return(i||o)&&"comment"!=i&&(l=null,t.state=t.state(o||i,e,t),l&&(i="error"==l?i+" error":l)),i},indent:function(t,i,n){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(r&&r.noIndent)return e.Pass;if(t.tokenize!=u&&t.tokenize!=d)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==a.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(a.multilineTagIndentFactor||1);if(a.alignCDATA&&/<!\[CDATA\[/.test(i))return 0;var o=i&&/^<(\/)?([\w_:\.-]*)/.exec(i);if(o&&o[1])for(;r;){if(r.tagName==o[2]){r=r.prev;break}if(!a.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(o)for(;r;){var l=a.contextGrabbers[r.tagName];if(!l||!l.hasOwnProperty(o[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:a.htmlMode?"html":"xml",helperType:a.htmlMode?"html":"xml",skipAttribute:function(e){e.state==A&&(e.state=k)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],i=e.context;i;i=i.prev)t.push(i.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}function eh(e){e.defineMode("stex",(function(e,t){function i(e,t){e.cmdState.push(t)}function n(e){return e.cmdState.length>0?e.cmdState[e.cmdState.length-1]:null}function r(e){var t=e.cmdState.pop();t&&t.closeBracket()}function o(e){for(var t=e.cmdState,i=t.length-1;i>=0;i--){var n=t[i];if("DEFAULT"!=n.name)return n}return{styleIdentifier:function(){return null}}}function l(e,t,i){return function(){this.name=e,this.bracketNo=0,this.style=t,this.styles=i,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var s={};function a(e,t){e.f=t}function c(e,t){var r;if(e.match(/^\\[a-zA-Z@]+/)){var l=e.current().slice(1);return i(t,r=new(r=s.hasOwnProperty(l)?s[l]:s.DEFAULT)),a(t,d),r.style}if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/\\]/))return"tag";if(e.match("\\["))return a(t,(function(e,t){return h(e,t,"\\]")})),"keyword";if(e.match("\\("))return a(t,(function(e,t){return h(e,t,"\\)")})),"keyword";if(e.match("$$"))return a(t,(function(e,t){return h(e,t,"$$")})),"keyword";if(e.match("$"))return a(t,(function(e,t){return h(e,t,"$")})),"keyword";var c=e.next();return"%"==c?(e.skipToEnd(),"comment"):"}"==c||"]"==c?(r=n(t))?(r.closeBracket(c),a(t,d),"bracket"):"error":"{"==c||"["==c?(i(t,r=new(r=s.DEFAULT)),"bracket"):/\d/.test(c)?(e.eatWhile(/[\w.%]/),"atom"):(e.eatWhile(/[\w\-_]/),"begin"==(r=o(t)).name&&(r.argument=e.current()),r.styleIdentifier())}function h(e,t,i){if(e.eatSpace())return null;if(i&&e.match(i))return a(t,c),"keyword";if(e.match(/^\\[a-zA-Z@]+/))return"tag";if(e.match(/^[a-zA-Z]+/))return"variable-2";if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/]/))return"tag";if(e.match(/^[\^_&]/))return"tag";if(e.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(e.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var n=e.next();return"{"==n||"}"==n||"["==n||"]"==n||"("==n||")"==n?"bracket":"%"==n?(e.skipToEnd(),"comment"):"error"}function d(e,t){var i=e.peek();return"{"==i||"["==i?(n(t).openBracket(i),e.eat(i),a(t,c),"bracket"):/[ \t\r]/.test(i)?(e.eat(i),null):(a(t,c),r(t),c(e,t))}return s.importmodule=l("importmodule","tag",["string","builtin"]),s.documentclass=l("documentclass","tag",["","atom"]),s.usepackage=l("usepackage","tag",["atom"]),s.begin=l("begin","tag",["atom"]),s.end=l("end","tag",["atom"]),s.label=l("label","tag",["atom"]),s.ref=l("ref","tag",["atom"]),s.eqref=l("eqref","tag",["atom"]),s.cite=l("cite","tag",["atom"]),s.bibitem=l("bibitem","tag",["atom"]),s.Bibitem=l("Bibitem","tag",["atom"]),s.RBibitem=l("RBibitem","tag",["atom"]),s.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:t.inMathMode?function(e,t){return h(e,t)}:c}},copyState:function(e){return{cmdState:e.cmdState.slice(),f:e.f}},token:function(e,t){return t.f(e,t)},blankLine:function(e){e.f=c,e.cmdState.length=0},lineComment:"%"}})),e.defineMIME("text/x-stex","stex"),e.defineMIME("text/x-latex","stex")}function th(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function i(e){t(e);var i=e.state.placeholder=document.createElement("pre");i.style.cssText="height: 0; overflow: visible",i.style.direction=e.getOption("direction"),i.className="CodeMirror-placeholder CodeMirror-line-like";var n=e.getOption("placeholder");"string"==typeof n&&(n=document.createTextNode(n)),i.appendChild(n),e.display.lineSpace.insertBefore(i,e.display.lineSpace.firstChild)}function n(e){setTimeout((function(){var n=!1;if(1==e.lineCount()){var r=e.getInputField();n="TEXTAREA"==r.nodeName?!e.getLine(0).length:!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)}n?i(e):t(e)}),20)}function r(e){l(e)&&i(e)}function o(e){var n=e.getWrapperElement(),r=l(e);n.className=n.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?i(e):t(e)}function l(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(i,l,s){var a=s&&s!=e.Init;if(l&&!a)i.on("blur",r),i.on("change",o),i.on("swapDoc",o),e.on(i.getInputField(),"compositionupdate",i.state.placeholderCompose=function(){n(i)}),o(i);else if(!l&&a){i.off("blur",r),i.off("change",o),i.off("swapDoc",o),e.off(i.getInputField(),"compositionupdate",i.state.placeholderCompose),t(i);var c=i.getWrapperElement();c.className=c.className.replace(" CodeMirror-empty","")}l&&!i.hasFocus()&&r(i)}))}function ih(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),i=e.Pos,n={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function r(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),a=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var h=r(o),d=!c&&a>=0&&h.test(s.text.charAt(a))&&n[s.text.charAt(a)]||h.test(s.text.charAt(a+1))&&n[s.text.charAt(++a)];if(!d)return null;var u=">"==d.charAt(1)?1:-1;if(o&&o.strict&&u>0!=(a==t.ch))return null;var p=e.getTokenTypeAt(i(t.line,a+1)),m=l(e,i(t.line,a+(u>0?1:0)),u,p,o);return null==m?null:{from:i(t.line,a),to:m&&m.pos,match:m&&m.ch==d.charAt(0),forward:u>0}}function l(e,t,o,l,s){for(var a=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,h=[],d=r(s),u=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),p=t.line;p!=u;p+=o){var m=e.getLine(p);if(m){var g=o>0?0:m.length-1,f=o>0?m.length:-1;if(!(m.length>a))for(p==t.line&&(g=t.ch-(o<0?1:0));g!=f;g+=o){var v=m.charAt(g);if(d.test(v)&&(void 0===l||(e.getTokenTypeAt(i(p,g+1))||"")==(l||""))){var y=n[v];if(y&&">"==y.charAt(1)==o>0)h.push(v);else{if(!h.length)return{pos:i(p,g),ch:v};h.pop()}}}}}return p-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,n,r){for(var l=e.state.matchBrackets.maxHighlightLineLength||1e3,s=r&&r.highlightNonMatching,a=[],c=e.listSelections(),h=0;h<c.length;h++){var d=c[h].empty()&&o(e,c[h].head,r);if(d&&(d.match||!1!==s)&&e.getLine(d.from.line).length<=l){var u=d.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";a.push(e.markText(d.from,i(d.from.line,d.from.ch+1),{className:u})),d.to&&e.getLine(d.to.line).length<=l&&a.push(e.markText(d.to,i(d.to.line,d.to.ch+1),{className:u}))}}if(a.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<a.length;e++)a[e].clear()}))};if(!n)return p;setTimeout(p,800)}}function a(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}function c(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}e.defineOption("matchBrackets",!1,(function(t,i,n){n&&n!=e.Init&&(t.off("cursorActivity",a),t.off("focus",a),t.off("blur",c),c(t)),i&&(t.state.matchBrackets="object"==typeof i?i:{},t.on("cursorActivity",a),t.on("focus",a),t.on("blur",c))})),e.defineExtension("matchBrackets",(function(){s(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,i){return(i||"boolean"==typeof t)&&(i?(i.strict=t,t=i):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,i,n){return l(this,e,t,i,n)}))}function nh(e){var t="CodeMirror-lint-markers",i="CodeMirror-lint-line-";function n(t,i,n){var r=document.createElement("div");function o(t){if(!r.parentNode)return e.off(document,"mousemove",o);r.style.top=Math.max(0,t.clientY-r.offsetHeight-5)+"px",r.style.left=t.clientX+5+"px"}return r.className="CodeMirror-lint-tooltip cm-s-"+t.options.theme,r.appendChild(n.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(r):document.body.appendChild(r),e.on(document,"mousemove",o),o(i),null!=r.style.opacity&&(r.style.opacity=1),r}function r(e){e.parentNode&&e.parentNode.removeChild(e)}function o(e){e.parentNode&&(null==e.style.opacity&&r(e),e.style.opacity=0,setTimeout((function(){r(e)}),600))}function l(t,i,r,l){var s=n(t,i,r);function a(){e.off(l,"mouseout",a),s&&(o(s),s=null)}var c=setInterval((function(){if(s)for(var e=l;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}if(!s)return clearInterval(c)}),400);e.on(l,"mouseout",a)}function s(e,t,i){for(var n in this.marked=[],t instanceof Function&&(t={getAnnotations:t}),t&&!0!==t||(t={}),this.options={},this.linterOptions=t.options||{},a)this.options[n]=a[n];for(var n in t)a.hasOwnProperty(n)?null!=t[n]&&(this.options[n]=t[n]):t.options||(this.linterOptions[n]=t[n]);this.timeout=null,this.hasGutter=i,this.onMouseOver=function(t){x(e,t)},this.waitingFor=0}var a={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function c(e){var i=e.state.lint;i.hasGutter&&e.clearGutter(t),i.options.highlightLines&&h(e);for(var n=0;n<i.marked.length;++n)i.marked[n].clear();i.marked.length=0}function h(e){e.eachLine((function(t){var i=t.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(t.wrapClass);i&&e.removeLineClass(t,"wrap",i[0])}))}function d(t,i,n,r,o){var s=document.createElement("div"),a=s;return s.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+n,r&&((a=s.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),0!=o&&e.on(a,"mouseover",(function(e){l(t,e,i,a)})),s}function u(e,t){return"error"==e?e:t}function p(e){for(var t=[],i=0;i<e.length;++i){var n=e[i],r=n.from.line;(t[r]||(t[r]=[])).push(n)}return t}function m(e){var t=e.severity;t||(t="error");var i=document.createElement("div");return i.className="CodeMirror-lint-message CodeMirror-lint-message-"+t,void 0!==e.messageHTML?i.innerHTML=e.messageHTML:i.appendChild(document.createTextNode(e.message)),i}function g(t,i){var n=t.state.lint,r=++n.waitingFor;function o(){r=-1,t.off("change",o)}t.on("change",o),i(t.getValue(),(function(i,l){t.off("change",o),n.waitingFor==r&&(l&&i instanceof e&&(i=l),t.operation((function(){v(t,i)})))}),n.linterOptions,t)}function f(t){var i=t.state.lint;if(i){var n=i.options,r=n.getAnnotations||t.getHelper(e.Pos(0,0),"lint");if(r)if(n.async||r.async)g(t,r);else{var o=r(t.getValue(),i.linterOptions,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){v(t,e)}))})):t.operation((function(){v(t,o)}))}}}function v(e,n){var r=e.state.lint;if(r){var o=r.options;c(e);for(var l=p(n),s=0;s<l.length;++s){var a=l[s];if(a){var h=[];a=a.filter((function(e){return!(h.indexOf(e.message)>-1)&&h.push(e.message)}));for(var g=null,f=r.hasGutter&&document.createDocumentFragment(),v=0;v<a.length;++v){var y=a[v],b=y.severity;b||(b="error"),g=u(g,b),o.formatAnnotation&&(y=o.formatAnnotation(y)),r.hasGutter&&f.appendChild(m(y)),y.to&&r.marked.push(e.markText(y.from,y.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+b,__annotation:y}))}r.hasGutter&&e.setGutterMarker(s,t,d(e,f,g,l[s].length>1,o.tooltips)),o.highlightLines&&e.addLineClass(s,"wrap",i+g)}}o.onUpdateLinting&&o.onUpdateLinting(n,l,e)}}function y(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){f(e)}),t.options.delay))}function b(e,t,i){for(var n=i.target||i.srcElement,r=document.createDocumentFragment(),o=0;o<t.length;o++){var s=t[o];r.appendChild(m(s))}l(e,i,r,n)}function x(e,t){var i=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(i.className)){for(var n=i.getBoundingClientRect(),r=(n.left+n.right)/2,o=(n.top+n.bottom)/2,l=e.findMarksAt(e.coordsChar({left:r,top:o},"client")),s=[],a=0;a<l.length;++a){var c=l[a].__annotation;c&&s.push(c)}s.length&&b(e,s,t)}}e.defineOption("lint",!1,(function(i,n,r){if(r&&r!=e.Init&&(c(i),!1!==i.state.lint.options.lintOnChange&&i.off("change",y),e.off(i.getWrapperElement(),"mouseover",i.state.lint.onMouseOver),clearTimeout(i.state.lint.timeout),delete i.state.lint),n){for(var o=i.getOption("gutters"),l=!1,a=0;a<o.length;++a)o[a]==t&&(l=!0);var h=i.state.lint=new s(i,n,l);h.options.lintOnChange&&i.on("change",y),0!=h.options.tooltips&&"gutter"!=h.options.tooltips&&e.on(i.getWrapperElement(),"mouseover",h.onMouseOver),f(i)}})),e.defineExtension("performLint",(function(){f(this)}))}async function rh(e){const t=M("../css/codemirror/")+(e+".css");console.log("<pb-code-editor> loading theme %s from %s",e,t);const i=await fetch(t).then(async e=>e.text()).catch(e=>"");return z`<style>${i}</style>`}pi(ma),Mc.inputStyles={textarea:qc,contenteditable:Fc},Mc.defineMode=function(e){Mc.defaults.mode||"null"==e||(Mc.defaults.mode=e),Oi.apply(this,arguments)},Mc.defineMIME=Ni,Mc.defineMode("null",()=>({token:e=>e.skipToEnd()})),Mc.defineMIME("text/plain","null"),Mc.defineExtension=(e,t)=>{Mc.prototype[e]=t},Mc.defineDocExtension=(e,t)=>{ma.prototype[e]=t},Mc.fromTextArea=Xc,Yc(Mc),Mc.version="5.62.2",Zc(Mc),Qc(Mc),Jc(Mc),eh(Mc),th(Mc),ih(Mc),nh(Mc);class oh extends w{static get styles(){return C`
|
|
893
|
-
:host {
|
|
894
|
-
display: block;
|
|
895
|
-
width: 100%;
|
|
896
|
-
margin: 0;
|
|
897
|
-
position: relative;
|
|
898
|
-
color:inherit;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
#editorDiv, .CodeMirror {
|
|
902
|
-
width: 100%;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
.label {
|
|
906
|
-
color: var(--paper-grey-500);
|
|
907
|
-
margin-bottom:5px;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
/* BASICS */
|
|
911
|
-
|
|
912
|
-
.CodeMirror {
|
|
913
|
-
/* Set height, width, borders, and global font properties here */
|
|
914
|
-
font-family: monospace;
|
|
915
|
-
height: auto;
|
|
916
|
-
color: black;
|
|
917
|
-
direction: ltr;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/* PADDING */
|
|
921
|
-
|
|
922
|
-
.CodeMirror-lines {
|
|
923
|
-
padding: 4px 0; /* Vertical padding around content */
|
|
924
|
-
}
|
|
925
|
-
.CodeMirror pre.CodeMirror-line,
|
|
926
|
-
.CodeMirror pre.CodeMirror-line-like {
|
|
927
|
-
padding: 0 4px; /* Horizontal padding of content */
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
931
|
-
background-color: white; /* The little square between H and V scrollbars */
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
/* GUTTER */
|
|
935
|
-
|
|
936
|
-
.CodeMirror-gutters {
|
|
937
|
-
border-right: 1px solid #ddd;
|
|
938
|
-
background-color: #f7f7f7;
|
|
939
|
-
white-space: nowrap;
|
|
940
|
-
}
|
|
941
|
-
.CodeMirror-linenumbers {}
|
|
942
|
-
.CodeMirror-linenumber {
|
|
943
|
-
padding: 0 3px 0 5px;
|
|
944
|
-
min-width: 20px;
|
|
945
|
-
text-align: right;
|
|
946
|
-
color: #999;
|
|
947
|
-
white-space: nowrap;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
.CodeMirror-guttermarker { color: black; }
|
|
951
|
-
.CodeMirror-guttermarker-subtle { color: #999; }
|
|
952
|
-
|
|
953
|
-
/* CURSOR */
|
|
954
|
-
|
|
955
|
-
.CodeMirror-cursor {
|
|
956
|
-
border-left: 1px solid black;
|
|
957
|
-
border-right: none;
|
|
958
|
-
width: 0;
|
|
959
|
-
}
|
|
960
|
-
/* Shown when moving in bi-directional text */
|
|
961
|
-
.CodeMirror div.CodeMirror-secondarycursor {
|
|
962
|
-
border-left: 1px solid silver;
|
|
963
|
-
}
|
|
964
|
-
.cm-fat-cursor .CodeMirror-cursor {
|
|
965
|
-
width: auto;
|
|
966
|
-
border: 0 !important;
|
|
967
|
-
background: #7e7;
|
|
968
|
-
}
|
|
969
|
-
.cm-fat-cursor div.CodeMirror-cursors {
|
|
970
|
-
z-index: 1;
|
|
971
|
-
}
|
|
972
|
-
.cm-fat-cursor-mark {
|
|
973
|
-
background-color: rgba(20, 255, 20, 0.5);
|
|
974
|
-
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
975
|
-
-moz-animation: blink 1.06s steps(1) infinite;
|
|
976
|
-
animation: blink 1.06s steps(1) infinite;
|
|
977
|
-
}
|
|
978
|
-
.cm-animate-fat-cursor {
|
|
979
|
-
width: auto;
|
|
980
|
-
border: 0;
|
|
981
|
-
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
982
|
-
-moz-animation: blink 1.06s steps(1) infinite;
|
|
983
|
-
animation: blink 1.06s steps(1) infinite;
|
|
984
|
-
background-color: #7e7;
|
|
985
|
-
}
|
|
986
|
-
@-moz-keyframes blink {
|
|
987
|
-
0% {}
|
|
988
|
-
50% { background-color: transparent; }
|
|
989
|
-
100% {}
|
|
990
|
-
}
|
|
991
|
-
@-webkit-keyframes blink {
|
|
992
|
-
0% {}
|
|
993
|
-
50% { background-color: transparent; }
|
|
994
|
-
100% {}
|
|
995
|
-
}
|
|
996
|
-
@keyframes blink {
|
|
997
|
-
0% {}
|
|
998
|
-
50% { background-color: transparent; }
|
|
999
|
-
100% {}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/* Can style cursor different in overwrite (non-insert) mode */
|
|
1003
|
-
.CodeMirror-overwrite .CodeMirror-cursor {}
|
|
1004
|
-
|
|
1005
|
-
.cm-tab { display: inline-block; text-decoration: inherit; }
|
|
1006
|
-
|
|
1007
|
-
.CodeMirror-rulers {
|
|
1008
|
-
position: absolute;
|
|
1009
|
-
left: 0; right: 0; top: -50px; bottom: 0;
|
|
1010
|
-
overflow: hidden;
|
|
1011
|
-
}
|
|
1012
|
-
.CodeMirror-ruler {
|
|
1013
|
-
border-left: 1px solid #ccc;
|
|
1014
|
-
top: 0; bottom: 0;
|
|
1015
|
-
position: absolute;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
/* DEFAULT THEME */
|
|
1019
|
-
|
|
1020
|
-
.cm-s-default .cm-header {color: blue;}
|
|
1021
|
-
.cm-s-default .cm-quote {color: #090;}
|
|
1022
|
-
.cm-negative {color: #d44;}
|
|
1023
|
-
.cm-positive {color: #292;}
|
|
1024
|
-
.cm-header, .cm-strong {font-weight: bold;}
|
|
1025
|
-
.cm-em {font-style: italic;}
|
|
1026
|
-
.cm-link {text-decoration: underline;}
|
|
1027
|
-
.cm-strikethrough {text-decoration: line-through;}
|
|
1028
|
-
|
|
1029
|
-
.cm-s-default .cm-keyword {color: #708;}
|
|
1030
|
-
.cm-s-default .cm-atom {color: #219;}
|
|
1031
|
-
.cm-s-default .cm-number {color: #164;}
|
|
1032
|
-
.cm-s-default .cm-def {color: #00f;}
|
|
1033
|
-
.cm-s-default .cm-variable,
|
|
1034
|
-
.cm-s-default .cm-punctuation,
|
|
1035
|
-
.cm-s-default .cm-property,
|
|
1036
|
-
.cm-s-default .cm-operator {}
|
|
1037
|
-
.cm-s-default .cm-variable-2 {color: #05a;}
|
|
1038
|
-
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
|
|
1039
|
-
.cm-s-default .cm-comment {color: #a50;}
|
|
1040
|
-
.cm-s-default .cm-string {color: #a11;}
|
|
1041
|
-
.cm-s-default .cm-string-2 {color: #f50;}
|
|
1042
|
-
.cm-s-default .cm-meta {color: #555;}
|
|
1043
|
-
.cm-s-default .cm-qualifier {color: #555;}
|
|
1044
|
-
.cm-s-default .cm-builtin {color: #30a;}
|
|
1045
|
-
.cm-s-default .cm-bracket {color: #997;}
|
|
1046
|
-
.cm-s-default .cm-tag {color: #170;}
|
|
1047
|
-
.cm-s-default .cm-attribute {color: #00c;}
|
|
1048
|
-
.cm-s-default .cm-hr {color: #999;}
|
|
1049
|
-
.cm-s-default .cm-link {color: #00c;}
|
|
1050
|
-
|
|
1051
|
-
.cm-s-default .cm-error {color: #f00;}
|
|
1052
|
-
.cm-invalidchar {color: #f00;}
|
|
1053
|
-
|
|
1054
|
-
.CodeMirror-composing { border-bottom: 2px solid; }
|
|
1055
|
-
|
|
1056
|
-
/* Default styles for common addons */
|
|
1057
|
-
|
|
1058
|
-
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
|
|
1059
|
-
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
1060
|
-
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
|
1061
|
-
.CodeMirror-activeline-background {background: #e8f2ff;}
|
|
1062
|
-
|
|
1063
|
-
/* STOP */
|
|
1064
|
-
|
|
1065
|
-
/* The rest of this file contains styles related to the mechanics of
|
|
1066
|
-
the editor. You probably shouldn't touch them. */
|
|
1067
|
-
|
|
1068
|
-
.CodeMirror {
|
|
1069
|
-
position: relative;
|
|
1070
|
-
overflow: hidden;
|
|
1071
|
-
background: white;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
.CodeMirror-scroll {
|
|
1075
|
-
/* 50px is the magic margin used to hide the element's real scrollbars */
|
|
1076
|
-
/* See overflow: hidden in .CodeMirror */
|
|
1077
|
-
margin-bottom: -50px; margin-right: -50px;
|
|
1078
|
-
padding-bottom: 50px;
|
|
1079
|
-
max-height: 100%;
|
|
1080
|
-
outline: none; /* Prevent dragging from highlighting the element */
|
|
1081
|
-
position: relative;
|
|
1082
|
-
}
|
|
1083
|
-
.CodeMirror-sizer {
|
|
1084
|
-
position: relative;
|
|
1085
|
-
border-right: 50px solid transparent;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
|
1089
|
-
before actual scrolling happens, thus preventing shaking and
|
|
1090
|
-
flickering artifacts. */
|
|
1091
|
-
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
1092
|
-
position: absolute;
|
|
1093
|
-
z-index: 6;
|
|
1094
|
-
display: none;
|
|
1095
|
-
}
|
|
1096
|
-
.CodeMirror-vscrollbar {
|
|
1097
|
-
right: 0; top: 0;
|
|
1098
|
-
overflow-x: hidden;
|
|
1099
|
-
overflow-y: scroll;
|
|
1100
|
-
}
|
|
1101
|
-
.CodeMirror-hscrollbar {
|
|
1102
|
-
bottom: 0; left: 0;
|
|
1103
|
-
overflow-y: hidden;
|
|
1104
|
-
overflow-x: scroll;
|
|
1105
|
-
}
|
|
1106
|
-
.CodeMirror-scrollbar-filler {
|
|
1107
|
-
right: 0; bottom: 0;
|
|
1108
|
-
}
|
|
1109
|
-
.CodeMirror-gutter-filler {
|
|
1110
|
-
left: 0; bottom: 0;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
.CodeMirror-gutters {
|
|
1114
|
-
position: absolute; left: 0; top: 0;
|
|
1115
|
-
min-height: 100%;
|
|
1116
|
-
z-index: 3;
|
|
1117
|
-
}
|
|
1118
|
-
.CodeMirror-gutter {
|
|
1119
|
-
white-space: normal;
|
|
1120
|
-
height: 100%;
|
|
1121
|
-
display: inline-block;
|
|
1122
|
-
vertical-align: top;
|
|
1123
|
-
margin-bottom: -50px;
|
|
1124
|
-
}
|
|
1125
|
-
.CodeMirror-gutter-wrapper {
|
|
1126
|
-
position: absolute;
|
|
1127
|
-
z-index: 4;
|
|
1128
|
-
background: none !important;
|
|
1129
|
-
border: none !important;
|
|
1130
|
-
}
|
|
1131
|
-
.CodeMirror-gutter-background {
|
|
1132
|
-
position: absolute;
|
|
1133
|
-
top: 0; bottom: 0;
|
|
1134
|
-
z-index: 4;
|
|
1135
|
-
}
|
|
1136
|
-
.CodeMirror-gutter-elt {
|
|
1137
|
-
position: absolute;
|
|
1138
|
-
cursor: default;
|
|
1139
|
-
z-index: 4;
|
|
1140
|
-
}
|
|
1141
|
-
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
|
|
1142
|
-
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
|
|
1143
|
-
|
|
1144
|
-
.CodeMirror-lines {
|
|
1145
|
-
cursor: text;
|
|
1146
|
-
min-height: 1px; /* prevents collapsing before first draw */
|
|
1147
|
-
}
|
|
1148
|
-
.CodeMirror pre.CodeMirror-line,
|
|
1149
|
-
.CodeMirror pre.CodeMirror-line-like {
|
|
1150
|
-
/* Reset some styles that the rest of the page might have set */
|
|
1151
|
-
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
|
1152
|
-
border-width: 0;
|
|
1153
|
-
background: transparent;
|
|
1154
|
-
font-family: inherit;
|
|
1155
|
-
font-size: inherit;
|
|
1156
|
-
margin: 0;
|
|
1157
|
-
white-space: pre;
|
|
1158
|
-
word-wrap: normal;
|
|
1159
|
-
line-height: inherit;
|
|
1160
|
-
color: inherit;
|
|
1161
|
-
z-index: 2;
|
|
1162
|
-
position: relative;
|
|
1163
|
-
overflow: visible;
|
|
1164
|
-
-webkit-tap-highlight-color: transparent;
|
|
1165
|
-
-webkit-font-variant-ligatures: contextual;
|
|
1166
|
-
font-variant-ligatures: contextual;
|
|
1167
|
-
}
|
|
1168
|
-
.CodeMirror-wrap pre.CodeMirror-line,
|
|
1169
|
-
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
1170
|
-
word-wrap: break-word;
|
|
1171
|
-
white-space: pre-wrap;
|
|
1172
|
-
word-break: normal;
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
.CodeMirror-linebackground {
|
|
1176
|
-
position: absolute;
|
|
1177
|
-
left: 0; right: 0; top: 0; bottom: 0;
|
|
1178
|
-
z-index: 0;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.CodeMirror-linewidget {
|
|
1182
|
-
position: relative;
|
|
1183
|
-
z-index: 2;
|
|
1184
|
-
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
.CodeMirror-widget {}
|
|
1188
|
-
|
|
1189
|
-
.CodeMirror-rtl pre { direction: rtl; }
|
|
1190
|
-
|
|
1191
|
-
.CodeMirror-code {
|
|
1192
|
-
outline: none;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
/* Force content-box sizing for the elements where we expect it */
|
|
1196
|
-
.CodeMirror-scroll,
|
|
1197
|
-
.CodeMirror-sizer,
|
|
1198
|
-
.CodeMirror-gutter,
|
|
1199
|
-
.CodeMirror-gutters,
|
|
1200
|
-
.CodeMirror-linenumber {
|
|
1201
|
-
-moz-box-sizing: content-box;
|
|
1202
|
-
box-sizing: content-box;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
.CodeMirror-measure {
|
|
1206
|
-
position: absolute;
|
|
1207
|
-
width: 100%;
|
|
1208
|
-
height: 0;
|
|
1209
|
-
overflow: hidden;
|
|
1210
|
-
visibility: hidden;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
.CodeMirror-cursor {
|
|
1214
|
-
position: absolute;
|
|
1215
|
-
pointer-events: none;
|
|
1216
|
-
}
|
|
1217
|
-
.CodeMirror-measure pre { position: static; }
|
|
1218
|
-
|
|
1219
|
-
div.CodeMirror-cursors {
|
|
1220
|
-
visibility: hidden;
|
|
1221
|
-
position: relative;
|
|
1222
|
-
z-index: 3;
|
|
1223
|
-
}
|
|
1224
|
-
div.CodeMirror-dragcursors {
|
|
1225
|
-
visibility: visible;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
.CodeMirror-focused div.CodeMirror-cursors {
|
|
1229
|
-
visibility: visible;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
.CodeMirror-selected { background: #d9d9d9; }
|
|
1233
|
-
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
|
1234
|
-
.CodeMirror-crosshair { cursor: crosshair; }
|
|
1235
|
-
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
|
1236
|
-
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
|
1237
|
-
|
|
1238
|
-
.cm-searching {
|
|
1239
|
-
background-color: #ffa;
|
|
1240
|
-
background-color: rgba(255, 255, 0, .4);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
/* Used to force a border model for a node */
|
|
1244
|
-
.cm-force-border { padding-right: .1px; }
|
|
1245
|
-
|
|
1246
|
-
@media print {
|
|
1247
|
-
/* Hide the cursor when printing */
|
|
1248
|
-
.CodeMirror div.CodeMirror-cursors {
|
|
1249
|
-
visibility: hidden;
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
/* See issue #2901 */
|
|
1254
|
-
.cm-tab-wrap-hack:after { content: ''; }
|
|
1255
|
-
|
|
1256
|
-
/* Help users use markselection to safely style text background */
|
|
1257
|
-
span.CodeMirror-selectedtext { background: none; }
|
|
1258
|
-
|
|
1259
|
-
/* The lint marker gutter */
|
|
1260
|
-
.CodeMirror-lint-markers {
|
|
1261
|
-
width: 16px;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
.CodeMirror-lint-tooltip {
|
|
1265
|
-
background-color: #ffd;
|
|
1266
|
-
border: 1px solid black;
|
|
1267
|
-
border-radius: 4px 4px 4px 4px;
|
|
1268
|
-
color: black;
|
|
1269
|
-
font-family: monospace;
|
|
1270
|
-
font-size: 10pt;
|
|
1271
|
-
overflow: hidden;
|
|
1272
|
-
padding: 2px 5px;
|
|
1273
|
-
position: fixed;
|
|
1274
|
-
white-space: pre;
|
|
1275
|
-
white-space: pre-wrap;
|
|
1276
|
-
z-index: 100;
|
|
1277
|
-
max-width: 600px;
|
|
1278
|
-
opacity: 0;
|
|
1279
|
-
transition: opacity .4s;
|
|
1280
|
-
-moz-transition: opacity .4s;
|
|
1281
|
-
-webkit-transition: opacity .4s;
|
|
1282
|
-
-o-transition: opacity .4s;
|
|
1283
|
-
-ms-transition: opacity .4s;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {
|
|
1287
|
-
background-position: left bottom;
|
|
1288
|
-
background-repeat: repeat-x;
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
.CodeMirror-lint-mark-error {
|
|
1292
|
-
background-image:
|
|
1293
|
-
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
|
|
1294
|
-
;
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
.CodeMirror-lint-mark-warning {
|
|
1298
|
-
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
|
|
1302
|
-
background-position: center center;
|
|
1303
|
-
background-repeat: no-repeat;
|
|
1304
|
-
cursor: pointer;
|
|
1305
|
-
display: inline-block;
|
|
1306
|
-
height: 16px;
|
|
1307
|
-
width: 16px;
|
|
1308
|
-
vertical-align: middle;
|
|
1309
|
-
position: relative;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
|
|
1313
|
-
padding-left: 18px;
|
|
1314
|
-
background-position: top left;
|
|
1315
|
-
background-repeat: no-repeat;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
|
|
1319
|
-
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
|
|
1323
|
-
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
.CodeMirror-lint-marker-multiple {
|
|
1327
|
-
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
|
|
1328
|
-
background-repeat: no-repeat;
|
|
1329
|
-
background-position: right bottom;
|
|
1330
|
-
width: 100%; height: 100%;
|
|
1331
|
-
}
|
|
1332
|
-
`}static get properties(){return{_editor:{type:Object},code:{type:String,reflect:!0},mode:{type:String},placeholder:{type:String},tabSize:{type:Number},label:{type:String},theme:{type:String},_themeStyles:{type:String},linter:{attribute:!0},apiVersion:{type:String}}}constructor(){super(),this.code="",this.mode="javascript",this.placeholder="odd.editor.model.empty",this.tabSize=2,this.label="",this.linter="",this.theme=null,this._themeStyles=null,this.apiVersion="0.9.0"}set theme(e){e&&rh(e).then(t=>{this._themeStyles=t,this._editor.setOption("theme",e)}),this.requestUpdate("_themeStyles",e)}render(){return z`
|
|
1333
|
-
${this._themeStyles}
|
|
1334
|
-
<iron-ajax id="lint" url="${this.linter}"
|
|
1335
|
-
handle-as="json"
|
|
1336
|
-
method="POST"
|
|
1337
|
-
@error="${this._handleLintError}"></iron-ajax>
|
|
1338
|
-
|
|
1339
|
-
<div class="label">${this.label}</div>
|
|
1340
|
-
<div id="editorDiv"></div>
|
|
1341
|
-
`}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),"code"===e&&(this.setSource(i),this.code=i,this.requestUpdate())}connectedCallback(){super.connectedCallback(),this.placeholder=g(this.placeholder),document.addEventListener("pb-i18n-update",e=>{this.placeholder=e.detail.t(this.placeholder),this._editor&&this._editor.setOption("placeholder",this.placeholder)})}async firstUpdated(){await this.updateComplete,this._initEditor()}_initEditor(){const e={value:this.code||"",mode:this.mode,lineNumbers:!0,lineWrapping:!0,autofocus:!1,matchBrackets:!0,placeholder:this.placeholder,gutters:["CodeMirror-lint-markers"],lint:!0,viewportMargin:1/0};this.theme&&(e.theme=this.theme);const t=Mc(this.shadowRoot.getElementById("editorDiv"),e);t.on("change",()=>this.setCode(t.getValue())),this._editor=t,"xquery"===this.mode&&""!==this.linter&&Mc.registerHelper("lint","xquery",this.lintXQuery.bind(this))}lintXQuery(e){if(!e)return[];const t=this.shadowRoot.getElementById("lint");return new Promise(i=>{if(k(this.apiVersion,"1.0.0")){t.contentType="application/x-www-form-urlencoded",t.params=null;const i={action:"lint",code:e};t.body=i}else t.contentType="text",t.params={code:e};t.generateRequest().completes.then(e=>{const t=e.response;"fail"===t.status?i([{message:t.message,severity:"error",from:Mc.Pos(t.line-1,t.column),to:Mc.Pos(t.line-1,t.column+3)}]):i([])})})}getSource(){return this._editor?this._editor.getValue():""}setSource(e){if(!this._editor||e===this._editor.getValue())return;const t=e||"";this._editor.setValue(t),this._editor.refresh()}refresh(){this._editor&&this._editor.refresh()}setCode(e){this.code=e,this.dispatchEvent(new CustomEvent("code-changed",{composed:!0,bubbles:!0,detail:{code:this.code}}))}_handleLintError(e){console.error("error while linting: ",e.detail);const t=e.detail.error.message;if(t.includes("404")){const e=this.shadowRoot.getElementById("lint").url;this.dispatchEvent(new CustomEvent("linting-error",{composed:!0,bubbles:!0,detail:{error:"linting service unavailable",url:e}}))}else this.dispatchEvent(new CustomEvent("linting-error",{composed:!0,bubbles:!0,detail:{error:t}}))}}customElements.define("pb-code-editor",oh);class lh extends w{static get styles(){return C`
|
|
1342
|
-
:host {
|
|
1343
|
-
display:block;
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
paper-dialog{
|
|
1347
|
-
min-width:300px;
|
|
1348
|
-
}
|
|
1349
|
-
`}static get properties(){return{title:{type:String,reflect:!0},type:{type:String},message:{type:String,reflect:!0}}}constructor(){super(),this.title="",this.message="",this.type="message"}render(){return z`
|
|
1350
|
-
<paper-dialog id="modal">
|
|
1351
|
-
<h2 id="title">${this.title}</h2>
|
|
1352
|
-
<paper-dialog-scrollable id="message" class="message" tabindex="0">${L(this.message)}</paper-dialog-scrollable>
|
|
1353
|
-
|
|
1354
|
-
<div class="buttons">
|
|
1355
|
-
<paper-button dialog-confirm="dialog-confirm" autofocus="autofocus" ?hidden="${this.isConfirm()}">${f("dialogs.close")}</paper-button>
|
|
1356
|
-
<paper-button id="confirm" dialog-confirm="dialog-confirm" autofocus="autofocus" ?hidden="${this.isMessage()}">${f("dialogs.yes")}</paper-button>
|
|
1357
|
-
<paper-button id="reject" dialog-confirm="dialog-confirm" autofocus="autofocus" ?hidden="${this.isMessage()}">${f("dialogs.no")}</paper-button>
|
|
1358
|
-
</div>
|
|
1359
|
-
</paper-dialog>
|
|
1360
|
-
`}firstUpdated(){this.modal=this.shadowRoot.getElementById("modal")}updated(){this.modal&&this.modal.notifyResize()}show(e,t){this.type="message",this.set(e,t),this.modal.noCancelOnOutsideClick=!1,this.modal.noCancelOnEscKey=!1,this.modal.open()}confirm(e,t){this.type="confirm",this.set(e,t),this.modal.noCancelOnOutsideClick=!0,this.modal.noCancelOnEscKey=!0,this.modal.open();const i=this.shadowRoot.getElementById("confirm"),n=this.shadowRoot.getElementById("reject");return new Promise((e,t)=>{i.addEventListener("click",e,{once:!0}),n.addEventListener("click",t,{once:!0})})}set(e,t){(e||t)&&(e&&(this.title=e),t&&(this.message=t),this.modal.notifyResize())}isMessage(){return"message"===this.type}isConfirm(){return"confirm"===this.type}}customElements.define("pb-message",lh);export{Ae as D,Ke as E,V as P,Me as T,me as p,L as u};
|