保安服务企业管理项目备份
zhongrj
2023-09-14 21febfb3df1d7bd08663272e87b46be05843661f
流程设计器集成修改
5 files modified
13 files added
3484 ■■■■■ changed files
public/cdn/wf-design-base/fonts/bpmn.08b5f281.eot patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/bpmn.3c4c9f45.woff2 patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/bpmn.acbc6cbd.woff patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/bpmn.f922519e.ttf patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/codicon.22349029.ttf patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/fontawesome-webfont.674f50d2.eot patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/fontawesome-webfont.af7ae505.woff2 patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/fontawesome-webfont.b06871f2.ttf patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/fontawesome-webfont.fee66e71.woff patch | view | raw | blame | history
public/cdn/wf-design-base/img/bpmn.1381b44e.svg 224 ●●●●● patch | view | raw | blame | history
public/cdn/wf-design-base/img/fontawesome-webfont.912ec66d.svg 2671 ●●●●● patch | view | raw | blame | history
public/cdn/wf-design-base/index.umd.min.js 25 ●●●●● patch | view | raw | blame | history
public/index.html 3 ●●●● patch | view | raw | blame | history
src/api/flow/flow.js 8 ●●●●● patch | view | raw | blame | history
src/components/flow-design/main.vue 123 ●●●●● patch | view | raw | blame | history
src/main.js 1 ●●●● patch | view | raw | blame | history
src/views/flow/model.vue 424 ●●●●● patch | view | raw | blame | history
vue.config.js 5 ●●●● patch | view | raw | blame | history
public/cdn/wf-design-base/fonts/bpmn.08b5f281.eot
Binary files differ
public/cdn/wf-design-base/fonts/bpmn.3c4c9f45.woff2
Binary files differ
public/cdn/wf-design-base/fonts/bpmn.acbc6cbd.woff
Binary files differ
public/cdn/wf-design-base/fonts/bpmn.f922519e.ttf
Binary files differ
public/cdn/wf-design-base/fonts/codicon.22349029.ttf
Binary files differ
public/cdn/wf-design-base/fonts/fontawesome-webfont.674f50d2.eot
Binary files differ
public/cdn/wf-design-base/fonts/fontawesome-webfont.af7ae505.woff2
Binary files differ
public/cdn/wf-design-base/fonts/fontawesome-webfont.b06871f2.ttf
Binary files differ
public/cdn/wf-design-base/fonts/fontawesome-webfont.fee66e71.woff
Binary files differ
public/cdn/wf-design-base/img/bpmn.1381b44e.svg
New file
@@ -0,0 +1,224 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>camunda Services GmbH</metadata>
<defs>
<font id="bpmn" horiz-adv-x="1000" >
<font-face font-family="bpmn" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="screw-wrench" unicode="&#xe800;" d="M756 704c-55 0-108-22-147-61-39-39-61-92-61-147 0-55 22-108 61-147 39-39 92-61 147-61 91 0 171 59 198 146l-149-40-116 77 62 124 79 21 78 21c-39 42-94 67-152 67z m-247-278l-461-316c-14-42 32-111 80-114l451 310c-36 31-61 73-70 120z" horiz-adv-x="1000" />
<glyph glyph-name="trash" unicode="&#xe801;" d="M429 743c-58-4-70 11-71-52l0-9-172-56c-20-5-20-29 0-30l624 0c19 0 19 25 0 30l-168 55 0 10c0 62-7 48-71 52l-71 0z m-215-204c-14 0-25-12-24-26l50-555c1-12 11-22 24-22l457 0c13 0 23 9 25 22l64 554c2 15-9 27-24 27l-143 0-143 0z m27-49l259 0 259 0-59-505-414 0z m120-73c-1 0-2 0-3 0-16-1-28-15-25-31l44-320c2-15 16-26 31-24 15 2 25 17 22 32l-44 319c-2 13-12 23-25 24z m280 0c-13 0-25-10-27-24l-44-319c-3-15 7-30 22-32 16-2 29 9 31 24l44 320c3 16-9 30-26 31z" horiz-adv-x="1000" />
<glyph glyph-name="conditional-flow" unicode="&#xe802;" d="M911 749c0 0-285-146-431-214 31-28 60-59 90-89-140-142-77-81-199-205l-209-34-41-247 247 40 3 15 31 194c123 125 60 64 201 206 30-29 60-60 90-90 77 153 218 424 218 424z m-552-552l-27-160-160-27 26 161 161 26z" horiz-adv-x="1000" />
<glyph glyph-name="default-flow" unicode="&#xe803;" d="M911 749c0 0-285-146-431-214 31-28 60-59 90-89-91-93-183-186-275-279l-166 0 0-43 124 0c-42-42-84-84-126-126 11-11 22-21 33-31 52 52 104 105 156 157l175 0 0 43-133 0c82 83 163 166 245 248 30-29 60-60 90-90 77 153 218 424 218 424z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-parallel" unicode="&#xe804;" d="M500 802c-9 0-19-4-26-11l-415-415c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-7 7-17 11-26 11z m0-62l390-390-390-390-390 390 390 390z m-11-161c0 0-4-1-4-1 0 0-4-3-4-3 0 0-3-4-3-4 0 0-1-4-1-4l0-194-194 0 0 0c0 0-4-1-4-1 0 0-4-3-4-3l0 0c0 0-3-4-3-4 0 0-1-4-1-4l0-21c0 0 1-5 1-5 0 0 3-4 3-4 0 0 4-3 4-3 0 0 4-1 4-1l194 0 0-194 0 0c0 0 1-4 1-4 0 0 3-4 3-4 0 0 4-3 4-3 0 0 4-1 4-1l22 0c0 0 4 1 4 1 0 0 4 3 4 3 0 0 3 4 3 4 0 0 1 4 1 4l0 194 194 0c0 0 4 1 4 1 0 0 4 3 4 3 0 0 3 4 3 4 0 0 1 4 1 4l0 22c0 0-1 4-1 4 0 0-3 4-3 4 0 0-4 3-4 3 0 0-4 1-4 1l-194 0 0 194c0 0-1 4-1 4 0 0-3 4-3 4 0 0-4 3-4 3 0 0-4 1-4 1l-22 0z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-cancel" unicode="&#xe805;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-112-111c-29-30-58-59-87-88 37-38 75-75 112-113-37-36-74-73-110-110 28-29 57-58 86-86 37 37 73 73 110 110 38-37 75-75 113-112 29 29 58 58 88 87-38 38-76 75-113 113 37 37 74 73 110 110-28 29-57 58-86 86-37-36-73-73-110-110-38 37-75 75-113 113z m0-35c38-38 75-75 113-113 37 37 73 74 110 111 17-17 35-35 52-52-37-37-74-73-111-110 38-38 75-75 113-113-18-18-35-35-53-53-38 38-75 75-113 113-36-37-73-74-110-111-17 17-35 35-52 52 37 37 74 74 111 110-38 38-75 76-113 113 18 18 35 35 53 53z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-message" unicode="&#xe806;" d="M295 506l0-312 410 0 0 312-410 0z m91-49l228 0c-38-30-76-60-114-90-38 30-76 60-114 90z m270-28l0-186-312 0 0 186c52-42 104-83 156-125 52 42 104 83 156 125z m-156 373l0 0-5 0-1 0 0 0-5 0 0 0 0 0-6-1 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 0-5-1 0 0-1 0-5 0 0 0 0 0-5 0-1 0 0-1-5 0 0 0 0 0-5-1-1 0 0 0-5 0 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1 0 0-1 0-5-1 0 0 0 0-5-1 0 0 0 0-6-2 0 0 0 0-5-1 0 0 0 0-5-1-4-2-4-2-4-3-2-4-3-4-1-4 0-5 0-4 1-4 2-5 3-3 3-3 4-3 4-1 5-1 4 0 4 1 5 1 5 1 4 1 5 1 5 1 5 1 5 1 5 1 5 0 4 1 5 1 5 0 5 1 5 0 5 1 5 0 5 0 5 1 5 0 5 0 5 0 5 0 5 0 5 0 5-1 5 0 5 0 5-1 5 0 5-1 5 0 5-1 5-1 4 0 5-1 5-1 5-1 5-1 4-1 5 0 4 0 5 1 4 2 3 3 4 3 2 4 2 4 1 4 0 5-1 4-2 5-2 4-3 3-4 3-4 2-3 1-5 1 0 0 0 0-5 1 0 0-1 0-5 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 1 0 0-6 0 0 0 0 0-5 0 0 0-1 0-5 1 0 0 0 0-5 0-1 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 0 0 0z m255-83l-5 0-4-1-5-2-3-2-4-4-2-3-2-4-1-5-1-4 1-5 1-4 3-4 3-4 2-2 2-1 4-3 4-3 4-3 3-3 4-4 4-3 4-3 3-3 4-4 4-3 3-4 4-3 3-4 4-3 3-4 4-4 3-3 3-4 3-4 4-4 3-3 3-4 3-4 3-4 3-4 3-4 2-4 3-4 3-5 3-4 2-4 3-4 2-4 3-5 2-4 2-4 3-5 2-4 1-2 2-4 4-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 4-1 5-1 3-1 3 0 0 0 0-3 5 0 0 0 0-2 5 0 0-1 0-2 4 0 1 0 0-3 4 0 0 0 1-2 4-1 0 0 0-2 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0-1 0-3 4 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-4 4 0 1 0 0-3 4 0 0 0 0-3 4-1 0 0 0-3 4 0 1 0 0-4 4 0 0 0 0-3 4 0 0-1 0-3 4 0 0 0 0-4 4 0 0 0 0-4 4 0 0 0 1-4 3 0 0 0 1-3 3-1 0 0 1-3 3-1 0 0 0-3 4-1 0 0 0-4 4 0 0 0 0-4 4 0 0 0 0-4 3 0 1 0 0-4 3 0 0 0 0-4 4 0 0-1 0-4 3 0 0 0 1-4 3 0 0 0 0-4 3 0 0-1 0-4 4 0 0 0 0-4 3 0 0 0 0-2 1-4 3-4 1-4 1z m-519-10l-5 0-4-1-4-2-4-2-1-1 0 0 0 0-4-3 0-1 0 0-4-3 0 0-1 0-4-4 0 0 0 0-4-3 0 0 0-1-4-3 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0-1 0-3-4 0 0 0 0-4-4 0 0 0-1-3-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0 0-1-4-4 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-4 0 0-1 0-3-5 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-5 0 0 0 0-3-4 0 0 0 0-2-5-1 0 0 0-2-5 0 0 0 0-3-4 0-1 0 0-3-4 0 0 0-1-2-4 0 0 0 0-3-5 0 0 0 0-2-5 0 0-1 0-2-5 0 0 0 0-2-5 0 0 0 0-3-5 0 0 0 0-1-3-1-4-1-5 0-4 1-5 2-4 3-4 3-3 4-2 4-2 4-1 5 0 4 0 5 2 3 2 4 3 3 4 2 3 1 3 2 4 2 5 2 4 2 4 3 5 2 4 2 4 3 5 2 4 3 4 3 4 2 4 3 5 3 4 2 4 3 4 3 4 3 4 3 4 3 4 3 3 4 4 3 4 3 4 3 3 4 4 3 4 4 3 3 4 4 3 3 4 4 3 4 4 3 3 4 3 4 3 4 4 4 3 1 1 3 3 3 3 2 5 1 4 0 4-1 5-1 4-2 4-3 4-4 3-4 2-4 2-4 0z m264 0l0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 0-5 0 0-1 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 0 0 0 0 0-4-1 0 0-1 0-1 0-4-1-5-2-3-2-4-3-2-4-2-4-2-4 0-5 1-4 1-5 2-4 3-3 4-3 4-3 4-1 4-1 4 0 1 1 4 0 4 0 4 1 4 0 3 0 4 0 4 0 4 0 4 0 4 0 4 0 3 0 4 0 4-1 4 0 4 0 3-1 4 0 4-1 4 0 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4-1 3-1 4-1 4-1 3-1 4-1 3-2 4-1 4-1 3-1 4-2 3-1 4-1 3-2 0 0 0 0 4-1 5-1 5 0 4 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4 0 5-2 4-2 4-3 3-4 3-3 2 0 0-1 0 0 0-3 2-1 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0-1 0-3 1-1 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0-1 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-5 0 0 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 1 0 0 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0 1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0z m-155-39l-4 0-5-1-3-1-2-1 0 0 0 0-4-2 0 0 0 0-3-2-1-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-2 0 0 0 0-4-2 0-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0-1-1-3-2 0 0 0 0-3-3 0 0-1 0-3-2 0-1 0 0-3-2 0 0-1 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0-1 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-4 0 0 0 0-3-3 0 0 0 0-2-3-1 0 0-1-2-3 0 0 0 0-3-3 0 0 0-1-3-3 0 0 0 0-2-3 0 0-1-1-2-3 0 0 0 0-2-3-1-1 0 0-2-3 0 0 0 0-2-4-1 0 0 0-2-3-2-4-1-4-1-5 1-4 1-5 2-4 3-3 3-4 4-2 4-2 4-1 5 0 4 1 5 2 4 2 3 3 2 3 2 3 2 3 2 3 3 3 2 4 2 3 2 3 3 3 2 3 3 2 2 3 3 3 2 3 3 3 2 3 3 3 3 2 3 3 2 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 3 2 4 2 3 2 3 2 3 2 4 2 3 2 2 0 3 3 4 3 2 4 2 4 1 4 1 5-1 4-1 5-3 4-2 3-4 3-4 2-4 2-5 0z m393-59l-5-1-4-1-4-1-4-3-3-3-3-4-1-4-1-5-1-4 1-5 2-4 2-4 2-3 3-2 3-3 2-3 3-3 2-3 3-3 2-3 3-2 2-3 3-3 2-3 2-3 3-4 2-3 2-3 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-4 2-3 1-3 2-4 2-3 1-3 2-4 2-3 1-4 1-3 2-4 1-3 2-4 1-3 1-4 1-4 2-3 1-4 1-3 0-3 2-4 2-4 4-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 4 0 2 0 0 0 0-2 4 0 0 0 1-1 3 0 1 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-1 3 0 0-1 1-1 3 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0-1 0-1 4-1 0 0 0-2 3 0 1 0 0-2 3 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 3 0 0 0 1-2 3 0 0 0 0-3 4 0 0 0 0-2 3 0 0 0 1-3 3 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 3 0 1 0 0-2 3-1 0 0 0-2 3 0 1 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 4 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 1-3 3 0 0 0 0-3 2-3 3-4 3-5 1-4 1z m-564-171l-5 0-4-1-4-2-4-2-3-4-3-3-2-4-1-4-1-4 0 0 0 0 0-4 0 0-1 0 0-4 0-1 0 0-1-4 0 0 0 0-1-4 0 0 0 0 0-5 0 0 0 0-1-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0-1 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0-1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 1-5 0 0 0 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 1-4 0 0 0 0 0-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 0-4 1-1 0 0 0-4 0 0 0 0 1-4 0 0 0 0 1-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0-1 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0 0 2-4 0 0 0 0 1-4 0-1 0 0 1-1 1-4 3-4 3-3 4-3 4-2 4-1 5 0 4 1 5 1 4 2 3 3 3 4 2 4 2 4 0 5 0 4-1 4 0 1-2 4-1 4-1 3-1 4-1 3-1 4 0 4-1 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4 0 4 0 3-1 4 0 4 0 4-1 4 0 4 0 3 0 4 0 4 0 4 0 4 0 4 0 3 1 4 0 4 0 4 1 4 0 3 0 4 1 4 0 4 1 4 1 3 0 4 1 4 0 4 0 5-1 4-2 4-3 4-3 3-4 2-5 2-4 1z m754-46l-5 0-4-1-4-2-4-2-3-4-3-4-2-4 0-4-1-4 1-4 0-5 0-5 0-5 0-5 0-5 0-5-1-5 0-5 0-5-1-5 0-5-1-5 0-5-1-5-1-4 0-5-1-5-1-5-1-5-1-5-1-5-1-4-1-5-1-5-2-5-1-4-2-5-1-5-1-4-2-5-2-5-1-4-2-5-2-4-2-5-2-5-2-4-2-5-2-4-2-4-2-5-2-4-2-5-1-4 0-5 1-4 2-4 2-4 3-4 4-2 4-2 4-2 5 0 4 1 5 1 4 2 3 3 3 3 2 3 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 2 4 0 1 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 1 5 0 0 0 0 2 5 0 0 0 0 1 5 0 0 0 0 2 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 0 2 6 0 0 0 0 1 5 0 0 0 0 1 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 0 5 0 0 0 1 1 5 0 0 0 0 0 5 1 0 0 1 0 5 0 0 0 0 0 5 0 1 0 0 1 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0 1 6 0 0 0 0 0 5 0 0 0 1 0 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0-1 6 0 0 0 0 0 4 0 5-2 4-2 4-3 3-4 3-4 2-4 2-4 0z m-853-16l-5 0-4-1-4-1-4-3-4-3-2-4-2-4-1-4-1-4 0-4 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 0-6 0 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 1-5 0 0 0-1 0-5 0 0 0 0 1-5 0-1 0 0 0-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 1-5 0 0 0-1 1-5 0 0 0 0 1-5 0 0 0 0 2-6 0 0 0 0 1-5 0 0 0 0 1-5 0 0 0-1 2-5 0 0 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0-1 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0-1 2-4 0-1 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 3-5 0 0 0 0 2-5 0 0 0 0 2-5 1 0 0 0 0-1 3-4 3-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 5-1 3-1 1-2 5-2 4-2 4-2 5-2 4-2 5-2 5-2 4-2 5-1 4-2 5-1 5-2 4-1 5-2 5-1 4-1 5-2 5-1 5-1 4-1 5-1 5-1 5-1 5-1 5 0 5-1 4-1 5 0 5-1 5 0 5-1 5 0 5 0 5-1 5 0 5 0 5 0 5 0 4 0 4-1 5-2 4-3 3-4 4-3 2-5 2-4 0z m756-57l-4 0-5-1-4-2-4-3-3-3-2-4-2-4-1-3 0 0 0 0 0 0 0 0-1-4 0-4-1-4-1-3 0-4-1-4-1-4-1-3-1-4-1-3-1-4-1-4-2-3-1-4-1-3-1-4-2-4-1-3-2-4-1-3-1-4-2-3-2-3-1-4-2-3-2-4-1-3-2-3-2-4-2-3-2-3-2-3-2-4-2-3-2-3-2-3-2-3-2-3-3-3-2-3-2-4-2-1-2-4-2-4-1-5 0-4 1-5 2-4 2-4 3-3 4-3 4-2 4-1 5-1 4 1 4 1 5 2 3 3 3 3 1 1 0 1 0 0 3 3 0 0 0 0 2 3 1 1 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 0 2 4 0 0 0 0 2 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 1 2 3 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 1 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 1 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 0 4 0 0 0 0 0 0 1 5-1 4-1 4-2 4-3 4-4 3-4 2-4 2-5 0z m-590-160l-4-1-4-2-4-2-4-3-3-3-2-4-1-5-1-4 1-5 1-4 2-4 2-3 1-2 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-2 1-1 0 0 3-2 0 0 0 0 3-3 1 0 0 0 3-3 0 0 0 0 3-2 1 0 0-1 3-2 0 0 0 0 4-2 0-1 0 0 3-2 0 0 0 0 4-2 0-1 0 0 3-2 1 0 0 0 3-2 0 0 0 0 4-3 0 0 0 0 4-2 0 0 0 0 3-2 1 0 0 0 3-2 0 0 1 0 3-2 0 0 0-1 4-1 0-1 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 4-1 4 0 5 0 4 1 4 2 4 3 3 4 2 3 2 5 1 4 0 5-1 4-2 4-2 4-4 3-3 3-4 2-3 1-4 2-3 1-4 2-3 1-3 2-4 1-3 2-4 2-3 2-3 1-4 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-3 2-3 3-3 2-4 2-3 2-2 3-3 2-3 3-3 2-3 3-3 2-3 3-3 2-2 3-3 3-3 3-3 2-2 3-3 3-2 3-3 3-2 3-1 1-4 3-3 3-5 1-4 1-5 1z m426-77l-5 0-4-1-4-2-1-1-4-2-3-1-3-2-4-2-3-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-1-4-1-3-1-4-2-3-1-4-1-4-1-3-1-4-1-4 0-3-1-4-1-4-1-4 0-3-1-4-1-4 0-4-1-3 0-4 0-4-1-4 0-4 0-4-1-3 0-4 0-4 0-5 0-4-2-4-2-4-3-3-3-2-4-1-4-1-5 0-5 1-4 2-4 2-4 4-3 3-3 4-2 5-1 4 0 4 0 0 0 0 0 4 0 0 0 1 0 4 1 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 4 0 0 0 0 0 4 1 1 0 0 0 4 0 0 0 0 0 4 1 0 0 0 0 5 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 1 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 2 0 0 1 0 3 1 1 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 1 1 3 1 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 1 0 0 0 1 4 1 0 0 0 0 4 2 0 0 0 0 4 2 0 0 0 1 4 1 0 1 0 0 4 2 0 0 0 0 2 1 3 2 4 4 2 3 2 5 1 4 0 5-1 4-1 4-3 4-3 4-3 3-4 2-5 1-4 0z m-440-39l-4-1-5-1-4-3-3-3-3-3-2-4-1-5-1-4 0-5 1-4 2-4 3-4 3-2 1-1 0 0 0 0 4-4 0 0 0 0 4-3 0 0 1 0 4-4 0 0 0 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0-1 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-2 0 0 0-1 5-2 0 0 0 0 4-3 1 0 0 0 4-2 0 0 0-1 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 4-2 1 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 5-1 0 0 0 0 5-2 0 0 0 0 5-1 0 0 0 0 5-2 1 0 0 0 5-1 0 0 0 0 5-1 0 0 0 0 6-2 0 0 0 0 4-1 5 0 4 0 5 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4-1 5-1 4-3 4-3 3-4 3-4 2-3 1-5 1-4 1-5 1-5 1-5 2-4 1-5 2-5 1-4 2-5 1-5 2-4 1-5 2-5 2-4 2-5 2-4 2-5 2-4 2-5 2-4 2-4 2-5 3-4 2-4 2-5 3-4 2-4 3-4 3-4 2-4 3-5 3-4 2-4 3-4 3-4 3-3 3-4 3-4 3-1 1-4 3-4 1-4 1-5 1z m543-3l-5 0-4-1-5-2-3-2-1-2-4-3-4-3-4-3-4-3-4-3-4-2-4-3-5-3-4-2-4-3-4-3-4-2-5-3-4-2-4-2-5-3-4-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-1-5-2-4-1-5-2-5-1-5-2-4-1-5-2-5-1-5-1-4-1-5-1-3-1-5-1-4-2-3-3-3-3-2-4-2-5-1-4 0-5 1-4 2-4 3-4 3-3 4-3 4-2 4-1 5 0 4 0 3 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 2 0 0 1 0 5 1 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 1 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 1 0 0 4 2 1 0 0 0 4 3 0 0 1 0 4 2 0 1 0 0 5 2 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 1 4 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 4 4 1 0 0 0 4 3 0 0 0 0 2 2 3 3 3 4 2 4 1 4 0 5-1 4-1 5-2 4-3 3-4 3-4 2-4 2-4 0z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-compensation" unicode="&#xe807;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m-16-255c-70-49-140-99-209-148 70-49 139-99 209-148 0 48 0 95 0 143 67-48 135-95 202-143 0 99 0 197 0 296-67-48-135-95-202-143 0 48 0 95 0 143z m-24-47c0-67 0-134 0-201-48 33-95 67-143 100 48 34 95 67 143 101z m202 0c0-67 0-134 0-202-48 34-95 68-143 101 48 34 95 67 143 101z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-parallel-multiple" unicode="&#xe808;" d="M430 545l0-125-125 0 0-140 125 0 0-125 140 0 0 125 125 0 0 140-125 0 0 125z m23-23l94 0 0-125 125 0 0-94-125 0 0-125-94 0 0 126-125 0 0 93 125 0z m51 278l-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 0-6-1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6 0 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0-1 0 0-6-1 0 0-1 0-6-1 0 0 0 0-6-2 0 0 0 0-4-1-4-1-4-2-3-3-3-4-2-4-2-4 0-5 0-4 1-5 2-4 3-4 3-3 4-2 5-2 4-1 5 0 3 1 3 1 6 1 6 1 6 2 5 1 6 1 6 1 6 1 6 0 6 1 5 1 6 0 6 1 6 0 6 1 6 0 6 0 6 0 6 0 6 0 5 0 6 0 6-1 6 0 6-1 6 0 6-1 5 0 6-1 6-1 6-1 6-1 5-1 2 0 4-1 5 0 4 2 4 2 4 2 3 4 3 3 1 5 1 4 0 5-1 4-1 4-3 4-3 4-3 2-5 2-3 1-2 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0 0 0-7 1 0 0 0 0-6 0 0 1-1 0-6 0 0 0 0 0-6 1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6 1 0 0 0 0-6 0-1 0 0 0-6 0 0 0z m246-79l-5-1-4-1-4-3-3-3-3-4-1-4-2-4 0-5 1-4 1-5 2-4 3-3 3-3 2-1 0 0 2-2 0 0 3-1 0 0 2-2 0 0 2-2 2-2 0 0 3-2 0 0 2-1 2-2 0 0 2-2 3-2 0 0 2-2 2-2 0 0 2-2 2-2 1 0 2-2 2-2 2-2 0 0 2-2 0 0 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 2-2 0 0 2-3 2-2 2-2 0-1 1-2 0 0 2-2 0 0 2-3 0 0 1 0 2-4 3-3 2-4 3-3 2-3 3-4 2-3 2-4 0 0 3-3 2-4 2-4 3-3 2-4 2-3 2-4 2-4 2-3 2-4 2-4 1-2 3-4 3-4 3-2 4-2 5-2 4 0 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 5-1 4-1 3-2 3 0 0 0 0-2 4 0 0 0 1-2 4 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0-1 0-2 4 0 0 0 0-3 4 0 0 0 0-3 4 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 4 0 0 0 0-3 3-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2-1 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 2 0 0-1 0-2 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2-1 0 0 1-2 1 0 1 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-2 1-4 2-4 2-5 0z m-521-12l-5-1-4-2-3-2 0 0 0 0-1 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0-1-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0-1 0 0-2-2 0 0 0 0-2-2 0 0-1 0-2-2 0 0 0-1-2-2 0 0 0 0-3-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2-1 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0-1 0-1-3 0 0 0 0-2-2-1-2 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0-1-2-2 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0 0-1-2-4 0-5 0-4 1-5 2-4 2-4 4-3 3-3 5-1 4-1 5-1 4 1 4 2 4 2 4 3 3 3 1 4 1 0 1 3 1 3 0 0 1 2 0 0 2 3 1 3 0 0 2 2 0 0 1 3 1 2 0 1 2 2 1 3 0 0 2 2 0 0 1 3 2 2 0 0 1 3 2 2 1 3 0 0 2 3 0 0 2 2 0 0 1 2 2 3 2 2 0 0 1 3 2 2 2 3 1 1 0 0 2 3 1 2 0 0 2 3 2 2 0 0 1 3 2 2 0 0 2 3 0 0 2 2 1 3 2 2 0 0 2 2 2 3 2 2 0 0 2 2 1 3 2 2 0 0 2 2 2 2 0 0 2 3 0 0 2 2 0 0 2 2 0 0 2 2 2 2 0 0 2 2 0 0 2 3 0 0 2 2 2 2 0 0 2 2 3 2 0 0 2 2 2 2 0 0 2 2 0 0 2 2 0 0 2 2 0 0 3 1 0 0 2 2 0 0 2 2 0 0 2 2 3 2 0 0 2 2 0 0 0 0 3 3 3 4 2 4 1 4 0 5 0 4-2 5-2 4-3 3-3 3-4 2-4 2-5 1z m694-313l-4-1-5-2-3-2-3-4-3-4-2-4-1-4 0-4 1-4 0-4 0-4 0-5 0-4 0 0 0-1 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0-3 0-3 0-3-1-3 0-3 0 0 0-3 0 0 0-3-1-3 0-3 0-3-1-2 0-1 0-3 0 0 0-2-1-3 0-3 0 0-1-3 0-3-1-3 0 0 0-3-1-3-1-3 0 0 0-2-1-3 0 0 0-3-1-3 0 0-1-3-1-3 0 0 0-2 0 0-1-3 0 0-1-3 0 0-1-3 0 0-1-3-1-2 0 0 0-3-1-3 0 0-1-3 0 0-1-2 0-1-1-2 0 0-1-3 0 0-1-3-1-2 0 0-1-3-3-5-2-6-2-5-3-5-2-6-3-5-3-5-1-3-2-4-1-4 0-5 1-4 1-5 3-4 3-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 3 1 3 1 0 0 0 3 6 0 0 0 0 2 6 1 0 0 0 2 6 0 0 0 0 3 5 0 1 0 0 3 5 0 1 0 0 2 6 0 0 1 0 2 6 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 1 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 1 0 0 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 4 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 3 0 1 0 0 0 3 0 4 0 0 0 0 0 4 0 0 0 1 0 4 0 0 0 0-1 5 0 0 0 0 0 4 0 5-2 4-2 4-3 4-4 2-4 3-4 1-4 1z m-853-18l-4-1-5-2-3-3-4-3-2-4-2-4-1-4 0-4 0-3 0 0 0 0 0-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 1 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0 0 2-6 0-1 0 0 1-6 0 0 0 0 2-6 0 0 0-1 2-6 0 0 0 0 1-6 0 0 0 0 2-6 0 0 0 0 2-6 0-1 0 0 2-6 0 0 0 0 2-6 0 0 0 0 2-6 1 0 0 0 2-6 0 0 0 0 2-6 0 0 0-1 3-5 0-1 0 0 2-5 0-1 0 0 3-5 0-1 0 0 2-5 0-1 1 0 2-5 0-1 0 0 3-5 0 0 0-1 1-1 2-4 4-4 3-2 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 5 0 4 0 5-1 4-1 4-1 1-3 5-2 6-3 5-2 6-2 5-2 5-3 6-2 6-2 5-1 6-2 5-2 6-2 6-1 5-2 6-1 6-2 5-1 6-1 6-1 6-1 6-1 5-1 6-1 6-1 6 0 6-1 5 0 6-1 6 0 6 0 6-1 6 0 3 0 4-1 5-3 4-2 3-4 3-4 3-4 1-4 1z m694-334l-4-1-4-2-4-3 0 0-5-3-4-4-5-4-5-3-5-3-4-4-5-3-5-3-5-3-5-4-5-3-6-3-5-2-5-3-5-3-5-3-6-2-5-3-5-2-6-2-5-3-6-2-5-2-6-2-5-2-6-2-5-2-6-1-5-2-6-2-6-1-5-1-5-1-4-2-4-2-4-3-2-3-3-4-1-5-1-4 1-5 1-4 2-4 2-4 3-3 4-3 4-1 5-1 4-1 4 1 5 1 0 0 0 0 6 2 0 0 0 0 6 1 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 1 0 5 2 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 3 0 0 0 0 6 2 0 0 1 0 5 3 0 0 1 0 5 2 0 0 1 0 5 3 0 0 1 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 1 0 0 5 3 0 0 1 0 5 3 0 0 0 1 5 3 0 0 1 0 5 4 0 0 0 0 5 3 0 0 0 0 6 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 1 0 4 4 1 0 0 0 0 1 3 3 3 4 2 4 1 4 0 5 0 4-2 4-2 4-3 4-4 3-4 2-4 1-4 1z m-541-2l-4-1-4-3-4-2-3-4-2-4-1-4-1-5 0-4 1-5 2-4 3-4 3-2 1-1 0-1 0 0 5-4 0 0 0 0 5-4 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 3-1 0-1 0 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 2-2 0 0 1 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0-1 3-1 0 0 0 0 3-2 0 0 0 0 2-1 1 0 0 0 2-2 1 0 0 0 2-2 0 0 1 0 2-1 0 0 1 0 2-2 0 0 0 0 3-1 0 0 0 0 3-2 0 0 1 0 2-1 0 0 1 0 2-1 0-1 1 0 2-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 2 0 0 0 0 0 3-1 0 0 0-1 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 4 0 0-1 0 0 3 0 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 0 0 5 0 4 0 5 1 4 2 4 2 3 4 2 3 2 5 1 4 0 5 0 4-2 4-2 4-3 4-4 2-4 3-3 1 0 0-1 0-3 0-2 1 0 0-3 1 0 0-3 1 0 0-3 0 0 0-3 1-3 1-3 1 0 0-3 1-2 1-3 1-3 1-1 0-1 0-3 1-3 1-3 1 0 0-2 1-3 1-3 1-3 0-3 1 0 0-3 1-3 1-2 1 0 0-3 2-3 1 0 0-3 1 0 0-2 1-3 1 0 0-3 1-3 1-2 2-3 1 0 0-3 1-2 1-3 2-3 1-2 1 0 0-3 2-2 1 0 0-3 1 0 0-3 2 0 0-2 1-2 2-1 0-2 1 0 0-3 2-2 1 0 0-3 2-2 1 0 0-3 2 0 0-2 2 0 0-2 1-3 2 0 0-2 2-2 1-1 0-2 2 0 0-2 2-3 1 0 0-2 2 0 0-2 2 0 0-3 2-4 3-5 4-1 1-4 3-4 1-4 2-5 0z" horiz-adv-x="1000" />
<glyph glyph-name="loop-marker" unicode="&#xe809;" d="M529 645c-126 1-247-86-283-207-28-87-12-187 42-260-44 8-89 17-134 26-4-20-8-40-12-59 81-16 162-32 242-47 16 80 32 160 47 240-19 4-39 8-59 11-9-48-19-97-28-145-69 82-68 214 2 295 69 86 200 111 295 57 92-47 143-159 118-259-22-104-124-184-230-182-28 2-42-38-19-53 20-13 45-4 67-3 124 19 229 125 245 250 19 119-46 244-152 300-43 23-92 36-141 36z" horiz-adv-x="1000" />
<glyph glyph-name="parallel-mi-marker" unicode="&#xe80a;" d="M250 650l0-600 100 0 0 600-100 0z m200 0l0-600 100 0 0 600-100 0z m200 0l0-600 100 0 0 600-100 0z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-signal" unicode="&#xe80b;" d="M500 562c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z m0-51c50-90 100-180 151-270-101 0-201 0-302 0 51 90 101 180 151 270z m4 289c-45-7-119 8-139-39 18-48 78-2 116-10 40 3 80-6 119-8 49 46-38 58-72 56-8 1-16 1-24 1z m250-79c-62-19 12-63 34-87 30-33 55-70 76-109 42-29 52 35 23 57-33 54-74 105-127 138l-6 1 0 0z m-521-11c-51-21-82-73-113-115-22-23-63-104 0-91 32 41 53 93 92 130 19 20 77 57 21 76z m695-313c-47-13-14-76-28-111-7-43-22-86-43-125-6-47 57-33 57 6 31 66 44 141 36 213-3 10-13 16-22 17z m-853-19c-48-11-18-76-18-110 11-46 23-94 51-133 67-9 16 67 8 99-12 40-19 82-19 124-2 11-12 19-22 20z m694-334c-50-24-94-64-149-78-33 0-87-36-38-60 75 13 146 49 204 98 14 14 2 40-17 40z m-542-1c-56-22 12-68 41-83 45-25 95-46 147-53 50 23-6 59-38 59-50 15-97 39-136 73l-6 3-8 1 0 0z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-timer" unicode="&#xe80c;" d="M500 564c-85 2-167-54-198-133-33-76-15-170 43-229 56-60 149-82 226-54 81 28 141 108 143 194 5 83-46 166-121 201-29 14-61 21-93 21z m0-39c78 2 152-55 170-131 20-73-14-156-79-194-67-42-160-31-215 26-58 56-68 152-24 219 32 49 89 81 148 80z m55-49c-19-36-39-71-58-107-18-2-23-29-6-36 11-8 20 5 30 4 30 0 59 0 89 0 0 8 0 17 0 25-30 0-60 0-89 0 18 34 37 68 56 102-7 4-14 8-22 12z m-55 233l-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 0-5 0 0-1 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 0 0 0 0 0-4-1 0 0-1 0-1 0-4-1-5-2-3-2-4-3-2-4-2-4-2-4 0-5 1-4 1-5 2-4 3-3 4-3 4-3 4-1 4-1 4 0 1 1 4 0 4 0 4 1 4 0 3 0 4 0 4 0 4 0 4 0 4 0 4 0 3 0 4 0 4-1 4 0 4 0 3-1 4 0 4-1 4 0 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4-1 3-1 4-1 4-1 3-1 4-1 3-2 4-1 4-1 3-1 4-2 3-1 4-1 3-2 0 0 0 0 4-1 5-1 5 0 4 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4 0 5-2 4-2 4-3 3-4 3-3 2 0 0-1 0 0 0-3 2-1 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0-1 0-3 1-1 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0-1 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-5 0 0 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 1 0 0 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0 1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0z m-159-39l-5-1-3-1-2-1 0 0 0 0-4-2 0 0 0 0-3-2-1-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-2 0 0 0 0-4-2 0-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0-1-1-3-2 0 0 0 0-3-3 0 0-1 0-3-2 0-1 0 0-3-2 0 0-1 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0-1 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-4 0 0 0 0-3-3 0 0 0 0-2-3-1 0 0-1-2-3 0 0 0 0-3-3 0 0 0-1-3-3 0 0 0 0-2-3 0 0-1-1-2-3 0 0 0 0-2-3-1-1 0 0-2-3 0 0 0 0-2-4-1 0 0 0-2-3-2-4-1-4-1-5 1-4 1-5 2-4 3-3 3-4 4-2 4-2 4-1 5 0 4 1 5 2 4 2 3 3 2 3 2 3 2 3 2 3 3 3 2 4 2 3 2 3 3 3 2 3 3 2 2 3 3 3 2 3 3 3 2 3 3 3 3 2 3 3 2 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 3 2 4 2 3 2 3 2 3 2 4 2 3 2 2 0 3 3 4 3 2 4 2 4 1 4 1 5-1 4-1 5-3 4-2 3-4 3-4 2-4 2-5 0z m392-60l-4-1-4-1-4-3-3-3-3-4-1-4-1-5-1-4 1-5 2-4 2-4 2-3 3-2 3-3 2-3 3-3 2-3 3-3 2-3 3-2 2-3 3-3 2-3 2-3 3-4 2-3 2-3 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-4 2-3 1-3 2-4 2-3 1-3 2-4 2-3 1-4 1-3 2-4 1-3 2-4 1-3 1-4 1-4 2-3 1-4 1-3 0-3 2-4 2-4 4-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 4 0 2 0 0 0 0-2 4 0 0 0 1-1 3 0 1 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-1 3 0 0-1 1-1 3 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0-1 0-1 4-1 0 0 0-2 3 0 1 0 0-2 3 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 3 0 0 0 1-2 3 0 0 0 0-3 4 0 0 0 0-2 3 0 0 0 1-3 3 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 3 0 1 0 0-2 3-1 0 0 0-2 3 0 1 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 4 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 1-3 3 0 0 0 0-3 2-3 3-4 3-5 1-4 1z m-564-170l-4-1-4-2-4-2-3-4-3-3-2-4-1-4-1-4 0 0 0 0 0-4 0 0-1 0 0-4 0-1 0 0-1-4 0 0 0 0-1-4 0 0 0 0 0-5 0 0 0 0-1-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0-1 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0-1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 1-5 0 0 0 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 1-4 0 0 0 0 0-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 0-4 1-1 0 0 0-4 0 0 0 0 1-4 0 0 0 0 1-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0-1 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0 0 2-4 0 0 0 0 1-4 0-1 0 0 1-1 1-4 3-4 3-3 4-3 4-2 4-1 5 0 4 1 5 1 4 2 3 3 3 4 2 4 2 4 0 5 0 4-1 4 0 1-2 4-1 4-1 3-1 4-1 3-1 4 0 4-1 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4 0 4 0 3-1 4 0 4 0 4-1 4 0 4 0 3 0 4 0 4 0 4 0 4 0 4 0 3 1 4 0 4 0 4 1 4 0 3 0 4 1 4 0 4 1 4 1 3 0 4 1 4 0 4 0 5-1 4-2 4-3 4-3 3-4 2-5 2-4 1z m658-119l-5-1-4-2-4-3-3-3-2-4-2-4-1-3 0 0 0 0 0 0 0 0-1-4 0-4-1-4-1-3 0-4-1-4-1-4-1-3-1-4-1-3-1-4-1-4-2-3-1-4-1-3-1-4-2-4-1-3-2-4-1-3-1-4-2-3-2-3-1-4-2-3-2-4-1-3-2-3-2-4-2-3-2-3-2-3-2-4-2-3-2-3-2-3-2-3-2-3-3-3-2-3-2-4-2-1-2-4-2-4-1-5 0-4 1-5 2-4 2-4 3-3 4-3 4-2 4-1 5-1 4 1 4 1 5 2 3 3 3 3 1 1 0 1 0 0 3 3 0 0 0 0 2 3 1 1 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 0 2 4 0 0 0 0 2 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 1 2 3 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 1 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 1 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 0 4 0 0 0 0 0 0 1 5-1 4-1 4-2 4-3 4-4 3-4 2-4 2-5 0z m-590-161l-4-2-4-2-4-3-3-3-2-4-1-5-1-4 1-5 1-4 2-4 2-3 1-2 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-2 1-1 0 0 3-2 0 0 0 0 3-3 1 0 0 0 3-3 0 0 0 0 3-2 1 0 0-1 3-2 0 0 0 0 4-2 0-1 0 0 3-2 0 0 0 0 4-2 0-1 0 0 3-2 1 0 0 0 3-2 0 0 0 0 4-3 0 0 0 0 4-2 0 0 0 0 3-2 1 0 0 0 3-2 0 0 1 0 3-2 0 0 0-1 4-1 0-1 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 4-1 4 0 5 0 4 1 4 2 4 3 3 4 2 3 2 5 1 4 0 5-1 4-2 4-2 4-4 3-3 3-4 2-3 1-4 2-3 1-4 2-3 1-3 2-4 1-3 2-4 2-3 2-3 1-4 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-3 2-3 3-3 2-4 2-3 2-2 3-3 2-3 3-3 2-3 3-3 2-3 3-3 2-2 3-3 3-3 3-3 2-2 3-3 3-2 3-3 3-2 3-1 1-4 3-3 3-5 1-4 1-5 1z m425-76l-4-1-4-2-1-1-4-2-3-1-3-2-4-2-3-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-1-4-1-3-1-4-2-3-1-4-1-4-1-3-1-4-1-4 0-3-1-4-1-4-1-4 0-3-1-4-1-4 0-4-1-3 0-4 0-4-1-4 0-4 0-4-1-3 0-4 0-4 0-5 0-4-2-4-2-4-3-3-3-2-4-1-4-1-5 0-5 1-4 2-4 2-4 4-3 3-3 4-2 5-1 4 0 4 0 0 0 0 0 4 0 0 0 1 0 4 0 0 1 0 0 4 0 0 0 0 0 5 0 0 0 0 0 4 0 0 0 0 0 4 1 1 0 0 0 4 0 0 0 0 0 4 1 0 0 0 0 5 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 1 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 2 0 0 1 0 3 1 1 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 1 1 3 1 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 1 0 0 0 1 4 1 0 0 0 0 4 2 0 0 0 0 4 2 0 0 0 1 4 1 0 1 0 0 4 2 0 0 0 0 2 1 3 2 4 4 2 3 2 5 1 4 0 5-1 4-1 4-3 4-3 4-3 3-4 2-5 1-4 0z m-162 718l-5 0-1 0 0 0-5 0 0 0 0 0-6-1 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 0-5-1 0 0-1 0-5 0 0 0 0 0-5 0-1 0 0-1-5 0 0 0 0 0-5-1-1 0 0 0-5 0 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1 0 0-1 0-5-1 0 0 0 0-5-1 0 0 0 0-6-2 0 0 0 0-5-1 0 0 0 0-5-1-4-2-4-2-4-3-2-4-3-4-1-4 0-5 0-4 1-4 2-5 3-3 3-3 4-3 4-1 5-1 4 0 4 1 5 1 5 1 4 1 5 1 5 1 5 1 5 1 5 1 5 0 4 1 5 1 5 0 5 1 5 0 5 1 5 0 5 0 5 1 5 0 5 0 5 0 5 0 5 0 5 0 5-1 5 0 5 0 5-1 5 0 5-1 5 0 5-1 5-1 4 0 5-1 5-1 5-1 5-1 4-1 5 0 4 0 5 1 4 2 3 3 4 3 2 4 2 4 1 4 0 5-1 4-2 5-2 4-3 3-4 3-4 2-3 1-5 1 0 0 0 0-5 1 0 0-1 0-5 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 1 0 0-6 0 0 0 0 0-5 0 0 0-1 0-5 1 0 0 0 0-5 0-1 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 0 0 0z m250-83l-4-1-5-2-3-2-4-4-2-3-2-4-1-5-1-4 1-5 1-4 3-4 3-4 2-2 2-1 4-3 4-3 4-3 3-3 4-4 4-3 4-3 3-3 4-4 4-3 3-4 4-3 3-4 4-3 3-4 4-4 3-3 3-4 3-4 4-4 3-3 3-4 3-4 3-4 3-4 3-4 2-4 3-4 3-5 3-4 2-4 3-4 2-4 3-5 2-4 2-4 3-5 2-4 1-2 2-4 4-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 4-1 5-1 3-1 3 0 0 0 0-3 5 0 0 0 0-2 5 0 0-1 0-2 4 0 1 0 0-3 4 0 0 0 1-2 4-1 0 0 0-2 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0-1 0-3 4 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-4 4 0 1 0 0-3 4 0 0 0 0-3 4-1 0 0 0-3 4 0 1 0 0-4 4 0 0 0 0-3 4 0 0-1 0-3 4 0 0 0 0-4 4 0 0 0 0-4 4 0 0 0 1-4 3 0 0 0 1-3 3-1 0 0 1-3 3-1 0 0 0-3 4-1 0 0 0-4 4 0 0 0 0-4 4 0 0 0 0-4 3 0 1 0 0-4 3 0 0 0 0-4 4 0 0-1 0-4 3 0 0 0 1-4 3 0 0 0 0-4 3 0 0-1 0-4 4 0 0 0 0-4 3 0 0 0 0-2 1-4 3-4 1-4 1z m-519-10l-4-1-4-2-4-2-1-1 0 0 0 0-4-3 0-1 0 0-4-3 0 0-1 0-4-4 0 0 0 0-4-3 0 0 0-1-4-3 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0-1 0-3-4 0 0 0 0-4-4 0 0 0-1-3-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0 0-1-4-4 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-4 0 0-1 0-3-5 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-5 0 0 0 0-3-4 0 0 0 0-2-5-1 0 0 0-2-5 0 0 0 0-3-4 0-1 0 0-3-4 0 0 0-1-2-4 0 0 0 0-3-5 0 0 0 0-2-5 0 0-1 0-2-5 0 0 0 0-2-5 0 0 0 0-3-5 0 0 0 0-1-3-1-4-1-5 0-4 1-5 2-4 3-4 3-3 4-2 4-2 4-1 5 0 4 0 5 2 3 2 4 3 3 4 2 3 1 3 2 4 2 5 2 4 2 4 3 5 2 4 2 4 3 5 2 4 3 4 3 4 2 4 3 5 3 4 2 4 3 4 3 4 3 4 3 4 3 4 3 3 4 4 3 4 3 4 3 3 4 4 3 4 4 3 3 4 4 3 3 4 4 3 4 4 3 3 4 3 4 3 4 4 4 3 1 1 3 3 3 3 2 5 1 4 0 4-1 5-1 4-2 4-3 4-4 3-4 2-4 2-4 0z m692-315l-4-1-4-2-4-2-3-4-3-4-2-4 0-4-1-4 1-4 0-5 0-5 0-5 0-5 0-5 0-5-1-5 0-5 0-5-1-5 0-5-1-5 0-5-1-5-1-4 0-5-1-5-1-5-1-5-1-5-1-5-1-4-1-5-1-5-2-5-1-4-2-5-1-5-1-4-2-5-2-5-1-4-2-5-2-4-2-5-2-5-2-4-2-5-2-4-2-4-2-5-2-4-2-5-1-4 0-5 1-4 2-4 2-4 3-4 4-2 4-2 4-2 5 0 4 1 5 1 4 2 3 3 3 3 2 3 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 2 4 0 1 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 1 5 0 0 0 0 2 5 0 0 0 0 1 5 0 0 0 0 2 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 0 2 6 0 0 0 0 1 5 0 0 0 0 1 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 0 5 0 0 0 1 1 5 0 0 0 0 0 5 1 0 0 1 0 5 0 0 0 0 0 5 0 1 0 0 1 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0 1 6 0 0 0 0 0 5 0 0 0 1 0 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0-1 6 0 0 0 0 0 4 0 5-2 4-2 4-3 3-4 3-4 2-4 2-4 0z m-853-16l-4-1-4-1-4-3-4-3-2-4-2-4-1-4-1-4 0-4 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 0-6 0 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 1-5 0 0 0-1 0-5 0 0 0 0 1-5 0-1 0 0 0-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 1-5 0 0 0-1 1-5 0 0 0 0 1-5 0 0 0 0 2-6 0 0 0 0 1-5 0 0 0 0 1-5 0 0 0-1 2-5 0 0 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0-1 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0-1 2-4 0-1 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 3-5 0 0 0 0 2-5 0 0 0 0 2-5 1 0 0 0 0-1 3-4 3-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 5-1 3-1 1-2 5-2 4-2 4-2 5-2 4-2 5-2 5-2 4-2 5-1 4-2 5-1 5-2 4-1 5-2 5-1 4-1 5-2 5-1 5-1 4-1 5-1 5-1 5-1 5-1 5 0 5-1 4-1 5 0 5-1 5 0 5-1 5 0 5 0 5-1 5 0 5 0 5 0 5 0 4 0 4-1 5-2 4-3 3-4 4-3 2-5 2-4 0z m153-334l-5-1-4-3-3-3-3-3-2-4-1-5-1-4 0-5 1-4 2-4 3-4 3-2 1-1 0 0 0 0 4-4 0 0 0 0 4-3 0 0 1 0 4-4 0 0 0 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0-1 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-2 0 0 0-1 5-2 0 0 0 0 4-3 1 0 0 0 4-2 0 0 0-1 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 4-2 1 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 5-1 0 0 0 0 5-2 0 0 0 0 5-1 0 0 0 0 5-2 1 0 0 0 5-1 0 0 0 0 5-1 0 0 0 0 6-2 0 0 0 0 4-1 5 0 4 0 5 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4-1 5-1 4-3 4-3 3-4 3-4 2-3 1-5 1-4 1-5 1-5 1-5 2-4 1-5 2-5 1-4 2-5 1-5 2-4 1-5 2-5 2-4 2-5 2-4 2-5 2-4 2-5 2-4 2-4 2-5 3-4 2-4 2-5 3-4 2-4 3-4 3-4 2-4 3-5 3-4 2-4 3-4 3-4 3-3 3-4 3-4 3-1 1-4 3-4 1-4 1-5 1z m542-2l-4-1-5-2-3-2-1-2-4-3-4-3-4-3-4-3-4-3-4-2-4-3-5-3-4-2-4-3-4-3-4-2-5-3-4-2-4-2-5-3-4-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-1-5-2-4-1-5-2-5-1-5-2-4-1-5-2-5-1-5-1-4-1-5-1-3-1-5-1-4-2-3-3-3-3-2-4-2-5-1-4 0-5 1-4 2-4 3-4 3-3 4-3 4-2 4-1 5 0 4 0 3 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 2 0 0 1 0 5 1 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 1 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 1 0 0 4 2 1 0 0 0 4 3 0 0 1 0 4 2 0 1 0 0 5 2 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 1 4 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 4 4 1 0 0 0 4 3 0 0 0 0 2 2 3 3 3 4 2 4 1 4 0 5-1 4-1 5-2 4-3 3-4 3-4 2-4 2-4 0z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-parallel-multiple" unicode="&#xe80d;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-61-93c0-52 0-104 0-156-53 0-106 0-159 0 0-41 0-83 0-124 53 0 106 0 159 0 0-52 0-104 0-156 41 0 81 0 122 0 0 52 0 104 0 156 53 0 106 0 159 0 0 41 0 83 0 124-53 0-106 0-159 0 0 52 0 104 0 156-41 0-81 0-122 0z m25-24c24 0 48 0 73 0 0-52 0-104 0-157 53 0 106 0 159 0 0-24 0-49 0-74-53 0-106 0-159 0 0-53 0-105 0-157-25 0-49 0-73 0 0 52 0 104 0 157-54 0-107 0-160 0 0 25 0 50 0 74 53 0 106 0 160 0 0 53 0 105 0 157z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-compensation" unicode="&#xe80e;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-16-163c-70-49-140-99-209-148 70-49 139-99 209-148 0 48 0 95 0 143 67-48 135-95 202-143 0 99 0 197 0 296-67-48-135-95-202-143 0 48 0 95 0 143z m-24-47c0-67 0-134 0-201-48 33-95 67-143 100 48 34 95 67 143 101z m202 0c0-67 0-134 0-202-48 34-95 68-143 101 48 34 95 67 143 101z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-xor" unicode="&#xe80f;" d="M500 802c-9 0-19-4-26-11l-415-415c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-7 7-17 11-26 11z m0-62l390-390-390-390-390 390 390 390z m-146-217c0 0-4-1-4-1 0 0-4-3-4-3l-15-15c0 0-3-4-3-4 0 0-1-4-1-4 0 0 1-5 1-5 0 0 3-4 3-4l137-137-137-137 0 0c0 0-3-4-3-4 0 0-1-5-1-5 0 0 1-4 1-4 0 0 3-4 3-4l15-15c0 0 4-3 4-3 0 0 4-1 4-1 0 0 5 1 5 1 0 0 4 3 4 3l137 137 137-137c0 0 4-3 4-3 0 0 5-1 5-1 0 0 4 1 4 1 0 0 4 3 4 3l15 15c0 0 3 4 3 4 0 0 1 4 1 4 0 0-1 5-1 5 0 0-3 4-3 4l-137 137 137 137c0 0 3 4 3 4 0 0 1 5 1 5 0 0-1 4-1 4 0 0-3 4-3 4l-15 15c0 0-4 3-4 3 0 0-4 1-4 1 0 0-5-1-5-1 0 0-4-3-4-3l-137-137-137 137 0 1c0 0-4 2-4 2 0 0-5 1-5 1l0 0z" horiz-adv-x="1000" />
<glyph glyph-name="connection" unicode="&#xe810;" d="M911 749c0 0-285-146-431-214 31-28 60-59 90-89-147-149-295-299-443-448 11-11 22-21 33-31 148 149 295 299 443 448 30-29 60-60 90-90 77 153 218 424 218 424z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-cancel" unicode="&#xe811;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m-112-110c-29-30-58-59-87-88 37-38 75-75 112-113-37-36-74-73-110-110 28-29 57-58 86-86 37 37 73 73 110 110 38-37 75-75 113-112 29 29 58 58 88 87-38 38-76 75-113 113 37 37 74 73 110 110-28 29-57 58-86 86-37-36-73-73-110-110-38 37-75 75-113 113z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-condition" unicode="&#xe812;" d="M499 802c-1 0-2 0-3 0-202 1-391-150-436-346-42-173 28-368 174-471 145-107 354-116 506-18 149 93 235 276 207 450-26 176-164 330-338 371-36 9-73 14-110 14z m-5-49c3 0 7 0 10 0 187 2 362-146 392-331 32-167-54-348-205-427-154-85-363-54-483 77-124 127-147 338-53 488 71 116 203 192 339 193z m8-44c-3 0-7 0-10 0-172 0-330-143-349-314-22-161 79-328 233-382 145-55 322-3 413 124 98 129 92 326-17 447-67 77-167 125-270 125z m-2-48c2 0 4 0 6 0 153 0 292-129 304-281 16-145-84-293-225-330-137-40-296 27-361 154-69 129-33 305 86 392 54 42 122 65 190 65z m-151-121l0-12 0-368 50 0 202 0 50 0 0 380-302 0z m24-24l254 0 0-332-26 0-202 0-26 0 0 332z m26-37l0-25 202 0 0 25-202 0z m0-74l0-24 202 0 0 24-202 0z m0-85l0-24 202 0 0 24-202 0z m0-77l0-24 202 0 0 24-202 0z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-parallel-multiple" unicode="&#xe813;" d="M430 545l0-125-125 0 0-140 125 0 0-125 140 0 0 125 125 0 0 140-125 0 0 125z m23-23l94 0 0-125 125 0 0-94-125 0 0-125-94 0 0 126-125 0 0 93 125 0z m47 280l0 0-5 0-1 0 0 0-5 0 0 0 0 0-6-1 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 0-5-1 0 0-1 0-5 0 0 0 0 0-5 0-1 0 0-1-5 0 0 0 0 0-5-1-1 0 0 0-5 0 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1 0 0-1 0-5-1 0 0 0 0-5-1 0 0 0 0-6-2 0 0 0 0-5-1 0 0 0 0-5-1-4-2-4-2-4-3-2-4-3-4-1-4 0-5 0-4 1-4 2-5 3-3 3-3 4-3 4-1 5-1 4 0 4 1 5 1 5 1 4 1 5 1 5 1 5 1 5 1 5 1 5 0 4 1 5 1 5 0 5 1 5 0 5 1 5 0 5 0 5 1 5 0 5 0 5 0 5 0 5 0 5 0 5-1 5 0 5 0 5-1 5 0 5-1 5 0 5-1 5-1 4 0 5-1 5-1 5-1 5-1 4-1 5 0 4 0 5 1 4 2 3 3 4 3 2 4 2 4 1 4 0 5-1 4-2 5-2 4-3 3-4 3-4 2-3 1-5 1 0 0 0 0-5 1 0 0-1 0-5 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 1 0 0-6 0 0 0 0 0-5 0 0 0-1 0-5 1 0 0 0 0-5 0-1 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 0 0 0z m255-83l-5 0-4-1-5-2-3-2-4-4-2-3-2-4-1-5-1-4 1-5 1-4 3-4 3-4 2-2 2-1 4-3 4-3 4-3 3-3 4-4 4-3 4-3 3-3 4-4 4-3 3-4 4-3 3-4 4-3 3-4 4-4 3-3 3-4 3-4 4-4 3-3 3-4 3-4 3-4 3-4 3-4 2-4 3-4 3-5 3-4 2-4 3-4 2-4 3-5 2-4 2-4 3-5 2-4 1-2 2-4 4-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 4-1 5-1 3-1 3 0 0 0 0-3 5 0 0 0 0-2 5 0 0-1 0-2 4 0 1 0 0-3 4 0 0 0 1-2 4-1 0 0 0-2 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0-1 0-3 4 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-4 4 0 1 0 0-3 4 0 0 0 0-3 4-1 0 0 0-3 4 0 1 0 0-4 4 0 0 0 0-3 4 0 0-1 0-3 4 0 0 0 0-4 4 0 0 0 0-4 4 0 0 0 1-4 3 0 0 0 1-3 3-1 0 0 1-3 3-1 0 0 0-3 4-1 0 0 0-4 4 0 0 0 0-4 4 0 0 0 0-4 3 0 1 0 0-4 3 0 0 0 0-4 4 0 0-1 0-4 3 0 0 0 1-4 3 0 0 0 0-4 3 0 0-1 0-4 4 0 0 0 0-4 3 0 0 0 0-2 1-4 3-4 1-4 1z m-519-10l-5 0-4-1-4-2-4-2-1-1 0 0 0 0-4-3 0-1 0 0-4-3 0 0-1 0-4-4 0 0 0 0-4-3 0 0 0-1-4-3 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0-1 0-3-4 0 0 0 0-4-4 0 0 0-1-3-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0 0-1-4-4 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-4 0 0-1 0-3-5 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-5 0 0 0 0-3-4 0 0 0 0-2-5-1 0 0 0-2-5 0 0 0 0-3-4 0-1 0 0-3-4 0 0 0-1-2-4 0 0 0 0-3-5 0 0 0 0-2-5 0 0-1 0-2-5 0 0 0 0-2-5 0 0 0 0-3-5 0 0 0 0-1-3-1-4-1-5 0-4 1-5 2-4 3-4 3-3 4-2 4-2 4-1 5 0 4 0 5 2 3 2 4 3 3 4 2 3 1 3 2 4 2 5 2 4 2 4 3 5 2 4 2 4 3 5 2 4 3 4 3 4 2 4 3 5 3 4 2 4 3 4 3 4 3 4 3 4 3 4 3 3 4 4 3 4 3 4 3 3 4 4 3 4 4 3 3 4 4 3 3 4 4 3 4 4 3 3 4 3 4 3 4 4 4 3 1 1 3 3 3 3 2 5 1 4 0 4-1 5-1 4-2 4-3 4-4 3-4 2-4 2-4 0z m264 0l0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 0-5 0 0-1 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 0 0 0 0 0-4-1 0 0-1 0-1 0-4-1-5-2-3-2-4-3-2-4-2-4-2-4 0-5 1-4 1-5 2-4 3-3 4-3 4-3 4-1 4-1 4 0 1 1 4 0 4 0 4 1 4 0 3 0 4 0 4 0 4 0 4 0 4 0 4 0 3 0 4 0 4-1 4 0 4 0 3-1 4 0 4-1 4 0 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4-1 3-1 4-1 4-1 3-1 4-1 3-2 4-1 4-1 3-1 4-2 3-1 4-1 3-2 0 0 0 0 4-1 5-1 5 0 4 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4 0 5-2 4-2 4-3 3-4 3-3 2 0 0-1 0 0 0-3 2-1 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0-1 0-3 1-1 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0-1 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-5 0 0 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 1 0 0 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0 1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0z m-155-39l-4 0-5-1-3-1-2-1 0 0 0 0-4-2 0 0 0 0-3-2-1-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-2 0 0 0 0-4-2 0-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0-1-1-3-2 0 0 0 0-3-3 0 0-1 0-3-2 0-1 0 0-3-2 0 0-1 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0-1 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-4 0 0 0 0-3-3 0 0 0 0-2-3-1 0 0-1-2-3 0 0 0 0-3-3 0 0 0-1-3-3 0 0 0 0-2-3 0 0-1-1-2-3 0 0 0 0-2-3-1-1 0 0-2-3 0 0 0 0-2-4-1 0 0 0-2-3-2-4-1-4-1-5 1-4 1-5 2-4 3-3 3-4 4-2 4-2 4-1 5 0 4 1 5 2 4 2 3 3 2 3 2 3 2 3 2 3 3 3 2 4 2 3 2 3 3 3 2 3 3 2 2 3 3 3 2 3 3 3 2 3 3 3 3 2 3 3 2 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 3 2 4 2 3 2 3 2 3 2 4 2 3 2 2 0 3 3 4 3 2 4 2 4 1 4 1 5-1 4-1 5-3 4-2 3-4 3-4 2-4 2-5 0z m393-59l-5-1-4-1-4-1-4-3-3-3-3-4-1-4-1-5-1-4 1-5 2-4 2-4 2-3 3-2 3-3 2-3 3-3 2-3 3-3 2-3 3-2 2-3 3-3 2-3 2-3 3-4 2-3 2-3 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-4 2-3 1-3 2-4 2-3 1-3 2-4 2-3 1-4 1-3 2-4 1-3 2-4 1-3 1-4 1-4 2-3 1-4 1-3 0-3 2-4 2-4 4-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 4 0 2 0 0 0 0-2 4 0 0 0 1-1 3 0 1 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-1 3 0 0-1 1-1 3 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0-1 0-1 4-1 0 0 0-2 3 0 1 0 0-2 3 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 3 0 0 0 1-2 3 0 0 0 0-3 4 0 0 0 0-2 3 0 0 0 1-3 3 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 3 0 1 0 0-2 3-1 0 0 0-2 3 0 1 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 4 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 1-3 3 0 0 0 0-3 2-3 3-4 3-5 1-4 1z m-564-171l-5 0-4-1-4-2-4-2-3-4-3-3-2-4-1-4-1-4 0 0 0 0 0-4 0 0-1 0 0-4 0-1 0 0-1-4 0 0 0 0-1-4 0 0 0 0 0-5 0 0 0 0-1-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0-1 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0-1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 1-5 0 0 0 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 1-4 0 0 0 0 0-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 0-4 1-1 0 0 0-4 0 0 0 0 1-4 0 0 0 0 1-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0-1 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0 0 2-4 0 0 0 0 1-4 0-1 0 0 1-1 1-4 3-4 3-3 4-3 4-2 4-1 5 0 4 1 5 1 4 2 3 3 3 4 2 4 2 4 0 5 0 4-1 4 0 1-2 4-1 4-1 3-1 4-1 3-1 4 0 4-1 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4 0 4 0 3-1 4 0 4 0 4-1 4 0 4 0 3 0 4 0 4 0 4 0 4 0 4 0 3 1 4 0 4 0 4 1 4 0 3 0 4 1 4 0 4 1 4 1 3 0 4 1 4 0 4 0 5-1 4-2 4-3 4-3 3-4 2-5 2-4 1z m754-46l-5 0-4-1-4-2-4-2-3-4-3-4-2-4 0-4-1-4 1-4 0-5 0-5 0-5 0-5 0-5 0-5-1-5 0-5 0-5-1-5 0-5-1-5 0-5-1-5-1-4 0-5-1-5-1-5-1-5-1-5-1-5-1-4-1-5-1-5-2-5-1-4-2-5-1-5-1-4-2-5-2-5-1-4-2-5-2-4-2-5-2-5-2-4-2-5-2-4-2-4-2-5-2-4-2-5-1-4 0-5 1-4 2-4 2-4 3-4 4-2 4-2 4-2 5 0 4 1 5 1 4 2 3 3 3 3 2 3 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 2 4 0 1 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 1 5 0 0 0 0 2 5 0 0 0 0 1 5 0 0 0 0 2 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 0 2 6 0 0 0 0 1 5 0 0 0 0 1 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 0 5 0 0 0 1 1 5 0 0 0 0 0 5 1 0 0 1 0 5 0 0 0 0 0 5 0 1 0 0 1 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0 1 6 0 0 0 0 0 5 0 0 0 1 0 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0-1 6 0 0 0 0 0 4 0 5-2 4-2 4-3 3-4 3-4 2-4 2-4 0z m-853-16l-5 0-4-1-4-1-4-3-4-3-2-4-2-4-1-4-1-4 0-4 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 0-6 0 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 1-5 0 0 0-1 0-5 0 0 0 0 1-5 0-1 0 0 0-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 1-5 0 0 0-1 1-5 0 0 0 0 1-5 0 0 0 0 2-6 0 0 0 0 1-5 0 0 0 0 1-5 0 0 0-1 2-5 0 0 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0-1 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0-1 2-4 0-1 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 3-5 0 0 0 0 2-5 0 0 0 0 2-5 1 0 0 0 0-1 3-4 3-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 5-1 3-1 1-2 5-2 4-2 4-2 5-2 4-2 5-2 5-2 4-2 5-1 4-2 5-1 5-2 4-1 5-2 5-1 4-1 5-2 5-1 5-1 4-1 5-1 5-1 5-1 5-1 5 0 5-1 4-1 5 0 5-1 5 0 5-1 5 0 5 0 5-1 5 0 5 0 5 0 5 0 4 0 4-1 5-2 4-3 3-4 4-3 2-5 2-4 0z m756-57l-4 0-5-1-4-2-4-3-3-3-2-4-2-4-1-3 0 0 0 0 0 0 0 0-1-4 0-4-1-4-1-3 0-4-1-4-1-4-1-3-1-4-1-3-1-4-1-4-2-3-1-4-1-3-1-4-2-4-1-3-2-4-1-3-1-4-2-3-2-3-1-4-2-3-2-4-1-3-2-3-2-4-2-3-2-3-2-3-2-4-2-3-2-3-2-3-2-3-2-3-3-3-2-3-2-4-2-1-2-4-2-4-1-5 0-4 1-5 2-4 2-4 3-3 4-3 4-2 4-1 5-1 4 1 4 1 5 2 3 3 3 3 1 1 0 1 0 0 3 3 0 0 0 0 2 3 1 1 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 0 2 4 0 0 0 0 2 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 1 2 3 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 1 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 1 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 0 4 0 0 0 0 0 0 1 5-1 4-1 4-2 4-3 4-4 3-4 2-4 2-5 0z m-590-160l-4-1-4-2-4-2-4-3-3-3-2-4-1-5-1-4 1-5 1-4 2-4 2-3 1-2 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-2 1-1 0 0 3-2 0 0 0 0 3-3 1 0 0 0 3-3 0 0 0 0 3-2 1 0 0-1 3-2 0 0 0 0 4-2 0-1 0 0 3-2 0 0 0 0 4-2 0-1 0 0 3-2 1 0 0 0 3-2 0 0 0 0 4-3 0 0 0 0 4-2 0 0 0 0 3-2 1 0 0 0 3-2 0 0 1 0 3-2 0 0 0-1 4-1 0-1 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 4-1 4 0 5 0 4 1 4 2 4 3 3 4 2 3 2 5 1 4 0 5-1 4-2 4-2 4-4 3-3 3-4 2-3 1-4 2-3 1-4 2-3 1-3 2-4 1-3 2-4 2-3 2-3 1-4 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-3 2-3 3-3 2-4 2-3 2-2 3-3 2-3 3-3 2-3 3-3 2-3 3-3 2-2 3-3 3-3 3-3 2-2 3-3 3-2 3-3 3-2 3-1 1-4 3-3 3-5 1-4 1-5 1z m426-77l-5 0-4-1-4-2-1-1-4-2-3-1-3-2-4-2-3-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-1-4-1-3-1-4-2-3-1-4-1-4-1-3-1-4-1-4 0-3-1-4-1-4-1-4 0-3-1-4-1-4 0-4-1-3 0-4 0-4-1-4 0-4 0-4-1-3 0-4 0-4 0-5 0-4-2-4-2-4-3-3-3-2-4-1-4-1-5 0-5 1-4 2-4 2-4 4-3 3-3 4-2 5-1 4 0 4 0 0 0 0 0 4 0 0 0 1 0 4 1 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 4 0 0 0 0 0 4 1 1 0 0 0 4 0 0 0 0 0 4 1 0 0 0 0 5 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 1 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 2 0 0 1 0 3 1 1 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 1 1 3 1 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 1 0 0 0 1 4 1 0 0 0 0 4 2 0 0 0 0 4 2 0 0 0 1 4 1 0 1 0 0 4 2 0 0 0 0 2 1 3 2 4 4 2 3 2 5 1 4 0 5-1 4-1 4-3 4-3 4-3 3-4 2-5 1-4 0z m-440-39l-4-1-5-1-4-3-3-3-3-3-2-4-1-5-1-4 0-5 1-4 2-4 3-4 3-2 1-1 0 0 0 0 4-4 0 0 0 0 4-3 0 0 1 0 4-4 0 0 0 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0-1 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-2 0 0 0-1 5-2 0 0 0 0 4-3 1 0 0 0 4-2 0 0 0-1 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 4-2 1 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 5-1 0 0 0 0 5-2 0 0 0 0 5-1 0 0 0 0 5-2 1 0 0 0 5-1 0 0 0 0 5-1 0 0 0 0 6-2 0 0 0 0 4-1 5 0 4 0 5 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4-1 5-1 4-3 4-3 3-4 3-4 2-3 1-5 1-4 1-5 1-5 1-5 2-4 1-5 2-5 1-4 2-5 1-5 2-4 1-5 2-5 2-4 2-5 2-4 2-5 2-4 2-5 2-4 2-4 2-5 3-4 2-4 2-5 3-4 2-4 3-4 3-4 2-4 3-5 3-4 2-4 3-4 3-4 3-3 3-4 3-4 3-1 1-4 3-4 1-4 1-5 1z m543-3l-5 0-4-1-5-2-3-2-1-2-4-3-4-3-4-3-4-3-4-3-4-2-4-3-5-3-4-2-4-3-4-3-4-2-5-3-4-2-4-2-5-3-4-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-1-5-2-4-1-5-2-5-1-5-2-4-1-5-2-5-1-5-1-4-1-5-1-3-1-5-1-4-2-3-3-3-3-2-4-2-5-1-4 0-5 1-4 2-4 3-4 3-3 4-3 4-2 4-1 5 0 4 0 3 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 2 0 0 1 0 5 1 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 1 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 1 0 0 4 2 1 0 0 0 4 3 0 0 1 0 4 2 0 1 0 0 5 2 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 1 4 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 4 4 1 0 0 0 4 3 0 0 0 0 2 2 3 3 3 4 2 4 1 4 0 5-1 4-1 5-2 4-3 3-4 3-4 2-4 2-4 0z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-condition" unicode="&#xe814;" d="M500 802c-249 0-452-203-452-452 0-249 203-452 452-452 249 0 452 203 452 452 0 249-203 452-452 452z m0-49c223 0 403-180 403-403 0-223-180-403-403-403-223 0-403 180-403 403 0 223 180 403 403 403z m-151-213l0-12 0-368 50 0 202 0 50 0 0 380-302 0z m24-24l254 0 0-332-26 0-202 0-26 0 0 332z m26-37l0-25 202 0 0 25-202 0z m0-74l0-24 202 0 0 24-202 0z m0-85l0-24 202 0 0 24-202 0z m0-77l0-24 202 0 0 24-202 0z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-timer" unicode="&#xe815;" d="M500 564c-85 2-167-54-198-133-33-76-15-170 43-229 56-60 149-82 226-54 81 28 141 108 143 194 5 83-46 166-121 201-29 14-61 21-93 21z m0-39c78 2 152-55 170-131 20-73-14-156-79-194-67-42-160-31-215 26-58 56-68 152-24 219 32 49 89 81 148 80z m55-49c-19-36-39-71-58-107-18-2-23-29-6-36 11-8 20 5 30 4 30 0 59 0 89 0 0 8 0 17 0 25-30 0-60 0-89 0 18 34 37 68 56 102-7 4-14 8-22 12z m-51 324l-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 0-6-1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6 0 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0-1 0 0-6-1 0 0-1 0-6-1 0 0 0 0-6-2 0 0 0 0-4-1-4-1-4-2-3-3-3-4-2-4-2-4 0-5 0-4 1-5 2-4 3-4 3-3 4-2 5-2 4-1 5 0 3 1 3 1 6 1 6 1 6 2 5 1 6 1 6 1 6 1 6 0 6 1 5 1 6 0 6 1 6 0 6 1 6 0 6 0 6 0 6 0 6 0 5 0 6 0 6-1 6 0 6-1 6 0 6-1 5 0 6-1 6-1 6-1 6-1 5-1 2 0 4-1 5 0 4 2 4 2 4 2 3 4 3 3 1 5 1 4 0 5-1 4-1 4-3 4-3 4-3 2-5 2-3 1-2 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0 0 0-7 1 0 0 0 0-6 0 0 1-1 0-6 0 0 0 0 0-6 1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6 1 0 0 0 0-6 0-1 0 0 0-6 0 0 0z m246-79l-5-1-4-1-4-3-3-3-3-4-1-4-2-4 0-5 1-4 1-5 2-4 3-3 3-3 2-1 0 0 2-2 0 0 3-1 0 0 2-2 0 0 2-2 2-2 0 0 3-2 0 0 2-1 2-2 0 0 2-2 3-2 0 0 2-2 2-2 0 0 2-2 2-2 1 0 2-2 2-2 2-2 0 0 2-2 0 0 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 2-2 0 0 2-3 2-2 2-2 0-1 1-2 0 0 2-2 0 0 2-3 0 0 1 0 2-4 3-3 2-4 3-3 2-3 3-4 2-3 2-4 0 0 3-3 2-4 2-4 3-3 2-4 2-3 2-4 2-4 2-3 2-4 2-4 1-2 3-4 3-4 3-2 4-2 5-2 4 0 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 5-1 4-1 3-2 3 0 0 0 0-2 4 0 0 0 1-2 4 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0-1 0-2 4 0 0 0 0-3 4 0 0 0 0-3 4 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 4 0 0 0 0-3 3-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2-1 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 2 0 0-1 0-2 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2-1 0 0 1-2 1 0 1 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-2 1-4 2-4 2-5 0z m-521-12l-5-1-4-2-3-2 0 0 0 0-1 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0-1-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0-1 0 0-2-2 0 0 0 0-2-2 0 0-1 0-2-2 0 0 0-1-2-2 0 0 0 0-3-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2-1 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0-1 0-1-3 0 0 0 0-2-2-1-2 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0-1-2-2 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0 0-1-2-4 0-5 0-4 1-5 2-4 2-4 4-3 3-3 5-1 4-1 5-1 4 1 4 2 4 2 4 3 3 3 1 4 1 0 1 3 1 3 0 0 1 2 0 0 2 3 1 3 0 0 2 2 0 0 1 3 1 2 0 1 2 2 1 3 0 0 2 2 0 0 1 3 2 2 0 0 1 3 2 2 1 3 0 0 2 3 0 0 2 2 0 0 1 2 2 3 2 2 0 0 1 3 2 2 2 3 1 1 0 0 2 3 1 2 0 0 2 3 2 2 0 0 1 3 2 2 0 0 2 3 0 0 2 2 1 3 2 2 0 0 2 2 2 3 2 2 0 0 2 2 1 3 2 2 0 0 2 2 2 2 0 0 2 3 0 0 2 2 0 0 2 2 0 0 2 2 2 2 0 0 2 2 0 0 2 3 0 0 2 2 2 2 0 0 2 2 3 2 0 0 2 2 2 2 0 0 2 2 0 0 2 2 0 0 2 2 0 0 3 1 0 0 2 2 0 0 2 2 0 0 2 2 3 2 0 0 2 2 0 0 0 0 3 3 3 4 2 4 1 4 0 5 0 4-2 5-2 4-3 3-3 3-4 2-4 2-5 1z m694-313l-4-1-5-2-3-2-3-4-3-4-2-4-1-4 0-4 1-4 0-4 0-4 0-5 0-4 0 0 0-1 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0-3 0-3 0-3-1-3 0-3 0 0 0-3 0 0 0-3-1-3 0-3 0-3-1-2 0-1 0-3 0 0 0-2-1-3 0-3 0 0-1-3 0-3-1-3 0 0 0-3-1-3-1-3 0 0 0-2-1-3 0 0 0-3-1-3 0 0-1-3-1-3 0 0 0-2 0 0-1-3 0 0-1-3 0 0-1-3 0 0-1-3-1-2 0 0 0-3-1-3 0 0-1-3 0 0-1-2 0-1-1-2 0 0-1-3 0 0-1-3-1-2 0 0-1-3-3-5-2-6-2-5-3-5-2-6-3-5-3-5-1-3-2-4-1-4 0-5 1-4 1-5 3-4 3-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 3 1 3 1 0 0 0 3 6 0 0 0 0 2 6 1 0 0 0 2 6 0 0 0 0 3 5 0 1 0 0 3 5 0 1 0 0 2 6 0 0 1 0 2 6 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 1 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 1 0 0 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 4 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 3 0 1 0 0 0 3 0 4 0 0 0 0 0 4 0 0 0 1 0 4 0 0 0 0-1 5 0 0 0 0 0 4 0 5-2 4-2 4-3 4-4 2-4 3-4 1-4 1z m-853-18l-4-1-5-2-3-3-4-3-2-4-2-4-1-4 0-4 0-3 0 0 0 0 0-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 1 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0 0 2-6 0-1 0 0 1-6 0 0 0 0 2-6 0 0 0-1 2-6 0 0 0 0 1-6 0 0 0 0 2-6 0 0 0 0 2-6 0-1 0 0 2-6 0 0 0 0 2-6 0 0 0 0 2-6 1 0 0 0 2-6 0 0 0 0 2-6 0 0 0-1 3-5 0-1 0 0 2-5 0-1 0 0 3-5 0-1 0 0 2-5 0-1 1 0 2-5 0-1 0 0 3-5 0 0 0-1 1-1 2-4 4-4 3-2 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 5 0 4 0 5-1 4-1 4-1 1-3 5-2 6-3 5-2 6-2 5-2 5-3 6-2 6-2 5-1 6-2 5-2 6-2 6-1 5-2 6-1 6-2 5-1 6-1 6-1 6-1 6-1 5-1 6-1 6-1 6 0 6-1 5 0 6-1 6 0 6 0 6-1 6 0 3 0 4-1 5-3 4-2 3-4 3-4 3-4 1-4 1z m694-334l-4-1-4-2-4-3 0 0-5-3-4-4-5-4-5-3-5-3-4-4-5-3-5-3-5-3-5-4-5-3-6-3-5-2-5-3-5-3-5-3-6-2-5-3-5-2-6-2-5-3-6-2-5-2-6-2-5-2-6-2-5-2-6-1-5-2-6-2-6-1-5-1-5-1-4-2-4-2-4-3-2-3-3-4-1-5-1-4 1-5 1-4 2-4 2-4 3-3 4-3 4-1 5-1 4-1 4 1 5 1 0 0 0 0 6 2 0 0 0 0 6 1 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 1 0 5 2 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 3 0 0 0 0 6 2 0 0 1 0 5 3 0 0 1 0 5 2 0 0 1 0 5 3 0 0 1 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 1 0 0 5 3 0 0 1 0 5 3 0 0 0 1 5 3 0 0 1 0 5 4 0 0 0 0 5 3 0 0 0 0 6 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 1 0 4 4 1 0 0 0 0 1 3 3 3 4 2 4 1 4 0 5 0 4-2 4-2 4-3 4-4 3-4 2-4 1-4 1z m-541-2l-4-1-4-3-4-2-3-4-2-4-1-4-1-5 0-4 1-5 2-4 3-4 3-2 1-1 0-1 0 0 5-4 0 0 0 0 5-4 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 3-1 0-1 0 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 2-2 0 0 1 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0-1 3-1 0 0 0 0 3-2 0 0 0 0 2-1 1 0 0 0 2-2 1 0 0 0 2-2 0 0 1 0 2-1 0 0 1 0 2-2 0 0 0 0 3-1 0 0 0 0 3-2 0 0 1 0 2-1 0 0 1 0 2-1 0-1 1 0 2-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 2 0 0 0 0 0 3-1 0 0 0-1 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 4 0 0-1 0 0 3 0 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 0 0 5 0 4 0 5 1 4 2 4 2 3 4 2 3 2 5 1 4 0 5 0 4-2 4-2 4-3 4-4 2-4 3-3 1 0 0-1 0-3 0-2 1 0 0-3 1 0 0-3 1 0 0-3 0 0 0-3 1-3 1-3 1 0 0-3 1-2 1-3 1-3 1-1 0-1 0-3 1-3 1-3 1 0 0-2 1-3 1-3 1-3 0-3 1 0 0-3 1-3 1-2 1 0 0-3 2-3 1 0 0-3 1 0 0-2 1-3 1 0 0-3 1-3 1-2 2-3 1 0 0-3 1-2 1-3 2-3 1-2 1 0 0-3 2-2 1 0 0-3 1 0 0-3 2 0 0-2 1-2 2-1 0-2 1 0 0-3 2-2 1 0 0-3 2-2 1 0 0-3 2 0 0-2 2 0 0-2 1-3 2 0 0-2 2-2 1-1 0-2 2 0 0-2 2-3 1 0 0-2 2 0 0-2 2 0 0-3 2-4 3-5 4-1 1-4 3-4 1-4 2-5 0z" horiz-adv-x="1000" />
<glyph glyph-name="sequential-mi-marker" unicode="&#xe816;" d="M200 600l0-100 600 0 0 100-600 0z m0-200l0-100 600 0 0 100-600 0z m0-200l0-100 600 0 0 100-600 0z" horiz-adv-x="1000" />
<glyph glyph-name="user-task" unicode="&#xe817;" d="M328 611c-51 0-87-39-88-84l0 0 0 0c0-13 4-27 10-40 4-10 9-18 15-25-37-13-80-33-102-75l-1-2 0-133 332 0 0 133-1 2c-22 41-64 62-101 75 18 18 23 41 23 65l0 0 0 0c0 45-36 84-87 84z m-35-47c3 0 5-1 8-1 23-1 30-5 36-9 6-4 10-8 26-8l0 0 0 0c12 0 18 3 22 5 1 1 3 2 4 3 4-8 6-17 6-27 0-27-4-45-29-61l2-18c6-1 11-3 16-5 1-3 2-7 2-12 1-4 1-9 1-13 0-3-2-5-2-5-12-13-34-20-57-20-23 0-45 7-57 20 0 0-2 2-2 5 0 4 0 9 1 13 0 5 1 9 2 12 5 2 10 4 15 5l2 20c-1 1-3 2-4 3-5 4-12 13-17 24-4 10-7 23-7 32 0 12 3 23 8 33 2 0 3 0 4 1 4 1 10 3 20 3z m-43-130c0 0 0 0 0 0-1-6-2-12-1-18 1-6 2-12 8-17 17-18 44-26 71-26 27 0 54 8 71 26 6 5 7 11 8 17 1 6 0 12-1 18 0 0 0 0 0 0 27-12 54-29 68-54l0-108-48 0 0 76-20 0 0-76-156 0 0 76-21 0 0-76-47 0 0 108c14 25 41 43 68 54z m-35 311c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z" horiz-adv-x="1000" />
<glyph glyph-name="business-rule" unicode="&#xe818;" d="M89 659l0-617 822 0 0 617-822 0z m35-209l159 0 0-173-159 0 0 173z m194 0l558 0 0-173-558 0 0 173z m-194-208l159 0 0-165-159 0 0 165z m194 0l558 0 0-165-558 0 0 165z" horiz-adv-x="1000" />
<glyph glyph-name="sub-process-marker" unicode="&#xe819;" d="M150 700l0-25 0-675 700 0 0 700z m44-44l612 0 0-612-612 0z m261-106l0-155-155 0 0-90 155 0 0-155 90 0 0 155 155 0 0 90-155 0 0 155z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-parallel-multiple" unicode="&#xe81a;" d="M496 802c-176 0-345-113-412-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47-1 0-3 0-4 0z m12-49c173-1 335-126 380-293 47-159-17-344-155-439-143-105-354-97-489 18-136 108-185 309-115 468 60 147 212 248 371 246 3 0 6 0 8 0z m-78-208l0-125-125 0 0-140 125 0 0-125 140 0 0 125 125 0 0 140-125 0 0 125-140 0z m23-23l94 0 0-125 125 0 0-94-125 0 0-125-94 0 0 126-125 0 0 93 125 0 0 125z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-error" unicode="&#xe81b;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m173-210c-34-70-68-139-102-209-43 56-86 111-128 166-39-114-77-228-116-342 43 55 87 111 130 167 45-51 89-103 134-154 27 124 55 248 82 372z m-219-110c41-52 81-103 122-154 10 22 20 45 30 67-10-39-19-78-29-116-41 48-83 97-124 145-17-26-34-52-50-77 17 45 34 90 51 135z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-signal" unicode="&#xe81c;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-99c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z m0-51c50-90 100-180 151-270-101 0-201 0-302 0 51 90 101 180 151 270z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-error" unicode="&#xe81d;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m173-118c-34-70-68-139-102-209-43 56-86 111-128 166-39-114-77-228-116-342 43 55 87 111 130 167 45-51 89-103 134-154 27 124 55 248 82 372z m-219-110c41-52 81-103 122-154 10 22 20 45 30 67-10-39-19-78-29-116-41 48-83 97-124 145-17-26-34-51-50-77 17 45 34 90 51 135z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-compensation" unicode="&#xe81e;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m-16-162c-70-49-140-99-209-148 70-49 139-99 209-148 0 48 0 95 0 143 67-48 135-95 202-143 0 99 0 197 0 296-67-48-135-95-202-143 0 48 0 95 0 143z" horiz-adv-x="1000" />
<glyph glyph-name="subprocess-collapsed" unicode="&#xe81f;" d="M216 716c-86 0-155-69-155-154l0-424c0-85 69-154 155-154l569 0c85 0 154 69 154 154l0 424c0 85-69 154-154 154l-569 0z m0-48l569 0c59 0 106-47 106-106l0-424c0-59-47-106-106-106l-116 0 0 308-338 0 0-15 0-293-115 0c-60 0-106 47-106 106l0 424c0 59 46 106 106 106z m146-359l276 0 0-276-276 0 0 276z m115-39l0-23 0-54-54 0-23 0 0-46 23 0 54 0 0-54 0-23 46 0 0 23 0 54 54 0 23 0 0 46-23 0-54 0 0 54 0 23-46 0z" horiz-adv-x="1000" />
<glyph glyph-name="subprocess-expanded" unicode="&#xe820;" d="M215 716c-85 0-154-69-154-154l0-424c0-85 69-154 154-154l570 0c85 0 154 69 154 154l0 424c0 85-69 154-154 154l-570 0z m0-48l570 0c59 0 106-47 106-106l0-424c0-59-47-106-106-106l-116 0 0 292 0 16-15 0-308 0-15 0 0-16 0-292-116 0c-59 0-105 47-105 106l0 424c0 59 46 106 105 106z m147-359l276 0 0-277-276 0 0 277z m37-110l0-47 203 0 0 47-203 0z" horiz-adv-x="1000" />
<glyph glyph-name="task" unicode="&#xe821;" d="M215 716c-85 0-154-69-154-154l0-424c0-85 69-154 154-154l570 0c85 0 154 69 154 154l0 424c0 85-69 154-154 154l-570 0z m0-48l570 0c59 0 106-47 106-106l0-424c0-59-47-106-106-106l-570 0c-59 0-105 47-105 106l0 424c0 59 46 106 105 106z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-error" unicode="&#xe822;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m173-117c-34-70-68-139-102-209-43 56-86 111-128 166-39-114-77-228-116-342 43 55 87 111 130 167 45-51 89-103 134-154 27 124 55 248 82 372z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-escalation" unicode="&#xe823;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-111c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z m1-83c23-73 45-146 68-219-22 24-45 49-68 74-19-17-69-82-66-68 24 70 41 143 66 213z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-timer" unicode="&#xe824;" d="M499 802c-1 0-2 0-3 0-202 1-391-150-436-346-42-173 28-368 174-471 145-107 354-116 506-18 149 93 235 276 207 450-26 176-164 330-338 371-36 9-73 14-110 14z m-5-49c3 0 7 0 10 0 187 2 362-146 392-331 32-167-54-348-205-427-154-85-363-54-483 77-124 127-147 338-53 488 71 116 203 192 339 193z m8-44c-3 0-7 0-10 0-172 0-330-143-349-314-22-161 79-328 233-382 145-55 322-3 413 124 98 129 92 326-17 447-67 77-167 125-270 125z m-2-48c2 0 4 0 6 0 153 0 292-129 304-281 16-145-84-293-225-330-137-40-296 27-361 154-69 129-33 305 86 392 54 42 122 65 190 65z m-4-97c-84 0-164-55-194-133-33-76-15-170 43-229 56-60 149-82 226-54 81 28 141 108 143 194 5 83-46 166-121 201-29 14-61 21-93 21-1 0-3 0-4 0z m8-39c76 0 148-57 166-131 20-73-14-156-79-194-67-42-160-31-215 26-58 56-68 152-24 219 32 49 89 81 148 80 1 0 2 0 4 0z m51-49c-19-36-39-71-58-107-18-2-23-29-6-36 11-8 20 5 30 4l89 0 0 25-89 0c18 34 37 68 56 102-7 4-14 8-22 12z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-escalation" unicode="&#xe825;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m0-203c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z m1-83c23-73 45-146 68-219-22 24-45 49-68 74-19-17-69-82-66-68 24 70 41 143 66 213z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-signal" unicode="&#xe826;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m0-191c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z m0-51c50-90 100-180 151-270-101 0-201 0-302 0 51 90 101 180 151 270z" horiz-adv-x="1000" />
<glyph glyph-name="business-rule-task" unicode="&#xe827;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m-36-72l0-380 506 0 0 380-506 0z m21-131l463 0 0-104-343 0 0 103-22 0 0-103-98 0 0 104z m0-125l98 0 0-102-98 0 0 102z m120 0l343 0 0-102-343 0 0 102z m-118 232l0-108 461 0 0 108z" horiz-adv-x="1000" />
<glyph glyph-name="manual" unicode="&#xe828;" d="M460 659c-11 0-22-5-31-10l0 0 0 0c-47-31-209-143-245-168l0 0 0 0c-32-22-54-55-66-95l0 0 0 0c-13-41-11-86-11-124l0 0 0 0c0-28 1-53 8-83 0 0 0 0 0 0 11-44 31-75 61-95 29-19 65-26 105-26 147-1 293-1 439 0l0 0 0 0c16 0 31 6 41 18 10 12 14 28 14 45 0 11-2 22-5 32l16 0c16 0 30 4 40 14 11 9 16 22 19 35l0 0c4 19 2 38-6 53 17 2 31 8 41 19 10 13 13 29 13 47 0 18-4 35-14 49-10 13-27 23-46 23l0 0 0 0c-7 0-13 0-21 0 4 9 6 19 6 31l0 0 0 0c0 17-5 35-15 48-10 14-27 23-46 23-112 0-223-1-317-1 5 5 9 10 15 15 16 17 31 32 39 42 20 25 23 59 6 83-8 13-21 22-34 24-2 0-4 1-5 1l0 0c-1 0-1 0-1 0z m0-35c0 0 1 0 1-1 3 0 6-1 10-8l0 0 0 0c6-9 6-29-4-42l0 0 0 0c-4-5-21-23-37-39-16-16-32-31-39-40-8-9-5-16-3-21 2-5 4-10 14-12 3-1 4-1 5-1 0 0 1 0 3 0 2 0 5 0 9 0 113-1 225 0 338 0l0 0 0 0c9 0 13-3 18-9 4-6 8-16 8-28 0-12-3-19-7-24-3-4-8-6-19-6l-242 0 0-35 242 0 0 0c34 0 51 0 76 0 9 0 13-3 18-9 4-6 7-16 7-28l0 0c0-13-2-21-5-24-3-4-8-7-20-7-4 0-34 0-47 0 0 0 0 0-1 0-90 0-180 0-270 0l0 0 0-35 0 0c0 0 191 0 271 0 10 0 15-4 20-12 5-8 7-20 5-34l0 0 0 0c-2-9-5-14-8-17-3-2-7-4-17-4-90 0-181 0-271 0l0 0 0-35 0 0 205 0 0 0c7 0 10-2 14-7 3-4 6-13 6-25l0 0 0 0c0-11-3-19-6-23-3-4-6-5-14-5-146-1-292-1-438 0l0 0 0 0c-37 0-66 6-87 20-21 14-37 37-46 74l0 1 0 0c-6 26-7 47-7 74l0 0c0 39-1 80 9 114 11 34 28 59 53 76l0 0c36 25 199 138 244 167l0 0c5 3 8 4 11 4 0 1 1 1 1 1z" horiz-adv-x="1000" />
<glyph glyph-name="receive" unicode="&#xe829;" d="M95 618l0-535 811 0 0 535-811 0z m83-35l644 0-322-212-322 212z m-48-10l370-244 371 244 0-455-741 0 0 455z" horiz-adv-x="1000" />
<glyph glyph-name="call-activity" unicode="&#xe82a;" d="M231 745c-116 0-211-93-211-208l0-374c0-115 95-208 211-208l538 0c116 0 211 93 211 208l0 374c0 115-95 208-211 208l-538 0z m0-110l538 0c58 0 101-43 101-98l0-374c0-55-43-98-101-98l-538 0c-58 0-101 43-101 98l0 374c0 55 43 98 101 98z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-timer" unicode="&#xe82b;" d="M500 802c-249 0-452-203-452-452 0-249 203-452 452-452 249 0 452 203 452 452 0 249-203 452-452 452z m0-49c223 0 403-180 403-403 0-223-180-403-403-403-223 0-403 180-403 403 0 223 180 403 403 403z m-4-189c-84 0-164-55-194-133-33-76-15-170 43-229 56-60 149-82 226-54 81 28 141 108 143 194 5 83-46 166-121 201-29 14-61 21-93 21-1 0-3 0-4 0z m8-39c76 0 148-57 166-131 20-73-14-156-79-194-67-42-160-31-215 26-58 56-68 152-24 219 32 49 89 81 148 80 1 0 2 0 4 0z m51-49c-19-36-39-71-58-107-18-2-23-29-6-36 11-8 20 5 30 4l89 0 0 25-89 0c18 34 37 68 56 102-7 4-14 8-22 12z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-message" unicode="&#xe82c;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m-205-247c0-104 0-208 0-312 137 0 273 0 410 0 0 104 0 208 0 312-137 0-273 0-410 0z m91-49c76 0 152 0 228 0-40-24-81-79-121-85-36 29-71 57-107 85z m270-28c0-62 0-124 0-186-104 0-208 0-312 0 0 62 0 124 0 186 52-42 104-83 156-125 52 42 104 83 156 125z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-none" unicode="&#xe82d;" d="M496 802c-219 2-422-178-445-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 165-214 291-388 303-15 1-29 2-43 2z m8-49c201 3 386-169 398-370 16-178-100-360-271-415-164-56-362 4-460 148-103 144-99 357 19 491 76 92 194 149 314 146z m-12-44c-185 0-352-166-352-352-4-168 124-331 291-360 153-30 322 49 390 191 71 141 39 329-84 431-67 59-156 92-245 90z m14-48c165 1 312-150 305-315 0-150-121-290-272-305-143-19-295 73-336 213-43 134 14 296 139 364 50 29 107 44 164 43z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-link" unicode="&#xe82e;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m50-116c0-33 0-67 0-100-75 0-150 0-226 0 0-63 0-127 0-190 76 0 151 0 226 0 0-33 0-67 0-100 55 65 110 130 165 195-55 65-110 130-165 195z m28-73c34-40 68-81 102-121-34-40-68-81-102-121 0 18 0 36 0 54-75 0-149 0-223 0 0 44 0 89 0 133 74 0 148 0 223 0 0 18 0 37 0 55z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-escalation" unicode="&#xe82f;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m0-110c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z" horiz-adv-x="1000" />
<glyph glyph-name="text-annotation" unicode="&#xe830;" d="M677 795l0-25 0-411 0-412 0-24 24 0 224 0 25 0 0 49-25 0-199 0 0 387 0 386 199 0 25 0 0 50-25 0-224 0-24 0z m-81-386l-75-60 60-75 75 60-60 75z m-151-119l-75-60 60-75 75 59-60 76z m-150-120l-76-59 60-76 75 60-59 75z m-151-119l-76-60 60-75 76 59-60 76z" horiz-adv-x="1000" />
<glyph glyph-name="bpmn-io" unicode="&#xe831;" d="M674 41h-348v-191h348z m-348 809v-714h176c114 0 171 57 171 166v58c0 76-23 133-81 157 48 24 67 71 67 143v28c0 105-48 162-162 162z m114-100h57c43 0 57-24 57-76v-38c0-57-23-76-66-76h-48z m-5-300h53c47 0 71-19 71-86v-62c0-52-19-71-57-71h-67z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-complex" unicode="&#xe832;" d="M500 802c-9 0-19-4-26-11l-415-415c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-7 7-17 11-26 11z m0-62l390-390-390-390-390 390 390 390z m-9-192l0 0c0 0-4-1-4-1 0 0-4-2-4-2 0 0-2-3-2-3 0 0-1-4-1-4l0-140-99 99 0 0c0 0-3 2-3 2 0 0-4 1-4 1 0 0-4-1-4-1 0 0-4-2-4-2l-13-13c0 0-2-4-2-4 0 0-1-4-1-4 0 0 1-4 1-4 0 0 2-3 2-3l99-99-140 0 0 0c0 0-4-1-4-1 0 0-3-2-3-2l0 0c0 0-2-4-2-4 0 0-1-4-1-4l0-18c0 0 1-4 1-4 0 0 2-4 2-4 0 0 3-2 3-2 0 0 4-1 4-1l140 0-99-99 0 0c0 0-2-3-2-3 0 0-1-4-1-4 0 0 1-4 1-4 0 0 2-4 2-4l13-13c0 0 4-2 4-2 0 0 4-1 4-1 0 0 4 1 4 1 0 0 3 2 3 2l99 99 0-140 0 0c0 0 1-4 1-4 0 0 2-3 2-3 0 0 4-2 4-2 0 0 4-1 4-1l18 0c0 0 4 1 4 1 0 0 4 2 4 2 0 0 2 3 2 3 0 0 1 4 1 4l0 140 99-99c0 0 3-2 3-2 0 0 4-1 4-1 0 0 4 1 4 1 0 0 4 2 4 2l13 13c0 0 2 4 2 4 0 0 1 4 1 4 0 0-1 4-1 4 0 0-2 4-2 4l-99 98 140 0c0 0 4 1 4 1 0 0 3 2 3 2 0 0 3 4 3 4 0 0 0 4 0 4l0 18c0 0 0 4 0 4 0 0-3 4-3 4 0 0-3 2-3 2 0 0-4 1-4 1l-140 0 99 99c0 0 2 3 2 3 0 0 1 4 1 4 0 0-1 4-1 4 0 0-2 4-2 4l-13 13c0 0-4 2-4 2 0 0-4 1-4 1 0 0-4-1-4-1 0 0-3-2-3-2l-99-99 0 140c0 0-1 4-1 4 0 0-2 3-2 3 0 0-4 3-4 3 0 0-4 0-4 0l-18 0z m-117-48c0 0 0 0 0 0l0 0c0 0 0 0 0 0z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-eventbased" unicode="&#xe833;" d="M500 802c-9 0-19-4-26-11l-415-415c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-7 7-17 11-26 11z m0-62l390-390-390-390-390 390 390 390z m0-166l-7-5-208-151 82-253 266 0 82 253-215 156z m0-30l187-135-72-220-230 0-72 220 187 135z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-none" unicode="&#xe834;" d="M59 376c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-14 14-38 14-52 0l-415-415z m51-26l390 390 390-390-390-390-390 390z" horiz-adv-x="1000" />
<glyph glyph-name="gateway-or" unicode="&#xe835;" d="M500 802c-9 0-19-4-26-11l-415-415c-14-14-14-38 0-52l415-415c14-14 38-14 52 0l415 415c14 14 14 38 0 52l-415 415c-7 7-17 11-26 11z m0-62l390-390-390-390-390 390 390 390z m0-180c-116 0-210-94-210-210 0-116 94-210 210-210 116 0 210 94 210 210 0 116-94 210-210 210z m0-23c103 0 187-84 187-187 0-103-84-187-187-187-103 0-187 84-187 187 0 103 84 187 187 187z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-terminate" unicode="&#xe836;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m0-81c-149 6-268-156-219-297 38-143 229-210 349-121 126 79 133 281 13 369-40 32-92 50-143 49z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-signal" unicode="&#xe837;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m0-98c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-none" unicode="&#xe838;" d="M496 802c-203 1-394-153-437-351-41-174 33-368 181-470 143-103 348-111 497-15 150 91 238 275 210 449-26 181-170 339-350 376-33 7-67 11-101 11z m10-142c150 1 287-123 302-271 19-142-72-291-210-334-134-45-296 13-366 138-77 129-45 313 78 403 56 43 126 66 196 64z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-multiple" unicode="&#xe839;" d="M491 802c-219-1-420-183-440-401-22-185 82-379 252-458 159-77 362-53 493 66 134 116 192 313 133 481-55 171-220 303-401 311-13 0-25 1-37 1z m9-142c161 5 308-137 310-298 7-148-104-292-250-317-142-28-300 54-350 192-53 136 1 308 132 380 47 28 102 43 158 43z m0-86c-72-52-143-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253-71 52-143 104-215 156z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-message" unicode="&#xe83a;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m-167-154c57-46 114-92 171-138 56 46 113 92 170 138-114 0-227 0-341 0z m-38-32c0-93 0-187 0-280 137 0 273 0 410 0 0 91 0 183 0 274-67-54-134-109-201-163-70 56-139 113-209 169z" horiz-adv-x="1000" />
<glyph glyph-name="end-event-link" unicode="&#xe83b;" d="M491 802c-219 0-420-183-440-400-22-186 82-380 253-459 158-77 361-53 492 67 134 115 192 312 133 480-55 172-220 303-401 311-13 1-25 1-37 1z m9-142c161 5 308-137 310-298 7-147-103-292-250-317-142-28-300 54-350 192-53 136 2 309 132 380 47 28 103 43 158 43z m50-115c0-33 0-67 0-100-75 0-150 0-226 0 0-63 0-127 0-190 76 0 151 0 226 0 0-33 0-67 0-100 55 65 110 130 165 195-55 65-110 130-165 195z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-message" unicode="&#xe83c;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-205-155c0-104 0-208 0-312 137 0 273 0 410 0 0 104 0 208 0 312-137 0-273 0-410 0z m91-49c76 0 152 0 228 0-40-24-81-79-121-85-36 29-71 57-107 85z m270-28c0-62 0-124 0-186-104 0-208 0-312 0 0 62 0 124 0 186 52-42 104-83 156-125 52 42 104 83 156 125z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-compensation" unicode="&#xe83d;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-16-163c-70-49-140-99-209-148 70-49 139-99 209-148 0 48 0 95 0 143 67-48 135-95 202-143 0 99 0 197 0 296-67-48-135-95-202-143 0 48 0 95 0 143z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-multiple" unicode="&#xe83e;" d="M500 802c-178 2-349-112-416-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47z m0-49c175 3 342-123 388-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246z m0-179c-72-52-143-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253-71 52-143 104-215 156z m0-30c62-45 124-90 187-135-24-74-48-147-72-220-77 0-153 0-230 0-24 73-48 146-72 220 63 45 125 90 187 135z" horiz-adv-x="1000" />
<glyph glyph-name="script" unicode="&#xe83f;" d="M380 661l-4-2-2-1c-58-35-98-67-125-98-26-31-39-62-40-92 0-60 44-105 83-145 39-40 74-78 78-109 1-16-3-32-20-54-17-22-49-48-99-78l-74-43 458 0 5 3 1 0c53 31 89 60 112 89 23 29 32 59 29 88-6 56-52 97-90 137-39 39-70 76-70 112 0 17 7 37 29 62 21 25 57 55 113 88l0 0 73 43-457 0z m13-46l282 0c-25-19-45-37-60-55-26-31-39-62-39-92-1-60 43-105 82-145 39-40 74-78 78-109 1-16-2-32-20-54-16-21-47-46-94-74l-283 0c20 15 36 30 47 45 23 29 33 59 30 88-6 56-52 97-91 137-38 39-70 76-69 112 0 17 7 37 28 62 21 25 56 53 109 85z m-66-80l0-21 220 0 0 21-220 0z m-9-115l0-22 229 0 0 22-229 0z m104-116l0-21 221 0 0 21-221 0z m31-115l0-22 229 0 0 22-229 0z" horiz-adv-x="1000" />
<glyph glyph-name="manual-task" unicode="&#xe840;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m133-40c-7 0-13-2-18-6l0 0 0 0c-30-19-131-89-153-104l0 0 0 0c-20-14-34-35-42-60l0 0 0 0c-8-25-7-53-7-77l0 0 0 0c0-18 1-33 5-52 0 0 0 0 0 0 7-27 19-49 37-63 18-15 41-22 67-22 91-1 183-1 274 0l0 0 0 0c10 0 19 3 25 11 6 7 9 17 9 27 0 7-1 13-3 19l10 0c10 0 19 3 25 9 7 7 10 15 12 23 0 0 0 0 0 0 2 12 1 24-4 34 11 1 21 8 26 16 6 9 8 20 8 31 0 11-3 22-9 31-6 9-16 15-29 15l0 0 0 0c-4 0-9 0-14 0 3 7 5 15 5 24l0 0 0 0c0 11-3 21-10 29-6 8-17 13-28 13-68 0-127 0-192 0-3 0-4 0-6 0 3 3 6 6 9 9 10 10 20 20 25 26 12 16 14 37 4 52-6 8-13 14-22 15-1 0-2 0-3 0 0 0-1 0-1 0z m1-22c0 0 0 0 0 0 2 0 4 0 7-5l0 0 0 0c4-6 3-18-3-26l0 0 0 0c-2-3-13-14-23-24-10-10-20-20-25-25-4-6-2-11-1-13 1-3 2-7 9-8 2-1 2-1 2-1 1 0 1 0 2 0 73-1 150 0 217 0l0 0 0 0c6 0 9-1 11-5 3-3 5-8 5-16 0-7-2-14-5-17-2-4-5-6-11-6-51 0-102 0-153 1l0-22c67-1 133-1 200-1 5 0 8-2 11-6 3-4 5-11 5-18l0 0c0-8-2-15-4-19-3-4-5-6-12-6-69 0-136 0-200 0l0-22c57 0 114 0 171 0 6 0 9-3 12-8 4-5 5-13 3-22l0 0 0 0c-1-5-3-9-5-11-2-2-4-3-10-3l-171 0c0-8 0-15 0-22 43 0 86 0 130 0l0 0 0 0c5 0 7-1 9-4 2-2 3-7 3-15l0 0 0 0c0-7-2-11-3-13-2-2-4-3-9-4-91 0-183 0-274 0l0 0 0 0c-22 1-39 6-53 18-13 11-24 28-29 51l0 0 0 0c-4 17-5 30-5 47l0 0c0 24 0 50 6 71 7 21 18 37 33 48l0 0c23 15 124 86 152 104l0 0c3 1 5 2 7 2 0 0 0 0 1 0z" horiz-adv-x="1000" />
<glyph glyph-name="send" unicode="&#xe841;" d="M99 608l401-227 401 227-802 0z m1-84l0-448 802 0 0 448-402-224-400 224z" horiz-adv-x="1000" />
<glyph glyph-name="service" unicode="&#xe842;" d="M413 631c0-19 0-37 0-56-16-4-30-10-44-18l-40 39-74-74 40-40c-8-13-14-28-18-43l-56 0 0-106 56 0c6-20 17-39 28-55l0 91-49-1 0 36 49 0 3 14c4 20 12 40 23 57l8 12-34 35 25 25 34-34 12 8c18 11 38 19 58 24l14 3 0 48 36 0 0-48 14 0 80 0c-9 10-46 24-59 28l0 55c-39 0-70 0-106 0z m100-101l0-55c-16-5-31-11-44-19l-40 40-74-75 39-40c-7-13-13-28-17-43l-57 0 0-106 57 1c5-16 11-30 18-44l-40-40 75-74 41 40c13-8 28-14 44-18l0-57c36 0 74 0 105 0l0 58c16 4 31 10 44 18l41-40 74 75-41 40c8 14 14 28 18 44l56 0 0 105-56 0c-5 16-11 30-19 43l39 39-75 74-39-39c-14 8-28 14-44 18l1 55-106 0z m35-35l36 0-1-48 15-3c20-4 40-12 58-23l11-8 34 34 25-25-33-34 8-12c12-18 20-37 24-57l3-14 49 0 0-35-49-1-3-14c-4-20-12-40-23-57l-8-12 36-35-26-26-35 36-12-8c-18-12-38-20-58-24l-14-3 0-51c-9 0-20 0-35 0l0 50-15 3c-20 4-40 12-58 24l-11 8-36-36-26 25 36 35-8 12c-12 18-20 38-24 58l-3 14-50-1 0 36 50 0 3 14c4 21 12 40 23 58l8 12-35 34 25 25 35-34 12 8c18 12 37 19 58 24l14 3 0 48z m18-128c-43 0-79-36-79-79 0-44 36-79 79-79 43 0 79 35 79 79 0 43-36 79-79 79z m0-35c25 0 44-20 44-44 0-25-19-44-44-44-24 0-44 19-44 44 0 24 20 44 44 44z" horiz-adv-x="1000" />
<glyph glyph-name="receive-task" unicode="&#xe843;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m-38-83l0-347 526 0 0 347-526 0z m54-23l418 0-209-137-209 137z m-31-6l240-158 241 158 0-295-481 0 0 295z" horiz-adv-x="1000" />
<glyph glyph-name="user" unicode="&#xe844;" d="M496 668c-89 0-152-69-152-146l0 0 0 0c0-24 6-48 16-71 7-16 16-31 27-43-65-22-140-58-178-130l-2-4 0-231 578 0 0 231-2 4c-37 71-111 107-175 129 31 32 40 73 40 115l0 0 0 0c0 77-63 146-152 146z m-61-83c5 0 9 0 14-1 39-2 53-9 63-16 10-6 17-13 44-14l0 0 0 0c21 1 32 5 39 9 3 2 5 4 8 5 7-14 10-30 10-46 0-47-8-80-51-106l4-32c9-3 19-6 28-9 1-5 3-13 4-20 1-8 1-16 1-23-1-6-3-9-3-10-22-21-61-34-100-34-39 0-78 13-100 34 0 1-2 4-3 10 0 7 0 15 1 23 1 7 3 15 4 20 9 3 19 6 27 9l3 34c-2 2-4 4-7 6-9 7-21 23-29 41-8 19-13 40-13 57 0 20 5 39 15 56 2 1 4 1 6 2 7 3 18 5 35 5z m-75-225c0 0 0 0 0-1-2-9-2-20-1-30 1-11 4-22 13-31 31-31 78-45 124-45 46 0 93 14 124 45 10 9 12 20 13 31 2 10 1 21-1 30 0 1 0 1 0 1 48-21 93-50 118-95l0-187-83 0 0 132-35 0 0-132-272 0 0 132-35 0 0-132-83 0 0 187c25 45 70 74 118 95z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-none" unicode="&#xe845;" d="M496 802c-176 0-345-113-412-276-70-161-34-362 89-487 119-128 314-175 477-115 169 58 294 224 301 403 12 176-92 351-250 428-62 31-132 47-201 47-1 0-3 0-4 0z m12-49c173-1 335-126 380-293 47-159-17-344-155-439-143-105-354-97-489 18-136 109-185 309-115 468 60 147 212 248 371 246 3 0 6 0 8 0z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-escalation" unicode="&#xe846;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-111c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-multiple" unicode="&#xe847;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-87c-72-52-143-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253-71 52-143 104-215 156z m0-30c62-45 124-90 187-135-24-74-48-147-72-220-77 0-153 0-230 0-24 73-48 146-72 220 63 45 125 90 187 135z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-escalation" unicode="&#xe848;" d="M500 550c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z m1-83c23-73 45-146 68-219-22 24-45 49-68 74-19-17-69-82-66-68 24 70 41 143 66 213z m-1 335c-41-1-83-5-121-18-25-13-8-53 18-44 64 17 131 17 196 3 26-3 34 38 9 47-33 8-68 12-102 12z m255-83c-26 3-36-36-13-47 52-38 93-90 121-147 15-22 52-3 43 22-32 67-82 127-143 170-2 1-5 2-8 2z m-519-10c-22-2-35-23-51-36-42-40-76-89-98-142-8-26 30-42 44-19 27 61 69 115 122 157 13 14 2 40-17 40z m264 0c-20-2-48 4-57-18-8-21 15-38 34-32 51 4 103-5 149-25 26-8 42 31 19 44-45 21-95 31-145 31z m-155-39c-23-4-43-21-62-34-34-27-66-58-86-96-10-26 30-44 43-21 30 47 74 83 121 110 16 14 5 41-16 41z m393-59c-25 2-35-33-14-46 37-38 62-87 77-137 14-24 53-6 44 20-17 60-49 115-94 158-4 3-8 4-13 5z m-564-171c-23 2-28-24-30-41-7-55-2-112 16-163 12-24 51-11 46 15-17 53-20 110-10 164 1 13-10 24-22 25z m754-46c-21 1-29-22-25-39 1-68-16-135-47-195-9-25 29-43 43-21 39 72 57 155 52 237-3 10-13 18-23 18z m-853-16c-22 2-30-22-26-39 1-69 18-137 51-197 15-22 52-2 42 23-30 59-46 126-45 193-2 11-11 19-22 20z m756-57c-22 2-27-22-28-39-10-48-34-91-63-130-12-25 26-47 42-24 38 49 65 108 73 170-1 12-11 23-24 23z m-590-160c-22-1-30-32-13-45 40-46 90-82 147-102 26-6 40 33 17 45-52 20-98 53-134 96-4 4-10 6-17 6z m426-77c-23-5-43-21-66-27-34-13-71-15-106-19-25-9-16-49 10-47 62 1 124 18 177 50 17 14 7 44-15 43z m-440-39c-23-1-31-35-11-46 56-45 123-78 194-91 26-2 35 39 9 47-65 14-127 44-179 87-4 2-8 3-13 3z m543-3c-22-2-36-24-55-32-43-29-92-45-141-57-24-12-10-52 17-46 71 15 140 47 196 95 14 15 2 40-17 40z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-link" unicode="&#xe849;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m50-116c0-33 0-67 0-100-75 0-150 0-226 0 0-63 0-127 0-190 76 0 151 0 226 0 0-33 0-67 0-100 55 65 110 130 165 195-55 65-110 130-165 195z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-condition" unicode="&#xe84a;" d="M349 540l0-12 0-368 50 0 202 0 50 0 0 380-302 0z m24-24l254 0 0-332-26 0-202 0-26 0 0 332z m26-37l0-25 202 0 0 25-202 0z m0-74l0-24 202 0 0 24-202 0z m0-85l0-24 202 0 0 24-202 0z m0-77l0-24 202 0 0 24-202 0z m105 557l-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 0-6-1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6 0 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0 0 0 0-6-1-1 0 0 0-6-1 0-1 0 0-6-1 0 0-1 0-6-1 0 0 0 0-6-2 0 0 0 0-4-1-4-1-4-2-3-3-3-4-2-4-2-4 0-5 0-4 1-5 2-4 3-4 3-3 4-2 5-2 4-1 5 0 3 1 3 1 6 1 6 1 6 2 5 1 6 1 6 1 6 1 6 0 6 1 5 1 6 0 6 1 6 0 6 1 6 0 6 0 6 0 6 0 6 0 5 0 6 0 6-1 6 0 6-1 6 0 6-1 5 0 6-1 6-1 6-1 6-1 5-1 2 0 4-1 5 0 4 2 4 2 4 2 3 4 3 3 1 5 1 4 0 5-1 4-1 4-3 4-3 4-3 2-5 2-3 1-2 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0-1 0-6 1 0 0 0 0-6 1 0 0 0 0-7 1 0 0 0 0-6 0 0 1-1 0-6 0 0 0 0 0-6 1 0 0-1 0-6 0 0 0 0 0-6 0-1 0 0 0-6 1 0 0 0 0-6 0-1 0 0 0-6 0 0 0z m246-79l-5-1-4-1-4-3-3-3-3-4-1-4-2-4 0-5 1-4 1-5 2-4 3-3 3-3 2-1 0 0 2-2 0 0 3-1 0 0 2-2 0 0 2-2 2-2 0 0 3-2 0 0 2-1 2-2 0 0 2-2 3-2 0 0 2-2 2-2 0 0 2-2 2-2 1 0 2-2 2-2 2-2 0 0 2-2 0 0 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 0 0 2-2 2-2 0 0 2-3 0 0 2-2 2-2 2-2 0 0 2-3 2-2 2-2 0-1 1-2 0 0 2-2 0 0 2-3 0 0 1 0 2-4 3-3 2-4 3-3 2-3 3-4 2-3 2-4 0 0 3-3 2-4 2-4 3-3 2-4 2-3 2-4 2-4 2-3 2-4 2-4 1-2 3-4 3-4 3-2 4-2 5-2 4 0 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 5-1 4-1 3-2 3 0 0 0 0-2 4 0 0 0 1-2 4 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0 0 0-3 4 0 0 0 0-2 4 0 0-1 0-2 4 0 0 0 0-3 4 0 0 0 0-3 4 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 4 0 0 0 0-3 3-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 3 0 0 0 0-2 2-1 0 0 0-2 3 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-2 2 0 0-1 0-2 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 3 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-2 2-1 0 0 1-2 1 0 1 0 0-3 2 0 0 0 0-2 2 0 0 0 0-3 2 0 0 0 0-3 2 0 0 0 0-2 2 0 0 0 0-2 1-4 2-4 2-5 0z m-521-12l-5-1-4-2-3-2 0 0 0 0-1 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0-1-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0 0 0 0-2-2 0 0 0 0-3-2 0-1 0 0-2-2 0 0 0 0-2-2 0 0-1 0-2-2 0 0 0-1-2-2 0 0 0 0-3-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-2-1 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2-1 0 0 0-2-3 0 0 0 0-2-2 0 0 0-1-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0-1 0-1-3 0 0 0 0-2-2-1-2 0 0 0 0-2-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-2 0-1 0 0-2-2 0 0 0-1-2-2 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0-1-3 0 0 0 0-2-3 0 0 0 0 0-1-2-4 0-5 0-4 1-5 2-4 2-4 4-3 3-3 5-1 4-1 5-1 4 1 4 2 4 2 4 3 3 3 1 4 1 0 1 3 1 3 0 0 1 2 0 0 2 3 1 3 0 0 2 2 0 0 1 3 1 2 0 1 2 2 1 3 0 0 2 2 0 0 1 3 2 2 0 0 1 3 2 2 1 3 0 0 2 3 0 0 2 2 0 0 1 2 2 3 2 2 0 0 1 3 2 2 2 3 1 1 0 0 2 3 1 2 0 0 2 3 2 2 0 0 1 3 2 2 0 0 2 3 0 0 2 2 1 3 2 2 0 0 2 2 2 3 2 2 0 0 2 2 1 3 2 2 0 0 2 2 2 2 0 0 2 3 0 0 2 2 0 0 2 2 0 0 2 2 2 2 0 0 2 2 0 0 2 3 0 0 2 2 2 2 0 0 2 2 3 2 0 0 2 2 2 2 0 0 2 2 0 0 2 2 0 0 2 2 0 0 3 1 0 0 2 2 0 0 2 2 0 0 2 2 3 2 0 0 2 2 0 0 0 0 3 3 3 4 2 4 1 4 0 5 0 4-2 5-2 4-3 3-3 3-4 2-4 2-5 1z m694-313l-4-1-5-2-3-2-3-4-3-4-2-4-1-4 0-4 1-4 0-4 0-4 0-5 0-4 0 0 0-1 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0 0 0-3 0 0 0-3 0-3 0-3 0-3 0-3-1-3 0-3 0 0 0-3 0 0 0-3-1-3 0-3 0-3-1-2 0-1 0-3 0 0 0-2-1-3 0-3 0 0-1-3 0-3-1-3 0 0 0-3-1-3-1-3 0 0 0-2-1-3 0 0 0-3-1-3 0 0-1-3-1-3 0 0 0-2 0 0-1-3 0 0-1-3 0 0-1-3 0 0-1-3-1-2 0 0 0-3-1-3 0 0-1-3 0 0-1-2 0-1-1-2 0 0-1-3 0 0-1-3-1-2 0 0-1-3-3-5-2-6-2-5-3-5-2-6-3-5-3-5-1-3-2-4-1-4 0-5 1-4 1-5 3-4 3-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 3 1 3 1 0 0 0 3 6 0 0 0 0 2 6 1 0 0 0 2 6 0 0 0 0 3 5 0 1 0 0 3 5 0 1 0 0 2 6 0 0 1 0 2 6 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 1 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 0 1 3 0 0 0 1 1 3 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 1 0 0 3 0 0 0 0 1 3 0 1 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 1 4 0 0 0 0 0 3 0 0 0 0 1 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 1 3 0 0 0 0 0 3 0 0 0 1 0 3 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 3 0 0 0 0 0 3 0 1 0 0 0 3 0 4 0 0 0 0 0 4 0 0 0 1 0 4 0 0 0 0-1 5 0 0 0 0 0 4 0 5-2 4-2 4-3 4-4 2-4 3-4 1-4 1z m-853-18l-4-1-5-2-3-3-4-3-2-4-2-4-1-4 0-4 0-3 0 0 0 0 0-7 0 0 0 0 0-6 0 0 0 0 0-7 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0-1 0-6 0 0 0 0 1-6 0 0 0-1 1-6 1 0 0 0 1-6 0 0 0-1 1-6 0 0 0 0 1-6 0 0 0 0 2-6 0-1 0 0 1-6 0 0 0 0 2-6 0 0 0-1 2-6 0 0 0 0 1-6 0 0 0 0 2-6 0 0 0 0 2-6 0-1 0 0 2-6 0 0 0 0 2-6 0 0 0 0 2-6 1 0 0 0 2-6 0 0 0 0 2-6 0 0 0-1 3-5 0-1 0 0 2-5 0-1 0 0 3-5 0-1 0 0 2-5 0-1 1 0 2-5 0-1 0 0 3-5 0 0 0-1 1-1 2-4 4-4 3-2 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 5 0 4 0 5-1 4-1 4-1 1-3 5-2 6-3 5-2 6-2 5-2 5-3 6-2 6-2 5-1 6-2 5-2 6-2 6-1 5-2 6-1 6-2 5-1 6-1 6-1 6-1 6-1 5-1 6-1 6-1 6 0 6-1 5 0 6-1 6 0 6 0 6-1 6 0 3 0 4-1 5-3 4-2 3-4 3-4 3-4 1-4 1z m694-334l-4-1-4-2-4-3 0 0-5-3-4-4-5-4-5-3-5-3-4-4-5-3-5-3-5-3-5-4-5-3-6-3-5-2-5-3-5-3-5-3-6-2-5-3-5-2-6-2-5-3-6-2-5-2-6-2-5-2-6-2-5-2-6-1-5-2-6-2-6-1-5-1-5-1-4-2-4-2-4-3-2-3-3-4-1-5-1-4 1-5 1-4 2-4 2-4 3-3 4-3 4-1 5-1 4-1 4 1 5 1 0 0 0 0 6 2 0 0 0 0 6 1 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 1 0 5 2 1 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 2 0 0 0 0 6 3 0 0 0 0 6 2 0 0 1 0 5 3 0 0 1 0 5 2 0 0 1 0 5 3 0 0 1 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 6 3 0 0 0 0 5 3 0 0 1 0 5 3 0 0 0 0 6 3 0 1 0 0 5 3 0 0 1 0 5 3 0 0 0 1 5 3 0 0 1 0 5 4 0 0 0 0 5 3 0 0 0 0 6 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 0 0 5 4 0 0 1 0 4 4 1 0 0 0 0 1 3 3 3 4 2 4 1 4 0 5 0 4-2 4-2 4-3 4-4 3-4 2-4 1-4 1z m-541-2l-4-1-4-3-4-2-3-4-2-4-1-4-1-5 0-4 1-5 2-4 3-4 3-2 1-1 0-1 0 0 5-4 0 0 0 0 5-4 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 2-2 1 0 0 0 2-2 0 0 0 0 3-2 0 0 0 0 3-1 0-1 0 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 2-2 0 0 1 0 2-1 0 0 0 0 3-2 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0-1 3-1 0 0 0 0 3-2 0 0 0 0 2-1 1 0 0 0 2-2 1 0 0 0 2-2 0 0 1 0 2-1 0 0 1 0 2-2 0 0 0 0 3-1 0 0 0 0 3-2 0 0 1 0 2-1 0 0 1 0 2-1 0-1 1 0 2-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-2 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 1 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 2 0 0 0 0 0 3-1 0 0 0-1 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 4 0 0-1 0 0 3 0 0 0 0 0 3-1 0 0 0 0 3-1 1 0 0 0 3-1 0 0 0 0 3-1 0 0 0 0 0 0 5 0 4 0 5 1 4 2 4 2 3 4 2 3 2 5 1 4 0 5 0 4-2 4-2 4-3 4-4 2-4 3-3 1 0 0-1 0-3 0-2 1 0 0-3 1 0 0-3 1 0 0-3 0 0 0-3 1-3 1-3 1 0 0-3 1-2 1-3 1-3 1-1 0-1 0-3 1-3 1-3 1 0 0-2 1-3 1-3 1-3 0-3 1 0 0-3 1-3 1-2 1 0 0-3 2-3 1 0 0-3 1 0 0-2 1-3 1 0 0-3 1-3 1-2 2-3 1 0 0-3 1-2 1-3 2-3 1-2 1 0 0-3 2-2 1 0 0-3 1 0 0-3 2 0 0-2 1-2 2-1 0-2 1 0 0-3 2-2 1 0 0-3 2-2 1 0 0-3 2 0 0-2 2 0 0-2 1-3 2 0 0-2 2-2 1-1 0-2 2 0 0-2 2-3 1 0 0-2 2 0 0-2 2 0 0-3 2-4 3-5 4-1 1-4 3-4 1-4 2-5 0z" horiz-adv-x="1000" />
<glyph glyph-name="data-object" unicode="&#xe84b;" d="M626 746c-143 0-286 0-429 0 0-264 0-528 0-792 202 0 404 0 606 0 0 203 0 407 0 610-59 61-118 121-177 182z m-52-45c0-62 0-124 0-186 61 0 123 0 184 0 0-172 0-344 0-516-172 0-344 0-516 0 0 234 0 468 0 702 110 0 221 0 332 0z m45-12c42-43 83-86 125-129-42 0-83 0-125 0 0 43 0 86 0 129z" horiz-adv-x="1000" />
<glyph glyph-name="script-task" unicode="&#xe84c;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m90-92l-3-2-1 0c-32-19-55-37-70-55-14-17-22-34-22-51 0-34 24-59 46-82 22-22 42-43 44-61 1-9-1-18-11-30-10-12-27-27-56-43l-41-25 257 0 3 2 0 0c29 18 50 34 62 50 13 16 19 33 17 49-3 31-29 54-51 77-21 22-39 43-39 62 0 10 4 21 16 35 12 15 33 31 64 50l0 0 41 24-256 0z m7-26l158 0c-14-11-25-21-33-31-15-17-23-34-23-51 0-34 25-59 47-82 22-22 41-43 43-61 1-9-1-18-11-30-9-12-26-26-53-42l-158 0c11 9 20 17 26 26 13 16 18 33 17 49-4 31-29 54-51 77-22 22-39 43-39 62 0 10 4 21 16 35 12 14 31 30 61 48z m-37-45l0-12 123 0 0 12-123 0z m-5-64l0-12 128 0 0 12-128 0z m58-65l0-12 124 0 0 12-124 0z m18-65l0-12 128 0 0 12-128 0z" horiz-adv-x="1000" />
<glyph glyph-name="send-task" unicode="&#xe84d;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m-42-95l250-141 250 141-500 0z m1-52l0-279 500 0 0 279-251-140-249 140z" horiz-adv-x="1000" />
<glyph glyph-name="data-store" unicode="&#xe84e;" d="M500 681c-79 0-158-7-219-20-31-7-58-16-79-27-20-10-36-24-41-43 0-1-1-3-1-4l0-2 0-2c0-158 0-307 0-469l0-2c5-21 22-35 42-46 21-11 48-20 79-26 61-14 140-20 219-20 79 0 158 6 219 20 31 6 58 15 79 26 21 11 37 25 42 46l0 2c0 154 0 323 0 470 0 1 0 1 0 2l0 1 0 0c0 1 0 3-1 4-5 19-21 33-41 43-21 11-48 20-79 27-61 13-140 20-219 20z m0-35c77 0 154-7 212-20 29-6 53-14 69-22 13-7 20-14 23-19-3-5-10-12-23-19-16-9-40-17-69-23-58-12-135-19-212-19-77 0-154 7-212 19-29 6-53 14-69 23-13 7-20 14-23 19 3 5 10 12 23 19 16 8 40 16 69 22 58 13 135 20 212 20z m-305-107c2-1 5-3 7-4 21-11 48-19 79-26 61-13 140-20 219-20 79 0 158 7 219 20 31 7 58 15 79 26 2 1 5 3 7 4l0-41c-2-5-8-13-24-21-16-9-40-17-69-23-58-12-135-19-212-19-77 0-154 7-212 19-29 6-53 14-69 23-15 8-22 16-24 21z m0-89c2-1 5-3 7-4 21-11 48-19 79-26 61-13 140-20 219-20 79 0 158 7 219 20 31 7 58 15 79 26 2 1 5 3 7 4l0-41c-2-5-8-13-24-21-16-9-40-17-69-23-58-12-135-19-212-19-77 0-154 7-212 19-29 6-53 14-69 23-15 8-22 16-24 21z m0-89c2-1 5-3 7-4 21-11 48-19 79-26 61-14 140-20 219-20 79 0 158 6 219 20 31 7 58 15 79 26 2 1 5 3 7 4l0-243c-2-5-8-13-24-21-16-9-40-17-69-23-58-13-135-19-212-19-77 0-154 6-212 19-29 6-53 14-69 23-15 8-22 16-24 21z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-escalation" unicode="&#xe84f;" d="M500 550c-47-131-77-268-124-400 43 43 81 91 124 135 42-45 83-90 125-135-43 133-83 267-125 400z m1-83c23-73 45-146 68-219-22 24-45 49-68 74-19-17-69-82-66-68 24 70 41 143 66 213z m3 333c-43-1-87-4-127-17-24-13-8-53 18-45 64 16 132 17 196 4 27-2 35 39 9 47-31 8-64 11-96 11z m250-79c-26 3-35-36-12-47 53-38 91-93 122-149 18-21 53 4 40 27-34 65-80 124-139 166-3 2-7 3-11 3z m-521-11c-21-3-34-22-49-35-36-35-64-77-88-121-9-15-20-37-1-49 17-13 36 3 41 21 22 41 49 81 82 115 13 15 37 23 38 45 0 12-10 23-23 24z m695-313c-22 1-29-24-25-41 4-68-13-136-46-195-9-25 28-44 43-22 41 72 59 158 50 241-3 10-13 16-22 17z m-853-19c-22 1-30-22-26-40 3-68 21-136 52-196 15-22 52-3 43 22-30 60-46 127-47 194-2 11-12 19-22 20z m694-334c-22-3-36-24-55-33-42-28-91-46-140-59-25-12-9-52 17-45 72 16 139 49 195 97 14 15 2 40-17 40z m-542-1c-24 0-31-35-11-46 47-40 104-67 163-83 17-5 42-16 53 5 10 18-6 37-24 38-56 14-111 36-156 73-7 6-14 14-25 13z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-message" unicode="&#xe850;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m-167-155c57-46 114-92 171-138 56 46 113 92 170 138-114 0-227 0-341 0z m-38-32c0-93 0-187 0-280 137 0 273 0 410 0 0 91 0 183 0 274-67-54-134-109-201-163-70 56-139 113-209 169z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-multiple" unicode="&#xe851;" d="M715 418c-71 52-143 104-215 156-72-52-143-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253z m-28-9c-24-74-48-147-72-220-77 0-153 0-230 0-24 73-48 146-72 220 63 45 125 90 187 135 62-45 124-90 187-135z m-187 393c-41-1-83-5-121-18-25-13-8-53 18-44 64 17 131 17 196 3 26-3 34 38 9 47-33 8-68 12-102 12z m255-83c-26 3-36-36-13-47 52-38 93-90 121-147 15-22 52-3 43 22-32 67-82 127-143 170-2 1-5 2-8 2z m-519-10c-22-2-35-23-51-36-42-40-76-89-98-142-8-26 30-42 44-19 27 61 69 115 122 157 13 14 2 40-17 40z m264 0c-20-2-48 4-57-18-8-21 15-38 34-32 51 4 103-5 149-25 26-8 42 31 19 44-45 21-95 31-145 31z m-155-39c-23-4-43-21-62-34-34-27-66-58-86-96-10-26 30-44 43-21 30 47 74 83 121 110 16 14 5 41-16 41z m393-59c-25 2-35-33-14-46 37-38 62-87 77-137 14-24 53-6 44 20-17 60-49 115-94 158-4 3-8 4-13 5z m-564-171c-23 2-28-24-30-41-7-55-2-112 16-163 12-24 51-11 46 15-17 53-20 110-10 164 1 13-10 24-22 25z m754-46c-21 1-29-22-25-39 1-68-16-135-47-195-9-25 29-43 43-21 39 72 57 155 52 237-3 10-13 18-23 18z m-853-16c-22 2-30-22-26-39 1-69 18-137 51-197 15-22 52-2 42 23-30 59-46 126-45 193-2 11-11 19-22 20z m756-57c-22 2-27-22-28-39-10-48-34-91-63-130-12-25 26-47 42-24 38 49 65 108 73 170-1 12-11 23-24 23z m-590-160c-22-1-30-32-13-45 40-46 90-82 147-102 26-6 40 33 17 45-52 20-98 53-134 96-4 4-10 6-17 6z m426-77c-23-5-43-21-66-27-34-13-71-15-106-19-25-9-16-49 10-47 62 1 124 18 177 50 17 14 7 44-15 43z m-440-39c-23-1-31-35-11-46 56-45 123-78 194-91 26-2 35 39 9 47-65 14-127 44-179 87-4 2-8 3-13 3z m543-3c-22-2-36-24-55-32-43-29-92-45-141-57-24-12-10-52 17-46 71 15 140 47 196 95 14 15 2 40-17 40z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-signal" unicode="&#xe852;" d="M500 562c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z m0-51c50-90 100-180 151-270-101 0-201 0-302 0 51 90 101 180 151 270z m0 291c-41-1-83-5-121-18-25-13-8-53 18-44 64 17 131 17 196 3 26-3 34 38 9 47-33 8-68 12-102 12z m255-83c-26 3-36-36-13-47 52-38 93-90 121-147 15-22 52-3 43 22-32 67-82 127-143 170-2 1-5 2-8 2z m-519-10c-22-2-35-23-51-36-42-40-76-89-98-142-8-26 30-42 44-19 27 61 69 115 122 157 13 14 2 40-17 40z m264 0c-20-2-48 4-57-18-8-21 15-38 34-32 51 4 103-5 149-25 26-8 42 31 19 44-45 21-95 31-145 31z m-155-39c-23-4-43-21-62-34-34-27-66-58-86-96-10-26 30-44 43-21 30 47 74 83 121 110 16 14 5 41-16 41z m393-59c-25 2-35-33-14-46 37-38 62-87 77-137 14-24 53-6 44 20-17 60-49 115-94 158-4 3-8 4-13 5z m-564-171c-23 2-28-24-30-41-7-55-2-112 16-163 12-24 51-11 46 15-17 53-20 110-10 164 1 13-10 24-22 25z m754-46c-21 1-29-22-25-39 1-68-16-135-47-195-9-25 29-43 43-21 39 72 57 155 52 237-3 10-13 18-23 18z m-853-16c-22 2-30-22-26-39 1-69 18-137 51-197 15-22 52-2 42 23-30 59-46 126-45 193-2 11-11 19-22 20z m756-57c-22 2-27-22-28-39-10-48-34-91-63-130-12-25 26-47 42-24 38 49 65 108 73 170-1 12-11 23-24 23z m-590-160c-22-1-30-32-13-45 40-46 90-82 147-102 26-6 40 33 17 45-52 20-98 53-134 96-4 4-10 6-17 6z m426-77c-23-5-43-21-66-27-34-13-71-15-106-19-25-9-16-49 10-47 62 1 124 18 177 50 17 14 7 44-15 43z m-440-39c-23-1-31-35-11-46 56-45 123-78 194-91 26-2 35 39 9 47-65 14-127 44-179 87-4 2-8 3-13 3z m543-3c-22-2-36-24-55-32-43-29-92-45-141-57-24-12-10-52 17-46 71 15 140 47 196 95 14 15 2 40-17 40z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-multiple" unicode="&#xe853;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-87c-72-52-144-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253-71 52-143 104-215 156z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-message" unicode="&#xe854;" d="M295 506c0-104 0-208 0-312 137 0 273 0 410 0 0 104 0 208 0 312-137 0-273 0-410 0z m91-49c76 0 152 0 228 0-40-24-81-79-121-85-36 29-71 57-107 85z m270-28c0-62 0-124 0-186-104 0-208 0-312 0 0 62 0 124 0 186 52-42 104-83 156-125 52 42 104 83 156 125z m-152 371c-43-1-87-4-127-17-24-13-8-53 18-45 64 16 132 17 196 4 27-2 35 39 9 47-31 8-64 11-96 11z m250-79c-26 3-35-36-12-47 53-38 91-93 122-149 18-21 53 4 40 27-34 65-80 124-139 166-3 2-7 3-11 3z m-521-11c-21-3-34-22-49-35-36-35-64-77-88-121-9-15-20-37-1-49 17-13 36 3 41 21 22 41 49 81 82 115 13 15 37 23 38 45 0 12-10 23-23 24z m695-313c-22 1-29-24-25-41 4-68-13-136-46-195-9-25 28-44 43-22 41 72 59 158 50 241-3 10-13 16-22 17z m-853-19c-22 1-30-22-26-40 3-68 21-136 52-196 15-22 52-3 43 22-30 60-46 127-47 194-2 11-12 19-22 20z m694-334c-22-3-36-24-55-33-42-28-91-46-140-59-25-12-9-52 17-45 72 16 139 49 195 97 14 15 2 40-17 40z m-542-1c-24 0-31-35-11-46 47-40 104-67 163-83 17-5 42-16 53 5 10 18-6 37-24 38-56 14-111 36-156 73-7 6-14 14-25 13z" horiz-adv-x="1000" />
<glyph glyph-name="ad-hoc-marker" unicode="&#xe855;" d="M150 330c29 69 67 141 133 180 49 29 110 11 155-17 69-43 123-106 191-150 41-24 92-4 122 29 36 42 78 82 99 135 0-55 0-110 0-165-31-61-70-124-133-154-52-22-112-8-156 24-66 44-114 112-185 147-35 18-79 14-108-13-52-46-82-112-118-171 0 52 0 103 0 155z" horiz-adv-x="1000" />
<glyph glyph-name="service-task" unicode="&#xe856;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z m36-50c0-12 0-24 0-35-9-3-18-7-27-12l-25 25-46-47 24-24c-4-9-8-18-11-28l-35 0 0-66 36 0c3-13 10-24 17-35l0 57-31 0 0 22 31 0 2 9c2 13 7 25 14 36l5 8-21 21 15 16 22-22 8 5c11 8 23 13 36 16l8 1 0 31 23 0 0-30 9 0 50 0c-6 6-29 15-37 17l0 35c-25 0-44 0-67 0z m63-64l0-34c-10-3-19-7-28-12l-24 25-47-47 25-25c-5-8-9-17-11-27l-36 0 0-66 36 0c3-10 7-19 12-27l-26-25 47-47 26 26c8-5 17-9 27-12l0-36c23 0 47 0 66 0l0 37c10 2 19 6 28 11l25-25 47 47-26 25c5 9 9 18 12 27l34 1 0 66-35-1c-3 10-7 19-11 28l24 24-47 46-24-24c-9 5-18 8-28 11l0 34-66 0 0 0z m22-21l22 0 0-31 9-1c13-3 25-8 36-15l8-5 21 21 16-15-21-22 5-7c7-11 12-23 15-36l2-9 30 1 0-23-30 0-2-9c-2-12-7-25-15-36l-5-7 23-22-16-16-22 22-8-5c-11-7-23-12-36-15l-9-2 0-32c-6 0-12 0-22 0l0 32-9 2c-13 2-25 7-36 15l-8 4-22-22-16 16 23 22-6 8c-7 11-12 23-15 35l-2 9-31 0 0 22 31 0 2 9c3 13 8 25 15 36l5 8-22 21 16 16 22-22 7 5c11 8 23 13 36 15l9 2 0 31z m11-81c-27 0-49-22-49-49 0-27 22-50 49-50 28 0 50 23 50 50 0 27-22 49-50 49z m0-22c16 0 28-12 28-27 0-16-12-28-28-28-15 0-27 12-27 28 0 15 12 27 27 27z" horiz-adv-x="1000" />
<glyph glyph-name="task-none" unicode="&#xe857;" d="M215 745c-107 0-195-87-195-194l0-402c0-107 88-194 195-194l570 0c108 0 195 87 195 194l0 402c0 107-87 194-195 194l-570 0z m0-60l570 0c75 0 135-59 135-134l0-402c0-75-60-134-135-134l-570 0c-75 0-135 59-135 134l0 402c0 75 60 134 135 134z" horiz-adv-x="1000" />
<glyph glyph-name="compensation-marker" unicode="&#xe858;" d="M502 590c-20-3-34-19-51-29-94-63-187-125-280-188-18-14-12-43 8-52 103-69 206-138 309-207 21-13 49 8 45 31 0 53 0 106 0 159 94-64 188-127 283-190 21-13 48 8 44 31 0 139 0 279 0 418-1 24-34 36-51 19-92-62-184-124-276-186-1 57 0 113-1 170-3 14-16 25-30 24z m-29-86c0-103 0-205 0-308-77 52-153 103-229 154 76 51 152 102 229 154z m327 0c0-103 0-205 0-308-76 52-152 103-229 154 77 51 153 102 229 154z" horiz-adv-x="1000" />
<glyph glyph-name="start-event-non-interrupting-multiple" unicode="&#xe859;" d="M715 418c-71 52-143 104-215 156-72-52-143-104-215-156 27-84 55-169 82-253 89 0 177 0 266 0 28 84 55 169 82 253z m-28-9c-24-74-48-147-72-220-77 0-153 0-230 0-24 73-48 146-72 220 63 45 125 90 187 135 62-45 124-90 187-135z m-183 391c-43-1-87-4-127-17-24-13-8-53 18-45 64 16 132 17 196 4 27-2 35 39 9 47-31 8-64 11-96 11z m250-79c-26 3-35-36-12-47 53-38 91-93 122-149 18-21 53 4 40 27-34 65-80 124-139 166-3 2-7 3-11 3z m-521-11c-21-3-34-22-49-35-36-35-64-77-88-121-9-15-20-37-1-49 17-13 36 3 41 21 22 41 49 81 82 115 13 15 37 23 38 45 0 12-10 23-23 24z m695-313c-22 1-29-24-25-41 4-68-13-136-46-195-9-25 28-44 43-22 41 72 59 158 50 241-3 10-13 16-22 17z m-853-19c-22 1-30-22-26-40 3-68 21-136 52-196 15-22 52-3 43 22-30 60-46 127-47 194-2 11-12 19-22 20z m694-334c-22-3-36-24-55-33-42-28-91-46-140-59-25-12-9-52 17-45 72 16 139 49 195 97 14 15 2 40-17 40z m-542-1c-24 0-31-35-11-46 47-40 104-67 163-83 17-5 42-16 53 5 10 18-6 37-24 38-56 14-111 36-156 73-7 6-14 14-25 13z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-throw-signal" unicode="&#xe85a;" d="M499 802c-220 4-425-177-448-396-24-185 78-380 247-461 160-80 368-56 501 66 134 118 190 318 128 486-57 167-217 293-393 303-12 1-23 2-35 2z m-5-49c202 7 391-161 407-362 19-178-92-361-262-420-166-61-368-2-468 145-103 144-99 356 18 490 74 90 188 146 305 147z m8-44c-186 6-358-158-361-344-9-169 116-334 283-367 155-33 328 46 397 190 71 140 39 327-83 430-64 57-150 91-236 91z m-2-48c164 4 314-144 311-308 3-152-119-297-272-312-143-19-295 73-336 213-43 134 14 295 138 364 48 28 103 43 159 43z m0-99c-64-115-128-230-192-345 128 0 256 0 384 0-64 115-128 230-192 345z" horiz-adv-x="1000" />
<glyph glyph-name="intermediate-event-catch-non-interrupting-condition" unicode="&#xe85b;" d="M349 540l0-12 0-368 50 0 202 0 50 0 0 380-302 0z m24-24l254 0 0-332-26 0-202 0-26 0 0 332z m26-37l0-25 202 0 0 25-202 0z m0-74l0-24 202 0 0 24-202 0z m0-85l0-24 202 0 0 24-202 0z m0-77l0-24 202 0 0 24-202 0z m101 559l0 0-5 0-1 0 0 0-5 0 0 0 0 0-6-1 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 0-5-1 0 0-1 0-5 0 0 0 0 0-5 0-1 0 0-1-5 0 0 0 0 0-5-1-1 0 0 0-5 0 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1-1 0 0 0-5-1 0 0 0 0-5-1 0 0-1 0-5-1 0 0 0 0-5-1 0 0 0 0-6-2 0 0 0 0-5-1 0 0 0 0-5-1-4-2-4-2-4-3-2-4-3-4-1-4 0-5 0-4 1-4 2-5 3-3 3-3 4-3 4-1 5-1 4 0 4 1 5 1 5 1 4 1 5 1 5 1 5 1 5 1 5 1 5 0 4 1 5 1 5 0 5 1 5 0 5 1 5 0 5 0 5 1 5 0 5 0 5 0 5 0 5 0 5 0 5-1 5 0 5 0 5-1 5 0 5-1 5 0 5-1 5-1 4 0 5-1 5-1 5-1 5-1 4-1 5 0 4 0 5 1 4 2 3 3 4 3 2 4 2 4 1 4 0 5-1 4-2 5-2 4-3 3-4 3-4 2-3 1-5 1 0 0 0 0-5 1 0 0-1 0-5 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 1 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 1 0 0-6 0 0 0 0 0-5 0 0 0-1 0-5 1 0 0 0 0-5 0-1 0 0 0-5 0 0 0 0 0-6 1 0 0 0 0-5 0 0 0 0 0-6 0 0 0z m255-83l-5 0-4-1-5-2-3-2-4-4-2-3-2-4-1-5-1-4 1-5 1-4 3-4 3-4 2-2 2-1 4-3 4-3 4-3 3-3 4-4 4-3 4-3 3-3 4-4 4-3 3-4 4-3 3-4 4-3 3-4 4-4 3-3 3-4 3-4 4-4 3-3 3-4 3-4 3-4 3-4 3-4 2-4 3-4 3-5 3-4 2-4 3-4 2-4 3-5 2-4 2-4 3-5 2-4 1-2 2-4 4-3 3-3 4-2 5-1 4-1 5 1 4 1 4 2 4 3 3 3 2 4 2 4 0 5 0 4-1 5-1 3-1 3 0 0 0 0-3 5 0 0 0 0-2 5 0 0-1 0-2 4 0 1 0 0-3 4 0 0 0 1-2 4-1 0 0 0-2 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-3 5 0 0-1 0-3 4 0 0 0 0-3 5 0 0 0 0-3 4 0 0 0 0-4 4 0 1 0 0-3 4 0 0 0 0-3 4-1 0 0 0-3 4 0 1 0 0-4 4 0 0 0 0-3 4 0 0-1 0-3 4 0 0 0 0-4 4 0 0 0 0-4 4 0 0 0 1-4 3 0 0 0 1-3 3-1 0 0 1-3 3-1 0 0 0-3 4-1 0 0 0-4 4 0 0 0 0-4 4 0 0 0 0-4 3 0 1 0 0-4 3 0 0 0 0-4 4 0 0-1 0-4 3 0 0 0 1-4 3 0 0 0 0-4 3 0 0-1 0-4 4 0 0 0 0-4 3 0 0 0 0-2 1-4 3-4 1-4 1z m-519-10l-5 0-4-1-4-2-4-2-1-1 0 0 0 0-4-3 0-1 0 0-4-3 0 0-1 0-4-4 0 0 0 0-4-3 0 0 0-1-4-3 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-4 0 0 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-3 0-1 0 0-4-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0-1 0-3-4 0 0 0 0-4-4 0 0 0-1-3-4 0 0 0 0-4-4 0 0 0 0-3-4 0 0 0-1-4-4 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-4 0 0-1 0-3-5 0 0 0 0-3-4 0 0 0 0-3-5 0 0 0 0-3-5 0 0 0 0-3-4 0 0 0 0-2-5-1 0 0 0-2-5 0 0 0 0-3-4 0-1 0 0-3-4 0 0 0-1-2-4 0 0 0 0-3-5 0 0 0 0-2-5 0 0-1 0-2-5 0 0 0 0-2-5 0 0 0 0-3-5 0 0 0 0-1-3-1-4-1-5 0-4 1-5 2-4 3-4 3-3 4-2 4-2 4-1 5 0 4 0 5 2 3 2 4 3 3 4 2 3 1 3 2 4 2 5 2 4 2 4 3 5 2 4 2 4 3 5 2 4 3 4 3 4 2 4 3 5 3 4 2 4 3 4 3 4 3 4 3 4 3 4 3 3 4 4 3 4 3 4 3 3 4 4 3 4 4 3 3 4 4 3 3 4 4 3 4 4 3 3 4 3 4 3 4 4 4 3 1 1 3 3 3 3 2 5 1 4 0 4-1 5-1 4-2 4-3 4-4 3-4 2-4 2-4 0z m264 0l0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 0-5 0 0-1 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 0 0 0 0 0-4-1 0 0-1 0-1 0-4-1-5-2-3-2-4-3-2-4-2-4-2-4 0-5 1-4 1-5 2-4 3-3 4-3 4-3 4-1 4-1 4 0 1 1 4 0 4 0 4 1 4 0 3 0 4 0 4 0 4 0 4 0 4 0 4 0 3 0 4 0 4-1 4 0 4 0 3-1 4 0 4-1 4 0 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4-1 3-1 4-1 4-1 3-1 4-1 3-2 4-1 4-1 3-1 4-2 3-1 4-1 3-2 0 0 0 0 4-1 5-1 5 0 4 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4 0 5-2 4-2 4-3 3-4 3-3 2 0 0-1 0 0 0-3 2-1 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 2 0 0 0 0-4 1 0 0-1 0-3 1-1 0 0 0-4 2 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0-1 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 1-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 1 0 0 0 0-5 0 0 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 1 0 0 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0 1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0z m-155-39l-4 0-5-1-3-1-2-1 0 0 0 0-4-2 0 0 0 0-3-2-1-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-2 0 0 0 0-4-2 0-1 0 0-3-2 0 0-1 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0 0 0-4-3 0 0 0 0-3-2 0 0-1-1-3-2 0 0 0 0-3-3 0 0-1 0-3-2 0-1 0 0-3-2 0 0-1 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3-1 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0-1 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-3 0 0 0 0-3-4 0 0 0 0-3-3 0 0 0 0-2-3-1 0 0-1-2-3 0 0 0 0-3-3 0 0 0-1-3-3 0 0 0 0-2-3 0 0-1-1-2-3 0 0 0 0-2-3-1-1 0 0-2-3 0 0 0 0-2-4-1 0 0 0-2-3-2-4-1-4-1-5 1-4 1-5 2-4 3-3 3-4 4-2 4-2 4-1 5 0 4 1 5 2 4 2 3 3 2 3 2 3 2 3 2 3 3 3 2 4 2 3 2 3 3 3 2 3 3 2 2 3 3 3 2 3 3 3 2 3 3 3 3 2 3 3 2 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 3 2 4 2 3 2 3 2 3 2 4 2 3 2 2 0 3 3 4 3 2 4 2 4 1 4 1 5-1 4-1 5-3 4-2 3-4 3-4 2-4 2-5 0z m393-59l-5-1-4-1-4-1-4-3-3-3-3-4-1-4-1-5-1-4 1-5 2-4 2-4 2-3 3-2 3-3 2-3 3-3 2-3 3-3 2-3 3-2 2-3 3-3 2-3 2-3 3-4 2-3 2-3 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-4 2-3 1-3 2-4 2-3 1-3 2-4 2-3 1-4 1-3 2-4 1-3 2-4 1-3 1-4 1-4 2-3 1-4 1-3 0-3 2-4 2-4 4-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 4 0 2 0 0 0 0-2 4 0 0 0 1-1 3 0 1 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 0-2 4 0 0 0 0-1 4 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-2 3 0 0 0 1-1 3 0 0-1 1-1 3 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0 0 0-2 4 0 0-1 0-1 4-1 0 0 0-2 3 0 1 0 0-2 3 0 0 0 0-2 4 0 0 0 0-2 4-1 0 0 0-2 3 0 0 0 1-2 3 0 0 0 0-3 4 0 0 0 0-2 3 0 0 0 1-3 3 0 0 0 0-2 3 0 1-1 0-2 3 0 0 0 0-3 3 0 1 0 0-2 3-1 0 0 0-2 3 0 1 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 4 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 0-3 3 0 0 0 1-3 3 0 0 0 0-3 2-3 3-4 3-5 1-4 1z m-564-171l-5 0-4-1-4-2-4-2-3-4-3-3-2-4-1-4-1-4 0 0 0 0 0-4 0 0-1 0 0-4 0-1 0 0-1-4 0 0 0 0-1-4 0 0 0 0 0-5 0 0 0 0-1-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0-1 0 0-4 0 0 0 0 0-5 0 0 0 0 0-4 0 0 0 0-1-4 0-1 0 0 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 0-4 0 0 0 0 1-5 0 0 0 0 0-4 0 0 0 0 0-4 0-1 0 0 0-4 1 0 0 0 0-4 0 0 0-1 0-4 0 0 0 0 1-4 0 0 0 0 0-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 0-4 1-1 0 0 0-4 0 0 0 0 1-4 0 0 0 0 1-4 0-1 0 0 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0-1 1-4 0 0 0 0 1-4 0 0 0 0 1-4 0 0 0 0 2-4 0 0 0 0 1-4 0-1 0 0 1-1 1-4 3-4 3-3 4-3 4-2 4-1 5 0 4 1 5 1 4 2 3 3 3 4 2 4 2 4 0 5 0 4-1 4 0 1-2 4-1 4-1 3-1 4-1 3-1 4 0 4-1 4-1 3-1 4 0 4-1 4-1 3 0 4-1 4 0 4 0 3-1 4 0 4 0 4-1 4 0 4 0 3 0 4 0 4 0 4 0 4 0 4 0 3 1 4 0 4 0 4 1 4 0 3 0 4 1 4 0 4 1 4 1 3 0 4 1 4 0 4 0 5-1 4-2 4-3 4-3 3-4 2-5 2-4 1z m754-46l-5 0-4-1-4-2-4-2-3-4-3-4-2-4 0-4-1-4 1-4 0-5 0-5 0-5 0-5 0-5 0-5-1-5 0-5 0-5-1-5 0-5-1-5 0-5-1-5-1-4 0-5-1-5-1-5-1-5-1-5-1-5-1-4-1-5-1-5-2-5-1-4-2-5-1-5-1-4-2-5-2-5-1-4-2-5-2-4-2-5-2-5-2-4-2-5-2-4-2-4-2-5-2-4-2-5-1-4 0-5 1-4 2-4 2-4 3-4 4-2 4-2 4-2 5 0 4 1 5 1 4 2 3 3 3 3 2 3 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 3 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 2 4 0 1 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 0 2 5 0 0 0 1 1 5 0 0 0 0 2 5 0 0 0 0 1 5 0 0 0 0 2 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 0 2 6 0 0 0 0 1 5 0 0 0 0 1 5 0 1 0 0 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 1 5 0 0 0 1 1 5 0 0 0 0 0 5 0 0 0 1 1 5 0 0 0 0 0 5 1 0 0 1 0 5 0 0 0 0 0 5 0 1 0 0 1 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0 1 6 0 0 0 0 0 5 0 0 0 1 0 5 0 0 0 0 0 6 0 0 0 0 0 5 0 0 0 0-1 6 0 0 0 0 0 4 0 5-2 4-2 4-3 3-4 3-4 2-4 2-4 0z m-853-16l-5 0-4-1-4-1-4-3-4-3-2-4-2-4-1-4-1-4 0-4 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 0-6 0 0 0 0 0-5 0 0 0 0 0-6 0 0 0 0 1-5 0 0 0-1 0-5 0 0 0 0 1-5 0-1 0 0 0-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 0-5 0-1 0 0 1-5 0 0 0 0 1-5 0-1 0 0 1-5 0 0 0 0 1-5 0 0 0-1 1-5 0 0 0 0 1-5 0 0 0 0 2-6 0 0 0 0 1-5 0 0 0 0 1-5 0 0 0-1 2-5 0 0 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0-1 0 0 1-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0-1 2-4 0-1 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 2-5 0 0 0 0 3-5 0 0 0 0 2-5 0 0 0 0 2-5 1 0 0 0 0-1 3-4 3-3 3-3 4-2 5-1 4 0 5 0 4 1 4 3 4 2 3 4 2 4 2 4 0 5 0 4-1 5-1 3-1 1-2 5-2 4-2 4-2 5-2 4-2 5-2 5-2 4-2 5-1 4-2 5-1 5-2 4-1 5-2 5-1 4-1 5-2 5-1 5-1 4-1 5-1 5-1 5-1 5-1 5 0 5-1 4-1 5 0 5-1 5 0 5-1 5 0 5 0 5-1 5 0 5 0 5 0 5 0 4 0 4-1 5-2 4-3 3-4 4-3 2-5 2-4 0z m756-57l-4 0-5-1-4-2-4-3-3-3-2-4-2-4-1-3 0 0 0 0 0 0 0 0-1-4 0-4-1-4-1-3 0-4-1-4-1-4-1-3-1-4-1-3-1-4-1-4-2-3-1-4-1-3-1-4-2-4-1-3-2-4-1-3-1-4-2-3-2-3-1-4-2-3-2-4-1-3-2-3-2-4-2-3-2-3-2-3-2-4-2-3-2-3-2-3-2-3-2-3-3-3-2-3-2-4-2-1-2-4-2-4-1-5 0-4 1-5 2-4 2-4 3-3 4-3 4-2 4-1 5-1 4 1 4 1 5 2 3 3 3 3 1 1 0 1 0 0 3 3 0 0 0 0 2 3 1 1 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 0 0 0 3 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 0 2 4 0 0 0 0 2 4 0 0 0 0 2 3 0 1 0 0 2 3 0 0 1 1 2 3 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 1 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 2 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 1 0 0 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 1 4 0 0 0 0 1 4 0 0 0 0 1 4 0 0 0 1 0 4 0 0 0 0 0 0 1 5-1 4-1 4-2 4-3 4-4 3-4 2-4 2-5 0z m-590-160l-4-1-4-2-4-2-4-3-3-3-2-4-1-5-1-4 1-5 1-4 2-4 2-3 1-2 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0-1 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 0 0 3-3 0 0 1 0 3-3 0 0 0 0 3-3 0 0 0 0 3-2 1-1 0 0 3-2 0 0 0 0 3-3 1 0 0 0 3-3 0 0 0 0 3-2 1 0 0-1 3-2 0 0 0 0 4-2 0-1 0 0 3-2 0 0 0 0 4-2 0-1 0 0 3-2 1 0 0 0 3-2 0 0 0 0 4-3 0 0 0 0 4-2 0 0 0 0 3-2 1 0 0 0 3-2 0 0 1 0 3-2 0 0 0-1 4-1 0-1 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-2 0 0 0 0 4-1 0-1 0 0 4-1 0 0 0 0 4-2 4-1 4 0 5 0 4 1 4 2 4 3 3 4 2 3 2 5 1 4 0 5-1 4-2 4-2 4-4 3-3 3-4 2-3 1-4 2-3 1-4 2-3 1-3 2-4 1-3 2-4 2-3 2-3 1-4 2-3 2-3 2-3 2-4 2-3 2-3 2-3 2-3 2-3 3-3 2-4 2-3 2-2 3-3 2-3 3-3 2-3 3-3 2-3 3-3 2-2 3-3 3-3 3-3 2-2 3-3 3-2 3-3 3-2 3-1 1-4 3-3 3-5 1-4 1-5 1z m426-77l-5 0-4-1-4-2-1-1-4-2-3-1-3-2-4-2-3-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-2-3-1-4-1-4-1-3-1-4-2-3-1-4-1-4-1-3-1-4-1-4 0-3-1-4-1-4-1-4 0-3-1-4-1-4 0-4-1-3 0-4 0-4-1-4 0-4 0-4-1-3 0-4 0-4 0-5 0-4-2-4-2-4-3-3-3-2-4-1-4-1-5 0-5 1-4 2-4 2-4 4-3 3-3 4-2 5-1 4 0 4 0 0 0 0 0 4 0 0 0 1 0 4 1 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 4 0 0 0 0 0 4 1 1 0 0 0 4 0 0 0 0 0 4 1 0 0 0 0 5 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 0 0 0 0 0 4 1 0 0 0 0 4 1 0 0 1 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 1 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 1 0 0 0 0 4 2 0 0 1 0 3 1 1 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 0 0 4 2 0 0 0 0 4 1 0 0 1 1 3 1 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 2 0 0 1 0 3 1 0 0 0 1 4 1 0 0 0 0 4 2 0 0 0 0 4 2 0 0 0 1 4 1 0 1 0 0 4 2 0 0 0 0 2 1 3 2 4 4 2 3 2 5 1 4 0 5-1 4-1 4-3 4-3 4-3 3-4 2-5 1-4 0z m-440-39l-4-1-5-1-4-3-3-3-3-3-2-4-1-5-1-4 0-5 1-4 2-4 3-4 3-2 1-1 0 0 0 0 4-4 0 0 0 0 4-3 0 0 1 0 4-4 0 0 0 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0-1 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-3 0 0 0 0 4-3 0 0 1 0 4-3 0 0 0 0 5-2 0 0 0-1 5-2 0 0 0 0 4-3 1 0 0 0 4-2 0 0 0-1 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-3 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 4-2 1 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 0 0 5-2 0 0 1 0 5-1 0 0 0 0 5-2 0 0 0 0 5-1 0 0 0 0 5-2 1 0 0 0 5-1 0 0 0 0 5-1 0 0 0 0 6-2 0 0 0 0 4-1 5 0 4 0 5 1 4 2 4 3 3 3 2 4 2 4 1 5 0 4-1 5-1 4-3 4-3 3-4 3-4 2-3 1-5 1-4 1-5 1-5 1-5 2-4 1-5 2-5 1-4 2-5 1-5 2-4 1-5 2-5 2-4 2-5 2-4 2-5 2-4 2-5 2-4 2-4 2-5 3-4 2-4 2-5 3-4 2-4 3-4 3-4 2-4 3-5 3-4 2-4 3-4 3-4 3-3 3-4 3-4 3-1 1-4 3-4 1-4 1-5 1z m543-3l-5 0-4-1-5-2-3-2-1-2-4-3-4-3-4-3-4-3-4-3-4-2-4-3-5-3-4-2-4-3-4-3-4-2-5-3-4-2-4-2-5-3-4-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-2-4-2-5-1-5-2-4-1-5-2-5-1-5-2-4-1-5-2-5-1-5-1-4-1-5-1-3-1-5-1-4-2-3-3-3-3-2-4-2-5-1-4 0-5 1-4 2-4 3-4 3-3 4-3 4-2 4-1 5 0 4 0 3 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 1 0 0 1 0 5 2 0 0 0 0 5 1 0 0 0 0 5 2 0 0 1 0 5 1 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 1 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 0 0 0 5 2 0 0 0 0 5 3 0 0 0 0 5 2 0 1 0 0 4 2 1 0 0 0 4 3 0 0 1 0 4 2 0 1 0 0 5 2 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 5 3 0 0 0 1 4 3 0 0 0 0 5 3 0 0 0 0 4 3 0 0 0 0 4 4 1 0 0 0 4 3 0 0 0 0 2 2 3 3 3 4 2 4 1 4 0 5-1 4-1 5-2 4-3 3-4 3-4 2-4 2-4 0z" horiz-adv-x="1000" />
<glyph glyph-name="participant" unicode="&#xe85c;" d="M47 654l0-625 906 0 0 625z m857-48l0-533-670 0 0 533 670 0z m-810 0l94 0 0-533-94 0z" horiz-adv-x="1000" />
<glyph glyph-name="event-subprocess-expanded" unicode="&#xe85d;" d="M261 669c16 0 33 0 49 0 0 16 0 32 0 49-16 0-33 0-49 0 0-17 0-33 0-49z m98 0c16 0 32 0 49 0 0 16 0 32 0 49-17 0-33 0-49 0 0-17 0-33 0-49z m97 0c17 0 33 0 49 0 0 16 0 32 0 49-16 0-32 0-49 0 0-17 0-33 0-49z m98 0c16 0 33 0 49 0 0 16 0 32 0 49-16 0-33 0-49 0 0-17 0-33 0-49z m98 0c16 0 32 0 49 0 0 16 0 32 0 49-17 0-33 0-49 0 0-17 0-33 0-49z m97 0c15 0 31 1 46-1 2 16 4 32 6 48-17 3-34 1-52 2 0-17 0-33 0-49z m-531 49c-8 0-17-1-25-3 3-16 6-32 9-48 10 3 26-3 20 13-2 11 5 34-4 38z m614-63c12-6 23-15 31-25 12 11 28 21 37 32-13 15-27 27-44 36-8-14-16-29-24-43z m-693 40c-16-10-31-23-43-37 13-9 27-24 39-30 9 10 18 19 30 25-9 14-16 29-26 42z m759-94c-15-1-15-9-10-22 4-6-3-23 7-23 14 1 31-1 44 1 0 19-3 38-10 56-10-4-20-8-31-12z m-830 4c-5-17-7-35-7-53 16 0 32 0 49 0-1 13 1 27 5 40-15 5-31 10-46 15l-1-2 0 0z m822-147c17 0 33 0 49 0 0 17 0 33 0 49-16 0-32 0-49 0 0-16 0-32 0-49z m-829-4c16 0 32 0 49 0 0 16 0 33 0 49-17 0-33 0-49 0 0-16 0-33 0-49z m829-93c17 0 33 0 49 0 0 16 0 32 0 49-16 0-32 0-49 0 0-17 0-33 0-49z m-829-5c16 0 32 0 49 0 0 17 0 33 0 49-17 0-33 0-49 0 0-16 0-32 0-49z m829-93c17 0 33 0 49 0 0 16 0 33 0 49-16 0-32 0-49 0 0-16 0-33 0-49z m-829-4c16 0 32 0 49 0 0 16 0 32 0 49-17 0-33 0-49 0 0-17 0-33 0-49z m829-94c17 0 33 0 49 0 0 17 0 33 0 49-16 0-32 0-49 0 0-16 0-32 0-49z m-829-4c16 0 32 0 49 0 0 16 0 33 0 49-17 0-33 0-49 0 0-16 0-33 0-49z m827-40c-3-13-7-25-14-37 14-7 28-19 42-24 10 16 17 34 20 52-16 3-33 7-48 9z m-823-14c4-19 12-37 23-53 13 9 27 18 40 27-7 12-12 24-15 37-16-4-32-7-48-11z m780-54c-10-7-21-13-34-17 6-15 11-31 16-46 18 5 35 14 50 26-10 13-20 26-30 39l-2-2 0 0z m-718-40c16-11 33-20 52-25 4 16 9 32 12 47-12 4-24 10-35 18-10-14-19-27-29-40z m107-31c16 0 32 0 49 0 0 17 0 33 0 49-17 0-33 0-49 0 0-16 0-32 0-49z m97 0c17 0 33 0 49 0 0 17 0 33 0 49-16 0-32 0-49 0 0-16 0-32 0-49z m98 0c16 0 33 0 49 0 0 17 0 33 0 49-16 0-33 0-49 0 0-16 0-32 0-49z m98 0c16 0 32 0 48 0 0 17 0 33 0 49-16 0-32 0-48 0 0-16 0-32 0-49z m94 0c17 0 33 0 49 0 0 17 0 33 0 49-16 0-32 0-49 0 0-16 0-32 0-49z m101 0c16 0 33 0 49 0 0 17 0 33 0 49-16 0-33 0-49 0 0-16 0-32 0-49z m-53 15c0 114 0 229 0 343-113 0-225 0-338 0 0-114 0-229 0-343 113 0 225 0 338 0z m-307 312c92 0 184 0 276 0 0-92 0-184 0-277-92 0-184 0-276 0 0 93 0 185 0 277z m37-110c0-16 0-31 0-47 67 0 135 0 203 0 0 16 0 31 0 47-68 0-136 0-203 0z" horiz-adv-x="1000" />
<glyph glyph-name="lane-insert-below" unicode="&#xe85e;" d="M46-50l0 89 49 0 0-40 16 0 0-49-65 0z m114 0l0 49 97 0 0-49-97 0z m146 0l0 49 98 0 0-49-98 0z m147 0l0 49 97 0 0-49-97 0z m146 0l0 49 98 0 0-49-98 0z m147 0l0 49 97 0 0-49-97 0z m145 0l0 49 13 0 0 40 49 0 0-64 0-25-25 0-37 0z m-845 138l0 92 49 0 0-92-49 0z m858 0l0 92 49 0 0-92-49 0z m-857 139l0 527 906 0 0-527-906 0z m857 48l0 435-810 0 0-435 810 0z" horiz-adv-x="1000" />
<glyph glyph-name="space-tool" unicode="&#xe85f;" d="M366 800l0-900 38 0 0 900-38 0z m233 0l0-900 38 0 0 900-38 0z m-394-287l-164-163 164-163 0 111 93 0 0 105-93 0 0 110z m595 0l0-108-94-1 0-106 94 0 0-111 163 163-163 163z" horiz-adv-x="1000" />
<glyph glyph-name="connection-multi" unicode="&#xe860;" d="M916 798l-410-109 64-95-486-327 25-38 486 328 62-92 259 333 0 0z m0-328l-411-109 151-224 260 333 0 0z m-409-245l-63-43 25-37 63 42-25 38z m-126-85l-62-42 25-38 62 43-25 37z m-133-90l-63-43 25-37 63 43-25 37z m-126-85l-38-26 25-37 38 26-25 37z" horiz-adv-x="1000" />
<glyph glyph-name="lane" unicode="&#xe861;" d="M47 614l0-528 906 0 0 528z m47-483l0 435 810 0 0 0 0-435z" horiz-adv-x="1000" />
<glyph glyph-name="lasso-tool" unicode="&#xe862;" d="M303 798l0-218 103 0 0 218-103 0z m-248-246l0-103 218 0 0 103-218 0z m379 0l0-103 219 0 0 103-219 0z m349-30l0-40 123 0 0-117 40 0 0 157-163 0z m-480-104l0-218 103 0 0 218-103 0z m603-159l0-77 40 0 0 77-40 0z m0-190l0-116-119 0 0-40 159 0 0 156-40 0z m-570-1l0-157 159 0 0 40-119 0 0 117-40 0z m264-117l0-40 82 0 0 40-82 0z" horiz-adv-x="1000" />
<glyph glyph-name="lane-insert-above" unicode="&#xe863;" d="M46 754l0-89 49 0 0 41 16 0 0 48-65 0z m114 0l0-48 97 0 0 48-97 0z m146 0l0-48 98 0 0 48-98 0z m147 0l0-48 97 0 0 48-97 0z m146 0l0-48 98 0 0 48-98 0z m147 0l0-48 97 0 0 48-97 0z m145 0l0-48 13 0 0-41 49 0 0 65 0 24-25 0-37 0z m-845-137l0-92 49 0 0 92-49 0z m858 0l0-92 49 0 0 92-49 0z m-857-139l0-528 906 0 0 528-906 0z m857-48l0-435-810 0 0 435 810 0z" horiz-adv-x="1000" />
<glyph glyph-name="lane-divide-three" unicode="&#xe864;" d="M47 706l0-216 0-49 0-182 0-49 0-216 906 0 0 216 0 24 0 25 0 182 0 25 0 24 0 216-906 0z m47-44l810 0 0-172-12 0 0-49 12 0 0-182-12 0 0-49 12 0 0-169-810 0 0 169 17 0 0 49-17 0 0 182 17 0 0 49-17 0 0 172z m66-172l0-49 98 0 0 49-98 0z m147 0l0-49 97 0 0 49-97 0z m146 0l0-49 98 0 0 49-98 0z m147 0l0-49 97 0 0 49-97 0z m146 0l0-49 98 0 0 49-98 0z m-586-231l0-49 98 0 0 49-98 0z m147 0l0-49 97 0 0 49-97 0z m146 0l0-49 98 0 0 49-98 0z m147 0l0-49 97 0 0 49-97 0z m146 0l0-49 98 0 0 49-98 0z" horiz-adv-x="1000" />
<glyph glyph-name="lane-divide-two" unicode="&#xe865;" d="M47 706l0-332 0-48 0-332 906 0 0 332 0 24 0 24 0 332-906 0z m47-44l810 0 0-288-12 0 0-48 12 0 0-285-810 0 0 285 17 0 0 48-17 0 0 288z m66-288l0-48 98 0 0 48-98 0z m147 0l0-48 97 0 0 48-97 0z m146 0l0-48 98 0 0 48-98 0z m147 0l0-48 97 0 0 48-97 0z m146 0l0-48 98 0 0 48-98 0z" horiz-adv-x="1000" />
<glyph glyph-name="data-input" unicode="&#xe866;" d="M626 746c-143 0-286 0-429 0l0-792 606 0 0 610c-59 61-118 121-177 182z m-52-45l0-186 184 0 0-516-516 0 0 702c110 0 221 0 332 0z m45-12l125-129-125 0 0 129z m-227-21l0-24 0-69-106 0 0-80 106 0 0-92 141 132-141 133z m20-47l92-86-92-86 0 66-106 0 0 40 106 0 0 66z" horiz-adv-x="1000" />
<glyph glyph-name="data-output" unicode="&#xe867;" d="M626 746c-143 0-286 0-429 0l0-792 606 0 0 610c-59 61-118 121-177 182z m-52-45l0-186 184 0 0-516-516 0 0 702c110 0 221 0 332 0z m45-12l125-129-125 0z m-227-21l0-93-106 0 0-80 106 0 0-92 141 132z" horiz-adv-x="1000" />
<glyph glyph-name="hand-tool" unicode="&#xe868;" d="M498 750c-19 0-36-11-45-26-8-15-12-33-14-53-5-40-1-88-1-131 0-22 0-45 0-67-6 14-11 28-15 39l0 0 0 0c-16 40-30 81-50 111-10 15-21 27-36 34-16 8-34 7-52 0l0-1 0 0c-18-8-28-24-32-41-3-17 0-35 4-54 9-39 26-84 38-128 10-35 19-70 27-100-12 11-24 23-38 35-23 20-49 38-75 48-27 10-57 11-80-9l0 0 0 0c-18-17-27-37-24-57 2-20 13-38 27-56 29-36 74-75 118-128 49-58 102-152 140-201l5-7 332 0 3 12c7 21 14 62 26 114 11 51 27 112 47 165 28 71 56 138 68 191 6 26 9 49 4 70-5 20-22 37-45 41-20 4-39-5-52-19-14-13-24-31-33-52-8-15-14-33-21-50 0 29 0 36 0 75-1 43 2 92-1 131-2 19-5 37-12 51-7 14-22 26-40 25-17 1-32-7-41-19-10-13-16-28-20-44-9-34-13-74-19-107-3-16-6-32-9-47-2 16-4 33-6 51-4 40-6 88-15 128-4 19-9 37-19 51-9 15-25 26-43 25l1 0c0 0-1 0-2 0z m0-33c0 0 1 0 1 0l1 0 0 0c6 0 9-2 14-10 5-8 10-23 14-40 8-36 11-83 15-125 9-90 22-156 22-156l33 1c0 0 13 75 26 149 6 35 11 75 18 104 4 14 9 26 14 32 5 6 7 7 14 7l1 0 1 0c6 0 5 0 9-7 4-7 7-21 8-39 3-35 1-83 1-128 0-84 1-160 1-160l32-7c19 41 35 91 52 128 9 19 18 34 27 43 8 8 14 10 22 9l0 0 0 0c13-2 16-6 19-17 2-10 1-30-5-54-11-47-39-114-66-186-22-56-37-118-49-170-10-42-17-79-22-99l-289 0c-35 47-86 136-136 196-46 55-92 95-117 127-13 16-20 29-21 38-1 10 1 17 14 29 11 10 25 10 45 3 20-8 44-24 65-43 44-37 80-82 80-82l29 15c0 0-21 87-43 167-13 47-30 92-38 126-4 17-5 32-3 41 1 9 4 13 12 17 11 5 17 4 23 1 7-3 15-11 23-23 16-24 31-64 46-104l0 0c16-42 47-117 47-117l32 6c0 0 3 83 2 151-1 44-4 92 0 128 2 17 6 31 10 39 5 8 8 10 16 10z" horiz-adv-x="1000" />
<glyph glyph-name="group" unicode="&#xe869;" d="M258 735c-56 0-113-42-128-100-10-40-4-83-6-124v-70h50c0 56-2 112 1 168 6 46 47 80 90 77h216v49c-74 0-149 1-223 0z m315-49h47v49h-47z m139 0c30 2 64-1 87-25 25-24 29-61 27-94v-152h50c-1 64 1 129-1 193-4 66-63 123-126 126-12 2-25 1-37 1 0-16 0-32 0-49z m-588-392h50v49h-50z m702-26h50v49h-50z m-702-163c0-53 34-105 80-127 42-20 89-11 133-13 11 3 31-6 35 4v45c-43 1-87-2-129 2-41 9-71 49-69 93v87h-50v-91z m702 2c1-47-37-91-82-92-47-2-94-1-141-1v-49c51 1 102-2 153 1 61 7 116 64 119 129 2 25 0 50 1 75h-50l0-63z m-362-142h46v49h-46z" horiz-adv-x="1000" />
<glyph glyph-name="transaction" unicode="&#xe8c4;" d="M210 716c-83 0-149-66-149-149l0-434c0-82 66-149 149-149l581 0c82 0 149 67 149 149l0 434c0 83-67 149-149 149l-581 0z m0-34l581 0c63 0 114-51 114-115l0-434c0-64-51-115-114-115l-581 0c-64 0-115 51-115 115l0 434c0 64 51 115 115 115z m29-49c-51 0-93-41-93-92l0-382c0-51 42-92 93-92l523 0c51 0 92 41 92 92l0 382c0 51-41 92-92 92l-523 0z m0-34l523 0c32 0 58-26 58-58l0-382c0-32-26-58-58-58l-523 0c-33 0-59 26-59 58l0 382c0 32 26 58 59 58z" horiz-adv-x="1000" />
</font>
</defs>
</svg>
public/cdn/wf-design-base/img/fontawesome-webfont.912ec66d.svg
New file
@@ -0,0 +1,2671 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg>
<metadata>
Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016
 By ,,,
Copyright Dave Gandy 2016. All rights reserved.
</metadata>
<defs>
<font id="FontAwesome" horiz-adv-x="1536" >
  <font-face
    font-family="FontAwesome"
    font-weight="400"
    font-stretch="normal"
    units-per-em="1792"
    panose-1="0 0 0 0 0 0 0 0 0 0"
    ascent="1536"
    descent="-256"
    bbox="-1.02083 -256.962 2304.6 1537.02"
    underline-thickness="0"
    underline-position="0"
    unicode-range="U+0020-F500"
  />
<missing-glyph horiz-adv-x="896"
d="M224 112h448v1312h-448v-1312zM112 0v1536h672v-1536h-672z" />
    <glyph glyph-name=".notdef" horiz-adv-x="896"
d="M224 112h448v1312h-448v-1312zM112 0v1536h672v-1536h-672z" />
    <glyph glyph-name=".null" horiz-adv-x="0"
 />
    <glyph glyph-name="nonmarkingreturn" horiz-adv-x="597"
 />
    <glyph glyph-name="space" unicode=" " horiz-adv-x="448"
 />
    <glyph glyph-name="dieresis" unicode="&#xa8;" horiz-adv-x="1792"
 />
    <glyph glyph-name="copyright" unicode="&#xa9;" horiz-adv-x="1792"
 />
    <glyph glyph-name="registered" unicode="&#xae;" horiz-adv-x="1792"
 />
    <glyph glyph-name="acute" unicode="&#xb4;" horiz-adv-x="1792"
 />
    <glyph glyph-name="AE" unicode="&#xc6;" horiz-adv-x="1792"
 />
    <glyph glyph-name="Oslash" unicode="&#xd8;" horiz-adv-x="1792"
 />
    <glyph glyph-name="trademark" unicode="&#x2122;" horiz-adv-x="1792"
 />
    <glyph glyph-name="infinity" unicode="&#x221e;" horiz-adv-x="1792"
 />
    <glyph glyph-name="notequal" unicode="&#x2260;" horiz-adv-x="1792"
 />
    <glyph glyph-name="glass" unicode="&#xf000;" horiz-adv-x="1792"
d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
    <glyph glyph-name="music" unicode="&#xf001;"
d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89
t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
    <glyph glyph-name="search" unicode="&#xf002;" horiz-adv-x="1664"
d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5
t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
    <glyph glyph-name="envelope" unicode="&#xf003;" horiz-adv-x="1792"
d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13
t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z
M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
    <glyph glyph-name="heart" unicode="&#xf004;" horiz-adv-x="1792"
d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600
q-18 -18 -44 -18z" />
    <glyph glyph-name="star" unicode="&#xf005;" horiz-adv-x="1664"
d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455
l502 -73q56 -9 56 -46z" />
    <glyph glyph-name="star_empty" unicode="&#xf006;" horiz-adv-x="1664"
d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500
l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
    <glyph glyph-name="user" unicode="&#xf007;" horiz-adv-x="1280"
d="M1280 137q0 -109 -62.5 -187t-150.5 -78h-854q-88 0 -150.5 78t-62.5 187q0 85 8.5 160.5t31.5 152t58.5 131t94 89t134.5 34.5q131 -128 313 -128t313 128q76 0 134.5 -34.5t94 -89t58.5 -131t31.5 -152t8.5 -160.5zM1024 1024q0 -159 -112.5 -271.5t-271.5 -112.5
t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
    <glyph glyph-name="film" unicode="&#xf008;" horiz-adv-x="1920"
d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128
q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45
t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128
q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19
t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
    <glyph glyph-name="th_large" unicode="&#xf009;" horiz-adv-x="1664"
d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38
h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
    <glyph glyph-name="th" unicode="&#xf00a;" horiz-adv-x="1792"
d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320
q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28
h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192
q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
    <glyph glyph-name="th_list" unicode="&#xf00b;" horiz-adv-x="1792"
d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960
q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28
h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
    <glyph glyph-name="ok" unicode="&#xf00c;" horiz-adv-x="1792"
d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
    <glyph glyph-name="remove" unicode="&#xf00d;" horiz-adv-x="1408"
d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68
t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
    <glyph glyph-name="zoom_in" unicode="&#xf00e;" horiz-adv-x="1664"
d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224
q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5
t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
    <glyph glyph-name="zoom_out" unicode="&#xf010;" horiz-adv-x="1664"
d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z
M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z
" />
    <glyph glyph-name="off" unicode="&#xf011;"
d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5
t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
    <glyph glyph-name="signal" unicode="&#xf012;" horiz-adv-x="1792"
d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23
v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
    <glyph glyph-name="cog" unicode="&#xf013;"
d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38
q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13
l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22
q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
    <glyph glyph-name="trash" unicode="&#xf014;" horiz-adv-x="1408"
d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576
q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832
q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
    <glyph glyph-name="home" unicode="&#xf015;" horiz-adv-x="1664"
d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5
l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
    <glyph glyph-name="file_alt" unicode="&#xf016;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
" />
    <glyph glyph-name="time" unicode="&#xf017;"
d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="road" unicode="&#xf018;" horiz-adv-x="1920"
d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256
q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
    <glyph glyph-name="download_alt" unicode="&#xf019;" horiz-adv-x="1664"
d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136
q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
    <glyph glyph-name="download" unicode="&#xf01a;"
d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273
t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="upload" unicode="&#xf01b;"
d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198
t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="inbox" unicode="&#xf01c;"
d="M1023 576h316q-1 3 -2.5 8.5t-2.5 7.5l-212 496h-708l-212 -496q-1 -3 -2.5 -8.5t-2.5 -7.5h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552
q25 -61 25 -123z" />
    <glyph glyph-name="play_circle" unicode="&#xf01d;"
d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="repeat" unicode="&#xf01e;"
d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q15 0 25 -9
l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
    <glyph glyph-name="refresh" unicode="&#xf021;"
d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117
q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5
q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
    <glyph glyph-name="list_alt" unicode="&#xf022;" horiz-adv-x="1792"
d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z
M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5
t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47
t47 -113z" />
    <glyph glyph-name="lock" unicode="&#xf023;" horiz-adv-x="1152"
d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
    <glyph glyph-name="flag" unicode="&#xf024;" horiz-adv-x="1792"
d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48
t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
    <glyph glyph-name="headphones" unicode="&#xf025;" horiz-adv-x="1664"
d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78
t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5
t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
    <glyph glyph-name="volume_off" unicode="&#xf026;" horiz-adv-x="768"
d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
    <glyph glyph-name="volume_down" unicode="&#xf027;" horiz-adv-x="1152"
d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 36
t12 56.5t-12 56.5t-29 36t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
    <glyph glyph-name="volume_up" unicode="&#xf028;" horiz-adv-x="1664"
d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 36
t12 56.5t-12 56.5t-29 36t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5
t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289
t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
    <glyph glyph-name="qrcode" unicode="&#xf029;" horiz-adv-x="1408"
d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z
M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
    <glyph glyph-name="barcode" unicode="&#xf02a;" horiz-adv-x="1792"
d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z
M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
    <glyph glyph-name="tag" unicode="&#xf02b;"
d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5
l715 -714q37 -39 37 -91z" />
    <glyph glyph-name="tags" unicode="&#xf02c;" horiz-adv-x="1920"
d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5
l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
    <glyph glyph-name="book" unicode="&#xf02d;" horiz-adv-x="1664"
d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23
q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906
q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5
t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
    <glyph glyph-name="bookmark" unicode="&#xf02e;" horiz-adv-x="1280"
d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
    <glyph glyph-name="print" unicode="&#xf02f;" horiz-adv-x="1664"
d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68
v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
    <glyph glyph-name="camera" unicode="&#xf030;" horiz-adv-x="1920"
d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136
q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="font" unicode="&#xf031;" horiz-adv-x="1664"
d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57
q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -5 -0.5 -13.5t-0.5 -12.5q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5
q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
    <glyph glyph-name="bold" unicode="&#xf032;" horiz-adv-x="1408"
d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142
q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5
t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68 -0.5t68 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5
t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
    <glyph glyph-name="italic" unicode="&#xf033;" horiz-adv-x="1024"
d="M0 -126l17 85q22 7 61.5 16.5t72 19t59.5 23.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5
q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
    <glyph glyph-name="text_height" unicode="&#xf034;" horiz-adv-x="1792"
d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2
t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5
q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27
q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
    <glyph glyph-name="text_width" unicode="&#xf035;"
d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1
t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27
q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5
t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49
t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
    <glyph glyph-name="align_left" unicode="&#xf036;" horiz-adv-x="1792"
d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45
t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
    <glyph glyph-name="align_center" unicode="&#xf037;" horiz-adv-x="1792"
d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19
h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
    <glyph glyph-name="align_right" unicode="&#xf038;" horiz-adv-x="1792"
d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45
t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
    <glyph glyph-name="align_justify" unicode="&#xf039;" horiz-adv-x="1792"
d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45
t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
    <glyph glyph-name="list" unicode="&#xf03a;" horiz-adv-x="1792"
d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5
t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344
q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5
t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192
q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
    <glyph glyph-name="indent_left" unicode="&#xf03b;" horiz-adv-x="1792"
d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5
t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088
q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
    <glyph glyph-name="indent_right" unicode="&#xf03c;" horiz-adv-x="1792"
d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5
t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088
q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
    <glyph glyph-name="facetime_video" unicode="&#xf03d;" horiz-adv-x="1792"
d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5
q39 -17 39 -59z" />
    <glyph glyph-name="picture" unicode="&#xf03e;" horiz-adv-x="1920"
d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216
q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
    <glyph glyph-name="pencil" unicode="&#xf040;"
d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38
q53 0 91 -38l235 -234q37 -39 37 -91z" />
    <glyph glyph-name="map_marker" unicode="&#xf041;" horiz-adv-x="1024"
d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
    <glyph glyph-name="adjust" unicode="&#xf042;"
d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="tint" unicode="&#xf043;" horiz-adv-x="1024"
d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362
q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
    <glyph glyph-name="edit" unicode="&#xf044;" horiz-adv-x="1792"
d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832
q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92
l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
    <glyph glyph-name="share" unicode="&#xf045;" horiz-adv-x="1664"
d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832
q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5
t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
    <glyph glyph-name="check" unicode="&#xf046;" horiz-adv-x="1664"
d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832
q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110
q24 -24 24 -57t-24 -57z" />
    <glyph glyph-name="move" unicode="&#xf047;" horiz-adv-x="1792"
d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45
t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
    <glyph glyph-name="step_backward" unicode="&#xf048;" horiz-adv-x="1024"
d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 10 13 19z" />
    <glyph glyph-name="fast_backward" unicode="&#xf049;" horiz-adv-x="1792"
d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 10 13 19l710 710
q19 19 32 13t13 -32v-710q4 10 13 19z" />
    <glyph glyph-name="backward" unicode="&#xf04a;" horiz-adv-x="1664"
d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q4 10 13 19z" />
    <glyph glyph-name="play" unicode="&#xf04b;" horiz-adv-x="1408"
d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
    <glyph glyph-name="pause" unicode="&#xf04c;"
d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
    <glyph glyph-name="stop" unicode="&#xf04d;"
d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
    <glyph glyph-name="forward" unicode="&#xf04e;" horiz-adv-x="1664"
d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-4 -10 -13 -19z" />
    <glyph glyph-name="fast_forward" unicode="&#xf050;" horiz-adv-x="1792"
d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v710q0 26 13 32t32 -13l710 -710q9 -9 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-4 -10 -13 -19l-710 -710
q-19 -19 -32 -13t-13 32v710q-4 -10 -13 -19z" />
    <glyph glyph-name="step_forward" unicode="&#xf051;" horiz-adv-x="1024"
d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q9 -9 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-4 -10 -13 -19z" />
    <glyph glyph-name="eject" unicode="&#xf052;" horiz-adv-x="1538"
d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
    <glyph glyph-name="chevron_left" unicode="&#xf053;" horiz-adv-x="1280"
d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />
    <glyph glyph-name="chevron_right" unicode="&#xf054;" horiz-adv-x="1280"
d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />
    <glyph glyph-name="plus_sign" unicode="&#xf055;"
d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5
t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="minus_sign" unicode="&#xf056;"
d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5
t103 -385.5z" />
    <glyph glyph-name="remove_sign" unicode="&#xf057;"
d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19
q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="ok_sign" unicode="&#xf058;"
d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103
t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="question_sign" unicode="&#xf059;"
d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59
q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5
t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="info_sign" unicode="&#xf05a;"
d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23
t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="screenshot" unicode="&#xf05b;"
d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109
q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143
q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
    <glyph glyph-name="remove_circle" unicode="&#xf05c;"
d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23
l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5
t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="ok_circle" unicode="&#xf05d;"
d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198
t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="ban_circle" unicode="&#xf05e;"
d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61
t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
    <glyph glyph-name="arrow_left" unicode="&#xf060;"
d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5
t32.5 -90.5z" />
    <glyph glyph-name="arrow_right" unicode="&#xf061;"
d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
    <glyph glyph-name="arrow_up" unicode="&#xf062;" horiz-adv-x="1664"
d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651
q37 -39 37 -91z" />
    <glyph glyph-name="arrow_down" unicode="&#xf063;" horiz-adv-x="1664"
d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
    <glyph glyph-name="share_alt" unicode="&#xf064;" horiz-adv-x="1792"
d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22
t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
    <glyph glyph-name="resize_full" unicode="&#xf065;"
d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332
q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
    <glyph glyph-name="resize_small" unicode="&#xf066;"
d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45
t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
    <glyph glyph-name="plus" unicode="&#xf067;" horiz-adv-x="1408"
d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
    <glyph glyph-name="minus" unicode="&#xf068;" horiz-adv-x="1408"
d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
    <glyph glyph-name="asterisk" unicode="&#xf069;" horiz-adv-x="1664"
d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154
q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
    <glyph glyph-name="exclamation_sign" unicode="&#xf06a;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192
q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
    <glyph glyph-name="gift" unicode="&#xf06b;"
d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320
q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5
t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
    <glyph glyph-name="leaf" unicode="&#xf06c;" horiz-adv-x="1792"
d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268
q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-43 0 -63.5 17.5t-45.5 59.5q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5
t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
    <glyph glyph-name="fire" unicode="&#xf06d;" horiz-adv-x="1408"
d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1
q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
    <glyph glyph-name="eye_open" unicode="&#xf06e;" horiz-adv-x="1792"
d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5
t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
    <glyph glyph-name="eye_close" unicode="&#xf070;" horiz-adv-x="1792"
d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9
q-106 -189 -316 -567t-315 -566l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5
q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z
" />
    <glyph glyph-name="warning_sign" unicode="&#xf071;" horiz-adv-x="1792"
d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185
q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
    <glyph glyph-name="plane" unicode="&#xf072;" horiz-adv-x="1408"
d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9
q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
    <glyph glyph-name="calendar" unicode="&#xf073;" horiz-adv-x="1664"
d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z
M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64
q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47
h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
    <glyph glyph-name="random" unicode="&#xf074;" horiz-adv-x="1792"
d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1
t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5
v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111
t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
    <glyph glyph-name="comment" unicode="&#xf075;" horiz-adv-x="1792"
d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281
q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
    <glyph glyph-name="magnet" unicode="&#xf076;"
d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384
q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
    <glyph glyph-name="chevron_up" unicode="&#xf077;" horiz-adv-x="1792"
d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />
    <glyph glyph-name="chevron_down" unicode="&#xf078;" horiz-adv-x="1792"
d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />
    <glyph glyph-name="retweet" unicode="&#xf079;" horiz-adv-x="1920"
d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -10 7 -21
zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z
" />
    <glyph glyph-name="shopping_cart" unicode="&#xf07a;" horiz-adv-x="1664"
d="M640 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1536 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1664 1088v-512q0 -24 -16.5 -42.5t-40.5 -21.5l-1044 -122q13 -60 13 -70q0 -16 -24 -64h920q26 0 45 -19t19 -45
t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 11 8 31.5t16 36t21.5 40t15.5 29.5l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t19.5 -15.5t13 -24.5t8 -26t5.5 -29.5t4.5 -26h1201q26 0 45 -19t19 -45z" />
    <glyph glyph-name="folder_close" unicode="&#xf07b;" horiz-adv-x="1664"
d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
    <glyph glyph-name="folder_open" unicode="&#xf07c;" horiz-adv-x="1920"
d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5
t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
    <glyph glyph-name="resize_vertical" unicode="&#xf07d;" horiz-adv-x="768"
d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
    <glyph glyph-name="resize_horizontal" unicode="&#xf07e;" horiz-adv-x="1792"
d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
    <glyph glyph-name="bar_chart" unicode="&#xf080;" horiz-adv-x="2048"
d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />
    <glyph glyph-name="twitter_sign" unicode="&#xf081;"
d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4
q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5
t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="facebook_sign" unicode="&#xf082;"
d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-188v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-532q-119 0 -203.5 84.5t-84.5 203.5v960
q0 119 84.5 203.5t203.5 84.5h960z" />
    <glyph glyph-name="camera_retro" unicode="&#xf083;" horiz-adv-x="1792"
d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5
t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280
q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
    <glyph glyph-name="key" unicode="&#xf084;" horiz-adv-x="1792"
d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26
l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5
t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
    <glyph glyph-name="cogs" unicode="&#xf085;" horiz-adv-x="1920"
d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5
t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -11 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5
l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7
l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -8 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31
q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20
t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68
q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70
q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
    <glyph glyph-name="comments" unicode="&#xf086;" horiz-adv-x="1792"
d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224
q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7
q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
    <glyph glyph-name="thumbs_up_alt" unicode="&#xf087;"
d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5
t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769
q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128
q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
    <glyph glyph-name="thumbs_down_alt" unicode="&#xf088;"
d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 31 18 69q0 37 -17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5
t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z
M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5
h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -73 49 -163z" />
    <glyph glyph-name="star_half" unicode="&#xf089;" horiz-adv-x="896"
d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
    <glyph glyph-name="heart_empty" unicode="&#xf08a;" horiz-adv-x="1792"
d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559
q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5
q224 0 351 -124t127 -344z" />
    <glyph glyph-name="signout" unicode="&#xf08b;" horiz-adv-x="1664"
d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704
q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
    <glyph glyph-name="linkedin_sign" unicode="&#xf08c;"
d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5
q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="pushpin" unicode="&#xf08d;" horiz-adv-x="1152"
d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38
t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
    <glyph glyph-name="external_link" unicode="&#xf08e;" horiz-adv-x="1792"
d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320
q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
    <glyph glyph-name="signin" unicode="&#xf090;"
d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5
q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="trophy" unicode="&#xf091;" horiz-adv-x="1664"
d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91
t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96
q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
    <glyph glyph-name="github_sign" unicode="&#xf092;"
d="M519 336q4 6 -3 13q-9 7 -14 2q-4 -6 3 -13q9 -7 14 -2zM491 377q-5 7 -12 4q-6 -4 0 -12q7 -8 12 -5q6 4 0 13zM450 417q2 4 -5 8q-7 2 -8 -2q-3 -5 4 -8q8 -2 9 2zM471 394q2 1 1.5 4.5t-3.5 5.5q-6 7 -10 3t1 -11q6 -6 11 -2zM557 319q2 7 -9 11q-9 3 -13 -4
q-2 -7 9 -11q9 -3 13 4zM599 316q0 8 -12 8q-10 0 -10 -8t11 -8t11 8zM638 323q-2 7 -13 5t-9 -9q2 -8 12 -6t10 10zM1280 640q0 212 -150 362t-362 150t-362 -150t-150 -362q0 -167 98 -300.5t252 -185.5q18 -3 26.5 5t8.5 20q0 52 -1 95q-6 -1 -15.5 -2.5t-35.5 -2t-48 4
t-43.5 20t-29.5 41.5q-23 59 -57 74q-2 1 -4.5 3.5l-8 8t-7 9.5t4 7.5t19.5 3.5q6 0 15 -2t30 -15.5t33 -35.5q16 -28 37.5 -42t43.5 -14t38 3.5t30 9.5q7 47 33 69q-49 6 -86 18.5t-73 39t-55.5 76t-19.5 119.5q0 79 53 137q-24 62 5 136q19 6 54.5 -7.5t60.5 -29.5l26 -16
q58 17 128 17t128 -17q11 7 28.5 18t55.5 26t57 9q29 -74 5 -136q53 -58 53 -137q0 -57 -14 -100.5t-35.5 -70t-53.5 -44.5t-62.5 -26t-68.5 -12q35 -31 35 -95q0 -40 -0.5 -89t-0.5 -51q0 -12 8.5 -20t26.5 -5q154 52 252 185.5t98 300.5zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="upload_alt" unicode="&#xf093;" horiz-adv-x="1664"
d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92
t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
    <glyph glyph-name="lemon" unicode="&#xf094;"
d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5
q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44
q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5
q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -13 2 -25t3.5 -16.5t7.5 -20.5t8 -20q16 -40 25 -118.5t9 -136.5z" />
    <glyph glyph-name="phone" unicode="&#xf095;" horiz-adv-x="1408"
d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -53 3.5t-57.5 12.5t-47 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-127 79 -264 216t-216 264q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47t-12.5 57.5t-3.5 53q0 92 51 186
q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174q2 -1 19 -11.5t24 -14
t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
    <glyph glyph-name="check_empty" unicode="&#xf096;" horiz-adv-x="1408"
d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832
q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="bookmark_empty" unicode="&#xf097;" horiz-adv-x="1280"
d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289
q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
    <glyph glyph-name="phone_sign" unicode="&#xf098;"
d="M1280 343q0 11 -2 16t-18 16.5t-40.5 25t-47.5 26.5t-45.5 25t-28.5 15q-5 3 -19 13t-25 15t-21 5q-15 0 -36.5 -20.5t-39.5 -45t-38.5 -45t-33.5 -20.5q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170 126.5t-127 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5
t-3.5 16.5q0 13 20.5 33.5t45 38.5t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5
t320.5 -216.5q6 -2 30 -11t33 -12.5t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z
" />
    <glyph glyph-name="twitter" unicode="&#xf099;" horiz-adv-x="1664"
d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41
q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
    <glyph glyph-name="facebook" unicode="&#xf09a;" horiz-adv-x="1024"
d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />
    <glyph glyph-name="github" unicode="&#xf09b;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -40 7t-13 30q0 3 0.5 76.5t0.5 134.5q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 119 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24
q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-85 13.5q-45 -113 -8 -204q-79 -87 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-39 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5
t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -88.5t0.5 -54.5q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103zM291 305q3 7 -7 12
q-10 3 -13 -2q-3 -7 7 -12q9 -6 13 2zM322 271q7 5 -2 16q-10 9 -16 3q-7 -5 2 -16q10 -10 16 -3zM352 226q9 7 0 19q-8 13 -17 6q-9 -5 0 -18t17 -7zM394 184q8 8 -4 19q-12 12 -20 3q-9 -8 4 -19q12 -12 20 -3zM451 159q3 11 -13 16q-15 4 -19 -7t13 -15q15 -6 19 6z
M514 154q0 13 -17 11q-16 0 -16 -11q0 -13 17 -11q16 0 16 11zM572 164q-2 11 -18 9q-16 -3 -14 -15t18 -8t14 14z" />
    <glyph glyph-name="unlock" unicode="&#xf09c;" horiz-adv-x="1664"
d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5
t316.5 -131.5t131.5 -316.5z" />
    <glyph glyph-name="credit_card" unicode="&#xf09d;" horiz-adv-x="1920"
d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608
q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
    <glyph glyph-name="rss" unicode="&#xf09e;" horiz-adv-x="1408"
d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5
t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294
q187 -186 294 -425.5t120 -501.5z" />
    <glyph glyph-name="hdd" unicode="&#xf0a0;"
d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5
h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75
l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
    <glyph glyph-name="bullhorn" unicode="&#xf0a1;" horiz-adv-x="1792"
d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5
t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
    <glyph glyph-name="bell" unicode="&#xf0a2;" horiz-adv-x="1792"
d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z
M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5
t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
    <glyph glyph-name="certificate" unicode="&#xf0a3;"
d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70
l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70
l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
    <glyph glyph-name="hand_right" unicode="&#xf0a4;" horiz-adv-x="1792"
d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106
q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43
q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5
t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
    <glyph glyph-name="hand_left" unicode="&#xf0a5;" horiz-adv-x="1792"
d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-8 9 -12 14q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576q-50 0 -89 -38.5
t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45z
M1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128q0 122 81.5 189t206.5 67
q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
    <glyph glyph-name="hand_up" unicode="&#xf0a6;"
d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576
q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5
t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76
q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
    <glyph glyph-name="hand_down" unicode="&#xf0a7;"
d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33
t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580
q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100
q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
    <glyph glyph-name="circle_arrow_left" unicode="&#xf0a8;"
d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="circle_arrow_right" unicode="&#xf0a9;"
d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="circle_arrow_up" unicode="&#xf0aa;"
d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="circle_arrow_down" unicode="&#xf0ab;"
d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="globe" unicode="&#xf0ac;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11
q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 11t-9.5 10q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5
q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5
q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5
t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-4 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3
q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25
q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5
t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5
t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10.5t17 -19.5q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21
q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5
q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3
q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5
t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q8 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5
q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7
q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
    <glyph glyph-name="wrench" unicode="&#xf0ad;" horiz-adv-x="1664"
d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5
t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
    <glyph glyph-name="tasks" unicode="&#xf0ae;" horiz-adv-x="1792"
d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19
t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
    <glyph glyph-name="filter" unicode="&#xf0b0;" horiz-adv-x="1408"
d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
    <glyph glyph-name="briefcase" unicode="&#xf0b1;" horiz-adv-x="1792"
d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68
t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
    <glyph glyph-name="fullscreen" unicode="&#xf0b2;"
d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144
l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z
" />
    <glyph glyph-name="group" unicode="&#xf0c0;" horiz-adv-x="1920"
d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5
t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75
t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5
t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
    <glyph glyph-name="link" unicode="&#xf0c1;" horiz-adv-x="1664"
d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26
l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15
t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207
q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
    <glyph glyph-name="cloud" unicode="&#xf0c2;" horiz-adv-x="1920"
d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z
" />
    <glyph glyph-name="beaker" unicode="&#xf0c3;" horiz-adv-x="1664"
d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
    <glyph glyph-name="cut" unicode="&#xf0c4;" horiz-adv-x="1792"
d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84
q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148
q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108
q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6
q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
    <glyph glyph-name="copy" unicode="&#xf0c5;" horiz-adv-x="1792"
d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299
h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
    <glyph glyph-name="paper_clip" unicode="&#xf0c6;" horiz-adv-x="1408"
d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181
l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235
z" />
    <glyph glyph-name="save" unicode="&#xf0c7;"
d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5
h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
    <glyph glyph-name="sign_blank" unicode="&#xf0c8;"
d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="reorder" unicode="&#xf0c9;"
d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45
t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
    <glyph glyph-name="ul" unicode="&#xf0ca;" horiz-adv-x="1792"
d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5
t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z
M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
    <glyph glyph-name="ol" unicode="&#xf0cb;" horiz-adv-x="1792"
d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362
q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5
t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 121.5t0.5 121.5v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216
q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
    <glyph glyph-name="strikethrough" unicode="&#xf0cc;" horiz-adv-x="1792"
d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 98 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6
l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -56 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23
l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
    <glyph glyph-name="underline" unicode="&#xf0cd;"
d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47
q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41
q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472
q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
    <glyph glyph-name="table" unicode="&#xf0ce;" horiz-adv-x="1664"
d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23
v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192
q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192
q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113
z" />
    <glyph glyph-name="magic" unicode="&#xf0d0;" horiz-adv-x="1664"
d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276
l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
    <glyph glyph-name="truck" unicode="&#xf0d1;" horiz-adv-x="1792"
d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5
t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38
t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
    <glyph glyph-name="pinterest" unicode="&#xf0d2;"
d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134
q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33
q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="pinterest_sign" unicode="&#xf0d3;"
d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5
t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5
t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
    <glyph glyph-name="google_plus_sign" unicode="&#xf0d4;"
d="M917 631q0 26 -6 64h-362v-132h217q-3 -24 -16.5 -50t-37.5 -53t-66.5 -44.5t-96.5 -17.5q-99 0 -169 71t-70 171t70 171t169 71q92 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585
h109v110h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="google_plus" unicode="&#xf0d5;" horiz-adv-x="2304"
d="M1437 623q0 -208 -87 -370.5t-248 -254t-369 -91.5q-149 0 -285 58t-234 156t-156 234t-58 285t58 285t156 234t234 156t285 58q286 0 491 -192l-199 -191q-117 113 -292 113q-123 0 -227.5 -62t-165.5 -168.5t-61 -232.5t61 -232.5t165.5 -168.5t227.5 -62
q83 0 152.5 23t114.5 57.5t78.5 78.5t49 83t21.5 74h-416v252h692q12 -63 12 -122zM2304 745v-210h-209v-209h-210v209h-209v210h209v209h210v-209h209z" />
    <glyph glyph-name="money" unicode="&#xf0d6;" horiz-adv-x="1920"
d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384
v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
    <glyph glyph-name="caret_down" unicode="&#xf0d7;" horiz-adv-x="1024"
d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
    <glyph glyph-name="caret_up" unicode="&#xf0d8;" horiz-adv-x="1024"
d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
    <glyph glyph-name="caret_left" unicode="&#xf0d9;" horiz-adv-x="640"
d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
    <glyph glyph-name="caret_right" unicode="&#xf0da;" horiz-adv-x="640"
d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
    <glyph glyph-name="columns" unicode="&#xf0db;" horiz-adv-x="1664"
d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
    <glyph glyph-name="sort" unicode="&#xf0dc;" horiz-adv-x="1024"
d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
    <glyph glyph-name="sort_down" unicode="&#xf0dd;" horiz-adv-x="1024"
d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
    <glyph glyph-name="sort_up" unicode="&#xf0de;" horiz-adv-x="1024"
d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
    <glyph glyph-name="envelope_alt" unicode="&#xf0e0;" horiz-adv-x="1792"
d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123
q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
    <glyph glyph-name="linkedin" unicode="&#xf0e1;"
d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329
q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
    <glyph glyph-name="undo" unicode="&#xf0e2;"
d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5
t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
    <glyph glyph-name="legal" unicode="&#xf0e3;" horiz-adv-x="1792"
d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5
t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14
q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28
q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
    <glyph glyph-name="dashboard" unicode="&#xf0e4;" horiz-adv-x="1792"
d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5
t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5
t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29
q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="comment_alt" unicode="&#xf0e5;" horiz-adv-x="1792"
d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640
q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5
t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
    <glyph glyph-name="comments_alt" unicode="&#xf0e6;" horiz-adv-x="1792"
d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257
t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5
t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129
q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
    <glyph glyph-name="bolt" unicode="&#xf0e7;" horiz-adv-x="896"
d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
    <glyph glyph-name="sitemap" unicode="&#xf0e8;" horiz-adv-x="1792"
d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320
q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68
z" />
    <glyph glyph-name="umbrella" unicode="&#xf0e9;" horiz-adv-x="1664"
d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97
q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69
q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
    <glyph glyph-name="paste" unicode="&#xf0ea;" horiz-adv-x="1792"
d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28
h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
    <glyph glyph-name="light_bulb" unicode="&#xf0eb;" horiz-adv-x="1024"
d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134
q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47
q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5
t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
    <glyph glyph-name="exchange" unicode="&#xf0ec;" horiz-adv-x="1792"
d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9
q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
    <glyph glyph-name="cloud_download" unicode="&#xf0ed;" horiz-adv-x="1920"
d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088
q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
    <glyph glyph-name="cloud_upload" unicode="&#xf0ee;" horiz-adv-x="1920"
d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088
q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
    <glyph glyph-name="user_md" unicode="&#xf0f0;" horiz-adv-x="1408"
d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56
t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68
t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5
t271.5 -112.5t112.5 -271.5z" />
    <glyph glyph-name="stethoscope" unicode="&#xf0f1;" horiz-adv-x="1408"
d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48
t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252
t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
    <glyph glyph-name="suitcase" unicode="&#xf0f2;" horiz-adv-x="1792"
d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66
t66 -158z" />
    <glyph glyph-name="bell_alt" unicode="&#xf0f3;" horiz-adv-x="1792"
d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5
t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
    <glyph glyph-name="coffee" unicode="&#xf0f4;" horiz-adv-x="1920"
d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45
t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
    <glyph glyph-name="food" unicode="&#xf0f5;" horiz-adv-x="1408"
d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45
t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
    <glyph glyph-name="file_text_alt" unicode="&#xf0f6;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704
q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" />
    <glyph glyph-name="building" unicode="&#xf0f7;" horiz-adv-x="1408"
d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
    <glyph glyph-name="hospital" unicode="&#xf0f8;" horiz-adv-x="1408"
d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z
M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5
t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320
v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
    <glyph glyph-name="ambulance" unicode="&#xf0f9;" horiz-adv-x="1920"
d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5
t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152
q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
    <glyph glyph-name="medkit" unicode="&#xf0fa;" horiz-adv-x="1792"
d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32
q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
    <glyph glyph-name="fighter_jet" unicode="&#xf0fb;" horiz-adv-x="1920"
d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96
q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q128 -28 200 -52t80 -34z" />
    <glyph glyph-name="beer" unicode="&#xf0fc;" horiz-adv-x="1664"
d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
    <glyph glyph-name="h_sign" unicode="&#xf0fd;"
d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="f0fe" unicode="&#xf0fe;"
d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="double_angle_left" unicode="&#xf100;" horiz-adv-x="1024"
d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23
t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
    <glyph glyph-name="double_angle_right" unicode="&#xf101;" horiz-adv-x="1024"
d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23
l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
    <glyph glyph-name="double_angle_up" unicode="&#xf102;" horiz-adv-x="1152"
d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393
q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
    <glyph glyph-name="double_angle_down" unicode="&#xf103;" horiz-adv-x="1152"
d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23
t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
    <glyph glyph-name="angle_left" unicode="&#xf104;" horiz-adv-x="640"
d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
    <glyph glyph-name="angle_right" unicode="&#xf105;" horiz-adv-x="640"
d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
    <glyph glyph-name="angle_up" unicode="&#xf106;" horiz-adv-x="1152"
d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
    <glyph glyph-name="angle_down" unicode="&#xf107;" horiz-adv-x="1152"
d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
    <glyph glyph-name="desktop" unicode="&#xf108;" horiz-adv-x="1920"
d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19
t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
    <glyph glyph-name="laptop" unicode="&#xf109;" horiz-adv-x="1920"
d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z
M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
    <glyph glyph-name="tablet" unicode="&#xf10a;" horiz-adv-x="1152"
d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832
q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
    <glyph glyph-name="mobile_phone" unicode="&#xf10b;" horiz-adv-x="768"
d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136
q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
    <glyph glyph-name="circle_blank" unicode="&#xf10c;"
d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103
t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="quote_left" unicode="&#xf10d;" horiz-adv-x="1664"
d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z
M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
    <glyph glyph-name="quote_right" unicode="&#xf10e;" horiz-adv-x="1664"
d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216
v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
    <glyph glyph-name="spinner" unicode="&#xf110;" horiz-adv-x="1792"
d="M526 142q0 -53 -37.5 -90.5t-90.5 -37.5q-52 0 -90 38t-38 90q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 -64q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -53 -37.5 -90.5t-90.5 -37.5
t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1522 142q0 -52 -38 -90t-90 -38q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM558 1138q0 -66 -47 -113t-113 -47t-113 47t-47 113t47 113t113 47t113 -47t47 -113z
M1728 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1088 1344q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1618 1138q0 -93 -66 -158.5t-158 -65.5q-93 0 -158.5 65.5t-65.5 158.5
q0 92 65.5 158t158.5 66q92 0 158 -66t66 -158z" />
    <glyph glyph-name="circle" unicode="&#xf111;"
d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="reply" unicode="&#xf112;" horiz-adv-x="1792"
d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19
l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
    <glyph glyph-name="github_alt" unicode="&#xf113;" horiz-adv-x="1664"
d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320
q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86
t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218
q0 -87 -27 -168q136 -160 136 -398z" />
    <glyph glyph-name="folder_close_alt" unicode="&#xf114;" horiz-adv-x="1664"
d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320
q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
    <glyph glyph-name="folder_open_alt" unicode="&#xf115;" horiz-adv-x="1920"
d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68
v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z
" />
    <glyph glyph-name="expand_alt" unicode="&#xf116;" horiz-adv-x="1792"
 />
    <glyph glyph-name="collapse_alt" unicode="&#xf117;" horiz-adv-x="1792"
 />
    <glyph glyph-name="smile" unicode="&#xf118;"
d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5
t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5
t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="frown" unicode="&#xf119;"
d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5
t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204
t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="meh" unicode="&#xf11a;"
d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5
t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="gamepad" unicode="&#xf11b;" horiz-adv-x="1920"
d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5
t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150
t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
    <glyph glyph-name="keyboard" unicode="&#xf11c;" horiz-adv-x="1920"
d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16
h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16
h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96
q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896
h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
    <glyph glyph-name="flag_alt" unicode="&#xf11d;" horiz-adv-x="1792"
d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9
h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102
q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
    <glyph glyph-name="flag_checkered" unicode="&#xf11e;" horiz-adv-x="1792"
d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2
q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266
q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8
q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
    <glyph glyph-name="terminal" unicode="&#xf120;" horiz-adv-x="1664"
d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9
t9 -23z" />
    <glyph glyph-name="code" unicode="&#xf121;" horiz-adv-x="1920"
d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5
l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
    <glyph glyph-name="reply_all" unicode="&#xf122;" horiz-adv-x="1792"
d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1
q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
    <glyph glyph-name="star_half_empty" unicode="&#xf123;" horiz-adv-x="1664"
d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5
l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
    <glyph glyph-name="location_arrow" unicode="&#xf124;" horiz-adv-x="1408"
d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
    <glyph glyph-name="crop" unicode="&#xf125;" horiz-adv-x="1664"
d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23
v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
    <glyph glyph-name="code_fork" unicode="&#xf126;" horiz-adv-x="1024"
d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5
q-2 -287 -226 -414q-67 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497
q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
    <glyph glyph-name="unlink" unicode="&#xf127;" horiz-adv-x="1664"
d="M439 265l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320
q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18
l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9
t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
    <glyph glyph-name="question" unicode="&#xf128;" horiz-adv-x="1024"
d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5
t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
    <glyph glyph-name="_279" unicode="&#xf129;" horiz-adv-x="640"
d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192
q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
    <glyph glyph-name="exclamation" unicode="&#xf12a;" horiz-adv-x="640"
d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
    <glyph glyph-name="superscript" unicode="&#xf12b;"
d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3q-1 -3 -2.5 -6.5t-3.5 -8t-3 -6.5q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109z
M1534 846v-206h-514l-3 27q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5
t-65.5 -51.5t-30.5 -63h232v80h126z" />
    <glyph glyph-name="subscript" unicode="&#xf12c;"
d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3q-1 -3 -2.5 -6.5t-3.5 -8t-3 -6.5q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109z
M1536 -50v-206h-514l-4 27q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73
h232v80h126z" />
    <glyph glyph-name="_283" unicode="&#xf12d;" horiz-adv-x="1920"
d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
    <glyph glyph-name="puzzle_piece" unicode="&#xf12e;" horiz-adv-x="1664"
d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5
t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89
q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117
q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
    <glyph glyph-name="microphone" unicode="&#xf130;" horiz-adv-x="1152"
d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5
t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
    <glyph glyph-name="microphone_off" unicode="&#xf131;" horiz-adv-x="1408"
d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128
q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23
t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
    <glyph glyph-name="shield" unicode="&#xf132;" horiz-adv-x="1280"
d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150
t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
    <glyph glyph-name="calendar_empty" unicode="&#xf133;" horiz-adv-x="1664"
d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280
q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
    <glyph glyph-name="fire_extinguisher" unicode="&#xf134;" horiz-adv-x="1408"
d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800
q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113
q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
    <glyph glyph-name="rocket" unicode="&#xf135;" horiz-adv-x="1664"
d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1
q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
    <glyph glyph-name="maxcdn" unicode="&#xf136;" horiz-adv-x="1792"
d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
    <glyph glyph-name="chevron_sign_left" unicode="&#xf137;"
d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5
t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="chevron_sign_right" unicode="&#xf138;"
d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5
t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="chevron_sign_up" unicode="&#xf139;"
d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5
t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="chevron_sign_down" unicode="&#xf13a;"
d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5
t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="html5" unicode="&#xf13b;" horiz-adv-x="1408"
d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
    <glyph glyph-name="css3" unicode="&#xf13c;" horiz-adv-x="1792"
d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
    <glyph glyph-name="anchor" unicode="&#xf13d;" horiz-adv-x="1792"
d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352
q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19
t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
    <glyph glyph-name="unlock_alt" unicode="&#xf13e;" horiz-adv-x="1152"
d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181
v-320h736z" />
    <glyph glyph-name="bullseye" unicode="&#xf140;"
d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150
t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640
q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="ellipsis_horizontal" unicode="&#xf141;" horiz-adv-x="1408"
d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192
q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
    <glyph glyph-name="ellipsis_vertical" unicode="&#xf142;" horiz-adv-x="384"
d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192
q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
    <glyph glyph-name="_303" unicode="&#xf143;"
d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 233 -176.5 396.5t-396.5 176.5q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128
q13 0 23 10t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="play_sign" unicode="&#xf144;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56
q16 -8 32 -8q17 0 32 9z" />
    <glyph glyph-name="ticket" unicode="&#xf145;" horiz-adv-x="1792"
d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136
t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
    <glyph glyph-name="minus_sign_alt" unicode="&#xf146;"
d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5
t84.5 -203.5z" />
    <glyph glyph-name="check_minus" unicode="&#xf147;" horiz-adv-x="1408"
d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5
t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="level_up" unicode="&#xf148;" horiz-adv-x="1024"
d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
    <glyph glyph-name="level_down" unicode="&#xf149;" horiz-adv-x="1024"
d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
    <glyph glyph-name="check_sign" unicode="&#xf14a;"
d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5
t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="edit_sign" unicode="&#xf14b;"
d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120
v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_312" unicode="&#xf14c;"
d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960
q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="share_sign" unicode="&#xf14d;"
d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q11 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5
t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="compass" unicode="&#xf14e;"
d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103
t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="collapse" unicode="&#xf150;"
d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120
v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="collapse_top" unicode="&#xf151;"
d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_317" unicode="&#xf152;"
d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5
t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="eur" unicode="&#xf153;" horiz-adv-x="1024"
d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9
t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26
l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
    <glyph glyph-name="gbp" unicode="&#xf154;" horiz-adv-x="1024"
d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7
q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
    <glyph glyph-name="usd" unicode="&#xf155;" horiz-adv-x="1024"
d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43
t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5
t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50
t53 -63.5t31.5 -76.5t13 -94z" />
    <glyph glyph-name="inr" unicode="&#xf156;" horiz-adv-x="898"
d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102
q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
    <glyph glyph-name="jpy" unicode="&#xf157;" horiz-adv-x="1027"
d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61
l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
    <glyph glyph-name="rub" unicode="&#xf158;" horiz-adv-x="1280"
d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128
q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />
    <glyph glyph-name="krw" unicode="&#xf159;" horiz-adv-x="1792"
d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23
t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28
q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
    <glyph glyph-name="btc" unicode="&#xf15a;" horiz-adv-x="1280"
d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164
l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30
t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
    <glyph glyph-name="file" unicode="&#xf15b;"
d="M1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472zM896 992q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544z" />
    <glyph glyph-name="file_text" unicode="&#xf15c;"
d="M1468 1060q14 -14 28 -36h-472v472q22 -14 36 -28zM992 896h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28zM1152 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704
q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23z" />
    <glyph glyph-name="sort_by_alphabet" unicode="&#xf15d;" horiz-adv-x="1664"
d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23
v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162
l230 -662h70z" />
    <glyph glyph-name="_329" unicode="&#xf15e;" horiz-adv-x="1664"
d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150
v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248
v119h121z" />
    <glyph glyph-name="sort_by_attributes" unicode="&#xf160;" horiz-adv-x="1792"
d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832
q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256
q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
    <glyph glyph-name="sort_by_attributes_alt" unicode="&#xf161;" horiz-adv-x="1792"
d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192
q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832
q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
    <glyph glyph-name="sort_by_order" unicode="&#xf162;"
d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23
zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5
t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
    <glyph glyph-name="sort_by_order_alt" unicode="&#xf163;"
d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9
t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13
q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
    <glyph glyph-name="_334" unicode="&#xf164;" horiz-adv-x="1664"
d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76
q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5
t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
    <glyph glyph-name="_335" unicode="&#xf165;" horiz-adv-x="1664"
d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135
t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121
t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
    <glyph glyph-name="youtube_sign" unicode="&#xf166;"
d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 17 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15
q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38
q21 -29 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5
q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78q7 -23 23 -69l24 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38
q-51 0 -78 -38q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5
h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="youtube" unicode="&#xf167;"
d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73
q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51
q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99
q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-38 -51 -106 -51q-67 0 -105 51
q-28 38 -28 118v175q0 80 28 117q38 51 105 51q68 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
    <glyph glyph-name="xing" unicode="&#xf168;" horiz-adv-x="1408"
d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942
q25 45 64 45h241q22 0 31 -15z" />
    <glyph glyph-name="xing_sign" unicode="&#xf169;"
d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1
l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="youtube_play" unicode="&#xf16a;" horiz-adv-x="1792"
d="M711 408l484 250l-484 253v-503zM896 1270q168 0 324.5 -4.5t229.5 -9.5l73 -4q1 0 17 -1.5t23 -3t23.5 -4.5t28.5 -8t28 -13t31 -19.5t29 -26.5q6 -6 15.5 -18.5t29 -58.5t26.5 -101q8 -64 12.5 -136.5t5.5 -113.5v-40v-136q1 -145 -18 -290q-7 -55 -25 -99.5t-32 -61.5
l-14 -17q-14 -15 -29 -26.5t-31 -19t-28 -12.5t-28.5 -8t-24 -4.5t-23 -3t-16.5 -1.5q-251 -19 -627 -19q-207 2 -359.5 6.5t-200.5 7.5l-49 4l-36 4q-36 5 -54.5 10t-51 21t-56.5 41q-6 6 -15.5 18.5t-29 58.5t-26.5 101q-8 64 -12.5 136.5t-5.5 113.5v40v136
q-1 145 18 290q7 55 25 99.5t32 61.5l14 17q14 15 29 26.5t31 19.5t28 13t28.5 8t23.5 4.5t23 3t17 1.5q251 18 627 18z" />
    <glyph glyph-name="dropbox" unicode="&#xf16b;" horiz-adv-x="1792"
d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
    <glyph glyph-name="stackexchange" unicode="&#xf16c;"
d="M1289 -96h-1118v480h-160v-640h1438v640h-160v-480zM347 428l33 157l783 -165l-33 -156zM450 802l67 146l725 -339l-67 -145zM651 1158l102 123l614 -513l-102 -123zM1048 1536l477 -641l-128 -96l-477 641zM330 65v159h800v-159h-800z" />
    <glyph glyph-name="instagram" unicode="&#xf16d;"
d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1162 640q0 -164 -115 -279t-279 -115t-279 115t-115 279t115 279t279 115t279 -115t115 -279zM1270 1050q0 -38 -27 -65t-65 -27t-65 27t-27 65t27 65t65 27t65 -27t27 -65zM768 1270
q-7 0 -76.5 0.5t-105.5 0t-96.5 -3t-103 -10t-71.5 -18.5q-50 -20 -88 -58t-58 -88q-11 -29 -18.5 -71.5t-10 -103t-3 -96.5t0 -105.5t0.5 -76.5t-0.5 -76.5t0 -105.5t3 -96.5t10 -103t18.5 -71.5q20 -50 58 -88t88 -58q29 -11 71.5 -18.5t103 -10t96.5 -3t105.5 0t76.5 0.5
t76.5 -0.5t105.5 0t96.5 3t103 10t71.5 18.5q50 20 88 58t58 88q11 29 18.5 71.5t10 103t3 96.5t0 105.5t-0.5 76.5t0.5 76.5t0 105.5t-3 96.5t-10 103t-18.5 71.5q-20 50 -58 88t-88 58q-29 11 -71.5 18.5t-103 10t-96.5 3t-105.5 0t-76.5 -0.5zM1536 640q0 -229 -5 -317
q-10 -208 -124 -322t-322 -124q-88 -5 -317 -5t-317 5q-208 10 -322 124t-124 322q-5 88 -5 317t5 317q10 208 124 322t322 124q88 5 317 5t317 -5q208 -10 322 -124t124 -322q5 -88 5 -317z" />
    <glyph glyph-name="flickr" unicode="&#xf16e;"
d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150
t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
    <glyph glyph-name="adn" unicode="&#xf170;"
d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="f171" unicode="&#xf171;" horiz-adv-x="1408"
d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22
t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18
t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5
t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
    <glyph glyph-name="bitbucket_sign" unicode="&#xf172;"
d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5
t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z
M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120
v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="tumblr" unicode="&#xf173;" horiz-adv-x="1024"
d="M944 207l80 -237q-23 -35 -111 -66t-177 -32q-104 -2 -190.5 26t-142.5 74t-95 106t-55.5 120t-16.5 118v544h-168v215q72 26 129 69.5t91 90t58 102t34 99t15 88.5q1 5 4.5 8.5t7.5 3.5h244v-424h333v-252h-334v-518q0 -30 6.5 -56t22.5 -52.5t49.5 -41.5t81.5 -14
q78 2 134 29z" />
    <glyph glyph-name="tumblr_sign" unicode="&#xf174;"
d="M1136 75l-62 183q-44 -22 -103 -22q-36 -1 -62 10.5t-38.5 31.5t-17.5 40.5t-5 43.5v398h257v194h-256v326h-188q-8 0 -9 -10q-5 -44 -17.5 -87t-39 -95t-77 -95t-118.5 -68v-165h130v-418q0 -57 21.5 -115t65 -111t121 -85.5t176.5 -30.5q69 1 136.5 25t85.5 50z
M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="long_arrow_down" unicode="&#xf175;" horiz-adv-x="768"
d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
    <glyph glyph-name="long_arrow_up" unicode="&#xf176;" horiz-adv-x="768"
d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
    <glyph glyph-name="long_arrow_left" unicode="&#xf177;" horiz-adv-x="1792"
d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
    <glyph glyph-name="long_arrow_right" unicode="&#xf178;" horiz-adv-x="1792"
d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
    <glyph glyph-name="apple" unicode="&#xf179;" horiz-adv-x="1408"
d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q113 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65
q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
    <glyph glyph-name="windows" unicode="&#xf17a;" horiz-adv-x="1664"
d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
    <glyph glyph-name="android" unicode="&#xf17b;" horiz-adv-x="1408"
d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30
t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5
h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
    <glyph glyph-name="linux" unicode="&#xf17c;"
d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-10 -11 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z
M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7
q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15
q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5
t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19
q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63
q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18q-2 -1 -4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92
q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152
q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-6 0 -8 -2t0 -4
t5 -3q14 -4 18 -31q0 -3 8 2q2 2 2 3zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5
t-30 -18.5t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43
q-19 4 -51 9.5t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49
t-14 -48q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54
q110 143 124 195q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5
t-40.5 -33.5t-61 -14q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5
t15.5 47.5q1 -31 8 -56.5t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
    <glyph glyph-name="dribble" unicode="&#xf17d;"
d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81
t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19
q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -5 6.5 -17t7.5 -17q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6
t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="skype" unicode="&#xf17e;"
d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5
t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5
q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80
q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
    <glyph glyph-name="foursquare" unicode="&#xf180;" horiz-adv-x="1280"
d="M1000 1102l37 194q5 23 -9 40t-35 17h-712q-23 0 -38.5 -17t-15.5 -37v-1101q0 -7 6 -1l291 352q23 26 38 33.5t48 7.5h239q22 0 37 14.5t18 29.5q24 130 37 191q4 21 -11.5 40t-36.5 19h-294q-29 0 -48 19t-19 48v42q0 29 19 47.5t48 18.5h346q18 0 35 13.5t20 29.5z
M1227 1324q-15 -73 -53.5 -266.5t-69.5 -350t-35 -173.5q-6 -22 -9 -32.5t-14 -32.5t-24.5 -33t-38.5 -21t-58 -10h-271q-13 0 -22 -10q-8 -9 -426 -494q-22 -25 -58.5 -28.5t-48.5 5.5q-55 22 -55 98v1410q0 55 38 102.5t120 47.5h888q95 0 127 -53t10 -159zM1227 1324
l-158 -790q4 17 35 173.5t69.5 350t53.5 266.5z" />
    <glyph glyph-name="trello" unicode="&#xf181;"
d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408
q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
    <glyph glyph-name="female" unicode="&#xf182;" horiz-adv-x="1280"
d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43
q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
    <glyph glyph-name="male" unicode="&#xf183;" horiz-adv-x="1024"
d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z
M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
    <glyph glyph-name="gittip" unicode="&#xf184;"
d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103
t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="sun" unicode="&#xf185;" horiz-adv-x="1792"
d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4
l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94
q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
    <glyph glyph-name="_366" unicode="&#xf186;"
d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61
t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
    <glyph glyph-name="archive" unicode="&#xf187;" horiz-adv-x="1792"
d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536
q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
    <glyph glyph-name="bug" unicode="&#xf188;" horiz-adv-x="1664"
d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207
q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19
t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
    <glyph glyph-name="vk" unicode="&#xf189;" horiz-adv-x="1920"
d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-40 -51 -55 -72t-30.5 -49.5t-12 -42t13 -34.5t32.5 -43t57 -53q4 -2 5 -4q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58
t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6
q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q16 19 38 30q53 26 239 24
q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2
q39 5 64 -2.5t31 -16.5z" />
    <glyph glyph-name="weibo" unicode="&#xf18a;" horiz-adv-x="1792"
d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12
q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422
q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178
q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z
M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
    <glyph glyph-name="renren" unicode="&#xf18b;"
d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495
q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />
    <glyph glyph-name="_372" unicode="&#xf18c;" horiz-adv-x="1408"
d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5
t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56
t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -4 1 -50t-1 -72q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5
t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />
    <glyph glyph-name="stack_exchange" unicode="&#xf18d;" horiz-adv-x="1280"
d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z
" />
    <glyph glyph-name="_374" unicode="&#xf18e;"
d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198
t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="arrow_circle_alt_left" unicode="&#xf190;"
d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198
t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_376" unicode="&#xf191;"
d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z
M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="dot_circle_alt" unicode="&#xf192;"
d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5
t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_378" unicode="&#xf193;" horiz-adv-x="1664"
d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128
q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 17 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />
    <glyph glyph-name="vimeo_square" unicode="&#xf194;"
d="M1292 898q10 216 -161 222q-231 8 -312 -261q44 19 82 19q85 0 74 -96q-4 -57 -74 -167t-105 -110q-43 0 -82 169q-13 54 -45 255q-30 189 -160 177q-59 -7 -164 -100l-81 -72l-81 -72l52 -67q76 52 87 52q57 0 107 -179q15 -55 45 -164.5t45 -164.5q68 -179 164 -179
q157 0 383 294q220 283 226 444zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_380" unicode="&#xf195;" horiz-adv-x="1152"
d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160
q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
    <glyph glyph-name="plus_square_o" unicode="&#xf196;" horiz-adv-x="1408"
d="M1152 736v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832
q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_382" unicode="&#xf197;" horiz-adv-x="2176"
d="M620 416q-110 -64 -268 -64h-128v64h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5t38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40
t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113zM1739 668q53 -36 53 -92t-53 -92l81 -30q68 48 68 122t-68 122zM625 400h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96l-93 464h29
q157 0 273 64zM352 816h-29l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64z" />
    <glyph glyph-name="_383" unicode="&#xf198;" horiz-adv-x="1664"
d="M1519 760q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72l-55 163l-153 -53q-29 -9 -50 -9
q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102
t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8zM725 498l310 105l-105 315l-310 -107z" />
    <glyph glyph-name="_384" unicode="&#xf199;"
d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM1280 352v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99q-98 -69 -164 -69v0v0q-66 0 -164 69
q-47 32 -142 92.5t-142 92.5q-12 8 -33 27t-31 27v-436q0 -40 28 -68t68 -28h832q40 0 68 28t28 68zM1280 925q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13
t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5z" />
    <glyph glyph-name="_385" unicode="&#xf19a;" horiz-adv-x="1792"
d="M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5
t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21
t14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286
t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273
t273 -182.5t331.5 -68z" />
    <glyph glyph-name="_386" unicode="&#xf19b;" horiz-adv-x="1792"
d="M1086 1536v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360zM1755 954l37 -390l-525 114l147 83q-119 70 -280 99v172q277 -33 481 -157z" />
    <glyph glyph-name="_387" unicode="&#xf19c;" horiz-adv-x="2048"
d="M960 1536l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128v128zM256 896h256v-768h128v768h256v-768h128v768h256v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664v64q0 26 20.5 45t48.5 19h59v768zM1851 -64
q28 0 48.5 -19t20.5 -45v-128h-1920v128q0 26 20.5 45t48.5 19h1782z" />
    <glyph glyph-name="_388" unicode="&#xf19d;" horiz-adv-x="2304"
d="M1774 700l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128l18 316l574 -181q22 -7 48 -7t48 7zM2304 1024q0 -23 -22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433
q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31t22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31z" />
    <glyph glyph-name="_389" unicode="&#xf19e;"
d="M859 579l13 -707q-62 11 -105 11q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287q58 -15 108 -15q44 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14v0
q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610z" />
    <glyph glyph-name="uniF1A0" unicode="&#xf1a0;"
d="M768 750h725q12 -67 12 -128q0 -217 -91 -387.5t-259.5 -266.5t-386.5 -96q-157 0 -299 60.5t-245 163.5t-163.5 245t-60.5 299t60.5 299t163.5 245t245 163.5t299 60.5q300 0 515 -201l-209 -201q-123 119 -306 119q-129 0 -238.5 -65t-173.5 -176.5t-64 -243.5
t64 -243.5t173.5 -176.5t238.5 -65q87 0 160 24t120 60t82 82t51.5 87t22.5 78h-436v264z" />
    <glyph glyph-name="f1a1" unicode="&#xf1a1;" horiz-adv-x="1792"
d="M1095 369q16 -16 0 -31q-62 -62 -199 -62t-199 62q-16 15 0 31q6 6 15 6t15 -6q48 -49 169 -49q120 0 169 49q6 6 15 6t15 -6zM788 550q0 -37 -26 -63t-63 -26t-63.5 26t-26.5 63q0 38 26.5 64t63.5 26t63 -26.5t26 -63.5zM1183 550q0 -37 -26.5 -63t-63.5 -26t-63 26
t-26 63t26 63.5t63 26.5t63.5 -26t26.5 -64zM1434 670q0 49 -35 84t-85 35t-86 -36q-130 90 -311 96l63 283l200 -45q0 -37 26 -63t63 -26t63.5 26.5t26.5 63.5t-26.5 63.5t-63.5 26.5q-54 0 -80 -50l-221 49q-19 5 -25 -16l-69 -312q-180 -7 -309 -97q-35 37 -87 37
q-50 0 -85 -35t-35 -84q0 -35 18.5 -64t49.5 -44q-6 -27 -6 -56q0 -142 140 -243t337 -101q198 0 338 101t140 243q0 32 -7 57q30 15 48 43.5t18 63.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191
t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="_392" unicode="&#xf1a2;"
d="M939 407q13 -13 0 -26q-53 -53 -171 -53t-171 53q-13 13 0 26q5 6 13 6t13 -6q42 -42 145 -42t145 42q5 6 13 6t13 -6zM676 563q0 -31 -23 -54t-54 -23t-54 23t-23 54q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1014 563q0 -31 -23 -54t-54 -23t-54 23t-23 54
q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1229 666q0 42 -30 72t-73 30q-42 0 -73 -31q-113 78 -267 82l54 243l171 -39q1 -32 23.5 -54t53.5 -22q32 0 54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5q-48 0 -69 -43l-189 42q-17 5 -21 -13l-60 -268q-154 -6 -265 -83
q-30 32 -74 32q-43 0 -73 -30t-30 -72q0 -30 16 -55t42 -38q-5 -25 -5 -48q0 -122 120 -208.5t289 -86.5q170 0 290 86.5t120 208.5q0 25 -6 49q25 13 40.5 37.5t15.5 54.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960
q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_393" unicode="&#xf1a3;"
d="M866 697l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14q19 0 32.5 -14t13.5 -33v-54zM1199 502v122h-150
v-126q0 -20 -13.5 -33.5t-33.5 -13.5q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123q0 -80 58 -137t139 -57t138.5 57t57.5 139zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103
t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="f1a4" unicode="&#xf1a4;" horiz-adv-x="1920"
d="M1062 824v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58zM1592 602h328
v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275z" />
    <glyph glyph-name="_395" unicode="&#xf1a5;"
d="M1472 160v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480h704v-704h480q93 0 158.5 65.5t65.5 158.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5
t84.5 -203.5z" />
    <glyph glyph-name="_396" unicode="&#xf1a6;" horiz-adv-x="2048"
d="M328 1254h204v-983h-532v697h328v286zM328 435v369h-123v-369h123zM614 968v-697h205v697h-205zM614 1254v-204h205v204h-205zM901 968h533v-942h-533v163h328v82h-328v697zM1229 435v369h-123v-369h123zM1516 968h532v-942h-532v163h327v82h-327v697zM1843 435v369h-123
v-369h123z" />
    <glyph glyph-name="_397" unicode="&#xf1a7;"
d="M1046 516q0 -64 -38 -109t-91 -45q-43 0 -70 15v277q28 17 70 17q53 0 91 -45.5t38 -109.5zM703 944q0 -64 -38 -109.5t-91 -45.5q-43 0 -70 15v277q28 17 70 17q53 0 91 -45t38 -109zM1265 513q0 134 -88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101
v-636l211 41v206q51 -19 117 -19q125 0 213 95t88 229zM922 940q0 134 -88.5 229t-213.5 95q-74 0 -141 -36h-186v-840l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960
q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_398" unicode="&#xf1a8;" horiz-adv-x="2038"
d="M1222 607q75 3 143.5 -20.5t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14
q6 -5 28 -23.5t25.5 -22t19 -18t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24
q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33
q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5
t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5zM1282 842q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43
q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5
t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM822 568l48 12l109 -177l-73 -48zM1323 51q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13
t-54 -9.5t-53.5 -7.5t-32 -4.5l-7 43q21 2 60.5 8.5t72 10t60.5 3.5h14zM866 679l-96 -20l-6 17q10 1 32.5 7t34.5 6q19 0 35 -10zM1061 45h31l10 -83l-41 -12v95zM1950 1535v1v-1zM1950 1535l-1 -5l-2 -2l1 3zM1950 1535l1 1z" />
    <glyph glyph-name="_399" unicode="&#xf1a9;"
d="M1167 -50q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16t7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29zM1128 65q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10
q-29 -12 -78 -56q-26 -24 -12 -44q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34zM1483 346q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14
q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14
t55.5 63q28 41 42.5 101t14.5 106zM1536 506q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44
q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5t19.5 -177.5z" />
    <glyph glyph-name="_400" unicode="&#xf1aa;"
d="M1070 463l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5t-60 145.5q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160z
M729 1145l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5q-70 15 -115 71t-45 129q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5
t149.5 -87.5zM1536 78q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30l-152 152l-160 160l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5
q76 -11 126.5 -68.5t50.5 -134.5zM1534 1202q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152l-160 -160l-152 152l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126
t135.5 51q85 0 145 -60.5t60 -145.5z" />
    <glyph glyph-name="f1ab" unicode="&#xf1ab;"
d="M654 458q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110q-4 -2 -19.5 -4t-18.5 0q6 4 82 92q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5
q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28
q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5zM449 944q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17zM1147 815l63 -227l-139 42zM39 15l694 232v1032l-694 -233v-1031z
M1280 332l102 -31l-181 657l-100 31l-216 -536l102 -31l45 110l211 -65zM777 1294l573 -184v380zM1088 -29l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11
q73 -37 159.5 -61.5t157.5 -24.5q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5zM1536 1050v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3v1078q3 9 4 10q5 6 20 11q107 36 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5
q20 0 20 -21v-418z" />
    <glyph glyph-name="_402" unicode="&#xf1ac;" horiz-adv-x="1792"
d="M288 1152q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h128zM1664 989q58 -34 93 -93t35 -128v-768q0 -106 -75 -181t-181 -75h-864q-66 0 -113 47t-47 113v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48
l152 -152q28 -28 48 -76t20 -88v-163zM928 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 512v128q0 14 -9 23
t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128
q14 0 23 9t9 23zM1184 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 256v128q0 14 -9 23t-23 9h-128
q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1536 896v256h-160q-40 0 -68 28t-28 68v160h-640v-512h896z" />
    <glyph glyph-name="_403" unicode="&#xf1ad;"
d="M1344 1536q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280zM512 1248v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 992v-64q0 -14 9 -23t23 -9h64q14 0 23 9
t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 736v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 480v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 160v64
q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64
q14 0 23 9t9 23zM384 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 -96v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9
t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM896 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 928v64
q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 160v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64
q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9
t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23z" />
    <glyph glyph-name="_404" unicode="&#xf1ae;" horiz-adv-x="1280"
d="M1188 988l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68t28 68q29 28 68.5 28t67.5 -28l228 -228h368l228 228q28 28 68 28t68 -28q28 -29 28 -68.5t-28 -67.5zM864 1152
q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
    <glyph glyph-name="uniF1B1" unicode="&#xf1b0;" horiz-adv-x="1664"
d="M780 1064q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5zM438 581q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152q0 80 42 139.5t119 59.5
q76 0 141.5 -55.5t100.5 -134t35 -152.5zM832 608q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146q0 86 56 191.5t139.5 192.5t187.5 146t193 59zM1071 819
q-61 0 -105 39t-63 92.5t-19 113.5q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5zM1503 923q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5q-77 0 -119 59t-42 139q0 74 35 152.5
t100.5 134t141.5 55.5z" />
    <glyph glyph-name="_406" unicode="&#xf1b1;" horiz-adv-x="768"
d="M704 1008q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5z" />
    <glyph glyph-name="_407" unicode="&#xf1b2;" horiz-adv-x="1792"
d="M896 -93l640 349v636l-640 -233v-752zM832 772l698 254l-698 254l-698 -254zM1664 1024v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73z
" />
    <glyph glyph-name="_408" unicode="&#xf1b3;" horiz-adv-x="2304"
d="M640 -96l384 192v314l-384 -164v-342zM576 358l404 173l-404 173l-404 -173zM1664 -96l384 192v314l-384 -164v-342zM1600 358l404 173l-404 173l-404 -173zM1152 651l384 165v266l-384 -164v-267zM1088 1030l441 189l-441 189l-441 -189zM2176 512v-416q0 -36 -19 -67
t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-4 2 -7 4q-2 -2 -7 -4l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70
v-400l434 -186q36 -16 57 -48t21 -70z" />
    <glyph glyph-name="_409" unicode="&#xf1b4;" horiz-adv-x="2048"
d="M1848 1197h-511v-124h511v124zM1596 771q-90 0 -146 -52.5t-62 -142.5h408q-18 195 -200 195zM1612 186q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658
q0 -111 57.5 -171.5t166.5 -60.5zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5t45.5 113.5q0 144 -190 144h-260v-294zM0 1282h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204
q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611v1260z" />
    <glyph glyph-name="_410" unicode="&#xf1b5;"
d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM499 1041h-371v-787h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5
t-56.5 60.5t-79 29.5t-97 8.5zM477 723h-176v184h163q119 0 119 -90q0 -94 -106 -94zM486 388h-185v217h189q124 0 124 -113q0 -104 -128 -104zM1136 356q-68 0 -104 38t-36 107h411q1 10 1 30q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216q0 -135 79 -217
t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20zM1126 722q113 0 124 -122h-254q4 56 39 89t91 33zM964 988h319v-77h-319v77z" />
    <glyph glyph-name="_411" unicode="&#xf1b6;" horiz-adv-x="1792"
d="M1582 954q0 -101 -71.5 -172.5t-172.5 -71.5t-172.5 71.5t-71.5 172.5t71.5 172.5t172.5 71.5t172.5 -71.5t71.5 -172.5zM812 212q0 104 -73 177t-177 73q-27 0 -54 -6l104 -42q77 -31 109.5 -106.5t1.5 -151.5q-31 -77 -107 -109t-152 -1q-21 8 -62 24.5t-61 24.5
q32 -60 91 -96.5t130 -36.5q104 0 177 73t73 177zM1642 953q0 126 -89.5 215.5t-215.5 89.5q-127 0 -216.5 -89.5t-89.5 -215.5q0 -127 89.5 -216t216.5 -89q126 0 215.5 89t89.5 216zM1792 953q0 -189 -133.5 -322t-321.5 -133l-437 -319q-12 -129 -109 -218t-229 -89
q-121 0 -214 76t-118 192l-230 92v429l389 -157q79 48 173 48q13 0 35 -2l284 407q2 187 135.5 319t320.5 132q188 0 321.5 -133.5t133.5 -321.5z" />
    <glyph glyph-name="_412" unicode="&#xf1b7;"
d="M1242 889q0 80 -57 136.5t-137 56.5t-136.5 -57t-56.5 -136q0 -80 56.5 -136.5t136.5 -56.5t137 56.5t57 136.5zM632 301q0 -83 -58 -140.5t-140 -57.5q-56 0 -103 29t-72 77q52 -20 98 -40q60 -24 120 1.5t85 86.5q24 60 -1.5 120t-86.5 84l-82 33q22 5 42 5
q82 0 140 -57.5t58 -140.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v153l172 -69q20 -92 93.5 -152t168.5 -60q104 0 181 70t87 173l345 252q150 0 255.5 105.5t105.5 254.5q0 150 -105.5 255.5t-255.5 105.5
q-148 0 -253 -104.5t-107 -252.5l-225 -322q-9 1 -28 1q-75 0 -137 -37l-297 119v468q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5zM1289 887q0 -100 -71 -170.5t-171 -70.5t-170.5 70.5t-70.5 170.5t70.5 171t170.5 71q101 0 171.5 -70.5t70.5 -171.5z
" />
    <glyph glyph-name="_413" unicode="&#xf1b8;" horiz-adv-x="1792"
d="M836 367l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5q-11 27 -14.5 55t4 65t12 55t21.5 64t19 53q78 -12 509 -28zM449 953l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188
l-140 86zM1680 436l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164l-230 367l211 362l7 -173q170 -16 283 -5t170 33zM895 1360q-47 -63 -265 -435l-317 187l-19 12l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5
t36 -39.5t32 -35zM1550 1053l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436l313 195zM1407 1279l142 83l-220 -373l-419 20l151 86q-34 89 -75 166t-75.5 123.5t-64.5 80t-47 46.5l-17 13l405 -1
q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190z" />
    <glyph glyph-name="_414" unicode="&#xf1b9;" horiz-adv-x="2048"
d="M480 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM516 768h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5zM1888 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM2048 544v-384
q0 -14 -9 -23t-23 -9h-96v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-1024v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h768q98 0 179 -63.5t104 -157.5
l105 -419h28q93 0 158.5 -65.5t65.5 -158.5z" />
    <glyph glyph-name="_415" unicode="&#xf1ba;" horiz-adv-x="2048"
d="M1824 640q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-96v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-1024v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5
t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h128q98 0 179 -63.5t104 -157.5l105 -419h28zM320 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM516 640h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5z
M1728 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47z" />
    <glyph glyph-name="_416" unicode="&#xf1bb;"
d="M1504 64q0 -26 -19 -45t-45 -19h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45t19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384
q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45z" />
    <glyph glyph-name="_417" unicode="&#xf1bc;"
d="M1127 326q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5zM1223 541q0 40 -35 61q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64
q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5zM1331 789q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37
q159 0 309.5 -34t253.5 -95q21 -12 40 -12q29 0 50.5 20.5t21.5 51.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_418" unicode="&#xf1bd;" horiz-adv-x="1024"
d="M1024 1233l-303 -582l24 -31h279v-415h-507l-44 -30l-142 -273l-30 -30h-301v303l303 583l-24 30h-279v415h507l44 30l142 273l30 30h301v-303z" />
    <glyph glyph-name="_419" unicode="&#xf1be;" horiz-adv-x="2304"
d="M784 164l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17l-14 -523l14 -241q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23zM1080 193l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6l-10 -579q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11
q11 0 20 9q9 7 9 20zM35 533l20 -128l-20 -126q-2 -9 -9 -9t-9 9l-17 126l17 128q2 9 9 9t9 -9zM121 612l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10l-23 202l23 207q0 9 9 9q8 0 10 -9zM401 159zM213 650l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11l-21 237l21 245
q2 12 12 12q11 0 11 -12zM307 657l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13l-21 244l21 252q0 13 13 13q12 0 14 -13zM401 639l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5l-20 246l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15zM784 164zM495 785
l21 -380l-21 -246q0 -7 -5 -12.5t-12 -5.5q-16 0 -18 18l-18 246l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5zM589 871l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19l-16 244l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5zM687 911l18 -506l-18 -242
q-2 -21 -22 -21q-19 0 -21 21l-16 242l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5zM1079 169v0v0v0zM881 915l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18l-14 239l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18zM980 896l14 -492l-14 -236
q0 -11 -8 -19t-19 -8t-19 8t-9 19l-12 236l12 492q1 12 9 20t19 8t18.5 -8t8.5 -20zM1192 404l-14 -231v0q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114l-6 117l12 636v3q2 15 12 24q9 7 20 7q8 0 15 -5q14 -8 16 -26zM2304 423q0 -117 -83 -199.5t-200 -82.5h-786
q-13 2 -22 11t-9 22v899q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201z" />
    <glyph glyph-name="uniF1C0" unicode="&#xf1c0;"
d="M768 768q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 0q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127
t443 -43zM768 384q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 1536q208 0 385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5
t-103 128v128q0 69 103 128t280 93.5t385 34.5z" />
    <glyph glyph-name="uniF1C1" unicode="&#xf1c1;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M894 465q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4q52 85 107 197
q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM716 974q-15 -42 -2 -132q1 7 7 44q0 3 7 43q1 4 4 8
q-1 1 -1 2q-1 2 -1 3q-1 22 -13 36q0 -1 -1 -2v-2zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83zM1238 329q-24 24 -140 24q76 -28 124 -28q14 0 18 1q0 1 -2 3z" />
    <glyph glyph-name="_422" unicode="&#xf1c2;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M233 768v-107h70l164 -661h159l128 485q7 20 10 46q2 16 2 24h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4q0 3 -0.5 6.5t-1.5 8t-1 6.5q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5
t-3.5 -21.5l-4 -21h-4l-2 21q-2 26 -7 46l-99 438h90v107h-300z" />
    <glyph glyph-name="_423" unicode="&#xf1c3;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M429 106v-106h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107
h-290v-107h68l189 -272l-194 -283h-68z" />
    <glyph glyph-name="_424" unicode="&#xf1c4;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M416 106v-106h327v106h-93v167h137q76 0 118 15q67 23 106.5 87t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92zM769 386h-119v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15z" />
    <glyph glyph-name="_425" unicode="&#xf1c5;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M1280 320v-320h-1024v192l192 192l128 -128l384 384zM448 512q-80 0 -136 56t-56 136t56 136t136 56t136 -56t56 -136t-56 -136t-136 -56z" />
    <glyph glyph-name="_426" unicode="&#xf1c6;"
d="M640 1152v128h-128v-128h128zM768 1024v128h-128v-128h128zM640 896v128h-128v-128h128zM768 768v128h-128v-128h128zM1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400
v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536h1280zM781 593l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5q0 25 8 52q21 63 120 396v128h128v-128h79
q22 0 39 -13t23 -34zM640 128q53 0 90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45t37.5 -45t90.5 -19z" />
    <glyph glyph-name="_427" unicode="&#xf1c7;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M620 686q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h131l166 167q16 15 35 7zM1037 -3q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5
q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5t23.5 -42.5q18 -15 40 -15zM826 145q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5t20 -44.5q20 -17 44 -17z" />
    <glyph glyph-name="_428" unicode="&#xf1c8;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M768 768q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h384zM1260 766q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9l-265 266v90l265 266q9 9 23 9q4 0 12 -2z" />
    <glyph glyph-name="_429" unicode="&#xf1c9;"
d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z
M480 768q8 11 21 12.5t24 -6.5l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5l-226 301q-14 19 0 38zM1282 467q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21t6.5 24l182 243
l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5zM662 6q-13 2 -20.5 13t-5.5 24l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5z" />
    <glyph glyph-name="_430" unicode="&#xf1ca;"
d="M1497 709v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406
q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14z" />
    <glyph glyph-name="_431" unicode="&#xf1cb;" horiz-adv-x="1792"
d="M216 367l603 -402v359l-334 223zM154 511l193 129l-193 129v-258zM973 -35l603 402l-269 180l-334 -223v-359zM896 458l272 182l-272 182l-272 -182zM485 733l334 223v359l-603 -402zM1445 640l193 -129v258zM1307 733l269 180l-603 402v-359zM1792 913v-546
q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64z" />
    <glyph glyph-name="_432" unicode="&#xf1cc;" horiz-adv-x="2048"
d="M1800 764q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94
q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55
t121.5 -21q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97l93 -108q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5t-85 -189.5z" />
    <glyph glyph-name="_433" unicode="&#xf1cd;" horiz-adv-x="1792"
d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 1408q-190 0 -361 -90l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90zM218 279l194 194
q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361t90 -361zM896 -128q190 0 361 90l-194 194q-82 -28 -167 -28t-167 28l-194 -194q171 -90 361 -90zM896 256q159 0 271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5
t271.5 -112.5zM1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" />
    <glyph glyph-name="_434" unicode="&#xf1ce;" horiz-adv-x="1792"
d="M1760 640q0 -176 -68.5 -336t-184 -275.5t-275.5 -184t-336 -68.5t-336 68.5t-275.5 184t-184 275.5t-68.5 336q0 213 97 398.5t265 305.5t374 151v-228q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5
t136.5 204t51 248.5q0 230 -145.5 406t-366.5 221v228q206 -31 374 -151t265 -305.5t97 -398.5z" />
    <glyph glyph-name="uniF1D0" unicode="&#xf1d0;" horiz-adv-x="1792"
d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41
t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170
t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136
q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" />
    <glyph glyph-name="uniF1D1" unicode="&#xf1d1;" horiz-adv-x="1792"
d="M874 -102v-66q-208 6 -385 109.5t-283 275.5l58 34q29 -49 73 -99l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13zM276 428l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385t98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212zM1528 251
l58 -34q-106 -172 -283 -275.5t-385 -109.5v66q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99zM1377 805l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162
q-67 77 -98 169l232 80q-14 42 -14 85t14 85l-233 80q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169zM874 1448v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98l-57 33
q106 172 282 275.5t385 109.5zM1705 640q0 -205 -98 -385l-57 33q27 52 49 112l-83 28q36 103 36 212q0 112 -35 212l82 28q-19 56 -49 112l57 33q98 -180 98 -385zM1585 1063l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13v66q209 -6 385 -109.5
t282 -275.5zM1748 640q0 173 -67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331t67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71
t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF1D2" unicode="&#xf1d2;"
d="M582 228q0 -66 -93 -66q-107 0 -107 63q0 64 98 64q102 0 102 -61zM546 694q0 -85 -74 -85q-77 0 -77 84q0 90 77 90q36 0 55 -25.5t19 -63.5zM712 769v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85
q0 -53 41 -77v-3q-113 -37 -113 -139q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392
q0 -50 -3 -75zM1280 366v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24zM924 1072
q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_438" unicode="&#xf1d3;" horiz-adv-x="1792"
d="M595 22q0 100 -165 100q-158 0 -158 -104q0 -101 172 -101q151 0 151 105zM536 777q0 61 -30 102t-89 41q-124 0 -124 -145q0 -135 124 -135q119 0 119 137zM805 1101v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58
q0 -31 22.5 -51.5t58 -32t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47
q98 0 218 47zM1123 220h-222q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134zM1724 442v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6v190h96v76q0 54 -6 89h227q-6 -41 -6 -165h171
v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33zM1148 1389q0 -58 -39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5z" />
    <glyph glyph-name="_439" unicode="&#xf1d4;"
d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="uniF1D5" unicode="&#xf1d5;" horiz-adv-x="1280"
d="M842 964q0 -80 -57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5t29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5
t136.5 -56.5t56.5 -136.5zM1223 953q0 -158 -78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153t-153 102t-186 38t-186 -38t-153 -102t-102 -153
t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5z" />
    <glyph glyph-name="uniF1D6" unicode="&#xf1d6;" horiz-adv-x="1792"
d="M270 730q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5t3.5 -5t2 -3.5
q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9t-98 20
t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20q-18 -41 -54.5 -74.5
t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100q0 275 252 466z" />
    <glyph glyph-name="uniF1D7" unicode="&#xf1d7;" horiz-adv-x="2048"
d="M580 1075q0 41 -25 66t-66 25q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5zM1323 568q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51zM1087 1075q0 41 -24.5 66t-65.5 25
q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5zM1722 568q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51zM1456 965q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5
q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109
q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z" />
    <glyph glyph-name="_443" unicode="&#xf1d8;" horiz-adv-x="1792"
d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11z" />
    <glyph glyph-name="_444" unicode="&#xf1d9;" horiz-adv-x="1792"
d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55q-3 39 32 59l1664 960q35 21 68 -2zM1422 26l221 1323l-1434 -827l336 -137
l863 639l-478 -797z" />
    <glyph glyph-name="_445" unicode="&#xf1da;"
d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5
t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23
t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z" />
    <glyph glyph-name="_446" unicode="&#xf1db;"
d="M768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103
t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_447" unicode="&#xf1dc;" horiz-adv-x="1792"
d="M1682 -128q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5t45 -15
t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18q-15 10 -45 12t-53 2
t-41 14t-18 45q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160
q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5
q0 -26 -12 -48t-36 -22z" />
    <glyph glyph-name="_448" unicode="&#xf1dd;" horiz-adv-x="1280"
d="M1278 1347v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179
q-64 117 -64 259q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43z" />
    <glyph glyph-name="_449" unicode="&#xf1de;"
d="M352 128v-128h-352v128h352zM704 256q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM864 640v-128h-864v128h864zM224 1152v-128h-224v128h224zM1536 128v-128h-736v128h736zM576 1280q26 0 45 -19t19 -45v-256
q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1216 768q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1536 640v-128h-224v128h224zM1536 1152v-128h-864v128h864z" />
    <glyph glyph-name="uniF1E0" unicode="&#xf1e0;"
d="M1216 512q133 0 226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5t93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5
t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86z" />
    <glyph glyph-name="_451" unicode="&#xf1e1;"
d="M1280 341q0 88 -62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5t62.5 -150.5
t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5t150.5 62.5t62.5 150.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_452" unicode="&#xf1e2;" horiz-adv-x="1792"
d="M571 947q-10 25 -34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49t35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49zM1513 1303l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5
t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68zM1521 1359q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23t9 23q10 9 23 9t23 -9l90 -91
q10 -9 10 -22.5t-10 -22.5zM1751 1129q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5t10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23zM1792 1312q0 -14 -9 -23t-23 -9h-96q-14 0 -23 9t-9 23t9 23t23 9h96q14 0 23 -9t9 -23zM1600 1504v-96q0 -14 -9 -23t-23 -9
t-23 9t-9 23v96q0 14 9 23t23 9t23 -9t9 -23zM1751 1449l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5t10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
    <glyph glyph-name="_453" unicode="&#xf1e3;" horiz-adv-x="1792"
d="M609 720l287 208l287 -208l-109 -336h-355zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM1515 186q149 203 149 454v3l-102 -89l-240 224l63 323
l134 -12q-150 206 -389 282l53 -124l-287 -159l-287 159l53 124q-239 -76 -389 -282l135 12l62 -323l-240 -224l-102 89v-3q0 -251 149 -454l30 132l326 -40l139 -298l-116 -69q117 -39 240 -39t240 39l-116 69l139 298l326 40z" />
    <glyph glyph-name="_454" unicode="&#xf1e4;" horiz-adv-x="1792"
d="M448 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM256 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM832 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23
v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM66 768q-28 0 -47 19t-19 46v129h514v-129q0 -27 -19 -46t-46 -19h-383zM1216 224v-192q0 -14 -9 -23t-23 -9h-192
q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1600 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23
zM1408 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1016v-13h-514v10q0 104 -382 102q-382 -1 -382 -102v-10h-514v13q0 17 8.5 43t34 64t65.5 75.5t110.5 76t160 67.5t224 47.5t293.5 18.5t293 -18.5t224 -47.5
t160.5 -67.5t110.5 -76t65.5 -75.5t34 -64t8.5 -43zM1792 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 962v-129q0 -27 -19 -46t-46 -19h-384q-27 0 -46 19t-19 46v129h514z" />
    <glyph glyph-name="_455" unicode="&#xf1e5;" horiz-adv-x="1792"
d="M704 1216v-768q0 -26 -19 -45t-45 -19v-576q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v512l249 873q7 23 31 23h424zM1024 1216v-704h-256v704h256zM1792 320v-512q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v576q-26 0 -45 19t-19 45v768h424q24 0 31 -23z
M736 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23zM1408 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23z" />
    <glyph glyph-name="_456" unicode="&#xf1e6;" horiz-adv-x="1792"
d="M1755 1083q37 -38 37 -90.5t-37 -90.5l-401 -400l150 -150l-160 -160q-163 -163 -389.5 -186.5t-411.5 100.5l-362 -362h-181v181l362 362q-124 185 -100.5 411.5t186.5 389.5l160 160l150 -150l400 401q38 37 91 37t90 -37t37 -90.5t-37 -90.5l-400 -401l234 -234
l401 400q38 37 91 37t90 -37z" />
    <glyph glyph-name="_457" unicode="&#xf1e7;" horiz-adv-x="1792"
d="M873 796q0 -83 -63.5 -142.5t-152.5 -59.5t-152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59t152.5 -59t63.5 -143zM1375 796q0 -83 -63 -142.5t-153 -59.5q-89 0 -152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59q90 0 153 -59t63 -143zM1600 616v667q0 87 -32 123.5
t-111 36.5h-1112q-83 0 -112.5 -34t-29.5 -126v-673q43 -23 88.5 -40t81 -28t81 -18.5t71 -11t70 -4t58.5 -0.5t56.5 2t44.5 2q68 1 95 -27q6 -6 10 -9q26 -25 61 -51q7 91 118 87q5 0 36.5 -1.5t43 -2t45.5 -1t53 1t54.5 4.5t61 8.5t62 13.5t67 19.5t67.5 27t72 34.5z
M1763 621q-121 -149 -372 -252q84 -285 -23 -465q-66 -113 -183 -148q-104 -32 -182 15q-86 51 -82 164l-1 326v1q-8 2 -24.5 6t-23.5 5l-1 -338q4 -114 -83 -164q-79 -47 -183 -15q-117 36 -182 150q-105 180 -22 463q-251 103 -372 252q-25 37 -4 63t60 -1q4 -2 11.5 -7
t10.5 -8v694q0 72 47 123t114 51h1257q67 0 114 -51t47 -123v-694l21 15q39 27 60 1t-4 -63z" />
    <glyph glyph-name="_458" unicode="&#xf1e8;" horiz-adv-x="1792"
d="M896 1102v-434h-145v434h145zM1294 1102v-434h-145v434h145zM1294 342l253 254v795h-1194v-1049h326v-217l217 217h398zM1692 1536v-1013l-434 -434h-326l-217 -217h-217v217h-398v1158l109 289h1483z" />
    <glyph glyph-name="_459" unicode="&#xf1e9;"
d="M773 217v-127q-1 -292 -6 -305q-12 -32 -51 -40q-54 -9 -181.5 38t-162.5 89q-13 15 -17 36q-1 12 4 26q4 10 34 47t181 216q1 0 60 70q15 19 39.5 24.5t49.5 -3.5q24 -10 37.5 -29t12.5 -42zM624 468q-3 -55 -52 -70l-120 -39q-275 -88 -292 -88q-35 2 -54 36
q-12 25 -17 75q-8 76 1 166.5t30 124.5t56 32q13 0 202 -77q71 -29 115 -47l84 -34q23 -9 35.5 -30.5t11.5 -48.5zM1450 171q-7 -54 -91.5 -161t-135.5 -127q-37 -14 -63 7q-14 10 -184 287l-47 77q-14 21 -11.5 46t19.5 46q35 43 83 26q1 -1 119 -40q203 -66 242 -79.5
t47 -20.5q28 -22 22 -61zM778 803q5 -102 -54 -122q-58 -17 -114 71l-378 598q-8 35 19 62q41 43 207.5 89.5t224.5 31.5q40 -10 49 -45q3 -18 22 -305.5t24 -379.5zM1440 695q3 -39 -26 -59q-15 -10 -329 -86q-67 -15 -91 -23l1 2q-23 -6 -46 4t-37 32q-30 47 0 87
q1 1 75 102q125 171 150 204t34 39q28 19 65 2q48 -23 123 -133.5t81 -167.5v-3z" />
    <glyph glyph-name="_460" unicode="&#xf1ea;" horiz-adv-x="2048"
d="M1024 1024h-384v-384h384v384zM1152 384v-128h-640v128h640zM1152 1152v-640h-640v640h640zM1792 384v-128h-512v128h512zM1792 640v-128h-512v128h512zM1792 896v-128h-512v128h512zM1792 1152v-128h-512v128h512zM256 192v960h-128v-960q0 -26 19 -45t45 -19t45 19
t19 45zM1920 192v1088h-1536v-1088q0 -33 -11 -64h1483q26 0 45 19t19 45zM2048 1408v-1216q0 -80 -56 -136t-136 -56h-1664q-80 0 -136 56t-56 136v1088h256v128h1792z" />
    <glyph glyph-name="_461" unicode="&#xf1eb;" horiz-adv-x="2048"
d="M1024 13q-20 0 -93 73.5t-73 93.5q0 32 62.5 54t103.5 22t103.5 -22t62.5 -54q0 -20 -73 -93.5t-93 -73.5zM1294 284q-2 0 -40 25t-101.5 50t-128.5 25t-128.5 -25t-101 -50t-40.5 -25q-18 0 -93.5 75t-75.5 93q0 13 10 23q78 77 196 121t233 44t233 -44t196 -121
q10 -10 10 -23q0 -18 -75.5 -93t-93.5 -75zM1567 556q-11 0 -23 8q-136 105 -252 154.5t-268 49.5q-85 0 -170.5 -22t-149 -53t-113.5 -62t-79 -53t-31 -22q-17 0 -92 75t-75 93q0 12 10 22q132 132 320 205t380 73t380 -73t320 -205q10 -10 10 -22q0 -18 -75 -93t-92 -75z
M1838 827q-11 0 -22 9q-179 157 -371.5 236.5t-420.5 79.5t-420.5 -79.5t-371.5 -236.5q-11 -9 -22 -9q-17 0 -92.5 75t-75.5 93q0 13 10 23q187 186 445 288t527 102t527 -102t445 -288q10 -10 10 -23q0 -18 -75.5 -93t-92.5 -75z" />
    <glyph glyph-name="_462" unicode="&#xf1ec;" horiz-adv-x="1792"
d="M384 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5
t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5
t37.5 90.5zM384 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 768q0 53 -37.5 90.5t-90.5 37.5
t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1536 0v384q0 52 -38 90t-90 38t-90 -38t-38 -90v-384q0 -52 38 -90t90 -38t90 38t38 90zM1152 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z
M1536 1088v256q0 26 -19 45t-45 19h-1280q-26 0 -45 -19t-19 -45v-256q0 -26 19 -45t45 -19h1280q26 0 45 19t19 45zM1536 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1408v-1536q0 -52 -38 -90t-90 -38
h-1408q-52 0 -90 38t-38 90v1536q0 52 38 90t90 38h1408q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_463" unicode="&#xf1ed;"
d="M1519 890q18 -84 -4 -204q-87 -444 -565 -444h-44q-25 0 -44 -16.5t-24 -42.5l-4 -19l-55 -346l-2 -15q-5 -26 -24.5 -42.5t-44.5 -16.5h-251q-21 0 -33 15t-9 36q9 56 26.5 168t26.5 168t27 167.5t27 167.5q5 37 43 37h131q133 -2 236 21q175 39 287 144q102 95 155 246
q24 70 35 133q1 6 2.5 7.5t3.5 1t6 -3.5q79 -59 98 -162zM1347 1172q0 -107 -46 -236q-80 -233 -302 -315q-113 -40 -252 -42q0 -1 -90 -1l-90 1q-100 0 -118 -96q-2 -8 -85 -530q-1 -10 -12 -10h-295q-22 0 -36.5 16.5t-11.5 38.5l232 1471q5 29 27.5 48t51.5 19h598
q34 0 97.5 -13t111.5 -32q107 -41 163.5 -123t56.5 -196z" />
    <glyph glyph-name="_464" unicode="&#xf1ee;" horiz-adv-x="1792"
d="M441 864q33 0 52 -26q266 -364 362 -774h-446q-127 441 -367 749q-12 16 -3 33.5t29 17.5h373zM1000 507q-49 -199 -125 -393q-79 310 -256 594q40 221 44 449q211 -340 337 -650zM1099 1216q235 -324 384.5 -698.5t184.5 -773.5h-451q-41 665 -553 1472h435zM1792 640
q0 -424 -101 -812q-67 560 -359 1083q-25 301 -106 584q-4 16 5.5 28.5t25.5 12.5h359q21 0 38.5 -13t22.5 -33q115 -409 115 -850z" />
    <glyph glyph-name="uniF1F0" unicode="&#xf1f0;" horiz-adv-x="2304"
d="M1975 546h-138q14 37 66 179l3 9q4 10 10 26t9 26l12 -55zM531 611l-58 295q-11 54 -75 54h-268l-2 -13q311 -79 403 -336zM710 960l-162 -438l-17 89q-26 70 -85 129.5t-131 88.5l135 -510h175l261 641h-176zM849 318h166l104 642h-166zM1617 944q-69 27 -149 27
q-123 0 -201 -59t-79 -153q-1 -102 145 -174q48 -23 67 -41t19 -39q0 -30 -30 -46t-69 -16q-86 0 -156 33l-22 11l-23 -144q74 -34 185 -34q130 -1 208.5 59t80.5 160q0 106 -140 174q-49 25 -71 42t-22 38q0 22 24.5 38.5t70.5 16.5q70 1 124 -24l15 -8zM2042 960h-128
q-65 0 -87 -54l-246 -588h174l35 96h212q5 -22 20 -96h154zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_466" unicode="&#xf1f1;" horiz-adv-x="2304"
d="M1119 1195q-128 85 -281 85q-103 0 -197.5 -40.5t-162.5 -108.5t-108.5 -162t-40.5 -197q0 -104 40.5 -198t108.5 -162t162 -108.5t198 -40.5q153 0 281 85q-131 107 -178 265.5t0.5 316.5t177.5 265zM1152 1171q-126 -99 -172 -249.5t-0.5 -300.5t172.5 -249
q127 99 172.5 249t-0.5 300.5t-172 249.5zM1185 1195q130 -107 177.5 -265.5t0.5 -317t-178 -264.5q128 -85 281 -85q104 0 198 40.5t162 108.5t108.5 162t40.5 198q0 103 -40.5 197t-108.5 162t-162.5 108.5t-197.5 40.5q-153 0 -281 -85zM1926 473h7v3h-17v-3h7v-17h3v17z
M1955 456h4v20h-5l-6 -13l-6 13h-5v-20h3v15l6 -13h4l5 13v-15zM1947 16v-2h-2h-3v3h3h2v-1zM1947 7h3l-4 5h2l1 1q1 1 1 3t-1 3l-1 1h-3h-6v-13h3v5h1zM685 75q0 19 11 31t30 12q18 0 29 -12.5t11 -30.5q0 -19 -11 -31t-29 -12q-19 0 -30 12t-11 31zM1158 119q30 0 35 -32
h-70q5 32 35 32zM1514 75q0 19 11 31t29 12t29.5 -12.5t11.5 -30.5q0 -19 -11 -31t-30 -12q-18 0 -29 12t-11 31zM1786 75q0 18 11.5 30.5t29.5 12.5t29.5 -12.5t11.5 -30.5q0 -19 -11.5 -31t-29.5 -12t-29.5 12.5t-11.5 30.5zM1944 3q-2 0 -4 1q-1 0 -3 2t-2 3q-1 2 -1 4
q0 3 1 4q0 2 2 4l1 1q2 0 2 1q2 1 4 1q3 0 4 -1l4 -2l2 -4v-1q1 -2 1 -3l-1 -1v-3t-1 -1l-1 -2q-2 -2 -4 -2q-1 -1 -4 -1zM599 7h30v85q0 24 -14.5 38.5t-39.5 15.5q-32 0 -47 -24q-14 24 -45 24q-24 0 -39 -20v16h-30v-135h30v75q0 36 33 36q30 0 30 -36v-75h29v75
q0 36 33 36q30 0 30 -36v-75zM765 7h29v68v67h-29v-16q-17 20 -43 20q-29 0 -48 -20t-19 -51t19 -51t48 -20q28 0 43 20v-17zM943 48q0 34 -47 40l-14 2q-23 4 -23 14q0 15 25 15q23 0 43 -11l12 24q-22 14 -55 14q-26 0 -41 -12t-15 -32q0 -33 47 -39l13 -2q24 -4 24 -14
q0 -17 -31 -17q-25 0 -45 14l-13 -23q25 -17 58 -17q29 0 45.5 12t16.5 32zM1073 14l-8 25q-13 -7 -26 -7q-19 0 -19 22v61h48v27h-48v41h-30v-41h-28v-27h28v-61q0 -50 47 -50q21 0 36 10zM1159 146q-29 0 -48 -20t-19 -51q0 -32 19.5 -51.5t49.5 -19.5q33 0 55 19l-14 22
q-18 -15 -39 -15q-34 0 -41 33h101v12q0 32 -18 51.5t-46 19.5zM1318 146q-23 0 -35 -20v16h-30v-135h30v76q0 35 29 35q10 0 18 -4l9 28q-9 4 -21 4zM1348 75q0 -31 19.5 -51t52.5 -20q29 0 48 16l-14 24q-18 -13 -35 -12q-18 0 -29.5 12t-11.5 31t11.5 31t29.5 12
q19 0 35 -12l14 24q-20 16 -48 16q-33 0 -52.5 -20t-19.5 -51zM1593 7h30v68v67h-30v-16q-15 20 -42 20q-29 0 -48.5 -20t-19.5 -51t19.5 -51t48.5 -20q28 0 42 20v-17zM1726 146q-23 0 -35 -20v16h-29v-135h29v76q0 35 29 35q10 0 18 -4l9 28q-8 4 -21 4zM1866 7h29v68v122
h-29v-71q-15 20 -43 20t-47.5 -20.5t-19.5 -50.5t19.5 -50.5t47.5 -20.5q29 0 43 20v-17zM1944 27l-2 -1h-3q-2 -1 -4 -3q-3 -1 -3 -4q-1 -2 -1 -6q0 -3 1 -5q0 -2 3 -4q2 -2 4 -3t5 -1q4 0 6 1q0 1 2 2l2 1q1 1 3 4q1 2 1 5q0 4 -1 6q-1 1 -3 4q0 1 -2 2l-2 1q-1 0 -3 0.5
t-3 0.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_467" unicode="&#xf1f2;" horiz-adv-x="2304"
d="M313 759q0 -51 -36 -84q-29 -26 -89 -26h-17v220h17q61 0 89 -27q36 -31 36 -83zM2089 824q0 -52 -64 -52h-19v101h20q63 0 63 -49zM380 759q0 74 -50 120.5t-129 46.5h-95v-333h95q74 0 119 38q60 51 60 128zM410 593h65v333h-65v-333zM730 694q0 40 -20.5 62t-75.5 42
q-29 10 -39.5 19t-10.5 23q0 16 13.5 26.5t34.5 10.5q29 0 53 -27l34 44q-41 37 -98 37q-44 0 -74 -27.5t-30 -67.5q0 -35 18 -55.5t64 -36.5q37 -13 45 -19q19 -12 19 -34q0 -20 -14 -33.5t-36 -13.5q-48 0 -71 44l-42 -40q44 -64 115 -64q51 0 83 30.5t32 79.5zM1008 604
v77q-37 -37 -78 -37q-49 0 -80.5 32.5t-31.5 82.5q0 48 31.5 81.5t77.5 33.5q43 0 81 -38v77q-40 20 -80 20q-74 0 -125.5 -50.5t-51.5 -123.5t51 -123.5t125 -50.5q42 0 81 19zM2240 0v527q-65 -40 -144.5 -84t-237.5 -117t-329.5 -137.5t-417.5 -134.5t-504 -118h1569
q26 0 45 19t19 45zM1389 757q0 75 -53 128t-128 53t-128 -53t-53 -128t53 -128t128 -53t128 53t53 128zM1541 584l144 342h-71l-90 -224l-89 224h-71l142 -342h35zM1714 593h184v56h-119v90h115v56h-115v74h119v57h-184v-333zM2105 593h80l-105 140q76 16 76 94q0 47 -31 73
t-87 26h-97v-333h65v133h9zM2304 1274v-1268q0 -56 -38.5 -95t-93.5 -39h-2040q-55 0 -93.5 39t-38.5 95v1268q0 56 38.5 95t93.5 39h2040q55 0 93.5 -39t38.5 -95z" />
    <glyph glyph-name="f1f3" unicode="&#xf1f3;" horiz-adv-x="2304"
d="M119 854h89l-45 108zM740 328l74 79l-70 79h-163v-49h142v-55h-142v-54h159zM898 406l99 -110v217zM1186 453q0 33 -40 33h-84v-69h83q41 0 41 36zM1475 457q0 29 -42 29h-82v-61h81q43 0 43 32zM1197 923q0 29 -42 29h-82v-60h81q43 0 43 31zM1656 854h89l-44 108z
M699 1009v-271h-66v212l-94 -212h-57l-94 212v-212h-132l-25 60h-135l-25 -60h-70l116 271h96l110 -257v257h106l85 -184l77 184h108zM1255 453q0 -20 -5.5 -35t-14 -25t-22.5 -16.5t-26 -10t-31.5 -4.5t-31.5 -1t-32.5 0.5t-29.5 0.5v-91h-126l-80 90l-83 -90h-256v271h260
l80 -89l82 89h207q109 0 109 -89zM964 794v-56h-217v271h217v-57h-152v-49h148v-55h-148v-54h152zM2304 235v-229q0 -55 -38.5 -94.5t-93.5 -39.5h-2040q-55 0 -93.5 39.5t-38.5 94.5v678h111l25 61h55l25 -61h218v46l19 -46h113l20 47v-47h541v99l10 1q10 0 10 -14v-86h279
v23q23 -12 55 -18t52.5 -6.5t63 0.5t51.5 1l25 61h56l25 -61h227v58l34 -58h182v378h-180v-44l-25 44h-185v-44l-23 44h-249q-69 0 -109 -22v22h-172v-22q-24 22 -73 22h-628l-43 -97l-43 97h-198v-44l-22 44h-169l-78 -179v391q0 55 38.5 94.5t93.5 39.5h2040
q55 0 93.5 -39.5t38.5 -94.5v-678h-120q-51 0 -81 -22v22h-177q-55 0 -78 -22v22h-316v-22q-31 22 -87 22h-209v-22q-23 22 -91 22h-234l-54 -58l-50 58h-349v-378h343l55 59l52 -59h211v89h21q59 0 90 13v-102h174v99h8q8 0 10 -2t2 -10v-87h529q57 0 88 24v-24h168
q60 0 95 17zM1546 469q0 -23 -12 -43t-34 -29q25 -9 34 -26t9 -46v-54h-65v45q0 33 -12 43.5t-46 10.5h-69v-99h-65v271h154q48 0 77 -15t29 -58zM1269 936q0 -24 -12.5 -44t-33.5 -29q26 -9 34.5 -25.5t8.5 -46.5v-53h-65q0 9 0.5 26.5t0 25t-3 18.5t-8.5 16t-17.5 8.5
t-29.5 3.5h-70v-98h-64v271l153 -1q49 0 78 -14.5t29 -57.5zM1798 327v-56h-216v271h216v-56h-151v-49h148v-55h-148v-54zM1372 1009v-271h-66v271h66zM2065 357q0 -86 -102 -86h-126v58h126q34 0 34 25q0 16 -17 21t-41.5 5t-49.5 3.5t-42 22.5t-17 55q0 39 26 60t66 21
h130v-57h-119q-36 0 -36 -25q0 -16 17.5 -20.5t42 -4t49 -2.5t42 -21.5t17.5 -54.5zM2304 407v-101q-24 -35 -88 -35h-125v58h125q33 0 33 25q0 13 -12.5 19t-31 5.5t-40 2t-40 8t-31 24t-12.5 48.5q0 39 26.5 60t66.5 21h129v-57h-118q-36 0 -36 -25q0 -20 29 -22t68.5 -5
t56.5 -26zM2139 1008v-270h-92l-122 203v-203h-132l-26 60h-134l-25 -60h-75q-129 0 -129 133q0 138 133 138h63v-59q-7 0 -28 1t-28.5 0.5t-23 -2t-21.5 -6.5t-14.5 -13.5t-11.5 -23t-3 -33.5q0 -38 13.5 -58t49.5 -20h29l92 213h97l109 -256v256h99l114 -188v188h66z" />
    <glyph glyph-name="_469" unicode="&#xf1f4;" horiz-adv-x="2304"
d="M745 630q0 -37 -25.5 -61.5t-62.5 -24.5q-29 0 -46.5 16t-17.5 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM1530 779q0 -42 -22 -57t-66 -15l-32 -1l17 107q2 11 13 11h18q22 0 35 -2t25 -12.5t12 -30.5zM1881 630q0 -36 -25.5 -61t-61.5 -25q-29 0 -47 16
t-18 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM513 801q0 59 -38.5 85.5t-100.5 26.5h-160q-19 0 -21 -19l-65 -408q-1 -6 3 -11t10 -5h76q20 0 22 19l18 110q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM822 489l41 261q1 6 -3 11t-10 5h-76
q-14 0 -17 -33q-27 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q28 0 58 12t48 32q-4 -12 -4 -21q0 -16 13 -16h69q19 0 22 19zM1269 752q0 5 -4 9.5t-9 4.5h-77q-11 0 -18 -10l-106 -156l-44 150q-5 16 -22 16h-75q-5 0 -9 -4.5t-4 -9.5q0 -2 19.5 -59
t42 -123t23.5 -70q-82 -112 -82 -120q0 -13 13 -13h77q11 0 18 10l255 368q2 2 2 7zM1649 801q0 59 -38.5 85.5t-100.5 26.5h-159q-20 0 -22 -19l-65 -408q-1 -6 3 -11t10 -5h82q12 0 16 13l18 116q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM1958 489
l41 261q1 6 -3 11t-10 5h-76q-14 0 -17 -33q-26 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q29 0 59 12t47 32q0 -1 -2 -9t-2 -12q0 -16 13 -16h69q19 0 22 19zM2176 898v1q0 14 -13 14h-74q-11 0 -13 -11l-65 -416l-1 -2q0 -5 4 -9.5t10 -4.5h66
q19 0 21 19zM392 764q-5 -35 -26 -46t-60 -11l-33 -1l17 107q2 11 13 11h19q40 0 58 -11.5t12 -48.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_470" unicode="&#xf1f5;" horiz-adv-x="2304"
d="M1597 633q0 -69 -21 -106q-19 -35 -52 -35q-23 0 -41 9v224q29 30 57 30q57 0 57 -122zM2035 669h-110q6 98 56 98q51 0 54 -98zM476 534q0 59 -33 91.5t-101 57.5q-36 13 -52 24t-16 25q0 26 38 26q58 0 124 -33l18 112q-67 32 -149 32q-77 0 -123 -38q-48 -39 -48 -109
q0 -58 32.5 -90.5t99.5 -56.5q39 -14 54.5 -25.5t15.5 -27.5q0 -31 -48 -31q-29 0 -70 12.5t-72 30.5l-18 -113q72 -41 168 -41q81 0 129 37q51 41 51 117zM771 749l19 111h-96v135l-129 -21l-18 -114l-46 -8l-17 -103h62v-219q0 -84 44 -120q38 -30 111 -30q32 0 79 11v118
q-32 -7 -44 -7q-42 0 -42 50v197h77zM1087 724v139q-15 3 -28 3q-32 0 -55.5 -16t-33.5 -46l-10 56h-131v-471h150v306q26 31 82 31q16 0 26 -2zM1124 389h150v471h-150v-471zM1746 638q0 122 -45 179q-40 52 -111 52q-64 0 -117 -56l-8 47h-132v-645l150 25v151
q36 -11 68 -11q83 0 134 56q61 65 61 202zM1278 986q0 33 -23 56t-56 23t-56 -23t-23 -56t23 -56.5t56 -23.5t56 23.5t23 56.5zM2176 629q0 113 -48 176q-50 64 -144 64q-96 0 -151.5 -66t-55.5 -180q0 -128 63 -188q55 -55 161 -55q101 0 160 40l-16 103q-57 -31 -128 -31
q-43 0 -63 19q-23 19 -28 66h248q2 14 2 52zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_471" unicode="&#xf1f6;" horiz-adv-x="2048"
d="M1558 684q61 -356 298 -556q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5zM1024 -176q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5zM2026 1424q8 -10 7.5 -23.5t-10.5 -22.5
l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5
l418 363q10 8 23.5 7t21.5 -11z" />
    <glyph glyph-name="_472" unicode="&#xf1f7;" horiz-adv-x="2048"
d="M1040 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM503 315l877 760q-42 88 -132.5 146.5t-223.5 58.5q-93 0 -169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -384 -137 -645zM1856 128
q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5l149 129h757q-166 187 -227 459l111 97q61 -356 298 -556zM1942 1520l84 -96q8 -10 7.5 -23.5t-10.5 -22.5l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161
q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5l418 363q10 8 23.5 7t21.5 -11z" />
    <glyph glyph-name="_473" unicode="&#xf1f8;" horiz-adv-x="1408"
d="M512 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM768 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1024 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704
q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167
q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
    <glyph glyph-name="_474" unicode="&#xf1f9;"
d="M1150 462v-109q0 -50 -36.5 -89t-94 -60.5t-118 -32.5t-117.5 -11q-205 0 -342.5 139t-137.5 346q0 203 136 339t339 136q34 0 75.5 -4.5t93 -18t92.5 -34t69 -56.5t28 -81v-109q0 -16 -16 -16h-118q-16 0 -16 16v70q0 43 -65.5 67.5t-137.5 24.5q-140 0 -228.5 -91.5
t-88.5 -237.5q0 -151 91.5 -249.5t233.5 -98.5q68 0 138 24t70 66v70q0 7 4.5 11.5t10.5 4.5h119q6 0 11 -4.5t5 -11.5zM768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5
t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_475" unicode="&#xf1fa;"
d="M972 761q0 108 -53.5 169t-147.5 61q-63 0 -124 -30.5t-110 -84.5t-79.5 -137t-30.5 -180q0 -112 53.5 -173t150.5 -61q96 0 176 66.5t122.5 166t42.5 203.5zM1536 640q0 -111 -37 -197t-98.5 -135t-131.5 -74.5t-145 -27.5q-6 0 -15.5 -0.5t-16.5 -0.5q-95 0 -142 53
q-28 33 -33 83q-52 -66 -131.5 -110t-173.5 -44q-161 0 -249.5 95.5t-88.5 269.5q0 157 66 290t179 210.5t246 77.5q87 0 155 -35.5t106 -99.5l2 19l11 56q1 6 5.5 12t9.5 6h118q5 0 13 -11q5 -5 3 -16l-120 -614q-5 -24 -5 -48q0 -39 12.5 -52t44.5 -13q28 1 57 5.5t73 24
t77 50t57 89.5t24 137q0 292 -174 466t-466 174q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51q228 0 405 144q11 9 24 8t21 -12l41 -49q8 -12 7 -24q-2 -13 -12 -22q-102 -83 -227.5 -128t-258.5 -45q-156 0 -298 61
t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q344 0 556 -212t212 -556z" />
    <glyph glyph-name="_476" unicode="&#xf1fb;" horiz-adv-x="1792"
d="M1698 1442q94 -94 94 -226.5t-94 -225.5l-225 -223l104 -104q10 -10 10 -23t-10 -23l-210 -210q-10 -10 -23 -10t-23 10l-105 105l-603 -603q-37 -37 -90 -37h-203l-256 -128l-64 64l128 256v203q0 53 37 90l603 603l-105 105q-10 10 -10 23t10 23l210 210q10 10 23 10
t23 -10l104 -104l223 225q93 94 225.5 94t226.5 -94zM512 64l576 576l-192 192l-576 -576v-192h192z" />
    <glyph glyph-name="f1fc" unicode="&#xf1fc;" horiz-adv-x="1792"
d="M1615 1536q70 0 122.5 -46.5t52.5 -116.5q0 -63 -45 -151q-332 -629 -465 -752q-97 -91 -218 -91q-126 0 -216.5 92.5t-90.5 219.5q0 128 92 212l638 579q59 54 130 54zM706 502q39 -76 106.5 -130t150.5 -76l1 -71q4 -213 -129.5 -347t-348.5 -134q-123 0 -218 46.5
t-152.5 127.5t-86.5 183t-29 220q7 -5 41 -30t62 -44.5t59 -36.5t46 -17q41 0 55 37q25 66 57.5 112.5t69.5 76t88 47.5t103 25.5t125 10.5z" />
    <glyph glyph-name="_478" unicode="&#xf1fd;" horiz-adv-x="1792"
d="M1792 128v-384h-1792v384q45 0 85 14t59 27.5t47 37.5q30 27 51.5 38t56.5 11q24 0 44 -7t31 -15t33 -27q29 -25 47 -38t58 -27t86 -14q45 0 85 14.5t58 27t48 37.5q21 19 32.5 27t31 15t43.5 7q35 0 56.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14t85 14t59 27.5
t47 37.5q30 27 51.5 38t56.5 11q34 0 55.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14zM1792 448v-192q-24 0 -44 7t-31 15t-33 27q-29 25 -47 38t-58 27t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-22 -19 -33 -27t-31 -15t-44 -7q-35 0 -56.5 11t-51.5 38q-29 25 -47 38
t-58 27t-86 14q-45 0 -85 -14.5t-58 -27t-48 -37.5q-21 -19 -32.5 -27t-31 -15t-43.5 -7q-35 0 -56.5 11t-51.5 38q-28 24 -47 37.5t-59 27.5t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-30 -27 -51.5 -38t-56.5 -11v192q0 80 56 136t136 56h64v448h256v-448h256v448h256v-448
h256v448h256v-448h64q80 0 136 -56t56 -136zM512 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1024 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5
q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1536 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150z" />
    <glyph glyph-name="_479" unicode="&#xf1fe;" horiz-adv-x="2048"
d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" />
    <glyph glyph-name="_480" unicode="&#xf200;" horiz-adv-x="1792"
d="M768 646l546 -546q-106 -108 -247.5 -168t-298.5 -60q-209 0 -385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103v-762zM955 640h773q0 -157 -60 -298.5t-168 -247.5zM1664 768h-768v768q209 0 385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_481" unicode="&#xf201;" horiz-adv-x="2048"
d="M2048 0v-128h-2048v1536h128v-1408h1920zM1920 1248v-435q0 -21 -19.5 -29.5t-35.5 7.5l-121 121l-633 -633q-10 -10 -23 -10t-23 10l-233 233l-416 -416l-192 192l585 585q10 10 23 10t23 -10l233 -233l464 464l-121 121q-16 16 -7.5 35.5t29.5 19.5h435q14 0 23 -9
t9 -23z" />
    <glyph glyph-name="_482" unicode="&#xf202;" horiz-adv-x="1792"
d="M1292 832q0 -6 10 -41q10 -29 25 -49.5t41 -34t44 -20t55 -16.5q325 -91 325 -332q0 -146 -105.5 -242.5t-254.5 -96.5q-59 0 -111.5 18.5t-91.5 45.5t-77 74.5t-63 87.5t-53.5 103.5t-43.5 103t-39.5 106.5t-35.5 95q-32 81 -61.5 133.5t-73.5 96.5t-104 64t-142 20
q-96 0 -183 -55.5t-138 -144.5t-51 -185q0 -160 106.5 -279.5t263.5 -119.5q177 0 258 95q56 63 83 116l84 -152q-15 -34 -44 -70l1 -1q-131 -152 -388 -152q-147 0 -269.5 79t-190.5 207.5t-68 274.5q0 105 43.5 206t116 176.5t172 121.5t204.5 46q87 0 159 -19t123.5 -50
t95 -80t72.5 -99t58.5 -117t50.5 -124.5t50 -130.5t55 -127q96 -200 233 -200q81 0 138.5 48.5t57.5 128.5q0 42 -19 72t-50.5 46t-72.5 31.5t-84.5 27t-87.5 34t-81 52t-65 82t-39 122.5q-3 16 -3 33q0 110 87.5 192t198.5 78q78 -3 120.5 -14.5t90.5 -53.5h-1
q12 -11 23 -24.5t26 -36t19 -27.5l-129 -99q-26 49 -54 70v1q-23 21 -97 21q-49 0 -84 -33t-35 -83z" />
    <glyph glyph-name="_483" unicode="&#xf203;"
d="M1432 484q0 173 -234 239q-35 10 -53 16.5t-38 25t-29 46.5q0 2 -2 8.5t-3 12t-1 7.5q0 36 24.5 59.5t60.5 23.5q54 0 71 -15h-1q20 -15 39 -51l93 71q-39 54 -49 64q-33 29 -67.5 39t-85.5 10q-80 0 -142 -57.5t-62 -137.5q0 -7 2 -23q16 -96 64.5 -140t148.5 -73
q29 -8 49 -15.5t45 -21.5t38.5 -34.5t13.5 -46.5v-5q1 -58 -40.5 -93t-100.5 -35q-97 0 -167 144q-23 47 -51.5 121.5t-48 125.5t-54 110.5t-74 95.5t-103.5 60.5t-147 24.5q-101 0 -192 -56t-144 -148t-50 -192v-1q4 -108 50.5 -199t133.5 -147.5t196 -56.5q186 0 279 110
q20 27 31 51l-60 109q-42 -80 -99 -116t-146 -36q-115 0 -191 87t-76 204q0 105 82 189t186 84q112 0 170 -53.5t104 -172.5q8 -21 25.5 -68.5t28.5 -76.5t31.5 -74.5t38.5 -74t45.5 -62.5t55.5 -53.5t66 -33t80 -13.5q107 0 183 69.5t76 174.5zM1536 1120v-960
q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_484" unicode="&#xf204;" horiz-adv-x="2048"
d="M1152 640q0 104 -40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM1920 640q0 104 -40.5 198.5
t-109.5 163.5t-163.5 109.5t-198.5 40.5h-386q119 -90 188.5 -224t69.5 -288t-69.5 -288t-188.5 -224h386q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM2048 640q0 -130 -51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5
t-136.5 204t-51 248.5t51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5z" />
    <glyph glyph-name="_485" unicode="&#xf205;" horiz-adv-x="2048"
d="M0 640q0 130 51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5t-51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5t-136.5 204t-51 248.5zM1408 128q104 0 198.5 40.5t163.5 109.5
t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5z" />
    <glyph glyph-name="_486" unicode="&#xf206;" horiz-adv-x="2304"
d="M762 384h-314q-40 0 -57.5 35t6.5 67l188 251q-65 31 -137 31q-132 0 -226 -94t-94 -226t94 -226t226 -94q115 0 203 72.5t111 183.5zM576 512h186q-18 85 -75 148zM1056 512l288 384h-480l-99 -132q105 -103 126 -252h165zM2176 448q0 132 -94 226t-226 94
q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94t226 94t94 226zM2304 448q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 97 39.5 183.5t109.5 149.5l-65 98l-353 -469
q-18 -26 -51 -26h-197q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q114 0 215 -55l137 183h-224q-26 0 -45 19t-19 45t19 45t45 19h384v-128h435l-85 128h-222q-26 0 -45 19t-19 45t19 45t45 19h256q33 0 53 -28l267 -400
q91 44 192 44q185 0 316.5 -131.5t131.5 -316.5z" />
    <glyph glyph-name="_487" unicode="&#xf207;"
d="M384 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1362 716l-72 384q-5 23 -22.5 37.5t-40.5 14.5
h-918q-23 0 -40.5 -14.5t-22.5 -37.5l-72 -384q-5 -30 14 -53t49 -23h1062q30 0 49 23t14 53zM1136 1328q0 20 -14 34t-34 14h-640q-20 0 -34 -14t-14 -34t14 -34t34 -14h640q20 0 34 14t14 34zM1536 603v-603h-128v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5
t-37.5 90.5v128h-768v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5v128h-128v603q0 112 25 223l103 454q9 78 97.5 137t230 89t312.5 30t312.5 -30t230 -89t97.5 -137l105 -454q23 -102 23 -223z" />
    <glyph glyph-name="_488" unicode="&#xf208;" horiz-adv-x="2048"
d="M1463 704q0 -35 -25 -60.5t-61 -25.5h-702q-36 0 -61 25.5t-25 60.5t25 60.5t61 25.5h702q36 0 61 -25.5t25 -60.5zM1677 704q0 86 -23 170h-982q-36 0 -61 25t-25 60q0 36 25 61t61 25h908q-88 143 -235 227t-320 84q-177 0 -327.5 -87.5t-238 -237.5t-87.5 -327
q0 -86 23 -170h982q36 0 61 -25t25 -60q0 -36 -25 -61t-61 -25h-908q88 -143 235.5 -227t320.5 -84q132 0 253 51.5t208 139t139 208t52 253.5zM2048 959q0 -35 -25 -60t-61 -25h-131q17 -85 17 -170q0 -167 -65.5 -319.5t-175.5 -263t-262.5 -176t-319.5 -65.5
q-246 0 -448.5 133t-301.5 350h-189q-36 0 -61 25t-25 61q0 35 25 60t61 25h132q-17 85 -17 170q0 167 65.5 319.5t175.5 263t262.5 176t320.5 65.5q245 0 447.5 -133t301.5 -350h188q36 0 61 -25t25 -61z" />
    <glyph glyph-name="_489" unicode="&#xf209;" horiz-adv-x="1280"
d="M953 1158l-114 -328l117 -21q165 451 165 518q0 56 -38 56q-57 0 -130 -225zM654 471l33 -88q37 42 71 67l-33 5.5t-38.5 7t-32.5 8.5zM362 1367q0 -98 159 -521q17 10 49 10q15 0 75 -5l-121 351q-75 220 -123 220q-19 0 -29 -17.5t-10 -37.5zM283 608q0 -36 51.5 -119
t117.5 -153t100 -70q14 0 25.5 13t11.5 27q0 24 -32 102q-13 32 -32 72t-47.5 89t-61.5 81t-62 32q-20 0 -45.5 -27t-25.5 -47zM125 273q0 -41 25 -104q59 -145 183.5 -227t281.5 -82q227 0 382 170q152 169 152 427q0 43 -1 67t-11.5 62t-30.5 56q-56 49 -211.5 75.5
t-270.5 26.5q-37 0 -49 -11q-12 -5 -12 -35q0 -34 21.5 -60t55.5 -40t77.5 -23.5t87.5 -11.5t85 -4t70 0h23q24 0 40 -19q15 -19 19 -55q-28 -28 -96 -54q-61 -22 -93 -46q-64 -46 -108.5 -114t-44.5 -137q0 -31 18.5 -88.5t18.5 -87.5l-3 -12q-4 -12 -4 -14
q-137 10 -146 216q-8 -2 -41 -2q2 -7 2 -21q0 -53 -40.5 -89.5t-94.5 -36.5q-82 0 -166.5 78t-84.5 159q0 34 33 67q52 -64 60 -76q77 -104 133 -104q12 0 26.5 8.5t14.5 20.5q0 34 -87.5 145t-116.5 111q-43 0 -70 -44.5t-27 -90.5zM11 264q0 101 42.5 163t136.5 88
q-28 74 -28 104q0 62 61 123t122 61q29 0 70 -15q-163 462 -163 567q0 80 41 130.5t119 50.5q131 0 325 -581q6 -17 8 -23q6 16 29 79.5t43.5 118.5t54 127.5t64.5 123t70.5 86.5t76.5 36q71 0 112 -49t41 -122q0 -108 -159 -550q61 -15 100.5 -46t58.5 -78t26 -93.5
t7 -110.5q0 -150 -47 -280t-132 -225t-211 -150t-278 -55q-111 0 -223 42q-149 57 -258 191.5t-109 286.5z" />
    <glyph glyph-name="_490" unicode="&#xf20a;" horiz-adv-x="2048"
d="M785 528h207q-14 -158 -98.5 -248.5t-214.5 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-203q-5 64 -35.5 99t-81.5 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t40 -51.5t66 -18q95 0 109 139zM1497 528h206
q-14 -158 -98 -248.5t-214 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-204q-4 64 -35 99t-81 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t39.5 -51.5t65.5 -18q49 0 76.5 38t33.5 101zM1856 647q0 207 -15.5 307
t-60.5 161q-6 8 -13.5 14t-21.5 15t-16 11q-86 63 -697 63q-625 0 -710 -63q-5 -4 -17.5 -11.5t-21 -14t-14.5 -14.5q-45 -60 -60 -159.5t-15 -308.5q0 -208 15 -307.5t60 -160.5q6 -8 15 -15t20.5 -14t17.5 -12q44 -33 239.5 -49t470.5 -16q610 0 697 65q5 4 17 11t20.5 14
t13.5 16q46 60 61 159t15 309zM2048 1408v-1536h-2048v1536h2048z" />
    <glyph glyph-name="_491" unicode="&#xf20b;"
d="M992 912v-496q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v496q0 112 -80 192t-192 80h-272v-1152q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v1344q0 14 9 23t23 9h464q135 0 249 -66.5t180.5 -180.5t66.5 -249zM1376 1376v-880q0 -135 -66.5 -249t-180.5 -180.5
t-249 -66.5h-464q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-768h272q112 0 192 80t80 192v880q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
    <glyph glyph-name="_492" unicode="&#xf20c;"
d="M1311 694v-114q0 -24 -13.5 -38t-37.5 -14h-202q-24 0 -38 14t-14 38v114q0 24 14 38t38 14h202q24 0 37.5 -14t13.5 -38zM821 464v250q0 53 -32.5 85.5t-85.5 32.5h-133q-68 0 -96 -52q-28 52 -96 52h-130q-53 0 -85.5 -32.5t-32.5 -85.5v-250q0 -22 21 -22h55
q22 0 22 22v230q0 24 13.5 38t38.5 14h94q24 0 38 -14t14 -38v-230q0 -22 21 -22h54q22 0 22 22v230q0 24 14 38t38 14h97q24 0 37.5 -14t13.5 -38v-230q0 -22 22 -22h55q21 0 21 22zM1410 560v154q0 53 -33 85.5t-86 32.5h-264q-53 0 -86 -32.5t-33 -85.5v-410
q0 -21 22 -21h55q21 0 21 21v180q31 -42 94 -42h191q53 0 86 32.5t33 85.5zM1536 1176v-1072q0 -96 -68 -164t-164 -68h-1072q-96 0 -164 68t-68 164v1072q0 96 68 164t164 68h1072q96 0 164 -68t68 -164z" />
    <glyph glyph-name="_493" unicode="&#xf20d;"
d="M915 450h-294l147 551zM1001 128h311l-324 1024h-440l-324 -1024h311l383 314zM1536 1120v-960q0 -118 -85 -203t-203 -85h-960q-118 0 -203 85t-85 203v960q0 118 85 203t203 85h960q118 0 203 -85t85 -203z" />
    <glyph glyph-name="_494" unicode="&#xf20e;" horiz-adv-x="2048"
d="M2048 641q0 -21 -13 -36.5t-33 -19.5l-205 -356q3 -9 3 -18q0 -20 -12.5 -35.5t-32.5 -19.5l-193 -337q3 -8 3 -16q0 -23 -16.5 -40t-40.5 -17q-25 0 -41 18h-400q-17 -20 -43 -20t-43 20h-399q-17 -20 -43 -20q-23 0 -40 16.5t-17 40.5q0 8 4 20l-193 335
q-20 4 -32.5 19.5t-12.5 35.5q0 9 3 18l-206 356q-20 5 -32.5 20.5t-12.5 35.5q0 21 13.5 36.5t33.5 19.5l199 344q0 1 -0.5 3t-0.5 3q0 36 34 51l209 363q-4 10 -4 18q0 24 17 40.5t40 16.5q26 0 44 -21h396q16 21 43 21t43 -21h398q18 21 44 21q23 0 40 -16.5t17 -40.5
q0 -6 -4 -18l207 -358q23 -1 39 -17.5t16 -38.5q0 -13 -7 -27l187 -324q19 -4 31.5 -19.5t12.5 -35.5zM1063 -158h389l-342 354h-143l-342 -354h360q18 16 39 16t39 -16zM112 654q1 -4 1 -13q0 -10 -2 -15l208 -360l15 -6l188 199v347l-187 194q-13 -8 -29 -10zM986 1438
h-388l190 -200l554 200h-280q-16 -16 -38 -16t-38 16zM1689 226q1 6 5 11l-64 68l-17 -79h76zM1583 226l22 105l-252 266l-296 -307l63 -64h463zM1495 -142l16 28l65 310h-427l333 -343q8 4 13 5zM578 -158h5l342 354h-373v-335l4 -6q14 -5 22 -13zM552 226h402l64 66
l-309 321l-157 -166v-221zM359 226h163v189l-168 -177q4 -8 5 -12zM358 1051q0 -1 0.5 -2t0.5 -2q0 -16 -8 -29l171 -177v269zM552 1121v-311l153 -157l297 314l-223 236zM556 1425l-4 -8v-264l205 74l-191 201q-6 -2 -10 -3zM1447 1438h-16l-621 -224l213 -225zM1023 946
l-297 -315l311 -319l296 307zM688 634l-136 141v-284zM1038 270l-42 -44h85zM1374 618l238 -251l132 624l-3 5l-1 1zM1718 1018q-8 13 -8 29v2l-216 376q-5 1 -13 5l-437 -463l310 -327zM522 1142v223l-163 -282zM522 196h-163l163 -283v283zM1607 196l-48 -227l130 227h-82
zM1729 266l207 361q-2 10 -2 14q0 1 3 16l-171 296l-129 -612l77 -82q5 3 15 7z" />
    <glyph glyph-name="f210" unicode="&#xf210;"
d="M0 856q0 131 91.5 226.5t222.5 95.5h742l352 358v-1470q0 -132 -91.5 -227t-222.5 -95h-780q-131 0 -222.5 95t-91.5 227v790zM1232 102l-176 180v425q0 46 -32 79t-78 33h-484q-46 0 -78 -33t-32 -79v-492q0 -46 32.5 -79.5t77.5 -33.5h770z" />
    <glyph glyph-name="_496" unicode="&#xf211;"
d="M934 1386q-317 -121 -556 -362.5t-358 -560.5q-20 89 -20 176q0 208 102.5 384.5t278.5 279t384 102.5q82 0 169 -19zM1203 1267q93 -65 164 -155q-389 -113 -674.5 -400.5t-396.5 -676.5q-93 72 -155 162q112 386 395 671t667 399zM470 -67q115 356 379.5 622t619.5 384
q40 -92 54 -195q-292 -120 -516 -345t-343 -518q-103 14 -194 52zM1536 -125q-193 50 -367 115q-135 -84 -290 -107q109 205 274 370.5t369 275.5q-21 -152 -101 -284q65 -175 115 -370z" />
    <glyph glyph-name="f212" unicode="&#xf212;" horiz-adv-x="2048"
d="M1893 1144l155 -1272q-131 0 -257 57q-200 91 -393 91q-226 0 -374 -148q-148 148 -374 148q-193 0 -393 -91q-128 -57 -252 -57h-5l155 1272q224 127 482 127q233 0 387 -106q154 106 387 106q258 0 482 -127zM1398 157q129 0 232 -28.5t260 -93.5l-124 1021
q-171 78 -368 78q-224 0 -374 -141q-150 141 -374 141q-197 0 -368 -78l-124 -1021q105 43 165.5 65t148.5 39.5t178 17.5q202 0 374 -108q172 108 374 108zM1438 191l-55 907q-211 -4 -359 -155q-152 155 -374 155q-176 0 -336 -66l-114 -941q124 51 228.5 76t221.5 25
q209 0 374 -102q172 107 374 102z" />
    <glyph glyph-name="_498" unicode="&#xf213;" horiz-adv-x="2048"
d="M1500 165v733q0 21 -15 36t-35 15h-93q-20 0 -35 -15t-15 -36v-733q0 -20 15 -35t35 -15h93q20 0 35 15t15 35zM1216 165v531q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-531q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM924 165v429q0 20 -15 35t-35 15h-101
q-20 0 -35 -15t-15 -35v-429q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM632 165v362q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-362q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM2048 311q0 -166 -118 -284t-284 -118h-1244q-166 0 -284 118t-118 284
q0 116 63 214.5t168 148.5q-10 34 -10 73q0 113 80.5 193.5t193.5 80.5q102 0 180 -67q45 183 194 300t338 117q149 0 275 -73.5t199.5 -199.5t73.5 -275q0 -66 -14 -122q135 -33 221 -142.5t86 -247.5z" />
    <glyph glyph-name="_499" unicode="&#xf214;"
d="M0 1536h1536v-1392l-776 -338l-760 338v1392zM1436 209v926h-1336v-926l661 -294zM1436 1235v201h-1336v-201h1336zM181 937v-115h-37v115h37zM181 789v-115h-37v115h37zM181 641v-115h-37v115h37zM181 493v-115h-37v115h37zM181 345v-115h-37v115h37zM207 202l15 34
l105 -47l-15 -33zM343 142l15 34l105 -46l-15 -34zM478 82l15 34l105 -46l-15 -34zM614 23l15 33l104 -46l-15 -34zM797 10l105 46l15 -33l-105 -47zM932 70l105 46l15 -34l-105 -46zM1068 130l105 46l15 -34l-105 -46zM1203 189l105 47l15 -34l-105 -46zM259 1389v-36h-114
v36h114zM421 1389v-36h-115v36h115zM583 1389v-36h-115v36h115zM744 1389v-36h-114v36h114zM906 1389v-36h-114v36h114zM1068 1389v-36h-115v36h115zM1230 1389v-36h-115v36h115zM1391 1389v-36h-114v36h114zM181 1049v-79h-37v115h115v-36h-78zM421 1085v-36h-115v36h115z
M583 1085v-36h-115v36h115zM744 1085v-36h-114v36h114zM906 1085v-36h-114v36h114zM1068 1085v-36h-115v36h115zM1230 1085v-36h-115v36h115zM1355 970v79h-78v36h115v-115h-37zM1355 822v115h37v-115h-37zM1355 674v115h37v-115h-37zM1355 526v115h37v-115h-37zM1355 378
v115h37v-115h-37zM1355 230v115h37v-115h-37zM760 265q-129 0 -221 91.5t-92 221.5q0 129 92 221t221 92q130 0 221.5 -92t91.5 -221q0 -130 -91.5 -221.5t-221.5 -91.5zM595 646q0 -36 19.5 -56.5t49.5 -25t64 -7t64 -2t49.5 -9t19.5 -30.5q0 -49 -112 -49q-97 0 -123 51
h-3l-31 -63q67 -42 162 -42q29 0 56.5 5t55.5 16t45.5 33t17.5 53q0 46 -27.5 69.5t-67.5 27t-79.5 3t-67 5t-27.5 25.5q0 21 20.5 33t40.5 15t41 3q34 0 70.5 -11t51.5 -34h3l30 58q-3 1 -21 8.5t-22.5 9t-19.5 7t-22 7t-20 4.5t-24 4t-23 1q-29 0 -56.5 -5t-54 -16.5
t-43 -34t-16.5 -53.5z" />
    <glyph glyph-name="_500" unicode="&#xf215;" horiz-adv-x="2048"
d="M863 504q0 112 -79.5 191.5t-191.5 79.5t-191 -79.5t-79 -191.5t79 -191t191 -79t191.5 79t79.5 191zM1726 505q0 112 -79 191t-191 79t-191.5 -79t-79.5 -191q0 -113 79.5 -192t191.5 -79t191 79.5t79 191.5zM2048 1314v-1348q0 -44 -31.5 -75.5t-76.5 -31.5h-1832
q-45 0 -76.5 31.5t-31.5 75.5v1348q0 44 31.5 75.5t76.5 31.5h431q44 0 76 -31.5t32 -75.5v-161h754v161q0 44 32 75.5t76 31.5h431q45 0 76.5 -31.5t31.5 -75.5z" />
    <glyph glyph-name="_501" unicode="&#xf216;" horiz-adv-x="2048"
d="M1430 953zM1690 749q148 0 253 -98.5t105 -244.5q0 -157 -109 -261.5t-267 -104.5q-85 0 -162 27.5t-138 73.5t-118 106t-109 126t-103.5 132.5t-108.5 126.5t-117 106t-136 73.5t-159 27.5q-154 0 -251.5 -91.5t-97.5 -244.5q0 -157 104 -250t263 -93q100 0 208 37.5
t193 98.5q5 4 21 18.5t30 24t22 9.5q14 0 24.5 -10.5t10.5 -24.5q0 -24 -60 -77q-101 -88 -234.5 -142t-260.5 -54q-133 0 -245.5 58t-180 165t-67.5 241q0 205 141.5 341t347.5 136q120 0 226.5 -43.5t185.5 -113t151.5 -153t139 -167.5t133.5 -153.5t149.5 -113
t172.5 -43.5q102 0 168.5 61.5t66.5 162.5q0 95 -64.5 159t-159.5 64q-30 0 -81.5 -18.5t-68.5 -18.5q-20 0 -35.5 15t-15.5 35q0 18 8.5 57t8.5 59q0 159 -107.5 263t-266.5 104q-58 0 -111.5 -18.5t-84 -40.5t-55.5 -40.5t-33 -18.5q-15 0 -25.5 10.5t-10.5 25.5
q0 19 25 46q59 67 147 103.5t182 36.5q191 0 318 -125.5t127 -315.5q0 -37 -4 -66q57 15 115 15z" />
    <glyph glyph-name="_502" unicode="&#xf217;" horiz-adv-x="1664"
d="M1216 832q0 26 -19 45t-45 19h-128v128q0 26 -19 45t-45 19t-45 -19t-19 -45v-128h-128q-26 0 -45 -19t-19 -45t19 -45t45 -19h128v-128q0 -26 19 -45t45 -19t45 19t19 45v128h128q26 0 45 19t19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5
t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920
q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
    <glyph glyph-name="_503" unicode="&#xf218;" horiz-adv-x="1664"
d="M1280 832q0 26 -19 45t-45 19t-45 -19l-147 -146v293q0 26 -19 45t-45 19t-45 -19t-19 -45v-293l-147 146q-19 19 -45 19t-45 -19t-19 -45t19 -45l256 -256q19 -19 45 -19t45 19l256 256q19 19 19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5
t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920
q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
    <glyph glyph-name="_504" unicode="&#xf219;" horiz-adv-x="2048"
d="M212 768l623 -665l-300 665h-323zM1024 -4l349 772h-698zM538 896l204 384h-262l-288 -384h346zM1213 103l623 665h-323zM683 896h682l-204 384h-274zM1510 896h346l-288 384h-262zM1651 1382l384 -512q14 -18 13 -41.5t-17 -40.5l-960 -1024q-18 -20 -47 -20t-47 20
l-960 1024q-16 17 -17 40.5t13 41.5l384 512q18 26 51 26h1152q33 0 51 -26z" />
    <glyph glyph-name="_505" unicode="&#xf21a;" horiz-adv-x="2048"
d="M1811 -19q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83
q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83
q19 19 45 19t45 -19l83 -83zM237 19q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -82l83 82q19 19 45 19t45 -19l83 -82l64 64v293l-210 314q-17 26 -7 56.5t40 40.5l177 58v299h128v128h256v128h256v-128h256v-128h128v-299l177 -58q30 -10 40 -40.5t-7 -56.5l-210 -314
v-293l19 18q19 19 45 19t45 -19l83 -82l83 82q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83
q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83zM640 1152v-128l384 128l384 -128v128h-128v128h-512v-128h-128z" />
    <glyph glyph-name="_506" unicode="&#xf21b;"
d="M576 0l96 448l-96 128l-128 64zM832 0l128 640l-128 -64l-96 -128zM992 1010q-2 4 -4 6q-10 8 -96 8q-70 0 -167 -19q-7 -2 -21 -2t-21 2q-97 19 -167 19q-86 0 -96 -8q-2 -2 -4 -6q2 -18 4 -27q2 -3 7.5 -6.5t7.5 -10.5q2 -4 7.5 -20.5t7 -20.5t7.5 -17t8.5 -17t9 -14
t12 -13.5t14 -9.5t17.5 -8t20.5 -4t24.5 -2q36 0 59 12.5t32.5 30t14.5 34.5t11.5 29.5t17.5 12.5h12q11 0 17.5 -12.5t11.5 -29.5t14.5 -34.5t32.5 -30t59 -12.5q13 0 24.5 2t20.5 4t17.5 8t14 9.5t12 13.5t9 14t8.5 17t7.5 17t7 20.5t7.5 20.5q2 7 7.5 10.5t7.5 6.5
q2 9 4 27zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 61 4.5 118t19 125.5t37.5 123.5t63.5 103.5t93.5 74.5l-90 220h214q-22 64 -22 128q0 12 2 32q-194 40 -194 96q0 57 210 99q17 62 51.5 134t70.5 114q32 37 76 37q30 0 84 -31t84 -31t84 31
t84 31q44 0 76 -37q36 -42 70.5 -114t51.5 -134q210 -42 210 -99q0 -56 -194 -96q7 -81 -20 -160h214l-82 -225q63 -33 107.5 -96.5t65.5 -143.5t29 -151.5t8 -148.5z" />
    <glyph glyph-name="_507" unicode="&#xf21c;" horiz-adv-x="2304"
d="M2301 500q12 -103 -22 -198.5t-99 -163.5t-158.5 -106t-196.5 -31q-161 11 -279.5 125t-134.5 274q-12 111 27.5 210.5t118.5 170.5l-71 107q-96 -80 -151 -194t-55 -244q0 -27 -18.5 -46.5t-45.5 -19.5h-256h-69q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5
t-131.5 316.5t131.5 316.5t316.5 131.5q76 0 152 -27l24 45q-123 110 -304 110h-64q-26 0 -45 19t-19 45t19 45t45 19h128q78 0 145 -13.5t116.5 -38.5t71.5 -39.5t51 -36.5h512h115l-85 128h-222q-30 0 -49 22.5t-14 52.5q4 23 23 38t43 15h253q33 0 53 -28l70 -105
l114 114q19 19 46 19h101q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-179l115 -172q131 63 275 36q143 -26 244 -134.5t118 -253.5zM448 128q115 0 203 72.5t111 183.5h-314q-35 0 -55 31q-18 32 -1 63l147 277q-47 13 -91 13q-132 0 -226 -94t-94 -226t94 -226
t226 -94zM1856 128q132 0 226 94t94 226t-94 226t-226 94q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94z" />
    <glyph glyph-name="_508" unicode="&#xf21d;"
d="M1408 0q0 -63 -61.5 -113.5t-164 -81t-225 -46t-253.5 -15.5t-253.5 15.5t-225 46t-164 81t-61.5 113.5q0 49 33 88.5t91 66.5t118 44.5t131 29.5q26 5 48 -10.5t26 -41.5q5 -26 -10.5 -48t-41.5 -26q-58 -10 -106 -23.5t-76.5 -25.5t-48.5 -23.5t-27.5 -19.5t-8.5 -12
q3 -11 27 -26.5t73 -33t114 -32.5t160.5 -25t201.5 -10t201.5 10t160.5 25t114 33t73 33.5t27 27.5q-1 4 -8.5 11t-27.5 19t-48.5 23.5t-76.5 25t-106 23.5q-26 4 -41.5 26t-10.5 48q4 26 26 41.5t48 10.5q71 -12 131 -29.5t118 -44.5t91 -66.5t33 -88.5zM1024 896v-384
q0 -26 -19 -45t-45 -19h-64v-384q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v384h-64q-26 0 -45 19t-19 45v384q0 53 37.5 90.5t90.5 37.5h384q53 0 90.5 -37.5t37.5 -90.5zM928 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5
t158.5 -65.5t65.5 -158.5z" />
    <glyph glyph-name="_509" unicode="&#xf21e;" horiz-adv-x="1792"
d="M1280 512h305q-5 -6 -10 -10.5t-9 -7.5l-3 -4l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-5 2 -21 20h369q22 0 39.5 13.5t22.5 34.5l70 281l190 -667q6 -20 23 -33t39 -13q21 0 38 13t23 33l146 485l56 -112q18 -35 57 -35zM1792 940q0 -145 -103 -300h-369l-111 221
q-8 17 -25.5 27t-36.5 8q-45 -5 -56 -46l-129 -430l-196 686q-6 20 -23.5 33t-39.5 13t-39 -13.5t-22 -34.5l-116 -464h-423q-103 155 -103 300q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124
t127 -344z" />
    <glyph glyph-name="venus" unicode="&#xf221;" horiz-adv-x="1280"
d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292
q11 134 80.5 249t182 188t245.5 88q170 19 319 -54t236 -212t87 -306zM128 960q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5z" />
    <glyph glyph-name="_511" unicode="&#xf222;"
d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-382 -383q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5
q203 0 359 -126l382 382h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_512" unicode="&#xf223;" horiz-adv-x="1280"
d="M830 1220q145 -72 233.5 -210.5t88.5 -305.5q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5
t-147.5 384.5q0 167 88.5 305.5t233.5 210.5q-165 96 -228 273q-6 16 3.5 29.5t26.5 13.5h69q21 0 29 -20q44 -106 140 -171t214 -65t214 65t140 171q8 20 37 20h61q17 0 26.5 -13.5t3.5 -29.5q-63 -177 -228 -273zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5
t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_513" unicode="&#xf224;"
d="M1024 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64
q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-149 16 -270.5 103t-186.5 223.5t-53 291.5q16 204 160 353.5t347 172.5q118 14 228 -19t198 -103l255 254h-134q-14 0 -23 9t-9 23v64zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5
t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_514" unicode="&#xf225;" horiz-adv-x="1792"
d="M1280 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64
q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5t-147.5 384.5q0 201 126 359l-52 53l-101 -111q-9 -10 -22 -10.5t-23 7.5l-48 44q-10 8 -10.5 21.5t8.5 23.5l105 115l-111 112v-134q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9
t-9 23v288q0 26 19 45t45 19h288q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-133l106 -107l86 94q9 10 22 10.5t23 -7.5l48 -44q10 -8 10.5 -21.5t-8.5 -23.5l-90 -99l57 -56q158 126 359 126t359 -126l255 254h-134q-14 0 -23 9t-9 23v64zM832 256q185 0 316.5 131.5
t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_515" unicode="&#xf226;" horiz-adv-x="1792"
d="M1790 1007q12 -155 -52.5 -292t-186 -224t-271.5 -103v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-512v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23
t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292q17 206 164.5 356.5t352.5 169.5q206 21 377 -94q171 115 377 94q205 -19 352.5 -169.5t164.5 -356.5zM896 647q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM576 512q115 0 218 57q-154 165 -154 391
q0 224 154 391q-103 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5zM1152 128v260q-137 15 -256 94q-119 -79 -256 -94v-260h512zM1216 512q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5q-115 0 -218 -57q154 -167 154 -391
q0 -226 -154 -391q103 -57 218 -57z" />
    <glyph glyph-name="_516" unicode="&#xf227;" horiz-adv-x="1920"
d="M1536 1120q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-31 -182 -166 -312t-318 -156q-210 -29 -384.5 80t-241.5 300q-117 6 -221 57.5t-177.5 133t-113.5 192.5t-32 230
q9 135 78 252t182 191.5t248 89.5q118 14 227.5 -19t198.5 -103l255 254h-134q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q59 -74 93 -169q182 -9 328 -124l255 254h-134q-14 0 -23 9
t-9 23v64zM1024 704q0 20 -4 58q-162 -25 -271 -150t-109 -292q0 -20 4 -58q162 25 271 150t109 292zM128 704q0 -168 111 -294t276 -149q-3 29 -3 59q0 210 135 369.5t338 196.5q-53 120 -163.5 193t-245.5 73q-185 0 -316.5 -131.5t-131.5 -316.5zM1088 -128
q185 0 316.5 131.5t131.5 316.5q0 168 -111 294t-276 149q3 -28 3 -59q0 -210 -135 -369.5t-338 -196.5q53 -120 163.5 -193t245.5 -73z" />
    <glyph glyph-name="_517" unicode="&#xf228;" horiz-adv-x="2048"
d="M1664 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-32 -180 -164.5 -310t-313.5 -157q-223 -34 -409 90q-117 -78 -256 -93v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23
t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-155 17 -279.5 109.5t-187 237.5t-39.5 307q25 187 159.5 322.5t320.5 164.5q224 34 410 -90q146 97 320 97q201 0 359 -126l255 254h-134q-14 0 -23 9
t-9 23v64zM896 391q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM128 704q0 -185 131.5 -316.5t316.5 -131.5q117 0 218 57q-154 167 -154 391t154 391q-101 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5zM1216 256q185 0 316.5 131.5t131.5 316.5
t-131.5 316.5t-316.5 131.5q-117 0 -218 -57q154 -167 154 -391t-154 -391q101 -57 218 -57z" />
    <glyph glyph-name="_518" unicode="&#xf229;"
d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-213 -214l140 -140q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-140 141l-78 -79q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5
t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5q203 0 359 -126l78 78l-172 172q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l172 -172l213 213h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5
t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_519" unicode="&#xf22a;" horiz-adv-x="1280"
d="M640 892q217 -24 364.5 -187.5t147.5 -384.5q0 -167 -87 -306t-236 -212t-319 -54q-133 15 -245.5 88t-182 188t-80.5 249q-12 155 52.5 292t186 224t271.5 103v132h-160q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h160v165l-92 -92q-10 -9 -23 -9t-22 9l-46 46q-9 9 -9 22
t9 23l202 201q19 19 45 19t45 -19l202 -201q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-92 92v-165h160q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-160v-132zM576 -128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5
t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_520" unicode="&#xf22b;" horiz-adv-x="2048"
d="M1901 621q19 -19 19 -45t-19 -45l-294 -294q-9 -10 -22.5 -10t-22.5 10l-45 45q-10 9 -10 22.5t10 22.5l185 185h-294v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-132q-24 -217 -187.5 -364.5t-384.5 -147.5q-167 0 -306 87t-212 236t-54 319q15 133 88 245.5
t188 182t249 80.5q155 12 292 -52.5t224 -186t103 -271.5h132v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h294l-185 185q-10 9 -10 22.5t10 22.5l45 45q9 10 22.5 10t22.5 -10zM576 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5
t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_521" unicode="&#xf22c;" horiz-adv-x="1280"
d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-612q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v612q-217 24 -364.5 187.5t-147.5 384.5q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5zM576 512q185 0 316.5 131.5
t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
    <glyph glyph-name="_522" unicode="&#xf22d;" horiz-adv-x="1280"
d="M1024 576q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1152 576q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123
t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5z" />
    <glyph glyph-name="_523" unicode="&#xf22e;" horiz-adv-x="1792"
 />
    <glyph glyph-name="_524" unicode="&#xf22f;" horiz-adv-x="1792"
 />
    <glyph glyph-name="_525" unicode="&#xf230;"
d="M1451 1408q35 0 60 -25t25 -60v-1366q0 -35 -25 -60t-60 -25h-391v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-735q-35 0 -60 25t-25 60v1366q0 35 25 60t60 25h1366z" />
    <glyph glyph-name="_526" unicode="&#xf231;" horiz-adv-x="1280"
d="M0 939q0 108 37.5 203.5t103.5 166.5t152 123t185 78t202 26q158 0 294 -66.5t221 -193.5t85 -287q0 -96 -19 -188t-60 -177t-100 -149.5t-145 -103t-189 -38.5q-68 0 -135 32t-96 88q-10 -39 -28 -112.5t-23.5 -95t-20.5 -71t-26 -71t-32 -62.5t-46 -77.5t-62 -86.5
l-14 -5l-9 10q-15 157 -15 188q0 92 21.5 206.5t66.5 287.5t52 203q-32 65 -32 169q0 83 52 156t132 73q61 0 95 -40.5t34 -102.5q0 -66 -44 -191t-44 -187q0 -63 45 -104.5t109 -41.5q55 0 102 25t78.5 68t56 95t38 110.5t20 111t6.5 99.5q0 173 -109.5 269.5t-285.5 96.5
q-200 0 -334 -129.5t-134 -328.5q0 -44 12.5 -85t27 -65t27 -45.5t12.5 -30.5q0 -28 -15 -73t-37 -45q-2 0 -17 3q-51 15 -90.5 56t-61 94.5t-32.5 108t-11 106.5z" />
    <glyph glyph-name="_527" unicode="&#xf232;"
d="M985 562q13 0 97.5 -44t89.5 -53q2 -5 2 -15q0 -33 -17 -76q-16 -39 -71 -65.5t-102 -26.5q-57 0 -190 62q-98 45 -170 118t-148 185q-72 107 -71 194v8q3 91 74 158q24 22 52 22q6 0 18 -1.5t19 -1.5q19 0 26.5 -6.5t15.5 -27.5q8 -20 33 -88t25 -75q0 -21 -34.5 -57.5
t-34.5 -46.5q0 -7 5 -15q34 -73 102 -137q56 -53 151 -101q12 -7 22 -7q15 0 54 48.5t52 48.5zM782 32q127 0 243.5 50t200.5 134t134 200.5t50 243.5t-50 243.5t-134 200.5t-200.5 134t-243.5 50t-243.5 -50t-200.5 -134t-134 -200.5t-50 -243.5q0 -203 120 -368l-79 -233
l242 77q158 -104 345 -104zM782 1414q153 0 292.5 -60t240.5 -161t161 -240.5t60 -292.5t-60 -292.5t-161 -240.5t-240.5 -161t-292.5 -60q-195 0 -365 94l-417 -134l136 405q-108 178 -108 389q0 153 60 292.5t161 240.5t240.5 161t292.5 60z" />
    <glyph glyph-name="_528" unicode="&#xf233;" horiz-adv-x="1792"
d="M128 128h1024v128h-1024v-128zM128 640h1024v128h-1024v-128zM1696 192q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM128 1152h1024v128h-1024v-128zM1696 704q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1696 1216
q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1792 384v-384h-1792v384h1792zM1792 896v-384h-1792v384h1792zM1792 1408v-384h-1792v384h1792z" />
    <glyph glyph-name="_529" unicode="&#xf234;" horiz-adv-x="2048"
d="M704 640q-159 0 -271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5zM1664 512h352q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-352q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5
t-9.5 22.5v352h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-352zM928 288q0 -52 38 -90t90 -38h256v-238q-68 -50 -171 -50h-874q-121 0 -194 69t-73 190q0 53 3.5 103.5t14 109t26.5 108.5
t43 97.5t62 81t85.5 53.5t111.5 20q19 0 39 -17q79 -61 154.5 -91.5t164.5 -30.5t164.5 30.5t154.5 91.5q20 17 39 17q132 0 217 -96h-223q-52 0 -90 -38t-38 -90v-192z" />
    <glyph glyph-name="_530" unicode="&#xf235;" horiz-adv-x="2048"
d="M704 640q-159 0 -271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5zM1781 320l249 -249q9 -9 9 -23q0 -13 -9 -22l-136 -136q-9 -9 -22 -9q-14 0 -23 9l-249 249l-249 -249q-9 -9 -23 -9q-13 0 -22 9l-136 136
q-9 9 -9 22q0 14 9 23l249 249l-249 249q-9 9 -9 23q0 13 9 22l136 136q9 9 22 9q14 0 23 -9l249 -249l249 249q9 9 23 9q13 0 22 -9l136 -136q9 -9 9 -22q0 -14 -9 -23zM1283 320l-181 -181q-37 -37 -37 -91q0 -53 37 -90l83 -83q-21 -3 -44 -3h-874q-121 0 -194 69
t-73 190q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q19 0 39 -17q154 -122 319 -122t319 122q20 17 39 17q28 0 57 -6q-28 -27 -41 -50t-13 -56q0 -54 37 -91z" />
    <glyph glyph-name="_531" unicode="&#xf236;" horiz-adv-x="2048"
d="M256 512h1728q26 0 45 -19t19 -45v-448h-256v256h-1536v-256h-256v1216q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-704zM832 832q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM2048 576v64q0 159 -112.5 271.5t-271.5 112.5h-704
q-26 0 -45 -19t-19 -45v-384h1152z" />
    <glyph glyph-name="_532" unicode="&#xf237;"
d="M1536 1536l-192 -448h192v-192h-274l-55 -128h329v-192h-411l-357 -832l-357 832h-411v192h329l-55 128h-274v192h192l-192 448h256l323 -768h378l323 768h256zM768 320l108 256h-216z" />
    <glyph glyph-name="_533" unicode="&#xf238;"
d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM768 192q80 0 136 56t56 136t-56 136t-136 56
t-136 -56t-56 -136t56 -136t136 -56zM1344 768v512h-1152v-512h1152z" />
    <glyph glyph-name="_534" unicode="&#xf239;"
d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM288 224q66 0 113 47t47 113t-47 113t-113 47
t-113 -47t-47 -113t47 -113t113 -47zM704 768v512h-544v-512h544zM1248 224q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM1408 768v512h-576v-512h576z" />
    <glyph glyph-name="_535" unicode="&#xf23a;" horiz-adv-x="1792"
d="M597 1115v-1173q0 -25 -12.5 -42.5t-36.5 -17.5q-17 0 -33 8l-465 233q-21 10 -35.5 33.5t-14.5 46.5v1140q0 20 10 34t29 14q14 0 44 -15l511 -256q3 -3 3 -5zM661 1014l534 -866l-534 266v600zM1792 996v-1054q0 -25 -14 -40.5t-38 -15.5t-47 13l-441 220zM1789 1116
q0 -3 -256.5 -419.5t-300.5 -487.5l-390 634l324 527q17 28 52 28q14 0 26 -6l541 -270q4 -2 4 -6z" />
    <glyph glyph-name="_536" unicode="&#xf23b;"
d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1408v-1536h-1536v1536h1536z" />
    <glyph glyph-name="_537" unicode="&#xf23c;" horiz-adv-x="2296"
d="M478 -139q-8 -16 -27 -34.5t-37 -25.5q-25 -9 -51.5 3.5t-28.5 31.5q-1 22 40 55t68 38q23 4 34 -21.5t2 -46.5zM1819 -139q7 -16 26 -34.5t38 -25.5q25 -9 51.5 3.5t27.5 31.5q2 22 -39.5 55t-68.5 38q-22 4 -33 -21.5t-2 -46.5zM1867 -30q13 -27 56.5 -59.5t77.5 -41.5
q45 -13 82 4.5t37 50.5q0 46 -67.5 100.5t-115.5 59.5q-40 5 -63.5 -37.5t-6.5 -76.5zM428 -30q-13 -27 -56 -59.5t-77 -41.5q-45 -13 -82 4.5t-37 50.5q0 46 67.5 100.5t115.5 59.5q40 5 63 -37.5t6 -76.5zM1158 1094h1q-41 0 -76 -15q27 -8 44 -30.5t17 -49.5
q0 -35 -27 -60t-65 -25q-52 0 -80 43q-5 -23 -5 -42q0 -74 56 -126.5t135 -52.5q80 0 136 52.5t56 126.5t-56 126.5t-136 52.5zM1462 1312q-99 109 -220.5 131.5t-245.5 -44.5q27 60 82.5 96.5t118 39.5t121.5 -17t99.5 -74.5t44.5 -131.5zM2212 73q8 -11 -11 -42
q7 -23 7 -40q1 -56 -44.5 -112.5t-109.5 -91.5t-118 -37q-48 -2 -92 21.5t-66 65.5q-687 -25 -1259 0q-23 -41 -66.5 -65t-92.5 -22q-86 3 -179.5 80.5t-92.5 160.5q2 22 7 40q-19 31 -11 42q6 10 31 1q14 22 41 51q-7 29 2 38q11 10 39 -4q29 20 59 34q0 29 13 37
q23 12 51 -16q35 5 61 -2q18 -4 38 -19v73q-11 0 -18 2q-53 10 -97 44.5t-55 87.5q-9 38 0 81q15 62 93 95q2 17 19 35.5t36 23.5t33 -7.5t19 -30.5h13q46 -5 60 -23q3 -3 5 -7q10 1 30.5 3.5t30.5 3.5q-15 11 -30 17q-23 40 -91 43q0 6 1 10q-62 2 -118.5 18.5t-84.5 47.5
q-32 36 -42.5 92t-2.5 112q16 126 90 179q23 16 52 4.5t32 -40.5q0 -1 1.5 -14t2.5 -21t3 -20t5.5 -19t8.5 -10q27 -14 76 -12q48 46 98 74q-40 4 -162 -14l47 46q61 58 163 111q145 73 282 86q-20 8 -41 15.5t-47 14t-42.5 10.5t-47.5 11t-43 10q595 126 904 -139
q98 -84 158 -222q85 -10 121 9h1q5 3 8.5 10t5.5 19t3 19.5t3 21.5l1 14q3 28 32 40t52 -5q73 -52 91 -178q7 -57 -3.5 -113t-42.5 -91q-28 -32 -83.5 -48.5t-115.5 -18.5v-10q-71 -2 -95 -43q-14 -5 -31 -17q11 -1 32 -3.5t30 -3.5q1 5 5 8q16 18 60 23h13q5 18 19 30t33 8
t36 -23t19 -36q79 -32 93 -95q9 -40 1 -81q-12 -53 -56 -88t-97 -44q-10 -2 -17 -2q0 -49 -1 -73q20 15 38 19q26 7 61 2q28 28 51 16q14 -9 14 -37q33 -16 59 -34q27 13 38 4q10 -10 2 -38q28 -30 41 -51q23 8 31 -1zM1937 1025q0 -29 -9 -54q82 -32 112 -132
q4 37 -9.5 98.5t-41.5 90.5q-20 19 -36 17t-16 -20zM1859 925q35 -42 47.5 -108.5t-0.5 -124.5q67 13 97 45q13 14 18 28q-3 64 -31 114.5t-79 66.5q-15 -15 -52 -21zM1822 921q-30 0 -44 1q42 -115 53 -239q21 0 43 3q16 68 1 135t-53 100zM258 839q30 100 112 132
q-9 25 -9 54q0 18 -16.5 20t-35.5 -17q-28 -29 -41.5 -90.5t-9.5 -98.5zM294 737q29 -31 97 -45q-13 58 -0.5 124.5t47.5 108.5v0q-37 6 -52 21q-51 -16 -78.5 -66t-31.5 -115q9 -17 18 -28zM471 683q14 124 73 235q-19 -4 -55 -18l-45 -19v1q-46 -89 -20 -196q25 -3 47 -3z
M1434 644q8 -38 16.5 -108.5t11.5 -89.5q3 -18 9.5 -21.5t23.5 4.5q40 20 62 85.5t23 125.5q-24 2 -146 4zM1152 1285q-116 0 -199 -82.5t-83 -198.5q0 -117 83 -199.5t199 -82.5t199 82.5t83 199.5q0 116 -83 198.5t-199 82.5zM1380 646q-105 2 -211 0v1q-1 -27 2.5 -86
t13.5 -66q29 -14 93.5 -14.5t95.5 10.5q9 3 11 39t-0.5 69.5t-4.5 46.5zM1112 447q8 4 9.5 48t-0.5 88t-4 63v1q-212 -3 -214 -3q-4 -20 -7 -62t0 -83t14 -46q34 -15 101 -16t101 10zM718 636q-16 -59 4.5 -118.5t77.5 -84.5q15 -8 24 -5t12 21q3 16 8 90t10 103
q-69 -2 -136 -6zM591 510q3 -23 -34 -36q132 -141 271.5 -240t305.5 -154q172 49 310.5 146t293.5 250q-33 13 -30 34q0 2 0.5 3.5t1.5 3t1 2.5v1v-1q-17 2 -50 5.5t-48 4.5q-26 -90 -82 -132q-51 -38 -82 1q-5 6 -9 14q-7 13 -17 62q-2 -5 -5 -9t-7.5 -7t-8 -5.5t-9.5 -4
l-10 -2.5t-12 -2l-12 -1.5t-13.5 -1t-13.5 -0.5q-106 -9 -163 11q-4 -17 -10 -26.5t-21 -15t-23 -7t-36 -3.5q-6 -1 -9 -1q-179 -17 -203 40q-2 -63 -56 -54q-47 8 -91 54q-12 13 -20 26q-17 29 -26 65q-58 -6 -87 -10q1 -2 4 -10zM507 -118q3 14 3 30q-17 71 -51 130
t-73 70q-41 12 -101.5 -14.5t-104.5 -80t-39 -107.5q35 -53 100 -93t119 -42q51 -2 94 28t53 79zM510 53q23 -63 27 -119q195 113 392 174q-98 52 -180.5 120t-179.5 165q-6 -4 -29 -13q0 -1 -1 -4t-1 -5q31 -18 22 -37q-12 -23 -56 -34q-10 -13 -29 -24h-1q-2 -83 1 -150
q19 -34 35 -73zM579 -113q532 -21 1145 0q-254 147 -428 196q-76 -35 -156 -57q-8 -3 -16 0q-65 21 -129 49q-208 -60 -416 -188h-1v-1q1 0 1 1zM1763 -67q4 54 28 120q14 38 33 71l-1 -1q3 77 3 153q-15 8 -30 25q-42 9 -56 33q-9 20 22 38q-2 4 -2 9q-16 4 -28 12
q-204 -190 -383 -284q198 -59 414 -176zM2155 -90q5 54 -39 107.5t-104 80t-102 14.5q-38 -11 -72.5 -70.5t-51.5 -129.5q0 -16 3 -30q10 -49 53 -79t94 -28q54 2 119 42t100 93z" />
    <glyph glyph-name="_538" unicode="&#xf23d;" horiz-adv-x="2304"
d="M1524 -25q0 -68 -48 -116t-116 -48t-116.5 48t-48.5 116t48.5 116.5t116.5 48.5t116 -48.5t48 -116.5zM775 -25q0 -68 -48.5 -116t-116.5 -48t-116 48t-48 116t48 116.5t116 48.5t116.5 -48.5t48.5 -116.5zM0 1469q57 -60 110.5 -104.5t121 -82t136 -63t166 -45.5
t200 -31.5t250 -18.5t304 -9.5t372.5 -2.5q139 0 244.5 -5t181 -16.5t124 -27.5t71 -39.5t24 -51.5t-19.5 -64t-56.5 -76.5t-89.5 -91t-116 -104.5t-139 -119q-185 -157 -286 -247q29 51 76.5 109t94 105.5t94.5 98.5t83 91.5t54 80.5t13 70t-45.5 55.5t-116.5 41t-204 23.5
t-304 5q-168 -2 -314 6t-256 23t-204.5 41t-159.5 51.5t-122.5 62.5t-91.5 66.5t-68 71.5t-50.5 69.5t-40 68t-36.5 59.5z" />
    <glyph glyph-name="_539" unicode="&#xf23e;" horiz-adv-x="1792"
d="M896 1472q-169 0 -323 -66t-265.5 -177.5t-177.5 -265.5t-66 -323t66 -323t177.5 -265.5t265.5 -177.5t323 -66t323 66t265.5 177.5t177.5 265.5t66 323t-66 323t-177.5 265.5t-265.5 177.5t-323 66zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348
t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM496 704q16 0 16 -16v-480q0 -16 -16 -16h-32q-16 0 -16 16v480q0 16 16 16h32zM896 640q53 0 90.5 -37.5t37.5 -90.5q0 -35 -17.5 -64t-46.5 -46v-114q0 -14 -9 -23
t-23 -9h-64q-14 0 -23 9t-9 23v114q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5zM896 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM544 928v-96
q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v96q0 93 65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5v-96q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v96q0 146 -103 249t-249 103t-249 -103t-103 -249zM1408 192v512q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-512
q0 -26 19 -45t45 -19h896q26 0 45 19t19 45z" />
    <glyph glyph-name="_540" unicode="&#xf240;" horiz-adv-x="2304"
d="M1920 1024v-768h-1664v768h1664zM2048 448h128v384h-128v288q0 14 -9 23t-23 9h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288zM2304 832v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113
v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160q53 0 90.5 -37.5t37.5 -90.5z" />
    <glyph glyph-name="_541" unicode="&#xf241;" horiz-adv-x="2304"
d="M256 256v768h1280v-768h-1280zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9
h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
    <glyph glyph-name="_542" unicode="&#xf242;" horiz-adv-x="2304"
d="M256 256v768h896v-768h-896zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9
h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
    <glyph glyph-name="_543" unicode="&#xf243;" horiz-adv-x="2304"
d="M256 256v768h512v-768h-512zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9
h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
    <glyph glyph-name="_544" unicode="&#xf244;" horiz-adv-x="2304"
d="M2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9h-1856q-14 0 -23 -9t-9 -23
v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
    <glyph glyph-name="_545" unicode="&#xf245;" horiz-adv-x="1280"
d="M1133 493q31 -30 14 -69q-17 -40 -59 -40h-382l201 -476q10 -25 0 -49t-34 -35l-177 -75q-25 -10 -49 0t-35 34l-191 452l-312 -312q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v1504q0 42 40 59q12 5 24 5q27 0 45 -19z" />
    <glyph glyph-name="_546" unicode="&#xf246;" horiz-adv-x="1024"
d="M832 1408q-320 0 -320 -224v-416h128v-128h-128v-544q0 -224 320 -224h64v-128h-64q-272 0 -384 146q-112 -146 -384 -146h-64v128h64q320 0 320 224v544h-128v128h128v416q0 224 -320 224h-64v128h64q272 0 384 -146q112 146 384 146h64v-128h-64z" />
    <glyph glyph-name="_547" unicode="&#xf247;" horiz-adv-x="2048"
d="M2048 1152h-128v-1024h128v-384h-384v128h-1280v-128h-384v384h128v1024h-128v384h384v-128h1280v128h384v-384zM1792 1408v-128h128v128h-128zM128 1408v-128h128v128h-128zM256 -128v128h-128v-128h128zM1664 0v128h128v1024h-128v128h-1280v-128h-128v-1024h128v-128
h1280zM1920 -128v128h-128v-128h128zM1280 896h384v-768h-896v256h-384v768h896v-256zM512 512h640v512h-640v-512zM1536 256v512h-256v-384h-384v-128h640z" />
    <glyph glyph-name="_548" unicode="&#xf248;" horiz-adv-x="2304"
d="M2304 768h-128v-640h128v-384h-384v128h-896v-128h-384v384h128v128h-384v-128h-384v384h128v640h-128v384h384v-128h896v128h384v-384h-128v-128h384v128h384v-384zM2048 1024v-128h128v128h-128zM1408 1408v-128h128v128h-128zM128 1408v-128h128v128h-128zM256 256
v128h-128v-128h128zM1536 384h-128v-128h128v128zM384 384h896v128h128v640h-128v128h-896v-128h-128v-640h128v-128zM896 -128v128h-128v-128h128zM2176 -128v128h-128v-128h128zM2048 128v640h-128v128h-384v-384h128v-384h-384v128h-384v-128h128v-128h896v128h128z" />
    <glyph glyph-name="_549" unicode="&#xf249;"
d="M1024 288v-416h-928q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1344q40 0 68 -28t28 -68v-928h-416q-40 0 -68 -28t-28 -68zM1152 256h381q-15 -82 -65 -132l-184 -184q-50 -50 -132 -65v381z" />
    <glyph glyph-name="_550" unicode="&#xf24a;"
d="M1400 256h-248v-248q29 10 41 22l185 185q12 12 22 41zM1120 384h288v896h-1280v-1280h896v288q0 40 28 68t68 28zM1536 1312v-1024q0 -40 -20 -88t-48 -76l-184 -184q-28 -28 -76 -48t-88 -20h-1024q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1344q40 0 68 -28t28 -68
z" />
    <glyph glyph-name="_551" unicode="&#xf24b;" horiz-adv-x="2304"
d="M1951 538q0 -26 -15.5 -44.5t-38.5 -23.5q-8 -2 -18 -2h-153v140h153q10 0 18 -2q23 -5 38.5 -23.5t15.5 -44.5zM1933 751q0 -25 -15 -42t-38 -21q-3 -1 -15 -1h-139v129h139q3 0 8.5 -0.5t6.5 -0.5q23 -4 38 -21.5t15 -42.5zM728 587v308h-228v-308q0 -58 -38 -94.5
t-105 -36.5q-108 0 -229 59v-112q53 -15 121 -23t109 -9l42 -1q328 0 328 217zM1442 403v113q-99 -52 -200 -59q-108 -8 -169 41t-61 142t61 142t169 41q101 -7 200 -58v112q-48 12 -100 19.5t-80 9.5l-28 2q-127 6 -218.5 -14t-140.5 -60t-71 -88t-22 -106t22 -106t71 -88
t140.5 -60t218.5 -14q101 4 208 31zM2176 518q0 54 -43 88.5t-109 39.5v3q57 8 89 41.5t32 79.5q0 55 -41 88t-107 36q-3 0 -12 0.5t-14 0.5h-455v-510h491q74 0 121.5 36.5t47.5 96.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90
t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_552" unicode="&#xf24c;" horiz-adv-x="2304"
d="M858 295v693q-106 -41 -172 -135.5t-66 -211.5t66 -211.5t172 -134.5zM1362 641q0 117 -66 211.5t-172 135.5v-694q106 41 172 135.5t66 211.5zM1577 641q0 -159 -78.5 -294t-213.5 -213.5t-294 -78.5q-119 0 -227.5 46.5t-187 125t-125 187t-46.5 227.5q0 159 78.5 294
t213.5 213.5t294 78.5t294 -78.5t213.5 -213.5t78.5 -294zM1960 634q0 139 -55.5 261.5t-147.5 205.5t-213.5 131t-252.5 48h-301q-176 0 -323.5 -81t-235 -230t-87.5 -335q0 -171 87 -317.5t236 -231.5t323 -85h301q129 0 251.5 50.5t214.5 135t147.5 202.5t55.5 246z
M2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_553" unicode="&#xf24d;" horiz-adv-x="1792"
d="M1664 -96v1088q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5v-1088q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5zM1792 992v-1088q0 -66 -47 -113t-113 -47h-1088q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1088q66 0 113 -47t47 -113
zM1408 1376v-160h-128v160q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5v-1088q0 -13 9.5 -22.5t22.5 -9.5h160v-128h-160q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1088q66 0 113 -47t47 -113z" />
    <glyph glyph-name="_554" unicode="&#xf24e;" horiz-adv-x="2304"
d="M1728 1088l-384 -704h768zM448 1088l-384 -704h768zM1269 1280q-14 -40 -45.5 -71.5t-71.5 -45.5v-1291h608q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1344q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h608v1291q-40 14 -71.5 45.5t-45.5 71.5h-491q-14 0 -23 9t-9 23v64
q0 14 9 23t23 9h491q21 57 70 92.5t111 35.5t111 -35.5t70 -92.5h491q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-491zM1088 1264q33 0 56.5 23.5t23.5 56.5t-23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5zM2176 384q0 -73 -46.5 -131t-117.5 -91
t-144.5 -49.5t-139.5 -16.5t-139.5 16.5t-144.5 49.5t-117.5 91t-46.5 131q0 11 35 81t92 174.5t107 195.5t102 184t56 100q18 33 56 33t56 -33q4 -7 56 -100t102 -184t107 -195.5t92 -174.5t35 -81zM896 384q0 -73 -46.5 -131t-117.5 -91t-144.5 -49.5t-139.5 -16.5
t-139.5 16.5t-144.5 49.5t-117.5 91t-46.5 131q0 11 35 81t92 174.5t107 195.5t102 184t56 100q18 33 56 33t56 -33q4 -7 56 -100t102 -184t107 -195.5t92 -174.5t35 -81z" />
    <glyph glyph-name="_555" unicode="&#xf250;"
d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9
t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM874 700q77 29 149 92.5t129.5 152.5t92.5 210t35 253h-1024q0 -132 35 -253t92.5 -210t129.5 -152.5t149 -92.5q19 -7 30.5 -23.5t11.5 -36.5t-11.5 -36.5t-30.5 -23.5q-77 -29 -149 -92.5
t-129.5 -152.5t-92.5 -210t-35 -253h1024q0 132 -35 253t-92.5 210t-129.5 152.5t-149 92.5q-19 7 -30.5 23.5t-11.5 36.5t11.5 36.5t30.5 23.5z" />
    <glyph glyph-name="_556" unicode="&#xf251;"
d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9
t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM1280 1408h-1024q0 -66 9 -128h1006q9 61 9 128zM1280 -128q0 130 -34 249.5t-90.5 208t-126.5 152t-146 94.5h-230q-76 -31 -146 -94.5t-126.5 -152t-90.5 -208t-34 -249.5h1024z" />
    <glyph glyph-name="_557" unicode="&#xf252;"
d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9
t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM1280 1408h-1024q0 -206 85 -384h854q85 178 85 384zM1223 192q-54 141 -145.5 241.5t-194.5 142.5h-230q-103 -42 -194.5 -142.5t-145.5 -241.5h910z" />
    <glyph glyph-name="_558" unicode="&#xf253;"
d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9
t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM874 700q77 29 149 92.5t129.5 152.5t92.5 210t35 253h-1024q0 -132 35 -253t92.5 -210t129.5 -152.5t149 -92.5q19 -7 30.5 -23.5t11.5 -36.5t-11.5 -36.5t-30.5 -23.5q-137 -51 -244 -196
h700q-107 145 -244 196q-19 7 -30.5 23.5t-11.5 36.5t11.5 36.5t30.5 23.5z" />
    <glyph glyph-name="_559" unicode="&#xf254;"
d="M1504 -64q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v128q0 14 9 23t23 9h1472zM130 0q3 55 16 107t30 95t46 87t53.5 76t64.5 69.5t66 60t70.5 55t66.5 47.5t65 43q-43 28 -65 43t-66.5 47.5t-70.5 55t-66 60t-64.5 69.5t-53.5 76t-46 87
t-30 95t-16 107h1276q-3 -55 -16 -107t-30 -95t-46 -87t-53.5 -76t-64.5 -69.5t-66 -60t-70.5 -55t-66.5 -47.5t-65 -43q43 -28 65 -43t66.5 -47.5t70.5 -55t66 -60t64.5 -69.5t53.5 -76t46 -87t30 -95t16 -107h-1276zM1504 1536q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9
h-1472q-14 0 -23 9t-9 23v128q0 14 9 23t23 9h1472z" />
    <glyph glyph-name="_560" unicode="&#xf255;"
d="M768 1152q-53 0 -90.5 -37.5t-37.5 -90.5v-128h-32v93q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-429l-32 30v172q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-224q0 -47 35 -82l310 -296q39 -39 39 -102q0 -26 19 -45t45 -19h640q26 0 45 19t19 45v25
q0 41 10 77l108 436q10 36 10 77v246q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-32h-32v125q0 40 -25 72.5t-64 40.5q-14 2 -23 2q-46 0 -79 -33t-33 -79v-128h-32v122q0 51 -32.5 89.5t-82.5 43.5q-5 1 -13 1zM768 1280q84 0 149 -50q57 34 123 34q59 0 111 -27
t86 -76q27 7 59 7q100 0 170 -71.5t70 -171.5v-246q0 -51 -13 -108l-109 -436q-6 -24 -6 -71q0 -80 -56 -136t-136 -56h-640q-84 0 -138 58.5t-54 142.5l-308 296q-76 73 -76 175v224q0 99 70.5 169.5t169.5 70.5q11 0 16 -1q6 95 75.5 160t164.5 65q52 0 98 -21
q72 69 174 69z" />
    <glyph glyph-name="_561" unicode="&#xf256;" horiz-adv-x="1792"
d="M880 1408q-46 0 -79 -33t-33 -79v-656h-32v528q0 46 -33 79t-79 33t-79 -33t-33 -79v-528v-256l-154 205q-38 51 -102 51q-53 0 -90.5 -37.5t-37.5 -90.5q0 -43 26 -77l384 -512q38 -51 102 -51h688q34 0 61 22t34 56l76 405q5 32 5 59v498q0 46 -33 79t-79 33t-79 -33
t-33 -79v-272h-32v528q0 46 -33 79t-79 33t-79 -33t-33 -79v-528h-32v656q0 46 -33 79t-79 33zM880 1536q68 0 125.5 -35.5t88.5 -96.5q19 4 42 4q99 0 169.5 -70.5t70.5 -169.5v-17q105 6 180.5 -64t75.5 -175v-498q0 -40 -8 -83l-76 -404q-14 -79 -76.5 -131t-143.5 -52
h-688q-60 0 -114.5 27.5t-90.5 74.5l-384 512q-51 68 -51 154q0 106 75 181t181 75q78 0 128 -34v434q0 99 70.5 169.5t169.5 70.5q23 0 42 -4q31 61 88.5 96.5t125.5 35.5z" />
    <glyph glyph-name="_562" unicode="&#xf257;" horiz-adv-x="1792"
d="M1073 -128h-177q-163 0 -226 141q-23 49 -23 102v5q-62 30 -98.5 88.5t-36.5 127.5q0 38 5 48h-261q-106 0 -181 75t-75 181t75 181t181 75h113l-44 17q-74 28 -119.5 93.5t-45.5 145.5q0 106 75 181t181 75q46 0 91 -17l628 -239h401q106 0 181 -75t75 -181v-668
q0 -88 -54 -157.5t-140 -90.5l-339 -85q-92 -23 -186 -23zM1024 583l-155 -71l-163 -74q-30 -14 -48 -41.5t-18 -60.5q0 -46 33 -79t79 -33q26 0 46 10l338 154q-49 10 -80.5 50t-31.5 90v55zM1344 272q0 46 -33 79t-79 33q-26 0 -46 -10l-290 -132q-28 -13 -37 -17
t-30.5 -17t-29.5 -23.5t-16 -29t-8 -40.5q0 -50 31.5 -82t81.5 -32q20 0 38 9l352 160q30 14 48 41.5t18 60.5zM1112 1024l-650 248q-24 8 -46 8q-53 0 -90.5 -37.5t-37.5 -90.5q0 -40 22.5 -73t59.5 -47l526 -200v-64h-640q-53 0 -90.5 -37.5t-37.5 -90.5t37.5 -90.5
t90.5 -37.5h535l233 106v198q0 63 46 106l111 102h-69zM1073 0q82 0 155 19l339 85q43 11 70 45.5t27 78.5v668q0 53 -37.5 90.5t-90.5 37.5h-308l-136 -126q-36 -33 -36 -82v-296q0 -46 33 -77t79 -31t79 35t33 81v208h32v-208q0 -70 -57 -114q52 -8 86.5 -48.5t34.5 -93.5
q0 -42 -23 -78t-61 -53l-310 -141h91z" />
    <glyph glyph-name="_563" unicode="&#xf258;" horiz-adv-x="2048"
d="M1151 1536q61 0 116 -28t91 -77l572 -781q118 -159 118 -359v-355q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v177l-286 143h-546q-80 0 -136 56t-56 136v32q0 119 84.5 203.5t203.5 84.5h420l42 128h-686q-100 0 -173.5 67.5t-81.5 166.5q-65 79 -65 182v32
q0 80 56 136t136 56h959zM1920 -64v355q0 157 -93 284l-573 781q-39 52 -103 52h-959q-26 0 -45 -19t-19 -45q0 -32 1.5 -49.5t9.5 -40.5t25 -43q10 31 35.5 50t56.5 19h832v-32h-832q-26 0 -45 -19t-19 -45q0 -44 3 -58q8 -44 44 -73t81 -29h640h91q40 0 68 -28t28 -68
q0 -15 -5 -30l-64 -192q-10 -29 -35 -47.5t-56 -18.5h-443q-66 0 -113 -47t-47 -113v-32q0 -26 19 -45t45 -19h561q16 0 29 -7l317 -158q24 -13 38.5 -36t14.5 -50v-197q0 -26 19 -45t45 -19h384q26 0 45 19t19 45z" />
    <glyph glyph-name="_564" unicode="&#xf259;" horiz-adv-x="2048"
d="M459 -256q-77 0 -137.5 47.5t-79.5 122.5l-101 401q-13 57 -13 108q0 45 -5 67l-116 477q-7 27 -7 57q0 93 62 161t155 78q17 85 82.5 139t152.5 54q83 0 148 -51.5t85 -132.5l83 -348l103 428q20 81 85 132.5t148 51.5q89 0 155.5 -57.5t80.5 -144.5q92 -10 152 -79
t60 -162q0 -24 -7 -59l-123 -512q10 7 37.5 28.5t38.5 29.5t35 23t41 20.5t41.5 11t49.5 5.5q105 0 180 -74t75 -179q0 -62 -28.5 -118t-78.5 -94l-507 -380q-68 -51 -153 -51h-694zM1104 1408q-38 0 -68.5 -24t-39.5 -62l-164 -682h-127l-145 602q-9 38 -39.5 62t-68.5 24
q-48 0 -80 -33t-32 -80q0 -15 3 -28l132 -547h-26l-99 408q-9 37 -40 62.5t-69 25.5q-47 0 -80 -33t-33 -79q0 -14 3 -26l116 -478q7 -28 9 -86t10 -88l100 -401q8 -32 34 -52.5t59 -20.5h694q42 0 76 26l507 379q56 43 56 110q0 52 -37.5 88.5t-89.5 36.5q-43 0 -77 -26
l-307 -230v227q0 4 32 138t68 282t39 161q4 18 4 29q0 47 -32 81t-79 34q-39 0 -69.5 -24t-39.5 -62l-116 -482h-26l150 624q3 14 3 28q0 48 -31.5 82t-79.5 34z" />
    <glyph glyph-name="_565" unicode="&#xf25a;" horiz-adv-x="1792"
d="M640 1408q-53 0 -90.5 -37.5t-37.5 -90.5v-512v-384l-151 202q-41 54 -107 54q-52 0 -89 -38t-37 -90q0 -43 26 -77l384 -512q38 -51 102 -51h718q22 0 39.5 13.5t22.5 34.5l92 368q24 96 24 194v217q0 41 -28 71t-68 30t-68 -28t-28 -68h-32v61q0 48 -32 81.5t-80 33.5
q-46 0 -79 -33t-33 -79v-64h-32v90q0 55 -37 94.5t-91 39.5q-53 0 -90.5 -37.5t-37.5 -90.5v-96h-32v570q0 55 -37 94.5t-91 39.5zM640 1536q107 0 181.5 -77.5t74.5 -184.5v-220q22 2 32 2q99 0 173 -69q47 21 99 21q113 0 184 -87q27 7 56 7q94 0 159 -67.5t65 -161.5
v-217q0 -116 -28 -225l-92 -368q-16 -64 -68 -104.5t-118 -40.5h-718q-60 0 -114.5 27.5t-90.5 74.5l-384 512q-51 68 -51 154q0 105 74.5 180.5t179.5 75.5q71 0 130 -35v547q0 106 75 181t181 75zM768 128v384h-32v-384h32zM1024 128v384h-32v-384h32zM1280 128v384h-32
v-384h32z" />
    <glyph glyph-name="_566" unicode="&#xf25b;"
d="M1288 889q60 0 107 -23q141 -63 141 -226v-177q0 -94 -23 -186l-85 -339q-21 -86 -90.5 -140t-157.5 -54h-668q-106 0 -181 75t-75 181v401l-239 628q-17 45 -17 91q0 106 75 181t181 75q80 0 145.5 -45.5t93.5 -119.5l17 -44v113q0 106 75 181t181 75t181 -75t75 -181
v-261q27 5 48 5q69 0 127.5 -36.5t88.5 -98.5zM1072 896q-33 0 -60.5 -18t-41.5 -48l-74 -163l-71 -155h55q50 0 90 -31.5t50 -80.5l154 338q10 20 10 46q0 46 -33 79t-79 33zM1293 761q-22 0 -40.5 -8t-29 -16t-23.5 -29.5t-17 -30.5t-17 -37l-132 -290q-10 -20 -10 -46
q0 -46 33 -79t79 -33q33 0 60.5 18t41.5 48l160 352q9 18 9 38q0 50 -32 81.5t-82 31.5zM128 1120q0 -22 8 -46l248 -650v-69l102 111q43 46 106 46h198l106 233v535q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5v-640h-64l-200 526q-14 37 -47 59.5t-73 22.5
q-53 0 -90.5 -37.5t-37.5 -90.5zM1180 -128q44 0 78.5 27t45.5 70l85 339q19 73 19 155v91l-141 -310q-17 -38 -53 -61t-78 -23q-53 0 -93.5 34.5t-48.5 86.5q-44 -57 -114 -57h-208v32h208q46 0 81 33t35 79t-31 79t-77 33h-296q-49 0 -82 -36l-126 -136v-308
q0 -53 37.5 -90.5t90.5 -37.5h668z" />
    <glyph glyph-name="_567" unicode="&#xf25c;" horiz-adv-x="1973"
d="M857 992v-117q0 -13 -9.5 -22t-22.5 -9h-298v-812q0 -13 -9 -22.5t-22 -9.5h-135q-13 0 -22.5 9t-9.5 23v812h-297q-13 0 -22.5 9t-9.5 22v117q0 14 9 23t23 9h793q13 0 22.5 -9.5t9.5 -22.5zM1895 995l77 -961q1 -13 -8 -24q-10 -10 -23 -10h-134q-12 0 -21 8.5
t-10 20.5l-46 588l-189 -425q-8 -19 -29 -19h-120q-20 0 -29 19l-188 427l-45 -590q-1 -12 -10 -20.5t-21 -8.5h-135q-13 0 -23 10q-9 10 -9 24l78 961q1 12 10 20.5t21 8.5h142q20 0 29 -19l220 -520q10 -24 20 -51q3 7 9.5 24.5t10.5 26.5l221 520q9 19 29 19h141
q13 0 22 -8.5t10 -20.5z" />
    <glyph glyph-name="_568" unicode="&#xf25d;" horiz-adv-x="1792"
d="M1042 833q0 88 -60 121q-33 18 -117 18h-123v-281h162q66 0 102 37t36 105zM1094 548l205 -373q8 -17 -1 -31q-8 -16 -27 -16h-152q-20 0 -28 17l-194 365h-155v-350q0 -14 -9 -23t-23 -9h-134q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h294q128 0 190 -24q85 -31 134 -109
t49 -180q0 -92 -42.5 -165.5t-115.5 -109.5q6 -10 9 -16zM896 1376q-150 0 -286 -58.5t-234.5 -157t-157 -234.5t-58.5 -286t58.5 -286t157 -234.5t234.5 -157t286 -58.5t286 58.5t234.5 157t157 234.5t58.5 286t-58.5 286t-157 234.5t-234.5 157t-286 58.5zM1792 640
q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="_569" unicode="&#xf25e;" horiz-adv-x="1792"
d="M605 303q153 0 257 104q14 18 3 36l-45 82q-6 13 -24 17q-16 2 -27 -11l-4 -3q-4 -4 -11.5 -10t-17.5 -13.5t-23.5 -14.5t-28.5 -13t-33.5 -9.5t-37.5 -3.5q-76 0 -125 50t-49 127q0 76 48 125.5t122 49.5q37 0 71.5 -14t50.5 -28l16 -14q11 -11 26 -10q16 2 24 14l53 78
q13 20 -2 39q-3 4 -11 12t-30 23.5t-48.5 28t-67.5 22.5t-86 10q-148 0 -246 -96.5t-98 -240.5q0 -146 97 -241.5t247 -95.5zM1235 303q153 0 257 104q14 18 4 36l-45 82q-8 14 -25 17q-16 2 -27 -11l-4 -3q-4 -4 -11.5 -10t-17.5 -13.5t-23.5 -14.5t-28.5 -13t-33.5 -9.5
t-37.5 -3.5q-76 0 -125 50t-49 127q0 76 48 125.5t122 49.5q37 0 71.5 -14t50.5 -28l16 -14q11 -11 26 -10q16 2 24 14l53 78q13 20 -2 39q-3 4 -11 12t-30 23.5t-48.5 28t-67.5 22.5t-86 10q-147 0 -245.5 -96.5t-98.5 -240.5q0 -146 97 -241.5t247 -95.5zM896 1376
q-150 0 -286 -58.5t-234.5 -157t-157 -234.5t-58.5 -286t58.5 -286t157 -234.5t234.5 -157t286 -58.5t286 58.5t234.5 157t157 234.5t58.5 286t-58.5 286t-157 234.5t-234.5 157t-286 58.5zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191
t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71z" />
    <glyph glyph-name="f260" unicode="&#xf260;" horiz-adv-x="2048"
d="M736 736l384 -384l-384 -384l-672 672l672 672l168 -168l-96 -96l-72 72l-480 -480l480 -480l193 193l-289 287zM1312 1312l672 -672l-672 -672l-168 168l96 96l72 -72l480 480l-480 480l-193 -193l289 -287l-96 -96l-384 384z" />
    <glyph glyph-name="f261" unicode="&#xf261;" horiz-adv-x="1792"
d="M717 182l271 271l-279 279l-88 -88l192 -191l-96 -96l-279 279l279 279l40 -40l87 87l-127 128l-454 -454zM1075 190l454 454l-454 454l-271 -271l279 -279l88 88l-192 191l96 96l279 -279l-279 -279l-40 40l-87 -88zM1792 640q0 -182 -71 -348t-191 -286t-286 -191
t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="_572" unicode="&#xf262;" horiz-adv-x="2304"
d="M651 539q0 -39 -27.5 -66.5t-65.5 -27.5q-39 0 -66.5 27.5t-27.5 66.5q0 38 27.5 65.5t66.5 27.5q38 0 65.5 -27.5t27.5 -65.5zM1805 540q0 -39 -27.5 -66.5t-66.5 -27.5t-66.5 27.5t-27.5 66.5t27.5 66t66.5 27t66.5 -27t27.5 -66zM765 539q0 79 -56.5 136t-136.5 57
t-136.5 -56.5t-56.5 -136.5t56.5 -136.5t136.5 -56.5t136.5 56.5t56.5 136.5zM1918 540q0 80 -56.5 136.5t-136.5 56.5q-79 0 -136 -56.5t-57 -136.5t56.5 -136.5t136.5 -56.5t136.5 56.5t56.5 136.5zM850 539q0 -116 -81.5 -197.5t-196.5 -81.5q-116 0 -197.5 82t-81.5 197
t82 196.5t197 81.5t196.5 -81.5t81.5 -196.5zM2004 540q0 -115 -81.5 -196.5t-197.5 -81.5q-115 0 -196.5 81.5t-81.5 196.5t81.5 196.5t196.5 81.5q116 0 197.5 -81.5t81.5 -196.5zM1040 537q0 191 -135.5 326.5t-326.5 135.5q-125 0 -231 -62t-168 -168.5t-62 -231.5
t62 -231.5t168 -168.5t231 -62q191 0 326.5 135.5t135.5 326.5zM1708 1110q-254 111 -556 111q-319 0 -573 -110q117 0 223 -45.5t182.5 -122.5t122 -183t45.5 -223q0 115 43.5 219.5t118 180.5t177.5 123t217 50zM2187 537q0 191 -135 326.5t-326 135.5t-326.5 -135.5
t-135.5 -326.5t135.5 -326.5t326.5 -135.5t326 135.5t135 326.5zM1921 1103h383q-44 -51 -75 -114.5t-40 -114.5q110 -151 110 -337q0 -156 -77 -288t-209 -208.5t-287 -76.5q-133 0 -249 56t-196 155q-47 -56 -129 -179q-11 22 -53.5 82.5t-74.5 97.5
q-80 -99 -196.5 -155.5t-249.5 -56.5q-155 0 -287 76.5t-209 208.5t-77 288q0 186 110 337q-9 51 -40 114.5t-75 114.5h365q149 100 355 156.5t432 56.5q224 0 421 -56t348 -157z" />
    <glyph glyph-name="f263" unicode="&#xf263;" horiz-adv-x="1280"
d="M640 629q-188 0 -321 133t-133 320q0 188 133 321t321 133t321 -133t133 -321q0 -187 -133 -320t-321 -133zM640 1306q-92 0 -157.5 -65.5t-65.5 -158.5q0 -92 65.5 -157.5t157.5 -65.5t157.5 65.5t65.5 157.5q0 93 -65.5 158.5t-157.5 65.5zM1163 574q13 -27 15 -49.5
t-4.5 -40.5t-26.5 -38.5t-42.5 -37t-61.5 -41.5q-115 -73 -315 -94l73 -72l267 -267q30 -31 30 -74t-30 -73l-12 -13q-31 -30 -74 -30t-74 30q-67 68 -267 268l-267 -268q-31 -30 -74 -30t-73 30l-12 13q-31 30 -31 73t31 74l267 267l72 72q-203 21 -317 94
q-39 25 -61.5 41.5t-42.5 37t-26.5 38.5t-4.5 40.5t15 49.5q10 20 28 35t42 22t56 -2t65 -35q5 -4 15 -11t43 -24.5t69 -30.5t92 -24t113 -11q91 0 174 25.5t120 50.5l38 25q33 26 65 35t56 2t42 -22t28 -35z" />
    <glyph glyph-name="_574" unicode="&#xf264;"
d="M927 956q0 -66 -46.5 -112.5t-112.5 -46.5t-112.5 46.5t-46.5 112.5t46.5 112.5t112.5 46.5t112.5 -46.5t46.5 -112.5zM1141 593q-10 20 -28 32t-47.5 9.5t-60.5 -27.5q-10 -8 -29 -20t-81 -32t-127 -20t-124 18t-86 36l-27 18q-31 25 -60.5 27.5t-47.5 -9.5t-28 -32
q-22 -45 -2 -74.5t87 -73.5q83 -53 226 -67l-51 -52q-142 -142 -191 -190q-22 -22 -22 -52.5t22 -52.5l9 -9q22 -22 52.5 -22t52.5 22l191 191q114 -115 191 -191q22 -22 52.5 -22t52.5 22l9 9q22 22 22 52.5t-22 52.5l-191 190l-52 52q141 14 225 67q67 44 87 73.5t-2 74.5
zM1092 956q0 134 -95 229t-229 95t-229 -95t-95 -229t95 -229t229 -95t229 95t95 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="_575" unicode="&#xf265;" horiz-adv-x="1720"
d="M1565 1408q65 0 110 -45.5t45 -110.5v-519q0 -176 -68 -336t-182.5 -275t-274 -182.5t-334.5 -67.5q-176 0 -335.5 67.5t-274.5 182.5t-183 275t-68 336v519q0 64 46 110t110 46h1409zM861 344q47 0 82 33l404 388q37 35 37 85q0 49 -34.5 83.5t-83.5 34.5q-47 0 -82 -33
l-323 -310l-323 310q-35 33 -81 33q-49 0 -83.5 -34.5t-34.5 -83.5q0 -51 36 -85l405 -388q33 -33 81 -33z" />
    <glyph glyph-name="_576" unicode="&#xf266;" horiz-adv-x="2304"
d="M1494 -103l-295 695q-25 -49 -158.5 -305.5t-198.5 -389.5q-1 -1 -27.5 -0.5t-26.5 1.5q-82 193 -255.5 587t-259.5 596q-21 50 -66.5 107.5t-103.5 100.5t-102 43q0 5 -0.5 24t-0.5 27h583v-50q-39 -2 -79.5 -16t-66.5 -43t-10 -64q26 -59 216.5 -499t235.5 -540
q31 61 140 266.5t131 247.5q-19 39 -126 281t-136 295q-38 69 -201 71v50l513 -1v-47q-60 -2 -93.5 -25t-12.5 -69q33 -70 87 -189.5t86 -187.5q110 214 173 363q24 55 -10 79.5t-129 26.5q1 7 1 25v24q64 0 170.5 0.5t180 1t92.5 0.5v-49q-62 -2 -119 -33t-90 -81
l-213 -442q13 -33 127.5 -290t121.5 -274l441 1017q-14 38 -49.5 62.5t-65 31.5t-55.5 8v50l460 -4l1 -2l-1 -44q-139 -4 -201 -145q-526 -1216 -559 -1291h-49z" />
    <glyph glyph-name="_577" unicode="&#xf267;" horiz-adv-x="1792"
d="M949 643q0 -26 -16.5 -45t-41.5 -19q-26 0 -45 16.5t-19 41.5q0 26 17 45t42 19t44 -16.5t19 -41.5zM964 585l350 581q-9 -8 -67.5 -62.5t-125.5 -116.5t-136.5 -127t-117 -110.5t-50.5 -51.5l-349 -580q7 7 67 62t126 116.5t136 127t117 111t50 50.5zM1611 640
q0 -201 -104 -371q-3 2 -17 11t-26.5 16.5t-16.5 7.5q-13 0 -13 -13q0 -10 59 -44q-74 -112 -184.5 -190.5t-241.5 -110.5l-16 67q-1 10 -15 10q-5 0 -8 -5.5t-2 -9.5l16 -68q-72 -15 -146 -15q-199 0 -372 105q1 2 13 20.5t21.5 33.5t9.5 19q0 13 -13 13q-6 0 -17 -14.5
t-22.5 -34.5t-13.5 -23q-113 75 -192 187.5t-110 244.5l69 15q10 3 10 15q0 5 -5.5 8t-10.5 2l-68 -15q-14 72 -14 139q0 206 109 379q2 -1 18.5 -12t30 -19t17.5 -8q13 0 13 12q0 6 -12.5 15.5t-32.5 21.5l-20 12q77 112 189 189t244 107l15 -67q2 -10 15 -10q5 0 8 5.5
t2 10.5l-15 66q71 13 134 13q204 0 379 -109q-39 -56 -39 -65q0 -13 12 -13q11 0 48 64q111 -75 187.5 -186t107.5 -241l-56 -12q-10 -2 -10 -16q0 -5 5.5 -8t9.5 -2l57 13q14 -72 14 -140zM1696 640q0 163 -63.5 311t-170.5 255t-255 170.5t-311 63.5t-311 -63.5
t-255 -170.5t-170.5 -255t-63.5 -311t63.5 -311t170.5 -255t255 -170.5t311 -63.5t311 63.5t255 170.5t170.5 255t63.5 311zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191
t191 -286t71 -348z" />
    <glyph glyph-name="_578" unicode="&#xf268;" horiz-adv-x="1792"
d="M893 1536q240 2 451 -120q232 -134 352 -372l-742 39q-160 9 -294 -74.5t-185 -229.5l-276 424q128 159 311 245.5t383 87.5zM146 1131l337 -663q72 -143 211 -217t293 -45l-230 -451q-212 33 -385 157.5t-272.5 316t-99.5 411.5q0 267 146 491zM1732 962
q58 -150 59.5 -310.5t-48.5 -306t-153 -272t-246 -209.5q-230 -133 -498 -119l405 623q88 131 82.5 290.5t-106.5 277.5zM896 942q125 0 213.5 -88.5t88.5 -213.5t-88.5 -213.5t-213.5 -88.5t-213.5 88.5t-88.5 213.5t88.5 213.5t213.5 88.5z" />
    <glyph glyph-name="_579" unicode="&#xf269;" horiz-adv-x="1792"
d="M903 -256q-283 0 -504.5 150.5t-329.5 398.5q-58 131 -67 301t26 332.5t111 312t179 242.5l-11 -281q11 14 68 15.5t70 -15.5q42 81 160.5 138t234.5 59q-54 -45 -119.5 -148.5t-58.5 -163.5q25 -8 62.5 -13.5t63 -7.5t68 -4t50.5 -3q15 -5 9.5 -45.5t-30.5 -75.5
q-5 -7 -16.5 -18.5t-56.5 -35.5t-101 -34l15 -189l-139 67q-18 -43 -7.5 -81.5t36 -66.5t65.5 -41.5t81 -6.5q51 9 98 34.5t83.5 45t73.5 17.5q61 -4 89.5 -33t19.5 -65q-1 -2 -2.5 -5.5t-8.5 -12.5t-18 -15.5t-31.5 -10.5t-46.5 -1q-60 -95 -144.5 -135.5t-209.5 -29.5
q74 -61 162.5 -82.5t168.5 -6t154.5 52t128 87.5t80.5 104q43 91 39 192.5t-37.5 188.5t-78.5 125q87 -38 137 -79.5t77 -112.5q15 170 -57.5 343t-209.5 284q265 -77 412 -279.5t151 -517.5q2 -127 -40.5 -255t-123.5 -238t-189 -196t-247.5 -135.5t-288.5 -49.5z" />
    <glyph glyph-name="_580" unicode="&#xf26a;" horiz-adv-x="1792"
d="M1493 1308q-165 110 -359 110q-155 0 -293 -73t-240 -200q-75 -93 -119.5 -218t-48.5 -266v-42q4 -141 48.5 -266t119.5 -218q102 -127 240 -200t293 -73q194 0 359 110q-121 -108 -274.5 -168t-322.5 -60q-29 0 -43 1q-175 8 -333 82t-272 193t-181 281t-67 339
q0 182 71 348t191 286t286 191t348 71h3q168 -1 320.5 -60.5t273.5 -167.5zM1792 640q0 -192 -77 -362.5t-213 -296.5q-104 -63 -222 -63q-137 0 -255 84q154 56 253.5 233t99.5 405q0 227 -99 404t-253 234q119 83 254 83q119 0 226 -65q135 -125 210.5 -295t75.5 -361z
" />
    <glyph glyph-name="_581" unicode="&#xf26b;" horiz-adv-x="1792"
d="M1792 599q0 -56 -7 -104h-1151q0 -146 109.5 -244.5t257.5 -98.5q99 0 185.5 46.5t136.5 130.5h423q-56 -159 -170.5 -281t-267.5 -188.5t-321 -66.5q-187 0 -356 83q-228 -116 -394 -116q-237 0 -237 263q0 115 45 275q17 60 109 229q199 360 475 606
q-184 -79 -427 -354q63 274 283.5 449.5t501.5 175.5q30 0 45 -1q255 117 433 117q64 0 116 -13t94.5 -40.5t66.5 -76.5t24 -115q0 -116 -75 -286q101 -182 101 -390zM1722 1239q0 83 -53 132t-137 49q-108 0 -254 -70q121 -47 222.5 -131.5t170.5 -195.5q51 135 51 216z
M128 2q0 -86 48.5 -132.5t134.5 -46.5q115 0 266 83q-122 72 -213.5 183t-137.5 245q-98 -205 -98 -332zM632 715h728q-5 142 -113 237t-251 95q-144 0 -251.5 -95t-112.5 -237z" />
    <glyph glyph-name="_582" unicode="&#xf26c;" horiz-adv-x="2048"
d="M1792 288v960q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1248v-960q0 -66 -47 -113t-113 -47h-736v-128h352q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23
v64q0 14 9 23t23 9h352v128h-736q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
    <glyph glyph-name="_583" unicode="&#xf26d;" horiz-adv-x="1792"
d="M138 1408h197q-70 -64 -126 -149q-36 -56 -59 -115t-30 -125.5t-8.5 -120t10.5 -132t21 -126t28 -136.5q4 -19 6 -28q51 -238 81 -329q57 -171 152 -275h-272q-48 0 -82 34t-34 82v1304q0 48 34 82t82 34zM1346 1408h308q48 0 82 -34t34 -82v-1304q0 -48 -34 -82t-82 -34
h-178q212 210 196 565l-469 -101q-2 -45 -12 -82t-31 -72t-59.5 -59.5t-93.5 -36.5q-123 -26 -199 40q-32 27 -53 61t-51.5 129t-64.5 258q-35 163 -45.5 263t-5.5 139t23 77q20 41 62.5 73t102.5 45q45 12 83.5 6.5t67 -17t54 -35t43 -48t34.5 -56.5l468 100
q-68 175 -180 287z" />
    <glyph glyph-name="_584" unicode="&#xf26e;"
d="M1401 -11l-6 -6q-113 -113 -259 -175q-154 -64 -317 -64q-165 0 -317 64q-148 63 -259 175q-113 112 -175 258q-42 103 -54 189q-4 28 48 36q51 8 56 -20q1 -1 1 -4q18 -90 46 -159q50 -124 152 -226q98 -98 226 -152q132 -56 276 -56q143 0 276 56q128 55 225 152l6 6
q10 10 25 6q12 -3 33 -22q36 -37 17 -58zM929 604l-66 -66l63 -63q21 -21 -7 -49q-17 -17 -32 -17q-10 0 -19 10l-62 61l-66 -66q-5 -5 -15 -5q-15 0 -31 16l-2 2q-18 15 -18 29q0 7 8 17l66 65l-66 66q-16 16 14 45q18 18 31 18q6 0 13 -5l65 -66l65 65q18 17 48 -13
q27 -27 11 -44zM1400 547q0 -118 -46 -228q-45 -105 -126 -186q-80 -80 -187 -126t-228 -46t-228 46t-187 126q-82 82 -125 186q-15 33 -15 40h-1q-9 27 43 44q50 16 60 -12q37 -99 97 -167h1v339v2q3 136 102 232q105 103 253 103q147 0 251 -103t104 -249
q0 -147 -104.5 -251t-250.5 -104q-58 0 -112 16q-28 11 -13 61q16 51 44 43l14 -3q14 -3 33 -6t30 -3q104 0 176 71.5t72 174.5q0 101 -72 171q-71 71 -175 71q-107 0 -178 -80q-64 -72 -64 -160v-413q110 -67 242 -67q96 0 185 36.5t156 103.5t103.5 155t36.5 183
q0 198 -141 339q-140 140 -339 140q-200 0 -340 -140q-53 -53 -77 -87l-2 -2q-8 -11 -13 -15.5t-21.5 -9.5t-38.5 3q-21 5 -36.5 16.5t-15.5 26.5v680q0 15 10.5 26.5t27.5 11.5h877q30 0 30 -55t-30 -55h-811v-483h1q40 42 102 84t108 61q109 46 231 46q121 0 228 -46
t187 -126q81 -81 126 -186q46 -112 46 -229zM1369 1128q9 -8 9 -18t-5.5 -18t-16.5 -21q-26 -26 -39 -26q-9 0 -16 7q-106 91 -207 133q-128 56 -276 56q-133 0 -262 -49q-27 -10 -45 37q-9 25 -8 38q3 16 16 20q130 57 299 57q164 0 316 -64q137 -58 235 -152z" />
    <glyph glyph-name="_585" unicode="&#xf270;" horiz-adv-x="1792"
d="M1551 60q15 6 26 3t11 -17.5t-15 -33.5q-13 -16 -44 -43.5t-95.5 -68t-141 -74t-188 -58t-229.5 -24.5q-119 0 -238 31t-209 76.5t-172.5 104t-132.5 105t-84 87.5q-8 9 -10 16.5t1 12t8 7t11.5 2t11.5 -4.5q192 -117 300 -166q389 -176 799 -90q190 40 391 135z
M1758 175q11 -16 2.5 -69.5t-28.5 -102.5q-34 -83 -85 -124q-17 -14 -26 -9t0 24q21 45 44.5 121.5t6.5 98.5q-5 7 -15.5 11.5t-27 6t-29.5 2.5t-35 0t-31.5 -2t-31 -3t-22.5 -2q-6 -1 -13 -1.5t-11 -1t-8.5 -1t-7 -0.5h-5.5h-4.5t-3 0.5t-2 1.5l-1.5 3q-6 16 47 40t103 30
q46 7 108 1t76 -24zM1364 618q0 -31 13.5 -64t32 -58t37.5 -46t33 -32l13 -11l-227 -224q-40 37 -79 75.5t-58 58.5l-19 20q-11 11 -25 33q-38 -59 -97.5 -102.5t-127.5 -63.5t-140 -23t-137.5 21t-117.5 65.5t-83 113t-31 162.5q0 84 28 154t72 116.5t106.5 83t122.5 57
t130 34.5t119.5 18.5t99.5 6.5v127q0 65 -21 97q-34 53 -121 53q-6 0 -16.5 -1t-40.5 -12t-56 -29.5t-56 -59.5t-48 -96l-294 27q0 60 22 119t67 113t108 95t151.5 65.5t190.5 24.5q100 0 181 -25t129.5 -61.5t81 -83t45 -86t12.5 -73.5v-589zM692 597q0 -86 70 -133
q66 -44 139 -22q84 25 114 123q14 45 14 101v162q-59 -2 -111 -12t-106.5 -33.5t-87 -71t-32.5 -114.5z" />
    <glyph glyph-name="_586" unicode="&#xf271;" horiz-adv-x="1792"
d="M1536 1280q52 0 90 -38t38 -90v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128zM1152 1376v-288q0 -14 9 -23t23 -9
h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 1376v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM1536 -128v1024h-1408v-1024h1408zM896 448h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224
v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224z" />
    <glyph glyph-name="_587" unicode="&#xf272;" horiz-adv-x="1792"
d="M1152 416v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23 -9t9 -23zM128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23
t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47
t47 -113v-96h128q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_588" unicode="&#xf273;" horiz-adv-x="1792"
d="M1111 151l-46 -46q-9 -9 -22 -9t-23 9l-188 189l-188 -189q-10 -9 -23 -9t-22 9l-46 46q-9 9 -9 22t9 23l189 188l-189 188q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l188 -188l188 188q10 9 23 9t22 -9l46 -46q9 -9 9 -22t-9 -23l-188 -188l188 -188q9 -10 9 -23t-9 -22z
M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280
q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_589" unicode="&#xf274;" horiz-adv-x="1792"
d="M1303 572l-512 -512q-10 -9 -23 -9t-23 9l-288 288q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l220 -220l444 444q10 9 23 9t22 -9l46 -46q9 -9 9 -22t-9 -23zM128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23
t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47
t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
    <glyph glyph-name="_590" unicode="&#xf275;" horiz-adv-x="1792"
d="M448 1536q26 0 45 -19t19 -45v-891l536 429q17 14 40 14q26 0 45 -19t19 -45v-379l536 429q17 14 40 14q26 0 45 -19t19 -45v-1152q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h384z" />
    <glyph glyph-name="_591" unicode="&#xf276;" horiz-adv-x="1024"
d="M512 448q66 0 128 15v-655q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v655q62 -15 128 -15zM512 1536q212 0 362 -150t150 -362t-150 -362t-362 -150t-362 150t-150 362t150 362t362 150zM512 1312q14 0 23 9t9 23t-9 23t-23 9q-146 0 -249 -103t-103 -249
q0 -14 9 -23t23 -9t23 9t9 23q0 119 84.5 203.5t203.5 84.5z" />
    <glyph glyph-name="_592" unicode="&#xf277;" horiz-adv-x="1792"
d="M1745 1239q10 -10 10 -23t-10 -23l-141 -141q-28 -28 -68 -28h-1344q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h576v64q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-64h512q40 0 68 -28zM768 320h256v-512q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v512zM1600 768
q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1344q-40 0 -68 28l-141 141q-10 10 -10 23t10 23l141 141q28 28 68 28h512v192h256v-192h576z" />
    <glyph glyph-name="_593" unicode="&#xf278;" horiz-adv-x="2048"
d="M2020 1525q28 -20 28 -53v-1408q0 -20 -11 -36t-29 -23l-640 -256q-24 -11 -48 0l-616 246l-616 -246q-10 -5 -24 -5q-19 0 -36 11q-28 20 -28 53v1408q0 20 11 36t29 23l640 256q24 11 48 0l616 -246l616 246q32 13 60 -6zM736 1390v-1270l576 -230v1270zM128 1173
v-1270l544 217v1270zM1920 107v1270l-544 -217v-1270z" />
    <glyph glyph-name="_594" unicode="&#xf279;" horiz-adv-x="1792"
d="M512 1536q13 0 22.5 -9.5t9.5 -22.5v-1472q0 -20 -17 -28l-480 -256q-7 -4 -15 -4q-13 0 -22.5 9.5t-9.5 22.5v1472q0 20 17 28l480 256q7 4 15 4zM1760 1536q13 0 22.5 -9.5t9.5 -22.5v-1472q0 -20 -17 -28l-480 -256q-7 -4 -15 -4q-13 0 -22.5 9.5t-9.5 22.5v1472
q0 20 17 28l480 256q7 4 15 4zM640 1536q8 0 14 -3l512 -256q18 -10 18 -29v-1472q0 -13 -9.5 -22.5t-22.5 -9.5q-8 0 -14 3l-512 256q-18 10 -18 29v1472q0 13 9.5 22.5t22.5 9.5z" />
    <glyph glyph-name="_595" unicode="&#xf27a;" horiz-adv-x="1792"
d="M640 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 640q0 53 -37.5 90.5t-90.5 37.5
t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-110 0 -211 18q-173 -173 -435 -229q-52 -10 -86 -13q-12 -1 -22 6t-13 18q-4 15 20 37q5 5 23.5 21.5t25.5 23.5t23.5 25.5t24 31.5t20.5 37
t20 48t14.5 57.5t12.5 72.5q-146 90 -229.5 216.5t-83.5 269.5q0 174 120 321.5t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
    <glyph glyph-name="_596" unicode="&#xf27b;" horiz-adv-x="1792"
d="M640 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 -53 -37.5 -90.5t-90.5 -37.5
t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5
t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51
t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 130 71 248.5t191 204.5t286 136.5t348 50.5t348 -50.5t286 -136.5t191 -204.5t71 -248.5z" />
    <glyph glyph-name="_597" unicode="&#xf27c;" horiz-adv-x="1024"
d="M512 345l512 295v-591l-512 -296v592zM0 640v-591l512 296zM512 1527v-591l-512 -296v591zM512 936l512 295v-591z" />
    <glyph glyph-name="_598" unicode="&#xf27d;" horiz-adv-x="1792"
d="M1709 1018q-10 -236 -332 -651q-333 -431 -562 -431q-142 0 -240 263q-44 160 -132 482q-72 262 -157 262q-18 0 -127 -76l-77 98q24 21 108 96.5t130 115.5q156 138 241 146q95 9 153 -55.5t81 -203.5q44 -287 66 -373q55 -249 120 -249q51 0 154 161q101 161 109 246
q13 139 -109 139q-57 0 -121 -26q120 393 459 382q251 -8 236 -326z" />
    <glyph glyph-name="f27e" unicode="&#xf27e;"
d="M0 1408h1536v-1536h-1536v1536zM1085 293l-221 631l221 297h-634l221 -297l-221 -631l317 -304z" />
    <glyph glyph-name="uniF280" unicode="&#xf280;"
d="M0 1408h1536v-1536h-1536v1536zM908 1088l-12 -33l75 -83l-31 -114l25 -25l107 57l107 -57l25 25l-31 114l75 83l-12 33h-95l-53 96h-32l-53 -96h-95zM641 925q32 0 44.5 -16t11.5 -63l174 21q0 55 -17.5 92.5t-50.5 56t-69 25.5t-85 7q-133 0 -199 -57.5t-66 -182.5v-72
h-96v-128h76q20 0 20 -8v-382q0 -14 -5 -20t-18 -7l-73 -7v-88h448v86l-149 14q-6 1 -8.5 1.5t-3.5 2.5t-0.5 4t1 7t0.5 10v387h191l38 128h-231q-6 0 -2 6t4 9v80q0 27 1.5 40.5t7.5 28t19.5 20t36.5 5.5zM1248 96v86l-54 9q-7 1 -9.5 2.5t-2.5 3t1 7.5t1 12v520h-275
l-23 -101l83 -22q23 -7 23 -27v-370q0 -14 -6 -18.5t-20 -6.5l-70 -9v-86h352z" />
    <glyph glyph-name="uniF281" unicode="&#xf281;" horiz-adv-x="1792"
d="M1792 690q0 -58 -29.5 -105.5t-79.5 -72.5q12 -46 12 -96q0 -155 -106.5 -287t-290.5 -208.5t-400 -76.5t-399.5 76.5t-290 208.5t-106.5 287q0 47 11 94q-51 25 -82 73.5t-31 106.5q0 82 58 140.5t141 58.5q85 0 145 -63q218 152 515 162l116 521q3 13 15 21t26 5
l369 -81q18 37 54 59.5t79 22.5q62 0 106 -43.5t44 -105.5t-44 -106t-106 -44t-105.5 43.5t-43.5 105.5l-334 74l-104 -472q300 -9 519 -160q58 61 143 61q83 0 141 -58.5t58 -140.5zM418 491q0 -62 43.5 -106t105.5 -44t106 44t44 106t-44 105.5t-106 43.5q-61 0 -105 -44
t-44 -105zM1228 136q11 11 11 26t-11 26q-10 10 -25 10t-26 -10q-41 -42 -121 -62t-160 -20t-160 20t-121 62q-11 10 -26 10t-25 -10q-11 -10 -11 -25.5t11 -26.5q43 -43 118.5 -68t122.5 -29.5t91 -4.5t91 4.5t122.5 29.5t118.5 68zM1225 341q62 0 105.5 44t43.5 106
q0 61 -44 105t-105 44q-62 0 -106 -43.5t-44 -105.5t44 -106t106 -44z" />
    <glyph glyph-name="_602" unicode="&#xf282;" horiz-adv-x="1792"
d="M69 741h1q16 126 58.5 241.5t115 217t167.5 176t223.5 117.5t276.5 43q231 0 414 -105.5t294 -303.5q104 -187 104 -442v-188h-1125q1 -111 53.5 -192.5t136.5 -122.5t189.5 -57t213 -3t208 46.5t173.5 84.5v-377q-92 -55 -229.5 -92t-312.5 -38t-316 53
q-189 73 -311.5 249t-124.5 372q-3 242 111 412t325 268q-48 -60 -78 -125.5t-46 -159.5h635q8 77 -8 140t-47 101.5t-70.5 66.5t-80.5 41t-75 20.5t-56 8.5l-22 1q-135 -5 -259.5 -44.5t-223.5 -104.5t-176 -140.5t-138 -163.5z" />
    <glyph glyph-name="_603" unicode="&#xf283;" horiz-adv-x="2304"
d="M0 32v608h2304v-608q0 -66 -47 -113t-113 -47h-1984q-66 0 -113 47t-47 113zM640 256v-128h384v128h-384zM256 256v-128h256v128h-256zM2144 1408q66 0 113 -47t47 -113v-224h-2304v224q0 66 47 113t113 47h1984z" />
    <glyph glyph-name="_604" unicode="&#xf284;" horiz-adv-x="1792"
d="M1584 246l-218 111q-74 -120 -196.5 -189t-263.5 -69q-147 0 -271 72t-196 196t-72 270q0 110 42.5 209.5t115 172t172 115t209.5 42.5q131 0 247.5 -60.5t192.5 -168.5l215 125q-110 169 -286.5 265t-378.5 96q-161 0 -308 -63t-253 -169t-169 -253t-63 -308t63 -308
t169 -253t253 -169t308 -63q213 0 397.5 107t290.5 292zM1030 643l693 -352q-116 -253 -334.5 -400t-492.5 -147q-182 0 -348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71q260 0 470.5 -133.5t335.5 -366.5zM1543 640h-39v-160h-96v352h136q32 0 54.5 -20
t28.5 -48t1 -56t-27.5 -48t-57.5 -20z" />
    <glyph glyph-name="uniF285" unicode="&#xf285;" horiz-adv-x="1792"
d="M1427 827l-614 386l92 151h855zM405 562l-184 116v858l1183 -743zM1424 697l147 -95v-858l-532 335zM1387 718l-500 -802h-855l356 571z" />
    <glyph glyph-name="uniF286" unicode="&#xf286;" horiz-adv-x="1792"
d="M640 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1152 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1664 496v-752h-640v320q0 80 -56 136t-136 56t-136 -56t-56 -136v-320h-640v752q0 16 16 16h96
q16 0 16 -16v-112h128v624q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 6 2.5 9.5t8.5 5t9.5 2t11.5 0t9 -0.5v391q-32 15 -32 50q0 23 16.5 39t38.5 16t38.5 -16t16.5 -39q0 -35 -32 -50v-17q45 10 83 10q21 0 59.5 -7.5t54.5 -7.5
q17 0 47 7.5t37 7.5q16 0 16 -16v-210q0 -15 -35 -21.5t-62 -6.5q-18 0 -54.5 7.5t-55.5 7.5q-40 0 -90 -12v-133q1 0 9 0.5t11.5 0t9.5 -2t8.5 -5t2.5 -9.5v-112h128v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-624h128v112q0 16 16 16h96
q16 0 16 -16z" />
    <glyph glyph-name="_607" unicode="&#xf287;" horiz-adv-x="2304"
d="M2288 731q16 -8 16 -27t-16 -27l-320 -192q-8 -5 -16 -5q-9 0 -16 4q-16 10 -16 28v128h-858q37 -58 83 -165q16 -37 24.5 -55t24 -49t27 -47t27 -34t31.5 -26t33 -8h96v96q0 14 9 23t23 9h320q14 0 23 -9t9 -23v-320q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v96h-96
q-32 0 -61 10t-51 23.5t-45 40.5t-37 46t-33.5 57t-28.5 57.5t-28 60.5q-23 53 -37 81.5t-36 65t-44.5 53.5t-46.5 17h-360q-22 -84 -91 -138t-157 -54q-106 0 -181 75t-75 181t75 181t181 75q88 0 157 -54t91 -138h104q24 0 46.5 17t44.5 53.5t36 65t37 81.5q19 41 28 60.5
t28.5 57.5t33.5 57t37 46t45 40.5t51 23.5t61 10h107q21 57 70 92.5t111 35.5q80 0 136 -56t56 -136t-56 -136t-136 -56q-62 0 -111 35.5t-70 92.5h-107q-17 0 -33 -8t-31.5 -26t-27 -34t-27 -47t-24 -49t-24.5 -55q-46 -107 -83 -165h1114v128q0 18 16 28t32 -1z" />
    <glyph glyph-name="_608" unicode="&#xf288;" horiz-adv-x="1792"
d="M1150 774q0 -56 -39.5 -95t-95.5 -39h-253v269h253q56 0 95.5 -39.5t39.5 -95.5zM1329 774q0 130 -91.5 222t-222.5 92h-433v-896h180v269h253q130 0 222 91.5t92 221.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348
t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="_609" unicode="&#xf289;" horiz-adv-x="2304"
d="M1645 438q0 59 -34 106.5t-87 68.5q-7 -45 -23 -92q-7 -24 -27.5 -38t-44.5 -14q-12 0 -24 3q-31 10 -45 38.5t-4 58.5q23 71 23 143q0 123 -61 227.5t-166 165.5t-228 61q-134 0 -247 -73t-167 -194q108 -28 188 -106q22 -23 22 -55t-22 -54t-54 -22t-55 22
q-75 75 -180 75q-106 0 -181 -74.5t-75 -180.5t75 -180.5t181 -74.5h1046q79 0 134.5 55.5t55.5 133.5zM1798 438q0 -142 -100.5 -242t-242.5 -100h-1046q-169 0 -289 119.5t-120 288.5q0 153 100 267t249 136q62 184 221 298t354 114q235 0 408.5 -158.5t196.5 -389.5
q116 -25 192.5 -118.5t76.5 -214.5zM2048 438q0 -175 -97 -319q-23 -33 -64 -33q-24 0 -43 13q-26 17 -32 48.5t12 57.5q71 104 71 233t-71 233q-18 26 -12 57t32 49t57.5 11.5t49.5 -32.5q97 -142 97 -318zM2304 438q0 -244 -134 -443q-23 -34 -64 -34q-23 0 -42 13
q-26 18 -32.5 49t11.5 57q108 164 108 358q0 195 -108 357q-18 26 -11.5 57.5t32.5 48.5q26 18 57 12t49 -33q134 -198 134 -442z" />
    <glyph glyph-name="_610" unicode="&#xf28a;"
d="M1500 -13q0 -89 -63 -152.5t-153 -63.5t-153.5 63.5t-63.5 152.5q0 90 63.5 153.5t153.5 63.5t153 -63.5t63 -153.5zM1267 268q-115 -15 -192.5 -102.5t-77.5 -205.5q0 -74 33 -138q-146 -78 -379 -78q-109 0 -201 21t-153.5 54.5t-110.5 76.5t-76 85t-44.5 83
t-23.5 66.5t-6 39.5q0 19 4.5 42.5t18.5 56t36.5 58t64 43.5t94.5 18t94 -17.5t63 -41t35.5 -53t17.5 -49t4 -33.5q0 -34 -23 -81q28 -27 82 -42t93 -17l40 -1q115 0 190 51t75 133q0 26 -9 48.5t-31.5 44.5t-49.5 41t-74 44t-93.5 47.5t-119.5 56.5q-28 13 -43 20
q-116 55 -187 100t-122.5 102t-72 125.5t-20.5 162.5q0 78 20.5 150t66 137.5t112.5 114t166.5 77t221.5 28.5q120 0 220 -26t164.5 -67t109.5 -94t64 -105.5t19 -103.5q0 -46 -15 -82.5t-36.5 -58t-48.5 -36t-49 -19.5t-39 -5h-8h-32t-39 5t-44 14t-41 28t-37 46t-24 70.5
t-10 97.5q-15 16 -59 25.5t-81 10.5l-37 1q-68 0 -117.5 -31t-70.5 -70t-21 -76q0 -24 5 -43t24 -46t53 -51t97 -53.5t150 -58.5q76 -25 138.5 -53.5t109 -55.5t83 -59t60.5 -59.5t41 -62.5t26.5 -62t14.5 -63.5t6 -62t1 -62.5z" />
    <glyph glyph-name="_611" unicode="&#xf28b;"
d="M704 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1152 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103
t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_612" unicode="&#xf28c;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273
t73 -273t198 -198t273 -73zM864 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192z" />
    <glyph glyph-name="_613" unicode="&#xf28d;"
d="M1088 352v576q0 14 -9 23t-23 9h-576q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h576q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5
t103 -385.5z" />
    <glyph glyph-name="_614" unicode="&#xf28e;"
d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273
t73 -273t198 -198t273 -73zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h576q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-576z" />
    <glyph glyph-name="_615" unicode="&#xf290;" horiz-adv-x="1792"
d="M1757 128l35 -313q3 -28 -16 -50q-19 -21 -48 -21h-1664q-29 0 -48 21q-19 22 -16 50l35 313h1722zM1664 967l86 -775h-1708l86 775q3 24 21 40.5t43 16.5h256v-128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5v128h384v-128q0 -53 37.5 -90.5t90.5 -37.5
t90.5 37.5t37.5 90.5v128h256q25 0 43 -16.5t21 -40.5zM1280 1152v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
    <glyph glyph-name="_616" unicode="&#xf291;" horiz-adv-x="2048"
d="M1920 768q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5h-15l-115 -662q-8 -46 -44 -76t-82 -30h-1280q-46 0 -82 30t-44 76l-115 662h-15q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5h1792zM485 -32q26 2 43.5 22.5t15.5 46.5l-32 416q-2 26 -22.5 43.5
t-46.5 15.5t-43.5 -22.5t-15.5 -46.5l32 -416q2 -25 20.5 -42t43.5 -17h5zM896 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1280 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1632 27l32 416
q2 26 -15.5 46.5t-43.5 22.5t-46.5 -15.5t-22.5 -43.5l-32 -416q-2 -26 15.5 -46.5t43.5 -22.5h5q25 0 43.5 17t20.5 42zM476 1244l-93 -412h-132l101 441q19 88 89 143.5t160 55.5h167q0 26 19 45t45 19h384q26 0 45 -19t19 -45h167q90 0 160 -55.5t89 -143.5l101 -441
h-132l-93 412q-11 44 -45.5 72t-79.5 28h-167q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45h-167q-45 0 -79.5 -28t-45.5 -72z" />
    <glyph glyph-name="_617" unicode="&#xf292;" horiz-adv-x="1792"
d="M991 512l64 256h-254l-64 -256h254zM1759 1016l-56 -224q-7 -24 -31 -24h-327l-64 -256h311q15 0 25 -12q10 -14 6 -28l-56 -224q-5 -24 -31 -24h-327l-81 -328q-7 -24 -31 -24h-224q-16 0 -26 12q-9 12 -6 28l78 312h-254l-81 -328q-7 -24 -31 -24h-225q-15 0 -25 12
q-9 12 -6 28l78 312h-311q-15 0 -25 12q-9 12 -6 28l56 224q7 24 31 24h327l64 256h-311q-15 0 -25 12q-10 14 -6 28l56 224q5 24 31 24h327l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h254l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h311
q15 0 25 -12q9 -12 6 -28z" />
    <glyph glyph-name="_618" unicode="&#xf293;"
d="M841 483l148 -148l-149 -149zM840 1094l149 -149l-148 -148zM710 -130l464 464l-306 306l306 306l-464 464v-611l-255 255l-93 -93l320 -321l-320 -321l93 -93l255 255v-611zM1429 640q0 -209 -32 -365.5t-87.5 -257t-140.5 -162.5t-181.5 -86.5t-219.5 -24.5
t-219.5 24.5t-181.5 86.5t-140.5 162.5t-87.5 257t-32 365.5t32 365.5t87.5 257t140.5 162.5t181.5 86.5t219.5 24.5t219.5 -24.5t181.5 -86.5t140.5 -162.5t87.5 -257t32 -365.5z" />
    <glyph glyph-name="_619" unicode="&#xf294;" horiz-adv-x="1024"
d="M596 113l173 172l-173 172v-344zM596 823l173 172l-173 172v-344zM628 640l356 -356l-539 -540v711l-297 -296l-108 108l372 373l-372 373l108 108l297 -296v711l539 -540z" />
    <glyph glyph-name="_620" unicode="&#xf295;"
d="M1280 256q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM512 1024q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5
t112.5 -271.5zM1440 1344q0 -20 -13 -38l-1056 -1408q-19 -26 -51 -26h-160q-26 0 -45 19t-19 45q0 20 13 38l1056 1408q19 26 51 26h160q26 0 45 -19t19 -45zM768 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5
t271.5 -112.5t112.5 -271.5z" />
    <glyph glyph-name="_621" unicode="&#xf296;" horiz-adv-x="1792"
d="M104 830l792 -1015l-868 630q-18 13 -25 34.5t0 42.5l101 308v0zM566 830h660l-330 -1015v0zM368 1442l198 -612h-462l198 612q8 23 33 23t33 -23zM1688 830l101 -308q7 -21 0 -42.5t-25 -34.5l-868 -630l792 1015v0zM1688 830h-462l198 612q8 23 33 23t33 -23z" />
    <glyph glyph-name="_622" unicode="&#xf297;" horiz-adv-x="1792"
d="M384 704h160v224h-160v-224zM1221 372v92q-104 -36 -243 -38q-135 -1 -259.5 46.5t-220.5 122.5l1 -96q88 -80 212 -128.5t272 -47.5q129 0 238 49zM640 704h640v224h-640v-224zM1792 736q0 -187 -99 -352q89 -102 89 -229q0 -157 -129.5 -268t-313.5 -111
q-122 0 -225 52.5t-161 140.5q-19 -1 -57 -1t-57 1q-58 -88 -161 -140.5t-225 -52.5q-184 0 -313.5 111t-129.5 268q0 127 89 229q-99 165 -99 352q0 209 120 385.5t326.5 279.5t449.5 103t449.5 -103t326.5 -279.5t120 -385.5z" />
    <glyph glyph-name="_623" unicode="&#xf298;"
d="M515 625v-128h-252v128h252zM515 880v-127h-252v127h252zM1273 369v-128h-341v128h341zM1273 625v-128h-672v128h672zM1273 880v-127h-672v127h672zM1408 20v1240q0 8 -6 14t-14 6h-32l-378 -256l-210 171l-210 -171l-378 256h-32q-8 0 -14 -6t-6 -14v-1240q0 -8 6 -14
t14 -6h1240q8 0 14 6t6 14zM553 1130l185 150h-406zM983 1130l221 150h-406zM1536 1260v-1240q0 -62 -43 -105t-105 -43h-1240q-62 0 -105 43t-43 105v1240q0 62 43 105t105 43h1240q62 0 105 -43t43 -105z" />
    <glyph glyph-name="_624" unicode="&#xf299;" horiz-adv-x="1792"
d="M896 720q-104 196 -160 278q-139 202 -347 318q-34 19 -70 36q-89 40 -94 32t34 -38l39 -31q62 -43 112.5 -93.5t94.5 -116.5t70.5 -113t70.5 -131q9 -17 13 -25q44 -84 84 -153t98 -154t115.5 -150t131 -123.5t148.5 -90.5q153 -66 154 -60q1 3 -49 37q-53 36 -81 57
q-77 58 -179 211t-185 310zM549 177q-76 60 -132.5 125t-98 143.5t-71 154.5t-58.5 186t-52 209t-60.5 252t-76.5 289q273 0 497.5 -36t379 -92t271 -144.5t185.5 -172.5t110 -198.5t56 -199.5t12.5 -198.5t-9.5 -173t-20 -143.5t-13 -107l323 -327h-104l-281 285
q-22 -2 -91.5 -14t-121.5 -19t-138 -6t-160.5 17t-167.5 59t-179 111z" />
    <glyph glyph-name="_625" unicode="&#xf29a;" horiz-adv-x="1792"
d="M1374 879q-6 26 -28.5 39.5t-48.5 7.5q-261 -62 -401 -62t-401 62q-26 6 -48.5 -7.5t-28.5 -39.5t7.5 -48.5t39.5 -28.5q194 -46 303 -58q-2 -158 -15.5 -269t-26.5 -155.5t-41 -115.5l-9 -21q-10 -25 1 -49t36 -34q9 -4 23 -4q44 0 60 41l8 20q54 139 71 259h42
q17 -120 71 -259l8 -20q16 -41 60 -41q14 0 23 4q25 10 36 34t1 49l-9 21q-28 71 -41 115.5t-26.5 155.5t-15.5 269q109 12 303 58q26 6 39.5 28.5t7.5 48.5zM1024 1024q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z
M1600 640q0 -143 -55.5 -273.5t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5zM896 1408q-156 0 -298 -61t-245 -164t-164 -245t-61 -298t61 -298
t164 -245t245 -164t298 -61t298 61t245 164t164 245t61 298t-61 298t-164 245t-245 164t-298 61zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="_626" unicode="&#xf29b;"
d="M1438 723q34 -35 29 -82l-44 -551q-4 -42 -34.5 -70t-71.5 -28q-6 0 -9 1q-44 3 -72.5 36.5t-25.5 77.5l35 429l-143 -8q55 -113 55 -240q0 -216 -148 -372l-137 137q91 101 91 235q0 145 -102.5 248t-247.5 103q-134 0 -236 -92l-137 138q120 114 284 141l264 300
l-149 87l-181 -161q-33 -30 -77 -27.5t-73 35.5t-26.5 77t34.5 73l239 213q26 23 60 26.5t64 -14.5l488 -283q36 -21 48 -68q17 -67 -26 -117l-205 -232l371 20q49 3 83 -32zM1240 1180q-74 0 -126 52t-52 126t52 126t126 52t126.5 -52t52.5 -126t-52.5 -126t-126.5 -52z
M613 -62q106 0 196 61l139 -139q-146 -116 -335 -116q-148 0 -273.5 73t-198.5 198t-73 273q0 188 116 336l139 -139q-60 -88 -60 -197q0 -145 102.5 -247.5t247.5 -102.5z" />
    <glyph glyph-name="_627" unicode="&#xf29c;"
d="M880 336v-160q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h160q14 0 23 -9t9 -23zM1136 832q0 -50 -15 -90t-45.5 -69t-52 -44t-59.5 -36q-32 -18 -46.5 -28t-26 -24t-11.5 -29v-32q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v68q0 35 10.5 64.5
t24 47.5t39 35.5t41 25.5t44.5 21q53 25 75 43t22 49q0 42 -43.5 71.5t-95.5 29.5q-56 0 -95 -27q-29 -20 -80 -83q-9 -12 -25 -12q-11 0 -19 6l-108 82q-10 7 -12 20t5 23q122 192 349 192q129 0 238.5 -89.5t109.5 -214.5zM768 1280q-130 0 -248.5 -51t-204 -136.5
t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5
t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="_628" unicode="&#xf29d;" horiz-adv-x="1408"
d="M366 1225q-64 0 -110 45.5t-46 110.5q0 64 46 109.5t110 45.5t109.5 -45.5t45.5 -109.5q0 -65 -45.5 -110.5t-109.5 -45.5zM917 583q0 -50 -30 -67.5t-63.5 -6.5t-47.5 34l-367 438q-7 12 -14 15.5t-11 1.5l-3 -3q-7 -8 4 -21l122 -139l1 -354l-161 -457
q-67 -192 -92 -234q-15 -26 -28 -32q-50 -26 -103 -1q-29 13 -41.5 43t-9.5 57q2 17 197 618l5 416l-85 -164l35 -222q4 -24 -1 -42t-14 -27.5t-19 -16t-17 -7.5l-7 -2q-19 -3 -34.5 3t-24 16t-14 22t-7.5 19.5t-2 9.5l-46 299l211 381q23 34 113 34q75 0 107 -40l424 -521
q7 -5 14 -17l3 -3l-1 -1q7 -13 7 -29zM514 433q43 -113 88.5 -225t69.5 -168l24 -55q36 -93 42 -125q11 -70 -36 -97q-35 -22 -66 -16t-51 22t-29 35h-1q-6 16 -8 25l-124 351zM1338 -159q31 -49 31 -57q0 -5 -3 -7q-9 -5 -14.5 0.5t-15.5 26t-16 30.5q-114 172 -423 661
q3 -1 7 1t7 4l3 2q11 9 11 17z" />
    <glyph glyph-name="_629" unicode="&#xf29e;" horiz-adv-x="2304"
d="M504 542h171l-1 265zM1530 641q0 87 -50.5 140t-146.5 53h-54v-388h52q91 0 145 57t54 138zM956 1018l1 -756q0 -14 -9.5 -24t-23.5 -10h-216q-14 0 -23.5 10t-9.5 24v62h-291l-55 -81q-10 -15 -28 -15h-267q-21 0 -30.5 18t3.5 35l556 757q9 14 27 14h332q14 0 24 -10
t10 -24zM1783 641q0 -193 -125.5 -303t-324.5 -110h-270q-14 0 -24 10t-10 24v756q0 14 10 24t24 10h268q200 0 326 -109t126 -302zM1939 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-44.5 -108t-73.5 -102.5h-51q38 45 66.5 104.5t41.5 112t21 98t9 72.5l1 27q0 8 -0.5 22.5
t-7.5 60t-20 91.5t-41 111.5t-66 124.5h43q41 -47 72 -107t45.5 -111.5t23 -96t10.5 -70.5zM2123 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-45 -108t-74 -102.5h-51q38 45 66.5 104.5t41.5 112t21 98t9 72.5l1 27q0 8 -0.5 22.5t-7.5 60t-19.5 91.5t-40.5 111.5t-66 124.5
h43q41 -47 72 -107t45.5 -111.5t23 -96t10.5 -70.5zM2304 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-44.5 -108t-73.5 -102.5h-51q38 45 66 104.5t41 112t21 98t9 72.5l1 27q0 8 -0.5 22.5t-7.5 60t-19.5 91.5t-40.5 111.5t-66 124.5h43q41 -47 72 -107t45.5 -111.5t23 -96
t9.5 -70.5z" />
    <glyph glyph-name="uniF2A0" unicode="&#xf2a0;" horiz-adv-x="1408"
d="M617 -153q0 11 -13 58t-31 107t-20 69q-1 4 -5 26.5t-8.5 36t-13.5 21.5q-15 14 -51 14q-23 0 -70 -5.5t-71 -5.5q-34 0 -47 11q-6 5 -11 15.5t-7.5 20t-6.5 24t-5 18.5q-37 128 -37 255t37 255q1 4 5 18.5t6.5 24t7.5 20t11 15.5q13 11 47 11q24 0 71 -5.5t70 -5.5
q36 0 51 14q9 8 13.5 21.5t8.5 36t5 26.5q2 9 20 69t31 107t13 58q0 22 -43.5 52.5t-75.5 42.5q-20 8 -45 8q-34 0 -98 -18q-57 -17 -96.5 -40.5t-71 -66t-46 -70t-45.5 -94.5q-6 -12 -9 -19q-49 -107 -68 -216t-19 -244t19 -244t68 -216q56 -122 83 -161q63 -91 179 -127
l6 -2q64 -18 98 -18q25 0 45 8q32 12 75.5 42.5t43.5 52.5zM776 760q-26 0 -45 19t-19 45.5t19 45.5q37 37 37 90q0 52 -37 91q-19 19 -19 45t19 45t45 19t45 -19q75 -75 75 -181t-75 -181q-21 -19 -45 -19zM957 579q-27 0 -45 19q-19 19 -19 45t19 45q112 114 112 272
t-112 272q-19 19 -19 45t19 45t45 19t45 -19q150 -150 150 -362t-150 -362q-18 -19 -45 -19zM1138 398q-27 0 -45 19q-19 19 -19 45t19 45q90 91 138.5 208t48.5 245t-48.5 245t-138.5 208q-19 19 -19 45t19 45t45 19t45 -19q109 -109 167 -249t58 -294t-58 -294t-167 -249
q-18 -19 -45 -19z" />
    <glyph glyph-name="uniF2A1" unicode="&#xf2a1;" horiz-adv-x="2176"
d="M192 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM704 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM704 864q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1472 352
q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1472 864q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 864
q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 1376q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 192q0 -80 -56 -136
t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 1216q0 -80 -56 -136t-136 -56
t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM2176 192q0 -80 -56 -136t-136 -56t-136 56
t-56 136t56 136t136 56t136 -56t56 -136zM1664 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM2176 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136
t56 136t136 56t136 -56t56 -136zM2176 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136z" />
    <glyph glyph-name="uniF2A2" unicode="&#xf2a2;" horiz-adv-x="1792"
d="M128 -192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM320 0q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM365 365l256 -256l-90 -90l-256 256zM704 384q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45z
M1411 704q0 -59 -11.5 -108.5t-37.5 -93.5t-44 -67.5t-53 -64.5q-31 -35 -45.5 -54t-33.5 -50t-26.5 -64t-7.5 -74q0 -159 -112.5 -271.5t-271.5 -112.5q-26 0 -45 19t-19 45t19 45t45 19q106 0 181 75t75 181q0 57 11.5 105.5t37 91t43.5 66.5t52 63q40 46 59.5 72
t37.5 74.5t18 103.5q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5zM896 576q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45
t45 19t45 -19t19 -45zM1184 704q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 93 -65.5 158.5t-158.5 65.5q-92 0 -158 -65.5t-66 -158.5q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 146 103 249t249 103t249 -103t103 -249zM1578 993q10 -25 -1 -49t-36 -34q-9 -4 -23 -4
q-19 0 -35.5 11t-23.5 30q-68 178 -224 295q-21 16 -25 42t12 47q17 21 43 25t47 -12q183 -137 266 -351zM1788 1074q9 -25 -1.5 -49t-35.5 -34q-11 -4 -23 -4q-44 0 -60 41q-92 238 -297 393q-22 16 -25.5 42t12.5 47q16 22 42 25.5t47 -12.5q235 -175 341 -449z" />
    <glyph glyph-name="uniF2A3" unicode="&#xf2a3;" horiz-adv-x="2304"
d="M1032 576q-59 2 -84 55q-17 34 -48 53.5t-68 19.5q-53 0 -90.5 -37.5t-37.5 -90.5q0 -56 36 -89l10 -8q34 -31 82 -31q37 0 68 19.5t48 53.5q25 53 84 55zM1600 704q0 56 -36 89l-10 8q-34 31 -82 31q-37 0 -68 -19.5t-48 -53.5q-25 -53 -84 -55q59 -2 84 -55
q17 -34 48 -53.5t68 -19.5q53 0 90.5 37.5t37.5 90.5zM1174 925q-17 -35 -55 -48t-73 4q-62 31 -134 31q-51 0 -99 -17q3 0 9.5 0.5t9.5 0.5q92 0 170.5 -50t118.5 -133q17 -36 3.5 -73.5t-49.5 -54.5q-18 -9 -39 -9q21 0 39 -9q36 -17 49.5 -54.5t-3.5 -73.5
q-40 -83 -118.5 -133t-170.5 -50h-6q-16 2 -44 4l-290 27l-239 -120q-14 -7 -29 -7q-40 0 -57 35l-160 320q-11 23 -4 47.5t29 37.5l209 119l148 267q17 155 91.5 291.5t195.5 236.5q31 25 70.5 21.5t64.5 -34.5t21.5 -70t-34.5 -65q-70 -59 -117 -128q123 84 267 101
q40 5 71.5 -19t35.5 -64q5 -40 -19 -71.5t-64 -35.5q-84 -10 -159 -55q46 10 99 10q115 0 218 -50q36 -18 49 -55.5t-5 -73.5zM2137 1085l160 -320q11 -23 4 -47.5t-29 -37.5l-209 -119l-148 -267q-17 -155 -91.5 -291.5t-195.5 -236.5q-26 -22 -61 -22q-45 0 -74 35
q-25 31 -21.5 70t34.5 65q70 59 117 128q-123 -84 -267 -101q-4 -1 -12 -1q-36 0 -63.5 24t-31.5 60q-5 40 19 71.5t64 35.5q84 10 159 55q-46 -10 -99 -10q-115 0 -218 50q-36 18 -49 55.5t5 73.5q17 35 55 48t73 -4q62 -31 134 -31q51 0 99 17q-3 0 -9.5 -0.5t-9.5 -0.5
q-92 0 -170.5 50t-118.5 133q-17 36 -3.5 73.5t49.5 54.5q18 9 39 9q-21 0 -39 9q-36 17 -49.5 54.5t3.5 73.5q40 83 118.5 133t170.5 50h6h1q14 -2 42 -4l291 -27l239 120q14 7 29 7q40 0 57 -35z" />
    <glyph glyph-name="uniF2A4" unicode="&#xf2a4;" horiz-adv-x="1792"
d="M1056 704q0 -26 19 -45t45 -19t45 19t19 45q0 146 -103 249t-249 103t-249 -103t-103 -249q0 -26 19 -45t45 -19t45 19t19 45q0 93 66 158.5t158 65.5t158 -65.5t66 -158.5zM835 1280q-117 0 -223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5q0 -26 19 -45t45 -19t45 19
t19 45q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -55 -18 -103.5t-37.5 -74.5t-59.5 -72q-34 -39 -52 -63t-43.5 -66.5t-37 -91t-11.5 -105.5q0 -106 -75 -181t-181 -75q-26 0 -45 -19t-19 -45t19 -45t45 -19q159 0 271.5 112.5t112.5 271.5q0 41 7.5 74
t26.5 64t33.5 50t45.5 54q35 41 53 64.5t44 67.5t37.5 93.5t11.5 108.5q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5zM591 561l226 -226l-579 -579q-12 -12 -29 -12t-29 12l-168 168q-12 12 -12 29t12 29zM1612 1524l168 -168q12 -12 12 -29t-12 -30l-233 -233
l-26 -25l-71 -71q-66 153 -195 258l91 91l207 207q13 12 30 12t29 -12z" />
    <glyph glyph-name="uniF2A5" unicode="&#xf2a5;"
d="M866 1021q0 -27 -13 -94q-11 -50 -31.5 -150t-30.5 -150q-2 -11 -4.5 -12.5t-13.5 -2.5q-20 -2 -31 -2q-58 0 -84 49.5t-26 113.5q0 88 35 174t103 124q28 14 51 14q28 0 36.5 -16.5t8.5 -47.5zM1352 597q0 14 -39 75.5t-52 66.5q-21 8 -34 8q-91 0 -226 -77l-2 2
q3 22 27.5 135t24.5 178q0 233 -242 233q-24 0 -68 -6q-94 -17 -168.5 -89.5t-111.5 -166.5t-37 -189q0 -146 80.5 -225t227.5 -79q25 0 25 -3t-1 -5q-4 -34 -26 -117q-14 -52 -51.5 -101t-82.5 -49q-42 0 -42 47q0 24 10.5 47.5t25 39.5t29.5 28.5t26 20t11 8.5q0 3 -7 10
q-24 22 -58.5 36.5t-65.5 14.5q-35 0 -63.5 -34t-41 -75t-12.5 -75q0 -88 51.5 -142t138.5 -54q82 0 155 53t117.5 126t65.5 153q6 22 15.5 66.5t14.5 66.5q3 12 14 18q118 60 227 60q48 0 127 -18q1 -1 4 -1q5 0 9.5 4.5t4.5 8.5zM1536 1120v-960q0 -119 -84.5 -203.5
t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="uniF2A6" unicode="&#xf2a6;" horiz-adv-x="1535"
d="M744 1231q0 24 -2 38.5t-8.5 30t-21 23t-37.5 7.5q-39 0 -78 -23q-105 -58 -159 -190.5t-54 -269.5q0 -44 8.5 -85.5t26.5 -80.5t52.5 -62.5t81.5 -23.5q4 0 18 -0.5t20 0t16 3t15 8.5t7 16q16 77 48 231.5t48 231.5q19 91 19 146zM1498 575q0 -7 -7.5 -13.5t-15.5 -6.5
l-6 1q-22 3 -62 11t-72 12.5t-63 4.5q-167 0 -351 -93q-15 -8 -21 -27q-10 -36 -24.5 -105.5t-22.5 -100.5q-23 -91 -70 -179.5t-112.5 -164.5t-154.5 -123t-185 -47q-135 0 -214.5 83.5t-79.5 219.5q0 53 19.5 117t63 116.5t97.5 52.5q38 0 120 -33.5t83 -61.5
q0 -1 -16.5 -12.5t-39.5 -31t-46 -44.5t-39 -61t-16 -74q0 -33 16.5 -53t48.5 -20q45 0 85 31.5t66.5 78t48 105.5t32.5 107t16 90v9q0 2 -3.5 3.5t-8.5 1.5h-10t-10 -0.5t-6 -0.5q-227 0 -352 122.5t-125 348.5q0 108 34.5 221t96 210t156 167.5t204.5 89.5q52 9 106 9
q374 0 374 -360q0 -98 -38 -273t-43 -211l3 -3q101 57 182.5 88t167.5 31q22 0 53 -13q19 -7 80 -102.5t61 -116.5z" />
    <glyph glyph-name="uniF2A7" unicode="&#xf2a7;" horiz-adv-x="1664"
d="M831 863q32 0 59 -18l222 -148q61 -40 110 -97l146 -170q40 -46 29 -106l-72 -413q-6 -32 -29.5 -53.5t-55.5 -25.5l-527 -56l-352 -32h-9q-39 0 -67.5 28t-28.5 68q0 37 27 64t65 32l260 32h-448q-41 0 -69.5 30t-26.5 71q2 39 32 65t69 26l442 1l-521 64q-41 5 -66 37
t-19 73q6 35 34.5 57.5t65.5 22.5h10l481 -60l-351 94q-38 10 -62 41.5t-18 68.5q6 36 33 58.5t62 22.5q6 0 20 -2l448 -96l217 -37q1 0 3 -0.5t3 -0.5q23 0 30.5 23t-12.5 36l-186 125q-35 23 -42 63.5t18 73.5q27 38 76 38zM761 661l186 -125l-218 37l-5 2l-36 38
l-238 262q-1 1 -2.5 3.5t-2.5 3.5q-24 31 -18.5 70t37.5 64q31 23 68 17.5t64 -33.5l142 -147q-2 -1 -5 -3.5t-4 -4.5q-32 -45 -23 -99t55 -85zM1648 1115l15 -266q4 -73 -11 -147l-48 -219q-12 -59 -67 -87l-106 -54q2 62 -39 109l-146 170q-53 61 -117 103l-222 148
q-34 23 -76 23q-51 0 -88 -37l-235 312q-25 33 -18 73.5t41 63.5q33 22 71.5 14t62.5 -40l266 -352l-262 455q-21 35 -10.5 75t47.5 59q35 18 72.5 6t57.5 -46l241 -420l-136 337q-15 35 -4.5 74t44.5 56q37 19 76 6t56 -51l193 -415l101 -196q8 -15 23 -17.5t27 7.5t11 26
l-12 224q-2 41 26 71t69 31q39 0 67 -28.5t30 -67.5z" />
    <glyph glyph-name="uniF2A8" unicode="&#xf2a8;" horiz-adv-x="1792"
d="M335 180q-2 0 -6 2q-86 57 -168.5 145t-139.5 180q-21 30 -21 69q0 9 2 19t4 18t7 18t8.5 16t10.5 17t10 15t12 15.5t11 14.5q184 251 452 365q-110 198 -110 211q0 19 17 29q116 64 128 64q18 0 28 -16l124 -229q92 19 192 19q266 0 497.5 -137.5t378.5 -369.5
q20 -31 20 -69t-20 -69q-91 -142 -218.5 -253.5t-278.5 -175.5q110 -198 110 -211q0 -20 -17 -29q-116 -64 -127 -64q-19 0 -29 16l-124 229l-64 119l-444 820l7 7q-58 -24 -99 -47q3 -5 127 -234t243 -449t119 -223q0 -7 -9 -9q-13 -3 -72 -3q-57 0 -60 7l-456 841
q-39 -28 -82 -68q24 -43 214 -393.5t190 -354.5q0 -10 -11 -10q-14 0 -82.5 22t-72.5 28l-106 197l-224 413q-44 -53 -78 -106q2 -3 18 -25t23 -34l176 -327q0 -10 -10 -10zM1165 282l49 -91q273 111 450 385q-180 277 -459 389q67 -64 103 -148.5t36 -176.5
q0 -106 -47 -200.5t-132 -157.5zM848 896q0 -20 14 -34t34 -14q86 0 147 -61t61 -147q0 -20 14 -34t34 -14t34 14t14 34q0 126 -89 215t-215 89q-20 0 -34 -14t-14 -34zM1214 961l-9 4l7 -7z" />
    <glyph glyph-name="uniF2A9" unicode="&#xf2a9;" horiz-adv-x="1280"
d="M1050 430q0 -215 -147 -374q-148 -161 -378 -161q-232 0 -378 161q-147 159 -147 374q0 147 68 270.5t189 196.5t268 73q96 0 182 -31q-32 -62 -39 -126q-66 28 -143 28q-167 0 -280.5 -123t-113.5 -291q0 -170 112.5 -288.5t281.5 -118.5t281 118.5t112 288.5
q0 89 -32 166q66 13 123 49q41 -98 41 -212zM846 619q0 -192 -79.5 -345t-238.5 -253l-14 -1q-29 0 -62 5q83 32 146.5 102.5t99.5 154.5t58.5 189t30 192.5t7.5 178.5q0 69 -3 103q55 -160 55 -326zM791 947v-2q-73 214 -206 440q88 -59 142.5 -186.5t63.5 -251.5z
M1035 744q-83 0 -160 75q218 120 290 247q19 37 21 56q-42 -94 -139.5 -166.5t-204.5 -97.5q-35 54 -35 113q0 37 17 79t43 68q46 44 157 74q59 16 106 58.5t74 100.5q74 -105 74 -253q0 -109 -24 -170q-32 -77 -88.5 -130.5t-130.5 -53.5z" />
    <glyph glyph-name="uniF2AA" unicode="&#xf2aa;"
d="M1050 495q0 78 -28 147q-41 -25 -85 -34q22 -50 22 -114q0 -117 -77 -198.5t-193 -81.5t-193.5 81.5t-77.5 198.5q0 115 78 199.5t193 84.5q53 0 98 -19q4 43 27 87q-60 21 -125 21q-154 0 -257.5 -108.5t-103.5 -263.5t103.5 -261t257.5 -106t257.5 106.5t103.5 260.5z
M872 850q2 -24 2 -71q0 -63 -5 -123t-20.5 -132.5t-40.5 -130t-68.5 -106t-100.5 -70.5q21 -3 42 -3h10q219 139 219 411q0 116 -38 225zM872 850q-4 80 -44 171.5t-98 130.5q92 -156 142 -302zM1207 955q0 102 -51 174q-41 -86 -124 -109q-69 -19 -109 -53.5t-40 -99.5
q0 -40 24 -77q74 17 140.5 67t95.5 115q-4 -52 -74.5 -111.5t-138.5 -97.5q52 -52 110 -52q51 0 90 37t60 90q17 42 17 117zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5
t84.5 -203.5z" />
    <glyph glyph-name="uniF2AB" unicode="&#xf2ab;"
d="M1279 388q0 22 -22 27q-67 15 -118 59t-80 108q-7 19 -7 25q0 15 19.5 26t43 17t43 20.5t19.5 36.5q0 19 -18.5 31.5t-38.5 12.5q-12 0 -32 -8t-31 -8q-4 0 -12 2q5 95 5 114q0 79 -17 114q-36 78 -103 121.5t-152 43.5q-199 0 -275 -165q-17 -35 -17 -114q0 -19 5 -114
q-4 -2 -14 -2q-12 0 -32 7.5t-30 7.5q-21 0 -38.5 -12t-17.5 -32q0 -21 19.5 -35.5t43 -20.5t43 -17t19.5 -26q0 -6 -7 -25q-64 -138 -198 -167q-22 -5 -22 -27q0 -46 137 -68q2 -5 6 -26t11.5 -30.5t23.5 -9.5q12 0 37.5 4.5t39.5 4.5q35 0 67 -15t54 -32.5t57.5 -32.5
t76.5 -15q43 0 79 15t57.5 32.5t53.5 32.5t67 15q14 0 39.5 -4t38.5 -4q16 0 23 10t11 30t6 25q137 22 137 68zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5
t103 -385.5z" />
    <glyph glyph-name="uniF2AC" unicode="&#xf2ac;" horiz-adv-x="1664"
d="M848 1408q134 1 240.5 -68.5t163.5 -192.5q27 -58 27 -179q0 -47 -9 -191q14 -7 28 -7q18 0 51 13.5t51 13.5q29 0 56 -18t27 -46q0 -32 -31.5 -54t-69 -31.5t-69 -29t-31.5 -47.5q0 -15 12 -43q37 -82 102.5 -150t144.5 -101q28 -12 80 -23q28 -6 28 -35
q0 -70 -219 -103q-7 -11 -11 -39t-14 -46.5t-33 -18.5q-20 0 -62 6.5t-64 6.5q-37 0 -62 -5q-32 -5 -63 -22.5t-58 -38t-58 -40.5t-76 -33.5t-99 -13.5q-52 0 -96.5 13.5t-75 33.5t-57.5 40.5t-58 38t-62 22.5q-26 5 -63 5q-24 0 -65.5 -7.5t-58.5 -7.5q-25 0 -35 18.5
t-14 47.5t-11 40q-219 33 -219 103q0 29 28 35q52 11 80 23q78 32 144.5 101t102.5 150q12 28 12 43q0 28 -31.5 47.5t-69.5 29.5t-69.5 31.5t-31.5 52.5q0 27 26 45.5t55 18.5q15 0 48 -13t53 -13q18 0 32 7q-9 142 -9 190q0 122 27 180q64 137 172 198t264 63z" />
    <glyph glyph-name="uniF2AD" unicode="&#xf2ad;"
d="M1280 388q0 22 -22 27q-67 14 -118 58t-80 109q-7 14 -7 25q0 15 19.5 26t42.5 17t42.5 20.5t19.5 36.5q0 19 -18.5 31.5t-38.5 12.5q-11 0 -31 -8t-32 -8q-4 0 -12 2q5 63 5 115q0 78 -17 114q-36 78 -102.5 121.5t-152.5 43.5q-198 0 -275 -165q-18 -38 -18 -115
q0 -38 6 -114q-10 -2 -15 -2q-11 0 -31.5 8t-30.5 8q-20 0 -37.5 -12.5t-17.5 -32.5q0 -21 19.5 -35.5t42.5 -20.5t42.5 -17t19.5 -26q0 -11 -7 -25q-64 -138 -198 -167q-22 -5 -22 -27q0 -47 138 -69q2 -5 6 -26t11 -30.5t23 -9.5q13 0 38.5 5t38.5 5q35 0 67.5 -15
t54.5 -32.5t57.5 -32.5t76.5 -15q43 0 79 15t57.5 32.5t54 32.5t67.5 15q13 0 39 -4.5t39 -4.5q15 0 22.5 9.5t11.5 31t5 24.5q138 22 138 69zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960
q119 0 203.5 -84.5t84.5 -203.5z" />
    <glyph glyph-name="uniF2AE" unicode="&#xf2ae;" horiz-adv-x="2304"
d="M2304 1536q-69 -46 -125 -92t-89 -81t-59.5 -71.5t-37.5 -57.5t-22 -44.5t-14 -29.5q-10 -18 -35.5 -136.5t-48.5 -164.5q-15 -29 -50 -60.5t-67.5 -50.5t-72.5 -41t-48 -28q-47 -31 -151 -231q-341 14 -630 -158q-92 -53 -303 -179q47 16 86 31t55 22l15 7
q71 27 163 64.5t133.5 53.5t108 34.5t142.5 31.5q186 31 465 -7q1 0 10 -3q11 -6 14 -17t-3 -22l-194 -345q-15 -29 -47 -22q-128 24 -354 24q-146 0 -402 -44.5t-392 -46.5q-82 -1 -149 13t-107 37t-61 40t-33 34l-1 1v2q0 6 6 6q138 0 371 55q192 366 374.5 524t383.5 158
q5 0 14.5 -0.5t38 -5t55 -12t61.5 -24.5t63 -39.5t54 -59t40 -82.5l102 177q2 4 21 42.5t44.5 86.5t61 109.5t84 133.5t100.5 137q66 82 128 141.5t121.5 96.5t92.5 53.5t88 39.5z" />
    <glyph glyph-name="uniF2B0" unicode="&#xf2b0;"
d="M1322 640q0 -45 -5 -76l-236 14l224 -78q-19 -73 -58 -141l-214 103l177 -158q-44 -61 -107 -108l-157 178l103 -215q-61 -37 -140 -59l-79 228l14 -240q-38 -6 -76 -6t-76 6l14 238l-78 -226q-74 19 -140 59l103 215l-157 -178q-59 43 -108 108l178 158l-214 -104
q-39 69 -58 141l224 79l-237 -14q-5 42 -5 76q0 35 5 77l238 -14l-225 79q19 73 58 140l214 -104l-177 159q46 61 107 108l158 -178l-103 215q67 39 140 58l77 -224l-13 236q36 6 75 6q38 0 76 -6l-14 -237l78 225q74 -19 140 -59l-103 -214l158 178q61 -47 107 -108
l-177 -159l213 104q37 -62 58 -141l-224 -78l237 14q5 -31 5 -77zM1352 640q0 160 -78.5 295.5t-213 214t-292.5 78.5q-119 0 -227 -46.5t-186.5 -125t-124.5 -187.5t-46 -229q0 -119 46 -228t124.5 -187.5t186.5 -125t227 -46.5q158 0 292.5 78.5t213 214t78.5 294.5z
M1425 1023v-766l-657 -383l-657 383v766l657 383zM768 -183l708 412v823l-708 411l-708 -411v-823zM1536 1088v-896l-768 -448l-768 448v896l768 448z" />
    <glyph glyph-name="uniF2B1" unicode="&#xf2b1;" horiz-adv-x="1664"
d="M339 1318h691l-26 -72h-665q-110 0 -188.5 -79t-78.5 -189v-771q0 -95 60.5 -169.5t153.5 -93.5q23 -5 98 -5v-72h-45q-140 0 -239.5 100t-99.5 240v771q0 140 99.5 240t239.5 100zM1190 1536h247l-482 -1294q-23 -61 -40.5 -103.5t-45 -98t-54 -93.5t-64.5 -78.5
t-79.5 -65t-95.5 -41t-116 -18.5v195q163 26 220 182q20 52 20 105q0 54 -20 106l-285 733h228l187 -585zM1664 978v-1111h-795q37 55 45 73h678v1038q0 85 -49.5 155t-129.5 99l25 67q101 -34 163.5 -123.5t62.5 -197.5z" />
    <glyph glyph-name="uniF2B2" unicode="&#xf2b2;" horiz-adv-x="1792"
d="M852 1227q0 -29 -17 -52.5t-45 -23.5t-45 23.5t-17 52.5t17 52.5t45 23.5t45 -23.5t17 -52.5zM688 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50 -21.5t-20 -51.5v-114q0 -30 20.5 -52t49.5 -22q30 0 50.5 22t20.5 52zM860 -149v114q0 30 -20 51.5t-50 21.5t-50.5 -21.5
t-20.5 -51.5v-114q0 -30 20.5 -52t50.5 -22q29 0 49.5 22t20.5 52zM1034 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50.5 -21.5t-20.5 -51.5v-114q0 -30 20.5 -52t50.5 -22t50.5 22t20.5 52zM1208 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50.5 -21.5t-20.5 -51.5v-114
q0 -30 20.5 -52t50.5 -22t50.5 22t20.5 52zM1476 535q-84 -160 -232 -259.5t-323 -99.5q-123 0 -229.5 51.5t-178.5 137t-113 197.5t-41 232q0 88 21 174q-104 -175 -104 -390q0 -162 65 -312t185 -251q30 57 91 57q56 0 86 -50q32 50 87 50q56 0 86 -50q32 50 87 50t87 -50
q30 50 86 50q28 0 52.5 -15.5t37.5 -40.5q112 94 177 231.5t73 287.5zM1326 564q0 75 -72 75q-17 0 -47 -6q-95 -19 -149 -19q-226 0 -226 243q0 86 30 204q-83 -127 -83 -275q0 -150 89 -260.5t235 -110.5q111 0 210 70q13 48 13 79zM884 1223q0 50 -32 89.5t-81 39.5
t-81 -39.5t-32 -89.5q0 -51 31.5 -90.5t81.5 -39.5t81.5 39.5t31.5 90.5zM1513 884q0 96 -37.5 179t-113 137t-173.5 54q-77 0 -149 -35t-127 -94q-48 -159 -48 -268q0 -104 45.5 -157t147.5 -53q53 0 142 19q36 6 53 6q51 0 77.5 -28t26.5 -80q0 -26 -4 -46
q75 68 117.5 165.5t42.5 200.5zM1792 667q0 -111 -33.5 -249.5t-93.5 -204.5q-58 -64 -195 -142.5t-228 -104.5l-4 -1v-114q0 -43 -29.5 -75t-72.5 -32q-56 0 -86 50q-32 -50 -87 -50t-87 50q-30 -50 -86 -50q-55 0 -87 50q-30 -50 -86 -50q-47 0 -75 33.5t-28 81.5
q-90 -68 -198 -68q-118 0 -211 80q54 1 106 20q-113 31 -182 127q32 -7 71 -7q89 0 164 46q-192 192 -240 306q-24 56 -24 160q0 57 9 125.5t31.5 146.5t55 141t86.5 105t120 42q59 0 81 -52q19 29 42 54q2 3 12 13t13 16q10 15 23 38t25 42t28 39q87 111 211.5 177
t260.5 66q35 0 62 -4q59 64 146 64q83 0 140 -57q5 -5 5 -12q0 -5 -6 -13.5t-12.5 -16t-16 -17l-10.5 -10.5q17 -6 36 -18t19 -24q0 -6 -16 -25q157 -138 197 -378q25 30 60 30q45 0 100 -49q90 -80 90 -279z" />
    <glyph glyph-name="uniF2B3" unicode="&#xf2b3;"
d="M917 631q0 33 -6 64h-362v-132h217q-12 -76 -74.5 -120.5t-142.5 -44.5q-99 0 -169 71.5t-70 170.5t70 170.5t169 71.5q93 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585h109v110
h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
    <glyph glyph-name="uniF2B4" unicode="&#xf2b4;"
d="M1536 1024v-839q0 -48 -49 -62q-174 -52 -338 -52q-73 0 -215.5 29.5t-227.5 29.5q-164 0 -370 -48v-338h-160v1368q-63 25 -101 81t-38 124q0 91 64 155t155 64t155 -64t64 -155q0 -68 -38 -124t-101 -81v-68q190 44 343 44q99 0 198 -15q14 -2 111.5 -22.5t149.5 -20.5
q77 0 165 18q11 2 80 21t89 19q26 0 45 -19t19 -45z" />
    <glyph glyph-name="uniF2B5" unicode="&#xf2b5;" horiz-adv-x="2304"
d="M192 384q40 0 56 32t0 64t-56 32t-56 -32t0 -64t56 -32zM1665 442q-10 13 -38.5 50t-41.5 54t-38 49t-42.5 53t-40.5 47t-45 49l-125 -140q-83 -94 -208.5 -92t-205.5 98q-57 69 -56.5 158t58.5 157l177 206q-22 11 -51 16.5t-47.5 6t-56.5 -0.5t-49 -1q-92 0 -158 -66
l-158 -158h-155v-544q5 0 21 0.5t22 0t19.5 -2t20.5 -4.5t17.5 -8.5t18.5 -13.5l297 -292q115 -111 227 -111q78 0 125 47q57 -20 112.5 8t72.5 85q74 -6 127 44q20 18 36 45.5t14 50.5q10 -10 43 -10q43 0 77 21t49.5 53t12 71.5t-30.5 73.5zM1824 384h96v512h-93l-157 180
q-66 76 -169 76h-167q-89 0 -146 -67l-209 -243q-28 -33 -28 -75t27 -75q43 -51 110 -52t111 49l193 218q25 23 53.5 21.5t47 -27t8.5 -56.5q16 -19 56 -63t60 -68q29 -36 82.5 -105.5t64.5 -84.5q52 -66 60 -140zM2112 384q40 0 56 32t0 64t-56 32t-56 -32t0 -64t56 -32z
M2304 960v-640q0 -26 -19 -45t-45 -19h-434q-27 -65 -82 -106.5t-125 -51.5q-33 -48 -80.5 -81.5t-102.5 -45.5q-42 -53 -104.5 -81.5t-128.5 -24.5q-60 -34 -126 -39.5t-127.5 14t-117 53.5t-103.5 81l-287 282h-358q-26 0 -45 19t-19 45v672q0 26 19 45t45 19h421
q14 14 47 48t47.5 48t44 40t50.5 37.5t51 25.5t62 19.5t68 5.5h117q99 0 181 -56q82 56 181 56h167q35 0 67 -6t56.5 -14.5t51.5 -26.5t44.5 -31t43 -39.5t39 -42t41 -48t41.5 -48.5h355q26 0 45 -19t19 -45z" />
    <glyph glyph-name="uniF2B6" unicode="&#xf2b6;" horiz-adv-x="1792"
d="M1792 882v-978q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v978q0 15 11 24q8 7 39 34.5t41.5 36t45.5 37.5t70 55.5t96 73t143.5 107t192.5 140.5q5 4 52.5 40t71.5 52.5t64 35t69 18.5t69 -18.5t65 -35.5t71 -52t52 -40q110 -80 192.5 -140.5t143.5 -107
t96 -73t70 -55.5t45.5 -37.5t41.5 -36t39 -34.5q11 -9 11 -24zM1228 297q263 191 345 252q11 8 12.5 20.5t-6.5 23.5l-38 52q-8 11 -21 12.5t-24 -6.5q-231 -169 -343 -250q-5 -3 -52 -39t-71.5 -52.5t-64.5 -35t-69 -18.5t-69 18.5t-64.5 35t-71.5 52.5t-52 39
q-186 134 -343 250q-11 8 -24 6.5t-21 -12.5l-38 -52q-8 -11 -6.5 -23.5t12.5 -20.5q82 -61 345 -252q10 -8 50 -38t65 -47t64 -39.5t77.5 -33.5t75.5 -11t75.5 11t79 34.5t64.5 39.5t65 47.5t48 36.5z" />
    <glyph glyph-name="uniF2B7" unicode="&#xf2b7;" horiz-adv-x="1792"
d="M1474 623l39 -51q8 -11 6.5 -23.5t-11.5 -20.5q-43 -34 -126.5 -98.5t-146.5 -113t-67 -51.5q-39 -32 -60 -48t-60.5 -41t-76.5 -36.5t-74 -11.5h-1h-1q-37 0 -74 11.5t-76 36.5t-61 41.5t-60 47.5q-5 4 -65 50.5t-143.5 111t-122.5 94.5q-11 8 -12.5 20.5t6.5 23.5
l37 52q8 11 21.5 13t24.5 -7q94 -73 306 -236q5 -4 43.5 -35t60.5 -46.5t56.5 -32.5t58.5 -17h1h1q24 0 58.5 17t56.5 32.5t60.5 46.5t43.5 35q258 198 313 242q11 8 24 6.5t21 -12.5zM1664 -96v928q-90 83 -159 139q-91 74 -389 304q-3 2 -43 35t-61 48t-56 32.5t-59 17.5
h-1h-1q-24 0 -59 -17.5t-56 -32.5t-61 -48t-43 -35q-215 -166 -315.5 -245.5t-129.5 -104t-82 -74.5q-14 -12 -21 -19v-928q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 832v-928q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v928q0 56 41 94
q123 114 350 290.5t233 181.5q36 30 59 47.5t61.5 42t76 36.5t74.5 12h1h1q37 0 74.5 -12t76 -36.5t61.5 -42t59 -47.5q43 -36 156 -122t226 -177t201 -173q41 -38 41 -94z" />
    <glyph glyph-name="uniF2B8" unicode="&#xf2b8;"
d="M330 1l202 -214l-34 236l-216 213zM556 -225l274 218l-11 245l-300 -215zM245 413l227 -213l-48 327l-245 204zM495 189l317 214l-14 324l-352 -200zM843 178l95 -80l-2 239l-103 79q0 -1 1 -8.5t0 -12t-5 -7.5l-78 -52l85 -70q7 -6 7 -88zM138 930l256 -200l-68 465
l-279 173zM1173 267l15 234l-230 -164l2 -240zM417 722l373 194l-19 441l-423 -163zM1270 357l20 233l-226 142l-2 -105l144 -95q6 -4 4 -9l-7 -119zM1461 496l30 222l-179 -128l-20 -228zM1273 329l-71 49l-8 -117q0 -5 -4 -8l-234 -187q-7 -5 -14 0l-98 83l7 -161
q0 -5 -4 -8l-293 -234q-4 -2 -6 -2q-8 2 -8 3l-228 242q-4 4 -59 277q-2 7 5 11l61 37q-94 86 -95 92l-72 351q-2 7 6 12l94 45q-133 100 -135 108l-96 466q-2 10 7 13l433 135q5 0 8 -1l317 -153q6 -4 6 -9l20 -463q0 -7 -6 -10l-118 -61l126 -85q5 -2 5 -8l5 -123l121 74
q5 4 11 0l84 -56l3 110q0 6 5 9l206 126q6 3 11 0l245 -135q4 -4 5 -7t-6.5 -60t-17.5 -124.5t-10 -70.5q0 -5 -4 -7l-191 -153q-6 -5 -13 0z" />
    <glyph glyph-name="uniF2B9" unicode="&#xf2b9;" horiz-adv-x="1664"
d="M1201 298q0 57 -5.5 107t-21 100.5t-39.5 86t-64 58t-91 22.5q-6 -4 -33.5 -20.5t-42.5 -24.5t-40.5 -20t-49 -17t-46.5 -5t-46.5 5t-49 17t-40.5 20t-42.5 24.5t-33.5 20.5q-51 0 -91 -22.5t-64 -58t-39.5 -86t-21 -100.5t-5.5 -107q0 -73 42 -121.5t103 -48.5h576
q61 0 103 48.5t42 121.5zM1028 892q0 108 -76.5 184t-183.5 76t-183.5 -76t-76.5 -184q0 -107 76.5 -183t183.5 -76t183.5 76t76.5 183zM1664 352v-192q0 -14 -9 -23t-23 -9h-96v-224q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v1472q0 66 47 113t113 47h1216
q66 0 113 -47t47 -113v-224h96q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-96v-128h96q14 0 23 -9t9 -23v-192q0 -14 -9 -23t-23 -9h-96v-128h96q14 0 23 -9t9 -23z" />
    <glyph glyph-name="uniF2BA" unicode="&#xf2ba;" horiz-adv-x="1664"
d="M1028 892q0 -107 -76.5 -183t-183.5 -76t-183.5 76t-76.5 183q0 108 76.5 184t183.5 76t183.5 -76t76.5 -184zM980 672q46 0 82.5 -17t60 -47.5t39.5 -67t24 -81t11.5 -82.5t3.5 -79q0 -67 -39.5 -118.5t-105.5 -51.5h-576q-66 0 -105.5 51.5t-39.5 118.5q0 48 4.5 93.5
t18.5 98.5t36.5 91.5t63 64.5t93.5 26h5q7 -4 32 -19.5t35.5 -21t33 -17t37 -16t35 -9t39.5 -4.5t39.5 4.5t35 9t37 16t33 17t35.5 21t32 19.5zM1664 928q0 -13 -9.5 -22.5t-22.5 -9.5h-96v-128h96q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-96v-128h96
q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-96v-224q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v1472q0 66 47 113t113 47h1216q66 0 113 -47t47 -113v-224h96q13 0 22.5 -9.5t9.5 -22.5v-192zM1408 -96v1472q0 13 -9.5 22.5t-22.5 9.5h-1216
q-13 0 -22.5 -9.5t-9.5 -22.5v-1472q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5z" />
    <glyph glyph-name="uniF2BB" unicode="&#xf2bb;" horiz-adv-x="2048"
d="M1024 405q0 64 -9 117.5t-29.5 103t-60.5 78t-97 28.5q-6 -4 -30 -18t-37.5 -21.5t-35.5 -17.5t-43 -14.5t-42 -4.5t-42 4.5t-43 14.5t-35.5 17.5t-37.5 21.5t-30 18q-57 0 -97 -28.5t-60.5 -78t-29.5 -103t-9 -117.5t37 -106.5t91 -42.5h512q54 0 91 42.5t37 106.5z
M867 925q0 94 -66.5 160.5t-160.5 66.5t-160.5 -66.5t-66.5 -160.5t66.5 -160.5t160.5 -66.5t160.5 66.5t66.5 160.5zM1792 416v64q0 14 -9 23t-23 9h-576q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h576q14 0 23 9t9 23zM1792 676v56q0 15 -10.5 25.5t-25.5 10.5h-568
q-15 0 -25.5 -10.5t-10.5 -25.5v-56q0 -15 10.5 -25.5t25.5 -10.5h568q15 0 25.5 10.5t10.5 25.5zM1792 928v64q0 14 -9 23t-23 9h-576q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h576q14 0 23 9t9 23zM2048 1248v-1216q0 -66 -47 -113t-113 -47h-352v96q0 14 -9 23t-23 9
h-64q-14 0 -23 -9t-9 -23v-96h-768v96q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-96h-352q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1728q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2BC" unicode="&#xf2bc;" horiz-adv-x="2048"
d="M1024 405q0 -64 -37 -106.5t-91 -42.5h-512q-54 0 -91 42.5t-37 106.5t9 117.5t29.5 103t60.5 78t97 28.5q6 -4 30 -18t37.5 -21.5t35.5 -17.5t43 -14.5t42 -4.5t42 4.5t43 14.5t35.5 17.5t37.5 21.5t30 18q57 0 97 -28.5t60.5 -78t29.5 -103t9 -117.5zM867 925
q0 -94 -66.5 -160.5t-160.5 -66.5t-160.5 66.5t-66.5 160.5t66.5 160.5t160.5 66.5t160.5 -66.5t66.5 -160.5zM1792 480v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23 -9t9 -23zM1792 732v-56q0 -15 -10.5 -25.5t-25.5 -10.5h-568
q-15 0 -25.5 10.5t-10.5 25.5v56q0 15 10.5 25.5t25.5 10.5h568q15 0 25.5 -10.5t10.5 -25.5zM1792 992v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23 -9t9 -23zM1920 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1728q-13 0 -22.5 -9.5
t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h352v96q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-96h768v96q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-96h352q13 0 22.5 9.5t9.5 22.5zM2048 1248v-1216q0 -66 -47 -113t-113 -47h-1728q-66 0 -113 47t-47 113v1216q0 66 47 113
t113 47h1728q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2BD" unicode="&#xf2bd;" horiz-adv-x="1792"
d="M1523 197q-22 155 -87.5 257.5t-184.5 118.5q-67 -74 -159.5 -115.5t-195.5 -41.5t-195.5 41.5t-159.5 115.5q-119 -16 -184.5 -118.5t-87.5 -257.5q106 -150 271 -237.5t356 -87.5t356 87.5t271 237.5zM1280 896q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5
t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1792 640q0 -182 -71 -347.5t-190.5 -286t-285.5 -191.5t-349 -71q-182 0 -348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF2BE" unicode="&#xf2be;" horiz-adv-x="1792"
d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348q0 -181 -70.5 -347t-190.5 -286t-286 -191.5t-349 -71.5t-349 71t-285.5 191.5t-190.5 286t-71 347.5t71 348t191 286t286 191t348 71zM1515 185q149 205 149 455q0 156 -61 298t-164 245t-245 164t-298 61t-298 -61
t-245 -164t-164 -245t-61 -298q0 -250 149 -455q66 327 306 327q131 -128 313 -128t313 128q240 0 306 -327zM1280 832q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5z" />
    <glyph glyph-name="uniF2C0" unicode="&#xf2c0;"
d="M1201 752q47 -14 89.5 -38t89 -73t79.5 -115.5t55 -172t22 -236.5q0 -154 -100 -263.5t-241 -109.5h-854q-141 0 -241 109.5t-100 263.5q0 131 22 236.5t55 172t79.5 115.5t89 73t89.5 38q-79 125 -79 272q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5
t198.5 -40.5t163.5 -109.5t109.5 -163.5t40.5 -198.5q0 -147 -79 -272zM768 1408q-159 0 -271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5zM1195 -128q88 0 150.5 71.5t62.5 173.5q0 239 -78.5 377t-225.5 145
q-145 -127 -336 -127t-336 127q-147 -7 -225.5 -145t-78.5 -377q0 -102 62.5 -173.5t150.5 -71.5h854z" />
    <glyph glyph-name="uniF2C1" unicode="&#xf2c1;" horiz-adv-x="1280"
d="M1024 278q0 -64 -37 -107t-91 -43h-512q-54 0 -91 43t-37 107t9 118t29.5 104t61 78.5t96.5 28.5q80 -75 188 -75t188 75q56 0 96.5 -28.5t61 -78.5t29.5 -104t9 -118zM870 797q0 -94 -67.5 -160.5t-162.5 -66.5t-162.5 66.5t-67.5 160.5t67.5 160.5t162.5 66.5
t162.5 -66.5t67.5 -160.5zM1152 -96v1376h-1024v-1376q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1280 1376v-1472q0 -66 -47 -113t-113 -47h-960q-66 0 -113 47t-47 113v1472q0 66 47 113t113 47h352v-96q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v96h352
q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2C2" unicode="&#xf2c2;" horiz-adv-x="2048"
d="M896 324q0 54 -7.5 100.5t-24.5 90t-51 68.5t-81 25q-64 -64 -156 -64t-156 64q-47 0 -81 -25t-51 -68.5t-24.5 -90t-7.5 -100.5q0 -55 31.5 -93.5t75.5 -38.5h426q44 0 75.5 38.5t31.5 93.5zM768 768q0 80 -56 136t-136 56t-136 -56t-56 -136t56 -136t136 -56t136 56
t56 136zM1792 288v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1408 544v64q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1792 544v64q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23
v-64q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1792 800v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM128 1152h1792v96q0 14 -9 23t-23 9h-1728q-14 0 -23 -9t-9 -23v-96zM2048 1248v-1216q0 -66 -47 -113t-113 -47h-1728
q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1728q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2C3" unicode="&#xf2c3;" horiz-adv-x="2048"
d="M896 324q0 -55 -31.5 -93.5t-75.5 -38.5h-426q-44 0 -75.5 38.5t-31.5 93.5q0 54 7.5 100.5t24.5 90t51 68.5t81 25q64 -64 156 -64t156 64q47 0 81 -25t51 -68.5t24.5 -90t7.5 -100.5zM768 768q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136z
M1792 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1408 608v-64q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h320q14 0 23 -9t9 -23zM1792 608v-64q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v64
q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 864v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1920 32v1120h-1792v-1120q0 -13 9.5 -22.5t22.5 -9.5h1728q13 0 22.5 9.5t9.5 22.5zM2048 1248v-1216q0 -66 -47 -113t-113 -47
h-1728q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1728q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2C4" unicode="&#xf2c4;" horiz-adv-x="1792"
d="M1255 749q0 318 -105 474.5t-330 156.5q-222 0 -326 -157t-104 -474q0 -316 104 -471.5t326 -155.5q74 0 131 17q-22 43 -39 73t-44 65t-53.5 56.5t-63 36t-77.5 14.5q-46 0 -79 -16l-49 97q105 91 276 91q132 0 215.5 -54t150.5 -155q67 149 67 402zM1645 117h117
q3 -27 -2 -67t-26.5 -95t-58 -100.5t-107 -78t-162.5 -32.5q-71 0 -130.5 19t-105.5 56t-79 78t-66 96q-97 -27 -205 -27q-150 0 -292.5 58t-253 158.5t-178 249t-67.5 317.5q0 170 67.5 319.5t178.5 250.5t253.5 159t291.5 58q121 0 238.5 -36t217 -106t176 -164.5
t119.5 -219t43 -261.5q0 -190 -80.5 -347.5t-218.5 -264.5q47 -70 93.5 -106.5t104.5 -36.5q61 0 94 37.5t38 85.5z" />
    <glyph glyph-name="uniF2C5" unicode="&#xf2c5;" horiz-adv-x="2304"
d="M453 -101q0 -21 -16 -37.5t-37 -16.5q-1 0 -13 3q-63 15 -162 140q-225 284 -225 676q0 341 213 614q39 51 95 103.5t94 52.5q19 0 35 -13.5t16 -32.5q0 -27 -63 -90q-98 -102 -147 -184q-119 -199 -119 -449q0 -281 123 -491q50 -85 136 -173q2 -3 14.5 -16t19.5 -21
t17 -20.5t14.5 -23.5t4.5 -21zM1796 33q0 -29 -17.5 -48.5t-46.5 -19.5h-1081q-26 0 -45 19t-19 45q0 29 17.5 48.5t46.5 19.5h1081q26 0 45 -19t19 -45zM1581 644q0 -134 -67 -233q-25 -38 -69.5 -78.5t-83.5 -60.5q-16 -10 -27 -10q-7 0 -15 6t-8 12q0 9 19 30t42 46
t42 67.5t19 88.5q0 76 -35 130q-29 42 -46 42q-3 0 -3 -5q0 -12 7.5 -35.5t7.5 -36.5q0 -22 -21.5 -35t-44.5 -13q-66 0 -66 76q0 15 1.5 44t1.5 44q0 25 -10 46q-13 25 -42 53.5t-51 28.5q-5 0 -7 -0.5t-3.5 -2.5t-1.5 -6q0 -2 16 -26t16 -54q0 -37 -19 -68t-46 -54
t-53.5 -46t-45.5 -54t-19 -68q0 -98 42 -160q29 -43 79 -63q16 -5 17 -10q1 -2 1 -5q0 -16 -18 -16q-6 0 -33 11q-119 43 -195 139.5t-76 218.5q0 55 24.5 115.5t60 115t70.5 108.5t59.5 113.5t24.5 111.5q0 53 -25 94q-29 48 -56 64q-19 9 -19 21q0 20 41 20q50 0 110 -29
q41 -19 71 -44.5t49.5 -51t33.5 -62.5t22 -69t16 -80q0 -1 3 -17.5t4.5 -25t5.5 -25t9 -27t11 -21.5t14.5 -16.5t18.5 -5.5q23 0 37 14t14 37q0 25 -20 67t-20 52t10 10q27 0 93 -70q72 -76 102.5 -156t30.5 -186zM2304 615q0 -274 -138 -503q-19 -32 -48 -72t-68 -86.5
t-81 -77t-74 -30.5q-16 0 -31 15.5t-15 31.5q0 15 29 50.5t68.5 77t48.5 52.5q183 230 183 531q0 131 -20.5 235t-72.5 211q-58 119 -163 228q-2 3 -13 13.5t-16.5 16.5t-15 17.5t-15 20t-9.5 18.5t-4 19q0 19 16 35.5t35 16.5q70 0 196 -169q98 -131 146 -273t60 -314
q2 -42 2 -64z" />
    <glyph glyph-name="uniF2C6" unicode="&#xf2c6;" horiz-adv-x="1792"
d="M1189 229l147 693q9 44 -10.5 63t-51.5 7l-864 -333q-29 -11 -39.5 -25t-2.5 -26.5t32 -19.5l221 -69l513 323q21 14 32 6q7 -5 -4 -15l-415 -375v0v0l-16 -228q23 0 45 22l108 104l224 -165q64 -36 81 38zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71
t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF2C7" unicode="&#xf2c7;" horiz-adv-x="1024"
d="M640 192q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 60 35 110t93 71v907h128v-907q58 -21 93 -71t35 -110zM768 192q0 77 -34 144t-94 112v768q0 80 -56 136t-136 56t-136 -56t-56 -136v-768q-60 -45 -94 -112t-34 -144q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5
t93.5 226.5zM896 192q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 182 128 313v711q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5v-711q128 -131 128 -313zM1024 768v-128h-192v128h192zM1024 1024v-128h-192v128h192zM1024 1280v-128h-192
v128h192z" />
    <glyph glyph-name="uniF2C8" unicode="&#xf2c8;" horiz-adv-x="1024"
d="M640 192q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 60 35 110t93 71v651h128v-651q58 -21 93 -71t35 -110zM768 192q0 77 -34 144t-94 112v768q0 80 -56 136t-136 56t-136 -56t-56 -136v-768q-60 -45 -94 -112t-34 -144q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5
t93.5 226.5zM896 192q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 182 128 313v711q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5v-711q128 -131 128 -313zM1024 768v-128h-192v128h192zM1024 1024v-128h-192v128h192zM1024 1280v-128h-192
v128h192z" />
    <glyph glyph-name="uniF2C9" unicode="&#xf2c9;" horiz-adv-x="1024"
d="M640 192q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 60 35 110t93 71v395h128v-395q58 -21 93 -71t35 -110zM768 192q0 77 -34 144t-94 112v768q0 80 -56 136t-136 56t-136 -56t-56 -136v-768q-60 -45 -94 -112t-34 -144q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5
t93.5 226.5zM896 192q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 182 128 313v711q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5v-711q128 -131 128 -313zM1024 768v-128h-192v128h192zM1024 1024v-128h-192v128h192zM1024 1280v-128h-192
v128h192z" />
    <glyph glyph-name="uniF2CA" unicode="&#xf2ca;" horiz-adv-x="1024"
d="M640 192q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 60 35 110t93 71v139h128v-139q58 -21 93 -71t35 -110zM768 192q0 77 -34 144t-94 112v768q0 80 -56 136t-136 56t-136 -56t-56 -136v-768q-60 -45 -94 -112t-34 -144q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5
t93.5 226.5zM896 192q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 182 128 313v711q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5v-711q128 -131 128 -313zM1024 768v-128h-192v128h192zM1024 1024v-128h-192v128h192zM1024 1280v-128h-192
v128h192z" />
    <glyph glyph-name="uniF2CB" unicode="&#xf2cb;" horiz-adv-x="1024"
d="M640 192q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 79 56 135.5t136 56.5t136 -56.5t56 -135.5zM768 192q0 77 -34 144t-94 112v768q0 80 -56 136t-136 56t-136 -56t-56 -136v-768q-60 -45 -94 -112t-34 -144q0 -133 93.5 -226.5t226.5 -93.5t226.5 93.5t93.5 226.5z
M896 192q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 182 128 313v711q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5v-711q128 -131 128 -313zM1024 768v-128h-192v128h192zM1024 1024v-128h-192v128h192zM1024 1280v-128h-192v128h192z" />
    <glyph glyph-name="uniF2CC" unicode="&#xf2cc;" horiz-adv-x="1920"
d="M1433 1287q10 -10 10 -23t-10 -23l-626 -626q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l44 44q-72 91 -81.5 207t46.5 215q-74 71 -176 71q-106 0 -181 -75t-75 -181v-1280h-256v1280q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5q106 0 201 -41
t166 -115q94 39 197 24.5t185 -79.5l44 44q10 10 23 10t23 -10zM1344 1024q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1600 896q-26 0 -45 19t-19 45t19 45t45 19t45 -19t19 -45t-19 -45t-45 -19zM1856 1024q26 0 45 -19t19 -45t-19 -45t-45 -19
t-45 19t-19 45t19 45t45 19zM1216 896q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1408 832q0 26 19 45t45 19t45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45zM1728 896q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1088 768
q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1344 640q-26 0 -45 19t-19 45t19 45t45 19t45 -19t19 -45t-19 -45t-45 -19zM1600 768q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1216 512q-26 0 -45 19t-19 45t19 45t45 19t45 -19
t19 -45t-19 -45t-45 -19zM1472 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1088 512q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1344 512q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1216 384
q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1088 256q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19z" />
    <glyph glyph-name="uniF2CD" unicode="&#xf2cd;" horiz-adv-x="1792"
d="M1664 448v-192q0 -169 -128 -286v-194q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v118q-63 -22 -128 -22h-768q-65 0 -128 22v-110q0 -17 -9.5 -28.5t-22.5 -11.5h-64q-13 0 -22.5 11.5t-9.5 28.5v186q-128 117 -128 286v192h1536zM704 864q0 -14 -9 -23t-23 -9t-23 9
t-9 23t9 23t23 9t23 -9t9 -23zM768 928q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM704 992q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM832 992q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM768 1056q0 -14 -9 -23t-23 -9t-23 9
t-9 23t9 23t23 9t23 -9t9 -23zM704 1120q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM1792 608v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v640q0 106 75 181t181 75q108 0 184 -78q46 19 98 12t93 -39l22 22q11 11 22 0l42 -42
q11 -11 0 -22l-314 -314q-11 -11 -22 0l-42 42q-11 11 0 22l22 22q-36 46 -40.5 104t23.5 108q-37 35 -88 35q-53 0 -90.5 -37.5t-37.5 -90.5v-640h1504q14 0 23 -9t9 -23zM896 1056q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM832 1120q0 -14 -9 -23t-23 -9
t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM768 1184q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM960 1120q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM896 1184q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM832 1248q0 -14 -9 -23
t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM1024 1184q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM960 1248q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23zM1088 1248q0 -14 -9 -23t-23 -9t-23 9t-9 23t9 23t23 9t23 -9t9 -23z" />
    <glyph glyph-name="uniF2CE" unicode="&#xf2ce;"
d="M994 344q0 -86 -17 -197q-31 -215 -55 -313q-22 -90 -152 -90t-152 90q-24 98 -55 313q-17 110 -17 197q0 168 224 168t224 -168zM1536 768q0 -240 -134 -434t-350 -280q-8 -3 -15 3t-6 15q7 48 10 66q4 32 6 47q1 9 9 12q159 81 255.5 234t96.5 337q0 180 -91 330.5
t-247 234.5t-337 74q-124 -7 -237 -61t-193.5 -140.5t-128 -202t-46.5 -240.5q1 -184 99 -336.5t257 -231.5q7 -3 9 -12q3 -21 6 -45q1 -9 5 -32.5t6 -35.5q1 -9 -6.5 -15t-15.5 -2q-148 58 -261 169.5t-173.5 264t-52.5 319.5q7 143 66 273.5t154.5 227t225 157.5t272.5 70
q164 10 315.5 -46.5t261 -160.5t175 -250.5t65.5 -308.5zM994 800q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5zM1282 768q0 -122 -53.5 -228.5t-146.5 -177.5q-8 -6 -16 -2t-10 14q-6 52 -29 92q-7 10 3 20
q58 54 91 127t33 155q0 111 -58.5 204t-157.5 141.5t-212 36.5q-133 -15 -229 -113t-109 -231q-10 -92 23.5 -176t98.5 -144q10 -10 3 -20q-24 -41 -29 -93q-2 -9 -10 -13t-16 2q-95 74 -148.5 183t-51.5 234q3 131 69 244t177 181.5t241 74.5q144 7 268 -60t196.5 -187.5
t72.5 -263.5z" />
    <glyph glyph-name="uniF2D0" unicode="&#xf2d0;" horiz-adv-x="1792"
d="M256 128h1280v768h-1280v-768zM1792 1248v-1216q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2D1" unicode="&#xf2d1;" horiz-adv-x="1792"
d="M1792 224v-192q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2D2" unicode="&#xf2d2;" horiz-adv-x="2048"
d="M256 0h768v512h-768v-512zM1280 512h512v768h-768v-256h96q66 0 113 -47t47 -113v-352zM2048 1376v-960q0 -66 -47 -113t-113 -47h-608v-352q0 -66 -47 -113t-113 -47h-960q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h608v352q0 66 47 113t113 47h960q66 0 113 -47
t47 -113z" />
    <glyph glyph-name="uniF2D3" unicode="&#xf2d3;" horiz-adv-x="1792"
d="M1175 215l146 146q10 10 10 23t-10 23l-233 233l233 233q10 10 10 23t-10 23l-146 146q-10 10 -23 10t-23 -10l-233 -233l-233 233q-10 10 -23 10t-23 -10l-146 -146q-10 -10 -10 -23t10 -23l233 -233l-233 -233q-10 -10 -10 -23t10 -23l146 -146q10 -10 23 -10t23 10
l233 233l233 -233q10 -10 23 -10t23 10zM1792 1248v-1216q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2D4" unicode="&#xf2d4;" horiz-adv-x="1792"
d="M1257 425l-146 -146q-10 -10 -23 -10t-23 10l-169 169l-169 -169q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l169 169l-169 169q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l169 -169l169 169q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23
l-169 -169l169 -169q10 -10 10 -23t-10 -23zM256 128h1280v1024h-1280v-1024zM1792 1248v-1216q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2D5" unicode="&#xf2d5;" horiz-adv-x="1792"
d="M1070 358l306 564h-654l-306 -564h654zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF2D6" unicode="&#xf2d6;" horiz-adv-x="1794"
d="M1291 1060q-15 17 -35 8.5t-26 -28.5t5 -38q14 -17 40 -14.5t34 20.5t-18 52zM895 814q-8 -8 -19.5 -8t-18.5 8q-8 8 -8 19t8 18q7 8 18.5 8t19.5 -8q7 -7 7 -18t-7 -19zM1060 740l-35 -35q-12 -13 -29.5 -13t-30.5 13l-38 38q-12 13 -12 30t12 30l35 35q12 12 29.5 12
t30.5 -12l38 -39q12 -12 12 -29.5t-12 -29.5zM951 870q-7 -8 -18.5 -8t-19.5 8q-7 8 -7 19t7 19q8 8 19 8t19 -8t8 -19t-8 -19zM1354 968q-34 -64 -107.5 -85.5t-127.5 16.5q-38 28 -61 66.5t-21 87.5t39 92t75.5 53t70.5 -5t70 -51q2 -2 13 -12.5t14.5 -13.5t13 -13.5
t12.5 -15.5t10 -15.5t8.5 -18t4 -18.5t1 -21t-5 -22t-9.5 -24zM1555 486q3 20 -8.5 34.5t-27.5 21.5t-33 17t-23 20q-40 71 -84 98.5t-113 11.5q19 13 40 18.5t33 4.5l12 -1q2 45 -34 90q6 20 6.5 40.5t-2.5 30.5l-3 10q43 24 71 65t34 91q10 84 -43 150.5t-137 76.5
q-60 7 -114 -18.5t-82 -74.5q-30 -51 -33.5 -101t14.5 -87t43.5 -64t56.5 -42q-45 4 -88 36t-57 88q-28 108 32 222q-16 21 -29 32q-50 0 -89 -19q19 24 42 37t36 14l13 1q0 50 -13 78q-10 21 -32.5 28.5t-47 -3.5t-37.5 -40q2 4 4 7q-7 -28 -6.5 -75.5t19 -117t48.5 -122.5
q-25 -14 -47 -36q-35 -16 -85.5 -70.5t-84.5 -101.5l-33 -46q-90 -34 -181 -125.5t-75 -162.5q1 -16 11 -27q-15 -12 -30 -30q-21 -25 -21 -54t21.5 -40t63.5 6q41 19 77 49.5t55 60.5q-2 2 -6.5 5t-20.5 7.5t-33 3.5q23 5 51 12.5t40 10t27.5 6t26 4t23.5 0.5q14 -7 22 34
q7 37 7 90q0 102 -40 150q106 -103 101 -219q-1 -29 -15 -50t-27 -27l-13 -6q-4 -7 -19 -32t-26 -45.5t-26.5 -52t-25 -61t-17 -63t-6.5 -66.5t10 -63q-35 54 -37 80q-22 -24 -34.5 -39t-33.5 -42t-30.5 -46t-16.5 -41t-0.5 -38t25.5 -27q45 -25 144 64t190.5 221.5
t122.5 228.5q86 52 145 115.5t86 119.5q47 -93 154 -178q104 -83 167 -80q39 2 46 43zM1794 640q0 -182 -71 -348t-191 -286t-286.5 -191t-348.5 -71t-348.5 71t-286.5 191t-191 286t-71 348t71 348t191 286t286.5 191t348.5 71t348.5 -71t286.5 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF2D7" unicode="&#xf2d7;"
d="M518 1353v-655q103 -1 191.5 1.5t125.5 5.5l37 3q68 2 90.5 24.5t39.5 94.5l33 142h103l-14 -322l7 -319h-103l-29 127q-15 68 -45 93t-84 26q-87 8 -352 8v-556q0 -78 43.5 -115.5t133.5 -37.5h357q35 0 59.5 2t55 7.5t54 18t48.5 32t46 50.5t39 73l93 216h89
q-6 -37 -31.5 -252t-30.5 -276q-146 5 -263.5 8t-162.5 4h-44h-628l-376 -12v102l127 25q67 13 91.5 37t25.5 79l8 643q3 402 -8 645q-2 61 -25.5 84t-91.5 36l-127 24v102l376 -12h702q139 0 374 27q-6 -68 -14 -194.5t-12 -219.5l-5 -92h-93l-32 124q-31 121 -74 179.5
t-113 58.5h-548q-28 0 -35.5 -8.5t-7.5 -30.5z" />
    <glyph glyph-name="uniF2D8" unicode="&#xf2d8;"
d="M922 739v-182q0 -4 0.5 -15t0 -15l-1.5 -12t-3.5 -11.5t-6.5 -7.5t-11 -5.5t-16 -1.5v309q9 0 16 -1t11 -5t6.5 -5.5t3.5 -9.5t1 -10.5v-13.5v-14zM1238 643v-121q0 -1 0.5 -12.5t0 -15.5t-2.5 -11.5t-7.5 -10.5t-13.5 -3q-9 0 -14 9q-4 10 -4 165v7v8.5v9t1.5 8.5l3.5 7
t5 5.5t8 1.5q6 0 10 -1.5t6.5 -4.5t4 -6t2 -8.5t0.5 -8v-9.5v-9zM180 407h122v472h-122v-472zM614 407h106v472h-159l-28 -221q-20 148 -32 221h-158v-472h107v312l45 -312h76l43 319v-319zM1039 712q0 67 -5 90q-3 16 -11 28.5t-17 20.5t-25 14t-26.5 8.5t-31 4t-29 1.5
h-29.5h-12h-91v-472h56q169 -1 197 24.5t25 180.5q-1 62 -1 100zM1356 515v133q0 29 -2 45t-9.5 33.5t-24.5 25t-46 7.5q-46 0 -77 -34v154h-117v-472h110l7 30q30 -36 77 -36q50 0 66 30.5t16 83.5zM1536 1248v-1216q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113
v1216q0 66 47 113t113 47h1216q66 0 113 -47t47 -113z" />
    <glyph glyph-name="uniF2D9" unicode="&#xf2d9;" horiz-adv-x="2176"
d="M1143 -197q-6 1 -11 4q-13 8 -36 23t-86 65t-116.5 104.5t-112 140t-89.5 172.5q-17 3 -175 37q66 -213 235 -362t391 -184zM502 409l168 -28q-25 76 -41 167.5t-19 145.5l-4 53q-84 -82 -121 -224q5 -65 17 -114zM612 1018q-43 -64 -77 -148q44 46 74 68zM2049 584
q0 161 -62 307t-167.5 252t-250.5 168.5t-304 62.5q-147 0 -281 -52.5t-240 -148.5q-30 -58 -45 -160q60 51 143 83.5t158.5 43t143 13.5t108.5 -1l40 -3q33 -1 53 -15.5t24.5 -33t6.5 -37t-1 -28.5q-126 11 -227.5 0.5t-183 -43.5t-142.5 -71.5t-131 -98.5
q4 -36 11.5 -92.5t35.5 -178t62 -179.5q123 -6 247.5 14.5t214.5 53.5t162.5 67t109.5 59l37 24q22 16 39.5 20.5t30.5 -5t17 -34.5q14 -97 -39 -121q-208 -97 -467 -134q-135 -20 -317 -16q41 -96 110 -176.5t137 -127t130.5 -79t101.5 -43.5l39 -12q143 -23 263 15
q195 99 314 289t119 418zM2123 621q-14 -135 -40 -212q-70 -208 -181.5 -346.5t-318.5 -253.5q-48 -33 -82 -44q-72 -26 -163 -16q-36 -3 -73 -3q-283 0 -504.5 173t-295.5 442q-1 0 -4 0.5t-5 0.5q-6 -50 2.5 -112.5t26 -115t36 -98t31.5 -71.5l14 -26q8 -12 54 -82
q-71 38 -124.5 106.5t-78.5 140t-39.5 137t-17.5 107.5l-2 42q-5 2 -33.5 12.5t-48.5 18t-53 20.5t-57.5 25t-50 25.5t-42.5 27t-25 25.5q19 -10 50.5 -25.5t113 -45.5t145.5 -38l2 32q11 149 94 290q41 202 176 365q28 115 81 214q15 28 32 45t49 32q158 74 303.5 104
t302 11t306.5 -97q220 -115 333 -336t87 -474z" />
    <glyph glyph-name="uniF2DA" unicode="&#xf2da;" horiz-adv-x="1792"
d="M1341 752q29 44 -6.5 129.5t-121.5 142.5q-58 39 -125.5 53.5t-118 4.5t-68.5 -37q-12 -23 -4.5 -28t42.5 -10q23 -3 38.5 -5t44.5 -9.5t56 -17.5q36 -13 67.5 -31.5t53 -37t40 -38.5t30.5 -38t22 -34.5t16.5 -28.5t12 -18.5t10.5 -6t11 9.5zM1704 178
q-52 -127 -148.5 -220t-214.5 -141.5t-253 -60.5t-266 13.5t-251 91t-210 161.5t-141.5 235.5t-46.5 303.5q1 41 8.5 84.5t12.5 64t24 80.5t23 73q-51 -208 1 -397t173 -318t291 -206t346 -83t349 74.5t289 244.5q20 27 18 14q0 -4 -4 -14zM1465 627q0 -104 -40.5 -199
t-108.5 -164t-162 -109.5t-198 -40.5t-198 40.5t-162 109.5t-108.5 164t-40.5 199t40.5 199t108.5 164t162 109.5t198 40.5t198 -40.5t162 -109.5t108.5 -164t40.5 -199zM1752 915q-65 147 -180.5 251t-253 153.5t-292 53.5t-301 -36.5t-275.5 -129t-220 -211.5t-131 -297
t-10 -373q-49 161 -51.5 311.5t35.5 272.5t109 227t165.5 180.5t207 126t232 71t242.5 9t236 -54t216 -124.5t178 -197q33 -50 62 -121t31 -112zM1690 573q12 244 -136.5 416t-396.5 240q-8 0 -10 5t24 8q125 -4 230 -50t173 -120t116 -168.5t58.5 -199t-1 -208
t-61.5 -197.5t-122.5 -167t-185 -117.5t-248.5 -46.5q108 30 201.5 80t174 123t129.5 176.5t55 225.5z" />
    <glyph glyph-name="uniF2DB" unicode="&#xf2db;"
d="M192 256v-128h-112q-16 0 -16 16v16h-48q-16 0 -16 16v32q0 16 16 16h48v16q0 16 16 16h112zM192 512v-128h-112q-16 0 -16 16v16h-48q-16 0 -16 16v32q0 16 16 16h48v16q0 16 16 16h112zM192 768v-128h-112q-16 0 -16 16v16h-48q-16 0 -16 16v32q0 16 16 16h48v16
q0 16 16 16h112zM192 1024v-128h-112q-16 0 -16 16v16h-48q-16 0 -16 16v32q0 16 16 16h48v16q0 16 16 16h112zM192 1280v-128h-112q-16 0 -16 16v16h-48q-16 0 -16 16v32q0 16 16 16h48v16q0 16 16 16h112zM1280 1440v-1472q0 -40 -28 -68t-68 -28h-832q-40 0 -68 28
t-28 68v1472q0 40 28 68t68 28h832q40 0 68 -28t28 -68zM1536 208v-32q0 -16 -16 -16h-48v-16q0 -16 -16 -16h-112v128h112q16 0 16 -16v-16h48q16 0 16 -16zM1536 464v-32q0 -16 -16 -16h-48v-16q0 -16 -16 -16h-112v128h112q16 0 16 -16v-16h48q16 0 16 -16zM1536 720v-32
q0 -16 -16 -16h-48v-16q0 -16 -16 -16h-112v128h112q16 0 16 -16v-16h48q16 0 16 -16zM1536 976v-32q0 -16 -16 -16h-48v-16q0 -16 -16 -16h-112v128h112q16 0 16 -16v-16h48q16 0 16 -16zM1536 1232v-32q0 -16 -16 -16h-48v-16q0 -16 -16 -16h-112v128h112q16 0 16 -16v-16
h48q16 0 16 -16z" />
    <glyph glyph-name="uniF2DC" unicode="&#xf2dc;" horiz-adv-x="1664"
d="M1566 419l-167 -33l186 -107q23 -13 29.5 -38.5t-6.5 -48.5q-14 -23 -39 -29.5t-48 6.5l-186 106l55 -160q13 -38 -12 -63.5t-60.5 -20.5t-48.5 42l-102 300l-271 156v-313l208 -238q16 -18 17 -39t-11 -36.5t-28.5 -25t-37 -5.5t-36.5 22l-112 128v-214q0 -26 -19 -45
t-45 -19t-45 19t-19 45v214l-112 -128q-16 -18 -36.5 -22t-37 5.5t-28.5 25t-11 36.5t17 39l208 238v313l-271 -156l-102 -300q-13 -37 -48.5 -42t-60.5 20.5t-12 63.5l55 160l-186 -106q-23 -13 -48 -6.5t-39 29.5q-13 23 -6.5 48.5t29.5 38.5l186 107l-167 33
q-29 6 -42 29t-8.5 46.5t25.5 40t50 10.5l310 -62l271 157l-271 157l-310 -62q-4 -1 -13 -1q-27 0 -44 18t-19 40t11 43t40 26l167 33l-186 107q-23 13 -29.5 38.5t6.5 48.5t39 30t48 -7l186 -106l-55 160q-13 38 12 63.5t60.5 20.5t48.5 -42l102 -300l271 -156v313
l-208 238q-16 18 -17 39t11 36.5t28.5 25t37 5.5t36.5 -22l112 -128v214q0 26 19 45t45 19t45 -19t19 -45v-214l112 128q16 18 36.5 22t37 -5.5t28.5 -25t11 -36.5t-17 -39l-208 -238v-313l271 156l102 300q13 37 48.5 42t60.5 -20.5t12 -63.5l-55 -160l186 106
q23 13 48 6.5t39 -29.5q13 -23 6.5 -48.5t-29.5 -38.5l-186 -107l167 -33q27 -5 40 -26t11 -43t-19 -40t-44 -18q-9 0 -13 1l-310 62l-271 -157l271 -157l310 62q29 6 50 -10.5t25.5 -40t-8.5 -46.5t-42 -29z" />
    <glyph glyph-name="uniF2DD" unicode="&#xf2dd;" horiz-adv-x="1792"
d="M1473 607q7 118 -33 226.5t-113 189t-177 131t-221 57.5q-116 7 -225.5 -32t-192 -110.5t-135 -175t-59.5 -220.5q-7 -118 33 -226.5t113 -189t177.5 -131t221.5 -57.5q155 -9 293 59t224 195.5t94 283.5zM1792 1536l-349 -348q120 -117 180.5 -272t50.5 -321
q-11 -183 -102 -339t-241 -255.5t-332 -124.5l-999 -132l347 347q-120 116 -180.5 271.5t-50.5 321.5q11 184 102 340t241.5 255.5t332.5 124.5q167 22 500 66t500 66z" />
    <glyph glyph-name="uniF2DE" unicode="&#xf2de;" horiz-adv-x="1792"
d="M948 508l163 -329h-51l-175 350l-171 -350h-49l179 374l-78 33l21 49l240 -102l-21 -50zM563 1100l304 -130l-130 -304l-304 130zM907 915l240 -103l-103 -239l-239 102zM1188 765l191 -81l-82 -190l-190 81zM1680 640q0 159 -62 304t-167.5 250.5t-250.5 167.5t-304 62
t-304 -62t-250.5 -167.5t-167.5 -250.5t-62 -304t62 -304t167.5 -250.5t250.5 -167.5t304 -62t304 62t250.5 167.5t167.5 250.5t62 304zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71
t286 -191t191 -286t71 -348z" />
    <glyph glyph-name="uniF2E0" unicode="&#xf2e0;" horiz-adv-x="1920"
d="M1334 302q-4 24 -27.5 34t-49.5 10.5t-48.5 12.5t-25.5 38q-5 47 33 139.5t75 181t32 127.5q-14 101 -117 103q-45 1 -75 -16l-3 -2l-5 -2.5t-4.5 -2t-5 -2t-5 -0.5t-6 1.5t-6 3.5t-6.5 5q-3 2 -9 8.5t-9 9t-8.5 7.5t-9.5 7.5t-9.5 5.5t-11 4.5t-11.5 2.5q-30 5 -48 -3
t-45 -31q-1 -1 -9 -8.5t-12.5 -11t-15 -10t-16.5 -5.5t-17 3q-54 27 -84 40q-41 18 -94 -5t-76 -65q-16 -28 -41 -98.5t-43.5 -132.5t-40 -134t-21.5 -73q-22 -69 18.5 -119t110.5 -46q30 2 50.5 15t38.5 46q7 13 79 199.5t77 194.5q6 11 21.5 18t29.5 0q27 -15 21 -53
q-2 -18 -51 -139.5t-50 -132.5q-6 -38 19.5 -56.5t60.5 -7t55 49.5q4 8 45.5 92t81.5 163.5t46 88.5q20 29 41 28q29 0 25 -38q-2 -16 -65.5 -147.5t-70.5 -159.5q-12 -53 13 -103t74 -74q17 -9 51 -15.5t71.5 -8t62.5 14t20 48.5zM383 86q3 -15 -5 -27.5t-23 -15.5
q-14 -3 -26.5 5t-15.5 23q-3 14 5 27t22 16t27 -5t16 -23zM953 -177q12 -17 8.5 -37.5t-20.5 -32.5t-37.5 -8t-32.5 21q-11 17 -7.5 37.5t20.5 32.5t37.5 8t31.5 -21zM177 635q-18 -27 -49.5 -33t-57.5 13q-26 18 -32 50t12 58q18 27 49.5 33t57.5 -12q26 -19 32 -50.5
t-12 -58.5zM1467 -42q19 -28 13 -61.5t-34 -52.5t-60.5 -13t-51.5 34t-13 61t33 53q28 19 60.5 13t52.5 -34zM1579 562q69 -113 42.5 -244.5t-134.5 -207.5q-90 -63 -199 -60q-20 -80 -84.5 -127t-143.5 -44.5t-140 57.5q-12 -9 -13 -10q-103 -71 -225 -48.5t-193 126.5
q-50 73 -53 164q-83 14 -142.5 70.5t-80.5 128t-2 152t81 138.5q-36 60 -38 128t24.5 125t79.5 98.5t121 50.5q32 85 99 148t146.5 91.5t168 17t159.5 -66.5q72 21 140 17.5t128.5 -36t104.5 -80t67.5 -115t17.5 -140.5q52 -16 87 -57t45.5 -89t-5.5 -99.5t-58 -87.5z
M455 1222q14 -20 9.5 -44.5t-24.5 -38.5q-19 -14 -43.5 -9.5t-37.5 24.5q-14 20 -9.5 44.5t24.5 38.5q19 14 43.5 9.5t37.5 -24.5zM614 1503q4 -16 -5 -30.5t-26 -18.5t-31 5.5t-18 26.5q-3 17 6.5 31t25.5 18q17 4 31 -5.5t17 -26.5zM1800 555q4 -20 -6.5 -37t-30.5 -21
q-19 -4 -36 6.5t-21 30.5t6.5 37t30.5 22q20 4 36.5 -7.5t20.5 -30.5zM1136 1448q16 -27 8.5 -58.5t-35.5 -47.5q-27 -16 -57.5 -8.5t-46.5 34.5q-16 28 -8.5 59t34.5 48t58 9t47 -36zM1882 792q4 -15 -4 -27.5t-23 -16.5q-15 -3 -27.5 5.5t-15.5 22.5q-3 15 5 28t23 16
q14 3 26.5 -5t15.5 -23zM1691 1033q15 -22 10.5 -49t-26.5 -43q-22 -15 -49 -10t-42 27t-10 49t27 43t48.5 11t41.5 -28z" />
    <glyph glyph-name="uniF2E1" unicode="&#xf2e1;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E2" unicode="&#xf2e2;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E3" unicode="&#xf2e3;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E4" unicode="&#xf2e4;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E5" unicode="&#xf2e5;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E6" unicode="&#xf2e6;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E7" unicode="&#xf2e7;" horiz-adv-x="1792"
 />
    <glyph glyph-name="_698" unicode="&#xf2e8;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2E9" unicode="&#xf2e9;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2EA" unicode="&#xf2ea;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2EB" unicode="&#xf2eb;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2EC" unicode="&#xf2ec;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2ED" unicode="&#xf2ed;" horiz-adv-x="1792"
 />
    <glyph glyph-name="uniF2EE" unicode="&#xf2ee;" horiz-adv-x="1792"
 />
    <glyph glyph-name="lessequal" unicode="&#xf500;" horiz-adv-x="1792"
 />
  </font>
</defs></svg>
public/cdn/wf-design-base/index.umd.min.js
New file
@@ -0,0 +1,25 @@
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["WfDesignBase"]=t():e["WfDesignBase"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="5069")}({"0066":function(e,t,n){"use strict";var i=n("d6ed"),o=n("c673"),r=n("609f"),s=n("a53d"),a=n("ce47"),l=n("acd4"),c=n("6023");e.exports=function(e){var t,n,h,u,d,p,f=o(e),g="function"==typeof this?this:Array,m=arguments.length,b=m>1?arguments[1]:void 0,v=void 0!==b,y=c(f),w=0;if(v&&(b=i(b,m>2?arguments[2]:void 0,2)),void 0==y||g==Array&&s(y))for(t=a(f.length),n=new g(t);t>w;w++)p=v?b(f[w],w):f[w],l(n,w,p);else for(u=y.call(f),d=u.next,n=new g;!(h=d.call(u)).done;w++)p=v?r(u,b,[h.value,w],!0):h.value,l(n,w,p);return n.length=w,n}},"006c":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{-webkit-animation-name:progress;animation-name:progress;-webkit-animation-duration:4s;animation-duration:4s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;transform:translateZ(0)}@-webkit-keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4950%) scaleX(1)}}",""]),e.exports=t},"00ad":function(e,t,n){var i=n("61b6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("08cdbd56",i,!0,{sourceMap:!1,shadowMode:!1})},"02de":function(e,t,n){"use strict";var i=n("83ec"),o=n("55ab"),r=n("e244"),s=n("fe32"),a=n("eee7"),l=n("b896").f,c=n("8c42"),h=r.Symbol;if(o&&"function"==typeof h&&(!("description"in h.prototype)||void 0!==h().description)){var u={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new h(e):void 0===e?h():h(e);return""===e&&(u[t]=!0),t};c(d,h);var p=d.prototype=h.prototype;p.constructor=d;var f=p.toString,g="Symbol(test)"==String(h("test")),m=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,t=f.call(e);if(s(u,e))return"";var n=g?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:d})}},"030e":function(e,t,n){"use strict";var i=n("ac97");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=i((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=i((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},"0317":function(e,t,n){"use strict";var i=n("4580"),o=i.CONSUME_TOKEN_EVENT,r=i.GENERATE_TOKEN_EVENT;function s(e,t,n){this._eventBus=e,this._animation=t,this._elementRegistry=n}s.prototype.consume=function(e){var t=e.element;if(!t.sequenceFlow)throw new Error("no sequence flow configured for element "+t.id);this._eventBus.fire(r,e)},s.prototype.generate=function(e){var t=e.element,n=e.processInstanceId;if(!t.sequenceFlow)throw new Error("no sequence flow configured for element "+t.id);var i=this,r=this._elementRegistry.get(t.sequenceFlow.id);this._animation.createAnimation(r,n,(function(){i._eventBus.fire(o,{element:r.target,processInstanceId:n})}))},s.$inject=["eventBus","animation","elementRegistry"],e.exports=s},"03ad":function(e){e.exports=JSON.parse('{"name":"Flowable","uri":"http://flowable.org/bpmn","prefix":"flowable","xml":{"tagAlias":"lowerCase"},"associations":[],"types":[{"name":"Definitions","isAbstract":true,"extends":["bpmn:Definitions"],"properties":[{"name":"diagramRelationId","isAttr":true,"type":"String"}]},{"name":"InOutBinding","superClass":["Element"],"isAbstract":true,"properties":[{"name":"source","isAttr":true,"type":"String"},{"name":"sourceExpression","isAttr":true,"type":"String"},{"name":"target","isAttr":true,"type":"String"},{"name":"businessKey","isAttr":true,"type":"String"},{"name":"local","isAttr":true,"type":"Boolean","default":false},{"name":"variables","isAttr":true,"type":"String"}]},{"name":"In","superClass":["InOutBinding"],"meta":{"allowedIn":["bpmn:CallActivity"]}},{"name":"Out","superClass":["InOutBinding"],"meta":{"allowedIn":["bpmn:CallActivity"]}},{"name":"AsyncCapable","isAbstract":true,"extends":["bpmn:Activity","bpmn:Gateway","bpmn:Event"],"properties":[{"name":"async","isAttr":true,"type":"Boolean","default":false},{"name":"asyncBefore","isAttr":true,"type":"Boolean","default":false},{"name":"asyncAfter","isAttr":true,"type":"Boolean","default":false},{"name":"exclusive","isAttr":true,"type":"Boolean","default":true}]},{"name":"JobPriorized","isAbstract":true,"extends":["bpmn:Process","flowable:AsyncCapable"],"properties":[{"name":"jobPriority","isAttr":true,"type":"String"}]},{"name":"SignalEventDefinition","isAbstract":true,"extends":["bpmn:SignalEventDefinition"],"properties":[{"name":"async","isAttr":true,"type":"Boolean","default":false}]},{"name":"ErrorEventDefinition","isAbstract":true,"extends":["bpmn:ErrorEventDefinition"],"properties":[{"name":"errorCodeVariable","isAttr":true,"type":"String"},{"name":"errorMessageVariable","isAttr":true,"type":"String"}]},{"name":"Error","isAbstract":true,"extends":["bpmn:Error"],"properties":[{"name":"flowable:errorMessage","isAttr":true,"type":"String"}]},{"name":"PotentialStarter","superClass":["Element"],"properties":[{"name":"resourceAssignmentExpression","type":"bpmn:ResourceAssignmentExpression"}]},{"name":"FormSupported","isAbstract":true,"extends":["bpmn:StartEvent","bpmn:UserTask"],"properties":[{"name":"formHandlerClass","isAttr":true,"type":"String"},{"name":"formKey","isAttr":true,"type":"String"},{"name":"formType","isAttr":true,"type":"String"},{"name":"formReadOnly","isAttr":true,"type":"String"},{"name":"outFormKey","isAttr":true,"type":"String"}]},{"name":"TemplateSupported","isAbstract":true,"extends":["bpmn:Process","bpmn:FlowElement"],"properties":[{"name":"modelerTemplate","isAttr":true,"type":"String"}]},{"name":"Initiator","isAbstract":true,"extends":["bpmn:StartEvent"],"properties":[{"name":"initiator","isAttr":true,"type":"String"}]},{"name":"ScriptTask","isAbstract":true,"extends":["bpmn:ScriptTask"],"properties":[{"name":"resultVariable","isAttr":true,"type":"String"},{"name":"resource","isAttr":true,"type":"String"}]},{"name":"Process","isAbstract":true,"extends":["bpmn:Process"],"properties":[{"name":"candidateStarterGroups","isAttr":true,"type":"String"},{"name":"candidateStarterUsers","isAttr":true,"type":"String"},{"name":"versionTag","isAttr":true,"type":"String"},{"name":"historyTimeToLive","isAttr":true,"type":"String"},{"name":"isStartableInTasklist","isAttr":true,"type":"Boolean","default":true},{"name":"executionListener","isAbstract":true,"type":"Expression"}]},{"name":"EscalationEventDefinition","isAbstract":true,"extends":["bpmn:EscalationEventDefinition"],"properties":[{"name":"escalationCodeVariable","isAttr":true,"type":"String"}]},{"name":"FormalExpression","isAbstract":true,"extends":["bpmn:FormalExpression"],"properties":[{"name":"resource","isAttr":true,"type":"String"}]},{"name":"multiinstance_type","superClass":["Element"]},{"name":"multiinstance_condition","superClass":["Element"]},{"name":"Assignable","extends":["bpmn:UserTask"],"properties":[{"name":"assignee","isAttr":true,"type":"String"},{"name":"candidateUsers","isAttr":true,"type":"String"},{"name":"candidateGroups","isAttr":true,"type":"String"},{"name":"dueDate","isAttr":true,"type":"String"},{"name":"followUpDate","isAttr":true,"type":"String"},{"name":"priority","isAttr":true,"type":"String"},{"name":"multiinstance_condition","isAttr":true,"type":"String"}]},{"name":"CallActivity","extends":["bpmn:CallActivity"],"properties":[{"name":"calledElementBinding","isAttr":true,"type":"String","default":"latest"},{"name":"calledElementVersion","isAttr":true,"type":"String"},{"name":"calledElementVersionTag","isAttr":true,"type":"String"},{"name":"calledElementTenantId","isAttr":true,"type":"String"},{"name":"caseRef","isAttr":true,"type":"String"},{"name":"caseBinding","isAttr":true,"type":"String","default":"latest"},{"name":"caseVersion","isAttr":true,"type":"String"},{"name":"caseTenantId","isAttr":true,"type":"String"},{"name":"variableMappingClass","isAttr":true,"type":"String"},{"name":"variableMappingDelegateExpression","isAttr":true,"type":"String"}]},{"name":"ServiceTaskLike","extends":["bpmn:ServiceTask","bpmn:BusinessRuleTask","bpmn:SendTask","bpmn:MessageEventDefinition"],"properties":[{"name":"expression","isAttr":true,"type":"String"},{"name":"class","isAttr":true,"type":"String"},{"name":"delegateExpression","isAttr":true,"type":"String"},{"name":"resultVariable","isAttr":true,"type":"String"}]},{"name":"DmnCapable","extends":["bpmn:BusinessRuleTask"],"properties":[{"name":"decisionRef","isAttr":true,"type":"String"},{"name":"decisionRefBinding","isAttr":true,"type":"String","default":"latest"},{"name":"decisionRefVersion","isAttr":true,"type":"String"},{"name":"mapDecisionResult","isAttr":true,"type":"String","default":"resultList"},{"name":"decisionRefTenantId","isAttr":true,"type":"String"}]},{"name":"ExternalCapable","extends":["flowable:ServiceTaskLike"],"properties":[{"name":"type","isAttr":true,"type":"String"},{"name":"topic","isAttr":true,"type":"String"}]},{"name":"TaskPriorized","extends":["bpmn:Process","flowable:ExternalCapable"],"properties":[{"name":"taskPriority","isAttr":true,"type":"String"}]},{"name":"Properties","superClass":["Element"],"meta":{"allowedIn":["*"]},"properties":[{"name":"values","type":"Property","isMany":true}]},{"name":"Property","superClass":["Element"],"properties":[{"name":"id","type":"String","isAttr":true},{"name":"name","type":"String","isAttr":true},{"name":"value","type":"String","isAttr":true}]},{"name":"Connector","superClass":["Element"],"meta":{"allowedIn":["flowable:ServiceTaskLike"]},"properties":[{"name":"inputOutput","type":"InputOutput"},{"name":"connectorId","type":"String"}]},{"name":"InputOutput","superClass":["Element"],"meta":{"allowedIn":["bpmn:FlowNode","flowable:Connector"]},"properties":[{"name":"inputOutput","type":"InputOutput"},{"name":"connectorId","type":"String"},{"name":"inputParameters","isMany":true,"type":"InputParameter"},{"name":"outputParameters","isMany":true,"type":"OutputParameter"}]},{"name":"InputOutputParameter","properties":[{"name":"name","isAttr":true,"type":"String"},{"name":"value","isBody":true,"type":"String"},{"name":"definition","type":"InputOutputParameterDefinition"}]},{"name":"InputOutputParameterDefinition","isAbstract":true},{"name":"List","superClass":["InputOutputParameterDefinition"],"properties":[{"name":"items","isMany":true,"type":"InputOutputParameterDefinition"}]},{"name":"Map","superClass":["InputOutputParameterDefinition"],"properties":[{"name":"entries","isMany":true,"type":"Entry"}]},{"name":"Entry","properties":[{"name":"key","isAttr":true,"type":"String"},{"name":"value","isBody":true,"type":"String"},{"name":"definition","type":"InputOutputParameterDefinition"}]},{"name":"Value","superClass":["InputOutputParameterDefinition"],"properties":[{"name":"id","isAttr":true,"type":"String"},{"name":"name","isAttr":true,"type":"String"},{"name":"value","isBody":true,"type":"String"}]},{"name":"Script","superClass":["InputOutputParameterDefinition"],"properties":[{"name":"scriptFormat","isAttr":true,"type":"String"},{"name":"resource","isAttr":true,"type":"String"},{"name":"value","isBody":true,"type":"String"}]},{"name":"Field","superClass":["Element"],"meta":{"allowedIn":["flowable:ServiceTaskLike","flowable:ExecutionListener","flowable:TaskListener"]},"properties":[{"name":"name","isAttr":true,"type":"String"},{"name":"expression","type":"String"},{"name":"stringValue","isAttr":true,"type":"String"},{"name":"string","type":"String"}]},{"name":"InputParameter","superClass":["InputOutputParameter"]},{"name":"OutputParameter","superClass":["InputOutputParameter"]},{"name":"Collectable","isAbstract":true,"extends":["bpmn:MultiInstanceLoopCharacteristics"],"superClass":["flowable:AsyncCapable"],"properties":[{"name":"collection","isAttr":true,"type":"String"},{"name":"elementVariable","isAttr":true,"type":"String"}]},{"name":"FailedJobRetryTimeCycle","superClass":["Element"],"meta":{"allowedIn":["flowable:AsyncCapable","bpmn:MultiInstanceLoopCharacteristics"]},"properties":[{"name":"body","isBody":true,"type":"String"}]},{"name":"ExecutionListener","superClass":["Element"],"meta":{"allowedIn":["bpmn:Task","bpmn:ServiceTask","bpmn:UserTask","bpmn:BusinessRuleTask","bpmn:ScriptTask","bpmn:ReceiveTask","bpmn:ManualTask","bpmn:ExclusiveGateway","bpmn:SequenceFlow","bpmn:ParallelGateway","bpmn:InclusiveGateway","bpmn:EventBasedGateway","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:EndEvent","bpmn:BoundaryEvent","bpmn:CallActivity","bpmn:SubProcess","bpmn:Process"]},"properties":[{"name":"expression","isAttr":true,"type":"String"},{"name":"class","isAttr":true,"type":"String"},{"name":"delegateExpression","isAttr":true,"type":"String"},{"name":"event","isAttr":true,"type":"String"},{"name":"script","type":"Script"},{"name":"fields","type":"Field","isMany":true}]},{"name":"TaskListener","superClass":["Element"],"meta":{"allowedIn":["bpmn:UserTask"]},"properties":[{"name":"expression","isAttr":true,"type":"String"},{"name":"class","isAttr":true,"type":"String"},{"name":"delegateExpression","isAttr":true,"type":"String"},{"name":"event","isAttr":true,"type":"String"},{"name":"script","type":"Script"},{"name":"fields","type":"Field","isMany":true}]},{"name":"FormProperty","superClass":["Element"],"meta":{"allowedIn":["bpmn:StartEvent","bpmn:UserTask"]},"properties":[{"name":"id","type":"String","isAttr":true},{"name":"name","type":"String","isAttr":true},{"name":"type","type":"String","isAttr":true},{"name":"required","type":"String","isAttr":true},{"name":"readable","type":"String","isAttr":true},{"name":"writable","type":"String","isAttr":true},{"name":"variable","type":"String","isAttr":true},{"name":"expression","type":"String","isAttr":true},{"name":"datePattern","type":"String","isAttr":true},{"name":"default","type":"String","isAttr":true},{"name":"values","type":"Value","isMany":true}]},{"name":"Button","superClass":["Element"],"meta":{"allowedIn":["bpmn:StartEvent","bpmn:UserTask"]},"properties":[{"name":"label","type":"String","isAttr":true},{"name":"prop","type":"String","isAttr":true},{"name":"display","type":"String","isAttr":true}]},{"name":"FormData","superClass":["Element"],"meta":{"allowedIn":["bpmn:StartEvent","bpmn:UserTask"]},"properties":[{"name":"fields","type":"FormField","isMany":true},{"name":"businessKey","type":"String","isAttr":true}]},{"name":"FormField","superClass":["Element"],"properties":[{"name":"id","type":"String","isAttr":true},{"name":"label","type":"String","isAttr":true},{"name":"type","type":"String","isAttr":true},{"name":"datePattern","type":"String","isAttr":true},{"name":"defaultValue","type":"String","isAttr":true},{"name":"properties","type":"Properties"},{"name":"validation","type":"Validation"},{"name":"values","type":"Value","isMany":true}]},{"name":"Validation","superClass":["Element"],"properties":[{"name":"constraints","type":"Constraint","isMany":true}]},{"name":"Constraint","superClass":["Element"],"properties":[{"name":"name","type":"String","isAttr":true},{"name":"config","type":"String","isAttr":true}]},{"name":"ConditionalEventDefinition","isAbstract":true,"extends":["bpmn:ConditionalEventDefinition"],"properties":[{"name":"variableName","isAttr":true,"type":"String"},{"name":"variableEvent","isAttr":true,"type":"String"}]}],"emumerations":[]}')},"0556":function(e,t,n){var i=n("4e70");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("c1082ae6",i,!0,{sourceMap:!1,shadowMode:!1})},"061d":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-aria-container{position:absolute;left:-999em}",""]),e.exports=t},"0678":function(e,t,n){var i=n("061d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0a503a2c",i,!0,{sourceMap:!1,shadowMode:!1})},"085b":function(e,t,n){"use strict";var i=n("55ab"),o=n("e244"),r=n("a056"),s=n("7d86"),a=n("fe32"),l=n("c401"),c=n("ca23"),h=n("7f82"),u=n("ac97"),d=n("ca2b"),p=n("f0f1").f,f=n("42b1").f,g=n("b896").f,m=n("3395").trim,b="Number",v=o[b],y=v.prototype,w=l(d(y))==b,_=function(e){var t,n,i,o,r,s,a,l,c=h(e,!1);if("string"==typeof c&&c.length>2)if(c=m(c),t=c.charCodeAt(0),43===t||45===t){if(n=c.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+c}for(r=c.slice(2),s=r.length,a=0;a<s;a++)if(l=r.charCodeAt(a),l<48||l>o)return NaN;return parseInt(r,i)}return+c};if(r(b,!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var A,C=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof C&&(w?u((function(){y.valueOf.call(n)})):l(n)!=b)?c(new v(_(t)),n,C):_(t)},E=i?p(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),x=0;E.length>x;x++)a(v,A=E[x])&&!a(C,A)&&g(C,A,f(v,A));C.prototype=y,y.constructor=C,s(o,b,C)}},"0874":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"0adc":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,"@-webkit-keyframes codicon-spin{to{transform:rotate(1turn)}}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-animation-spin{-webkit-animation:codicon-spin 1.5s steps(30) infinite;animation:codicon-spin 1.5s steps(30) infinite}",""]),e.exports=t},"0da4":function(e,t,n){"use strict";var i=n("6965"),o=n("d53b");e.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},"0df9":function(e,t,n){var i=n("7439");e.exports=function(e){if(i(e))throw TypeError("The method doesn't accept regular expressions");return e}},"0ef1":function(e,t){t.f=Object.getOwnPropertySymbols},"10b1":function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("1eca");t=i(!1);var s=o(r);t.push([e.i,"@font-face{font-family:codicon;src:url("+s+') format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}',""]),e.exports=t},"10ef":function(e,t,n){e.exports=n("db90")},1115:function(e,t,n){"use strict";n("00ad")},"11b0":function(e,t,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:i},"11cb":function(e,t,n){var i=n("9d6f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7d6c689e",i,!0,{sourceMap:!1,shadowMode:!1})},"11e2":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .cdr{position:absolute}",""]),e.exports=t},"139d":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}",""]),e.exports=t},"13a8":function(e,t,n){var i=n("fbcf"),o=n("2cdc");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return i(n),o(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},"154c":function(e,t,n){var i=n("4cdd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("da9b1e04",i,!0,{sourceMap:!1,shadowMode:!1})},"15b2":function(e,t,n){"use strict";var i,o,r,s=n("ac97"),a=n("a7f7"),l=n("69f1"),c=n("fe32"),h=n("1810"),u=n("f0db"),d=h("iterator"),p=!1,f=function(){return this};[].keys&&(r=[].keys(),"next"in r?(o=a(a(r)),o!==Object.prototype&&(i=o)):p=!0);var g=void 0==i||s((function(){var e={};return i[d].call(e)!==e}));g&&(i={}),u&&!g||c(i,d)||l(i,d,f),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},1613:function(e,t,n){var i=n("0adc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("b04beba4",i,!0,{sourceMap:!1,shadowMode:!1})},"164d":function(e,t,n){"use strict";var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=1e4;function s(e,t){var n=t.get("editorActions",!1),i=t.get("keyboard",!1);if(i&&n){var s=!1;e.on("keyboard.init",(function(){i.addListener(r,(function(e){var t=e.keyEvent;l(t)}))})),e.on(o,(function(e){var t=e.simulationModeActive;s=!!t}))}function l(e){return a(["t","T"],e)?(n.trigger("toggleTokenSimulation"),!0):s?a(["l","L"],e)?(n.trigger("toggleTokenSimulationLog"),!0):a([" ","Spacebar"],e)?(n.trigger("togglePauseTokenSimulation"),!0):a(["r","R"],e)?(n.trigger("resetTokenSimulation"),!0):void 0:void 0}}function a(e,t){return e.indexOf(t.key)>-1}s.$inject=["eventBus","injector"],e.exports=s},"17be":function(e,t,n){var i=n("e244"),o=n("9550"),r=i.WeakMap;e.exports="function"===typeof r&&/native code/.test(o(r))},"17d4":function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,i,o){var r,s,a=8*o-i-1,l=(1<<a)-1,c=l>>1,h=-7,u=n?o-1:0,d=n?-1:1,p=e[t+u];for(u+=d,r=p&(1<<-h)-1,p>>=-h,h+=a;h>0;r=256*r+e[t+u],u+=d,h-=8);for(s=r&(1<<-h)-1,r>>=-h,h+=i;h>0;s=256*s+e[t+u],u+=d,h-=8);if(0===r)r=1-c;else{if(r===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),r-=c}return(p?-1:1)*s*Math.pow(2,r-i)},t.write=function(e,t,n,i,o,r){var s,a,l,c=8*r-o-1,h=(1<<c)-1,u=h>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:r-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+u>=1?d/l:d*Math.pow(2,1-u),t*l>=2&&(s++,l/=2),s+u>=h?(a=0,s=h):s+u>=1?(a=(t*l-1)*Math.pow(2,o),s+=u):(a=t*Math.pow(2,u-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&a,p+=f,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*g}},1810:function(e,t,n){var i=n("e244"),o=n("986e"),r=n("fe32"),s=n("76b2"),a=n("8fed"),l=n("bd77"),c=o("wks"),h=i.Symbol,u=l?h:h&&h.withoutSetter||s;e.exports=function(e){return r(c,e)&&(a||"string"==typeof c[e])||(a&&r(h,e)?c[e]=h[e]:c[e]=u("Symbol."+e)),c[e]}},1854:function(e,t,n){e.exports=n.p+"fonts/fontawesome-webfont.674f50d2.eot"},1969:function(e,t,n){"use strict";n("f96e");var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=i.query,l=n("4580"),c=l.TOGGLE_MODE_EVENT;function h(e,t,n,i){var o=this;this._canvas=e,this._animation=t,this._eventBus=n,this._translate=i,this._init(),n.on(c,(function(e){var t=e.simulationModeActive;t?r(o.container).remove("hidden"):r(o.container).add("hidden")}))}h.prototype._init=function(){var e=this;this.container=o('<div class="set-animation-speed hidden">'+'<i title="'.concat(this._translate("Set Animation Speed"),'" class="fa fa-tachometer" aria-hidden="true"></i>')+'<div class="animation-speed-buttons">'+'<div title="'.concat(this._translate("Slow"),'" id="animation-speed-1" class="animation-speed-button"><i class="fa fa-angle-right" aria-hidden="true"></i></div>')+'<div title="'.concat(this._translate("Normal"),'" id="animation-speed-2" class="animation-speed-button active"><i class="fa fa-angle-right" aria-hidden="true"></i><i class="fa fa-angle-right" aria-hidden="true"></i></div>')+'<div title="'.concat(this._translate("Fast"),'" id="animation-speed-3" class="animation-speed-button"><i class="fa fa-angle-right" aria-hidden="true"></i><i class="fa fa-angle-right" aria-hidden="true"></i><i class="fa fa-angle-right" aria-hidden="true"></i></div>')+"</div></div>");var t=a("#animation-speed-1",this.container),n=a("#animation-speed-2",this.container),i=a("#animation-speed-3",this.container);s.bind(t,"click",(function(){e.setActive(t),e._animation.setAnimationSpeed(.5)})),s.bind(n,"click",(function(){e.setActive(n),e._animation.setAnimationSpeed(1)})),s.bind(i,"click",(function(){e.setActive(i),e._animation.setAnimationSpeed(1.5)})),this._canvas.getContainer().appendChild(this.container)},h.prototype.setActive=function(e){a.all(".animation-speed-button",this.container).forEach((function(e){r(e).remove("active")})),r(e).add("active")},h.$inject=["canvas","animation","eventBus","translate"],e.exports=h},"1a37":function(e,t,n){var i=n("6120");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("11b4b069",i,!0,{sourceMap:!1,shadowMode:!1})},"1a7b":function(e,t,n){var i=n("e248");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("4bc745f9",i,!0,{sourceMap:!1,shadowMode:!1})},"1ac3":function(e,t,n){e.exports=n("522e")},"1cb4":function(e,t,n){"use strict";(function(e,i){n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return _})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return E})),n.d(t,"j",(function(){return x})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return M}));const o="en";let r=!1,s=!1,a=!1,l=!1,c=!1,h=!1,u=void 0,d=o,p=void 0,f=void 0;const g="undefined"!==typeof e&&"undefined"!==typeof e.versions&&"undefined"!==typeof e.versions.electron&&"renderer"===e.type;if("object"!==typeof navigator||g){if("object"===typeof e){r="win32"===e.platform,s="darwin"===e.platform,a="linux"===e.platform,u=o,d=o;const t=Object({NODE_ENV:"production",BASE_URL:"/"})["VSCODE_NLS_CONFIG"];if(t)try{const e=JSON.parse(t),n=e.availableLanguages["*"];u=e.locale,d=n||o,p=e._translationsConfigFile}catch(N){}l=!0}}else f=navigator.userAgent,r=f.indexOf("Windows")>=0,s=f.indexOf("Macintosh")>=0,h=(f.indexOf("Macintosh")>=0||f.indexOf("iPad")>=0||f.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,a=f.indexOf("Linux")>=0,c=!0,u=navigator.language,d=u;let m=0;s?m=1:r?m=3:a&&(m=2);const b=r,v=s,y=a,w=l,_=c,A=h,C="object"===typeof self?self:"object"===typeof i?i:{},E=C,x=function(){if(E.setImmediate)return E.setImmediate.bind(E);if("function"===typeof E.postMessage&&!E.importScripts){let e=[];E.addEventListener("message",t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n<i;n++){const i=e[n];if(i.id===t.data.vscodeSetImmediateId)return e.splice(n,1),void i.callback()}});let t=0;return n=>{const i=++t;e.push({id:i,callback:n}),E.postMessage({vscodeSetImmediateId:i},"*")}}if("undefined"!==typeof e&&"function"===typeof e.nextTick)return e.nextTick.bind(e);const t=Promise.resolve();return e=>t.then(e)}(),S=s||h?2:r?1:3;let D=!0,k=!1;function M(){if(!k){k=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);D=513===t[0]}return D}}).call(this,n("2552"),n("c8ed"))},"1d2f":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"1eca":function(e,t,n){e.exports=n.p+"fonts/codicon.22349029.ttf"},"1f19":function(e,t,n){e.exports=n("5821")},"1f2d":function(e,t,n){var i=n("6cd1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("156943b0",i,!0,{sourceMap:!1,shadowMode:!1})},"1ffd":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}",""]),e.exports=t},2273:function(e,t,n){var i=n("6043");e.exports=i("navigator","userAgent")||""},2552:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,i="/";t.cwd=function(){return i},t.chdir=function(t){e||(e=n("e3f4")),i=e.resolve(t,i)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"26c4":function(e,t,n){"use strict";var i=n("83ec"),o=n("0df9"),r=n("0874"),s=n("9508");i({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~String(r(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},2717:function(e,t,n){var i,o,r;(function(n,s){o=[],i=s,r="function"===typeof i?i.apply(t,o):i,void 0===r||(e.exports=r)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,i,o,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=r.exec(p.stack)||s.exec(p.stack),l=a&&a[1]||!1,c=a&&a[2]||!1,h=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===h&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(i,"$1").trim());for(var d=0;d<u.length;d++){if("interactive"===u[d].readyState)return u[d];if(u[d].src===l)return u[d];if(l===h&&u[d].innerHTML&&u[d].innerHTML.trim()===o)return u[d]}return null}}return e}))},2843:function(e,t,n){"use strict";n("f96e"),n("70a5");var i=n("7299"),o=i.domify,r=i.event,s=n("fbdf").is,a=n("4580"),l=a.GENERATE_TOKEN_EVENT;function c(e,t,n){this._eventBus=e,this._elementRegistry=t,this._animation=n}c.prototype.createContextPads=function(e){var t=!1;if(this._elementRegistry.forEach((function(e){e.tokenCount&&Object.values(e.tokenCount).forEach((function(e){e&&(t=!0)}))})),!(s(e.parent,"bpmn:SubProcess")||t||this._animation.animations.length)){var n=this,i=o('<div class="context-pad"><i class="fa fa-play"></i></div>');return r.bind(i,"click",(function(){n._eventBus.fire(l,{element:e})})),[{element:e,html:i}]}},c.$inject=["eventBus","elementRegistry","animation"],e.exports=c},2875:function(e,t,n){"use strict";function i(e,t,n,i){var o=n.inverse;return Object.defineProperty(e,"remove",{value:function(e){var n=this.indexOf(e);return-1!==n&&(this.splice(n,1),t.unset(e,o,i)),e}}),Object.defineProperty(e,"contains",{value:function(e){return-1!==this.indexOf(e)}}),Object.defineProperty(e,"add",{value:function(e,n){var r=this.indexOf(e);if("undefined"===typeof n){if(-1!==r)return;n=this.length}-1!==r&&this.splice(r,1),this.splice(n,0,e),-1===r&&t.set(e,o,i)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function o(e){return!0===e.__refs_collection}e.exports.extend=i,e.exports.isExtended=o},"294d":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}",""]),e.exports=t},"2a35":function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.CONSUME_TOKEN_EVENT,s=o.GENERATE_TOKEN_EVENT,a=o.UPDATE_ELEMENT_EVENT;function l(e,t,n){this._animation=e,this._eventBus=t,this._log=n}l.prototype.consume=function(e){var t=e.element,n=e.processInstanceId,o=t.children.filter((function(e){return i(e,"bpmn:StartEvent")}))[0];o?(this._log.log("Starting Subprocess","info","fa-sign-in"),this._eventBus.fire(s,{element:o,parentProcessInstanceId:n})):(this._log.log("Skipping Subprocess","info","fa-angle-double-right"),this._eventBus.fire(s,e)),this._eventBus.fire(a,{element:t})},l.prototype.generate=function(e){var t=this,n=e.element,o=e.processInstanceId,s=n.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")}));s.forEach((function(e){t._animation.createAnimation(e,o,(function(){t._eventBus.fire(r,{element:e.target,processInstanceId:o})}))})),this._eventBus.fire(a,{element:n})},l.$inject=["animation","eventBus","log"],e.exports=l},"2ab6":function(e,t,n){e.exports={__init__:["animation","contextPads","elementNotifications","elementSupport","exclusiveGatewaySettings","log","notifications","pauseSimulation","preserveElementColors","processInstanceIds","processInstanceSettings","processInstances","resetSimulation","setAnimationSpeed","showProcessInstance","simulationState","toggleMode","tokenCount","tokenSimulationBehavior","tokenSimulationPalette"],animation:["type",n("ffc8")],contextPads:["type",n("5f19")],elementNotifications:["type",n("1ac3")],elementSupport:["type",n("fc78")],exclusiveGatewaySettings:["type",n("9ce1")],log:["type",n("5e04")],notifications:["type",n("ba1b")],pauseSimulation:["type",n("97d5")],preserveElementColors:["type",n("10ef")],processInstanceIds:["type",n("1f19")],processInstanceSettings:["type",n("9692")],processInstances:["type",n("de49")],resetSimulation:["type",n("ae9d")],setAnimationSpeed:["type",n("f086")],showProcessInstance:["type",n("c25e")],simulationState:["type",n("977a")],toggleMode:["type",n("5ed7")],tokenCount:["type",n("f31a")],tokenSimulationBehavior:["type",n("ccd9")],tokenSimulationPalette:["type",n("778b")]}},"2adc":function(e,t,n){var i=n("006c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("4be37e8e",i,!0,{sourceMap:!1,shadowMode:!1})},"2b9c":function(e,t,n){"use strict";var i=n("83ec"),o=n("42b1").f,r=n("ce47"),s=n("0df9"),a=n("0874"),l=n("9508"),c=n("f0db"),h="".startsWith,u=Math.min,d=l("startsWith"),p=!c&&!d&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();i({target:"String",proto:!0,forced:!p&&!d},{startsWith:function(e){var t=String(a(this));s(e);var n=r(u(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return h?h.call(t,i,n):t.slice(n,n+i.length)===i}})},"2c21":function(e,t,n){var i,o,r=n("e244"),s=n("2273"),a=r.process,l=a&&a.versions,c=l&&l.v8;c?(i=c.split("."),o=i[0]<4?1:i[0]+i[1]):s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(o=i[1]))),e.exports=o&&+o},"2c45":function(e,t,n){e.exports={__init__:["animation","contextPads","disableModeling","elementNotifications","elementSupport","exclusiveGatewaySettings","log","notifications","pauseSimulation","preserveElementColors","processInstanceIds","processInstanceSettings","processInstances","resetSimulation","setAnimationSpeed","showProcessInstance","simulationState","toggleMode","tokenCount","tokenSimulationBehavior","tokenSimulationEditorActions","tokenSimulationKeyboardBindings","tokenSimulationPalette"],animation:["type",n("ffc8")],contextPads:["type",n("5f19")],disableModeling:["type",n("37c0")],elementNotifications:["type",n("1ac3")],elementSupport:["type",n("fc78")],exclusiveGatewaySettings:["type",n("9ce1")],log:["type",n("5e04")],notifications:["type",n("ba1b")],pauseSimulation:["type",n("97d5")],preserveElementColors:["type",n("10ef")],processInstanceIds:["type",n("1f19")],processInstanceSettings:["type",n("9692")],processInstances:["type",n("de49")],resetSimulation:["type",n("ae9d")],setAnimationSpeed:["type",n("f086")],showProcessInstance:["type",n("c25e")],simulationState:["type",n("977a")],toggleMode:["type",n("51739")],tokenCount:["type",n("f31a")],tokenSimulationBehavior:["type",n("ccd9")],tokenSimulationEditorActions:["type",n("8e1c")],tokenSimulationKeyboardBindings:["type",n("eaa1")],tokenSimulationPalette:["type",n("778b")]}},"2c50":function(e,t,n){"use strict";var i=n("83ec"),o=n("b4fd"),r=n("45ad"),s=n("3d1a"),a=[].join,l=o!=Object,c=s("join",",");i({target:"Array",proto:!0,forced:l||!c},{join:function(e){return a.call(r(this),void 0===e?",":e)}})},"2c69":function(e,t,n){var i=n("83ec"),o=n("55ab"),r=n("c1ca"),s=n("45ad"),a=n("42b1"),l=n("acd4");i({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,i=s(e),o=a.f,c=r(i),h={},u=0;while(c.length>u)n=o(i,t=c[u++]),void 0!==n&&l(h,t,n);return h}})},"2cdc":function(e,t,n){var i=n("eee7");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"2eb0":function(e,t,n){"use strict";var i=n("83ec"),o=n("6e1d");i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},"2f62":function(e,t,n){"use strict";var i=n("83ec"),o=n("f226").includes,r=n("6e10");i({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")},"2f6c":function(e,t,n){var i=n("e244"),o=n("72c7"),r="__core-js_shared__",s=i[r]||o(r,{});e.exports=s},3073:function(e,t,n){var i=n("fbcf"),o=n("eee7"),r=n("fc01");e.exports=function(e,t){if(i(e),o(t)&&t.constructor===e)return t;var n=r.f(e),s=n.resolve;return s(t),n.promise}},"312a":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73.3%,.4);border-radius:3px;box-shadow:inset 0 -1px 0 hsla(0,0%,73.3%,.4);background-color:hsla(0,0%,86.7%,.4);vertical-align:middle;color:#555;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.hc-black .monaco-keybinding>.monaco-keybinding-key,.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50.2%,.17);color:#ccc;border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6)}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}",""]),e.exports=t},"325d":function(e,t,n){"use strict";var i=n("83ec"),o=n("e0e0"),r=n("a7f7"),s=n("13a8"),a=n("63ef"),l=n("69f1"),c=n("7d86"),h=n("1810"),u=n("f0db"),d=n("d85b"),p=n("15b2"),f=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=h("iterator"),b="keys",v="values",y="entries",w=function(){return this};e.exports=function(e,t,n,h,p,_,A){o(n,t,h);var C,E,x,S=function(e){if(e===p&&L)return L;if(!g&&e in M)return M[e];switch(e){case b:return function(){return new n(this,e)};case v:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},D=t+" Iterator",k=!1,M=e.prototype,N=M[m]||M["@@iterator"]||p&&M[p],L=!g&&N||S(p),B="Array"==t&&M.entries||N;if(B&&(C=r(B.call(new e)),f!==Object.prototype&&C.next&&(u||r(C)===f||(s?s(C,f):"function"!=typeof C[m]&&l(C,m,w)),a(C,D,!0,!0),u&&(d[D]=w))),p==v&&N&&N.name!==v&&(k=!0,L=function(){return N.call(this)}),u&&!A||M[m]===L||l(M,m,L),d[t]=L,p)if(E={values:S(v),keys:_?L:S(b),entries:S(y)},A)for(x in E)(g||k||!(x in M))&&c(M,x,E[x]);else i({target:t,proto:!0,forced:g||k},E);return E}},3352:function(e,t,n){var i=n("80db"),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},3395:function(e,t,n){var i=n("0874"),o=n("d554"),r="["+o+"]",s=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),l=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"339e":function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.CONSUME_TOKEN_EVENT,s=o.UPDATE_ELEMENTS_EVENT;function a(e,t,n,i){this._animation=e,this._eventBus=t,this._elementRegistry=n,this._processInstances=i}a.prototype.consume=function(){},a.prototype.generate=function(e){var t=this,n=e.element,o=e.parentProcessInstanceId,a=n.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")})),l=n.parent,c=this._processInstances.create(l,o);if(a.forEach((function(e){t._animation.createAnimation(e,c,(function(){t._eventBus.fire(r,{element:e.target,processInstanceId:c})}))})),!i(n.parent,"bpmn:SubProcess")){var h=this._elementRegistry.filter((function(e){return i(e,"bpmn:StartEvent")}));this._eventBus.fire(s,{elements:h})}},a.$inject=["animation","eventBus","elementRegistry","processInstances"],e.exports=a},3433:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf"),o=i.is,r=n("4580"),s=r.CONSUME_TOKEN_EVENT,a=r.UPDATE_ELEMENT_EVENT;function l(e,t,n){this._animation=e,this._eventBus=t,this._elementRegistry=n}l.prototype.consume=function(e){var t=e.element,n=e.processInstanceId;t.tokenCount||(t.tokenCount={}),t.tokenCount[n]||(t.tokenCount[n]=0),t.tokenCount[n]++,this._eventBus.fire(a,{element:t})},l.prototype.generate=function(e){var t=this,n=e.element,i=e.processInstanceId,r=n.outgoing.filter((function(e){return o(e,"bpmn:SequenceFlow")}));r.forEach((function(e){t._animation.createAnimation(e,i,(function(){t._eventBus.fire(s,{element:e.target,processInstanceId:i})}))}))},l.$inject=["animation","eventBus","elementRegistry"],e.exports=l},"358f":function(e,t,n){var i=n("5124");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("13719944",i,!0,{sourceMap:!1,shadowMode:!1})},"35d6":function(e,t,n){var i,o,r,s=n("17be"),a=n("e244"),l=n("eee7"),c=n("69f1"),h=n("fe32"),u=n("2f6c"),d=n("5350"),p=n("fd3f"),f="Object already initialized",g=a.WeakMap,m=function(e){return r(e)?o(e):i(e,{})},b=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(s||u.state){var v=u.state||(u.state=new g),y=v.get,w=v.has,_=v.set;i=function(e,t){if(w.call(v,e))throw new TypeError(f);return t.facade=e,_.call(v,e,t),t},o=function(e){return y.call(v,e)||{}},r=function(e){return w.call(v,e)}}else{var A=d("state");p[A]=!0,i=function(e,t){if(h(e,A))throw new TypeError(f);return t.facade=e,c(e,A,t),t},o=function(e){return h(e,A)?e[A]:{}},r=function(e){return h(e,A)}}e.exports={set:i,get:o,has:r,enforce:m,getterFor:b}},"36df":function(e,t,n){var i=n("294d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3e355ff7",i,!0,{sourceMap:!1,shadowMode:!1})},"370b":function(e,t,n){"use strict";var i=n("8aa3").forEach,o=n("3d1a"),r=o("forEach");e.exports=r?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"37c0":function(e,t,n){e.exports=n("5d86")},"37fd":function(e,t,n){"use strict";var i=n("83ec"),o=n("8aa3").filter,r=n("72d4"),s=r("filter");i({target:"Array",proto:!0,forced:!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"396d":function(e,t,n){var i=n("fe32"),o=n("45ad"),r=n("f226").indexOf,s=n("fd3f");e.exports=function(e,t){var n,a=o(e),l=0,c=[];for(n in a)!i(s,n)&&i(a,n)&&c.push(n);while(t.length>l)i(a,n=t[l++])&&(~r(c,n)||c.push(n));return c}},3990:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.CONSUME_TOKEN_EVENT,s=o.GENERATE_TOKEN_EVENT;function a(e,t){this._animation=e,this._eventBus=t}a.prototype.consume=function(e){this._eventBus.fire(s,e)},a.prototype.generate=function(e){var t=this,n=e.element,o=e.processInstanceId,s=n.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")}));s.forEach((function(e){t._animation.createAnimation(e,o,(function(){t._eventBus.fire(r,{element:e.target,processInstanceId:o})}))}))},a.$inject=["animation","eventBus"],e.exports=a},"3aac":function(e,t,n){"use strict";var i=n("2875");function o(e,t){return Object.prototype.hasOwnProperty.call(e,t.name||t)}function r(e,t,n){var o=i.extend(n[t.name]||[],e,t,n);Object.defineProperty(n,t.name,{enumerable:t.enumerable,value:o}),o.length&&o.forEach((function(i){e.set(i,t.inverse,n)}))}function s(e,t,n){var i=t.inverse,o=n[t.name];Object.defineProperty(n,t.name,{configurable:t.configurable,enumerable:t.enumerable,get:function(){return o},set:function(t){if(t!==o){var r=o;o=null,r&&e.unset(r,i,n),o=t,e.set(o,i,n)}}})}function a(e,t){if(!(this instanceof a))return new a(e,t);e.inverse=t,t.inverse=e,this.props={},this.props[e.name]=e,this.props[t.name]=t}a.prototype.bind=function(e,t){if("string"===typeof t){if(!this.props[t])throw new Error("no property <"+t+"> in ref");t=this.props[t]}t.collection?r(this,t,e):s(this,t,e)},a.prototype.ensureRefsCollection=function(e,t){var n=e[t.name];return i.isExtended(n)||r(this,t,e),n},a.prototype.ensureBound=function(e,t){o(e,t)||this.bind(e,t)},a.prototype.unset=function(e,t,n){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).remove(n):e[t.name]=void 0)},a.prototype.set=function(e,t,n){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).add(n):e[t.name]=n)},e.exports=a},"3c82":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}",""]),e.exports=t},"3d1a":function(e,t,n){"use strict";var i=n("ac97");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},"3e1a":function(e,t,n){var i=n("396d"),o=n("e629");e.exports=Object.keys||function(e){return i(e,o)}},"3ef6":function(e,t,n){"use strict";t.byteLength=h,t.toByteArray=d,t.fromByteArray=g;for(var i=[],o=[],r="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a<l;++a)i[a]=s[a],o[s.charCodeAt(a)]=a;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function h(e){var t=c(e),n=t[0],i=t[1];return 3*(n+i)/4-i}function u(e,t,n){return 3*(t+n)/4-n}function d(e){var t,n,i=c(e),s=i[0],a=i[1],l=new r(u(e,s,a)),h=0,d=a>0?s-4:s;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],l[h++]=t>>16&255,l[h++]=t>>8&255,l[h++]=255&t;return 2===a&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,l[h++]=255&t),1===a&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,l[h++]=t>>8&255,l[h++]=255&t),l}function p(e){return i[e>>18&63]+i[e>>12&63]+i[e>>6&63]+i[63&e]}function f(e,t,n){for(var i,o=[],r=t;r<n;r+=3)i=(e[r]<<16&16711680)+(e[r+1]<<8&65280)+(255&e[r+2]),o.push(p(i));return o.join("")}function g(e){for(var t,n=e.length,o=n%3,r=[],s=16383,a=0,l=n-o;a<l;a+=s)r.push(f(e,a,a+s>l?l:a+s));return 1===o?(t=e[n-1],r.push(i[t>>2]+i[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],r.push(i[t>>10]+i[t>>4&63]+i[t<<2&63]+"=")),r.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},"3f13":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}",""]),e.exports=t},"3fa4":function(e,t,n){"use strict";function i(e){return!e||"string"!==typeof e||0===e.trim().length}n.d(t,"B",(function(){return i})),n.d(t,"v",(function(){return r})),n.d(t,"s",(function(){return s})),n.d(t,"t",(function(){return a})),n.d(t,"I",(function(){return l})),n.d(t,"N",(function(){return c})),n.d(t,"n",(function(){return h})),n.d(t,"P",(function(){return u})),n.d(t,"q",(function(){return d})),n.d(t,"o",(function(){return p})),n.d(t,"M",(function(){return f})),n.d(t,"L",(function(){return g})),n.d(t,"u",(function(){return m})),n.d(t,"x",(function(){return b})),n.d(t,"H",(function(){return v})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return _})),n.d(t,"F",(function(){return A})),n.d(t,"G",(function(){return C})),n.d(t,"r",(function(){return x})),n.d(t,"Q",(function(){return D})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return M})),n.d(t,"D",(function(){return N})),n.d(t,"E",(function(){return L})),n.d(t,"i",(function(){return B})),n.d(t,"y",(function(){return I})),n.d(t,"J",(function(){return O})),n.d(t,"K",(function(){return R})),n.d(t,"p",(function(){return P})),n.d(t,"l",(function(){return j})),n.d(t,"j",(function(){return z})),n.d(t,"z",(function(){return W})),n.d(t,"a",(function(){return H})),n.d(t,"m",(function(){return U})),n.d(t,"k",(function(){return Y})),n.d(t,"C",(function(){return G})),n.d(t,"A",(function(){return K})),n.d(t,"b",(function(){return q})),n.d(t,"R",(function(){return J})),n.d(t,"O",(function(){return X})),n.d(t,"w",(function(){return $})),n.d(t,"c",(function(){return Z}));const o=/{(\d+)}/g;function r(e,...t){return 0===t.length?e:e.replace(o,(function(e,n){const i=parseInt(n,10);return isNaN(i)||i<0||i>=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;while(e.indexOf(t,i)===i)i+=n;return e.substring(i)}function c(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let o=i,r=-1;while(1){if(r=e.lastIndexOf(t,o-1),-1===r||r+n!==o)break;if(0===r)return"";o=r}return e.substring(0,o)}function h(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function d(e,t){const n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function p(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function f(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;const t=e.exec("");return!(!t||0!==e.lastIndex)}function g(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function m(e){for(let t=0,n=e.length;t<n;t++){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function b(e,t=0,n=e.length){for(let i=t;i<n;i++){const n=e.charCodeAt(i);if(32!==n&&9!==n)return e.substring(t,i)}return e.substring(t,n)}function v(e,t=e.length-1){for(let n=t;n>=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function y(e,t){return e<t?-1:e>t?1:0}function w(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let i=e.charCodeAt(n),r=t.charCodeAt(o);if(i<r)return-1;if(i>r)return 1}const s=i-n,a=r-o;return s<a?-1:s>a?1:0}function _(e,t,n=0,i=e.length,o=0,r=t.length){for(;n<i&&o<r;n++,o++){let s=e.charCodeAt(n),a=t.charCodeAt(o);if(s===a)continue;const l=s-a;if((32!==l||!C(a))&&(-32!==l||!C(s)))return A(s)&&A(a)?l:w(e.toLowerCase(),t.toLowerCase(),n,i,o,r)}const s=i-n,a=r-o;return s<a?-1:s>a?1:0}function A(e){return e>=97&&e<=122}function C(e){return e>=65&&e<=90}function E(e){return A(e)||C(e)}function x(e,t){return e.length===t.length&&S(e,t)}function S(e,t,n=e.length){for(let i=0;i<n;i++){const n=e.charCodeAt(i),o=t.charCodeAt(i);if(n!==o)if(E(n)&&E(o)){const e=Math.abs(n-o);if(0!==e&&32!==e)return!1}else if(String.fromCharCode(n).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}function D(e,t){const n=t.length;return!(t.length>e.length)&&S(e,t,n)}function k(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n<i;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return i}function M(e,t){let n,i=Math.min(e.length,t.length);const o=e.length-1,r=t.length-1;for(n=0;n<i;n++)if(e.charCodeAt(o-n)!==t.charCodeAt(r-n))return n;return i}function N(e){return 55296<=e&&e<=56319}function L(e){return 56320<=e&&e<=57343}function B(e,t){return t-56320+(e-55296<<10)+65536}function I(e,t,n){const i=e.charCodeAt(n);if(N(i)&&n+1<t){const t=e.charCodeAt(n+1);if(L(t))return B(i,t)}return i}function T(e,t){const n=e.charCodeAt(t-1);if(L(n)&&t>1){const i=e.charCodeAt(t-2);if(N(i))return B(i,n)}return n}function O(e,t){const n=ee.getInstance(),i=t,o=e.length,r=I(e,o,t);t+=r>=65536?2:1;let s=n.getGraphemeBreakType(r);while(t<o){const i=I(e,o,t),r=n.getGraphemeBreakType(i);if(Z(s,r))break;t+=i>=65536?2:1,s=r}return t-i}function R(e,t){const n=ee.getInstance(),i=t,o=T(e,t);t-=o>=65536?2:1;let r=n.getGraphemeBreakType(o);while(t>0){const i=T(e,t),o=n.getGraphemeBreakType(i);if(Z(o,r))break;t-=i>=65536?2:1,r=o}return i-t}function P(e){const t=e.byteLength,n=[];let i=0;while(i<t){const o=e[i];let r;if(r=o>=240&&i+3<t?(7&e[i++])<<18>>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=224&&i+2<t?(15&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=192&&i+1<t?(31&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:e[i++],r>=0&&r<=55295||r>=57344&&r<=65535)n.push(String.fromCharCode(r));else if(r>=65536&&r<=1114111){const e=r-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const F=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function j(e){return F.test(e)}const Q=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function z(e){return Q.test(e)}const V=/^[\t\n\r\x20-\x7E]*$/;function W(e){return V.test(e)}const H=/[\u2028\u2029]/;function U(e){return H.test(e)}function Y(e){for(let t=0,n=e.length;t<n;t++)if(G(e.charCodeAt(t)))return!0;return!1}function G(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function K(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const q=String.fromCharCode(65279);function J(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function X(e){const t=26;return e%=2*t,e<t?String.fromCharCode(97+e):String.fromCharCode(65+e-t)}function $(e){const t=ee.getInstance();return t.getGraphemeBreakType(e)}function Z(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class ee{constructor(){this._data=te()}static getInstance(){return ee._INSTANCE||(ee._INSTANCE=new ee),ee._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;while(i<=n)if(e<t[3*i])i*=2;else{if(!(e>t[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}function te(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}ee._INSTANCE=null},"407e":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent;transition:border-color .1s linear}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;color:inherit!important;transform:translateX(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{-webkit-animation:codicon-spin 1.25s steps(30) infinite;animation:codicon-spin 1.25s steps(30) infinite}",""]),e.exports=t},"42b1":function(e,t,n){var i=n("55ab"),o=n("11b0"),r=n("4d82"),s=n("45ad"),a=n("7f82"),l=n("fe32"),c=n("bf6f"),h=Object.getOwnPropertyDescriptor;t.f=i?h:function(e,t){if(e=s(e),t=a(t,!0),c)try{return h(e,t)}catch(n){}if(l(e,t))return r(!o.f.call(e,t),e[t])}},4467:function(e,t,n){var i=n("ac97");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4580:function(e,t){var n="tokenSimulation";e.exports={TOGGLE_MODE_EVENT:n+".toggleMode",GENERATE_TOKEN_EVENT:n+".generateToken",CONSUME_TOKEN_EVENT:n+".consumeToken",PLAY_SIMULATION_EVENT:n+".playSimulation",PAUSE_SIMULATION_EVENT:n+".pauseSimulation",RESET_SIMULATION_EVENT:n+".resetSimulation",TERMINATE_EVENT:n+".terminateEvent",UPDATE_ELEMENTS_EVENT:n+".updateElements",UPDATE_ELEMENT_EVENT:n+".updateElement",PROCESS_INSTANCE_CREATED_EVENT:n+".processInstanceCreated",PROCESS_INSTANCE_FINISHED_EVENT:n+".processInstanceFinished",PROCESS_INSTANCE_SHOWN_EVENT:n+".processInstanceShown",PROCESS_INSTANCE_HIDDEN_EVENT:n+".processInstanceHidden",ANIMATION_CREATED_EVENT:n+".animationCreated"}},"45ad":function(e,t,n){var i=n("b4fd"),o=n("0874");e.exports=function(e){return i(o(e))}},4902:function(e,t,n){"use strict";n("84f7"),n("6b40"),n("2f62"),n("26c4");var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=i.query,l=n("fbdf"),c=l.getBusinessObject,h=l.is,u=l.isTypedEvent,d=n("4580"),p=d.GENERATE_TOKEN_EVENT,f=d.CONSUME_TOKEN_EVENT,g=d.TOGGLE_MODE_EVENT,m=d.RESET_SIMULATION_EVENT,b=d.PROCESS_INSTANCE_CREATED_EVENT;function v(e){return e&&e.businessObject.name}function y(e,t,n,i,o){var s=this;this._notifications=t,this._tokenSimulationPalette=n,this._canvas=i,this._translate=o,this._init(),e.on(p,(function(e){var t=e.element,n=v(t);if(h(t,"bpmn:BusinessRuleTask"))s.log(n||"Business Rule Task","info","bpmn-icon-business-rule");else if(h(t,"bpmn:CallActivity"))s.log(n||"Call Activity","info","bpmn-icon-call-activity");else if(h(t,["bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent"]))s.log(n||"Intermediate Event","info","bpmn-icon-intermediate-event-none");else if(h(t,"bpmn:ManualTask"))s.log(n||"Manual Task","info","bpmn-icon-manual");else if(h(t,"bpmn:ScriptTask"))s.log(n||"Script Task","info","bpmn-icon-script");else if(h(t,"bpmn:ServiceTask"))s.log(n||"Service Task","info","bpmn-icon-service");else if(h(t,"bpmn:StartEvent"))s.log(n||"Start Event","info","bpmn-icon-start-event-none");else if(h(t,"bpmn:Task"))s.log(n||"Task","info","bpmn-icon-task");else if(h(t,"bpmn:UserTask"))s.log(n||"User Task","info","bpmn-icon-user");else if(h(t,"bpmn:ExclusiveGateway")){if(t.outgoing.length<2)return;var i=v(t.sequenceFlow),o=n||"Gateway";i&&(o=o.concat(' <i class="fa fa-angle-right" aria-hidden="true"></i> '+i)),s.log(o,"info","bpmn-icon-gateway-xor")}})),e.on(f,(function(e){var t=e.element,n=v(t);h(t,"bpmn:EndEvent")&&(u(c(t),"bpmn:TerminateEventDefinition")?s.log(n||"Terminate End Event","info","bpmn-icon-end-event-terminate"):s.log(n||"End Event","info","bpmn-icon-end-event-none"))})),e.on(b,(function(e){var t=e.processInstanceId,n=e.parent;h(n,"bpmn:Process")?s.log(s._translate("Process {processInstanceId} started",{processInstanceId:t}),"success","fa-check"):s.log(s._translate("Subprocess {processInstanceId} started",{processInstanceId:t}),"info","fa-check")})),e.on(g,(function(e){var t=e.simulationModeActive;t||(s.emptyLog(),r(s.container).add("hidden"))})),e.on(m,(function(e){s.emptyLog(),r(s.container).add("hidden")}))}y.prototype._init=function(){var e=this;this.container=o('<div class="token-simulation-log hidden"><div class="header"><i class="fa fa-align-left"></i><button class="close"><i class="fa fa-times" aria-hidden="true"></i></button></div><div class="content">'+'<p class="entry placeholder">'.concat(this._translate("No Entries"),"</p>")+"</div></div>"),this.placeholder=a(".placeholder",this.container),this.content=a(".content",this.container),s.bind(this.content,"wheel",(function(e){e.stopPropagation()})),s.bind(this.content,"mousedown",(function(e){e.stopPropagation()})),this.close=a(".close",this.container),s.bind(this.close,"click",(function(){r(e.container).add("hidden")})),this.icon=a(".fa-align-left",this.container),s.bind(this.icon,"click",(function(){r(e.container).add("hidden")})),this._canvas.getContainer().appendChild(this.container),this.paletteEntry=o('<div class="entry" title="'.concat(this._translate("Show Simulation Log"),'"><i class="fa fa-align-left"></i></div>')),s.bind(this.paletteEntry,"click",(function(){r(e.container).remove("hidden")})),this._tokenSimulationPalette.addEntry(this.paletteEntry,3)},y.prototype.toggle=function(){var e=this.container;r(e).has("hidden")?r(e).remove("hidden"):r(e).add("hidden")},y.prototype.log=function(e,t,n){r(this.placeholder).add("hidden");var i,s=new Date,a=s.toLocaleTimeString();this._notifications.showNotification(e,t,n),n||(n="fa-info"),i=n.includes("bpmn")?'<span class="icon '+n+'">':'<i class="icon fa '+n+'"></i>';var l=o('<p class="entry '+t+'"><span class="date">'+a+"</span>"+i+"</span>"+this._translate(e)+"</p>");this.content.appendChild(l),this.content.scrollTop=this.content.scrollHeight},y.prototype.emptyLog=function(){while(this.content.firstChild)this.content.removeChild(this.content.firstChild);this.placeholder=o('<p class="entry placeholder">'.concat(this._translate("No Entries"),"</p>")),this.content.appendChild(this.placeholder)},y.$inject=["eventBus","notifications","tokenSimulationPalette","canvas","translate"],e.exports=y},4974:function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},o=0;o<t.length;o++){var r=t[o],s=r[0],a=r[1],l=r[2],c=r[3],h={id:e+":"+o,css:a,media:l,sourceMap:c};i[s]?i[s].parts.push(h):n.push(i[s]={id:s,parts:[h]})}return n}n.r(t),n.d(t,"default",(function(){return f}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,c=!1,h=function(){},u=null,d="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,n,o){c=n,u=o||{};var s=i(e,t);return g(s),function(t){for(var n=[],o=0;o<s.length;o++){var a=s[o],l=r[a.id];l.refs--,n.push(l)}t?(s=i(e,t),g(s)):s=[];for(o=0;o<n.length;o++){l=n[o];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function g(e){for(var t=0;t<e.length;t++){var n=e[t],i=r[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(b(n.parts[o]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(o=0;o<n.parts.length;o++)s.push(b(n.parts[o]));r[n.id]={id:n.id,refs:1,parts:s}}}}function m(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function b(e){var t,n,i=document.querySelector("style["+d+'~="'+e.id+'"]');if(i){if(c)return h;i.parentNode.removeChild(i)}if(p){var o=l++;i=a||(a=m()),t=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=m(),t=w.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,i){var o=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=v(t,o);else{var r=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function w(e,t){var n=t.css,i=t.media,o=t.sourceMap;if(i&&e.setAttribute("media",i),u.ssrId&&e.setAttribute(d,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"497f":function(e,t,n){e.exports=n.p+"img/bpmn.1381b44e.svg"},"4a9d":function(e,t,n){"use strict";n("f96e");var i=n("fbdf"),o=i.isAncestor,r=n("4580"),s=r.TOGGLE_MODE_EVENT,a=r.RESET_SIMULATION_EVENT,l=r.TERMINATE_EVENT,c=r.UPDATE_ELEMENTS_EVENT,h=r.UPDATE_ELEMENT_EVENT,u=r.PROCESS_INSTANCE_SHOWN_EVENT,d=n("aa28"),p=n("f658"),f=n("5c1e"),g=n("9d65"),m=n("2843"),b=500,v=-15,y=-15;function w(e,t,n,i,o,r){var v=this;this._elementRegistry=t,this._overlays=n,this._injector=i,this._canvas=o,this._processInstances=r,this.overlayIds={},this.handlers={},this.registerHandler("bpmn:ExclusiveGateway",p),this.registerHandler("bpmn:IntermediateCatchEvent",f),this.registerHandler("bpmn:SubProcess",g),this.registerHandler("bpmn:SubProcess",d),this.registerHandler("bpmn:StartEvent",m),e.on(s,b,(function(e){var t=e.simulationModeActive;t?v.openContextPads():v.closeContextPads()})),e.on(a,b,(function(){v.closeContextPads(),v.openContextPads()})),e.on(l,b,(function(e){var t=e.element,n=t.parent;v.closeContextPads(n)})),e.on(c,b,(function(e){var t=e.elements;t.forEach((function(e){v.closeElementContextPads(e),v.openElementContextPads(e)}))})),e.on(h,b,(function(e){var t=e.element;v.closeElementContextPads(t),v.openElementContextPads(t)})),e.on(u,(function(e){var t=e.processInstanceId,n=r.getProcessInstance(t),i=n.parent;v.closeContextPads(i),v.openContextPads(i)}))}w.prototype.registerHandler=function(e,t){var n=this._injector.instantiate(t);this.handlers[e]||(this.handlers[e]=[]),this.handlers[e].push(n)},w.prototype.openContextPads=function(e){var t=this;e||(e=this._canvas.getRootElement()),this._elementRegistry.forEach((function(n){t.handlers[n.type]&&o(e,n)&&t.openElementContextPads(n)}))},w.prototype.openElementContextPads=function(e){if(this.handlers[e.type]){var t=[];this.handlers[e.type].forEach((function(n){var i=n.createContextPads(e);i&&i.forEach((function(e){e&&t.push(e)}))}));var n=this;t.forEach((function(e){var t={top:v,left:y},i=n._overlays.add(e.element,"context-menu",{position:t,html:e.html,show:{minZoom:.5}});n.overlayIds[e.element.id]=i}))}},w.prototype.closeContextPads=function(e){var t=this;e||(e=this._canvas.getRootElement()),this._elementRegistry.forEach((function(n){o(e,n)&&t.closeElementContextPads(n)}))},w.prototype.closeElementContextPads=function(e){var t=this;e.attachers&&e.attachers.length>0&&e.attachers.forEach((function(e){t.closeElementContextPads(e)})),e.children&&e.children.length>0&&e.children.forEach((function(e){t.closeElementContextPads(e)}));var n=this.overlayIds[e.id];n&&(this._overlays.remove(n),delete this.overlayIds[e.id])},w.$inject=["eventBus","elementRegistry","overlays","injector","canvas","processInstances"],e.exports=w},"4ad5":function(e,t,n){var i=n("2273");e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(i)},"4cdd":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-action-bar{text-align:right;white-space:nowrap}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;width:100%;justify-content:flex-end}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar.reverse .actions-container{flex-direction:row-reverse}.monaco-action-bar .action-item{cursor:pointer;display:inline-block;transition:transform 50ms ease;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar.animated .action-item.active{transform:scale(1.272019649)}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:inline-block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center}.monaco-action-bar .action-label{font-size:11px;margin-right:4px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar.animated.vertical .action-item.active{transform:translate(5px)}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}",""]),e.exports=t},"4d82":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4df4":function(e,t,n){var i=n("83ec"),o=n("1d2f");i({target:"Math",stat:!0},{sign:o})},"4e70":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,"::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}",""]),e.exports=t},"4e99":function(e,t){e.exports.getMid=function(e){var t=e.bbox();return{x:t.x+t.width/2,y:t.y+t.height/2}},e.exports.distance=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}},"4eaf":function(e,t,n){var i=n("80db"),o=n("0874"),r=function(e){return function(t,n){var r,s,a=String(o(t)),l=i(n),c=a.length;return l<0||l>=c?e?"":void 0:(r=a.charCodeAt(l),r<55296||r>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):r:e?a.slice(l,l+2):s-56320+(r-55296<<10)+65536)}};e.exports={codeAt:r(!1),charAt:r(!0)}},"4fe1":function(e,t,n){var i=n("e244");e.exports=function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},5069:function(e,t,n){"use strict";n.r(t);var i={};if(n.r(i),n.d(i,"CancellationTokenSource",(function(){return OR})),n.d(i,"Emitter",(function(){return RR})),n.d(i,"KeyCode",(function(){return PR})),n.d(i,"KeyMod",(function(){return FR})),n.d(i,"Position",(function(){return jR})),n.d(i,"Range",(function(){return QR})),n.d(i,"Selection",(function(){return zR})),n.d(i,"SelectionDirection",(function(){return VR})),n.d(i,"MarkerSeverity",(function(){return WR})),n.d(i,"MarkerTag",(function(){return HR})),n.d(i,"Uri",(function(){return UR})),n.d(i,"Token",(function(){return YR})),n.d(i,"editor",(function(){return GR})),n.d(i,"languages",(function(){return KR})),"undefined"!==typeof window){var o=window.document.currentScript,r=n("2717");o=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var s=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(n.p=s[1])}var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wf-design"},[n("el-container",[n("el-container",[n("el-header",{directives:[{name:"show",rawName:"v-show",value:e.isEditMode&&e.option.toolbar&&e.option.toolbar.length>0,expression:"isEditMode && option.toolbar && option.toolbar.length > 0"}]},[n("wf-toolbar",{attrs:{toolbar:e.option.toolbar},on:{open:e.createNewDiagram,create:function(t){e.createNewDiagram(e.INIT_XML())},fit:e.fitViewport,undo:function(t){e.modeler.get("commandStack").undo()},redo:function(t){e.modeler.get("commandStack").redo()},download:e.getData,import:function(t){e.importVisible=!0},preview:e.handlePreview}},[n("template",{slot:"toolbar"},[e._t("toolbar")],2)],2)],1),n("el-main",[n("div",{ref:"modeler",staticClass:"modeler"})])],1),e.isEditMode?n("el-aside",{attrs:{width:"380px"}},[e.modeler?n("wf-panel",{ref:"panel",attrs:{modeler:e.modeler}}):e._e()],1):e._e()],1),n("el-drawer",{attrs:{title:"xml",visible:e.previewVisible,"append-to-body":"","destroy-on-close":"",size:"60%"},on:{"update:visible":function(t){e.previewVisible=t}}},[n("monaco-editor",{attrs:{language:"xml"},model:{value:e.previewXML,callback:function(t){e.previewXML=t},expression:"previewXML"}})],1),n("el-drawer",{attrs:{title:"导入xml",visible:e.importVisible,"append-to-body":"","destroy-on-close":"",size:"60%"},on:{"update:visible":function(t){e.importVisible=t}}},[n("monaco-editor",{attrs:{height:"93%",language:"xml"},model:{value:e.importXML,callback:function(t){e.importXML=t},expression:"importXML"}}),n("div",{staticClass:"wf-design__drawer-foot"},[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleImport}},[e._v("确定")]),n("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(t){e.importVisible=!1}}},[e._v("取消")])],1)],1)],1)},l=[];n("fa89"),n("d31d");function c(e,t,n,i,o,r,s){try{var a=e[r](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(i,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var r=e.apply(t,n);function s(e){c(r,i,o,s,a,"next",e)}function a(e){c(r,i,o,s,a,"throw",e)}s(void 0)}))}}n("ef61"),n("c225"),n("37fd"),n("7e50"),n("f96e"),n("2c69");function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("fc08"),n("84f7"),n("2eb0"),n("a8de"),n("e2da"),n("a078"),n("95d1"),n("dc6d"),n("6b40");function f(e){e=e||32;for(var t="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",n=t.length,i="",o=0;o<e;o++)i+=t.charAt(Math.floor(Math.random()*n));return i}var g=function(e){var t=e&&e.id?e.id:"process_".concat(f());if(!/^[a-zA-Z][a-zA-Z0-9_]*$/.test(t))throw new Error("process节点id必须以字母开头,且不能包含中文!当前id:"+e.id+" 不符合规则");var n=e&&e.name?e.name:"name_".concat(f());return'<?xml version="1.0" encoding="UTF-8"?>\n  <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"\n    xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI"\n    xmlns:flowable="http://flowable.org/bpmn" xmlns:activiti="http://activiti.org/bpmn" \n    xmlns:camunda="http://camunda.org/schema/1.0/bpmn" targetNamespace="http://bpmn.io/schema/bpmn">\n    <process id="'.concat(t,'" name="').concat(n,'" isExecutable="true">\n      <startEvent id="startEvent_1" name="开始" />\n    </process>\n    <bpmndi:BPMNDiagram id="BPMNDiagram_flow">\n      <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="T-2d89e7a3-ba79-4abd-9f64-ea59621c258c">\n        <bpmndi:BPMNShape id="BPMNShape_startEvent_1" bpmnElement="startEvent_1">\n          <dc:Bounds x="240" y="200" width="36" height="36" />\n          <bpmndi:BPMNLabel>\n            <dc:Bounds x="247" y="243" width="22" height="14" />\n          </bpmndi:BPMNLabel>\n        </bpmndi:BPMNShape>\n      </bpmndi:BPMNPlane>\n    </bpmndi:BPMNDiagram>\n  </definitions>')},m={xml:"",config:!1,mode:"edit",toolbar:["open","create","fit","zoom-in","zoom-out","undo","redo","import","preview","download-xml","download-svg"],engine:"flowable",lint:!0,minimap:!1,simulation:!1,flows:[]};n("085b"),n("99ab");function b(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){const i=n[0];return"undefined"!==typeof t[i]?t[i]:e})),n}function v(e,t,...n){return b(t,n)}var y=n("1cb4");const w="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function _(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of w)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const A=_();function C(e){let t=A;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const E={maxLen:1e3,windowSize:15,timeBudget:150};function x(e,t,n,i,o=E){if(n.length>o.maxLen){let r=e-o.maxLen/2;return r<0?(i+=e,r=0):i+=r,n=n.substring(r,e+o.maxLen/2),x(e,t,n,i,o)}Date.now();const r=e-1-i;let s=-1,a=null;for(let l=1;;l++){Date.now(),o.timeBudget;const e=r-o.windowSize*l;t.lastIndex=Math.max(0,e);const i=S(t,n,r,s);if(!i&&a)break;if(a=i,e<=0)break;s=e}if(a){let e={word:a[0],startColumn:i+1+a.index,endColumn:i+1+a.index+a[0].length};return t.lastIndex=0,e}return null}function S(e,t,n,i){let o;while(o=e.exec(t)){const t=o.index||0;if(t<=n&&e.lastIndex>=n)return o;if(i>0&&t>i)return null}return null}const D=8;class k{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class M{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class N{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class L{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}compute(e,t,n){return n}}class B{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class I{constructor(e,t,n,i){this.id=e,this.name=t,this.defaultValue=n,this.schema=i}validate(e){return"undefined"===typeof e?this.defaultValue:e}compute(e,t,n){return n}}class T extends I{static boolean(e,t){return"undefined"===typeof e?t:"false"!==e&&Boolean(e)}constructor(e,t,n,i){"undefined"!==typeof i&&(i.type="boolean",i.default=n),super(e,t,n,i)}validate(e){return T.boolean(e,this.defaultValue)}}class O extends I{constructor(e,t,n,i,o,r){"undefined"!==typeof r&&(r.type="integer",r.default=n,r.minimum=i,r.maximum=o),super(e,t,n,r),this.minimum=i,this.maximum=o}static clampedInt(e,t,n,i){if("undefined"===typeof e)return t;let o=parseInt(e,10);return isNaN(o)?t:(o=Math.max(n,o),o=Math.min(i,o),0|o)}validate(e){return O.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class R extends I{constructor(e,t,n,i,o){"undefined"!==typeof o&&(o.type="number",o.default=n),super(e,t,n,o),this.validationFn=i}static clamp(e,t,n){return e<t?t:e>n?n:e}static float(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;const n=parseFloat(e);return isNaN(n)?t:n}validate(e){return this.validationFn(R.float(e,this.defaultValue))}}class P extends I{static string(e,t){return"string"!==typeof e?t:e}constructor(e,t,n,i){"undefined"!==typeof i&&(i.type="string",i.default=n),super(e,t,n,i)}validate(e){return P.string(e,this.defaultValue)}}class F extends I{constructor(e,t,n,i,o){"undefined"!==typeof o&&(o.type="string",o.enum=i,o.default=n),super(e,t,n,o),this._allowedValues=i}static stringSet(e,t,n){return"string"!==typeof e||-1===n.indexOf(e)?t:e}validate(e){return F.stringSet(e,this.defaultValue,this._allowedValues)}}class j extends L{constructor(e,t,n,i,o,r,s){"undefined"!==typeof s&&(s.type="string",s.enum=o,s.default=i),super(e,t,n,s),this._allowedValues=o,this._convert=r}validate(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)}}function Q(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class z extends L{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[v("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),v("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),v("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:v("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,n){return 0===n?e.accessibilitySupport:n}}class V extends L{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(14,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:v("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:v("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{insertSpace:T.boolean(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:T.boolean(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function W(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var H;function U(e){switch(e){case"line":return H.Line;case"block":return H.Block;case"underline":return H.Underline;case"line-thin":return H.LineThin;case"block-outline":return H.BlockOutline;case"underline-thin":return H.UnderlineThin}}(function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"})(H||(H={}));class Y extends B{constructor(){super(114,[57,27])}compute(e,t,n){const i=["monaco-editor"];return t.get(27)&&i.push(t.get(27)),e.extraEditorClassName&&i.push(e.extraEditorClassName),"default"===t.get(57)?i.push("mouse-default"):"copy"===t.get(57)&&i.push("mouse-copy"),t.get(92)&&i.push("showUnused"),t.get(113)&&i.push("showDeprecated"),i.join(" ")}}class G extends T{constructor(){super(26,"emptySelectionClipboard",!0,{description:v("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,n){return n&&e.emptySelectionClipboard}}class K extends L{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(29,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:v("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:e.seedSearchStringFromSelection,description:v("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[v("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),v("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),v("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:v("find.autoFindInSelection","Controls the condition for turning on find in selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:v("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:y["f"]},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:v("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:v("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{cursorMoveOnType:T.boolean(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:T.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"===typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":F.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:T.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:T.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:T.boolean(t.loop,this.defaultValue.loop)}}}class q extends L{constructor(){super(37,"fontLigatures",q.OFF,{anyOf:[{type:"boolean",description:v("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:v("fontFeatureSettings","Explicit font-feature-settings.")}],description:v("fontLigaturesGeneral","Configures font ligatures or font features."),default:!1})}validate(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?q.OFF:"true"===e?q.ON:e:Boolean(e)?q.ON:q.OFF}}q.OFF='"liga" off, "calt" off',q.ON='"liga" on, "calt" on';class J extends B{constructor(){super(36)}compute(e,t,n){return e.fontInfo}}class X extends I{constructor(){super(38,"fontSize",Ae.fontSize,{type:"number",minimum:6,maximum:100,default:Ae.fontSize,description:v("fontSize","Controls the font size in pixels.")})}validate(e){let t=R.float(e,this.defaultValue);return 0===t?Ae.fontSize:R.clamp(t,6,100)}compute(e,t,n){return e.fontInfo.fontSize}}class $ extends L{constructor(){super(39,"fontWeight",Ae.fontWeight,{anyOf:[{type:"number",minimum:$.MINIMUM_VALUE,maximum:$.MAXIMUM_VALUE,errorMessage:v("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:$.SUGGESTION_VALUES}],default:Ae.fontWeight,description:v("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return"normal"===e||"bold"===e?e:String(O.clampedInt(e,Ae.fontWeight,$.MINIMUM_VALUE,$.MAXIMUM_VALUE))}}$.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"],$.MINIMUM_VALUE=1,$.MAXIMUM_VALUE=1e3;class Z extends L{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[v("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),v("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),v("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};super(43,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:v("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:v("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:v("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:v("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:v("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:v("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,description:v("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,description:v("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,description:v("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,description:v("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,description:v("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,n,i,o,r;if(!e||"object"!==typeof e)return this.defaultValue;const s=e;return{multiple:F.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:F.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:F.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:F.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:F.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:F.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:P.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:P.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:P.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:P.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:P.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class ee extends L{constructor(){const e={enabled:!0,delay:300,sticky:!0};super(46,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:v("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,description:v("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:v("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:T.boolean(t.enabled,this.defaultValue.enabled),delay:O.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:T.boolean(t.sticky,this.defaultValue.sticky)}}}class te extends B{constructor(){super(117,[42,50,31,56,84,52,53,86,106,109,110,2])}compute(e,t,n){return te.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,n=e.scrollBeyondLastLine?t-1:0,i=(e.viewLineCount+n)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/i);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:n,desiredRatio:i,minimapLineCount:o}}static _computeMinimapLayout(e,t){const n=e.outerWidth,i=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*i),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:i};const r=t.stableMinimapLayoutInput,s=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,a=e.lineHeight,l=e.typicalHalfwidthCharacterWidth,c=e.scrollBeyondLastLine,h=e.minimap.renderCharacters;let u=o>=2?Math.round(2*e.minimap.scale):e.minimap.scale;const d=e.minimap.maxColumn,p=e.minimap.size,f=e.minimap.side,g=e.verticalScrollbarWidth,m=e.viewLineCount,b=e.remainingWidth,v=e.isViewportWrapping,y=h?2:3;let w=Math.floor(o*i);const _=w/o;let A=!1,C=!1,E=y*u,x=u/o,S=1;if("fill"===p||"fit"===p){const{typicalViewportLineCount:n,extraLinesBeyondLastLine:r,desiredRatio:l,minimapLineCount:h}=te.computeContainedMinimapLineCount({viewLineCount:m,scrollBeyondLastLine:c,height:i,lineHeight:a,pixelRatio:o}),d=m/h;if(d>1)A=!0,C=!0,u=1,E=1,x=u/o;else{let i=!1,c=u+1;if("fit"===p){const n=Math.ceil((m+r)*E);v&&s&&b<=t.stableFitRemainingWidth?(i=!0,c=t.stableFitMaxMinimapScale):(i=n>w,v&&i?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0))}if("fill"===p||i){A=!0;const e=u;E=Math.min(a*o,Math.max(1,Math.floor(1/l))),u=Math.min(c,Math.max(1,Math.floor(E/y))),u>e&&(S=Math.min(2,u/e)),x=u/o/S,w=Math.ceil(Math.max(n,m+r)*E),v&&i&&(t.stableFitMaxMinimapScale=u)}}}const k=Math.floor(d*x),M=Math.min(k,Math.max(0,Math.floor((b-g-2)*x/(l+x)))+D);let N=Math.floor(o*M);const L=N/o;N=Math.floor(N*S);const B=h?1:2,I="left"===f?0:n-M-g;return{renderMinimap:B,minimapLeft:I,minimapWidth:M,minimapHeightIsEditorHeight:A,minimapIsSampling:C,minimapScale:u,minimapLineHeight:E,minimapCanvasInnerWidth:N,minimapCanvasInnerHeight:w,minimapCanvasOuterWidth:L,minimapCanvasOuterHeight:_}}static computeLayout(e,t){const n=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,r=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,c=t.viewLineCount,h=e.get(106),u=e.get(109),d=e.get(110),p=e.get(2),f=t.isDominatedByLongLines,g=e.get(42),m=0!==e.get(52).renderType,b=e.get(53),v=e.get(86),y=e.get(56),w=e.get(84),_=w.verticalScrollbarSize,A=w.verticalHasArrows,C=w.arrowSize,E=w.horizontalScrollbarSize,x=e.get(50),S=e.get(31);let D;if("string"===typeof x&&/^\d+(\.\d+)?ch$/.test(x)){const e=parseFloat(x.substr(0,x.length-2));D=O.clampedInt(e*s,0,0,1e3)}else D=O.clampedInt(x,0,0,1e3);S&&(D+=16);let k=0;if(m){const e=Math.max(r,b);k=Math.round(e*a)}let M=0;g&&(M=o);let L=0,B=L+M,I=B+k,T=I+D;const R=n-M-k-D;let P=!1,F=!1,j=-1;2!==p&&(d&&f?(P=!0,F=!0):"on"===h||"bounded"===h?F=!0:"wordWrapColumn"===h&&(j=u));const Q=te._computeMinimapLayout({outerWidth:n,outerHeight:i,lineHeight:o,typicalHalfwidthCharacterWidth:s,pixelRatio:l,scrollBeyondLastLine:v,minimap:y,verticalScrollbarWidth:_,viewLineCount:c,remainingWidth:R,isViewportWrapping:F},t.memory||new N);0!==Q.renderMinimap&&0===Q.minimapLeft&&(L+=Q.minimapWidth,B+=Q.minimapWidth,I+=Q.minimapWidth,T+=Q.minimapWidth);const z=R-Q.minimapWidth,V=Math.max(1,Math.floor((z-_-2)/s)),W=A?C:0;return F&&(j=Math.max(1,V),"bounded"===h&&(j=Math.min(j,u))),{width:n,height:i,glyphMarginLeft:L,glyphMarginWidth:M,lineNumbersLeft:B,lineNumbersWidth:k,decorationsLeft:I,decorationsWidth:D,contentLeft:T,contentWidth:z,minimap:Q,viewportColumn:V,isWordWrapMinified:P,isViewportWrapping:F,wrappingColumn:j,verticalScrollbarWidth:_,horizontalScrollbarHeight:E,overviewRuler:{top:W,width:_,height:i-2*W,right:0}}}}class ne extends L{constructor(){const e={enabled:!0};super(49,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:v("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:T.boolean(t.enabled,this.defaultValue.enabled)}}}class ie extends O{constructor(){super(51,"lineHeight",Ae.lineHeight,0,150,{description:v("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})}compute(e,t,n){return e.fontInfo.lineHeight}}class oe extends L{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(56,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:v("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[v("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),v("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),v("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:v("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:v("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:v("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:v("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:v("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:v("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:T.boolean(t.enabled,this.defaultValue.enabled),size:F.stringSet(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:F.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:F.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:T.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:O.clampedInt(t.scale,1,1,3),maxColumn:O.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function re(e){return"ctrlCmd"===e?y["f"]?"metaKey":"ctrlKey":"altKey"}class se extends L{constructor(){super(66,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:v("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:v("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{top:O.clampedInt(t.top,0,0,1e3),bottom:O.clampedInt(t.bottom,0,0,1e3)}}}class ae extends L{constructor(){const e={enabled:!0,cycle:!1};super(67,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:v("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:v("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e;return{enabled:T.boolean(t.enabled,this.defaultValue.enabled),cycle:T.boolean(t.cycle,this.defaultValue.cycle)}}}class le extends B{constructor(){super(115)}compute(e,t,n){return e.pixelRatio}}class ce extends L{constructor(){const e={other:!0,comments:!1,strings:!1};super(70,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:v("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:v("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:v("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:v("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){if("boolean"===typeof e)return e;if(e&&"object"===typeof e){const t=e,n={other:T.boolean(t.other,this.defaultValue.other),comments:T.boolean(t.comments,this.defaultValue.comments),strings:T.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue}}class he extends L{constructor(){super(52,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[v("lineNumbers.off","Line numbers are not rendered."),v("lineNumbers.on","Line numbers are rendered as absolute number."),v("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),v("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:v("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}}}function ue(e){const t=e.get(79);return"editable"===t?e.get(72):"on"!==t}class de extends L{constructor(){const e=[],t={type:"number",description:v("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(83,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:v("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:v("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let n of e)if("number"===typeof n)t.push({column:O.clampedInt(n,0,0,1e4),color:null});else if(n&&"object"===typeof n){const e=n;t.push({column:O.clampedInt(e.column,0,0,1e4),color:e.color})}return t.sort((e,t)=>e.column-t.column),t}return this.defaultValue}}function pe(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}class fe extends L{constructor(){super(84,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})}validate(e){if(!e||"object"!==typeof e)return this.defaultValue;const t=e,n=O.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=O.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:O.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:pe(t.vertical,this.defaultValue.vertical),horizontal:pe(t.horizontal,this.defaultValue.horizontal),useShadows:T.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:T.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:T.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:T.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:T.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:O.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:i,verticalSliderSize:O.clampedInt(t.verticalSliderSize,i,0,1e3)}}}class ge extends L{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0,statusBar:{visible:!1}};super(96,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[v("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),v("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:v("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:v("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:v("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:v("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:v("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:v("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:e.maxVisibleSuggestions,minimum:1,maximum:15,description:v("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:v("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:v("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")},"editor.suggest.statusBar.visible":{type:"boolean",default:!1,markdownDescription:v("editor.suggest.statusBar.visible","Controls the visibility of the status bar at the bottom of the suggest widget.")}})}validate(e){var t;if(!e||"object"!==typeof e)return this.defaultValue;const n=e;return{insertMode:F.stringSet(n.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:T.boolean(n.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:T.boolean(n.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:T.boolean(n.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:T.boolean(n.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:T.boolean(n.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:O.clampedInt(n.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:T.boolean(n.showMethods,this.defaultValue.showMethods),showFunctions:T.boolean(n.showFunctions,this.defaultValue.showFunctions),showConstructors:T.boolean(n.showConstructors,this.defaultValue.showConstructors),showFields:T.boolean(n.showFields,this.defaultValue.showFields),showVariables:T.boolean(n.showVariables,this.defaultValue.showVariables),showClasses:T.boolean(n.showClasses,this.defaultValue.showClasses),showStructs:T.boolean(n.showStructs,this.defaultValue.showStructs),showInterfaces:T.boolean(n.showInterfaces,this.defaultValue.showInterfaces),showModules:T.boolean(n.showModules,this.defaultValue.showModules),showProperties:T.boolean(n.showProperties,this.defaultValue.showProperties),showEvents:T.boolean(n.showEvents,this.defaultValue.showEvents),showOperators:T.boolean(n.showOperators,this.defaultValue.showOperators),showUnits:T.boolean(n.showUnits,this.defaultValue.showUnits),showValues:T.boolean(n.showValues,this.defaultValue.showValues),showConstants:T.boolean(n.showConstants,this.defaultValue.showConstants),showEnums:T.boolean(n.showEnums,this.defaultValue.showEnums),showEnumMembers:T.boolean(n.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:T.boolean(n.showKeywords,this.defaultValue.showKeywords),showWords:T.boolean(n.showWords,this.defaultValue.showWords),showColors:T.boolean(n.showColors,this.defaultValue.showColors),showFiles:T.boolean(n.showFiles,this.defaultValue.showFiles),showReferences:T.boolean(n.showReferences,this.defaultValue.showReferences),showFolders:T.boolean(n.showFolders,this.defaultValue.showFolders),showTypeParameters:T.boolean(n.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:T.boolean(n.showSnippets,this.defaultValue.showSnippets),showUsers:T.boolean(n.showUsers,this.defaultValue.showUsers),showIssues:T.boolean(n.showIssues,this.defaultValue.showIssues),statusBar:{visible:T.boolean(null===(t=n.statusBar)||void 0===t?void 0:t.visible,!!this.defaultValue.statusBar.visible)}}}}class me extends B{constructor(){super(116,[72])}compute(e,t,n){const i=t.get(72);return!!i||e.tabFocusMode}}function be(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}class ve extends B{constructor(){super(118,[117])}compute(e,t,n){const i=t.get(117);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:i.isWordWrapMinified,isViewportWrapping:i.isViewportWrapping,wrappingColumn:i.wrappingColumn}}}const ye="Consolas, 'Courier New', monospace",we="Menlo, Monaco, 'Courier New', monospace",_e="'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",Ae={fontFamily:y["f"]?we:y["d"]?_e:ye,fontWeight:"normal",fontSize:y["f"]?12:14,lineHeight:0,letterSpacing:0},Ce={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},Ee=[];function xe(e){return Ee[e.id]=e,e}const Se={acceptSuggestionOnCommitCharacter:xe(new T(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:v("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:xe(new F(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",v("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:v("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:xe(new z),accessibilityPageSize:xe(new O(3,"accessibilityPageSize",10,1,1073741824,{description:v("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:xe(new P(4,"ariaLabel",v("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:xe(new F(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",v("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),v("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:v("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:xe(new F(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",v("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:v("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:xe(new F(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",v("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),v("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:v("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:xe(new j(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],Q,{enumDescriptions:[v("editor.autoIndent.none","The editor will not insert indentation automatically."),v("editor.autoIndent.keep","The editor will keep the current line's indentation."),v("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),v("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),v("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:v("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:xe(new T(9,"automaticLayout",!1)),autoSurround:xe(new F(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[v("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),v("editor.autoSurround.quotes","Surround with quotes but not brackets."),v("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:v("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:xe(new T(11,"codeLens",!0,{description:v("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:xe(new T(12,"colorDecorators",!0,{description:v("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:xe(new T(13,"columnSelection",!1,{description:v("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:xe(new V),contextmenu:xe(new T(15,"contextmenu",!0)),copyWithSyntaxHighlighting:xe(new T(16,"copyWithSyntaxHighlighting",!0,{description:v("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:xe(new j(17,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],W,{description:v("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:xe(new T(18,"cursorSmoothCaretAnimation",!1,{description:v("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:xe(new j(19,"cursorStyle",H.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],U,{description:v("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:xe(new O(20,"cursorSurroundingLines",0,0,1073741824,{description:v("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:xe(new F(21,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[v("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),v("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:v("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:xe(new O(22,"cursorWidth",0,0,1073741824,{markdownDescription:v("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:xe(new T(23,"disableLayerHinting",!1)),disableMonospaceOptimizations:xe(new T(24,"disableMonospaceOptimizations",!1)),dragAndDrop:xe(new T(25,"dragAndDrop",!0,{description:v("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:xe(new G),extraEditorClassName:xe(new P(27,"extraEditorClassName","")),fastScrollSensitivity:xe(new R(28,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:v("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:xe(new K),fixedOverflowWidgets:xe(new T(30,"fixedOverflowWidgets",!1)),folding:xe(new T(31,"folding",!0,{description:v("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:xe(new F(32,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[v("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),v("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:v("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:xe(new T(33,"foldingHighlight",!0,{description:v("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),unfoldOnClickAfterEndOfLine:xe(new T(34,"unfoldOnClickAfterEndOfLine",!1,{description:v("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:xe(new P(35,"fontFamily",Ae.fontFamily,{description:v("fontFamily","Controls the font family.")})),fontInfo:xe(new J),fontLigatures2:xe(new q),fontSize:xe(new X),fontWeight:xe(new $),formatOnPaste:xe(new T(40,"formatOnPaste",!1,{description:v("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:xe(new T(41,"formatOnType",!1,{description:v("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:xe(new T(42,"glyphMargin",!0,{description:v("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:xe(new Z),hideCursorInOverviewRuler:xe(new T(44,"hideCursorInOverviewRuler",!1,{description:v("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:xe(new T(45,"highlightActiveIndentGuide",!0,{description:v("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:xe(new ee),inDiffEditor:xe(new T(47,"inDiffEditor",!1)),letterSpacing:xe(new R(48,"letterSpacing",Ae.letterSpacing,e=>R.clamp(e,-5,20),{description:v("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:xe(new ne),lineDecorationsWidth:xe(new I(50,"lineDecorationsWidth",10)),lineHeight:xe(new ie),lineNumbers:xe(new he),lineNumbersMinChars:xe(new O(53,"lineNumbersMinChars",5,1,300)),links:xe(new T(54,"links",!0,{description:v("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:xe(new F(55,"matchBrackets","always",["always","near","never"],{description:v("matchBrackets","Highlight matching brackets.")})),minimap:xe(new oe),mouseStyle:xe(new F(57,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:xe(new R(58,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:v("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:xe(new T(59,"mouseWheelZoom",!1,{markdownDescription:v("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:xe(new T(60,"multiCursorMergeOverlapping",!0,{description:v("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:xe(new j(61,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],re,{markdownEnumDescriptions:[v("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),v("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:v({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:xe(new F(62,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[v("multiCursorPaste.spread","Each cursor pastes a single line of the text."),v("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:v("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:xe(new T(63,"occurrencesHighlight",!0,{description:v("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:xe(new T(64,"overviewRulerBorder",!0,{description:v("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:xe(new O(65,"overviewRulerLanes",3,0,3)),padding:xe(new se),parameterHints:xe(new ae),peekWidgetDefaultFocus:xe(new F(68,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[v("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),v("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:v("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:xe(new T(69,"definitionLinkOpensInPeek",!1,{description:v("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:xe(new ce),quickSuggestionsDelay:xe(new O(71,"quickSuggestionsDelay",10,0,1073741824,{description:v("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:xe(new T(72,"readOnly",!1)),renameOnType:xe(new T(73,"renameOnType",!1,{description:v("renameOnType","Controls whether the editor auto renames on type.")})),renderControlCharacters:xe(new T(74,"renderControlCharacters",!1,{description:v("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:xe(new T(75,"renderIndentGuides",!0,{description:v("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:xe(new T(76,"renderFinalNewline",!0,{description:v("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:xe(new F(77,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",v("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:v("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:xe(new T(78,"renderLineHighlightOnlyWhenFocus",!1,{description:v("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused")})),renderValidationDecorations:xe(new F(79,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:xe(new F(80,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",v("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),v("renderWhitespace.selection","Render whitespace characters only on selected text."),v("renderWhitespace.trailing","Render only trailing whitespace characters"),""],description:v("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:xe(new O(81,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:xe(new T(82,"roundedSelection",!0,{description:v("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:xe(new de),scrollbar:xe(new fe),scrollBeyondLastColumn:xe(new O(85,"scrollBeyondLastColumn",5,0,1073741824,{description:v("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:xe(new T(86,"scrollBeyondLastLine",!0,{description:v("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:xe(new T(87,"scrollPredominantAxis",!0,{description:v("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:xe(new T(88,"selectionClipboard",!0,{description:v("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:y["d"]})),selectionHighlight:xe(new T(89,"selectionHighlight",!0,{description:v("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:xe(new T(90,"selectOnLineNumbers",!0)),showFoldingControls:xe(new F(91,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[v("showFoldingControls.always","Always show the folding controls."),v("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:v("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:xe(new T(92,"showUnused",!0,{description:v("showUnused","Controls fading out of unused code.")})),showDeprecated:xe(new T(113,"showDeprecated",!0,{description:v("showDeprecated","Controls strikethrough deprecated variables.")})),snippetSuggestions:xe(new F(93,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[v("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),v("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),v("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),v("snippetSuggestions.none","Do not show snippet suggestions.")],description:v("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:xe(new T(94,"smoothScrolling",!1,{description:v("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:xe(new O(95,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:xe(new ge),suggestFontSize:xe(new O(97,"suggestFontSize",0,0,1e3,{markdownDescription:v("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:xe(new O(98,"suggestLineHeight",0,0,1e3,{markdownDescription:v("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:xe(new T(99,"suggestOnTriggerCharacters",!0,{description:v("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:xe(new F(100,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[v("suggestSelection.first","Always select the first suggestion."),v("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),v("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:v("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:xe(new F(101,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[v("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),v("tabCompletion.off","Disable tab completions."),v("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:v("tabCompletion","Enables tab completions.")})),tabIndex:xe(new O(102,"tabIndex",0,-1,1073741824)),unusualLineTerminators:xe(new F(103,"unusualLineTerminators","prompt",["off","prompt","auto"],{enumDescriptions:[v("unusualLineTerminators.off","Unusual line terminators are ignored."),v("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed."),v("unusualLineTerminators.auto","Unusual line terminators are automatically removed.")],description:v("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useTabStops:xe(new T(104,"useTabStops",!0,{description:v("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:xe(new P(105,"wordSeparators",w,{description:v("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:xe(new F(106,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[v("wordWrap.off","Lines will never wrap."),v("wordWrap.on","Lines will wrap at the viewport width."),v({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),v({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:v({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:xe(new P(107,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:xe(new P(108,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:xe(new O(109,"wordWrapColumn",80,1,1073741824,{markdownDescription:v({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:xe(new T(110,"wordWrapMinified",!0)),wrappingIndent:xe(new j(111,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],be,{enumDescriptions:[v("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),v("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),v("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),v("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:v("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:xe(new F(112,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[v("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),v("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:v("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:xe(new Y),pixelRatio:xe(new le),tabFocusMode:xe(new me),layoutInfo:xe(new te),wrappingInfo:xe(new ve)};class De{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const ke=new De;function Me(e){Be(e)||ke.onUnexpectedError(e)}function Ne(e){if(e instanceof Error){let{name:t,message:n}=e;const i=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:i}}return e}const Le="Canceled";function Be(e){return e instanceof Error&&e.name===Le&&e.message===Le}function Ie(){const e=new Error(Le);return e.name=e.message,e}function Te(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function Oe(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}var Re;(function(e){function t(e){return e&&"object"===typeof e&&"function"===typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function i(){return n}function*o(e){yield e}function r(e){return e||n}function s(e){return e[Symbol.iterator]().next().value}function a(e,t){for(const n of e)if(t(n))return!0;return!1}function*l(e,t){for(const n of e)t(n)&&(yield n)}function*c(e,t){for(const n of e)yield t(n)}function*h(...e){for(const t of e)for(const e of t)yield e}function u(t,n=Number.POSITIVE_INFINITY){const i=[];if(0===n)return[i,t];const o=t[Symbol.iterator]();for(let r=0;r<n;r++){const t=o.next();if(t.done)return[i,e.empty()];i.push(t.value)}return[i,{[Symbol.iterator](){return o}}]}e.empty=i,e.single=o,e.from=r,e.first=s,e.some=a,e.filter=l,e.map=c,e.concat=h,e.consume=u})(Re||(Re={}));const Pe=!1,Fe="__is_disposable_tracked__";function je(e){if(Pe&&e&&e!==Ge.None)try{e[Fe]=!0}catch(t){}}function Qe(e){if(!Pe)return e;new Error("Potentially leaked disposable").stack;return setTimeout(()=>{e[Fe]},3e3),e}class ze extends Error{constructor(e){super(`Encounter errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function Ve(e){return"function"===typeof e.dispose&&0===e.dispose.length}function We(e){if(Re.is(e)){let n=[];for(const i of e)if(i){je(i);try{i.dispose()}catch(t){n.push(t)}}if(1===n.length)throw n[0];if(n.length>1)throw new ze(n);return Array.isArray(e)?[]:e}if(e)return je(e),e.dispose(),e}function He(...e){return e.forEach(je),Qe({dispose:()=>We(e)})}function Ue(e){const t=Qe({dispose:()=>{je(t),e()}});return t}class Ye{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(je(this),this._isDisposed=!0,this.clear())}clear(){try{We(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return je(e),this._isDisposed?Ye.DISABLE_DISPOSED_WARNING:this._toDispose.add(e),e}}Ye.DISABLE_DISPOSED_WARNING=!1;class Ge{constructor(){this._store=new Ye,Qe(this)}dispose(){je(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}Ge.None=Object.freeze({dispose(){}});class Ke{constructor(e){this.object=e}dispose(){}}class qe{constructor(e){this.element=e,this.next=qe.Undefined,this.prev=qe.Undefined}}qe.Undefined=new qe(void 0);class Je{constructor(){this._first=qe.Undefined,this._last=qe.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===qe.Undefined}clear(){this._first=qe.Undefined,this._last=qe.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new qe(e);if(this._first===qe.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==qe.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==qe.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==qe.Undefined&&e.next!==qe.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===qe.Undefined&&e.next===qe.Undefined?(this._first=qe.Undefined,this._last=qe.Undefined):e.next===qe.Undefined?(this._last=this._last.prev,this._last.next=qe.Undefined):e.prev===qe.Undefined&&(this._first=this._first.next,this._first.prev=qe.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;while(e!==qe.Undefined)yield e.element,e=e.next}toArray(){const e=[];for(let t=this._first;t!==qe.Undefined;t=t.next)e.push(t.element);return e}}var Xe;(function(e){function t(e){return(t,n=null,i)=>{let o,r=!1;return o=e(e=>{if(!r)return o?o.dispose():r=!0,t.call(n,e)},null,i),r&&o.dispose(),o}}function n(e,t){return l((n,i=null,o)=>e(e=>n.call(i,t(e)),null,o))}function i(e,t){return l((n,i=null,o)=>e(e=>{t(e),n.call(i,e)},null,o))}function o(e,t){return l((n,i=null,o)=>e(e=>t(e)&&n.call(i,e),null,o))}function r(e){return e}function s(...e){return(t,n=null,i)=>He(...e.map(e=>e(e=>t.call(n,e),null,i)))}function a(e,t,i){let o=i;return n(e,e=>(o=t(o,e),o))}function l(e){let t;const n=new et({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function c(e,t,n=100,i=!1,o){let r,s=void 0,a=void 0,l=0;const c=new et({leakWarningThreshold:o,onFirstListenerAdd(){r=e(e=>{l++,s=t(s,e),i&&!a&&(c.fire(s),s=void 0),clearTimeout(a),a=setTimeout(()=>{const e=s;s=void 0,a=void 0,(!i||l>1)&&c.fire(e),l=0},n)})},onLastListenerRemove(){r.dispose()}});return c.event}function h(e){const i=(new Date).getTime();return n(t(e),e=>(new Date).getTime()-i)}function u(e){let t,n=!0;return o(e,e=>{const i=n||e!==t;return n=!1,t=e,i})}function d(e,t=!1,n=[]){let i=n.slice(),o=e(e=>{i?i.push(e):s.fire(e)});const r=()=>{i&&i.forEach(e=>s.fire(e)),i=null},s=new et({onFirstListenerAdd(){o||(o=e(e=>s.fire(e)))},onFirstListenerDidAdd(){i&&(t?setTimeout(r):r())},onLastListenerRemove(){o&&o.dispose(),o=null}});return s.event}e.None=()=>Ge.None,e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=r,e.any=s,e.reduce=a,e.snapshot=l,e.debounce=c,e.stopwatch=h,e.latch=u,e.buffer=d;class p{constructor(e){this.event=e}map(e){return new p(n(this.event,e))}forEach(e){return new p(i(this.event,e))}filter(e){return new p(o(this.event,e))}reduce(e,t){return new p(a(this.event,e,t))}latch(){return new p(u(this.event))}debounce(e,t=100,n=!1,i){return new p(c(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}function f(e){return new p(e)}function g(e,t,n=(e=>e)){const i=(...e)=>s.fire(n(...e)),o=()=>e.on(t,i),r=()=>e.removeListener(t,i),s=new et({onFirstListenerAdd:o,onLastListenerRemove:r});return s.event}function m(e,t,n=(e=>e)){const i=(...e)=>s.fire(n(...e)),o=()=>e.addEventListener(t,i),r=()=>e.removeEventListener(t,i),s=new et({onFirstListenerAdd:o,onLastListenerRemove:r});return s.event}function b(e){const t=new et;let n=!1;return e.then(void 0,()=>null).then(()=>{n?t.fire(void 0):setTimeout(()=>t.fire(void 0),0)}),n=!0,t.event}function v(e){return new Promise(n=>t(e)(n))}e.chain=f,e.fromNodeEventEmitter=g,e.fromDOMEventEmitter=m,e.fromPromise=b,e.toPromise=v})(Xe||(Xe={}));let $e=-1;class Ze{constructor(e,t=Math.random().toString(18).slice(2,5)){this.customThreshold=e,this.name=t,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(e){let t=$e;if("number"===typeof this.customThreshold&&(t=this.customThreshold),t<=0||e<t)return;this._stacks||(this._stacks=new Map);const n=(new Error).stack.split("\n").slice(3).join("\n"),i=this._stacks.get(n)||0;if(this._stacks.set(n,i+1),this._warnCountdown-=1,this._warnCountdown<=0){let e;this._warnCountdown=.5*t;let n=0;for(const[t,i]of this._stacks)(!e||n<i)&&(e=t,n=i)}return()=>{const e=this._stacks.get(n)||0;this._stacks.set(n,e-1)}}}class et{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=$e>0?new Ze(this._options&&this._options.leakWarningThreshold):void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new Je);const i=this._listeners.isEmpty();i&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e);let r,s;return i&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),this._leakageMon&&(r=this._leakageMon.check(this._listeners.size)),s={dispose:()=>{if(r&&r(),s.dispose=et._noop,!this._disposed&&(o(),this._options&&this._options.onLastListenerRemove)){const e=this._listeners&&!this._listeners.isEmpty();e||this._options.onLastListenerRemove(this)}}},n instanceof Ye?n.add(s):Array.isArray(n)&&n.push(s),s}),this._event}fire(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Je);for(let t of this._listeners)this._deliveryQueue.push([t,e]);while(this._deliveryQueue.size>0){const[e,n]=this._deliveryQueue.shift();try{"function"===typeof e?e.call(void 0,n):e[0].call(e[1],n)}catch(t){Me(t)}}}}dispose(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0}}et._noop=function(){};class tt extends et{constructor(e){super(e),this._isPaused=0,this._eventQueue=new Je,this._mergeFn=e&&e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){const e=this._eventQueue.toArray();this._eventQueue.clear(),super.fire(this._mergeFn(e))}else while(!this._isPaused&&0!==this._eventQueue.size)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class nt{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e(e=>{const i=this.buffers[this.buffers.length-1];i?i.push(()=>t.call(n,e)):t.call(n,e)},void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach(e=>e()),n}}class it{constructor(){this.listening=!1,this.inputEvent=Xe.None,this.inputEventListener=Ge.None,this.emitter=new et({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const ot=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var rt;(function(e){function t(t){return t===e.None||t===e.Cancelled||(t instanceof st||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Xe.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:ot})})(rt||(rt={}));class st{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?ot:(this._emitter||(this._emitter=new et),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class at{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new st),this._token}cancel(){this._token?this._token instanceof st&&this._token.cancel():this._token=rt.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof st&&this._token.dispose():this._token=rt.None}}class lt{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const ct=new lt,ht=new lt,ut=new lt;var dt;function pt(e,t){const n=(65535&t)<<16>>>0;return(e|n)>>>0}function ft(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new bt(0!==i?[gt(n,t),gt(i,t)]:[gt(n,t)])}function gt(e,t){const n=!!(2048&e),i=!!(256&e),o=2===t?i:n,r=!!(1024&e),s=!!(512&e),a=2===t?n:i,l=255&e;return new mt(o,r,s,a,l)}(function(){function e(e,t,n=t,i=n){ct.define(e,t),ht.define(e,n),ut.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})(),function(e){function t(e){return ct.keyCodeToStr(e)}function n(e){return ct.strToKeyCode(e)}function i(e){return ht.keyCodeToStr(e)}function o(e){return ut.keyCodeToStr(e)}function r(e){return ht.strToKeyCode(e)||ut.strToKeyCode(e)}e.toString=t,e.fromString=n,e.toUserSettingsUS=i,e.toUserSettingsGeneral=o,e.fromUserSettings=r}(dt||(dt={}));class mt{constructor(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new bt([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class bt{constructor(e){if(0===e.length)throw Te("parts");this.parts=e}}class vt{constructor(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r}}class yt{}var wt=n("f940");const _t=65,At=97,Ct=90,Et=122,xt=46,St=47,Dt=92,kt=58,Mt=63;class Nt extends Error{constructor(e,t,n){let i;"string"===typeof t&&0===t.indexOf("not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";const o=-1!==e.indexOf(".")?"property":"argument";let r=`The "${e}" ${o} ${i} of type ${t}`;r+=". Received type "+typeof n,super(r),this.code="ERR_INVALID_ARG_TYPE"}}function Lt(e,t){if("string"!==typeof e)throw new Nt(t,"string",e)}function Bt(e){return e===St||e===Dt}function It(e){return e===St}function Tt(e){return e>=_t&&e<=Ct||e>=At&&e<=Et}function Ot(e,t,n,i){let o="",r=0,s=-1,a=0,l=0;for(let c=0;c<=e.length;++c){if(c<e.length)l=e.charCodeAt(c);else{if(i(l))break;l=St}if(i(l)){if(s===c-1||1===a);else if(2===a){if(o.length<2||2!==r||o.charCodeAt(o.length-1)!==xt||o.charCodeAt(o.length-2)!==xt){if(o.length>2){const e=o.lastIndexOf(n);-1===e?(o="",r=0):(o=o.slice(0,e),r=o.length-1-o.lastIndexOf(n)),s=c,a=0;continue}if(0!==o.length){o="",r=0,s=c,a=0;continue}}t&&(o+=o.length>0?n+"..":"..",r=2)}else o.length>0?o+=`${n}${e.slice(s+1,c)}`:o=e.slice(s+1,c),r=c-s-1;s=c,a=0}else l===xt&&-1!==a?++a:a=-1}return o}function Rt(e,t){if(null===t||"object"!==typeof t)throw new Nt("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const Pt={resolve(...e){let t="",n="",i=!1;for(let o=e.length-1;o>=-1;o--){let r;if(o>=0){if(r=e[o],Lt(r,"path"),0===r.length)continue}else 0===t.length?r=wt["a"]():(r=wt["b"]["="+t]||wt["a"](),(void 0===r||r.slice(0,2).toLowerCase()!==t.toLowerCase()&&r.charCodeAt(2)===Dt)&&(r=t+"\\"));const s=r.length;let a=0,l="",c=!1;const h=r.charCodeAt(0);if(1===s)Bt(h)&&(a=1,c=!0);else if(Bt(h))if(c=!0,Bt(r.charCodeAt(1))){let e=2,t=e;while(e<s&&!Bt(r.charCodeAt(e)))e++;if(e<s&&e!==t){const n=r.slice(t,e);t=e;while(e<s&&Bt(r.charCodeAt(e)))e++;if(e<s&&e!==t){t=e;while(e<s&&!Bt(r.charCodeAt(e)))e++;e!==s&&e===t||(l=`\\\\${n}\\${r.slice(t,e)}`,a=e)}}}else a=1;else Tt(h)&&r.charCodeAt(1)===kt&&(l=r.slice(0,2),a=2,s>2&&Bt(r.charCodeAt(2))&&(c=!0,a=3));if(l.length>0)if(t.length>0){if(l.toLowerCase()!==t.toLowerCase())continue}else t=l;if(i){if(t.length>0)break}else if(n=`${r.slice(a)}\\${n}`,i=c,c&&t.length>0)break}return n=Ot(n,!i,"\\",Bt),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){Lt(e,"path");const t=e.length;if(0===t)return".";let n,i=0,o=!1;const r=e.charCodeAt(0);if(1===t)return It(r)?"\\":e;if(Bt(r))if(o=!0,Bt(e.charCodeAt(1))){let o=2,r=o;while(o<t&&!Bt(e.charCodeAt(o)))o++;if(o<t&&o!==r){const s=e.slice(r,o);r=o;while(o<t&&Bt(e.charCodeAt(o)))o++;if(o<t&&o!==r){r=o;while(o<t&&!Bt(e.charCodeAt(o)))o++;if(o===t)return`\\\\${s}\\${e.slice(r)}\\`;o!==r&&(n=`\\\\${s}\\${e.slice(r,o)}`,i=o)}}}else i=1;else Tt(r)&&e.charCodeAt(1)===kt&&(n=e.slice(0,2),i=2,t>2&&Bt(e.charCodeAt(2))&&(o=!0,i=3));let s=i<t?Ot(e.slice(i),!o,"\\",Bt):"";return 0!==s.length||o||(s="."),s.length>0&&Bt(e.charCodeAt(t-1))&&(s+="\\"),void 0===n?o?"\\"+s:s:o?`${n}\\${s}`:`${n}${s}`},isAbsolute(e){Lt(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return Bt(n)||t>2&&Tt(n)&&e.charCodeAt(1)===kt&&Bt(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r<e.length;++r){const i=e[r];Lt(i,"path"),i.length>0&&(void 0===t?t=n=i:t+="\\"+i)}if(void 0===t)return".";let i=!0,o=0;if("string"===typeof n&&Bt(n.charCodeAt(0))){++o;const e=n.length;e>1&&Bt(n.charCodeAt(1))&&(++o,e>2&&(Bt(n.charCodeAt(2))?++o:i=!1))}if(i){while(o<t.length&&Bt(t.charCodeAt(o)))o++;o>=2&&(t="\\"+t.slice(o))}return Pt.normalize(t)},relative(e,t){if(Lt(e,"from"),Lt(t,"to"),e===t)return"";const n=Pt.resolve(e),i=Pt.resolve(t);if(n===i)return"";if(e=n.toLowerCase(),t=i.toLowerCase(),e===t)return"";let o=0;while(o<e.length&&e.charCodeAt(o)===Dt)o++;let r=e.length;while(r-1>o&&e.charCodeAt(r-1)===Dt)r--;const s=r-o;let a=0;while(a<t.length&&t.charCodeAt(a)===Dt)a++;let l=t.length;while(l-1>a&&t.charCodeAt(l-1)===Dt)l--;const c=l-a,h=s<c?s:c;let u=-1,d=0;for(;d<h;d++){const n=e.charCodeAt(o+d);if(n!==t.charCodeAt(a+d))break;n===Dt&&(u=d)}if(d!==h){if(-1===u)return i}else{if(c>h){if(t.charCodeAt(a+d)===Dt)return i.slice(a+d+1);if(2===d)return i.slice(a+d)}s>h&&(e.charCodeAt(o+d)===Dt?u=d:2===d&&(u=3)),-1===u&&(u=0)}let p="";for(d=o+u+1;d<=r;++d)d!==r&&e.charCodeAt(d)!==Dt||(p+=0===p.length?"..":"\\..");return a+=u,p.length>0?`${p}${i.slice(a,l)}`:(i.charCodeAt(a)===Dt&&++a,i.slice(a,l))},toNamespacedPath(e){if("string"!==typeof e)return e;if(0===e.length)return"";const t=Pt.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===Dt){if(t.charCodeAt(1)===Dt){const e=t.charCodeAt(2);if(e!==Mt&&e!==xt)return"\\\\?\\UNC\\"+t.slice(2)}}else if(Tt(t.charCodeAt(0))&&t.charCodeAt(1)===kt&&t.charCodeAt(2)===Dt)return"\\\\?\\"+t;return e},dirname(e){Lt(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const o=e.charCodeAt(0);if(1===t)return Bt(o)?e:".";if(Bt(o)){if(n=i=1,Bt(e.charCodeAt(1))){let o=2,r=o;while(o<t&&!Bt(e.charCodeAt(o)))o++;if(o<t&&o!==r){r=o;while(o<t&&Bt(e.charCodeAt(o)))o++;if(o<t&&o!==r){r=o;while(o<t&&!Bt(e.charCodeAt(o)))o++;if(o===t)return e;o!==r&&(n=i=o+1)}}}}else Tt(o)&&e.charCodeAt(1)===kt&&(n=t>2&&Bt(e.charCodeAt(2))?3:2,i=n);let r=-1,s=!0;for(let a=t-1;a>=i;--a)if(Bt(e.charCodeAt(a))){if(!s){r=a;break}}else s=!1;if(-1===r){if(-1===n)return".";r=n}return e.slice(0,r)},basename(e,t){void 0!==t&&Lt(t,"ext"),Lt(e,"path");let n,i=0,o=-1,r=!0;if(e.length>=2&&Tt(e.charCodeAt(0))&&e.charCodeAt(1)===kt&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=i;--n){const l=e.charCodeAt(n);if(Bt(l)){if(!r){i=n+1;break}}else-1===a&&(r=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1===--s&&(o=n):(s=-1,o=a))}return i===o?o=a:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(Bt(e.charCodeAt(n))){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){Lt(e,"path");let t=0,n=-1,i=0,o=-1,r=!0,s=0;e.length>=2&&e.charCodeAt(1)===kt&&Tt(e.charCodeAt(0))&&(t=i=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(Bt(t)){if(!r){i=a+1;break}}else-1===o&&(r=!1,o=a+1),t===xt?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1)}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:Rt.bind(null,"\\"),parse(e){Lt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,o=e.charCodeAt(0);if(1===n)return Bt(o)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(Bt(o)){if(i=1,Bt(e.charCodeAt(1))){let t=2,o=t;while(t<n&&!Bt(e.charCodeAt(t)))t++;if(t<n&&t!==o){o=t;while(t<n&&Bt(e.charCodeAt(t)))t++;if(t<n&&t!==o){o=t;while(t<n&&!Bt(e.charCodeAt(t)))t++;t===n?i=t:t!==o&&(i=t+1)}}}}else if(Tt(o)&&e.charCodeAt(1)===kt){if(n<=2)return t.root=t.dir=e,t;if(i=2,Bt(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;i=3}}i>0&&(t.root=e.slice(0,i));let r=-1,s=i,a=-1,l=!0,c=e.length-1,h=0;for(;c>=i;--c)if(o=e.charCodeAt(c),Bt(o)){if(!l){s=c+1;break}}else-1===a&&(l=!1,a=c+1),o===xt?-1===r?r=c:1!==h&&(h=1):-1!==r&&(h=-1);return-1!==a&&(-1===r||0===h||1===h&&r===a-1&&r===s+1?t.base=t.name=e.slice(s,a):(t.name=e.slice(s,r),t.base=e.slice(s,a),t.ext=e.slice(r,a))),t.dir=s>0&&s!==i?e.slice(0,s-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Ft={resolve(...e){let t="",n=!1;for(let i=e.length-1;i>=-1&&!n;i--){const o=i>=0?e[i]:wt["a"]();Lt(o,"path"),0!==o.length&&(t=`${o}/${t}`,n=o.charCodeAt(0)===St)}return t=Ot(t,!n,"/",It),n?"/"+t:t.length>0?t:"."},normalize(e){if(Lt(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===St,n=e.charCodeAt(e.length-1)===St;return e=Ot(e,!t,"/",It),0===e.length?t?"/":n?"./":".":(n&&(e+="/"),t?"/"+e:e)},isAbsolute(e){return Lt(e,"path"),e.length>0&&e.charCodeAt(0)===St},join(...e){if(0===e.length)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];Lt(i,"path"),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":Ft.normalize(t)},relative(e,t){if(Lt(e,"from"),Lt(t,"to"),e===t)return"";if(e=Ft.resolve(e),t=Ft.resolve(t),e===t)return"";const n=1,i=e.length,o=i-n,r=1,s=t.length-r,a=o<s?o:s;let l=-1,c=0;for(;c<a;c++){const i=e.charCodeAt(n+c);if(i!==t.charCodeAt(r+c))break;i===St&&(l=c)}if(c===a)if(s>a){if(t.charCodeAt(r+c)===St)return t.slice(r+c+1);if(0===c)return t.slice(r+c)}else o>a&&(e.charCodeAt(n+c)===St?l=c:0===c&&(l=0));let h="";for(c=n+l+1;c<=i;++c)c!==i&&e.charCodeAt(c)!==St||(h+=0===h.length?"..":"/..");return`${h}${t.slice(r+l)}`},toNamespacedPath(e){return e},dirname(e){if(Lt(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===St;let n=-1,i=!0;for(let o=e.length-1;o>=1;--o)if(e.charCodeAt(o)===St){if(!i){n=o;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&Lt(t,"ext"),Lt(e,"path");let n,i=0,o=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=0;--n){const l=e.charCodeAt(n);if(l===St){if(!r){i=n+1;break}}else-1===a&&(r=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1===--s&&(o=n):(s=-1,o=a))}return i===o?o=a:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===St){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){Lt(e,"path");let t=-1,n=0,i=-1,o=!0,r=0;for(let s=e.length-1;s>=0;--s){const a=e.charCodeAt(s);if(a!==St)-1===i&&(o=!1,i=s+1),a===xt?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)},format:Rt.bind(null,"/"),parse(e){Lt(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===St;let i;n?(t.root="/",i=1):i=0;let o=-1,r=0,s=-1,a=!0,l=e.length-1,c=0;for(;l>=i;--l){const t=e.charCodeAt(l);if(t!==St)-1===s&&(a=!1,s=l+1),t===xt?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!a){r=l+1;break}}if(-1!==s){const i=0===r&&n?1:r;-1===o||0===c||1===c&&o===s-1&&o===r+1?t.base=t.name=e.slice(i,s):(t.name=e.slice(i,o),t.base=e.slice(i,s),t.ext=e.slice(o,s))}return r>0?t.dir=e.slice(0,r-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};Ft.win32=Pt.win32=Pt,Ft.posix=Pt.posix=Ft;const jt="win32"===wt["c"]?Pt.normalize:Ft.normalize,Qt="win32"===wt["c"]?Pt.resolve:Ft.resolve,zt="win32"===wt["c"]?Pt.relative:Ft.relative,Vt="win32"===wt["c"]?Pt.dirname:Ft.dirname,Wt="win32"===wt["c"]?Pt.basename:Ft.basename,Ht="win32"===wt["c"]?Pt.extname:Ft.extname,Ut="win32"===wt["c"]?Pt.sep:Ft.sep,Yt=/^\w[\w\d+.-]*$/,Gt=/^\//,Kt=/^\/\//;function qt(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!Yt.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!Gt.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Kt.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function Jt(e,t){return e||t?e:"file"}function Xt(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Zt&&(t=Zt+t):t=Zt;break}return t}const $t="",Zt="/",en=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class tn{constructor(e,t,n,i,o,r=!1){"object"===typeof e?(this.scheme=e.scheme||$t,this.authority=e.authority||$t,this.path=e.path||$t,this.query=e.query||$t,this.fragment=e.fragment||$t):(this.scheme=Jt(e,r),this.authority=t||$t,this.path=Xt(this.scheme,n||$t),this.query=i||$t,this.fragment=o||$t,qt(this,r))}static isUri(e){return e instanceof tn||!!e&&("string"===typeof e.authority&&"string"===typeof e.fragment&&"string"===typeof e.path&&"string"===typeof e.query&&"string"===typeof e.scheme&&"function"===typeof e.fsPath&&"function"===typeof e.with&&"function"===typeof e.toString)}get fsPath(){return ln(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:o,fragment:r}=e;return void 0===t?t=this.scheme:null===t&&(t=$t),void 0===n?n=this.authority:null===n&&(n=$t),void 0===i?i=this.path:null===i&&(i=$t),void 0===o?o=this.query:null===o&&(o=$t),void 0===r?r=this.fragment:null===r&&(r=$t),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new on(t,n,i,o,r)}static parse(e,t=!1){const n=en.exec(e);return n?new on(n[2]||$t,dn(n[4]||$t),dn(n[5]||$t),dn(n[7]||$t),dn(n[9]||$t),t):new on($t,$t,$t,$t,$t)}static file(e){let t=$t;if(y["i"]&&(e=e.replace(/\\/g,Zt)),e[0]===Zt&&e[1]===Zt){const n=e.indexOf(Zt,2);-1===n?(t=e.substring(2),e=Zt):(t=e.substring(2,n),e=e.substring(n)||Zt)}return new on("file",t,e,$t,$t)}static from(e){return new on(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPaths on URI without path");let n;return n=y["i"]&&"file"===e.scheme?tn.file(Pt.join(ln(e,!0),...t)).path:Ft.join(e.path,...t),e.with({path:n})}toString(e=!1){return cn(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof tn)return e;{const t=new on(e);return t._formatted=e.external,t._fsPath=e._sep===nn?e.fsPath:null,t}}return e}}const nn=y["i"]?1:void 0;class on extends tn{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=ln(this,!1)),this._fsPath}toString(e=!1){return e?cn(this,!0):(this._formatted||(this._formatted=cn(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=nn),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const rn={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function sn(e,t){let n=void 0,i=-1;for(let o=0;o<e.length;o++){const r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));const t=rn[r];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=t):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function an(e){let t=void 0;for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=rn[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function ln(e,t){let n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,y["i"]&&(n=n.replace(/\//g,"\\")),n}function cn(e,t){const n=t?an:sn;let i="",{scheme:o,authority:r,path:s,query:a,fragment:l}=e;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=Zt,i+=Zt),r){let e=r.indexOf("@");if(-1!==e){const t=r.substr(0,e);r=r.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}r=r.toLowerCase(),e=r.indexOf(":"),-1===e?i+=n(r,!1):(i+=n(r.substr(0,e),!1),i+=r.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:sn(l,!1)),i}function hn(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+hn(e.substr(3)):e}}const un=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function dn(e){return e.match(un)?e.replace(un,e=>hn(e)):e}class pn{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new pn(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return pn.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return pn.isBefore(this,e)}static isBefore(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column}isBeforeOrEqual(e){return pn.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column}static compare(e,t){let n=0|e.lineNumber,i=0|t.lineNumber;if(n===i){let n=0|e.column,i=0|t.column;return n-i}return n-i}clone(){return new pn(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new pn(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column}}class fn{constructor(e,t,n,i){e>n||e===n&&t>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return fn.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return fn.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))}containsRange(e){return fn.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))}strictContainsRange(e){return fn.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return fn.plusRange(this,e)}static plusRange(e,t){let n,i,o,r;return t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,i=t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,i=Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),t.endLineNumber>e.endLineNumber?(o=t.endLineNumber,r=t.endColumn):t.endLineNumber===e.endLineNumber?(o=t.endLineNumber,r=Math.max(t.endColumn,e.endColumn)):(o=e.endLineNumber,r=e.endColumn),new fn(n,i,o,r)}intersectRanges(e){return fn.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,c=t.endColumn;return n<s?(n=s,i=a):n===s&&(i=Math.max(i,a)),o>l?(o=l,r=c):o===l&&(r=Math.min(r,c)),n>o||n===o&&i>r?null:new fn(n,i,o,r)}equalsRange(e){return fn.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return fn.getEndPosition(this)}static getEndPosition(e){return new pn(e.endLineNumber,e.endColumn)}getStartPosition(){return fn.getStartPosition(this)}static getStartPosition(e){return new pn(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new fn(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new fn(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return fn.collapseToStart(this)}static collapseToStart(e){return new fn(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new fn(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new fn(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)}static areIntersecting(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,t){if(e&&t){const n=0|e.startLineNumber,i=0|t.startLineNumber;if(n===i){const n=0|e.startColumn,i=0|t.startColumn;if(n===i){const n=0|e.endLineNumber,i=0|t.endLineNumber;if(n===i){const n=0|e.endColumn,i=0|t.endColumn;return n-i}return n-i}return n-i}return n-i}const n=e?1:0,i=t?1:0;return n-i}static compareRangesUsingEnds(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}}class gn extends fn{constructor(e,t,n,i){super(e,t,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return gn.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new gn(this.startLineNumber,this.startColumn,e,t):new gn(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new pn(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new gn(e,t,this.endLineNumber,this.endColumn):new gn(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new gn(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new gn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0}static isISelection(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn}static createWithDirection(e,t,n,i,o){return 0===o?new gn(e,t,n,i):new gn(n,i,e,t)}}class mn{constructor(e,t,n){this.offset=0|e,this.type=t,this.language=n}toString(){return"("+this.offset+", "+this.type+")"}}class bn{constructor(e,t){this.tokens=e,this.endState=t}}class vn{constructor(e,t){this.tokens=e,this.endState=t}}var yn,wn,_n,An,Cn,En,xn,Sn,Dn,kn,Mn,Nn,Ln,Bn,In,Tn,On,Rn,Pn,Fn,jn,Qn,zn,Vn,Wn,Hn,Un,Yn,Gn,Kn,qn,Jn,Xn;(function(e){e[e["Unknown"]=0]="Unknown",e[e["Disabled"]=1]="Disabled",e[e["Enabled"]=2]="Enabled"})(yn||(yn={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(wn||(wn={})),function(e){e[e["Method"]=0]="Method",e[e["Function"]=1]="Function",e[e["Constructor"]=2]="Constructor",e[e["Field"]=3]="Field",e[e["Variable"]=4]="Variable",e[e["Class"]=5]="Class",e[e["Struct"]=6]="Struct",e[e["Interface"]=7]="Interface",e[e["Module"]=8]="Module",e[e["Property"]=9]="Property",e[e["Event"]=10]="Event",e[e["Operator"]=11]="Operator",e[e["Unit"]=12]="Unit",e[e["Value"]=13]="Value",e[e["Constant"]=14]="Constant",e[e["Enum"]=15]="Enum",e[e["EnumMember"]=16]="EnumMember",e[e["Keyword"]=17]="Keyword",e[e["Text"]=18]="Text",e[e["Color"]=19]="Color",e[e["File"]=20]="File",e[e["Reference"]=21]="Reference",e[e["Customcolor"]=22]="Customcolor",e[e["Folder"]=23]="Folder",e[e["TypeParameter"]=24]="TypeParameter",e[e["User"]=25]="User",e[e["Issue"]=26]="Issue",e[e["Snippet"]=27]="Snippet"}(_n||(_n={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(An||(An={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(Cn||(Cn={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(En||(En={})),function(e){e[e["NotSet"]=0]="NotSet",e[e["ContentFlush"]=1]="ContentFlush",e[e["RecoverFromMarkers"]=2]="RecoverFromMarkers",e[e["Explicit"]=3]="Explicit",e[e["Paste"]=4]="Paste",e[e["Undo"]=5]="Undo",e[e["Redo"]=6]="Redo"}(xn||(xn={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(Sn||(Sn={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(Dn||(Dn={})),function(e){e[e["None"]=0]="None",e[e["Keep"]=1]="Keep",e[e["Brackets"]=2]="Brackets",e[e["Advanced"]=3]="Advanced",e[e["Full"]=4]="Full"}(kn||(kn={})),function(e){e[e["acceptSuggestionOnCommitCharacter"]=0]="acceptSuggestionOnCommitCharacter",e[e["acceptSuggestionOnEnter"]=1]="acceptSuggestionOnEnter",e[e["accessibilitySupport"]=2]="accessibilitySupport",e[e["accessibilityPageSize"]=3]="accessibilityPageSize",e[e["ariaLabel"]=4]="ariaLabel",e[e["autoClosingBrackets"]=5]="autoClosingBrackets",e[e["autoClosingOvertype"]=6]="autoClosingOvertype",e[e["autoClosingQuotes"]=7]="autoClosingQuotes",e[e["autoIndent"]=8]="autoIndent",e[e["automaticLayout"]=9]="automaticLayout",e[e["autoSurround"]=10]="autoSurround",e[e["codeLens"]=11]="codeLens",e[e["colorDecorators"]=12]="colorDecorators",e[e["columnSelection"]=13]="columnSelection",e[e["comments"]=14]="comments",e[e["contextmenu"]=15]="contextmenu",e[e["copyWithSyntaxHighlighting"]=16]="copyWithSyntaxHighlighting",e[e["cursorBlinking"]=17]="cursorBlinking",e[e["cursorSmoothCaretAnimation"]=18]="cursorSmoothCaretAnimation",e[e["cursorStyle"]=19]="cursorStyle",e[e["cursorSurroundingLines"]=20]="cursorSurroundingLines",e[e["cursorSurroundingLinesStyle"]=21]="cursorSurroundingLinesStyle",e[e["cursorWidth"]=22]="cursorWidth",e[e["disableLayerHinting"]=23]="disableLayerHinting",e[e["disableMonospaceOptimizations"]=24]="disableMonospaceOptimizations",e[e["dragAndDrop"]=25]="dragAndDrop",e[e["emptySelectionClipboard"]=26]="emptySelectionClipboard",e[e["extraEditorClassName"]=27]="extraEditorClassName",e[e["fastScrollSensitivity"]=28]="fastScrollSensitivity",e[e["find"]=29]="find",e[e["fixedOverflowWidgets"]=30]="fixedOverflowWidgets",e[e["folding"]=31]="folding",e[e["foldingStrategy"]=32]="foldingStrategy",e[e["foldingHighlight"]=33]="foldingHighlight",e[e["unfoldOnClickAfterEndOfLine"]=34]="unfoldOnClickAfterEndOfLine",e[e["fontFamily"]=35]="fontFamily",e[e["fontInfo"]=36]="fontInfo",e[e["fontLigatures"]=37]="fontLigatures",e[e["fontSize"]=38]="fontSize",e[e["fontWeight"]=39]="fontWeight",e[e["formatOnPaste"]=40]="formatOnPaste",e[e["formatOnType"]=41]="formatOnType",e[e["glyphMargin"]=42]="glyphMargin",e[e["gotoLocation"]=43]="gotoLocation",e[e["hideCursorInOverviewRuler"]=44]="hideCursorInOverviewRuler",e[e["highlightActiveIndentGuide"]=45]="highlightActiveIndentGuide",e[e["hover"]=46]="hover",e[e["inDiffEditor"]=47]="inDiffEditor",e[e["letterSpacing"]=48]="letterSpacing",e[e["lightbulb"]=49]="lightbulb",e[e["lineDecorationsWidth"]=50]="lineDecorationsWidth",e[e["lineHeight"]=51]="lineHeight",e[e["lineNumbers"]=52]="lineNumbers",e[e["lineNumbersMinChars"]=53]="lineNumbersMinChars",e[e["links"]=54]="links",e[e["matchBrackets"]=55]="matchBrackets",e[e["minimap"]=56]="minimap",e[e["mouseStyle"]=57]="mouseStyle",e[e["mouseWheelScrollSensitivity"]=58]="mouseWheelScrollSensitivity",e[e["mouseWheelZoom"]=59]="mouseWheelZoom",e[e["multiCursorMergeOverlapping"]=60]="multiCursorMergeOverlapping",e[e["multiCursorModifier"]=61]="multiCursorModifier",e[e["multiCursorPaste"]=62]="multiCursorPaste",e[e["occurrencesHighlight"]=63]="occurrencesHighlight",e[e["overviewRulerBorder"]=64]="overviewRulerBorder",e[e["overviewRulerLanes"]=65]="overviewRulerLanes",e[e["padding"]=66]="padding",e[e["parameterHints"]=67]="parameterHints",e[e["peekWidgetDefaultFocus"]=68]="peekWidgetDefaultFocus",e[e["definitionLinkOpensInPeek"]=69]="definitionLinkOpensInPeek",e[e["quickSuggestions"]=70]="quickSuggestions",e[e["quickSuggestionsDelay"]=71]="quickSuggestionsDelay",e[e["readOnly"]=72]="readOnly",e[e["renameOnType"]=73]="renameOnType",e[e["renderControlCharacters"]=74]="renderControlCharacters",e[e["renderIndentGuides"]=75]="renderIndentGuides",e[e["renderFinalNewline"]=76]="renderFinalNewline",e[e["renderLineHighlight"]=77]="renderLineHighlight",e[e["renderLineHighlightOnlyWhenFocus"]=78]="renderLineHighlightOnlyWhenFocus",e[e["renderValidationDecorations"]=79]="renderValidationDecorations",e[e["renderWhitespace"]=80]="renderWhitespace",e[e["revealHorizontalRightPadding"]=81]="revealHorizontalRightPadding",e[e["roundedSelection"]=82]="roundedSelection",e[e["rulers"]=83]="rulers",e[e["scrollbar"]=84]="scrollbar",e[e["scrollBeyondLastColumn"]=85]="scrollBeyondLastColumn",e[e["scrollBeyondLastLine"]=86]="scrollBeyondLastLine",e[e["scrollPredominantAxis"]=87]="scrollPredominantAxis",e[e["selectionClipboard"]=88]="selectionClipboard",e[e["selectionHighlight"]=89]="selectionHighlight",e[e["selectOnLineNumbers"]=90]="selectOnLineNumbers",e[e["showFoldingControls"]=91]="showFoldingControls",e[e["showUnused"]=92]="showUnused",e[e["snippetSuggestions"]=93]="snippetSuggestions",e[e["smoothScrolling"]=94]="smoothScrolling",e[e["stopRenderingLineAfter"]=95]="stopRenderingLineAfter",e[e["suggest"]=96]="suggest",e[e["suggestFontSize"]=97]="suggestFontSize",e[e["suggestLineHeight"]=98]="suggestLineHeight",e[e["suggestOnTriggerCharacters"]=99]="suggestOnTriggerCharacters",e[e["suggestSelection"]=100]="suggestSelection",e[e["tabCompletion"]=101]="tabCompletion",e[e["tabIndex"]=102]="tabIndex",e[e["unusualLineTerminators"]=103]="unusualLineTerminators",e[e["useTabStops"]=104]="useTabStops",e[e["wordSeparators"]=105]="wordSeparators",e[e["wordWrap"]=106]="wordWrap",e[e["wordWrapBreakAfterCharacters"]=107]="wordWrapBreakAfterCharacters",e[e["wordWrapBreakBeforeCharacters"]=108]="wordWrapBreakBeforeCharacters",e[e["wordWrapColumn"]=109]="wordWrapColumn",e[e["wordWrapMinified"]=110]="wordWrapMinified",e[e["wrappingIndent"]=111]="wrappingIndent",e[e["wrappingStrategy"]=112]="wrappingStrategy",e[e["showDeprecated"]=113]="showDeprecated",e[e["editorClassName"]=114]="editorClassName",e[e["pixelRatio"]=115]="pixelRatio",e[e["tabFocusMode"]=116]="tabFocusMode",e[e["layoutInfo"]=117]="layoutInfo",e[e["wrappingInfo"]=118]="wrappingInfo"}(Mn||(Mn={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(Nn||(Nn={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(Ln||(Ln={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(Bn||(Bn={})),function(e){e[e["Unknown"]=0]="Unknown",e[e["Backspace"]=1]="Backspace",e[e["Tab"]=2]="Tab",e[e["Enter"]=3]="Enter",e[e["Shift"]=4]="Shift",e[e["Ctrl"]=5]="Ctrl",e[e["Alt"]=6]="Alt",e[e["PauseBreak"]=7]="PauseBreak",e[e["CapsLock"]=8]="CapsLock",e[e["Escape"]=9]="Escape",e[e["Space"]=10]="Space",e[e["PageUp"]=11]="PageUp",e[e["PageDown"]=12]="PageDown",e[e["End"]=13]="End",e[e["Home"]=14]="Home",e[e["LeftArrow"]=15]="LeftArrow",e[e["UpArrow"]=16]="UpArrow",e[e["RightArrow"]=17]="RightArrow",e[e["DownArrow"]=18]="DownArrow",e[e["Insert"]=19]="Insert",e[e["Delete"]=20]="Delete",e[e["KEY_0"]=21]="KEY_0",e[e["KEY_1"]=22]="KEY_1",e[e["KEY_2"]=23]="KEY_2",e[e["KEY_3"]=24]="KEY_3",e[e["KEY_4"]=25]="KEY_4",e[e["KEY_5"]=26]="KEY_5",e[e["KEY_6"]=27]="KEY_6",e[e["KEY_7"]=28]="KEY_7",e[e["KEY_8"]=29]="KEY_8",e[e["KEY_9"]=30]="KEY_9",e[e["KEY_A"]=31]="KEY_A",e[e["KEY_B"]=32]="KEY_B",e[e["KEY_C"]=33]="KEY_C",e[e["KEY_D"]=34]="KEY_D",e[e["KEY_E"]=35]="KEY_E",e[e["KEY_F"]=36]="KEY_F",e[e["KEY_G"]=37]="KEY_G",e[e["KEY_H"]=38]="KEY_H",e[e["KEY_I"]=39]="KEY_I",e[e["KEY_J"]=40]="KEY_J",e[e["KEY_K"]=41]="KEY_K",e[e["KEY_L"]=42]="KEY_L",e[e["KEY_M"]=43]="KEY_M",e[e["KEY_N"]=44]="KEY_N",e[e["KEY_O"]=45]="KEY_O",e[e["KEY_P"]=46]="KEY_P",e[e["KEY_Q"]=47]="KEY_Q",e[e["KEY_R"]=48]="KEY_R",e[e["KEY_S"]=49]="KEY_S",e[e["KEY_T"]=50]="KEY_T",e[e["KEY_U"]=51]="KEY_U",e[e["KEY_V"]=52]="KEY_V",e[e["KEY_W"]=53]="KEY_W",e[e["KEY_X"]=54]="KEY_X",e[e["KEY_Y"]=55]="KEY_Y",e[e["KEY_Z"]=56]="KEY_Z",e[e["Meta"]=57]="Meta",e[e["ContextMenu"]=58]="ContextMenu",e[e["F1"]=59]="F1",e[e["F2"]=60]="F2",e[e["F3"]=61]="F3",e[e["F4"]=62]="F4",e[e["F5"]=63]="F5",e[e["F6"]=64]="F6",e[e["F7"]=65]="F7",e[e["F8"]=66]="F8",e[e["F9"]=67]="F9",e[e["F10"]=68]="F10",e[e["F11"]=69]="F11",e[e["F12"]=70]="F12",e[e["F13"]=71]="F13",e[e["F14"]=72]="F14",e[e["F15"]=73]="F15",e[e["F16"]=74]="F16",e[e["F17"]=75]="F17",e[e["F18"]=76]="F18",e[e["F19"]=77]="F19",e[e["NumLock"]=78]="NumLock",e[e["ScrollLock"]=79]="ScrollLock",e[e["US_SEMICOLON"]=80]="US_SEMICOLON",e[e["US_EQUAL"]=81]="US_EQUAL",e[e["US_COMMA"]=82]="US_COMMA",e[e["US_MINUS"]=83]="US_MINUS",e[e["US_DOT"]=84]="US_DOT",e[e["US_SLASH"]=85]="US_SLASH",e[e["US_BACKTICK"]=86]="US_BACKTICK",e[e["US_OPEN_SQUARE_BRACKET"]=87]="US_OPEN_SQUARE_BRACKET",e[e["US_BACKSLASH"]=88]="US_BACKSLASH",e[e["US_CLOSE_SQUARE_BRACKET"]=89]="US_CLOSE_SQUARE_BRACKET",e[e["US_QUOTE"]=90]="US_QUOTE",e[e["OEM_8"]=91]="OEM_8",e[e["OEM_102"]=92]="OEM_102",e[e["NUMPAD_0"]=93]="NUMPAD_0",e[e["NUMPAD_1"]=94]="NUMPAD_1",e[e["NUMPAD_2"]=95]="NUMPAD_2",e[e["NUMPAD_3"]=96]="NUMPAD_3",e[e["NUMPAD_4"]=97]="NUMPAD_4",e[e["NUMPAD_5"]=98]="NUMPAD_5",e[e["NUMPAD_6"]=99]="NUMPAD_6",e[e["NUMPAD_7"]=100]="NUMPAD_7",e[e["NUMPAD_8"]=101]="NUMPAD_8",e[e["NUMPAD_9"]=102]="NUMPAD_9",e[e["NUMPAD_MULTIPLY"]=103]="NUMPAD_MULTIPLY",e[e["NUMPAD_ADD"]=104]="NUMPAD_ADD",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NUMPAD_SUBTRACT"]=106]="NUMPAD_SUBTRACT",e[e["NUMPAD_DECIMAL"]=107]="NUMPAD_DECIMAL",e[e["NUMPAD_DIVIDE"]=108]="NUMPAD_DIVIDE",e[e["KEY_IN_COMPOSITION"]=109]="KEY_IN_COMPOSITION",e[e["ABNT_C1"]=110]="ABNT_C1",e[e["ABNT_C2"]=111]="ABNT_C2",e[e["MAX_VALUE"]=112]="MAX_VALUE"}(In||(In={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(Tn||(Tn={})),function(e){e[e["Unnecessary"]=1]="Unnecessary",e[e["Deprecated"]=2]="Deprecated"}(On||(On={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(Rn||(Rn={})),function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["TEXTAREA"]=1]="TEXTAREA",e[e["GUTTER_GLYPH_MARGIN"]=2]="GUTTER_GLYPH_MARGIN",e[e["GUTTER_LINE_NUMBERS"]=3]="GUTTER_LINE_NUMBERS",e[e["GUTTER_LINE_DECORATIONS"]=4]="GUTTER_LINE_DECORATIONS",e[e["GUTTER_VIEW_ZONE"]=5]="GUTTER_VIEW_ZONE",e[e["CONTENT_TEXT"]=6]="CONTENT_TEXT",e[e["CONTENT_EMPTY"]=7]="CONTENT_EMPTY",e[e["CONTENT_VIEW_ZONE"]=8]="CONTENT_VIEW_ZONE",e[e["CONTENT_WIDGET"]=9]="CONTENT_WIDGET",e[e["OVERVIEW_RULER"]=10]="OVERVIEW_RULER",e[e["SCROLLBAR"]=11]="SCROLLBAR",e[e["OVERLAY_WIDGET"]=12]="OVERLAY_WIDGET",e[e["OUTSIDE_EDITOR"]=13]="OUTSIDE_EDITOR"}(Pn||(Pn={})),function(e){e[e["TOP_RIGHT_CORNER"]=0]="TOP_RIGHT_CORNER",e[e["BOTTOM_RIGHT_CORNER"]=1]="BOTTOM_RIGHT_CORNER",e[e["TOP_CENTER"]=2]="TOP_CENTER"}(Fn||(Fn={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(jn||(jn={})),function(e){e[e["Off"]=0]="Off",e[e["On"]=1]="On",e[e["Relative"]=2]="Relative",e[e["Interval"]=3]="Interval",e[e["Custom"]=4]="Custom"}(Qn||(Qn={})),function(e){e[e["None"]=0]="None",e[e["Text"]=1]="Text",e[e["Blocks"]=2]="Blocks"}(zn||(zn={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(Vn||(Vn={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(Wn||(Wn={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(Hn||(Hn={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(Un||(Un={})),function(e){e[e["File"]=0]="File",e[e["Module"]=1]="Module",e[e["Namespace"]=2]="Namespace",e[e["Package"]=3]="Package",e[e["Class"]=4]="Class",e[e["Method"]=5]="Method",e[e["Property"]=6]="Property",e[e["Field"]=7]="Field",e[e["Constructor"]=8]="Constructor",e[e["Enum"]=9]="Enum",e[e["Interface"]=10]="Interface",e[e["Function"]=11]="Function",e[e["Variable"]=12]="Variable",e[e["Constant"]=13]="Constant",e[e["String"]=14]="String",e[e["Number"]=15]="Number",e[e["Boolean"]=16]="Boolean",e[e["Array"]=17]="Array",e[e["Object"]=18]="Object",e[e["Key"]=19]="Key",e[e["Null"]=20]="Null",e[e["EnumMember"]=21]="EnumMember",e[e["Struct"]=22]="Struct",e[e["Event"]=23]="Event",e[e["Operator"]=24]="Operator",e[e["TypeParameter"]=25]="TypeParameter"}(Yn||(Yn={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(Gn||(Gn={})),function(e){e[e["Hidden"]=0]="Hidden",e[e["Blink"]=1]="Blink",e[e["Smooth"]=2]="Smooth",e[e["Phase"]=3]="Phase",e[e["Expand"]=4]="Expand",e[e["Solid"]=5]="Solid"}(Kn||(Kn={})),function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"}(qn||(qn={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(Jn||(Jn={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(Xn||(Xn={}));class $n{static chord(e,t){return pt(e,t)}}function Zn(){return{editor:void 0,languages:void 0,CancellationTokenSource:at,Emitter:et,KeyCode:In,KeyMod:$n,Position:pn,Range:fn,Selection:gn,SelectionDirection:Hn,MarkerSeverity:Tn,MarkerTag:On,Uri:tn,Token:mn}}$n.CtrlCmd=2048,$n.Shift=1024,$n.Alt=512,$n.WinCtrl=256;var ei;n("769f");(function(e){function t(t){return t[e.DI_DEPENDENCIES]||[]}e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=t})(ei||(ei={}));const ti=ii("instantiationService");function ni(e,t,n,i){t[ei.DI_TARGET]===t?t[ei.DI_DEPENDENCIES].push({id:e,index:n,optional:i}):(t[ei.DI_DEPENDENCIES]=[{id:e,index:n,optional:i}],t[ei.DI_TARGET]=t)}function ii(e){if(ei.serviceIds.has(e))return ei.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");ni(t,e,i,!1)};return t.toString=()=>e,ei.serviceIds.set(e,t),t}function oi(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");ni(e,t,i,!0)}}const ri=ii("codeEditorService");class si{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new et,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){let e=document.createElement("canvas").getContext("2d"),t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n}}function ai(){return si.INSTANCE.getZoomLevel()}function li(){return si.INSTANCE.getTimeSinceLastZoomLevelChanged()}function ci(e){return si.INSTANCE.onDidChangeZoomLevel(e)}function hi(){return si.INSTANCE.getZoomFactor()}function ui(){return si.INSTANCE.getPixelRatio()}si.INSTANCE=new si;const di=navigator.userAgent,pi=di.indexOf("Edge/")>=0,fi=di.indexOf("Firefox")>=0,gi=di.indexOf("AppleWebKit")>=0,mi=di.indexOf("Chrome")>=0,bi=!mi&&di.indexOf("Safari")>=0,vi=!mi&&!bi&&gi,yi=(di.indexOf("iPad")>=0||bi&&navigator.maxTouchPoints,pi&&di.indexOf("WebView/")>=0),wi=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches,_i=(e,t,n)=>{const i=e=>o.fire(e),o=new et({onFirstListenerAdd:()=>{e.addEventListener(t,i,n)},onLastListenerRemove:()=>{e.removeEventListener(t,i,n)}});return o.event};let Ai=new Array(230),Ci=new Array(112);function Ei(e){if(e.charCode){let t=String.fromCharCode(e.charCode).toUpperCase();return dt.fromString(t)}return Ai[e.keyCode]||0}(function(){for(let t=0;t<Ci.length;t++)Ci[t]=-1;function e(e,t){Ai[e]=t,Ci[t]=e}e(3,7),e(8,1),e(9,2),e(13,3),e(16,4),e(17,5),e(18,6),e(19,7),e(20,8),e(27,9),e(32,10),e(33,11),e(34,12),e(35,13),e(36,14),e(37,15),e(38,16),e(39,17),e(40,18),e(45,19),e(46,20),e(48,21),e(49,22),e(50,23),e(51,24),e(52,25),e(53,26),e(54,27),e(55,28),e(56,29),e(57,30),e(65,31),e(66,32),e(67,33),e(68,34),e(69,35),e(70,36),e(71,37),e(72,38),e(73,39),e(74,40),e(75,41),e(76,42),e(77,43),e(78,44),e(79,45),e(80,46),e(81,47),e(82,48),e(83,49),e(84,50),e(85,51),e(86,52),e(87,53),e(88,54),e(89,55),e(90,56),e(93,58),e(96,93),e(97,94),e(98,95),e(99,96),e(100,97),e(101,98),e(102,99),e(103,100),e(104,101),e(105,102),e(106,103),e(107,104),e(108,105),e(109,106),e(110,107),e(111,108),e(112,59),e(113,60),e(114,61),e(115,62),e(116,63),e(117,64),e(118,65),e(119,66),e(120,67),e(121,68),e(122,69),e(123,70),e(124,71),e(125,72),e(126,73),e(127,74),e(128,75),e(129,76),e(130,77),e(144,78),e(145,79),e(186,80),e(187,81),e(188,82),e(189,83),e(190,84),e(191,85),e(192,86),e(193,110),e(194,111),e(219,87),e(220,88),e(221,89),e(222,90),e(223,91),e(226,92),e(229,109),fi?(e(59,80),e(107,81),e(109,83),y["f"]&&e(224,57)):gi&&(e(91,57),y["f"]?e(93,57):e(92,57))})();const xi=y["f"]?256:2048,Si=512,Di=1024,ki=y["f"]?2048:256;class Mi{constructor(e){this._standardKeyboardEventBrand=!0;let t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=Ei(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(e){return this._asKeybinding===e}_computeKeybinding(){let e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);let t=0;return this.ctrlKey&&(t|=xi),this.altKey&&(t|=Si),this.shiftKey&&(t|=Di),this.metaKey&&(t|=ki),t|=e,t}_computeRuntimeKeybinding(){let e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new mt(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)}}let Ni,Li=!1,Bi=null;function Ii(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port))return Li=!0,null}catch(t){return Li=!0,null}return e.parent}class Ti{static getSameOriginWindowChain(){if(!Bi){Bi=[];let e,t=window;do{e=Ii(t),e?Bi.push({window:t,iframeElement:t.frameElement||null}):Bi.push({window:t,iframeElement:null}),t=e}while(t)}return Bi.slice(0)}static hasDifferentOriginAncestor(){return Bi||this.getSameOriginWindowChain(),Li}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,o=this.getSameOriginWindowChain();for(const r of o){if(n+=r.window.scrollY,i+=r.window.scrollX,r.window===t)break;if(!r.iframeElement)break;let e=r.iframeElement.getBoundingClientRect();n+=e.top,i+=e.left}return{top:n,left:i}}}class Oi{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"===typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);let t=Ti.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class Ri{constructor(e,t=0,n=0){if(this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){let t=e,n=e;if("undefined"!==typeof t.wheelDeltaY)this.deltaY=t.wheelDeltaY/120;else if("undefined"!==typeof n.VERTICAL_AXIS&&n.axis===n.VERTICAL_AXIS)this.deltaY=-n.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?fi&&!y["f"]?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if("undefined"!==typeof t.wheelDeltaX)bi&&y["i"]?this.deltaX=-t.wheelDeltaX/120:this.deltaX=t.wheelDeltaX/120;else if("undefined"!==typeof n.HORIZONTAL_AXIS&&n.axis===n.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){const t=e;t.deltaMode===t.DOM_DELTA_LINE?fi&&!y["f"]?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}function Pi(e){return e&&"function"===typeof e.then}function Fi(e){const t=new at,n=e(t.token),i=new Promise((e,i)=>{t.token.onCancellationRequested(()=>{i(Ie())}),Promise.resolve(n).then(n=>{t.dispose(),e(n)},e=>{t.dispose(),i(e)})});return new class{cancel(){t.cancel()}then(e,t){return i.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return i.finally(e)}}}class ji{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Ie()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function Qi(e,t){return t?new Promise((n,i)=>{const o=setTimeout(n,e);t.onCancellationRequested(()=>{clearTimeout(o),i(Ie())})}):Fi(t=>Qi(e,t))}function zi(e,t=0){const n=setTimeout(e,t);return Ue(()=>clearTimeout(n))}class Vi{constructor(e,t){this._token=-1,"function"===typeof e&&"number"===typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class Wi{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class Hi{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}(function(){if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining(){return 15}});Ni=t=>{const n=setTimeout(()=>t(e));let i=!1;return{dispose(){i||(i=!0,clearTimeout(n))}}}}else Ni=(e,t)=>{const n=requestIdleCallback(e,"number"===typeof t?{timeout:t}:void 0);let i=!1;return{dispose(){i||(i=!0,cancelIdleCallback(n))}}}})();class Ui{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(t){this._error=t}finally{this._didRun=!0}},this._handle=Ni(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}function Yi(e,t=0){return e[e.length-(1+t)]}function Gi(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function Ki(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,o=e.length;i<o;i++)if(!n(e[i],t[i]))return!1;return!0}function qi(e,t,n){let i=0,o=e.length-1;while(i<=o){const r=(i+o)/2|0,s=n(e[r],t);if(s<0)i=r+1;else{if(!(s>0))return r;o=r-1}}return-(i+1)}function Ji(e,t){return $i(e,t,0,e.length-1,[]),e}function Xi(e,t,n,i,o,r){let s=n,a=i+1;for(let l=n;l<=o;l++)r[l]=e[l];for(let l=n;l<=o;l++)s>i?e[l]=r[a++]:a>o?e[l]=r[s++]:t(r[a],r[s])<0?e[l]=r[a++]:e[l]=r[s++]}function $i(e,t,n,i,o){if(i<=n)return;const r=n+(i-n)/2|0;$i(e,t,n,r,o),$i(e,t,r+1,i,o),t(e[r],e[r+1])<=0||Xi(e,t,n,r,i,o)}function Zi(e){return e.filter(e=>!!e)}function eo(e){return!Array.isArray(e)||0===e.length}function to(e){return Array.isArray(e)&&e.length>0}function no(e,t){if(!t)return e.filter((t,n)=>e.indexOf(t)===n);const n=Object.create(null);return e.filter(e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)})}function io(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function oo(e,t){for(let n=0;n<e.length;n++){const i=e[n];if(t(i))return n}return-1}function ro(e,t,n){const i=oo(e,t);return i<0?n:e[i]}function so(e,t){return e.length>0?e[0]:t}function ao(e,t){let n="number"===typeof t?e:0;"number"===typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let o=n;o<t;o++)i.push(o);else for(let o=n;o>t;o--)i.push(o);return i}function lo(e,t,n){const i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}var co;(function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeSettings="vscode-settings",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeWebviewResource="vscode-webview-resource",e.extension="extension"})(co||(co={}));class ho{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n=`[${n}]`);const i=this._ports[t],o=this._connectionTokens[t];let r="path="+encodeURIComponent(e.path);return"string"===typeof o&&(r+="&tkn="+encodeURIComponent(o)),tn.from({scheme:y["h"]?this._preferredWebSchema:co.vscodeRemoteResource,authority:`${n}:${i}`,path:"/vscode-remote-resource",query:r})}}const uo=new ho,po={clipboard:{writeText:y["g"]||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:y["g"]||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(pi){let e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0})()},keyboard:(()=>y["g"]||wi?0:navigator.keyboard||bi?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)};function fo(e){while(e.firstChild)e.removeChild(e.firstChild)}function go(e){e.parentNode&&e.parentNode.removeChild(e)}function mo(e){while(e){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}const bo=new class{hasClass(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)}addClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.addClass(e,t)))}addClass(e,t){t&&e.classList&&e.classList.add(t)}removeClass(e,t){t&&e.classList&&e.classList.remove(t)}removeClasses(e,...t){t.forEach(t=>t.split(" ").forEach(t=>this.removeClass(e,t)))}toggleClass(e,t,n){e.classList&&e.classList.toggle(t,n)}},vo=bo.hasClass.bind(bo),yo=bo.addClass.bind(bo),wo=bo.addClasses.bind(bo),_o=bo.removeClass.bind(bo),Ao=bo.removeClasses.bind(bo),Co=bo.toggleClass.bind(bo);class Eo{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function xo(e,t,n,i){return new Eo(e,t,n,i)}function So(e){return function(t){return e(new Oi(t))}}function Do(e){return function(t){return e(new Mi(t))}}let ko=function(e,t,n,i){let o=n;return"click"===t||"mousedown"===t?o=So(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=Do(n)),xo(e,t,o,i)};function Mo(e,t){return xo(e,"mouseout",n=>{let i=n.relatedTarget;while(i&&i!==e)i=i.parentNode;i!==e&&t(n)})}function No(e,t){return xo(e,"pointerout",n=>{let i=n.relatedTarget;while(i&&i!==e)i=i.parentNode;i!==e&&t(n)})}let Lo,Bo,Io=null;function To(e){if(!Io){const e=e=>setTimeout(()=>e((new Date).getTime()),0);Io=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}return Io.call(self,e)}class Oo{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){Me(e)}}static sort(e,t){return t.priority-e.priority}}(function(){let e=[],t=null,n=!1,i=!1,o=()=>{n=!1,t=e,e=[],i=!0;while(t.length>0){t.sort(Oo.sort);let e=t.shift();e.execute()}i=!1};Bo=(t,i=0)=>{let r=new Oo(t,i);return e.push(r),n||(n=!0,To(o)),r},Lo=(e,n)=>{if(i){let i=new Oo(e,n);return t.push(i),i}return Bo(e,n)}})();const Ro=16,Po=function(e,t){return t};class Fo extends Ge{constructor(e,t,n,i=Po,o=Ro){super();let r=null,s=0,a=this._register(new Vi),l=()=>{s=(new Date).getTime(),n(r),r=null};this._register(xo(e,t,e=>{r=i(r,e);let t=(new Date).getTime()-s;t>=o?(a.cancel(),l()):a.setIfNotSet(l,o-t)}))}}function jo(e,t,n,i,o){return new Fo(e,t,n,i,o)}function Qo(e){return document.defaultView.getComputedStyle(e,null)}function zo(e){if(e!==document.body)return new Wo(e.clientWidth,e.clientHeight);if(y["c"]&&window.visualViewport){const e=window.visualViewport.width,t=window.visualViewport.height-(wi?24:0);return new Wo(e,t)}if(window.innerWidth&&window.innerHeight)return new Wo(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Wo(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Wo(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class Vo{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=Qo(e),o="0";return i&&(o=i.getPropertyValue?i.getPropertyValue(t):i.getAttribute(n)),Vo.convertToPixels(e,o)}static getBorderLeftWidth(e){return Vo.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return Vo.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return Vo.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return Vo.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return Vo.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return Vo.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return Vo.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return Vo.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return Vo.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return Vo.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return Vo.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return Vo.getDimension(e,"margin-bottom","marginBottom")}}class Wo{constructor(e,t){this.width=e,this.height=t}}function Ho(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;while(null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement){n-=e.scrollTop;const o=er(e)?null:Qo(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=Vo.getBorderLeftWidth(e),n+=Vo.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function Uo(e){let t=e.getBoundingClientRect();return{left:t.left+Yo.scrollX,top:t.top+Yo.scrollY,width:t.width,height:t.height}}const Yo=new class{get scrollX(){return"number"===typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"===typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function Go(e){let t=Vo.getMarginLeft(e)+Vo.getMarginRight(e);return e.offsetWidth+t}function Ko(e){let t=Vo.getBorderLeftWidth(e)+Vo.getBorderRightWidth(e),n=Vo.getPaddingLeft(e)+Vo.getPaddingRight(e);return e.offsetWidth-t-n}function qo(e){let t=Vo.getBorderTopWidth(e)+Vo.getBorderBottomWidth(e),n=Vo.getPaddingTop(e)+Vo.getPaddingBottom(e);return e.offsetHeight-t-n}function Jo(e){let t=Vo.getMarginTop(e)+Vo.getMarginBottom(e);return e.offsetHeight+t}function Xo(e,t){while(e){if(e===t)return!0;e=e.parentNode}return!1}function $o(e,t,n){while(e&&e.nodeType===e.ELEMENT_NODE){if(vo(e,t))return e;if(n)if("string"===typeof n){if(vo(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function Zo(e,t,n){return!!$o(e,t,n)}function er(e){return e&&!!e.host&&!!e.mode}function tr(e){return!!nr(e)}function nr(e){while(e.parentNode){if(e===document.body)return null;e=e.parentNode}return er(e)?e:null}function ir(){let e=document.activeElement;while(null===e||void 0===e?void 0:e.shadowRoot)e=e.shadowRoot.activeElement;return e}function or(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let rr=null;function sr(){return rr||(rr=or()),rr}function ar(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}function lr(e,t,n=sr()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function cr(e,t=sr()){if(!t)return;let n=ar(t),i=[];for(let o=0;o<n.length;o++){let t=n[o];-1!==t.selectorText.indexOf(e)&&i.push(o)}for(let o=i.length-1;o>=0;o--)t.sheet.deleteRule(i[o])}function hr(e){return"object"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}const ur={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:pi?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:gi?"webkitAnimationStart":"animationstart",ANIMATION_END:gi?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:gi?"webkitAnimationIteration":"animationiteration"},dr={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function pr(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function fr(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}class gr extends Ge{constructor(e){super(),this._onDidFocus=this._register(new et),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new et),this.onDidBlur=this._onDidBlur.event;let t=Xo(document.activeElement,e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(n=!0,window.setTimeout(()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{let n=Xo(document.activeElement,e);n!==t&&(t?o():i())},this._register(_i(e,ur.FOCUS,!0)(i)),this._register(_i(e,ur.BLUR,!0)(o))}}function mr(e){return new gr(e)}function br(e,...t){return t.forEach(t=>e.appendChild(t)),t[t.length-1]}const vr=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function yr(e,...t){e.innerText="",Zi(t).forEach(t=>{t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t))})}var wr;function _r(e,t,n,...i){let o=vr.exec(t);if(!o)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let r,s=o[1]||"div";return r=e!==wr.HTML?document.createElementNS(e,s):document.createElement(s),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),Object.keys(n).forEach(e=>{const t=n[e];"undefined"!==typeof t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),Zi(i).forEach(e=>{e instanceof Node?r.appendChild(e):r.appendChild(document.createTextNode(e))}),r}function Ar(e,t,...n){return _r(wr.HTML,e,t,...n)}function Cr(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function Er(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function xr(e,t){while(e&&e.nodeType===e.ELEMENT_NODE){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}function Sr(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){let t=xr(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Dr(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function kr(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Mr(e){if(y["g"]||yi)window.open(e);else{let t=window.open();t&&(t.opener=null,t.location.href=e)}}function Nr(e){const t=()=>{e(),n=Bo(t)};let n=Bo(t);return Ue(()=>n.dispose())}function Lr(e){return e&&co.vscodeRemote===e.scheme?uo.rewrite(e):e}function Br(e){return e?`url('${Lr(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}(function(e){e["HTML"]="http://www.w3.org/1999/xhtml",e["SVG"]="http://www.w3.org/2000/svg"})(wr||(wr={})),Ar.SVG=function(e,t,...n){return _r(wr.SVG,e,t,...n)},uo.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");var Ir=n("c223");function Tr(e){let t=JSON.parse(e);return t=Or(t),t}function Or(e,t=0){if(!e||t>200)return e;if("object"===typeof e){switch(e.$mid){case 1:return tn.revive(e);case 2:return new RegExp(e.source,e.flags)}if(e instanceof Ir["a"]||e instanceof Uint8Array)return e;if(Array.isArray(e))for(let n=0;n<e.length;++n)e[n]=Or(e[n],t+1);else for(const n in e)Object.hasOwnProperty.call(e,n)&&(e[n]=Or(e[n],t+1))}return e}var Rr=n("3fa4");function Pr(e){return e.replace(/[\\/]/g,Ft.sep)}function Fr(e,t,n,i=Ut){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){const n=Object(Rr["Q"])(e,t);if(!n)return!1;if(t.length===e.length)return!0;let o=t.length;return t.charAt(t.length-1)===i&&o--,e.charAt(o)===i}return t.charAt(t.length-1)!==i&&(t+=i),0===e.indexOf(t)}function jr(e){return ln(e,!0)}class Qr{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:Object(Rr["f"])(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return tn.joinPath(e,...t)}basenameOrAuthority(e){return Vr(e)||e.authority}basename(e){return Ft.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===co.file?t=tn.file(Vt(jr(e))).path:(t=Ft.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===co.file?tn.file(jt(jr(e))).path:Ft.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!Ur(e.authority,t.authority))return;if(e.scheme===co.file){const n=zt(jr(e),jr(t));return y["i"]?Pr(n):n}let n=e.path||"/",i=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,i.length);e<t;e++)if(n.charCodeAt(e)!==i.charCodeAt(e)&&n.charAt(e).toLowerCase()!==i.charAt(e).toLowerCase())break;n=i.substr(0,e)+n.substr(e)}return Ft.relative(n,i)}resolvePath(e,t){if(e.scheme===co.file){const n=tn.file(Qt(jr(e),t));return e.with({authority:n.authority,path:n.path})}return-1===t.indexOf("/")&&(t=Pr(t),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t)),e.with({path:Ft.resolve(e.path,t)})}isEqualAuthority(e,t){return e===t||Object(Rr["r"])(e,t)}}const zr=new Qr(()=>!1),Vr=(zr.isEqual.bind(zr),zr.basenameOrAuthority.bind(zr),zr.basename.bind(zr)),Wr=(zr.dirname.bind(zr),zr.joinPath.bind(zr)),Hr=zr.normalizePath.bind(zr),Ur=(zr.relativePath.bind(zr),zr.resolvePath.bind(zr),zr.isEqualAuthority.bind(zr));var Yr;function Gr(e){return"string"===typeof e}function Kr(e){return"object"===typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function qr(e){return"number"===typeof e&&!isNaN(e)}function Jr(e){return!0===e||!1===e}function Xr(e){return"undefined"===typeof e}function $r(e){return Xr(e)||null===e}function Zr(e){return"function"===typeof e}function es(e,t){const n=Math.min(e.length,t.length);for(let i=0;i<n;i++)ts(e[i],t[i])}function ts(e,t){if(Gr(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(Zr(t)){try{if(e instanceof t)return}catch(n){}if(!$r(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function ns(e){let t=[],n=Object.getPrototypeOf(e);while(Object.prototype!==n)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function is(e){const t=[];for(const n of ns(e))"function"===typeof e[n]&&t.push(n);return t}function os(e,t){const n=e=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const o of e)i[o]=n(o);return i}function rs(e){return null===e?void 0:e}(function(e){function t(t){const n=new Map,i=t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";"));i.split(";").forEach(e=>{const[t,i]=e.split(":");t&&i&&n.set(t,i)});const o=t.path.substring(0,t.path.indexOf(";"));return o&&n.set(e.META_DATA_MIME,o),n}e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=t})(Yr||(Yr={}));const ss=ii("commandService"),as=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new et,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"===typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let i of e.description.args)t.push(i.constraint);const n=e.handler;e.handler=function(e,...i){return es(i,t),n(e,...i)}}const{id:n}=e;let i=this._commands.get(n);i||(i=new Je,this._commands.set(n,i));let o=i.unshift(e),r=Ue(()=>{o();const e=this._commands.get(n);(null===e||void 0===e?void 0:e.isEmpty())&&this._commands.delete(n)});return this._onDidRegisterCommand.fire(n),r}registerCommandAlias(e,t){return as.registerCommand(e,(e,...n)=>e.get(ss).executeCommand(t,...n))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return Re.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}};var ls=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const cs=ii("openerService");Object.freeze({_serviceBrand:void 0,registerOpener(){return Ge.None},registerValidator(){return Ge.None},registerExternalUriResolver(){return Ge.None},setExternalOpener(){},open(){return ls(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return ls(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function hs(e,t){return tn.isUri(e)?Object(Rr["r"])(e.scheme,t):Object(Rr["Q"])(e,t+":")}var us;(function(e){e[e["API"]=0]="API",e[e["USER"]=1]="USER"})(us||(us={}));var ds=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ps=function(e,t){return function(n,i){t(n,i,e)}},fs=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let gs=class{constructor(e){this._commandService=e}open(e){return fs(this,void 0,void 0,(function*(){if(!hs(e,co.command))return!1;"string"===typeof e&&(e=tn.parse(e));let t=[];try{t=Tr(decodeURIComponent(e.query))}catch(n){try{t=Tr(e.query)}catch(i){}}return Array.isArray(t)||(t=[t]),yield this._commandService.executeCommand(e.path,...t),!0}))}};gs=ds([ps(0,ss)],gs);let ms=class{constructor(e){this._editorService=e}open(e,t){return fs(this,void 0,void 0,(function*(){"string"===typeof e&&(e=tn.parse(e));let n=void 0;const i=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment);return i&&(n={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1},e=e.with({fragment:""})),e.scheme===co.file&&(e=Hr(e)),yield this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null===t||void 0===t?void 0:t.fromUserGesture)?us.USER:us.API}},this._editorService.getFocusedCodeEditor(),null===t||void 0===t?void 0:t.openToSide),!0}))}};ms=ds([ps(0,ri)],ms);let bs=class{constructor(e,t){this._openers=new Je,this._validators=new Je,this._resolvers=new Je,this._externalOpener={openExternal:e=>(hs(e,co.http)||hs(e,co.https)?Mr(e):window.location.href=e,Promise.resolve(!0))},this._openers.push({open:(e,t)=>fs(this,void 0,void 0,(function*(){return!!((null===t||void 0===t?void 0:t.openExternal)||hs(e,co.mailto)||hs(e,co.http)||hs(e,co.https))&&(yield this._doOpenExternal(e,t),!0)}))}),this._openers.push(new gs(t)),this._openers.push(new ms(e))}open(e,t){return fs(this,void 0,void 0,(function*(){for(const t of this._validators.toArray())if(!(yield t.shouldOpen(e)))return!1;for(const n of this._openers.toArray()){const i=yield n.open(e,t);if(i)return!0}return!1}))}resolveExternalUri(e,t){return fs(this,void 0,void 0,(function*(){for(const n of this._resolvers.toArray()){const i=yield n.resolveExternalUri(e,t);if(i)return i}return{resolved:e,dispose:()=>{}}}))}_doOpenExternal(e,t){return fs(this,void 0,void 0,(function*(){const n="string"===typeof e?tn.parse(e):e,{resolved:i}=yield this.resolveExternalUri(n,t);return"string"===typeof e&&n.toString()===i.toString()?this._externalOpener.openExternal(e):this._externalOpener.openExternal(encodeURI(i.toString(!0)))}))}dispose(){this._validators.clear()}};function vs(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}function ys(e){if(!e||"object"!==typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(n=>{e[n]&&"object"===typeof e[n]?t[n]=ys(e[n]):t[n]=e[n]}),t}function ws(e){if(!e||"object"!==typeof e)return e;const t=[e];while(t.length>0){const e=t.shift();Object.freeze(e);for(const n in e)if(_s.call(e,n)){const i=e[n];"object"!==typeof i||Object.isFrozen(i)||t.push(i)}}return e}bs=ds([ps(0,ri),ps(1,ss)],bs);const _s=Object.prototype.hasOwnProperty;function As(e,t,n=!0){return Kr(e)?(Kr(t)&&Object.keys(t).forEach(i=>{i in e?n&&(Kr(e[i])&&Kr(t[i])?As(e[i],t[i],n):e[i]=t[i]):e[i]=t[i]}),e):t}function Cs(e,...t){return t.forEach(t=>Object.keys(t).forEach(n=>e[n]=t[n])),e}function Es(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===t)return!1;if(typeof e!==typeof t)return!1;if("object"!==typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!Es(e[n],t[n]))return!1}else{const o=[];for(i in e)o.push(i);o.sort();const r=[];for(i in t)r.push(i);if(r.sort(),!Es(o,r))return!1;for(n=0;n<o.length;n++)if(!Es(e[o[n]],t[o[n]]))return!1}return!0}function xs(e,t,n){const i=t(e);return"undefined"===typeof i?n:i}const Ss={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class Ds extends Ge{constructor(e,t={}){super(),this._onDidUpdate=this._register(new et),this._editor=e,this._options=As(t,Ss,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new fn(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new fn(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})}),this.ranges.sort((e,t)=>e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,n=this._editor.getPosition();if(n){for(let i=0,o=this.ranges.length;i<o&&!t;i++){let o=this.ranges[i].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=i+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0}_move(e,t){if(vs(!this.disposed,"Illegal State - diff navigator has been disposed"),!this.canNavigate())return;-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{let e=n.range.getStartPosition();this._editor.setPosition(e),this._editor.revealPositionInCenter(e,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this._move(!0,e)}previous(e=0){this._move(!1,e)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}const ks=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new et,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}},Ms=y["f"]?1.5:1.35,Ns=8;class Ls{constructor(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}static createFromValidatedSettings(e,t,n){const i=e.get(35),o=e.get(39),r=e.get(38),s=e.get(37),a=e.get(51),l=e.get(48);return Ls._create(i,o,r,s,a,l,t,n)}static _create(e,t,n,i,o,r,s,a){0===o?o=Math.round(Ms*n):o<Ns&&(o=Ns);const l=1+(a?0:.1*ks.getZoomLevel());return n*=l,o*=l,new Ls({zoomLevel:s,fontFamily:e,fontWeight:t,fontSize:n,fontFeatureSettings:i,lineHeight:o,letterSpacing:r})}getId(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing}getMassagedFontFamily(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?`"${this.fontFamily}"`:this.fontFamily}}class Bs extends Ls{constructor(e,t){super(e),this.isTrusted=t,this.isMonospace=e.isMonospace,this.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,this.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,this.spaceWidth=e.spaceWidth,this.middotWidth=e.middotWidth,this.wsmiddotWidth=e.wsmiddotWidth,this.maxDigitWidth=e.maxDigitWidth}equals(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.maxDigitWidth===e.maxDigitWidth}}function Is(e){return e&&"string"===typeof e.id}const Ts={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"};var Os,Rs;(function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"})(Os||(Os={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(Rs||(Rs={}));class Ps{constructor(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class Fs{constructor(e,t){this.range=e,this.matches=t}}class js{constructor(e,t,n,i,o,r){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=i,this.isAutoWhitespaceEdit=o,this._isTracked=r}}class Qs{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}class zs{constructor(e,t){this[Symbol.toStringTag]="ResourceMap",e instanceof zs?(this.map=new Map(e.map),this.toKey=null!==t&&void 0!==t?t:zs.defaultToKey):(this.map=new Map,this.toKey=null!==e&&void 0!==e?e:zs.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),t),this}get(e){return this.map.get(this.toKey(e))}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){"undefined"!==typeof t&&(e=e.bind(t));for(let[n,i]of this.map)e(i,tn.parse(n),this)}values(){return this.map.values()}*keys(){for(let e of this.map.keys())yield tn.parse(e)}*entries(){for(let e of this.map.entries())yield[tn.parse(e[0]),e[1]]}*[Symbol.iterator](){for(let e of this.map)yield[tn.parse(e[0]),e[1]]}}zs.defaultToKey=e=>e.toString();class Vs{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let i=this._head;while(i){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator](){return i},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;while(t&&n>e)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class Ws extends Vs{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}const Hs="**",Us="/",Ys="[/\\\\]",Gs="[^/\\\\]",Ks=/\//g;function qs(e){switch(e){case 0:return"";case 1:return Gs+"*?";default:return`(?:${Ys}|${Gs}+${Ys}|${Ys}${Gs}+)*?`}}function Js(e,t){if(!e)return[];const n=[];let i=!1,o=!1,r="";for(const s of e){switch(s){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1;break}r+=s}return r&&n.push(r),n}function Xs(e){if(!e)return"";let t="";const n=Js(e,Us);if(n.every(e=>e===Hs))t=".*";else{let e=!1;n.forEach((i,o)=>{if(i===Hs)return void(e||(t+=qs(2),e=!0));let r=!1,s="",a=!1,l="";for(const e of i)if("}"!==e&&r)s+=e;else if(!a||"]"===e&&l)switch(e){case"{":r=!0;continue;case"[":a=!0;continue;case"}":const n=Js(s,","),i=`(?:${n.map(e=>Xs(e)).join("|")})`;t+=i,r=!1,s="";break;case"]":t+="["+l+"]",a=!1,l="";break;case"?":t+=Gs;continue;case"*":t+=qs(1);continue;default:t+=Rr["t"](e)}else{let t;t="-"===e?e:"^"!==e&&"!"!==e||l?e===Us?"":Rr["t"](e):"^",l+=t}o<n.length-1&&(n[o+1]!==Hs||o+2<n.length)&&(t+=Ys),e=!1})}return t}const $s=/^\*\*\/\*\.[\w\.-]+$/,Zs=/^\*\*\/([\w\.-]+)\/?$/,ea=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,ta=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,na=/^\*\*((\/[\w\.-]+)+)\/?$/,ia=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,oa=new Ws(1e4),ra=function(){return!1},sa=function(){return null};function aa(e,t){if(!e)return sa;let n;n="string"!==typeof e?e.pattern:e,n=n.trim();const i=`${n}_${!!t.trimForExclusions}`;let o,r=oa.get(i);if(r)return la(r,e);if($s.test(n)){const e=n.substr(4);r=function(t,i){return"string"===typeof t&&t.endsWith(e)?n:null}}else r=(o=Zs.exec(ca(n,t)))?ha(o[1],n):(t.trimForExclusions?ta:ea).test(n)?ua(n,t):(o=na.exec(ca(n,t)))?da(o[1].substr(1),n,!0):(o=ia.exec(ca(n,t)))?da(o[1],n,!1):pa(n);return oa.set(i,r),la(r,e)}function la(e,t){return"string"===typeof t?e:function(n,i){return Fr(n,t.base)?e(zt(t.base,n),i):null}}function ca(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function ha(e,t){const n="/"+e,i="\\"+e,o=function(o,r){return"string"!==typeof o?null:r?r===e?t:null:o===e||o.endsWith(n)||o.endsWith(i)?t:null},r=[e];return o.basenames=r,o.patterns=[t],o.allBasenames=r,o}function ua(e,t){const n=ya(e.slice(1,-1).split(",").map(e=>aa(e,t)).filter(e=>e!==sa),e),i=n.length;if(!i)return sa;if(1===i)return n[0];const o=function(t,i){for(let o=0,r=n.length;o<r;o++)if(n[o](t,i))return e;return null},r=ro(n,e=>!!e.allBasenames);r&&(o.allBasenames=r.allBasenames);const s=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return s.length&&(o.allPaths=s),o}function da(e,t,n){const i=Ut!==Ft.sep?e.replace(Ks,Ut):e,o=Ut+i,r=n?function(e,n){return"string"!==typeof e||e!==i&&!e.endsWith(o)?null:t}:function(e,n){return"string"===typeof e&&e===i?t:null};return r.allPaths=[(n?"*/":"./")+e],r}function pa(e){try{const t=new RegExp(`^${Xs(e)}$`);return function(n){return t.lastIndex=0,"string"===typeof n&&t.test(n)?e:null}}catch(t){return sa}}function fa(e,t,n){return!(!e||"string"!==typeof t)&&ga(e)(t,void 0,n)}function ga(e,t={}){if(!e)return ra;if("string"===typeof e||ma(e)){const n=aa(e,t);if(n===sa)return ra;const i=function(e,t){return!!n(e,t)};return n.allBasenames&&(i.allBasenames=n.allBasenames),n.allPaths&&(i.allPaths=n.allPaths),i}return ba(e,t)}function ma(e){const t=e;return t&&"string"===typeof t.base&&"string"===typeof t.pattern}function ba(e,t){const n=ya(Object.getOwnPropertyNames(e).map(n=>va(n,e[n],t)).filter(e=>e!==sa)),i=n.length;if(!i)return sa;if(!n.some(e=>!!e.requiresSiblings)){if(1===i)return n[0];const e=function(e,t){for(let i=0,o=n.length;i<o;i++){const o=n[i](e,t);if(o)return o}return null},t=ro(n,e=>!!e.allBasenames);t&&(e.allBasenames=t.allBasenames);const o=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return o.length&&(e.allPaths=o),e}const o=function(e,t,i){let o=void 0;for(let r=0,s=n.length;r<s;r++){const s=n[r];s.requiresSiblings&&i&&(t||(t=Wt(e)),o||(o=t.substr(0,t.length-Ht(e).length)));const a=s(e,t,o,i);if(a)return a}return null},r=ro(n,e=>!!e.allBasenames);r&&(o.allBasenames=r.allBasenames);const s=n.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]);return s.length&&(o.allPaths=s),o}function va(e,t,n){if(!1===t)return sa;const i=aa(e,n);if(i===sa)return sa;if("boolean"===typeof t)return i;if(t){const n=t.when;if("string"===typeof n){const t=(t,o,r,s)=>{if(!s||!i(t,o))return null;const a=n.replace("$(basename)",r),l=s(a);return Pi(l)?l.then(t=>t?e:null):l?e:null};return t.requiresSiblings=!0,t}}return i}function ya(e,t){const n=e.filter(e=>!!e.basenames);if(n.length<2)return e;const i=n.reduce((e,t)=>{const n=t.basenames;return n?e.concat(n):e},[]);let o;if(t){o=[];for(let e=0,n=i.length;e<n;e++)o.push(t)}else o=n.reduce((e,t)=>{const n=t.patterns;return n?e.concat(n):e},[]);const r=function(e,t){if("string"!==typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=i.indexOf(t);return-1!==n?o[n]:null};r.basenames=i,r.patterns=o,r.allBasenames=i;const s=e.filter(e=>!e.basenames);return s.push(r),s}function wa(e,t,n,i){if(Array.isArray(e)){let o=0;for(const r of e){const e=wa(r,t,n,i);if(10===e)return e;e>o&&(o=e)}return o}if("string"===typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){const{language:o,pattern:r,scheme:s,hasAccessToAllModels:a}=e;if(!i&&!a)return 0;let l=0;if(s)if(s===t.scheme)l=10;else{if("*"!==s)return 0;l=5}if(o)if(o===n)l=10;else{if("*"!==o)return 0;l=Math.max(l,5)}if(r){let e;if(e="string"===typeof r?r:Object.assign(Object.assign({},r),{base:jt(r.base)}),e!==t.fsPath&&!fa(e,t.fsPath))return 0;l=10}return l}return 0}const _a=ii("modelService");function Aa(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}function Ca(e){return"string"!==typeof e&&(Array.isArray(e)?e.every(Ca):!!e.exclusive)}class Ea{constructor(){this._clock=0,this._entries=[],this._onDidChange=new et}get onDidChange(){return this._onDidChange.event}register(e,t){let n={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(n),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Ue(()=>{if(n){let e=this._entries.indexOf(n);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),n=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);const t=[];for(let n of this._entries)n._score>0&&t.push(n.provider);return t}ordered(e){const t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){const t=[];let n,i;return this._orderedForEach(e,e=>{n&&i===e._score?n.push(e.provider):(i=e._score,n=[e.provider],t.push(n))}),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)e._score>0&&t(e)}}_updateScores(e){let t={uri:e.uri.toString(),language:e.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==t.language||this._lastCandidate.uri!==t.uri){this._lastCandidate=t;for(let t of this._entries)if(t._score=wa(t.selector,e.uri,e.getLanguageIdentifier().language,Aa(e)),Ca(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(Ea._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0}}class xa{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new et,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),Ue(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let n=null,i=!1;return this._promises.set(e,t.then(t=>{this._promises.delete(e),!i&&t&&(n=this.register(e,t))})),Ue(()=>{i=!0,n&&n.dispose()})}getPromise(e){const t=this.get(e);if(t)return Promise.resolve(t);const n=this._promises.get(e);return n?n.then(t=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}function Sa(...e){return function(t,n){for(let i=0,o=e.length;i<o;i++){const o=e[i](t,n);if(o)return o}return null}}const Da=ka.bind(void 0,!0);function ka(e,t,n){if(!n||n.length<t.length)return null;let i;return i=e?Rr["Q"](n,t):0===n.indexOf(t),i?t.length>0?[{start:0,end:t.length}]:[]:null}function Ma(e,t){const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function Na(e,t){return La(e.toLowerCase(),t.toLowerCase(),0,0)}function La(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]===t[i]){let o=null;return(o=La(e,t,n+1,i+1))?Fa({start:i,end:i+1},o):null}return La(e,t,n,i+1)}function Ba(e){return 97<=e&&e<=122}function Ia(e){return 65<=e&&e<=90}function Ta(e){return 48<=e&&e<=57}function Oa(e){return 32===e||9===e||10===e||13===e}const Ra=new Set;function Pa(e){return Ba(e)||Ia(e)||Ta(e)}function Fa(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function ja(e,t){for(let n=t;n<e.length;n++){const t=e.charCodeAt(n);if(Ia(t)||Ta(t)||n>0&&!Pa(e.charCodeAt(n-1)))return n}return e.length}function Qa(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;{let o=null,r=i+1;o=Qa(e,t,n+1,i+1);while(!o&&(r=ja(t,r))<t.length)o=Qa(e,t,n+1,r),r++;return null===o?null:Fa({start:i,end:i+1},o)}}function za(e){let t=0,n=0,i=0,o=0,r=0;for(let h=0;h<e.length;h++)r=e.charCodeAt(h),Ia(r)&&t++,Ba(r)&&n++,Pa(r)&&i++,Ta(r)&&o++;const s=t/e.length,a=n/e.length,l=i/e.length,c=o/e.length;return{upperPercent:s,lowerPercent:a,alphaPercent:l,numericPercent:c}}function Va(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}function Wa(e){const{upperPercent:t,lowerPercent:n,alphaPercent:i,numericPercent:o}=e;return n>.2&&t<.8&&i>.6&&o<.2}function Ha(e){let t=0,n=0,i=0,o=0;for(let r=0;r<e.length;r++)i=e.charCodeAt(r),Ia(i)&&t++,Ba(i)&&n++,Oa(i)&&o++;return 0!==t&&0!==n||0!==o?t<=5:e.length<=30}function Ua(e,t){if(!t)return null;if(t=t.trim(),0===t.length)return null;if(!Ha(e))return null;if(t.length>60)return null;const n=za(t);if(!Wa(n)){if(!Va(n))return null;t=t.toLowerCase()}let i=null,o=0;e=e.toLowerCase();while(o<t.length&&null===(i=Qa(e,t,0,o)))o=ja(t,o+1);return i}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(e=>Ra.add(e.charCodeAt(0)));const Ya=Sa(Da,Ua,Ma),Ga=Sa(Da,Ua,Na),Ka=new Ws(1e4);function qa(e,t,n=!1){if("string"!==typeof e||"string"!==typeof t)return null;let i=Ka.get(e);i||(i=new RegExp(Rr["n"](e),"i"),Ka.set(e,i));const o=i.exec(t);return o?[{start:o.index,end:o.index+o[0].length}]:n?Ga(e,t):Ya(e,t)}const Ja=128;function Xa(){const e=[],t=[0];for(let n=1;n<=Ja;n++)t.push(-n);for(let n=0;n<=Ja;n++){const i=t.slice(0);i[0]=-n,e.push(i)}return e}const $a=Xa(),Za=Xa(),el=Xa(),tl=!1;function nl(e,t,n,i){e=e.substr(t),n=n.substr(i)}function il(e,t){if(t<0||t>=e.length)return!1;const n=e.charCodeAt(t);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function ol(e,t){if(t<0||t>=e.length)return!1;const n=e.charCodeAt(t);switch(n){case 32:case 9:return!0;default:return!1}}function rl(e,t,n){return t[e]!==n[e]}function sl(e,t,n,i,o,r){while(t<n&&o<r)e[t]===i[o]&&(t+=1),o+=1;return t===n}var al;function ll(e,t,n,i,o,r,s){const a=e.length>Ja?Ja:e.length,l=i.length>Ja?Ja:i.length;if(n>=a||r>=l||a-n>l-r)return;if(!sl(t,n,a,o,r,l))return;let c=1,h=1,u=n,d=r,p=!1;for(c=1,u=n;u<a;c++,u++)for(h=1,d=r;d<l;h++,d++){const r=cl(e,t,u,n,i,o,d);u===n&&r>1&&(p=!0),Za[c][h]=r;const s=$a[c-1][h-1]+(r>1?1:r),a=$a[c-1][h]+-1,l=$a[c][h-1]+-1;l>=a?l>s?($a[c][h]=l,el[c][h]=4):l===s?($a[c][h]=l,el[c][h]=6):($a[c][h]=s,el[c][h]=2):a>s?($a[c][h]=a,el[c][h]=1):a===s?($a[c][h]=a,el[c][h]=3):($a[c][h]=s,el[c][h]=2)}return tl&&nl(e,n,i,r),(p||s)&&(hl=0,dl=-100,pl=r,fl=s,gl(c-1,h-1,a===l?1:0,0,!1),0!==hl)?[dl,ul,r]:void 0}function cl(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!rl(s,o,r)||0!==s&&rl(s-1,o,r)?!il(r,s)||0!==s&&il(r,s-1)?il(r,s-1)||ol(r,s-1)?5:1:5:e[n]===o[s]?7:5}(function(e){function t(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}e.Default=Object.freeze([-100,0,0]),e.isDefault=t})(al||(al={}));let hl=0,ul=0,dl=0,pl=0,fl=!1;function gl(e,t,n,i,o){if(hl>=10||n<-25)return;let r=0;while(e>0&&t>0){const s=Za[e][t],a=el[e][t];if(4===a)t-=1,o?n-=5:0!==i&&(n-=1),o=!1,r=0;else{if(!(2&a))return;if(4&a&&gl(e,t-1,0!==i?n-1:n,i,o),n+=s,e-=1,t-=1,o=!0,i+=Math.pow(2,t+pl),1===s){if(r+=1,0===e&&!fl)return}else n+=1+r*(s-1),r=0}}n-=t>=3?9:3*t,hl+=1,n>dl&&(dl=n,ul=i)}const ml="$(";function bl(e){const t=e.indexOf(ml);return-1===t?{text:e}:vl(e,t)}function vl(e,t){const n=[];let i="";function o(e){if(e){i+=e;for(const t of e)n.push(c)}}let r,s,a=-1,l="",c=0,h=t;const u=e.length;o(e.substr(0,t));while(h<u){if(r=e[h],s=e[h+1],r===ml[0]&&s===ml[1])a=h,o(l),l=ml,h++;else if(")"===r&&-1!==a){const e=h-a+1;c+=e,a=-1,l=""}else-1!==a?/^[a-z0-9\-]$/i.test(r)?l+=r:(o(l),a=-1,l=""):o(r);h++}return o(l),{text:i,codiconOffsets:n}}function yl(e,t,n=!1){const{text:i,codiconOffsets:o}=t;if(!o||0===o.length)return qa(e,i,n);const r=Object(Rr["I"])(i," "),s=i.length-r.length,a=qa(e,r,n);if(a)for(const l of a){const e=o[l.start+s]+s;l.start+=e,l.end+=e}return a}class wl{constructor(){this._icons=new Map,this._onDidRegister=new et}add(e){this._icons.has(e.id)||(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const _l=new wl,Al=_l;function Cl(e,t,n){return new El(e,t)}class El{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,_l.add(this)}get classNames(){return"codicon codicon-"+this.id}get cssSelector(){return".codicon.codicon-"+this.id}}(function(e){e.add=new e("add",{character:"\\ea60"}),e.plus=new e("plus",{character:"\\ea60"}),e.gistNew=new e("gist-new",{character:"\\ea60"}),e.repoCreate=new e("repo-create",{character:"\\ea60"}),e.lightbulb=new e("lightbulb",{character:"\\ea61"}),e.lightBulb=new e("light-bulb",{character:"\\ea61"}),e.repo=new e("repo",{character:"\\ea62"}),e.repoDelete=new e("repo-delete",{character:"\\ea62"}),e.gistFork=new e("gist-fork",{character:"\\ea63"}),e.repoForked=new e("repo-forked",{character:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{character:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{character:"\\ea64"}),e.recordKeys=new e("record-keys",{character:"\\ea65"}),e.keyboard=new e("keyboard",{character:"\\ea65"}),e.tag=new e("tag",{character:"\\ea66"}),e.tagAdd=new e("tag-add",{character:"\\ea66"}),e.tagRemove=new e("tag-remove",{character:"\\ea66"}),e.person=new e("person",{character:"\\ea67"}),e.personAdd=new e("person-add",{character:"\\ea67"}),e.personFollow=new e("person-follow",{character:"\\ea67"}),e.personOutline=new e("person-outline",{character:"\\ea67"}),e.personFilled=new e("person-filled",{character:"\\ea67"}),e.gitBranch=new e("git-branch",{character:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{character:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{character:"\\ea68"}),e.sourceControl=new e("source-control",{character:"\\ea68"}),e.mirror=new e("mirror",{character:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{character:"\\ea69"}),e.star=new e("star",{character:"\\ea6a"}),e.starAdd=new e("star-add",{character:"\\ea6a"}),e.starDelete=new e("star-delete",{character:"\\ea6a"}),e.starEmpty=new e("star-empty",{character:"\\ea6a"}),e.comment=new e("comment",{character:"\\ea6b"}),e.commentAdd=new e("comment-add",{character:"\\ea6b"}),e.alert=new e("alert",{character:"\\ea6c"}),e.warning=new e("warning",{character:"\\ea6c"}),e.search=new e("search",{character:"\\ea6d"}),e.searchSave=new e("search-save",{character:"\\ea6d"}),e.logOut=new e("log-out",{character:"\\ea6e"}),e.signOut=new e("sign-out",{character:"\\ea6e"}),e.logIn=new e("log-in",{character:"\\ea6f"}),e.signIn=new e("sign-in",{character:"\\ea6f"}),e.eye=new e("eye",{character:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{character:"\\ea70"}),e.eyeWatch=new e("eye-watch",{character:"\\ea70"}),e.circleFilled=new e("circle-filled",{character:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{character:"\\ea71"}),e.closeDirty=new e("close-dirty",{character:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{character:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{character:"\\ea71"}),e.debugHint=new e("debug-hint",{character:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{character:"\\ea72"}),e.edit=new e("edit",{character:"\\ea73"}),e.pencil=new e("pencil",{character:"\\ea73"}),e.info=new e("info",{character:"\\ea74"}),e.issueOpened=new e("issue-opened",{character:"\\ea74"}),e.gistPrivate=new e("gist-private",{character:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{character:"\\ea75"}),e.lock=new e("lock",{character:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{character:"\\ea75"}),e.close=new e("close",{character:"\\ea76"}),e.removeClose=new e("remove-close",{character:"\\ea76"}),e.x=new e("x",{character:"\\ea76"}),e.repoSync=new e("repo-sync",{character:"\\ea77"}),e.sync=new e("sync",{character:"\\ea77"}),e.clone=new e("clone",{character:"\\ea78"}),e.desktopDownload=new e("desktop-download",{character:"\\ea78"}),e.beaker=new e("beaker",{character:"\\ea79"}),e.microscope=new e("microscope",{character:"\\ea79"}),e.vm=new e("vm",{character:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{character:"\\ea7a"}),e.file=new e("file",{character:"\\ea7b"}),e.fileText=new e("file-text",{character:"\\ea7b"}),e.more=new e("more",{character:"\\ea7c"}),e.ellipsis=new e("ellipsis",{character:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{character:"\\ea7c"}),e.mailReply=new e("mail-reply",{character:"\\ea7d"}),e.reply=new e("reply",{character:"\\ea7d"}),e.organization=new e("organization",{character:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{character:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{character:"\\ea7e"}),e.newFile=new e("new-file",{character:"\\ea7f"}),e.fileAdd=new e("file-add",{character:"\\ea7f"}),e.newFolder=new e("new-folder",{character:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{character:"\\ea80"}),e.trash=new e("trash",{character:"\\ea81"}),e.trashcan=new e("trashcan",{character:"\\ea81"}),e.history=new e("history",{character:"\\ea82"}),e.clock=new e("clock",{character:"\\ea82"}),e.folder=new e("folder",{character:"\\ea83"}),e.fileDirectory=new e("file-directory",{character:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{character:"\\ea83"}),e.logoGithub=new e("logo-github",{character:"\\ea84"}),e.markGithub=new e("mark-github",{character:"\\ea84"}),e.github=new e("github",{character:"\\ea84"}),e.terminal=new e("terminal",{character:"\\ea85"}),e.console=new e("console",{character:"\\ea85"}),e.repl=new e("repl",{character:"\\ea85"}),e.zap=new e("zap",{character:"\\ea86"}),e.symbolEvent=new e("symbol-event",{character:"\\ea86"}),e.error=new e("error",{character:"\\ea87"}),e.stop=new e("stop",{character:"\\ea87"}),e.variable=new e("variable",{character:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{character:"\\ea88"}),e.array=new e("array",{character:"\\ea8a"}),e.symbolArray=new e("symbol-array",{character:"\\ea8a"}),e.symbolModule=new e("symbol-module",{character:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{character:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{character:"\\ea8b"}),e.symbolObject=new e("symbol-object",{character:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{character:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{character:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{character:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{character:"\\ea8f"}),e.symbolNull=new e("symbol-null",{character:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{character:"\\ea90"}),e.symbolNumber=new e("symbol-number",{character:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{character:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{character:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{character:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{character:"\\ea92"}),e.symbolKey=new e("symbol-key",{character:"\\ea93"}),e.symbolText=new e("symbol-text",{character:"\\ea93"}),e.symbolReference=new e("symbol-reference",{character:"\\ea94"}),e.goToFile=new e("go-to-file",{character:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{character:"\\ea95"}),e.symbolValue=new e("symbol-value",{character:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{character:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{character:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{character:"\\ea97"}),e.archive=new e("archive",{character:"\\ea98"}),e.arrowBoth=new e("arrow-both",{character:"\\ea99"}),e.arrowDown=new e("arrow-down",{character:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{character:"\\ea9b"}),e.arrowRight=new e("arrow-right",{character:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{character:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{character:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{character:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{character:"\\eaa0"}),e.arrowUp=new e("arrow-up",{character:"\\eaa1"}),e.bell=new e("bell",{character:"\\eaa2"}),e.bold=new e("bold",{character:"\\eaa3"}),e.book=new e("book",{character:"\\eaa4"}),e.bookmark=new e("bookmark",{character:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{character:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{character:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{character:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{character:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{character:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{character:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{character:"\\eaab"}),e.briefcase=new e("briefcase",{character:"\\eaac"}),e.broadcast=new e("broadcast",{character:"\\eaad"}),e.browser=new e("browser",{character:"\\eaae"}),e.bug=new e("bug",{character:"\\eaaf"}),e.calendar=new e("calendar",{character:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{character:"\\eab1"}),e.check=new e("check",{character:"\\eab2"}),e.checklist=new e("checklist",{character:"\\eab3"}),e.chevronDown=new e("chevron-down",{character:"\\eab4"}),e.chevronLeft=new e("chevron-left",{character:"\\eab5"}),e.chevronRight=new e("chevron-right",{character:"\\eab6"}),e.chevronUp=new e("chevron-up",{character:"\\eab7"}),e.chromeClose=new e("chrome-close",{character:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{character:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{character:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{character:"\\eabb"}),e.circleOutline=new e("circle-outline",{character:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{character:"\\eabc"}),e.circleSlash=new e("circle-slash",{character:"\\eabd"}),e.circuitBoard=new e("circuit-board",{character:"\\eabe"}),e.clearAll=new e("clear-all",{character:"\\eabf"}),e.clippy=new e("clippy",{character:"\\eac0"}),e.closeAll=new e("close-all",{character:"\\eac1"}),e.cloudDownload=new e("cloud-download",{character:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{character:"\\eac3"}),e.code=new e("code",{character:"\\eac4"}),e.collapseAll=new e("collapse-all",{character:"\\eac5"}),e.colorMode=new e("color-mode",{character:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{character:"\\eac7"}),e.compareChanges=new e("compare-changes",{character:"\\eafd"}),e.creditCard=new e("credit-card",{character:"\\eac9"}),e.dash=new e("dash",{character:"\\eacc"}),e.dashboard=new e("dashboard",{character:"\\eacd"}),e.database=new e("database",{character:"\\eace"}),e.debugContinue=new e("debug-continue",{character:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{character:"\\ead0"}),e.debugPause=new e("debug-pause",{character:"\\ead1"}),e.debugRestart=new e("debug-restart",{character:"\\ead2"}),e.debugStart=new e("debug-start",{character:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{character:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{character:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{character:"\\ead6"}),e.debugStop=new e("debug-stop",{character:"\\ead7"}),e.debug=new e("debug",{character:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{character:"\\ead9"}),e.deviceCamera=new e("device-camera",{character:"\\eada"}),e.deviceMobile=new e("device-mobile",{character:"\\eadb"}),e.diffAdded=new e("diff-added",{character:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{character:"\\eadd"}),e.diffModified=new e("diff-modified",{character:"\\eade"}),e.diffRemoved=new e("diff-removed",{character:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{character:"\\eae0"}),e.diff=new e("diff",{character:"\\eae1"}),e.discard=new e("discard",{character:"\\eae2"}),e.editorLayout=new e("editor-layout",{character:"\\eae3"}),e.emptyWindow=new e("empty-window",{character:"\\eae4"}),e.exclude=new e("exclude",{character:"\\eae5"}),e.extensions=new e("extensions",{character:"\\eae6"}),e.eyeClosed=new e("eye-closed",{character:"\\eae7"}),e.fileBinary=new e("file-binary",{character:"\\eae8"}),e.fileCode=new e("file-code",{character:"\\eae9"}),e.fileMedia=new e("file-media",{character:"\\eaea"}),e.filePdf=new e("file-pdf",{character:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{character:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{character:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{character:"\\eaee"}),e.fileZip=new e("file-zip",{character:"\\eaef"}),e.files=new e("files",{character:"\\eaf0"}),e.filter=new e("filter",{character:"\\eaf1"}),e.flame=new e("flame",{character:"\\eaf2"}),e.foldDown=new e("fold-down",{character:"\\eaf3"}),e.foldUp=new e("fold-up",{character:"\\eaf4"}),e.fold=new e("fold",{character:"\\eaf5"}),e.folderActive=new e("folder-active",{character:"\\eaf6"}),e.folderOpened=new e("folder-opened",{character:"\\eaf7"}),e.gear=new e("gear",{character:"\\eaf8"}),e.gift=new e("gift",{character:"\\eaf9"}),e.gistSecret=new e("gist-secret",{character:"\\eafa"}),e.gist=new e("gist",{character:"\\eafb"}),e.gitCommit=new e("git-commit",{character:"\\eafc"}),e.gitCompare=new e("git-compare",{character:"\\eafd"}),e.gitMerge=new e("git-merge",{character:"\\eafe"}),e.githubAction=new e("github-action",{character:"\\eaff"}),e.githubAlt=new e("github-alt",{character:"\\eb00"}),e.globe=new e("globe",{character:"\\eb01"}),e.grabber=new e("grabber",{character:"\\eb02"}),e.graph=new e("graph",{character:"\\eb03"}),e.gripper=new e("gripper",{character:"\\eb04"}),e.heart=new e("heart",{character:"\\eb05"}),e.home=new e("home",{character:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{character:"\\eb07"}),e.hubot=new e("hubot",{character:"\\eb08"}),e.inbox=new e("inbox",{character:"\\eb09"}),e.issueClosed=new e("issue-closed",{character:"\\eb0a"}),e.issueReopened=new e("issue-reopened",{character:"\\eb0b"}),e.issues=new e("issues",{character:"\\eb0c"}),e.italic=new e("italic",{character:"\\eb0d"}),e.jersey=new e("jersey",{character:"\\eb0e"}),e.json=new e("json",{character:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{character:"\\eb10"}),e.key=new e("key",{character:"\\eb11"}),e.law=new e("law",{character:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{character:"\\eb13"}),e.linkExternal=new e("link-external",{character:"\\eb14"}),e.link=new e("link",{character:"\\eb15"}),e.listOrdered=new e("list-ordered",{character:"\\eb16"}),e.listUnordered=new e("list-unordered",{character:"\\eb17"}),e.liveShare=new e("live-share",{character:"\\eb18"}),e.loading=new e("loading",{character:"\\eb19"}),e.location=new e("location",{character:"\\eb1a"}),e.mailRead=new e("mail-read",{character:"\\eb1b"}),e.mail=new e("mail",{character:"\\eb1c"}),e.markdown=new e("markdown",{character:"\\eb1d"}),e.megaphone=new e("megaphone",{character:"\\eb1e"}),e.mention=new e("mention",{character:"\\eb1f"}),e.milestone=new e("milestone",{character:"\\eb20"}),e.mortarBoard=new e("mortar-board",{character:"\\eb21"}),e.move=new e("move",{character:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{character:"\\eb23"}),e.mute=new e("mute",{character:"\\eb24"}),e.noNewline=new e("no-newline",{character:"\\eb25"}),e.note=new e("note",{character:"\\eb26"}),e.octoface=new e("octoface",{character:"\\eb27"}),e.openPreview=new e("open-preview",{character:"\\eb28"}),e.package_=new e("package",{character:"\\eb29"}),e.paintcan=new e("paintcan",{character:"\\eb2a"}),e.pin=new e("pin",{character:"\\eb2b"}),e.play=new e("play",{character:"\\eb2c"}),e.run=new e("run",{character:"\\eb2c"}),e.plug=new e("plug",{character:"\\eb2d"}),e.preserveCase=new e("preserve-case",{character:"\\eb2e"}),e.preview=new e("preview",{character:"\\eb2f"}),e.project=new e("project",{character:"\\eb30"}),e.pulse=new e("pulse",{character:"\\eb31"}),e.question=new e("question",{character:"\\eb32"}),e.quote=new e("quote",{character:"\\eb33"}),e.radioTower=new e("radio-tower",{character:"\\eb34"}),e.reactions=new e("reactions",{character:"\\eb35"}),e.references=new e("references",{character:"\\eb36"}),e.refresh=new e("refresh",{character:"\\eb37"}),e.regex=new e("regex",{character:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{character:"\\eb39"}),e.remote=new e("remote",{character:"\\eb3a"}),e.remove=new e("remove",{character:"\\eb3b"}),e.replaceAll=new e("replace-all",{character:"\\eb3c"}),e.replace=new e("replace",{character:"\\eb3d"}),e.repoClone=new e("repo-clone",{character:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{character:"\\eb3f"}),e.repoPull=new e("repo-pull",{character:"\\eb40"}),e.repoPush=new e("repo-push",{character:"\\eb41"}),e.report=new e("report",{character:"\\eb42"}),e.requestChanges=new e("request-changes",{character:"\\eb43"}),e.rocket=new e("rocket",{character:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{character:"\\eb45"}),e.rootFolder=new e("root-folder",{character:"\\eb46"}),e.rss=new e("rss",{character:"\\eb47"}),e.ruby=new e("ruby",{character:"\\eb48"}),e.saveAll=new e("save-all",{character:"\\eb49"}),e.saveAs=new e("save-as",{character:"\\eb4a"}),e.save=new e("save",{character:"\\eb4b"}),e.screenFull=new e("screen-full",{character:"\\eb4c"}),e.screenNormal=new e("screen-normal",{character:"\\eb4d"}),e.searchStop=new e("search-stop",{character:"\\eb4e"}),e.server=new e("server",{character:"\\eb50"}),e.settingsGear=new e("settings-gear",{character:"\\eb51"}),e.settings=new e("settings",{character:"\\eb52"}),e.shield=new e("shield",{character:"\\eb53"}),e.smiley=new e("smiley",{character:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{character:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{character:"\\eb56"}),e.splitVertical=new e("split-vertical",{character:"\\eb57"}),e.squirrel=new e("squirrel",{character:"\\eb58"}),e.starFull=new e("star-full",{character:"\\eb59"}),e.starHalf=new e("star-half",{character:"\\eb5a"}),e.symbolClass=new e("symbol-class",{character:"\\eb5b"}),e.symbolColor=new e("symbol-color",{character:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{character:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{character:"\\eb5e"}),e.symbolField=new e("symbol-field",{character:"\\eb5f"}),e.symbolFile=new e("symbol-file",{character:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{character:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{character:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{character:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{character:"\\eb64"}),e.symbolProperty=new e("symbol-property",{character:"\\eb65"}),e.wrench=new e("wrench",{character:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{character:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{character:"\\eb66"}),e.tasklist=new e("tasklist",{character:"\\eb67"}),e.telescope=new e("telescope",{character:"\\eb68"}),e.textSize=new e("text-size",{character:"\\eb69"}),e.threeBars=new e("three-bars",{character:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{character:"\\eb6b"}),e.thumbsup=new e("thumbsup",{character:"\\eb6c"}),e.tools=new e("tools",{character:"\\eb6d"}),e.triangleDown=new e("triangle-down",{character:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{character:"\\eb6f"}),e.triangleRight=new e("triangle-right",{character:"\\eb70"}),e.triangleUp=new e("triangle-up",{character:"\\eb71"}),e.twitter=new e("twitter",{character:"\\eb72"}),e.unfold=new e("unfold",{character:"\\eb73"}),e.unlock=new e("unlock",{character:"\\eb74"}),e.unmute=new e("unmute",{character:"\\eb75"}),e.unverified=new e("unverified",{character:"\\eb76"}),e.verified=new e("verified",{character:"\\eb77"}),e.versions=new e("versions",{character:"\\eb78"}),e.vmActive=new e("vm-active",{character:"\\eb79"}),e.vmOutline=new e("vm-outline",{character:"\\eb7a"}),e.vmRunning=new e("vm-running",{character:"\\eb7b"}),e.watch=new e("watch",{character:"\\eb7c"}),e.whitespace=new e("whitespace",{character:"\\eb7d"}),e.wholeWord=new e("whole-word",{character:"\\eb7e"}),e.window=new e("window",{character:"\\eb7f"}),e.wordWrap=new e("word-wrap",{character:"\\eb80"}),e.zoomIn=new e("zoom-in",{character:"\\eb81"}),e.zoomOut=new e("zoom-out",{character:"\\eb82"}),e.listFilter=new e("list-filter",{character:"\\eb83"}),e.listFlat=new e("list-flat",{character:"\\eb84"}),e.listSelection=new e("list-selection",{character:"\\eb85"}),e.selection=new e("selection",{character:"\\eb85"}),e.listTree=new e("list-tree",{character:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{character:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{character:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{character:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{character:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{character:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{character:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{character:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{character:"\\eb8c"}),e.symbolString=new e("symbol-string",{character:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{character:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{character:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{character:"\\eb90"}),e.callIncoming=new e("call-incoming",{character:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{character:"\\eb93"}),e.menu=new e("menu",{character:"\\eb94"}),e.expandAll=new e("expand-all",{character:"\\eb95"}),e.feedback=new e("feedback",{character:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{character:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{character:"\\eb98"}),e.account=new e("account",{character:"\\eb99"}),e.bellDot=new e("bell-dot",{character:"\\eb9a"}),e.debugConsole=new e("debug-console",{character:"\\eb9b"}),e.library=new e("library",{character:"\\eb9c"}),e.output=new e("output",{character:"\\eb9d"}),e.runAll=new e("run-all",{character:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{character:"\\eb9f"}),e.pinned=new e("pinned",{character:"\\eba0"}),e.githubInverted=new e("github-inverted",{character:"\\eba1"}),e.debugAlt=new e("debug-alt",{character:"\\eb91"}),e.serverProcess=new e("server-process",{character:"\\eba2"}),e.serverEnvironment=new e("server-environment",{character:"\\eba3"}),e.pass=new e("pass",{character:"\\eba4"}),e.stopCircle=new e("stop-circle",{character:"\\eba5"}),e.playCircle=new e("play-circle",{character:"\\eba6"}),e.record=new e("record",{character:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{character:"\\eba8"}),e.vmConnect=new e("vm-connect",{character:"\\eba9"}),e.cloud=new e("cloud",{character:"\\ebaa"}),e.merge=new e("merge",{character:"\\ebab"})})(El||(El={}));const xl=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function Sl(e){return e.replace(xl,(e,t,n,i,o)=>t?`$(${n})`:`<span class="codicon codicon-${i}${o?" codicon-animation-"+o:""}"></span>`)}const Dl=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function kl(e){return-1===e.indexOf(ml)?e:e.replace(Dl,(e,t,n,i)=>n?e:t||i||"")}class Ml{constructor(e,t){this.language=e,this.id=t}}class Nl{static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(1792&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t=this.getForeground(e),n="mtk"+t,i=this.getFontStyle(e);return 1&i&&(n+=" mtki"),2&i&&(n+=" mtkb"),4&i&&(n+=" mtku"),n}static getInlineStyleFromMetadata(e,t){const n=this.getForeground(e),i=this.getFontStyle(e);let o=`color: ${t[n]};`;return 1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;"),4&i&&(o+="text-decoration: underline;"),o}}(function(){let e=Object.create(null);e[0]="symbol-method",e[1]="symbol-function",e[2]="symbol-constructor",e[3]="symbol-field",e[4]="symbol-variable",e[5]="symbol-class",e[6]="symbol-struct",e[7]="symbol-interface",e[8]="symbol-module",e[9]="symbol-property",e[10]="symbol-event",e[11]="symbol-operator",e[12]="symbol-unit",e[13]="symbol-value",e[14]="symbol-constant",e[15]="symbol-enum",e[16]="symbol-enum-member",e[17]="symbol-keyword",e[27]="symbol-snippet",e[18]="symbol-text",e[19]="symbol-color",e[20]="symbol-file",e[21]="symbol-reference",e[22]="symbol-customcolor",e[23]="symbol-folder",e[24]="symbol-type-parameter",e[25]="account",e[26]="issues"})();(function(){let e=Object.create(null);e["method"]=0,e["function"]=1,e["constructor"]=2,e["field"]=3,e["variable"]=4,e["class"]=5,e["struct"]=6,e["interface"]=7,e["module"]=8,e["property"]=9,e["event"]=10,e["operator"]=11,e["unit"]=12,e["value"]=13,e["constant"]=14,e["enum"]=15,e["enum-member"]=16,e["enumMember"]=16,e["keyword"]=17,e["snippet"]=27,e["text"]=18,e["color"]=19,e["file"]=20,e["reference"]=21,e["customcolor"]=22,e["folder"]=23,e["type-parameter"]=24,e["typeParameter"]=24,e["account"]=25,e["issue"]=26})();var Ll,Bl,Il;(function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"})(Ll||(Ll={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(Bl||(Bl={})),function(e){const t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);const n=new Map;function i(e){return t.get(e)}function o(e){return n.get(e)}function r(e,t){const i=n.get(e);let o=i&&Al.get("symbol-"+i);return o||(o=El.symbolProperty),`${t?"inline":"block"} ${o.classNames}`}n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=i,e.toString=o,e.toCssClassName=r}(Il||(Il={}));class Tl{constructor(e){this.value=e}}Tl.Comment=new Tl("comment"),Tl.Imports=new Tl("imports"),Tl.Region=new Tl("region");const Ol=new Ea,Rl=new Ea,Pl=new Ea,Fl=new Ea,jl=new Ea,Ql=new Ea,zl=new Ea,Vl=new Ea,Wl=new Ea,Hl=new Ea,Ul=new Ea,Yl=new Ea,Gl=new Ea,Kl=new Ea,ql=new Ea,Jl=new Ea,Xl=new Ea,$l=new Ea,Zl=new Ea,ec=new Ea,tc=new Ea,nc=new Ea,ic=new Ea,oc=new xa;class rc{clone(){return this}equals(e){return this===e}}const sc=new rc,ac="vs.editor.nullMode",lc=new Ml(ac,0);function cc(e,t,n,i){return new bn([new mn(i,"",e)],n)}function hc(e,t,n,i){let o=new Uint32Array(2);return o[0]=i,o[1]=(16384|e<<0|2<<23)>>>0,new vn(o,null===n?sc:n)}const uc="editorWorkerService",dc=ii(uc),pc=ii("textModelService"),fc="$initialize";let gc=!1;function mc(e){y["h"]&&(gc||(gc=!0))}class bc{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((i,o)=>{this._pendingReplies[n]={resolve:i,reject:o},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return;let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req,i=this._handler.handleMessage(t.method,t.args);i.then(e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Ne(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:Ne(e)})})}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e<n.args.length;e++)n.args[e]instanceof ArrayBuffer&&t.push(n.args[e])}else{const n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)}}class vc extends Ge{constructor(e,t,n){super();let i=null;this._worker=this._register(e.create("vs/base/common/worker/simpleWorker",e=>{this._protocol.handleMessage(e)},e=>{i&&i(e)})),this._protocol=new bc({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!==typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(i){return Promise.reject(i)}}}),this._protocol.setWorkerId(this._worker.getId());let o=null;"undefined"!==typeof self.require&&"function"===typeof self.require.getConfig?o=self.require.getConfig():"undefined"!==typeof self.requirejs&&(o=self.requirejs.s.contexts._.config);const r=is(n);this._onModuleLoaded=this._protocol.sendMessage(fc,[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,r]);const s=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,n)=>{i=n,this._onModuleLoaded.then(t=>{e(os(t,s))},e=>{n(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((n,i)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(n,i)},i)})}_onError(e,t){}}function yc(e,t){if(y["b"].MonacoEnvironment){if("function"===typeof y["b"].MonacoEnvironment.getWorker)return y["b"].MonacoEnvironment.getWorker(e,t);if("function"===typeof y["b"].MonacoEnvironment.getWorkerUrl)return new Worker(y["b"].MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function wc(e){return"function"===typeof e.then}class _c{constructor(e,t,n,i,o){this.id=t;const r=yc("workerMain.js",n);wc(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){i(e.data)},e.onmessageerror=o,"function"===typeof e.addEventListener&&e.addEventListener("error",o)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(n=>n.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class Ac{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++Ac.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new _c(e,i,this._label||"anonymous"+i,t,e=>{mc(e),this._webWorkerFailedBeforeError=e,n(e)})}}var Cc;Ac.LAST_WORKER_ID=0,function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(Cc||(Cc={}));class Ec{constructor(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,n=e.notIn.length;t<n;t++){const n=e.notIn[t];switch(n){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4;break}}}isOK(e){return 0===(this._standardTokenMask&e)}}function xc(e,t){let n=e.getCount(),i=e.findTokenIndexAtOffset(t),o=e.getLanguageId(i),r=i;while(r+1<n&&e.getLanguageId(r+1)===o)r++;let s=i;while(s>0&&e.getLanguageId(s-1)===o)s--;return new Sc(e,o,s,r+1,e.getStartOffset(s),e.getEndOffset(r))}class Sc{constructor(e,t,n,i,o,r){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=i,this.firstCharOffset=o,this._lastCharOffset=r}getLineContent(){const e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){const t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function Dc(e){return 0!==(7&e)}class kc{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new Ec(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new Ec({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const t=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new Ec({open:t.open,close:t.close||""}))}this._autoCloseBefore="string"===typeof e.autoCloseBefore?e.autoCloseBefore:kc.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(e,t,n){if(0===t.getTokenCount())return!0;const i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)}getSurroundingPairs(){return this._surroundingPairs}}let Mc;function Nc(){return Mc||(Mc=new TextDecoder(y["e"]()?"UTF-16LE":"UTF-16BE")),Mc}kc.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";const Lc="undefined"!==typeof TextDecoder;let Bc,Ic;function Tc(e,t,n){const i=new Uint16Array(e.buffer,t,n);return Nc().decode(i)}function Oc(e,t,n){let i=[],o=0;for(let r=0;r<n;r++){const n=Ir["b"](e,t);t+=2,i[o++]=String.fromCharCode(n)}return i.join("")}Lc?(Bc=e=>new Rc(e),Ic=Tc):(Bc=e=>new Pc,Ic=Oc);class Rc{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return Nc().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||Rr["D"](e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class Pc{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}class Fc{constructor(e,t,n,i,o,r){this.languageIdentifier=e,this.index=t,this.open=n,this.close=i,this.forwardRegex=o,this.reversedRegex=r,this._openSet=Fc._toSet(this.open),this._closeSet=Fc._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const n of e)t.add(n);return t}}function jc(e){const t=e.length;e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]);const n=[];for(let s=0;s<t;s++)n[s]=s;const i=(e,t)=>{const[n,i]=e,[o,r]=t;return n===o||n===r||i===o||i===r},o=(e,i)=>{const o=Math.min(e,i),r=Math.max(e,i);for(let s=0;s<t;s++)n[s]===r&&(n[s]=o)};for(let s=0;s<t;s++){const r=e[s];for(let a=s+1;a<t;a++){const t=e[a];i(r,t)&&o(n[s],n[a])}}const r=[];for(let s=0;s<t;s++){let i=[],o=[];for(let r=0;r<t;r++)if(n[r]===s){const[t,n]=e[r];i.push(t),o.push(n)}i.length>0&&r.push({open:i,close:o})}return r}class Qc{constructor(e,t){const n=jc(t);this.brackets=n.map((t,i)=>new Fc(e,i,t.open,t.close,Hc(t.open,t.close,n,i),Uc(t.open,t.close,n,i))),this.forwardRegex=Yc(this.brackets),this.reversedRegex=Gc(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const i of this.brackets){for(const e of i.open)this.textIsBracket[e]=i,this.textIsOpenBracket[e]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,e.length);for(const e of i.close)this.textIsBracket[e]=i,this.textIsOpenBracket[e]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,e.length)}}}function zc(e,t,n,i){for(let o=0,r=t.length;o<r;o++){if(o===n)continue;const r=t[o];for(const t of r.open)t.indexOf(e)>=0&&i.push(t);for(const t of r.close)t.indexOf(e)>=0&&i.push(t)}}function Vc(e,t){return e.length-t.length}function Wc(e){if(e.length<=1)return e;const t=[],n=new Set;for(const i of e)n.has(i)||(t.push(i),n.add(i));return t}function Hc(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let r=0,s=o.length;r<s;r++)zc(o[r],n,i,o);return o=Wc(o),o.sort(Vc),o.reverse(),qc(o)}function Uc(e,t,n,i){let o=[];o=o.concat(e),o=o.concat(t);for(let r=0,s=o.length;r<s;r++)zc(o[r],n,i,o);return o=Wc(o),o.sort(Vc),o.reverse(),qc(o.map(Jc))}function Yc(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=Wc(t),qc(t)}function Gc(e){let t=[];for(const n of e){for(const e of n.open)t.push(e);for(const e of n.close)t.push(e)}return t=Wc(t),qc(t.map(Jc))}function Kc(e){const t=/^[\w ]+$/.test(e);return e=Rr["t"](e),t?`\\b${e}\\b`:e}function qc(e){let t=`(${e.map(Kc).join(")|(")})`;return Rr["o"](t,!0)}const Jc=function(){function e(e){if(Lc){const t=new Uint16Array(e.length);let n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charCodeAt(i);return Nc().decode(t)}{let t=[],n=0;for(let i=e.length-1;i>=0;i--)t[n++]=e.charAt(i);return t.join("")}}let t=null,n=null;return function(i){return t!==i&&(t=i,n=e(t)),n}}();class Xc{static _findPrevBracketInText(e,t,n,i){let o=n.match(e);if(!o)return null;let r=n.length-(o.index||0),s=o[0].length,a=i+r;return new fn(t,a-s+1,t,a+1)}static findPrevBracketInRange(e,t,n,i,o){const r=Jc(n),s=r.substring(n.length-o,n.length-i);return this._findPrevBracketInText(e,t,s,i)}static findNextBracketInText(e,t,n,i){let o=n.match(e);if(!o)return null;let r=o.index||0,s=o[0].length;if(0===s)return null;let a=i+r;return new fn(t,a+1,t,a+1+s)}static findNextBracketInRange(e,t,n,i,o){const r=n.substring(i,o);return this.findNextBracketInText(e,t,r,i)}}class $c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const t of this._richEditBrackets.brackets)for(const n of t.close){const t=n.charAt(n.length-1);e.push(t)}return e=e.filter((e,t,n)=>n.indexOf(e)===t),e}onElectricCharacter(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;const i=t.findTokenIndexAtOffset(n-1);if(Dc(t.getStandardTokenType(i)))return null;const o=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,s=Xc.findPrevBracketInRange(o,1,r,0,r.length);if(!s)return null;const a=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase(),l=this._richEditBrackets.textIsOpenBracket[a];if(l)return null;const c=t.getActualLineContentBefore(s.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:a}:null}}class Zc{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}class eh{constructor(e){e=e||{},e.brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{const t=eh._createOpenBracketRegExp(e[0]),n=eh._createCloseBracketRegExp(e[1]);t&&n&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:n})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,n,i){if(e>=3)for(let o=0,r=this._regExpRules.length;o<r;o++){let e=this._regExpRules[o];const r=[{reg:e.beforeText,text:n},{reg:e.afterText,text:i},{reg:e.oneLineAboveText,text:t}].every(e=>!e.reg||e.reg.test(e.text));if(r)return e.action}if(e>=2&&n.length>0&&i.length>0)for(let o=0,r=this._brackets.length;o<r;o++){let e=this._brackets[o];if(e.openRegExp.test(n)&&e.closeRegExp.test(i))return{indentAction:Cc.IndentOutdent}}if(e>=2&&n.length>0)for(let o=0,r=this._brackets.length;o<r;o++){let e=this._brackets[o];if(e.openRegExp.test(n))return{indentAction:Cc.Indent}}return null}static _createOpenBracketRegExp(e){let t=Rr["t"](e);return/\B/.test(t.charAt(0))||(t="\\b"+t),t+="\\s*$",eh._safeRegExp(t)}static _createCloseBracketRegExp(e){let t=Rr["t"](e);return/\B/.test(t.charAt(t.length-1))||(t+="\\b"),t="^\\s*"+t,eh._safeRegExp(t)}static _safeRegExp(e){try{return new RegExp(e)}catch(t){return Me(t),null}}}class th{constructor(e,t,n){this._languageIdentifier=e,this._brackets=null,this._electricCharacter=null;let i=null;t&&(i=t._conf),this._conf=th._mergeConf(i,n),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new eh(this._conf):null,this.comments=th._handleComments(this._conf),this.characterPair=new kc(this._conf),this.wordDefinition=this._conf.wordPattern||A,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new Zc(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}get brackets(){return!this._brackets&&this._conf.brackets&&(this._brackets=new Qc(this._languageIdentifier,this._conf.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new $c(this.brackets)),this._electricCharacter}onEnter(e,t,n,i){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,i):null}static _mergeConf(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}}static _handleComments(e){let t=e.comments;if(!t)return null;let n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){let[e,i]=t.blockComment;n.blockCommentStartToken=e,n.blockCommentEndToken=i}return n}}class nh{constructor(e){this.languageIdentifier=e}}class ih{constructor(){this._entries=new Map,this._onDidChange=new et,this.onDidChange=this._onDidChange.event}register(e,t){let n=this._getRichEditSupport(e.id),i=new th(e,n,t);return this._entries.set(e.id,i),this._onDidChange.fire(new nh(e)),Ue(()=>{this._entries.get(e.id)===i&&(this._entries.set(e.id,n),this._onDidChange.fire(new nh(e)))})}_getRichEditSupport(e){return this._entries.get(e)}getIndentationRules(e){const t=this._entries.get(e);return t&&t.indentationRules||null}_getElectricCharacterSupport(e){let t=this._getRichEditSupport(e);return t&&t.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,n){let i=xc(t,n-1),o=this._getElectricCharacterSupport(i.languageId);return o?o.onElectricCharacter(e,i,n-i.firstCharOffset):null}getComments(e){let t=this._getRichEditSupport(e);return t&&t.comments||null}_getCharacterPairSupport(e){let t=this._getRichEditSupport(e);return t&&t.characterPair||null}getAutoClosingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():kc.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}shouldAutoClosePair(e,t,n){const i=xc(t,n-1);return kc.shouldAutoClosePair(e,i,n-i.firstCharOffset)}getWordDefinition(e){let t=this._getRichEditSupport(e);return C(t&&t.wordDefinition||null)}getFoldingRules(e){let t=this._getRichEditSupport(e);return t?t.foldingRules:{}}getIndentRulesSupport(e){let t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null}getPrecedingValidLine(e,t,n){let i=e.getLanguageIdAtPosition(t,0);if(t>1){let o,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;let t=e.getLineContent(o);if(!n.shouldIgnore(t)&&!/^\s+$/.test(t)&&""!==t)return o;r=o}}return-1}getInheritIndentForLine(e,t,n,i=!0){if(e<4)return null;const o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};const r=this.getPrecedingValidLine(t,n,o);if(r<0)return null;if(r<1)return{indentation:"",action:null};const s=t.getLineContent(r);if(o.shouldIncrease(s)||o.shouldIndentNextLine(s))return{indentation:Rr["x"](s),action:Cc.Indent,line:r};if(o.shouldDecrease(s))return{indentation:Rr["x"](s),action:null,line:r};{if(1===r)return{indentation:Rr["x"](t.getLineContent(r)),action:null,line:r};const e=r-1,n=o.getIndentMetadata(t.getLineContent(e));if(!(3&n)&&4&n){let n=0;for(let i=e-1;i>0;i--)if(!o.shouldIndentNextLine(t.getLineContent(i))){n=i;break}return{indentation:Rr["x"](t.getLineContent(n+1)),action:null,line:n+1}}if(i)return{indentation:Rr["x"](t.getLineContent(r)),action:null,line:r};for(let i=r;i>0;i--){const e=t.getLineContent(i);if(o.shouldIncrease(e))return{indentation:Rr["x"](e),action:Cc.Indent,line:i};if(o.shouldIndentNextLine(e)){let e=0;for(let n=i-1;n>0;n--)if(!o.shouldIndentNextLine(t.getLineContent(i))){e=n;break}return{indentation:Rr["x"](t.getLineContent(e+1)),action:null,line:e+1}}if(o.shouldDecrease(e))return{indentation:Rr["x"](e),action:null,line:i}}return{indentation:Rr["x"](t.getLineContent(1)),action:null,line:1}}}getGoodIndentForLine(e,t,n,i,o){if(e<4)return null;const r=this._getRichEditSupport(n);if(!r)return null;const s=this.getIndentRulesSupport(n);if(!s)return null;const a=this.getInheritIndentForLine(e,t,i),l=t.getLineContent(i);if(a){const n=a.line;if(void 0!==n){const i=r.onEnter(e,"",t.getLineContent(n),"");if(i){let e=Rr["x"](t.getLineContent(n));return i.removeText&&(e=e.substring(0,e.length-i.removeText)),i.indentAction===Cc.Indent||i.indentAction===Cc.IndentOutdent?e=o.shiftIndent(e):i.indentAction===Cc.Outdent&&(e=o.unshiftIndent(e)),s.shouldDecrease(l)&&(e=o.unshiftIndent(e)),i.appendText&&(e+=i.appendText),Rr["x"](e)}}return s.shouldDecrease(l)?a.action===Cc.Indent?a.indentation:o.unshiftIndent(a.indentation):a.action===Cc.Indent?o.shiftIndent(a.indentation):a.indentation}return null}getIndentForEnter(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);const o=t.getLineTokens(n.startLineNumber),r=xc(o,n.startColumn-1),s=r.getLineContent();let a,l,c=!1;if(r.firstCharOffset>0&&o.getLanguageId(0)!==r.languageId?(c=!0,a=s.substr(0,n.startColumn-1-r.firstCharOffset)):a=o.getLineContent().substring(0,n.startColumn-1),n.isEmpty())l=s.substr(n.startColumn-1-r.firstCharOffset);else{const e=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);l=e.getLineContent().substr(n.endColumn-1-r.firstCharOffset)}const h=this.getIndentRulesSupport(r.languageId);if(!h)return null;const u=a,d=Rr["x"](a),p={getLineTokens:e=>t.getLineTokens(e),getLanguageIdentifier:()=>t.getLanguageIdentifier(),getLanguageIdAtPosition:(e,n)=>t.getLanguageIdAtPosition(e,n),getLineContent:e=>e===n.startLineNumber?u:t.getLineContent(e)},f=Rr["x"](o.getLineContent()),g=this.getInheritIndentForLine(e,p,n.startLineNumber+1);if(!g){const e=c?f:d;return{beforeEnter:e,afterEnter:e}}let m=c?f:g.indentation;return g.action===Cc.Indent&&(m=i.shiftIndent(m)),h.shouldDecrease(l)&&(m=i.unshiftIndent(m)),{beforeEnter:c?f:d,afterEnter:m}}getIndentActionForType(e,t,n,i,o){if(e<4)return null;const r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;const a=r.getLineContent(),l=a.substr(0,n.startColumn-1-r.firstCharOffset);let c;if(n.isEmpty())c=a.substr(n.startColumn-1-r.firstCharOffset);else{const e=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);c=e.getLineContent().substr(n.endColumn-1-r.firstCharOffset)}if(!s.shouldDecrease(l+c)&&s.shouldDecrease(l+i+c)){const i=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!i)return null;let r=i.indentation;return i.action!==Cc.Indent&&(r=o.unshiftIndent(r)),r}return null}getIndentMetadata(e,t){const n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null}getEnterAction(e,t,n){const i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;const r=i.getLineContent(),s=r.substr(0,n.startColumn-1-i.firstCharOffset);let a;if(n.isEmpty())a=r.substr(n.startColumn-1-i.firstCharOffset);else{const e=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);a=e.getLineContent().substr(n.endColumn-1-i.firstCharOffset)}let l="";if(n.startLineNumber>1&&0===i.firstCharOffset){const e=this.getScopedLineTokens(t,n.startLineNumber-1);e.languageId===i.languageId&&(l=e.getLineContent())}const c=o.onEnter(e,l,s,a);if(!c)return null;const h=c.indentAction;let u=c.appendText;const d=c.removeText||0;u||(u=h===Cc.Indent||h===Cc.IndentOutdent?"\t":"");let p=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return d&&(p=p.substring(0,p.length-d)),{indentAction:h,appendText:u,removeText:d,indentation:p}}getIndentationAtPosition(e,t,n){const i=e.getLineContent(t);let o=Rr["x"](i);return o.length>n-1&&(o=o.substring(0,n-1)),o}getScopedLineTokens(e,t,n){e.forceTokenization(t);const i=e.getLineTokens(t),o="undefined"===typeof n?e.getLineMaxColumn(t)-1:n-1;return xc(i,o)}getBracketsSupport(e){const t=this._getRichEditSupport(e);return t&&t.brackets||null}}const oh=new ih;class rh{constructor(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function sh(e,t){return(t<<5)-t+e|0}function ah(e,t){t=sh(149417,t);for(let n=0,i=e.length;n<i;n++)t=sh(e.charCodeAt(n),t);return t}function lh(e,t,n=32){const i=n-t,o=~((1<<i)-1);return(e<<t|(o&e)>>>i)>>>0}function ch(e,t=0,n=e.byteLength,i=0){for(let o=0;o<n;o++)e[t+o]=i}function hh(e,t,n="0"){while(e.length<t)e=n+e;return e}function uh(e,t=32){return hh((e>>>0).toString(16),t/4)}class dh{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,o,r=this._buffLen,s=this._leftoverHighSurrogate;0!==s?(i=s,o=-1,s=0):(i=e.charCodeAt(0),o=0);while(1){let a=i;if(Rr["D"](i)){if(!(o+1<t)){s=i;break}{const t=e.charCodeAt(o+1);Rr["E"](t)?(o++,a=Rr["i"](i,t)):a=65533}}else Rr["E"](i)&&(a=65533);if(r=this._push(n,r,a),o++,!(o<t))break;i=e.charCodeAt(o)}this._buffLen=r,this._leftoverHighSurrogate=s}_push(e,t,n){return n<128?e[t++]=n:n<2048?(e[t++]=192|(1984&n)>>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),uh(this._h0)+uh(this._h1)+uh(this._h2)+uh(this._h3)+uh(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,ch(this._buff,this._buffLen),this._buffLen>56&&(this._step(),ch(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=dh._bigBlock32,t=this._buffDV;for(let h=0;h<64;h+=4)e.setUint32(h,t.getUint32(h,!1),!1);for(let h=64;h<320;h+=4)e.setUint32(h,lh(e.getUint32(h-12,!1)^e.getUint32(h-32,!1)^e.getUint32(h-56,!1)^e.getUint32(h-64,!1),1),!1);let n,i,o,r=this._h0,s=this._h1,a=this._h2,l=this._h3,c=this._h4;for(let h=0;h<80;h++)h<20?(n=s&a|~s&l,i=1518500249):h<40?(n=s^a^l,i=1859775393):h<60?(n=s&a|s&l|a&l,i=2400959708):(n=s^a^l,i=3395469782),o=lh(r,5)+n+c+i+e.getUint32(4*h,!1)&4294967295,c=l,l=a,a=lh(s,30),s=r,r=o;this._h0=this._h0+r&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+l&4294967295,this._h4=this._h4+c&4294967295}}dh._bigBlock32=new DataView(new ArrayBuffer(320));class ph{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)t[n]=e.charCodeAt(n);return t}}function fh(e,t,n){return new vh(new ph(e),new ph(t)).ComputeDiff(n).changes}class gh{static Assert(e,t){if(!e)throw new Error(t)}}class mh{static Copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}static Copy2(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}}class bh{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new rh(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class vh{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,o,r]=vh._getElements(e),[s,a,l]=vh._getElements(t);this._hasStrings=r&&l,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"===typeof e[0]}static _getElements(e){const t=e.getElements();if(vh._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n<i;n++)e[n]=ah(t[n],0);return[t,e,!0]}return t instanceof Int32Array?[[],t,!1]:[[],new Int32Array(t),!1]}ElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])}OriginalElementsAreEqual(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])}ModifiedElementsAreEqual(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,t,n,i,o){const r=[!1];let s=this.ComputeDiffRecursive(e,t,n,i,r);return o&&(s=this.PrettifyChanges(s)),{quitEarly:r[0],changes:s}}ComputeDiffRecursive(e,t,n,i,o){o[0]=!1;while(e<=t&&n<=i&&this.ElementsAreEqual(e,n))e++,n++;while(t>=e&&i>=n&&this.ElementsAreEqual(t,i))t--,i--;if(e>t||n>i){let o;return n<=i?(gh.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new rh(e,0,n,i-n+1)]):e<=t?(gh.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[new rh(e,t-e+1,n,0)]):(gh.Assert(e===t+1,"originalStart should only be one more than originalEnd"),gh.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}const r=[0],s=[0],a=this.ComputeRecursionPoint(e,t,n,i,r,s,o),l=r[0],c=s[0];if(null!==a)return a;if(!o[0]){const r=this.ComputeDiffRecursive(e,l,n,c,o);let s=[];return s=o[0]?[new rh(l+1,t-(l+1)+1,c+1,i-(c+1)+1)]:this.ComputeDiffRecursive(l+1,t,c+1,i,o),this.ConcatenateChanges(r,s)}return[new rh(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,o,r,s,a,l,c,h,u,d,p,f,g,m,b){let v=null,y=null,w=new bh,_=t,A=n,C=d[0]-g[0]-i,E=-1073741824,x=this.m_forwardHistory.length-1;do{const t=C+e;t===_||t<A&&l[t-1]<l[t+1]?(h=l[t+1],p=h-C-i,h<E&&w.MarkNextChange(),E=h,w.AddModifiedElement(h+1,p),C=t+1-e):(h=l[t-1]+1,p=h-C-i,h<E&&w.MarkNextChange(),E=h-1,w.AddOriginalElement(h,p+1),C=t-1-e),x>=0&&(l=this.m_forwardHistory[x],e=l[0],_=1,A=l.length-1)}while(--x>=-1);if(v=w.getReverseChanges(),b[0]){let e=d[0]+1,t=g[0]+1;if(null!==v&&v.length>0){const n=v[v.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new rh(e,u-e+1,t,f-t+1)]}else{w=new bh,_=r,A=s,C=d[0]-g[0]-a,E=1073741824,x=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=C+o;e===_||e<A&&c[e-1]>=c[e+1]?(h=c[e+1]-1,p=h-C-a,h>E&&w.MarkNextChange(),E=h+1,w.AddOriginalElement(h+1,p+1),C=e+1-o):(h=c[e-1],p=h-C-a,h>E&&w.MarkNextChange(),E=h,w.AddModifiedElement(h+1,p+1),C=e-1-o),x>=0&&(c=this.m_reverseHistory[x],o=c[0],_=1,A=c.length-1)}while(--x>=-1);y=w.getChanges()}return this.ConcatenateChanges(v,y)}ComputeRecursionPoint(e,t,n,i,o,r,s){let a=0,l=0,c=0,h=0,u=0,d=0;e--,n--,o[0]=0,r[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const p=t-e+(i-n),f=p+1,g=new Int32Array(f),m=new Int32Array(f),b=i-n,v=t-e,y=e-n,w=t-i,_=v-b,A=_%2===0;g[b]=e,m[v]=t,s[0]=!1;for(let C=1;C<=p/2+1;C++){let p=0,_=0;c=this.ClipDiagonalBound(b-C,C,b,f),h=this.ClipDiagonalBound(b+C,C,b,f);for(let e=c;e<=h;e+=2){a=e===c||e<h&&g[e-1]<g[e+1]?g[e+1]:g[e-1]+1,l=a-(e-b)-y;const n=a;while(a<t&&l<i&&this.ElementsAreEqual(a+1,l+1))a++,l++;if(g[e]=a,a+l>p+_&&(p=a,_=l),!A&&Math.abs(e-v)<=C-1&&a>=m[e])return o[0]=a,r[0]=l,n<=m[e]&&C<=1448?this.WALKTRACE(b,c,h,y,v,u,d,w,g,m,a,t,o,l,i,r,A,s):null}const E=(p-e+(_-n)-C)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(p,E))return s[0]=!0,o[0]=p,r[0]=_,E>0&&C<=1448?this.WALKTRACE(b,c,h,y,v,u,d,w,g,m,a,t,o,l,i,r,A,s):(e++,n++,[new rh(e,t-e+1,n,i-n+1)]);u=this.ClipDiagonalBound(v-C,C,v,f),d=this.ClipDiagonalBound(v+C,C,v,f);for(let f=u;f<=d;f+=2){a=f===u||f<d&&m[f-1]>=m[f+1]?m[f+1]-1:m[f-1],l=a-(f-v)-w;const p=a;while(a>e&&l>n&&this.ElementsAreEqual(a,l))a--,l--;if(m[f]=a,A&&Math.abs(f-b)<=C&&a<=g[f])return o[0]=a,r[0]=l,p>=g[f]&&C<=1448?this.WALKTRACE(b,c,h,y,v,u,d,w,g,m,a,t,o,l,i,r,A,s):null}if(C<=1447){let e=new Int32Array(h-c+2);e[0]=b-c+1,mh.Copy2(g,c,e,1,h-c+1),this.m_forwardHistory.push(e),e=new Int32Array(d-u+2),e[0]=v-u+1,mh.Copy2(m,u,e,1,d-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,c,h,y,v,u,d,w,g,m,a,t,o,l,i,r,A,s)}PrettifyChanges(e){for(let t=0;t<e.length;t++){const n=e[t],i=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,o=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,r=n.originalLength>0,s=n.modifiedLength>0;while(n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<o&&(!r||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!s||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength)))n.originalStart++,n.modifiedStart++;let a=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],a)&&(e[t]=a[0],e.splice(t+1,1),t--)}for(let t=e.length-1;t>=0;t--){const n=e[t];let i=0,o=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(o=n.modifiedStart+n.modifiedLength)}const r=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(t<i||c<o)break;if(r&&!this.OriginalElementsAreEqual(t,t+n.originalLength))break;if(s&&!this.ModifiedElementsAreEqual(c,c+n.modifiedLength))break;const h=this._boundaryScore(t,n.originalLength,c,n.modifiedLength);h>l&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a}return e}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){const o=this._OriginalRegionIsBoundary(e,t)?1:0,r=this._ModifiedRegionIsBoundary(n,i)?1:0;return o+r}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return mh.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],mh.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return mh.Copy(e,0,n,0,e.length),mh.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(gh.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),gh.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let o=e.originalLength;const r=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new rh(i,o,r,s),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e<i)return e;const o=n,r=i-n-1,s=t%2===0;if(e<0){const e=o%2===0;return s===e?0:1}{const e=r%2===0;return s===e?i-1:i-2}}}const yh=3;function wh(e,t,n,i){const o=new vh(e,t,n);return o.ComputeDiff(i)}class _h{constructor(e){const t=[],n=[];for(let i=0,o=e.length;i<o;i++)t[i]=Dh(e[i],1),n[i]=kh(e[i],1);this.lines=e,this._startColumns=t,this._endColumns=n}getElements(){const e=[];for(let t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,t,n){const i=[],o=[],r=[];let s=0;for(let a=t;a<=n;a++){const t=this.lines[a],n=e?this._startColumns[a]:1,l=e?this._endColumns[a]:t.length+1;for(let e=n;e<l;e++)i[s]=t.charCodeAt(e-1),o[s]=a+1,r[s]=e,s++}return new Ah(i,o,r)}}class Ah{constructor(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}getElements(){return this._charCodes}getStartLineNumber(e){return this._lineNumbers[e]}getStartColumn(e){return this._columns[e]}getEndLineNumber(e){return this._lineNumbers[e]}getEndColumn(e){return this._columns[e]+1}}class Ch{constructor(e,t,n,i,o,r,s,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=o,this.modifiedStartColumn=r,this.modifiedEndLineNumber=s,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){let i,o,r,s,a,l,c,h;return 0===e.originalLength?(i=0,o=0,r=0,s=0):(i=t.getStartLineNumber(e.originalStart),o=t.getStartColumn(e.originalStart),r=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(a=0,l=0,c=0,h=0):(a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new Ch(i,o,r,s,a,l,c,h)}}function Eh(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let i=1,o=e.length;i<o;i++){const o=e[i],r=o.originalStart-(n.originalStart+n.originalLength),s=o.modifiedStart-(n.modifiedStart+n.modifiedLength),a=Math.min(r,s);a<yh?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}class xh{constructor(e,t,n,i,o){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=o}static createFromDiffResult(e,t,n,i,o,r,s){let a,l,c,h,u=void 0;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=i.getStartLineNumber(t.modifiedStart)-1,h=0):(c=i.getStartLineNumber(t.modifiedStart),h=i.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),r&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&o()){const r=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=i.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);let l=wh(r,a,o,!0).changes;s&&(l=Eh(l)),u=[];for(let e=0,t=l.length;e<t;e++)u.push(Ch.createFromDiffChange(l[e],r,a))}return new xh(a,l,c,h,u)}}class Sh{constructor(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new _h(e),this.modified=new _h(t),this.continueLineDiff=Mh(n.maxComputationTime),this.continueCharDiff=Mh(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};const e=wh(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let n=0,i=t.length;n<i;n++)e.push(xh.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[n],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:e}}const i=[];let o=0,r=0;for(let s=-1,a=t.length;s<a;s++){const e=s+1<a?t[s+1]:null,n=e?e.originalStart:this.originalLines.length,l=e?e.modifiedStart:this.modifiedLines.length;while(o<n&&r<l){const e=this.originalLines[o],t=this.modifiedLines[r];if(e!==t){{let n=Dh(e,1),s=Dh(t,1);while(n>1&&s>1){const i=e.charCodeAt(n-2),o=t.charCodeAt(s-2);if(i!==o)break;n--,s--}(n>1||s>1)&&this._pushTrimWhitespaceCharChange(i,o+1,1,n,r+1,1,s)}{let n=kh(e,1),s=kh(t,1);const a=e.length+1,l=t.length+1;while(n<a&&s<l){const t=e.charCodeAt(n-1),i=e.charCodeAt(s-1);if(t!==i)break;n++,s++}(n<a||s<l)&&this._pushTrimWhitespaceCharChange(i,o+1,n,a,r+1,s,l)}}o++,r++}e&&(i.push(xh.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),o+=e.originalLength,r+=e.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,t,n,i,o,r,s){if(this._mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s))return;let a=void 0;this.shouldComputeCharChanges&&(a=[new Ch(t,n,t,i,o,r,o,s)]),e.push(new xh(t,t,o,o,a))}_mergeTrimWhitespaceCharChange(e,t,n,i,o,r,s){const a=e.length;if(0===a)return!1;const l=e[a-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===o&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=o,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new Ch(t,n,t,i,o,r,o,s)),!0))}}function Dh(e,t){const n=Rr["u"](e);return-1===n?t:n+1}function kh(e,t){const n=Rr["H"](e);return-1===n?t:n+2}function Mh(e){if(0===e)return()=>!0;const t=Date.now();return()=>Date.now()-t<e}function Nh(e){return e<0?0:e>255?255:0|e}function Lh(e){return e<0?0:e>4294967295?4294967295:0|e}class Bh{constructor(e,t){this.index=e,this.remainder=t}}class Ih{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,t){e=Lh(e);const n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Lh(e),t=Lh(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Lh(e),t=Lh(t);const n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Lh(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,n=this.values.length-1,i=0,o=0,r=0;while(t<=n)if(i=t+(n-t)/2|0,o=this.prefixSum[i],r=o-this.values[i],e<r)n=i-1;else{if(!(e>=o))break;t=i+1}return new Bh(i,e-r)}}class Th{constructor(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const n of t)this._acceptDeleteRange(n.range),this._acceptInsertText(new pn(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let i=0;i<t;i++)n[i]=this._lines[i].length+e;this._lineStarts=new Ih(n)}}_setLineText(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,t){if(0===t.length)return;let n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let o=1;o<n.length;o++)this._lines.splice(e.lineNumber+o-1,0,n[o]),i[o-1]=n[o].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}}class Oh{constructor(e){let t=Nh(e);this._defaultValue=t,this._asciiMap=Oh._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let n=0;n<256;n++)t[n]=e;return t}set(e,t){let n=Nh(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class Rh{constructor(e,t,n){const i=new Uint8Array(e*t);for(let o=0,r=e*t;o<r;o++)i[o]=n;this._data=i,this.rows=e,this.cols=t}get(e,t){return this._data[e*this.cols+t]}set(e,t,n){this._data[e*this.cols+t]=n}}class Ph{constructor(e){let t=0,n=0;for(let o=0,r=e.length;o<r;o++){let[i,r,s]=e[o];r>t&&(t=r),i>n&&(n=i),s>n&&(n=s)}t++,n++;let i=new Rh(n,t,0);for(let o=0,r=e.length;o<r;o++){let[t,n,r]=e[o];i.set(t,n,r)}this._states=i,this._maxCharCode=t}nextState(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)}}let Fh=null;function jh(){return null===Fh&&(Fh=new Ph([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Fh}let Qh=null;function zh(){if(null===Qh){Qh=new Oh(0);const e=" \t<>'\"、。。、,.:;‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…";for(let n=0;n<e.length;n++)Qh.set(e.charCodeAt(n),1);const t=".,;";for(let n=0;n<t.length;n++)Qh.set(t.charCodeAt(n),2)}return Qh}class Vh{static _createLink(e,t,n,i,o){let r=o-1;do{const n=t.charCodeAt(r),i=e.get(n);if(2!==i)break;r--}while(r>i);if(i>0){const e=t.charCodeAt(i-1),n=t.charCodeAt(r);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}}static computeLinks(e,t=jh()){const n=zh();let i=[];for(let o=1,r=e.getLineCount();o<=r;o++){const r=e.getLineContent(o),s=r.length;let a=0,l=0,c=0,h=1,u=!1,d=!1,p=!1,f=!1;while(a<s){let e=!1;const s=r.charCodeAt(a);if(13===h){let t;switch(s){case 40:u=!0,t=0;break;case 41:t=u?0:1;break;case 91:p=!0,d=!0,t=0;break;case 93:p=!1,t=d?0:1;break;case 123:f=!0,t=0;break;case 125:t=f?0:1;break;case 39:t=34===c||96===c?0:1;break;case 34:t=39===c||96===c?0:1;break;case 96:t=39===c||34===c?0:1;break;case 42:t=42===c?1:0;break;case 124:t=124===c?1:0;break;case 32:t=p?0:1;break;default:t=n.get(s)}1===t&&(i.push(Vh._createLink(n,r,o,l,a)),e=!0)}else if(12===h){let t;91===s?(d=!0,t=0):t=n.get(s),1===t?e=!0:h=13}else h=t.nextState(h,s),0===h&&(e=!0);e&&(h=1,u=!1,d=!1,f=!1,l=a+1,c=s),a++}13===h&&i.push(Vh._createLink(n,r,o,l,s))}return i}}function Wh(e){return e&&"function"===typeof e.getLineCount&&"function"===typeof e.getLineContent?Vh.computeLinks(e):[]}class Hh{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,t,n,i,o){if(e&&t){let n=this.doNavigateValueSet(t,o);if(n)return{range:e,value:n}}if(n&&i){let e=this.doNavigateValueSet(i,o);if(e)return{range:n,value:e}}return null}doNavigateValueSet(e,t){let n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)}numberReplace(e,t){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),o=parseFloat(e);return isNaN(i)||isNaN(o)||i!==o?null:0!==i||t?(i=Math.floor(i*n),i+=t?n:-n,String(i/n)):null}textReplace(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)}valueSetsReplace(e,t,n){let i=null;for(let o=0,r=e.length;null===i&&o<r;o++)i=this.valueSetReplace(e[o],t,n);return i}valueSetReplace(e,t,n){let i=e.indexOf(t);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}}Hh.INSTANCE=new Hh;var Uh=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Yh extends Th{get uri(){return this._uri}get version(){return this._versionId}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){let n=x(e.column,C(t),this._lines[e.lineNumber-1],0);return n?new fn(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,o="",r=0,s=[];return{*[Symbol.iterator](){while(1)if(r<s.length){const e=o.substring(s[r].start,s[r].end);r+=1,yield e}else{if(!(i<t.length))break;o=t[i],s=n(o,e),r=0,i+=1}}}}getLineWords(e,t){let n=this._lines[e-1],i=this._wordenize(n,t),o=[];for(const r of i)o.push({word:n.substring(r.start,r.end),startColumn:r.start+1,endColumn:r.end+1});return o}_wordenize(e,t){const n=[];let i;t.lastIndex=0;while(i=t.exec(e)){if(0===i[0].length)break;n.push({start:i.index,end:i.index+i[0].length})}return n}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(let r=n+1;r<i;r++)o.push(this._lines[r]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!pn.isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{let e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class Gh{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new Yh(tn.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;let n=this._models[e];n.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,i){return Uh(this,void 0,void 0,(function*(){const o=this._getModel(e),r=this._getModel(t);if(!o||!r)return null;const s=o.getLinesContent(),a=r.getLinesContent(),l=new Sh(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),c=l.computeDiff(),h=!(c.changes.length>0)&&this._modelsAreIdentical(o,r);return{quitEarly:c.quitEarly,identical:h,changes:c.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount(),i=t.getLineCount();if(n!==i)return!1;for(let o=1;o<=n;o++){const n=e.getLineContent(o),i=t.getLineContent(o);if(n!==i)return!1}return!0}computeMoreMinimalEdits(e,t){return Uh(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const i=[];let o=void 0;t=Ji(t,(e,t)=>{if(e.range&&t.range)return fn.compareRangesUsingStarts(e.range,t.range);let n=e.range?0:1,i=t.range?0:1;return n-i});for(let{range:e,text:r,eol:s}of t){if("number"===typeof s&&(o=s),fn.isEmpty(e)&&!r)continue;const t=n.getValueInRange(e);if(r=r.replace(/\r\n|\n|\r/g,n.eol),t===r)continue;if(Math.max(r.length,t.length)>Gh._diffLimit){i.push({range:e,text:r});continue}const a=fh(t,r,!1),l=n.offsetAt(fn.lift(e).getStartPosition());for(const e of a){const t=n.positionAt(l+e.originalStart),o=n.positionAt(l+e.originalStart+e.originalLength),s={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:o.lineNumber,endColumn:o.column}};n.getValueInRange(s.range)!==s.text&&i.push(s)}}return"number"===typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return Uh(this,void 0,void 0,(function*(){let t=this._getModel(e);return t?Wh(t):null}))}textualSuggest(e,t,n,i){return Uh(this,void 0,void 0,(function*(){const o=this._getModel(e);if(!o)return null;const r=[],s=new Set,a=new RegExp(n,i),l=o.getWordAtPosition(t,a);l&&s.add(o.getValueInRange(l));for(let e of o.words(a))if(!s.has(e)&&(s.add(e),isNaN(Number(e))&&(r.push(e),s.size>Gh._suggestionsLimit)))break;return r}))}computeWordRanges(e,t,n,i){return Uh(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return Object.create(null);const r=new RegExp(n,i),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){let t=o.getLineWords(e,r);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,i,o){return Uh(this,void 0,void 0,(function*(){let r=this._getModel(e);if(!r)return null;let s=new RegExp(i,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});let a=r.getValueInRange(t),l=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return null;let c=r.getValueInRange(l),h=Hh.INSTANCE.navigateValueSet(t,a,l,c,n);return h}))}loadForeignModule(e,t,n){const i=(e,t)=>this._host.fhr(e,t),o=os(n,i);let r={host:o,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(is(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}}}Gh._diffLimit=1e5,Gh._suggestionsLimit=1e4,"function"===typeof importScripts&&(y["b"].monaco=Zn());const Kh=ii("textResourceConfigurationService"),qh=ii("textResourcePropertiesService"),Jh=ii("logService");var Xh;(function(e){e[e["Trace"]=0]="Trace",e[e["Debug"]=1]="Debug",e[e["Info"]=2]="Info",e[e["Warning"]=3]="Warning",e[e["Error"]=4]="Error",e[e["Critical"]=5]="Critical",e[e["Off"]=6]="Off"})(Xh||(Xh={}));const $h=Xh.Info;class Zh extends Ge{constructor(){super(...arguments),this.level=$h,this._onDidChangeLogLevel=this._register(new et)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class eu extends Zh{constructor(e=$h){super(),this.setLevel(e)}trace(e,...t){this.getLevel(),Xh.Trace}info(e,...t){this.getLevel(),Xh.Info}error(e,...t){this.getLevel(),Xh.Error}dispose(){}}const tu=y["b"].performance&&"function"===typeof y["b"].performance.now;class nu{constructor(e){this._highResolution=tu&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new nu(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?y["b"].performance.now():(new Date).getTime()}}var iu=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ou=function(e,t){return function(n,i){t(n,i,e)}},ru=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const su=6e4,au=3e5;function lu(e,t){let n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}let cu=class extends Ge{constructor(e,t,n){super(),this._modelService=e,this._workerManager=this._register(new uu(this._modelService)),this._logService=n,this._register($l.register("*",{provideLinks:(e,t)=>lu(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(Pl.register("*",new hu(this._workerManager,t,this._modelService)))}dispose(){super.dispose()}canComputeDiff(e,t){return lu(this._modelService,e)&&lu(this._modelService,t)}computeDiff(e,t,n,i){return this._workerManager.withWorker().then(o=>o.computeDiff(e,t,n,i))}computeMoreMinimalEdits(e,t){if(to(t)){if(!lu(this._modelService,e))return Promise.resolve(t);const n=nu.create(!0),i=this._workerManager.withWorker().then(n=>n.computeMoreMinimalEdits(e,t));return i.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),n.elapsed())),i}return Promise.resolve(void 0)}canNavigateValueSet(e){return lu(this._modelService,e)}navigateValueSet(e,t,n){return this._workerManager.withWorker().then(i=>i.navigateValueSet(e,t,n))}canComputeWordRanges(e){return lu(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,t))}};cu=iu([ou(0,_a),ou(1,Kh),ou(2,Jh)],cu);class hu{constructor(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}provideCompletionItems(e,t){return ru(this,void 0,void 0,(function*(){const{wordBasedSuggestions:n}=this._configurationService.getValue(e.uri,t,"editor");if(!n)return;if(!lu(this._modelService,e.uri))return;const i=e.getWordAtPosition(t),o=i?new fn(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn):fn.fromPositions(t),r=o.setEndPosition(t.lineNumber,t.column),s=yield this._workerManager.withWorker(),a=yield s.textualSuggest(e.uri,t);return a?{suggestions:a.map(e=>({kind:18,label:e,insertText:e,range:{insert:r,replace:o}}))}:void 0}))}}class uu extends Ge{constructor(e){super(),this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime();let t=this._register(new Wi);t.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(au/2)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;let e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;let e=(new Date).getTime()-this._lastWorkerUsedTime;e>au&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new gu(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class du extends Ge{constructor(e,t,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){let e=new Wi;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(su/2)),this._register(e)}}dispose(){for(let e in this._syncedModels)We(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e){for(const t of e){let e=t.toString();this._syncedModels[e]||this._beginModelSync(t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=(new Date).getTime())}}_checkStopModelSync(){let e=(new Date).getTime(),t=[];for(let n in this._syncedModelsLastUsedTime){let i=e-this._syncedModelsLastUsedTime[n];i>su&&t.push(n)}for(const n of t)this._stopModelSync(n)}_beginModelSync(e){let t=this._modelService.getModel(e);if(!t)return;if(t.isTooLargeForSyncing())return;let n=e.toString();this._proxy.acceptNewModel({url:t.uri.toString(),lines:t.getLinesContent(),EOL:t.getEOL(),versionId:t.getVersionId()});const i=new Ye;i.add(t.onDidChangeContent(e=>{this._proxy.acceptModelChanged(n.toString(),e)})),i.add(t.onWillDispose(()=>{this._stopModelSync(n)})),i.add(Ue(()=>{this._proxy.acceptRemovedModel(n)})),this._syncedModels[n]=i}_stopModelSync(e){let t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],We(t)}}class pu{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class fu{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class gu extends Ge{constructor(e,t,n){super(),this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new Ac(n),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new vc(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new fu(this)))}catch(e){mc(e),this._worker=new pu(new Gh(new fu(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(mc(e),this._worker=new pu(new Gh(new fu(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new du(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e){return this._disposed?Promise.reject(Ie()):this._getProxy().then(t=>(this._getOrCreateModelManager(t).ensureSyncedResources(e),t))}computeDiff(e,t,n,i){return this._withSyncedResources([e,t]).then(o=>o.computeDiff(e.toString(),t.toString(),n,i))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(n=>n.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return null;let o=oh.getWordDefinition(i.getLanguageIdentifier().id),r=o.source,s=Object(Rr["L"])(o);return n.textualSuggest(e.toString(),t,r,s)})}computeWordRanges(e,t){return this._withSyncedResources([e]).then(n=>{let i=this._modelService.getModel(e);if(!i)return Promise.resolve(null);let o=oh.getWordDefinition(i.getLanguageIdentifier().id),r=o.source,s=Object(Rr["L"])(o);return n.computeWordRanges(e.toString(),t,r,s)})}navigateValueSet(e,t,n){return this._withSyncedResources([e]).then(i=>{let o=this._modelService.getModel(e);if(!o)return null;let r=oh.getWordDefinition(o.getLanguageIdentifier().id),s=r.source,a=Object(Rr["L"])(r);return i.navigateValueSet(e.toString(),t,n,s,a)})}dispose(){super.dispose(),this._disposed=!0}}function mu(e,t){return new bu(e,t)}class bu extends gu{constructor(e,t){super(e,t.keepIdleModels||!1,t.label),this._foreignModuleId=t.moduleId,this._foreignModuleCreateData=t.createData||null,this._foreignModuleHost=t.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!==typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(n){return Promise.reject(n)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const t=this._foreignModuleHost?is(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;const n=(t,n)=>e.fmr(t,n),i=(e,t)=>function(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let o={};for(const e of t)o[e]=i(e,n);return o})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}class vu{constructor(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}equals(e){return e instanceof vu&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;const i=t<<1,o=i+(n<<1);for(let r=i;r<o;r++)if(this._tokens[r]!==e._tokens[r])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){const t=this._tokens[1+(e<<1)];return t}getLanguageId(e){const t=this._tokens[1+(e<<1)];return Nl.getLanguageId(t)}getStandardTokenType(e){const t=this._tokens[1+(e<<1)];return Nl.getTokenType(t)}getForeground(e){const t=this._tokens[1+(e<<1)];return Nl.getForeground(t)}getClassName(e){const t=this._tokens[1+(e<<1)];return Nl.getClassNameFromMetadata(t)}getInlineStyle(e,t){const n=this._tokens[1+(e<<1)];return Nl.getInlineStyleFromMetadata(n,t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return vu.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,n){return new yu(this,e,t,n)}static convertToEndOffset(e,t){const n=e.length>>>1,i=n-1;for(let o=0;o<i;o++)e[o<<1]=e[o+1<<1];e[i<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let n=0,i=(e.length>>>1)-1;while(n<i){const o=n+Math.floor((i-n)/2),r=e[o<<1];if(r===t)return o+1;r<t?n=o+1:r>t&&(i=o)}return n}}class yu{constructor(e,t,n,i){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=i,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let o=this._firstTokenIndex,r=e.getCount();o<r;o++){const t=e.getStartOffset(o);if(t>=n)break;this._tokensCount++}}equals(e){return e instanceof yu&&(this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount))}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}class wu{constructor(e,t,n,i){this.startColumn=e,this.endColumn=t,this.className=n,this.type=i}static _equals(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type}static equalsArr(e,t){const n=e.length,i=t.length;if(n!==i)return!1;for(let o=0;o<n;o++)if(!wu._equals(e[o],t[o]))return!1;return!0}static filter(e,t,n,i){if(0===e.length)return[];let o=[],r=0;for(let s=0,a=e.length;s<a;s++){const a=e[s],l=a.range;if(l.endLineNumber<t||l.startLineNumber>t)continue;if(l.isEmpty()&&(0===a.type||3===a.type))continue;const c=l.startLineNumber===t?l.startColumn:n,h=l.endLineNumber===t?l.endColumn:i;o[r++]=new wu(c,h,a.inlineClassName,a.type)}return o}static _typeCompare(e,t){const n=[2,0,1,3];return n[e]-n[t]}static compare(e,t){if(e.startColumn===t.startColumn){if(e.endColumn===t.endColumn){const n=wu._typeCompare(e.type,t.type);return 0===n?e.className<t.className?-1:e.className>t.className?1:0:n}return e.endColumn-t.endColumn}return e.startColumn-t.startColumn}}class _u{constructor(e,t,n,i){this.startOffset=e,this.endOffset=t,this.className=n,this.metadata=i}}class Au{constructor(){this.stopOffsets=[],this.classNames=[],this.metadata=[],this.count=0}static _metadata(e){let t=0;for(let n=0,i=e.length;n<i;n++)t|=e[n];return t}consumeLowerThan(e,t,n){while(this.count>0&&this.stopOffsets[0]<e){let e=0;while(e+1<this.count&&this.stopOffsets[e]===this.stopOffsets[e+1])e++;n.push(new _u(t,this.stopOffsets[e],this.classNames.join(" "),Au._metadata(this.metadata))),t=this.stopOffsets[e]+1,this.stopOffsets.splice(0,e+1),this.classNames.splice(0,e+1),this.metadata.splice(0,e+1),this.count-=e+1}return this.count>0&&t<e&&(n.push(new _u(t,e-1,this.classNames.join(" "),Au._metadata(this.metadata))),t=e),t}insert(e,t,n){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t),this.metadata.push(n);else for(let i=0;i<this.count;i++)if(this.stopOffsets[i]>=e){this.stopOffsets.splice(i,0,e),this.classNames.splice(i,0,t),this.metadata.splice(i,0,n);break}this.count++}}class Cu{static normalize(e,t){if(0===t.length)return[];let n=[];const i=new Au;let o=0;for(let r=0,s=t.length;r<s;r++){const s=t[r];let a=s.startColumn,l=s.endColumn;const c=s.className,h=1===s.type?2:2===s.type?4:0;if(a>1){const t=e.charCodeAt(a-2);Rr["D"](t)&&a--}if(l>1){const t=e.charCodeAt(l-2);Rr["D"](t)&&l--}const u=a-1,d=l-2;o=i.consumeLowerThan(u,o,n),0===i.count&&(o=u),i.insert(d,c,h)}return i.consumeLowerThan(1073741824,o,n),n}}class Eu{constructor(e,t,n){this.endIndex=e,this.type=t,this.metadata=n}isWhitespace(){return!!(1&this.metadata)}}class xu{constructor(e,t){this.startOffset=e,this.endOffset=t}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class Su{constructor(e,t,n,i,o,r,s,a,l,c,h,u,d,p,f,g,m,b,v){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=i,this.isBasicASCII=o,this.containsRTL=r,this.fauxIndentLength=s,this.lineTokens=a,this.lineDecorations=l,this.tabSize=c,this.startVisibleColumn=h,this.spaceWidth=u,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===g?4:"boundary"===g?1:"selection"===g?2:"trailing"===g?3:0,this.renderControlCharacters=m,this.fontLigatures=b,this.selectionsOnLine=v&&v.sort((e,t)=>e.startOffset<t.startOffset?-1:1);const y=Math.abs(p-u),w=Math.abs(d-u);y<w?(this.renderSpaceWidth=p,this.renderSpaceCharCode=11825):(this.renderSpaceWidth=d,this.renderSpaceCharCode=183)}sameSelection(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(let t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0}equals(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.renderSpaceWidth===e.renderSpaceWidth&&this.renderSpaceCharCode===e.renderSpaceCharCode&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&wu.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)}}class Du{constructor(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}static getPartIndex(e){return(4294901760&e)>>>16}static getCharIndex(e){return(65535&e)>>>0}setPartData(e,t,n,i){let o=(t<<16|n<<0)>>>0;this._data[e]=o,this._absoluteOffsets[e]=i+n}getAbsoluteOffsets(){return this._absoluteOffsets}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}partDataToCharOffset(e,t,n){if(0===this.length)return 0;let i=(e<<16|n<<0)>>>0,o=0,r=this.length-1;while(o+1<r){let e=o+r>>>1,t=this._data[e];if(t===i)return e;t>i?r=e:o=e}if(o===r)return o;let s=this._data[o],a=this._data[r];if(s===i)return o;if(a===i)return r;let l,c=Du.getPartIndex(s),h=Du.getCharIndex(s),u=Du.getPartIndex(a);l=c!==u?t:Du.getCharIndex(a);let d=n-h,p=l-n;return d<=p?o:r}}class ku{constructor(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}}function Mu(e,t){if(0===e.lineContent.length){let n=0,i="<span><span></span></span>";if(e.lineDecorations.length>0){const t=[],o=[];for(let i=0,r=e.lineDecorations.length;i<r;i++){const r=e.lineDecorations[i];1===r.type&&(t.push(e.lineDecorations[i].className),n|=1),2===r.type&&(o.push(e.lineDecorations[i].className),n|=2)}if(0!==n){const e=t.length>0?`<span class="${t.join(" ")}"></span>`:"",n=o.length>0?`<span class="${o.join(" ")}"></span>`:"";i=`<span>${e}${n}</span>`}}return t.appendASCIIString(i),new ku(new Du(0,0),!1,n)}return Fu(Iu(e),t)}class Nu{constructor(e,t,n,i){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=i}}function Lu(e){let t=Bc(1e4),n=Mu(e,t);return new Nu(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}class Bu{constructor(e,t,n,i,o,r,s,a,l,c,h,u,d,p,f){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=i,this.isOverflowing=o,this.parts=r,this.containsForeignElements=s,this.fauxIndentLength=a,this.tabSize=l,this.startVisibleColumn=c,this.containsRTL=h,this.spaceWidth=u,this.renderSpaceCharCode=d,this.renderWhitespace=p,this.renderControlCharacters=f}}function Iu(e){const t=e.lineContent;let n,i;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<t.length?(n=!0,i=e.stopRenderingLineAfter):(n=!1,i=t.length);let o=Tu(e.lineTokens,e.fauxIndentLength,i);(4===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine||3===e.renderWhitespace)&&(o=Ru(e,t,i,o));let r=0;if(e.lineDecorations.length>0){for(let t=0,n=e.lineDecorations.length;t<n;t++){const n=e.lineDecorations[t];3===n.type||1===n.type?r|=1:2===n.type&&(r|=2)}o=Pu(t,i,o,e.lineDecorations)}return e.containsRTL||(o=Ou(t,o,!e.isBasicASCII||e.fontLigatures)),new Bu(e.useMonospaceOptimizations,e.canUseHalfwidthRightwardsArrow,t,i,n,o,r,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.renderSpaceCharCode,e.renderWhitespace,e.renderControlCharacters)}function Tu(e,t,n){let i=[],o=0;t>0&&(i[o++]=new Eu(t,"",0));for(let r=0,s=e.getCount();r<s;r++){const s=e.getEndOffset(r);if(s<=t)continue;const a=e.getClassName(r);if(s>=n){i[o++]=new Eu(n,a,0);break}i[o++]=new Eu(s,a,0)}return i}function Ou(e,t,n){let i=0,o=[],r=0;if(n)for(let s=0,a=t.length;s<a;s++){const n=t[s],a=n.endIndex;if(i+50<a){const t=n.type,s=n.metadata;let l=-1,c=i;for(let n=i;n<a;n++)32===e.charCodeAt(n)&&(l=n),-1!==l&&n-c>=50&&(o[r++]=new Eu(l+1,t,s),c=l+1,l=-1);c!==a&&(o[r++]=new Eu(a,t,s))}else o[r++]=n;i=a}else for(let s=0,a=t.length;s<a;s++){const e=t[s],n=e.endIndex;let a=n-i;if(a>50){const t=e.type,s=e.metadata,l=Math.ceil(a/50);for(let e=1;e<l;e++){let n=i+50*e;o[r++]=new Eu(n,t,s)}o[r++]=new Eu(n,t,s)}else o[r++]=e;i=n}return o}function Ru(e,t,n,i){const o=e.continuesWithWrappedLine,r=e.fauxIndentLength,s=e.tabSize,a=e.startVisibleColumn,l=e.useMonospaceOptimizations,c=e.selectionsOnLine,h=1===e.renderWhitespace,u=3===e.renderWhitespace,d=e.renderSpaceWidth!==e.spaceWidth;let p=[],f=0,g=0,m=i[g].type,b=i[g].endIndex;const v=i.length;let y,w=!1,_=Rr["u"](t);-1===_?(w=!0,_=n,y=n):y=Rr["H"](t);let A=!1,C=0,E=c&&c[C],x=a%s;for(let D=r;D<n;D++){const e=t.charCodeAt(D);let o;if(E&&D>=E.endOffset&&(C++,E=c&&c[C]),D<_||D>y)o=!0;else if(9===e)o=!0;else if(32===e)if(h)if(A)o=!0;else{const e=D+1<n?t.charCodeAt(D+1):0;o=32===e||9===e}else o=!0;else o=!1;if(o&&c&&(o=!!E&&E.startOffset<=D&&E.endOffset>D),o&&u&&(o=w||D>y),A){if(!o||!l&&x>=s){if(d){const e=f>0?p[f-1].endIndex:r;for(let t=e+1;t<=D;t++)p[f++]=new Eu(t,"mtkw",1)}else p[f++]=new Eu(D,"mtkw",1);x%=s}}else(D===b||o&&D>r)&&(p[f++]=new Eu(D,m,0),x%=s);9===e?x=s:Rr["C"](e)?x+=2:x++,A=o;while(D===b)g++,g<v&&(m=i[g].type,b=i[g].endIndex)}let S=!1;if(A)if(o&&h){let e=n>0?t.charCodeAt(n-1):0,i=n>1?t.charCodeAt(n-2):0,o=32===e&&32!==i&&9!==i;o||(S=!0)}else S=!0;if(S)if(d){const e=f>0?p[f-1].endIndex:r;for(let t=e+1;t<=n;t++)p[f++]=new Eu(t,"mtkw",1)}else p[f++]=new Eu(n,"mtkw",1);else p[f++]=new Eu(n,m,0);return p}function Pu(e,t,n,i){i.sort(wu.compare);const o=Cu.normalize(e,i),r=o.length;let s=0,a=[],l=0,c=0;for(let u=0,d=n.length;u<d;u++){const e=n[u],t=e.endIndex,i=e.type,h=e.metadata;while(s<r&&o[s].startOffset<t){const e=o[s];if(e.startOffset>c&&(c=e.startOffset,a[l++]=new Eu(c,i,h)),!(e.endOffset+1<=t)){c=t,a[l++]=new Eu(c,i+" "+e.className,h|e.metadata);break}c=e.endOffset+1,a[l++]=new Eu(c,i+" "+e.className,h|e.metadata),s++}t>c&&(c=t,a[l++]=new Eu(c,i,h))}const h=n[n.length-1].endIndex;if(s<r&&o[s].startOffset===h){let e=[],t=0;while(s<r&&o[s].startOffset===h)e.push(o[s].className),t|=o[s].metadata,s++;a[l++]=new Eu(c,e.join(" "),t)}return a}function Fu(e,t){const n=e.fontIsMonospace,i=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,r=e.lineContent,s=e.len,a=e.isOverflowing,l=e.parts,c=e.fauxIndentLength,h=e.tabSize,u=e.startVisibleColumn,d=e.containsRTL,p=e.spaceWidth,f=e.renderSpaceCharCode,g=e.renderWhitespace,m=e.renderControlCharacters,b=new Du(s+1,l.length);let v=0,y=u,w=0,_=0,A=0,C=0;d?t.appendASCIIString('<span dir="ltr">'):t.appendASCIIString("<span>");for(let E=0,x=l.length;E<x;E++){C+=A;const e=l[E],s=e.endIndex,a=e.type,u=0!==g&&e.isWhitespace(),d=u&&!n&&("mtkw"===a||!o),x=v===s&&4===e.metadata;if(w=0,t.appendASCIIString('<span class="'),t.appendASCIIString(d?"mtkz":a),t.appendASCII(34),u){let e=0;{let t=v,n=y;for(;t<s;t++){const i=r.charCodeAt(t),o=0|(9===i?h-n%h:1);e+=o,t>=c&&(n+=o)}}for(d&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(p*e)),t.appendASCIIString('px"')),t.appendASCII(62);v<s;v++){b.setPartData(v,E-_,w,C),_=0;const e=r.charCodeAt(v);let n;if(9===e){n=h-y%h|0,!i||n>1?t.write1(8594):t.write1(65515);for(let e=2;e<=n;e++)t.write1(160)}else n=1,t.write1(f);w+=n,v>=c&&(y+=n)}A=e}else{let e=0;for(t.appendASCII(62);v<s;v++){b.setPartData(v,E-_,w,C),_=0;const n=r.charCodeAt(v);let i=1,o=1;switch(n){case 9:i=h-y%h,o=i;for(let e=1;e<=i;e++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("&lt;");break;case 62:t.appendASCIIString("&gt;");break;case 38:t.appendASCIIString("&amp;");break;case 0:t.appendASCIIString("&#00;");break;case 65279:case 8232:case 8233:case 133:t.write1(65533);break;default:Rr["C"](n)&&o++,m&&n<32?t.write1(9216+n):t.write1(n)}w+=i,e+=i,v>=c&&(y+=o)}A=e}x?_++:_=0,t.appendASCIIString("</span>")}return b.setPartData(s,l.length-1,w,C),a&&t.appendASCIIString("<span>&hellip;</span>"),t.appendASCIIString("</span>"),new ku(b,d,o)}class ju{constructor(e,t,n,i){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|i}}class Qu{constructor(e,t){this.tabSize=e,this.data=t}}class zu{constructor(e,t,n,i,o,r){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=i,this.startVisibleColumn=o,this.tokens=r}}class Vu{constructor(e,t,n,i,o,r,s,a,l,c){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=i,this.isBasicASCII=Vu.isBasicASCII(n,r),this.containsRTL=Vu.containsRTL(n,this.isBasicASCII,o),this.tokens=s,this.inlineDecorations=a,this.tabSize=l,this.startVisibleColumn=c}static isBasicASCII(e,t){return!t||Rr["z"](e)}static containsRTL(e,t,n){return!(t||!n)&&Rr["l"](e)}}class Wu{constructor(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}}class Hu{constructor(e,t){this.range=e,this.options=t}}function Uu(e){return Array.isArray(e)}function Yu(e){return!Uu(e)}function Gu(e){return"string"===typeof e}function Ku(e){return!Gu(e)}function qu(e){return!e}function Ju(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Xu(e){return e.replace(/[&<>'"_]/g,"-")}function $u(e,t){}function Zu(e,t){return new Error(`${e.languageId}: ${t}`)}function ed(e,t,n,i,o){const r=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let s=null;return t.replace(r,(function(t,r,a,l,c,h,u,d,p){return qu(a)?qu(l)?!qu(c)&&c<i.length?Ju(e,i[c]):!qu(u)&&e&&"string"===typeof e[u]?e[u]:(null===s&&(s=o.split("."),s.unshift(o)),!qu(h)&&h<s.length?Ju(e,s[h]):""):Ju(e,n):"$"}))}function td(e,t){let n=t;while(n&&n.length>0){const t=e.tokenizer[n];if(t)return t;const i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null}function nd(e,t){let n=t;while(n&&n.length>0){const t=e.stateNames[n];if(t)return!0;const i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return!1}const id=5;class od{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new rd(e,t);let n=rd.getStackElementId(e);n.length>0&&(n+="|"),n+=t;let i=this._entries[n];return i||(i=new rd(e,t),this._entries[n]=i,i)}}od._INSTANCE=new od(id);class rd{constructor(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let t="";while(null!==e)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t}static _equals(e,t){while(null!==e&&null!==t){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t}equals(e){return rd._equals(this,e)}push(e){return od.create(this,e)}pop(){return this.parent}popall(){let e=this;while(e.parent)e=e.parent;return e}switchTo(e){return od.create(this.parent,e)}}class sd{constructor(e,t){this.modeId=e,this.state=t}equals(e){return this.modeId===e.modeId&&this.state.equals(e.state)}clone(){let e=this.state.clone();return e===this.state?this:new sd(this.modeId,this.state)}}class ad{constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}static create(e,t){return this._INSTANCE.create(e,t)}create(e,t){if(null!==t)return new ld(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new ld(e,t);let n=rd.getStackElementId(e),i=this._entries[n];return i||(i=new ld(e,null),this._entries[n]=i,i)}}ad._INSTANCE=new ad(id);class ld{constructor(e,t){this.stack=e,this.embeddedModeData=t}clone(){let e=this.embeddedModeData?this.embeddedModeData.clone():null;return e===this.embeddedModeData?this:ad.create(this.stack,this.embeddedModeData)}equals(e){return e instanceof ld&&(!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData)))}}class cd{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(e,t){this._language=t}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new mn(e,t,this._language)))}nestedModeTokenize(e,t,n){const i=t.modeId,o=t.state,r=oc.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;let s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState}finalize(e){return new bn(this._tokens,e)}}class hd{constructor(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id}emit(e,t){let n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,t,n){let i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;let s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(let a=0;a<o;a++)s[i+a]=t[a];return null!==n&&s.set(n,i+o),s}nestedModeTokenize(e,t,n){const i=t.modeId,o=t.state,r=oc.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;let s=r.tokenize2(e,o,n);return this._prependTokens=hd._merge(this._prependTokens,this._tokens,s.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,s.endState}finalize(e){return new vn(hd._merge(this._prependTokens,this._tokens,null),e)}}class ud{constructor(e,t,n,i){this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=i,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);let o=!1;this._tokenizationRegistryListener=oc.onDidChange(e=>{if(o)return;let t=!1;for(let n=0,i=e.changedLanguages.length;n<i;n++){let i=e.changedLanguages[n];if(this._embeddedModes[i]){t=!0;break}}t&&(o=!0,oc.fire([this._modeId]),o=!1)})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){let e=[];for(let t in this._embeddedModes){const n=oc.get(t);if(n){if(n instanceof ud){const t=n.getLoadStatus();!1===t.loaded&&e.push(t.promise)}continue}const i=oc.getPromise(t);i&&e.push(i)}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(e=>{})}}getInitialState(){let e=od.create(null,this._lexer.start);return ad.create(e,null)}tokenize(e,t,n){let i=new cd,o=this._tokenize(e,t,n,i);return i.finalize(o)}tokenize2(e,t,n){let i=new hd(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,t,n,i);return i.finalize(o)}_tokenize(e,t,n,i){return t.embeddedModeData?this._nestedTokenize(e,t,n,i):this._myTokenize(e,t,n,i)}_findLeavingNestedModeOffset(e,t){let n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=td(this._lexer,t.stack.state),!n))throw Zu(this._lexer,"tokenizer state is not defined: "+t.stack.state);let i=-1,o=!1;for(const r of n){if(!Ku(r.action)||"@pop"!==r.action.nextEmbedded)continue;o=!0;let t=r.regex,n=r.regex.source;if("^(?:"===n.substr(0,4)&&")"===n.substr(n.length-1,1)){let e=(t.ignoreCase?"i":"")+(t.unicode?"u":"");t=new RegExp(n.substr(4,n.length-5),e)}let s=e.search(t);-1===s||0!==s&&r.matchOnlyAtLineStart||(-1===i||s<i)&&(i=s)}if(!o)throw Zu(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return i}_nestedTokenize(e,t,n,i){let o=this._findLeavingNestedModeOffset(e,t);if(-1===o){let o=i.nestedModeTokenize(e,t.embeddedModeData,n);return ad.create(t.stack,new sd(t.embeddedModeData.modeId,o))}let r=e.substring(0,o);r.length>0&&i.nestedModeTokenize(r,t.embeddedModeData,n);let s=e.substring(o);return this._myTokenize(s,t,n+o,i)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,t,n,i){i.enterMode(n,this._modeId);const o=e.length;let r=t.embeddedModeData,s=t.stack,a=0,l=null,c=!0;while(c||a<o){const t=a,h=s.depth,u=l?l.groups.length:0,d=s.state;let p=null,f=null,g=null,m=null,b=null;if(l){p=l.matches;const e=l.groups.shift();f=e.matched,g=e.action,m=l.rule,0===l.groups.length&&(l=null)}else{if(!c&&a>=o)break;c=!1;let t=this._lexer.tokenizer[d];if(!t&&(t=td(this._lexer,d),!t))throw Zu(this._lexer,"tokenizer state is not defined: "+d);let n=e.substr(a);for(const e of t)if((0===a||!e.matchOnlyAtLineStart)&&(p=n.match(e.regex),p)){f=p[0],g=e.action;break}}if(p||(p=[""],f=""),g||(a<o&&(p=[e.charAt(a)],f=p[0]),g=this._lexer.defaultToken),null===f)break;a+=f.length;while(Yu(g)&&Ku(g)&&g.test)g=g.test(f,p,d,a===o);let v=null;if("string"===typeof g||Array.isArray(g))v=g;else if(g.group)v=g.group;else if(null!==g.token&&void 0!==g.token){if(v=g.tokenSubst?ed(this._lexer,g.token,f,p,d):g.token,g.nextEmbedded)if("@pop"===g.nextEmbedded){if(!r)throw Zu(this._lexer,"cannot pop embedded mode if not inside one");r=null}else{if(r)throw Zu(this._lexer,"cannot enter embedded mode from within an embedded mode");b=ed(this._lexer,g.nextEmbedded,f,p,d)}if(g.goBack&&(a=Math.max(0,a-g.goBack)),g.switchTo&&"string"===typeof g.switchTo){let e=ed(this._lexer,g.switchTo,f,p,d);if("@"===e[0]&&(e=e.substr(1)),!td(this._lexer,e))throw Zu(this._lexer,"trying to switch to a state '"+e+"' that is undefined in rule: "+this._safeRuleName(m));s=s.switchTo(e)}else{if(g.transform&&"function"===typeof g.transform)throw Zu(this._lexer,"action.transform not supported");if(g.next)if("@push"===g.next){if(s.depth>=this._lexer.maxStack)throw Zu(this._lexer,"maximum tokenizer stack size reached: ["+s.state+","+s.parent.state+",...]");s=s.push(d)}else if("@pop"===g.next){if(s.depth<=1)throw Zu(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(m));s=s.pop()}else if("@popall"===g.next)s=s.popall();else{let e=ed(this._lexer,g.next,f,p,d);if("@"===e[0]&&(e=e.substr(1)),!td(this._lexer,e))throw Zu(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(m));s=s.push(e)}}g.log&&"string"===typeof g.log&&$u(this._lexer,this._lexer.languageId+": "+ed(this._lexer,g.log,f,p,d))}if(null===v)throw Zu(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(m));const y=t=>{let r=this._modeService.getModeIdForLanguageName(t);r&&(t=r);const l=this._getNestedEmbeddedModeData(t);if(a<o){const t=e.substr(a);return this._nestedTokenize(t,ad.create(s,l),n+a,i)}return ad.create(s,l)};if(Array.isArray(v)){if(l&&l.groups.length>0)throw Zu(this._lexer,"groups cannot be nested: "+this._safeRuleName(m));if(p.length!==v.length+1)throw Zu(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(m));let e=0;for(let t=1;t<p.length;t++)e+=p[t].length;if(e!==f.length)throw Zu(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(m));l={rule:m,matches:p,groups:[]};for(let t=0;t<v.length;t++)l.groups[t]={action:v[t],matched:p[t+1]};a-=f.length}else{{if("@rematch"===v&&(a-=f.length,f="",p=null,v="",null!==b))return y(b);if(0===f.length){if(0===o||h!==s.depth||d!==s.state||(l?l.groups.length:0)!==u)continue;throw Zu(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(m))}let e=null;if(Gu(v)&&0===v.indexOf("@brackets")){let t=v.substr("@brackets".length),n=dd(this._lexer,f);if(!n)throw Zu(this._lexer,"@brackets token returned but no bracket defined as: "+f);e=Xu(n.token+t)}else{let t=""===v?"":v+this._lexer.tokenPostfix;e=Xu(t)}i.emit(t+n,e)}if(null!==b)return y(b)}}return ad.create(s,r)}_getNestedEmbeddedModeData(e){let t=this._locateMode(e);if(t){let e=oc.get(t);if(e)return new sd(t,e.getInitialState())}return new sd(t||ac,sc)}_locateMode(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;let t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t}}function dd(e,t){if(!t)return null;t=Ju(e,t);let n=e.brackets;for(const i of n){if(i.open===t)return{token:i.token,bracketType:1};if(i.close===t)return{token:i.token,bracketType:-1}}return null}function pd(e,t,n,i){return new ud(e,t,n,i)}class fd{static colorizeElement(e,t,n,i){i=i||{};let o=i.theme||"vs",r=i.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return Promise.resolve();e.setTheme(o);let s=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;let a=e=>{n.innerHTML=e};return this.colorize(t,s||"",r,i).then(a,e=>{})}static colorize(e,t,n,i){let o=4;i&&"number"===typeof i.tabSize&&(o=i.tabSize),Rr["R"](t)&&(t=t.substr(1));let r=t.split(/\r\n|\r|\n/),s=e.getModeId(n);if(!s)return Promise.resolve(md(r,o));e.triggerMode(s);const a=oc.get(s);if(a)return gd(r,o,a);const l=oc.getPromise(s);return new Promise(l?(e,t)=>{l.then(n=>{gd(r,o,n).then(e,t)},t)}:(e,t)=>{let n=null,i=null;const a=()=>{n&&(n.dispose(),n=null),i&&(i.dispose(),i=null);const a=oc.get(s);a?gd(r,o,a).then(e,t):e(md(r,o))};i=new Vi,i.cancelAndSet(a,500),n=oc.onDidChange(e=>{e.changedLanguages.indexOf(s)>=0&&a()})})}static colorizeLine(e,t,n,i,o=4){const r=Vu.isBasicASCII(e,t),s=Vu.containsRTL(e,r,n);let a=Lu(new Su(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,0,-1,"none",!1,!1,null));return a.html}static colorizeModelLine(e,t,n=4){let i=e.getLineContent(t);e.forceTokenization(t);let o=e.getLineTokens(t),r=o.inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),r,n)}}function gd(e,t,n){return new Promise((i,o)=>{const r=()=>{const s=bd(e,t,n);if(n instanceof ud){const e=n.getLoadStatus();if(!1===e.loaded)return void e.promise.then(r,o)}i(s)};r()})}function md(e,t){let n=[];const i=16793600,o=new Uint32Array(2);o[0]=0,o[1]=i;for(let r=0,s=e.length;r<s;r++){let i=e[r];o[0]=i.length;const s=new vu(o,i),a=Vu.isBasicASCII(i,!0),l=Vu.containsRTL(i,a,!0);let c=Lu(new Su(!1,!0,i,!1,a,l,0,s,[],t,0,0,0,0,-1,"none",!1,!1,null));n=n.concat(c.html),n.push("<br/>")}return n.join("")}function bd(e,t,n){let i=[],o=n.getInitialState();for(let r=0,s=e.length;r<s;r++){let s=e[r],a=n.tokenize2(s,o,0);vu.convertToEndOffset(a.tokens,s.length);let l=new vu(a.tokens,s);const c=Vu.isBasicASCII(s,!0),h=Vu.containsRTL(s,c,!0);let u=Lu(new Su(!1,!0,s,!1,c,h,0,l.inflate(),[],t,0,0,0,0,-1,"none",!1,!1,null));i=i.concat(u.html),i.push("<br/>"),o=a.endState}return i.join("")}var vd;(function(e){e[e["Ignore"]=0]="Ignore",e[e["Info"]=1]="Info",e[e["Warning"]=2]="Warning",e[e["Error"]=3]="Error"})(vd||(vd={})),function(e){const t="error",n="warning",i="warn",o="info";function r(r){return r?Rr["r"](t,r)?e.Error:Rr["r"](n,r)||Rr["r"](i,r)?e.Warning:Rr["r"](o,r)?e.Info:e.Ignore:e.Ignore}e.fromValue=r}(vd||(vd={}));var yd=vd;function wd(e){return!(!e||"function"!==typeof e.getEditorType)&&e.getEditorType()===Ts.ICodeEditor}const _d=ii("IWorkspaceEditService");function Ad(e){return Kr(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))}function Cd(e){return Kr(e)&&tn.isUri(e.resource)&&Kr(e.edit)}class Ed{constructor(e){this.metadata=e}static convert(e){return e.edits.map(e=>{if(Cd(e))return new xd(e.resource,e.edit,e.modelVersionId,e.metadata);if(Ad(e))return new Sd(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")})}}class xd extends Ed{constructor(e,t,n,i){super(i),this.resource=e,this.textEdit=t,this.versionId=n,this.metadata=i}}class Sd extends Ed{constructor(e,t,n,i){super(i),this.oldResource=e,this.newResource=t,this.options=n,this.metadata=i}}class Dd{constructor(){this.data=new Map}add(e,t){vs(Gr(e)),vs(Kr(t)),vs(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}const kd=new Dd,Md={JSONContribution:"base.contributions.json"};function Nd(e){return e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e}class Ld{constructor(){this._onDidChangeSchema=new et,this.schemasById={}}registerSchema(e,t){this.schemasById[Nd(e)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}}const Bd=new Ld;kd.add(Md.JSONContribution,Bd);const Id={Configuration:"base.contributions.configuration"},Td={properties:{},patternProperties:{}},Od={properties:{},patternProperties:{}},Rd={properties:{},patternProperties:{}},Pd={properties:{},patternProperties:{}},Fd={properties:{},patternProperties:{}},jd={properties:{},patternProperties:{}},Qd="vscode://schemas/settings/resourceLanguage",zd=kd.as(Md.JSONContribution);class Vd{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new et,this._onDidUpdateConfiguration=new et,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:v("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},zd.registerSchema(Qd,this.resourceLanguageSettingsSchema)}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=[];e.forEach(e=>{n.push(...this.validateAndRegisterProperties(e,t)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),zd.registerSchema(Qd,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,n=3){n=$r(e.scope)?n:e.scope;let i=[],o=e.properties;if(o)for(let s in o){if(t&&Kd(s)){delete o[s];continue}const e=o[s];this.updatePropertyDefaultValue(s,e),Hd.test(s)?e.scope=void 0:e.scope=$r(e.scope)?n:e.scope,!o[s].hasOwnProperty("included")||o[s].included?(this.configurationProperties[s]=o[s],!o[s].deprecationMessage&&o[s].markdownDeprecationMessage&&(o[s].deprecationMessage=o[s].markdownDeprecationMessage),i.push(s)):(this.excludedConfigurationProperties[s]=o[s],delete o[s])}let r=e.allOf;if(r)for(let s of r)i.push(...this.validateAndRegisterProperties(s,t,n));return i}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{let n=e.properties;if(n)for(const t in n)this.updateSchema(t,n[t]);let i=e.allOf;i&&i.forEach(t)};t(e)}updateSchema(e,t){switch(Td.properties[e]=t,t.scope){case 1:Od.properties[e]=t;break;case 2:Rd.properties[e]=t;break;case 6:Pd.properties[e]=t;break;case 3:Fd.properties[e]=t;break;case 4:jd.properties[e]=t;break;case 5:jd.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t;break}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,n={type:"object",description:v("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:v("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:Qd};this.updatePropertyDefaultValue(t,n),Td.properties[t]=n,Od.properties[t]=n,Rd.properties[t]=n,Pd.properties[t]=n,Fd.properties[t]=n,jd.properties[t]=n}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let n=this.defaultValues[e];Xr(n)&&(n=t.default),Xr(n)&&(n=Yd(t.type)),t.default=n}}const Wd="\\[.*\\]$",Hd=new RegExp(Wd);function Ud(e){return e.substring(1,e.length-1)}function Yd(e){const t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const Gd=new Vd;function Kd(e){return Hd.test(e)?v("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==Gd.getConfigurationProperties()[e]?v("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}kd.add(Id.Configuration,Gd);const qd=Object.prototype.hasOwnProperty;function Jd(e,t){for(let n in e)if(qd.call(e,n)){const i=t({key:n,value:e[n]},(function(){delete e[n]}));if(!1===i)return}}class Xd{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}const $d=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new et,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}},Zd=Object.hasOwnProperty;class ep{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class tp{constructor(){this._values=[]}_read(e){return this._values[e]}_write(e,t){this._values[e]=t}}class np{static readOptions(e){const t=e,n=new tp;for(const i of Ee){const e="_never_"===i.name?void 0:t[i.name];n._write(i.id,e)}return n}static validateOptions(e){const t=new M;for(const n of Ee)t._write(n.id,n.validate(e._read(n.id)));return t}static computeOptions(e,t){const n=new ep;for(const i of Ee)n._write(i.id,i.compute(t,n,e._read(i.id)));return n}static _deepEquals(e,t){if("object"!==typeof e||"object"!==typeof t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&Ki(e,t);for(let n in e)if(!np._deepEquals(e[n],t[n]))return!1;return!0}static checkEquals(e,t){const n=[];let i=!1;for(const o of Ee){const r=!np._deepEquals(e._read(o.id),t._read(o.id));n[o.id]=r,r&&(i=!0)}return i?new k(n):null}}function ip(e){const t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");const n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off");const i=e.autoClosingBrackets;!1===i&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never");const o=e.cursorBlinking;"visible"===o&&(e.cursorBlinking="solid");const r=e.renderWhitespace;!0===r?e.renderWhitespace="boundary":!1===r&&(e.renderWhitespace="none");const s=e.renderLineHighlight;!0===s?e.renderLineHighlight="line":!1===s&&(e.renderLineHighlight="none");const a=e.acceptSuggestionOnEnter;!0===a?e.acceptSuggestionOnEnter="on":!1===a&&(e.acceptSuggestionOnEnter="off");const l=e.tabCompletion;!1===l?e.tabCompletion="off":!0===l&&(e.tabCompletion="onlySnippets");const c=e.suggest;if(c&&"object"===typeof c.filteredTypes&&c.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Jd(e,e=>{const t=c.filteredTypes[e.key];!1===t&&(c[e.value]=t)})}const h=e.hover;!0===h?e.hover={enabled:!0}:!1===h&&(e.hover={enabled:!1});const u=e.parameterHints;!0===u?e.parameterHints={enabled:!0}:!1===u&&(e.parameterHints={enabled:!1});const d=e.autoIndent;!0===d?e.autoIndent="full":!1===d&&(e.autoIndent="advanced");const p=e.matchBrackets;!0===p?e.matchBrackets="always":!1===p&&(e.matchBrackets="never")}function op(e){const t=ys(e);return ip(t),t}class rp extends Ge{constructor(e,t){super(),this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new et),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=e,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new N,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=op(t),this._readOptions=np.readOptions(this._rawOptions),this._validatedOptions=np.validateOptions(this._readOptions),this._register(ks.onDidChangeZoomLevel(e=>this._recomputeOptions())),this._register($d.onDidChangeTabFocus(e=>this._recomputeOptions()))}observeReferenceElement(e){}dispose(){super.dispose()}_recomputeOptions(){const e=this.options,t=this._computeInternalOptions();if(e){const n=np.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChangeFast.fire(n),this._onDidChange.fire(n)}else this.options=t}getRawOptions(){return this._rawOptions}_computeInternalOptions(){const e=this._getEnvConfiguration(),t=Ls.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:$d.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return np.computeOptions(this._validatedOptions,n)}static _subsetEquals(e,t){for(const n in t)if(Zd.call(t,n)){const i=t[n],o=e[n];if(o===i)continue;if(Array.isArray(o)&&Array.isArray(i)){if(!Ki(o,i))return!1;continue}if(o&&"object"===typeof o&&i&&"object"===typeof i){if(!this._subsetEquals(o,i))return!1;continue}return!1}return!0}updateOptions(e){if("undefined"===typeof e)return;const t=op(e);rp._subsetEquals(this._rawOptions,t)||(this._rawOptions=As(this._rawOptions,t||{}),this._readOptions=np.readOptions(this._rawOptions),this._validatedOptions=np.validateOptions(this._readOptions),this._recomputeOptions())}setIsDominatedByLongLines(e){this._isDominatedByLongLines=e,this._recomputeOptions()}setMaxLineNumber(e){const t=rp._digitCount(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}static _digitCount(e){let t=0;while(e)e=Math.floor(e/10),t++;return t||1}}const sp=Object.freeze({id:"editor",order:5,type:"object",title:v("editorConfigurationTitle","Editor"),scope:5}),ap=kd.as(Id.Configuration),lp=Object.assign(Object.assign({},sp),{properties:{"editor.tabSize":{type:"number",default:Ce.tabSize,minimum:1,markdownDescription:v("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:Ce.insertSpaces,markdownDescription:v("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:Ce.detectIndentation,markdownDescription:v("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:Ce.trimAutoWhitespace,description:v("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:Ce.largeFileOptimizations,description:v("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:v("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[v("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),v("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),v("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:v("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:v("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:v("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:v("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:v("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:v("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:v("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:v("codeLens","Controls whether the editor shows CodeLens.")}}});function cp(e){return"undefined"!==typeof e.type||"undefined"!==typeof e.anyOf}for(const Jee of Ee){const e=Jee.schema;if("undefined"!==typeof e)if(cp(e))lp.properties["editor."+Jee.name]=e;else for(let t in e)Zd.call(e,t)&&(lp.properties[t]=e[t])}let hp=null;function up(){return null===hp&&(hp=Object.create(null),Object.keys(lp.properties).forEach(e=>{hp[e]=!0})),hp}function dp(e){const t=up();return t["editor."+e]||!1}function pp(e){const t=up();return t["diffEditor."+e]||!1}ap.registerConfiguration(lp);class fp{static insert(e,t){return{range:new fn(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}const gp=ii("configurationService");function mp(e,t){const n=Object.create(null);for(let i in e)bp(n,i,e[i],t);return n}function bp(e,t,n,i){const o=t.split("."),r=o.pop();let s=e;for(let l=0;l<o.length;l++){let e=o[l],n=s[e];switch(typeof n){case"undefined":n=s[e]=Object.create(null);break;case"object":break;default:return void i(`Ignoring ${t} as ${o.slice(0,l+1).join(".")} is ${JSON.stringify(n)}`)}s=n}if("object"===typeof s&&null!==s)try{s[r]=n}catch(a){i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}else i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}function vp(e,t){const n=t.split(".");yp(e,n)}function yp(e,t){const n=t.shift();if(0!==t.length){if(-1!==Object.keys(e).indexOf(n)){const i=e[n];"object"!==typeof i||Array.isArray(i)||(yp(i,t),0===Object.keys(i).length&&delete e[n])}}else delete e[n]}function wp(e,t,n){function i(e,t){let n=e;for(const i of t){if("object"!==typeof n||null===n)return;n=n[i]}return n}const o=t.split("."),r=i(e,o);return"undefined"===typeof r?n:r}function _p(){const e=kd.as(Id.Configuration).getConfigurationProperties();return Object.keys(e)}function Ap(){const e=Object.create(null),t=kd.as(Id.Configuration).getConfigurationProperties();for(let n in t){let i=t[n].default;bp(e,n,i,e=>{})}return e}class Cp{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?wp(this.contents,e):this.contents}override(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!==typeof t||!Object.keys(t).length)return this;let n={};for(const i of no([...Object.keys(this.contents),...Object.keys(t)])){let e=this.contents[i],o=t[i];o&&("object"===typeof e&&"object"===typeof o?(e=ys(e),this.mergeContents(e,o)):e=o),n[i]=e}return new Cp(n,this.keys,this.overrides)}merge(...e){const t=ys(this.contents),n=ys(this.overrides),i=[...this.keys];for(const o of e){this.mergeContents(t,o.contents);for(const e of o.overrides){const[t]=n.filter(t=>Ki(t.identifiers,e.identifiers));t?this.mergeContents(t.contents,e.contents):n.push(ys(e))}for(const e of o.keys)-1===i.indexOf(e)&&i.push(e)}return new Cp(t,i,n)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const n of Object.keys(t))n in e&&Kr(e[n])&&Kr(t[n])?this.mergeContents(e[n],t[n]):e[n]=ys(t[n])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?ws(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),bp(this.contents,e,t,e=>{throw new Error(e)})}removeValue(e){this.removeKey(e)&&vp(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)}}class Ep extends Cp{constructor(){const e=Ap(),t=_p(),n=[];for(const i of Object.keys(e))Hd.test(i)&&n.push({identifiers:[Ud(i).trim()],keys:Object.keys(e[i]),contents:mp(e[i],e=>{})});super(e,t,n)}}class xp{constructor(e,t,n=new Cp,i=new Cp,o=new zs,r=new Cp,s=new zs,a=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=i,this._folderConfigurations=o,this._memoryConfiguration=r,this._memoryConfigurationByResource=s,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new zs,this._userConfiguration=null}getValue(e,t,n){const i=this.getConsolidateConfigurationModel(t,n);return i.getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new Cp,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const o=this._memoryConfigurationByResource.get(e);o&&(n=n.merge(o))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{const{contents:n,overrides:i,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:o}]),e},[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),i=this.parseConfigurationModel(e.workspace),o=e.folders.reduce((e,t)=>(e.set(tn.revive(t[0]),this.parseConfigurationModel(t[1])),e),new zs);return new xp(t,n,new Cp,i,o,new Cp,new zs,!1)}static parseConfigurationModel(e){return new Cp(e.contents,e.keys,e.overrides).freeze()}}class Sp{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const o=new Set;e.keys.forEach(e=>o.add(e)),e.overrides.forEach(([,e])=>e.forEach(e=>o.add(e))),this.affectedKeys=[...o.values()];const r=new Cp;this.affectedKeys.forEach(e=>r.setValue(e,{})),this.affectedKeysTree=r.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=xp.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(n=this.previous)||void 0===n?void 0:n.workspace):void 0,o=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!Es(i,o)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n,i=mp({[t]:!0},()=>{});while("object"===typeof i&&(n=Object.keys(i)[0])){if(e=e[n],!e)return!1;i=i[n]}return!0}}class Dp extends Ge{constructor(e,t,n,i,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=o,this._onDidUpdateKeybindings=this._register(new et),this._currentChord=null,this._currentChordChecker=new Wi,this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:Xe.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info("[KeybindingService]: "+e)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybindings(e){return Zi(this._getResolver().lookupKeybindings(e).map(e=>e.resolvedKeybinding))}lookupKeybinding(e){const t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return null;const[i]=n.getDispatchParts();if(null===i)return null;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(v("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const n=Date.now();this._currentChordChecker.cancelAndSet(()=>{this._documentHasFocus()?Date.now()-n>5e3&&this._leaveChordMode():this._leaveChordMode()},500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)}_doDispatch(e,t){let n=!1;if(e.isChord())return!1;const[i]=e.getDispatchParts();if(null===i)return this._log("\\ Keyboard event cannot be dispatched."),n;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null,s=e.getLabel(),a=this._getResolver().resolve(o,r,i);return this._logService.trace("KeybindingService#dispatch",s,null===a||void 0===a?void 0:a.commandId),a&&a.enterChord?(n=!0,this._enterChordMode(i,s),n):(this._currentChord&&(a&&a.commandId||(this._notificationService.status(v("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),{hideAfter:1e4}),n=!0)),this._leaveChordMode(),a&&a.commandId&&(a.bubble||(n=!0),"undefined"===typeof a.commandArgs?this._commandService.executeCommand(a.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(a.commandId,a.commandArgs).then(void 0,e=>this._notificationService.warn(e)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:a.commandId,from:"keybinding"})),n)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class kp{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let i=0,o=e.length;i<o;i++){const t=e[i].command;t&&this._defaultBoundCommands.set(t,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=kp.combine(e,t);for(let i=0,o=this._keybindings.length;i<o;i++){let e=this._keybindings[i];0!==e.keypressParts.length&&(e.when&&0===e.when.type||this._addKeyPress(e.keypressParts[0],e))}}static _isTargetedForRemoval(e,t,n,i,o){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0}static combine(e,t){e=e.slice(0);let n=[];for(const i of t){if(!i.command||0===i.command.length||"-"!==i.command.charAt(0)){n.push(i);continue}const t=i.command.substr(1),o=i.keypressParts[0],r=i.keypressParts[1],s=i.when;for(let n=e.length-1;n>=0;n--)this._isTargetedForRemoval(e[n],o,r,t,s)&&e.splice(n,1)}return e.concat(n)}_addKeyPress(e,t){const n=this._map.get(e);if("undefined"===typeof n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let i=n.length-1;i>=0;i--){let e=n[i];if(e.command===t.command)continue;const o=e.keypressParts.length>1,r=t.keypressParts.length>1;o&&r&&e.keypressParts[1]!==t.keypressParts[1]||kp.whenIsEntirelyIncluded(e.when,t.when)&&this._removeFromLookupMap(e)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);"undefined"===typeof t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if("undefined"!==typeof t)for(let n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}static whenIsEntirelyIncluded(e,t){return!t||!!e&&this._implies(e,t)}static _implies(e,t){const n=e.negate(),i=e=>9===e.type?e.expr:[e];let o=i(n).concat(i(t));for(let r=0;r<o.length;r++){const e=o[r],t=e.negate();for(let n=r+1;n<o.length;n++){const e=o[n];if(t.equals(e))return!0}}return!1}getKeybindings(){return this._keybindings}lookupKeybindings(e){let t=this._lookupMap.get(e);if("undefined"===typeof t||0===t.length)return[];let n=[],i=0;for(let o=t.length-1;o>=0;o--)n[i++]=t[o];return n}lookupPrimaryKeybinding(e){let t=this._lookupMap.get(e);return"undefined"===typeof t||0===t.length?null:t[t.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?" chorded from "+t:""}`);let i=null;if(null!==t){const e=this._map.get(t);if("undefined"===typeof e)return this._log("\\ No keybinding entries."),null;i=[];for(let t=0,o=e.length;t<o;t++){let o=e[t];o.keypressParts[1]===n&&i.push(o)}}else{const e=this._map.get(n);if("undefined"===typeof e)return this._log("\\ No keybinding entries."),null;i=e}let o=this._findCommand(e,i);return o?null===t&&o.keypressParts.length>1&&null!==o.keypressParts[1]?(this._log(`\\ From ${i.length} keybinding entries, matched chord, when: ${Mp(o.when)}, source: ${Np(o)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${i.length} keybinding entries, matched ${o.command}, when: ${Mp(o.when)}, source: ${Np(o)}.`),{enterChord:!1,leaveChord:o.keypressParts.length>1,commandId:o.command,commandArgs:o.commandArgs,bubble:o.bubble}):(this._log(`\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let i=t[n];if(kp.contextMatchesRules(e,i.when))return i}return null}static contextMatchesRules(e,t){return!t||t.evaluate(e)}}function Mp(e){return e?""+e.serialize():"no when condition"}function Np(e){return e.isDefault?e.extensionId?"built-in extension "+e.extensionId:"built-in":e.extensionId?"user extension "+e.extensionId:"user"}class Lp{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===y["a"]){if(e&&e.win)return e.win}else if(2===y["a"]){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=Lp.bindToCurrentPlatform(e);if(t&&t.primary){const n=ft(t.primary,y["a"]);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,i=t.secondary.length;n<i;n++){const i=t.secondary[n],o=ft(i,y["a"]);o&&this._registerDefaultKeybinding(o,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),as.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&Lp._mightProduceChar(e.keyCode)}_registerDefaultKeybinding(e,t,n,i,o,r){1===y["a"]&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:r,weight1:i,weight2:o,extensionId:null}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(Tp)),this._cachedMergedKeybindings.slice(0)}}const Bp=new Lp,Ip={EditorModes:"platform.keybindingsRegistry"};function Tp(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}kd.add(Ip.EditorModes,Bp);class Op{constructor(e,t,n,i,o,r){this.resolvedKeybinding=e,this.keypressParts=e?Rp(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=o,this.extensionId=r}}function Rp(e){let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i)return t;t.push(i)}return t}class Pp{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(0===t.length)return null;const i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=n(r);if(null===s)return null;i[o]=Qp(r,s,this.modifierLabels[e])}return i.join(" ")}}const Fp=new Pp({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:v({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:v({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:v({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:v({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:v({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:v({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:v({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:v({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),jp=new Pp({ctrlKey:v({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:v({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:v({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:v({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:v({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:v({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:v({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:v({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:v({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:v({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:v({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:v({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function Qp(e,t,n){if(null===t)return"";const i=[];return e.ctrlKey&&i.push(n.ctrlKey),e.shiftKey&&i.push(n.shiftKey),e.altKey&&i.push(n.altKey),e.metaKey&&i.push(n.metaKey),""!==t&&i.push(t),i.join(n.separator)}class zp extends yt{constructor(e,t){if(super(),0===t.length)throw Te("parts");this._os=e,this._parts=t}getLabel(){return Fp.toLabel(this._os,this._parts,e=>this._getLabel(e))}getAriaLabel(){return jp.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}isChord(){return this._parts.length>1}getParts(){return this._parts.map(e=>this._getPart(e))}_getPart(e){return new vt(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}}class Vp extends zp{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return dt.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":dt.toString(e.keyCode)}_getDispatchPart(e){return Vp.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=dt.toString(e.keyCode),t}}const Wp=ii("notificationService");class Hp{}const Up=ii("contextService");var Yp,Gp,Kp,qp,Jp,Xp,$p,Zp,ef,tf,nf;(function(e){function t(e){return!(!e||"object"!==typeof e||"string"!==typeof e.id||!Array.isArray(e.folders))}e.isIWorkspace=t})(Yp||(Yp={})),function(e){function t(e){return!(!e||"object"!==typeof e||!tn.isUri(e.uri)||"string"!==typeof e.name||"function"!==typeof e.toResource)}e.isIWorkspaceFolder=t}(Gp||(Gp={}));class of{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toResource(e){return Wr(this.uri,e)}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}(function(e){e.noSelection=v("noSelection","No selection"),e.singleSelectionRange=v("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=v("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=v("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=v("multiSelection","{0} selections"),e.emergencyConfOn=v("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=v("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=v("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=v("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=v("readonlyEditor"," in a read-only code editor"),e.editableEditor=v("editableEditor"," in a code editor"),e.changeConfigToOnMac=v("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=v("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=v("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=v("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=v("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=v("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=v("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=v("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=v("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=v("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=v("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=v("showAccessibilityHelpAction","Show Accessibility Help")})(Kp||(Kp={})),function(e){e.inspectTokensAction=v("inspectTokens","Developer: Inspect Tokens")}(qp||(qp={})),function(e){e.gotoLineActionLabel=v("gotoLineActionLabel","Go to Line/Column...")}(Jp||(Jp={})),function(e){e.helpQuickAccessActionLabel=v("helpQuickAccess","Show all Quick Access Providers")}(Xp||(Xp={})),function(e){e.quickCommandActionLabel=v("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=v("quickCommandActionHelp","Show And Run Commands")}($p||($p={})),function(e){e.quickOutlineActionLabel=v("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=v("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(Zp||(Zp={})),function(e){e.editorViewAccessibleLabel=v("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=v("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(ef||(ef={})),function(e){e.toggleHighContrast=v("toggleHighContrast","Toggle High Contrast Theme")}(tf||(tf={})),function(e){e.bulkEditServiceSummary=v("bulkEditServiceSummary","Made {0} edits in {1} files")}(nf||(nf={}));var rf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},sf=function(e,t){return function(n,i){t(n,i,e)}},af=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class lf{constructor(e){this.disposed=!1,this.model=e,this._onDispose=new et}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onDispose.fire()}}function cf(e,t,n){return wd(e)?t(e):n(e)}let hf=class{constructor(e){this.modelService=e}setEditor(e){this.editor=e}createModelReference(e){let t=null;return this.editor&&(t=cf(this.editor,t=>this.findModel(t,e),t=>this.findModel(t.getOriginalEditor(),e)||this.findModel(t.getModifiedEditor(),e))),t?Promise.resolve(new Ke(new lf(t))):Promise.reject(new Error("Model not found"))}findModel(e,t){let n=this.modelService.getModel(t);return n&&n.uri.toString()!==t.toString()?null:n}};hf=rf([sf(0,_a)],hf);class uf{show(){return uf.NULL_PROGRESS_RUNNER}showWhile(e,t){return Promise.resolve(void 0)}}uf.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class df{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,i){return Promise.resolve({choice:0})}}class pf{info(e){return this.notify({severity:yd.Info,message:e})}warn(e){return this.notify({severity:yd.Warning,message:e})}error(e){return this.notify({severity:yd.Error,message:e})}notify(e){switch(e.severity){case yd.Error:break;case yd.Warning:break;default:break}return pf.NO_OP}status(e,t){return Ge.None}}pf.NO_OP=new Hp;class ff{constructor(e){this._onWillExecuteCommand=new et,this._onDidExecuteCommand=new et,this._instantiationService=e}executeCommand(e,...t){const n=as.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const i=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(i){return Promise.reject(i)}}}class gf extends Dp{constructor(e,t,n,i,o,r){super(e,t,n,i,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(xo(r,ur.KEY_DOWN,e=>{let t=new Mi(e),n=this._dispatch(t,t.target);n&&(t.preventDefault(),t.stopPropagation())}))}addDynamicKeybinding(e,t,n,i){const o=ft(t,y["a"]),r=new Ye;return o&&(this._dynamicKeybindings.push({keybinding:o,command:e,when:i,weight1:1e3,weight2:0,extensionId:null}),r.add(Ue(()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){let n=this._dynamicKeybindings[t];if(n.command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver({source:1})}}))),r.add(as.registerCommand(e,n)),this.updateResolver({source:1}),r}updateResolver(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(Bp.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new kp(e,t,e=>this._log(e))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){let n=[],i=0;for(const o of e){const e=o.when||void 0,r=o.keybinding;if(r){const s=this.resolveKeybinding(r);for(const r of s)n[i++]=new Op(r,o.command,o.commandArgs,e,t,null)}else n[i++]=new Op(void 0,o.command,o.commandArgs,e,t,null)}return n}resolveKeybinding(e){return[new Vp(e,y["a"])]}resolveKeyboardEvent(e){let t=new mt(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new Vp(t,y["a"])}}function mf(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof tn)}class bf{constructor(){this._onDidChangeConfiguration=new et,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new xp(new Ep,new Cp)}getValue(e,t){const n="string"===typeof e?e:void 0,i=mf(e)?e:mf(t)?t:{};return this._configuration.getValue(n,i,void 0)}updateValues(e){const t={data:this._configuration.toData()};let n=[];for(const i of e){const[e,t]=i;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new Sp({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}}class vf{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new et,this.configurationService.onDidChangeConfiguration(e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})})}getValue(e,t,n){const i=pn.isIPosition(t)?t:null,o=i?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0;return"undefined"===typeof o?this.configurationService.getValue():this.configurationService.getValue(o)}}let yf=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:y["d"]||y["f"]?"\n":"\r\n"}};yf=rf([sf(0,gp)],yf);class wf{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class _f{constructor(){const e=tn.from({scheme:_f.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new of({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===_f.SCHEME?this.workspace.folders[0]:null}}function Af(e,t,n){if(!t)return;if(!(e instanceof bf))return;let i=[];Object.keys(t).forEach(e=>{dp(e)&&i.push(["editor."+e,t[e]]),n&&pp(e)&&i.push(["diffEditor."+e,t[e]])}),i.length>0&&e.updateValues(i)}_f.SCHEME="inmemory";class Cf{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return af(this,void 0,void 0,(function*(){const t=new Map;for(let o of e){if(!(o instanceof xd))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(o.resource);if(!e)throw new Error("bad edit - model not found");if("number"===typeof o.versionId&&e.getVersionId()!==o.versionId)throw new Error("bad state - model changed in the meantime");let n=t.get(e);n||(n=[],t.set(e,n)),n.push(fp.replaceMove(fn.lift(o.textEdit.range),o.textEdit.text))}let n=0,i=0;for(const[e,o]of t)e.pushStackElement(),e.pushEditOperations([],o,()=>[]),e.pushStackElement(),i+=1,n+=o.length;return{ariaSummary:Rr["v"](nf.bulkEditServiceSummary,n,i)}}))}}class Ef{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}class xf{constructor(e,t){this._codeEditorService=e,this._container=t,this.onLayout=Xe.None}get dimension(){return this._dimension||(this._dimension=zo(window.document.body)),this._dimension}get container(){return this._container}focus(){var e;null===(e=this._codeEditorService.getFocusedCodeEditor())||void 0===e||e.focus()}}n("0678");const Sf=2e4;let Df,kf,Mf,Nf,Lf;function Bf(e){Df=document.createElement("div"),Df.className="monaco-aria-container";const t=()=>{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),Df.appendChild(e),e};kf=t(),Mf=t();const n=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),Df.appendChild(e),e};Nf=n(),Lf=n(),e.appendChild(Df)}function If(e){Df&&(kf.textContent!==e?(fo(Mf),Tf(kf,e)):(fo(kf),Tf(Mf,e)))}function Tf(e,t){fo(e),t.length>Sf&&(t=t.substr(0,Sf)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}n("0556");class Of{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class Rf{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";const t=document.createElement("div");t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t);const n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight="bold",n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(n);const i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight=this._bareFontInfo.fontWeight,i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",i.style.fontStyle="italic",e.appendChild(i);const o=[];for(const r of this._requests){let e;0===r.type&&(e=t),2===r.type&&(e=n),1===r.type&&(e=i),e.appendChild(document.createElement("br"));const s=document.createElement("span");Rf._render(s,r),e.appendChild(s),o.push(s)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t=" ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let n=t.chr;for(let e=0;e<8;e++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,t=this._requests.length;e<t;e++){const t=this._requests[e],n=this._testElements[e];t.fulfill(n.offsetWidth/256)}}}function Pf(e,t){const n=new Rf(e,t);n.read()}class Ff extends Ge{constructor(e,t,n){super(),this.referenceDomElement=e,this.changeCallback=n,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!==typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let n=0,i=0;t?(n=t.width,i=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,i=this.referenceDomElement.clientHeight),n=Math.max(5,n),i=Math.max(5,i),this.width===n&&this.height===i||(this.width=n,this.height=i,e&&this.changeCallback())}}class jf{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const t=e.getId();return!!this._values[t]}get(e){const t=e.getId();return this._values[t]}put(e,t){const n=e.getId();this._keys[n]=e,this._values[n]=t}remove(e){const t=e.getId();delete this._keys[t],delete this._values[t]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}function Qf(){zf.INSTANCE.clearCache()}class zf extends Ge{constructor(){super(),this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._cache=new jf,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new jf,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let t=!1;for(let n=0,i=e.length;n<i;n++){const i=e[n];i.isTrusted||(t=!0,this._cache.remove(i))}t&&this._onDidChange.fire()}readConfiguration(e){if(!this._cache.has(e)){let t=zf._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new Bs({zoomLevel:ai(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}static createRequest(e,t,n,i){const o=new Of(e,t);return n.push(o),i&&i.push(o),o}static _actualReadConfiguration(e){const t=[],n=[],i=this.createRequest("n",0,t,n),o=this.createRequest("m",0,t,null),r=this.createRequest(" ",0,t,n),s=this.createRequest("0",0,t,n),a=this.createRequest("1",0,t,n),l=this.createRequest("2",0,t,n),c=this.createRequest("3",0,t,n),h=this.createRequest("4",0,t,n),u=this.createRequest("5",0,t,n),d=this.createRequest("6",0,t,n),p=this.createRequest("7",0,t,n),f=this.createRequest("8",0,t,n),g=this.createRequest("9",0,t,n),m=this.createRequest("→",0,t,n),b=this.createRequest("→",0,t,null),v=this.createRequest("·",0,t,n),y=this.createRequest(String.fromCharCode(11825),0,t,null);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),Pf(e,t);const w=Math.max(s.width,a.width,l.width,c.width,h.width,u.width,d.width,p.width,f.width,g.width);let _=e.fontFeatureSettings===q.OFF;const A=n[0].width;for(let x=1,S=n.length;_&&x<S;x++){const e=A-n[x].width;if(e<-.001||e>.001){_=!1;break}}let C=!0;_&&b.width!==A&&(C=!1),b.width>m.width&&(C=!1);const E=li()>2e3;return new Bs({zoomLevel:ai(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:_,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:C,spaceWidth:r.width,middotWidth:v.width,wsmiddotWidth:y.width,maxDigitWidth:w},E)}}zf.INSTANCE=new zf;class Vf extends rp{constructor(e,t,n=null,i){super(e,t),this.accessibilityService=i,this._elementSizeObserver=this._register(new Ff(n,t.dimension,()=>this._onReferenceDomElementSizeChanged())),this._register(zf.INSTANCE.onDidChange(()=>this._onCSSBasedConfigurationChanged())),this._validatedOptions.get(9)&&this._elementSizeObserver.startObserving(),this._register(ci(e=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"}static applyFontInfo(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)}_onReferenceDomElementSizeChanged(){this._recomputeOptions()}_onCSSBasedConfigurationChanged(){this._recomputeOptions()}observeReferenceElement(e){this._elementSizeObserver.observe(e)}dispose(){super.dispose()}_getExtraEditorClassName(){let e="";return bi||vi||(e+="no-user-select "),y["f"]&&(e+="mac "),e}_getEnvConfiguration(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:gi||fi,pixelRatio:ui(),zoomLevel:ai(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(e){return zf.INSTANCE.readConfiguration(e)}}var Wf=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class Hf extends Ge{constructor(e,t="",n="",i=!0,o){super(),this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)}}class Uf extends Ge{constructor(){super(...arguments),this._onDidBeforeRun=this._register(new et),this.onDidBeforeRun=this._onDidBeforeRun.event,this._onDidRun=this._register(new et),this.onDidRun=this._onDidRun.event}run(e,t){return Wf(this,void 0,void 0,(function*(){if(!e.enabled)return Promise.resolve(null);this._onDidBeforeRun.fire({action:e});try{const n=yield this.runAction(e,t);this._onDidRun.fire({action:e,result:n})}catch(n){this._onDidRun.fire({action:e,error:n})}}))}runAction(e,t){const n=t?e.run(t):e.run();return Promise.resolve(n)}}class Yf extends Hf{constructor(e){super(Yf.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}Yf.ID="vs.actions.separator";class Gf extends Hf{constructor(e,t,n,i){super(e,t,i,!0),this._actions=n}get actions(){return Array.isArray(this._actions)?this._actions:this._actions()}}const Kf=new Map;Kf.set("false",!1),Kf.set("true",!0),Kf.set("isMac",y["f"]),Kf.set("isLinux",y["d"]),Kf.set("isWindows",y["i"]),Kf.set("isWeb",y["h"]),Kf.set("isMacNative",y["f"]&&!y["h"]);const qf=Object.prototype.hasOwnProperty;class Jf{static has(e){return eg.create(e)}static equals(e,t){return tg.create(e,t)}static regex(e,t){return sg.create(e,t)}static not(e){return rg.create(e)}static and(...e){return lg.create(e)}static or(...e){return cg.create(e)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return cg.create(n.map(e=>this._deserializeAndExpression(e,t)))}static _deserializeAndExpression(e,t){let n=e.split("&&");return lg.create(n.map(e=>this._deserializeOne(e,t)))}static _deserializeOne(e,t){if(e=e.trim(),e.indexOf("!=")>=0){let n=e.split("!=");return og.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return tg.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return sg.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return ng.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?rg.create(e.substr(1).trim()):eg.create(e)}static _deserializeValue(e,t){if(e=e.trim(),"true"===e)return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if(Object(Rr["B"])(e)){if(t)throw new Error("missing regexp-value for =~-expression");return null}let n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return null}let o=e.slice(n+1,i),r="i"===e[i+1]?"i":"";try{return new RegExp(o,r)}catch(s){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${s}`);return null}}}function Xf(e,t){return e.cmp(t)}class $f{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return Zf.INSTANCE}}$f.INSTANCE=new $f;class Zf{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return $f.INSTANCE}}Zf.INSTANCE=new Zf;class eg{constructor(e){this.key=e,this.type=2}static create(e){const t=Kf.get(e);return"boolean"===typeof t?t?Zf.INSTANCE:$f.INSTANCE:new eg(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return rg.create(this.key)}}class tg{constructor(e,t){this.key=e,this.value=t,this.type=4}static create(e,t){if("boolean"===typeof t)return t?eg.create(e):rg.create(e);const n=Kf.get(e);if("boolean"===typeof n){const e=n?"true":"false";return t===e?Zf.INSTANCE:$f.INSTANCE}return new tg(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return this.key+" == '"+this.value+"'"}keys(){return[this.key]}negate(){return og.create(this.key,this.value)}}class ng{constructor(e,t){this.key=e,this.valueKey=t,this.type=10}static create(e,t){return new ng(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.valueKey<e.valueKey?-1:this.valueKey>e.valueKey?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"===typeof n&&"object"===typeof t&&null!==t&&qf.call(t,n)}serialize(){return this.key+" in '"+this.valueKey+"'"}keys(){return[this.key,this.valueKey]}negate(){return ig.create(this)}}class ig{constructor(e){this._actual=e,this.type=11}static create(e){return new ig(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class og{constructor(e,t){this.key=e,this.value=t,this.type=5}static create(e,t){if("boolean"===typeof t)return t?rg.create(e):eg.create(e);const n=Kf.get(e);if("boolean"===typeof n){const e=n?"true":"false";return t===e?$f.INSTANCE:Zf.INSTANCE}return new og(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return this.key+" != '"+this.value+"'"}keys(){return[this.key]}negate(){return tg.create(this.key,this.value)}}class rg{constructor(e){this.key=e,this.type=3}static create(e){const t=Kf.get(e);return"boolean"===typeof t?t?$f.INSTANCE:Zf.INSTANCE:new rg(e)}cmp(e){return e.type!==this.type?this.type-e.type:this.key<e.key?-1:this.key>e.key?1:0}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return eg.create(this.key)}}class sg{constructor(e,t){this.key=e,this.regexp=t,this.type=7}static create(e,t){return new sg(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return ag.create(this)}}class ag{constructor(e){this._actual=e,this.type=8}static create(e){return new ag(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class lg{constructor(e){this.expr=e,this.type=6}static create(e){return lg._normalizeArr(e)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=Xf(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e){const t=[];let n=!1;for(const i of e)if(i)if(1!==i.type){if(0===i.type)return $f.INSTANCE;6!==i.type?t.push(i):t.push(...i.expr)}else n=!0;if(0===t.length&&n)return Zf.INSTANCE;if(0!==t.length){if(1===t.length)return t[0];t.sort(Xf);while(t.length>1){const e=t[t.length-1];if(9!==e.type)break;t.pop();const n=t.pop(),i=cg.create(e.expr.map(e=>lg.create([e,n])));i&&(t.push(i),t.sort(Xf))}return new lg(t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());return cg.create(e)}}class cg{constructor(e){this.expr=e,this.type=9}static create(e){const t=cg._normalizeArr(e);if(0!==t.length)return 1===t.length?t[0]:new cg(t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=Xf(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e){let t=[],n=!1;if(e){for(let i=0,o=e.length;i<o;i++){const o=e[i];if(o)if(0!==o.type){if(1===o.type)return[Zf.INSTANCE];9!==o.type?t.push(o):t=t.concat(o.expr)}else n=!0}if(0===t.length&&n)return[$f.INSTANCE];t.sort(Xf)}return t}serialize(){return this.expr.map(e=>e.serialize()).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let n of this.expr)e.push(n.negate());const t=e=>9===e.type?e.expr:[e];while(e.length>1){const n=e.shift(),i=e.shift(),o=[];for(const e of t(n))for(const n of t(i))o.push(Jf.and(e,n));e.unshift(Jf.or(...o))}return e[0]}}class hg extends eg{constructor(e,t){super(e),this._defaultValue=t}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return Jf.not(this.key)}}const ug=ii("contextKeyService"),dg="setContext";var pg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},fg=function(e,t){return function(n,i){t(n,i,e)}};function gg(e){return void 0!==e.command}class mg{constructor(e){this.id=mg._idPool++,this._debugName=e}}mg._idPool=0,mg.CommandPalette=new mg("CommandPalette"),mg.EditorContext=new mg("EditorContext"),mg.EditorContextPeek=new mg("EditorContextPeek"),mg.MenubarEditMenu=new mg("MenubarEditMenu"),mg.MenubarGoMenu=new mg("MenubarGoMenu"),mg.MenubarSelectionMenu=new mg("MenubarSelectionMenu");const bg=ii("menuService"),vg=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new et,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===mg.CommandPalette}}addCommand(e){return this.addCommands(Re.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Ue(()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach((t,n)=>e.set(n,t)),e}appendMenuItem(e,t){return this.appendMenuItems(Re.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new Je;for(const{id:i,item:o}of e){let e=this._menuItems.get(i);e||(e=new Je,this._menuItems.set(i,e)),n.push(e.push(o)),t.add(i)}return this._onDidChangeMenu.fire(t),Ue(()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}})}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===mg.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)gg(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach((n,i)=>{t.has(i)||e.push({command:n})})}};let yg=class extends Hf{constructor(e,t,n){super(e,t),this._commandService=n}run(...e){return this._commandService.executeCommand(this.id,...e)}};yg=pg([fg(2,ss)],yg);class wg extends Gf{constructor(e,t,n,i){super("submenuitem."+e.submenu.id,"string"===typeof e.title?e.title:e.title.value,()=>{const o=[],r=t.createMenu(e.submenu,n),s=r.getActions(i);r.dispose();for(let e of s){const[,t]=e;t.length>0&&(o.push(...t),o.push(new Yf))}return o.length&&o.pop(),o},"submenu"),this.item=e}}let _g=class e extends yg{constructor(t,n,i,o,r){if("string"===typeof t.title?super(t.id,t.title,r):super(t.id,t.title.value,r),this._cssClass=void 0,this._enabled=!t.precondition||o.contextMatchesRules(t.precondition),this._tooltip=t.tooltip?"string"===typeof t.tooltip?t.tooltip:t.tooltip.value:void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this._checked=o.contextMatchesRules(e.condition),this._checked&&e.tooltip&&(this._tooltip="string"===typeof e.tooltip?e.tooltip:e.tooltip.value)}this._options=i||{},this.item=t,this.alt=n?new e(n,void 0,this._options,o,r):void 0}dispose(){this.alt&&this.alt.dispose(),super.dispose()}run(...e){let t=[];return this._options.arg&&(t=[...t,this._options.arg]),this._options.shouldForwardArgs&&(t=[...t,...e]),super.run(...t)}};_g=pg([fg(3,ug),fg(4,ss)],_g);const Ag=ii("telemetryService");class Cg{constructor(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}register(){if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){let e=this._kbOpts.kbExpr;this.precondition&&(e=e?Jf.and(e,this.precondition):this.precondition),Bp.registerCommandAndKeybindingRule({id:this.id,handler:(e,t)=>this.runCommand(e,t),weight:this._kbOpts.weight,args:this._kbOpts.args,when:e,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else as.registerCommand({id:this.id,handler:(e,t)=>this.runCommand(e,t),description:this._description})}_registerMenuItem(e){vg.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon},when:e.when,order:e.order})}}class Eg extends Cg{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;e<this._implementations.length;e++)if(this._implementations[e][1]===t)return void this._implementations.splice(e,1)}}}runCommand(e,t){for(const n of this._implementations)if(n[1](e,t))return}}class xg extends Cg{constructor(e,t){super(t),this.command=e}runCommand(e,t){return this.command.runCommand(e,t)}}class Sg extends Cg{static bindToContribution(e){return class extends Sg{constructor(e){super(e),this._callback=e.handler}runEditorCommand(t,n,i){const o=e(n);o&&this._callback(e(n),i)}}}runCommand(e,t){const n=e.get(ri),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();if(i)return i.invokeWithinContext(e=>{const n=e.get(ug);if(n.contextMatchesRules(rs(this.precondition)))return this.runEditorCommand(e,i,t)})}}class Dg extends Sg{constructor(e){super(Dg.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function n(t){return t.menuId||(t.menuId=mg.EditorContext),t.title||(t.title=e.label),t.when=Jf.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})}reportTelemetry(e,t){e.get(Ag).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}function kg(e){return Ig.INSTANCE.registerEditorCommand(e),e}function Mg(e){const t=new e;return Ig.INSTANCE.registerEditorAction(t),t}function Ng(e,t){Ig.INSTANCE.registerEditorContribution(e,t)}var Lg;(function(e){function t(e){return Ig.INSTANCE.getEditorCommand(e)}function n(){return Ig.INSTANCE.getEditorActions()}function i(){return Ig.INSTANCE.getEditorContributions()}function o(e){return Ig.INSTANCE.getEditorContributions().filter(t=>e.indexOf(t.id)>=0)}function r(){return Ig.INSTANCE.getDiffEditorContributions()}e.getEditorCommand=t,e.getEditorActions=n,e.getEditorContributions=i,e.getSomeEditorContributions=o,e.getDiffEditorContributions=r})(Lg||(Lg={}));const Bg={EditorCommonContributions:"editor.contributions"};class Ig{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function Tg(e){return e.register(),e}Ig.INSTANCE=new Ig,kd.add(Bg.EditorCommonContributions,Ig.INSTANCE);const Og=Tg(new Eg({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:mg.MenubarEditMenu,group:"1_do",title:v({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:mg.CommandPalette,group:"",title:v("undo","Undo"),order:1}]}));Tg(new xg(Og,{id:"default:undo",precondition:void 0}));const Rg=Tg(new Eg({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:mg.MenubarEditMenu,group:"1_do",title:v({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:mg.CommandPalette,group:"",title:v("redo","Redo"),order:1}]}));Tg(new xg(Rg,{id:"default:redo",precondition:void 0}));const Pg=Tg(new Eg({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:mg.MenubarSelectionMenu,group:"1_basic",title:v({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:mg.CommandPalette,group:"",title:v("selectAll","Select All"),order:1}]}));class Fg{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){Co(this.domNode,e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function jg(e){return new Fg(e)}let Qg=0;function zg(){const e="$memoize"+Qg++;let t=void 0;const n=function(n,i,o){let r=null,s=null;if("function"===typeof o.value?(r="value",s=o.value,s.length):"function"===typeof o.get&&(r="get",s=o.get),!s)throw new Error("not supported");const a=`${e}:${i}`;o[r]=function(...e){return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=()=>{"undefined"!==typeof t&&Object.getOwnPropertyNames(t).forEach(n=>{0===n.indexOf(e)&&delete t[n]})},n}function Vg(e,t,n){return zg()(e,t,n)}var Wg,Hg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};(function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"})(Wg||(Wg={}));class Ug extends Ge{constructor(){super(),this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(xo(document,"touchstart",e=>this.onTouchStart(e),{passive:!1})),this._register(xo(document,"touchend",e=>this.onTouchEnd(e))),this._register(xo(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return Ug.isTouchDevice()?(Ug.INSTANCE||(Ug.INSTANCE=new Ug),Ug.INSTANCE.targets.push(e),{dispose:()=>{Ug.INSTANCE.targets=Ug.INSTANCE.targets.filter(t=>t!==e)}}):Ge.None}static ignoreTarget(e){return Ug.isTouchDevice()?(Ug.INSTANCE||(Ug.INSTANCE=new Ug),Ug.INSTANCE.ignoreTargets.push(e),{dispose:()=>{Ug.INSTANCE.ignoreTargets=Ug.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):Ge.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,i=e.targetTouches.length;n<i;n++){let i=e.targetTouches.item(n);this.activeTouches[i.identifier]={id:i.identifier,initialTarget:i.target,initialTimeStamp:t,initialPageX:i.pageX,initialPageY:i.pageY,rollingTimestamps:[t],rollingPageX:[i.pageX],rollingPageY:[i.pageY]};let o=this.newGestureEvent(Wg.Start,i.target);o.pageX=i.pageX,o.pageY=i.pageY,this.dispatchEvent(o)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}onTouchEnd(e){let t=Date.now(),n=Object.keys(this.activeTouches).length;for(let i=0,o=e.changedTouches.length;i<o;i++){let o=e.changedTouches.item(i);if(!this.activeTouches.hasOwnProperty(String(o.identifier)))continue;let r=this.activeTouches[o.identifier],s=Date.now()-r.initialTimeStamp;if(s<Ug.HOLD_DELAY&&Math.abs(r.initialPageX-Yi(r.rollingPageX))<30&&Math.abs(r.initialPageY-Yi(r.rollingPageY))<30){let e=this.newGestureEvent(Wg.Tap,r.initialTarget);e.pageX=Yi(r.rollingPageX),e.pageY=Yi(r.rollingPageY),this.dispatchEvent(e)}else if(s>=Ug.HOLD_DELAY&&Math.abs(r.initialPageX-Yi(r.rollingPageX))<30&&Math.abs(r.initialPageY-Yi(r.rollingPageY))<30){let e=this.newGestureEvent(Wg.Contextmenu,r.initialTarget);e.pageX=Yi(r.rollingPageX),e.pageY=Yi(r.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=Yi(r.rollingPageX),n=Yi(r.rollingPageY),i=Yi(r.rollingTimestamps)-r.rollingTimestamps[0],o=e-r.rollingPageX[0],s=n-r.rollingPageY[0];const a=this.targets.filter(e=>r.initialTarget instanceof Node&&e.contains(r.initialTarget));this.inertia(a,t,Math.abs(o)/i,o>0?1:-1,e,Math.abs(s)/i,s>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(Wg.End,r.initialTarget)),delete this.activeTouches[o.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===Wg.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>Ug.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==Wg.Change&&e.type!==Wg.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t<this.ignoreTargets.length;t++)if(e.initialTarget instanceof Node&&this.ignoreTargets[t].contains(e.initialTarget))return;this.targets.forEach(t=>{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,n,i,o,r,s,a){this.handle=Bo(()=>{let l=Date.now(),c=l-t,h=0,u=0,d=!0;n+=Ug.SCROLL_FRICTION*c,r+=Ug.SCROLL_FRICTION*c,n>0&&(d=!1,h=i*n*c),r>0&&(d=!1,u=s*r*c);let p=this.newGestureEvent(Wg.Change);p.translationX=h,p.translationY=u,e.forEach(e=>e.dispatchEvent(p)),d||this.inertia(e,l,n,i,o+h,r,s,a+u)})}onTouchMove(e){let t=Date.now();for(let n=0,i=e.changedTouches.length;n<i;n++){let i=e.changedTouches.item(n);if(!this.activeTouches.hasOwnProperty(String(i.identifier)))continue;let o=this.activeTouches[i.identifier],r=this.newGestureEvent(Wg.Change,o.initialTarget);r.translationX=i.pageX-Yi(o.rollingPageX),r.translationY=i.pageY-Yi(o.rollingPageY),r.pageX=i.pageX,r.pageY=i.pageY,this.dispatchEvent(r),o.rollingPageX.length>3&&(o.rollingPageX.shift(),o.rollingPageY.shift(),o.rollingTimestamps.shift()),o.rollingPageX.push(i.pageX),o.rollingPageY.push(i.pageY),o.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}function Yg(e,t){let n=new Oi(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}Ug.SCROLL_FRICTION=-.005,Ug.HOLD_DELAY=700,Ug.CLEAR_TAP_COUNT_TIME=400,Hg([Vg],Ug,"isTouchDevice",null);class Gg{constructor(){this._hooks=new Ye,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,i,o){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=i,this._onStopCallback=o;const r=Ti.getSameOriginWindowChain(),s=y["c"]&&po.pointerEvents?"pointermove":"mousemove",a=y["c"]&&po.pointerEvents?"pointerup":"mouseup",l=r.map(e=>e.window.document),c=nr(e);c&&l.unshift(c);for(const h of l)this._hooks.add(jo(h,s,e=>{e.buttons===t?this._mouseMoveCallback(e):this.stopMonitoring(!0)},(e,t)=>this._mouseMoveEventMerger(e,t))),this._hooks.add(xo(h,a,e=>this.stopMonitoring(!0)));if(Ti.hasDifferentOriginAncestor()){let e=r[r.length-1];this._hooks.add(xo(e.window.document,"mouseout",e=>{let t=new Oi(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(xo(e.window.document,"mouseover",e=>{let t=new Oi(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(xo(e.window.document.body,"mouseleave",e=>{this.stopMonitoring(!0)}))}}}class Kg{constructor(e,t){this.x=e,this.y=t}toClientCoordinates(){return new qg(this.x-Yo.scrollX,this.y-Yo.scrollY)}}class qg{constructor(e,t){this.clientX=e,this.clientY=t}toPageCoordinates(){return new Kg(this.clientX+Yo.scrollX,this.clientY+Yo.scrollY)}}class Jg{constructor(e,t,n,i){this.x=e,this.y=t,this.width=n,this.height=i}}function Xg(e){const t=Uo(e);return new Jg(t.left,t.top,t.width,t.height)}class $g extends Oi{constructor(e,t){super(e),this.pos=new Kg(this.posx,this.posy),this.editorPos=Xg(t)}}class Zg{constructor(e){this._editorViewDomNode=e}_create(e){return new $g(e,this._editorViewDomNode)}onContextMenu(e,t){return xo(e,"contextmenu",e=>{t(this._create(e))})}onMouseUp(e,t){return xo(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return xo(e,"mousedown",e=>{t(this._create(e))})}onMouseLeave(e,t){return Mo(e,e=>{t(this._create(e))})}onMouseMoveThrottled(e,t,n,i){const o=(e,t)=>n(e,this._create(t));return jo(e,"mousemove",t,o,i)}}class em{constructor(e){this._editorViewDomNode=e}_create(e){return new $g(e,this._editorViewDomNode)}onPointerUp(e,t){return xo(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return xo(e,"pointerdown",e=>{t(this._create(e))})}onPointerLeave(e,t){return No(e,e=>{t(this._create(e))})}onPointerMoveThrottled(e,t,n,i){const o=(e,t)=>n(e,this._create(t));return jo(e,"pointermove",t,o,i)}}class tm extends Ge{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new Gg),this._keydownListener=null}startMonitoring(e,t,n,i,o){this._keydownListener=ko(document,"keydown",e=>{const t=e.toKeybinding();t.isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0)},!0);const r=(e,t)=>n(e,new $g(t,this._editorViewDomNode));this._globalMouseMoveMonitor.startMonitoring(e,t,r,i,()=>{this._keydownListener.dispose(),o()})}}class nm extends Ge{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,i=e.length;n<i;n++){let i=e[n];switch(i.type){case 0:this.onConfigurationChanged(i)&&(t=!0);break;case 1:this.onCursorStateChanged(i)&&(t=!0);break;case 2:this.onDecorationsChanged(i)&&(t=!0);break;case 3:this.onFlushed(i)&&(t=!0);break;case 4:this.onFocusChanged(i)&&(t=!0);break;case 5:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 6:this.onLineMappingChanged(i)&&(t=!0);break;case 7:this.onLinesChanged(i)&&(t=!0);break;case 8:this.onLinesDeleted(i)&&(t=!0);break;case 9:this.onLinesInserted(i)&&(t=!0);break;case 10:this.onRevealRangeRequest(i)&&(t=!0);break;case 11:this.onScrollChanged(i)&&(t=!0);break;case 13:this.onTokensChanged(i)&&(t=!0);break;case 12:this.onThemeChanged(i)&&(t=!0);break;case 14:this.onTokensColorsChanged(i)&&(t=!0);break;case 15:this.onZonesChanged(i)&&(t=!0);break;default:}}t&&(this._shouldRender=!0)}}class im extends nm{constructor(e){super(),this._context=e,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}}class om{static write(e,t){e.setAttribute("data-mprt",String(t))}static read(e){const t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)}static collect(e,t){let n=[],i=0;while(e&&e!==document.body){if(e===t)break;e.nodeType===e.ELEMENT_NODE&&(n[i++]=this.read(e)),e=e.parentElement}const o=new Uint8Array(i);for(let r=0;r<i;r++)o[r]=n[i-r-1];return o}}class rm{constructor(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(e){return e-this.scrollTop}getVerticalOffsetForLineNumber(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}class sm extends rm{constructor(e,t,n){super(e,t),this._viewLines=n}linesVisibleRangesForRange(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)}visibleRangeForPosition(e){return this._viewLines.visibleRangeForPosition(e)}}class am{constructor(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}}class lm{constructor(e,t){this.left=Math.round(e),this.width=Math.round(t)}toString(){return`[${this.left},${this.width}]`}}class cm{constructor(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)}}class hm{constructor(e,t){this.outsideRenderedLine=e,this.ranges=t}}class um{constructor(e,t){this.left=e,this.width=t}toString(){return`[${this.left},${this.width}]`}static compare(e,t){return e.left-t.left}}class dm{static _createRange(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange}static _detachRange(e,t){e.selectNodeContents(t)}static _readClientRects(e,t,n,i,o){const r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,i),r.getClientRects()}catch(s){return null}finally{this._detachRange(r,o)}}static _mergeAdjacentRanges(e){if(1===e.length)return[new lm(e[0].left,e[0].width)];e.sort(um.compare);let t=[],n=0,i=e[0].left,o=e[0].width;for(let r=1,s=e.length;r<s;r++){const s=e[r],a=s.left,l=s.width;i+o+.9>=a?o=Math.max(o,a+l-i):(t[n++]=new lm(i,o),i=a,o=l)}return t[n++]=new lm(i,o),t}static _createHorizontalRangesFromClientRects(e,t){if(!e||0===e.length)return null;const n=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];n[i]=new um(Math.max(0,o.left-t),o.width)}return this._mergeAdjacentRanges(n)}static readHorizontalRanges(e,t,n,i,o,r,s){const a=0,l=e.children.length-1;if(a>l)return null;if(t=Math.min(l,Math.max(a,t)),i=Math.min(l,Math.max(a,i)),t===i&&n===o&&0===n){const n=e.children[t].getClientRects();return this._createHorizontalRangesFromClientRects(n,r)}t!==i&&i>0&&0===o&&(i--,o=1073741824);let c=e.children[t].firstChild,h=e.children[i].firstChild;if(c&&h||(!c&&0===n&&t>0&&(c=e.children[t-1].firstChild,n=1073741824),!h&&0===o&&i>0&&(h=e.children[i-1].firstChild,o=1073741824)),!c||!h)return null;n=Math.min(c.textContent.length,Math.max(0,n)),o=Math.min(h.textContent.length,Math.max(0,o));const u=this._readClientRects(c,n,h,o,s);return this._createHorizontalRangesFromClientRects(u,r)}}const pm=ii("themeService");function fm(e){return{id:e}}var gm;(function(e){function t(e){return e&&"object"===typeof e&&"string"===typeof e.id}e.isThemeIcon=t;const n=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;function i(e){const t=n.exec(e);if(!t)return;let[,i,o]=t;return i||(i="codicon/"),{id:i+o}}e.fromString=i;const o=/^(codicon\/)?([a-z-]+)(~[a-z]+)?$/i;function r(e){const t=o.exec(e.id);if(!t)return;let[,,n,i]=t,r="codicon codicon-"+n;return i&&(r+=" "+i.substr(1)),r}e.asClassName=r})(gm||(gm={}));const mm="dark",bm="hc";function vm(e){switch(e){case mm:return"vs-dark";case bm:return"hc-black";default:return"vs"}}const ym={ThemingContribution:"base.contributions.theming"};class wm{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new et}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Ue(()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}}let _m=new wm;function Am(e){return _m.onColorThemeChange(e)}kd.add(ym.ThemingContribution,_m);class Cm extends Ge{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}const Em=function(){return!!y["g"]||!(y["d"]||fi||bi)}();let xm=!0;const Sm=pi;class Dm{constructor(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}get clientRectDeltaLeft(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft}}class km{constructor(e,t){this.themeType=t;const n=e.options,i=n.get(36);this.renderWhitespace=n.get(80),this.renderControlCharacters=n.get(74),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.wsmiddotWidth=i.wsmiddotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(24),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(51),this.stopRenderingLineAfter=n.get(95),this.fontLigatures=n.get(37)}equals(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.wsmiddotWidth===e.wsmiddotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures}}class Mm{constructor(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}getDomNode(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null}setDomNode(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=jg(e)}onContentChanged(){this._isMaybeInvalid=!0}onTokensChanged(){this._isMaybeInvalid=!0}onDecorationsChanged(){this._isMaybeInvalid=!0}onOptionsChanged(e){this._isMaybeInvalid=!0,this._options=e}onSelectionChanged(){return!(!Sm&&this._options.themeType!==bm&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)}renderLine(e,t,n,i){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;const o=n.getViewLineRenderingData(e),r=this._options,s=wu.filter(o.inlineDecorations,e,o.minColumn,o.maxColumn);let a=null;if(Sm||r.themeType===bm||"selection"===this._options.renderWhitespace){const t=n.selections;for(const n of t){if(n.endLineNumber<e||n.startLineNumber>e)continue;const t=n.startLineNumber===e?n.startColumn:o.minColumn,i=n.endLineNumber===e?n.endColumn:o.maxColumn;t<i&&(r.themeType===bm||"selection"!==this._options.renderWhitespace?s.push(new wu(t,i,"inline-selected-text",0)):(a||(a=[]),a.push(new xu(t-1,i-1))))}}const l=new Su(r.useMonospaceOptimizations,r.canUseHalfwidthRightwardsArrow,o.content,o.continuesWithWrappedLine,o.isBasicASCII,o.containsRTL,o.minColumn-1,o.tokens,s,o.tabSize,o.startVisibleColumn,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures!==q.OFF,a);if(this._renderedViewLine&&this._renderedViewLine.input.equals(l))return!1;i.appendASCIIString('<div style="top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;height:"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;" class="'),i.appendASCIIString(Mm.CLASS_NAME),i.appendASCIIString('">');const c=Mu(l,i);i.appendASCIIString("</div>");let h=null;return xm&&Em&&o.isBasicASCII&&r.useMonospaceOptimizations&&0===c.containsForeignElements&&o.content.length<300&&l.lineTokens.getCount()<100&&(h=new Nm(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping)),h||(h=Im(this._renderedViewLine?this._renderedViewLine.domNode:null,l,c.characterMapping,c.containsRTL,c.containsForeignElements)),this._renderedViewLine=h,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof Nm}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof Nm?this._renderedViewLine.monospaceAssumptionsAreValid():xm}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof Nm&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));const i=0|this._renderedViewLine.input.stopRenderingLineAfter;let o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);const r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new hm(o,r):null}getColumnOfNodeOffset(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1}}Mm.CLASS_NAME="view-line";class Nm{constructor(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}getWidth(){return this._getCharPosition(this._characterMapping.length)}getWidthIsFast(){return!0}monospaceAssumptionsAreValid(){if(!this.domNode)return xm;const e=this.getWidth(),t=this.domNode.domNode.firstChild.offsetWidth;return Math.abs(e-t)>=2&&(xm=!1),xm}toSlowRenderedLine(){return Im(this.domNode,this.input,this._characterMapping,!1,0)}getVisibleRangesForRange(e,t,n){const i=this._getCharPosition(e),o=this._getCharPosition(t);return[new lm(i,o-i)]}_getCharPosition(e){const t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;while(t)t=t.previousSibling,o++;const r=this._characterMapping.partDataToCharOffset(o,i,n);return r+1}}class Lm{constructor(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(let e=0,t=this._characterMapping.length;e<=t;e++)this._pixelOffsetCache[e]=-1}}_getReadingTarget(e){return e.domNode.firstChild}getWidth(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0}getWidthIsFast(){return-1!==this._cachedWidth}getVisibleRangesForRange(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){const i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;const o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new lm(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)}_readVisibleRangesForRange(e,t,n,i){if(t===n){const n=this._readPixelOffset(e,t,i);return-1===n?null:[new lm(n,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)}_readPixelOffset(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();const t=this._getReadingTarget(e);return t.firstChild?t.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){const i=this._pixelOffsetCache[t];if(-1!==i)return i;const o=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=o,o}return this._actualReadPixelOffset(e,t,n)}_actualReadPixelOffset(e,t,n){if(0===this._characterMapping.length){const t=dm.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return t&&0!==t.length?t[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();const i=this._characterMapping.charOffsetToPartData(t-1),o=Du.getPartIndex(i),r=Du.getCharIndex(i),s=dm.readHorizontalRanges(this._getReadingTarget(e),o,r,o,r,n.clientRectDeltaLeft,n.endNode);if(!s||0===s.length)return-1;const a=s[0].left;if(this.input.isBasicASCII){const e=this._characterMapping.getAbsoluteOffsets(),n=Math.round(this.input.spaceWidth*e[t-1]);if(Math.abs(n-a)<=1)return n}return a}_readRawVisibleRangesForRange(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new lm(0,this.getWidth())];const o=this._characterMapping.charOffsetToPartData(t-1),r=Du.getPartIndex(o),s=Du.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),l=Du.getPartIndex(a),c=Du.getCharIndex(a);return dm.readHorizontalRanges(this._getReadingTarget(e),r,s,l,c,i.clientRectDeltaLeft,i.endNode)}getColumnOfNodeOffset(e,t,n){const i=t.textContent.length;let o=-1;while(t)t=t.previousSibling,o++;const r=this._characterMapping.partDataToCharOffset(o,i,n);return r+1}}class Bm extends Lm{_readVisibleRangesForRange(e,t,n,i){const o=super._readVisibleRangesForRange(e,t,n,i);if(!o||0===o.length||t===n||1===t&&n===this._characterMapping.length)return o;if(!this.input.containsRTL){const t=this._readPixelOffset(e,n,i);if(-1!==t){const e=o[o.length-1];e.left<t&&(e.width=t-e.left)}}return o}}const Im=function(){return gi?Tm:Om}();function Tm(e,t,n,i,o){return new Bm(e,t,n,i,o)}function Om(e,t,n,i,o){return new Lm(e,t,n,i,o)}class Rm{constructor(e,t,n,i){this.oldPosition=e,this.oldText=t,this.newPosition=n,this.newText=i}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${this.newText}")`:0===this.newText.length?`(delete@${this.oldPosition} "${this.oldText}")`:`(replace@${this.oldPosition} "${this.oldText}" with "${this.newText}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,n){const i=t.length;Ir["f"](e,i,n),n+=4;for(let o=0;o<i;o++)Ir["e"](e,t.charCodeAt(o),n),n+=2;return n}static _readString(e,t){const n=Ir["c"](e,t);return t+=4,Ic(e,t,n)}writeSize(){return 8+Rm._writeStringSize(this.oldText)+Rm._writeStringSize(this.newText)}write(e,t){return Ir["f"](e,this.oldPosition,t),t+=4,Ir["f"](e,this.newPosition,t),t+=4,t=Rm._writeString(e,this.oldText,t),t=Rm._writeString(e,this.newText,t),t}static read(e,t,n){const i=Ir["c"](e,t);t+=4;const o=Ir["c"](e,t);t+=4;const r=Rm._readString(e,t);t+=Rm._writeStringSize(r);const s=Rm._readString(e,t);return t+=Rm._writeStringSize(s),n.push(new Rm(i,r,o,s)),t}}function Pm(e,t){if(null===e||0===e.length)return t;const n=new Fm(e,t);return n.compress()}class Fm{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,n=this._getPrev(e),i=this._getCurr(t);while(e<this._prevLen||t<this._currLen){if(null===n){this._acceptCurr(i),i=this._getCurr(++t);continue}if(null===i){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldEnd<=n.newPosition){this._acceptCurr(i),i=this._getCurr(++t);continue}if(n.newEnd<=i.oldPosition){this._acceptPrev(n),n=this._getPrev(++e);continue}if(i.oldPosition<n.newPosition){const[e,t]=Fm._splitCurr(i,n.newPosition-i.oldPosition);this._acceptCurr(e),i=t;continue}if(n.newPosition<i.oldPosition){const[e,t]=Fm._splitPrev(n,i.oldPosition-n.newPosition);this._acceptPrev(e),n=t;continue}let o,r;if(i.oldEnd===n.newEnd)o=n,r=i,n=this._getPrev(++e),i=this._getCurr(++t);else if(i.oldEnd<n.newEnd){const[e,s]=Fm._splitPrev(n,i.oldLength);o=e,r=i,n=s,i=this._getCurr(++t)}else{const[t,s]=Fm._splitCurr(i,n.newLength);o=n,r=t,n=this._getPrev(++e),i=s}this._result[this._resultLen++]=new Rm(o.oldPosition,o.oldText,r.newPosition,r.newText),this._prevDeltaOffset+=o.newLength-o.oldLength,this._currDeltaOffset+=r.newLength-r.oldLength}const o=Fm._merge(this._result),r=Fm._removeNoOps(o);return r}_acceptCurr(e){this._result[this._resultLen++]=Fm._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=Fm._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new Rm(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new Rm(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){const n=e.newText.substr(0,t),i=e.newText.substr(t);return[new Rm(e.oldPosition,e.oldText,e.newPosition,n),new Rm(e.oldEnd,"",e.newPosition+t,i)]}static _splitCurr(e,t){const n=e.oldText.substr(0,t),i=e.oldText.substr(t);return[new Rm(e.oldPosition,n,e.newPosition,e.newText),new Rm(e.oldPosition+t,i,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;let t=[],n=0,i=e[0];for(let o=1;o<e.length;o++){const r=e[o];i.oldEnd===r.oldPosition?i=new Rm(i.oldPosition,i.oldText+r.oldText,i.newPosition,i.newText+r.newText):(t[n++]=i,i=r)}return t[n++]=i,t}static _removeNoOps(e){if(0===e.length)return e;let t=[],n=0;for(let i=0;i<e.length;i++){const o=e[i];o.oldText!==o.newText&&(t[n++]=o)}return t}}function jm(e){return e.toString()}class Qm{constructor(e,t,n,i,o,r,s){this.beforeVersionId=e,this.afterVersionId=t,this.beforeEOL=n,this.afterEOL=i,this.beforeCursorState=o,this.afterCursorState=r,this.changes=s}static create(e,t){const n=e.getAlternativeVersionId(),i=Wm(e);return new Qm(n,n,i,i,t,t,[])}append(e,t,n,i,o){t.length>0&&(this.changes=Pm(this.changes,t)),this.afterEOL=n,this.afterVersionId=i,this.afterCursorState=o}static _writeSelectionsSize(e){return 4+16*(e?e.length:0)}static _writeSelections(e,t,n){if(Ir["f"](e,t?t.length:0,n),n+=4,t)for(const i of t)Ir["f"](e,i.selectionStartLineNumber,n),n+=4,Ir["f"](e,i.selectionStartColumn,n),n+=4,Ir["f"](e,i.positionLineNumber,n),n+=4,Ir["f"](e,i.positionColumn,n),n+=4;return n}static _readSelections(e,t,n){const i=Ir["c"](e,t);t+=4;for(let o=0;o<i;o++){const i=Ir["c"](e,t);t+=4;const o=Ir["c"](e,t);t+=4;const r=Ir["c"](e,t);t+=4;const s=Ir["c"](e,t);t+=4,n.push(new gn(i,o,r,s))}return t}serialize(){let e=10+Qm._writeSelectionsSize(this.beforeCursorState)+Qm._writeSelectionsSize(this.afterCursorState)+4;for(const i of this.changes)e+=i.writeSize();const t=new Uint8Array(e);let n=0;Ir["f"](t,this.beforeVersionId,n),n+=4,Ir["f"](t,this.afterVersionId,n),n+=4,Ir["g"](t,this.beforeEOL,n),n+=1,Ir["g"](t,this.afterEOL,n),n+=1,n=Qm._writeSelections(t,this.beforeCursorState,n),n=Qm._writeSelections(t,this.afterCursorState,n),Ir["f"](t,this.changes.length,n),n+=4;for(const i of this.changes)n=i.write(t,n);return t.buffer}static deserialize(e){const t=new Uint8Array(e);let n=0;const i=Ir["c"](t,n);n+=4;const o=Ir["c"](t,n);n+=4;const r=Ir["d"](t,n);n+=1;const s=Ir["d"](t,n);n+=1;const a=[];n=Qm._readSelections(t,n,a);const l=[];n=Qm._readSelections(t,n,l);const c=Ir["c"](t,n);n+=4;const h=[];for(let u=0;u<c;u++)n=Rm.read(t,n,h);return new Qm(i,o,r,s,a,l,h)}}class zm{constructor(e,t){this.model=e,this._data=Qm.create(e,t)}get type(){return 0}get resource(){return tn.isUri(this.model)?this.model:this.model.uri}get label(){return v("edit","Typing")}toString(){const e=this._data instanceof Qm?this._data:Qm.deserialize(this._data);return e.changes.map(e=>e.toString()).join(", ")}matchesResource(e){const t=tn.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof Qm}append(e,t,n,i,o){this._data instanceof Qm&&this._data.append(e,t,n,i,o)}close(){this._data instanceof Qm&&(this._data=this._data.serialize())}undo(){if(tn.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof Qm&&(this._data=this._data.serialize());const e=Qm.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(tn.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof Qm&&(this._data=this._data.serialize());const e=Qm.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}}class Vm{constructor(e,t){this.type=1,this.label=e,this._isOpen=!0,this._editStackElementsArr=t.slice(0),this._editStackElementsMap=new Map;for(const n of this._editStackElementsArr){const e=jm(n.resource);this._editStackElementsMap.set(e,n)}this._delegate=null}get resources(){return this._editStackElementsArr.map(e=>e.resource)}prepareUndoRedo(){if(this._delegate)return this._delegate.prepareUndoRedo(this)}matchesResource(e){const t=jm(e);return this._editStackElementsMap.has(t)}setModel(e){const t=jm(tn.isUri(e)?e:e.uri);this._editStackElementsMap.has(t)&&this._editStackElementsMap.get(t).setModel(e)}canAppend(e){if(!this._isOpen)return!1;const t=jm(e.uri);if(this._editStackElementsMap.has(t)){const n=this._editStackElementsMap.get(t);return n.canAppend(e)}return!1}append(e,t,n,i,o){const r=jm(e.uri),s=this._editStackElementsMap.get(r);s.append(e,t,n,i,o)}close(){this._isOpen=!1}undo(){this._isOpen=!1;for(const e of this._editStackElementsArr)e.undo()}redo(){for(const e of this._editStackElementsArr)e.redo()}split(){return this._editStackElementsArr}}function Wm(e){const t=e.getEOL();return"\n"===t?0:1}function Hm(e){return!!e&&(e instanceof zm||e instanceof Vm)}class Um{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);Hm(e)&&e.close()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);if(Hm(t)&&t.canAppend(this._model))return t;const n=new zm(this._model,e);return this._undoRedoService.pushElement(n),n}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],Wm(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,n){const i=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0),r=Um._computeCursorState(n,o),s=o.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),i.append(this._model,s.map(e=>e.textChange),Wm(this._model),this._model.getAlternativeVersionId(),r),r}static _computeCursorState(e,t){try{return e?e(t):null}catch(n){return Me(n),null}}}class Ym{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function Gm(e,t,n,i,o){let r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r<t&&r<i;r++){let t=e.charCodeAt(r),i=n.charCodeAt(r);if(t!==i)break}let s=0,a=0;for(let d=r;d<t;d++){let t=e.charCodeAt(d);32===t?s++:a++}let l=0,c=0;for(let d=r;d<i;d++){let e=n.charCodeAt(d);32===e?l++:c++}if(s>0&&a>0)return;if(l>0&&c>0)return;let h=Math.abs(a-c),u=Math.abs(s-l);if(0===h)return o.spacesDiff=u,void(u>0&&0<=l-1&&l-1<e.length&&l<n.length&&32!==n.charCodeAt(l)&&32===e.charCodeAt(l-1)&&44===e.charCodeAt(e.length-1)&&(o.looksLikeAlignment=!0));u%h!==0||(o.spacesDiff=u/h)}function Km(e,t,n){const i=Math.min(e.getLineCount(),1e4);let o=0,r=0,s="",a=0;const l=[2,4,6,8,3,5,7],c=8;let h=[0,0,0,0,0,0,0,0,0],u=new Ym;for(let f=1;f<=i;f++){let i=e.getLineLength(f),l=e.getLineContent(f);const d=i<=65536;let p=!1,g=0,m=0,b=0;for(let t=0,n=i;t<n;t++){let n=d?l.charCodeAt(t):e.getLineCharCode(f,t);if(9===n)b++;else{if(32!==n){p=!0,g=t;break}m++}}if(!p)continue;if(b>0?o++:m>1&&r++,Gm(s,a,l,g,u),u.looksLikeAlignment&&(!n||t!==u.spacesDiff))continue;let v=u.spacesDiff;v<=c&&h[v]++,s=l,a=g}let d=n;o!==r&&(d=o<r);let p=t;if(d){let e=d?0:.1*i;l.forEach(t=>{let n=h[t];n>e&&(e=n,p=t)}),4===p&&h[4]>0&&h[2]>0&&h[2]>=h[4]/2&&(p=2)}return{insertSpaces:d,tabSize:p}}function qm(e){return(1&e.metadata)>>>0}function Jm(e,t){e.metadata=254&e.metadata|t<<0}function Xm(e){return(2&e.metadata)>>>1===1}function $m(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function Zm(e){return(4&e.metadata)>>>2===1}function eb(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function tb(e){return(8&e.metadata)>>>3===1}function nb(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function ib(e){return(48&e.metadata)>>>4}function ob(e,t){e.metadata=207&e.metadata|t<<4}function rb(e){return(64&e.metadata)>>>6===1}function sb(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}class ab{constructor(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,Jm(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,eb(this,!1),ob(this,1),nb(this,!1),sb(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,$m(this,!1)}reset(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i}setOptions(e){this.options=e;let t=this.options.className;eb(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),ob(this,this.options.stickiness),nb(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),sb(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const lb=new ab(null,0,0);lb.parent=lb,lb.left=lb,lb.right=lb,Jm(lb,0);class cb{constructor(){this.root=lb,this.requestNormalizeDelta=!1}intervalSearch(e,t,n,i,o){return this.root===lb?[]:vb(this,e,t,n,i,o)}search(e,t,n){return this.root===lb?[]:bb(this,e,t,n)}collectNodesFromOwner(e){return gb(this,e)}collectNodesPostOrder(){return mb(this)}insert(e){yb(this,e),this._normalizeDeltaIfNecessary()}delete(e){_b(this,e),this._normalizeDeltaIfNecessary()}resolveNode(e,t){const n=e;let i=0;while(e!==this.root)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;const o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)}acceptReplace(e,t,n,i){const o=pb(this,e,e+t);for(let r=0,s=o.length;r<s;r++){const e=o[r];_b(this,e)}this._normalizeDeltaIfNecessary(),fb(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(let r=0,s=o.length;r<s;r++){const s=o[r];s.start=s.cachedAbsoluteStart,s.end=s.cachedAbsoluteEnd,db(s,e,e+t,n,i),s.maxEnd=s.end,yb(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,hb(this))}}function hb(e){let t=e.root,n=0;while(t!==lb)t.left===lb||Xm(t.left)?t.right===lb||Xm(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,Db(t),$m(t,!0),$m(t.left,!1),$m(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;$m(e.root,!1)}function ub(e,t,n,i){return e<n||!(e>n)&&(1!==i&&(2===i||t))}function db(e,t,n,i,o){const r=ib(e),s=0===r||2===r,a=1===r||2===r,l=n-t,c=i,h=Math.min(l,c),u=e.start;let d=!1;const p=e.end;let f=!1;t<=u&&p<=n&&rb(e)&&(e.start=t,d=!0,e.end=t,f=!0);{const e=o?1:l>0?2:0;!d&&ub(u,s,t,e)&&(d=!0),!f&&ub(p,a,t,e)&&(f=!0)}if(h>0&&!o){const e=l>c?2:0;!d&&ub(u,s,t+h,e)&&(d=!0),!f&&ub(p,a,t+h,e)&&(f=!0)}{const i=o?1:0;!d&&ub(u,s,n,i)&&(e.start=t+c,d=!0),!f&&ub(p,a,n,i)&&(e.end=t+c,f=!0)}const g=c-l;d||(e.start=Math.max(0,u+g)),f||(e.end=Math.max(0,p+g)),e.start>e.end&&(e.end=e.start)}function pb(e,t,n){let i=e.root,o=0,r=0,s=0,a=0,l=[],c=0;while(i!==lb)if(Xm(i))$m(i.left,!1),$m(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!Xm(i.left)){if(r=o+i.maxEnd,r<t){$m(i,!0);continue}if(i.left!==lb){i=i.left;continue}}s=o+i.start,s>n?$m(i,!0):(a=o+i.end,a>=t&&(i.setCachedOffsets(s,a,0),l[c++]=i),$m(i,!0),i.right===lb||Xm(i.right)||(o+=i.delta,i=i.right))}return $m(e.root,!1),l}function fb(e,t,n,i){let o=e.root,r=0,s=0,a=0;const l=i-(n-t);while(o!==lb)if(Xm(o))$m(o.left,!1),$m(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),Db(o),o=o.parent;else{if(!Xm(o.left)){if(s=r+o.maxEnd,s<t){$m(o,!0);continue}if(o.left!==lb){o=o.left;continue}}a=r+o.start,a>n?(o.start+=l,o.end+=l,o.delta+=l,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),$m(o,!0)):($m(o,!0),o.right===lb||Xm(o.right)||(r+=o.delta,o=o.right))}$m(e.root,!1)}function gb(e,t){let n=e.root,i=[],o=0;while(n!==lb)Xm(n)?($m(n.left,!1),$m(n.right,!1),n=n.parent):n.left===lb||Xm(n.left)?(n.ownerId===t&&(i[o++]=n),$m(n,!0),n.right===lb||Xm(n.right)||(n=n.right)):n=n.left;return $m(e.root,!1),i}function mb(e){let t=e.root,n=[],i=0;while(t!==lb)Xm(t)?($m(t.left,!1),$m(t.right,!1),t=t.parent):t.left===lb||Xm(t.left)?t.right===lb||Xm(t.right)?(n[i++]=t,$m(t,!0)):t=t.right:t=t.left;return $m(e.root,!1),n}function bb(e,t,n,i){let o=e.root,r=0,s=0,a=0,l=[],c=0;while(o!==lb){if(Xm(o)){$m(o.left,!1),$m(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;continue}if(o.left!==lb&&!Xm(o.left)){o=o.left;continue}s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);let e=!0;t&&o.ownerId&&o.ownerId!==t&&(e=!1),n&&Zm(o)&&(e=!1),e&&(l[c++]=o),$m(o,!0),o.right===lb||Xm(o.right)||(r+=o.delta,o=o.right)}return $m(e.root,!1),l}function vb(e,t,n,i,o,r){let s=e.root,a=0,l=0,c=0,h=0,u=[],d=0;while(s!==lb)if(Xm(s))$m(s.left,!1),$m(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!Xm(s.left)){if(l=a+s.maxEnd,l<t){$m(s,!0);continue}if(s.left!==lb){s=s.left;continue}}if(c=a+s.start,c>n)$m(s,!0);else{if(h=a+s.end,h>=t){s.setCachedOffsets(c,h,r);let e=!0;i&&s.ownerId&&s.ownerId!==i&&(e=!1),o&&Zm(s)&&(e=!1),e&&(u[d++]=s)}$m(s,!0),s.right===lb||Xm(s.right)||(a+=s.delta,s=s.right)}}return $m(e.root,!1),u}function yb(e,t){if(e.root===lb)return t.parent=lb,t.left=lb,t.right=lb,Jm(t,0),e.root=t,e.root;wb(e,t),kb(t.parent);let n=t;while(n!==e.root&&1===qm(n.parent))if(n.parent===n.parent.parent.left){const t=n.parent.parent.right;1===qm(t)?(Jm(n.parent,0),Jm(t,0),Jm(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&(n=n.parent,Eb(e,n)),Jm(n.parent,0),Jm(n.parent.parent,1),xb(e,n.parent.parent))}else{const t=n.parent.parent.left;1===qm(t)?(Jm(n.parent,0),Jm(t,0),Jm(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&(n=n.parent,xb(e,n)),Jm(n.parent,0),Jm(n.parent.parent,1),Eb(e,n.parent.parent))}return Jm(e.root,0),t}function wb(e,t){let n=0,i=e.root;const o=t.start,r=t.end;while(1){const e=Mb(o,r,i.start+n,i.end+n);if(e<0){if(i.left===lb){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===lb){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=lb,t.right=lb,Jm(t,1)}function _b(e,t){let n,i;if(t.left===lb?(n=t.right,i=t,n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===lb?(n=t.left,i=t):(i=Ab(t.right),n=i.right,n.start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,Jm(n,0),t.detach(),Cb(),Db(n),void(e.root.parent=lb);let o,r=1===qm(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,Jm(i,qm(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==lb&&(i.left.parent=i),i.right!==lb&&(i.right.parent=i)),t.detach(),r)return kb(n.parent),i!==t&&(kb(i),kb(i.parent)),void Cb();kb(n),kb(n.parent),i!==t&&(kb(i),kb(i.parent));while(n!==e.root&&0===qm(n))n===n.parent.left?(o=n.parent.right,1===qm(o)&&(Jm(o,0),Jm(n.parent,1),Eb(e,n.parent),o=n.parent.right),0===qm(o.left)&&0===qm(o.right)?(Jm(o,1),n=n.parent):(0===qm(o.right)&&(Jm(o.left,0),Jm(o,1),xb(e,o),o=n.parent.right),Jm(o,qm(n.parent)),Jm(n.parent,0),Jm(o.right,0),Eb(e,n.parent),n=e.root)):(o=n.parent.left,1===qm(o)&&(Jm(o,0),Jm(n.parent,1),xb(e,n.parent),o=n.parent.left),0===qm(o.left)&&0===qm(o.right)?(Jm(o,1),n=n.parent):(0===qm(o.left)&&(Jm(o.right,0),Jm(o,1),Eb(e,o),o=n.parent.left),Jm(o,qm(n.parent)),Jm(n.parent,0),Jm(o.left,0),xb(e,n.parent),n=e.root));Jm(n,0),Cb()}function Ab(e){while(e.left!==lb)e=e.left;return e}function Cb(){lb.parent=lb,lb.delta=0,lb.start=0,lb.end=0}function Eb(e,t){const n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==lb&&(n.left.parent=t),n.parent=t.parent,t.parent===lb?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,Db(t),Db(n)}function xb(e,t){const n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==lb&&(n.right.parent=t),n.parent=t.parent,t.parent===lb?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,Db(t),Db(n)}function Sb(e){let t=e.end;if(e.left!==lb){const n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==lb){const n=e.right.maxEnd+e.delta;n>t&&(t=n)}return t}function Db(e){e.maxEnd=Sb(e)}function kb(e){while(e!==lb){const t=Sb(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function Mb(e,t,n,i){return e===n?t-i:e-n}class Nb{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==Lb)return Bb(this.right);let e=this;while(e.parent!==Lb){if(e.parent.left===e)break;e=e.parent}return e.parent===Lb?Lb:e.parent}prev(){if(this.left!==Lb)return Ib(this.left);let e=this;while(e.parent!==Lb){if(e.parent.right===e)break;e=e.parent}return e.parent===Lb?Lb:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const Lb=new Nb(null,0);function Bb(e){while(e.left!==Lb)e=e.left;return e}function Ib(e){while(e.right!==Lb)e=e.right;return e}function Tb(e){return e===Lb?0:e.size_left+e.piece.length+Tb(e.right)}function Ob(e){return e===Lb?0:e.lf_left+e.piece.lineFeedCnt+Ob(e.right)}function Rb(){Lb.parent=Lb}function Pb(e,t){let n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==Lb&&(n.left.parent=t),n.parent=t.parent,t.parent===Lb?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function Fb(e,t){let n=t.left;t.left=n.right,n.right!==Lb&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===Lb?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function jb(e,t){let n,i;if(t.left===Lb?(i=t,n=i.right):t.right===Lb?(i=t,n=i.left):(i=Bb(t.right),n=i.right),i===e.root)return e.root=n,n.color=0,t.detach(),Rb(),void(e.root.parent=Lb);let o,r=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,Vb(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,Vb(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==Lb&&(i.left.parent=i),i.right!==Lb&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,Vb(e,i)),t.detach(),n.parent.left===n){let t=Tb(n),i=Ob(n);if(t!==n.parent.size_left||i!==n.parent.lf_left){let o=t-n.parent.size_left,r=i-n.parent.lf_left;n.parent.size_left=t,n.parent.lf_left=i,zb(e,n.parent,o,r)}}if(Vb(e,n.parent),r)Rb();else{while(n!==e.root&&0===n.color)n===n.parent.left?(o=n.parent.right,1===o.color&&(o.color=0,n.parent.color=1,Pb(e,n.parent),o=n.parent.right),0===o.left.color&&0===o.right.color?(o.color=1,n=n.parent):(0===o.right.color&&(o.left.color=0,o.color=1,Fb(e,o),o=n.parent.right),o.color=n.parent.color,n.parent.color=0,o.right.color=0,Pb(e,n.parent),n=e.root)):(o=n.parent.left,1===o.color&&(o.color=0,n.parent.color=1,Fb(e,n.parent),o=n.parent.left),0===o.left.color&&0===o.right.color?(o.color=1,n=n.parent):(0===o.left.color&&(o.right.color=0,o.color=1,Pb(e,o),o=n.parent.left),o.color=n.parent.color,n.parent.color=0,o.left.color=0,Fb(e,n.parent),n=e.root));n.color=0,Rb()}}function Qb(e,t){Vb(e,t);while(t!==e.root&&1===t.parent.color)if(t.parent===t.parent.parent.left){const n=t.parent.parent.right;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&(t=t.parent,Pb(e,t)),t.parent.color=0,t.parent.parent.color=1,Fb(e,t.parent.parent))}else{const n=t.parent.parent.left;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&(t=t.parent,Fb(e,t)),t.parent.color=0,t.parent.parent.color=1,Pb(e,t.parent.parent))}e.root.color=0}function zb(e,t,n,i){while(t!==e.root&&t!==Lb)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function Vb(e,t){let n=0,i=0;if(t!==e.root){if(0===n){while(t!==e.root&&t===t.parent.right)t=t.parent;if(t===e.root)return;t=t.parent,n=Tb(t.left)-t.size_left,i=Ob(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}while(t!==e.root&&(0!==n||0!==i))t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}Lb.parent=Lb,Lb.left=Lb,Lb.right=Lb,Lb.color=0;class Wb extends Oh{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}function Hb(e){let t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}const Ub=Hb(e=>new Wb(e)),Yb=999;class Gb{constructor(e,t,n,i){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=i}parseSearchRequest(){if(""===this.searchString)return null;let e;e=this.isRegex?Kb(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=Rr["o"](this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(i){return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new qb(t,this.wordSeparators?Ub(this.wordSeparators):null,n?this.searchString:null)}}function Kb(e){if(!e||0===e.length)return!1;for(let t=0,n=e.length;t<n;t++){const i=e.charCodeAt(t);if(92===i){if(t++,t>=n)break;const i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}class qb{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}function Jb(e,t,n){if(!n)return new Fs(e,null);let i=[];for(let o=0,r=t.length;o<r;o++)i[o]=t[o];return new Fs(e,i)}class Xb{constructor(e){let t=[],n=0;for(let i=0,o=e.length;i<o;i++)10===e.charCodeAt(i)&&(t[n++]=i);this._lineFeedsOffsets=t}findLineFeedCountBeforeOffset(e){const t=this._lineFeedsOffsets;let n=0,i=t.length-1;if(-1===i)return 0;if(e<=t[0])return 0;while(n<i){const o=n+((i-n)/2>>0);t[o]>=e?i=o-1:t[o+1]>=e?(n=o,i=o):n=o+1}return n+1}}class $b{static findMatches(e,t,n,i,o){const r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new nv(r.wordSeparators,r.regex),i,o):this._doFindMatchesLineByLine(e,n,r,i,o):[]}static _getMultilineMatchRange(e,t,n,i,o,r){let s,a,l=0;if(i?(l=i.findLineFeedCountBeforeOffset(o),s=t+o+l):s=t+o,i){let e=i.findLineFeedCountBeforeOffset(o+r.length),t=e-l;a=s+r.length+t}else a=s+r.length;const c=e.getPositionAt(s),h=e.getPositionAt(a);return new fn(c.lineNumber,c.column,h.lineNumber,h.column)}static _doFindMatchesMultiline(e,t,n,i,o){const r=e.getOffsetAt(t.getStartPosition()),s=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new Xb(s):null,l=[];let c,h=0;n.reset(0);while(c=n.next(s))if(l[h++]=Jb(this._getMultilineMatchRange(e,r,s,a,c.index,c[0]),c,i),h>=o)return l;return l}static _doFindMatchesLineByLine(e,t,n,i,o){const r=[];let s=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o),r}const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);s=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,s,r,i,o);for(let l=t.startLineNumber+1;l<t.endLineNumber&&s<o;l++)s=this._findMatchesInLine(n,e.getLineContent(l),l,0,s,r,i,o);if(s<o){const a=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);s=this._findMatchesInLine(n,a,t.endLineNumber,0,s,r,i,o)}return r}static _findMatchesInLine(e,t,n,i,o,r,s,a){const l=e.wordSeparators;if(!s&&e.simpleSearch){const s=e.simpleSearch,c=s.length,h=t.length;let u=-c;while(-1!==(u=t.indexOf(s,u+c)))if((!l||tv(l,t,h,u,c))&&(r[o++]=new Fs(new fn(n,u+1+i,n,u+1+c+i),null),o>=a))return o;return o}const c=new nv(e.wordSeparators,e.regex);let h;c.reset(0);do{if(h=c.next(t),h&&(r[o++]=Jb(new fn(n,h.index+1+i,n,h.index+1+h[0].length+i),h,s),o>=a))return o}while(h);return o}static findNextMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new nv(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,r,i):this._doFindNextMatchLineByLine(e,n,r,i)}static _doFindNextMatchMultiline(e,t,n,i){const o=new pn(t.lineNumber,1),r=e.getOffsetAt(o),s=e.getLineCount(),a=e.getValueInRange(new fn(o.lineNumber,o.column,s,e.getLineMaxColumn(s)),1),l="\r\n"===e.getEOL()?new Xb(a):null;n.reset(t.column-1);let c=n.next(a);return c?Jb(this._getMultilineMatchRange(e,r,a,l,c.index,c[0]),c,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new pn(1,1),n,i):null}static _doFindNextMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r),a=this._findFirstMatchInLine(n,s,r,t.column,i);if(a)return a;for(let l=1;l<=o;l++){const t=(r+l-1)%o,s=e.getLineContent(t+1),a=this._findFirstMatchInLine(n,s,t+1,1,i);if(a)return a}return null}static _findFirstMatchInLine(e,t,n,i,o){e.reset(i-1);const r=e.next(t);return r?Jb(new fn(n,r.index+1,n,r.index+1+r[0].length),r,o):null}static findPreviousMatch(e,t,n,i){const o=t.parseSearchRequest();if(!o)return null;const r=new nv(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,i):this._doFindPreviousMatchLineByLine(e,n,r,i)}static _doFindPreviousMatchMultiline(e,t,n,i){const o=this._doFindMatchesMultiline(e,new fn(1,1,t.lineNumber,t.column),n,i,10*Yb);if(o.length>0)return o[o.length-1];const r=e.getLineCount();return t.lineNumber!==r||t.column!==e.getLineMaxColumn(r)?this._doFindPreviousMatchMultiline(e,new pn(r,e.getLineMaxColumn(r)),n,i):null}static _doFindPreviousMatchLineByLine(e,t,n,i){const o=e.getLineCount(),r=t.lineNumber,s=e.getLineContent(r).substring(0,t.column-1),a=this._findLastMatchInLine(n,s,r,i);if(a)return a;for(let l=1;l<=o;l++){const t=(o+r-l-1)%o,s=e.getLineContent(t+1),a=this._findLastMatchInLine(n,s,t+1,i);if(a)return a}return null}static _findLastMatchInLine(e,t,n,i){let o,r=null;e.reset(0);while(o=e.next(t))r=Jb(new fn(n,o.index+1,n,o.index+1+o[0].length),o,i);return r}}function Zb(e,t,n,i,o){if(0===i)return!0;const r=t.charCodeAt(i-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i);if(0!==e.get(n))return!0}return!1}function ev(e,t,n,i,o){if(i+o===n)return!0;const r=t.charCodeAt(i+o);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(o>0){const n=t.charCodeAt(i+o-1);if(0!==e.get(n))return!0}return!1}function tv(e,t,n,i,o){return Zb(e,t,n,i,o)&&ev(e,t,n,i,o)}class nv{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const i=n.index,o=n[0].length;if(i===this._prevMatchStartIndex&&o===this._prevMatchLength){if(0===o){Rr["y"](e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=o,!this._wordSeparators||tv(this._wordSeparators,e,t,i,o))return n}while(n);return null}}const iv=65535;function ov(e){let t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}class rv{constructor(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o}}function sv(e,t=!0){let n=[0],i=1;for(let o=0,r=e.length;o<r;o++){const t=e.charCodeAt(o);13===t?o+1<r&&10===e.charCodeAt(o+1)?(n[i++]=o+2,o++):n[i++]=o+1:10===t&&(n[i++]=o+1)}return t?ov(n):n}function av(e,t){e.length=0,e[0]=0;let n=1,i=0,o=0,r=0,s=!0;for(let l=0,c=t.length;l<c;l++){const a=t.charCodeAt(l);13===a?l+1<c&&10===t.charCodeAt(l+1)?(r++,e[n++]=l+2,l++):(i++,e[n++]=l+1):10===a?(o++,e[n++]=l+1):s&&9!==a&&(a<32||a>126)&&(s=!1)}const a=new rv(ov(e),i,o,r,s);return e.length=0,a}class lv{constructor(e,t,n,i,o){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=o}}class cv{constructor(e,t){this.buffer=e,this.lineStarts=t}}class hv{constructor(e,t){this._pieces=[],this._tree=e,this._BOM=t,this._index=0,e.root!==Lb&&e.iterate(e.root,e=>(e!==Lb&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class uv{constructor(e){this._limit=e,this._cache=[]}get(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null}get2(e){for(let t=this._cache.length-1;t>=0;t--){let n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,n=this._cache;for(let i=0;i<n.length;i++){let o=n[i];(null===o.node.parent||o.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){let e=[];for(const t of n)null!==t&&e.push(t);this._cache=e}}}class dv{constructor(e,t,n){this.create(e,t,n)}create(e,t,n){this._buffers=[new cv("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=Lb,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;let i=null;for(let o=0,r=e.length;o<r;o++)if(e[o].buffer.length>0){e[o].lineStarts||(e[o].lineStarts=sv(e[o].buffer));let t=new lv(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,t)}this._searchCache=new uv(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(e){let t=iv,n=t-Math.floor(t/3),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,t=>{let a=this.getNodeContent(t),l=a.length;if(r<=n||r+l<i)return o+=a,r+=l,!0;let c=o.replace(/\r\n|\r|\n/g,e);return s.push(new cv(c,sv(c))),o=a,r=l,!0}),r>0){let t=o.replace(/\r\n|\r|\n/g,e);s.push(new cv(t,sv(t)))}this.create(s,e,!0)}getEOL(){return this._EOL}setEOL(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)}createSnapshot(e){return new hv(this,e)}getOffsetAt(e,t){let n=0,i=this.root;while(i!==Lb)if(i.left!==Lb&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e){n+=i.size_left;let o=this.getAccumulatedValue(i,e-i.lf_left-2);return n+(o+t-1)}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,n=0,i=e;while(t!==Lb)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){let o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){let e=this.getOffsetAt(n+1,1),t=i-e;return new pn(n+1,t+1)}return new pn(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===Lb){let t=this.getOffsetAt(n+1,1),o=i-e-t;return new pn(n+1,o+1)}t=t.right}return new pn(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";let n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o}getValueInRange2(e,t){if(e.node===t.node){let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}let n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),r=i.substring(o+e.remainder,o+n.piece.length);n=n.next();while(n!==Lb){let e=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){r+=e.substring(i,i+t.remainder);break}r+=e.substr(i,n.piece.length),n=n.next()}return r}getLinesContent(){let e=[],t=0,n="",i=!1;return this.iterate(this.root,o=>{if(o===Lb)return!0;const r=o.piece;let s=r.length;if(0===s)return!0;const a=this._buffers[r.bufferIndex].buffer,l=this._buffers[r.bufferIndex].lineStarts,c=r.start.line,h=r.end.line;let u=l[c]+r.start.column;if(i&&(10===a.charCodeAt(u)&&(u++,s--),e[t++]=n,n="",i=!1,0===s))return!0;if(c===h)return this._EOLNormalized||13!==a.charCodeAt(u+s-1)?n+=a.substr(u,s):(i=!0,n+=a.substr(u,s-1)),!0;n+=this._EOLNormalized?a.substring(u,Math.max(u,l[c+1]-this._EOLLength)):a.substring(u,l[c+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;for(let i=c+1;i<h;i++)n=this._EOLNormalized?a.substring(l[i],l[i+1]-this._EOLLength):a.substring(l[i],l[i+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=n;return this._EOLNormalized||13!==a.charCodeAt(l[h]+r.end.column-1)?n=a.substr(l[h],r.end.column):(i=!0,0===r.end.column?t--:n=a.substr(l[h],r.end.column-1)),!0}),i&&(e[t++]=n,n=""),e[t++]=n,e}getLength(){return this._length}getLineCount(){return this._lineCnt}getLineContent(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value}_getCharCode(e){if(e.remainder===e.node.piece.length){let t=e.node.next();if(!t)return 0;let n=this._buffers[t.piece.bufferIndex],i=this.offsetInBuffer(t.piece.bufferIndex,t.piece.start);return n.buffer.charCodeAt(i)}{let t=this._buffers[e.node.piece.bufferIndex],n=this.offsetInBuffer(e.node.piece.bufferIndex,e.node.piece.start),i=n+e.remainder;return t.buffer.charCodeAt(i)}}getLineCharCode(e,t){let n=this.nodeAt2(e,t+1);return this._getCharCode(n)}getLineLength(e){if(e===this.getLineCount()){let t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength}findMatchesInNode(e,t,n,i,o,r,s,a,l,c,h){let u,d,p,f=this._buffers[e.piece.bufferIndex],g=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),m=this.offsetInBuffer(e.piece.bufferIndex,o),b=this.offsetInBuffer(e.piece.bufferIndex,r),v={line:0,column:0};t._wordSeparators?(d=f.buffer.substring(m,b),p=e=>e+m,t.reset(0)):(d=f.buffer,p=e=>e,t.reset(m));do{if(u=t.next(d),u){if(p(u.index)>=b)return c;this.positionInBuffer(e,p(u.index)-g,v);let t=this.getLineFeedCnt(e.piece.bufferIndex,o,v),r=v.line===o.line?v.column-o.column+i:v.column+1,s=r+u[0].length;if(h[c++]=Jb(new fn(n+t,r,n+t,s),u,a),p(u.index)+u[0].length>=b)return c;if(c>=l)return c}}while(u);return c}findMatchesLineByLine(e,t,n,i){const o=[];let r=0;const s=new nv(t.wordSeparators,t.regex);let a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];let l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let c=this.positionInBuffer(a.node,a.remainder),h=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,c,h,t,n,i,r,o),o;let u=e.startLineNumber,d=a.node;while(d!==l.node){let l=this.getLineFeedCnt(d.piece.bufferIndex,c,d.piece.end);if(l>=1){let a=this._buffers[d.piece.bufferIndex].lineStarts,h=this.offsetInBuffer(d.piece.bufferIndex,d.piece.start),p=a[c.line+l],f=u===e.startLineNumber?e.startColumn:1;if(r=this.findMatchesInNode(d,s,u,f,c,this.positionInBuffer(d,p-h),t,n,i,r,o),r>=i)return o;u+=l}let h=u===e.startLineNumber?e.startColumn-1:0;if(u===e.endLineNumber){const a=this.getLineContent(u).substring(h,e.endColumn-1);return r=this._findMatchesInLine(t,s,a,e.endLineNumber,h,r,o,n,i),o}if(r=this._findMatchesInLine(t,s,this.getLineContent(u).substr(h),u,h,r,o,n,i),r>=i)return o;u++,a=this.nodeAt2(u,1),d=a.node,c=this.positionInBuffer(a.node,a.remainder)}if(u===e.endLineNumber){let a=u===e.startLineNumber?e.startColumn-1:0;const l=this.getLineContent(u).substring(a,e.endColumn-1);return r=this._findMatchesInLine(t,s,l,e.endLineNumber,a,r,o,n,i),o}let p=u===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(l.node,s,u,p,c,h,t,n,i,r,o),o}_findMatchesInLine(e,t,n,i,o,r,s,a,l){const c=e.wordSeparators;if(!a&&e.simpleSearch){const t=e.simpleSearch,a=t.length,h=n.length;let u=-a;while(-1!==(u=n.indexOf(t,u+a)))if((!c||tv(c,n,h,u,a))&&(s[r++]=new Fs(new fn(i,u+1+o,i,u+1+a+o),null),r>=l))return r;return r}let h;t.reset(0);do{if(h=t.next(n),h&&(s[r++]=Jb(new fn(i,h.index+1+o,i,h.index+1+h[0].length+o),h,a),r>=l))return r}while(h);return r}insert(e,t,n=!1){if(this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==Lb){let{node:n,remainder:i,nodeStartOffset:o}=this.nodeAt(e),r=n.piece,s=r.bufferIndex,a=this.positionInBuffer(n,i);if(0===n.piece.bufferIndex&&r.end.line===this._lastChangeBufferPos.line&&r.end.column===this._lastChangeBufferPos.column&&o+r.length===e&&t.length<iv)return this.appendToNode(n,t),void this.computeBufferMetadata();if(o===e)this.insertContentToNodeLeft(t,n),this._searchCache.validate(e);else if(o+n.piece.length>e){let e=[],o=new lv(r.bufferIndex,a,r.end,this.getLineFeedCnt(r.bufferIndex,a,r.end),this.offsetInBuffer(s,r.end)-this.offsetInBuffer(s,a));if(this.shouldCheckCRLF()&&this.endWithCR(t)){let e=this.nodeCharCodeAt(n,i);if(10===e){let e={line:o.start.line+1,column:0};o=new lv(o.bufferIndex,e,o.end,this.getLineFeedCnt(o.bufferIndex,e,o.end),o.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){let o=this.nodeCharCodeAt(n,i-1);if(13===o){let o=this.positionInBuffer(n,i-1);this.deleteNodeTail(n,o),t="\r"+t,0===n.piece.length&&e.push(n)}else this.deleteNodeTail(n,a)}else this.deleteNodeTail(n,a);let l=this.createNewPieces(t);o.length>0&&this.rbInsertRight(n,o);let c=n;for(let t=0;t<l.length;t++)c=this.rbInsertRight(c,l[t]);this.deleteNodes(e)}else this.insertContentToNodeRight(t,n)}else{let e=this.createNewPieces(t),n=this.rbInsertLeft(null,e[0]);for(let t=1;t<e.length;t++)n=this.rbInsertRight(n,e[t])}this.computeBufferMetadata()}delete(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",t<=0||this.root===Lb)return;let n=this.nodeAt(e),i=this.nodeAt(e+t),o=n.node,r=i.node;if(o===r){let r=this.positionInBuffer(o,n.remainder),s=this.positionInBuffer(o,i.remainder);if(n.nodeStartOffset===e){if(t===o.piece.length){let e=o.next();return jb(this,o),this.validateCRLFWithPrevNode(e),void this.computeBufferMetadata()}return this.deleteNodeHead(o,s),this._searchCache.validate(e),this.validateCRLFWithPrevNode(o),void this.computeBufferMetadata()}return n.nodeStartOffset+o.piece.length===e+t?(this.deleteNodeTail(o,r),this.validateCRLFWithNextNode(o),void this.computeBufferMetadata()):(this.shrinkNode(o,r,s),void this.computeBufferMetadata())}let s=[],a=this.positionInBuffer(o,n.remainder);this.deleteNodeTail(o,a),this._searchCache.validate(e),0===o.piece.length&&s.push(o);let l=this.positionInBuffer(r,i.remainder);this.deleteNodeHead(r,l),0===r.piece.length&&s.push(r);let c=o.next();for(let u=c;u!==Lb&&u!==r;u=u.next())s.push(u);let h=0===o.piece.length?o.prev():o;this.deleteNodes(s),this.validateCRLFWithNextNode(h),this.computeBufferMetadata()}insertContentToNodeLeft(e,t){let n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){let i=t.piece,o={line:i.start.line+1,column:0},r=new lv(i.bufferIndex,o,i.end,this.getLineFeedCnt(i.bufferIndex,o,i.end),i.length-1);t.piece=r,e+="\n",zb(this,t,-1,-1),0===t.piece.length&&n.push(t)}let i=this.createNewPieces(e),o=this.rbInsertLeft(t,i[i.length-1]);for(let r=i.length-2;r>=0;r--)o=this.rbInsertLeft(o,i[r]);this.validateCRLFWithPrevNode(o),this.deleteNodes(n)}insertContentToNodeRight(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");let n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i;for(let r=1;r<n.length;r++)o=this.rbInsertRight(o,n[r]);this.validateCRLFWithPrevNode(i)}positionInBuffer(e,t,n){let i=e.piece,o=e.piece.bufferIndex,r=this._buffers[o].lineStarts,s=r[i.start.line]+i.start.column,a=s+t,l=i.start.line,c=i.end.line,h=0,u=0,d=0;while(l<=c){if(h=l+(c-l)/2|0,d=r[h],h===c)break;if(u=r[h+1],a<d)c=h-1;else{if(!(a>=u))break;l=h+1}}return n?(n.line=h,n.column=a-d,null):{line:h,column:a-d}}getLineFeedCnt(e,t,n){if(0===n.column)return n.line-t.line;let i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;let o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;let s=r-1,a=this._buffers[e].buffer;return 13===a.charCodeAt(s)?n.line-t.line+1:n.line-t.line}offsetInBuffer(e,t){let n=this._buffers[e].lineStarts;return n[t.line]+t.column}deleteNodes(e){for(let t=0;t<e.length;t++)jb(this,e[t])}createNewPieces(e){if(e.length>iv){let t=[];while(e.length>iv){const n=e.charCodeAt(iv-1);let i;13===n||n>=55296&&n<=56319?(i=e.substring(0,iv-1),e=e.substring(iv-1)):(i=e.substring(0,iv),e=e.substring(iv));let o=sv(i);t.push(new lv(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new cv(i,o))}let n=sv(e);return t.push(new lv(this._buffers.length,{line:0,column:0},{line:n.length-1,column:e.length-n[n.length-1]},n.length-1,e.length)),this._buffers.push(new cv(e,n)),t}let t=this._buffers[0].buffer.length;const n=sv(e,!1);let i=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===t&&0!==t&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},i=this._lastChangeBufferPos;for(let e=0;e<n.length;e++)n[e]+=t+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+="_"+e,t+=1}else{if(0!==t)for(let e=0;e<n.length;e++)n[e]+=t;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(n.slice(1)),this._buffers[0].buffer+=e}const o=this._buffers[0].buffer.length;let r=this._buffers[0].lineStarts.length-1,s=o-this._buffers[0].lineStarts[r],a={line:r,column:s},l=new lv(0,i,a,this.getLineFeedCnt(0,i,a),o-t);return this._lastChangeBufferPos=a,[l]}getLineRawContent(e,t=0){let n=this.root,i="",o=this._searchCache.get2(e);if(o){n=o.node;let r=this.getAccumulatedValue(n,e-o.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(o.nodeStartLineNumber+n.piece.lineFeedCnt!==e){let i=this.getAccumulatedValue(n,e-o.nodeStartLineNumber);return s.substring(a+r,a+i-t)}i=s.substring(a+r,a+n.piece.length)}else{let o=0;const r=e;while(n!==Lb)if(n.left!==Lb&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let i=this.getAccumulatedValue(n,e-n.lf_left-2),s=this.getAccumulatedValue(n,e-n.lf_left-1),a=this._buffers[n.piece.bufferIndex].buffer,l=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return o+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:o,nodeStartLineNumber:r-(e-1-n.lf_left)}),a.substring(l+i,l+s-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){let t=this.getAccumulatedValue(n,e-n.lf_left-2),o=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=o.substring(r+t,r+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,o+=n.size_left+n.piece.length,n=n.right}}n=n.next();while(n!==Lb){let e=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){let o=this.getAccumulatedValue(n,0),r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=e.substring(r,r+o-t),i}{let t=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=e.substr(t,n.piece.length)}n=n.next()}return i}computeBufferMetadata(){let e=this.root,t=1,n=0;while(e!==Lb)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.validate(this._length)}getIndexOf(e,t){let n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){let t=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(t!==o)return{index:t,remainder:0}}return{index:o,remainder:i.column}}getAccumulatedValue(e,t){if(t<0)return 0;let n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column}deleteNodeTail(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),l=a-i,c=s-o,h=n.length+c;e.piece=new lv(n.bufferIndex,n.start,r,a,h),zb(this,e,c,l)}deleteNodeHead(e,t){const n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=this.offsetInBuffer(n.bufferIndex,r),l=s-i,c=o-a,h=n.length+c;e.piece=new lv(n.bufferIndex,r,n.end,s,h),zb(this,e,c,l)}shrinkNode(e,t,n){const i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,l=t,c=this.getLineFeedCnt(i.bufferIndex,i.start,l),h=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new lv(i.bufferIndex,i.start,l,c,h),zb(this,e,h-s,c-a);let u=new lv(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),d=this.rbInsertRight(e,u);this.validateCRLFWithPrevNode(d)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");const n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=sv(t,!1);for(let d=0;d<o.length;d++)o[d]+=i;if(n){let e=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:i-e}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(o.slice(1));const r=this._buffers[0].lineStarts.length-1,s=this._buffers[0].buffer.length-this._buffers[0].lineStarts[r],a={line:r,column:s},l=e.piece.length+t.length,c=e.piece.lineFeedCnt,h=this.getLineFeedCnt(0,e.piece.start,a),u=h-c;e.piece=new lv(e.piece.bufferIndex,e.piece.start,a,h,l),this._lastChangeBufferPos=a,zb(this,e,t.length,u)}nodeAt(e){let t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};let i=0;while(t!==Lb)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;let n={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(n),n}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let n=this.root,i=0;while(n!==Lb)if(n.left!==Lb&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){let o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){let o=this.getAccumulatedValue(n,e-n.lf_left-2);if(o+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}n=n.next();while(n!==Lb){if(n.piece.lineFeedCnt>0){let e=this.getAccumulatedValue(n,0),i=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,e),nodeStartOffset:i}}if(n.piece.length>=t-1){let e=this.offsetOfNode(n);return{node:n,remainder:t-1,nodeStartOffset:e}}t-=n.piece.length,n=n.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;let n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;while(e!==this.root)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){if("string"===typeof e)return 10===e.charCodeAt(0);if(e===Lb||0===e.piece.lineFeedCnt)return!1;let t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;if(i===n.length-1)return!1;let r=n[i+1];return!(r>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o)}endWithCR(e){return"string"===typeof e?13===e.charCodeAt(e.length-1):e!==Lb&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)}validateCRLFWithPrevNode(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){let t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}}validateCRLFWithNextNode(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}}fixCRLF(e,t){let n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};const r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new lv(e.piece.bufferIndex,e.piece.start,n,s,r),zb(this,e,-1,-1),0===e.piece.length&&i.push(e);let a={line:t.piece.start.line+1,column:0};const l=t.piece.length-1,c=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new lv(t.piece.bufferIndex,a,t.piece.end,c,l),zb(this,t,-1,-1),0===t.piece.length&&i.push(t);let h=this.createNewPieces("\r\n");this.rbInsertRight(e,h[0]);for(let u=0;u<i.length;u++)jb(this,i[u])}adjustCarriageReturnFromNext(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){let n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)jb(this,n);else{const e=n.piece,t={line:e.start.line+1,column:0},i=e.length-1,o=this.getLineFeedCnt(e.bufferIndex,t,e.end);n.piece=new lv(e.bufferIndex,t,e.end,o,i),zb(this,n,-1,-1)}return!0}}return!1}iterate(e,t){if(e===Lb)return t(Lb);let n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n}getNodeContent(e){if(e===Lb)return"";let t,n=this._buffers[e.piece.bufferIndex],i=e.piece,o=this.offsetInBuffer(i.bufferIndex,i.start),r=this.offsetInBuffer(i.bufferIndex,i.end);return t=n.buffer.substring(o,r),t}getPieceContent(e){let t=this._buffers[e.bufferIndex],n=this.offsetInBuffer(e.bufferIndex,e.start),i=this.offsetInBuffer(e.bufferIndex,e.end),o=t.buffer.substring(n,i);return o}rbInsertRight(e,t){let n=new Nb(t,1);n.left=Lb,n.right=Lb,n.parent=Lb,n.size_left=0,n.lf_left=0;let i=this.root;if(i===Lb)this.root=n,n.color=0;else if(e.right===Lb)e.right=n,n.parent=e;else{let t=Bb(e.right);t.left=n,n.parent=t}return Qb(this,n),n}rbInsertLeft(e,t){let n=new Nb(t,1);if(n.left=Lb,n.right=Lb,n.parent=Lb,n.size_left=0,n.lf_left=0,this.root===Lb)this.root=n,n.color=0;else if(e.left===Lb)e.left=n,n.parent=e;else{let t=Ib(e.left);t.right=n,n.parent=t}return Qb(this,n),n}}function pv(e){let t=0,n=0,i=0,o=0;for(let r=0,s=e.length;r<s;r++){const a=e.charCodeAt(r);13===a?(0===t&&(n=r),t++,r+1<s&&10===e.charCodeAt(r+1)?(o|=2,r++):o|=3,i=r+1):10===a&&(o|=1,0===t&&(n=r),t++,i=r+1)}return 0===t&&(n=e.length),[t,n,e.length-i,o]}function fv(e){return(16384|e<<0|2<<23)>>>0}const gv=new Uint32Array(0).buffer;class mv{constructor(){this.tokens=[]}add(e,t){if(this.tokens.length>0){const n=this.tokens[this.tokens.length-1],i=n.startLineNumber+n.tokens.length-1;if(i+1===e)return void n.tokens.push(t)}this.tokens.push(new wv(e,[t]))}}class bv{constructor(e){this._tokens=e,this._tokenCount=e.length/4}toString(e){let t=[];for(let n=0;n<this._tokenCount;n++)t.push(`(${this._getDeltaLine(n)+e},${this._getStartCharacter(n)}-${this._getEndCharacter(n)})`);return`[${t.join(",")}]`}getMaxDeltaLine(){const e=this._getTokenCount();return 0===e?-1:this._getDeltaLine(e-1)}getRange(){const e=this._getTokenCount();if(0===e)return null;const t=this._getStartCharacter(0),n=this._getDeltaLine(e-1),i=this._getEndCharacter(e-1);return new fn(0,t+1,n,i+1)}_getTokenCount(){return this._tokenCount}_getDeltaLine(e){return this._tokens[4*e]}_getStartCharacter(e){return this._tokens[4*e+1]}_getEndCharacter(e){return this._tokens[4*e+2]}isEmpty(){return 0===this._getTokenCount()}getLineTokens(e){let t=0,n=this._getTokenCount()-1;while(t<n){const i=t+Math.floor((n-t)/2),o=this._getDeltaLine(i);if(o<e)t=i+1;else{if(!(o>e)){let o=i;while(o>t&&this._getDeltaLine(o-1)===e)o--;let r=i;while(r<n&&this._getDeltaLine(r+1)===e)r++;return new vv(this._tokens.subarray(4*o,4*r+4))}n=i-1}}return this._getDeltaLine(t)===e?new vv(this._tokens.subarray(4*t,4*t+4)):null}clear(){this._tokenCount=0}removeTokens(e,t,n,i){const o=this._tokens,r=this._tokenCount;let s=0,a=!1,l=0;for(let c=0;c<r;c++){const r=4*c,h=o[r],u=o[r+1],d=o[r+2],p=o[r+3];if((h>e||h===e&&d>=t)&&(h<n||h===n&&u<=i))a=!0;else{if(0===s&&(l=h),a){const e=4*s;o[e]=h-l,o[e+1]=u,o[e+2]=d,o[e+3]=p}s++}}return this._tokenCount=s,l}split(e,t,n,i){const o=this._tokens,r=this._tokenCount;let s=[],a=[],l=s,c=0,h=0;for(let u=0;u<r;u++){const r=4*u,s=o[r],d=o[r+1],p=o[r+2],f=o[r+3];if(s>e||s===e&&p>=t){if(s<n||s===n&&d<=i)continue;l!==a&&(l=a,c=0,h=s)}l[c++]=s-h,l[c++]=d,l[c++]=p,l[c++]=f}return[new bv(new Uint32Array(s)),new bv(new Uint32Array(a)),h]}acceptDeleteRange(e,t,n,i,o){const r=this._tokens,s=this._tokenCount,a=i-t;let l=0,c=!1;for(let h=0;h<s;h++){const u=4*h;let d=r[u],p=r[u+1],f=r[u+2];const g=r[u+3];if(d<t||d===t&&f<=n){l++;continue}if(d===t&&p<n)d===i&&f>o?f-=o-n:f=n;else if(d===t&&p===n){if(!(d===i&&f>o)){c=!0;continue}f-=o-n}else if(d<i||d===i&&p<o){if(!(d===i&&f>o)){c=!0;continue}d===t?(p=n,f=p+(f-o)):(p=0,f=p+(f-o))}else if(d>i){if(0===a&&!c){l=s;break}d-=a}else{if(!(d===i&&p>=o))throw new Error("Not possible!");e&&0===d&&(p+=e,f+=e),d-=a,p-=o-n,f-=o-n}const m=4*l;r[m]=d,r[m+1]=p,r[m+2]=f,r[m+3]=g,l++}this._tokenCount=l}acceptInsertText(e,t,n,i,o,r){const s=0===n&&1===i&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),a=this._tokens,l=this._tokenCount;for(let c=0;c<l;c++){const r=4*c;let l=a[r],h=a[r+1],u=a[r+2];if(!(l<e||l===e&&u<t)){if(l===e&&u===t){if(!s)continue;u+=1}else if(l===e&&h<t&&t<u)0===n?u+=i:u=t;else{if(l===e&&h===t&&s)continue;if(l===e)if(l+=n,0===n)h+=i,u+=i;else{const e=u-h;h=o+(h-t),u=h+e}else l+=n}a[r]=l,a[r+1]=h,a[r+2]=u}}}}class vv{constructor(e){this._tokens=e}getCount(){return this._tokens.length/4}getStartCharacter(e){return this._tokens[4*e+1]}getEndCharacter(e){return this._tokens[4*e+2]}getMetadata(e){return this._tokens[4*e+3]}}class yv{constructor(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}toString(){return this.tokens.toString(this.startLineNumber)}_updateEndLineNumber(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}isEmpty(){return this.tokens.isEmpty()}getLineTokens(e){return this.startLineNumber<=e&&e<=this.endLineNumber?this.tokens.getLineTokens(e-this.startLineNumber):null}getRange(){const e=this.tokens.getRange();return e?new fn(this.startLineNumber+e.startLineNumber,e.startColumn,this.startLineNumber+e.endLineNumber,e.endColumn):e}removeTokens(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;this.startLineNumber+=this.tokens.removeTokens(t,e.startColumn-1,n,e.endColumn-1),this._updateEndLineNumber()}split(e){const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber,[i,o,r]=this.tokens.split(t,e.startColumn-1,n,e.endColumn-1);return[new yv(this.startLineNumber,i),new yv(this.startLineNumber+r,o)]}applyEdit(e,t){const[n,i,o]=pv(t);this.acceptEdit(e,n,i,o,t.length>0?t.charCodeAt(0):0)}acceptEdit(e,t,n,i,o){this._acceptDeleteRange(e),this._acceptInsertText(new pn(e.startLineNumber,e.startColumn),t,n,i,o),this._updateEndLineNumber()}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return;const t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){const e=n-t;return void(this.startLineNumber-=e)}const i=this.tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){const i=-t;this.startLineNumber-=i,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}_acceptInsertText(e,t,n,i,o){if(0===t&&0===n)return;const r=e.lineNumber-this.startLineNumber;if(r<0)return void(this.startLineNumber+=t);const s=this.tokens.getMaxDeltaLine();r>=s+1||this.tokens.acceptInsertText(r,e.column-1,t,n,i,o)}}class wv{constructor(e,t){this.startLineNumber=e,this.tokens=t}}function _v(e){return e instanceof Uint32Array?e:new Uint32Array(e)}class Av{constructor(){this._pieces=[],this._isComplete=!1}flush(){this._pieces=[],this._isComplete=!1}set(e,t){this._pieces=e||[],this._isComplete=t}setPartial(e,t){let n=e;if(t.length>0){const i=t[0].getRange(),o=t[t.length-1].getRange();if(!i||!o)return e;n=e.plusRange(i).plusRange(o)}let i=null;for(let o=0,r=this._pieces.length;o<r;o++){const e=this._pieces[o];if(e.endLineNumber<n.startLineNumber)continue;if(e.startLineNumber>n.endLineNumber){i=i||{index:o};break}if(e.removeTokens(n),e.isEmpty()){this._pieces.splice(o,1),o--,r--;continue}if(e.endLineNumber<n.startLineNumber)continue;if(e.startLineNumber>n.endLineNumber){i=i||{index:o};continue}const[t,s]=e.split(n);t.isEmpty()?i=i||{index:o}:s.isEmpty()||(this._pieces.splice(o,1,t,s),o++,r++,i=i||{index:o})}return i=i||{index:this._pieces.length},t.length>0&&(this._pieces=lo(this._pieces,i.index,t)),n}isComplete(){return this._isComplete}addSemanticTokens(e,t){const n=this._pieces;if(0===n.length)return t;const i=Av._findFirstPieceWithLine(n,e),o=n[i].getLineTokens(e);if(!o)return t;const r=t.getCount(),s=o.getCount();let a=0,l=[],c=0,h=0;const u=(e,t)=>{e!==h&&(h=e,l[c++]=e,l[c++]=t)};for(let d=0;d<s;d++){const e=o.getStartCharacter(d),n=o.getEndCharacter(d),i=o.getMetadata(d),s=((1&i?2048:0)|(2&i?4096:0)|(4&i?8192:0)|(8&i?8372224:0)|(16&i?4286578688:0))>>>0,l=~s>>>0;while(a<r&&t.getEndOffset(a)<=e)u(t.getEndOffset(a),t.getMetadata(a)),a++;a<r&&t.getStartOffset(a)<e&&u(e,t.getMetadata(a));while(a<r&&t.getEndOffset(a)<n)u(t.getEndOffset(a),t.getMetadata(a)&l|i&s),a++;if(a<r)u(n,t.getMetadata(a)&l|i&s),t.getEndOffset(a)===n&&a++;else{const e=Math.min(Math.max(0,a-1),r-1);u(n,t.getMetadata(e)&l|i&s)}}while(a<r)u(t.getEndOffset(a),t.getMetadata(a)),a++;return new vu(new Uint32Array(l),t.getLineContent())}static _findFirstPieceWithLine(e,t){let n=0,i=e.length-1;while(n<i){let o=n+Math.floor((i-n)/2);if(e[o].endLineNumber<t)n=o+1;else{if(!(e[o].startLineNumber>t)){while(o>n&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber)o--;return o}i=o-1}}return n}acceptEdit(e,t,n,i,o){for(const r of this._pieces)r.acceptEdit(e,t,n,i,o)}}class Cv{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,n){let i=null;if(t<this._len&&(i=this._lineTokens[t]),null!==i&&i!==gv)return new vu(_v(i),n);let o=new Uint32Array(2);return o[0]=n.length,o[1]=fv(e),new vu(o,n)}static _massageTokens(e,t,n){const i=n?_v(n):null;if(0===t){let t=!1;if(i&&i.length>1&&(t=Nl.getLanguageId(i[1])!==e),!t)return gv}if(!i||0===i.length){const n=new Uint32Array(2);return n[0]=t,n[1]=fv(e),n.buffer}return i[i.length-2]=t,0===i.byteOffset&&i.byteLength===i.buffer.byteLength?i.buffer:i}_ensureLine(e){while(e>=this._len)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[];for(let i=0;i<t;i++)n[i]=null;this._lineTokens=lo(this._lineTokens,e,n),this._len+=t}setTokens(e,t,n,i,o){const r=Cv._massageTokens(e,n,i);this._ensureLine(t);const s=this._lineTokens[t];return this._lineTokens[t]=r,!!o&&!Cv._equals(s,r)}static _equals(e,t){if(!e||!t)return!e&&!t;const n=_v(e),i=_v(t);if(n.length!==i.length)return!1;for(let o=0,r=n.length;o<r;o++)if(n[o]!==i[o])return!1;return!0}acceptEdit(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new pn(e.startLineNumber,e.startColumn),t,n)}_acceptDeleteRange(e){const t=e.startLineNumber-1;if(t>=this._len)return;if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void(this._lineTokens[t]=Cv._delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1))}this._lineTokens[t]=Cv._deleteEnding(this._lineTokens[t],e.startColumn-1);const n=e.endLineNumber-1;let i=null;n<this._len&&(i=Cv._deleteBeginning(this._lineTokens[n],e.endColumn-1)),this._lineTokens[t]=Cv._append(this._lineTokens[t],i),this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t,n){if(0===t&&0===n)return;const i=e.lineNumber-1;i>=this._len||(0!==t?(this._lineTokens[i]=Cv._deleteEnding(this._lineTokens[i],e.column-1),this._lineTokens[i]=Cv._insert(this._lineTokens[i],e.column-1,n),this._insertLines(e.lineNumber,t)):this._lineTokens[i]=Cv._insert(this._lineTokens[i],e.column-1,n))}static _deleteBeginning(e,t){return null===e||e===gv?e:Cv._delete(e,0,t)}static _deleteEnding(e,t){if(null===e||e===gv)return e;const n=_v(e),i=n[n.length-2];return Cv._delete(e,t,i)}static _delete(e,t,n){if(null===e||e===gv||t===n)return e;const i=_v(e),o=i.length>>>1;if(0===t&&i[i.length-2]===n)return gv;const r=vu.findIndexInTokensArray(i,t),s=r>0?i[r-1<<1]:0,a=i[r<<1];if(n<a){const s=n-t;for(let e=r;e<o;e++)i[e<<1]-=s;return e}let l,c;s!==t?(i[r<<1]=t,l=r+1<<1,c=t):(l=r<<1,c=s);const h=n-t;for(let d=r+1;d<o;d++){const e=i[d<<1]-h;e>c&&(i[l++]=e,i[l++]=i[1+(d<<1)],c=e)}if(l===i.length)return e;let u=new Uint32Array(l);return u.set(i.subarray(0,l),0),u.buffer}static _append(e,t){if(t===gv)return e;if(e===gv)return t;if(null===e)return e;if(null===t)return null;const n=_v(e),i=_v(t),o=i.length>>>1;let r=new Uint32Array(n.length+i.length);r.set(n,0);let s=n.length;const a=n[n.length-2];for(let l=0;l<o;l++)r[s++]=i[l<<1]+a,r[s++]=i[1+(l<<1)];return r.buffer}static _insert(e,t,n){if(null===e||e===gv)return e;const i=_v(e),o=i.length>>>1;let r=vu.findIndexInTokensArray(i,t);if(r>0){const e=i[r-1<<1];e===t&&r--}for(let s=r;s<o;s++)i[s<<1]+=n;return e}}class Ev{constructor(e,t,n,i,o,r,s){this._onDidChangeContent=new et,this._BOM=t,this._mightContainNonBasicASCII=!r,this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._pieceTree=new dv(e,n,s)}dispose(){this._onDidChangeContent.dispose()}mightContainRTL(){return this._mightContainRTL}mightContainUnusualLineTerminators(){return this._mightContainUnusualLineTerminators}resetMightContainUnusualLineTerminators(){this._mightContainUnusualLineTerminators=!1}mightContainNonBasicASCII(){return this._mightContainNonBasicASCII}getBOM(){return this._BOM}getEOL(){return this._pieceTree.getEOL()}createSnapshot(e){return this._pieceTree.createSnapshot(e?this._BOM:"")}getOffsetAt(e,t){return this._pieceTree.getOffsetAt(e,t)}getPositionAt(e){return this._pieceTree.getPositionAt(e)}getRangeAt(e,t){let n=e+t;const i=this.getPositionAt(e),o=this.getPositionAt(n);return new fn(i.lineNumber,i.column,o.lineNumber,o.column)}getValueInRange(e,t=0){if(e.isEmpty())return"";const n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)}getValueLengthInRange(e,t=0){if(e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;let n=this.getOffsetAt(e.startLineNumber,e.startColumn),i=this.getOffsetAt(e.endLineNumber,e.endColumn);return i-n}getCharacterCountInRange(e,t=0){if(this._mightContainNonBasicASCII){let n=0;const i=e.startLineNumber,o=e.endLineNumber;for(let t=i;t<=o;t++){const r=this.getLineContent(t),s=t===i?e.startColumn-1:0,a=t===o?e.endColumn-1:r.length;for(let e=s;e<a;e++)Rr["D"](r.charCodeAt(e))?(n+=1,e+=1):n+=1}return n+=this._getEndOfLine(t).length*(o-i),n}return this.getValueLengthInRange(e,t)}getLength(){return this._pieceTree.getLength()}getLineCount(){return this._pieceTree.getLineCount()}getLinesContent(){return this._pieceTree.getLinesContent()}getLineContent(e){return this._pieceTree.getLineContent(e)}getLineCharCode(e,t){return this._pieceTree.getLineCharCode(e,t)}getLineLength(e){return this._pieceTree.getLineLength(e)}getLineFirstNonWhitespaceColumn(e){const t=Rr["u"](this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=Rr["H"](this.getLineContent(e));return-1===t?0:t+2}_getEndOfLine(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL();default:throw new Error("Unknown EOL preference")}}setEOL(e){this._pieceTree.setEOL(e)}applyEdits(e,t,n){let i=this._mightContainRTL,o=this._mightContainUnusualLineTerminators,r=this._mightContainNonBasicASCII,s=!0,a=[];for(let f=0;f<e.length;f++){let t=e[f];s&&t._isTracked&&(s=!1);let n=t.range;if(t.text){let e=!0;r||(e=!Rr["z"](t.text),r=e),!i&&e&&(i=Rr["l"](t.text)),!o&&e&&(o=Rr["m"](t.text))}let l="",c=0,h=0,u=0;if(t.text){let e;[c,h,u,e]=pv(t.text);const n=this.getEOL(),i="\r\n"===n?2:1;l=0===e||e===i?t.text:t.text.replace(/\r\n|\r|\n/g,n)}a[f]={sortIndex:f,identifier:t.identifier||null,range:n,rangeOffset:this.getOffsetAt(n.startLineNumber,n.startColumn),rangeLength:this.getValueLengthInRange(n),text:l,eolCount:c,firstLineLength:h,lastLineLength:u,forceMoveMarkers:Boolean(t.forceMoveMarkers),isAutoWhitespaceEdit:t.isAutoWhitespaceEdit||!1}}a.sort(Ev._sortOpsAscending);let l=!1;for(let f=0,g=a.length-1;f<g;f++){let e=a[f].range.getEndPosition(),t=a[f+1].range.getStartPosition();if(t.isBeforeOrEqual(e)){if(t.isBefore(e))throw new Error("Overlapping ranges are not allowed!");l=!0}}s&&(a=this._reduceOperations(a));let c=n||t?Ev._getInverseEditRanges(a):[],h=[];if(t)for(let f=0;f<a.length;f++){let e=a[f],t=c[f];if(e.isAutoWhitespaceEdit&&e.range.isEmpty())for(let n=t.startLineNumber;n<=t.endLineNumber;n++){let i="";n===t.startLineNumber&&(i=this.getLineContent(e.range.startLineNumber),-1!==Rr["u"](i))||h.push({lineNumber:n,oldContent:i})}}let u=null;if(n){let e=0;u=[];for(let t=0;t<a.length;t++){const n=a[t],i=c[t],o=this.getValueInRange(n.range),r=n.rangeOffset+e;e+=n.text.length-o.length,u[t]={sortIndex:n.sortIndex,identifier:n.identifier,range:i,text:o,textChange:new Rm(n.rangeOffset,o,r,n.text)}}l||u.sort((e,t)=>e.sortIndex-t.sortIndex)}this._mightContainRTL=i,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=r;const d=this._doApplyEdits(a);let p=null;if(t&&h.length>0){h.sort((e,t)=>t.lineNumber-e.lineNumber),p=[];for(let e=0,t=h.length;e<t;e++){let t=h[e].lineNumber;if(e>0&&h[e-1].lineNumber===t)continue;let n=h[e].oldContent,i=this.getLineContent(t);0!==i.length&&i!==n&&-1===Rr["u"](i)&&p.push(t)}}return this._onDidChangeContent.fire(),new Qs(u,d,p)}_reduceOperations(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]}_toSingleEditOperation(e){let t=!1;const n=e[0].range,i=e[e.length-1].range,o=new fn(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn);let r=n.startLineNumber,s=n.startColumn;const a=[];for(let d=0,p=e.length;d<p;d++){const n=e[d],i=n.range;t=t||n.forceMoveMarkers,a.push(this.getValueInRange(new fn(r,s,i.startLineNumber,i.startColumn))),n.text.length>0&&a.push(n.text),r=i.endLineNumber,s=i.endColumn}const l=a.join(""),[c,h,u]=pv(l);return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),text:l,eolCount:c,firstLineLength:h,lastLineLength:u,forceMoveMarkers:t,isAutoWhitespaceEdit:!1}}_doApplyEdits(e){e.sort(Ev._sortOpsDescending);let t=[];for(let n=0;n<e.length;n++){let i=e[n];const o=i.range.startLineNumber,r=i.range.startColumn,s=i.range.endLineNumber,a=i.range.endColumn;if(o===s&&r===a&&0===i.text.length)continue;i.text?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,i.text,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength);const l=new fn(o,r,s,a);t.push({range:l,rangeLength:i.rangeLength,text:i.text,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}return t}findMatchesLineByLine(e,t,n,i){return this._pieceTree.findMatchesLineByLine(e,t,n,i)}static _getInverseEditRanges(e){let t=[],n=0,i=0,o=null;for(let r=0,s=e.length;r<s;r++){let s,a,l,c=e[r];if(o?o.range.endLineNumber===c.range.startLineNumber?(s=n,a=i+(c.range.startColumn-o.range.endColumn)):(s=n+(c.range.startLineNumber-o.range.endLineNumber),a=c.range.startColumn):(s=c.range.startLineNumber,a=c.range.startColumn),c.text.length>0){const e=c.eolCount+1;l=1===e?new fn(s,a,s,a+c.firstLineLength):new fn(s,a,s+e-1,c.lastLineLength+1)}else l=new fn(s,a,s,a);n=l.endLineNumber,i=l.endColumn,t.push(l),o=c}return t}static _sortOpsAscending(e,t){let n=fn.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n}static _sortOpsDescending(e,t){let n=fn.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n}}class xv{constructor(e,t,n,i,o,r,s,a,l){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._containsUnusualLineTerminators=s,this._isBasicASCII=a,this._normalizeEOL=l}_getEOL(e){const t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"}create(e){const t=this._getEOL(e);let n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(let i=0,o=n.length;i<o;i++){let e=n[i].buffer.replace(/\r\n|\r|\n/g,t),o=sv(e);n[i]=new cv(e,o)}return new Ev(n,this._bom,t,this._containsRTL,this._containsUnusualLineTerminators,this._isBasicASCII,this._normalizeEOL)}}class Sv{constructor(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.containsUnusualLineTerminators=!1,this.isBasicASCII=!0}acceptChunk(e){if(0===e.length)return;0===this.chunks.length&&Rr["R"](e)&&(this.BOM=Rr["b"],e=e.substr(1));const t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}_acceptChunk1(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))}_acceptChunk2(e){const t=av(this._tmpLineStarts,e);this.chunks.push(new cv(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=Rr["l"](e)),this.isBasicASCII||this.containsUnusualLineTerminators||(this.containsUnusualLineTerminators=Rr["m"](e))}finish(e=!0){return this._finish(),new xv(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.containsUnusualLineTerminators,this.isBasicASCII,e)}_finish(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;let e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);let t=sv(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}}}class Dv{constructor(){this.changeType=1}}class kv{constructor(e,t){this.changeType=2,this.lineNumber=e,this.detail=t}}class Mv{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class Nv{constructor(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}}class Lv{constructor(){this.changeType=5}}class Bv{constructor(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i,this.resultingSelection=null}containsEvent(e){for(let t=0,n=this.changes.length;t<n;t++){const n=this.changes[t];if(n.changeType===e)return!0}return!1}static merge(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.versionId,o=e.isUndoing||t.isUndoing,r=e.isRedoing||t.isRedoing;return new Bv(n,i,o,r)}}class Iv{constructor(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}merge(e){const t=Bv.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=Iv._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new Iv(t,n)}static _mergeChangeEvents(e,t){const n=[].concat(e.changes).concat(t.changes),i=t.eol,o=t.versionId,r=e.isUndoing||t.isUndoing,s=e.isRedoing||t.isRedoing,a=e.isFlush||t.isFlush;return{changes:n,eol:i,versionId:o,isUndoing:r,isRedoing:s,isFlush:a}}}class Tv{constructor(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}_reset(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)}flush(e){this._reset(e)}get invalidLineStartIndex(){return this._invalidLineStartIndex}_invalidateLine(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)}_isValid(e){return e<this._len&&this._valid[e]}getBeginState(e){return e<this._len?this._beginState[e]:null}_ensureLine(e){while(e>=this._len)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)}_insertLines(e,t){if(0===t)return;let n=[],i=[];for(let o=0;o<t;o++)n[o]=null,i[o]=!1;this._beginState=lo(this._beginState,e,n),this._valid=lo(this._valid,e,i),this._len+=t}_setValid(e,t){this._ensureLine(e),this._valid[e]=t}_setBeginState(e,t){this._ensureLine(e),this._beginState[e]=t}setEndState(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t===e-1)return;const i=this.getBeginState(t+1);if(null===i||!n.equals(i))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);let o=t+1;while(o<e){if(!this._isValid(o))break;o++}this._invalidLineStartIndex=o}setFakeTokens(e){this._setValid(e,!1)}applyEdits(e,t){const n=e.endLineNumber-e.startLineNumber,i=t,o=Math.min(n,i);for(let r=o;r>=0;r--)this._invalidateLine(e.startLineNumber+r-1);this._acceptDeleteRange(e),this._acceptInsertText(new pn(e.startLineNumber,e.startColumn),t)}_acceptDeleteRange(e){const t=e.startLineNumber-1;t>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){const n=e.lineNumber-1;n>=this._len||this._insertLines(e.lineNumber,t)}}class Ov extends Ge{constructor(e){super(),this._isDisposed=!1,this._textModel=e,this._tokenizationStateStore=new Tv,this._tokenizationSupport=null,this._register(oc.onDidChange(e=>{const t=this._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeRawContentFast(e=>{e.containsEvent(1)&&this._resetTokenizationState()})),this._register(this._textModel.onDidChangeContentFast(e=>{for(let t=0,n=e.changes.length;t<n;t++){const n=e.changes[t],[i]=pv(n.text);this._tokenizationStateStore.applyEdits(n.range,i)}this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeAttached(()=>{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){const[e,t]=Rv(this._textModel);this._tokenizationSupport=e,this._tokenizationStateStore.flush(t),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&y["j"](()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(e=this._textModel.getLineCount()){const t=1,n=new mv,i=nu.create(!1);while(this._hasLinesToTokenize()){if(i.elapsed()>t)break;const o=this._tokenizeOneInvalidLine(n);if(o>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(n.tokens)}tokenizeViewport(e,t){const n=new mv;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){const t=new mv;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)}isCheapToTokenize(e){if(!this._tokenizationSupport)return!0;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)}_hasLinesToTokenize(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()}_tokenizeOneInvalidLine(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;const t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t}_updateTokensUntilLine(e,t){if(!this._tokenizationSupport)return;const n=this._textModel.getLanguageIdentifier(),i=this._textModel.getLineCount(),o=t-1;for(let r=this._tokenizationStateStore.invalidLineStartIndex;r<=o;r++){const t=this._textModel.getLineContent(r+1),o=this._tokenizationStateStore.getBeginState(r),s=Pv(n,this._tokenizationSupport,t,o);e.add(r+1,s.tokens),this._tokenizationStateStore.setEndState(i,r,s.endState),r=this._tokenizationStateStore.invalidLineStartIndex-1}}_tokenizeViewport(e,t,n){if(!this._tokenizationSupport)return;if(n<=this._tokenizationStateStore.invalidLineStartIndex)return;if(t<=this._tokenizationStateStore.invalidLineStartIndex)return void this._updateTokensUntilLine(e,n);let i=this._textModel.getLineFirstNonWhitespaceColumn(t),o=[],r=null;for(let l=t-1;i>0&&l>=1;l--){let e=this._textModel.getLineFirstNonWhitespaceColumn(l);if(0!==e&&e<i){if(r=this._tokenizationStateStore.getBeginState(l-1),r)break;o.push(this._textModel.getLineContent(l)),i=e}}r||(r=this._tokenizationSupport.getInitialState());const s=this._textModel.getLanguageIdentifier();let a=r;for(let l=o.length-1;l>=0;l--){let e=Pv(s,this._tokenizationSupport,o[l],a);a=e.endState}for(let l=t;l<=n;l++){let t=this._textModel.getLineContent(l),n=Pv(s,this._tokenizationSupport,t,a);e.add(l,n.tokens),this._tokenizationStateStore.setFakeTokens(l-1),a=n.endState}}}function Rv(e){const t=e.getLanguageIdentifier();let n=e.isTooLargeForTokenization()?null:oc.get(t.language),i=null;if(n)try{i=n.getInitialState()}catch(o){Me(o),n=null}return[n,i]}function Pv(e,t,n,i){let o=null;if(t)try{o=t.tokenize2(n,i.clone(),0)}catch(r){Me(r)}return o||(o=hc(e.id,n,i,0)),vu.convertToEndOffset(o.tokens,n.length),o}function Fv(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}class jv{constructor(e,t,n,i=1){this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=Fv(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class Qv{constructor(e,t,n,i){this.h=0|Math.max(Math.min(360,e),0),this.s=Fv(Math.max(Math.min(1,t),0),3),this.l=Fv(Math.max(Math.min(1,n),0),3),this.a=Fv(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=e.a,r=Math.max(t,n,i),s=Math.min(t,n,i);let a=0,l=0;const c=(s+r)/2,h=r-s;if(h>0){switch(l=Math.min(c<=.5?h/(2*c):h/(2-2*c),1),r){case t:a=(n-i)/h+(n<i?6:0);break;case n:a=(i-t)/h+2;break;case i:a=(t-n)/h+4;break}a*=60,a=Math.round(a)}return new Qv(a,l,c,o)}static _hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:o}=e;let r,s,a;if(0===n)r=s=a=i;else{const e=i<.5?i*(1+n):i+n-i*n,o=2*i-e;r=Qv._hue2rgb(o,e,t+1/3),s=Qv._hue2rgb(o,e,t),a=Qv._hue2rgb(o,e,t-1/3)}return new jv(Math.round(255*r),Math.round(255*s),Math.round(255*a),o)}}class zv{constructor(e,t,n,i){this.h=0|Math.max(Math.min(360,e),0),this.s=Fv(Math.max(Math.min(1,t),0),3),this.v=Fv(Math.max(Math.min(1,n),0),3),this.a=Fv(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=Math.max(t,n,i),r=Math.min(t,n,i),s=o-r,a=0===o?0:s/o;let l;return l=0===s?0:o===t?((n-i)/s%6+6)%6:o===n?(i-t)/s+2:(t-n)/s+4,new zv(Math.round(60*l),a,o,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:o}=e,r=i*n,s=r*(1-Math.abs(t/60%2-1)),a=i-r;let[l,c,h]=[0,0,0];return t<60?(l=r,c=s):t<120?(l=s,c=r):t<180?(c=r,h=s):t<240?(c=s,h=r):t<300?(l=s,h=r):t<360&&(l=r,h=s),l=Math.round(255*(l+a)),c=Math.round(255*(c+a)),h=Math.round(255*(h+a)),new jv(l,c,h,o)}}class Vv{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof jv)this.rgba=e;else if(e instanceof Qv)this._hsla=e,this.rgba=Qv.toRGBA(e);else{if(!(e instanceof zv))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=zv.toRGBA(e)}}static fromHex(e){return Vv.Format.CSS.parseHex(e)||Vv.red}get hsla(){return this._hsla?this._hsla:Qv.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:zv.fromRGBA(this.rgba)}equals(e){return!!e&&jv.equals(this.rgba,e.rgba)&&Qv.equals(this.hsla,e.hsla)&&zv.equals(this.hsva,e.hsva)}getRelativeLuminance(){const e=Vv._relativeLuminanceForComponent(this.rgba.r),t=Vv._relativeLuminanceForComponent(this.rgba.g),n=Vv._relativeLuminanceForComponent(this.rgba.b),i=.2126*e+.7152*t+.0722*n;return Fv(i,4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){const e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128}isLighterThan(e){const t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t>n}isDarkerThan(e){const t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t<n}lighten(e){return new Vv(new Qv(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new Vv(new Qv(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:t,g:n,b:i,a:o}=this.rgba;return new Vv(new jv(t,n,i,o*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new Vv(new jv(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}toString(){return""+Vv.Format.CSS.format(this)}static getLighterColor(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(o-i)/o,e.lighten(n)}static getDarkerColor(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;const i=e.getRelativeLuminance(),o=t.getRelativeLuminance();return n=n*(i-o)/i,e.darken(n)}}function Wv(){return new Sv}function Hv(e){const t=Wv();return t.acceptChunk(e),t.finish()}function Uv(e,t){const n="string"===typeof e?Hv(e):e;return n.create(t)}Vv.white=new Vv(new jv(255,255,255,1)),Vv.black=new Vv(new jv(0,0,0,1)),Vv.red=new Vv(new jv(255,0,0,1)),Vv.blue=new Vv(new jv(0,0,255,1)),Vv.cyan=new Vv(new jv(0,255,255,1)),Vv.lightgrey=new Vv(new jv(211,211,211,1)),Vv.transparent=new Vv(new jv(0,0,0,0)),function(e){let t;(function(t){let n;(function(t){function n(t){return 1===t.rgba.a?`rgb(${t.rgba.r}, ${t.rgba.g}, ${t.rgba.b})`:e.Format.CSS.formatRGBA(t)}function i(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`}function o(t){return 1===t.hsla.a?`hsl(${t.hsla.h}, ${(100*t.hsla.s).toFixed(2)}%, ${(100*t.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(t)}function r(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`}function s(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}function a(e){return`#${s(e.rgba.r)}${s(e.rgba.g)}${s(e.rgba.b)}`}function l(t,n=!1){return n&&1===t.rgba.a?e.Format.CSS.formatHex(t):`#${s(t.rgba.r)}${s(t.rgba.g)}${s(t.rgba.b)}${s(Math.round(255*t.rgba.a))}`}function c(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)}function h(t){const n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){const n=16*u(t.charCodeAt(1))+u(t.charCodeAt(2)),i=16*u(t.charCodeAt(3))+u(t.charCodeAt(4)),o=16*u(t.charCodeAt(5))+u(t.charCodeAt(6));return new e(new jv(n,i,o,1))}if(9===n){const n=16*u(t.charCodeAt(1))+u(t.charCodeAt(2)),i=16*u(t.charCodeAt(3))+u(t.charCodeAt(4)),o=16*u(t.charCodeAt(5))+u(t.charCodeAt(6)),r=16*u(t.charCodeAt(7))+u(t.charCodeAt(8));return new e(new jv(n,i,o,r/255))}if(4===n){const n=u(t.charCodeAt(1)),i=u(t.charCodeAt(2)),o=u(t.charCodeAt(3));return new e(new jv(16*n+n,16*i+i,16*o+o))}if(5===n){const n=u(t.charCodeAt(1)),i=u(t.charCodeAt(2)),o=u(t.charCodeAt(3)),r=u(t.charCodeAt(4));return new e(new jv(16*n+n,16*i+i,16*o+o,(16*r+r)/255))}return null}function u(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}t.formatRGB=n,t.formatRGBA=i,t.formatHSL=o,t.formatHSLA=r,t.formatHex=a,t.formatHexA=l,t.format=c,t.parseHex=h})(n=t.CSS||(t.CSS={}))})(t=e.Format||(e.Format={}))}(Vv||(Vv={}));let Yv=0;const Gv=999,Kv=1e4;class qv{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,n=0;do{let i=this._source.read();if(null===i)return this._eos=!0,0===t?null:e.join("");if(i.length>0&&(e[t++]=i,n+=i.length),n>=65536)return e.join("")}while(1)}}const Jv=()=>{throw new Error("Invalid change accessor")};class Xv{constructor(){this._searchCanceledBrand=void 0}}function $v(e){return e instanceof Xv?null:e}Xv.INSTANCE=new Xv;class Zv extends Ge{constructor(e,t,n,i=null,o){super(),this._onWillDispose=this._register(new et),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new ly),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new et),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new et),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new et),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new et),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new et),this.onDidChangeAttached=this._onDidChangeAttached.event,this._eventEmitter=this._register(new cy),Yv++,this.id="$model"+Yv,this.isForSimpleWidget=t.isForSimpleWidget,this._associatedResource="undefined"===typeof i||null===i?tn.parse("inmemory://model/"+Yv):i,this._undoRedoService=o,this._attachedEditorCount=0,this._buffer=Uv(e,t.defaultEOL),this._options=Zv.resolveOptions(this._buffer,t);const r=this._buffer.getLineCount(),s=this._buffer.getValueLengthInRange(new fn(1,1,r,this._buffer.getLineLength(r)+1),0);t.largeFileOptimizations?this._isTooLargeForTokenization=s>Zv.LARGE_FILE_SIZE_THRESHOLD||r>Zv.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=s>Zv.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=n||lc,this._languageRegistryListener=oh.onDidChange(e=>{e.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=Rr["O"](Yv),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new ey,this._commandManager=new Um(this,o),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new Cv,this._tokens2=new Av,this._tokenization=new Ov(this)}static resolveOptions(e,t){if(t.detectIndentation){const n=Km(e,t.tabSize,t.insertSpaces);return new Ps({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new Ps({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}onDidChangeRawContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.rawContentChangedEvent))}onDidChangeContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.contentChangedEvent))}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._isDisposing=!1}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._isDisposing||this._eventEmitter.fire(new Iv(e,t))}setValue(e){if(this._assertNotDisposed(),null===e)return;const t=Uv(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}_createContentChanged2(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}}setValueFromTextBuffer(e){if(this._assertNotDisposed(),null===e)return;const t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new ey,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Bv([new Dv],this._versionId,!1,!1),this._createContentChanged2(new fn(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();const t=1===e?"\r\n":"\n";if(this._buffer.getEOL()===t)return;const n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Bv([new Lv],this._versionId,!1,!1),this._createContentChanged2(new fn(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}_onBeforeEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)}_onAfterEOLChange(){const e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let n=0,i=t.length;n<i;n++){const i=t[n],o=i.cachedAbsoluteStart-i.start,r=this._buffer.getOffsetAt(i.range.startLineNumber,i.range.startColumn),s=this._buffer.getOffsetAt(i.range.endLineNumber,i.range.endColumn);i.cachedAbsoluteStart=r,i.cachedAbsoluteEnd=s,i.cachedVersionId=e,i.start=r-o,i.end=s-o,Db(i)}}onBeforeAttached(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}onBeforeDetached(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)}isAttachedToEditor(){return this._attachedEditorCount>0}getAttachedEditorCount(){return this._attachedEditorCount}isTooLargeForSyncing(){return this._isTooLargeForSyncing}isTooLargeForTokenization(){return this._isTooLargeForTokenization}isDisposed(){return this._isDisposed}isDominatedByLongLines(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;let e=0,t=0;const n=this._buffer.getLineCount();for(let i=1;i<=n;i++){const n=this._buffer.getLineLength(i);n>=Kv?t+=n:e+=n}return t>e}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();let t="undefined"!==typeof e.tabSize?e.tabSize:this._options.tabSize,n="undefined"!==typeof e.indentSize?e.indentSize:this._options.indentSize,i="undefined"!==typeof e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o="undefined"!==typeof e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new Ps({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(this._options.equals(r))return;let s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}detectIndentation(e,t){this._assertNotDisposed();let n=Km(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})}static _normalizeIndentationFromWhitespace(e,t,n){let i=0;for(let r=0;r<e.length;r++)"\t"===e.charAt(r)?i+=t:i++;let o="";if(!n){let e=Math.floor(i/t);i%=t;for(let t=0;t<e;t++)o+="\t"}for(let r=0;r<i;r++)o+=" ";return o}static normalizeIndentation(e,t,n){let i=Rr["u"](e);return-1===i&&(i=e.length),Zv._normalizeIndentationFromWhitespace(e.substring(0,i),t,n)+e.substring(i)}normalizeIndentation(e){return this._assertNotDisposed(),Zv.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)}getVersionId(){return this._assertNotDisposed(),this._versionId}mightContainRTL(){return this._buffer.mightContainRTL()}mightContainUnusualLineTerminators(){return this._buffer.mightContainUnusualLineTerminators()}removeUnusualLineTerminators(e=null){const t=this.findMatches(Rr["a"].source,!1,!0,!1,null,!1,1073741824);this._buffer.resetMightContainUnusualLineTerminators(),this.pushEditOperations(e,t.map(e=>({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getOffsetAt(e){this._assertNotDisposed();let t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)}getPositionAt(e){this._assertNotDisposed();let t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new qv(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();const n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){const t=this._buffer.getLineCount(),n=e.startLineNumber,i=e.startColumn;let o,r;if(n<1)o=1,r=1;else if(n>t)o=t,r=this.getLineMaxColumn(o);else if(o=0|n,i<=1)r=1;else{const e=this.getLineMaxColumn(o);r=i>=e?e:0|i}const s=e.endLineNumber,a=e.endColumn;let l,c;if(s<1)l=1,c=1;else if(s>t)l=t,c=this.getLineMaxColumn(l);else if(l=0|s,a<=1)c=1;else{const e=this.getLineMaxColumn(l);c=a>=e?e:0|a}return n===o&&i===r&&s===l&&a===c&&e instanceof fn&&!(e instanceof gn)?e:new fn(o,r,l,c)}_isValidPosition(e,t,n){if("number"!==typeof e||"number"!==typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;const i=this._buffer.getLineCount();if(e>i)return!1;if(1===t)return!0;const o=this.getLineMaxColumn(e);if(t>o)return!1;if(1===n){const n=this._buffer.getLineCharCode(e,t-2);if(Rr["D"](n))return!1}return!0}_validatePosition(e,t,n){const i=Math.floor("number"!==typeof e||isNaN(e)?1:e),o=Math.floor("number"!==typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new pn(1,1);if(i>r)return new pn(r,this.getLineMaxColumn(r));if(o<=1)return new pn(i,1);const s=this.getLineMaxColumn(i);if(o>=s)return new pn(i,s);if(1===n){const e=this._buffer.getLineCharCode(i,o-2);if(Rr["D"](e))return new pn(i,o-1)}return new pn(i,o)}validatePosition(e){const t=1;return this._assertNotDisposed(),e instanceof pn&&this._isValidPosition(e.lineNumber,e.column,t)?e:this._validatePosition(e.lineNumber,e.column,t)}_isValidRange(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){const e=i>1?this._buffer.getLineCharCode(n,i-2):0,t=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,s=Rr["D"](e),a=Rr["D"](t);return!s&&!a}return!0}validateRange(e){const t=1;if(this._assertNotDisposed(),e instanceof fn&&!(e instanceof gn)&&this._isValidRange(e,t))return e;const n=this._validatePosition(e.startLineNumber,e.startColumn,0),i=this._validatePosition(e.endLineNumber,e.endColumn,0),o=n.lineNumber,r=n.column,s=i.lineNumber,a=i.column;if(1===t){const e=r>1?this._buffer.getLineCharCode(o,r-2):0,t=a>1&&a<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,a-2):0,n=Rr["D"](e),i=Rr["D"](t);return n||i?o===s&&r===a?new fn(o,r-1,s,a-1):n&&i?new fn(o,r-1,s,a+1):n?new fn(o,r-1,s,a):new fn(o,r,s,a+1):new fn(o,r,s,a)}return new fn(o,r,s,a)}modifyPosition(e,t){this._assertNotDisposed();let n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))}getFullModelRange(){this._assertNotDisposed();const e=this.getLineCount();return new fn(1,1,e,this.getLineMaxColumn(e))}findMatchesLineByLine(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)}findMatches(e,t,n,i,o,r,s=Gv){this._assertNotDisposed();let a=null;null!==t&&(Array.isArray(t)||(t=[t]),t.every(e=>fn.isIRange(e))&&(a=t.map(e=>this.validateRange(e)))),null===a&&(a=[this.getFullModelRange()]),a=a.sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);const l=[];let c;if(l.push(a.reduce((e,t)=>fn.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t))),!n&&e.indexOf("\n")<0){const t=new Gb(e,n,i,o),a=t.parseSearchRequest();if(!a)return[];c=e=>this.findMatchesLineByLine(e,a,r,s)}else c=t=>$b.findMatches(this,new Gb(e,n,i,o),t,r,s);return l.map(c).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,n,i,o,r){this._assertNotDisposed();const s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){const t=new Gb(e,n,i,o),a=t.parseSearchRequest();if(!a)return null;const l=this.getLineCount();let c=new fn(s.lineNumber,s.column,l,this.getLineMaxColumn(l)),h=this.findMatchesLineByLine(c,a,r,1);return $b.findNextMatch(this,new Gb(e,n,i,o),s,r),h.length>0?h[0]:(c=new fn(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),h=this.findMatchesLineByLine(c,a,r,1),h.length>0?h[0]:null)}return $b.findNextMatch(this,new Gb(e,n,i,o),s,r)}findPreviousMatch(e,t,n,i,o,r){this._assertNotDisposed();const s=this.validatePosition(t);return $b.findPreviousMatch(this,new Gb(e,n,i,o),s,r)}pushStackElement(){this._commandManager.pushStackElement()}pushEOL(e){const t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_validateEditOperation(e){return e instanceof js?e:new js(e.identifier||null,this.validateRange(e.range),e.text,e.forceMoveMarkers||!1,e.isAutoWhitespaceEdit||!1,e._isTracked||!1)}_validateEditOperations(e){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this._validateEditOperation(e[n]);return t}pushEditOperations(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,this._validateEditOperations(t),n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_pushEditOperations(e,t,n){if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){let n=t.map(e=>({range:this.validateRange(e.range),text:e.text})),i=!0;if(e)for(let t=0,o=e.length;t<o;t++){let o=e[t],r=!1;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,i=t.startLineNumber>o.endLineNumber,s=o.startLineNumber>t.endLineNumber;if(!i&&!s){r=!0;break}}if(!r){i=!1;break}}if(i)for(let e=0,o=this._trimAutoWhitespaceLines.length;e<o;e++){let i=this._trimAutoWhitespaceLines[e],o=this.getLineMaxColumn(i),r=!0;for(let e=0,t=n.length;e<t;e++){let t=n[e].range,s=n[e].text;if(!(i<t.startLineNumber||i>t.endLineNumber)&&(!(i===t.startLineNumber&&t.startColumn===o&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(0))&&!(i===t.startLineNumber&&1===t.startColumn&&t.isEmpty()&&s&&s.length>0&&"\n"===s.charAt(s.length-1)))){r=!1;break}}if(r){const e=new fn(i,1,i,o);t.push(new js(null,e,null,!1,!1,!1))}}this._trimAutoWhitespaceLines=null}return null===this._initialUndoRedoSnapshot&&(this._initialUndoRedoSnapshot=this._undoRedoService.createSnapshot(this.uri)),this._commandManager.pushEditOperation(e,t,n)}_applyUndo(e,t,n,i){const o=e.map(e=>{const t=this.getPositionAt(e.newPosition),n=this.getPositionAt(e.newEnd);return{range:new fn(t.lineNumber,t.column,n.lineNumber,n.column),text:e.oldText}});this._applyUndoRedoEdits(o,t,!0,!1,n,i)}_applyRedo(e,t,n,i){const o=e.map(e=>{const t=this.getPositionAt(e.oldPosition),n=this.getPositionAt(e.oldEnd);return{range:new fn(t.lineNumber,t.column,n.lineNumber,n.column),text:e.newText}});this._applyUndoRedoEdits(o,t,!1,!0,n,i)}_applyUndoRedoEdits(e,t,n,i,o,r){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=n,this._isRedoing=i,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(r),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();const n=this._validateEditOperations(e);return this._doApplyEdits(n,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){const n=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),o=this._buffer.getLineCount(),r=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,0!==r.length){let e=[],t=n;for(let n=0,i=r.length;n<i;n++){const i=r[n],[s,a,l]=pv(i.text);this._tokens.acceptEdit(i.range,s,a),this._tokens2.acceptEdit(i.range,s,a,l,i.text.length>0?i.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(i.rangeOffset,i.rangeLength,i.text.length,i.forceMoveMarkers);const c=i.range.startLineNumber,h=i.range.endLineNumber,u=h-c,d=s,p=Math.min(u,d),f=d-u;for(let n=p;n>=0;n--){const i=c+n,r=o-t-f+i;e.push(new kv(i,this.getLineContent(r)))}if(p<u){const t=c+p;e.push(new Mv(t+1,h))}if(p<d){const n=c+p,i=d-p,r=o-t-i+n+1;let s=[];for(let e=0;e<i;e++){let t=r+e;s[t-r]=this.getLineContent(t)}e.push(new Nv(n+1,c+d,s))}t+=f}this._increaseVersionId(),this._emitContentChangedEvent(new Bv(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:r,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===i.reverseEdits?void 0:i.reverseEdits}undo(){this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let n={addDecoration:(t,n)=>this._deltaDecorationsImpl(e,[],[{range:t,options:n}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,ay(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,n)=>0===t.length&&0===n.length?[]:this._deltaDecorationsImpl(e,t,n)},i=null;try{i=t(n)}catch(o){Me(o)}return n.addDecoration=Jv,n.changeDecoration=Jv,n.changeDecorationOptions=Jv,n.removeDecoration=Jv,n.deltaDecorations=Jv,i}deltaDecorations(e,t,n=0){if(this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,n){const i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:sy[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;const o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,s,o),i.setOptions(sy[n]),this._decorationsTree.insert(i),i.id}removeAllDecorationsWithOwnerId(e){if(this._isDisposed)return;const t=this._decorationsTree.collectNodesFromOwner(e);for(let n=0,i=t.length;n<i;n++){const e=t[n];this._decorationsTree.delete(e),delete this._decorations[e.id]}}getDecorationOptions(e){const t=this._decorations[e];return t?t.options:null}getDecorationRange(e){const t=this._decorations[e];if(!t)return null;const n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range}getLineDecorations(e,t=0,n=!1){return e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)}getLinesDecorations(e,t,n=0,i=!1){let o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new fn(r,1,s,a),n,i)}getDecorationsInRange(e,t=0,n=!1){let i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)}getOverviewRulerDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)}getAllDecorations(e=0,t=!1){const n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)}_getDecorationsInRange(e,t,n){const i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)}_ensureNodesHaveRanges(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];null===n.range&&(n.range=this._getRangeAt(n.cachedAbsoluteStart,n.cachedAbsoluteEnd))}return e}_getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const n=this._decorations[e];if(!n)return;const i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n),this._onDidChangeDecorations.checkAffectedAndFire(n.options)}_changeDecorationOptionsImpl(e,t){const n=this._decorations[e];if(!n)return;const i=!(!n.options.overviewRuler||!n.options.overviewRuler.color),o=!(!t.overviewRuler||!t.overviewRuler.color);this._onDidChangeDecorations.checkAffectedAndFire(n.options),this._onDidChangeDecorations.checkAffectedAndFire(t),i!==o?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}_deltaDecorationsImpl(e,t,n){const i=this.getVersionId(),o=t.length;let r=0;const s=n.length;let a=0,l=new Array(s);while(r<o||a<s){let c=null;if(r<o){do{c=this._decorations[t[r++]]}while(!c&&r<o);c&&(this._decorationsTree.delete(c),this._onDidChangeDecorations.checkAffectedAndFire(c.options))}if(a<s){if(!c){const e=++this._lastDecorationId,t=`${this._instanceId};${e}`;c=new ab(t,0,0),this._decorations[t]=c}const t=n[a],o=this._validateRangeRelaxedNoAllocations(t.range),r=ay(t.options),s=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),h=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);c.ownerId=e,c.reset(i,s,h,o),c.setOptions(r),this._onDidChangeDecorations.checkAffectedAndFire(r),this._decorationsTree.insert(c),l[a]=c.id,a++}else c&&delete this._decorations[c.id]}return l}setTokens(e){if(0===e.length)return;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];let o=0,r=0,s=!1;for(let e=0,t=i.tokens.length;e<t;e++){const t=i.startLineNumber+e;if(s)this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!1),r=t;else{const n=this._tokens.setTokens(this._languageIdentifier.id,t-1,this._buffer.getLineLength(t),i.tokens[e],!0);n&&(s=!0,o=t,r=t)}}s&&t.push({fromLineNumber:o,toLineNumber:r})}t.length>0&&this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!1,ranges:t})}setSemanticTokens(e,t){this._tokens2.set(e,t),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})}hasSemanticTokens(){return this._tokens2.isComplete()}setPartialSemanticTokens(e,t){if(this.hasSemanticTokens())return;const n=this._tokens2.setPartial(e,t);this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,semanticTokensApplied:!0,ranges:[{fromLineNumber:n.startLineNumber,toLineNumber:n.endLineNumber}]})}tokenizeViewport(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)}clearTokens(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})}_emitModelTokensChangedEvent(e){this._isDisposing||this._onDidChangeTokens.fire(e)}resetTokenization(){this._tokenization.reset()}forceTokenization(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){const t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(e){if(this._languageIdentifier.id===e.id)return;let t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}getLanguageIdAtPosition(e,t){const n=this.validatePosition(new pn(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))}getWordAtPosition(e){this._assertNotDisposed();const t=this.validatePosition(e),n=this.getLineContent(t.lineNumber),i=this._getLineTokens(t.lineNumber),o=i.findTokenIndexAtOffset(t.column-1),[r,s]=Zv._findLanguageBoundaries(i,o),a=x(t.column,oh.getWordDefinition(i.getLanguageId(o)),n.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(o>0&&r===t.column-1){const[r,s]=Zv._findLanguageBoundaries(i,o-1),a=x(t.column,oh.getWordDefinition(i.getLanguageId(o-1)),n.substring(r,s),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}static _findLanguageBoundaries(e,t){const n=e.getLanguageId(t);let i=0;for(let r=t;r>=0&&e.getLanguageId(r)===n;r--)i=e.getStartOffset(r);let o=e.getLineContent().length;for(let r=t,s=e.getCount();r<s&&e.getLanguageId(r)===n;r++)o=e.getEndOffset(r);return[i,o]}getWordUntilPosition(e){const t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}}findMatchingBracketUp(e,t){let n=e.toLowerCase(),i=this.validatePosition(t),o=this._getLineTokens(i.lineNumber),r=o.getLanguageId(o.findTokenIndexAtOffset(i.column-1)),s=oh.getBracketsSupport(r);if(!s)return null;let a=s.textIsBracket[n];return a?$v(this._findMatchingBracketUp(a,i,null)):null}matchBracket(e){return this._matchBracket(this.validatePosition(e))}_matchBracket(e){const t=e.lineNumber,n=this._getLineTokens(t),i=n.getCount(),o=this._buffer.getLineContent(t),r=n.findTokenIndexAtOffset(e.column-1);if(r<0)return null;const s=oh.getBracketsSupport(n.getLanguageId(r));if(s&&!Dc(n.getStandardTokenType(r))){let i=Math.max(0,e.column-1-s.maxBracketLength);for(let e=r-1;e>=0;e--){const t=n.getEndOffset(e);if(t<=i)break;Dc(n.getStandardTokenType(e))&&(i=t)}const a=Math.min(o.length,e.column-1+s.maxBracketLength);let l=null;while(1){const n=Xc.findNextBracketInRange(s.forwardRegex,t,o,i,a);if(!n)break;if(n.startColumn<=e.column&&e.column<=n.endColumn){const e=o.substring(n.startColumn-1,n.endColumn-1).toLowerCase(),t=this._matchFoundBracket(n,s.textIsBracket[e],s.textIsOpenBracket[e],null);if(t){if(t instanceof Xv)return null;l=t}}i=n.endColumn-1}if(l)return l}if(r>0&&n.getStartOffset(r)===e.column-1){const s=r-1,a=oh.getBracketsSupport(n.getLanguageId(s));if(a&&!Dc(n.getStandardTokenType(s))){const r=Math.max(0,e.column-1-a.maxBracketLength);let l=Math.min(o.length,e.column-1+a.maxBracketLength);for(let e=s+1;e<i;e++){const t=n.getStartOffset(e);if(t>=l)break;Dc(n.getStandardTokenType(e))&&(l=t)}const c=Xc.findPrevBracketInRange(a.reversedRegex,t,o,r,l);if(c&&c.startColumn<=e.column&&e.column<=c.endColumn){const e=o.substring(c.startColumn-1,c.endColumn-1).toLowerCase(),t=this._matchFoundBracket(c,a.textIsBracket[e],a.textIsOpenBracket[e],null);if(t)return t instanceof Xv?null:t}}}return null}_matchFoundBracket(e,t,n,i){if(!t)return null;const o=n?this._findMatchingBracketDown(t,e.getEndPosition(),i):this._findMatchingBracketUp(t,e.getStartPosition(),i);return o?o instanceof Xv?o:[e,o]:null}_findMatchingBracketUp(e,t,n){const i=e.languageIdentifier.id,o=e.reversedRegex;let r=-1,s=0;const a=(t,i,a,l)=>{while(1){if(n&&++s%100===0&&!n())return Xv.INSTANCE;const c=Xc.findPrevBracketInRange(o,t,i,a,l);if(!c)break;const h=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(h)?r++:e.isClose(h)&&r--,0===r)return c;l=c.startColumn-1}return null};for(let l=t.lineNumber;l>=1;l--){const e=this._getLineTokens(l),n=e.getCount(),o=this._buffer.getLineContent(l);let r=n-1,s=o.length,c=o.length;l===t.lineNumber&&(r=e.findTokenIndexAtOffset(t.column-1),s=t.column-1,c=t.column-1);let h=!0;for(;r>=0;r--){const t=e.getLanguageId(r)===i&&!Dc(e.getStandardTokenType(r));if(t)h?s=e.getStartOffset(r):(s=e.getStartOffset(r),c=e.getEndOffset(r));else if(h&&s!==c){const e=a(l,o,s,c);if(e)return e}h=t}if(h&&s!==c){const e=a(l,o,s,c);if(e)return e}}return null}_findMatchingBracketDown(e,t,n){const i=e.languageIdentifier.id,o=e.forwardRegex;let r=1,s=0;const a=(t,i,a,l)=>{while(1){if(n&&++s%100===0&&!n())return Xv.INSTANCE;const c=Xc.findNextBracketInRange(o,t,i,a,l);if(!c)break;const h=i.substring(c.startColumn-1,c.endColumn-1).toLowerCase();if(e.isOpen(h)?r++:e.isClose(h)&&r--,0===r)return c;a=c.endColumn-1}return null},l=this.getLineCount();for(let c=t.lineNumber;c<=l;c++){const e=this._getLineTokens(c),n=e.getCount(),o=this._buffer.getLineContent(c);let r=0,s=0,l=0;c===t.lineNumber&&(r=e.findTokenIndexAtOffset(t.column-1),s=t.column-1,l=t.column-1);let h=!0;for(;r<n;r++){const t=e.getLanguageId(r)===i&&!Dc(e.getStandardTokenType(r));if(t)h||(s=e.getStartOffset(r)),l=e.getEndOffset(r);else if(h&&s!==l){const e=a(c,o,s,l);if(e)return e}h=t}if(h&&s!==l){const e=a(c,o,s,l);if(e)return e}}return null}findPrevBracket(e){const t=this.validatePosition(e);let n=-1,i=null;for(let o=t.lineNumber;o>=1;o--){const e=this._getLineTokens(o),r=e.getCount(),s=this._buffer.getLineContent(o);let a=r-1,l=s.length,c=s.length;if(o===t.lineNumber){a=e.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const o=e.getLanguageId(a);n!==o&&(n=o,i=oh.getBracketsSupport(n))}let h=!0;for(;a>=0;a--){const t=e.getLanguageId(a);if(n!==t){if(i&&h&&l!==c){const e=Xc.findPrevBracketInRange(i.reversedRegex,o,s,l,c);if(e)return this._toFoundBracket(i,e);h=!1}n=t,i=oh.getBracketsSupport(n)}const r=!!i&&!Dc(e.getStandardTokenType(a));if(r)h?l=e.getStartOffset(a):(l=e.getStartOffset(a),c=e.getEndOffset(a));else if(i&&h&&l!==c){const e=Xc.findPrevBracketInRange(i.reversedRegex,o,s,l,c);if(e)return this._toFoundBracket(i,e)}h=r}if(i&&h&&l!==c){const e=Xc.findPrevBracketInRange(i.reversedRegex,o,s,l,c);if(e)return this._toFoundBracket(i,e)}}return null}findNextBracket(e){const t=this.validatePosition(e),n=this.getLineCount();let i=-1,o=null;for(let r=t.lineNumber;r<=n;r++){const e=this._getLineTokens(r),n=e.getCount(),s=this._buffer.getLineContent(r);let a=0,l=0,c=0;if(r===t.lineNumber){a=e.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1;const n=e.getLanguageId(a);i!==n&&(i=n,o=oh.getBracketsSupport(i))}let h=!0;for(;a<n;a++){const t=e.getLanguageId(a);if(i!==t){if(o&&h&&l!==c){const e=Xc.findNextBracketInRange(o.forwardRegex,r,s,l,c);if(e)return this._toFoundBracket(o,e);h=!1}i=t,o=oh.getBracketsSupport(i)}const n=!!o&&!Dc(e.getStandardTokenType(a));if(n)h||(l=e.getStartOffset(a)),c=e.getEndOffset(a);else if(o&&h&&l!==c){const e=Xc.findNextBracketInRange(o.forwardRegex,r,s,l,c);if(e)return this._toFoundBracket(o,e)}h=n}if(o&&h&&l!==c){const e=Xc.findNextBracketInRange(o.forwardRegex,r,s,l,c);if(e)return this._toFoundBracket(o,e)}}return null}findEnclosingBrackets(e,t){let n;if("undefined"===typeof t)n=null;else{const e=Date.now();n=()=>Date.now()-e<=t}const i=this.validatePosition(e),o=this.getLineCount(),r=new Map;let s=[];const a=(e,t)=>{if(!r.has(e)){let n=[];for(let e=0,i=t?t.brackets.length:0;e<i;e++)n[e]=0;r.set(e,n)}s=r.get(e)};let l=0;const c=(e,t,i,o,r)=>{while(1){if(n&&++l%100===0&&!n())return Xv.INSTANCE;const a=Xc.findNextBracketInRange(e.forwardRegex,t,i,o,r);if(!a)break;const c=i.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),h=e.textIsBracket[c];if(h&&(h.isOpen(c)?s[h.index]++:h.isClose(c)&&s[h.index]--,-1===s[h.index]))return this._matchFoundBracket(a,h,!1,n);o=a.endColumn-1}return null};let h=-1,u=null;for(let d=i.lineNumber;d<=o;d++){const e=this._getLineTokens(d),t=e.getCount(),n=this._buffer.getLineContent(d);let o=0,r=0,s=0;if(d===i.lineNumber){o=e.findTokenIndexAtOffset(i.column-1),r=i.column-1,s=i.column-1;const t=e.getLanguageId(o);h!==t&&(h=t,u=oh.getBracketsSupport(h),a(h,u))}let l=!0;for(;o<t;o++){const t=e.getLanguageId(o);if(h!==t){if(u&&l&&r!==s){const e=c(u,d,n,r,s);if(e)return $v(e);l=!1}h=t,u=oh.getBracketsSupport(h),a(h,u)}const i=!!u&&!Dc(e.getStandardTokenType(o));if(i)l||(r=e.getStartOffset(o)),s=e.getEndOffset(o);else if(u&&l&&r!==s){const e=c(u,d,n,r,s);if(e)return $v(e)}l=i}if(u&&l&&r!==s){const e=c(u,d,n,r,s);if(e)return $v(e)}}return null}_toFoundBracket(e,t){if(!t)return null;let n=this.getValueInRange(t);n=n.toLowerCase();let i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null}static computeIndentLevel(e,t){let n=0,i=0,o=e.length;while(i<o){let o=e.charCodeAt(i);if(32===o)n++;else{if(9!==o)break;n=n-n%t+t}i++}return i===o?-1:n}_computeIndentLevel(e){return Zv.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)}getActiveIndentGuide(e,t,n){this._assertNotDisposed();const i=this.getLineCount();if(e<1||e>i)throw new Error("Illegal value for lineNumber");const o=oh.getFoldingRules(this._languageIdentifier.id),r=Boolean(o&&o.offSide);let s=-2,a=-1,l=-2,c=-1;const h=e=>{if(-1!==s&&(-2===s||s>e-1)){s=-1,a=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){s=t,a=e;break}}}if(-2===l){l=-1,c=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){l=t,c=e;break}}}};let u=-2,d=-1,p=-2,f=-1;const g=e=>{if(-2===u){u=-1,d=-1;for(let t=e-2;t>=0;t--){let e=this._computeIndentLevel(t);if(e>=0){u=t,d=e;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,f=-1;for(let t=e;t<i;t++){let e=this._computeIndentLevel(t);if(e>=0){p=t,f=e;break}}}};let m=0,b=!0,v=0,y=!0,w=0,_=0;for(let A=0;b||y;A++){const o=e-A,s=e+A;A>1&&(o<1||o<t)&&(b=!1),A>1&&(s>i||s>n)&&(y=!1),A>5e4&&(b=!1,y=!1);let p=-1;if(b){const e=this._computeIndentLevel(o-1);e>=0?(l=o-1,c=e,p=Math.ceil(e/this._options.indentSize)):(h(o),p=this._getIndentLevelForWhitespaceLine(r,a,c))}let C=-1;if(y){const e=this._computeIndentLevel(s-1);e>=0?(u=s-1,d=e,C=Math.ceil(e/this._options.indentSize)):(g(s),C=this._getIndentLevelForWhitespaceLine(r,d,f))}if(0!==A){if(1===A){if(s<=i&&C>=0&&_+1===C){b=!1,m=s,v=s,w=C;continue}if(o>=1&&p>=0&&p-1===_){y=!1,m=o,v=o,w=p;continue}if(m=e,v=e,w=_,0===w)return{startLineNumber:m,endLineNumber:v,indent:w}}b&&(p>=w?m=o:b=!1),y&&(C>=w?v=s:y=!1)}else _=p}return{startLineNumber:m,endLineNumber:v,indent:w}}getLinesIndentGuides(e,t){this._assertNotDisposed();const n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");const i=oh.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide);let r=new Array(t-e+1),s=-2,a=-1,l=-2,c=-1;for(let h=e;h<=t;h++){let t=h-e;const i=this._computeIndentLevel(h-1);if(i>=0)s=h-1,a=i,r[t]=Math.ceil(i/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(let e=h-2;e>=0;e--){let t=this._computeIndentLevel(e);if(t>=0){s=e,a=t;break}}}if(-1!==l&&(-2===l||l<h-1)){l=-1,c=-1;for(let e=h;e<n;e++){let t=this._computeIndentLevel(e);if(t>=0){l=e,c=t;break}}}r[t]=this._getIndentLevelForWhitespaceLine(o,a,c)}}return r}_getIndentLevelForWhitespaceLine(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)}}Zv.MODEL_SYNC_LIMIT=52428800,Zv.LARGE_FILE_SIZE_THRESHOLD=20971520,Zv.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,Zv.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:Ce.tabSize,indentSize:Ce.indentSize,insertSpaces:Ce.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:Ce.trimAutoWhitespace,largeFileOptimizations:Ce.largeFileOptimizations};class ey{constructor(){this._decorationsTree0=new cb,this._decorationsTree1=new cb}intervalSearch(e,t,n,i,o){const r=this._decorationsTree0.intervalSearch(e,t,n,i,o),s=this._decorationsTree1.intervalSearch(e,t,n,i,o);return r.concat(s)}search(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);{const n=this._decorationsTree0.search(e,t,i),o=this._decorationsTree1.search(e,t,i);return n.concat(o)}}collectNodesFromOwner(e){const t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)}collectNodesPostOrder(){const e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)}insert(e){tb(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)}delete(e){tb(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)}resolveNode(e,t){tb(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)}acceptReplace(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)}}function ty(e){return e.replace(/[^a-z0-9\-_]/gi," ")}class ny{constructor(e){this.color=e.color||"",this.darkColor=e.darkColor||""}}class iy extends ny{constructor(e){super(e),this._resolvedColor=null,this.position="number"===typeof e.position?e.position:Os.Center}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=null}_resolveColor(e,t){if("string"===typeof e)return e;let n=e?t.getColor(e.id):null;return n?n.toString():""}}class oy extends ny{constructor(e){super(e),this.position=e.position}getColor(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor}invalidateCachedColor(){this._resolvedColor=void 0}_resolveColor(e,t){return"string"===typeof e?Vv.fromHex(e):t.getColor(e.id)}}class ry{constructor(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?ty(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new iy(e.overviewRuler):null,this.minimap=e.minimap?new oy(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?ty(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?ty(e.linesDecorationsClassName):null,this.firstLineDecorationClassName=e.firstLineDecorationClassName?ty(e.firstLineDecorationClassName):null,this.marginClassName=e.marginClassName?ty(e.marginClassName):null,this.inlineClassName=e.inlineClassName?ty(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?ty(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?ty(e.afterContentClassName):null}static register(e){return new ry(e)}static createDynamic(e){return new ry(e)}}ry.EMPTY=ry.register({});const sy=[ry.register({stickiness:0}),ry.register({stickiness:1}),ry.register({stickiness:2}),ry.register({stickiness:3})];function ay(e){return e instanceof ry?e:ry.createDynamic(e)}class ly extends Ge{constructor(){super(),this._actual=this._register(new et),this.event=this._actual.event,this._deferredCnt=0,this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(){if(this._deferredCnt--,0===this._deferredCnt&&this._shouldFire){const e={affectsMinimap:this._affectsMinimap,affectsOverviewRuler:this._affectsOverviewRuler};this._shouldFire=!1,this._affectsMinimap=!1,this._affectsOverviewRuler=!1,this._actual.fire(e)}}checkAffectedAndFire(e){this._affectsMinimap||(this._affectsMinimap=!(!e.minimap||!e.minimap.position)),this._affectsOverviewRuler||(this._affectsOverviewRuler=!(!e.overviewRuler||!e.overviewRuler.color)),this._shouldFire=!0}fire(){this._affectsMinimap=!0,this._affectsOverviewRuler=!0,this._shouldFire=!0}}class cy extends Ge{constructor(){super(),this._fastEmitter=this._register(new et),this.fastEvent=this._fastEmitter.event,this._slowEmitter=this._register(new et),this.slowEvent=this._slowEmitter.event,this._deferredCnt=0,this._deferredEvent=null}beginDeferredEmit(){this._deferredCnt++}endDeferredEmit(e=null){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){this._deferredEvent.rawContentChangedEvent.resultingSelection=e;const t=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(t),this._slowEmitter.fire(t)}}fire(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))}}const hy=()=>!0,uy=()=>!1,dy=e=>" "===e||"\t"===e;function py(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}class fy{constructor(e,t,n){this._languageIdentifier=e;const i=n.options,o=i.get(117);this.readOnly=i.get(72),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.lineHeight=i.get(51),this.pageSize=Math.max(1,Math.floor(o.height/this.lineHeight)-2),this.useTabStops=i.get(104),this.wordSeparators=i.get(105),this.emptySelectionClipboard=i.get(26),this.copyWithSyntaxHighlighting=i.get(16),this.multiCursorMergeOverlapping=i.get(60),this.multiCursorPaste=i.get(62),this.autoClosingBrackets=i.get(5),this.autoClosingQuotes=i.get(7),this.autoClosingOvertype=i.get(6),this.autoSurround=i.get(10),this.autoIndent=i.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:fy._getShouldAutoClose(e,this.autoClosingQuotes),bracket:fy._getShouldAutoClose(e,this.autoClosingBrackets)};let r=fy._getAutoClosingPairs(e);if(r)for(const a of r)py(this.autoClosingPairsOpen2,a.open.charAt(a.open.length-1),a),1===a.close.length&&py(this.autoClosingPairsClose2,a.close,a);let s=fy._getSurroundingPairs(e);if(s)for(const a of s)this.surroundingPairs[a.open]=a.close}static shouldRecreate(e){return e.hasChanged(117)||e.hasChanged(105)||e.hasChanged(26)||e.hasChanged(60)||e.hasChanged(62)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(104)||e.hasChanged(51)||e.hasChanged(72)}get electricChars(){if(!this._electricChars){this._electricChars={};let e=fy._getElectricCharacters(this._languageIdentifier);if(e)for(const t of e)this._electricChars[t]=!0}return this._electricChars}normalizeIndentation(e){return Zv.normalizeIndentation(e,this.indentSize,this.insertSpaces)}static _getElectricCharacters(e){try{return oh.getElectricCharacters(e.id)}catch(t){return Me(t),null}}static _getAutoClosingPairs(e){try{return oh.getAutoClosingPairs(e.id)}catch(t){return Me(t),null}}static _getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return dy;case"languageDefined":return fy._getLanguageDefinedShouldAutoClose(e);case"always":return hy;case"never":return uy}}static _getLanguageDefinedShouldAutoClose(e){try{const t=oh.getAutoCloseBeforeSet(e.id);return e=>-1!==t.indexOf(e)}catch(t){return Me(t),uy}}static _getSurroundingPairs(e){try{return oh.getSurroundingPairs(e.id)}catch(t){return Me(t),null}}}class gy{constructor(e,t,n,i){this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=i,this.selection=gy._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,n,i){return e?new gy(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new pn(t,n),i):new gy(new fn(t,n,t,n),i,new pn(t,n),i)}static _computeSelection(e,t){let n,i,o,r;return e.isEmpty()?(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,i=e.endColumn,o=t.lineNumber,r=t.column):(n=e.startLineNumber,i=e.startColumn,o=t.lineNumber,r=t.column),new gn(n,i,o,r)}}class my{constructor(e,t,n){this.model=e,this.coordinatesConverter=t,this.cursorConfig=n}}class by{constructor(e){this.modelState=e,this.viewState=null}}class vy{constructor(e){this.modelState=null,this.viewState=e}}class yy{constructor(e,t){this.modelState=e,this.viewState=t}static fromModelState(e){return new by(e)}static fromViewState(e){return new vy(e)}static fromModelSelection(e){const t=e.selectionStartLineNumber,n=e.selectionStartColumn,i=e.positionLineNumber,o=e.positionColumn,r=new gy(new fn(t,n,t,n),0,new pn(i,o),0);return yy.fromModelState(r)}static fromModelSelections(e){let t=[];for(let n=0,i=e.length;n<i;n++)t[n]=this.fromModelSelection(e[n]);return t}equals(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)}}class wy{constructor(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}}class _y{static visibleColumnFromColumn(e,t,n){const i=e.length,o=t-1<i?t-1:i;let r=0,s=0;while(s<o){const t=Rr["y"](e,o,s);if(s+=t>=65536?2:1,9===t)r=_y.nextRenderTabStop(r,n);else{let n=Rr["w"](t);while(s<o){const t=Rr["y"](e,o,s),i=Rr["w"](t);if(Rr["c"](n,i))break;s+=t>=65536?2:1,n=i}Rr["C"](t)||Rr["A"](t)?r+=2:r+=1}}return r}static visibleColumnFromColumn2(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)}static columnFromVisibleColumn(e,t,n){if(t<=0)return 1;const i=e.length;let o=0,r=1,s=0;while(s<i){const a=Rr["y"](e,i,s);let l;if(s+=a>=65536?2:1,9===a)l=_y.nextRenderTabStop(o,n);else{let t=Rr["w"](a);while(s<i){const n=Rr["y"](e,i,s),o=Rr["w"](n);if(Rr["c"](t,o))break;s+=n>=65536?2:1,t=o}l=Rr["C"](a)||Rr["A"](a)?o+2:o+1}const c=s+1;if(l>=t){const e=t-o,n=l-t;return n<e?c:r}o=l,r=c}return i+1}static columnFromVisibleColumn2(e,t,n,i){let o=this.columnFromVisibleColumn(t.getLineContent(n),i,e.tabSize),r=t.getLineMinColumn(n);if(o<r)return r;let s=t.getLineMaxColumn(n);return o>s?s:o}static nextRenderTabStop(e,t){return e+t-e%t}static nextIndentTabStop(e,t){return e+t-e%t}static prevRenderTabStop(e,t){return e-1-(e-1)%t}static prevIndentTabStop(e,t){return e-1-(e-1)%t}}function Ay(e){return"'"===e||'"'===e||"`"===e}class Cy{constructor(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}}class Ey{constructor(e,t,n=0,i=null,o=null,r=null){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,!o&&i&&(o=new fn(i.lineNumber,i.column,i.lineNumber,i.column)),this.range=o,this.detail=r}static _typeToString(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"}static toString(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail}toString(){return Ey.toString(this)}}class xy{static isTextArea(e){return 2===e.length&&3===e[0]&&6===e[1]}static isChildOfViewLines(e){return e.length>=4&&3===e[0]&&7===e[3]}static isStrictChildOfViewLines(e){return e.length>4&&3===e[0]&&7===e[3]}static isChildOfScrollableElement(e){return e.length>=2&&3===e[0]&&5===e[1]}static isChildOfMinimap(e){return e.length>=2&&3===e[0]&&8===e[1]}static isChildOfContentWidgets(e){return e.length>=4&&3===e[0]&&1===e[3]}static isChildOfOverflowingContentWidgets(e){return e.length>=1&&2===e[0]}static isChildOfOverlayWidgets(e){return e.length>=2&&3===e[0]&&4===e[1]}}class Sy{constructor(e,t,n){this.model=e.model;const i=e.configuration.options;this.layoutInfo=i.get(117),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(51),this.typicalHalfwidthCharacterWidth=i.get(36).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}getZoneAtCoord(e){return Sy.getZoneAtCoord(this._context,e)}static getZoneAtCoord(e,t){const n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){let i,o=n.verticalOffset+n.height/2,r=e.model.getLineCount(),s=null,a=null;return n.afterLineNumber!==r&&(a=new pn(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(s=new pn(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),i=null===a?s:null===s?a:t<o?s:a,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:s,positionAfter:a,position:i}}return null}getFullLineRangeAtCoord(e){if(this._context.viewLayout.isAfterLines(e)){const e=this._context.model.getLineCount(),t=this._context.model.getLineMaxColumn(e);return{range:new fn(e,t,e,t),isAfterLines:!0}}const t=this._context.viewLayout.getLineNumberAtVerticalOffset(e),n=this._context.model.getLineMaxColumn(t);return{range:new fn(t,1,t,n),isAfterLines:!1}}getLineNumberAtVerticalOffset(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)}isAfterLines(e){return this._context.viewLayout.isAfterLines(e)}getVerticalOffsetForLineNumber(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)}findAttribute(e,t){return Sy._findAttribute(e,t,this._viewHelper.viewDomNode)}static _findAttribute(e,t,n){while(e&&e!==document.body){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null}getLineWidth(e){return this._viewHelper.getLineWidth(e)}visibleRangeForPosition(e,t){return this._viewHelper.visibleRangeForPosition(e,t)}getPositionFromDOMInfo(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)}getCurrentScrollTop(){return this._context.viewLayout.getCurrentScrollTop()}getCurrentScrollLeft(){return this._context.viewLayout.getCurrentScrollLeft()}}class Dy{constructor(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,Ly._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}class ky extends Dy{constructor(e,t,n,i){super(e,t,n),this._ctx=e,i?(this.target=i,this.targetPath=om.collect(i,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: ${this.target?this.target.outerHTML:null}`}fulfill(e,t=null,n=null,i=null){let o=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(o=_y.visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getTextModelOptions().tabSize)+1),new Ey(this.target,e,o,t,n,i)}withTarget(e){return new ky(this._ctx,this.editorPos,this.pos,e)}}const My={isAfterLines:!0};function Ny(e){return{isAfterLines:!1,horizontalDistanceToText:e}}class Ly{constructor(e,t){this._context=e,this._viewHelper=t}mouseTargetIsWidget(e){const t=e.target,n=om.collect(t,this._viewHelper.viewDomNode);return!(!xy.isChildOfContentWidgets(n)&&!xy.isChildOfOverflowingContentWidgets(n))||!!xy.isChildOfOverlayWidgets(n)}createMouseTarget(e,t,n,i){const o=new Sy(this._context,this._viewHelper,e),r=new ky(o,t,n,i);try{const e=Ly._createMouseTarget(o,r,!1);return e}catch(s){return r.fulfill(0)}}static _createMouseTarget(e,t,n){if(null===t.target){if(n)return t.fulfill(0);const i=Ly._doHitTest(e,t);return i.position?Ly.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}const i=t;let o=null;return o=o||Ly._hitTestContentWidget(e,i),o=o||Ly._hitTestOverlayWidget(e,i),o=o||Ly._hitTestMinimap(e,i),o=o||Ly._hitTestScrollbarSlider(e,i),o=o||Ly._hitTestViewZone(e,i),o=o||Ly._hitTestMargin(e,i),o=o||Ly._hitTestViewCursor(e,i),o=o||Ly._hitTestTextArea(e,i),o=o||Ly._hitTestViewLines(e,i,n),o=o||Ly._hitTestScrollbar(e,i),o||t.fulfill(0)}static _hitTestContentWidget(e,t){if(xy.isChildOfContentWidgets(t.targetPath)||xy.isChildOfOverflowingContentWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null}static _hitTestOverlayWidget(e,t){if(xy.isChildOfOverlayWidgets(t.targetPath)){const n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null}static _hitTestViewCursor(e,t){if(t.target){const n=e.lastRenderData.lastViewCursorsRenderData;for(const e of n)if(t.target===e.domNode)return t.fulfill(6,e.position)}if(t.isInContentArea){const n=e.lastRenderData.lastViewCursorsRenderData,i=t.mouseContentHorizontalOffset,o=t.mouseVerticalOffset;for(const r of n){if(i<r.contentLeft)continue;if(i>r.contentLeft+r.width)continue;const n=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(n<=o&&o<=n+r.height)return t.fulfill(6,r.position)}}return null}static _hitTestViewZone(e,t){const n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){const e=t.isInContentArea?8:5;return t.fulfill(e,n.position,null,n)}return null}static _hitTestTextArea(e,t){return xy.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(e,t){if(t.isInMarginArea){const n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition();let o=Math.abs(t.pos.x-t.editorPos.x);const r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return o-=e.layoutInfo.glyphMarginLeft,o<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth,o<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r)))}return null}static _hitTestViewLines(e,t,n){if(!xy.isChildOfViewLines(t.targetPath))return null;if(e.isAfterLines(t.mouseVerticalOffset)){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return t.fulfill(7,new pn(n,i),void 0,My)}if(n){if(xy.isStrictChildOfViewLines(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(n)){const i=e.getLineWidth(n),o=Ny(t.mouseContentHorizontalOffset-i);return t.fulfill(7,new pn(n,1),void 0,o)}const i=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=i){const o=Ny(t.mouseContentHorizontalOffset-i),r=new pn(n,e.model.getLineMaxColumn(n));return t.fulfill(7,r,void 0,o)}}return t.fulfill(0)}const i=Ly._doHitTest(e,t);return i.position?Ly.createMouseTargetFromHitTestPosition(e,t,i.position.lineNumber,i.position.column):this._createMouseTarget(e,t.withTarget(i.hitTarget),!0)}static _hitTestMinimap(e,t){if(xy.isChildOfMinimap(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new pn(n,i))}return null}static _hitTestScrollbarSlider(e,t){if(xy.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){const n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new pn(n,i))}}return null}static _hitTestScrollbar(e,t){if(xy.isChildOfScrollableElement(t.targetPath)){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new pn(n,i))}return null}getMouseColumn(e,t){const n=this._context.configuration.options,i=n.get(117),o=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-i.contentLeft;return Ly._getMouseColumn(o,n.get(36).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){if(e<0)return 1;const n=Math.round(e/t);return n+1}static createMouseTargetFromHitTestPosition(e,t,n,i){const o=new pn(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(pi&&1===o.column){const i=Ny(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new pn(n,e.model.getLineMaxColumn(n)),void 0,i)}const i=Ny(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,i)}const s=e.visibleRangeForPosition(n,i);if(!s)return t.fulfill(0,o);const a=s.left;if(t.mouseContentHorizontalOffset===a)return t.fulfill(6,o);const l=[];if(l.push({offset:s.left,column:i}),i>1){const t=e.visibleRangeForPosition(n,i-1);t&&l.push({offset:t.left,column:i-1})}const c=e.model.getLineMaxColumn(n);if(i<c){const t=e.visibleRangeForPosition(n,i+1);t&&l.push({offset:t.left,column:i+1})}l.sort((e,t)=>e.offset-t.offset);for(let h=1;h<l.length;h++){const e=l[h-1],i=l[h];if(e.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=i.offset){const r=new fn(n,e.column,n,i.column);return t.fulfill(6,o,r)}}return t.fulfill(6,o)}static _doHitTestWithCaretRangeFromPoint(e,t){const n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.getVerticalOffsetForLineNumber(n),o=i+Math.floor(e.lineHeight/2);let r=t.pos.y+(o-t.mouseVerticalOffset);r<=t.editorPos.y&&(r=t.editorPos.y+1),r>=t.editorPos.y+e.layoutInfo.height&&(r=t.editorPos.y+e.layoutInfo.height-1);const s=new Kg(t.pos.x,r),a=this._actualDoHitTestWithCaretRangeFromPoint(e,s.toClientCoordinates());return a.position?a:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const n=nr(e.viewDomNode);let i;if(i=n?"undefined"===typeof n.caretRangeFromPoint?By(n,t.clientX,t.clientY):n.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY),!i||!i.startContainer)return{position:null,hitTarget:null};const o=i.startContainer;let r=null;if(o.nodeType===o.TEXT_NODE){const t=o.parentNode,n=t?t.parentNode:null,s=n?n.parentNode:null,a=s&&s.nodeType===s.ELEMENT_NODE?s.className:null;if(a===Mm.CLASS_NAME){const n=e.getPositionFromDOMInfo(t,i.startOffset);return{position:n,hitTarget:null}}r=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){const t=o.parentNode,n=t?t.parentNode:null,i=n&&n.nodeType===n.ELEMENT_NODE?n.className:null;if(i===Mm.CLASS_NAME){const t=e.getPositionFromDOMInfo(o,o.textContent.length);return{position:t,hitTarget:null}}r=o}return{position:null,hitTarget:r}}static _doHitTestWithCaretPositionFromPoint(e,t){const n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){const t=n.offsetNode.parentNode,i=t?t.parentNode:null,o=i?i.parentNode:null,r=o&&o.nodeType===o.ELEMENT_NODE?o.className:null;if(r===Mm.CLASS_NAME){const t=e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset);return{position:t,hitTarget:null}}return{position:null,hitTarget:n.offsetNode.parentNode}}if(n.offsetNode.nodeType===n.offsetNode.ELEMENT_NODE){const t=n.offsetNode.parentNode,i=t&&t.nodeType===t.ELEMENT_NODE?t.className:null;if(i===Mm.CLASS_NAME){const t=n.offsetNode.childNodes[Math.min(n.offset,n.offsetNode.childNodes.length-1)];if(t){const n=e.getPositionFromDOMInfo(t,0);return{position:n,hitTarget:null}}}}return{position:null,hitTarget:n.offsetNode}}static _doHitTestWithMoveToPoint(e,t){let n=null,i=null;const o=document.body.createTextRange();try{o.moveToPoint(t.clientX,t.clientY)}catch(c){return{position:null,hitTarget:null}}o.collapse(!0);const r=o?o.parentElement():null,s=r?r.parentNode:null,a=s?s.parentNode:null,l=a&&a.nodeType===a.ELEMENT_NODE?a.className:"";if(l===Mm.CLASS_NAME){const t=o.duplicate();t.moveToElementText(r),t.setEndPoint("EndToStart",o),n=e.getPositionFromDOMInfo(r,t.text.length),t.moveToElementText(e.viewDomNode)}else i=r;return o.moveToElementText(e.viewDomNode),{position:n,hitTarget:i}}static _doHitTest(e,t){return"function"===typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}}}function By(e,t,n){const i=document.createRange();let o=e.elementFromPoint(t,n);if(null!==o){while(o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE)o=o.lastChild;const e=o.getBoundingClientRect(),n=window.getComputedStyle(o,null).getPropertyValue("font"),r=o.innerText;let s,a=e.left,l=0;if(t>e.left+e.width)l=r.length;else{const e=Iy.getInstance();for(let i=0;i<r.length+1;i++){if(s=e.getCharWidth(r.charAt(i),n)/2,a+=s,t<a){l=i;break}a+=s}}i.setStart(o.firstChild,l),i.setEnd(o.firstChild,l)}return i}class Iy{constructor(){this._cache={},this._canvas=document.createElement("canvas")}static getInstance(){return Iy._INSTANCE||(Iy._INSTANCE=new Iy),Iy._INSTANCE}getCharWidth(e,t){const n=e+t;if(this._cache[n])return this._cache[n];const i=this._canvas.getContext("2d");i.font=t;const o=i.measureText(e),r=o.width;return this._cache[n]=r,r}}function Ty(e){return function(t,n){let i=!1;return e&&(i=e.mouseTargetIsWidget(n)),i||n.preventDefault(),n}}Iy._INSTANCE=null;class Oy extends nm{constructor(e,t,n){super(),this._context=e,this.viewController=t,this.viewHelper=n,this.mouseTargetFactory=new Ly(this._context,n),this._mouseDownOperation=this._register(new Ry(this._context,this.viewController,this.viewHelper,(e,t)=>this._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1;const i=new Zg(this.viewHelper.viewDomNode);this._register(i.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(i.onMouseMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),Ty(this.mouseTargetFactory),Oy.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)));const o=e=>{if(this.viewController.emitMouseWheel(e),!this._context.configuration.options.get(59))return;const t=new Ri(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){const e=ks.getZoomLevel(),n=t.deltaY>0?1:-1;ks.setZoomLevel(e+n),t.preventDefault(),t.stopPropagation()}};this._register(xo(this.viewHelper.viewDomNode,ur.MOUSE_WHEEL,o,{capture:!0,passive:!1})),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onCursorStateChanged(e){return this._mouseDownOperation.onCursorStateChanged(e),!1}onFocusChanged(e){return!1}onScrollChanged(e){return this._mouseDownOperation.onScrollChanged(),!1}getTargetAtClientPoint(e,t){const n=new qg(e,t),i=n.toPageCoordinates(),o=Xg(this.viewHelper.viewDomNode);return i.y<o.y||i.y>o.y+o.height||i.x<o.x||i.x>o.x+o.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),o,i,null)}_createMouseTarget(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){if(this._mouseDownOperation.isActive())return;const t=e.timestamp;t<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}_onMouseLeave(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})}_onMouseUp(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})}_onMouseDown(e){const t=this._createMouseTarget(e,!0),n=6===t.type||7===t.type,i=2===t.type||3===t.type||4===t.type,o=3===t.type,r=this._context.configuration.options.get(90),s=8===t.type||5===t.type,a=9===t.type;let l=e.leftButton||e.middleButton;y["f"]&&e.leftButton&&e.ctrlKey&&(l=!1);const c=()=>{e.preventDefault(),this.viewHelper.focusTextArea()};if(l&&(n||o&&r))c(),this._mouseDownOperation.start(t.type,e);else if(i)e.preventDefault();else if(s){const n=t.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(n.viewZoneId)&&(c(),this._mouseDownOperation.start(t.type,e),e.preventDefault())}else a&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:t})}}Oy.MOUSE_MOVE_MINIMUM_TIME=100;class Ry extends Ge{constructor(e,t,n,i,o){super(),this._context=e,this._viewController=t,this._viewHelper=n,this._createMouseTarget=i,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new tm(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new Vi),this._mouseState=new Py,this._currentSelection=new gn(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);const t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);const n=this._findMousePosition(t,!0);if(!n||!n.position)return;this._mouseState.trySetCount(t.detail,n.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;if(!i.get(72)&&i.get(25)&&!i.get(13)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===n.type&&n.position&&this._currentSelection.containsPosition(n.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,Ty(null),e=>this._onMouseDownThenMove(e),()=>{const e=this._findMousePosition(this._lastMouseEvent,!0);this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:e?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(n,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,Ty(null),e=>this._onMouseDownThenMove(e),()=>this._stop()))}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{if(!this._lastMouseEvent)return;const e=this._findMousePosition(this._lastMouseEvent,!1);e&&(this._mouseState.isDragAndDrop||this._dispatchMouse(e,!0))},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){const t=e.editorPos,n=this._context.model,i=this._context.viewLayout,o=this._getMouseColumn(e);if(e.posy<t.y){const n=Math.max(i.getCurrentScrollTop()-(t.y-e.posy),0),r=Sy.getZoneAtCoord(this._context,n);if(r){const e=this._helpPositionJumpOverViewZone(r);if(e)return new Ey(null,13,o,e)}const s=i.getLineNumberAtVerticalOffset(n);return new Ey(null,13,o,new pn(s,1))}if(e.posy>t.y+t.height){const r=i.getCurrentScrollTop()+(e.posy-t.y),s=Sy.getZoneAtCoord(this._context,r);if(s){const e=this._helpPositionJumpOverViewZone(s);if(e)return new Ey(null,13,o,e)}const a=i.getLineNumberAtVerticalOffset(r);return new Ey(null,13,o,new pn(a,n.getLineMaxColumn(a)))}const r=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new Ey(null,13,o,new pn(r,1)):e.posx>t.x+t.width?new Ey(null,13,o,new pn(r,n.getLineMaxColumn(r))):null}_findMousePosition(e,t){const n=this._getPositionOutsideEditor(e);if(n)return n;const i=this._createMouseTarget(e,t),o=i.position;if(!o)return null;if(8===i.type||5===i.type){const e=this._helpPositionJumpOverViewZone(i.detail);if(e)return new Ey(i.element,i.type,i.mouseColumn,e,null,i.detail)}return i}_helpPositionJumpOverViewZone(e){const t=new pn(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class Py{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){const n=(new Date).getTime();n-this._lastSetMouseDownCountTime>Py.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}function Fy(e,t){const n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}Py.CLEAR_MOUSE_DOWN_COUNT_TIME=400;class jy extends Oy{constructor(e,t,n){super(e,t,n),this.viewHelper.linesContentDomNode.style.touchAction="none",this._installGestureHandlerTimeout=window.setTimeout(()=>{if(this._installGestureHandlerTimeout=-1,window.MSGesture){const e=new MSGesture,t=new MSGesture;e.target=this.viewHelper.linesContentDomNode,t.target=this.viewHelper.linesContentDomNode,this.viewHelper.linesContentDomNode.addEventListener("pointerdown",n=>{const i=n.pointerType;"mouse"!==i?"touch"===i?(this._lastPointerType="touch",e.addPointer(n.pointerId)):(this._lastPointerType="pen",t.addPointer(n.pointerId)):this._lastPointerType="mouse"}),this._register(jo(this.viewHelper.linesContentDomNode,"MSGestureChange",e=>this._onGestureChange(e),Fy)),this._register(xo(this.viewHelper.linesContentDomNode,"MSGestureTap",e=>this._onCaptureGestureTap(e),!0))}},100),this._lastPointerType="mouse"}_onMouseDown(e){"mouse"===this._lastPointerType&&super._onMouseDown(e)}_onCaptureGestureTap(e){const t=new $g(e,this.viewHelper.viewDomNode),n=this._createMouseTarget(t,!1);n.position&&this.viewController.moveTo(n.position),t.browserEvent.fromElement?(t.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(()=>{this.viewHelper.focusTextArea()})}_onGestureChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}dispose(){window.clearTimeout(this._installGestureHandlerTimeout),super.dispose()}}class Qy extends Oy{constructor(e,t,n){super(e,t,n),this._register(Ug.addTarget(this.viewHelper.linesContentDomNode)),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Tap,e=>this.onTap(e))),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Change,e=>this.onChange(e))),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Contextmenu,e=>this._onContextMenu(new $g(e,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(xo(this.viewHelper.linesContentDomNode,"pointerdown",e=>{const t=e.pointerType;this._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"}));const i=new em(this.viewHelper.viewDomNode);this._register(i.onPointerMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),Ty(this.mouseTargetFactory),Oy.MOUSE_MOVE_MINIMUM_TIME)),this._register(i.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(i.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(i.onPointerDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)))}onTap(e){if(!e.initialTarget||!this.viewHelper.linesContentDomNode.contains(e.initialTarget))return;e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new $g(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}onChange(e){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){e.target&&this.viewHelper.linesContentDomNode.contains(e.target)&&"touch"===this._lastPointerType||super._onMouseDown(e)}}class zy extends Oy{constructor(e,t,n){super(e,t,n),this._register(Ug.addTarget(this.viewHelper.linesContentDomNode)),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Tap,e=>this.onTap(e))),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Change,e=>this.onChange(e))),this._register(xo(this.viewHelper.linesContentDomNode,Wg.Contextmenu,e=>this._onContextMenu(new $g(e,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();const t=this._createMouseTarget(new $g(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)}onChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}}class Vy extends Ge{constructor(e,t,n){super(),y["c"]&&po.pointerEvents?this.handler=this._register(new Qy(e,t,n)):window.TouchEvent?this.handler=this._register(new zy(e,t,n)):window.navigator.pointerEnabled||window.PointerEvent?this.handler=this._register(new jy(e,t,n)):this.handler=this._register(new Oy(e,t,n))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}n("1a37");class Wy{constructor(e,t,n,i,o){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=o}toString(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new Wy(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new Wy(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){if(e<=this.selectionStart){const t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const t=this.value.substring(this.selectionStart,e);if(-1===t.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,t,1);const n=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,-1)}_finishDeduceEditorPosition(e,t,n){let i=0,o=-1;while(-1!==(o=t.indexOf("\n",o+1)))i++;return[e,n*t.length,i]}static selectedText(e){return new Wy(e,0,e.length,null,null)}static deduceInput(e,t,n){if(!e)return{text:"",replaceCharCnt:0};let i=e.value,o=e.selectionStart,r=e.selectionEnd,s=t.value,a=t.selectionStart,l=t.selectionEnd;const c=i.substring(r),h=s.substring(l),u=Rr["e"](c,h);s=s.substring(0,s.length-u),i=i.substring(0,i.length-u);const d=i.substring(0,o),p=s.substring(0,a),f=Rr["d"](d,p);if(s=s.substring(f),i=i.substring(f),a-=f,o-=f,l-=f,r-=f,n&&a===l&&i.length>0){let e=null;if(a===s.length?Rr["P"](s,i)&&(e=s.substring(i.length)):Rr["q"](s,i)&&(e=s.substring(0,s.length-i.length)),null!==e&&e.length>0&&(/\uFE0F/.test(e)||Rr["j"](e)))return{text:e,replaceCharCnt:0}}if(a===l){if(i===s&&0===o&&r===i.length&&a===s.length&&-1===s.indexOf("\n")&&Rr["k"](s))return{text:"",replaceCharCnt:0};const e=d.length-f;return{text:s,replaceCharCnt:e}}const g=r-o;return{text:s,replaceCharCnt:g}}}Wy.EMPTY=new Wy("",0,0,null,null);class Hy{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){const n=e*t,i=n+1,o=n+t;return new fn(i,1,o+1,1)}static fromEditorSelection(e,t,n,i,o){const r=Hy._getPageOfLine(n.startLineNumber,i),s=Hy._getRangeForPage(r,i),a=Hy._getPageOfLine(n.endLineNumber,i),l=Hy._getRangeForPage(a,i),c=s.intersectRanges(new fn(1,1,n.startLineNumber,n.startColumn));let h=t.getValueInRange(c,1);const u=t.getLineCount(),d=t.getLineMaxColumn(u),p=l.intersectRanges(new fn(n.endLineNumber,n.endColumn,u,d));let f,g=t.getValueInRange(p,1);if(r===a||r+1===a)f=t.getValueInRange(n,1);else{const e=s.intersectRanges(n),i=l.intersectRanges(n);f=t.getValueInRange(e,1)+String.fromCharCode(8230)+t.getValueInRange(i,1)}if(o){const e=500;h.length>e&&(h=h.substring(h.length-e,h.length)),g.length>e&&(g=g.substring(0,e)),f.length>2*e&&(f=f.substring(0,e)+String.fromCharCode(8230)+f.substring(f.length-e,f.length))}return new Wy(h+f+g,h.length,h.length+f.length,new pn(n.startLineNumber,n.startColumn),new pn(n.endLineNumber,n.endColumn))}}const Uy={forceCopyWithSyntaxHighlighting:!1};class Yy{constructor(){this._lastState=null}set(e,t){this._lastState={lastCopiedValue:e,data:t}}get(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)}}Yy.INSTANCE=new Yy;class Gy extends Ge{constructor(e,t){super(),this.textArea=t,this._onFocus=this._register(new et),this.onFocus=this._onFocus.event,this._onBlur=this._register(new et),this.onBlur=this._onBlur.event,this._onKeyDown=this._register(new et),this.onKeyDown=this._onKeyDown.event,this._onKeyUp=this._register(new et),this.onKeyUp=this._onKeyUp.event,this._onCut=this._register(new et),this.onCut=this._onCut.event,this._onPaste=this._register(new et),this.onPaste=this._onPaste.event,this._onType=this._register(new et),this.onType=this._onType.event,this._onCompositionStart=this._register(new et),this.onCompositionStart=this._onCompositionStart.event,this._onCompositionUpdate=this._register(new et),this.onCompositionUpdate=this._onCompositionUpdate.event,this._onCompositionEnd=this._register(new et),this.onCompositionEnd=this._onCompositionEnd.event,this._onSelectionChangeRequest=this._register(new et),this.onSelectionChangeRequest=this._onSelectionChangeRequest.event,this._host=e,this._textArea=this._register(new qy(t)),this._asyncTriggerCut=this._register(new Hi(()=>this._onCut.fire(),0)),this._textAreaState=Wy.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let n=null;this._register(ko(t.domNode,"keydown",e=>{(109===e.keyCode||this._isDoingComposition&&1===e.keyCode)&&e.stopPropagation(),e.equals(9)&&e.preventDefault(),n=e,this._onKeyDown.fire(e)})),this._register(ko(t.domNode,"keyup",e=>{this._onKeyUp.fire(e)})),this._register(xo(t.domNode,"compositionstart",e=>{if(this._isDoingComposition)return;this._isDoingComposition=!0;let t=!1;y["f"]&&n&&n.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===e.data&&("ArrowRight"!==n.code&&"ArrowLeft"!==n.code||(t=!0)),t?this._textAreaState=new Wy(this._textAreaState.value,this._textAreaState.selectionStart-1,this._textAreaState.selectionEnd,this._textAreaState.selectionStartPosition?new pn(this._textAreaState.selectionStartPosition.lineNumber,this._textAreaState.selectionStartPosition.column-1):null,this._textAreaState.selectionEndPosition):pi||this._setAndWriteTextAreaState("compositionstart",Wy.EMPTY),this._onCompositionStart.fire({moveOneCharacterLeft:t})}));const i=e=>{const t=this._textAreaState,n=Wy.readFromTextArea(this._textArea);return[n,Wy.deduceInput(t,n,e)]},o=e=>{const t=this._textAreaState,n=Wy.selectedText(e),i={text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart};return[n,i]},r=e=>!(!pi||"ja"!==e);this._register(xo(t.domNode,"compositionupdate",e=>{if(r(e.locale)){const[t,n]=i(!1);return this._textAreaState=t,this._onType.fire(n),void this._onCompositionUpdate.fire(e)}const[t,n]=o(e.data||"");this._textAreaState=t,this._onType.fire(n),this._onCompositionUpdate.fire(e)})),this._register(xo(t.domNode,"compositionend",e=>{if(this._isDoingComposition){if(r(e.locale)){const[e,t]=i(!1);this._textAreaState=e,this._onType.fire(t)}else{const[t,n]=o(e.data||"");this._textAreaState=t,this._onType.fire(n)}(pi||mi)&&(this._textAreaState=Wy.readFromTextArea(this._textArea)),this._isDoingComposition&&(this._isDoingComposition=!1,this._onCompositionEnd.fire())}})),this._register(xo(t.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),this._isDoingComposition)return;const[e,t]=i(y["f"]);0===t.replaceCharCnt&&1===t.text.length&&Rr["D"](t.text.charCodeAt(0))||(this._textAreaState=e,0===this._nextCommand?""!==t.text&&this._onType.fire(t):(""===t.text&&0===t.replaceCharCnt||this._firePaste(t.text,null),this._nextCommand=0))})),this._register(xo(t.domNode,"cut",e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(xo(t.domNode,"copy",e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(xo(t.domNode,"paste",e=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),Ky.canUseTextData(e)){const[t,n]=Ky.getTextData(e);""!==t&&this._firePaste(t,n)}else this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",Wy.EMPTY),this._nextCommand=1})),this._register(xo(t.domNode,"focus",()=>{this._setHasFocus(!0)})),this._register(xo(t.domNode,"blur",()=>{this._setHasFocus(!1)}))}_installSelectionChangeListener(){let e=0;return xo(document,"selectionchange",t=>{if(!this._hasFocus)return;if(this._isDoingComposition)return;if(!mi)return;const n=Date.now(),i=n-e;if(e=n,i<5)return;const o=n-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),o<100)return;if(!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const r=this._textArea.getValue();if(this._textAreaState.value!==r)return;const s=this._textArea.getSelectionStart(),a=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===s&&this._textAreaState.selectionEnd===a)return;const l=this._textAreaState.deduceEditorPosition(s),c=this._host.deduceModelPosition(l[0],l[1],l[2]),h=this._textAreaState.deduceEditorPosition(a),u=this._host.deduceModelPosition(h[0],h[1],h[2]),d=new gn(c.lineNumber,c.column,u.lineNumber,u.column);this._onSelectionChangeRequest.fire(d)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){const e=nr(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):mo(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(pi?this._setAndWriteTextAreaState("focusgain",Wy.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(Ky.canUseTextData(e)&&po.clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};Yy.INSTANCE.set(fi?t.text.replace(/\r\n/g,"\n"):t.text,n),Ky.canUseTextData(e)?Ky.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",Wy.selectedText(t.text))}_firePaste(e,t){t||(t=Yy.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})}}class Ky{static canUseTextData(e){return!!e.clipboardData||!!window.clipboardData}static getTextData(e){if(e.clipboardData){e.preventDefault();const n=e.clipboardData.getData("text/plain");let i=null;const o=e.clipboardData.getData("vscode-editor-data");if("string"===typeof o)try{i=JSON.parse(o),1!==i.version&&(i=null)}catch(t){}return[n,i]}if(window.clipboardData){e.preventDefault();const t=window.clipboardData.getData("Text");return[t,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(e,t,n,i){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"===typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(i)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")}}class qy extends Ge{constructor(e){super(),this._actual=e,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(e,t){const n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)}getSelectionStart(){return this._actual.domNode.selectionStart}getSelectionEnd(){return this._actual.domNode.selectionEnd}setSelectionRange(e,t,n){const i=this._actual.domNode;let o=null;const r=nr(i);o=r?r.activeElement:document.activeElement;const s=o===i,a=i.selectionStart,l=i.selectionEnd;if(s&&a===t&&l===n)fi&&window.parent!==window&&i.focus();else{if(s)return this.setIgnoreSelectionChangeTime("setSelectionRange"),i.setSelectionRange(t,n),void(fi&&window.parent!==window&&i.focus());try{const e=pr(i);this.setIgnoreSelectionChangeTime("setSelectionRange"),i.focus(),i.setSelectionRange(t,n),fr(i,e)}catch(c){}}}}n("1f2d");class Jy extends nm{}const Xy={ColorContribution:"base.contributions.colors"};class $y{constructor(){this._onDidChangeSchema=new et,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,o){let r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;let s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n&&n.defaults){const e=n.defaults[t.type];return Q_(e,t)}}getColorSchema(){return this.colorSchema}toString(){let e=(e,t)=>{let n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)};return Object.keys(this.colorsById).sort(e).map(e=>`- \`${e}\`: ${this.colorsById[e].description}`).join("\n")}}const Zy=new $y;function ew(e,t,n,i,o){return Zy.registerColor(e,t,n,i,o)}kd.add(Xy.ColorContribution,Zy);const tw=ew("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},v("foreground","Overall foreground color. This color is only used if not overridden by a component.")),nw=(ew("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},v("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),ew("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},v("iconForeground","The default color for icons in the workbench.")),ew("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},v("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component."))),iw=ew("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},v("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),ow=ew("contrastActiveBorder",{light:null,dark:null,hc:nw},v("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),rw=(ew("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},v("textLinkForeground","Foreground color for links in text.")),ew("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:Vv.black},v("textCodeBlockBackground","Background color for code blocks in text.")),ew("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},v("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),sw=ew("input.background",{dark:"#3C3C3C",light:Vv.white,hc:Vv.black},v("inputBoxBackground","Input box background.")),aw=ew("input.foreground",{dark:tw,light:tw,hc:tw},v("inputBoxForeground","Input box foreground.")),lw=ew("input.border",{dark:null,light:null,hc:iw},v("inputBoxBorder","Input box border.")),cw=(ew("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:iw},v("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),ew("inputOption.activeBackground",{dark:F_(nw,.4),light:F_(nw,.2),hc:Vv.transparent},v("inputOption.activeBackground","Background color of activated options in input fields.")),ew("inputOption.activeForeground",{dark:Vv.white,light:Vv.black,hc:null},v("inputOption.activeForeground","Foreground color of activated options in input fields.")),ew("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:Vv.black},v("inputValidationInfoBackground","Input validation background color for information severity."))),hw=ew("inputValidation.infoForeground",{dark:null,light:null,hc:null},v("inputValidationInfoForeground","Input validation foreground color for information severity.")),uw=ew("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:iw},v("inputValidationInfoBorder","Input validation border color for information severity.")),dw=ew("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:Vv.black},v("inputValidationWarningBackground","Input validation background color for warning severity.")),pw=ew("inputValidation.warningForeground",{dark:null,light:null,hc:null},v("inputValidationWarningForeground","Input validation foreground color for warning severity.")),fw=ew("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:iw},v("inputValidationWarningBorder","Input validation border color for warning severity.")),gw=ew("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:Vv.black},v("inputValidationErrorBackground","Input validation background color for error severity.")),mw=ew("inputValidation.errorForeground",{dark:null,light:null,hc:null},v("inputValidationErrorForeground","Input validation foreground color for error severity.")),bw=ew("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:iw},v("inputValidationErrorBorder","Input validation border color for error severity.")),vw=ew("dropdown.background",{dark:"#3C3C3C",light:Vv.white,hc:Vv.black},v("dropdownBackground","Dropdown background.")),yw=ew("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:Vv.white},v("dropdownForeground","Dropdown foreground.")),ww=ew("button.foreground",{dark:Vv.white,light:Vv.white,hc:Vv.white},v("buttonForeground","Button foreground color.")),_w=ew("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},v("buttonBackground","Button background color.")),Aw=ew("button.hoverBackground",{dark:P_(_w,.2),light:R_(_w,.2),hc:null},v("buttonHoverBackground","Button background color when hovering.")),Cw=ew("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:Vv.black},v("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),Ew=ew("badge.foreground",{dark:Vv.white,light:"#333",hc:Vv.white},v("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),xw=ew("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},v("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),Sw=ew("scrollbarSlider.background",{dark:Vv.fromHex("#797979").transparent(.4),light:Vv.fromHex("#646464").transparent(.4),hc:F_(iw,.6)},v("scrollbarSliderBackground","Scrollbar slider background color.")),Dw=ew("scrollbarSlider.hoverBackground",{dark:Vv.fromHex("#646464").transparent(.7),light:Vv.fromHex("#646464").transparent(.7),hc:F_(iw,.8)},v("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),kw=ew("scrollbarSlider.activeBackground",{dark:Vv.fromHex("#BFBFBF").transparent(.4),light:Vv.fromHex("#000000").transparent(.6),hc:iw},v("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),Mw=ew("progressBar.background",{dark:Vv.fromHex("#0E70C0"),light:Vv.fromHex("#0E70C0"),hc:iw},v("progressBarBackground","Background color of the progress bar that can show for long running operations.")),Nw=ew("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},v("editorError.foreground","Foreground color of error squigglies in the editor.")),Lw=ew("editorError.border",{dark:null,light:null,hc:Vv.fromHex("#E47777").transparent(.8)},v("errorBorder","Border color of error boxes in the editor.")),Bw=ew("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},v("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),Iw=ew("editorWarning.border",{dark:null,light:null,hc:Vv.fromHex("#FFCC00").transparent(.8)},v("warningBorder","Border color of warning boxes in the editor.")),Tw=ew("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},v("editorInfo.foreground","Foreground color of info squigglies in the editor.")),Ow=ew("editorInfo.border",{dark:null,light:null,hc:Vv.fromHex("#75BEFF").transparent(.8)},v("infoBorder","Border color of info boxes in the editor.")),Rw=ew("editorHint.foreground",{dark:Vv.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},v("editorHint.foreground","Foreground color of hint squigglies in the editor.")),Pw=ew("editorHint.border",{dark:null,light:null,hc:Vv.fromHex("#eeeeee").transparent(.8)},v("hintBorder","Border color of hint boxes in the editor.")),Fw=ew("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:Vv.black},v("editorBackground","Editor background color.")),jw=ew("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:Vv.white},v("editorForeground","Editor default foreground color.")),Qw=ew("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},v("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),zw=ew("editorWidget.foreground",{dark:tw,light:tw,hc:tw},v("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),Vw=ew("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:iw},v("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),Ww=(ew("editorWidget.resizeBorder",{light:null,dark:null,hc:null},v("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ew("quickInput.background",{dark:Qw,light:Qw,hc:Qw},v("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette."))),Hw=ew("quickInput.foreground",{dark:zw,light:zw,hc:zw},v("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),Uw=ew("quickInputTitle.background",{dark:new Vv(new jv(255,255,255,.105)),light:new Vv(new jv(0,0,0,.06)),hc:"#000000"},v("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),Yw=ew("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:Vv.white},v("pickerGroupForeground","Quick picker color for grouping labels.")),Gw=ew("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:Vv.white},v("pickerGroupBorder","Quick picker color for grouping borders.")),Kw=ew("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},v("editorSelectionBackground","Color of the editor selection.")),qw=ew("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},v("editorSelectionForeground","Color of the selected text for high contrast.")),Jw=ew("editor.inactiveSelectionBackground",{light:F_(Kw,.5),dark:F_(Kw,.5),hc:F_(Kw,.5)},v("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Xw=ew("editor.selectionHighlightBackground",{light:j_(Kw,Fw,.3,.6),dark:j_(Kw,Fw,.3,.6),hc:null},v("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),$w=(ew("editor.selectionHighlightBorder",{light:null,dark:null,hc:ow},v("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),ew("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},v("editorFindMatch","Color of the current search match.")),ew("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},v("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0)),Zw=(ew("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},v("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ew("editor.findMatchBorder",{light:null,dark:null,hc:ow},v("editorFindMatchBorder","Border color of the current search match.")),ew("editor.findMatchHighlightBorder",{light:null,dark:null,hc:ow},v("findMatchHighlightBorder","Border color of the other search matches.")),ew("editor.findRangeHighlightBorder",{dark:null,light:null,hc:F_(ow,.4)},v("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ew("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},v("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ew("editorHoverWidget.background",{light:Qw,dark:Qw,hc:Qw},v("hoverBackground","Background color of the editor hover."))),e_=(ew("editorHoverWidget.foreground",{light:zw,dark:zw,hc:zw},v("hoverForeground","Foreground color of the editor hover.")),ew("editorHoverWidget.border",{light:Vw,dark:Vw,hc:Vw},v("hoverBorder","Border color of the editor hover.")),ew("editorHoverWidget.statusBarBackground",{dark:P_(Zw,.2),light:R_(Zw,.05),hc:Qw},v("statusBarBackground","Background color of the editor hover status bar.")),ew("editorLink.activeForeground",{dark:"#4E94CE",light:Vv.blue,hc:Vv.cyan},v("activeLinkForeground","Color of active links.")),ew("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},v("editorLightBulbForeground","The color used for the lightbulb actions icon.")),ew("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},v("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),new Vv(new jv(155,185,85,.2))),t_=new Vv(new jv(255,0,0,.2)),n_=ew("diffEditor.insertedTextBackground",{dark:e_,light:e_,hc:null},v("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),i_=ew("diffEditor.removedTextBackground",{dark:t_,light:t_,hc:null},v("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),o_=ew("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},v("diffEditorInsertedOutline","Outline color for the text that got inserted.")),r_=ew("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},v("diffEditorRemovedOutline","Outline color for text that got removed.")),s_=ew("diffEditor.border",{dark:null,light:null,hc:iw},v("diffEditorBorder","Border color between the two text editors.")),a_=ew("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},v("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),l_=ew("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},v("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),c_=ew("list.focusForeground",{dark:null,light:null,hc:null},v("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),h_=ew("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},v("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),u_=ew("list.activeSelectionForeground",{dark:Vv.white,light:Vv.white,hc:null},v("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),d_=ew("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},v("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),p_=ew("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},v("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),f_=ew("list.inactiveFocusBackground",{dark:null,light:null,hc:null},v("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),g_=ew("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},v("listHoverBackground","List/Tree background when hovering over items using the mouse.")),m_=ew("list.hoverForeground",{dark:null,light:null,hc:null},v("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),b_=ew("list.dropBackground",{dark:l_,light:l_,hc:null},v("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),v_=(ew("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:nw},v("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),ew("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:Vv.black},v("listFilterWidgetBackground","Background color of the type filter widget in lists and trees."))),y_=ew("listFilterWidget.outline",{dark:Vv.transparent,light:Vv.transparent,hc:"#f38518"},v("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),w_=ew("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:iw},v("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),__=ew("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},v("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),A_=ew("menu.border",{dark:null,light:null,hc:iw},v("menuBorder","Border color of menus.")),C_=ew("menu.foreground",{dark:yw,light:tw,hc:yw},v("menuForeground","Foreground color of menu items.")),E_=ew("menu.background",{dark:vw,light:vw,hc:vw},v("menuBackground","Background color of menu items.")),x_=ew("menu.selectionForeground",{dark:u_,light:u_,hc:u_},v("menuSelectionForeground","Foreground color of the selected menu item in menus.")),S_=ew("menu.selectionBackground",{dark:h_,light:h_,hc:h_},v("menuSelectionBackground","Background color of the selected menu item in menus.")),D_=ew("menu.selectionBorder",{dark:null,light:null,hc:ow},v("menuSelectionBorder","Border color of the selected menu item in menus.")),k_=ew("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:iw},v("menuSeparatorBackground","Color of a separator menu item in menus.")),M_=(ew("editor.snippetTabstopHighlightBackground",{dark:new Vv(new jv(124,124,124,.3)),light:new Vv(new jv(10,50,100,.2)),hc:new Vv(new jv(124,124,124,.3))},v("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),ew("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},v("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),ew("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},v("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),ew("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new Vv(new jv(10,50,100,.5)),hc:"#525252"},v("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),ew("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},v("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),ew("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},v("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ew("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},v("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),ew("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},v("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0)),N_=ew("minimap.errorHighlight",{dark:new Vv(new jv(255,18,18,.7)),light:new Vv(new jv(255,18,18,.7)),hc:new Vv(new jv(255,50,50,1))},v("minimapError","Minimap marker color for errors.")),L_=ew("minimap.warningHighlight",{dark:Bw,light:Bw,hc:Iw},v("overviewRuleWarning","Minimap marker color for warnings.")),B_=ew("minimap.background",{dark:null,light:null,hc:null},v("minimapBackground","Minimap background color.")),I_=ew("minimapSlider.background",{light:F_(Sw,.5),dark:F_(Sw,.5),hc:F_(Sw,.5)},v("minimapSliderBackground","Minimap slider background color.")),T_=ew("minimapSlider.hoverBackground",{light:F_(Dw,.5),dark:F_(Dw,.5),hc:F_(Dw,.5)},v("minimapSliderHoverBackground","Minimap slider background color when hovering.")),O_=ew("minimapSlider.activeBackground",{light:F_(kw,.5),dark:F_(kw,.5),hc:F_(kw,.5)},v("minimapSliderActiveBackground","Minimap slider background color when clicked on."));ew("problemsErrorIcon.foreground",{dark:Nw,light:Nw,hc:Nw},v("problemsErrorIconForeground","The color used for the problems error icon.")),ew("problemsWarningIcon.foreground",{dark:Bw,light:Bw,hc:Bw},v("problemsWarningIconForeground","The color used for the problems warning icon.")),ew("problemsInfoIcon.foreground",{dark:Tw,light:Tw,hc:Tw},v("problemsInfoIconForeground","The color used for the problems info icon."));function R_(e,t){return n=>{let i=Q_(e,n);if(i)return i.darken(t)}}function P_(e,t){return n=>{let i=Q_(e,n);if(i)return i.lighten(t)}}function F_(e,t){return n=>{let i=Q_(e,n);if(i)return i.transparent(t)}}function j_(e,t,n,i){return o=>{let r=Q_(e,o);if(r){let e=Q_(t,o);return e?r.isDarkerThan(e)?Vv.getLighterColor(r,e,n).transparent(i):Vv.getDarkerColor(r,e,n).transparent(i):r.transparent(n*i)}}}function Q_(e,t){if(null!==e)return"string"===typeof e?"#"===e[0]?Vv.fromHex(e):t.getColor(e):e instanceof Vv?e:"function"===typeof e?e(t):void 0}const z_="vscode://schemas/workbench-colors";let V_=kd.as(Md.JSONContribution);V_.registerSchema(z_,Zy.getColorSchema());const W_=new Hi(()=>V_.notifySchemaChanged(z_),200);Zy.onDidChangeSchema(()=>{W_.isScheduled()||W_.schedule()});const H_=ew("editor.lineHighlightBackground",{dark:null,light:null,hc:null},v("lineHighlight","Background color for the highlight of line at the cursor position.")),U_=ew("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},v("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),Y_=ew("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},v("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),G_=ew("editor.rangeHighlightBorder",{dark:null,light:null,hc:ow},v("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),K_=ew("editor.symbolHighlightBackground",{dark:$w,light:$w,hc:null},v("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),q_=ew("editor.symbolHighlightBorder",{dark:null,light:null,hc:ow},v("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),J_=ew("editorCursor.foreground",{dark:"#AEAFAD",light:Vv.black,hc:Vv.white},v("caret","Color of the editor cursor.")),X_=ew("editorCursor.background",null,v("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),$_=ew("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},v("editorWhitespaces","Color of whitespace characters in the editor.")),Z_=ew("editorIndentGuide.background",{dark:$_,light:$_,hc:$_},v("editorIndentGuides","Color of the editor indentation guides.")),eA=ew("editorIndentGuide.activeBackground",{dark:$_,light:$_,hc:$_},v("editorActiveIndentGuide","Color of the active editor indentation guides.")),tA=ew("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Vv.white},v("editorLineNumbers","Color of editor line numbers.")),nA=ew("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:ow},v("editorActiveLineNumber","Color of editor active line number"),!1,v("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),iA=ew("editorLineNumber.activeForeground",{dark:nA,light:nA,hc:nA},v("editorActiveLineNumber","Color of editor active line number")),oA=ew("editorRuler.foreground",{dark:"#5A5A5A",light:Vv.lightgrey,hc:Vv.white},v("editorRuler","Color of the editor rulers.")),rA=(ew("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},v("editorCodeLensForeground","Foreground color of editor CodeLens")),ew("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},v("editorBracketMatchBackground","Background color behind matching brackets")),ew("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:iw},v("editorBracketMatchBorder","Color for matching brackets boxes")),ew("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},v("editorOverviewRulerBorder","Color of the overview ruler border."))),sA=ew("editorOverviewRuler.background",null,v("editorOverviewRulerBackground","Background color of the editor overview ruler. Only used when the minimap is enabled and placed on the right side of the editor.")),aA=ew("editorGutter.background",{dark:Fw,light:Fw,hc:Fw},v("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),lA=ew("editorUnnecessaryCode.border",{dark:null,light:null,hc:Vv.fromHex("#fff").transparent(.8)},v("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),cA=ew("editorUnnecessaryCode.opacity",{dark:Vv.fromHex("#000a"),light:Vv.fromHex("#0007"),hc:null},v("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the  'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),hA=new Vv(new jv(0,122,204,.6)),uA=(ew("editorOverviewRuler.rangeHighlightForeground",{dark:hA,light:hA,hc:hA},v("overviewRulerRangeHighlight","Overview ruler marker color for range highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ew("editorOverviewRuler.errorForeground",{dark:new Vv(new jv(255,18,18,.7)),light:new Vv(new jv(255,18,18,.7)),hc:new Vv(new jv(255,50,50,1))},v("overviewRuleError","Overview ruler marker color for errors."))),dA=ew("editorOverviewRuler.warningForeground",{dark:Bw,light:Bw,hc:Iw},v("overviewRuleWarning","Overview ruler marker color for warnings.")),pA=ew("editorOverviewRuler.infoForeground",{dark:Tw,light:Tw,hc:Ow},v("overviewRuleInfo","Overview ruler marker color for infos."));Am((e,t)=>{const n=e.getColor(Fw);n&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${n}; }`);const i=e.getColor(jw);i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`);const o=e.getColor(aA);o&&t.addRule(`.monaco-editor .margin { background-color: ${o}; }`);const r=e.getColor(Y_);r&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${r}; }`);const s=e.getColor(G_);s&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${s}; }`);const a=e.getColor(K_);a&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${a}; }`);const l=e.getColor(q_);l&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${l}; }`);const c=e.getColor($_);c&&(t.addRule(`.monaco-editor .mtkw { color: ${c} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${c} !important; }`))});class fA extends Jy{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new pn(1,1),this._renderResult=null,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(51);const t=e.get(52);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(76);const n=e.get(117);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){const t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){const t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new pn(e,1));if(1!==t.column)return"";const n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){const e=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===e?'<span class="relative-current-line-number">'+n+"</span>":String(e)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10===0?String(n):"":String(n)}prepareRender(e){if(0===this._renderLineNumbers)return void(this._renderResult=null);const t=y["d"]?this._lineHeight%2===0?" lh-even":" lh-odd":"",n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o='<div class="'+fA.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',r=this._context.model.getLineCount(),s=[];for(let a=n;a<=i;a++){const e=a-n;if(!this._renderFinalNewline&&a===r&&0===this._context.model.getLineLength(a)){s[e]="";continue}const t=this._getLineRenderLineNumber(a);s[e]=t?o+t+"</div>":""}this._renderResult=s}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}fA.CLASS_NAME="line-numbers",Am((e,t)=>{const n=e.getColor(tA);n&&t.addRule(`.monaco-editor .line-numbers { color: ${n}; }`);const i=e.getColor(iA);i&&t.addRule(`.monaco-editor .current-line ~ .line-numbers { color: ${i}; }`)});class gA extends im{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._domNode=jg(document.createElement("div")),this._domNode.setClassName(gA.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=jg(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(gA.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._canUseLayerHinting=!t.get(23),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");const t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);const n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)}}gA.CLASS_NAME="glyph-margin",gA.OUTER_CLASS_NAME="margin";n("53d7");const mA="monaco-mouse-cursor-text";class bA{constructor(e,t,n){this.top=e,this.left=t,this.width=n}setWidth(e){return new bA(this.top,this.left,e)}}const vA=pi||fi;class yA extends im{constructor(e,t,n){super(e),this._primaryCursorPosition=new pn(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._viewHelper=n,this._scrollLeft=0,this._scrollTop=0;const i=this._context.configuration.options,o=i.get(117);this._setAccessibilityOptions(i),this._contentLeft=o.contentLeft,this._contentWidth=o.contentWidth,this._contentHeight=o.height,this._fontInfo=i.get(36),this._lineHeight=i.get(51),this._emptySelectionClipboard=i.get(26),this._copyWithSyntaxHighlighting=i.get(16),this._visibleTextArea=null,this._selections=[new gn(1,1,1,1)],this._modelSelections=[new gn(1,1,1,1)],this._lastRenderPosition=null,this.textArea=jg(document.createElement("textarea")),om.write(this.textArea,6),this.textArea.setClassName("inputarea "+mA),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(i)),this.textArea.setAttribute("tabindex",String(i.get(102))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",v("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),y["h"]&&i.get(72)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=jg(document.createElement("div")),this.textAreaCover.setPosition("absolute");const r={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:e=>this._context.model.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.model.getValueInRange(e,t)},s={getDataToCopy:e=>{const t=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,y["i"]),n=this._context.model.getEOL(),i=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null,r=Array.isArray(t)?t.join(n):t;let s=void 0,a=null;if(e&&(Uy.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&r.length<65536)){const e=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard);e&&(s=e.html,a=e.mode)}return{isFromEmptySelection:i,multicursorText:o,text:r,html:s,mode:a}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(y["f"]){const e=this._selections[0];if(e.isEmpty()){const t=e.getStartPosition();let n=this._getWordBeforePosition(t);if(0===n.length&&(n=this._getCharacterBeforePosition(t)),n.length>0)return new Wy(n,n.length,n.length,t,t)}}return Wy.EMPTY}return Hy.fromEditorSelection(e,r,this._selections[0],this._accessibilityPageSize,0===this._accessibilitySupport)},deduceModelPosition:(e,t,n)=>this._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)};this._textAreaInput=this._register(new Gy(s,this.textArea)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,n=null,i=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n="undefined"!==typeof e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),this._viewController.paste(e.text,t,n,i)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replaceCharCnt?this._viewController.replacePreviousChar(e.text,e.replaceCharCnt):this._viewController.type(e.text)})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{const t=this._selections[0].startLineNumber,n=this._selections[0].startColumn-(e.moveOneCharacterLeft?1:0);this._context.model.revealRange("keyboard",!0,new fn(t,n,t,n),0,1);const i=this._viewHelper.visibleRangeForPositionRelativeToEditor(t,n);i&&(this._visibleTextArea=new bA(this._context.viewLayout.getVerticalOffsetForLineNumber(t),i.left,vA?0:1),this._render()),this.textArea.setClassName(`inputarea ${mA} ime-input`),this._viewController.compositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea=pi?this._visibleTextArea.setWidth(0):this._visibleTextArea.setWidth(wA(e.data,this._fontInfo)),this._render()})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+mA),this._viewController.compositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getWordBeforePosition(e){const t=this._context.model.getLineContent(e.lineNumber),n=Ub(this._context.configuration.options.get(105));let i=e.column,o=0;while(i>1){const r=t.charCodeAt(i-2),s=n.get(r);if(0!==s||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)}_getCharacterBeforePosition(e){if(e.column>1){const t=this._context.model.getLineContent(e.lineNumber),n=t.charAt(e.column-2);if(!Rr["D"](n.charCodeAt(0)))return n}return""}_getAriaLabel(e){const t=e.get(2);return 1===t?v("accessibilityOffAriaLabel","The editor is not accessible at this time. Press {0} for options.",y["d"]?"Shift+Alt+F1":"Alt+F1"):e.get(4)}_setAccessibilityOptions(e){this._accessibilitySupport=e.get(2);const t=e.get(3);2===this._accessibilitySupport&&t===Se.accessibilityPageSize.defaultValue?this._accessibilityPageSize=100:this._accessibilityPageSize=t}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(36),this._lineHeight=t.get(51),this._emptySelectionClipboard=t.get(26),this._copyWithSyntaxHighlighting=t.get(16),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),this.textArea.setAttribute("tabindex",String(t.get(102))),y["h"]&&e.hasChanged(72)&&(t.get(72)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0}onZonesChanged(e){return!0}isFocused(){return this._textAreaInput.isFocused()}focusTextArea(){this._textAreaInput.focusTextArea()}getLastRenderData(){return this._lastRenderPosition}setAriaOptions(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant")),e.role&&this.textArea.setAttribute("role",e.role)}prepareRender(e){this._primaryCursorPosition=new pn(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)}render(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()}_render(){if(this._visibleTextArea)return void this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();const e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();const t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():y["f"]?this._renderInsideEditor(this._primaryCursorPosition,t,e,vA?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,vA?0:1,vA?0:1)}_renderInsideEditor(e,t,n,i,o){this._lastRenderPosition=e;const r=this.textArea,s=this.textAreaCover;Vf.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const e=this.textArea,t=this.textAreaCover;if(Vf.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),vA)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);const n=this._context.configuration.options;n.get(42)?t.setClassName("monaco-editor-background textAreaCover "+gA.OUTER_CLASS_NAME):0!==n.get(52).renderType?t.setClassName("monaco-editor-background textAreaCover "+fA.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")}}function wA(e,t){const n=document.createElement("canvas"),i=n.getContext("2d");i.font=_A(t);const o=i.measureText(e);return fi?o.width+2:o.width}function _A(e){return AA("normal",e.fontWeight,e.fontSize,e.lineHeight,e.fontFamily)}function AA(e,t,n,i,o){return`${e} normal ${t} ${n}px / ${i}px ${o}`}class CA{static columnSelect(e,t,n,i,o,r){let s=Math.abs(o-n)+1,a=n>o,l=i>r,c=i<r,h=[];for(let u=0;u<s;u++){let o=n+(a?-u:u),s=_y.columnFromVisibleColumn2(e,t,o,i),d=_y.columnFromVisibleColumn2(e,t,o,r),p=_y.visibleColumnFromColumn2(e,t,new pn(o,s)),f=_y.visibleColumnFromColumn2(e,t,new pn(o,d));if(c){if(p>r)continue;if(f<i)continue}if(l){if(f>i)continue;if(p<r)continue}h.push(new gy(new fn(o,s,o,s),0,new pn(o,d),0))}if(0===h.length)for(let u=0;u<s;u++){const e=n+(a?-u:u),i=t.getLineMaxColumn(e);h.push(new gy(new fn(e,i,e,i),0,new pn(e,i),0))}return{viewStates:h,reversed:a,fromLineNumber:n,fromVisualColumn:i,toLineNumber:o,toVisualColumn:r}}static columnSelectLeft(e,t,n){let i=n.toViewVisualColumn;return i>1&&i--,CA.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,i)}static columnSelectRight(e,t,n){let i=0;const o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber);for(let a=o;a<=r;a++){const n=t.getLineMaxColumn(a),o=_y.visibleColumnFromColumn2(e,t,new pn(a,n));i=Math.max(i,o)}let s=n.toViewVisualColumn;return s<i&&s++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,s)}static columnSelectUp(e,t,n,i){const o=i?e.pageSize:1,r=Math.max(1,n.toViewLineNumber-o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}static columnSelectDown(e,t,n,i){const o=i?e.pageSize:1,r=Math.min(t.getLineCount(),n.toViewLineNumber+o);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,r,n.toViewVisualColumn)}}class EA{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range;return new gn(i.endLineNumber,i.endColumn,i.endLineNumber,i.endColumn)}}class xA{constructor(e,t,n=!1){this._range=e,this._text=t,this.insertsAutoWhitespace=n}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range;return new gn(i.startLineNumber,i.startColumn,i.startLineNumber,i.startColumn)}}class SA{constructor(e,t,n,i,o=!1){this._range=e,this._text=t,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range;return new gn(i.endLineNumber+this._lineNumberDeltaOffset,i.endColumn+this._columnDeltaOffset,i.endLineNumber+this._lineNumberDeltaOffset,i.endColumn+this._columnDeltaOffset)}}class DA{constructor(e,t,n,i=!1){this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=i,this._selectionId=null}getEditOperations(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class kA{constructor(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}}class MA{static leftPosition(e,t,n){return n>e.getLineMinColumn(t)?n-=Rr["K"](e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new pn(t,n)}static left(e,t,n,i){const o=MA.leftPosition(t,n,i);return new kA(o.lineNumber,o.column,0)}static moveLeft(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.startLineNumber,s=n.selection.startColumn;else{let i=MA.left(e,t,n.position.lineNumber,n.position.column-(o-1));r=i.lineNumber,s=i.column}return n.move(i,r,s,0)}static rightPosition(e,t,n){return n<e.getLineMaxColumn(t)?n+=Rr["J"](e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new pn(t,n)}static right(e,t,n,i){const o=MA.rightPosition(t,n,i);return new kA(o.lineNumber,o.column,0)}static moveRight(e,t,n,i,o){let r,s;if(n.hasSelection()&&!i)r=n.selection.endLineNumber,s=n.selection.endColumn;else{let i=MA.right(e,t,n.position.lineNumber,n.position.column+(o-1));r=i.lineNumber,s=i.column}return n.move(i,r,s,0)}static down(e,t,n,i,o,r,s){const a=_y.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+o,l=t.getLineCount(),c=n===l&&i===t.getLineMaxColumn(n);return n+=r,n>l?(n=l,i=s?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=_y.columnFromVisibleColumn2(e,t,n,a),o=c?0:a-_y.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),new kA(n,i,o)}static moveDown(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.endLineNumber,s=n.selection.endColumn):(r=n.position.lineNumber,s=n.position.column);let a=MA.down(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateDown(e,t,n){let i=n.selection,o=MA.down(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=MA.down(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new gy(new fn(o.lineNumber,o.column,o.lineNumber,o.column),o.leftoverVisibleColumns,new pn(r.lineNumber,r.column),r.leftoverVisibleColumns)}static up(e,t,n,i,o,r,s){const a=_y.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+o,l=1===n&&1===i;return n-=r,n<1?(n=1,i=s?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=_y.columnFromVisibleColumn2(e,t,n,a),o=l?0:a-_y.visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),new kA(n,i,o)}static moveUp(e,t,n,i,o){let r,s;n.hasSelection()&&!i?(r=n.selection.startLineNumber,s=n.selection.startColumn):(r=n.position.lineNumber,s=n.position.column);let a=MA.up(e,t,r,s,n.leftoverVisibleColumns,o,!0);return n.move(i,a.lineNumber,a.column,a.leftoverVisibleColumns)}static translateUp(e,t,n){let i=n.selection,o=MA.up(e,t,i.selectionStartLineNumber,i.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=MA.up(e,t,i.positionLineNumber,i.positionColumn,n.leftoverVisibleColumns,1,!1);return new gy(new fn(o.lineNumber,o.column,o.lineNumber,o.column),o.leftoverVisibleColumns,new pn(r.lineNumber,r.column),r.leftoverVisibleColumns)}static moveToBeginningOfLine(e,t,n,i){let o,r=n.position.lineNumber,s=t.getLineMinColumn(r),a=t.getLineFirstNonWhitespaceColumn(r)||s,l=n.position.column;return o=l===a?s:a,n.move(i,r,o,0)}static moveToEndOfLine(e,t,n,i,o){let r=n.position.lineNumber,s=t.getLineMaxColumn(r);return n.move(i,r,s,o?1073741824-s:0)}static moveToBeginningOfBuffer(e,t,n,i){return n.move(i,1,1,0)}static moveToEndOfBuffer(e,t,n,i){let o=t.getLineCount(),r=t.getLineMaxColumn(o);return n.move(i,o,r,0)}}class NA{static deleteRight(e,t,n,i){let o=[],r=3!==e;for(let s=0,a=i.length;s<a;s++){const e=i[s];let a=e;if(a.isEmpty()){let i=e.getPosition(),o=MA.right(t,n,i.lineNumber,i.column);a=new fn(o.lineNumber,o.column,i.lineNumber,i.column)}a.isEmpty()?o[s]=null:(a.startLineNumber!==a.endLineNumber&&(r=!0),o[s]=new EA(a,""))}return[r,o]}static _isAutoClosingPairDelete(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(let i=0,o=n.length;i<o;i++){const o=n[i],r=o.getPosition();if(!o.isEmpty())return!1;const s=t.getLineContent(r.lineNumber),a=s[r.column-2],l=e.autoClosingPairsOpen2.get(a);if(!l)return!1;if(Ay(a)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;const c=s[r.column-1];let h=!1;for(const e of l)e.open===a&&e.close===c&&(h=!0);if(!h)return!1}return!0}static _runAutoClosingPairDelete(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++){const e=n[o].getPosition(),t=new fn(e.lineNumber,e.column-1,e.lineNumber,e.column+1);i[o]=new EA(t,"")}return[!0,i]}static deleteLeft(e,t,n,i){if(this._isAutoClosingPairDelete(t,n,i))return this._runAutoClosingPairDelete(t,n,i);let o=[],r=2!==e;for(let s=0,a=i.length;s<a;s++){const e=i[s];let a=e;if(a.isEmpty()){let i=e.getPosition();if(t.useTabStops&&i.column>1){let e=n.getLineContent(i.lineNumber),o=Rr["u"](e),r=-1===o?e.length+1:o+1;if(i.column<=r){let e=_y.visibleColumnFromColumn2(t,n,i),o=_y.prevIndentTabStop(e,t.indentSize),r=_y.columnFromVisibleColumn2(t,n,i.lineNumber,o);a=new fn(i.lineNumber,r,i.lineNumber,i.column)}else a=new fn(i.lineNumber,i.column-1,i.lineNumber,i.column)}else{let e=MA.left(t,n,i.lineNumber,i.column);a=new fn(e.lineNumber,e.column,i.lineNumber,i.column)}}a.isEmpty()?o[s]=null:(a.startLineNumber!==a.endLineNumber&&(r=!0),o[s]=new EA(a,""))}return[r,o]}static cut(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o];if(r.isEmpty())if(e.emptySelectionClipboard){let e,n,s,a,l=r.getPosition();l.lineNumber<t.getLineCount()?(e=l.lineNumber,n=1,s=l.lineNumber+1,a=1):l.lineNumber>1?(e=l.lineNumber-1,n=t.getLineMaxColumn(l.lineNumber-1),s=l.lineNumber,a=t.getLineMaxColumn(l.lineNumber)):(e=l.lineNumber,n=1,s=l.lineNumber,a=t.getLineMaxColumn(l.lineNumber));let c=new fn(e,n,s,a);c.isEmpty()?i[o]=null:i[o]=new EA(c,"")}else i[o]=null;else i[o]=new EA(r,"")}return new wy(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}class LA{static _createWord(e,t,n,i,o){return{start:i,end:o,wordType:t,nextCharClass:n}}static _findPreviousWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(i,e,n)}static _doFindPreviousWordOnLine(e,t,n){let i=0;for(let o=n.column-2;o>=0;o--){let n=e.charCodeAt(o),r=t.get(n);if(0===r){if(2===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=1}else if(2===r){if(1===i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1));i=2}else if(1===r&&0!==i)return this._createWord(e,i,r,o+1,this._findEndOfWord(e,t,i,o+1))}return 0!==i?this._createWord(e,i,1,0,this._findEndOfWord(e,t,i,0)):null}static _findEndOfWord(e,t,n,i){let o=e.length;for(let r=i;r<o;r++){let i=e.charCodeAt(r),o=t.get(i);if(1===o)return r;if(1===n&&2===o)return r;if(2===n&&0===o)return r}return o}static _findNextWordOnLine(e,t,n){let i=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(i,e,n)}static _doFindNextWordOnLine(e,t,n){let i=0,o=e.length;for(let r=n.column-1;r<o;r++){let n=e.charCodeAt(r),o=t.get(n);if(0===o){if(2===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=1}else if(2===o){if(1===i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r);i=2}else if(1===o&&0!==i)return this._createWord(e,i,o,this._findStartOfWord(e,t,i,r-1),r)}return 0!==i?this._createWord(e,i,1,this._findStartOfWord(e,t,i,o-1),o):null}static _findStartOfWord(e,t,n,i){for(let o=i;o>=0;o--){let i=e.charCodeAt(o),r=t.get(i);if(1===r)return o+1;if(1===n&&2===r)return o+1;if(2===n&&0===r)return o+1}return 0}static moveWordLeft(e,t,n,i){let o=n.lineNumber,r=n.column;1===r&&o>1&&(o-=1,r=t.getLineMaxColumn(o));let s=LA._findPreviousWordOnLine(e,t,new pn(o,r));if(0===i)return new pn(o,s?s.start+1:1);if(1===i)return s&&2===s.wordType&&s.end-s.start===1&&0===s.nextCharClass&&(s=LA._findPreviousWordOnLine(e,t,new pn(o,s.start+1))),new pn(o,s?s.start+1:1);if(3===i){while(s&&2===s.wordType)s=LA._findPreviousWordOnLine(e,t,new pn(o,s.start+1));return new pn(o,s?s.start+1:1)}return s&&r<=s.end+1&&(s=LA._findPreviousWordOnLine(e,t,new pn(o,s.start+1))),new pn(o,s?s.end+1:1)}static _moveWordPartLeft(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(1===t.column)return n>1?new pn(n-1,e.getLineMaxColumn(n-1)):t;const o=e.getLineContent(n);for(let r=t.column-1;r>1;r--){const e=o.charCodeAt(r-2),t=o.charCodeAt(r-1);if(95===e&&95!==t)return new pn(n,r);if(Rr["F"](e)&&Rr["G"](t))return new pn(n,r);if(Rr["G"](e)&&Rr["G"](t)&&r+1<i){const e=o.charCodeAt(r);if(Rr["F"](e))return new pn(n,r)}}return new pn(n,1)}static moveWordRight(e,t,n,i){let o=n.lineNumber,r=n.column,s=!1;r===t.getLineMaxColumn(o)&&o<t.getLineCount()&&(s=!0,o+=1,r=1);let a=LA._findNextWordOnLine(e,t,new pn(o,r));if(2===i)a&&2===a.wordType&&a.end-a.start===1&&0===a.nextCharClass&&(a=LA._findNextWordOnLine(e,t,new pn(o,a.end+1))),r=a?a.end+1:t.getLineMaxColumn(o);else if(3===i){s&&(r=0);while(a&&(2===a.wordType||a.start+1<=r))a=LA._findNextWordOnLine(e,t,new pn(o,a.end+1));r=a?a.start+1:t.getLineMaxColumn(o)}else a&&!s&&r>=a.start+1&&(a=LA._findNextWordOnLine(e,t,new pn(o,a.end+1))),r=a?a.start+1:t.getLineMaxColumn(o);return new pn(o,r)}static _moveWordPartRight(e,t){const n=t.lineNumber,i=e.getLineMaxColumn(n);if(t.column===i)return n<e.getLineCount()?new pn(n+1,1):t;const o=e.getLineContent(n);for(let r=t.column+1;r<i;r++){const e=o.charCodeAt(r-2),t=o.charCodeAt(r-1);if(95!==e&&95===t)return new pn(n,r);if(Rr["F"](e)&&Rr["G"](t))return new pn(n,r);if(Rr["G"](e)&&Rr["G"](t)&&r+1<i){const e=o.charCodeAt(r);if(Rr["F"](e))return new pn(n,r)}}return new pn(n,i)}static _deleteWordLeftWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-2,o=Rr["H"](n,i);return o+1<i?new fn(t.lineNumber,o+2,t.lineNumber,t.column):null}static deleteWordLeft(e,t,n,i,o){if(!n.isEmpty())return n;const r=new pn(n.positionLineNumber,n.positionColumn);let s=r.lineNumber,a=r.column;if(1===s&&1===a)return null;if(i){let e=this._deleteWordLeftWhitespace(t,r);if(e)return e}let l=LA._findPreviousWordOnLine(e,t,r);return 0===o?l?a=l.start+1:a>1?a=1:(s--,a=t.getLineMaxColumn(s)):(l&&a<=l.end+1&&(l=LA._findPreviousWordOnLine(e,t,new pn(s,l.start+1))),l?a=l.end+1:a>1?a=1:(s--,a=t.getLineMaxColumn(s))),new fn(s,a,r.lineNumber,r.column)}static _deleteWordPartLeft(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=LA._moveWordPartLeft(e,n);return new fn(n.lineNumber,n.column,i.lineNumber,i.column)}static _findFirstNonWhitespaceChar(e,t){let n=e.length;for(let i=t;i<n;i++){let t=e.charAt(i);if(" "!==t&&"\t"!==t)return i}return n}static _deleteWordRightWhitespace(e,t){const n=e.getLineContent(t.lineNumber),i=t.column-1,o=this._findFirstNonWhitespaceChar(n,i);return i+1<o?new fn(t.lineNumber,t.column,t.lineNumber,o+1):null}static deleteWordRight(e,t,n,i,o){if(!n.isEmpty())return n;const r=new pn(n.positionLineNumber,n.positionColumn);let s=r.lineNumber,a=r.column;const l=t.getLineCount(),c=t.getLineMaxColumn(s);if(s===l&&a===c)return null;if(i){let e=this._deleteWordRightWhitespace(t,r);if(e)return e}let h=LA._findNextWordOnLine(e,t,r);return 2===o?h?a=h.end+1:a<c||s===l?a=c:(s++,h=LA._findNextWordOnLine(e,t,new pn(s,1)),a=h?h.start+1:t.getLineMaxColumn(s)):(h&&a>=h.start+1&&(h=LA._findNextWordOnLine(e,t,new pn(s,h.end+1))),h?a=h.start+1:a<c||s===l?a=c:(s++,h=LA._findNextWordOnLine(e,t,new pn(s,1)),a=h?h.start+1:t.getLineMaxColumn(s))),new fn(s,a,r.lineNumber,r.column)}static _deleteWordPartRight(e,t){if(!t.isEmpty())return t;const n=t.getPosition(),i=LA._moveWordPartRight(e,n);return new fn(n.lineNumber,n.column,i.lineNumber,i.column)}static _createWordAtPosition(e,t,n){const i=new fn(t,n.start+1,t,n.end+1);return{word:e.getValueInRange(i),startColumn:i.startColumn,endColumn:i.endColumn}}static getWordAtPosition(e,t,n){const i=Ub(t),o=LA._findPreviousWordOnLine(i,e,n);if(o&&1===o.wordType&&o.start<=n.column-1&&n.column-1<=o.end)return LA._createWordAtPosition(e,n.lineNumber,o);const r=LA._findNextWordOnLine(i,e,n);return r&&1===r.wordType&&r.start<=n.column-1&&n.column-1<=r.end?LA._createWordAtPosition(e,n.lineNumber,r):null}static word(e,t,n,i,o){const r=Ub(e.wordSeparators);let s,a,l=LA._findPreviousWordOnLine(r,t,o),c=LA._findNextWordOnLine(r,t,o);if(!i){let e,n;return l&&1===l.wordType&&l.start<=o.column-1&&o.column-1<=l.end?(e=l.start+1,n=l.end+1):c&&1===c.wordType&&c.start<=o.column-1&&o.column-1<=c.end?(e=c.start+1,n=c.end+1):(e=l?l.end+1:1,n=c?c.start+1:t.getLineMaxColumn(o.lineNumber)),new gy(new fn(o.lineNumber,e,o.lineNumber,n),0,new pn(o.lineNumber,n),0)}l&&1===l.wordType&&l.start<o.column-1&&o.column-1<l.end?(s=l.start+1,a=l.end+1):c&&1===c.wordType&&c.start<o.column-1&&o.column-1<c.end?(s=c.start+1,a=c.end+1):(s=o.column,a=o.column);let h,u=o.lineNumber;if(n.selectionStart.containsPosition(o))h=n.selectionStart.endColumn;else if(o.isBeforeOrEqual(n.selectionStart.getStartPosition())){h=s;let e=new pn(u,h);n.selectionStart.containsPosition(e)&&(h=n.selectionStart.endColumn)}else{h=a;let e=new pn(u,h);n.selectionStart.containsPosition(e)&&(h=n.selectionStart.startColumn)}return n.move(!0,u,h,0)}}class BA{static addCursorDown(e,t,n){let i=[],o=0;for(let r=0,s=t.length;r<s;r++){const s=t[r];i[o++]=new yy(s.modelState,s.viewState),i[o++]=n?yy.fromModelState(MA.translateDown(e.cursorConfig,e.model,s.modelState)):yy.fromViewState(MA.translateDown(e.cursorConfig,e,s.viewState))}return i}static addCursorUp(e,t,n){let i=[],o=0;for(let r=0,s=t.length;r<s;r++){const s=t[r];i[o++]=new yy(s.modelState,s.viewState),i[o++]=n?yy.fromModelState(MA.translateUp(e.cursorConfig,e.model,s.modelState)):yy.fromViewState(MA.translateUp(e.cursorConfig,e,s.viewState))}return i}static moveToBeginningOfLine(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=this._moveToLineStart(e,r,n)}return i}static _moveToLineStart(e,t,n){const i=t.viewState.position.column,o=t.modelState.position.column,r=i===o,s=t.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(s),l=i===a;return r||l?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)}static _moveToLineStartByView(e,t,n){return yy.fromViewState(MA.moveToBeginningOfLine(e.cursorConfig,e,t.viewState,n))}static _moveToLineStartByModel(e,t,n){return yy.fromModelState(MA.moveToBeginningOfLine(e.cursorConfig,e.model,t.modelState,n))}static moveToEndOfLine(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=this._moveToLineEnd(e,s,n,i)}return o}static _moveToLineEnd(e,t,n,i){const o=t.viewState.position,r=e.getLineMaxColumn(o.lineNumber),s=o.column===r,a=t.modelState.position,l=e.model.getLineMaxColumn(a.lineNumber),c=r-o.column===l-a.column;return s||c?this._moveToLineEndByModel(e,t,n,i):this._moveToLineEndByView(e,t,n,i)}static _moveToLineEndByView(e,t,n,i){return yy.fromViewState(MA.moveToEndOfLine(e.cursorConfig,e,t.viewState,n,i))}static _moveToLineEndByModel(e,t,n,i){return yy.fromModelState(MA.moveToEndOfLine(e.cursorConfig,e.model,t.modelState,n,i))}static expandLineSelection(e,t){let n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],r=o.modelState.selection.startLineNumber,s=e.model.getLineCount();let a,l=o.modelState.selection.endLineNumber;l===s?a=e.model.getLineMaxColumn(s):(l++,a=1),n[i]=yy.fromModelState(new gy(new fn(r,1,r,1),0,new pn(l,a),0))}return n}static moveToBeginningOfBuffer(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=yy.fromModelState(MA.moveToBeginningOfBuffer(e.cursorConfig,e.model,r.modelState,n))}return i}static moveToEndOfBuffer(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o];i[o]=yy.fromModelState(MA.moveToEndOfBuffer(e.cursorConfig,e.model,r.modelState,n))}return i}static selectAll(e,t){const n=e.model.getLineCount(),i=e.model.getLineMaxColumn(n);return yy.fromModelState(new gy(new fn(1,1,1,1),0,new pn(n,i),0))}static line(e,t,n,i,o){const r=e.model.validatePosition(i),s=o?e.coordinatesConverter.validateViewPosition(new pn(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);if(!n||!t.modelState.hasSelection()){const t=e.model.getLineCount();let n=r.lineNumber+1,i=1;return n>t&&(n=t,i=e.model.getLineMaxColumn(n)),yy.fromModelState(new gy(new fn(r.lineNumber,1,n,i),0,new pn(n,i),0))}const a=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<a)return yy.fromViewState(t.viewState.move(t.modelState.hasSelection(),s.lineNumber,1,0));if(r.lineNumber>a){const n=e.getLineCount();let i=s.lineNumber+1,o=1;return i>n&&(i=n,o=e.getLineMaxColumn(i)),yy.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,o,0))}{const e=t.modelState.selectionStart.getEndPosition();return yy.fromModelState(t.modelState.move(t.modelState.hasSelection(),e.lineNumber,e.column,0))}}static word(e,t,n,i){const o=e.model.validatePosition(i);return yy.fromModelState(LA.word(e.cursorConfig,e.model,t.modelState,n,o))}static cancelSelection(e,t){if(!t.modelState.hasSelection())return new yy(t.modelState,t.viewState);const n=t.viewState.position.lineNumber,i=t.viewState.position.column;return yy.fromViewState(new gy(new fn(n,i,n,i),0,new pn(n,i),0))}static moveTo(e,t,n,i,o){const r=e.model.validatePosition(i),s=o?e.coordinatesConverter.validateViewPosition(new pn(o.lineNumber,o.column),r):e.coordinatesConverter.convertModelPositionToViewPosition(r);return yy.fromViewState(t.viewState.move(n,s.lineNumber,s.column,0))}static simpleMove(e,t,n,i,o,r){switch(n){case 0:return 4===r?this._moveHalfLineLeft(e,t,i):this._moveLeft(e,t,i,o);case 1:return 4===r?this._moveHalfLineRight(e,t,i):this._moveRight(e,t,i,o);case 2:return 2===r?this._moveUpByViewLines(e,t,i,o):this._moveUpByModelLines(e,t,i,o);case 3:return 2===r?this._moveDownByViewLines(e,t,i,o):this._moveDownByModelLines(e,t,i,o);case 4:return this._moveToViewMinColumn(e,t,i);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,i);case 6:return this._moveToViewCenterColumn(e,t,i);case 7:return this._moveToViewMaxColumn(e,t,i);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,i);default:return null}}static viewportMove(e,t,n,i,o){const r=e.getCompletelyVisibleViewRange(),s=e.coordinatesConverter.convertViewRangeToModelRange(r);switch(n){case 9:{const n=this._firstLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 11:{const n=this._lastLineNumberInRange(e.model,s,o),r=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,r)]}case 10:{const n=Math.round((s.startLineNumber+s.endLineNumber)/2),o=e.model.getLineFirstNonWhitespaceColumn(n);return[this._moveToModelPosition(e,t[0],i,n,o)]}case 12:{let n=[];for(let o=0,s=t.length;o<s;o++){const s=t[o];n[o]=this.findPositionInViewportIfOutside(e,s,r,i)}return n}default:return null}}static findPositionInViewportIfOutside(e,t,n,i){let o=t.viewState.position.lineNumber;if(n.startLineNumber<=o&&o<=n.endLineNumber-1)return new yy(t.modelState,t.viewState);{o>n.endLineNumber-1&&(o=n.endLineNumber-1),o<n.startLineNumber&&(o=n.startLineNumber);const r=e.getLineFirstNonWhitespaceColumn(o);return this._moveToViewPosition(e,t,i,o,r)}}static _firstLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.min(t.endLineNumber,i+n-1)}static _lastLineNumberInRange(e,t,n){let i=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(i)&&i++,Math.max(i,t.endLineNumber-n+1)}static _moveLeft(e,t,n,i){const o=t.length>1;let r=[];for(let s=0,a=t.length;s<a;s++){const a=t[s],l=o||!a.viewState.hasSelection();let c=MA.moveLeft(e.cursorConfig,e,a.viewState,n,i);if(l&&1===i&&c.position.lineNumber!==a.viewState.position.lineNumber){const t=e.coordinatesConverter.convertViewPositionToModelPosition(c.position);t.lineNumber===a.modelState.position.lineNumber&&(c=MA.moveLeft(e.cursorConfig,e,c,n,1))}r[s]=yy.fromViewState(c)}return r}static _moveHalfLineLeft(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=Math.round(e.getLineContent(s).length/2);i[o]=yy.fromViewState(MA.moveLeft(e.cursorConfig,e,r.viewState,n,a))}return i}static _moveRight(e,t,n,i){const o=t.length>1;let r=[];for(let s=0,a=t.length;s<a;s++){const a=t[s],l=o||!a.viewState.hasSelection();let c=MA.moveRight(e.cursorConfig,e,a.viewState,n,i);if(l&&1===i&&c.position.lineNumber!==a.viewState.position.lineNumber){const t=e.coordinatesConverter.convertViewPositionToModelPosition(c.position);t.lineNumber===a.modelState.position.lineNumber&&(c=MA.moveRight(e.cursorConfig,e,c,n,1))}r[s]=yy.fromViewState(c)}return r}static _moveHalfLineRight(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=Math.round(e.getLineContent(s).length/2);i[o]=yy.fromViewState(MA.moveRight(e.cursorConfig,e,r.viewState,n,a))}return i}static _moveDownByViewLines(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=yy.fromViewState(MA.moveDown(e.cursorConfig,e,s.viewState,n,i))}return o}static _moveDownByModelLines(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=yy.fromModelState(MA.moveDown(e.cursorConfig,e.model,s.modelState,n,i))}return o}static _moveUpByViewLines(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=yy.fromViewState(MA.moveUp(e.cursorConfig,e,s.viewState,n,i))}return o}static _moveUpByModelLines(e,t,n,i){let o=[];for(let r=0,s=t.length;r<s;r++){const s=t[r];o[r]=yy.fromModelState(MA.moveUp(e.cursorConfig,e.model,s.modelState,n,i))}return o}static _moveToViewPosition(e,t,n,i,o){return yy.fromViewState(t.viewState.move(n,i,o,0))}static _moveToModelPosition(e,t,n,i,o){return yy.fromModelState(t.modelState.move(n,i,o,0))}static _moveToViewMinColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMinColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewFirstNonWhitespaceColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineFirstNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewCenterColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=Math.round((e.getLineMaxColumn(s)+e.getLineMinColumn(s))/2);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewMaxColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineMaxColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}static _moveToViewLastNonWhitespaceColumn(e,t,n){let i=[];for(let o=0,r=t.length;o<r;o++){const r=t[o],s=r.viewState.position.lineNumber,a=e.getLineLastNonWhitespaceColumn(s);i[o]=this._moveToViewPosition(e,r,n,s,a)}return i}}var IA;(function(e){const t=function(e){if(!Kr(e))return!1;let t=e;return!!Gr(t.to)&&(!(!Xr(t.select)&&!Jr(t.select))&&(!(!Xr(t.by)&&!Gr(t.by))&&!(!Xr(t.value)&&!qr(t.value))))};function n(t){if(!t.to)return null;let n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.WrappedLineStart:n=4;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=5;break;case e.RawDirection.WrappedLineColumnCenter:n=6;break;case e.RawDirection.WrappedLineEnd:n=7;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=8;break;case e.RawDirection.ViewPortTop:n=9;break;case e.RawDirection.ViewPortBottom:n=11;break;case e.RawDirection.ViewPortCenter:n=10;break;case e.RawDirection.ViewPortIfOutside:n=12;break;default:return null}let i=0;switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Character:i=3;break;case e.RawUnit.HalfLine:i=4;break}return{direction:n,unit:i,select:!!t.select,value:t.value||1}}e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:t,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=n})(IA||(IA={}));const TA=Object.create(null);function OA(e,t){TA[e]||(TA[e]=["",e]);const n=TA[e];for(let i=n.length;i<=t;i++)n[i]=n[i-1]+e;return n[t]}class RA{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,n,i,o){const r=_y.visibleColumnFromColumn(e,t,n);if(o){const e=OA(" ",i),t=_y.prevIndentTabStop(r,i),n=t/i;return OA(e,n)}{const e="\t",t=_y.prevRenderTabStop(r,n),i=t/n;return OA(e,i)}}static shiftIndent(e,t,n,i,o){const r=_y.visibleColumnFromColumn(e,t,n);if(o){const e=OA(" ",i),t=_y.nextIndentTabStop(r,i),n=t/i;return OA(e,n)}{const e="\t",t=_y.nextRenderTabStop(r,n),i=t/n;return OA(e,i)}}_addEditOperation(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)}getEditOperations(e,t){const n=this._selection.startLineNumber;let i=this._selection.endLineNumber;1===this._selection.endColumn&&n!==i&&(i-=1);const{tabSize:o,indentSize:r,insertSpaces:s}=this._opts,a=n===i;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0);let l=0,c=0;for(let h=n;h<=i;h++,l=c){c=0;let i,u=e.getLineContent(h),d=Rr["u"](u);if((!this._opts.isUnshift||0!==u.length&&0!==d)&&(a||this._opts.isUnshift||0!==u.length)){if(-1===d&&(d=u.length),h>1){let t=_y.visibleColumnFromColumn(u,d+1,o);if(t%r!==0&&e.isCheapToTokenize(h-1)){let t=oh.getEnterAction(this._opts.autoIndent,e,new fn(h-1,e.getLineMaxColumn(h-1),h-1,e.getLineMaxColumn(h-1)));if(t){if(c=l,t.appendText)for(let e=0,n=t.appendText.length;e<n&&c<r;e++){if(32!==t.appendText.charCodeAt(e))break;c++}t.removeText&&(c=Math.max(0,c-t.removeText));for(let e=0;e<c;e++){if(0===d||32!==u.charCodeAt(d-1))break;d--}}}}this._opts.isUnshift&&0===d||(i=this._opts.isUnshift?RA.unshiftIndent(u,d+1,o,r,s):RA.shiftIndent(u,d+1,o,r,s),this._addEditOperation(t,new fn(h,1,h,d+1),i),h!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=d+1))}}}else{!this._opts.isUnshift&&this._selection.isEmpty()&&0===e.getLineLength(n)&&(this._useLastEditRangeForCursorEndPosition=!0);const o=s?OA(" ",r):"\t";for(let s=n;s<=i;s++){const i=e.getLineContent(s);let l=Rr["u"](i);if((!this._opts.isUnshift||0!==i.length&&0!==l)&&((a||this._opts.isUnshift||0!==i.length)&&(-1===l&&(l=i.length),!this._opts.isUnshift||0!==l)))if(this._opts.isUnshift){l=Math.min(l,r);for(let e=0;e<l;e++){const t=i.charCodeAt(e);if(9===t){l=e+1;break}}this._addEditOperation(t,new fn(s,1,s,l+1),"")}else this._addEditOperation(t,new fn(s,1,s,1),o),s!==n||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){if(this._useLastEditRangeForCursorEndPosition){let e=t.getInverseEditOperations()[0];return new gn(e.range.endLineNumber,e.range.endColumn,e.range.endLineNumber,e.range.endColumn)}const n=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){let e=this._selection.startColumn,t=n.startColumn;return t<=e?n:0===n.getDirection()?new gn(n.startLineNumber,e,n.endLineNumber,n.endColumn):new gn(n.endLineNumber,n.endColumn,n.startLineNumber,e)}return n}}class PA{constructor(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}getEditOperations(e,t){t.addTrackedEditOperation(new fn(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new fn(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new gn(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)}}class FA{static indent(e,t,n){if(null===t||null===n)return[];let i=[];for(let o=0,r=n.length;o<r;o++)i[o]=new RA(n[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static outdent(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++)i[o]=new RA(n[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return i}static shiftIndent(e,t,n){return n=n||1,RA.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static unshiftIndent(e,t,n){return n=n||1,RA.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)}static _distributedPaste(e,t,n,i){let o=[];for(let r=0,s=n.length;r<s;r++)o[r]=new EA(n[r],i[r]);return new wy(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _simplePaste(e,t,n,i,o){let r=[];for(let s=0,a=n.length;s<a;s++){const e=n[s];let t=e.getPosition();if(o&&!e.isEmpty()&&(o=!1),o&&i.indexOf("\n")!==i.length-1&&(o=!1),o){let n=new fn(t.lineNumber,1,t.lineNumber,1);r[s]=new DA(n,i,e,!0)}else r[s]=new EA(e,i)}return new wy(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _distributePasteToCursors(e,t,n,i,o){if(i)return null;if(1===t.length)return null;if(o&&o.length===t.length)return o;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));let e=n.split(/\r\n|\r|\n/);if(e.length===t.length)return e}return null}static paste(e,t,n,i,o,r){const s=this._distributePasteToCursors(e,n,i,o,r);return s?(n=n.sort(fn.compareRangesUsingStarts),this._distributedPaste(e,t,n,s)):this._simplePaste(e,t,n,i,o)}static _goodIndentForLine(e,t,n){let i=null,o="";const r=oh.getInheritIndentForLine(e.autoIndent,t,n,!1);if(r)i=r.action,o=r.indentation;else if(n>1){let i;for(i=n-1;i>=1;i--){const e=t.getLineContent(i),n=Rr["H"](e);if(n>=0)break}if(i<1)return null;const r=t.getLineMaxColumn(i),s=oh.getEnterAction(e.autoIndent,t,new fn(i,r,i,r));s&&(o=s.indentation+s.appendText)}return i&&(i===Cc.Indent&&(o=FA.shiftIndent(e,o)),i===Cc.Outdent&&(o=FA.unshiftIndent(e,o)),o=e.normalizeIndentation(o)),o||null}static _replaceJumpToNextIndent(e,t,n,i){let o="",r=n.getStartPosition();if(e.insertSpaces){let n=_y.visibleColumnFromColumn2(e,t,r),i=e.indentSize,s=i-n%i;for(let e=0;e<s;e++)o+=" "}else o="\t";return new EA(n,o,i)}static tab(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o];if(r.isEmpty()){let n=t.getLineContent(r.startLineNumber);if(/^\s*$/.test(n)&&t.isCheapToTokenize(r.startLineNumber)){let s=this._goodIndentForLine(e,t,r.startLineNumber);s=s||"\t";let a=e.normalizeIndentation(s);if(!Rr["P"](n,a)){i[o]=new EA(new fn(r.startLineNumber,1,r.startLineNumber,n.length+1),a,!0);continue}}i[o]=this._replaceJumpToNextIndent(e,t,r,!0)}else{if(r.startLineNumber===r.endLineNumber){let n=t.getLineMaxColumn(r.startLineNumber);if(1!==r.startColumn||r.endColumn!==n){i[o]=this._replaceJumpToNextIndent(e,t,r,!1);continue}}i[o]=new RA(r,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return i}static replacePreviousChar(e,t,n,i,o,r){let s=[];for(let a=0,l=i.length;a<l;a++){const e=i[a];if(!e.isEmpty()){s[a]=null;continue}const t=e.getPosition(),l=Math.max(1,t.column-r),c=new fn(t.lineNumber,l,t.lineNumber,t.column),h=n.getValueInRange(c);h!==o?s[a]=new EA(c,o):s[a]=null}return new wy(1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _typeCommand(e,t,n){return n?new xA(e,t,!0):new EA(e,t,!0)}static _enter(e,t,n,i){if(0===e.autoIndent)return FA._typeCommand(i,"\n",n);if(!t.isCheapToTokenize(i.getStartPosition().lineNumber)||1===e.autoIndent){let o=t.getLineContent(i.startLineNumber),r=Rr["x"](o).substring(0,i.startColumn-1);return FA._typeCommand(i,"\n"+e.normalizeIndentation(r),n)}const o=oh.getEnterAction(e.autoIndent,t,i);if(o){if(o.indentAction===Cc.None)return FA._typeCommand(i,"\n"+e.normalizeIndentation(o.indentation+o.appendText),n);if(o.indentAction===Cc.Indent)return FA._typeCommand(i,"\n"+e.normalizeIndentation(o.indentation+o.appendText),n);if(o.indentAction===Cc.IndentOutdent){const t=e.normalizeIndentation(o.indentation),r=e.normalizeIndentation(o.indentation+o.appendText),s="\n"+r+"\n"+t;return n?new xA(i,s,!0):new SA(i,s,-1,r.length-t.length,!0)}if(o.indentAction===Cc.Outdent){const t=FA.unshiftIndent(e,o.indentation);return FA._typeCommand(i,"\n"+e.normalizeIndentation(t+o.appendText),n)}}const r=t.getLineContent(i.startLineNumber),s=Rr["x"](r).substring(0,i.startColumn-1);if(e.autoIndent>=4){const o=oh.getIndentForEnter(e.autoIndent,t,i,{unshiftIndent:t=>FA.unshiftIndent(e,t),shiftIndent:t=>FA.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(o){let a=_y.visibleColumnFromColumn2(e,t,i.getEndPosition());const l=i.endColumn;let c="\n";s!==e.normalizeIndentation(o.beforeEnter)&&(c=e.normalizeIndentation(o.beforeEnter)+r.substring(s.length,i.startColumn-1)+"\n",i=new fn(i.startLineNumber,1,i.endLineNumber,i.endColumn));const h=t.getLineContent(i.endLineNumber),u=Rr["u"](h);if(i=u>=0?i.setEndPosition(i.endLineNumber,Math.max(i.endColumn,u+1)):i.setEndPosition(i.endLineNumber,t.getLineMaxColumn(i.endLineNumber)),n)return new xA(i,c+e.normalizeIndentation(o.afterEnter),!0);{let t=0;return l<=u+1&&(e.insertSpaces||(a=Math.ceil(a/e.indentSize)),t=Math.min(a+1-e.normalizeIndentation(o.afterEnter).length-1,0)),new SA(i,c+e.normalizeIndentation(o.afterEnter),0,t,!0)}}}return FA._typeCommand(i,"\n"+e.normalizeIndentation(s),n)}static _isAutoIndentType(e,t,n){if(e.autoIndent<4)return!1;for(let i=0,o=n.length;i<o;i++)if(!t.isCheapToTokenize(n[i].getEndPosition().lineNumber))return!1;return!0}static _runAutoIndentType(e,t,n,i){const o=oh.getIndentationAtPosition(t,n.startLineNumber,n.startColumn),r=oh.getIndentActionForType(e.autoIndent,t,n,i,{shiftIndent:t=>FA.shiftIndent(e,t),unshiftIndent:t=>FA.unshiftIndent(e,t)});if(null===r)return null;if(r!==e.normalizeIndentation(o)){const o=t.getLineFirstNonWhitespaceColumn(n.startLineNumber);return 0===o?FA._typeCommand(new fn(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+i,!1):FA._typeCommand(new fn(n.startLineNumber,0,n.endLineNumber,n.endColumn),e.normalizeIndentation(r)+t.getLineContent(n.startLineNumber).substring(o-1,n.startColumn-1)+i,!1)}return null}static _isAutoClosingOvertype(e,t,n,i,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(o))return!1;for(let r=0,s=n.length;r<s;r++){const s=n[r];if(!s.isEmpty())return!1;const a=s.getPosition(),l=t.getLineContent(a.lineNumber),c=l.charAt(a.column-1);if(c!==o)return!1;const h=Ay(o),u=a.column>2?l.charCodeAt(a.column-2):0;if(92===u&&h)return!1;if("auto"===e.autoClosingOvertype){let e=!1;for(let t=0,n=i.length;t<n;t++){const n=i[t];if(a.lineNumber===n.startLineNumber&&a.column===n.startColumn){e=!0;break}}if(!e)return!1}}return!0}static _runAutoClosingOvertype(e,t,n,i,o){let r=[];for(let s=0,a=i.length;s<a;s++){const e=i[s],t=e.getPosition(),n=new fn(t.lineNumber,t.column,t.lineNumber,t.column+1);r[s]=new EA(n,o)}return new wy(1,r,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static _autoClosingPairIsSymmetric(e){const{open:t,close:n}=e;return t.indexOf(n)>=0||n.indexOf(t)>=0}static _isBeforeClosingBrace(e,t,n){const i=e.autoClosingPairsClose2.get(n);if(!i)return!1;const o=FA._autoClosingPairIsSymmetric(t);for(const r of i){const e=FA._autoClosingPairIsSymmetric(r);if(o||!e)return!0}return!1}static _findAutoClosingPairOpen(e,t,n,i){const o=e.autoClosingPairsOpen2.get(i);if(!o)return null;let r=null;for(const s of o)if(null===r||s.open.length>r.open.length){let e=!0;for(const o of n){const n=t.getValueInRange(new fn(o.lineNumber,o.column-s.open.length+1,o.lineNumber,o.column));if(n+i!==s.open){e=!1;break}}e&&(r=s)}return r}static _isAutoClosingOpenCharType(e,t,n,i,o){const r=Ay(i),s=r?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===s)return null;const a=this._findAutoClosingPairOpen(e,t,n.map(e=>e.getPosition()),i);if(!a)return null;const l=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;for(let h=0,u=n.length;h<u;h++){const i=n[h];if(!i.isEmpty())return null;const u=i.getPosition(),d=t.getLineContent(u.lineNumber);if(d.length>u.column-1){const t=d.charAt(u.column-1),n=FA._isBeforeClosingBrace(e,a,t);if(!n&&!l(t))return null}if(!t.isCheapToTokenize(u.lineNumber))return null;if(1===a.open.length&&r&&"always"!==s){const t=Ub(e.wordSeparators);if(o&&u.column>1&&0===t.get(d.charCodeAt(u.column-2)))return null;if(!o&&u.column>2&&0===t.get(d.charCodeAt(u.column-3)))return null}t.forceTokenization(u.lineNumber);const p=t.getLineTokens(u.lineNumber);let f=!1;try{f=oh.shouldAutoClosePair(a,p,o?u.column:u.column-1)}catch(c){Me(c)}if(!f)return null}return a}static _runAutoClosingOpenCharType(e,t,n,i,o,r,s){let a=[];for(let l=0,c=i.length;l<c;l++){const e=i[l];a[l]=new jA(e,o,r,s.close)}return new wy(1,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}static _shouldSurroundChar(e,t){return Ay(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround}static _isSurroundSelectionType(e,t,n,i){if(!FA._shouldSurroundChar(e,i)||!e.surroundingPairs.hasOwnProperty(i))return!1;const o=Ay(i);for(let r=0,s=n.length;r<s;r++){const e=n[r];if(e.isEmpty())return!1;let i=!0;for(let n=e.startLineNumber;n<=e.endLineNumber;n++){const o=t.getLineContent(n),r=n===e.startLineNumber?e.startColumn-1:0,s=n===e.endLineNumber?e.endColumn-1:o.length,a=o.substring(r,s);if(/[^ \t]/.test(a)){i=!1;break}}if(i)return!1;if(o&&e.startLineNumber===e.endLineNumber&&e.startColumn+1===e.endColumn){const n=t.getValueInRange(e);if(Ay(n))return!1}}return!0}static _runSurroundSelectionType(e,t,n,i,o){let r=[];for(let s=0,a=i.length;s<a;s++){const e=i[s],n=t.surroundingPairs[o];r[s]=new PA(e,o,n)}return new wy(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}static _isTypeInterceptorElectricChar(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))}static _typeInterceptorElectricChar(e,t,n,i,o){if(!t.electricChars.hasOwnProperty(o)||!i.isEmpty())return null;let r=i.getPosition();n.forceTokenization(r.lineNumber);let s,a=n.getLineTokens(r.lineNumber);try{s=oh.onElectricCharacter(o,a,r.column)}catch(l){return Me(l),null}if(!s)return null;if(s.matchOpenBracket){let e=(a.getLineContent()+o).lastIndexOf(s.matchOpenBracket)+1,i=n.findMatchingBracketUp(s.matchOpenBracket,{lineNumber:r.lineNumber,column:e});if(i){if(i.startLineNumber===r.lineNumber)return null;let e=n.getLineContent(i.startLineNumber),s=Rr["x"](e),a=t.normalizeIndentation(s),l=n.getLineContent(r.lineNumber),c=n.getLineFirstNonWhitespaceColumn(r.lineNumber)||r.column,h=l.substring(c-1,r.column-1),u=a+h+o,d=new fn(r.lineNumber,1,r.lineNumber,r.column);const p=new EA(d,u);return new wy(1,[p],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null}static compositionEndWithInterceptors(e,t,n,i,o,r){if(!i||gn.selectionsArrEqual(i,o))return null;let s=null;for(const l of o){if(!l.isEmpty())return null;const e=l.getPosition(),t=n.getValueInRange(new fn(e.lineNumber,e.column-1,e.lineNumber,e.column));if(null===s)s=t;else if(s!==t)return null}if(!s)return null;if(this._isAutoClosingOvertype(t,n,o,r,s)){const e=o.map(e=>new EA(new fn(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1));return new wy(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}const a=this._isAutoClosingOpenCharType(t,n,o,s,!1);return a?this._runAutoClosingOpenCharType(e,t,n,o,s,!1,a):null}static typeWithInterceptors(e,t,n,i,o,r,s){if(!e&&"\n"===s){let e=[];for(let t=0,r=o.length;t<r;t++)e[t]=FA._enter(n,i,!1,o[t]);return new wy(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoIndentType(n,i,o)){let e=[],t=!1;for(let r=0,a=o.length;r<a;r++)if(e[r]=this._runAutoIndentType(n,i,o[r],s),!e[r]){t=!0;break}if(!t)return new wy(1,e,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(!e&&this._isAutoClosingOvertype(n,i,o,r,s))return this._runAutoClosingOvertype(t,n,i,o,s);if(!e){const e=this._isAutoClosingOpenCharType(n,i,o,s,!0);if(e)return this._runAutoClosingOpenCharType(t,n,i,o,s,!0,e)}if(this._isSurroundSelectionType(n,i,o,s))return this._runSurroundSelectionType(t,n,i,o,s);if(!e&&this._isTypeInterceptorElectricChar(n,i,o)){const e=this._typeInterceptorElectricChar(t,n,i,o[0],s);if(e)return e}let a=[];for(let c=0,h=o.length;c<h;c++)a[c]=new EA(o[c],s);let l=1!==t;return" "===s&&(l=!0),new wy(1,a,{shouldPushStackElementBefore:l,shouldPushStackElementAfter:!1})}static typeWithoutInterceptors(e,t,n,i,o){let r=[];for(let s=0,a=i.length;s<a;s++)r[s]=new EA(i[s],o);return new wy(1,r,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})}static lineInsertBefore(e,t,n){if(null===t||null===n)return[];let i=[];for(let o=0,r=n.length;o<r;o++){let r=n[o].positionLineNumber;if(1===r)i[o]=new xA(new fn(1,1,1,1),"\n");else{r--;let n=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new fn(r,n,r,n))}}return i}static lineInsertAfter(e,t,n){if(null===t||null===n)return[];let i=[];for(let o=0,r=n.length;o<r;o++){const r=n[o].positionLineNumber;let s=t.getLineMaxColumn(r);i[o]=this._enter(e,t,!1,new fn(r,s,r,s))}return i}static lineBreakInsert(e,t,n){let i=[];for(let o=0,r=n.length;o<r;o++)i[o]=this._enter(e,t,!0,n[o]);return i}}class jA extends SA{constructor(e,t,n,i){super(e,(n?t:"")+i,0,-i.length),this._openCharacter=t,this._closeCharacter=i,this.closeCharacterRange=null,this.enclosingRange=null}computeCursorState(e,t){let n=t.getInverseEditOperations(),i=n[0].range;return this.closeCharacterRange=new fn(i.startLineNumber,i.endColumn-this._closeCharacter.length,i.endLineNumber,i.endColumn),this.enclosingRange=new fn(i.startLineNumber,i.endColumn-this._openCharacter.length-this._closeCharacter.length,i.endLineNumber,i.endColumn),super.computeCursorState(e,t)}}var QA;(function(e){e.editorSimpleInput=new hg("editorSimpleInput",!1),e.editorTextFocus=new hg("editorTextFocus",!1),e.focus=new hg("editorFocus",!1),e.textInputFocus=new hg("textInputFocus",!1),e.readOnly=new hg("editorReadonly",!1),e.columnSelection=new hg("editorColumnSelection",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new hg("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new hg("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new hg("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInWalkThroughSnippet=new hg("isInEmbeddedEditor",!1),e.canUndo=new hg("canUndo",!1),e.canRedo=new hg("canRedo",!1),e.hoverVisible=new hg("editorHoverVisible",!1),e.inCompositeEditor=new hg("inCompositeEditor",void 0),e.notInCompositeEditor=e.inCompositeEditor.toNegated(),e.languageId=new hg("editorLangId",""),e.hasCompletionItemProvider=new hg("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new hg("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new hg("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new hg("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new hg("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new hg("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new hg("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new hg("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new hg("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new hg("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new hg("editorHasReferenceProvider",!1),e.hasRenameProvider=new hg("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new hg("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new hg("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new hg("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new hg("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new hg("editorHasMultipleDocumentSelectionFormattingProvider",!1)})(QA||(QA={}));const zA=0;class VA extends Sg{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n||{})}}var WA,HA,UA;(function(e){const t=function(e){if(!Kr(e))return!1;const t=e;return!!Gr(t.to)&&(!(!Xr(t.by)&&!Gr(t.by))&&(!(!Xr(t.value)&&!qr(t.value))&&!(!Xr(t.revealCursor)&&!Jr(t.revealCursor))))};function n(t){let n,i;switch(t.to){case e.RawDirection.Up:n=1;break;case e.RawDirection.Down:n=2;break;default:return null}switch(t.by){case e.RawUnit.Line:i=1;break;case e.RawUnit.WrappedLine:i=2;break;case e.RawUnit.Page:i=3;break;case e.RawUnit.HalfPage:i=4;break;default:i=2}const o=Math.floor(t.value||1),r=!!t.revealCursor;return{direction:n,unit:i,value:o,revealCursor:r,select:!!t.select}}e.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:t,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},e.RawDirection={Up:"up",Down:"down"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},e.parse=n})(WA||(WA={})),function(e){const t=function(e){if(!Kr(e))return!1;const t=e;return!!qr(t.lineNumber)&&!(!Xr(t.at)&&!Gr(t.at))};e.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:t,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},e.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}}(HA||(HA={}));class YA{constructor(e){e.addImplementation(1e4,(e,t)=>{const n=e.get(ri).getFocusedCodeEditor();return!(!n||!n.hasTextFocus())&&(this.runEditorCommand(e,n,t),!0)}),e.addImplementation(1e3,(e,t)=>{const n=document.activeElement;return!!(n&&["input","textarea"].indexOf(n.tagName.toLowerCase())>=0)&&(this.runDOMCommand(),!0)}),e.addImplementation(0,(e,t)=>{const n=e.get(ri).getActiveCodeEditor();return!!n&&(n.focus(),this.runEditorCommand(e,n,t),!0)})}}(function(e){class t extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[BA.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!0)}}e.MoveTo=kg(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=kg(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class n extends VA{runCoreEditorCommand(e,t){e.model.pushStackElement();const n=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,n.viewStates.map(e=>yy.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),n.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}e.ColumnSelect=kg(new class extends n{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,n,i){const o=e.model.validatePosition(i.position),r=e.coordinatesConverter.validateViewPosition(new pn(i.viewPosition.lineNumber,i.viewPosition.column),o);let s=i.doColumnSelect?n.fromViewLineNumber:r.lineNumber,a=i.doColumnSelect?n.fromViewVisualColumn:i.mouseColumn-1;return CA.columnSelect(e.cursorConfig,e,s,a,r.lineNumber,i.mouseColumn-1)}}),e.CursorColumnSelectLeft=kg(new class extends n{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return CA.columnSelectLeft(e.cursorConfig,e,n)}}),e.CursorColumnSelectRight=kg(new class extends n{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,n,i){return CA.columnSelectRight(e.cursorConfig,e,n)}});class i extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return CA.columnSelectUp(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectUp=kg(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=kg(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3595,linux:{primary:0}}}));class o extends n{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,n,i){return CA.columnSelectDown(e.cursorConfig,e,n,this._isPaged)}}e.CursorColumnSelectDown=kg(new o({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=kg(new o({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3596,linux:{primary:0}}}));class r extends VA{constructor(){super({id:"cursorMove",precondition:void 0,description:IA.description})}runCoreEditorCommand(e,t){const n=IA.parse(t);n&&this._runCursorMove(e,t.source,n)}_runCursorMove(e,t,n){e.model.pushStackElement(),e.setCursorStates(t,3,r._move(e,e.getCursorStates(),n)),e.revealPrimaryCursor(t,!0)}static _move(e,t,n){const i=n.select,o=n.value;switch(n.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return BA.simpleMove(e,t,n.direction,i,o,n.unit);case 9:case 11:case 10:case 12:return BA.viewportMove(e,t,n.direction,i,o);default:return null}}}e.CursorMoveImpl=r,e.CursorMove=kg(new r);class s extends VA{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let n=this._staticArgs;-1===this._staticArgs.value&&(n={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.simpleMove(e,e.getCursorStates(),n.direction,n.select,n.value,n.unit)),e.revealPrimaryCursor(t.source,!0)}}e.CursorLeft=kg(new s({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=kg(new s({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1039}})),e.CursorRight=kg(new s({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=kg(new s({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1041}})),e.CursorUp=kg(new s({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=kg(new s({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=kg(new s({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:11}})),e.CursorPageUpSelect=kg(new s({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1035}})),e.CursorDown=kg(new s({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=kg(new s({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=kg(new s({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:12}})),e.CursorPageDownSelect=kg(new s({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1036}})),e.CreateCursor=kg(new class extends VA{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let n;n=t.wholeLine?BA.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):BA.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const i=e.getCursorStates();if(i.length>1){const o=n.modelState?n.modelState.position:null,r=n.viewState?n.viewState.position:null;for(let n=0,s=i.length;n<s;n++){const s=i[n];if((!o||s.modelState.selection.containsPosition(o))&&(!r||s.viewState.selection.containsPosition(r)))return i.splice(n,1),e.model.pushStackElement(),void e.setCursorStates(t.source,3,i)}}i.push(n),e.model.pushStackElement(),e.setCursorStates(t.source,3,i)}}),e.LastCursorMoveToSelect=kg(new class extends VA{constructor(){super({id:"_lastCursorMoveToSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=BA.moveTo(e,i[n],!0,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class a extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.moveToBeginningOfLine(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorHome=kg(new a({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=kg(new a({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}}));class l extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e){const t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n],o=i.modelState.position.lineNumber;t[n]=yy.fromModelState(i.modelState.move(this._inSelectionMode,o,1,0))}return t}}e.CursorLineStart=kg(new l({inSelectionMode:!1,id:"cursorLineStart",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:0,mac:{primary:287}}})),e.CursorLineStartSelect=kg(new l({inSelectionMode:!0,id:"cursorLineStartSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:0,mac:{primary:1311}}}));class c extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.moveToEndOfLine(e,e.getCursorStates(),this._inSelectionMode,t.sticky||!1)),e.revealPrimaryCursor(t.source,!0)}}e.CursorEnd=kg(new c({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{args:{sticky:!1},weight:zA,kbExpr:QA.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}},description:{description:"Go to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:v("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}})),e.CursorEndSelect=kg(new c({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{args:{sticky:!1},weight:zA,kbExpr:QA.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}},description:{description:"Select to End",args:[{name:"args",schema:{type:"object",properties:{sticky:{description:v("stickydesc","Stick to the end even when going to longer lines"),type:"boolean",default:!1}}}}]}}));class h extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,this._exec(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}_exec(e,t){const n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i],r=o.modelState.position.lineNumber,s=e.model.getLineMaxColumn(r);n[i]=yy.fromModelState(o.modelState.move(this._inSelectionMode,r,s,0))}return n}}e.CursorLineEnd=kg(new h({inSelectionMode:!1,id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:0,mac:{primary:291}}})),e.CursorLineEndSelect=kg(new h({inSelectionMode:!0,id:"cursorLineEndSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:0,mac:{primary:1315}}}));class u extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.moveToBeginningOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorTop=kg(new u({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=kg(new u({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3086,mac:{primary:3088}}}));class d extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.moveToEndOfBuffer(e,e.getCursorStates(),this._inSelectionMode)),e.revealPrimaryCursor(t.source,!0)}}e.CursorBottom=kg(new d({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=kg(new d({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:3085,mac:{primary:3090}}}));class p extends VA{constructor(){super({id:"editorScroll",precondition:void 0,description:WA.description})}runCoreEditorCommand(e,t){const n=WA.parse(t);n&&this._runEditorScroll(e,t.source,n)}_runEditorScroll(e,t,n){const i=this._computeDesiredScrollTop(e,n);if(n.revealCursor){const o=e.getCompletelyVisibleViewRangeAtScrollTop(i);e.setCursorStates(t,3,[BA.findPositionInViewportIfOutside(e,e.getPrimaryCursorState(),o,n.select)])}e.setScrollTop(i,0)}_computeDesiredScrollTop(e,t){if(1===t.unit){const n=e.getCompletelyVisibleViewRange(),i=e.coordinatesConverter.convertViewRangeToModelRange(n);let o;o=1===t.direction?Math.max(1,i.startLineNumber-t.value):Math.min(e.model.getLineCount(),i.startLineNumber+t.value);const r=e.coordinatesConverter.convertModelPositionToViewPosition(new pn(o,1));return e.getVerticalOffsetForLineNumber(r.lineNumber)}let n;n=3===t.unit?e.cursorConfig.pageSize*t.value:4===t.unit?Math.round(e.cursorConfig.pageSize/2)*t.value:t.value;const i=(1===t.direction?-1:1)*n;return e.getScrollTop()+i*e.cursorConfig.lineHeight}}e.EditorScrollImpl=p,e.EditorScroll=kg(new p),e.ScrollLineUp=kg(new class extends VA{constructor(){super({id:"scrollLineUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2064,mac:{primary:267}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageUp=kg(new class extends VA{constructor(){super({id:"scrollPageUp",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})}}),e.ScrollLineDown=kg(new class extends VA{constructor(){super({id:"scrollLineDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2066,mac:{primary:268}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})}}),e.ScrollPageDown=kg(new class extends VA{constructor(){super({id:"scrollPageDown",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})}runCoreEditorCommand(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})}});class f extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[BA.word(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position)]),e.revealPrimaryCursor(t.source,!0)}}e.WordSelect=kg(new f({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=kg(new f({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=kg(new class extends VA{constructor(){super({id:"lastCursorWordSelect",precondition:void 0})}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0),r=i[n];o[n]=BA.word(e,r,r.modelState.hasSelection(),t.position),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}});class g extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[BA.line(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!1)}}e.LineSelect=kg(new g({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=kg(new g({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));class m extends VA{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){const n=e.getLastAddedCursorIndex(),i=e.getCursorStates(),o=i.slice(0);o[n]=BA.line(e,i[n],this._inSelectionMode,t.position,t.viewPosition),e.model.pushStackElement(),e.setCursorStates(t.source,3,o)}}e.LastCursorLineSelect=kg(new m({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=kg(new m({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=kg(new class extends VA{constructor(){super({id:"expandLineSelection",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:2090}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,BA.expandLineSelection(e,e.getCursorStates())),e.revealPrimaryCursor(t.source,!0)}}),e.CancelSelection=kg(new class extends VA{constructor(){super({id:"cancelSelection",precondition:QA.hasNonEmptySelection,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[BA.cancelSelection(e,e.getPrimaryCursorState())]),e.revealPrimaryCursor(t.source,!0)}}),e.RemoveSecondaryCursors=kg(new class extends VA{constructor(){super({id:"removeSecondaryCursors",precondition:QA.hasMultipleSelections,kbOpts:{weight:zA+1,kbExpr:QA.textInputFocus,primary:9,secondary:[1033]}})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[e.getPrimaryCursorState()]),e.revealPrimaryCursor(t.source,!0)}}),e.RevealLine=kg(new class extends VA{constructor(){super({id:"revealLine",precondition:void 0,description:HA.description})}runCoreEditorCommand(e,t){const n=t;let i=(n.lineNumber||0)+1;i<1&&(i=1);const o=e.model.getLineCount();i>o&&(i=o);const r=new fn(i,1,i,e.model.getLineMaxColumn(i));let s=0;if(n.at)switch(n.at){case HA.RawAtArgument.Top:s=3;break;case HA.RawAtArgument.Center:s=1;break;case HA.RawAtArgument.Bottom:s=4;break;default:break}const a=e.coordinatesConverter.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,a,s,0)}}),e.SelectAll=new class extends YA{constructor(){super(Pg)}runDOMCommand(){document.execCommand("selectAll")}runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditorCommand(i,n)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[BA.selectAll(e,e.getPrimaryCursorState())])}},e.SetSelection=kg(new class extends VA{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[yy.fromModelSelection(t.selection)])}})})(UA||(UA={}));const GA=Jf.and(QA.textInputFocus,QA.columnSelection);function KA(e,t){Bp.registerKeybindingRule({id:e,primary:t,when:GA,weight:zA+1})}function qA(e){return e.register(),e}var JA;KA(UA.CursorColumnSelectLeft.id,1039),KA(UA.CursorColumnSelectRight.id,1041),KA(UA.CursorColumnSelectUp.id,1040),KA(UA.CursorColumnSelectPageUp.id,1035),KA(UA.CursorColumnSelectDown.id,1042),KA(UA.CursorColumnSelectPageDown.id,1036),function(e){class t extends Sg{runEditorCommand(e,t,n){const i=t._getViewModel();i&&this.runCoreEditingCommand(t,i,n||{})}}e.CoreEditingCommand=t,e.LineBreakInsert=kg(new class extends t{constructor(){super({id:"lineBreakInsert",precondition:QA.writable,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,FA.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),e.Outdent=kg(new class extends t{constructor(){super({id:"outdent",precondition:QA.writable,kbOpts:{weight:zA,kbExpr:Jf.and(QA.editorTextFocus,QA.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,FA.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.Tab=kg(new class extends t{constructor(){super({id:"tab",precondition:QA.writable,kbOpts:{weight:zA,kbExpr:Jf.and(QA.editorTextFocus,QA.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,FA.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),e.DeleteLeft=kg(new class extends t{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,n){const[i,o]=NA.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),e.DeleteRight=kg(new class extends t{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:zA,kbExpr:QA.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,n){const[i,o]=NA.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),e.Undo=new class extends YA{constructor(){super(Og)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().undo()}},e.Redo=new class extends YA{constructor(){super(Rg)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,n){t.hasModel()&&!0!==t.getOption(72)&&t.getModel().redo()}}}(JA||(JA={}));class XA extends Cg{constructor(e,t,n){super({id:e,precondition:void 0,description:n}),this._handlerId=t}runCommand(e,t){const n=e.get(ri).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)}}function $A(e,t){qA(new XA("default:"+e,e)),qA(new XA(e,e,t))}$A("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),$A("replacePreviousChar"),$A("compositionStart"),$A("compositionEnd"),$A("paste"),$A("cut");class ZA{constructor(e,t,n,i){this.configuration=e,this.viewModel=t,this.userInputEvents=n,this.commandDelegate=i}paste(e,t,n,i){this.commandDelegate.paste(e,t,n,i)}type(e){this.commandDelegate.type(e)}replacePreviousChar(e,t){this.commandDelegate.replacePreviousChar(e,t)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){UA.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){const t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new pn(e.lineNumber,t):e}_hasMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey;default:return!1}}_hasNonMulticursorModifier(e){switch(this.configuration.options.get(61)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey;default:return!1}}dispatchMouse(e){const t=this.configuration.options,n=y["d"]&&t.get(88),i=t.get(13);e.middleButton&&!n?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey||i?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)}_usualArgs(e){return e=this._validateViewColumn(e),{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e}}moveTo(e){UA.MoveTo.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_moveToSelect(e){UA.MoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_columnSelect(e,t,n){e=this._validateViewColumn(e),UA.ColumnSelect.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})}_createCursor(e,t){e=this._validateViewColumn(e),UA.CreateCursor.runCoreEditorCommand(this.viewModel,{source:"mouse",position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})}_lastCursorMoveToSelect(e){UA.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelect(e){UA.WordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_wordSelectDrag(e){UA.WordSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorWordSelect(e){UA.LastCursorWordSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelect(e){UA.LineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lineSelectDrag(e){UA.LineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelect(e){UA.LastCursorLineSelect.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_lastCursorLineSelectDrag(e){UA.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel,this._usualArgs(e))}_selectAll(){UA.SelectAll.runCoreEditorCommand(this.viewModel,{source:"mouse"})}_convertViewToModelPosition(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)}emitKeyDown(e){this.userInputEvents.emitKeyDown(e)}emitKeyUp(e){this.userInputEvents.emitKeyUp(e)}emitContextMenu(e){this.userInputEvents.emitContextMenu(e)}emitMouseMove(e){this.userInputEvents.emitMouseMove(e)}emitMouseLeave(e){this.userInputEvents.emitMouseLeave(e)}emitMouseUp(e){this.userInputEvents.emitMouseUp(e)}emitMouseDown(e){this.userInputEvents.emitMouseDown(e)}emitMouseDrag(e){this.userInputEvents.emitMouseDrag(e)}emitMouseDrop(e){this.userInputEvents.emitMouseDrop(e)}emitMouseWheel(e){this.userInputEvents.emitMouseWheel(e)}}class eC{constructor(e){this.onKeyDown=null,this.onKeyUp=null,this.onContextMenu=null,this.onMouseMove=null,this.onMouseLeave=null,this.onMouseDown=null,this.onMouseUp=null,this.onMouseDrag=null,this.onMouseDrop=null,this.onMouseWheel=null,this._coordinatesConverter=e}emitKeyDown(e){this.onKeyDown&&this.onKeyDown(e)}emitKeyUp(e){this.onKeyUp&&this.onKeyUp(e)}emitContextMenu(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))}emitMouseMove(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))}emitMouseLeave(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))}emitMouseDown(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))}emitMouseUp(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))}emitMouseDrag(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))}emitMouseDrop(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))}emitMouseWheel(e){this.onMouseWheel&&this.onMouseWheel(e)}_convertViewToModelMouseEvent(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e}_convertViewToModelMouseTarget(e){return eC.convertViewToModelMouseTarget(e,this._coordinatesConverter)}static convertViewToModelMouseTarget(e,t){return new tC(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)}}class tC{constructor(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}toString(){return Ey.toString(this)}}class nC{constructor(e){this._createLine=e,this._set(1,[])}flush(){this._set(1,[])}_set(e,t){this._lines=t,this._rendLineNumberStart=e}_get(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}}getStartLineNumber(){return this._rendLineNumberStart}getEndLineNumber(){return this._rendLineNumberStart+this._lines.length-1}getCount(){return this._lines.length}getLine(e){const t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]}onLinesDeleted(e,t){if(0===this.getCount())return null;const n=this.getStartLineNumber(),i=this.getEndLineNumber();if(t<n){const n=t-e+1;return this._rendLineNumberStart-=n,null}if(e>i)return null;let o=0,r=0;for(let a=n;a<=i;a++){const n=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===r?(o=n,r=1):r++)}if(e<n){let i=0;i=t<n?t-e+1:n-e,this._rendLineNumberStart-=i}const s=this._lines.splice(o,r);return s}onLinesChanged(e,t){if(0===this.getCount())return!1;const n=this.getStartLineNumber(),i=this.getEndLineNumber();let o=!1;for(let r=e;r<=t;r++)r>=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;const n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o){const t=this._lines.splice(e-this._rendLineNumberStart,o-e+1);return t}const r=[];for(let h=0;h<n;h++)r[h]=this._createLine();const s=e-this._rendLineNumberStart,a=this._lines.slice(0,s),l=this._lines.slice(s,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=a.concat(r).concat(l),c}onTokensChanged(e){if(0===this.getCount())return!1;const t=this.getStartLineNumber(),n=this.getEndLineNumber();let i=!1;for(let o=0,r=e.length;o<r;o++){const r=e[o];if(r.toLineNumber<t||r.fromLineNumber>n)continue;const s=Math.max(t,r.fromLineNumber),a=Math.min(n,r.toLineNumber);for(let e=s;e<=a;e++){const t=e-this._rendLineNumberStart;this._lines[t].onTokensChanged(),i=!0}}return i}}class iC{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new nC(()=>this._host.createVisibleLine())}_createDomNode(){const e=jg(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(117)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,i=t.length;n<i;n++){const e=t[n].getDomNode();e&&this.domNode.domNode.removeChild(e)}return!0}onLinesInserted(e){const t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,i=t.length;n<i;n++){const e=t[n].getDomNode();e&&this.domNode.domNode.removeChild(e)}return!0}onScrollChanged(e){return e.scrollTopChanged}onTokensChanged(e){return this._linesCollection.onTokensChanged(e.ranges)}onZonesChanged(e){return!0}getStartLineNumber(){return this._linesCollection.getStartLineNumber()}getEndLineNumber(){return this._linesCollection.getEndLineNumber()}getVisibleLine(e){return this._linesCollection.getLine(e)}renderLines(e){const t=this._linesCollection._get(),n=new oC(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},o=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(o.rendLineNumberStart,o.lines)}}class oC{constructor(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}render(e,t,n,i){const o={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(o.rendLineNumberStart+o.linesLength-1<t||n<o.rendLineNumberStart){o.rendLineNumberStart=t,o.linesLength=n-t+1,o.lines=[];for(let e=t;e<=n;e++)o.lines[e-t]=this.host.createVisibleLine();return this._finishRendering(o,!0,i),o}if(this._renderUntouchedLines(o,Math.max(t-o.rendLineNumberStart,0),Math.min(n-o.rendLineNumberStart,o.linesLength-1),i,t),o.rendLineNumberStart>t){const e=t,r=Math.min(n,o.rendLineNumberStart-1);e<=r&&(this._insertLinesBefore(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart<t){const e=Math.min(o.linesLength,t-o.rendLineNumberStart);e>0&&(this._removeLinesBefore(o,e),o.linesLength-=e)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1<n){const e=o.rendLineNumberStart+o.linesLength,r=n;e<=r&&(this._insertLinesAfter(o,e,r,i,t),o.linesLength+=r-e+1)}else if(o.rendLineNumberStart+o.linesLength-1>n){const e=Math.max(0,n-o.rendLineNumberStart+1),t=o.linesLength-1,i=t-e+1;i>0&&(this._removeLinesAfter(o,i),o.linesLength-=i)}return this._finishRendering(o,!1,i),o}_renderUntouchedLines(e,t,n,i,o){const r=e.rendLineNumberStart,s=e.lines;for(let a=t;a<=n;a++){const e=r+a;s[a].layoutLine(e,i[e-o])}}_insertLinesBefore(e,t,n,i,o){const r=[];let s=0;for(let a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;n<t;n++){const t=e.lines[n].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(0,t)}_insertLinesAfter(e,t,n,i,o){const r=[];let s=0;for(let a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)}_removeLinesAfter(e,t){const n=e.linesLength-t;for(let i=0;i<t;i++){const t=e.lines[n+i].getDomNode();t&&this.domNode.removeChild(t)}e.lines.splice(n,t)}_finishRenderingNewLines(e,t,n,i){const o=this.domNode.lastChild;t||!o?this.domNode.innerHTML=n:o.insertAdjacentHTML("afterend",n);let r=this.domNode.lastChild;for(let s=e.linesLength-1;s>=0;s--){const t=e.lines[s];i[s]&&(t.setDomNode(r),r=r.previousSibling)}}_finishRenderingInvalidLines(e,t,n){const i=document.createElement("div");i.innerHTML=t;for(let o=0;o<e.linesLength;o++){const t=e.lines[o];if(n[o]){const e=i.firstChild,n=t.getDomNode();n.parentNode.replaceChild(e,n),t.setDomNode(e)}}}_finishRendering(e,t,n){const i=oC._sb,o=e.linesLength,r=e.lines,s=e.rendLineNumberStart,a=[];{i.reset();let l=!1;for(let e=0;e<o;e++){const t=r[e];a[e]=!1;const o=t.getDomNode();if(o)continue;const c=t.renderLine(e+s,n[e],this.viewportData,i);c&&(a[e]=!0,l=!0)}l&&this._finishRenderingNewLines(e,t,i.build(),a)}{i.reset();let t=!1;const l=[];for(let e=0;e<o;e++){const o=r[e];if(l[e]=!1,a[e])continue;const c=o.renderLine(e+s,n[e],this.viewportData,i);c&&(l[e]=!0,t=!0)}t&&this._finishRenderingInvalidLines(e,i.build(),l)}}}oC._sb=Bc(1e5);class rC extends im{constructor(e){super(e),this._visibleLines=new iC(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;e<t;e++){const t=this._dynamicOverlays[e];if(t.shouldRender())return!0}return!1}dispose(){super.dispose();for(let e=0,t=this._dynamicOverlays.length;e<t;e++){const t=this._dynamicOverlays[e];t.dispose()}this._dynamicOverlays=[]}getDomNode(){return this.domNode}createVisibleLine(){return new sC(this._context.configuration,this._dynamicOverlays)}addDynamicOverlay(e){this._dynamicOverlays.push(e)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e);const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){const t=this._visibleLines.getVisibleLine(i);t.onConfigurationChanged(e)}return!0}onFlushed(e){return this._visibleLines.onFlushed(e)}onFocusChanged(e){return this._isFocused=e.isFocused,!0}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onScrollChanged(e){return this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._visibleLines.onZonesChanged(e)}prepareRender(e){const t=this._dynamicOverlays.filter(e=>e.shouldRender());for(let n=0,i=t.length;n<i;n++){const i=t[n];i.prepareRender(e),i.onDidRender()}}render(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)}_viewOverlaysRender(e){this._visibleLines.renderLines(e.viewportData)}}class sC{constructor(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(51),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}getDomNode(){return this._domNode?this._domNode.domNode:null}setDomNode(e){this._domNode=jg(e)}onContentChanged(){}onTokensChanged(){}onConfigurationChanged(e){this._lineHeight=this._configuration.options.get(51)}renderLine(e,t,n,i){let o="";for(let r=0,s=this._dynamicOverlays.length;r<s;r++){const t=this._dynamicOverlays[r];o+=t.render(n.startLineNumber,e)}return this._renderedContent!==o&&(this._renderedContent=o,i.appendASCIIString('<div style="position:absolute;top:'),i.appendASCIIString(String(t)),i.appendASCIIString("px;width:100%;height:"),i.appendASCIIString(String(this._lineHeight)),i.appendASCIIString('px;">'),i.appendASCIIString(o),i.appendASCIIString("</div>"),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class aC extends rC{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._contentWidth=n.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._contentWidth=n.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class lC extends rC{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._contentLeft=n.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),Vf.applyFontInfo(this.domNode,t.get(36))}onConfigurationChanged(e){const t=this._context.configuration.options;Vf.applyFontInfo(this.domNode,t.get(36));const n=t.get(117);return this._contentLeft=n.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e);const t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)}}class cC{constructor(e,t){this.top=e,this.left=t}}class hC extends im{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=jg(document.createElement("div")),om.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=jg(document.createElement("div")),om.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){const t=new uC(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()}setWidgetPosition(e,t,n){const i=this._widgets[e.getId()];i.setPosition(t,n),this.setShouldRender()}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t];delete this._widgets[t];const n=e.domNode.domNode;n.parentNode.removeChild(n),n.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].onBeforeRender(e)}prepareRender(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].prepareRender(e)}render(e){const t=Object.keys(this._widgets);for(const n of t)this._widgets[n].render(e)}}class uC{constructor(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=jg(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const i=this._context.configuration.options,o=i.get(117);this._fixedOverflowWidgets=i.get(30),this._contentWidth=o.contentWidth,this._contentLeft=o.contentLeft,this._lineHeight=i.get(51),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;if(this._lineHeight=t.get(51),e.hasChanged(117)){const e=t.get(117);this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth()}}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(e,t,n,i,o){const r=e.top,s=r,a=t.top+this._lineHeight,l=o.viewportHeight-a,c=r-i,h=s>=i,u=a,d=l>=i;let p=e.left,f=t.left;return p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),f+n>o.scrollLeft+o.viewportWidth&&(f=o.scrollLeft+o.viewportWidth-n),p<o.scrollLeft&&(p=o.scrollLeft),f<o.scrollLeft&&(f=o.scrollLeft),{fitsAbove:h,aboveTop:c,aboveLeft:p,fitsBelow:d,belowTop:u,belowLeft:f}}_layoutHorizontalSegmentInPage(e,t,n,i){const o=Math.max(0,t.left-i),r=Math.min(t.left+t.width+i,e.width);let s=t.left+n-Yo.scrollX;if(s+i>r){const e=s-(r-i);s-=e,n-=e}if(s<o){const e=s-o;s-=e,n-=e}return[n,s]}_layoutBoxInPage(e,t,n,i,o){const r=e.top-i,s=t.top+this._lineHeight,a=Uo(this._viewDomNode.domNode),l=a.top+r-Yo.scrollY,c=a.top+s-Yo.scrollY,h=zo(document.body),[u,d]=this._layoutHorizontalSegmentInPage(h,a,e.left-o.scrollLeft+this._contentLeft,n),[p,f]=this._layoutHorizontalSegmentInPage(h,a,t.left-o.scrollLeft+this._contentLeft,n),g=22,m=22,b=l>=g,v=c+i<=h.height-m;return this._fixedOverflowWidgets?{fitsAbove:b,aboveTop:Math.max(l,g),aboveLeft:d,fitsBelow:v,belowTop:c,belowLeft:f}:{fitsAbove:b,aboveTop:r,aboveLeft:u,fitsBelow:v,belowTop:s,belowLeft:p}}_prepareRenderWidgetAtExactPositionOverflowing(e){return new cC(e.top,e.left+this._contentLeft)}_getTopAndBottomLeft(e){if(!this._viewRange)return[null,null];const t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];let n=t[0],i=t[0];for(const h of t)h.lineNumber<n.lineNumber&&(n=h),h.lineNumber>i.lineNumber&&(i=h);let o=1073741824;for(const h of n.ranges)h.left<o&&(o=h.left);let r=1073741824;for(const h of i.ranges)h.left<r&&(r=h.left);const s=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,a=new cC(s,o),l=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop,c=new cC(l,r);return[a,c]}_prepareRenderWidget(e){const[t,n]=this._getTopAndBottomLeft(e);if(!t||!n)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){const e=this.domNode.domNode;this._cachedDomNodeClientWidth=e.clientWidth,this._cachedDomNodeClientHeight=e.clientHeight}let i;if(i=this.allowEditorOverflow?this._layoutBoxInPage(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(t,n,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(let o=1;o<=2;o++)for(const e of this._preference)if(1===e){if(!i)return null;if(2===o||i.fitsAbove)return new cC(i.aboveTop,i.aboveLeft)}else{if(2!==e)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(t):t;if(!i)return null;if(2===o||i.fitsBelow)return new cC(i.belowTop,i.belowLeft)}return null}onBeforeRender(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))}}n("a2e5");let dC=!0;class pC extends Jy{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[],this._selections=[],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=dC?this._selections.slice(0,1):this._selections,n=t.map(e=>e.positionLineNumber);n.sort((e,t)=>e-t),Ki(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);const i=t.every(e=>e.isEmpty());return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._renderLineHighlight=t.get(77),this._renderLineHightlightOnlyWhenFocus=t.get(78),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHightlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis())return void(this._renderData=null);const t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length;let r=0;const s=[];for(let a=n;a<=i;a++){const e=a-n;while(r<o&&this._cursorLineNumbers[r]<a)r++;r<o&&this._cursorLineNumbers[r]===a?s[e]=t:s[e]=""}this._renderData=s}render(e,t){if(!this._renderData)return"";const n=t-e;return n>=this._renderData.length?"":this._renderData[n]}}class fC extends pC{_renderOne(e){const t="current-line"+(this._shouldRenderOther()?" current-line-both":"");return`<div class="${t}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}class gC extends pC{_renderOne(e){const t="current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"");return`<div class="${t}" style="width:${this._contentLeft}px; height:${this._lineHeight}px;"></div>`}_shouldRenderThis(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHightlightOnlyWhenFocus||this._focused)}}Am((e,t)=>{dC=!1;const n=e.getColor(H_);if(n&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${n}; border: none; }`)),!n||n.isTransparent()||e.defines(U_)){const n=e.getColor(U_);n&&(dC=!0,t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}});n("cc1a");class mC extends Jy{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let a=0,l=t.length;a<l;a++){const e=t[a];e.options.className&&(n[i++]=e)}n=n.sort((e,t)=>{if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;const n=e.options.className,i=t.options.className;return n<i?-1:n>i?1:fn.compareRangesUsingStarts(e.range,t.range)});const o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=[];for(let a=o;a<=r;a++){const e=a-o;s[e]=""}this._renderWholeLineDecorations(e,n,s),this._renderNormalDecorations(e,n,s),this._renderResult=s}_renderWholeLineDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber;for(let s=0,a=t.length;s<a;s++){const e=t[s];if(!e.options.isWholeLine)continue;const a='<div class="cdr '+e.options.className+'" style="left:0;width:100%;height:'+i+'px;"></div>',l=Math.max(e.range.startLineNumber,o),c=Math.min(e.range.endLineNumber,r);for(let t=l;t<=c;t++){const e=t-o;n[e]+=a}}}_renderNormalDecorations(e,t,n){const i=String(this._lineHeight),o=e.visibleRange.startLineNumber;let r=null,s=!1,a=null;for(let l=0,c=t.length;l<c;l++){const c=t[l];if(c.options.isWholeLine)continue;const h=c.options.className,u=Boolean(c.options.showIfCollapsed);let d=c.range;u&&1===d.endColumn&&d.endLineNumber!==d.startLineNumber&&(d=new fn(d.startLineNumber,d.startColumn,d.endLineNumber-1,this._context.model.getLineMaxColumn(d.endLineNumber-1))),r===h&&s===u&&fn.areIntersectingOrTouching(a,d)?a=fn.plusRange(a,d):(null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n),r=h,s=u,a=d)}null!==r&&this._renderNormalDecoration(e,a,r,s,i,o,n)}_renderNormalDecoration(e,t,n,i,o,r,s){const a=e.linesVisibleRangesForRange(t,"findMatch"===n);if(a)for(let l=0,c=a.length;l<c;l++){const e=a[l];if(e.outsideRenderedLine)continue;const t=e.lineNumber-r;if(i&&1===e.ranges.length){const t=e.ranges[0];0===t.width&&(e.ranges[0]=new lm(t.left,this._typicalHalfwidthCharacterWidth))}for(let i=0,r=e.ranges.length;i<r;i++){const r=e.ranges[i],a='<div class="cdr '+n+'" style="left:'+String(r.left)+"px;width:"+String(r.width)+"px;height:"+o+'px;"></div>';s[t]+=a}}}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}n("7043");class bC extends Ge{onclick(e,t){this._register(xo(e,ur.CLICK,e=>t(new Oi(e))))}onmousedown(e,t){this._register(xo(e,ur.MOUSE_DOWN,e=>t(new Oi(e))))}onmouseover(e,t){this._register(xo(e,ur.MOUSE_OVER,e=>t(new Oi(e))))}onnonbubblingmouseout(e,t){this._register(Mo(e,e=>t(new Oi(e))))}onkeydown(e,t){this._register(xo(e,ur.KEY_DOWN,e=>t(new Mi(e))))}onkeyup(e,t){this._register(xo(e,ur.KEY_UP,e=>t(new Mi(e))))}oninput(e,t){this._register(xo(e,ur.INPUT,t))}onblur(e,t){this._register(xo(e,ur.BLUR,t))}onfocus(e,t){this._register(xo(e,ur.FOCUS,t))}ignoreGesture(e){Ug.ignoreTarget(e)}}const vC=11;class yC extends bC{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px","undefined"!==typeof e.top&&(this.bgDomNode.style.top="0px"),"undefined"!==typeof e.left&&(this.bgDomNode.style.left="0px"),"undefined"!==typeof e.bottom&&(this.bgDomNode.style.bottom="0px"),"undefined"!==typeof e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,wo(this.domNode,e.icon.classNames),this.domNode.style.position="absolute",this.domNode.style.width=vC+"px",this.domNode.style.height=vC+"px","undefined"!==typeof e.top&&(this.domNode.style.top=e.top+"px"),"undefined"!==typeof e.left&&(this.domNode.style.left=e.left+"px"),"undefined"!==typeof e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),"undefined"!==typeof e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new Gg),this.onmousedown(this.bgDomNode,e=>this._arrowMouseDown(e)),this.onmousedown(this.domNode,e=>this._arrowMouseDown(e)),this._mousedownRepeatTimer=this._register(new Wi),this._mousedownScheduleRepeatTimer=this._register(new Vi)}_arrowMouseDown(e){let t=()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(t,200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,Yg,e=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}class wC extends Ge{constructor(e,t,n){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=n,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new Vi)}applyVisibilitySetting(e){return 2!==this._visibility&&(3===this._visibility||e)}setShouldBeVisible(e){let t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}const _C=140;class AC extends bC{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new wC(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new Gg),this._shouldRender=!0,this.domNode=jg(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,e=>this._domNodeMouseDown(e))}_createArrow(e){let t=this._register(new yC(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=jg(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"===typeof n&&this.slider.setWidth(n),"number"===typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){let t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&"number"===typeof e.browserEvent.offsetX&&"number"===typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const i=Uo(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,Yg,e=>{const t=this._sliderOrthogonalMousePosition(e),r=Math.abs(t-i);if(y["i"]&&r>_C)return void this._setDesiredScrollPositionNow(o.getScrollPosition());const s=this._sliderMousePosition(e),a=s-n;this._setDesiredScrollPositionNow(o.getDesiredScrollPositionFromDelta(a))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){let t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}}const CC=20;class EC{constructor(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new EC(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){let t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){let t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){let t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=e}static _computeValues(e,t,n,i,o){const r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const l=Math.round(Math.max(CC,Math.floor(n*s/i))),c=(s-l)/(i-n),h=o*c;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(l),computedSliderRatio:c,computedSliderPosition:Math.round(h)}}_refreshComputedValues(){const e=EC._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;let t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromDelta(e){if(!this._computedIsNeeded)return 0;let t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)}}const xC=Cl("scrollbar-button-left",El.triangleLeft),SC=Cl("scrollbar-button-right",El.triangleRight);class DC extends AC{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new EC(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,i.width,i.scrollWidth,o.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e}),t.horizontalHasArrows){let e=(t.arrowSize-vC)/2,n=(t.horizontalScrollbarSize-vC)/2;this._createArrow({className:"scra",icon:xC,top:n,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new Ri(null,1,0))}),this._createArrow({className:"scra",icon:SC,top:n,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new Ri(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}}const kC=Cl("scrollbar-button-up",El.triangleUp),MC=Cl("scrollbar-button-down",El.triangleDown);class NC extends AC{constructor(e,t,n){const i=e.getScrollDimensions(),o=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new EC(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,i.height,i.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e}),t.verticalHasArrows){let e=(t.arrowSize-vC)/2,n=(t.verticalScrollbarSize-vC)/2;this._createArrow({className:"scra",icon:kC,top:e,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new Ri(null,0,1))}),this._createArrow({className:"scra",icon:MC,top:void 0,left:n,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new Ri(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}}class LC{constructor(e,t,n,i,o,r){e|=0,t|=0,n|=0,i|=0,o|=0,r|=0,this.rawScrollLeft=n,this.rawScrollTop=r,e<0&&(e=0),n+e>t&&(n=t-e),n<0&&(n=0),i<0&&(i=0),r+i>o&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new LC("undefined"!==typeof e.width?e.width:this.width,"undefined"!==typeof e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,"undefined"!==typeof e.height?e.height:this.height,"undefined"!==typeof e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new LC(this.width,this.scrollWidth,"undefined"!==typeof e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,"undefined"!==typeof e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e){const t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,i=this.scrollLeft!==e.scrollLeft,o=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,s=this.scrollTop!==e.scrollTop;return{oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:i,heightChanged:o,scrollHeightChanged:r,scrollTopChanged:s}}}class BC extends Ge{constructor(e,t){super(),this._onScroll=this._register(new et),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new LC(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){const n=this._state.withScrollDimensions(e,t);this._setState(n),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)}setScrollPositionSmooth(e){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:"undefined"===typeof e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:"undefined"===typeof e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const t=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===t.scrollLeft&&this._smoothScrolling.to.scrollTop===t.scrollTop)return;const n=this._smoothScrolling.combine(this._state,t,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=n}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=RC.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})):void 0}_setState(e){const t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))}}class IC{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function TC(e,t){const n=t-e;return function(t){return e+n*FC(t)}}function OC(e,t,n){return function(i){return i<n?e(i/n):t((i-n)/(1-n))}}class RC{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,n){const i=Math.abs(e-t);if(i>2.5*n){let i,o;return e<t?(i=e+.75*n,o=t-.75*n):(i=e-.75*n,o=t+.75*n),OC(TC(e,i),TC(o,t),.33)}return TC(e,t)}dispose(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)}acceptScrollDimensions(e){this.to=e.withScrollPosition(this.to),this._initAnimations()}tick(){return this._tick(Date.now())}_tick(e){const t=(e-this._startTime)/this.duration;if(t<1){const e=this.scrollLeft(t),n=this.scrollTop(t);return new IC(e,n,!1)}return new IC(this.to.scrollLeft,this.to.scrollTop,!0)}combine(e,t,n){return RC.start(e,t,n)}static start(e,t,n){n+=10;const i=Date.now()-10;return new RC(e,t,i,n)}}function PC(e){return Math.pow(e,3)}function FC(e){return 1-PC(1-e)}const jC=500,QC=50,zC=!0;class VC{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class WC{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,n=1,i=this._rear;do{const o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}while(1);return t<=.5}accept(e,t,n){const i=new VC(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){const t=Math.abs(Math.round(e)-e);return t<.01}}WC.INSTANCE=new WC;class HC extends bC{constructor(e,t,n){super(),this._onScroll=this._register(new et),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new et),e.style.overflow="hidden",this._options=KC(t),this._scrollable=n,this._register(this._scrollable.onScroll(e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)}));let i={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new NC(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new DC(this._scrollable,this._options,i)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=jg(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=jg(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=jg(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onnonbubblingmouseout(this._listenOnDomNode,e=>this._onMouseOut(e)),this._hideTimeout=this._register(new Vi),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=We(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,y["f"]&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){"undefined"!==typeof e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),"undefined"!==typeof e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),"undefined"!==typeof e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),"undefined"!==typeof e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),"undefined"!==typeof e.horizontalScrollbarSize&&this._horizontalScrollbar.updateScrollbarSize(e.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){let t=this._mouseWheelToDispose.length>0;if(t!==e&&(this._mouseWheelToDispose=We(this._mouseWheelToDispose),e)){let e=e=>{this._onMouseWheel(new Ri(e))};this._mouseWheelToDispose.push(xo(this._listenOnDomNode,ur.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=WC.INSTANCE;if(zC){const n=window.devicePixelRatio/hi();y["i"]||y["d"]?t.accept(Date.now(),e.deltaX/n,e.deltaY/n):t.accept(Date.now(),e.deltaX,e.deltaY)}if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(i)?i=0:n=0),this._options.flipAxes&&([n,i]=[i,n]);const o=!y["f"]&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!o||i||(i=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity);const r=this._scrollable.getFutureScrollPosition();let s={};if(n){const e=r.scrollTop-QC*n;this._verticalScrollbar.writeScrollPosition(s,e)}if(i){const e=r.scrollLeft-QC*i;this._horizontalScrollbar.writeScrollPosition(s,e)}if(s=this._scrollable.validateScrollPosition(s),r.scrollLeft!==s.scrollLeft||r.scrollTop!==s.scrollTop){const e=zC&&this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel();e?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition();let t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(()=>this._hide(),jC)}}class UC extends HC{constructor(e,t){t=t||{},t.mouseWheelSmoothScroll=!1;const n=new BC(0,e=>Bo(e));super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class YC extends HC{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class GC extends UC{constructor(e,t){super(e,t),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}function KC(e){let t={lazyRender:"undefined"!==typeof e.lazyRender&&e.lazyRender,className:"undefined"!==typeof e.className?e.className:"",useShadows:"undefined"===typeof e.useShadows||e.useShadows,handleMouseWheel:"undefined"===typeof e.handleMouseWheel||e.handleMouseWheel,flipAxes:"undefined"!==typeof e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:"undefined"!==typeof e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:"undefined"!==typeof e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:"undefined"!==typeof e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:"undefined"!==typeof e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:"undefined"===typeof e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:"undefined"===typeof e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:"undefined"!==typeof e.arrowSize?e.arrowSize:11,listenOnDomNode:"undefined"!==typeof e.listenOnDomNode?e.listenOnDomNode:null,horizontal:"undefined"!==typeof e.horizontal?e.horizontal:1,horizontalScrollbarSize:"undefined"!==typeof e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:"undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:"undefined"!==typeof e.horizontalHasArrows&&e.horizontalHasArrows,vertical:"undefined"!==typeof e.vertical?e.vertical:1,verticalScrollbarSize:"undefined"!==typeof e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:"undefined"!==typeof e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:"undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize="undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize="undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,y["f"]&&(t.className+=" mac"),t}class qC extends im{constructor(e,t,n,i){super(e);const o=this._context.configuration.options,r=o.get(84),s=o.get(58),a=o.get(28),l=o.get(87),c={listenOnDomNode:n.domNode,className:"editor-scrollable "+vm(e.theme.type),useShadows:!1,lazyRender:!0,vertical:r.vertical,horizontal:r.horizontal,verticalHasArrows:r.verticalHasArrows,horizontalHasArrows:r.horizontalHasArrows,verticalScrollbarSize:r.verticalScrollbarSize,verticalSliderSize:r.verticalSliderSize,horizontalScrollbarSize:r.horizontalScrollbarSize,horizontalSliderSize:r.horizontalSliderSize,handleMouseWheel:r.handleMouseWheel,alwaysConsumeMouseWheel:r.alwaysConsumeMouseWheel,arrowSize:r.arrowSize,mouseWheelScrollSensitivity:s,fastScrollSensitivity:a,scrollPredominantAxis:l};this.scrollbar=this._register(new YC(t.domNode,c,this._context.viewLayout.getScrollable())),om.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=jg(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const h=(e,t,n)=>{const i={};if(t){const t=e.scrollTop;t&&(i.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0)}if(n){const t=e.scrollLeft;t&&(i.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0)}this._context.model.setScrollPosition(i,1)};this._register(xo(n.domNode,"scroll",e=>h(n.domNode,!0,!0))),this._register(xo(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(xo(i.domNode,"scroll",e=>h(i.domNode,!0,!1))),this._register(xo(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options,t=e.get(117);this.scrollbarDomNode.setLeft(t.contentLeft);const n=e.get(56),i=n.side;"right"===i?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(84)||e.hasChanged(58)||e.hasChanged(28)){const e=this._context.configuration.options,t=e.get(84),n=e.get(58),i=e.get(28),o=e.get(87),r={handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:n,fastScrollSensitivity:i,scrollPredominantAxis:o};this.scrollbar.updateOptions(r)}return e.hasChanged(117)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+vm(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}n("df70");class JC{constructor(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}}class XC extends Jy{_render(e,t,n){const i=[];for(let s=e;s<=t;s++){const t=s-e;i[t]=[]}if(0===n.length)return i;n.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1);let o=null,r=0;for(let s=0,a=n.length;s<a;s++){const a=n[s],l=a.className;let c=Math.max(a.startLineNumber,e)-e;const h=Math.min(a.endLineNumber,t)-e;o===l?(c=Math.max(r+1,c),r=Math.max(r,h)):(o=l,r=h);for(let e=c;e<=r;e++)i[e].push(o)}return i}}class $C extends XC{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._glyphMargin=t.get(42),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let o=0,r=t.length;o<r;o++){const e=t[o],r=e.options.glyphMarginClassName;r&&(n[i++]=new JC(e.range.startLineNumber,e.range.endLineNumber,r))}return n}prepareRender(e){if(!this._glyphMargin)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._lineHeight.toString(),r=this._glyphMarginLeft.toString(),s=this._glyphMarginWidth.toString(),a='" style="left:'+r+"px;width:"+s+"px;height:"+o+'px;"></div>',l=[];for(let c=t;c<=n;c++){const e=c-t,n=i[e];0===n.length?l[e]="":l[e]='<div class="cgmr codicon '+n.join(" ")+a}this._renderResult=l}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}n("9c85");class ZC extends Jy{constructor(e){super(),this._context=e,this._primaryLineNumber=0;const t=this._context.configuration.options,n=t.get(118),i=t.get(36);this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(118),i=t.get(36);return this._lineHeight=t.get(51),this._spaceWidth=i.spaceWidth,this._enabled=t.get(75),this._activeIndentEnabled=t.get(45),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){const t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){if(!this._enabled)return void(this._renderResult=null);const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,{indentSize:i}=this._context.model.getTextModelOptions(),o=i*this._spaceWidth,r=e.scrollWidth,s=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,n);let l=0,c=0,h=0;if(this._activeIndentEnabled&&this._primaryLineNumber){const e=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);l=e.startLineNumber,c=e.endLineNumber,h=e.indent}const u=[];for(let d=t;d<=n;d++){const n=l<=d&&d<=c,i=d-t,p=a[i];let f="";if(p>=1){const t=e.visibleRangeForPosition(new pn(d,1));let i=t?t.left:0;for(let e=1;e<=p;e++){const t=n&&e===h?"cigra":"cigr";if(f+=`<div class="${t}" style="left:${i}px;height:${s}px;width:${o}px"></div>`,i+=o,i>r||this._maxIndentLeft>0&&i>this._maxIndentLeft)break}}u[i]=f}this._renderResult=u}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}Am((e,t)=>{const n=e.getColor(Z_);n&&t.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${n} inset; }`);const i=e.getColor(eA)||n;i&&t.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${i} inset; }`)});n("11cb");class eE{constructor(){this._currentVisibleRange=new fn(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class tE{constructor(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r,this.type="range",this.minLineNumber=e,this.maxLineNumber=e}}class nE{constructor(e,t,n,i){this.selections=e,this.startScrollTop=t,this.stopScrollTop=n,this.scrollType=i,this.type="selections";let o=e[0].startLineNumber,r=e[0].endLineNumber;for(let s=1,a=e.length;s<a;s++){const t=e[s];o=Math.min(o,t.startLineNumber),r=Math.max(r,t.endLineNumber)}this.minLineNumber=o,this.maxLineNumber=r}}class iE extends im{constructor(e,t){super(e),this._linesContent=t,this._textRangeRestingSpot=document.createElement("div"),this._visibleLines=new iC(this),this.domNode=this._visibleLines.domNode;const n=this._context.configuration,i=this._context.configuration.options,o=i.get(36),r=i.get(118);this._lineHeight=i.get(51),this._typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this._isViewportWrapping=r.isViewportWrapping,this._revealHorizontalRightPadding=i.get(81),this._cursorSurroundingLines=i.get(20),this._cursorSurroundingLinesStyle=i.get(21),this._canUseLayerHinting=!i.get(23),this._viewLineOptions=new km(n,this._context.theme.type),om.write(this.domNode,7),this.domNode.setClassName("view-lines "+mA),Vf.applyFontInfo(this.domNode,o),this._maxLineWidth=0,this._asyncUpdateLineWidths=new Hi(()=>{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new Hi(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new eE,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new Mm(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(118)&&(this._maxLineWidth=0);const t=this._context.configuration.options,n=t.get(36),i=t.get(118);return this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(81),this._cursorSurroundingLines=t.get(20),this._cursorSurroundingLinesStyle=t.get(21),this._canUseLayerHinting=!t.get(23),Vf.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(117)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){const e=this._context.configuration,t=new km(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;const e=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let t=e;t<=n;t++){const e=this._visibleLines.getVisibleLine(t);e.onOptionsChanged(this._viewLineOptions)}return!0}return!1}onCursorStateChanged(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=!1;for(let o=t;o<=n;o++)i=this._visibleLines.getVisibleLine(o).onSelectionChanged()||i;return i}onDecorationsChanged(e){{const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged()}return!0}onFlushed(e){const t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){const t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.selections,e.verticalType);if(-1===t)return!1;let n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new tE(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):e.selections&&e.selections.length>0&&(this._horizontalRevealRequest=new nE(e.selections,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType)):this._horizontalRevealRequest=null;const i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop),o=i<=this._lineHeight?1:e.scrollType;return this._context.model.setScrollPosition(n,o),!0}onScrollChanged(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){const t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){const n=this._getViewLineDomNode(e);if(null===n)return null;const i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new pn(i,1);const o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(i<o||i>r)return null;let s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t);const a=this._context.model.getLineMinColumn(i);return s<a&&(s=a),new pn(i,s)}_getViewLineDomNode(e){while(e&&1===e.nodeType){if(e.className===Mm.CLASS_NAME)return e;e=e.parentElement}return null}_getLineNumberFor(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();for(let i=t;i<=n;i++){const t=this._visibleLines.getVisibleLine(i);if(e===t.getDomNode())return i}return-1}getLineWidth(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()}linesVisibleRangesForRange(e,t){if(this.shouldRender())return null;const n=e.endLineNumber,i=fn.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;let o=[],r=0;const s=new Dm(this.domNode.domNode,this._textRangeRestingSpot);let a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new pn(i.startLineNumber,1)).lineNumber);const l=this._visibleLines.getStartLineNumber(),c=this._visibleLines.getEndLineNumber();for(let h=i.startLineNumber;h<=i.endLineNumber;h++){if(h<l||h>c)continue;const e=h===i.startLineNumber?i.startColumn:1,u=h===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(h),d=this._visibleLines.getVisibleLine(h).getVisibleRangesForRange(e,u,s);if(d){if(t&&h<n){const e=a;a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new pn(h+1,1)).lineNumber,e!==a&&(d.ranges[d.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}o[r++]=new am(d.outsideRenderedLine,h,d.ranges)}}return 0===r?null:o}_visibleRangesForLineRange(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new Dm(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){const t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new cm(t.outsideRenderedLine,t.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){const t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();let i=1,o=!0;for(let r=t;r<=n;r++){const t=this._visibleLines.getVisibleLine(r);!e||t.getWidthIsFast()?i=Math.max(i,t.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;const n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let o=n;o<=i;o++){const n=this._visibleLines.getVisibleLine(o);if(n.needsMonospaceFontCheck()){const i=n.getWidth();i>t&&(t=i,e=o)}}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let o=n;o<=i;o++){const e=this._visibleLines.getVisibleLine(o);e.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){const t=this._horizontalRevealRequest;if(e.startLineNumber<=t.minLineNumber&&t.maxLineNumber<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();const e=this._computeScrollLeftToReveal(t);e&&(this._isViewportWrapping||this._ensureMaxLineWidth(e.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},t.scrollType))}}if(this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),y["d"]&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){const e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber();for(let n=e;n<=t;n++){const e=this._visibleLines.getVisibleLine(n);if(e.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");const t=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-t),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){const t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.model.setMaxLineWidth(this._maxLineWidth))}_computeScrollTopToRevealRange(e,t,n,i,o){const r=e.top,s=e.height,a=r+s;let l,c,h;if(i&&i.length>0){let e=i[0].startLineNumber,t=i[0].endLineNumber;for(let n=1,o=i.length;n<o;n++){const o=i[n];e=Math.min(e,o.startLineNumber),t=Math.max(t,o.endLineNumber)}l=!1,c=this._context.viewLayout.getVerticalOffsetForLineNumber(e),h=this._context.viewLayout.getVerticalOffsetForLineNumber(t)+this._lineHeight}else{if(!n)return-1;l=!0,c=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),h=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight}const u="mouse"===t&&"default"===this._cursorSurroundingLinesStyle;if(!u){const e=Math.min(s/this._lineHeight/2,this._cursorSurroundingLines);c-=e*this._lineHeight,h+=Math.max(0,e-1)*this._lineHeight}let d;if(0!==o&&4!==o||(h+=this._lineHeight),h-c>s){if(!l)return-1;d=c}else if(5===o||6===o)if(6===o&&r<=c&&h<=a)d=r;else{const e=Math.max(5*this._lineHeight,.2*s),t=c-e,n=h-s;d=Math.max(n,t)}else if(1===o||2===o)if(2===o&&r<=c&&h<=a)d=r;else{const e=(c+h)/2;d=Math.max(0,e-s/2)}else d=this._computeMinimumScrolling(r,a,c,h,3===o,4===o);return d}_computeScrollLeftToReveal(e){const t=this._context.viewLayout.getCurrentViewport(),n=t.left,i=n+t.width;let o=1073741824,r=0;if("range"===e.type){const t=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!t)return null;for(const e of t.ranges)o=Math.min(o,e.left),r=Math.max(r,e.left+e.width)}else for(const a of e.selections){if(a.startLineNumber!==a.endLineNumber)return null;const e=this._visibleRangesForLineRange(a.startLineNumber,a.startColumn,a.endColumn);if(!e)return null;for(const t of e.ranges)o=Math.min(o,t.left),r=Math.max(r,t.left+t.width)}if(o=Math.max(0,o-iE.HORIZONTAL_EXTRA_PX),r+=this._revealHorizontalRightPadding,"selections"===e.type&&r-o>t.width)return null;const s=this._computeMinimumScrolling(n,i,o,r);return{scrollLeft:s,maxHorizontalOffset:r}}_computeMinimumScrolling(e,t,n,i,o,r){e|=0,t|=0,n|=0,i|=0,o=!!o,r=!!r;const s=t-e,a=i-n;return a<s?o?n:r?Math.max(0,i-s):n<e?n:i>t?Math.max(0,i-s):e:n}}iE.HORIZONTAL_EXTRA_PX=30;n("b042");class oE extends XC{constructor(e){super(),this._context=e;const t=this._context.configuration.options,n=t.get(117);this._decorationsLeft=n.decorationsLeft,this._decorationsWidth=n.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._decorationsLeft=n.decorationsLeft,this._decorationsWidth=n.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let o=0,r=t.length;o<r;o++){const e=t[o],r=e.options.linesDecorationsClassName;r&&(n[i++]=new JC(e.range.startLineNumber,e.range.endLineNumber,r));const s=e.options.firstLineDecorationClassName;s&&(n[i++]=new JC(e.range.startLineNumber,e.range.startLineNumber,s))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=this._decorationsLeft.toString(),r=this._decorationsWidth.toString(),s='" style="left:'+o+"px;width:"+r+'px;"></div>',a=[];for(let l=t;l<=n;l++){const e=l-t,n=i[e];let o="";for(let t=0,i=n.length;t<i;t++)o+='<div class="cldr '+n[t]+s;a[e]=o}this._renderResult=a}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n("a23c");class rE extends XC{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){const t=e.getDecorationsInViewport();let n=[],i=0;for(let o=0,r=t.length;o<r;o++){const e=t[o],r=e.options.marginClassName;r&&(n[i++]=new JC(e.range.startLineNumber,e.range.endLineNumber,r))}return n}prepareRender(e){const t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._render(t,n,this._getDecorations(e)),o=[];for(let r=t;r<=n;r++){const e=r-t,n=i[e];let s="";for(let t=0,i=n.length;t<i;t++)s+='<div class="cmdr '+n[t]+'" style=""></div>';o[e]=s}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}n("36df");class sE{constructor(e,t,n,i){this.r=sE._clamp(e),this.g=sE._clamp(t),this.b=sE._clamp(n),this.a=sE._clamp(i)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:e>255?255:0|e}}sE.Empty=new sE(0,0,0,0);class aE{constructor(){this._onDidChange=new et,this.onDidChange=this._onDidChange.event,this._updateColorMap(),oc.onDidChange(e=>{e.changedColorMap&&this._updateColorMap()})}static getInstance(){return this._INSTANCE||(this._INSTANCE=new aE),this._INSTANCE}_updateColorMap(){const e=oc.getColorMap();if(!e)return this._colors=[sE.Empty],void(this._backgroundIsLight=!0);this._colors=[sE.Empty];for(let n=1;n<e.length;n++){const t=e[n].rgba;this._colors[n]=new sE(t.r,t.g,t.b,Math.round(255*t.a))}let t=e[2].getRelativeLuminance();this._backgroundIsLight=t>=.5,this._onDidChange.fire(void 0)}getColor(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}aE._INSTANCE=null;const lE=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})(),cE=(e,t)=>(e-=32,e<0||e>96?t<=2?(e+96)%96:95:e);class hE{constructor(e,t){this.scale=t,this.charDataNormal=hE.soften(e,.8),this.charDataLight=hE.soften(e,50/60)}static soften(e,t){let n=new Uint8ClampedArray(e.length);for(let i=0,o=e.length;i<o;i++)n[i]=Nh(e[i]*t);return n}renderChar(e,t,n,i,o,r,s,a,l){const c=1*this.scale,h=2*this.scale,u=l?1:h;if(t+c>e.width||n+u>e.height)return;const d=a?this.charDataLight:this.charDataNormal,p=cE(i,s),f=4*e.width,g=r.r,m=r.g,b=r.b,v=o.r-g,y=o.g-m,w=o.b-b,_=e.data;let A=p*c*h,C=n*f+4*t;for(let E=0;E<u;E++){let e=C;for(let t=0;t<c;t++){const t=d[A++]/255;_[e++]=g+v*t,_[e++]=m+y*t,_[e++]=b+w*t,e++}C+=f}}blockRenderChar(e,t,n,i,o,r,s){const a=1*this.scale,l=2*this.scale,c=s?1:l;if(t+a>e.width||n+c>e.height)return;const h=4*e.width,u=.5,d=o.r,p=o.g,f=o.b,g=i.r-d,m=i.g-p,b=i.b-f,v=d+g*u,y=p+m*u,w=f+b*u,_=e.data;let A=n*h+4*t;for(let C=0;C<c;C++){let e=A;for(let t=0;t<a;t++)_[e++]=v,_[e++]=y,_[e++]=w,e++;A+=h}}}function uE(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}const dE={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},pE=e=>{const t=new Uint8ClampedArray(e.length/2);for(let n=0;n<e.length;n+=2)t[n>>1]=dE[e[n]]<<4|15&dE[e[n+1]];return t},fE={1:uE(()=>pE("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:uE(()=>pE("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class gE{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let n;return n=fE[e]?new hE(fE[e](),e):gE.createFromSampleData(gE.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=n,n}static createSampleData(e){const t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";let i=0;for(const o of lE)n.fillText(String.fromCharCode(o),i,8),i+=10;return n.getImageData(0,0,960,16)}static createFromSampleData(e,t){const n=61440;if(e.length!==n)throw new Error("Unexpected source in MinimapCharRenderer");let i=gE._downsample(e,t);return new hE(i,t)}static _downsampleChar(e,t,n,i,o){const r=1*o,s=2*o;let a=i,l=0;for(let c=0;c<s;c++){const i=c/s*16,o=(c+1)/s*16;for(let s=0;s<r;s++){const c=s/r*10,h=(s+1)/r*10;let u=0,d=0;for(let n=i;n<o;n++){const i=t+3840*Math.floor(n),o=1-(n-Math.floor(n));for(let t=c;t<h;t++){const n=1-(t-Math.floor(t)),r=i+4*Math.floor(t),s=n*o;d+=s,u+=e[r]*e[r+3]/255*s}}const p=u/d;l=Math.max(l,p),n[a++]=Nh(p)}}return l}static _downsample(e,t){const n=2*t*1*t,i=96*n,o=new Uint8ClampedArray(i);let r=0,s=0,a=0;for(let l=0;l<96;l++)a=Math.max(a,this._downsampleChar(e,s,o,r,t)),r+=n,s+=40;if(a>0){const e=255/a;for(let t=0;t<i;t++)o[t]*=e}return o}}const mE=140,bE=2;class vE{constructor(e,t,n){const i=e.options,o=i.get(115),r=i.get(117),s=r.minimap,a=i.get(36),l=i.get(56);this.renderMinimap=s.renderMinimap,this.size=l.size,this.minimapHeightIsEditorHeight=s.minimapHeightIsEditorHeight,this.scrollBeyondLastLine=i.get(86),this.showSlider=l.showSlider,this.pixelRatio=o,this.typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,this.lineHeight=i.get(51),this.minimapLeft=s.minimapLeft,this.minimapWidth=s.minimapWidth,this.minimapHeight=r.height,this.canvasInnerWidth=s.minimapCanvasInnerWidth,this.canvasInnerHeight=s.minimapCanvasInnerHeight,this.canvasOuterWidth=s.minimapCanvasOuterWidth,this.canvasOuterHeight=s.minimapCanvasOuterHeight,this.isSampling=s.minimapIsSampling,this.editorHeight=r.height,this.fontScale=s.minimapScale,this.minimapLineHeight=s.minimapLineHeight,this.minimapCharWidth=1*this.fontScale,this.charRenderer=uE(()=>gE.create(this.fontScale,a.fontFamily)),this.backgroundColor=vE._getMinimapBackground(t,n)}static _getMinimapBackground(e,t){const n=e.getColor(B_);return n?new sE(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a):t.getColor(2)}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)}}class yE{constructor(e,t,n,i,o,r,s,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=n,this._computedSliderRatio=i,this.sliderTop=o,this.sliderHeight=r,this.startLineNumber=s,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){const t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,n,i,o,r,s,a,l,c){const h=e.pixelRatio,u=e.minimapLineHeight,d=Math.floor(e.canvasInnerHeight/u),p=e.lineHeight;if(e.minimapHeightIsEditorHeight){const t=s*e.lineHeight+(e.scrollBeyondLastLine?i-e.lineHeight:0),n=Math.max(1,Math.floor(i*i/t)),o=Math.max(0,e.minimapHeight-n),c=o/(l-i),h=a*c,u=o>0,d=Math.floor(e.canvasInnerHeight/e.minimapLineHeight);return new yE(a,l,u,c,h,n,1,Math.min(r,d))}let f,g;if(o&&n!==r){const e=n-t+1;f=Math.floor(e*u/h)}else{const e=i/p;f=Math.floor(e*u/h)}g=e.scrollBeyondLastLine?(r-1)*u/h:Math.max(0,r*u/h-f),g=Math.min(e.minimapHeight-f,g);const m=g/(l-i),b=a*m;let v=0;if(e.scrollBeyondLastLine){const e=i/p;v=e-1}if(d>=r+v){const e=1,t=r,n=g>0;return new yE(a,l,n,m,b,f,e,t)}{let e=Math.max(1,Math.floor(t-b*h/u));c&&c.scrollHeight===l&&(c.scrollTop>a&&(e=Math.min(e,c.startLineNumber)),c.scrollTop<a&&(e=Math.max(e,c.startLineNumber)));const n=Math.min(r,e+d-1);return new yE(a,l,!0,m,b,f,e,n)}}}class wE{constructor(e){this.dy=e}onContentChanged(){this.dy=-1}onTokensChanged(){this.dy=-1}}wE.INVALID=new wE(-1);class _E{constructor(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new nC(()=>wE.INVALID),this._renderedLines._set(e.startLineNumber,n)}linesEquals(e){if(!this.scrollEquals(e))return!1;const t=this._renderedLines._get(),n=t.lines;for(let i=0,o=n.length;i<o;i++)if(-1===n[i].dy)return!1;return!0}scrollEquals(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber}_get(){const e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}}onLinesChanged(e,t){return this._renderedLines.onLinesChanged(e,t)}onLinesDeleted(e,t){this._renderedLines.onLinesDeleted(e,t)}onLinesInserted(e,t){this._renderedLines.onLinesInserted(e,t)}onTokensChanged(e){return this._renderedLines.onTokensChanged(e)}}class AE{constructor(e,t,n,i){this._backgroundFillData=AE._createBackgroundFillData(t,n,i),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],this._lastUsedBuffer=0}getBuffer(){this._lastUsedBuffer=1-this._lastUsedBuffer;const e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e}static _createBackgroundFillData(e,t,n){const i=n.r,o=n.g,r=n.b,s=new Uint8ClampedArray(e*t*4);let a=0;for(let l=0;l<t;l++)for(let t=0;t<e;t++)s[a]=i,s[a+1]=o,s[a+2]=r,s[a+3]=255,a+=4;return s}}class CE{constructor(e,t){this.samplingRatio=e,this.minimapLines=t}static compute(e,t,n){if(0===e.renderMinimap||!e.isSampling)return[null,[]];const i=e.pixelRatio,o=e.lineHeight,r=e.scrollBeyondLastLine,{minimapLineCount:s}=te.computeContainedMinimapLineCount({viewLineCount:t,scrollBeyondLastLine:r,height:e.editorHeight,lineHeight:o,pixelRatio:i}),a=t/s,l=a/2;if(!n||0===n.minimapLines.length){let e=[];if(e[0]=1,s>1){for(let t=0,n=s-1;t<n;t++)e[t]=Math.round(t*a+l);e[s-1]=t}return[new CE(a,e),[]]}const c=n.minimapLines,h=c.length;let u=[],d=0,p=0,f=1;const g=10;let m=[],b=null;for(let v=0;v<s;v++){const e=Math.max(f,Math.round(v*a)),n=Math.max(e,Math.round((v+1)*a));while(d<h&&c[d]<e){if(m.length<g){const e=d+1+p;b&&"deleted"===b.type&&b._oldIndex===d-1?b.deleteToLineNumber++:(b={type:"deleted",_oldIndex:d,deleteFromLineNumber:e,deleteToLineNumber:e},m.push(b)),p--}d++}let i;if(d<h&&c[d]<=n)i=c[d],d++;else if(i=0===v?1:v+1===s?t:Math.round(v*a+l),m.length<g){const e=d+1+p;b&&"inserted"===b.type&&b._i===v-1?b.insertToLineNumber++:(b={type:"inserted",_i:v,insertFromLineNumber:e,insertToLineNumber:e},m.push(b)),p++}u[v]=i,f=i}if(m.length<g)while(d<h){const e=d+1+p;b&&"deleted"===b.type&&b._oldIndex===d-1?b.deleteToLineNumber++:(b={type:"deleted",_oldIndex:d,deleteFromLineNumber:e,deleteToLineNumber:e},m.push(b)),p--,d++}else m=[{type:"flush"}];return[new CE(a,u),m]}modelLineToMinimapLine(e){return Math.min(this.minimapLines.length,Math.max(1,Math.round(e/this.samplingRatio)))}modelLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e)-1;while(n>0&&this.minimapLines[n-1]>=e)n--;let i=this.modelLineToMinimapLine(t)-1;while(i+1<this.minimapLines.length&&this.minimapLines[i+1]<=t)i++;if(n===i){const i=this.minimapLines[n];if(i<e||i>t)return null}return[n+1,i+1]}decorationLineRangeToMinimapLineRange(e,t){let n=this.modelLineToMinimapLine(e),i=this.modelLineToMinimapLine(t);return e!==t&&i===n&&(i===this.minimapLines.length?n>1&&n--:i++),[n,i]}onLinesDeleted(e){const t=e.toLineNumber-e.fromLineNumber+1;let n=this.minimapLines.length,i=0;for(let o=this.minimapLines.length-1;o>=0;o--){if(this.minimapLines[o]<e.fromLineNumber)break;this.minimapLines[o]<=e.toLineNumber?(this.minimapLines[o]=Math.max(1,e.fromLineNumber-1),n=Math.min(n,o),i=Math.max(i,o)):this.minimapLines[o]-=t}return[n,i]}onLinesInserted(e){const t=e.toLineNumber-e.fromLineNumber+1;for(let n=this.minimapLines.length-1;n>=0;n--){if(this.minimapLines[n]<e.fromLineNumber)break;this.minimapLines[n]+=t}}}class EE extends im{constructor(e){super(e),this.tokensColorTracker=aE.getInstance(),this._selections=[],this._minimapSelections=null,this.options=new vE(this._context.configuration,this._context.theme,this.tokensColorTracker);const[t]=CE.compute(this.options,this._context.model.getLineCount(),null);this._samplingState=t,this._shouldCheckSampling=!1,this._actual=new xE(e.theme,this)}dispose(){this._actual.dispose(),super.dispose()}getDomNode(){return this._actual.getDomNode()}_onOptionsMaybeChanged(){const e=new vE(this._context.configuration,this._context.theme,this.tokensColorTracker);return!this.options.equals(e)&&(this.options=e,this._recreateLineSampling(),this._actual.onDidChangeOptions(),!0)}onConfigurationChanged(e){return this._onOptionsMaybeChanged()}onCursorStateChanged(e){return this._selections=e.selections,this._minimapSelections=null,this._actual.onSelectionChanged()}onDecorationsChanged(e){return!!e.affectsMinimap&&this._actual.onDecorationsChanged()}onFlushed(e){return this._samplingState&&(this._shouldCheckSampling=!0),this._actual.onFlushed()}onLinesChanged(e){if(this._samplingState){const t=this._samplingState.modelLineRangeToMinimapLineRange(e.fromLineNumber,e.toLineNumber);return!!t&&this._actual.onLinesChanged(t[0],t[1])}return this._actual.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){if(this._samplingState){const[t,n]=this._samplingState.onLinesDeleted(e);return t<=n&&this._actual.onLinesChanged(t+1,n+1),this._shouldCheckSampling=!0,!0}return this._actual.onLinesDeleted(e.fromLineNumber,e.toLineNumber)}onLinesInserted(e){return this._samplingState?(this._samplingState.onLinesInserted(e),this._shouldCheckSampling=!0,!0):this._actual.onLinesInserted(e.fromLineNumber,e.toLineNumber)}onScrollChanged(e){return this._actual.onScrollChanged()}onThemeChanged(e){return this._context.model.invalidateMinimapColorCache(),this._actual.onThemeChanged(),this._onOptionsMaybeChanged(),!0}onTokensChanged(e){if(this._samplingState){let t=[];for(const n of e.ranges){const e=this._samplingState.modelLineRangeToMinimapLineRange(n.fromLineNumber,n.toLineNumber);e&&t.push({fromLineNumber:e[0],toLineNumber:e[1]})}return!!t.length&&this._actual.onTokensChanged(t)}return this._actual.onTokensChanged(e.ranges)}onTokensColorsChanged(e){return this._actual.onTokensColorsChanged()}onZonesChanged(e){return this._actual.onZonesChanged()}prepareRender(e){this._shouldCheckSampling&&(this._shouldCheckSampling=!1,this._recreateLineSampling())}render(e){let t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber;this._samplingState&&(t=this._samplingState.modelLineToMinimapLine(t),n=this._samplingState.modelLineToMinimapLine(n));const i={viewportContainsWhitespaceGaps:e.viewportData.whitespaceViewportData.length>0,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,viewportStartLineNumber:t,viewportEndLineNumber:n,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft,viewportWidth:e.viewportWidth,viewportHeight:e.viewportHeight};this._actual.render(i)}_recreateLineSampling(){this._minimapSelections=null;const e=Boolean(this._samplingState),[t,n]=CE.compute(this.options,this._context.model.getLineCount(),this._samplingState);if(this._samplingState=t,e&&this._samplingState)for(const i of n)switch(i.type){case"deleted":this._actual.onLinesDeleted(i.deleteFromLineNumber,i.deleteToLineNumber);break;case"inserted":this._actual.onLinesInserted(i.insertFromLineNumber,i.insertToLineNumber);break;case"flush":this._actual.onFlushed();break}}getLineCount(){return this._samplingState?this._samplingState.minimapLines.length:this._context.model.getLineCount()}getRealLineCount(){return this._context.model.getLineCount()}getLineContent(e){return this._samplingState?this._context.model.getLineContent(this._samplingState.minimapLines[e-1]):this._context.model.getLineContent(e)}getMinimapLinesRenderingData(e,t,n){if(this._samplingState){let i=[];for(let o=0,r=t-e+1;o<r;o++)n[o]?i[o]=this._context.model.getViewLineData(this._samplingState.minimapLines[e+o-1]):i[o]=null;return i}return this._context.model.getMinimapLinesRenderingData(e,t,n).data}getSelections(){if(null===this._minimapSelections)if(this._samplingState){this._minimapSelections=[];for(const e of this._selections){const[t,n]=this._samplingState.decorationLineRangeToMinimapLineRange(e.startLineNumber,e.endLineNumber);this._minimapSelections.push(new gn(t,e.startColumn,n,e.endColumn))}}else this._minimapSelections=this._selections;return this._minimapSelections}getMinimapDecorationsInViewport(e,t){let n;if(this._samplingState){const i=this._samplingState.minimapLines[e-1],o=this._samplingState.minimapLines[t-1];n=new fn(i,1,o,this._context.model.getLineMaxColumn(o))}else n=new fn(e,1,t,this._context.model.getLineMaxColumn(t));const i=this._context.model.getDecorationsInViewport(n);if(this._samplingState){let e=[];for(const t of i){if(!t.options.minimap)continue;const n=t.range,i=this._samplingState.modelLineToMinimapLine(n.startLineNumber),o=this._samplingState.modelLineToMinimapLine(n.endLineNumber);e.push(new Hu(new fn(i,n.startColumn,o,n.endColumn),t.options))}return e}return i}getOptions(){return this._context.model.getTextModelOptions()}revealLineNumber(e){this._samplingState&&(e=this._samplingState.minimapLines[e-1]),this._context.model.revealRange("mouse",!1,new fn(e,1,e,1),1,0)}setScrollTop(e){this._context.model.setScrollPosition({scrollTop:e},1)}}class xE extends Ge{constructor(e,t){super(),this._renderDecorations=!1,this._gestureInProgress=!1,this._theme=e,this._model=t,this._lastRenderData=null,this._buffers=null,this._selectionColor=this._theme.getColor(M_),this._domNode=jg(document.createElement("div")),om.write(this._domNode,8),this._domNode.setClassName(this._getMinimapDomNodeClassName()),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._shadow=jg(document.createElement("div")),this._shadow.setClassName("minimap-shadow-hidden"),this._domNode.appendChild(this._shadow),this._canvas=jg(document.createElement("canvas")),this._canvas.setPosition("absolute"),this._canvas.setLeft(0),this._domNode.appendChild(this._canvas),this._decorationsCanvas=jg(document.createElement("canvas")),this._decorationsCanvas.setPosition("absolute"),this._decorationsCanvas.setClassName("minimap-decorations-layer"),this._decorationsCanvas.setLeft(0),this._domNode.appendChild(this._decorationsCanvas),this._slider=jg(document.createElement("div")),this._slider.setPosition("absolute"),this._slider.setClassName("minimap-slider"),this._slider.setLayerHinting(!0),this._slider.setContain("strict"),this._domNode.appendChild(this._slider),this._sliderHorizontal=jg(document.createElement("div")),this._sliderHorizontal.setPosition("absolute"),this._sliderHorizontal.setClassName("minimap-slider-horizontal"),this._slider.appendChild(this._sliderHorizontal),this._applyLayout(),this._mouseDownListener=ko(this._domNode.domNode,"mousedown",e=>{e.preventDefault();const t=this._model.options.renderMinimap;if(0===t)return;if(!this._lastRenderData)return;if("proportional"!==this._model.options.size){if(e.leftButton&&this._lastRenderData){const t=Uo(this._slider.domNode),n=t.top+t.height/2;this._startSliderDragging(e.buttons,e.posx,n,e.posy,this._lastRenderData.renderedLayout)}return}const n=this._model.options.minimapLineHeight,i=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY,o=Math.floor(i/n);let r=o+this._lastRenderData.renderedLayout.startLineNumber;r=Math.min(r,this._model.getLineCount()),this._model.revealLineNumber(r)}),this._sliderMouseMoveMonitor=new Gg,this._sliderMouseDownListener=ko(this._slider.domNode,"mousedown",e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=Ug.addTarget(this._domNode.domNode),this._sliderTouchStartListener=xo(this._domNode.domNode,Wg.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=xo(this._domNode.domNode,Wg.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=ko(this._domNode.domNode,Wg.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,n,i,o){this._slider.toggleClassName("active",!0);const r=(e,i)=>{const r=Math.abs(i-t);if(y["i"]&&r>mE)return void this._model.setScrollTop(o.scrollTop);const s=e-n;this._model.setScrollTop(o.getDesiredScrollTopFromDelta(s))};i!==n&&r(i,t),this._sliderMouseMoveMonitor.startMonitoring(this._slider.domNode,e,Yg,e=>r(e.posy,e.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){const t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(n)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||this._model.options.canvasInnerWidth>0&&this._model.options.canvasInnerHeight>0&&(this._buffers=new AE(this._canvas.domNode.getContext("2d"),this._model.options.canvasInnerWidth,this._model.options.canvasInnerHeight,this._model.options.backgroundColor)),this._buffers?this._buffers.getBuffer():null}onDidChangeOptions(){this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName())}onSelectionChanged(){return this._renderDecorations=!0,!0}onDecorationsChanged(){return this._renderDecorations=!0,!0}onFlushed(){return this._lastRenderData=null,!0}onLinesChanged(e,t){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e,t)}onLinesDeleted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e,t),!0}onLinesInserted(e,t){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e,t),!0}onScrollChanged(){return this._renderDecorations=!0,!0}onThemeChanged(){return this._selectionColor=this._theme.getColor(M_),this._renderDecorations=!0,!0}onTokensChanged(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)}onTokensColorsChanged(){return this._lastRenderData=null,this._buffers=null,!0}onZonesChanged(){return this._lastRenderData=null,!0}render(e){const t=this._model.options.renderMinimap;if(0===t)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");const n=yE.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setDisplay(n.sliderNeeded?"block":"none"),this._slider.setTop(n.sliderTop),this._slider.setHeight(n.sliderHeight);const i=e.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,o=Math.min(this._model.options.minimapWidth,Math.round(i*this._model.options.minimapCharWidth/this._model.options.pixelRatio));this._sliderHorizontal.setLeft(o),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-o),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(n.sliderHeight),this.renderDecorations(n),this._lastRenderData=this.renderLines(n)}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;const t=this._model.getSelections(),n=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber),{canvasInnerWidth:i,canvasInnerHeight:o}=this._model.options,r=this._model.options.minimapLineHeight,s=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,i,o);const c=new Map;for(let h=0;h<t.length;h++){const n=t[h];for(let t=n.startLineNumber;t<=n.endLineNumber;t++)this.renderDecorationOnLine(l,c,n,this._selectionColor,e,t,r,r,a,s)}for(let h=0;h<n.length;h++){const t=n[h];if(!t.options.minimap)continue;const i=t.options.minimap.getColor(this._theme);for(let n=t.range.startLineNumber;n<=t.range.endLineNumber;n++)switch(t.options.minimap.position){case Rs.Inline:this.renderDecorationOnLine(l,c,t.range,i,e,n,r,r,a,s);continue;case Rs.Gutter:const o=(n-e.startLineNumber)*r,h=2;this.renderDecoration(l,i,h,o,bE,r);continue}}}}renderDecorationOnLine(e,t,n,i,o,r,s,a,l,c){const h=(r-o.startLineNumber)*a;if(h+s<0||h>this._model.options.canvasInnerHeight)return;let u=t.get(r);const d=!u;if(!u){const e=this._model.getLineContent(r);u=[D];for(let t=1;t<e.length+1;t++){const n=e.charCodeAt(t-1),i=9===n?l*c:Rr["C"](n)?2*c:c;u[t]=u[t-1]+i}t.set(r,u)}const{startColumn:p,endColumn:f,startLineNumber:g,endLineNumber:m}=n,b=g===r?u[p-1]:D,v=m>r?u.length-1:f-1;if(v>0){const t=u[v]-b||2;this.renderDecoration(e,i,b,h,t,s)}d&&this.renderLineHighlight(e,i,h,s)}renderLineHighlight(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(D,n,e.canvas.width,i)}renderDecoration(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)}renderLines(e){const t=e.startLineNumber,n=e.endLineNumber,i=this._model.options.minimapLineHeight;if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){const t=this._lastRenderData._get();return new _E(e,t.imageData,t.lines)}const o=this._getBuffer();if(!o)return null;let[r,s,a]=xE._renderUntouchedLines(o,t,n,i,this._lastRenderData);const l=this._model.getMinimapLinesRenderingData(t,n,a),c=this._model.getOptions().tabSize,h=this._model.options.backgroundColor,u=this._model.tokensColorTracker,d=u.backgroundIsLight(),p=this._model.options.renderMinimap,f=this._model.options.charRenderer(),g=this._model.options.fontScale,m=this._model.options.minimapCharWidth,b=1===p?2:3,v=b*g,y=i>v?Math.floor((i-v)/2):0;let w=0;const _=[];for(let S=0,D=n-t+1;S<D;S++)a[S]&&xE._renderLine(o,h,d,p,m,u,f,w,y,c,l[S],g,i),_[S]=new wE(w),w+=i;const A=-1===r?0:r,C=-1===s?o.height:s,E=C-A,x=this._canvas.domNode.getContext("2d");return x.putImageData(o,0,0,0,A,o.width,E),new _E(e,o,_)}static _renderUntouchedLines(e,t,n,i,o){const r=[];if(!o){for(let e=0,i=n-t+1;e<i;e++)r[e]=!0;return[-1,-1,r]}const s=o._get(),a=s.imageData.data,l=s.rendLineNumberStart,c=s.lines,h=c.length,u=e.width,d=e.data,p=(n-t+1)*i*u*4;let f=-1,g=-1,m=-1,b=-1,v=-1,y=-1,w=0;for(let C=t;C<=n;C++){const e=C-t,n=C-l,o=n>=0&&n<h?c[n].dy:-1;if(-1===o){r[e]=!0,w+=i;continue}const s=o*u*4,_=(o+i)*u*4,A=w*u*4,E=(w+i)*u*4;b===s&&y===A?(b=_,y=E):(-1!==m&&(d.set(a.subarray(m,b),v),-1===f&&0===m&&m===v&&(f=b),-1===g&&b===p&&m===v&&(g=m)),m=s,b=_,v=A,y=E),r[e]=!1,w+=i}-1!==m&&(d.set(a.subarray(m,b),v),-1===f&&0===m&&m===v&&(f=b),-1===g&&b===p&&m===v&&(g=m));const _=-1===f?-1:f/(4*u),A=-1===g?-1:g/(4*u);return[_,A,r]}static _renderLine(e,t,n,i,o,r,s,a,l,c,h,u,d){const p=h.content,f=h.tokens,g=e.width-o,m=1===d;let b=D,v=0,y=0;for(let w=0,_=f.getCount();w<_;w++){const h=f.getEndOffset(w),d=f.getForeground(w),_=r.getColor(d);for(;v<h;v++){if(b>g)return;const r=p.charCodeAt(v);if(9===r){const e=c-(v+y)%c;y+=e-1,b+=e*o}else if(32===r)b+=o;else{const c=Rr["C"](r)?2:1;for(let h=0;h<c;h++)if(2===i?s.blockRenderChar(e,b,a+l,_,t,n,m):s.renderChar(e,b,a+l,r,_,t,u,n,m),b+=o,b>g)return}}}}}Am((e,t)=>{const n=e.getColor(B_);n&&t.addRule(`.monaco-editor .minimap > canvas { opacity: ${n.rgba.a}; will-change: opacity; }`);const i=e.getColor(I_);i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`);const o=e.getColor(T_);o&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${o}; }`);const r=e.getColor(O_);r&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${r}; }`);const s=e.getColor(xw);s&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${s} -6px 0 6px -6px inset; }`)});n("70a8");class SE extends im{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._widgets={},this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,this._domNode=jg(document.createElement("div")),om.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimap.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,!0}addWidget(e){const t=jg(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)}removeWidget(e){const t=e.getId();if(this._widgets.hasOwnProperty(t)){const e=this._widgets[t],n=e.domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){const e=t.domNode.clientHeight;t.setTop(this._editorHeight-e-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);const t=Object.keys(this._widgets);for(let n=0,i=t.length;n<i;n++){const e=t[n];this._renderWidget(this._widgets[e])}}}class DE{constructor(e,t){const n=e.options;this.lineHeight=n.get(51),this.pixelRatio=n.get(115),this.overviewRulerLanes=n.get(65),this.renderBorder=n.get(64);const i=t.getColor(rA);this.borderColor=i?i.toString():null,this.hideCursor=n.get(44);const o=t.getColor(J_);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;const r=n.get(56),s=r.enabled,a=r.side,l=s?t.getColor(sA)||oc.getDefaultBackground():null;this.backgroundColor=null===l||"left"===a?null:Vv.Format.CSS.formatHex(l);const c=n.get(117),h=c.overviewRuler;this.top=h.top,this.right=h.right,this.domWidth=h.width,this.domHeight=h.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);const[u,d]=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes);this.x=u,this.w=d}_initLanes(e,t,n){const i=t-e;if(n>=3){const t=Math.floor(i/3),n=Math.floor(i/3),o=i-t-n,r=e,s=r+t,a=r+t+o;return[[0,r,s,r,a,r,s,r],[0,t,o,t+o,n,t+o+n,o+n,t+o+n]]}if(2===n){const t=Math.floor(i/2),n=i-t,o=e,r=o+t;return[[0,o,o,o,r,o,o,o],[0,t,t,t,n,t+n,t+n,t+n]]}{const t=e,n=i;return[[0,t,t,t,t,t,t,t],[0,n,n,n,n,n,n,n]]}}equals(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight}}class kE extends im{constructor(e){super(e),this._domNode=jg(document.createElement("canvas")),this._domNode.setClassName("decorationsOverviewRuler"),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._domNode.setAttribute("aria-hidden","true"),this._updateSettings(!1),this._tokensColorTrackerListener=oc.onDidChange(e=>{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){const t=new DE(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(pn.compare),!0}onDecorationsChanged(e){return!!e.affectsOverviewRuler}onFlushed(e){return!0}onScrollChanged(e){return e.scrollHeightChanged}onZonesChanged(e){return!0}onThemeChanged(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)}getDomNode(){return this._domNode.domNode}prepareRender(e){}render(e){this._render()}_render(){if(0===this._settings.overviewRulerLanes)return void this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"");const e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,i=this._context.viewLayout,o=this._context.viewLayout.getScrollHeight(),r=t/o,s=this._context.model.getAllOverviewRulerDecorations(this._context.theme),a=6*this._settings.pixelRatio|0,l=a/2|0,c=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?c.clearRect(0,0,e,t):(c.fillStyle=this._settings.backgroundColor,c.fillRect(0,0,e,t));const h=this._settings.x,u=this._settings.w,d=Object.keys(s);d.sort();for(let p=0,f=d.length;p<f;p++){const e=d[p],o=s[e];c.fillStyle=e;let f=0,g=0,m=0;for(let s=0,d=o.length;s<d;s++){const e=o[3*s],d=o[3*s+1],p=o[3*s+2];let b=i.getVerticalOffsetForLineNumber(d)*r|0,v=(i.getVerticalOffsetForLineNumber(p)+n)*r|0;const y=v-b;if(y<a){let e=(b+v)/2|0;e<l?e=l:e+l>t&&(e=t-l),b=e-l,v=e+l}b>m+1||e!==f?(0!==s&&c.fillRect(h[f],g,u[f],m-g),f=e,g=b,m=v):v>m&&(m=v)}c.fillRect(h[f],g,u[f],m-g)}if(!this._settings.hideCursor&&this._settings.cursorColor){const e=2*this._settings.pixelRatio|0,n=e/2|0,o=this._settings.x[7],s=this._settings.w[7];c.fillStyle=this._settings.cursorColor;let a=-100,l=-100;for(let h=0,u=this._cursorPositions.length;h<u;h++){const u=this._cursorPositions[h];let d=i.getVerticalOffsetForLineNumber(u.lineNumber)*r|0;d<n?d=n:d+n>t&&(d=t-n);const p=d-n,f=p+e;p>l+1?(0!==h&&c.fillRect(o,a,s,l-a),a=p,l=f):f>l&&(l=f)}c.fillRect(o,a,s,l-a)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(c.beginPath(),c.lineWidth=1,c.strokeStyle=this._settings.borderColor,c.moveTo(0,0),c.lineTo(0,t),c.stroke(),c.moveTo(0,0),c.lineTo(e,0),c.stroke())}}class ME{constructor(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}static compare(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId}}class NE{constructor(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}static compare(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1}setColorZone(e){this._colorZone=e}getColorZones(){return this._colorZone}}class LE{constructor(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}getId2Color(){return this._id2Color}setZones(e){this._zones=e,this._zones.sort(NE.compare)}setLineHeight(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)}setPixelRatio(e){this._pixelRatio=e,this._colorZonesInvalid=!0}getDOMWidth(){return this._domWidth}getCanvasWidth(){return this._domWidth*this._pixelRatio}setDOMWidth(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)}getDOMHeight(){return this._domHeight}getCanvasHeight(){return this._domHeight*this._pixelRatio}setDOMHeight(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)}getOuterHeight(){return this._outerHeight}setOuterHeight(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)}resolveColorZones(){const e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),i=Math.floor(this._outerHeight),o=n/i,r=Math.floor(4*this._pixelRatio/2);let s=[];for(let a=0,l=this._zones.length;a<l;a++){const i=this._zones[a];if(!e){const e=i.getColorZones();if(e){s.push(e);continue}}const l=Math.floor(o*this._getVerticalOffsetForLine(i.startLineNumber)),c=Math.floor(o*(this._getVerticalOffsetForLine(i.endLineNumber)+t));let h=Math.floor((l+c)/2),u=c-h;u<r&&(u=r),h-u<0&&(h=u),h+u>n&&(h=n-u);const d=i.color;let p=this._color2Id[d];p||(p=++this._lastAssignedId,this._color2Id[d]=p,this._id2Color[p]=d);const f=new ME(h-u,h+u,p);i.setColorZone(f),s.push(f)}return this._colorZonesInvalid=!1,s.sort(ME.compare),s}}class BE extends nm{constructor(e,t){super(),this._context=e;const n=this._context.configuration.options;this._domNode=jg(document.createElement("canvas")),this._domNode.setClassName(t),this._domNode.setPosition("absolute"),this._domNode.setLayerHinting(!0),this._domNode.setContain("strict"),this._zoneManager=new LE(e=>this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(n.get(51)),this._zoneManager.setPixelRatio(n.get(115)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(51)&&(this._zoneManager.setLineHeight(t.get(51)),this._render()),e.hasChanged(115)&&(this._zoneManager.setPixelRatio(t.get(115)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;const e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0}_renderOneLane(e,t,n,i){let o=0,r=0,s=0;for(const a of t){const t=a.colorId,l=a.from,c=a.to;t!==o?(e.fillRect(0,r,i,s-r),o=t,e.fillStyle=n[o],r=l,s=c):s>=l?s=Math.max(s,c):(e.fillRect(0,r,i,s-r),r=l,s=c)}e.fillRect(0,r,i,s-r)}}n("df93");class IE extends im{constructor(e){super(e),this.domNode=jg(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(83),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){const e=this._renderedRulers.length,t=this._rulers.length;if(e===t)return;if(e<t){const{tabSize:n}=this._context.model.getTextModelOptions(),i=n;let o=t-e;while(o>0){const e=jg(document.createElement("div"));e.setClassName("view-ruler"),e.setWidth(i),this.domNode.appendChild(e),this._renderedRulers.push(e),o--}return}let n=e-t;while(n>0){const e=this._renderedRulers.pop();this.domNode.removeChild(e),n--}}render(e){this._ensureRulersCount();for(let t=0,n=this._rulers.length;t<n;t++){const n=this._renderedRulers[t],i=this._rulers[t];n.setBoxShadow(i.color?`1px 0 0 0 ${i.color} inset`:""),n.setHeight(Math.min(e.scrollHeight,1e6)),n.setLeft(i.column*this._typicalHalfwidthCharacterWidth)}}}Am((e,t)=>{const n=e.getColor(oA);n&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${n} inset; }`)});n("9368");class TE extends im{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options,n=t.get(84);this._useShadows=n.useShadows,this._domNode=jg(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){const e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)}getDomNode(){return this._domNode}_updateWidth(){const e=this._context.configuration.options,t=e.get(117);0===t.minimap.renderMinimap||t.minimap.minimapWidth>0&&0===t.minimap.minimapLeft?this._width=t.width:this._width=t.width-t.minimap.minimapWidth-t.verticalScrollbarWidth}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(84);return this._useShadows=n.useShadows,this._updateWidth(),this._updateShouldShow(),!0}onScrollChanged(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()}prepareRender(e){}render(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")}}Am((e,t)=>{const n=e.getColor(xw);n&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${n} 0 6px 6px -6px inset; }`)});n("adf0");class OE{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class RE{constructor(e,t){this.lineNumber=e,this.ranges=t}}function PE(e){return new OE(e)}function FE(e){return new RE(e.lineNumber,e.ranges.map(PE))}const jE=pi;class QE extends Jy{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(51),this._roundedSelection=t.get(82),this._typicalHalfwidthCharacterWidth=t.get(36).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(n.ranges.length>1)return!0}return!1}_enrichVisibleRangesWithStyle(e,t,n){const i=this._typicalHalfwidthCharacterWidth/4;let o=null,r=null;if(n&&n.length>0&&t.length>0){const i=t[0].lineNumber;if(i===e.startLineNumber)for(let e=0;!o&&e<n.length;e++)n[e].lineNumber===i&&(o=n[e].ranges[0]);const s=t[t.length-1].lineNumber;if(s===e.endLineNumber)for(let e=n.length-1;!r&&e>=0;e--)n[e].lineNumber===s&&(r=n[e].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}for(let s=0,a=t.length;s<a;s++){const e=t[s].ranges[0],n=e.left,l=e.left+e.width,c={top:0,bottom:0},h={top:0,bottom:0};if(s>0){const e=t[s-1].ranges[0].left,o=t[s-1].ranges[0].left+t[s-1].ranges[0].width;zE(n-e)<i?c.top=2:n>e&&(c.top=1),zE(l-o)<i?h.top=2:e<l&&l<o&&(h.top=1)}else o&&(c.top=o.startStyle.top,h.top=o.endStyle.top);if(s+1<a){const e=t[s+1].ranges[0].left,o=t[s+1].ranges[0].left+t[s+1].ranges[0].width;zE(n-e)<i?c.bottom=2:e<n&&n<o&&(c.bottom=1),zE(l-o)<i?h.bottom=2:l<o&&(h.bottom=1)}else r&&(c.bottom=r.startStyle.bottom,h.bottom=r.endStyle.bottom);e.startStyle=c,e.endStyle=h}}_getVisibleRangesWithStyle(e,t,n){const i=t.linesVisibleRangesForRange(e,!0)||[],o=i.map(FE),r=this._visibleRangesHaveGaps(o);return jE||r||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,o,n),o}_createSelectionPiece(e,t,n,i,o){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+i.toString()+"px;width:"+o.toString()+"px;height:"+t+'px;"></div>'}_actualRenderOneSelection(e,t,n,i){if(0===i.length)return;const o=!!i[0].ranges[0].startStyle,r=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),a=i[0].lineNumber,l=i[i.length-1].lineNumber;for(let c=0,h=i.length;c<h;c++){const h=i[c],u=h.lineNumber,d=u-t,p=n&&(u===l||u===a)?s:r,f=n&&u===a?1:0;let g="",m="";for(let e=0,t=h.ranges.length;e<t;e++){const t=h.ranges[e];if(o){const e=t.startStyle,n=t.endStyle;if(1===e.top||1===e.bottom){g+=this._createSelectionPiece(f,p,QE.SELECTION_CLASS_NAME,t.left-QE.ROUNDED_PIECE_WIDTH,QE.ROUNDED_PIECE_WIDTH);let n=QE.EDITOR_BACKGROUND_CLASS_NAME;1===e.top&&(n+=" "+QE.SELECTION_TOP_RIGHT),1===e.bottom&&(n+=" "+QE.SELECTION_BOTTOM_RIGHT),g+=this._createSelectionPiece(f,p,n,t.left-QE.ROUNDED_PIECE_WIDTH,QE.ROUNDED_PIECE_WIDTH)}if(1===n.top||1===n.bottom){g+=this._createSelectionPiece(f,p,QE.SELECTION_CLASS_NAME,t.left+t.width,QE.ROUNDED_PIECE_WIDTH);let e=QE.EDITOR_BACKGROUND_CLASS_NAME;1===n.top&&(e+=" "+QE.SELECTION_TOP_LEFT),1===n.bottom&&(e+=" "+QE.SELECTION_BOTTOM_LEFT),g+=this._createSelectionPiece(f,p,e,t.left+t.width,QE.ROUNDED_PIECE_WIDTH)}}let n=QE.SELECTION_CLASS_NAME;if(o){const e=t.startStyle,i=t.endStyle;0===e.top&&(n+=" "+QE.SELECTION_TOP_LEFT),0===e.bottom&&(n+=" "+QE.SELECTION_BOTTOM_LEFT),0===i.top&&(n+=" "+QE.SELECTION_TOP_RIGHT),0===i.bottom&&(n+=" "+QE.SELECTION_BOTTOM_RIGHT)}m+=this._createSelectionPiece(f,p,n,t.left,t.width)}e[d][0]+=g,e[d][1]+=m}}prepareRender(e){const t=[],n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber;for(let r=n;r<=i;r++){const e=r-n;t[e]=["",""]}const o=[];for(let r=0,s=this._selections.length;r<s;r++){const i=this._selections[r];if(i.isEmpty()){o[r]=null;continue}const s=this._getVisibleRangesWithStyle(i,e,this._previousFrameVisibleRangesWithStyle[r]);o[r]=s,this._actualRenderOneSelection(t,n,this._selections.length>1,s)}this._previousFrameVisibleRangesWithStyle=o,this._renderResult=t.map(([e,t])=>e+t)}render(e,t){if(!this._renderResult)return"";const n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]}}function zE(e){return e<0?-e:e}QE.SELECTION_CLASS_NAME="selected-text",QE.SELECTION_TOP_LEFT="top-left-radius",QE.SELECTION_BOTTOM_LEFT="bottom-left-radius",QE.SELECTION_TOP_RIGHT="top-right-radius",QE.SELECTION_BOTTOM_RIGHT="bottom-right-radius",QE.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",QE.ROUNDED_PIECE_WIDTH=10,Am((e,t)=>{const n=e.getColor(Kw);n&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${n}; }`);const i=e.getColor(Jw);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const o=e.getColor(qw);o&&!o.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${o}; }`)});n("b856");class VE{constructor(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r}}class WE{constructor(e){this._context=e;const t=this._context.configuration.options,n=t.get(36);this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=jg(document.createElement("div")),this._domNode.setClassName("cursor "+mA),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),Vf.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new pn(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(36);return this._cursorStyle=t.get(19),this._lineHeight=t.get(51),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(22),this._typicalHalfwidthCharacterWidth),Vf.applyFontInfo(this._domNode,n),!0}onCursorPositionChanged(e){return this._position=e,!0}_prepareRender(e){let t="";if(this._cursorStyle===H.Line||this._cursorStyle===H.LineThin){const n=e.visibleRangeForPosition(this._position);if(!n||n.outsideRenderedLine)return null;let i;if(this._cursorStyle===H.Line){if(i=kr(this._lineCursorWidth>0?this._lineCursorWidth:2),i>2){const e=this._context.model.getLineContent(this._position.lineNumber),n=Rr["J"](e,this._position.column-1);t=e.substr(this._position.column-1,n)}}else i=kr(1);let o=n.left;i>=2&&o>=1&&(o-=1);const r=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new VE(r,o,i,this._lineHeight,t,"")}const n=this._context.model.getLineContent(this._position.lineNumber),i=Rr["J"](n,this._position.column-1),o=e.linesVisibleRangesForRange(new fn(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+i),!1);if(!o||0===o.length)return null;const r=o[0];if(r.outsideRenderedLine||0===r.ranges.length)return null;const s=r.ranges[0],a=s.width<1?this._typicalHalfwidthCharacterWidth:s.width;let l="";if(this._cursorStyle===H.Block){const e=this._context.model.getViewLineData(this._position.lineNumber);t=n.substr(this._position.column-1,i);const o=e.tokens.findTokenIndexAtOffset(this._position.column-1);l=e.tokens.getClassName(o)}let c=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,h=this._lineHeight;return this._cursorStyle!==H.Underline&&this._cursorStyle!==H.UnderlineThin||(c+=this._lineHeight-2,h=2),new VE(c,s.left,a,h,t,l)}prepareRender(e){this._renderData=this._prepareRender(e)}render(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName(`cursor ${mA} ${this._renderData.textContentClassName}`),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)}}class HE extends im{constructor(e){super(e);const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._selectionIsEmpty=!0,this._isVisible=!1,this._primaryCursor=new WE(this._context),this._secondaryCursors=[],this._renderData=[],this._domNode=jg(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._updateDomClassName(),this._domNode.appendChild(this._primaryCursor.getDomNode()),this._startCursorBlinkAnimation=new Vi,this._cursorFlatBlinkInterval=new Wi,this._blinkingEnabled=!1,this._editorHasFocus=!1,this._updateBlinking()}dispose(){super.dispose(),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;this._readOnly=t.get(72),this._cursorBlinking=t.get(17),this._cursorStyle=t.get(19),this._cursorSmoothCaretAnimation=t.get(18),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(let n=0,i=this._secondaryCursors.length;n<i;n++)this._secondaryCursors[n].onConfigurationChanged(e);return!0}_onCursorPositionChanged(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length){const e=t.length-this._secondaryCursors.length;for(let t=0;t<e;t++){const e=new WE(this._context);this._domNode.domNode.insertBefore(e.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(e)}}else if(this._secondaryCursors.length>t.length){const e=this._secondaryCursors.length-t.length;for(let t=0;t<e;t++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(let n=0;n<t.length;n++)this._secondaryCursors[n].onCursorPositionChanged(t[n])}onCursorStateChanged(e){const t=[];for(let i=0,o=e.selections.length;i<o;i++)t[i]=e.selections[i].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));const n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,this._updateDomClassName()),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onFocusChanged(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onTokensChanged(e){const t=t=>{for(let n=0,i=e.ranges.length;n<i;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(const n of this._secondaryCursors)if(t(n.getPosition()))return!0;return!1}onZonesChanged(e){return!0}_getCursorBlinking(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0}_updateBlinking(){this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();const e=this._getCursorBlinking(),t=0===e,n=5===e;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),t||n||(1===e?this._cursorFlatBlinkInterval.cancelAndSet(()=>{this._isVisible?this._hide():this._show()},HE.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},HE.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case H.Line:e+=" cursor-line-style";break;case H.Block:e+=" cursor-block-style";break;case H.Underline:e+=" cursor-underline-style";break;case H.LineThin:e+=" cursor-line-thin-style";break;case H.BlockOutline:e+=" cursor-block-outline-style";break;case H.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0}_hide(){this._primaryCursor.hide();for(let e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1}prepareRender(e){this._primaryCursor.prepareRender(e);for(let t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)}render(e){let t=[],n=0;const i=this._primaryCursor.render(e);i&&(t[n++]=i);for(let o=0,r=this._secondaryCursors.length;o<r;o++){const i=this._secondaryCursors[o].render(e);i&&(t[n++]=i)}this._renderData=t}getLastRenderData(){return this._renderData}}HE.BLINK_INTERVAL=500,Am((e,t)=>{const n=e.getColor(J_);if(n){let i=e.getColor(X_);i||(i=n.opposite()),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${n}; border-color: ${n}; color: ${i}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${i}; border-right: 1px solid ${i}; }`)}});const UE=()=>{throw new Error("Invalid change accessor")};class YE extends im{constructor(e){super(e);const t=this._context.configuration.options,n=t.get(117);this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,this.domNode=jg(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=jg(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){const e=this._context.viewLayout.getWhitespaces(),t=new Map;for(const i of e)t.set(i.id,i);let n=!1;return this._context.model.changeWhitespace(e=>{const i=Object.keys(this._zones);for(let o=0,r=i.length;o<r;o++){const r=i[o],s=this._zones[r],a=this._computeWhitespaceProps(s.delegate),l=t.get(r);!l||l.afterLineNumber===a.afterViewLineNumber&&l.height===a.heightInPx||(e.changeOneWhitespace(r,a.afterViewLineNumber,a.heightInPx),this._safeCallOnComputedHeight(s.delegate,a.heightInPx),n=!0)}}),n}onConfigurationChanged(e){const t=this._context.configuration.options,n=t.get(117);return this._lineHeight=t.get(51),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(51)&&this._recomputeWhitespacesProps(),!0}onLineMappingChanged(e){return this._recomputeWhitespacesProps()}onLinesDeleted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}onLinesInserted(e){return!0}_getZoneOrdinal(e){return"undefined"!==typeof e.afterColumn?e.afterColumn:1e4}_computeWhitespaceProps(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};let t,n;if("undefined"!==typeof e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{const n=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new pn(n,this._context.model.getModelLineMaxColumn(n))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});const i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),o=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:o?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}}changeViewZones(e){let t=!1;return this._context.model.changeWhitespace(n=>{const i={addZone:e=>(t=!0,this._addZone(n,e)),removeZone:e=>{e&&(t=this._removeZone(n,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(n,e)||t)}};GE(e,i),i.addZone=UE,i.removeZone=UE,i.layoutZone=UE}),t}_addZone(e,t){const n=this._computeWhitespaceProps(t),i=e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),o={whitespaceId:i,delegate:t,isVisible:!1,domNode:jg(t.domNode),marginDomNode:t.marginDomNode?jg(t.marginDomNode):null};return this._safeCallOnComputedHeight(o.delegate,n.heightInPx),o.domNode.setPosition("absolute"),o.domNode.domNode.style.width="100%",o.domNode.setDisplay("none"),o.domNode.setAttribute("monaco-view-zone",o.whitespaceId),this.domNode.appendChild(o.domNode),o.marginDomNode&&(o.marginDomNode.setPosition("absolute"),o.marginDomNode.domNode.style.width="100%",o.marginDomNode.setDisplay("none"),o.marginDomNode.setAttribute("monaco-view-zone",o.whitespaceId),this.marginDomNode.appendChild(o.marginDomNode)),this._zones[o.whitespaceId]=o,this.setShouldRender(),o.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){if(this._zones.hasOwnProperty(t)){const n=this._zones[t],i=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(n.delegate,i.heightInPx),this.setShouldRender(),!0}return!1}shouldSuppressMouseDownOnViewZone(e){if(this._zones.hasOwnProperty(e)){const t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1}_heightInPixels(e){return"number"===typeof e.heightInPx?e.heightInPx:"number"===typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"===typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"===typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(n){Me(n)}}_safeCallOnDomNodeTop(e,t){if("function"===typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(n){Me(n)}}prepareRender(e){}render(e){const t=e.viewportData.whitespaceViewportData,n={};let i=!1;for(let r=0,s=t.length;r<s;r++)n[t[r].id]=t[r],i=!0;const o=Object.keys(this._zones);for(let r=0,s=o.length;r<s;r++){const t=o[r],i=this._zones[t];let s=0,a=0,l="none";n.hasOwnProperty(t)?(s=n[t].verticalOffset-e.bigNumbersDelta,a=n[t].height,l="block",i.isVisible||(i.domNode.setAttribute("monaco-visible-view-zone","true"),i.isVisible=!0),this._safeCallOnDomNodeTop(i.delegate,e.getScrolledTopFromAbsoluteTop(n[t].verticalOffset))):(i.isVisible&&(i.domNode.removeAttribute("monaco-visible-view-zone"),i.isVisible=!1),this._safeCallOnDomNodeTop(i.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),i.domNode.setTop(s),i.domNode.setHeight(a),i.domNode.setDisplay(l),i.marginDomNode&&(i.marginDomNode.setTop(s),i.marginDomNode.setHeight(a),i.marginDomNode.setDisplay(l))}i&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))}}function GE(e,t){try{return e(t)}catch(n){Me(n)}}class KE{constructor(e){this._theme=e}get type(){return this._theme.type}update(e){this._theme=e}getColor(e){return this._theme.getColor(e)}}class qE{constructor(e,t,n){this.configuration=e,this.theme=new KE(t),this.model=n,this.viewLayout=n.viewLayout}addEventHandler(e){this.model.addViewEventHandler(e)}removeEventHandler(e){this.model.removeViewEventHandler(e)}}class JE{constructor(e,t,n,i){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=i,this.visibleRange=new fn(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}getViewLineRenderingData(e){return this._model.getViewLineRenderingData(this.visibleRange,e)}getDecorationsInViewport(){return this._model.getDecorationsInViewport(this.visibleRange)}}class XE extends nm{constructor(e,t,n,i,o,r){super(),this._selections=[new gn(1,1,1,1)],this._renderAnimationFrame=null;const s=new ZA(t,i,o,e);this._context=new qE(t,n.getColorTheme(),i),this._context.addEventHandler(this),this._register(n.onDidColorThemeChange(e=>{this._context.theme.update(e),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new yA(this._context,s,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=jg(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=jg(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=jg(document.createElement("div")),om.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new qC(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new iE(this._context,this._linesContent),this._viewZones=new YE(this._context),this._viewParts.push(this._viewZones);const a=new kE(this._context);this._viewParts.push(a);const l=new TE(this._context);this._viewParts.push(l);const c=new aC(this._context);this._viewParts.push(c),c.addDynamicOverlay(new fC(this._context)),c.addDynamicOverlay(new QE(this._context)),c.addDynamicOverlay(new ZC(this._context)),c.addDynamicOverlay(new mC(this._context));const h=new lC(this._context);this._viewParts.push(h),h.addDynamicOverlay(new gC(this._context)),h.addDynamicOverlay(new $C(this._context)),h.addDynamicOverlay(new rE(this._context)),h.addDynamicOverlay(new oE(this._context)),h.addDynamicOverlay(new fA(this._context));const u=new gA(this._context);u.getDomNode().appendChild(this._viewZones.marginDomNode),u.getDomNode().appendChild(h.getDomNode()),this._viewParts.push(u),this._contentWidgets=new hC(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new HE(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new SE(this._context),this._viewParts.push(this._overlayWidgets);const d=new IE(this._context);this._viewParts.push(d);const p=new EE(this._context);if(this._viewParts.push(p),a){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(a.getDomNode(),e.insertBefore)}this._linesContent.appendChild(c.getDomNode()),this._linesContent.appendChild(d.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(u.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(l.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(p.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),r?r.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new Vy(this._context,s,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},getLastRenderData:()=>{const e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new Cy(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new pn(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new pn(e,t)))}}_applyLayout(){const e=this._context.configuration.options,t=e.get(117);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){const e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(114)+" "+vm(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(let e=0,t=this._viewParts.length;e<t;e++)this._viewParts[e].dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=Lo(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){$E(()=>this._actualRender())}_getViewPartsToRender(){let e=[],t=0;for(let n=0,i=this._viewParts.length;n<i;n++){const i=this._viewParts[n];i.shouldRender()&&(e[t++]=i)}return e}_actualRender(){if(!mo(this.domNode.domNode))return;let e=this._getViewPartsToRender();if(!this._viewLines.shouldRender()&&0===e.length)return;const t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);const n=new JE(this._selections,t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(n),this._viewLines.shouldRender()&&(this._viewLines.renderText(n),this._viewLines.onDidRender(),e=this._getViewPartsToRender());const i=new sm(this._context.viewLayout,n,this._viewLines);for(let o=0,r=e.length;o<r;o++){const t=e[o];t.prepareRender(i)}for(let o=0,r=e.length;o<r;o++){const t=e[o];t.render(i),t.onDidRender()}}delegateVerticalScrollbarMouseDown(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)}restoreState(e){this._context.model.setScrollPosition({scrollTop:e.scrollTop},1),this._context.model.tokenizeViewport(),this._renderNow(),this._viewLines.updateLineWidths(),this._context.model.setScrollPosition({scrollLeft:e.scrollLeft},1)}getOffsetForColumn(e,t){const n=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();const o=this._viewLines.visibleRangeForPosition(new pn(i.lineNumber,i.column));return o?o.left:-1}getTargetAtClientPoint(e,t){const n=this._pointerHandler.getTargetAtClientPoint(e,t);return n?eC.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null}createOverviewRuler(e){return new BE(this._context,e)}change(e){this._viewZones.changeViewZones(e),this._scheduleRender()}render(e,t){if(t){this._viewLines.forceShouldRender();for(let e=0,t=this._viewParts.length;e<t;e++){const t=this._viewParts[e];t.forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()}focus(){this._textAreaHandler.focusTextArea()}isFocused(){return this._textAreaHandler.isFocused()}setAriaOptions(e){this._textAreaHandler.setAriaOptions(e)}addContentWidget(e){this._contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()}layoutContentWidget(e){let t=e.position&&e.position.range||null;if(null===t){const n=e.position?e.position.position:null;null!==n&&(t=new fn(n.lineNumber,n.column,n.lineNumber,n.column))}const n=e.position?e.position.preference:null;this._contentWidgets.setWidgetPosition(e.widget,t,n),this._scheduleRender()}removeContentWidget(e){this._contentWidgets.removeWidget(e.widget),this._scheduleRender()}addOverlayWidget(e){this._overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()}layoutOverlayWidget(e){const t=e.position?e.position.preference:null,n=this._overlayWidgets.setWidgetPosition(e.widget,t);n&&this._scheduleRender()}removeOverlayWidget(e){this._overlayWidgets.removeWidget(e.widget),this._scheduleRender()}}function $E(e){try{return e()}catch(t){Me(t)}}class ZE{constructor(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new gy(new fn(1,1,1,1),0,new pn(1,1),0),new gy(new fn(1,1,1,1),0,new pn(1,1),0))}dispose(e){this._removeTrackedRange(e)}startTrackingSelection(e){this._trackSelection=!0,this._updateTrackedRange(e)}stopTrackingSelection(e){this._trackSelection=!1,this._removeTrackedRange(e)}_updateTrackedRange(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))}_removeTrackedRange(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)}asCursorState(){return new yy(this.modelState,this.viewState)}readSelectionFromMarkers(e){const t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new gn(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new gn(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}ensureValidState(e){this._setState(e,this.modelState,this.viewState)}setState(e,t,n){this._setState(e,t,n)}_setState(e,t,n){if(t){const n=e.model.validateRange(t.selectionStart),i=t.selectionStart.equalsRange(n)?t.selectionStartLeftoverVisibleColumns:0,o=e.model.validatePosition(t.position),r=t.position.equals(o)?t.leftoverVisibleColumns:0;t=new gy(n,i,o,r)}else{if(!n)return;const i=e.model.validateRange(e.coordinatesConverter.convertViewRangeToModelRange(n.selectionStart)),o=e.model.validatePosition(e.coordinatesConverter.convertViewPositionToModelPosition(n.position));t=new gy(i,n.selectionStartLeftoverVisibleColumns,o,n.leftoverVisibleColumns)}if(n){const i=e.coordinatesConverter.validateViewRange(n.selectionStart,t.selectionStart),o=e.coordinatesConverter.validateViewPosition(n.position,t.position);n=new gy(i,t.selectionStartLeftoverVisibleColumns,o,t.leftoverVisibleColumns)}else{const i=e.coordinatesConverter.convertModelPositionToViewPosition(new pn(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),o=e.coordinatesConverter.convertModelPositionToViewPosition(new pn(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),r=new fn(i.lineNumber,i.column,o.lineNumber,o.column),s=e.coordinatesConverter.convertModelPositionToViewPosition(t.position);n=new gy(r,t.selectionStartLeftoverVisibleColumns,s,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)}}class ex{constructor(e){this.context=e,this.primaryCursor=new ZE(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}dispose(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()}startTrackingSelections(){this.primaryCursor.startTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)}stopTrackingSelections(){this.primaryCursor.stopTrackingSelection(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)}updateContext(e){this.context=e}ensureValidState(){this.primaryCursor.ensureValidState(this.context);for(let e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)}readSelectionFromMarkers(){let e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e}getAll(){let e=[];e[0]=this.primaryCursor.asCursorState();for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e}getViewPositions(){let e=[];e[0]=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e}getTopMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;n.isBefore(e)&&(e=n)}return e}getBottomMostViewPosition(){let e=this.primaryCursor.viewState.position;for(let t=0,n=this.secondaryCursors.length;t<n;t++){const n=this.secondaryCursors[t].viewState.position;e.isBeforeOrEqual(n)&&(e=n)}return e}getSelections(){let e=[];e[0]=this.primaryCursor.modelState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e}getViewSelections(){let e=[];e[0]=this.primaryCursor.viewState.selection;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e}setSelections(e){this.setStates(yy.fromModelSelections(e))}getPrimaryCursor(){return this.primaryCursor.asCursorState()}setStates(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))}_setSecondaryStates(e){const t=this.secondaryCursors.length,n=e.length;if(t<n){let e=n-t;for(let t=0;t<e;t++)this._addSecondaryCursor()}else if(t>n){let e=t-n;for(let t=0;t<e;t++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(let i=0;i<n;i++)this.secondaryCursors[i].setState(this.context,e[i].modelState,e[i].viewState)}killSecondaryCursors(){this._setSecondaryStates([])}_addSecondaryCursor(){this.secondaryCursors.push(new ZE(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length}getLastAddedCursorIndex(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex}_removeSecondaryCursor(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)}_getAll(){let e=[];e[0]=this.primaryCursor;for(let t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e}normalize(){if(0===this.secondaryCursors.length)return;let e=this._getAll(),t=[];for(let n=0,i=e.length;n<i;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((e,t)=>e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber);for(let n=0;n<t.length-1;n++){const i=t[n],o=t[n+1],r=i.selection,s=o.selection;if(!this.context.cursorConfig.multiCursorMergeOverlapping)continue;let a;if(a=s.isEmpty()||r.isEmpty()?s.getStartPosition().isBeforeOrEqual(r.getEndPosition()):s.getStartPosition().isBefore(r.getEndPosition()),a){const r=i.index<o.index?n:n+1,s=i.index<o.index?n+1:n,a=t[s].index,l=t[r].index,c=t[s].selection,h=t[r].selection;if(!c.equalsSelection(h)){const n=c.plusRange(h),i=c.selectionStartLineNumber===c.startLineNumber&&c.selectionStartColumn===c.startColumn,o=h.selectionStartLineNumber===h.startLineNumber&&h.selectionStartColumn===h.startColumn;let s,u;a===this.lastAddedCursorIndex?(s=i,this.lastAddedCursorIndex=l):s=o,u=s?new gn(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new gn(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn),t[r].selection=u;const d=yy.fromModelSelection(u);e[l].setState(this.context,d.modelState,d.viewState)}for(const e of t)e.index>a&&e.index--;e.splice(a,1),t.splice(s,1),this._removeSecondaryCursor(a-1),n--}}}}class tx{constructor(e){this.type=0,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class nx{constructor(e,t){this.type=1,this.selections=e,this.modelSelections=t}}class ix{constructor(e){this.type=2,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class ox{constructor(){this.type=3}}class rx{constructor(e){this.type=4,this.isFocused=e}}class sx{constructor(){this.type=5}}class ax{constructor(){this.type=6}}class lx{constructor(e,t){this.type=7,this.fromLineNumber=e,this.toLineNumber=t}}class cx{constructor(e,t){this.type=8,this.fromLineNumber=e,this.toLineNumber=t}}class hx{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class ux{constructor(e,t,n,i,o,r){this.type=10,this.source=e,this.range=t,this.selections=n,this.verticalType=i,this.revealHorizontal=o,this.scrollType=r}}class dx{constructor(e){this.type=11,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class px{constructor(){this.type=12}}class fx{constructor(e){this.type=13,this.ranges=e}}class gx{constructor(){this.type=14}}class mx{constructor(){this.type=15}}class bx extends Ge{constructor(){super(),this._onEvent=this._register(new et),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOugoingEvents()}_addOutgoingEvent(e){for(let t=0,n=this._outgoingEvents.length;t<n;t++)if(this._outgoingEvents[t].kind===e.kind)return void(this._outgoingEvents[t]=this._outgoingEvents[t].merge(e));this._outgoingEvents.push(e)}_emitOugoingEvents(){while(this._outgoingEvents.length>0){if(this._collector||this._isConsumingViewEventQueue)return;const e=this._outgoingEvents.shift();e.isNoOp()||this._onEvent.fire(e)}}addViewEventHandler(e){for(let t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t];this._eventHandlers.push(e)}removeViewEventHandler(e){for(let t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}}beginEmitViewEvents(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new vx),this._collector}endEmitViewEvents(){if(this._collectorCnt--,0===this._collectorCnt){const e=this._collector.outgoingEvents,t=this._collector.viewEvents;this._collector=null;for(const n of e)this._addOutgoingEvent(n);t.length>0&&this._emitMany(t)}this._emitOugoingEvents()}emitSingleViewEvent(e){try{const t=this.beginEmitViewEvents();t.emitViewEvent(e)}finally{this.endEmitViewEvents()}}_emitMany(e){this._viewEventQueue?this._viewEventQueue=this._viewEventQueue.concat(e):this._viewEventQueue=e,this._isConsumingViewEventQueue||this._consumeViewEventQueue()}_consumeViewEventQueue(){try{this._isConsumingViewEventQueue=!0,this._doConsumeQueue()}finally{this._isConsumingViewEventQueue=!1}}_doConsumeQueue(){while(this._viewEventQueue){const e=this._viewEventQueue;this._viewEventQueue=null;const t=this._eventHandlers.slice(0);for(const n of t)n.handleEvents(e)}}}class vx{constructor(){this.viewEvents=[],this.outgoingEvents=[]}emitViewEvent(e){this.viewEvents.push(e)}emitOutgoingEvent(e){this.outgoingEvents.push(e)}}class yx{constructor(e,t,n,i){this.kind=0,this._oldContentWidth=e,this._oldContentHeight=t,this.contentWidth=n,this.contentHeight=i,this.contentWidthChanged=this._oldContentWidth!==this.contentWidth,this.contentHeightChanged=this._oldContentHeight!==this.contentHeight}isNoOp(){return!this.contentWidthChanged&&!this.contentHeightChanged}merge(e){return 0!==e.kind?this:new yx(this._oldContentWidth,this._oldContentHeight,e.contentWidth,e.contentHeight)}}class wx{constructor(e,t){this.kind=1,this.oldHasFocus=e,this.hasFocus=t}isNoOp(){return this.oldHasFocus===this.hasFocus}merge(e){return 1!==e.kind?this:new wx(this.oldHasFocus,e.hasFocus)}}class _x{constructor(e,t,n,i,o,r,s,a){this.kind=2,this._oldScrollWidth=e,this._oldScrollLeft=t,this._oldScrollHeight=n,this._oldScrollTop=i,this.scrollWidth=o,this.scrollLeft=r,this.scrollHeight=s,this.scrollTop=a,this.scrollWidthChanged=this._oldScrollWidth!==this.scrollWidth,this.scrollLeftChanged=this._oldScrollLeft!==this.scrollLeft,this.scrollHeightChanged=this._oldScrollHeight!==this.scrollHeight,this.scrollTopChanged=this._oldScrollTop!==this.scrollTop}isNoOp(){return!this.scrollWidthChanged&&!this.scrollLeftChanged&&!this.scrollHeightChanged&&!this.scrollTopChanged}merge(e){return 2!==e.kind?this:new _x(this._oldScrollWidth,this._oldScrollLeft,this._oldScrollHeight,this._oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop)}}class Ax{constructor(){this.kind=3}isNoOp(){return!1}merge(e){return this}}class Cx{constructor(e,t,n,i,o,r,s){this.kind=5,this.oldSelections=e,this.selections=t,this.oldModelVersionId=n,this.modelVersionId=i,this.source=o,this.reason=r,this.reachedMaxCursorCount=s}static _selectionsAreEqual(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;const n=e.length,i=t.length;if(n!==i)return!1;for(let o=0;o<n;o++)if(!e[o].equalsSelection(t[o]))return!1;return!0}isNoOp(){return Cx._selectionsAreEqual(this.oldSelections,this.selections)&&this.oldModelVersionId===this.modelVersionId}merge(e){return 5!==e.kind?this:new Cx(this.oldSelections,e.selections,this.oldModelVersionId,e.modelVersionId,e.source,e.reason,this.reachedMaxCursorCount||e.reachedMaxCursorCount)}}class Ex{constructor(){this.kind=4}isNoOp(){return!1}merge(e){return this}}class xx{constructor(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getCursorStates()}equals(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(let t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0}}class Sx{constructor(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}static getAllAutoClosedCharacters(e){let t=[];for(const n of e)t=t.concat(n.getAutoClosedCharactersRanges());return t}dispose(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])}getAutoClosedCharactersRanges(){let e=[];for(let t=0;t<this._autoClosedCharactersDecorations.length;t++){const n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e}isValid(e){let t=[];for(let n=0;n<this._autoClosedEnclosingDecorations.length;n++){const e=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(e&&(t.push(e),e.startLineNumber!==e.endLineNumber))return!1}t.sort(fn.compareRangesUsingStarts),e.sort(fn.compareRangesUsingStarts);for(let n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class Dx extends Ge{constructor(e,t,n,i){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=n,this.context=new my(this._model,this._coordinatesConverter,i),this._cursors=new ex(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=We(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new my(this._model,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(this._autoClosedActions.length>0){let e=this._cursors.getSelections();for(let t=0;t<this._autoClosedActions.length;t++){const n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}}}getPrimaryCursorState(){return this._cursors.getPrimaryCursor()}getLastAddedCursorIndex(){return this._cursors.getLastAddedCursorIndex()}getCursorStates(){return this._cursors.getAll()}setStates(e,t,n,i){let o=!1;null!==i&&i.length>Dx.MAX_CURSOR_COUNT&&(i=i.slice(0,Dx.MAX_CURSOR_COUNT),o=!0);const r=new xx(this._model,this);return this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,n,r,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,n,i){const o=this._cursors.getViewPositions();if(o.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),0,n,i);else{const r=o[0],s=new fn(r.lineNumber,r.column,r.lineNumber,r.column);this._emitCursorRevealRange(e,t,s,null,0,n,i)}}_revealPrimaryCursor(e,t,n,i,o){const r=this._cursors.getViewPositions();if(r.length>1)this._emitCursorRevealRange(e,t,null,this._cursors.getViewSelections(),n,i,o);else{const s=r[0],a=new fn(s.lineNumber,s.column,s.lineNumber,s.column);this._emitCursorRevealRange(e,t,a,null,n,i,o)}}_emitCursorRevealRange(e,t,n,i,o,r,s){e.emitViewEvent(new ux(t,n,i,o,r,s))}saveState(){let e=[];const t=this._cursors.getSelections();for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e}restoreState(e,t){let n=[];for(let i=0,o=t.length;i<o;i++){const e=t[i];let o=1,r=1;e.position&&e.position.lineNumber&&(o=e.position.lineNumber),e.position&&e.position.column&&(r=e.position.column);let s=o,a=r;e.selectionStart&&e.selectionStart.lineNumber&&(s=e.selectionStart.lineNumber),e.selectionStart&&e.selectionStart.column&&(a=e.selectionStart.column),n.push({selectionStartLineNumber:s,selectionStartColumn:a,positionLineNumber:o,positionColumn:r})}this.setStates(e,"restoreState",0,yy.fromModelSelections(n)),this.revealPrimary(e,"restoreState",!0,1)}onModelContentChanged(e,t){if(this._knownModelVersionId=t.versionId,this._isHandling)return;const n=t.containsEvent(1);if(this._prevEditOperationType=0,n)this._cursors.dispose(),this._cursors=new ex(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,"model",1,null,!1);else if(this._hasFocus&&t.resultingSelection&&t.resultingSelection.length>0){const n=yy.fromModelSelections(t.resultingSelection);this.setStates(e,"modelChange",t.isUndoing?5:t.isRedoing?6:2,n)&&this._revealPrimaryCursor(e,"modelChange",0,!0,0)}else{const t=this._cursors.readSelectionFromMarkers();this.setStates(e,"modelChange",2,yy.fromModelSelections(t))}}getSelection(){return this._cursors.getPrimaryCursor().modelState.selection}getTopMostViewPosition(){return this._cursors.getTopMostViewPosition()}getBottomMostViewPosition(){return this._cursors.getBottomMostViewPosition()}getCursorColumnSelectData(){if(this._columnSelectData)return this._columnSelectData;const e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=e.viewState.position;return{isReal:!1,fromViewLineNumber:t.lineNumber,fromViewVisualColumn:_y.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,t),toViewLineNumber:n.lineNumber,toViewVisualColumn:_y.visibleColumnFromColumn2(this.context.cursorConfig,this._viewModel,n)}}getSelections(){return this._cursors.getSelections()}setSelections(e,t,n){this.setStates(e,t,0,yy.fromModelSelections(n))}getPrevEditOperationType(){return this._prevEditOperationType}setPrevEditOperationType(e){this._prevEditOperationType=e}_pushAutoClosedAction(e,t){let n=[],i=[];for(let s=0,a=e.length;s<a;s++)n.push({range:e[s],options:{inlineClassName:"auto-closed-character",stickiness:1}}),i.push({range:t[s],options:{stickiness:1}});const o=this._model.deltaDecorations([],n),r=this._model.deltaDecorations([],i);this._autoClosedActions.push(new Sx(this._model,o,r))}_executeEditOperation(e){if(!e)return;e.shouldPushStackElementBefore&&this._model.pushStackElement();const t=kx.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);let n=[],i=[];for(let t=0;t<e.commands.length;t++){const o=e.commands[t];o instanceof jA&&o.enclosingRange&&o.closeCharacterRange&&(n.push(o.closeCharacterRange),i.push(o.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}_interpretCommandResult(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()}_emitStateChangedIfNecessary(e,t,n,i,o){const r=new xx(this._model,this);if(r.equals(i))return!1;const s=this._cursors.getSelections(),a=this._cursors.getViewSelections();if(e.emitViewEvent(new nx(a,s)),!i||i.cursorState.length!==r.cursorState.length||r.cursorState.some((e,t)=>!e.modelState.equals(i.cursorState[t].modelState))){const a=i?i.cursorState.map(e=>e.modelState.selection):null,l=i?i.modelVersionId:0;e.emitOutgoingEvent(new Cx(a,s,l,r.modelVersionId,t||"keyboard",n,o))}return!0}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;const o=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;const r=o[1],s=this.context.cursorConfig.autoClosingPairsClose2.get(r);if(!s||1!==s.length)return null;const a=s[0].open,l=i.text.length-o[2].length-1,c=i.text.lastIndexOf(a,l-1);if(-1===c)return null;t.push([c,l])}return t}executeEdits(e,t,n,i){let o=null;"snippet"===t&&(o=this._findAutoClosingPairs(n)),o&&(n[0]._isTracked=!0);let r=[],s=[];const a=this._model.pushEditOperations(this.getSelections(),n,e=>{if(o)for(let n=0,i=o.length;n<i;n++){const[t,i]=o[n],a=e[n],l=a.range.startLineNumber,c=a.range.startColumn-1+t,h=a.range.startColumn-1+i;r.push(new fn(l,h+1,l,h+2)),s.push(new fn(l,c+1,l,h+2))}const t=i(e);return t&&(this._isHandling=!0),t});a&&(this._isHandling=!1,this.setSelections(e,t,a)),r.length>0&&this._pushAutoClosedAction(r,s)}_executeEdit(e,t,n,i=0){if(this.context.cursorConfig.readOnly)return;const o=new xx(this._model,this);this._cursors.stopTrackingSelections(),this._isHandling=!0;try{this._cursors.ensureValidState(),e()}catch(r){Me(r)}this._isHandling=!1,this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(t,n,i,o,!1)&&this._revealPrimaryCursor(t,n,0,!0,0)}setIsDoingComposition(e){this._isDoingComposition=e}startComposition(e){this._selectionsWhenCompositionStarted=this.getSelections().slice(0)}endComposition(e,t){this._executeEdit(()=>{if("keyboard"===t){const e=Sx.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(FA.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),e)),this._selectionsWhenCompositionStarted=null}},e,t)}type(e,t,n){this._executeEdit(()=>{if("keyboard"===n){const e=t.length;let n=0;while(n<e){const e=Rr["J"](t,n),i=t.substr(n,e),o=Sx.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(FA.typeWithInterceptors(this._isDoingComposition,this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),o,i)),n+=e}}else this._executeEditOperation(FA.typeWithoutInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t))},e,n)}replacePreviousChar(e,t,n,i){this._executeEdit(()=>{this._executeEditOperation(FA.replacePreviousChar(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,n))},e,i)}paste(e,t,n,i,o){this._executeEdit(()=>{this._executeEditOperation(FA.paste(this.context.cursorConfig,this._model,this.getSelections(),t,n,i||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(NA.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,n){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new wy(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}executeCommands(e,t,n){this._executeEdit(()=>{this._executeEditOperation(new wy(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,n)}}Dx.MAX_CURSOR_COUNT=1e4;class kx{static executeCommands(e,t,n){const i={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},o=this._innerExecuteCommands(i,n);for(let r=0,s=i.trackedRanges.length;r<s;r++)i.model._setTrackedRange(i.trackedRanges[r],null,0);return o}static _innerExecuteCommands(e,t){if(this._arrayIsEmpty(t))return null;const n=this._getEditOperations(e,t);if(0===n.operations.length)return null;const i=n.operations,o=this._getLoserCursorMap(i);if(o.hasOwnProperty("0"))return null;let r=[];for(let l=0,c=i.length;l<c;l++)o.hasOwnProperty(i[l].identifier.major.toString())||r.push(i[l]);n.hadTrackedEditOperation&&r.length>0&&(r[0]._isTracked=!0);let s=e.model.pushEditOperations(e.selectionsBefore,r,n=>{let i=[];for(let t=0;t<e.selectionsBefore.length;t++)i[t]=[];for(const e of n)e.identifier&&i[e.identifier.major].push(e);const o=(e,t)=>e.identifier.minor-t.identifier.minor;let r=[];for(let s=0;s<e.selectionsBefore.length;s++)i[s].length>0?(i[s].sort(o),r[s]=t[s].computeCursorState(e.model,{getInverseEditOperations:()=>i[s],getTrackedSelection:t=>{const n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new gn(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new gn(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):r[s]=e.selectionsBefore[s];return r});s||(s=e.selectionsBefore);let a=[];for(let l in o)o.hasOwnProperty(l)&&a.push(parseInt(l,10));a.sort((e,t)=>t-e);for(const l of a)s.splice(l,1);return s}static _arrayIsEmpty(e){for(let t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0}static _getEditOperations(e,t){let n=[],i=!1;for(let o=0,r=t.length;o<r;o++){const r=t[o];if(r){const t=this._getEditOperationsFromCommand(e,o,r);n=n.concat(t.operations),i=i||t.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:i}}static _getEditOperationsFromCommand(e,t,n){let i=[],o=0;const r=(e,r,s=!1)=>{fn.isEmpty(e)&&""===r||i.push({identifier:{major:t,minor:o++},range:e,text:r,forceMoveMarkers:s,isAutoWhitespaceEdit:n.insertsAutoWhitespace})};let s=!1;const a=(e,t,n)=>{s=!0,r(e,t,n)},l=(t,n)=>{const i=gn.liftSelection(t);let o;if(i.isEmpty())if("boolean"===typeof n)o=n?2:3;else{const t=e.model.getLineMaxColumn(i.startLineNumber);o=i.startColumn===t?2:3}else o=1;const r=e.trackedRanges.length,s=e.model._setTrackedRange(null,i,o);return e.trackedRanges[r]=s,e.trackedRangesDirection[r]=i.getDirection(),r.toString()},c={addEditOperation:r,addTrackedEditOperation:a,trackSelection:l};try{n.getEditOperations(e.model,c)}catch(h){return Me(h),{operations:[],hadTrackedEditOperation:!1}}return{operations:i,hadTrackedEditOperation:s}}static _getLoserCursorMap(e){e=e.slice(0),e.sort((e,t)=>-fn.compareRangesUsingEnds(e.range,t.range));let t={};for(let n=1;n<e.length;n++){const i=e[n-1],o=e[n];if(fn.getStartPosition(i.range).isBefore(fn.getEndPosition(o.range))){let r;r=i.identifier.major>o.identifier.major?i.identifier.major:o.identifier.major,t[r.toString()]=!0;for(let t=0;t<e.length;t++)e[t].identifier.major===r&&(e.splice(t,1),t<n&&n--,t--);n>0&&n--}}return t}}class Mx{constructor(e,t,n,i,o,r){this.id=e,this.label=t,this.alias=n,this._precondition=i,this._run=o,this._contextKeyService=r}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}function Nx(e,t,n,i,o,r,s){let a="<div>",l=i,c=0;for(let h=0,u=t.getCount();h<u;h++){const u=t.getEndOffset(h);if(u<=i)continue;let d="";for(;l<u&&l<o;l++){const t=e.charCodeAt(l);switch(t){case 9:let e=r-(l+c)%r;c+=e-1;while(e>0)d+=s?"&#160;":" ",e--;break;case 60:d+="&lt;";break;case 62:d+="&gt;";break;case 38:d+="&amp;";break;case 0:d+="&#00;";break;case 65279:case 8232:case 8233:case 133:d+="�";break;case 13:d+="&#8203";break;case 32:d+=s?"&#160;":" ";break;default:d+=String.fromCharCode(t)}}if(a+=`<span style="${t.getInlineStyle(h,n)}">${d}</span>`,u>o||l>=o)break}return a+="</div>",a}class Lx{constructor(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}insert(e){this._hasPending=!0,this._inserts.push(e)}change(e){this._hasPending=!0,this._changes.push(e)}remove(e){this._hasPending=!0,this._removes.push(e)}mustCommit(){return this._hasPending}commit(e){if(!this._hasPending)return;const t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}}class Bx{constructor(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0}}class Ix{constructor(e,t,n,i){this._instanceId=Rr["O"](++Ix.INSTANCE_COUNT),this._pendingChanges=new Lx,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=e,this._lineHeight=t,this._paddingTop=n,this._paddingBottom=i}static findInsertionIndex(e,t,n){let i=0,o=e.length;while(i<o){const r=i+o>>>1;t===e[r].afterLineNumber?n<e[r].ordinal?o=r:i=r+1:t<e[r].afterLineNumber?o=r:i=r+1}return i}setLineHeight(e){this._checkPendingChanges(),this._lineHeight=e}setPadding(e,t){this._paddingTop=e,this._paddingBottom=t}onFlushed(e){this._checkPendingChanges(),this._lineCount=e}changeWhitespace(e){let t=!1;try{const n={insertWhitespace:(e,n,i,o)=>{t=!0,e|=0,n|=0,i|=0,o|=0;const r=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Bx(r,e,n,i,o)),r},changeOneWhitespace:(e,n,i)=>{t=!0,n|=0,i|=0,this._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:i})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}};e(n)}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(const t of e)this._insertWhitespace(t);for(const e of t)this._changeOneWhitespace(e.id,e.newAfterLineNumber,e.newHeight);for(const e of n){const t=this._findWhitespaceIndex(e.id);-1!==t&&this._removeWhitespace(t)}return}const i=new Set;for(const a of n)i.add(a.id);const o=new Map;for(const a of t)o.set(a.id,a);const r=e=>{let t=[];for(const n of e)if(!i.has(n.id)){if(o.has(n.id)){const e=o.get(n.id);n.afterLineNumber=e.newAfterLineNumber,n.height=e.newHeight}t.push(n)}return t},s=r(this._arr).concat(r(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){const t=Ix.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){const t=this._arr;for(let n=0,i=t.length;n<i;n++)if(t[n].id===e)return n;return-1}_changeOneWhitespace(e,t,n){const i=this._findWhitespaceIndex(e);if(-1!==i&&(this._arr[i].height!==n&&(this._arr[i].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,i-1)),this._arr[i].afterLineNumber!==t)){const e=this._arr[i];this._removeWhitespace(i),e.afterLineNumber=t,this._insertWhitespace(e)}}_removeWhitespace(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)}onLinesDeleted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const i=this._arr[n].afterLineNumber;e<=i&&i<=t?this._arr[n].afterLineNumber=e-1:i>t&&(this._arr[n].afterLineNumber-=t-e+1)}}onLinesInserted(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(let n=0,i=this._arr.length;n<i;n++){const i=this._arr[n].afterLineNumber;e<=i&&(this._arr[n].afterLineNumber+=t-e+1)}}getWhitespacesTotalHeight(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)}getWhitespacesAccumulatedHeight(e){this._checkPendingChanges(),e|=0;let t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(let n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum}getLinesTotalHeight(){this._checkPendingChanges();const e=this._lineHeight*this._lineCount,t=this.getWhitespacesTotalHeight();return e+t+this._paddingTop+this._paddingBottom}getWhitespaceAccumulatedHeightBeforeLineNumber(e){this._checkPendingChanges(),e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)}_findLastWhitespaceBeforeLineNumber(e){e|=0;const t=this._arr;let n=0,i=t.length-1;while(n<=i){const o=i-n|0,r=o/2|0,s=n+r|0;if(t[s].afterLineNumber<e){if(s+1>=t.length||t[s+1].afterLineNumber>=e)return s;n=s+1|0}else i=s-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){e|=0;const t=this._findLastWhitespaceBeforeLineNumber(e),n=t+1;return n<this._arr.length?n:-1}getFirstWhitespaceIndexAfterLineNumber(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)}getVerticalOffsetForLineNumber(e){let t;this._checkPendingChanges(),e|=0,t=e>1?this._lineHeight*(e-1):0;const n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e);return t+n+this._paddingTop}getWhitespaceMinWidth(){if(this._checkPendingChanges(),-1===this._minWidth){let e=0;for(let t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth}isAfterLines(e){this._checkPendingChanges();const t=this.getLinesTotalHeight();return e>t}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),e|=0,e<0)return 1;const t=0|this._lineCount,n=this._lineHeight;let i=1,o=t;while(i<o){const t=(i+o)/2|0,r=0|this.getVerticalOffsetForLineNumber(t);if(e>=r+n)i=t+1;else{if(e>=r)return t;o=t}}return i>t?t:i}getLinesViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this._lineHeight,i=0|this.getLineNumberAtOrAfterVerticalOffset(e),o=0|this.getVerticalOffsetForLineNumber(i);let r=0|this._lineCount,s=0|this.getFirstWhitespaceIndexAfterLineNumber(i);const a=0|this.getWhitespacesCount();let l,c;-1===s?(s=a,c=r+1,l=0):(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));let h=o,u=h;const d=5e5;let p=0;o>=d&&(p=Math.floor(o/d)*d,p=Math.floor(p/n)*n,u-=p);const f=[],g=e+(t-e)/2;let m=-1;for(let w=i;w<=r;w++){if(-1===m){const e=h,t=h+n;(e<=g&&g<t||e>g)&&(m=w)}h+=n,f[w-i]=u,u+=n;while(c===w)u+=l,h+=l,s++,s>=a?c=r+1:(c=0|this.getAfterLineNumberForWhitespaceIndex(s),l=0|this.getHeightForWhitespaceIndex(s));if(h>=t){r=w;break}}-1===m&&(m=r);const b=0|this.getVerticalOffsetForLineNumber(r);let v=i,y=r;return v<y&&o<e&&v++,v<y&&b+n>t&&y--,{bigNumbersDelta:p,startLineNumber:i,endLineNumber:r,relativeVerticalOffset:f,centeredLineNumber:m,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:y}}getVerticalOffsetForWhitespaceIndex(e){this._checkPendingChanges(),e|=0;const t=this.getAfterLineNumberForWhitespaceIndex(e);let n,i;return n=t>=1?this._lineHeight*t:0,i=e>0?this.getWhitespacesAccumulatedHeight(e-1):0,n+i+this._paddingTop}getWhitespaceIndexAtOrAfterVerticallOffset(e){this._checkPendingChanges(),e|=0;let t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;const i=this.getVerticalOffsetForWhitespaceIndex(n),o=this.getHeightForWhitespaceIndex(n);if(e>=i+o)return-1;while(t<n){const i=Math.floor((t+n)/2),o=this.getVerticalOffsetForWhitespaceIndex(i),r=this.getHeightForWhitespaceIndex(i);if(e>=o+r)t=i+1;else{if(e>=o)return i;n=i}}return t}getWhitespaceAtVerticalOffset(e){this._checkPendingChanges(),e|=0;const t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;const n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;const i=this.getHeightForWhitespaceIndex(t),o=this.getIdForWhitespaceIndex(t),r=this.getAfterLineNumberForWhitespaceIndex(t);return{id:o,afterLineNumber:r,verticalOffset:n,height:i}}getWhitespaceViewportData(e,t){this._checkPendingChanges(),e|=0,t|=0;const n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];let o=[];for(let r=n;r<=i;r++){const e=this.getVerticalOffsetForWhitespaceIndex(r),n=this.getHeightForWhitespaceIndex(r);if(e>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:e,height:n})}return o}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),e|=0,this._arr[e].height}}Ix.INSTANCE_COUNT=0;const Tx=125;class Ox{constructor(e,t,n,i){e|=0,t|=0,n|=0,i|=0,e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),i<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class Rx extends Ge{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new et),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Ox(0,0,0,0),this._scrollable=this._register(new BC(e,t)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){if(this._dimensions.equals(e))return;const t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0);const n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire(new yx(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class Px extends Ge{constructor(e,t,n){super(),this._configuration=e;const i=this._configuration.options,o=i.get(117),r=i.get(66);this._linesLayout=new Ix(t,i.get(51),r.top,r.bottom),this._scrollable=this._register(new Rx(0,n)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Ox(o.contentWidth,0,o.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(94)?Tx:0)}onConfigurationChanged(e){const t=this._configuration.options;if(e.hasChanged(51)&&this._linesLayout.setLineHeight(t.get(51)),e.hasChanged(66)){const e=t.get(66);this._linesLayout.setPadding(e.top,e.bottom)}if(e.hasChanged(117)){const e=t.get(117),n=e.contentWidth,i=e.height,o=this._scrollable.getScrollDimensions(),r=o.contentWidth;this._scrollable.setScrollDimensions(new Ox(n,o.contentWidth,i,this._getContentHeight(n,i,r)))}else this._updateHeight();e.hasChanged(94)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const n=this._configuration.options,i=n.get(84);return 2===i.horizontal||e>=t?0:i.horizontalScrollbarSize}_getContentHeight(e,t,n){const i=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return i.get(86)?o+=t-i.get(51):o+=this._getHorizontalScrollbarHeight(e,n),o}_updateHeight(){const e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.contentWidth;this._scrollable.setScrollDimensions(new Ox(t,e.contentWidth,n,this._getContentHeight(t,n,i)))}getCurrentViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new ju(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){const e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new ju(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options,n=t.get(118),i=t.get(36);if(n.isViewportWrapping){const n=t.get(117),o=t.get(56);return e>n.contentWidth+i.typicalHalfwidthCharacterWidth&&o.enabled&&"right"===o.side?e+n.verticalScrollbarWidth:e}{const n=t.get(85)*i.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,o)}}setMaxLineWidth(e){const t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Ox(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){const e=this._scrollable.getFutureScrollPosition();let t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),i=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n);return{scrollTop:t,scrollTopWithoutViewZones:t-i,scrollLeft:e.scrollLeft}}changeWhitespace(e){const t=this._linesLayout.changeWhitespace(e);return t&&this.onHeightMaybeChanged(),t}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){const t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)}getWhitespaceViewportData(){const e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){const e=this._scrollable.getScrollDimensions();return e.contentWidth}getScrollWidth(){const e=this._scrollable.getScrollDimensions();return e.scrollWidth}getContentHeight(){const e=this._scrollable.getScrollDimensions();return e.contentHeight}getScrollHeight(){const e=this._scrollable.getScrollDimensions();return e.scrollHeight}getCurrentScrollLeft(){const e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft}getCurrentScrollTop(){const e=this._scrollable.getCurrentScrollPosition();return e.scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){const n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})}}class Fx{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}}class jx{constructor(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}static getInputOffsetOfOutputPosition(e,t,n){return 0===t?n:e[t-1]+n}static getOutputPositionOfInputOffset(e,t){let n=0,i=e.length-1,o=0,r=0;while(n<=i){o=n+(i-n)/2|0;const s=e[o];if(r=o>0?e[o-1]:0,t<r)i=o-1;else{if(!(t>=s))break;n=o+1}}return new Fx(o,t-r)}}class Qx{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)}convertModelRangeToViewRange(e){return this._lines.convertModelRangeToViewRange(e)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}}class zx{constructor(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,t=this._counts.length;e<t;e++){const t=this._counts[e],n=e>0?this._modelToView[e-1]:0;this._modelToView[e]=n+t;for(let i=0;i<t;i++)this._viewToModel[n+i]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}}changeValue(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))}removeValues(e,t){this._counts.splice(e,t),this._invalidate(e)}insertValues(e,t){this._counts=lo(this._counts,e,t),this._invalidate(e)}getTotalValue(){return this._ensureValid(),this._viewToModel.length}getAccumulatedValue(e){return this._ensureValid(),this._modelToView[e]}getIndexOf(e){this._ensureValid();const t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new Bh(t,e-n)}}class Vx{constructor(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}dispose(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])}createCoordinatesConverter(){return new Qx(this)}_constructLines(e,t){this.lines=[],e&&(this.hiddenAreasIds=[]);let n=this.model.getLinesContent();const i=n.length,o=this.createLineBreaksComputer();for(let d=0;d<i;d++)o.addRequest(n[d],t?t[d]:null);const r=o.finalize();let s=[],a=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(fn.compareRangesUsingStarts),l=1,c=0,h=-1,u=h+1<a.length?c+1:i+2;for(let d=0;d<i;d++){let e=d+1;e===u&&(h++,l=a[h].startLineNumber,c=a[h].endLineNumber,u=h+1<a.length?c+1:i+2);let t=e>=l&&e<=c,n=qx(r[d],!t);s[d]=n.getViewLineCount(),this.lines[d]=n}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new zx(s)}getHiddenAreas(){return this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e))}_reduceRanges(e){if(0===e.length)return[];let t=e.map(e=>this.model.validateRange(e)).sort(fn.compareRangesUsingStarts),n=[],i=t[0].startLineNumber,o=t[0].endLineNumber;for(let r=1,s=t.length;r<s;r++){let e=t[r];e.startLineNumber>o+1?(n.push(new fn(i,1,o,1)),i=e.startLineNumber,o=e.endLineNumber):e.endLineNumber>o&&(o=e.endLineNumber)}return n.push(new fn(i,1,o,1)),n}setHiddenAreas(e){let t=this._reduceRanges(e),n=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(fn.compareRangesUsingStarts);if(t.length===n.length){let e=!1;for(let i=0;i<t.length;i++)if(!t[i].equalsRange(n[i])){e=!0;break}if(!e)return!1}let i=[];for(const h of t)i.push({range:h,options:ry.EMPTY});this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,i);let o=t,r=1,s=0,a=-1,l=a+1<o.length?s+1:this.lines.length+2,c=!1;for(let h=0;h<this.lines.length;h++){let e=h+1;e===l&&(a++,r=o[a].startLineNumber,s=o[a].endLineNumber,l=a+1<o.length?s+1:this.lines.length+2);let t=!1;if(e>=r&&e<=s?this.lines[h].isVisible()&&(this.lines[h]=this.lines[h].setVisible(!1),t=!0):(c=!0,this.lines[h].isVisible()||(this.lines[h]=this.lines[h].setVisible(!0),t=!0)),t){let e=this.lines[h].getViewLineCount();this.prefixSumComputer.changeValue(h,e)}}return c||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,n,i){const o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;const l=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;let c=null;if(l){c=[];for(let e=0,t=this.lines.length;e<t;e++)c[e]=this.lines[e].getLineBreakData()}return this._constructLines(!1,c),!0}createLineBreaksComputer(){const e="advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory;return e.createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)}onModelFlushed(){this._constructLines(!0,null)}onModelLinesDeleted(e,t,n){if(e<=this._validModelVersionId)return null;let i=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new cx(i,o)}onModelLinesInserted(e,t,n,i){if(e<=this._validModelVersionId)return null;let o=this.getHiddenAreas(),r=!1,s=new pn(t,1);for(const u of o)if(u.containsPosition(s)){r=!0;break}let a=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,l=0,c=[],h=[];for(let u=0,d=i.length;u<d;u++){let e=qx(i[u],!r);c.push(e);let t=e.getViewLineCount();l+=t,h[u]=t}return this.lines=this.lines.slice(0,t-1).concat(c).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,h),new hx(a,a+l-1)}onModelLineChanged(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];let i=t-1,o=this.lines[i].getViewLineCount(),r=this.lines[i].isVisible(),s=qx(n,r);this.lines[i]=s;let a=this.lines[i].getViewLineCount(),l=!1,c=0,h=-1,u=0,d=-1,p=0,f=-1;o>a?(c=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=c+a-1,p=h+1,f=p+(o-a)-1,l=!0):o<a?(c=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=c+o-1,u=h+1,d=u+(a-o)-1,l=!0):(c=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=c+a-1),this.prefixSumComputer.changeValue(i,a);const g=c<=h?new lx(c,h):null,m=u<=d?new hx(u,d):null,b=p<=f?new cx(p,f):null;return[l,g,m,b]}acceptVersionId(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])}getViewLineCount(){return this.prefixSumComputer.getTotalValue()}_toValidViewLineNumber(e){if(e<1)return 1;const t=this.getViewLineCount();return e>t?t:0|e}getActiveIndentGuide(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);const i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),l=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:l.lineNumber,indent:s.indent}}getViewLinesIndentGuides(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);const n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t));let o=[],r=[],s=[];const a=n.lineNumber-1,l=i.lineNumber-1;let c=null;for(let p=a;p<=l;p++){const e=this.lines[p];if(e.isVisible()){let t=e.getViewLineNumberOfModelPosition(0,p===a?n.column:1),i=e.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(p+1)),o=i-t+1,l=0;o>1&&1===e.getViewLineMinColumn(this.model,p+1,i)&&(l=0===t?1:2),r.push(o),s.push(l),null===c&&(c=new pn(p+1,0))}else null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,p)),c=null)}null!==c&&(o=o.concat(this.model.getLinesIndentGuides(c.lineNumber,i.lineNumber)),c=null);const h=t-e+1;let u=new Array(h),d=0;for(let p=0,f=o.length;p<f;p++){let e,t=o[p],n=Math.min(h-d,r[p]),i=s[p];e=2===i?0:1===i?1:n;for(let o=0;o<n;o++)o===e&&(t=0),u[d++]=t}return u}getViewLineContent(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,i)}getViewLineLength(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,i)}getViewLineMinColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,i)}getViewLineMaxColumn(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,i)}getViewLineData(e){e=this._toValidViewLineNumber(e);let t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,i=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,i)}getViewLinesData(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);let i=this.prefixSumComputer.getIndexOf(e-1),o=e,r=i.index,s=i.remainder,a=[];for(let l=r,c=this.model.getLineCount();l<c;l++){let i=this.lines[l];if(!i.isVisible())continue;let c=l===r?s:0,h=i.getViewLineCount()-c,u=!1;o+h>t&&(u=!0,h=t-o+1);let d=c+h;if(i.getViewLinesData(this.model,l+1,c,d,o-e,n,a),o+=h,u)break}return a}validateViewPosition(e,t,n){e=this._toValidViewLineNumber(e);let i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),l=s.getViewLineMaxColumn(this.model,o+1,r);t<a&&(t=a),t>l&&(t=l);let c=s.getModelColumnOfViewPosition(r,t),h=this.model.validatePosition(new pn(o+1,c));return h.equals(n)?new pn(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)}validateViewRange(e,t){const n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new fn(n.lineNumber,n.column,i.lineNumber,i.column)}convertViewPositionToModelPosition(e,t){e=this._toValidViewLineNumber(e);let n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new pn(i+1,r))}convertViewRangeToModelRange(e){const t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new fn(t.lineNumber,t.column,n.lineNumber,n.column)}convertModelPositionToViewPosition(e,t){const n=this.model.validatePosition(new pn(e,t)),i=n.lineNumber,o=n.column;let r=i-1,s=!1;while(r>0&&!this.lines[r].isVisible())r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new pn(1,1);const a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));let l;return l=s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o),l}convertModelRangeToViewRange(e){let t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new fn(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new fn(t.lineNumber,t.column,n.lineNumber,n.column)}_getViewLineNumberForModelPosition(e,t){let n=e-1;if(this.lines[n].isVisible()){const e=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(e,t)}while(n>0&&!this.lines[n].isVisible())n--;if(0===n&&!this.lines[n].isVisible())return 1;const i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),o=new $x;for(const r of i){const e=r.options.overviewRuler,t=e?e.position:0;if(0===t)continue;const i=e.getColor(n),s=this._getViewLineNumberForModelPosition(r.range.startLineNumber,r.range.startColumn),a=this._getViewLineNumberForModelPosition(r.range.endLineNumber,r.range.endColumn);o.accept(i,s,a,t)}return o.result}getDecorationsInRange(e,t,n){const i=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),o=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(o.lineNumber-i.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new fn(i.lineNumber,1,o.lineNumber,o.column),t,n);let r=[];const s=i.lineNumber-1,a=o.lineNumber-1;let l=null;for(let d=s;d<=a;d++){const e=this.lines[d];if(e.isVisible())null===l&&(l=new pn(d+1,d===s?i.column:1));else if(null!==l){const e=this.model.getLineMaxColumn(d);r=r.concat(this.model.getDecorationsInRange(new fn(l.lineNumber,l.column,d,e),t,n)),l=null}}null!==l&&(r=r.concat(this.model.getDecorationsInRange(new fn(l.lineNumber,l.column,o.lineNumber,o.column),t,n)),l=null),r.sort((e,t)=>{const n=fn.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n});let c=[],h=0,u=null;for(const d of r){const e=d.id;u!==e&&(u=e,c[h++]=d)}return c}}class Wx{constructor(){}isVisible(){return!0}setVisible(e){return e?this:Hx.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,n){return e.getLineContent(t)}getViewLineLength(e,t,n){return e.getLineLength(t)}getViewLineMinColumn(e,t,n){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,n){return e.getLineMaxColumn(t)}getViewLineData(e,t,n){let i=e.getLineTokens(t),o=i.getLineContent();return new zu(o,!1,1,o.length+1,0,i.inflate())}getViewLinesData(e,t,n,i,o,r,s){r[o]?s[o]=this.getViewLineData(e,t,0):s[o]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new pn(e,t)}getViewLineNumberOfModelPosition(e,t){return e}}Wx.INSTANCE=new Wx;class Hx{constructor(){}isVisible(){return!1}setVisible(e){return e?Wx.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,n){throw new Error("Not supported")}getViewLineLength(e,t,n){throw new Error("Not supported")}getViewLineMinColumn(e,t,n){throw new Error("Not supported")}getViewLineMaxColumn(e,t,n){throw new Error("Not supported")}getViewLineData(e,t,n){throw new Error("Not supported")}getViewLinesData(e,t,n,i,o,r,s){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}}Hx.INSTANCE=new Hx;class Ux{constructor(e,t){this._lineBreakData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(e){return jx.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)}getInputEndOffsetOfOutputLineIndex(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:jx.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)}getViewLineContent(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});return n>0&&(r=Gx(this._lineBreakData.wrappedTextIndentLength)+r),r}getViewLineLength(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=o-i;return n>0&&(r=this._lineBreakData.wrappedTextIndentLength+r),r}getViewLineMinColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1}getViewLineMaxColumn(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1}getViewLineData(e,t,n){if(!this._isVisible)throw new Error("Not supported");let i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=Gx(this._lineBreakData.wrappedTextIndentLength)+r);let s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,l=n+1<this.getViewLineCount(),c=0;n>0&&(c=this._lineBreakData.wrappedTextIndentLength);let h=e.getLineTokens(t);const u=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new zu(r,l,s,a,u,h.sliceAndInflate(i,o,c))}getViewLinesData(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(let a=n;a<i;a++){let i=o+a-n;r[i]?s[i]=this.getViewLineData(e,t,a):s[i]=null}}getModelColumnOfViewPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),jx.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1}getViewPositionOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");let n=jx.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),i=n.outputLineIndex,o=n.outputOffset+1;return i>0&&(o+=this._lineBreakData.wrappedTextIndentLength),new pn(e+i,o)}getViewLineNumberOfModelPosition(e,t){if(!this._isVisible)throw new Error("Not supported");const n=jx.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1);return e+n.outputLineIndex}}let Yx=[""];function Gx(e){if(e>=Yx.length)for(let t=1;t<=e;t++)Yx[t]=Kx(t);return Yx[e]}function Kx(e){return new Array(e+1).join(" ")}function qx(e,t){return null===e?t?Wx.INSTANCE:Hx.INSTANCE:new Ux(e,t)}class Jx{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){const t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}}class Xx{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new Jx(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,n,i){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,n){return new cx(t,n)}onModelLinesInserted(e,t,n,i){return new hx(t,n)}onModelLineChanged(e,t,n){return[!1,new lx(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesIndentGuides(e,t){const n=t-e+1;let i=new Array(n);for(let o=0;o<n;o++)i[o]=0;return i}getViewLineContent(e){return this.model.getLineContent(e)}getViewLineLength(e){return this.model.getLineLength(e)}getViewLineMinColumn(e){return this.model.getLineMinColumn(e)}getViewLineMaxColumn(e){return this.model.getLineMaxColumn(e)}getViewLineData(e){let t=this.model.getLineTokens(e),n=t.getLineContent();return new zu(n,!1,1,n.length+1,0,t.inflate())}getViewLinesData(e,t,n){const i=this.model.getLineCount();e=Math.min(Math.max(1,e),i),t=Math.min(Math.max(1,t),i);let o=[];for(let r=e;r<=t;r++){let t=r-e;n[t]||(o[t]=null),o[t]=this.getViewLineData(r)}return o}getAllOverviewRulerDecorations(e,t,n){const i=this.model.getOverviewRulerDecorations(e,t),o=new $x;for(const r of i){const e=r.options.overviewRuler,t=e?e.position:0;if(0===t)continue;const i=e.getColor(n),s=r.range.startLineNumber,a=r.range.endLineNumber;o.accept(i,s,a,t)}return o.result}getDecorationsInRange(e,t,n){return this.model.getDecorationsInRange(e,t,n)}}class $x{constructor(){this.result=Object.create(null)}accept(e,t,n,i){let o=this.result[e];if(o){const e=o[o.length-3],r=o[o.length-1];if(e===i&&r+1>=t)return void(n>r&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]}}class Zx{constructor(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}_clearCachedModelDecorationsResolver(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}dispose(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}reset(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onModelDecorationsChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}onLineMappingChanged(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}_getOrCreateViewModelDecoration(e){const t=e.id;let n=this._decorationsCache[t];if(!n){const i=e.range,o=e.options;let r;if(o.isWholeLine){const e=this._coordinatesConverter.convertModelPositionToViewPosition(new pn(i.startLineNumber,1)),t=this._coordinatesConverter.convertModelPositionToViewPosition(new pn(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new fn(e.lineNumber,e.column,t.lineNumber,t.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new Hu(r,o),this._decorationsCache[t]=n}return n}getDecorationsViewportData(e){let t=null!==this._cachedModelDecorationsResolver;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver}_getDecorationsViewportData(e){const t=this._linesCollection.getDecorationsInRange(e,this.editorId,ue(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber;let o=[],r=0,s=[];for(let a=n;a<=i;a++)s[a-n]=[];for(let a=0,l=t.length;a<l;a++){let e=t[a],l=e.options,c=this._getOrCreateViewModelDecoration(e),h=c.range;if(o[r++]=c,l.inlineClassName){let e=new Wu(h,l.inlineClassName,l.inlineClassNameAffectsLetterSpacing?3:0),t=Math.max(n,h.startLineNumber),o=Math.min(i,h.endLineNumber);for(let i=t;i<=o;i++)s[i-n].push(e)}if(l.beforeContentClassName&&n<=h.startLineNumber&&h.startLineNumber<=i){let e=new Wu(new fn(h.startLineNumber,h.startColumn,h.startLineNumber,h.startColumn),l.beforeContentClassName,1);s[h.startLineNumber-n].push(e)}if(l.afterContentClassName&&n<=h.endLineNumber&&h.endLineNumber<=i){let e=new Wu(new fn(h.endLineNumber,h.endColumn,h.endLineNumber,h.endColumn),l.afterContentClassName,2);s[h.endLineNumber-n].push(e)}}return{decorations:o,inlineDecorations:s}}}const eS=!0;class tS extends Ge{constructor(e,t,n,i,o,r){if(super(),this._editorId=e,this._configuration=t,this.model=n,this._eventDispatcher=new bx,this.onEvent=this._eventDispatcher.onEvent,this.cursorConfig=new fy(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._tokenizeViewportSoon=this._register(new Hi(()=>this.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new Hi(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,eS&&this.model.isTooLargeForTokenization())this._lines=new Xx(this.model);else{const e=this._configuration.options,t=e.get(36),n=e.get(112),r=e.get(118),s=e.get(111);this._lines=new Vx(this.model,i,o,t,this.model.getOptions().tabSize,n,r.wrappingColumn,s)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new Dx(n,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new Px(this._configuration,this.getLineCount(),r)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new dx(e)),this._eventDispatcher.emitOutgoingEvent(new _x(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new Zx(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(aE.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new gx)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){const e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new pn(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new pn(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new rx(e)),this._eventDispatcher.emitOutgoingEvent(new wx(!e,e))}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new px)}_onConfigurationChanged(e,t){let n=null;if(-1!==this._viewportStartLine){let e=new pn(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(e)}let i=!1;const o=this._configuration.options,r=o.get(36),s=o.get(112),a=o.get(118),l=o.get(111);if(this._lines.setWrappingSettings(r,s,a.wrappingColumn,l)&&(e.emitViewEvent(new ox),e.emitViewEvent(new ax),e.emitViewEvent(new ix(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(72)&&(this._decorations.reset(),e.emitViewEvent(new ix(null))),e.emitViewEvent(new tx(t)),this.viewLayout.onConfigurationChanged(t),i&&n){const e=this.coordinatesConverter.convertModelPositionToViewPosition(n),t=this.viewLayout.getVerticalOffsetForLineNumber(e.lineNumber);this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1)}fy.shouldRecreate(t)&&(this.cursorConfig=new fy(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeRawContentFast(e=>{try{const t=this._eventDispatcher.beginEmitViewEvents();let n=!1,i=!1;const o=e.changes,r=e.versionId,s=this._lines.createLineBreaksComputer();for(const e of o)switch(e.changeType){case 4:for(const t of e.detail)s.addRequest(t,null);break;case 2:s.addRequest(e.detail,null);break}const a=s.finalize();let l=0;for(const e of o)switch(e.changeType){case 1:this._lines.onModelFlushed(),t.emitViewEvent(new ox),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),n=!0;break;case 3:{const i=this._lines.onModelLinesDeleted(r,e.fromLineNumber,e.toLineNumber);null!==i&&(t.emitViewEvent(i),this.viewLayout.onLinesDeleted(i.fromLineNumber,i.toLineNumber)),n=!0;break}case 4:{const i=a.slice(l,l+e.detail.length);l+=e.detail.length;const o=this._lines.onModelLinesInserted(r,e.fromLineNumber,e.toLineNumber,i);null!==o&&(t.emitViewEvent(o),this.viewLayout.onLinesInserted(o.fromLineNumber,o.toLineNumber)),n=!0;break}case 2:{const n=a[l];l++;const[o,s,c,h]=this._lines.onModelLineChanged(r,e.lineNumber,n);i=o,s&&t.emitViewEvent(s),c&&(t.emitViewEvent(c),this.viewLayout.onLinesInserted(c.fromLineNumber,c.toLineNumber)),h&&(t.emitViewEvent(h),this.viewLayout.onLinesDeleted(h.fromLineNumber,h.toLineNumber));break}case 5:break}this._lines.acceptVersionId(r),this.viewLayout.onHeightMaybeChanged(),!n&&i&&(t.emitViewEvent(new ax),t.emitViewEvent(new ix(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&this.model.getAttachedEditorCount()>=2&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);if(e){const t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),n=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber);this.viewLayout.setScrollPosition({scrollTop:n+this._viewportStartLineDelta},1)}}try{const t=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let n=0,i=e.ranges.length;n<i;n++){const i=e.ranges[n],o=this.coordinatesConverter.convertModelPositionToViewPosition(new pn(i.fromLineNumber,1)).lineNumber,r=this.coordinatesConverter.convertModelPositionToViewPosition(new pn(i.toLineNumber,this.model.getLineMaxColumn(i.toLineNumber))).lineNumber;t[n]={fromLineNumber:o,toLineNumber:r}}this._eventDispatcher.emitSingleViewEvent(new fx(t)),e.tokenizationSupportChanged&&this._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(e=>{this._eventDispatcher.emitSingleViewEvent(new sx),this.cursorConfig=new fy(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new fy(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new ox),e.emitViewEvent(new ax),e.emitViewEvent(new ix(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new fy(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new ix(e))}))}setHiddenAreas(e){try{const t=this._eventDispatcher.beginEmitViewEvents();let n=this._lines.setHiddenAreas(e);n&&(t.emitViewEvent(new ox),t.emitViewEvent(new ax),t.emitViewEvent(new ix(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){const e=this._configuration.options.get(117),t=this._configuration.options.get(51),n=Math.max(20,Math.round(e.height/t)),i=this.viewLayout.getLinesViewportData(),o=Math.max(1,i.completelyVisibleStartLineNumber-n),r=Math.min(this.getLineCount(),i.completelyVisibleEndLineNumber+n);return this._toModelVisibleRanges(new fn(o,this.getLineMinColumn(o),r,this.getLineMaxColumn(r)))}getVisibleRanges(){const e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){const t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this._lines.getHiddenAreas();if(0===n.length)return[t];let i=[],o=0,r=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,l=t.endColumn;for(let c=0,h=n.length;c<h;c++){const e=n[c].startLineNumber,t=n[c].endLineNumber;t<r||(e>a||(r<e&&(i[o++]=new fn(r,s,e-1,this.model.getLineMaxColumn(e-1))),r=t+1,s=1))}return(r<a||r===a&&s<l)&&(i[o++]=new fn(r,s,a,l)),i}getCompletelyVisibleViewRange(){const e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new fn(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))}getCompletelyVisibleViewRangeAtScrollTop(e){const t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,i=t.completelyVisibleEndLineNumber;return new fn(n,this.getLineMinColumn(n),i,this.getLineMaxColumn(i))}saveState(){const e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),i=this.coordinatesConverter.convertViewPositionToModelPosition(new pn(n,this.getLineMinColumn(n))),o=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:i,firstPositionDeltaTop:o}}reduceRestoreState(e){if("undefined"===typeof e.firstPosition)return this._reduceRestoreStateCompatibility(e);const t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),i=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:i}}_reduceRestoreStateCompatibility(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}}getTabSize(){return this.model.getOptions().tabSize}getTextModelOptions(){return this.model.getOptions()}getLineCount(){return this._lines.getViewLineCount()}setViewport(e,t,n){this._viewportStartLine=e;let i=this.coordinatesConverter.convertViewPositionToModelPosition(new pn(e,this.getLineMinColumn(e)));this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,new fn(i.lineNumber,i.column,i.lineNumber,i.column),1);const o=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this._viewportStartLineDelta=r-o}getActiveIndentGuide(e,t,n){return this._lines.getActiveIndentGuide(e,t,n)}getLinesIndentGuides(e,t){return this._lines.getViewLinesIndentGuides(e,t)}getLineContent(e){return this._lines.getViewLineContent(e)}getLineLength(e){return this._lines.getViewLineLength(e)}getLineMinColumn(e){return this._lines.getViewLineMinColumn(e)}getLineMaxColumn(e){return this._lines.getViewLineMaxColumn(e)}getLineFirstNonWhitespaceColumn(e){const t=Rr["u"](this.getLineContent(e));return-1===t?0:t+1}getLineLastNonWhitespaceColumn(e){const t=Rr["H"](this.getLineContent(e));return-1===t?0:t+2}getDecorationsInViewport(e){return this._decorations.getDecorationsViewportData(e).decorations}getViewLineRenderingData(e,t){let n=this.model.mightContainRTL(),i=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this._lines.getViewLineData(t),s=this._decorations.getDecorationsViewportData(e).inlineDecorations,a=s[t-e.startLineNumber];return new Vu(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,i,r.tokens,a,o,r.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,n){let i=this._lines.getViewLinesData(e,t,n);return new Qu(this.getTabSize(),i)}getAllOverviewRulerDecorations(e){return this._lines.getAllOverviewRulerDecorations(this._editorId,ue(this._configuration.options),e)}invalidateOverviewRulerColorCache(){const e=this.model.getOverviewRulerDecorations();for(const t of e){const e=t.options.overviewRuler;e&&e.invalidateCachedColor()}}invalidateMinimapColorCache(){const e=this.model.getAllDecorations();for(const t of e){const e=t.options.minimap;e&&e.invalidateCachedColor()}}getValueInRange(e,t){const n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)}getModelLineMaxColumn(e){return this.model.getLineMaxColumn(e)}validateModelPosition(e){return this.model.validatePosition(e)}validateModelRange(e){return this.model.validateRange(e)}deduceModelPositionRelativeToViewPosition(e,t,n){const i=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);const o=this.model.getOffsetAt(i),r=o+t;return this.model.getPositionAt(r)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(e,t,n){const i=n?"\r\n":this.model.getEOL();e=e.slice(0),e.sort(fn.compareRangesUsingStarts);let o=!1,r=!1;for(const a of e)a.isEmpty()?o=!0:r=!0;if(!r){if(!t)return"";const n=e.map(e=>e.startLineNumber);let o="";for(let e=0;e<n.length;e++)e>0&&n[e-1]===n[e]||(o+=this.model.getLineContent(n[e])+i);return o}if(o&&t){let t=[],i=0;for(const o of e){const e=o.startLineNumber;o.isEmpty()?e!==i&&t.push(this.model.getLineContent(e)):t.push(this.model.getValueInRange(o,n?2:0)),i=e}return 1===t.length?t[0]:t}let s=[];for(const a of e)a.isEmpty()||s.push(this.model.getValueInRange(a,n?2:0));return 1===s.length?s[0]:s}getRichTextToCopy(e,t){const n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;let i=e[0];if(i.isEmpty()){if(!t)return null;const e=i.startLineNumber;i=new fn(e,this.model.getLineMinColumn(e),e,this.model.getLineMaxColumn(e))}const o=this._configuration.options.get(36),r=this._getColorMap(),s=o.fontFamily===Ae.fontFamily?o.fontFamily:`'${o.fontFamily}', ${Ae.fontFamily}`;return{mode:n.language,html:`<div style="color: ${r[1]};background-color: ${r[2]};font-family: ${s};font-weight: ${o.fontWeight};font-size: ${o.fontSize}px;line-height: ${o.lineHeight}px;white-space: pre;">`+this._getHTMLToCopy(i,r)+"</div>"}}_getHTMLToCopy(e,t){const n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize();let a="";for(let l=n;l<=o;l++){const e=this.model.getLineTokens(l),c=e.getLineContent(),h=l===n?i-1:0,u=l===o?r-1:c.length;a+=""===c?"<br>":Nx(c,e.inflate(),t,h,u,s,y["i"])}return a}_getColorMap(){let e=oc.getColorMap(),t=["#000000"];if(e)for(let n=1,i=e.length;n<i;n++)t[n]=Vv.Format.CSS.formatHex(e[n]);return t}pushStackElement(){this.model.pushStackElement()}getPrimaryCursorState(){return this._cursor.getPrimaryCursorState()}getLastAddedCursorIndex(){return this._cursor.getLastAddedCursorIndex()}getCursorStates(){return this._cursor.getCursorStates()}setCursorStates(e,t,n){this._withViewEventsCollector(i=>this._cursor.setStates(i,e,t,n))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Ex):this._withViewEventsCollector(e)}executeEdits(e,t,n){this._executeCursorEdit(i=>this._cursor.executeEdits(i,e,t,n))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(n=>this._cursor.type(n,e,t))}replacePreviousChar(e,t,n){this._executeCursorEdit(i=>this._cursor.replacePreviousChar(i,e,t,n))}paste(e,t,n,i){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,n,i))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(n=>this._cursor.executeCommand(n,e,t))}executeCommands(e,t){this._executeCursorEdit(n=>this._cursor.executeCommands(n,e,t))}revealPrimaryCursor(e,t){this._withViewEventsCollector(n=>this._cursor.revealPrimary(n,e,t,0))}revealTopMostCursor(e){const t=this._cursor.getTopMostViewPosition(),n=new fn(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new ux(e,n,null,0,!0,0)))}revealBottomMostCursor(e){const t=this._cursor.getBottomMostViewPosition(),n=new fn(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new ux(e,n,null,0,!0,0)))}revealRange(e,t,n,i,o){this._withViewEventsCollector(r=>r.emitViewEvent(new ux(e,n,null,i,t,o)))}getVerticalOffsetForLineNumber(e){return this.viewLayout.getVerticalOffsetForLineNumber(e)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(e,t){this.viewLayout.setScrollPosition({scrollTop:e},t)}setScrollPosition(e,t){this.viewLayout.setScrollPosition(e,t)}deltaScrollNow(e,t){this.viewLayout.deltaScrollNow(e,t)}changeWhitespace(e){const t=this.viewLayout.changeWhitespace(e);t&&(this._eventDispatcher.emitSingleViewEvent(new mx),this._eventDispatcher.emitOutgoingEvent(new Ax))}setMaxLineWidth(e){this.viewLayout.setMaxLineWidth(e)}_withViewEventsCollector(e){try{const t=this._eventDispatcher.beginEmitViewEvents();e(t)}finally{this._eventDispatcher.endEmitViewEvents()}}}class nS{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}const iS=ii("accessibilityService"),oS=new hg("accessibilityModeEnabled",!1);class rS extends Oh{constructor(e,t){super(0);for(let n=0;n<e.length;n++)this.set(e.charCodeAt(n),1);for(let n=0;n<t.length;n++)this.set(t.charCodeAt(n),2)}get(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue}}let sS=[],aS=[];class lS{constructor(e,t){this.classifier=new rS(e,t)}static create(e){return new lS(e.get(108),e.get(107))}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let o=[],r=[];return{addRequest:(e,t)=>{o.push(e),r.push(t)},finalize:()=>{const s=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth;let a=[];for(let e=0,l=o.length;e<l;e++){const l=r[e];a[e]=l?cS(this.classifier,l,o[e],t,n,s,i):hS(this.classifier,o[e],t,n,s,i)}return sS.length=0,aS.length=0,a}}}}function cS(e,t,n,i,o,r,s){if(-1===o)return null;const a=n.length;if(a<=1)return null;const l=t.breakOffsets,c=t.breakOffsetsVisibleColumn,h=fS(n,i,o,r,s),u=o-h;let d=sS,p=aS,f=0,g=0,m=0,b=o;const v=l.length;let y=0;if(y>=0){let e=Math.abs(c[y]-b);while(y+1<v){const t=Math.abs(c[y+1]-b);if(t>=e)break;e=t,y++}}while(y<v){let t=y<0?0:l[y],o=y<0?0:c[y];g>t&&(t=g,o=m);let s=0,h=0,w=0,_=0;if(o<=b){let m=o,v=0===t?0:n.charCodeAt(t-1),y=0===t?0:e.get(v),A=!0;for(let o=t;o<a;o++){const t=o,a=n.charCodeAt(o);let l,c;if(Rr["D"](a)?(o++,l=0,c=2):(l=e.get(a),c=uS(a,m,i,r)),t>g&&pS(v,y,a,l)&&(s=t,h=m),m+=c,m>b){t>g?(w=t,_=m-c):(w=o+1,_=m),m-h>u&&(s=0),A=!1;break}v=a,y=l}if(A){f>0&&(d[f]=l[l.length-1],p[f]=c[l.length-1],f++);break}}if(0===s){let a=o,l=n.charCodeAt(t),c=e.get(l),d=!1;for(let i=t-1;i>=g;i--){const t=i+1,o=n.charCodeAt(i);if(9===o){d=!0;break}let p,f;if(Rr["E"](o)?(i--,p=0,f=2):(p=e.get(o),f=Rr["C"](o)?r:1),a<=b){if(0===w&&(w=t,_=a),a<=b-u)break;if(pS(o,p,l,c)){s=t,h=a;break}}a-=f,l=o,c=p}if(0!==s){const e=u-(_-h);if(e<=i){const t=n.charCodeAt(w);let o;o=Rr["D"](t)?2:uS(t,_,i,r),e-o<0&&(s=0)}}if(d){y--;continue}}0===s&&(s=w,h=_),g=s,d[f]=s,m=h,p[f]=h,f++,b=h+u;while(y<0||y<v&&c[y]<h)y++;let A=Math.abs(c[y]-b);while(y+1<v){const e=Math.abs(c[y+1]-b);if(e>=A)break;A=e,y++}}return 0===f?null:(d.length=f,p.length=f,sS=t.breakOffsets,aS=t.breakOffsetsVisibleColumn,t.breakOffsets=d,t.breakOffsetsVisibleColumn=p,t.wrappedTextIndentLength=h,t)}function hS(e,t,n,i,o,r){if(-1===i)return null;const s=t.length;if(s<=1)return null;const a=fS(t,n,i,o,r),l=i-a;let c=[],h=[],u=0,d=0,p=0,f=i,g=t.charCodeAt(0),m=e.get(g),b=uS(g,0,n,o),v=1;Rr["D"](g)&&(b+=1,g=t.charCodeAt(1),m=e.get(g),v++);for(let y=v;y<s;y++){const i=y,r=t.charCodeAt(y);let s,a;Rr["D"](r)?(y++,s=0,a=2):(s=e.get(r),a=uS(r,b,n,o)),pS(g,m,r,s)&&(d=i,p=b),b+=a,b>f&&((0===d||b-p>l)&&(d=i,p=b-a),c[u]=d,h[u]=p,u++,f=p+l,d=0),g=r,m=s}return 0===u?null:(c[u]=s,h[u]=b,new jx(c,h,a))}function uS(e,t,n,i){return 9===e?n-t%n:Rr["C"](e)?i:1}function dS(e,t){return t-e%t}function pS(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function fS(e,t,n,i,o){let r=0;if(0!==o){const s=Rr["u"](e);if(-1!==s){for(let n=0;n<s;n++){const i=9===e.charCodeAt(n)?dS(r,t):1;r+=i}const a=3===o?2:2===o?1:0;for(let e=0;e<a;e++){const e=dS(r,t);r+=e}r+i>n&&(r=0)}}return r}class gS{static create(){return new gS}constructor(){}createLineBreaksComputer(e,t,n,i){t|=0,n=+n;let o=[];return{addRequest:(e,t)=>{o.push(e)},finalize:()=>mS(o,e,t,n,i)}}}function mS(e,t,n,i,o){if(-1===i){const t=[];for(let n=0,i=e.length;n<i;n++)t[n]=null;return t}const r=Math.round(i*t.typicalHalfwidthCharacterWidth);2!==o&&3!==o||(o=1);const s=document.createElement("div");Vf.applyFontInfoSlow(s,t);const a=Bc(1e4),l=[],c=[],h=[],u=[],d=[];for(let m=0;m<e.length;m++){const i=e[m];let s=0,p=0,f=r;if(0!==o)if(s=Rr["u"](i),-1===s)s=0;else{for(let t=0;t<s;t++){const e=9===i.charCodeAt(t)?n-p%n:1;p+=e}const e=Math.ceil(t.spaceWidth*p);e+t.typicalFullwidthCharacterWidth>r?(s=0,p=0):f=r-e}const g=i.substr(s),b=bS(g,p,n,f,a);l[m]=s,c[m]=p,h[m]=g,u[m]=b[0],d[m]=b[1]}s.innerHTML=a.build(),s.style.position="absolute",s.style.top="10000",s.style.wordWrap="break-word",document.body.appendChild(s);let p=document.createRange();const f=Array.prototype.slice.call(s.children,0);let g=[];for(let m=0;m<e.length;m++){const e=f[m],t=vS(p,e,h[m],u[m]);if(null===t){g[m]=null;continue}const n=l[m],i=c[m],o=d[m],r=[];for(let s=0,a=t.length;s<a;s++)r[s]=o[t[s]];if(0!==n)for(let s=0,a=t.length;s<a;s++)t[s]+=n;g[m]=new jx(t,r,i)}return document.body.removeChild(s),g}function bS(e,t,n,i,o){o.appendASCIIString('<div style="width:'),o.appendASCIIString(String(i)),o.appendASCIIString('px;">');const r=e.length;let s=t,a=0,l=[],c=[],h=0<r?e.charCodeAt(0):0;o.appendASCIIString("<span>");for(let u=0;u<r;u++){0!==u&&u%16384===0&&o.appendASCIIString("</span><span>"),l[u]=a,c[u]=s;const t=h;h=u+1<r?e.charCodeAt(u+1):0;let i=1,d=1;switch(t){case 9:i=n-s%n,d=i;for(let e=1;e<=i;e++)e<i?o.write1(160):o.appendASCII(32);break;case 32:32===h?o.write1(160):o.appendASCII(32);break;case 60:o.appendASCIIString("&lt;");break;case 62:o.appendASCIIString("&gt;");break;case 38:o.appendASCIIString("&amp;");break;case 0:o.appendASCIIString("&#00;");break;case 65279:case 8232:case 8233:case 133:o.write1(65533);break;default:Rr["C"](t)&&d++,o.write1(t)}a+=i,s+=d}return o.appendASCIIString("</span>"),l[e.length]=a,c[e.length]=s,o.appendASCIIString("</div>"),[l,c]}function vS(e,t,n,i){if(n.length<=1)return null;const o=Array.prototype.slice.call(t.children,0),r=[];try{yS(e,o,i,0,null,n.length-1,null,r)}catch(s){return null}return 0===r.length?null:(r.push(n.length),r)}function yS(e,t,n,i,o,r,s,a){if(i===r)return;if(o=o||wS(e,t,n[i],n[i+1]),s=s||wS(e,t,n[r],n[r+1]),Math.abs(o[0].top-s[0].top)<=.1)return;if(i+1===r)return void a.push(r);const l=i+(r-i)/2|0,c=wS(e,t,n[l],n[l+1]);yS(e,t,n,i,o,l,c,a),yS(e,t,n,l,c,r,s,a)}function wS(e,t,n,i){return e.setStart(t[n/16384|0].firstChild,n%16384),e.setEnd(t[i/16384|0].firstChild,i%16384),e.getClientRects()}var _S=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},AS=function(e,t){return function(n,i){t(n,i,e)}};let CS=0;class ES{constructor(e,t,n,i,o){this.model=e,this.viewModel=t,this.view=n,this.hasRealView=i,this.listenersToRemove=o}dispose(){We(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.viewModel.dispose()}}let xS=class e extends Ge{constructor(e,t,n,i,o,r,s,a,l,c){let h;super(),this._onDidDispose=this._register(new et),this.onDidDispose=this._onDidDispose.event,this._onDidChangeModelContent=this._register(new et),this.onDidChangeModelContent=this._onDidChangeModelContent.event,this._onDidChangeModelLanguage=this._register(new et),this.onDidChangeModelLanguage=this._onDidChangeModelLanguage.event,this._onDidChangeModelLanguageConfiguration=this._register(new et),this.onDidChangeModelLanguageConfiguration=this._onDidChangeModelLanguageConfiguration.event,this._onDidChangeModelOptions=this._register(new et),this.onDidChangeModelOptions=this._onDidChangeModelOptions.event,this._onDidChangeModelDecorations=this._register(new et),this.onDidChangeModelDecorations=this._onDidChangeModelDecorations.event,this._onDidChangeConfiguration=this._register(new et),this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._onDidChangeModel=this._register(new et),this.onDidChangeModel=this._onDidChangeModel.event,this._onDidChangeCursorPosition=this._register(new et),this.onDidChangeCursorPosition=this._onDidChangeCursorPosition.event,this._onDidChangeCursorSelection=this._register(new et),this.onDidChangeCursorSelection=this._onDidChangeCursorSelection.event,this._onDidAttemptReadOnlyEdit=this._register(new et),this.onDidAttemptReadOnlyEdit=this._onDidAttemptReadOnlyEdit.event,this._onDidLayoutChange=this._register(new et),this.onDidLayoutChange=this._onDidLayoutChange.event,this._editorTextFocus=this._register(new SS),this.onDidFocusEditorText=this._editorTextFocus.onDidChangeToTrue,this.onDidBlurEditorText=this._editorTextFocus.onDidChangeToFalse,this._editorWidgetFocus=this._register(new SS),this.onDidFocusEditorWidget=this._editorWidgetFocus.onDidChangeToTrue,this.onDidBlurEditorWidget=this._editorWidgetFocus.onDidChangeToFalse,this._onWillType=this._register(new et),this.onWillType=this._onWillType.event,this._onDidType=this._register(new et),this.onDidType=this._onDidType.event,this._onDidCompositionStart=this._register(new et),this.onDidCompositionStart=this._onDidCompositionStart.event,this._onDidCompositionEnd=this._register(new et),this.onDidCompositionEnd=this._onDidCompositionEnd.event,this._onDidPaste=this._register(new et),this.onDidPaste=this._onDidPaste.event,this._onMouseUp=this._register(new et),this.onMouseUp=this._onMouseUp.event,this._onMouseDown=this._register(new et),this.onMouseDown=this._onMouseDown.event,this._onMouseDrag=this._register(new et),this.onMouseDrag=this._onMouseDrag.event,this._onMouseDrop=this._register(new et),this.onMouseDrop=this._onMouseDrop.event,this._onContextMenu=this._register(new et),this.onContextMenu=this._onContextMenu.event,this._onMouseMove=this._register(new et),this.onMouseMove=this._onMouseMove.event,this._onMouseLeave=this._register(new et),this.onMouseLeave=this._onMouseLeave.event,this._onMouseWheel=this._register(new et),this.onMouseWheel=this._onMouseWheel.event,this._onKeyUp=this._register(new et),this.onKeyUp=this._onKeyUp.event,this._onKeyDown=this._register(new et),this.onKeyDown=this._onKeyDown.event,this._onDidContentSizeChange=this._register(new et),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._onDidScrollChange=this._register(new et),this.onDidScrollChange=this._onDidScrollChange.event,this._onDidChangeViewZones=this._register(new et),this.onDidChangeViewZones=this._onDidChangeViewZones.event,t=t||{},this._domElement=e,this._overflowWidgetsDomNode=t.overflowWidgetsDomNode,this._id=++CS,this._decorationTypeKeysToIds={},this._decorationTypeSubtypes={},this.isSimpleWidget=n.isSimpleWidget||!1,this._telemetryData=n.telemetryData,this._configuration=this._register(this._createConfiguration(t,c)),this._register(this._configuration.onDidChange(e=>{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;if(e.hasChanged(117)){const e=t.get(117);this._onDidLayoutChange.fire(e)}})),this._contextKeyService=this._register(s.createScoped(this._domElement)),this._notificationService=l,this._codeEditorService=o,this._commandService=r,this._themeService=a,this._register(new DS(this,this._contextKeyService)),this._register(new kS(this,this._contextKeyService)),this._instantiationService=i.createChild(new nS([ug,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new MS(e),this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())}),this._contentWidgets={},this._overlayWidgets={},h=Array.isArray(n.contributions)?n.contributions:Lg.getEditorContributions();for(const d of h)try{const e=this._instantiationService.createInstance(d.ctor,this);this._contributions[d.id]=e}catch(u){Me(u)}Lg.getEditorActions().forEach(e=>{const t=new Mx(e.id,e.label,e.alias,rs(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService);this._actions[t.id]=t}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(e,t){return new Vf(this.isSimpleWidget,e,this._domElement,t)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return Ts.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();const e=Object.keys(this._contributions);for(let t=0,n=e.length;t<n;t++){const n=e[t];this._contributions[n].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),super.dispose()}invokeWithinContext(e){return this._instantiationService.invokeFunction(e)}updateOptions(e){this._configuration.updateOptions(e)}getOptions(){return this._configuration.options}getOption(e){return this._configuration.options.get(e)}getRawOptions(){return this._configuration.getRawOptions()}getOverflowWidgetsDomNode(){return this._overflowWidgetsDomNode}getConfiguredWordAtPosition(e){return this._modelData?LA.getWordAtPosition(this._modelData.model,this._configuration.options.get(105),e):null}getValue(e=null){if(!this._modelData)return"";const t=!(!e||!e.preserveBOM);let n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)}setValue(e){this._modelData&&this._modelData.model.setValue(e)}getModel(){return this._modelData?this._modelData.model:null}setModel(e=null){const t=e;if(null===this._modelData&&null===t)return;if(this._modelData&&this._modelData.model===t)return;const n=this.hasTextFocus(),i=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();const o={oldModelUrl:i?i.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(i)}_removeDecorationTypes(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(let e in this._decorationTypeSubtypes){const t=this._decorationTypeSubtypes[e];for(let n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}}getVisibleRanges(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]}getVisibleRangesPlusViewportAboveBelow(){return this._modelData?this._modelData.viewModel.getVisibleRangesPlusViewportAboveBelow():[]}getWhitespaces(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]}static _getVerticalOffsetForPosition(e,t,n){const i=e.model.validatePosition({lineNumber:t,column:n}),o=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(o.lineNumber)}getTopForLineNumber(t){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,1):-1}getTopForPosition(t,n){return this._modelData?e._getVerticalOffsetForPosition(this._modelData,t,n):-1}setHiddenAreas(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(e=>fn.lift(e)))}getVisibleColumnFromPosition(e){if(!this._modelData)return e.column;const t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return _y.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e){if(this._modelData){if(!pn.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,n,i){if(!this._modelData)return;if(!fn.isIRange(e))throw new Error("Invalid arguments");const o=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(o);this._modelData.viewModel.revealRange("api",n,r,t,i)}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,n){if("number"!==typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new fn(e,1,e,1),t,!1,n)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,n,i){if(!pn.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new fn(e.lineNumber,e.column,e.lineNumber,e.column),t,n,i)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e){const t=gn.isISelection(e),n=fn.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){const t={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(t)}}_setSelectionImpl(e){if(!this._modelData)return;const t=new gn(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.viewModel.setSelections("api",[t])}revealLines(e,t,n=0){this._revealLines(e,t,0,n)}revealLinesInCenter(e,t,n=0){this._revealLines(e,t,1,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this._revealLines(e,t,2,n)}revealLinesNearTop(e,t,n=0){this._revealLines(e,t,5,n)}_revealLines(e,t,n,i){if("number"!==typeof e||"number"!==typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new fn(e,1,t,1),n,!1,i)}revealRange(e,t=0,n=!1,i=!0){this._revealRange(e,n?1:0,i,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,n,i){if(!fn.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(fn.lift(e),t,n,i)}setSelections(e,t="api"){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,n=e.length;t<n;t++)if(!gn.isISelection(e[t]))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections(t,e)}}getContentWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1}getScrollWidth(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1}getScrollLeft(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1}getContentHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1}getScrollHeight(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1}getScrollTop(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1}setScrollLeft(e,t=1){if(this._modelData){if("number"!==typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollLeft:e},t)}}setScrollTop(e,t=1){if(this._modelData){if("number"!==typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.setScrollPosition({scrollTop:e},t)}}setScrollPosition(e,t=1){this._modelData&&this._modelData.viewModel.setScrollPosition(e,t)}saveViewState(){if(!this._modelData)return null;const e={},t=Object.keys(this._contributions);for(const o of t){const t=this._contributions[o];"function"===typeof t.saveViewState&&(e[o]=t.saveViewState())}const n=this._modelData.viewModel.saveCursorState(),i=this._modelData.viewModel.saveState();return{cursorState:n,viewState:i,contributionsState:e}}restoreViewState(e){if(!this._modelData||!this._modelData.hasRealView)return;const t=e;if(t&&t.cursorState&&t.viewState){const e=t.cursorState;Array.isArray(e)?this._modelData.viewModel.restoreCursorState(e):this._modelData.viewModel.restoreCursorState([e]);const n=t.contributionsState||{},i=Object.keys(this._contributions);for(let t=0,r=i.length;t<r;t++){const e=i[t],o=this._contributions[e];"function"===typeof o.restoreViewState&&o.restoreViewState(n[e])}const o=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(o)}}getContribution(e){return this._contributions[e]||null}getActions(){const e=[],t=Object.keys(this._actions);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._actions[i])}return e}getSupportedActions(){let e=this.getActions();return e=e.filter(e=>e.isSupported()),e}getAction(e){return this._actions[e]||null}trigger(e,t,n){switch(n=n||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":{const t=n;return void this._type(e,t.text||"")}case"replacePreviousChar":{const t=n;return void this._replacePreviousChar(e,t.text||"",t.replaceCharCnt||0)}case"paste":{const t=n;return void this._paste(e,t.text||"",t.pasteOnNewLine||!1,t.multicursorText||null,t.mode||null)}case"cut":return void this._cut(e)}const i=this.getAction(t);i?Promise.resolve(i.run()).then(void 0,Me):this._modelData&&this._triggerEditorCommand(e,t,n)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_replacePreviousChar(e,t,n){this._modelData&&this._modelData.viewModel.replacePreviousChar(t,n,e)}_paste(e,t,n,i,o){if(!this._modelData||0===t.length)return;const r=this._modelData.viewModel.getSelection().getStartPosition();this._modelData.viewModel.paste(t,n,i,e);const s=this._modelData.viewModel.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new fn(r.lineNumber,r.column,s.lineNumber,s.column),mode:o})}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,n){const i=Lg.getEditorCommand(t);return!!i&&(n=n||{},n.source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(i.runEditorCommand(e,this,n)).then(void 0,Me)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&(!this._configuration.options.get(72)&&(this._modelData.model.pushStackElement(),!0))}executeEdits(e,t,n){if(!this._modelData)return!1;if(this._configuration.options.get(72))return!1;let i;return i=n?Array.isArray(n)?()=>n:n:()=>null,this._modelData.viewModel.executeEdits(e,t,i),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,ue(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){const t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){const e=this._configuration.options,t=e.get(117);return t}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeReferenceElement(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){const t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}}removeContentWidget(e){const t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const e=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(e)}}addOverlayWidget(e){const t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId()),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}}removeOverlayWidget(e){const t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const e=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(e)}}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;const n=this._modelData.model.validatePosition(t),i=this._configuration.options,o=i.get(117),r=e._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),s=this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+o.glyphMarginWidth+o.lineNumbersWidth+o.decorationsWidth-this.getScrollLeft();return{top:r,left:s,height:i.get(51)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){Vf.applyFontInfoSlow(e,this._configuration.options.get(36))}_attachModel(e){if(!e)return void(this._modelData=null);const t=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();const n=new tS(this._id,this._configuration,e,gS.create(),lS.create(this._configuration.options),e=>Bo(e));t.push(e.onDidChangeDecorations(e=>this._onDidChangeModelDecorations.fire(e))),t.push(e.onDidChangeLanguage(t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(t)})),t.push(e.onDidChangeLanguageConfiguration(e=>this._onDidChangeModelLanguageConfiguration.fire(e))),t.push(e.onDidChangeContent(e=>this._onDidChangeModelContent.fire(e))),t.push(e.onDidChangeOptions(e=>this._onDidChangeModelOptions.fire(e))),t.push(e.onWillDispose(()=>this.setModel(null))),t.push(n.onEvent(e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{e.reachedMaxCursorCount&&this._notificationService.warn(v("cursors.maximum","The number of cursors has been limited to {0}.",Dx.MAX_CURSOR_COUNT));const t=[];for(let o=0,r=e.selections.length;o<r;o++)t[o]=e.selections[o].getPosition();const n={position:t[0],secondaryPositions:t.slice(1),reason:e.reason,source:e.source};this._onDidChangeCursorPosition.fire(n);const i={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};this._onDidChangeCursorSelection.fire(i);break}}}));const[i,o]=this._createView(n);if(o){this._domElement.appendChild(i.domNode.domNode);let t=Object.keys(this._contentWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];i.addContentWidget(this._contentWidgets[n])}t=Object.keys(this._overlayWidgets);for(let e=0,n=t.length;e<n;e++){const n=t[e];i.addOverlayWidget(this._overlayWidgets[n])}i.render(!1,!0),i.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new ES(e,n,i,o,t)}_createView(e){let t;t=this.isSimpleWidget?{paste:(e,t,n,i)=>{this._paste("keyboard",e,t,n,i)},type:e=>{this._type("keyboard",e)},replacePreviousChar:(e,t)=>{this._replacePreviousChar("keyboard",e,t)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,n,i)=>{const o={text:e,pasteOnNewLine:t,multicursorText:n,mode:i};this._commandService.executeCommand("paste",o)},type:e=>{const t={text:e};this._commandService.executeCommand("type",t)},replacePreviousChar:(e,t)=>{const n={text:e,replaceCharCnt:t};this._commandService.executeCommand("replacePreviousChar",n)},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const n=new eC(e.coordinatesConverter);n.onKeyDown=e=>this._onKeyDown.fire(e),n.onKeyUp=e=>this._onKeyUp.fire(e),n.onContextMenu=e=>this._onContextMenu.fire(e),n.onMouseMove=e=>this._onMouseMove.fire(e),n.onMouseLeave=e=>this._onMouseLeave.fire(e),n.onMouseDown=e=>this._onMouseDown.fire(e),n.onMouseUp=e=>this._onMouseUp.fire(e),n.onMouseDrag=e=>this._onMouseDrag.fire(e),n.onMouseDrop=e=>this._onMouseDrop.fire(e),n.onMouseWheel=e=>this._onMouseWheel.fire(e);const i=new XE(t,this._configuration,this._themeService,e,n,this._overflowWidgetsDomNode);return[i,!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){if(!this._modelData)return null;const e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),e}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};xS=_S([AS(3,ti),AS(4,ri),AS(5,ss),AS(6,ug),AS(7,pm),AS(8,Wp),AS(9,iS)],xS);class SS extends Ge{constructor(){super(),this._onDidChangeToTrue=this._register(new et),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new et),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){const t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class DS extends Ge{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=QA.editorSimpleInput.bindTo(t),this._editorFocus=QA.focus.bindTo(t),this._textInputFocus=QA.textInputFocus.bindTo(t),this._editorTextFocus=QA.editorTextFocus.bindTo(t),this._editorTabMovesFocus=QA.tabMovesFocus.bindTo(t),this._editorReadonly=QA.readOnly.bindTo(t),this._editorColumnSelection=QA.columnSelection.bindTo(t),this._hasMultipleSelections=QA.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=QA.hasNonEmptySelection.bindTo(t),this._canUndo=QA.canUndo.bindTo(t),this._canRedo=QA.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(116)),this._editorReadonly.set(e.get(72)),this._editorColumnSelection.set(e.get(13))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(e=>!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class kS extends Ge{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this._langId=QA.languageId.bindTo(t),this._hasCompletionItemProvider=QA.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=QA.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=QA.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=QA.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=QA.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=QA.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=QA.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=QA.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=QA.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=QA.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=QA.hasReferenceProvider.bindTo(t),this._hasRenameProvider=QA.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=QA.hasSignatureHelpProvider.bindTo(t),this._hasDocumentFormattingProvider=QA.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=QA.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=QA.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=QA.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=QA.isInWalkThroughSnippet.bindTo(t);const n=()=>this._update();this._register(e.onDidChangeModel(n)),this._register(e.onDidChangeModelLanguage(n)),this._register(Pl.onDidChange(n)),this._register(Kl.onDidChange(n)),this._register(Gl.onDidChange(n)),this._register(Wl.onDidChange(n)),this._register(Hl.onDidChange(n)),this._register(Ul.onDidChange(n)),this._register(Yl.onDidChange(n)),this._register(jl.onDidChange(n)),this._register(zl.onDidChange(n)),this._register(Ql.onDidChange(n)),this._register(Ol.onDidChange(n)),this._register(Rl.onDidChange(n)),this._register(ql.onDidChange(n)),this._register(Jl.onDidChange(n)),this._register(Fl.onDidChange(n)),n()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(Pl.has(e)),this._hasCodeActionsProvider.set(Kl.has(e)),this._hasCodeLensProvider.set(Gl.has(e)),this._hasDefinitionProvider.set(Wl.has(e)),this._hasDeclarationProvider.set(Hl.has(e)),this._hasImplementationProvider.set(Ul.has(e)),this._hasTypeDefinitionProvider.set(Yl.has(e)),this._hasHoverProvider.set(jl.has(e)),this._hasDocumentHighlightProvider.set(zl.has(e)),this._hasDocumentSymbolProvider.set(Ql.has(e)),this._hasReferenceProvider.set(Ol.has(e)),this._hasRenameProvider.set(Rl.has(e)),this._hasSignatureHelpProvider.set(Fl.has(e)),this._hasDocumentFormattingProvider.set(ql.has(e)||Jl.has(e)),this._hasDocumentSelectionFormattingProvider.set(Jl.has(e)),this._hasMultipleDocumentFormattingProvider.set(ql.all(e).length+Jl.all(e).length>1),this._hasMultipleDocumentSelectionFormattingProvider.set(Jl.all(e).length>1),this._isInWalkThrough.set(e.uri.scheme===co.walkThroughSnippet)}):this.reset()}}class MS extends Ge{constructor(e){super(),this._onChange=this._register(new et),this.onChange=this._onChange.event,this._hasFocus=!1,this._domFocusTracker=this._register(mr(e)),this._register(this._domFocusTracker.onDidFocus(()=>{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const NS=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),LS=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function BS(e){return NS+encodeURIComponent(e.toString())+LS}const IS=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),TS=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');function OS(e){return IS+encodeURIComponent(e.toString())+TS}Am((e,t)=>{const n=e.getColor(Lw);n&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${n}; }`);const i=e.getColor(Nw);i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${BS(i)}") repeat-x bottom left; }`);const o=e.getColor(Iw);o&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${o}; }`);const r=e.getColor(Bw);r&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${BS(r)}") repeat-x bottom left; }`);const s=e.getColor(Ow);s&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${s}; }`);const a=e.getColor(Tw);a&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${BS(a)}") repeat-x bottom left; }`);const l=e.getColor(Pw);l&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${l}; }`);const c=e.getColor(Rw);c&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${OS(c)}") no-repeat bottom left; }`);const h=e.getColor(cA);h&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${h.rgba.a}; }`);const u=e.getColor(lA);u&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${u}; }`);const d=e.getColor(jw)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${d}}`)});n("7115"),n("c901");const RS=!1;let PS=4;const FS=new et;class jS extends Ge{constructor(e,t,n){super(),this._state=3,this._onDidEnablementChange=this._register(new et),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new et),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new et),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new et),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new Ye),this.orthogonalEndSashDisposables=this._register(new Ye),this.el=br(e,Ar(".monaco-sash")),y["f"]&&yo(this.el,"mac"),this._register(_i(this.el,"mousedown")(this.onMouseDown,this)),this._register(_i(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(Ug.addTarget(this.el)),this._register(_i(this.el,Wg.Start)(this.onTouchStart,this)),"number"===typeof n.size?(this.size=n.size,0===n.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=PS,this._register(FS.event(e=>{this.size=e,this.layout()}))),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.orientation||0,1===this.orientation?(yo(this.el,"horizontal"),_o(this.el,"vertical")):(_o(this.el,"horizontal"),yo(this.el,"vertical")),Co(this.el,"debug",RS),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(Co(this.el,"disabled",0===e),Co(this.el,"minimum",1===e),Co(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e}onMouseDown(e){dr.stop(e,!1);let t=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(t=!0,e.__orthogonalSashEvent=!0,n.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!this.state)return;const n=[...Dr("iframe"),...Dr("webview")];for(const p of n)p.style.pointerEvents="none";const i=new Oi(e),o=i.posx,r=i.posy,s=i.altKey,a={startX:o,currentX:o,startY:r,currentY:r,altKey:s};yo(this.el,"active"),this._onDidStart.fire(a);const l=or(this.el),c=()=>{let e="";e=t?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":y["f"]?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":y["f"]?"col-resize":"ew-resize",l.innerHTML=`* { cursor: ${e} !important; }`},h=new Ye;c(),t||this.onDidEnablementChange(c,null,h);const u=e=>{dr.stop(e,!1);const t=new Oi(e),n={startX:o,currentX:t.posx,startY:r,currentY:t.posy,altKey:s};this._onDidChange.fire(n)},d=e=>{dr.stop(e,!1),this.el.removeChild(l),_o(this.el,"active"),this._onDidEnd.fire(),h.dispose();for(const t of n)t.style.pointerEvents="auto"};_i(window,"mousemove")(u,null,h),_i(window,"mouseup")(d,null,h)}onMouseDoubleClick(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(e){dr.stop(e);const t=[],n=e.pageX,i=e.pageY,o=e.altKey;this._onDidStart.fire({startX:n,currentX:n,startY:i,currentY:i,altKey:o}),t.push(xo(this.el,Wg.Change,e=>{qr(e.pageX)&&qr(e.pageY)&&this._onDidChange.fire({startX:n,currentX:e.pageX,startY:i,currentY:e.pageY,altKey:o})})),t.push(xo(this.el,Wg.End,e=>{this._onDidEnd.fire(),We(t)}))}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(e){Co(this.el,"orthogonal-start",0!==e)}onOrthogonalEndSashEnablementChange(e){Co(this.el,"orthogonal-end",0!==e)}getOrthogonalSash(e){if(0===this.orientation){if(e.offsetY<=this.size)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(e.offsetX<=this.size)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}class QS{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}const zS=[];function VS(e,t,n){zS.push([e,new QS(t,[],n)])}function WS(){return zS}const HS=ii("IEditorCancelService"),US=new hg("cancellableOperation",!1);VS(HS,class{constructor(){this._tokens=new WeakMap}add(e,t){let n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext(e=>{const t=US.bindTo(e.get(ug)),n=new Je;return{key:t,tokens:n}}),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),()=>{n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}}cancel(e){const t=this._tokens.get(e);if(!t)return;const n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},!0);kg(new class extends Sg{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:US})}runEditorCommand(e,t){e.get(HS).cancel(t)}});class YS{constructor(e,t,n){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=n}static capture(e){let t=null,n=0;if(0!==e.getScrollTop()){const i=e.getVisibleRanges();if(i.length>0){t=i[0].getStartPosition();const o=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-o}}return new YS(t,n,e.getPosition())}restore(e){if(this._visiblePosition){const t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(e){const t=e.getPosition();if(!this._cursorPosition||!t)return;const n=e.getTopForLineNumber(t.lineNumber)-e.getTopForLineNumber(this._cursorPosition.lineNumber);e.setScrollTop(e.getScrollTop()+n)}}n("c6b4"),n("154c");const GS={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class KS{constructor(e){this.data=e}update(){}getData(){return this.data}}const qS={CurrentDragAndDropData:void 0};class JS extends Ge{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof Hf&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new Uf)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(Ug.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,fi&&this._register(xo(e,ur.DRAG_START,e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(GS.TEXT,this._action.label)}))),this._register(xo(t,Wg.Tap,e=>this.onClick(e))),this._register(xo(t,ur.MOUSE_DOWN,e=>{n||dr.stop(e,!0),this._action.enabled&&0===e.button&&yo(t,"active")})),y["f"]&&this._register(xo(t,ur.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register(xo(t,ur.CLICK,e=>{dr.stop(e,!0),this.options&&this.options.isMenu||y["j"](()=>this.onClick(e))})),this._register(xo(t,ur.DBLCLICK,e=>{dr.stop(e,!0)})),[ur.MOUSE_UP,ur.MOUSE_OUT].forEach(e=>{this._register(xo(t,e,e=>{dr.stop(e),_o(t,"active")}))})}onClick(e){var t;dr.stop(e,!0);const n=$r(this._context)?(null===(t=this.options)||void 0===t?void 0:t.useEventAsContext)?e:void 0:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.focus(),yo(this.element,"focused"))}blur(){this.element&&(this.element.blur(),_o(this.element,"focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(go(this.element),this.element=void 0),super.dispose()}}class XS extends JS{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=br(this.element,Ar("a.action-label"))),this.label&&(this._action.id===Yf.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(br(this.element,Ar("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=v({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&Ao(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(yo(this.label,"codicon"),this.cssClass&&wo(this.label,this.cssClass)),this.updateEnabled()):this.label&&_o(this.label,"codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),_o(this.label,"disabled"),this.label.tabIndex=0),this.element&&_o(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),yo(this.label,"disabled"),Sr(this.label)),this.element&&yo(this.element,"disabled"))}updateChecked(){this.label&&(this.getAction().checked?yo(this.label,"checked"):_o(this.label,"checked"))}}class $S extends Ge{constructor(e,t={}){var n,i,o;let r,s;switch(super(),this._onDidBlur=this._register(new et),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new et),this.onDidCancel=this._onDidCancel.event,this._onDidRun=this._register(new et),this.onDidRun=this._onDidRun.event,this._onDidBeforeRun=this._register(new et),this.onDidBeforeRun=this._onDidBeforeRun.event,this.options=t,this._context=null!==(n=t.context)&&void 0!==n?n:null,this._orientation=null!==(i=this.options.orientation)&&void 0!==i?i:0,this._triggerKeys=null!==(o=this.options.triggerKeys)&&void 0!==o?o:{keys:[3,10],keyDown:!1},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new Uf,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onDidBeforeRun(e=>this._onDidBeforeRun.fire(e))),this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&yo(this.domNode,"animated"),this._orientation){case 0:r=15,s=17;break;case 1:r=17,s=15,this.domNode.className+=" reverse";break;case 2:r=16,s=18,this.domNode.className+=" vertical";break;case 3:r=18,s=16,this.domNode.className+=" vertical reverse";break}this._register(xo(this.domNode,ur.KEY_DOWN,e=>{const t=new Mi(e);let n=!0;t.equals(r)?n=this.focusPrevious():t.equals(s)?n=this.focusNext():t.equals(9)?this._onDidCancel.fire():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown&&this.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())})),this._register(xo(this.domNode,ur.KEY_UP,e=>{const t=new Mi(e);this.isTriggerKeyEvent(t)?(this._triggerKeys.keyDown||this.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(mr(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{ir()!==this.domNode&&Xo(ir(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(n=>{t=t||e.equals(n)}),t}updateFocusedItem(){for(let e=0;e<this.actionsList.children.length;e++){const t=this.actionsList.children[e];if(Xo(ir(),t)){this.focusedItem=e;break}}}get context(){return this._context}set context(e){this._context=e,this.viewItems.forEach(t=>t.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let i=qr(t.index)?t.index:null;n.forEach(e=>{const n=document.createElement("li");let o;n.className="action-item",n.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(xo(n,ur.CONTEXT_MENU,e=>{dr.stop(e,!0)})),this.options.actionViewItemProvider&&(o=this.options.actionViewItemProvider(e)),o||(o=new XS(this.context,e,t)),o.actionRunner=this._actionRunner,o.setActionContext(this.context),o.render(n),null===i||i<0||i>=this.actionsList.children.length?(this.actionsList.appendChild(n),this.viewItems.push(o)):(this.actionsList.insertBefore(n,this.actionsList.children[i]),this.viewItems.splice(i,0,o),i++)}),this.focusedItem&&this.focus(this.focusedItem)}clear(){We(this.viewItems),this.viewItems=[],fo(this.actionsList)}focus(e){let t=!1,n=void 0;void 0===e?t=!0:"number"===typeof e?n=e:"boolean"===typeof e&&(t=e),t&&"undefined"===typeof this.focusedItem?(this.focusedItem=-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())}focusNext(){"undefined"===typeof this.focusedItem&&(this.focusedItem=this.viewItems.length-1);const e=this.focusedItem;let t;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=e,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){"undefined"===typeof this.focusedItem&&(this.focusedItem=0);const e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(e,t){"undefined"===typeof this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let n=0;n<this.viewItems.length;n++){const i=this.viewItems[n],o=i;n===this.focusedItem?Zr(o.isEnabled)&&(o.isEnabled()&&Zr(o.focus)?o.focus(e):this.actionsList.focus({preventScroll:t})):Zr(o.blur)&&o.blur()}}doTrigger(e){if("undefined"===typeof this.focusedItem)return;const t=this.viewItems[this.focusedItem];if(t instanceof JS){const n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}run(e,t){return this._actionRunner.run(e,t)}dispose(){We(this.viewItems),this.viewItems=[],go(this.getContainer()),super.dispose()}}const ZS=3;class eD{constructor(e,t,n,i){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=i}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class tD{constructor(e){this.entries=e}}const nD=Cl("diff-review-insert",El.add),iD=Cl("diff-review-remove",El.remove),oD=Cl("diff-review-close",El.close);class rD extends Ge{constructor(e){super(),this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=jg(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=jg(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new $S(this.actionBarContainer.domNode)),this._actionBar.push(new Hf("diffreview.close",v("label.close","Close"),"close-diff-review "+oD.classNames,!0,()=>(this.hide(),Promise.resolve(null))),{label:!1,icon:!0}),this.domNode=jg(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=jg(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new GC(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(ko(this.domNode.domNode,"click",e=>{e.preventDefault();let t=$o(e.target,"diff-review-row");t&&this._goToRow(t)})),this._register(ko(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new pn(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}next(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,n=this._diffs.length;e<n;e++)if(this._diffs[e]===this._currentDiff){t=e;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());if(0===this._diffs.length)return;e%=this._diffs.length;const t=this._diffs[e].entries;this._diffEditor.setPosition(new pn(t[0].modifiedLineStart,1)),this._diffEditor.setSelection({startColumn:1,startLineNumber:t[0].modifiedLineStart,endColumn:1073741824,endLineNumber:t[t.length-1].modifiedLineEnd}),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow())}accept(){let e=-1,t=this._getCurrentFocusedRow();if(t){let n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new pn(e,1)),this._diffEditor.revealPosition(new pn(e,1),1))}hide(){this._isVisible=!1,this._diffEditor.updateOptions({readOnly:!1}),this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()}_getPrevRow(){let e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()}_getNextRow(){let e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()}_getFirstRow(){return this.domNode.domNode.querySelector(".diff-review-row")}_getCurrentFocusedRow(){let e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null}_goToRow(e){let t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()}isVisible(){return this._isVisible}layout(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))}_compute(){const e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];const t=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel();return t&&n?rD._mergeAdjacent(e,t.getLineCount(),n.getLineCount()):[]}static _mergeAdjacent(e,t,n){if(!e||0===e.length)return[];let i=[],o=0;for(let l=0,c=e.length;l<c;l++){const r=e[l],s=r.originalStartLineNumber,a=r.originalEndLineNumber,h=r.modifiedStartLineNumber,u=r.modifiedEndLineNumber;let d=[],p=0;{const t=0===a?s:s-1,n=0===u?h:h-1;let i=1,o=1;if(l>0){const t=e[l-1];i=0===t.originalEndLineNumber?t.originalStartLineNumber+1:t.originalEndLineNumber+1,o=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber+1:t.modifiedEndLineNumber+1}let r=t-ZS+1,c=n-ZS+1;if(r<i){const e=i-r;r+=e,c+=e}if(c<o){const e=o-c;r+=e,c+=e}d[p++]=new eD(r,t,c,n)}0!==a&&(d[p++]=new eD(s,a,0,0)),0!==u&&(d[p++]=new eD(0,0,h,u));{const i=0===a?s+1:a+1,o=0===u?h+1:u+1;let r=t,f=n;if(l+1<c){const t=e[l+1];r=0===t.originalEndLineNumber?t.originalStartLineNumber:t.originalStartLineNumber-1,f=0===t.modifiedEndLineNumber?t.modifiedStartLineNumber:t.modifiedStartLineNumber-1}let g=i+ZS-1,m=o+ZS-1;if(g>r){const e=r-g;g+=e,m+=e}if(m>f){const e=f-m;g+=e,m+=e}d[p++]=new eD(i,g,o,m)}i[o++]=new tD(d)}let r=i[0].entries,s=[],a=0;for(let l=1,c=i.length;l<c;l++){const e=i[l].entries,t=r[r.length-1],n=e[0];0===t.getType()&&0===n.getType()&&n.originalLineStart<=t.originalLineEnd?(r[r.length-1]=new eD(t.originalLineStart,n.originalLineEnd,t.modifiedLineStart,n.modifiedLineEnd),r=r.concat(e.slice(1))):(s[a++]=new tD(r),r=e)}return s[a++]=new tD(r),s}_findDiffIndex(e){const t=e.lineNumber;for(let n=0,i=this._diffs.length;n<i;n++){const e=this._diffs[n].entries,i=e[e.length-1].modifiedLineEnd;if(t<=i)return n}return 0}_render(){const e=this._diffEditor.getOriginalEditor().getOptions(),t=this._diffEditor.getModifiedEditor().getOptions(),n=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel(),o=n.getOptions(),r=i.getOptions();if(!this._isVisible||!n||!i)return fo(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();this._diffEditor.updateOptions({readOnly:!0});const s=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[s]===this._currentDiff)return;this._currentDiff=this._diffs[s];const a=this._diffs[s].entries;let l=document.createElement("div");l.className="diff-review-table",l.setAttribute("role","list"),l.setAttribute("aria-label",'Difference review. Use "Stage | Unstage | Revert Selected Ranges" commands'),Vf.applyFontInfoSlow(l,t.get(36));let c=0,h=0,u=0,d=0;for(let v=0,C=a.length;v<C;v++){const e=a[v],t=e.originalLineStart,n=e.originalLineEnd,i=e.modifiedLineStart,o=e.modifiedLineEnd;0!==t&&(0===c||t<c)&&(c=t),0!==n&&(0===h||n>h)&&(h=n),0!==i&&(0===u||i<u)&&(u=i),0!==o&&(0===d||o>d)&&(d=o)}let p=document.createElement("div");p.className="diff-review-row";let f=document.createElement("div");f.className="diff-review-cell diff-review-summary";const g=h-c+1,m=d-u+1;f.appendChild(document.createTextNode(`${s+1}/${this._diffs.length}: @@ -${c},${g} +${u},${m} @@`)),p.setAttribute("data-line",String(u));const b=e=>0===e?v("no_lines_changed","no lines changed"):1===e?v("one_line_changed","1 line changed"):v("more_lines_changed","{0} lines changed",e),y=b(g),w=b(m);p.setAttribute("aria-label",v({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",s+1,this._diffs.length,c,y,u,w)),p.appendChild(f),p.setAttribute("role","listitem"),l.appendChild(p);const _=t.get(51);let A=u;for(let v=0,C=a.length;v<C;v++){const s=a[v];rD._renderSection(l,s,A,_,this._width,e,n,o,t,i,r),0!==s.modifiedLineStart&&(A=s.modifiedLineEnd)}fo(this._content.domNode),this._content.domNode.appendChild(l),this.scrollbar.scanDomNode()}static _renderSection(e,t,n,i,o,r,s,a,l,c,h){const u=t.getType();let d="diff-review-row",p="";const f="diff-review-spacer";let g=null;switch(u){case 1:d="diff-review-row line-insert",p=" char-insert",g=nD;break;case 2:d="diff-review-row line-delete",p=" char-delete",g=iD;break}const m=t.originalLineStart,b=t.originalLineEnd,y=t.modifiedLineStart,w=t.modifiedLineEnd,_=Math.max(w-y,b-m),A=r.get(117),C=A.glyphMarginWidth+A.lineNumbersWidth,E=l.get(117),x=10+E.glyphMarginWidth+E.lineNumbersWidth;for(let S=0;S<=_;S++){const t=0===m?0:m+S,b=0===y?0:y+S,w=document.createElement("div");w.style.minWidth=o+"px",w.className=d,w.setAttribute("role","listitem"),0!==b&&(n=b),w.setAttribute("data-line",String(n));let _=document.createElement("div");_.className="diff-review-cell",_.style.height=i+"px",w.appendChild(_);const A=document.createElement("span");A.style.width=C+"px",A.style.minWidth=C+"px",A.className="diff-review-line-number"+p,0!==t?A.appendChild(document.createTextNode(String(t))):A.innerText=" ",_.appendChild(A);const E=document.createElement("span");E.style.width=x+"px",E.style.minWidth=x+"px",E.style.paddingRight="10px",E.className="diff-review-line-number"+p,0!==b?E.appendChild(document.createTextNode(String(b))):E.innerText=" ",_.appendChild(E);const D=document.createElement("span");if(D.className=f,g){const e=document.createElement("span");e.className=g.classNames,e.innerText="  ",D.appendChild(e)}else D.innerText="  ";let k;_.appendChild(D),0!==b?(_.insertAdjacentHTML("beforeend",this._renderLine(c,l,h.tabSize,b)),k=c.getLineContent(b)):(_.insertAdjacentHTML("beforeend",this._renderLine(s,r,a.tabSize,t)),k=s.getLineContent(t)),0===k.length&&(k=v("blankLine","blank"));let M="";switch(u){case 0:M=t===b?v({key:"unchangedLine",comment:["The placholders are contents of the line and should not be translated."]},"{0} unchanged line {1}",k,t):v("equalLine","{0} original line {1} modified line {2}",k,t,b);break;case 1:M=v("insertLine","+ {0} modified line {1}",k,b);break;case 2:M=v("deleteLine","- {0} original line {1}",k,t);break}w.setAttribute("aria-label",M),e.appendChild(w)}}static _renderLine(e,t,n,i){const o=e.getLineContent(i),r=t.get(36),s=16793600,a=new Uint32Array(2);a[0]=o.length,a[1]=s;const l=new vu(a,o),c=Vu.isBasicASCII(o,e.mightContainNonBasicASCII()),h=Vu.containsRTL(o,c,e.mightContainRTL()),u=Lu(new Su(r.isMonospace&&!t.get(24),r.canUseHalfwidthRightwardsArrow,o,!1,c,h,0,l,[],n,0,r.spaceWidth,r.middotWidth,r.wsmiddotWidth,t.get(95),t.get(80),t.get(74),t.get(37)!==q.OFF,null));return u.html}}Am((e,t)=>{const n=e.getColor(tA);n&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${n}; }`);const i=e.getColor(xw);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)});class sD extends Dg{constructor(){super({id:"editor.action.diffReview.next",label:v("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:Jf.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const n=lD(e);n&&n.diffReviewNext()}}class aD extends Dg{constructor(){super({id:"editor.action.diffReview.prev",label:v("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:Jf.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const n=lD(e);n&&n.diffReviewPrev()}}function lD(e){const t=e.get(ri),n=t.listDiffEditors(),i=t.getActiveCodeEditor();if(!i)return null;for(let o=0,r=n.length;o<r;o++){const e=n[o];if(e.getModifiedEditor().getId()===i.getId()||e.getOriginalEditor().getId()===i.getId())return e}return null}Mg(sD),Mg(aD);const cD=ii("contextViewService"),hD=ii("contextMenuService");var uD=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class dD extends Ge{constructor(e,t,n,i,o,r){super(),this._viewZoneId=e,this._marginDomNode=t,this.editor=n,this.diff=i,this._contextMenuService=o,this._clipboardService=r,this._visibility=!1,this._marginDomNode.style.zIndex="10",this._diffActions=document.createElement("div"),this._diffActions.className=El.lightBulb.classNames+" lightbulb-glyph",this._diffActions.style.position="absolute";const s=n.getOption(51),a=n.getModel().getEOL();this._diffActions.style.right="0px",this._diffActions.style.visibility="hidden",this._diffActions.style.height=s+"px",this._diffActions.style.lineHeight=s+"px",this._marginDomNode.appendChild(this._diffActions);const l=[];l.push(new Hf("diff.clipboard.copyDeletedContent",i.originalEndLineNumber>i.modifiedStartLineNumber?v("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):v("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>uD(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(i.originalContent.join(a)+a)}))));let c=0,h=void 0;i.originalEndLineNumber>i.modifiedStartLineNumber&&(h=new Hf("diff.clipboard.copyDeletedLineContent",v("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber),void 0,!0,()=>uD(this,void 0,void 0,(function*(){yield this._clipboardService.writeText(i.originalContent[c])}))),l.push(h));const u=n.getOption(72);u||l.push(new Hf("diff.inline.revertChange",v("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>uD(this,void 0,void 0,(function*(){if(0===i.modifiedEndLineNumber){const e=n.getModel().getLineMaxColumn(i.modifiedStartLineNumber);n.executeEdits("diffEditor",[{range:new fn(i.modifiedStartLineNumber,e,i.modifiedStartLineNumber,e),text:a+i.originalContent.join(a)}])}else{const e=n.getModel().getLineMaxColumn(i.modifiedEndLineNumber);n.executeEdits("diffEditor",[{range:new fn(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,e),text:i.originalContent.join(a)}])}}))));const d=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(h&&(h.label=v("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber+c)),l),autoSelectFirstItem:!0})};this._register(ko(this._diffActions,"mousedown",e=>{const{top:t,height:n}=Uo(this._diffActions);let i=Math.floor(s/3);e.preventDefault(),d(e.posx,t+n+i)})),this._register(n.onMouseMove(e=>{if(8===e.target.type||5===e.target.type){const t=e.target.detail.viewZoneId;t===this._viewZoneId?(this.visibility=!0,c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,s)):this.visibility=!1}else this.visibility=!1})),this._register(n.onMouseDown(e=>{if(e.event.rightButton&&(8===e.target.type||5===e.target.type)){const t=e.target.detail.viewZoneId;t===this._viewZoneId&&(e.event.preventDefault(),c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,s),d(e.event.posx,e.event.posy+s))}}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,n){const{top:i}=Uo(e),o=t-i,r=Math.floor(o/n),s=r*n;return this._diffActions.style.top=s+"px",r}}const pD=ii("clipboardService");class fD{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}fD.None=Object.freeze({report(){}});const gD=ii("editorProgressService");var mD=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},bD=function(e,t){return function(n,i){t(n,i,e)}};class vD{constructor(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}getForeignViewZones(e){return e.filter(e=>!this._zonesMap[String(e.id)])}clean(e){this._zones.length>0&&e.changeViewZones(e=>{for(let t=0,n=this._zones.length;t<n;t++)e.removeZone(this._zones[t])}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,n,i){const o=i?YS.capture(e):null;e.changeViewZones(t=>{for(let e=0,n=this._zones.length;e<n;e++)t.removeZone(this._zones[e]);for(let e=0,n=this.inlineDiffMargins.length;e<n;e++)this.inlineDiffMargins[e].dispose();this._zones=[],this._zonesMap={},this.inlineDiffMargins=[];for(let i=0,o=n.zones.length;i<o;i++){const o=n.zones[i];o.suppressMouseDown=!0;let r=t.addZone(o);this._zones.push(r),this._zonesMap[String(r)]=!0,n.zones[i].diff&&o.marginDomNode&&(o.suppressMouseDown=!1,this.inlineDiffMargins.push(new dD(r,o.marginDomNode,e,n.zones[i].diff,this._contextMenuService,this._clipboardService)))}}),o&&o.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)}}let yD=0;const wD=Cl("diff-insert",El.add),_D=Cl("diff-remove",El.remove);let AD=class e extends Ge{constructor(t,n,i,o,r,s,a,l,c,h,u){super(),this._editorProgressService=u,this._onDidDispose=this._register(new et),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new et),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new et),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=o,this._codeEditorService=a,this._contextKeyService=this._register(r.createScoped(t)),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=l,this._notificationService=c,this.id=++yD,this._state=0,this._updatingDiffProgress=null,this._domElement=t,n=n||{},this._renderSideBySide=!0,"undefined"!==typeof n.renderSideBySide&&(this._renderSideBySide=n.renderSideBySide),this._maxComputationTime=5e3,"undefined"!==typeof n.maxComputationTime&&(this._maxComputationTime=n.maxComputationTime),this._ignoreTrimWhitespace=!0,"undefined"!==typeof n.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=n.ignoreTrimWhitespace),this._renderIndicators=!0,"undefined"!==typeof n.renderIndicators&&(this._renderIndicators=n.renderIndicators),this._originalIsEditable=!1,"undefined"!==typeof n.originalEditable&&(this._originalIsEditable=Boolean(n.originalEditable)),this._originalCodeLens=!1,"undefined"!==typeof n.originalCodeLens&&(this._originalCodeLens=Boolean(n.originalCodeLens)),this._modifiedCodeLens=!1,"undefined"!==typeof n.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(n.modifiedCodeLens)),this._updateDecorationsRunner=this._register(new Hi(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=jg(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(ko(this._overviewDomElement,"mousedown",e=>{this.modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new vD(h,i),this._modifiedEditorState=new vD(h,i),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new Ff(this._containerDomElement,void 0,()=>this._onDidContainerSizeChanged())),n.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null;const d=this._contextKeyService.createScoped(),p=new nS;p.set(ug,d);const f=s.createChild(p),g=this._contextKeyService.createScoped(),m=new nS;m.set(ug,g);const b=s.createChild(m);this.originalEditor=this._createLeftHandSideEditor(n,f,d),this.modifiedEditor=this._createRightHandSideEditor(n,b,g),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new rD(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,"undefined"!==typeof n.enableSplitViewResizing&&(this._enableSplitViewResizing=n.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new kD(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new ND(this._createDataSource(),this._enableSplitViewResizing)),this._register(l.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));const v=Lg.getDiffEditorContributions();for(const e of v)try{this._register(s.createInstance(e.ctor,this))}catch(y){Me(y)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=vm(e.type),n}_recreateOverviewRulers(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()}_createLeftHandSideEditor(t,n,i){const o=this._createInnerEditor(n,this._originalDomNode,this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens));this._register(o.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(o.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(o.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()}));const r=i.createKey("isInDiffLeftEditor",void 0);return this._register(o.onDidFocusEditorWidget(()=>r.set(!0))),this._register(o.onDidBlurEditorWidget(()=>r.set(!1))),this._register(o.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),o}_createRightHandSideEditor(t,n,i){const o=this._createInnerEditor(n,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens));this._register(o.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(o.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(o.onDidChangeConfiguration(e=>{e.hasChanged(36)&&o.getModel()&&this._onViewZonesChanged()})),this._register(o.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(o.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()}));const r=i.createKey("isInDiffRightEditor",void 0);return this._register(o.onDidFocusEditorWidget(()=>r.set(!0))),this._register(o.onDidBlurEditorWidget(()=>r.set(!1))),this._register(o.onDidContentSizeChange(t=>{const n=this.originalEditor.getContentWidth()+this.modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,i=Math.max(this.modifiedEditor.getContentHeight(),this.originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:i,contentWidth:n,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),o}_createInnerEditor(e,t,n){return e.createInstance(xS,t,n,{})}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this.id}getEditorType(){return Ts.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this.originalEditor}getModifiedEditor(){return this.modifiedEditor}updateOptions(t){let n=!1;"undefined"!==typeof t.renderSideBySide&&this._renderSideBySide!==t.renderSideBySide&&(this._renderSideBySide=t.renderSideBySide,n=!0),"undefined"!==typeof t.maxComputationTime&&(this._maxComputationTime=t.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());let i=!1;"undefined"!==typeof t.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==t.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=t.ignoreTrimWhitespace,i=!0),"undefined"!==typeof t.renderIndicators&&this._renderIndicators!==t.renderIndicators&&(this._renderIndicators=t.renderIndicators,i=!0),i&&this._beginUpdateDecorations(),"undefined"!==typeof t.originalEditable&&(this._originalIsEditable=Boolean(t.originalEditable)),"undefined"!==typeof t.originalCodeLens&&(this._originalCodeLens=Boolean(t.originalCodeLens)),"undefined"!==typeof t.modifiedCodeLens&&(this._modifiedCodeLens=Boolean(t.modifiedCodeLens)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t,this._modifiedCodeLens)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t,this._originalIsEditable,this._originalCodeLens)),"undefined"!==typeof t.enableSplitViewResizing&&(this._enableSplitViewResizing=t.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new kD(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new ND(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide))}getModel(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this.modifiedEditor.getPosition()}setPosition(e){this.modifiedEditor.setPosition(e)}revealLine(e,t=0){this.modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this.modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this.modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this.modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this.modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this.modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this.modifiedEditor.getSelection()}getSelections(){return this.modifiedEditor.getSelections()}setSelection(e){this.modifiedEditor.setSelection(e)}setSelections(e){this.modifiedEditor.setSelections(e)}revealLines(e,t,n=0){this.modifiedEditor.revealLines(e,t,n)}revealLinesInCenter(e,t,n=0){this.modifiedEditor.revealLinesInCenter(e,t,n)}revealLinesInCenterIfOutsideViewport(e,t,n=0){this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)}revealLinesNearTop(e,t,n=0){this.modifiedEditor.revealLinesNearTop(e,t,n)}revealRange(e,t=0,n=!1,i=!0){this.modifiedEditor.revealRange(e,t,n,i)}revealRangeInCenter(e,t=0){this.modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this.modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this.modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this.modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this.modifiedEditor.getSupportedActions()}saveViewState(){let e=this.originalEditor.saveViewState(),t=this.modifiedEditor.saveViewState();return{original:e,modified:t}}restoreViewState(e){if(e.original&&e.modified){let t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}}layout(e){this._elementSizeObserver.observe(e)}focus(){this.modifiedEditor.focus()}hasTextFocus(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()}trigger(e,t,n){this.modifiedEditor.trigger(e,t,n)}changeDecorations(e){return this.modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){if(!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const t=this._elementSizeObserver.getHeight(),n=this._getReviewHeight();let i=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH,o=this.modifiedEditor.getLayoutInfo();o&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:i+e.ONE_OVERVIEW_WIDTH,height:t-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-n}))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this.originalEditor.getModel(),n=this.modifiedEditor.getModel();if(!t||!n)return;this._diffComputationToken++;let i=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(t.uri,n.uri)?this._editorWorkerService.computeDiff(t.uri,n.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(e=>{i===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{i===this._diffComputationToken&&t===this.originalEditor.getModel()&&n===this.modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(n.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=n.uri,this._notificationService.warn(v("diff.tooLarge","Cannot compare files because one file is too large.")))}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)}_updateDecorations(){if(!this.originalEditor.getModel()||!this.modifiedEditor.getModel()||!this._originalOverviewRuler||!this._modifiedOverviewRuler)return;const e=this._diffComputationResult?this._diffComputationResult.changes:[];let t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),i=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,i.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,i.modified,!0)}finally{this._currentlyChangingViewZones=!1}}_adjustOptionsForSubEditor(e){let t=ys(e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.overflowWidgetsDomNode=e.overflowWidgetsDomNode,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e,t,n){let i=this._adjustOptionsForSubEditor(e);return n&&(i.codeLens=!0),i.readOnly=!t,i.extraEditorClassName="original-in-monaco-diff-editor",i}_adjustOptionsForRightHandSide(t,n){let i=this._adjustOptionsForSubEditor(t);return n&&(i.codeLens=!0),i.revealHorizontalRightPadding=Se.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",i}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){const t=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),i=this._getReviewHeight();let o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-i+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:o,height:n-i}),this.modifiedEditor.layout({width:t-o-e.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-i}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-i,t,i),this._layoutOverviewViewport()}_layoutOverviewViewport(){let e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){let e=this.modifiedEditor.getLayoutInfo();if(!e)return null;let t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),i=Math.max(0,e.height),o=Math.max(0,i-0),r=n>0?o/n:0,s=Math.max(0,Math.floor(e.height*r)),a=Math.floor(t*r);return{height:s,top:a}}_createDataSource(){return{getWidth:()=>this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this.originalEditor,getModifiedEditor:()=>this.modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){const n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;let i=0,o=n.length-1;while(i<o){let r=Math.floor((i+o)/2),s=t(n[r]),a=r+1<=o?t(n[r+1]):1073741824;e<s?o=r-1:e>=a?i=r+1:(i=r,o=r)}return n[i]}_getEquivalentLineForOriginalLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.originalStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s}_getEquivalentLineForModifiedLineNumber(e){let t=this._getLineChangeAtOrBeforeLineNumber(e,e=>e.modifiedStartLineNumber);if(!t)return e;let n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s}getDiffLineInformationForOriginal(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null}getDiffLineInformationForModified(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null}};AD.ONE_OVERVIEW_WIDTH=15,AD.ENTIRE_DIFF_OVERVIEW_WIDTH=30,AD.UPDATE_DIFF_DECORATIONS_DELAY=200,AD=mD([bD(2,pD),bD(3,dc),bD(4,ug),bD(5,ti),bD(6,ri),bD(7,pm),bD(8,Wp),bD(9,hD),bD(10,gD)],AD);class CD extends Ge{constructor(e){super(),this._dataSource=e,this._insertColor=null,this._removeColor=null}applyColors(e){let t=(e.getColor(n_)||e_).transparent(2),n=(e.getColor(i_)||t_).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i}getEditorsDiffDecorations(e,t,n,i,o,r,s){o=o.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),i=i.sort((e,t)=>e.afterLineNumber-t.afterLineNumber);let a=this._getViewZones(e,i,o,r,s,n),l=this._getOriginalEditorDecorations(e,t,n,r,s),c=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.original},modified:{decorations:c.decorations,overviewZones:c.overviewZones,zones:a.modified}}}}class ED{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null}}class xD{constructor(e,t,n,i,o){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=i,this.modifiedLineHeight=o}getViewZones(){let e={original:[],modified:[]},t=0,n=0,i=0,o=0,r=0,s=0,a=(e,t)=>e.afterLineNumber-t.afterLineNumber,l=(e,t)=>{if(null===t.domNode&&e.length>0){let n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},c=new ED(this.modifiedForeignVZ),h=new ED(this.originalForeignVZ);for(let u=0,d=this.lineChanges.length;u<=d;u++){let p=u<d?this.lineChanges[u]:null;null!==p?(i=p.originalStartLineNumber+(p.originalEndLineNumber>0?-1:0),o=p.modifiedStartLineNumber+(p.modifiedEndLineNumber>0?-1:0),n=p.originalEndLineNumber>0?p.originalEndLineNumber-p.originalStartLineNumber+1:0,t=p.modifiedEndLineNumber>0?p.modifiedEndLineNumber-p.modifiedStartLineNumber+1:0,r=Math.max(p.originalStartLineNumber,p.originalEndLineNumber),s=Math.max(p.modifiedStartLineNumber,p.modifiedEndLineNumber)):(i+=1e7+n,o+=1e7+t,r=i,s=o);let f=[],g=[];while(c.current&&c.current.afterLineNumber<=s){let e;e=c.current.afterLineNumber<=o?i-o+c.current.afterLineNumber:r;let t=null;p&&p.modifiedStartLineNumber<=c.current.afterLineNumber&&c.current.afterLineNumber<=p.modifiedEndLineNumber&&(t=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),f.push({afterLineNumber:e,heightInLines:c.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:t}),c.advance()}while(h.current&&h.current.afterLineNumber<=r){let e;e=h.current.afterLineNumber<=i?o-i+h.current.afterLineNumber:s,g.push({afterLineNumber:e,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==p&&BD(p)){let e=this._produceOriginalFromDiff(p,n,t);e&&f.push(e)}if(null!==p&&ID(p)){let e=this._produceModifiedFromDiff(p,n,t);e&&g.push(e)}let m=0,b=0;f=f.sort(a),g=g.sort(a);while(m<f.length&&b<g.length){let t=f[m],n=g[b],r=t.afterLineNumber-i,s=n.afterLineNumber-o;r<s?(l(e.original,t),m++):s<r?(l(e.modified,n),b++):t.shouldNotShrink?(l(e.original,t),m++):n.shouldNotShrink?(l(e.modified,n),b++):t.heightInLines>=n.heightInLines?(t.heightInLines-=n.heightInLines,b++):(n.heightInLines-=t.heightInLines,m++)}while(m<f.length)l(e.original,f[m]),m++;while(b<g.length)l(e.modified,g[b]),b++}return{original:xD._ensureDomNodes(e.original),modified:xD._ensureDomNodes(e.modified)}}static _ensureDomNodes(e){return e.map(e=>(e.domNode||(e.domNode=TD()),e))}}function SD(e,t,n,i,o){return{range:new fn(e,t,n,i),options:o}}const DD={charDelete:ry.register({className:"char-delete"}),charDeleteWholeLine:ry.register({className:"char-delete",isWholeLine:!0}),charInsert:ry.register({className:"char-insert"}),charInsertWholeLine:ry.register({className:"char-insert",isWholeLine:!0}),lineInsert:ry.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:ry.register({className:"line-insert",linesDecorationsClassName:"insert-sign "+wD.classNames,marginClassName:"line-insert",isWholeLine:!0}),lineDelete:ry.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:ry.register({className:"line-delete",linesDecorationsClassName:"delete-sign "+_D.classNames,marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:ry.register({marginClassName:"line-delete"})};class kD extends CD{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new jS(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this.onSashDragStart()),this._sash.onDidChange(e=>this.onSashDrag(e)),this._sash.onDidEnd(()=>this.onSashDragEnd()),this._sash.onDidReset(()=>this.onSashReset())}setEnableSplitViewResizing(e){let t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){let t=this._dataSource.getWidth(),n=t-AD.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.floor((e||.5)*n),o=Math.floor(.5*n);return i=this._disableSash?o:i||o,n>2*kD.MINIMUM_EDITOR_WIDTH?(i<kD.MINIMUM_EDITOR_WIDTH&&(i=kD.MINIMUM_EDITOR_WIDTH),i>n-kD.MINIMUM_EDITOR_WIDTH&&(i=n-kD.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition}onSashDragStart(){this._startSashPosition=this._sashPosition}onSashDrag(e){let t=this._dataSource.getWidth(),n=t-AD.ENTIRE_DIFF_OVERVIEW_WIDTH,i=this.layout((this._startSashPosition+(e.currentX-e.startX))/n);this._sashRatio=i/n,this._dataSource.relayoutEditors()}onSashDragEnd(){this._sash.layout()}onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,n,i,o){let r=new MD(e,t,i.getOption(51),n,o.getOption(51));return r.getViewZones()}_getOriginalEditorDecorations(e,t,n,i,o){const r=String(this._removeColor);let s={decorations:[],overviewZones:[]},a=i.getModel();for(let l=0,c=e.length;l<c;l++){let i=e[l];if(ID(i)&&(s.decorations.push({range:new fn(i.originalStartLineNumber,1,i.originalEndLineNumber,1073741824),options:n?DD.lineDeleteWithSign:DD.lineDelete}),BD(i)&&i.charChanges||s.decorations.push(SD(i.originalStartLineNumber,1,i.originalEndLineNumber,1073741824,DD.charDeleteWholeLine)),s.overviewZones.push(new NE(i.originalStartLineNumber,i.originalEndLineNumber,r)),i.charChanges))for(let e=0,n=i.charChanges.length;e<n;e++){let n=i.charChanges[e];if(ID(n))if(t)for(let e=n.originalStartLineNumber;e<=n.originalEndLineNumber;e++){let t,i;t=e===n.originalStartLineNumber?n.originalStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.originalEndLineNumber?n.originalEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(SD(e,t,e,i,DD.charDelete))}else s.decorations.push(SD(n.originalStartLineNumber,n.originalStartColumn,n.originalEndLineNumber,n.originalEndColumn,DD.charDelete))}}return s}_getModifiedEditorDecorations(e,t,n,i,o){const r=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=o.getModel();for(let l=0,c=e.length;l<c;l++){let i=e[l];if(BD(i)&&(s.decorations.push({range:new fn(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,1073741824),options:n?DD.lineInsertWithSign:DD.lineInsert}),ID(i)&&i.charChanges||s.decorations.push(SD(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,1073741824,DD.charInsertWholeLine)),s.overviewZones.push(new NE(i.modifiedStartLineNumber,i.modifiedEndLineNumber,r)),i.charChanges))for(let e=0,n=i.charChanges.length;e<n;e++){let n=i.charChanges[e];if(BD(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(SD(e,t,e,i,DD.charInsert))}else s.decorations.push(SD(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,DD.charInsert))}}return s}}kD.MINIMUM_EDITOR_WIDTH=100;class MD extends xD{constructor(e,t,n,i,o){super(e,t,n,i,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null}_produceModifiedFromDiff(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null}}class ND extends CD{constructor(e,t){super(e),this.decorationsLeft=e.getOriginalEditor().getLayoutInfo().decorationsLeft,this._register(e.getOriginalEditor().onDidLayoutChange(t=>{this.decorationsLeft!==t.decorationsLeft&&(this.decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,n,i,o,r){let s=new LD(e,t,n,i,o,r);return s.getViewZones()}_getOriginalEditorDecorations(e,t,n,i,o){const r=String(this._removeColor);let s={decorations:[],overviewZones:[]};for(let a=0,l=e.length;a<l;a++){let t=e[a];ID(t)&&(s.decorations.push({range:new fn(t.originalStartLineNumber,1,t.originalEndLineNumber,1073741824),options:DD.lineDeleteMargin}),s.overviewZones.push(new NE(t.originalStartLineNumber,t.originalEndLineNumber,r)))}return s}_getModifiedEditorDecorations(e,t,n,i,o){const r=String(this._insertColor);let s={decorations:[],overviewZones:[]},a=o.getModel();for(let l=0,c=e.length;l<c;l++){let i=e[l];if(BD(i))if(s.decorations.push({range:new fn(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,1073741824),options:n?DD.lineInsertWithSign:DD.lineInsert}),s.overviewZones.push(new NE(i.modifiedStartLineNumber,i.modifiedEndLineNumber,r)),i.charChanges)for(let e=0,n=i.charChanges.length;e<n;e++){let n=i.charChanges[e];if(BD(n))if(t)for(let e=n.modifiedStartLineNumber;e<=n.modifiedEndLineNumber;e++){let t,i;t=e===n.modifiedStartLineNumber?n.modifiedStartColumn:a.getLineFirstNonWhitespaceColumn(e),i=e===n.modifiedEndLineNumber?n.modifiedEndColumn:a.getLineLastNonWhitespaceColumn(e),s.decorations.push(SD(e,t,e,i,DD.charInsert))}else s.decorations.push(SD(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn,DD.charInsert))}else s.decorations.push(SD(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,1073741824,DD.charInsertWholeLine))}return s}layout(){return Math.max(5,this.decorationsLeft)}}class LD extends xD{constructor(e,t,n,i,o,r){super(e,t,i.getOption(51),n,o.getOption(51)),this.originalModel=i.getModel(),this.modifiedEditorOptions=o.getOptions(),this.modifiedEditorTabSize=o.getModel().getOptions().tabSize,this.renderIndicators=r}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){let e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,n){let i=document.createElement("div");return i.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:i}}_produceModifiedFromDiff(e,t,n){let i=[];if(e.charChanges)for(let g=0,m=e.charChanges.length;g<m;g++){let t=e.charChanges[g];ID(t)&&i.push(new Wu(new fn(t.originalStartLineNumber,t.originalStartColumn,t.originalEndLineNumber,t.originalEndColumn),"char-delete",0))}let o=Bc(1e4),r=[];const s=this.modifiedEditorOptions.get(117),a=this.modifiedEditorOptions.get(36),l=s.decorationsWidth;let c=this.modifiedEditorOptions.get(51);const h=a.typicalHalfwidthCharacterWidth;let u=0;const d=[];for(let g=e.originalStartLineNumber;g<=e.originalEndLineNumber;g++)if(u=Math.max(u,this._renderOriginalLine(g-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,g,i,o)),d.push(this.originalModel.getLineContent(g)),this.renderIndicators){let t=g-e.originalStartLineNumber;r=r.concat([`<div class="delete-sign ${_D.classNames}" style="position:absolute;top:${t*c}px;width:${l}px;height:${c}px;right:0;"></div>`])}u+=this.modifiedEditorOptions.get(85);let p=document.createElement("div");p.className="view-lines line-delete "+mA,p.innerHTML=o.build(),Vf.applyFontInfoSlow(p,a);let f=document.createElement("div");return f.className="inline-deleted-margin-view-zone",f.innerHTML=r.join(""),Vf.applyFontInfoSlow(f,a),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:u*h,domNode:p,marginDomNode:f,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:d}}}_renderOriginalLine(e,t,n,i,o,r,s){const a=t.getLineTokens(o),l=a.getLineContent(),c=n.get(36),h=wu.filter(r,o,1,l.length+1);s.appendASCIIString('<div class="view-line'),0===r.length&&s.appendASCIIString(" char-delete"),s.appendASCIIString('" style="top:'),s.appendASCIIString(String(e*n.get(51))),s.appendASCIIString('px;width:1000000px;">');const u=Vu.isBasicASCII(l,t.mightContainNonBasicASCII()),d=Vu.containsRTL(l,u,t.mightContainRTL()),p=Mu(new Su(c.isMonospace&&!n.get(24),c.canUseHalfwidthRightwardsArrow,l,!1,u,d,0,a,h,i,0,c.spaceWidth,c.middotWidth,c.wsmiddotWidth,n.get(95),n.get(80),n.get(74),n.get(37)!==q.OFF,null),s);s.appendASCIIString("</div>");const f=p.characterMapping.getAbsoluteOffsets();return f.length>0?f[f.length-1]:0}}function BD(e){return e.modifiedEndLineNumber>0}function ID(e){return e.originalEndLineNumber>0}function TD(){let e=document.createElement("div");return e.className="diagonal-fill",e}Am((e,t)=>{const n=e.getColor(n_);n&&(t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${n}; }`),t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${n}; }`));const i=e.getColor(i_);i&&(t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i}; }`));const o=e.getColor(o_);o&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${o}; }`);const r=e.getColor(r_);r&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${r}; }`);const s=e.getColor(xw);s&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${s}; }`);const a=e.getColor(s_);a&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${a}; }`);const l=e.getColor(Sw);l&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${l};\n\t\t\t}\n\t\t`);const c=e.getColor(Dw);c&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${c};\n\t\t\t}\n\t\t`);const h=e.getColor(kw);h&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${h};\n\t\t\t}\n\t\t`);const u=e.getColor(a_);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${u} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${u} 50%, ${u} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)});const OD=ii("themeService"),RD=ii("keybindingService");var PD=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},FD=function(e,t){return function(n,i){t(n,i,e)}};let jD=0,QD=!1;function zD(){QD||(QD=!0,Bf(document.body))}let VD=class extends xS{constructor(e,t,n,i,o,r,s,a,l,c){t=t||{},t.ariaLabel=t.ariaLabel||ef.editorViewAccessibleLabel,t.ariaLabel=t.ariaLabel+";"+ef.accessibilityHelpMessage,super(e,t,{},n,i,o,r,a,l,c),this._standaloneKeybindingService=s instanceof gf?s:null,zD()}addCommand(e,t,n){if(!this._standaloneKeybindingService)return null;let i="DYNAMIC_"+ ++jD,o=Jf.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,t,o),i}createContextKey(e,t){return this._contextKeyService.createKey(e,t)}addAction(e){if("string"!==typeof e.id||"string"!==typeof e.label||"function"!==typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return Ge.None;const t=e.id,n=e.label,i=Jf.and(Jf.equals("editorId",this.getId()),Jf.deserialize(e.precondition)),o=e.keybindings,r=Jf.and(i,Jf.deserialize(e.keybindingContext)),s=e.contextMenuGroupId||null,a=e.contextMenuOrder||0,l=(t,...n)=>Promise.resolve(e.run(this,...n)),c=new Ye,h=this.getId()+":"+t;if(c.add(as.registerCommand(h,l)),s){let e={command:{id:h,title:n},when:i,group:s,order:a};c.add(vg.appendMenuItem(mg.EditorContext,e))}if(Array.isArray(o))for(const d of o)c.add(this._standaloneKeybindingService.addDynamicKeybinding(h,d,l,r));let u=new Mx(h,n,n,i,l,this._contextKeyService);return this._actions[t]=u,c.add(Ue(()=>{delete this._actions[t]})),c}};VD=PD([FD(2,ti),FD(3,ri),FD(4,ss),FD(5,ug),FD(6,RD),FD(7,pm),FD(8,Wp),FD(9,iS)],VD);let WD=class extends VD{constructor(e,t,n,i,o,r,s,a,l,c,h,u,d){Af(u,t,!1);const p=c.registerEditorContainer(e);t=t||{},"string"===typeof t.theme&&c.setTheme(t.theme);let f,g=t.model;if(delete t.model,super(e,t,i,o,r,s,a,c,h,d),this._contextViewService=l,this._configurationService=u,this._standaloneThemeService=c,this._register(n),this._register(p),"undefined"===typeof g?(f=self.monaco.editor.createModel(t.value||"",t.language||"text/plain"),this._ownsModel=!0):(f=g,this._ownsModel=!1),this._attachModel(f),f){let e={oldModelUrl:null,newModelUrl:f.uri};this._onDidChangeModel.fire(e)}}dispose(){super.dispose()}updateOptions(e){Af(this._configurationService,e,!1),"string"===typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_attachModel(e){super._attachModel(e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}};WD=PD([FD(3,ti),FD(4,ri),FD(5,ss),FD(6,ug),FD(7,RD),FD(8,cD),FD(9,OD),FD(10,Wp),FD(11,gp),FD(12,iS)],WD);let HD=class extends AD{constructor(e,t,n,i,o,r,s,a,l,c,h,u,d,p,f){Af(u,t,!0);const g=c.registerEditorContainer(e);t=t||{},"string"===typeof t.theme&&(t.theme=c.setTheme(t.theme)),super(e,t,f,a,o,i,l,c,h,d,p),this._contextViewService=s,this._configurationService=u,this._standaloneThemeService=c,this._register(n),this._register(g),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(e){Af(this._configurationService,e,!0),"string"===typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),super.updateOptions(e)}_createInnerEditor(e,t,n){return e.createInstance(VD,t,n)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}};HD=PD([FD(3,ti),FD(4,ug),FD(5,RD),FD(6,cD),FD(7,dc),FD(8,ri),FD(9,OD),FD(10,Wp),FD(11,gp),FD(12,hD),FD(13,gD),FD(14,pD)],HD);const UD=ii("modeService");class YD{constructor(e){this._languageIdentifier=e}getId(){return this._languageIdentifier.language}}const GD="text/plain",KD="application/unknown";let qD=[],JD=[],XD=[];function $D(e,t=!1){const n=ZD(e);qD.push(n),n.userConfigured?XD.push(n):JD.push(n),t&&!n.userConfigured&&qD.forEach(e=>{e.mime===n.mime||e.userConfigured||(n.extension&&(e.extension,n.extension),n.filename&&(e.filename,n.filename),n.filepattern&&(e.filepattern,n.filepattern),n.firstline&&(e.firstline,n.firstline))})}function ZD(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(Ft.sep)>=0}}function ek(e,t){let n;if(e)switch(e.scheme){case co.file:n=e.fsPath;break;case co.data:const t=Yr.parseMetaData(e);n=t.get(Yr.META_DATA_LABEL);break;default:n=e.path}if(!n)return[KD];n=n.toLowerCase();const i=Wt(n),o=tk(n,i,XD);if(o)return[o,GD];const r=tk(n,i,JD);if(r)return[r,GD];if(t){const e=nk(t);if(e)return[e,GD]}return[KD]}function tk(e,t,n){let i=null,o=null,r=null;for(let s=n.length-1;s>=0;s--){const a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){const n=a.filepatternOnPath?e:t;fa(a.filepatternLowercase,n)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&t.endsWith(a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}function nk(e){if(Object(Rr["R"])(e)&&(e=e.substr(1)),e.length>0)for(let t=qD.length-1;t>=0;t--){const n=qD[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}return null}const ik={ModesRegistry:"editor.modesRegistry"};class ok{constructor(){this._onDidChangeLanguages=new et,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,n=this._languages.length;t<n;t++)if(this._languages[t]===e)return void this._languages.splice(t,1)}}}getLanguages(){return[].concat(this._languages).concat(this._dynamicLanguages)}}const rk=new ok;kd.add(ik.ModesRegistry,rk);const sk="plaintext",ak=new Ml(sk,1);rk.registerLanguage({id:sk,extensions:[".txt"],aliases:[v("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),oh.register(ak,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}});const lk=Object.prototype.hasOwnProperty;class ck extends Ge{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=t,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(rk.onDidChangeLanguages(e=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};const e=rk.getLanguages();this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),kd.as(Id.Configuration).registerOverrideIdentifiers(rk.getLanguages().map(e=>e.id)),this._onDidChange.fire()}_getLanguageId(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];const t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t}_registerLanguage(e){const t=e.id;let n;if(lk.call(this._languages,t))n=this._languages[t];else{const e=this._getLanguageId(t);n={identifier:new Ml(t,e),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[t]=n}this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+n,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let e of t.extensions)$D({id:n,mime:i,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let a of t.filenames)$D({id:n,mime:i,filename:a},this._warnOnOverwrite),e.filenames.push(a);if(Array.isArray(t.filenamePatterns))for(let a of t.filenamePatterns)$D({id:n,mime:i,filepattern:a},this._warnOnOverwrite);if("string"===typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{let t=new RegExp(e);Rr["M"](t)||$D({id:n,mime:i,firstline:t},this._warnOnOverwrite)}catch(s){Me(s)}}e.aliases.push(n);let o=null;if("undefined"!==typeof t.aliases&&Array.isArray(t.aliases)&&(o=0===t.aliases.length?[null]:t.aliases),null!==o)for(const a of o)a&&0!==a.length&&e.aliases.push(a);let r=null!==o&&o.length>0;if(r&&null===o[0]);else{let t=(r?o[0]:null)||n;!r&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration)}isRegisteredMode(e){return!!lk.call(this._mimeTypesMap,e)||lk.call(this._languages,e)}getModeIdForLanguageNameLowercase(e){return lk.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null}extractModeIds(e){return e?e.split(",").map(e=>e.trim()).map(e=>lk.call(this._mimeTypesMap,e)?this._mimeTypesMap[e].language:e).filter(e=>lk.call(this._languages,e)):[]}getLanguageIdentifier(e){if(e===ac||0===e)return lc;let t;if("string"===typeof e)t=e;else if(t=this._languageIdToLanguage[e],!t)return null;return lk.call(this._languages,t)?this._languages[t].identifier:null}getModeIdsFromFilepathOrFirstLine(e,t){if(!e&&!t)return[];let n=ek(e,t);return this.extractModeIds(n.join(","))}}class hk extends Ge{constructor(e,t){super(),this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._selector=t,this.languageIdentifier=this._selector(),this._register(e(()=>this._evaluate()))}_evaluate(){let e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))}}class uk{constructor(e=!1){this._onDidCreateMode=new et,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new et,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new ck(!0,e),this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire())}isRegisteredMode(e){return this._registry.isRegisteredMode(e)}getModeIdForLanguageName(e){return this._registry.getModeIdForLanguageNameLowercase(e)}getModeIdByFilepathOrFirstLine(e,t){const n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return so(n,null)}getModeId(e){const t=this._registry.extractModeIds(e);return so(t,null)}getLanguageIdentifier(e){return this._registry.getLanguageIdentifier(e)}create(e){return new hk(this.onLanguagesMaybeChanged,()=>{const t=this.getModeId(e);return this._createModeAndGetLanguageIdentifier(t)})}createByFilepathOrFirstLine(e,t){return new hk(this.onLanguagesMaybeChanged,()=>{const n=this.getModeIdByFilepathOrFirstLine(e,t);return this._createModeAndGetLanguageIdentifier(n)})}_createModeAndGetLanguageIdentifier(e){const t=this.getLanguageIdentifier(e||"plaintext")||lc;return this._getOrCreateMode(t.language),t}triggerMode(e){const t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")}_getOrCreateMode(e){if(!this._instantiatedModes.hasOwnProperty(e)){let t=this.getLanguageIdentifier(e)||lc;this._instantiatedModes[e]=new YD(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]}}const dk=ii("undoRedoService");class pk{constructor(e,t){this.resource=e,this.elements=t}}class fk{constructor(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new bk}getMetadata(e,t,n){const i=this._hashTable.get(e,t,n.id);let o;if(i)o=i.metadata,this._logService.getLevel()===Xh.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${Nl.getForeground(o)}, fontStyle ${Nl.getFontStyle(o).toString(2)}`);else{let i=this._legend.tokenTypes[e];const r=[];if(i){let e=t;for(let t=0;e>0&&t<this._legend.tokenModifiers.length;t++)1&e&&r.push(this._legend.tokenModifiers[t]),e>>=1;e>0&&this._logService.getLevel()===Xh.Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),r.push("not-in-legend"));const s=this._themeService.getColorTheme().getTokenStyleMetadata(i,r,n.language);if("undefined"===typeof s)o=2147483647;else{if(o=0,"undefined"!==typeof s.italic){const e=(s.italic?1:0)<<11;o|=1|e}if("undefined"!==typeof s.bold){const e=(s.bold?2:0)<<11;o|=2|e}if("undefined"!==typeof s.underline){const e=(s.underline?4:0)<<11;o|=4|e}if(s.foreground){const e=s.foreground<<14;o|=8|e}0===o&&(o=2147483647)}}else this._logService.getLevel()===Xh.Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),o=2147483647,i="not-in-legend";this._hashTable.add(e,t,n.id,o),this._logService.getLevel()===Xh.Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${i}) / ${t} (${r.join(" ")}): foreground ${Nl.getForeground(o)}, fontStyle ${Nl.getFontStyle(o).toString(2)}`)}return o}}function gk(e,t,n){const i=e.data,o=e.data.length/5|0,r=Math.max(Math.ceil(o/1024),400),s=[];let a=0,l=1,c=0;while(a<o){const e=a;let h=Math.min(e+r,o);if(h<o){let t=h;while(t-1>e&&0===i[5*t])t--;if(t-1===e){let e=h;while(e+1<o&&0===i[5*e])e++;h=e}else h=t}let u=new Uint32Array(4*(h-e)),d=0,p=0;while(a<h){const e=5*a,o=i[e],r=i[e+1],s=l+o,h=0===o?c+r:r,f=i[e+2],g=i[e+3],m=i[e+4],b=t.getMetadata(g,m,n);2147483647!==b&&(0===p&&(p=s),u[d]=s-p,u[d+1]=h,u[d+2]=h+f,u[d+3]=b,d+=4),l=s,c=h,a++}d!==u.length&&(u=u.subarray(0,d));const f=new yv(p,new bv(u));s.push(f)}return s}class mk{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class bk{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=bk._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<bk._SIZES.length?2/3*this._currentLength:0),this._elements=[],bk._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let o=this._elements[i];while(o){if(o.tokenTypeIndex===e&&o.tokenModifierSet===t&&o.languageId===n)return o;o=o.next}return null}add(e,t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const e=this._elements;this._currentLengthIndex++,this._currentLength=bk._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<bk._SIZES.length?2/3*this._currentLength:0),this._elements=[],bk._nullOutEntries(this._elements,this._currentLength);for(const t of e){let e=t;while(e){const t=e.next;e.next=null,this._add(e),e=t}}}this._add(new mk(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}bk._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143];var vk=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},yk=function(e,t){return function(n,i){t(n,i,e)}};function wk(e){return e.toString()}function _k(e){const t=new dh,n=e.createSnapshot();let i;while(i=n.read())t.update(i);return t.digest()}class Ak{constructor(e,t,n){this._modelEventListeners=new Ye,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>n(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageIdentifier)),this.model.setMode(e.languageIdentifier)}}const Ck=y["d"]||y["f"]?1:2;let Ek=class e extends Ge{constructor(e,t,n,i,o){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=i,this._undoRedoService=o,this._onModelAdded=this._register(new et),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new et),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new et),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new kk(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new Dk(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(e,t){let n=Ce.tabSize;if(e.editor&&"undefined"!==typeof e.editor.tabSize){const t=parseInt(e.editor.tabSize,10);isNaN(t)||(n=t),n<1&&(n=1)}let i=n;if(e.editor&&"undefined"!==typeof e.editor.indentSize&&"tabSize"!==e.editor.indentSize){const t=parseInt(e.editor.indentSize,10);isNaN(t)||(i=t),i<1&&(i=1)}let o=Ce.insertSpaces;e.editor&&"undefined"!==typeof e.editor.insertSpaces&&(o="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));let r=Ck;const s=e.eol;"\r\n"===s?r=2:"\n"===s&&(r=1);let a=Ce.trimAutoWhitespace;e.editor&&"undefined"!==typeof e.editor.trimAutoWhitespace&&(a="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));let l=Ce.detectIndentation;e.editor&&"undefined"!==typeof e.editor.detectIndentation&&(l="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));let c=Ce.largeFileOptimizations;return e.editor&&"undefined"!==typeof e.editor.largeFileOptimizations&&(c="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:i,insertSpaces:o,detectIndentation:l,defaultEOL:r,trimAutoWhitespace:a,largeFileOptimizations:c}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return n&&"auto"!==n?n:3===y["a"]||2===y["a"]?"\n":"\r\n"}getCreationOptions(t,n,i){let o=this._modelCreationOptionsByLanguageAndResource[t+n];if(!o){const r=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:n}),s=this._getEOL(n,t);o=e._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[t+n]=o}return o}_updateModelOptions(){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const n=Object.keys(this._models);for(let i=0,o=n.length;i<o;i++){const o=n[i],r=this._models[o],s=r.model.getLanguageIdentifier().language,a=r.model.uri,l=t[s+a],c=this.getCreationOptions(s,a,r.model.isForSimpleWidget);e._setModelOptionsForModel(r.model,c,l)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))}_removeDisposedModel(e){const t=this._disposedModels.get(wk(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(wk(e)),t}_createModelData(e,t,n,i){const o=this.getCreationOptions(t.language,n,i),r=new Zv(e,o,t,n,this._undoRedoService);if(n&&this._disposedModels.has(wk(n))){const e=this._removeDisposedModel(n),t=this._undoRedoService.getElements(n),i=_k(r)===e.sha1;if(i||e.sharesUndoRedoStack){for(const e of t.past)Hm(e)&&e.matchesResource(n)&&e.setModel(r);for(const e of t.future)Hm(e)&&e.matchesResource(n)&&e.setModel(r);this._undoRedoService.setElementsValidFlag(n,!0,e=>Hm(e)&&e.matchesResource(n)),i&&(r._overwriteVersionId(e.versionId),r._overwriteAlternativeVersionId(e.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}const s=wk(r.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");const a=new Ak(r,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[s]=a,a}createModel(e,t,n,i=!1){let o;return t?(o=this._createModelData(e,t.languageIdentifier,n,i),this.setMode(o.model,t)):o=this._createModelData(e,ak,n,i),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(!t)return;const n=this._models[wk(e.uri)];n&&n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._models[i].model)}return e}getModel(e){const t=wk(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_onWillDispose(e){const t=wk(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)}_onDidChangeLanguage(t,n){const i=n.oldLanguage,o=t.getLanguageIdentifier().language,r=this.getCreationOptions(i,t.uri,t.isForSimpleWidget),s=this.getCreationOptions(o,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,s,r),this._onModelModeChanged.fire({model:t,oldModeId:i})}};Ek=vk([yk(0,gp),yk(1,qh),yk(2,pm),yk(3,Jh),yk(4,dk)],Ek);const xk="editor.semanticHighlighting";function Sk(e,t,n){var i;const o=null===(i=n.getValue(xk,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri}))||void 0===i?void 0:i.enabled;return"boolean"===typeof o?o:t.getColorTheme().semanticHighlighting}class Dk extends Ge{constructor(e,t,n,i){super(),this._watchers=Object.create(null),this._semanticStyling=i;const o=e=>{this._watchers[e.uri.toString()]=new Nk(e,t,this._semanticStyling)},r=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},s=()=>{for(let i of e.getModels()){const e=this._watchers[i.uri.toString()];Sk(i,t,n)?e||o(i):e&&r(i,e)}};this._register(e.onModelAdded(e=>{Sk(e,t,n)&&o(e)})),this._register(e.onModelRemoved(e=>{const t=this._watchers[e.uri.toString()];t&&r(e,t)})),this._register(n.onDidChangeConfiguration(e=>{e.affectsConfiguration(xk)&&s()})),this._register(t.onDidColorThemeChange(s))}}class kk extends Ge{constructor(e,t){super(),this._themeService=e,this._logService=t,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new fk(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)}}class Mk{constructor(e,t,n){this._provider=e,this.resultId=t,this.data=n}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class Nk extends Ge{constructor(e,t,n){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=n,this._fetchDocumentSemanticTokens=this._register(new Hi(()=>this._fetchDocumentSemanticTokensNow(),300)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}));const i=()=>{We(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const t of nc.all(e))"function"===typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};i(),this._register(nc.onDidChange(()=>{i(),this._fetchDocumentSemanticTokens.schedule()})),this._register(t.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;const e=this._getSemanticColoringProvider();if(!e)return;this._currentDocumentRequestCancellationTokenSource=new at;const t=[],n=this._model.onDidChangeContent(e=>{t.push(e)}),i=this._semanticStyling.get(e),o=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,r=Promise.resolve(e.provideDocumentSemanticTokens(this._model,o,this._currentDocumentRequestCancellationTokenSource.token));r.then(o=>{this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),this._setDocumentSemanticTokens(e,o||null,i,t)},e=>{e&&"string"===typeof e.message&&-1!==e.message.indexOf("busy")||Me(e),this._currentDocumentRequestCancellationTokenSource=null,n.dispose(),t.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule())})}static _isSemanticTokens(e){return e&&!!e.data}static _isSemanticTokensEdits(e){return e&&Array.isArray(e.edits)}static _copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}_setDocumentSemanticTokens(e,t,n,i){const o=this._currentDocumentResponse;if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)e&&t&&e.releaseDocumentSemanticTokens(t.resultId);else if(e&&n)if(t){if(Nk._isSemanticTokensEdits(t)){if(!o)return void this._model.setSemanticTokens(null,!0);if(0===t.edits.length)t={resultId:t.resultId,data:o.data};else{let e=0;for(const o of t.edits)e+=(o.data?o.data.length:0)-o.deleteCount;const n=o.data,i=new Uint32Array(n.length+e);let r=n.length,s=i.length;for(let o=t.edits.length-1;o>=0;o--){const e=t.edits[o],a=r-(e.start+e.deleteCount);a>0&&(Nk._copy(n,r-a,i,s-a,a),s-=a),e.data&&(Nk._copy(e.data,0,i,s-e.data.length,e.data.length),s-=e.data.length),r=e.start}r>0&&Nk._copy(n,0,i,0,r),t={resultId:t.resultId,data:i}}}if(Nk._isSemanticTokens(t)){this._currentDocumentResponse=new Mk(e,t.resultId,t.data);const o=gk(t,n,this._model.getLanguageIdentifier());if(i.length>0){for(const e of i)for(const t of o)for(const n of e.changes)t.applyEdit(n.range,n.text);this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()}this._model.setSemanticTokens(o,!0)}else this._model.setSemanticTokens(null,!0)}else this._model.setSemanticTokens(null,!0);else this._model.setSemanticTokens(null,!1)}_getSemanticColoringProvider(){const e=nc.ordered(this._model);return e.length>0?e[0]:null}}class Lk extends Ge{constructor(){super(),this._onCodeEditorAdd=this._register(new et),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new et),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new et),this._onDiffEditorRemove=this._register(new et),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;const t=this.listCodeEditors();for(const n of t){if(n.hasTextFocus())return n;n.hasWidgetFocus()&&(e=n)}return e}setModelProperty(e,t,n){const i=e.toString();let o;this._modelProperties.has(i)?o=this._modelProperties.get(i):(o=new Map,this._modelProperties.set(i,o)),o.set(t,n)}getModelProperty(e,t){const n=e.toString();if(this._modelProperties.has(n)){const e=this._modelProperties.get(n);return e.get(t)}}}var Bk=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ik=function(e,t){return function(n,i){t(n,i,e)}};class Tk{constructor(e,t,n){this._parent=e,this._editorId=t,this._styleSheet=n,this._refCount=0}ref(){this._refCount++}unref(){var e;this._refCount--,0===this._refCount&&(null===(e=this._styleSheet.parentNode)||void 0===e||e.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(e,t){const n=this._styleSheet.sheet;n.insertRule(e,t)}removeRulesContainingSelector(e){cr(e,this._styleSheet)}}class Ok{constructor(e){this._styleSheet=e}ref(){}unref(){}insertRule(e,t){const n=this._styleSheet.sheet;n.insertRule(e,t)}removeRulesContainingSelector(e){cr(e,this._styleSheet)}}let Rk=class extends Lk{constructor(e,t=null){super(),this._decorationOptionProviders=new Map,this._editorStyleSheets=new Map,this._globalStyleSheet=t||null,this._themeService=e}_getOrCreateGlobalStyleSheet(){return this._globalStyleSheet||(this._globalStyleSheet=new Ok(or())),this._globalStyleSheet}_getOrCreateStyleSheet(e){if(!e)return this._getOrCreateGlobalStyleSheet();const t=e.getContainerDomNode();if(!tr(t))return this._getOrCreateGlobalStyleSheet();const n=e.getId();if(!this._editorStyleSheets.has(n)){const e=new Tk(this,n,or(t));this._editorStyleSheets.set(n,e)}return this._editorStyleSheets.get(n)}_removeEditorStyleSheets(e){this._editorStyleSheets.delete(e)}registerDecorationType(e,t,n,i){let o=this._decorationOptionProviders.get(e);if(!o){const r=this._getOrCreateStyleSheet(i),s={styleSheet:r,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new Pk(this._themeService,r,s):new Fk(this._themeService,r,s),this._decorationOptionProviders.set(e,o)}o.refCount++}removeDecorationType(e){const t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach(t=>t.removeDecorations(e))))}resolveDecorationOptions(e,t){const n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)}};Rk=Bk([Ik(0,pm)],Rk);class Pk{constructor(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new Qk(3,n,e),this._afterContentRules=new Qk(4,n,e)}getOptions(e,t){const n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class Fk{constructor(e,t,n){this._disposables=new Ye,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;const i=t=>{const i=new Qk(t,n,e);if(this._disposables.add(i),i.hasContent)return i.className},o=t=>{const i=new Qk(t,n,e);return this._disposables.add(i),i.hasContent?{className:i.className,hasLetterSpacing:i.hasLetterSpacing}:null};this.className=i(0);const r=o(1);r&&(this.inlineClassName=r.className,this.inlineClassNameAffectsLetterSpacing=r.hasLetterSpacing),this.beforeContentClassName=i(3),this.afterContentClassName=i(4),this.glyphMarginClassName=i(2);const s=n.options;this.isWholeLine=Boolean(s.isWholeLine),this.stickiness=s.rangeBehavior;const a=s.light&&s.light.overviewRulerColor||s.overviewRulerColor,l=s.dark&&s.dark.overviewRulerColor||s.overviewRulerColor;"undefined"===typeof a&&"undefined"===typeof l||(this.overviewRuler={color:a||l,darkColor:l||a,position:s.overviewRulerLane||Os.Center})}getOptions(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const jk={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"};class Qk{constructor(e,t,n){this._theme=n.getColorTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let i=zk.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(i=i+" "+zk.getClassName(this._providerArgs.parentTypeKey,e)),this._className=i,this._unThemedSelector=zk.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onDidColorThemeChange(e=>{this._theme=n.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){const e=this._providerArgs.options;let t,n,i;switch(this._ruleType){case 0:t=this.getCSSTextForModelDecorationClassName(e),n=this.getCSSTextForModelDecorationClassName(e.light),i=this.getCSSTextForModelDecorationClassName(e.dark);break;case 1:t=this.getCSSTextForModelDecorationInlineClassName(e),n=this.getCSSTextForModelDecorationInlineClassName(e.light),i=this.getCSSTextForModelDecorationInlineClassName(e.dark);break;case 2:t=this.getCSSTextForModelDecorationGlyphMarginClassName(e),n=this.getCSSTextForModelDecorationGlyphMarginClassName(e.light),i=this.getCSSTextForModelDecorationGlyphMarginClassName(e.dark);break;case 3:t=this.getCSSTextForModelDecorationContentClassName(e.before),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.before),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.before);break;case 4:t=this.getCSSTextForModelDecorationContentClassName(e.after),n=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.after),i=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const o=this._providerArgs.styleSheet;let r=!1;t.length>0&&(o.insertRule(`${this._unThemedSelector} {${t}}`,0),r=!0),n.length>0&&(o.insertRule(`.vs${this._unThemedSelector} {${n}}`,0),r=!0),i.length>0&&(o.insertRule(`.vs-dark${this._unThemedSelector}, .hc-black${this._unThemedSelector} {${i}}`,0),r=!0),this._hasContent=r}_removeCSS(){this._providerArgs.styleSheet.removeRulesContainingSelector(this._unThemedSelector)}getCSSTextForModelDecorationClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")}getCSSTextForModelDecorationInlineClassName(e){if(!e)return"";const t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")}getCSSTextForModelDecorationContentClassName(e){if(!e)return"";const t=[];if("undefined"!==typeof e){if(this.collectBorderSettingsCSSText(e,t),"undefined"!==typeof e.contentIconPath&&t.push(Rr["v"](jk.contentIconPath,Br(tn.revive(e.contentIconPath)))),"string"===typeof e.contentText){const n=e.contentText.match(/^.*$/m)[0],i=n.replace(/['\\]/g,"\\$&");t.push(Rr["v"](jk.contentText,i))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")}getCSSTextForModelDecorationGlyphMarginClassName(e){if(!e)return"";const t=[];return"undefined"!==typeof e.gutterIconPath&&(t.push(Rr["v"](jk.gutterIconPath,Br(tn.revive(e.gutterIconPath)))),"undefined"!==typeof e.gutterIconSize&&t.push(Rr["v"](jk.gutterIconSize,e.gutterIconSize))),t.join("")}collectBorderSettingsCSSText(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(Rr["v"]("box-sizing: border-box;")),!0)}collectCSSText(e,t,n){const i=n.length;for(let o of t){const t=this.resolveValue(e[o]);"string"===typeof t&&n.push(Rr["v"](jk[o],t))}return n.length!==i}resolveValue(e){if(Is(e)){this._usesThemeColors=!0;const t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e}}class zk{static getClassName(e,t){return"ced-"+e+"-"+t}static getSelector(e,t,n){let i=".monaco-editor ."+this.getClassName(e,n);return t&&(i=i+"."+this.getClassName(t,n)),3===n?i+="::before":4===n&&(i+="::after"),i}}class Vk extends Rk{getActiveCodeEditor(){return null}openCodeEditor(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){const n=this.findModel(e,t.resource);if(!n){if(t.resource){const n=t.resource.scheme;if(n===co.http||n===co.https)return Mr(t.resource.toString()),e}return null}const i=t.options?t.options.selection:null;if(i)if("number"===typeof i.endLineNumber&&"number"===typeof i.endColumn)e.setSelection(i),e.revealRangeInCenter(i,1);else{const t={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(t),e.revealPositionInCenter(t,1)}return e}findModel(e,t){const n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n}}class Wk{constructor(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o}}function Hk(e){if(!e||!Array.isArray(e))return[];let t=[],n=0;for(let i=0,o=e.length;i<o;i++){let o=e[i],r=-1;if("string"===typeof o.fontStyle){r=0;let e=o.fontStyle.split(" ");for(let t=0,n=e.length;t<n;t++){let n=e[t];switch(n){case"italic":r|=1;break;case"bold":r|=2;break;case"underline":r|=4;break}}}let s=null;"string"===typeof o.foreground&&(s=o.foreground);let a=null;"string"===typeof o.background&&(a=o.background),t[n++]=new Wk(o.token||"",i,r,s,a)}return t}function Uk(e,t){e.sort((e,t)=>{let n=Xk(e.token,t.token);return 0!==n?n:e.index-t.index});let n=0,i="000000",o="ffffff";while(e.length>=1&&""===e[0].token){let t=e.shift();-1!==t.fontStyle&&(n=t.fontStyle),null!==t.foreground&&(i=t.foreground),null!==t.background&&(o=t.background)}let r=new Gk;for(let h of t)r.getId(h);let s=r.getId(i),a=r.getId(o),l=new $k(n,s,a),c=new Zk(l);for(let h=0,u=e.length;h<u;h++){let t=e[h];c.insert(t.token,t.fontStyle,r.getId(t.foreground),r.getId(t.background))}return new Kk(r,c)}const Yk=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class Gk{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(e){if(null===e)return 0;const t=e.match(Yk);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();let n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Vv.fromHex("#"+e),n)}getColorMap(){return this._id2color.slice(0)}}class Kk{constructor(e,t){this._colorMap=e,this._root=t,this._cache=new Map}static createFromRawTokenTheme(e,t){return this.createFromParsedTokenTheme(Hk(e),t)}static createFromParsedTokenTheme(e,t){return Uk(e,t)}getColorMap(){return this._colorMap.getColorMap()}_match(e){return this._root.match(e)}match(e,t){let n=this._cache.get(t);if("undefined"===typeof n){let e=this._match(t),i=Jk(t);n=(e.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0}}const qk=/\b(comment|string|regex|regexp)\b/;function Jk(e){let t=e.match(qk);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function Xk(e,t){return e<t?-1:e>t?1:0}class $k{constructor(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new $k(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class Zk{constructor(e){this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;let t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));let o=this._children.get(t);return"undefined"!==typeof o?o.match(n):this._mainRule}insert(e,t,n,i){if(""===e)return void this._mainRule.acceptOverwrite(t,n,i);let o,r,s=e.indexOf(".");-1===s?(o=e,r=""):(o=e.substring(0,s),r=e.substring(s+1));let a=this._children.get(o);"undefined"===typeof a&&(a=new Zk(this._mainRule.clone()),this._children.set(o,a)),a.insert(r,t,n,i)}}function eM(e){let t=[];for(let n=1,i=e.length;n<i;n++){let i=e[n];t[n]=`.mtk${n} { color: ${i}; }`}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}const tM={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Fw]:"#FFFFFE",[jw]:"#000000",[Jw]:"#E5EBF1",[Z_]:"#D3D3D3",[eA]:"#939393",[Xw]:"#ADD6FF4D"}},nM={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Fw]:"#1E1E1E",[jw]:"#D4D4D4",[Jw]:"#3A3D41",[Z_]:"#404040",[eA]:"#707070",[Xw]:"#ADD6FF26"}},iM={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Fw]:"#000000",[jw]:"#FFFFFF",[Z_]:"#FFFFFF",[eA]:"#FFFFFF"}};n("c3b4"),n("8ece"),n("1613");const oM=new class{constructor(){this.onDidChange=Al.onDidRegister}getCSS(){const e=[];for(let t of Al.all)e.push(rM(t));return e.join("\n")}};function rM(e){let t=e.definition;while(t instanceof El)t=t.definition;return`.codicon-${e.id}:before { content: '${t.character}'; }`}const sM="vs",aM="vs-dark",lM="hc-black",cM=kd.as(Xy.ColorContribution),hM=kd.as(ym.ThemingContribution);class uM{constructor(e,t){this.semanticHighlighting=!1,this.themeData=t;let n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}get base(){return this.themeData.base}notifyBaseUpdated(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)}getColors(){if(!this.colors){const e=new Map;for(let t in this.themeData.colors)e.set(t,Vv.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){let t=pM(this.themeData.base);for(let n in t.colors)e.has(n)||e.set(n,Vv.fromHex(t.colors[n]))}this.colors=e}return this.colors}getColor(e,t){const n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)}getDefault(e){let t=this.defaultColors[e];return t||(t=cM.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)}defines(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)}get type(){switch(this.base){case sM:return"light";case lM:return"hc";default:return"dark"}}get tokenTheme(){if(!this._tokenTheme){let e=[],t=[];if(this.themeData.inherit){let n=pM(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=Kk.createFromRawTokenTheme(e,t)}return this._tokenTheme}getTokenStyleMetadata(e,t,n){const i=this.tokenTheme._match([e].concat(t).join(".")),o=i.metadata,r=Nl.getForeground(o),s=Nl.getFontStyle(o);return{foreground:r,italic:Boolean(1&s),bold:Boolean(2&s),underline:Boolean(4&s)}}}function dM(e){return e===sM||e===aM||e===lM}function pM(e){switch(e){case sM:return tM;case aM:return nM;case lM:return iM}}function fM(e){let t=pM(e);return new uM(e,t)}class gM extends Ge{constructor(){super(),this._onColorThemeChange=this._register(new et),this.onDidColorThemeChange=this._onColorThemeChange.event,this._environment=Object.create(null),this._knownThemes=new Map,this._knownThemes.set(sM,fM(sM)),this._knownThemes.set(aM,fM(aM)),this._knownThemes.set(lM,fM(lM)),this._codiconCSS=oM.getCSS(),this._themeCSS="",this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._globalStyleElement=null,this._styleElements=[],this.setTheme(sM),oM.onDidChange(()=>{this._codiconCSS=oM.getCSS(),this._updateCSS()})}registerEditorContainer(e){return tr(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=or(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._allCSS,this._styleElements.push(this._globalStyleElement)),Ge.None}_registerShadowDomContainer(e){const t=or(e);return t.className="monaco-colors",t.innerHTML=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e<this._styleElements.length;e++)if(this._styleElements[e]===t)return void this._styleElements.splice(e,1)}}}defineTheme(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!dM(t.base)&&!dM(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new uM(e,t)),dM(e)&&this._knownThemes.forEach(t=>{t.base===e&&t.notifyBaseUpdated()}),this._theme&&this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setTheme(e){let t;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(sM),this._theme===t)return t.id;this._theme=t;let n=[],i={},o={addRule:e=>{i[e]||(n.push(e),i[e]=!0)}};hM.getThemingParticipants().forEach(e=>e(t,o,this._environment));let r=t.tokenTheme,s=r.getColorMap();return o.addRule(eM(s)),this._themeCSS=n.join("\n"),this._updateCSS(),oc.setColorMap(s),this._onColorThemeChange.fire(t),t.id}_updateCSS(){this._allCSS=`${this._codiconCSS}\n${this._themeCSS}`,this._styleElements.forEach(e=>e.innerHTML=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var mM=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},bM=function(e,t){return function(n,i){t(n,i,e)}};const vM="data-keybinding-context";class yM{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value["_contextId"]=e}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){const t=this._value[e];return"undefined"===typeof t&&this._parent?this._parent.getValue(e):t}}class wM extends yM{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}wM.INSTANCE=new wM;class _M extends yM{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=new Map,this._listener=this._configurationService.onDidChangeConfiguration(e=>{if(6===e.source){const e=Array.from(this._values.keys());this._values.clear(),n.fire(new EM(e))}else{const t=[];for(const n of e.affectedKeys){const e="config."+n;this._values.has(e)&&(this._values.delete(e),t.push(e))}n.fire(new EM(t))}})}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(_M._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(_M._keyPrefix.length),n=this._configurationService.getValue(t);let i=void 0;switch(typeof n){case"number":case"boolean":case"string":i=n;break;default:Array.isArray(n)&&(i=JSON.stringify(n))}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}_M._keyPrefix="config.";class AM{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){"undefined"===typeof this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class CM{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class EM{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class xM{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class SM{constructor(e){this._onDidChangeContext=new tt({merge:e=>new xM(e)}),this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new AM(this,e,t)}get onDidChangeContext(){return this._onDidChangeContext.event}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new kM(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId),n=kp.contextMatchesRules(t,e);return n}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new CM(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new CM(e))}getContext(e){return this._isDisposed?wM.INSTANCE:this.getContextValuesContainer(MM(e))}}let DM=class extends SM{constructor(e){super(0),this._contexts=new Map,this._toDispose=new Ye,this._lastContextId=0;const t=new _M(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?wM.INSTANCE:this._contexts.get(e)||wM.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new yM(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};DM=mM([bM(0,gp)],DM);class kM extends SM{constructor(e,t){super(e.createChildContext()),this._parent=e,t&&(this._domNode=t,this._domNode.setAttribute(vM,String(this._myContextId)))}dispose(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute(vM),this._domNode=void 0)}get onDidChangeContext(){return Xe.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)}getContextValuesContainer(e){return this._isDisposed?wM.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}function MM(e){while(e){if(e.hasAttribute(vM)){const t=e.getAttribute(vM);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}as.registerCommand(dg,(function(e,t,n){e.get(ug).createKey(String(t),n)}));var NM;n("1a7b"),n("f743");function LM(e,t,n){const i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}(function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}function i(e,i){return!n(t(e,i))}function o(e,t){const i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}e.intersect=t,e.isEmpty=n,e.intersects=i,e.relativeComplement=o})(NM||(NM={}));class BM extends Ge{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=Ge.None,this.toDisposeOnSetContainer=Ge.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=Ar(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,Er(this.view),this.setContainer(e,t),this._register(Ue(()=>this.setContainer(null,1)))}setContainer(e,t){if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,go(this.shadowRootHostElement),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM?(this.shadowRootHostElement=Ar(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=`\n\t\t\t\t\t<style>\n\t\t\t\t\t\t${IM}\n\t\t\t\t\t</style>\n\t\t\t\t`,this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(Ar("slot"))):this.container.appendChild(this.view);const n=new Ye;BM.BUBBLE_UP_EVENTS.forEach(e=>{n.add(ko(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),BM.BUBBLE_DOWN_EVENTS.forEach(e=>{n.add(ko(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=n}}show(e){this.isVisible()&&this.hide(),fo(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",Cr(this.view),this.toDisposeOnClean=e.render(this.view)||Ge.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||y["c"]&&po.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let e,t=this.delegate.getAnchor();if(hr(t)){let n=Uo(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};const n=Go(this.view),i=Jo(this.view),o=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,s={offset:e.top-window.pageYOffset,size:e.height,position:0===o?0:1};let a;a=0===r?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};const l=LM(window.innerHeight,i,s)+window.pageYOffset;NM.intersects({start:l,end:l+i},{start:s.offset,end:s.offset+s.size})&&(a.size=e.width,1===r&&(a.offset=e.left));const c=LM(window.innerWidth,n,a);Ao(this.view,"top","bottom","left","right"),yo(this.view,0===o?"bottom":"top"),yo(this.view,0===r?"left":"right"),Co(this.view,"fixed",this.useFixedPosition);const h=Uo(this.container);this.view.style.top=l-(this.useFixedPosition?Uo(this.view).top:h.top)+"px",this.view.style.left=c-(this.useFixedPosition?Uo(this.view).left:h.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null===t||void 0===t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),Er(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Xo(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}BM.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],BM.BUBBLE_DOWN_EVENTS=["click"];let IM='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n';const TM=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,OM=/(&amp;)?(&amp;)([^\s&])/g,RM=Cl("menu-selection",El.check),PM=Cl("menu-submenu",El.chevronRight);var FM;(function(e){e[e["Right"]=0]="Right",e[e["Left"]=1]="Left"})(FM||(FM={}));class jM extends $S{constructor(e,t,n={}){yo(e,"monaco-menu-container"),e.setAttribute("role","presentation");const i=document.createElement("div");yo(i,"monaco-menu"),i.setAttribute("role","presentation"),super(i,{orientation:2,actionViewItemProvider:e=>this.doGetActionViewItem(e,n,o),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,triggerKeys:{keys:[3,...y["f"]||y["d"]?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new Ye),this.initializeStyleSheet(e),xo(i,ur.KEY_DOWN,e=>{const t=new Mi(e);t.equals(2)&&e.preventDefault()}),n.enableMnemonics&&this.menuDisposables.add(xo(i,ur.KEY_DOWN,e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){dr.stop(e,!0);const n=this.mnemonics.get(t);if(1===n.length&&(n[0]instanceof zM&&n[0].container&&this.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){const e=n.shift();e&&e.container&&(this.focusItemByElement(e.container),n.push(e)),this.mnemonics.set(t,n)}}})),y["d"]&&this._register(xo(i,ur.KEY_DOWN,e=>{const t=new Mi(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),dr.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),dr.stop(e,!0))})),this._register(xo(this.domNode,ur.MOUSE_OUT,e=>{let t=e.relatedTarget;Xo(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register(xo(this.actionsList,ur.MOUSE_OVER,e=>{let t=e.target;if(t&&Xo(t,this.actionsList)&&t!==this.actionsList){while(t.parentElement!==this.actionsList&&null!==t.parentElement)t=t.parentElement;if(vo(t,"action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}}));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new GC(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const r=this.scrollableElement.getDomNode();r.style.position="",this._register(xo(r,ur.MOUSE_UP,e=>{e.preventDefault()})),i.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)+"px",t=t.filter(e=>{var t;return!(null===(t=n.submenuIds)||void 0===t?void 0:t.has(e.id))}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof VM)).forEach((e,t,n)=>{e.updatePositionInSet(t+1,n.length)})}initializeStyleSheet(e){tr(e)?(this.styleSheet=or(e),this.styleSheet.innerHTML=HM):(jM.globalStyleSheet||(jM.globalStyleSheet=or(),jM.globalStyleSheet.innerHTML=HM),this.styleSheet=jM.globalStyleSheet)}style(e){const t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",i=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",r=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach(t=>{(t instanceof QM||t instanceof VM)&&t.style(e)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t<this.actionsList.children.length;t++){let n=this.actionsList.children[t];if(e===n){this.focusedItem=t;break}}}updateFocus(e){super.updateFocus(e,!0),"undefined"!==typeof this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})}doGetActionViewItem(e,t,n){if(e instanceof Yf)return new VM(t.context,e,{icon:!0});if(e instanceof Gf){const i=new zM(e,e.actions,n,Object.assign(Object.assign({},t),{submenuIds:new Set([...t.submenuIds||[],e.id])}));if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}{const n={enableMnemonics:t.enableMnemonics,useEventAsContext:t.useEventAsContext};if(t.getKeyBinding){const i=t.getKeyBinding(e);if(i){const e=i.getLabel();e&&(n.keybinding=e)}}const i=new QM(t.context,e,n);if(t.enableMnemonics){const e=i.getMnemonic();if(e&&i.isEnabled()){let t=[];this.mnemonics.has(e)&&(t=this.mnemonics.get(e)),t.push(i),this.mnemonics.set(e,t)}}return i}}}class QM extends JS{constructor(e,t,n={}){if(n.isMenu=!0,super(t,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass="",this.options.label&&n.enableMnemonics){let e=this.getAction().label;if(e){let t=TM.exec(e);t&&(this.mnemonic=(t[1]?t[1]:t[3]).toLocaleLowerCase())}}this.runOnceToEnableMouseUp=new Hi(()=>{this.element&&(this._register(xo(this.element,ur.MOUSE_UP,e=>{if(dr.stop(e,!0),fi){const t=new Oi(e);if(t.rightButton)return;this.onClick(e)}setTimeout(()=>{this.onClick(e)},0)})),this._register(xo(this.element,ur.CONTEXT_MENU,e=>{dr.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=br(this.element,Ar("a.action-menu-item")),this._action.id===Yf.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=br(this.item,Ar("span.menu-item-check"+RM.cssSelector)),this.check.setAttribute("role","none"),this.label=br(this.item,Ar("span.action-label")),this.options.label&&this.options.keybinding&&(br(this.item,Ar("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))}updateLabel(){if(this.label&&this.options.label){fo(this.label);let e=kl(this.getAction().label);if(e){const t=WM(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));const n=TM.exec(e);if(n){e=Rr["s"](e),OM.lastIndex=0;let t=OM.exec(e);while(t&&t[1])t=OM.exec(e);const i=e=>e.replace(/&amp;&amp;/g,"&amp;");t?this.label.append(Rr["I"](i(e.substr(0,t.index))," "),Ar("u",{"aria-hidden":"true"},t[3]),Rr["N"](i(e.substr(t.index+t[0].length))," ")):this.label.innerText=i(e).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=v({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&Ao(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",yo(this.label,"icon"),this.cssClass&&wo(this.label,this.cssClass),this.updateEnabled()):this.label&&_o(this.label,"icon")}updateEnabled(){this.getAction().enabled?(this.element&&_o(this.element,"disabled"),this.item&&(_o(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&yo(this.element,"disabled"),this.item&&(yo(this.item,"disabled"),Sr(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(yo(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(_o(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&vo(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class zM extends QM{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new Ye),this.mouseOver=!1,this.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:FM.Right,this.showScheduler=new Hi(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new Hi(()=>{this.element&&!Xo(ir(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(yo(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=br(this.item,Ar("span.submenu-indicator"+PM.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(xo(this.element,ur.KEY_UP,e=>{let t=new Mi(e);(t.equals(17)||t.equals(3))&&(dr.stop(e,!0),this.createSubmenu(!0))})),this._register(xo(this.element,ur.KEY_DOWN,e=>{let t=new Mi(e);ir()===this.item&&(t.equals(17)||t.equals(3))&&dr.stop(e,!0)})),this._register(xo(this.element,ur.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(xo(this.element,ur.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register(xo(this.element,ur.FOCUS_OUT,e=>{this.element&&!Xo(ir(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}onClick(e){dr.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(t){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,n,i){const o={top:0,left:0};return o.left=LM(e.width,t.width,{position:i===FM.Right?0:1,offset:n.left,size:n.width}),o.left>=n.left&&o.left<n.left+n.width&&(n.left+10+t.width<=e.width&&(o.left=n.left+10),n.top+=10,n.height=0),o.top=LM(e.height,t.height,{position:0,offset:n.top,size:0}),o.top+t.height===n.top&&o.top+n.height+t.height<=e.height&&(o.top+=n.height),o}createSubmenu(e=!0){if(this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=br(this.element,Ar("div.monaco-submenu")),wo(this.submenuContainer,"menubar-menu-items-holder","context-view");const t=getComputedStyle(this.parentData.parent.domNode),n=parseFloat(t.paddingTop||"0")||0;this.submenuContainer.style.zIndex="1",this.submenuContainer.style.position="fixed",this.submenuContainer.style.top="0",this.submenuContainer.style.left="0",this.parentData.submenu=new jM(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);const i=this.element.getBoundingClientRect(),o={top:i.top-n,left:i.left,height:i.height+2*n,width:i.width},r=this.submenuContainer.getBoundingClientRect(),{top:s,left:a}=this.calculateSubmenuMenuLayout({height:window.innerHeight,width:window.innerWidth},r,o,this.expandDirection);this.submenuContainer.style.left=a+"px",this.submenuContainer.style.top=s+"px",this.submenuDisposables.add(xo(this.submenuContainer,ur.KEY_UP,e=>{let t=new Mi(e);t.equals(15)&&(dr.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(xo(this.submenuContainer,ur.KEY_DOWN,e=>{let t=new Mi(e);t.equals(15)&&dr.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const e=this.element&&vo(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=t?""+t:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class VM extends XS{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")}}function WM(e){const t=TM,n=t.exec(e);if(!n)return e;const i=!n[1];return e.replace(t,i?"$2$3":"").trim()}let HM=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${rM(RM)}\n${rM(PM)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative;  /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`;function UM(e,t){const n=Object.create(null);for(let i in t){const o=t[i];o&&(n[i]=Q_(o,e))}return n}function YM(e,t,n){function i(i){const o=UM(e.getColorTheme(),t);"function"===typeof n?n(o):n.style(o)}return i(e.getColorTheme()),e.onDidColorThemeChange(i)}function GM(e,t,n){return YM(t,Object.assign(Object.assign({},KM),n||{}),e)}const KM={listFocusBackground:l_,listFocusForeground:c_,listActiveSelectionBackground:R_(h_,.1),listActiveSelectionForeground:u_,listFocusAndSelectionBackground:h_,listFocusAndSelectionForeground:u_,listInactiveSelectionBackground:d_,listInactiveSelectionForeground:p_,listInactiveFocusBackground:f_,listHoverBackground:g_,listHoverForeground:m_,listDropBackground:b_,listFocusOutline:ow,listSelectionOutline:ow,listHoverOutline:ow,listFilterWidgetBackground:v_,listFilterWidgetOutline:y_,listFilterWidgetNoMatchesOutline:w_,listMatchesShadow:rw,treeIndentGuidesStroke:__},qM={shadowColor:rw,borderColor:A_,foregroundColor:C_,backgroundColor:E_,selectionForegroundColor:x_,selectionBackgroundColor:S_,selectionBorderColor:D_,separatorColor:k_};function JM(e,t,n){return YM(t,Object.assign(Object.assign({},qM),n),e)}class XM{constructor(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let n;this.focusToReturn=document.activeElement;let i=hr(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,render:i=>{let o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild(Ar(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",_i(this.block,ur.MOUSE_DOWN)(e=>e.stopPropagation()));const r=new Ye,s=e.actionRunner||new Uf;return s.onDidBeforeRun(this.onActionRun,this,r),s.onDidRun(this.onDidActionRun,this,r),n=new jM(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:s,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)}),r.add(JM(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,r),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,r),_i(window,ur.BLUR)(()=>{this.contextViewService.hideContextView(!0)},null,r),_i(window,ur.MOUSE_DOWN)(e=>{if(e.defaultPrevented)return;let t=new Oi(e),n=t.target;if(!t.rightButton){while(n){if(n===i)return;n=n.parentElement}this.contextViewService.hideContextView(!0)}},null,r),He(r,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(go(this.block),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&this.notificationService&&this.notificationService.error(e.error)}}var $M=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ZM=function(e,t){return function(n,i){t(n,i,e)}};let eN=class extends Ge{constructor(e,t,n,i,o){super(),this._onDidContextMenu=this._register(new et),this.onDidContextMenu=this._onDidContextMenu.event,this.contextMenuHandler=new XM(n,e,t,i,o)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()}};eN=$M([ZM(0,Ag),ZM(1,Wp),ZM(2,cD),ZM(3,RD),ZM(4,pm)],eN);const tN=ii("layoutService");var nN=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},iN=function(e,t){return function(n,i){t(n,i,e)}};let oN=class extends Ge{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=Ge.None,this.container=e.container,this.contextView=this._register(new BM(this.container,1)),this.layout(),this._register(e.onLayout(()=>this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=Ue(()=>{this.currentViewDisposable===i&&this.hideContextView()});return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};oN=nN([iN(0,tN)],oN);const rN=ii("dialogService");class sN{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class aN{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let n of this._nodes.values())n.outgoing.delete(t),n.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new sN(e),this._nodes.set(t,n)),n}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(", ")}], (outgoing)[${[...n.outgoing.keys()].join(",")}]`);return e.join("\n")}}const lN=!1;class cN extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.toString()}}class hN{constructor(e=new nS,t=!1,n){this._services=e,this._strict=t,this._parent=n,this._services.set(ti,this)}createChild(e){return new hN(e,this._strict,this)}invokeFunction(e,...t){let n=uN.traceInvocation(e),i=!1;try{const o={get:(e,t)=>{if(i)throw Oe("service accessor is only valid during the invocation of its target method");const o=this._getOrCreateServiceInstance(e,n);if(!o&&t!==oi)throw new Error(`[invokeFunction] unknown service '${e}'`);return o}};return e(o,...t)}finally{i=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof QS?(n=uN.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=uN.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=ei.getServiceDependencies(e).sort((e,t)=>e.index-t.index),o=[];for(const s of i){let t=this._getOrCreateServiceInstance(s.id,n);if(!t&&this._strict&&!s.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${s.id}.`);o.push(t)}let r=i.length>0?i[0].index:t.length;if(t.length!==r){let e=r-t.length;t=e>0?t.concat(new Array(e)):t.slice(0,r)}return new e(...[...t,...o])}_setServiceInstance(e,t){if(this._services.get(e)instanceof QS)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof QS?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_createAndCacheServiceInstance(e,t,n){const i=new aN(e=>e.id.toString());let o=0;const r=[{id:e,desc:t,_trace:n}];while(r.length){const e=r.pop();if(i.lookupOrInsertNode(e),o++>1e3)throw new cN(i);for(let t of ei.getServiceDependencies(e.desc.ctor)){let n=this._getServiceInstanceOrDescriptor(t.id);if(!n&&t.optional,n instanceof QS){const o={id:t.id,desc:n,_trace:e._trace.branch(t.id,!0)};i.insertEdge(e,o),r.push(o)}}}while(1){const e=i.roots();if(0===e.length){if(!i.isEmpty())throw new cN(i);break}for(const{data:t}of e){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e),i.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,o){if(this._services.get(e)instanceof QS)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)}_createServiceInstance(e,t=[],n,i){if(n){const n=new Ui(()=>this._createInstance(e,t,i));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let i=n.value,o=i[t];return"function"!==typeof o||(o=o.bind(i),e[t]=o),o},set(e,t,i){return n.value[t]=i,!0}})}return this._createInstance(e,t,i)}}class uN{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return lN?new uN(1,e.name||e.toString().substring(0,42).replace(/\n/g,"")):uN._None}static traceCreation(e){return lN?new uN(0,e.name):uN._None}branch(e,t){let n=new uN(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;uN._totals+=e;let t=!1;function n(e,i){let o=[],r=new Array(e+1).join("\t");for(const[s,a,l]of i._dep)if(a&&l){t=!0,o.push(`${r}CREATES -> ${s}`);let i=n(e+1,l);i&&o.push(i)}else o.push(`${r}uses -> ${s}`);return o.join("\n")}this.type,this.name,n(1,this),e.toFixed(2),uN._totals.toFixed(2)}}uN._None=new class extends uN{constructor(){super(-1,null)}stop(){}branch(){return this}},uN._totals=0;const dN=ii("labelService");n("dff0");class pN extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}function fN(e,t){const n=[];for(let i of t){if(e.start>=i.range.end)continue;if(e.end<i.range.start)break;const t=NM.intersect(e,i.range);NM.isEmpty(t)||n.push({range:t,size:i.size})}return n}function gN({start:e,end:t},n){return{start:e+n,end:t+n}}function mN(e){const t=[];let n=null;for(let i of e){const e=i.range.start,o=i.range.end,r=i.size;n&&r===n.size?n.range.end=o:(n={range:{start:e,end:o},size:r},t.push(n))}return t}function bN(...e){return mN(e.reduce((e,t)=>e.concat(t),[]))}class vN{constructor(){this.groups=[],this._size=0}splice(e,t,n=[]){const i=n.length-t,o=fN({start:0,end:e},this.groups),r=fN({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map(e=>({range:gN(e.range,i),size:e.size})),s=n.map((t,n)=>({range:{start:e+n,end:e+n+1},size:t.size}));this.groups=bN(o,s,r),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o*i.size;if(e<r)return t+Math.floor((e-n)/i.size);t+=o,n=r}return t}indexAfter(e){return Math.min(this.indexAt(e)+1,this.count)}positionAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o;if(e<r)return t+(e-n)*i.size;t+=o*i.size,n=r}return-1}}function yN(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(t){}}class wN{constructor(e){this.renderers=e,this.cache=new Map}alloc(e){let t=this.getTemplateCache(e).pop();if(!t){const n=Ar(".monaco-list-row"),i=this.getRenderer(e),o=i.renderTemplate(n);t={domNode:n,templateId:e,templateData:o}}return t}release(e){e&&this.releaseRow(e)}releaseRow(e){const{domNode:t,templateId:n}=e;t&&(_o(t,"scrolling"),yN(t));const i=this.getTemplateCache(n);i.push(e)}getTemplateCache(e){let t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t}dispose(){this.cache.forEach((e,t)=>{for(const n of e){const e=this.getRenderer(t);e.disposeTemplate(n.templateData),n.domNode=null,n.templateData=null}}),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t}}var _N=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const AN={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(e){return[e]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0};class CN{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class EN{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class xN{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;t<e.files.length;t++){const n=e.files.item(t);n&&(n.size||n.type)&&this.files.push(n)}}}getData(){return{types:this.types,files:this.files}}}function SN(e,t){return Array.isArray(e)&&Array.isArray(t)?Ki(e,t):e===t}class DN{constructor(e){(null===e||void 0===e?void 0:e.getSetSize)?this.getSetSize=e.getSetSize.bind(e):this.getSetSize=(e,t,n)=>n,(null===e||void 0===e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null===e||void 0===e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null===e||void 0===e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class kN{constructor(e,t,n,i=AN){if(this.virtualDelegate=t,this.domId="list_id_"+ ++kN.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new ji(50),this.splicing=!1,this.dragOverAnimationStopDisposable=Ge.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=Ge.None,this.onDragLeaveTimeout=Ge.None,this.disposables=new Ye,this._onDidChangeContentHeight=new et,this._horizontalScrolling=!1,i.horizontalScrolling&&i.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new vN;for(const r of n)this.renderers.set(r.templateId,r);this.cache=this.disposables.add(new wN(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",yo(this.domNode,this.domId),this.domNode.tabIndex=0,Co(this.domNode,"mouse-support","boolean"!==typeof i.mouseSupport||i.mouseSupport),this._horizontalScrolling=xs(i,e=>e.horizontalScrolling,AN.horizontalScrolling),Co(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight="undefined"===typeof i.additionalScrollHeight?0:i.additionalScrollHeight,this.accessibilityProvider=new DN(i.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows";const o=xs(i,e=>e.transformOptimization,AN.transformOptimization);o&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(Ug.addTarget(this.rowsContainer)),this.scrollable=new BC(xs(i,e=>e.smoothScrolling,!1)?125:0,e=>Bo(e)),this.scrollableElement=this.disposables.add(new YC(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:1,vertical:xs(i,e=>e.verticalScrollMode,AN.verticalScrollMode),useShadows:xs(i,e=>e.useShadows,AN.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),_i(this.rowsContainer,Wg.Change)(this.onTouchChange,this,this.disposables),_i(this.scrollableElement.getDomNode(),"scroll")(e=>e.target.scrollTop=0,null,this.disposables),Xe.map(_i(this.domNode,"dragover"),e=>this.toDragEvent(e))(this.onDragOver,this,this.disposables),Xe.map(_i(this.domNode,"drop"),e=>this.toDragEvent(e))(this.onDrop,this,this.disposables),_i(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),_i(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=xs(i,e=>e.setRowLineHeight,AN.setRowLineHeight),this.setRowHeight=xs(i,e=>e.setRowHeight,AN.setRowHeight),this.supportDynamicHeights=xs(i,e=>e.supportDynamicHeights,AN.supportDynamicHeights),this.dnd=xs(i,e=>e.dnd,AN.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,Co(this.domNode,"horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:Ko(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling)}splice(e,t,n=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o={start:e,end:e+t},r=NM.intersect(i,o);for(let w=r.start;w<r.end;w++)this.removeItemFromDOM(w);const s={start:e+t,end:this.items.length},a=NM.intersect(s,i),l=NM.relativeComplement(s,i),c=n.map(e=>({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:Ge.None}));let h;0===e&&t>=this.items.length?(this.rangeMap=new vN,this.rangeMap.splice(0,0,c),this.items=c,h=[]):(this.rangeMap.splice(e,t,c),h=this.items.splice(e,t,...c));const u=n.length-t,d=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),p=gN(a,u),f=NM.intersect(d,p);for(let w=f.start;w<f.end;w++)this.updateItemInDOM(this.items[w],w);const g=NM.relativeComplement(p,d);for(const w of g)for(let e=w.start;e<w.end;e++)this.removeItemFromDOM(e);const m=l.map(e=>gN(e,u)),b={start:e,end:e+n.length},v=[b,...m].map(e=>NM.intersect(d,e)),y=this.getNextToLastElement(v);for(const w of v)for(let e=w.start;e<w.end;e++)this.insertItemInDOM(e,y);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),h.map(e=>e.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Bo(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)"undefined"!==typeof t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){const e=this.scrollableElement.getScrollDimensions();return e.height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let n={height:"number"===typeof e?e:qo(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),"undefined"!==typeof t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"===typeof t?t:Ko(this.domNode)}))}render(e,t,n,i,o,r=!1){const s=this.getRenderRange(t,n),a=NM.relativeComplement(s,e),l=NM.relativeComplement(e,s),c=this.getNextToLastElement(a);if(r){const t=NM.intersect(e,s);for(let e=t.start;e<t.end;e++)this.updateItemInDOM(this.items[e],e)}for(const h of a)for(let e=h.start;e<h.end;e++)this.insertItemInDOM(e,c);for(const h of l)for(let e=h.start;e<h.end;e++)this.removeItemFromDOM(e);void 0!==i&&(this.rowsContainer.style.left=`-${i}px`),this.rowsContainer.style.top=`-${t}px`,this.horizontalScrolling&&void 0!==o&&(this.rowsContainer.style.width=Math.max(o,this.renderWidth)+"px"),this.lastRenderTop=t,this.lastRenderHeight=n}insertItemInDOM(e,t){const n=this.items[e];if(!n.row){n.row=this.cache.alloc(n.templateId);const e=this.accessibilityProvider.getRole(n.element)||"listitem";n.row.domNode.setAttribute("role",e);const t=this.accessibilityProvider.isChecked(n.element);"undefined"!==typeof t&&n.row.domNode.setAttribute("aria-checked",String(!!t))}n.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(n.row.domNode,t):this.rowsContainer.appendChild(n.row.domNode)),this.updateItemInDOM(n,e);const i=this.renderers.get(n.templateId);if(!i)throw new Error("No renderer found for template id "+n.templateId);i&&i.renderElement(n.element,e,n.row.templateData,n.size);const o=this.dnd.getDragURI(n.element);if(n.dragStartDisposable.dispose(),n.row.domNode.draggable=!!o,o){const e=_i(n.row.domNode,"dragstart");n.dragStartDisposable=e(e=>this.onDragStart(n.element,o,e))}this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=fi?"-moz-fit-content":"fit-content",e.width=Ko(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",this.setRowHeight&&(e.row.domNode.style.height=e.size+"px"),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),Co(e.row.domNode,"drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];t.dragStartDisposable.dispose();const n=this.renderers.get(t.templateId);t.row&&n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){const e=this.scrollableElement.getScrollPosition();return e.scrollTop}setScrollTop(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return Xe.map(_i(this.domNode,"click"),e=>this.toMouseEvent(e))}get onMouseDblClick(){return Xe.map(_i(this.domNode,"dblclick"),e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return Xe.filter(Xe.map(_i(this.domNode,"auxclick"),e=>this.toMouseEvent(e)),e=>1===e.browserEvent.button)}get onMouseDown(){return Xe.map(_i(this.domNode,"mousedown"),e=>this.toMouseEvent(e))}get onContextMenu(){return Xe.map(_i(this.domNode,"contextmenu"),e=>this.toMouseEvent(e))}get onTouchStart(){return Xe.map(_i(this.domNode,"touchstart"),e=>this.toTouchEvent(e))}get onTap(){return Xe.map(_i(this.rowsContainer,Wg.Tap),e=>this.toGestureEvent(e))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n="undefined"===typeof t?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],i=n&&n.element;return{browserEvent:e,index:t,element:i}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(GS.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(i,n)),"undefined"===typeof e&&(e=String(i.length));const t=Ar(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),n.dataTransfer.setDragImage(t,-10,-10),setTimeout(()=>document.body.removeChild(t),0)}this.currentDragData=new CN(i),qS.CurrentDragAndDropData=new EN(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),qS.CurrentDragAndDropData&&"vscode-ui"===qS.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(qS.CurrentDragAndDropData)this.currentDragData=qS.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new xN}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"===typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let n;if(e.browserEvent.dataTransfer.dropEffect="boolean"!==typeof t&&0===t.effect?"copy":"move",n="boolean"!==typeof t&&t.feedback?t.feedback:"undefined"===typeof e.index?[-1]:[e.index],n=no(n).filter(e=>e>=-1&&e<this.length).sort((e,t)=>e-t),n=-1===n[0]?[-1]:n,SN(this.currentDragFeedback,n))return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])yo(this.domNode,"drop-target"),yo(this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Ue(()=>{_o(this.domNode,"drop-target"),_o(this.rowsContainer,"drop-target")});else{for(const e of n){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode&&yo(t.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Ue(()=>{for(const e of n){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode&&_o(t.row.domNode,"drop-target")}})}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=zi(()=>this.clearDragOverFeedback(),100)}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,qS.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,qS.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=Ge.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=Ho(this.domNode).top;this.dragOverAnimationDisposable=Nr(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=zi(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;while(n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n)){const e=n.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t){const n=this.getRenderRange(e,t);let i,o;e===this.elementTop(n.start)?(i=n.start,o=0):n.end-n.start>1&&(i=n.start+1,o=this.elementTop(i)-e);let r=0;while(1){const s=this.getRenderRange(e,t);let a=!1;for(let e=s.start;e<s.end;e++){const t=this.probeDynamicHeight(e);0!==t&&this.rangeMap.splice(e,1,[this.items[e]]),r+=t,a=a||0!==t}if(!a){0!==r&&this.eventuallyUpdateScrollDimensions();const e=NM.relativeComplement(n,s);for(const n of e)for(let e=n.start;e<n.end;e++)this.items[e].row&&this.removeItemFromDOM(e);const t=NM.relativeComplement(s,n);for(const n of t)for(let e=n.start;e<n.end;e++){const t=e+1,n=t<this.items.length?this.items[t].row:null,i=n?n.domNode:null;this.insertItemInDOM(e,i)}for(let n=s.start;n<s.end;n++)this.items[n].row&&this.updateItemInDOM(this.items[n],n);return"number"===typeof i&&(this.scrollTop=this.elementTop(i)-o),void this._onDidChangeContentHeight.fire(this.contentHeight)}}}probeDynamicHeight(e){const t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;if(this.virtualDelegate.hasDynamicHeight&&!this.virtualDelegate.hasDynamicHeight(t.element))return 0;const n=t.size;if(!this.setRowHeight&&t.row&&t.row.domNode){let e=t.row.domNode.offsetHeight;return t.size=e,t.lastDynamicHeightWidth=this.renderWidth,e-n}const i=this.cache.alloc(t.templateId);i.domNode.style.height="",this.rowsContainer.appendChild(i.domNode);const o=this.renderers.get(t.templateId);return o&&(o.renderElement(t.element,e,i.templateData,void 0),o.disposeElement&&o.disposeElement(t.element,e,i.templateData,void 0)),t.size=i.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(i.domNode),this.cache.release(i),t.size-n}getNextToLastElement(e){const t=e[e.length-1];if(!t)return null;const n=this.items[t.end];return n&&n.row?n.row.domNode:null}getElementDomId(e){return`${this.domId}_${e}`}dispose(){if(this.items){for(const e of this.items)if(e.row){const t=this.renderers.get(e.row.templateId);t&&t.disposeTemplate(e.row.templateData)}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),We(this.disposables)}}kN.InstanceCount=0,_N([Vg],kN.prototype,"onMouseClick",null),_N([Vg],kN.prototype,"onMouseDblClick",null),_N([Vg],kN.prototype,"onMouseMiddleClick",null),_N([Vg],kN.prototype,"onMouseDown",null),_N([Vg],kN.prototype,"onContextMenu",null),_N([Vg],kN.prototype,"onTouchStart",null),_N([Vg],kN.prototype,"onTap",null);class MN{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach(i=>i.splice(e,t,n))}}function NN(e,t,n){return Math.min(Math.max(e,t),n)}var LN,BN=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};class IN{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return"template:"+this.trait.trait}renderTemplate(e){return e}renderElement(e,t,n){const i=oo(this.renderedElements,e=>e.templateData===n);if(i>=0){const e=this.renderedElements[i];this.trait.unrender(n),e.index=t}else{const e={index:t,templateData:n};this.renderedElements.push(e)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const o of this.renderedElements)o.index<e?i.push(o):o.index>=e+t&&i.push({index:o.index+n-t,templateData:o.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=oo(this.renderedElements,t=>t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class TN{constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new et,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new IN(this)}splice(e,t,n){const i=n.length-t,o=e+t,r=[...this.sortedIndexes.filter(t=>t<e),...n.map((t,n)=>t?n+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=o).map(e=>e+i)];this.renderer.splice(e,t,n.length),this._set(r,r)}renderIndex(e,t){Co(t,this._trait,this.contains(e))}unrender(e){_o(e,this._trait)}set(e,t){return this._set(e,[...e].sort(eL),t)}_set(e,t,n){const i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const r=$N(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return qi(this.sortedIndexes,e,eL)>=0}dispose(){We(this._onChange)}}BN([Vg],TN.prototype,"renderer",null);class ON extends TN{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class RN{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map(()=>!1));const i=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString()),o=n.map(e=>i.indexOf(this.identityProvider.getId(e).toString())>-1);this.trait.splice(e,t,o)}}function PN(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function FN(e){return!!vo(e,"monaco-editor")||!vo(e,"monaco-list")&&(!!e.parentElement&&FN(e.parentElement))}class jN{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new Ye;const i=!1!==n.multipleSelectionSupport,o=Xe.chain(_i(t.domNode,"keydown")).filter(e=>!PN(e.target)).map(e=>new Mi(e));o.filter(e=>3===e.keyCode).on(this.onEnter,this,this.disposables),o.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),o.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),o.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),o.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),o.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),i&&o.filter(e=>(y["f"]?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.disposables)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(ao(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()}dispose(){this.disposables.dispose()}}(function(e){e[e["Idle"]=0]="Idle",e[e["Typing"]=1]="Typing"})(LN||(LN={}));const QN=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class zN{constructor(e,t,n,i){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=i,this.enabled=!1,this.state=LN.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new Ye,this.disposables=new Ye,this.updateOptions(e.options)}updateOptions(e){const t="undefined"===typeof e.enableKeyboardNavigation||!!e.enableKeyboardNavigation;t?this.enable():this.disable(),"undefined"!==typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=Xe.chain(_i(this.view.domNode,"keydown")).filter(e=>!PN(e.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(e=>new Mi(e)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>{e.stopPropagation(),e.preventDefault()}).map(e=>e.browserEvent.key).event,t=Xe.debounce(e,()=>null,800),n=Xe.reduce(Xe.any(e,t),(e,t)=>null===t?null:(e||"")+t);n(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const n=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));n&&If(n)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=LN.Idle,void(this.triggered=!1);const t=this.list.getFocus(),n=t.length>0?t[0]:0,i=this.state===LN.Idle?1:0;this.state=LN.Typing;for(let o=0;o<this.list.length;o++){const t=(n+o+i)%this.list.length,r=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(t)),s=r&&r.toString();if("undefined"===typeof s||Da(e,s))return this.previouslyFocused=n,this.list.setFocus([t]),void this.list.reveal(t)}}dispose(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()}}class VN{constructor(e,t){this.list=e,this.view=t,this.disposables=new Ye;const n=Xe.chain(_i(t.domNode,"keydown")).filter(e=>!PN(e.target)).map(e=>new Mi(e));n.filter(e=>2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector("[tabIndex]");if(!i||!(i instanceof HTMLElement)||-1===i.tabIndex)return;const o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function WN(e){return y["f"]?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function HN(e){return e.browserEvent.shiftKey}function UN(e){return e instanceof MouseEvent&&2===e.button}const YN={isSelectionSingleChangeEvent:WN,isSelectionRangeChangeEvent:HN};class GN{constructor(e){this.list=e,this.disposables=new Ye,this._onPointer=new et,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||YN),this.mouseSupport="undefined"===typeof e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(Ug.addTarget(e.getHTMLElement()))),Xe.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):y["f"]?e.browserEvent.metaKey:e.browserEvent.ctrlKey}isSelectionRangeChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){FN(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(FN(e.browserEvent.target))return;const t="undefined"===typeof e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(PN(e.browserEvent.target)||FN(e.browserEvent.target))return;let t=this.list.getFocus()[0];const n=this.list.getSelection();t=void 0===t?n[0]:t;const i=e.index;return"undefined"===typeof i?(this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e)?this.changeSelection(e,t):(this.list.setFocus([i],e.browserEvent),UN(e.browserEvent)||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e))}onDoubleClick(e){if(PN(e.browserEvent.target)||FN(e.browserEvent.target))return;if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e,t){const n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){const i=Math.min(t,n),o=Math.max(t,n),r=ao(i,o+1),s=this.list.getSelection(),a=XN($N(s,[t]),t);if(0===a.length)return;const l=$N(r,ZN(s,a));this.list.setSelection(l,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){const t=this.list.getSelection(),i=t.filter(e=>e!==n);this.list.setFocus([n]),t.length===i.length?this.list.setSelection([...i,n],e.browserEvent):this.list.setSelection(i,e.browserEvent)}}dispose(){this.disposables.dispose()}}class KN{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):y["f"]),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color:  ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color:  ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color:  ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color:  ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color:  ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color:  ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`);const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)}}const qN={listFocusBackground:Vv.fromHex("#7FB0D0"),listActiveSelectionBackground:Vv.fromHex("#0E639C"),listActiveSelectionForeground:Vv.fromHex("#FFFFFF"),listFocusAndSelectionBackground:Vv.fromHex("#094771"),listFocusAndSelectionForeground:Vv.fromHex("#FFFFFF"),listInactiveSelectionBackground:Vv.fromHex("#3F3F46"),listHoverBackground:Vv.fromHex("#2A2D2E"),listDropBackground:Vv.fromHex("#383B3D"),treeIndentGuidesStroke:Vv.fromHex("#a9a9a9")},JN={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function XN(e,t){const n=e.indexOf(t);if(-1===n)return[];const i=[];let o=n-1;while(o>=0&&e[o]===t-(n-o))i.push(e[o--]);i.reverse(),o=n;while(o<e.length&&e[o]===t+(o-n))i.push(e[o++]);return i}function $N(e,t){const n=[];let i=0,o=0;while(i<e.length||o<t.length)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]<t[o]?n.push(e[i++]):n.push(t[o++])}return n}function ZN(e,t){const n=[];let i=0,o=0;while(i<e.length||o<t.length)if(i>=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]<t[o]?n.push(e[i++]):o++}return n}const eL=(e,t)=>e-t;class tL{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,n,i){let o=0;for(const r of this.renderers)r.renderElement(e,t,n[o++],i)}disposeElement(e,t,n,i){let o=0;for(const r of this.renderers)r.disposeElement&&r.disposeElement(e,t,n[o],i),o+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class nL{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");const o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"===typeof o?n.setAttribute("aria-level",""+o):n.removeAttribute("aria-level")}disposeTemplate(e){}}class iL{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements(),n=t.indexOf(e)>-1?t:[e];return n}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class oL{constructor(e,t,n,i,o=JN){var r;this.user=e,this._options=o,this.eventBufferer=new nt,this._ariaLabel="",this.disposables=new Ye,this.didJustPressContextMenuKey=!1,this._onDidDispose=new et,this.onDidDispose=this._onDidDispose.event;const s=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(r=this._options.accessibilityProvider)||void 0===r?void 0:r.getWidgetRole():"list";this.selection=new ON("listbox"!==s),this.focus=new TN("focused"),As(o,qN,!1);const a=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=o.accessibilityProvider,this.accessibilityProvider&&(a.push(new nL(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),i=i.map(e=>new tL(e.templateId,[...a,e]));const l=Object.assign(Object.assign({},o),{dnd:o.dnd&&new iL(this,o.dnd)});if(this.view=new kN(t,n,i,l),this.view.domNode.setAttribute("role",s),o.styleController)this.styleController=o.styleController(this.view.domId);else{const e=or(this.view.domNode);this.styleController=new KN(e,this.view.domId)}if(this.spliceable=new MN([new RN(this.focus,this.view,o.identityProvider),new RN(this.selection,this.view,o.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=Xe.map(_i(this.view.domNode,"focus",!0),()=>null),this.onDidBlur=Xe.map(_i(this.view.domNode,"blur",!0),()=>null),this.disposables.add(new VN(this,this.view)),"boolean"!==typeof o.keyboardSupport||o.keyboardSupport){const e=new jN(this,this.view,o);this.disposables.add(e)}if(o.keyboardNavigationLabelProvider){const e=o.keyboardNavigationDelegate||QN;this.typeLabelController=new zN(this,this.view,o.keyboardNavigationLabelProvider,e),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(o),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),o.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return Xe.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return Xe.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){const e=Xe.chain(_i(this.view.domNode,"keydown")).map(e=>new Mi(e)).filter(e=>this.didJustPressContextMenuKey=58===e.keyCode||e.shiftKey&&68===e.keyCode).filter(e=>(e.preventDefault(),e.stopPropagation(),!1)).event,t=Xe.chain(_i(this.view.domNode,"keyup")).filter(()=>{const e=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,e}).filter(()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0])).map(e=>{const t=this.getFocus()[0],n=this.view.element(t),i=this.view.domElement(t);return{index:t,element:n,anchor:i,browserEvent:e}}).event,n=Xe.chain(this.view.onContextMenu).filter(()=>!this.didJustPressContextMenuKey).map(({element:e,index:t,browserEvent:n})=>({element:e,index:t,anchor:{x:n.clientX+1,y:n.clientY},browserEvent:n})).event;return Xe.any(e,t,n)}get onKeyDown(){return _i(this.view.domNode,"keydown")}createMouseController(e){return new GN(this)}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new pN(this.user,"Invalid start index: "+e);if(t<0)throw new pN(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,n))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus()}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const n of e)if(n<0||n>=this.length)throw new pN(this.user,"Invalid index "+n);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setFocus(e,t){for(const n of e)if(n<0||n>=this.length)throw new pN(this.user,"Invalid index "+n);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}focusPrevious(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}focusNextPage(e,t){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;const i=this.view.element(n),o=this.getFocusedElements()[0];if(o!==i){const i=this.findPreviousIndex(n,!1,t);i>-1&&o!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const i=this.view.getScrollTop();this.view.setScrollTop(i+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==i&&setTimeout(()=>this.focusNextPage(e,t),0)}}focusPreviousPage(e,t){let n;const i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);const o=this.view.element(n),r=this.getFocusedElements()[0];if(r!==o){const i=this.findNextIndex(n,!1,t);i>-1&&r!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const n=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==n&&setTimeout(()=>this.focusPreviousPage(e,t),0)}}focusLast(e,t){if(0===this.length)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(0===this.length)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;i<this.length;i++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1}getFocus(){return this.focus.get()}getFocusedElements(){return this.getFocus().map(e=>this.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new pN(this.user,"Invalid index "+e);const n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(qr(t)){const e=o-this.view.renderHeight;this.view.setScrollTop(e*NN(t,0,1)+i)}else{const e=i+o,t=n+this.view.renderHeight;i<n&&e>=t||(i<n?this.view.setScrollTop(i):e>=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new pN(this.user,"Invalid index "+e);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(n<t||n+i>t+this.view.renderHeight)return null;const o=i-this.view.renderHeight;return Math.abs((t-n)/o)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){const e=this.focus.get();Co(this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let n;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();Co(this.view.domNode,"selection-none",0===e.length),Co(this.view.domNode,"selection-single",1===e.length),Co(this.view.domNode,"selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}BN([Vg],oL.prototype,"onDidChangeFocus",null),BN([Vg],oL.prototype,"onDidChangeSelection",null),BN([Vg],oL.prototype,"onContextMenu",null);class rL{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){const t=this.renderer.renderTemplate(e);return{data:t,disposable:Ge.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,n.data,i);const r=new at,s=o.resolve(e,r.token);n.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,n.data),s.then(t=>this.renderer.renderElement(t,e,n.data,i))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class sL{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}function aL(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new sL(e,t.accessibilityProvider)})}class lL{constructor(e,t,n,i,o={}){const r=()=>this.model,s=i.map(e=>new rL(e,r));this.list=new oL(e,t,n,s,aL(r,o))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return Xe.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onPointer(){return Xe.map(this.list.onPointer,({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n}))}get onDidChangeFocus(){return Xe.map(this.list.onDidChangeFocus,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get onDidChangeSelection(){return Xe.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:n})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:n}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,ao(e.length))}getFocus(){return this.list.getFocus()}setSelection(e,t){this.list.setSelection(e,t)}getSelection(){return this.list.getSelection()}style(e){this.list.style(e)}dispose(){this.list.dispose()}}const cL="inputFocus";var hL;n("72b1");(function(e){e[e["Unknown"]=0]="Unknown",e[e["Twistie"]=1]="Twistie",e[e["Element"]=2]="Element"})(hL||(hL={}));class uL extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class dL{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}function pL(e){return"object"===typeof e&&"visibility"in e&&"data"in e}function fL(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function gL(e){return"boolean"===typeof e.collapsible}class mL{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new nt,this._onDidChangeCollapseState=new et,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new et,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new et,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault="undefined"!==typeof i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren="undefined"!==typeof i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=Re.empty(),i,o){if(0===e.length)throw new uL(this.user,"Invalid tree location");const{parentNode:r,listIndex:s,revealed:a,visible:l}=this.getParentNodeWithListIndex(e),c=[],h=Re.map(n,e=>this.createTreeNode(e,r,r.visible?1:0,a,c,i)),u=e[e.length-1];let d=0;for(let y=u;y>=0&&y<r.children.length;y--){const e=r.children[y];if(e.visible){d=e.visibleChildIndex;break}}const p=[];let f=0,g=0;for(const y of h)p.push(y),g+=y.renderNodeCount,y.visible&&(y.visibleChildIndex=d+f++);const m=r.children.splice(u,t,...p);let b=0;for(const y of m)y.visible&&b++;if(0!==b)for(let y=u+p.length;y<r.children.length;y++){const e=r.children[y];e.visible&&(e.visibleChildIndex-=b)}if(r.visibleChildrenCount+=f-b,a&&l){const e=m.reduce((e,t)=>e+(t.visible?t.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(r,g-e),this.list.splice(s,e,c)}if(m.length>0&&o){const e=t=>{o(t),t.children.forEach(e)};m.forEach(e)}this._onDidSplice.fire({insertedNodes:p,deletedNodes:m});let v=r;while(v){if(2===v.visibility){this.refilter();break}v=v.parent}}rerender(e){if(0===e.length)throw new uL(this.user,"Invalid tree location");const{node:t,listIndex:n,revealed:i}=this.getTreeNodeWithListIndex(e);t.visible&&i&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);"undefined"===typeof t&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,i))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);"undefined"===typeof t&&(t=!i.collapsed);const o={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(n,i,o,t);if(n!==this.root&&this.autoExpandSingleChildren&&r&&!gL(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let i=-1;for(let e=0;e<n.children.length;e++){const t=n.children[e];if(t.visible){if(i>-1){i=-1;break}i=e}}i>-1&&this._setCollapseState([...e,i],t)}return r}_setListNodeCollapseState(e,t,n,i){const o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;const r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(gL(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!gL(t)&&t.recursive)for(const o of e.children)i=this._setNodeCollapseState(o,t,!0)||i;return i}expandTo(e){this.eventBufferer.bufferEvents(()=>{let t=this.getTreeNode(e);while(t.parent)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,n,i,o,r){const s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"===typeof e.collapsible?e.collapsible:"undefined"!==typeof e.collapsed,collapsed:"undefined"===typeof e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(s,n);s.visibility=a,i&&o.push(s);const l=e.children||Re.empty(),c=i&&0!==a&&!s.collapsed,h=Re.map(l,e=>this.createTreeNode(e,s,a,c,o,r));let u=0,d=1;for(const p of h)s.children.push(p),d+=p.renderNodeCount,p.visible&&(p.visibleChildIndex=u++);return s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=u,s.visible=2===a?u>0:1===a,s.visible?s.collapsed||(s.renderNodeCount=d):(s.renderNodeCount=0,i&&o.pop()),r&&r(s),s}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let o;if(e!==this.root){if(o=this._filterNode(e,t),0===o)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const r=n.length;e.renderNodeCount=e===this.root?0:1;let s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{let t=0;for(const r of e.children)s=this._updateNodeAfterFilterChange(r,o,n,i&&!e.collapsed)||s,r.visible&&(r.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===o?s:1===o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)while(e)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const n=this.filter?this.filter.filter(e.element,t):1;return"boolean"===typeof n?(e.filterData=void 0,n?1:0):pL(n)?(e.filterData=n.data,fL(n.visibility)):(e.filterData=void 0,fL(n))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[n,...i]=e;return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[n,...i]=e;if(n<0||n>t.children.length)throw new uL(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:i,visible:o}=this.getParentNodeWithListIndex(e),r=e[e.length-1];if(r<0||r>t.children.length)throw new uL(this.user,"Invalid tree location");const s=t.children[r];return{node:s,listIndex:n,revealed:i,visible:o&&s.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,i=!0,o=!0){const[r,...s]=e;if(r<0||r>t.children.length)throw new uL(this.user,"Invalid tree location");for(let a=0;a<r;a++)n+=t.children[a].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===s.length?{parentNode:t,listIndex:n,revealed:i,visible:o}:this.getParentNodeWithListIndex(s,t.children[r],n+1,i,o)}getNode(e=[]){return this.getTreeNode(e)}getNodeLocation(e){const t=[];let n=e;while(n.parent)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()}getParentNodeLocation(e){return 0===e.length?void 0:1===e.length?[]:Gi(e)[0]}}const bL=Cl("tree-item-expanded",El.chevronDown),vL=Cl("tree-filter-on-type-on",El.listFilter),yL=Cl("tree-filter-on-type-off",El.listSelection),wL=Cl("tree-filter-clear",El.close),_L=Cl("tree-item-loading",El.loading);class AL extends CN{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function CL(e){return e instanceof CN?new AL(e):e}class EL{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=Ge.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(CL(e),t)}onDragOver(e,t,n,i,o=!0){const r=this.dnd.onDragOver(CL(e),t&&t.element,n,i),s=this.autoExpandNode!==t;if(s&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),"undefined"===typeof t)return r;if(s&&"boolean"!==typeof r&&r.autoExpand&&(this.autoExpandDisposable=zi(()=>{const e=this.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),this.autoExpandNode=void 0},500)),"boolean"===typeof r||!r.accept||"undefined"===typeof r.bubble||r.feedback){if(!o){const e="boolean"===typeof r?r:r.accept,t="boolean"===typeof r?void 0:r.effect;return{accept:e,effect:t,feedback:[n]}}return r}if(1===r.bubble){const n=this.modelProvider(),o=n.getNodeLocation(t),r=n.getParentNodeLocation(o),s=n.getNode(r),a=r&&n.getListIndex(r);return this.onDragOver(e,s,a,i,!1)}const a=this.modelProvider(),l=a.getNodeLocation(t),c=a.getListIndex(l),h=a.getListRenderCount(l);return Object.assign(Object.assign({},r),{feedback:ao(c,c+h)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(CL(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function xL(e,t){return t&&Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId(e){return t.identityProvider.getId(e.element)}},dnd:t.dnd&&new EL(e,t.dnd),multipleSelectionController:t.multipleSelectionController&&{isSelectionSingleChangeEvent(e){return t.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},isSelectionRangeChangeEvent(e){return t.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))}},accessibilityProvider:t.accessibilityProvider&&Object.assign(Object.assign({},t.accessibilityProvider),{getSetSize(t){const n=e(),i=n.getNodeLocation(t),o=n.getParentNodeLocation(i),r=n.getNode(o);return r.visibleChildrenCount},getPosInSet(e){return e.visibleChildIndex+1},isChecked:t.accessibilityProvider&&t.accessibilityProvider.isChecked?e=>t.accessibilityProvider.isChecked(e.element):void 0,getRole:t.accessibilityProvider&&t.accessibilityProvider.getRole?e=>t.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel(e){return t.accessibilityProvider.getAriaLabel(e.element)},getWidgetAriaLabel(){return t.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:t.accessibilityProvider&&t.accessibilityProvider.getWidgetRole?()=>t.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel(e){return e.depth},getActiveDescendantId:t.accessibilityProvider.getActiveDescendantId&&(e=>t.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:t.simpleKeyboardNavigation})}class SL{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}var DL;(function(e){e["None"]="none",e["OnHover"]="onHover",e["Always"]="always"})(DL||(DL={}));class kL{constructor(e,t=[]){this._elements=t,this.onDidChange=Xe.forEach(e,e=>this._elements=e)}get elements(){return this._elements}}class ML{constructor(e,t,n,i,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=ML.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new Xd,this.activeIndentNodes=new Set,this.indentGuidesDisposable=Ge.None,this.disposables=new Ye,this.templateId=e.templateId,this.updateOptions(o),Xe.map(n,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if("undefined"!==typeof e.indent&&(this.indent=NN(e.indent,0,40)),"undefined"!==typeof e.renderIndentGuides){const t=e.renderIndentGuides!==DL.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new Ye;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}"undefined"!==typeof e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=br(e,Ar(".monaco-tl-row")),n=br(t,Ar(".monaco-tl-indent")),i=br(t,Ar(".monaco-tl-twistie")),o=br(t,Ar(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:n,twistie:i,indentGuidesDisposable:Ge.None,templateData:r}}renderElement(e,t,n,i){"number"===typeof i&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const o=ML.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=o+"px",n.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,n),"number"===typeof i&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"===typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(wo(t.twistie,bL.classNames,"collapsible"),Co(t.twistie,"collapsed",e.collapsed)):Ao(t.twistie,bL.classNames,"collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if(fo(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new Ye,i=this.modelProvider();let o=e;while(1){const e=i.getNodeLocation(o),r=i.getParentNodeLocation(e);if(!r)break;const s=i.getNode(r),a=Ar(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(s)&&yo(a,"active"),0===t.indent.childElementCount?t.indent.appendChild(a):t.indent.insertBefore(a,t.indent.firstElementChild),this.renderedIndentGuides.add(s,a),n.add(Ue(()=>this.renderedIndentGuides.delete(s,a))),o=s}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach(e=>{const i=n.getNodeLocation(e);try{const o=n.getParentNodeLocation(i);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):o&&t.add(n.getNode(o))}catch(o){}}),this.activeIndentNodes.forEach(e=>{t.has(e)||this.renderedIndentGuides.forEach(e,e=>_o(e,"active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>yo(e,"active"))}),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),We(this.disposables)}}ML.DefaultIndent=8;class NL{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new Ye,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;let i;if(i="boolean"===typeof n?n?1:0:pL(n)?fL(n.visibility):n,0===i)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:al.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=n&&n.toString();if("undefined"===typeof i)return{data:al.Default,visibility:!0};const o=ll(this._pattern,this._lowercasePattern,0,i,i.toLowerCase(),0,!0);return o?(this._matchCount++,{data:o,visibility:!0}):this.tree.options.filterOnType?2:{data:al.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){We(this.disposables)}}class LL{constructor(e,t,n,i,o){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=o,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new et,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new et,this.enabledDisposables=new Ye,this.disposables=new Ye,this.domNode=Ar(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,_i(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=br(n.getHTMLElement(),Ar(".monaco-list-type-filter-message")),this.labelDomNode=br(this.domNode,Ar("span.label"));const r=br(this.domNode,Ar(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=br(r,Ar("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),_i(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=br(r,Ar("button.clear"+wL.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=v("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),"undefined"!==typeof e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),"undefined"!==typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const e=Xe.chain(_i(this.view.getHTMLElement(),"keydown")).filter(e=>!PN(e.target)||e.target===this.filterOnTypeDomNode).filter(e=>"Dead"!==e.key&&!/^Media/.test(e.key)).map(e=>new Mi(e)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(this.pattern.length>0||this.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(y["f"]?e.altKey&&!e.metaKey:e.ctrlKey)&&!e.shiftKey).forEach(e=>{e.stopPropagation(),e.preventDefault()}).event,t=_i(this.clearDomNode,"click");Xe.chain(Xe.any(e,t)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"===typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(y["f"]?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,e=>!al.isDefault(e.filterData));const n=this.tree.getFocus();if(n.length>0){const e=n[0];null===this.tree.getRelativeTop(e)&&this.tree.reveal(e,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=Uo(e),n=e.clientWidth,i=n/2,o=this.domNode.clientWidth,r=new Ye;let s=this.positionClassName;const a=()=>{switch(s){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=n-o-6+"px";break}},l=e=>{e.preventDefault();const n=e.screenX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),s=n<i?"nw":"ne",a()},c=()=>{this.positionClassName=s,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",We(r)};a(),_o(this.domNode,s),yo(this.domNode,"dragging"),r.add(Ue(()=>_o(this.domNode,"dragging"))),_i(document,"dragover")(l,null,r),_i(this.domNode,"dragend")(c,null,r),qS.CurrentDragAndDropData=new KS("vscode-ui"),r.add(Ue(()=>qS.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(Ao(this.filterOnTypeDomNode,yL.classNames),wo(this.filterOnTypeDomNode,vL.classNames),this.filterOnTypeDomNode.title=v("disable filter on type","Disable Filter on Type")):(Ao(this.filterOnTypeDomNode,vL.classNames),wo(this.filterOnTypeDomNode,yL.classNames),this.filterOnTypeDomNode.title=v("enable filter on type","Enable Filter on Type"))}render(){const e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=v("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),Co(this.domNode,"no-matches",e),this.domNode.title=v("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!al.isDefault(e.filterData))}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),We(this.disposables)}}function BL(e){let t=hL.Unknown;return Zo(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=hL.Twistie:Zo(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(t=hL.Element),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function IL(e,t){t(e),e.children.forEach(e=>IL(e,t))}class TL{constructor(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new et,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){Ki(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:n})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),n=t=>e.delete(t);return t.forEach(e=>IL(e,n)),void this.set([...e.values()])}const n=new Set,i=e=>n.add(this.identityProvider.getId(e.element).toString());t.forEach(e=>IL(e,i));const o=new Map,r=e=>o.set(this.identityProvider.getId(e.element).toString(),e);e.forEach(e=>IL(e,r));const s=[];for(const a of this.nodes){const e=this.identityProvider.getId(a.element).toString(),t=n.has(e);if(t){const t=o.get(e);t&&s.push(t)}else s.push(a)}this._set(s,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class OL extends GN{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(PN(e.browserEvent.target)||FN(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,i=vo(n,"monaco-tl-twistie")||vo(n,"monaco-icon-label")&&vo(n,"folder-icon")&&e.browserEvent.offsetX<16;let o=!1;if(o="function"===typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,o&&!i)return super.onViewPointer(e);if(this.tree.expandOnlyOnDoubleClick&&2!==e.browserEvent.detail&&!i)return super.onViewPointer(e);if(t.collapsible){const n=this.tree.model,r=n.getNodeLocation(t),s=e.browserEvent.altKey;if(n.setCollapsed(r,void 0,s),o&&i)return}super.onViewPointer(e)}onDoubleClick(e){const t=vo(e.browserEvent.target,"monaco-tl-twistie");t||super.onDoubleClick(e)}}class RL extends oL{constructor(e,t,n,i,o,r,s){super(e,t,n,i,s),this.focusTrait=o,this.selectionTrait=r}createMouseController(e){return new OL(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),0===n.length)return;const i=[],o=[];n.forEach((t,n)=>{this.focusTrait.has(t)&&i.push(e+n),this.selectionTrait.has(t)&&o.push(e+n)}),i.length>0&&super.setFocus(io([...super.getFocus(),...i])),o.length>0&&super.setSelection(io([...super.getSelection(),...o]))}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map(e=>this.element(e)),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map(e=>this.element(e)),t)}}class PL{constructor(e,t,n,i,o={}){this._options=o,this.eventBufferer=new nt,this.disposables=new Ye,this._onWillRefilter=new et,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new et;const r=new SL(n),s=new it,a=new it,l=new kL(a.event);this.renderers=i.map(e=>new ML(e,()=>this.model,s.event,l,o));for(let u of this.renderers)this.disposables.add(u);let c;o.keyboardNavigationLabelProvider&&(c=new NL(this,o.keyboardNavigationLabelProvider,o.filter),o=Object.assign(Object.assign({},o),{filter:c}),this.disposables.add(c)),this.focus=new TL(o.identityProvider),this.selection=new TL(o.identityProvider),this.view=new RL(e,t,r,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},xL(()=>this.model,o)),{tree:this})),this.model=this.createModel(e,this.view,o),s.input=this.model.onDidChangeCollapseState;const h=Xe.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})});if(h(()=>null,null,this.disposables),a.input=Xe.chain(Xe.any(h,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==o.keyboardSupport){const e=Xe.chain(this.view.onKeyDown).filter(e=>!PN(e.target)).map(e=>new Mi(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}if(o.keyboardNavigationLabelProvider){const e=o.keyboardNavigationDelegate||QN;this.typeFilterController=new LL(this,this.model,this.view,c,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=or(this.view.getHTMLElement()),Co(this.getHTMLElement(),"always",this._options.renderIndentGuides===DL.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return Xe.map(this.view.onMouseDblClick,BL)}get onPointer(){return Xe.map(this.view.onPointer,BL)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var e;return null!==(e=this._options.expandOnlyOnDoubleClick)&&void 0!==e&&e}get expandOnlyOnTwistieClick(){return"undefined"!==typeof this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Co(this.getHTMLElement(),"always",this._options.renderIndentGuides===DL.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide  { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`));const i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const n=e.map(e=>this.model.getNode(e));this.selection.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map(e=>this.model.getNode(e));this.focus.set(n,t);const i=e.map(e=>this.model.getListIndex(e)).filter(e=>e>-1);this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=this.model.setCollapsed(i,!0);if(!o){const e=this.model.getParentNodeLocation(i);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=this.model.setCollapsed(i,!1);if(!o){if(!n.children.some(e=>e.visible))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}dispose(){We(this.disposables),this.view.dispose()}}class FL{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new mL(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare(e,t){return n.sorter.compare(e.element,t.element)}}),this.identityProvider=n.identityProvider}setChildren(e,t=Re.empty(),n,i){const o=this.getElementLocation(e);this._setChildren(o,this.preserveCollapseState(t),n,i)}_setChildren(e,t=Re.empty(),n,i){const o=new Set,r=new Set,s=e=>{if(null===e.element)return;const t=e;if(o.add(t.element),this.nodes.set(t.element,t),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();r.add(e),this.nodesByIdentity.set(e,t)}n&&n(t)},a=e=>{if(null===e.element)return;const t=e;if(o.has(t.element)||this.nodes.delete(t.element),this.identityProvider){const e=this.identityProvider.getId(t.element).toString();r.has(e)||this.nodesByIdentity.delete(e)}i&&i(t)};this.model.splice([...e,0],Number.MAX_VALUE,t,s,a)}preserveCollapseState(e=Re.empty()){return this.sorter&&(e=Ji([...e],this.sorter.compare.bind(this.sorter))),Re.map(e,e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const n=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(n)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const n="boolean"===typeof e.collapsible?e.collapsible:t.collapsible,i="undefined"!==typeof e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:n,collapsed:i,children:this.preserveCollapseState(e.children)})})}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new uL(this.user,"Tree element not found: "+e);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new uL(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new uL(this.user,"Tree element not found: "+e);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n),o=this.model.getNode(i);return o.element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new uL(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)}}function jL(e){const t=[e.element],n=e.incompressible||!1;return{element:{elements:t,incompressible:n},children:Re.map(Re.from(e.children),jL),collapsible:e.collapsible,collapsed:e.collapsed}}function QL(e){const t=[e.element],n=e.incompressible||!1;let i,o;while(1){if([o,i]=Re.consume(Re.from(e.children),2),1!==o.length)break;if(e=o[0],e.incompressible)break;t.push(e.element)}return{element:{elements:t,incompressible:n},children:Re.map(Re.concat(o,i),QL),collapsible:e.collapsible,collapsed:e.collapsed}}function zL(e,t=0){let n;return n=t<e.element.elements.length-1?[zL(e,t+1)]:Re.map(Re.from(e.children),e=>zL(e,0)),0===t&&e.element.incompressible?{element:e.element.elements[t],children:n,incompressible:!0,collapsible:e.collapsible,collapsed:e.collapsed}:{element:e.element.elements[t],children:n,collapsible:e.collapsible,collapsed:e.collapsed}}function VL(e){return zL(e,0)}function WL(e,t,n){return e.element===t?Object.assign(Object.assign({},e),{children:n}):Object.assign(Object.assign({},e),{children:Re.map(Re.from(e.children),e=>WL(e,t,n))})}class HL{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new FL(e,t,n),this.enabled="undefined"===typeof n.compressionEnabled||n.compressionEnabled}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=Re.empty()){if(null===e){const e=Re.map(t,this.enabled?QL:jL);return void this._setChildren(null,e)}const n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");const i=this.model.getNode(n),o=this.model.getParentNodeLocation(n),r=this.model.getNode(o),s=VL(i),a=WL(s,e,t),l=(this.enabled?QL:jL)(a),c=r.children.map(e=>e===i?l:e);this._setChildren(r.element,c)}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode(),n=t.children,i=Re.map(n,VL),o=Re.map(i,e?QL:jL);this._setChildren(null,o)}_setChildren(e,t){const n=new Set,i=e=>{for(const t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},o=e=>{for(const t of e.element.elements)n.has(t)||this.nodes.delete(t)};this.model.setChildren(e,t,i,o)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if("undefined"===typeof e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new uL(this.user,"Tree element not found: "+e);return t}}const UL=e=>e[e.length-1];class YL{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new YL(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}function GL(e,t){return{splice(n,i,o){t.splice(n,i,o.map(t=>e.map(t)))},updateElementHeight(e,n){t.updateElementHeight(e,n)}}}function KL(e,t){return Object.assign(Object.assign({},t),{sorter:t.sorter&&{compare(e,n){return t.sorter.compare(e.elements[0],n.elements[0])}},identityProvider:t.identityProvider&&{getId(n){return t.identityProvider.getId(e(n))}},filter:t.filter&&{filter(n,i){return t.filter.filter(e(n),i)}}})}class qL{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||UL;const i=e=>this.elementMapper(e.elements);this.nodeMapper=new dL(e=>new YL(i,e)),this.model=new HL(e,GL(this.nodeMapper,t),KL(i,n))}get onDidSplice(){return Xe.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return Xe.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return Xe.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=Re.empty()){this.model.setChildren(e,t)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,n){return this.model.setCollapsed(e,t,n)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}var JL=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};class XL extends PL{constructor(e,t,n,i,o={}){super(e,t,n,i,o)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=Re.empty()){this.model.setChildren(e,t)}rerender(e){void 0!==e?this.model.rerender(e):this.view.rerender()}hasElement(e){return this.model.has(e)}createModel(e,t,n){return new FL(e,t,n)}}class $L{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){const t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}}renderElement(e,t,n,i){const o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))}disposeElement(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}function ZL(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let i;try{i=e().getCompressedTreeNode(n)}catch(o){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}JL([Vg],$L.prototype,"compressedTreeNodeProvider",null);class eB extends XL{constructor(e,t,n,i,o={}){const r=()=>this,s=i.map(e=>new $L(r,e));super(e,t,n,s,ZL(r,o))}setChildren(e,t=Re.empty()){this.model.setChildren(e,t)}createModel(e,t,n){return new qL(e,t,n)}updateOptions(e={}){super.updateOptions(e),"undefined"!==typeof e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var tB=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function nB(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function iB(e,t){return!!t.parent&&(t.parent===e||iB(e,t.parent))}function oB(e,t){return e===t||iB(e,t)||iB(t,e)}class rB{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new rB(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class sB{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){const t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?wo(t,_L.classNames):Ao(t,_L.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function aB(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function lB(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class cB extends CN{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function hB(e){return e instanceof CN?new cB(e):e}class uB{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(hB(e),t)}onDragOver(e,t,n,i,o=!0){return this.dnd.onDragOver(hB(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(hB(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function dB(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new uB(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},isSelectionRangeChangeEvent(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var n;return!!(null===(n=e.accessibilityProvider)||void 0===n?void 0:n.isChecked(t.element))}:void 0,getAriaLabel(t){return e.accessibilityProvider.getAriaLabel(t.element)},getWidgetAriaLabel(){return e.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter(t,n){return e.filter.filter(t.element,n)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:"undefined"===typeof e.expandOnlyOnTwistieClick?void 0:"function"!==typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function pB(e,t){t(e),e.children.forEach(e=>pB(e,t))}class fB{constructor(e,t,n,i,o,r={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new et,this._onDidChangeNodeSlowState=new et,this.nodeMapper=new dL(e=>new rB(e)),this.disposables=new Ye,this.identityProvider=r.identityProvider,this.autoExpandSingleChildren="undefined"!==typeof r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.sorter=r.sorter,this.collapseByDefault=r.collapseByDefault,this.tree=this.createTree(e,t,n,i,r),this.root=nB({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return Xe.map(this.tree.onDidChangeFocus,aB)}get onDidChangeSelection(){return Xe.map(this.tree.onDidChangeSelection,aB)}get onMouseDblClick(){return Xe.map(this.tree.onMouseDblClick,lB)}get onPointer(){return Xe.map(this.tree.onPointer,lB)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,i,o){const r=new SL(n),s=i.map(e=>new sB(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),a=dB(o)||{};return new XL(e,t,r,s,a)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return tB(this,void 0,void 0,(function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"===typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,n=!1,i){return tB(this,void 0,void 0,(function*(){if("undefined"===typeof this.root.element)throw new uL(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield Xe.toPromise(this._onDidRender.event));const o=this.getDataNode(e);if(yield this.refreshAndRenderNode(o,t,i),n)try{this.tree.rerender(o)}catch(r){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return tB(this,void 0,void 0,(function*(){if("undefined"===typeof this.root.element)throw new uL(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield Xe.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))return!1;if(n.refreshPromise&&(yield this.root.refreshPromise,yield Xe.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield Xe.toPromise(this._onDidRender.event)),i}))}setSelection(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setSelection(n,t)}getSelection(){const e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){const n=e.map(e=>this.getDataNode(e));this.tree.setFocus(n,t)}getFocus(){const e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new uL(this.user,"Data tree node not found: "+e);return t}refreshAndRenderNode(e,t,n){return tB(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,n),this.render(e,n)}))}refreshNode(e,t,n){return tB(this,void 0,void 0,(function*(){let i;return this.subTreeRefreshPromises.forEach((o,r)=>{!i&&oB(r,e)&&(i=o.then(()=>this.refreshNode(e,t,n)))}),i||this.doRefreshSubTree(e,t,n)}))}doRefreshSubTree(e,t,n){return tB(this,void 0,void 0,(function*(){let i;e.refreshPromise=new Promise(e=>i=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const o=yield this.doRefreshNode(e,t,n);e.stale=!1,yield Promise.all(o.map(e=>this.doRefreshSubTree(e,t,n)))}finally{i()}}))}doRefreshNode(e,t,n){return tB(this,void 0,void 0,(function*(){let i;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=Qi(800);t.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),i=this.doGetChildren(e).finally(()=>t.cancel())}else i=Promise.resolve(Re.empty());try{const o=yield i;return this.setChildren(e,o,t,n)}catch(o){if(e!==this.root&&this.tree.collapse(e===this.root?null:e),Be(o))return[];throw o}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=Fi(()=>tB(this,void 0,void 0,(function*(){const t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)}))),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(Me))}setChildren(e,t,n,i){const o=[...t];if(0===e.children.length&&0===o.length)return[];const r=new Map,s=new Map;for(const c of e.children)if(r.set(c.element,c),this.identityProvider){const e=this.tree.isCollapsed(c);s.set(c.id,{node:c,collapsed:e})}const a=[],l=o.map(t=>{const o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const n=nB({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(n.collapsedByDefault=!1,a.push(n)),n}const l=this.identityProvider.getId(t).toString(),c=s.get(l);if(c){const e=c.node;return r.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,n?c.collapsed?(e.children.forEach(e=>pB(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):a.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,a.push(e)),e}const h=nB({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(h),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(h),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?a.push(h):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(h.collapsedByDefault=!1,a.push(h)),h});for(const c of r.values())pB(c,e=>this.nodes.delete(e.element));for(const c of l)this.nodes.set(c.element,c);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===a.length&&(l[0].collapsedByDefault=!1,a.push(l[0])),a}render(e,t){const n=e.children.map(e=>this.asTreeElement(e,t));this.tree.setChildren(e===this.root?null:e,n),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let n;return n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?Re.map(e.children,e=>this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class gB{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new gB(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class mB{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){const t=this.renderer.renderTemplate(e);return{templateData:t}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?wo(t,_L.classNames):Ao(t,_L.classNames),!1}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=We(this.disposables)}}function bB(e){const t=e&&dB(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map(e=>e.element))}})})}class vB extends fB{constructor(e,t,n,i,o,r,s={}){super(e,t,n,o,r,s),this.compressionDelegate=i,this.compressibleNodeMapper=new dL(e=>new gB(e)),this.filter=s.filter}createTree(e,t,n,i,o){const r=new SL(n),s=i.map(e=>new mB(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),a=bB(o)||{};return new eB(e,t,r,s,a)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=e=>this.identityProvider.getId(e).toString(),i=e=>{const t=new Set;for(const i of e){const e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(const i of e.element.elements)t.add(n(i.element))}return t},o=i(this.tree.getSelection()),r=i(this.tree.getFocus());super.render(e,t);const s=this.getSelection();let a=!1;const l=this.getFocus();let c=!1;const h=e=>{const t=e.element;if(t)for(let i=0;i<t.elements.length;i++){const e=n(t.elements[i].element),h=t.elements[t.elements.length-1].element;o.has(e)&&-1===s.indexOf(h)&&(s.push(h),a=!0),r.has(e)&&-1===l.indexOf(h)&&(l.push(h),c=!0)}e.children.forEach(h)};h(this.tree.getCompressedTreeNode(e===this.root?null:e)),a&&this.setSelection(s),c&&this.setFocus(l)}processChildren(e){return this.filter&&(e=Re.filter(e,e=>{const t=this.filter.filter(e,1),n=yB(t);if(2===n)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===n})),super.processChildren(e)}}function yB(e){return"boolean"===typeof e?e?1:0:pL(e)?fL(e.visibility):fL(e)}class wB extends PL{constructor(e,t,n,i,o,r={}){super(e,t,n,i,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,n){return new FL(e,t,n)}}var _B=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},AB=function(e,t){return function(n,i){t(n,i,e)}};const CB=ii("listService");let EB=class{constructor(e){this._themeService=e,this.disposables=new Ye,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new KN(or(),"");this.disposables.add(GM(e,this._themeService))}if(this.lists.some(t=>t.widget===e))throw new Error("Cannot register the same widget multiple times");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),He(e.onDidFocus(()=>this._lastFocusedWidget=e),Ue(()=>this.lists.splice(this.lists.indexOf(n),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==n),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};EB=_B([AB(0,pm)],EB);const xB=new hg("listFocus",!0),SB=new hg("listSupportsMultiselect",!0),DB=(Jf.and(xB,Jf.not(cL)),new hg("listHasSelectionOrFocus",!1)),kB=new hg("listDoubleSelection",!1),MB=new hg("listMultiSelection",!1),NB=new hg("listSupportsKeyboardNavigation",!0),LB="listAutomaticKeyboardNavigation",BB=new hg(LB,!0);let IB=!1;function TB(e,t){const n=e.createScoped(t.getHTMLElement());return xB.bindTo(n),n}const OB="workbench.list.multiSelectModifier",RB="workbench.list.openMode",PB="workbench.list.horizontalScrolling",FB="workbench.list.keyboardNavigation",jB="workbench.list.automaticKeyboardNavigation",QB="workbench.tree.indent",zB="workbench.tree.renderIndentGuides",VB="workbench.list.smoothScrolling";function WB(e){return"alt"===e.getValue(OB)}class HB extends Ge{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=WB(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(OB)&&(this.useAltAsMultipleSelectionModifier=WB(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:WN(e)}isSelectionRangeChangeEvent(e){return HN(e)}}function UB(e,t,n){const i=new Ye,o=Object.assign({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){const e=new HB(t);o.multipleSelectionController=e,i.add(e)}return o.keyboardNavigationDelegate={mightProducePrintableCharacter(e){return n.mightProducePrintableCharacter(e)}},o.smoothScrolling=t.getValue(VB),[o,i]}let YB=class extends oL{constructor(e,t,n,i,o,r,s,a,l,c){const h="undefined"!==typeof o.horizontalScrolling?o.horizontalScrolling:l.getValue(PB),[u,d]=UB(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},UM(a.getColorTheme(),KM)),u),{horizontalScrolling:h})),this.disposables.add(d),this.contextKeyService=TB(r,this),this.themeService=a;const p=SB.bindTo(this.contextKeyService);p.set(!(!1===o.multipleSelectionSupport)),this.listHasSelectionOrFocus=DB.bindTo(this.contextKeyService),this.listDoubleSelection=kB.bindTo(this.contextKeyService),this.listMultiSelection=MB.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=WB(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(OB)&&(this._useAltAsMultipleSelectionModifier=WB(l));let t={};if(e.affectsConfiguration(PB)&&void 0===this.horizontalScrolling){const e=l.getValue(PB);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(VB)){const e=l.getValue(VB);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(e){this._styler&&this._styler.dispose(),this._styler=GM(this,this.themeService,e)}};YB=_B([AB(5,ug),AB(6,CB),AB(7,pm),AB(8,gp),AB(9,RD)],YB);let GB=class extends lL{constructor(e,t,n,i,o,r,s,a,l,c){const h="undefined"!==typeof o.horizontalScrolling?o.horizontalScrolling:l.getValue(PB),[u,d]=UB(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},UM(a.getColorTheme(),KM)),u),{horizontalScrolling:h})),this.disposables=new Ye,this.disposables.add(d),this.contextKeyService=TB(r,this),this.horizontalScrolling=o.horizontalScrolling;const p=SB.bindTo(this.contextKeyService);p.set(!(!1===o.multipleSelectionSupport)),this._useAltAsMultipleSelectionModifier=WB(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.disposables.add(GM(this,a,o.overrideStyles)),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(OB)&&(this._useAltAsMultipleSelectionModifier=WB(l));let t={};if(e.affectsConfiguration(PB)&&void 0===this.horizontalScrolling){const e=l.getValue(PB);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(VB)){const e=l.getValue(VB);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)}))}dispose(){super.dispose(),this.disposables.dispose()}};GB=_B([AB(5,ug),AB(6,CB),AB(7,pm),AB(8,gp),AB(9,RD)],GB);class KB extends Ge{constructor(e,t){var n,i;super(),this.widget=e,this._onDidOpen=new et,this.onDidOpen=this._onDidOpen.event,this.openOnFocus=null!==(n=null===t||void 0===t?void 0:t.openOnFocus)&&void 0!==n&&n,this._register(Xe.filter(this.widget.onDidChangeSelection,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.browserEvent))),this.openOnFocus&&this._register(Xe.filter(this.widget.onDidChangeFocus,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onFocusFromKeyboard(e))),"boolean"!==typeof(null===t||void 0===t?void 0:t.openOnSingleClick)&&(null===t||void 0===t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue(RB)),this._register(null===t||void 0===t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue(RB))}))):this.openOnSingleClick=null===(i=null===t||void 0===t?void 0:t.openOnSingleClick)||void 0===i||i}onFocusFromKeyboard(e){const t=this.widget.getFocus();this.widget.setSelection(t,e.browserEvent);const n="boolean"!==typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus,i=!1,o=!1;this._open(n,i,o,e.browserEvent)}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t="boolean"!==typeof e.browserEvent.preserveFocus||e.browserEvent.preserveFocus,n=!1,i=!1;this._open(t,n,i,e.browserEvent)}onPointer(e){if(!this.openOnSingleClick)return;const t=2===e.detail;if(t)return;const n=1===e.button,i=!0,o=n,r=e.ctrlKey||e.metaKey||e.altKey;this._open(i,o,r,e)}onMouseDblClick(e){if(!e)return;const t=!1,n=!0,i=e.ctrlKey||e.metaKey||e.altKey;this._open(t,n,i,e)}_open(e,t,n,i){this._onDidOpen.fire({editorOptions:{preserveFocus:e,pinned:t,revealIfVisible:!0},sideBySide:n,element:this.widget.getSelection()[0],browserEvent:i})}}class qB extends KB{constructor(e,t){super(e,t)}}function JB(e,t){let n=!1;return i=>{if(n)return n=!1,!1;const o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}let XB=class extends XL{constructor(e,t,n,i,o,r,s,a,l,c,h){const{options:u,getAutomaticKeyboardNavigation:d,disposable:p}=nI(t,o,r,l,c,h);super(e,t,n,i,u),this.disposables.add(p),this.internals=new iI(this,o,d,o.overrideStyles,r,s,a,l,h),this.disposables.add(this.internals)}};XB=_B([AB(5,ug),AB(6,CB),AB(7,pm),AB(8,gp),AB(9,RD),AB(10,iS)],XB);let $B=class extends eB{constructor(e,t,n,i,o,r,s,a,l,c,h){const{options:u,getAutomaticKeyboardNavigation:d,disposable:p}=nI(t,o,r,l,c,h);super(e,t,n,i,u),this.disposables.add(p),this.internals=new iI(this,o,d,o.overrideStyles,r,s,a,l,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};$B=_B([AB(5,ug),AB(6,CB),AB(7,pm),AB(8,gp),AB(9,RD),AB(10,iS)],$B);let ZB=class extends wB{constructor(e,t,n,i,o,r,s,a,l,c,h,u){const{options:d,getAutomaticKeyboardNavigation:p,disposable:f}=nI(t,r,s,c,h,u);super(e,t,n,i,o,d),this.disposables.add(f),this.internals=new iI(this,r,p,r.overrideStyles,s,a,l,c,u),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};ZB=_B([AB(6,ug),AB(7,CB),AB(8,pm),AB(9,gp),AB(10,RD),AB(11,iS)],ZB);let eI=class extends fB{constructor(e,t,n,i,o,r,s,a,l,c,h,u){const{options:d,getAutomaticKeyboardNavigation:p,disposable:f}=nI(t,r,s,c,h,u);super(e,t,n,i,o,d),this.disposables.add(f),this.internals=new iI(this,r,p,r.overrideStyles,s,a,l,c,u),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};eI=_B([AB(6,ug),AB(7,CB),AB(8,pm),AB(9,gp),AB(10,RD),AB(11,iS)],eI);let tI=class extends vB{constructor(e,t,n,i,o,r,s,a,l,c,h,u,d){const{options:p,getAutomaticKeyboardNavigation:f,disposable:g}=nI(t,s,a,h,u,d);super(e,t,n,i,o,r,p),this.disposables.add(g),this.internals=new iI(this,s,f,s.overrideStyles,a,l,c,h,d),this.disposables.add(this.internals)}};function nI(e,t,n,i,o,r){NB.bindTo(n),IB||(BB.bindTo(n),IB=!0);const s=()=>{let e=n.getContextKeyValue(LB);return e&&(e=i.getValue(jB)),e},a=r.isScreenReaderOptimized(),l=a?"simple":i.getValue(FB),c=void 0!==t.horizontalScrolling?t.horizontalScrolling:i.getValue(PB),[h,u]=UB(t,i,o),d=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:s,disposable:u,options:Object.assign(Object.assign({keyboardSupport:!1},h),{indent:i.getValue(QB),renderIndentGuides:i.getValue(zB),smoothScrolling:i.getValue(VB),automaticKeyboardNavigation:s(),simpleKeyboardNavigation:"simple"===l,filterOnType:"filter"===l,horizontalScrolling:c,keyboardNavigationEventFilter:JB(e,o),additionalScrollHeight:d,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:"doubleClick"===i.getValue(RB)})}}tI=_B([AB(7,ug),AB(8,CB),AB(9,pm),AB(10,gp),AB(11,RD),AB(12,iS)],tI);let iI=class{constructor(e,t,n,i,o,r,s,a,l){this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=TB(o,e);const c=SB.bindTo(this.contextKeyService);c.set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=DB.bindTo(this.contextKeyService),this.hasDoubleSelection=kB.bindTo(this.contextKeyService),this.hasMultiSelection=MB.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=WB(a);const h=new Set;h.add(LB);const u=()=>{const t=l.isScreenReaderOptimized(),n=t?"simple":a.getValue(FB);e.updateOptions({simpleKeyboardNavigation:"simple"===n,filterOnType:"filter"===n})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),n=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||n.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{const t=e.getSelection(),n=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||n.length>0)}),a.onDidChangeConfiguration(i=>{let o={};if(i.affectsConfiguration(OB)&&(this._useAltAsMultipleSelectionModifier=WB(a)),i.affectsConfiguration(QB)){const e=a.getValue(QB);o=Object.assign(Object.assign({},o),{indent:e})}if(i.affectsConfiguration(zB)){const e=a.getValue(zB);o=Object.assign(Object.assign({},o),{renderIndentGuides:e})}if(i.affectsConfiguration(VB)){const e=a.getValue(VB);o=Object.assign(Object.assign({},o),{smoothScrolling:e})}if(i.affectsConfiguration(FB)&&u(),i.affectsConfiguration(jB)&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:n()})),i.affectsConfiguration(PB)&&void 0===t.horizontalScrolling){const e=a.getValue(PB);o=Object.assign(Object.assign({},o),{horizontalScrolling:e})}i.affectsConfiguration(RB)&&(o=Object.assign(Object.assign({},o),{expandOnlyOnDoubleClick:"doubleClick"===a.getValue(RB)})),Object.keys(o).length>0&&e.updateOptions(o)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(h)&&e.updateOptions({automaticKeyboardNavigation:n()})}),l.onDidChangeScreenReaderOptimized(()=>u())),this.navigator=new qB(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(e){We(this.styler),this.styler=e?GM(this.tree,this.themeService,e):Ge.None}dispose(){this.disposables=We(this.disposables),We(this.styler),this.styler=void 0}};iI=_B([AB(4,ug),AB(5,CB),AB(6,pm),AB(7,gp),AB(8,iS)],iI);const oI=kd.as(Id.Configuration);var rI,sI;oI.registerConfiguration({id:"workbench",order:7,title:v("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[OB]:{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[v("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),v("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:v({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[RB]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:v({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[PB]:{type:"boolean",default:!1,description:v("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[QB]:{type:"number",default:8,minimum:0,maximum:40,description:v("tree indent setting","Controls tree indentation in pixels.")},[zB]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:v("render tree indent guides","Controls whether the tree should render indent guides.")},[VB]:{type:"boolean",default:!1,description:v("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[FB]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[v("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),v("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),v("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:v("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},[jB]:{type:"boolean",default:!0,markdownDescription:v("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")}}}),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(rI||(rI={})),function(e){function t(e,t){return t-e}e.compare=t;const n=Object.create(null);function i(e){return n[e]||""}function o(t){switch(t){case yd.Error:return e.Error;case yd.Warning:return e.Warning;case yd.Info:return e.Info;case yd.Ignore:return e.Hint}}function r(t){switch(t){case e.Error:return yd.Error;case e.Warning:return yd.Warning;case e.Info:return yd.Info;case e.Hint:return yd.Ignore}}n[e.Error]=v("sev.error","Error"),n[e.Warning]=v("sev.warning","Warning"),n[e.Info]=v("sev.info","Info"),e.toString=i,e.fromSeverity=o,e.toSeverity=r}(rI||(rI={})),function(e){const t="";function n(e){return i(e,!0)}function i(e,n){let i=[t];return e.source?i.push(e.source.replace("¦","\\¦")):i.push(t),e.code?"string"===typeof e.code?i.push(e.code.replace("¦","\\¦")):i.push(e.code.value.replace("¦","\\¦")):i.push(t),void 0!==e.severity&&null!==e.severity?i.push(rI.toString(e.severity)):i.push(t),e.message&&n?i.push(e.message.replace("¦","\\¦")):i.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(t),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(t),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(t),i.push(t),i.join("¦")}e.makeKey=n,e.makeKeyOptionalMessage=i}(sI||(sI={}));const aI=ii("markerService");class lI{constructor(){this._byResource=new zs,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let o=this._byOwner.get(t);o||(o=new zs,this._byOwner.set(t,o)),o.set(e,n)}get(e,t){let n=this._byResource.get(e);return null===n||void 0===n?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,o=this._byResource.get(e);o&&(n=o.delete(t));let r=this._byOwner.get(t);if(r&&(i=r.delete(e)),n!==i)throw new Error("illegal state");return n&&i}values(e){var t,n,i,o;return"string"===typeof e?null!==(n=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==n?n:Re.empty():tn.isUri(e)?null!==(o=null===(i=this._byResource.get(e))||void 0===i?void 0:i.values())&&void 0!==o?o:Re.empty():Re.map(Re.concat(...this._byOwner.values()),e=>e[1])}}class cI{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new zs,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===co.inMemory||e.scheme===co.walkThrough||e.scheme===co.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===rI.Error?t.errors+=1:n===rI.Warning?t.warnings+=1:n===rI.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class hI{constructor(){this._onMarkerChanged=new et,this.onMarkerChanged=Xe.debounce(this._onMarkerChanged.event,hI._debouncer,0),this._data=new lI,this._stats=new cI(this)}dispose(){this._stats.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if(eo(n)){const n=this._data.delete(t,e);n&&this._onMarkerChanged.fire([t])}else{const i=[];for(const o of n){const n=hI._toMarker(e,t,o);n&&i.push(n)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:h,relatedInformation:u,tags:d}=n;if(r)return a=a>0?a:1,l=l>0?l:1,c=c>=a?c:a,h=h>0?h:l,{resource:t,owner:e,code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:h,relatedInformation:u,tags:d}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:o}=e;if((!o||o<0)&&(o=-1),t&&n){const e=this._data.get(n,t);if(e){const t=[];for(const n of e)if(hI._accept(n,i)){const e=t.push(n);if(o>0&&e===o)break}return t}return[]}if(t||n){const e=this._data.values(null!==n&&void 0!==n?n:t),r=[];for(const t of e)for(const e of t)if(hI._accept(e,i)){const t=r.push(e);if(o>0&&t===o)return r}return r}{const e=[];for(let t of this._data.values())for(let n of t)if(hI._accept(n,i)){const t=e.push(n);if(o>0&&t===o)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _debouncer(e,t){e||(hI._dedupeMap=new zs,e=[]);for(const n of t)hI._dedupeMap.has(n)||(hI._dedupeMap.set(n,!0),e.push(n));return e}}const uI=ii("storageService");var dI;(function(e){e[e["NONE"]=0]="NONE",e[e["SHUTDOWN"]=1]="SHUTDOWN"})(dI||(dI={}));class pI extends Ge{constructor(){super(...arguments),this._onDidChangeStorage=this._register(new et),this._onWillSaveState=this._register(new et),this.onWillSaveState=this._onWillSaveState.event,this.globalCache=new Map,this.workspaceCache=new Map}getCache(e){return 0===e?this.globalCache:this.workspaceCache}get(e,t,n){const i=this.getCache(t).get(e);return $r(i)?n:i}getBoolean(e,t,n){const i=this.getCache(t).get(e);return $r(i)?n:"true"===i}getNumber(e,t,n){const i=this.getCache(t).get(e);return $r(i)?n:parseInt(i,10)}store(e,t,n){if($r(t))return this.remove(e,n);const i=String(t),o=this.getCache(n).get(e);return o===i||(this.getCache(n).set(e,i),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()}remove(e,t){const n=this.getCache(t).delete(e);return n?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()}}var fI=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},gI=function(e,t){return function(n,i){t(n,i,e)}};let mI=class{constructor(e){this._commandService=e}createMenu(e,t){return new bI(e,this._commandService,t,this)}};mI=fI([gI(0,ss)],mI);let bI=class e{constructor(e,t,n,i){this._id=e,this._commandService=t,this._contextKeyService=n,this._menuService=i,this._onDidChange=new et,this._dispoables=new Ye,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(Xe.debounce(Xe.filter(vg.onDidChangeMenu,e=>e.has(this._id)),()=>{},50)(this._build,this)),this._dispoables.add(Xe.debounce(this._contextKeyService.onDidChangeContext,(e,t)=>e||t.affectsSome(this._contextKeys),50)(e=>e&&this._onDidChange.fire(void 0),this))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=vg.getMenuItems(this._id);let n;t.sort(e._compareMenuItems);for(let i of t){const t=i.group||"";if(n&&n[0]===t||(n=[t,[]],this._menuGroups.push(n)),n[1].push(i),e._fillInKbExprKeys(i.when,this._contextKeys),gg(i)&&i.command.precondition&&e._fillInKbExprKeys(i.command.precondition,this._contextKeys),gg(i)&&i.command.toggled){const t=i.command.toggled.condition||i.command.toggled;e._fillInKbExprKeys(t,this._contextKeys)}}this._onDidChange.fire(this)}get onDidChange(){return this._onDidChange.event}getActions(e){const t=[];for(let n of this._menuGroups){const[i,o]=n,r=[];for(const t of o)if(this._contextKeyService.contextMatchesRules(t.when)){const n=gg(t)?new _g(t.command,t.alt,e,this._contextKeyService,this._commandService):new wg(t,this._menuService,this._contextKeyService,e);r.push(n)}r.length>0&&t.push([i,r])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(t,n){let i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;let e=i.localeCompare(o);if(0!==e)return e}let r=t.order||0,s=n.order||0;return r<s?-1:r>s?1:e._compareTitles(gg(t)?t.command.title:t.title,gg(n)?n.command.title:n.title)}static _compareTitles(e,t){const n="string"===typeof e?e:e.value,i="string"===typeof t?t:t.value;return n.localeCompare(i)}};bI=fI([gI(1,ss),gI(2,ug),gI(3,bg)],bI);const vI=ii("markerDecorationsService");var yI=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},wI=function(e,t){return function(n,i){t(n,i,e)}};function _I(e){return e.toString()}class AI extends Ge{constructor(e){super(),this.model=e,this._markersData=new Map,this._register(Ue(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let o=0;o<i.length;o++)this._markersData.set(i[o],e[o]);return 0!==n.length||0!==i.length}getMarker(e){return this._markersData.get(e.id)}}let CI=class extends Ge{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new et),this._markerDecorations=new Map,e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const n=this._markerDecorations.get(_I(e.uri));return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{const t=this._markerDecorations.get(_I(e));t&&this._updateDecorations(t)})}_onModelAdded(e){const t=new AI(e);this._markerDecorations.set(_I(e.uri),t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(_I(e.uri));t&&(t.dispose(),this._markerDecorations.delete(_I(e.uri))),e.uri.scheme!==co.inMemory&&e.uri.scheme!==co.internal&&e.uri.scheme!==co.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});let n=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=fn.lift(t);if(t.severity!==rI.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){let t=e.getWordAtPosition(n.getStartPosition());if(t)n=new fn(n.startLineNumber,t.startColumn,n.endLineNumber,t.endColumn);else{let t=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===t||(n=n.endColumn>=t?new fn(n.startLineNumber,t-1,n.endLineNumber,t):new fn(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new fn(n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,i,o=void 0,r=void 0;switch(e.severity){case rI.Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case rI.Warning:t="squiggly-warning",o=fm(dA),n=20,i={color:fm(L_),position:Rs.Inline};break;case rI.Info:t="squiggly-info",o=fm(pA),n=10;break;case rI.Error:default:t="squiggly-error",o=fm(uA),n=30,i={color:fm(N_),position:Rs.Inline};break}return e.tags&&(-1!==e.tags.indexOf(1)&&(r="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(r="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:o,position:Os.Right},minimap:i,zIndex:n,inlineClassName:r}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}};CI=yI([wI(0,_a),wI(1,aI)],CI);var EI=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xI=function(e,t){return function(n,i){t(n,i,e)}};let SI=class extends Ge{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new et,this._accessibilityModeEnabledContext=oS.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire())})),n(),this.onDidChangeScreenReaderOptimized(()=>n())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};SI=EI([xI(0,ug),xI(1,gp)],SI);var DI=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class kI{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,t){return DI(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);try{return yield navigator.clipboard.writeText(e)}catch(o){}const n=document.activeElement,i=document.body.appendChild(Ar("textarea",{"aria-hidden":!0}));i.style.height="1px",i.style.width="1px",i.style.position="absolute",i.value=e,i.focus(),i.select(),document.execCommand("copy"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(i)}))}readText(e){return DI(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(t){return""}}))}readFindText(){return DI(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return DI(this,void 0,void 0,(function*(){this.findText=e}))}}var MI=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},NI=function(e,t){return function(n,i){t(n,i,e)}},LI=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const BI=!1;function II(e){return e.scheme===co.file?e.fsPath:e.path}let TI=0;class OI{constructor(e,t,n){this.id=++TI,this.type=0,this.actual=e,this.label=e.label,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[${this.id}] [${this.isValid?"VALID":"INVALID"}] ${this.actual}`}}class RI{constructor(e,t){this.resourceLabel=e,this.reason=t}}class PI{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,i]of this.elements){const n=0===i.reason?e:t;n.push(i.resourceLabel)}let n=[];return e.length>0&&n.push(v({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&n.push(v({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),n.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class FI{constructor(e,t,n){this.id=++TI,this.type=1,this.actual=e,this.label=e.label,this.resourceLabels=t,this.strResources=n,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"===typeof this.actual.split}removeResource(e,t,n){this.removedResources||(this.removedResources=new PI),this.removedResources.has(t)||this.removedResources.set(t,new RI(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new PI),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new RI(e,0)))}toString(){return`[${this.id}] [${this.invalidatedResources?"INVALID":"VALID"}] ${this.actual}`}}class jI{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push("   * [UNDO] "+this._past[t]);for(let t=this._future.length-1;t>=0;t--)e.push("   * [REDO] "+this._future[t]);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,e)}pushElement(e){for(const t of this._future)1===t.type&&t.removeResource(this.resourceLabel,this.strResource,1);if(this._future=[],this._past.length>0){const e=this._past[this._past.length-1];0!==e.type||e.isValid||(this._past=[])}this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let n=0,i=this._past.length;n<i;n++)t.push(this._past[n].id);for(let n=this._future.length-1;n>=0;n--)t.push(this._future[n].id);return new pk(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,o=-1;for(let s=0,a=this._past.length;s<a;s++,i++){const r=this._past[s];n&&(i>=t||r.id!==e.elements[i])&&(n=!1,o=0),n||1!==r.type||r.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let s=this._future.length-1;s>=0;s--,i++){const o=this._future[s];n&&(i>=t||o.id!==e.elements[i])&&(n=!1,r=s),n||1!==o.type||o.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==r&&(this._future=this._future.slice(r+1)),this.versionId++}getElements(){const e=[],t=[];for(const n of this._past)e.push(n.actual);for(const n of this._future)t.push(n.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class QI{constructor(e){this.editStacks=e,this._versionIds=[];for(let t=0,n=this.editStacks.length;t<n;t++)this._versionIds[t]=this.editStacks[t].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const zI=new jI("","");zI.locked=!0;let VI=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){let t=[];for(const n of this._editStacks)t.push(n[1].toString())}pushElement(e){if(0===e.type){const t=II(e.resource),n=this.getUriComparisonKey(e.resource);this._pushElement(new OI(e,t,n))}else{const t=new Set,n=[],i=[];for(const o of e.resources){const e=II(o),r=this.getUriComparisonKey(o);t.has(r)||(t.add(r),n.push(e),i.push(r))}1===n.length?this._pushElement(new OI(e,n[0],i[0])):this._pushElement(new FI(e,n,i))}BI&&this._print("pushElement")}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const n=e.resourceLabels[t],i=e.strResources[t];let o;this._editStacks.has(i)?o=this._editStacks.get(i):(o=new jI(n,i),this._editStacks.set(i,o)),o.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const n=e.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const o of n){const e=II(o.resource),t=this.getUriComparisonKey(o.resource),n=new OI(o,e,t);i.set(n.strResource,n)}for(const o of e.strResources){if(t&&t.has(o))continue;const n=this._editStacks.get(o);n.splitPastWorkspaceElement(e,i)}}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const o of n){const e=II(o.resource),t=this.getUriComparisonKey(o.resource),n=new OI(o,e,t);i.set(n.strResource,n)}for(const o of e.strResources){if(t&&t.has(o))continue;const n=this._editStacks.get(o);n.splitFutureWorkspaceElement(e,i)}}removeElements(e){const t="string"===typeof e?e:this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);e.dispose(),this._editStacks.delete(t)}BI&&this._print("removeElements")}setElementsValidFlag(e,t,n){const i=this.getUriComparisonKey(e);if(this._editStacks.has(i)){const e=this._editStacks.get(i);e.setElementsValidFlag(t,n)}BI&&this._print("setElementsValidFlag")}createSnapshot(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const n=this._editStacks.get(t);return n.createSnapshot(e)}return new pk(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),n.hasPastElements()||n.hasFutureElements()||(n.dispose(),this._editStacks.delete(t))}BI&&this._print("restoreSnapshot")}getElements(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);return e.getElements()}return{past:[],future:[]}}canUndo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){Me(e);for(const n of t.strResources)this.removeElements(n);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,n,i=Ge.None){const o=this._acquireLocks(n);let r;try{r=t()}catch(s){return o(),i.dispose(),this._onError(s,e)}if(r)return r.then(()=>{o(),i.dispose()},t=>(o(),i.dispose(),this._onError(t,e)));o(),i.dispose()}_invokeWorkspacePrepare(e){return LI(this,void 0,void 0,(function*(){if("undefined"===typeof e.actual.prepareUndoRedo)return Ge.None;const t=e.actual.prepareUndoRedo();return"undefined"===typeof t?Ge.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||"undefined"===typeof e.actual.prepareUndoRedo)return void t(Ge.None);const n=e.actual.prepareUndoRedo();if(n){if(!Ve(n))return n.then(e=>{t(e)});t(n)}else t(Ge.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||zI);return new QI(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.info(i),new WI(this.undo(e));for(const o of t.strResources)this.removeElements(o);return this._notificationService.info(i),new WI}_checkWorkspaceUndo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,v({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,v({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const s of n.editStacks)s.getClosestPastElement()!==t&&o.push(s.resourceLabel);if(o.length>0)return this._tryToSplitAndUndo(e,t,null,v({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const s of n.editStacks)s.locked&&r.push(s.resourceLabel);return r.length>0?this._tryToSplitAndUndo(e,t,null,v({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,v({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceUndo(e,t,n,!1);return i?i.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,n)}_confirmAndExecuteWorkspaceUndo(e,t,n){return LI(this,void 0,void 0,(function*(){if(t.canSplit()){const i=yield this._dialogService.show(yd.Info,v("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[v({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",n.editStacks.length),v("nok","Undo this File"),v("cancel","Cancel")],{cancelId:2});if(2===i.choice)return;if(1===i.choice)return this._splitPastWorkspaceElement(t,null),this.undo(e);const o=this._checkWorkspaceUndo(e,t,n,!1);if(o)return o.returnValue}let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(r){return this._onError(r,t)}const o=this._checkWorkspaceUndo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),n,i)}))}_resourceUndo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new QI([e]),n)));{const e=v({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}undo(e){const t="string"===typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestPastElement();if(i)try{return 1===i.type?this._workspaceUndo(t,i):this._resourceUndo(n,i)}finally{BI&&this._print("undo")}}canRedo(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);return e.hasFutureElements()}return!1}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.info(i),new WI(this.redo(e));for(const o of t.strResources)this.removeElements(o);return this._notificationService.info(i),new WI}_checkWorkspaceRedo(e,t,n,i){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,v({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(i&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,v({key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const s of n.editStacks)s.getClosestFutureElement()!==t&&o.push(s.resourceLabel);if(o.length>0)return this._tryToSplitAndRedo(e,t,null,v({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,o.join(", ")));const r=[];for(const s of n.editStacks)s.locked&&r.push(s.resourceLabel);return r.length>0?this._tryToSplitAndRedo(e,t,null,v({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,r.join(", "))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,v({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return LI(this,void 0,void 0,(function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(r){return this._onError(r,t)}const o=this._checkWorkspaceRedo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,()=>t.actual.redo(),n,i)}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new QI([e]),n)));{const e=v({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}redo(e){const t="string"===typeof e?e:this.getUriComparisonKey(e);if(!this._editStacks.has(t))return;const n=this._editStacks.get(t),i=n.getClosestFutureElement();if(i)try{return 1===i.type?this._workspaceRedo(t,i):this._resourceRedo(n,i)}finally{BI&&this._print("redo")}}};VI=MI([NI(0,rN),NI(1,Wp)],VI);class WI{constructor(e){this.returnValue=e}}VS(dk,VI);n("88cb"),n("358f");const HI={ctrlCmd:!1,alt:!1};var UI;(function(e){e[e["NONE"]=0]="NONE",e[e["FIRST"]=1]="FIRST",e[e["SECOND"]=2]="SECOND",e[e["LAST"]=3]="LAST"})(UI||(UI={}));const YI=new Ui(()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});function GI(e,t,n=!1){const i=e||"",o=t||"",r=YI.value.collator.compare(i,o);return YI.value.collatorIsNumeric&&0===r&&i!==o?i<o?-1:1:r}function KI(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=qI(e,t,n);if(r)return r;const s=i.endsWith(n),a=o.endsWith(n);if(s!==a)return s?-1:1;const l=GI(i,o);return 0!==l?l:i.localeCompare(o)}function qI(e,t,n){const i=e.toLowerCase(),o=t.toLowerCase(),r=i.startsWith(n),s=o.startsWith(n);if(r!==s)return r?-1:1;if(r&&s){if(i.length<o.length)return-1;if(i.length>o.length)return 1}return 0}n("8c32");class JI{constructor(e,t){this.supportCodicons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t=[],n="",i){e||(e=""),i&&(e=JI.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===n&&Es(this.highlights,t)||(Array.isArray(t)||(t=[]),this.text=e,this.title=n,this.highlights=t,this.render())}render(){let e="",t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t<n.start){e+="<span>";const i=this.text.substring(t,n.start);e+=this.supportCodicons?Sl(Object(Rr["s"])(i)):Object(Rr["s"])(i),e+="</span>",t=n.end}n.extraClasses?e+=`<span class="highlight ${n.extraClasses}">`:e+='<span class="highlight">';const i=this.text.substring(n.start,n.end);e+=this.supportCodicons?Sl(Object(Rr["s"])(i)):Object(Rr["s"])(i),e+="</span>",t=n.end}if(t<this.text.length){e+="<span>";const n=this.text.substring(t);e+=this.supportCodicons?Sl(Object(Rr["s"])(n)):Object(Rr["s"])(n),e+="</span>"}this.domNode.innerHTML=e,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0}static escapeNewLines(e,t){let n=0,i=0;return e.replace(/\r\n|\r|\n/g,(e,o)=>{i="\r\n"===e?-1:0,o+=n;for(const n of t)n.end<=o||(n.start>=o&&(n.start+=i),n.end>=o&&(n.end+=i));return n+=i,"⏎"})}}class XI{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set title(e){this.disposed||e===this._title||(this._title=e,this._title?this._element.title=e:this._element.removeAttribute("title"))}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class $I extends Ge{constructor(e,t){super(),this.domNode=this._register(new XI(br(e,Ar(".monaco-icon-label"))));const n=br(this.domNode.element,Ar(".monaco-icon-label-container")),i=br(n,Ar("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new XI(br(n,Ar("span.monaco-icon-description-container")))),(null===t||void 0===t?void 0:t.supportHighlights)?this.nameNode=new tT(i,!!t.supportCodicons):this.nameNode=new ZI(i),(null===t||void 0===t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new JI(br(this.descriptionContainer.element,Ar("span.label-description")),!!t.supportCodicons):this.descriptionNodeFactory=()=>this._register(new XI(br(this.descriptionContainer.element,Ar("span.label-description"))))}setLabel(e,t,n){const i=["monaco-icon-label"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push("italic"),n.strikethrough&&i.push("strikethrough")),this.domNode.className=i.join(" "),this.domNode.title=(null===n||void 0===n?void 0:n.title)||"",this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof JI?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),(null===n||void 0===n?void 0:n.descriptionTitle)?this.descriptionNode.element.title=n.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=t||"",this.descriptionNode.title=(null===n||void 0===n?void 0:n.descriptionTitle)||"",this.descriptionNode.empty=!t))}}class ZI{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Es(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerText="",_o(this.container,"multiple"),this.singleLabel=br(this.container,Ar("a.label-name",{id:null===t||void 0===t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",yo(this.container,"multiple"),this.singleLabel=void 0;for(let n=0;n<e.length;n++){const i=e[n],o=(null===t||void 0===t?void 0:t.domId)&&`${null===t||void 0===t?void 0:t.domId}_${n}`;br(this.container,Ar("a.label-name",{id:o,"data-icon-label-count":e.length,"data-icon-label-index":n,role:"treeitem"},i)),n<e.length-1&&br(this.container,Ar("span.label-separator",void 0,(null===t||void 0===t?void 0:t.separator)||"/"))}}}}function eT(e,t,n){if(!n)return;let i=0;return e.map(e=>{const o={start:i,end:i+e.length},r=n.map(e=>NM.intersect(o,e)).filter(e=>!NM.isEmpty(e)).map(({start:e,end:t})=>({start:e-i,end:t-i}));return i=o.end+t.length,r})}class tT{constructor(e,t){this.container=e,this.supportCodicons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Es(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerText="",_o(this.container,"multiple"),this.singleLabel=new JI(br(this.container,Ar("a.label-name",{id:null===t||void 0===t?void 0:t.domId})),this.supportCodicons)),this.singleLabel.set(e,null===t||void 0===t?void 0:t.matches,null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.labelEscapeNewLines);else{this.container.innerText="",yo(this.container,"multiple"),this.singleLabel=void 0;const n=(null===t||void 0===t?void 0:t.separator)||"/",i=eT(e,n,null===t||void 0===t?void 0:t.matches);for(let o=0;o<e.length;o++){const r=e[o],s=i?i[o]:void 0,a=(null===t||void 0===t?void 0:t.domId)&&`${null===t||void 0===t?void 0:t.domId}_${o}`,l=Ar("a.label-name",{id:a,"data-icon-label-count":e.length,"data-icon-label-index":o,role:"treeitem"}),c=new JI(br(this.container,l),this.supportCodicons);c.set(r,s,null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.labelEscapeNewLines),o<e.length-1&&br(l,Ar("span.label-separator",void 0,n))}}}}class nT{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}new nT("id#");const iT={},oT=new nT("quick-input-button-icon-");function rT(e){if(!e)return;let t;const n=e.dark.toString();return iT[n]?t=iT[n]:(t=oT.nextId(),lr("."+t,"background-image: "+Br(e.light||e.dark)),lr(`.vs-dark .${t}, .hc-black .${t}`,"background-image: "+Br(e.dark)),iT[n]=t),t}n("d557");const sT=Ar;class aT{constructor(e,t,n){this.os=t,this.options=n,this.domNode=br(e,sT(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}set(e,t){this.didEverRender&&this.keybinding===e&&aT.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(fo(this.domNode),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(br(this.domNode,sT("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(e,t,n){const i=Fp.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(null===n||void 0===n?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(null===n||void 0===n?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(null===n||void 0===n?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(null===n||void 0===n?void 0:n.metaKey),i.separator);const o=t.keyLabel;o&&this.renderKey(e,o,Boolean(null===n||void 0===n?void 0:n.keyCode),"")}renderKey(e,t,n,i){br(e,sT("span.monaco-keybinding-key"+(n?".highlight":""),void 0,t)),i&&br(e,sT("span.monaco-keybinding-key-separator",void 0,i))}renderUnbound(e){br(e,sT("span.monaco-keybinding-key",void 0,v("unbound","Unbound")))}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&Es(e.firstPart,t.firstPart)&&Es(e.chordPart,t.chordPart)}}var lT=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const cT=Ar;class hT{constructor(e){this.hidden=!1,this._onChecked=new et,this.onChecked=this._onChecked.event,Cs(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class uT{get templateId(){return uT.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=br(e,cT(".quick-input-list-entry"));const n=br(t.entry,cT("label.quick-input-list-label"));t.toDisposeTemplate.push(ko(n,ur.CLICK,e=>{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=br(n,cT("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(ko(t.checkbox,ur.CHANGE,e=>{t.element.checked=t.checkbox.checked}));const i=br(n,cT(".quick-input-list-rows")),o=br(i,cT(".quick-input-list-row")),r=br(i,cT(".quick-input-list-row"));t.label=new $I(o,{supportHighlights:!0,supportDescriptionHighlights:!0,supportCodicons:!0});const s=br(o,cT(".quick-input-list-entry-keybinding"));t.keybinding=new aT(s,y["a"]);const a=br(r,cT(".quick-input-list-label-meta"));return t.detail=new JI(a,!0),t.separator=br(t.entry,cT(".quick-input-list-separator")),t.actionBar=new $S(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=We(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked(e=>n.checkbox.checked=e));const{labelHighlights:i,descriptionHighlights:o,detailHighlights:r}=e,s=Object.create(null);s.matches=i||[],s.descriptionTitle=e.saneDescription,s.descriptionMatches=o||[],s.extraClasses=e.item.iconClasses,s.italic=e.item.italic,s.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,s),n.keybinding.set(e.item.keybinding),n.detail.set(e.saneDetail,r),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=""):n.separator.style.display="none",e.separator?yo(n.entry,"quick-input-list-separator-border"):_o(n.entry,"quick-input-list-separator-border"),n.actionBar.clear();const a=e.item.buttons;a&&a.length?(n.actionBar.push(a.map((t,n)=>{let i=t.iconClass||(t.iconPath?rT(t.iconPath):void 0);t.alwaysVisible&&(i=i?i+" always-visible":"always-visible");const o=new Hf("id-"+n,"",i,!0,()=>(e.fireButtonTriggered({button:t,item:e.item}),Promise.resolve()));return o.tooltip=t.tooltip||"",o}),{icon:!0,label:!1}),yo(n.entry,"has-actions")):_o(n.entry,"has-actions")}disposeElement(e,t,n){n.toDisposeElement=We(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=We(e.toDisposeElement),e.toDisposeTemplate=We(e.toDisposeTemplate)}}uT.ID="listelement";class dT{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return uT.ID}}var pT;(function(e){e[e["First"]=1]="First",e[e["Second"]=2]="Second",e[e["Last"]=3]="Last",e[e["Next"]=4]="Next",e[e["Previous"]=5]="Previous",e[e["NextPage"]=6]="NextPage",e[e["PreviousPage"]=7]="PreviousPage"})(pT||(pT={}));class fT{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new et,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new et,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new et,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new et,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new et,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new et,this.onKeyDown=this._onKeyDown.event,this._onLeave=new et,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=br(this.parent,cT(".quick-input-list"));const i=new dT,o=new mT;this.list=n.createList("QuickInput",this.container,i,[new uT],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:o}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(e=>{const t=new Mi(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(y["f"]?e.metaKey:e.ctrlKey)&&this.list.setFocus(ao(this.list.length));break;case 16:const t=this.list.getFocus();1===t.length&&0===t[0]&&this._onLeave.fire();break;case 18:const n=this.list.getFocus();1===n.length&&n[0]===this.list.length-1&&this._onLeave.fire();break}this._onKeyDown.fire(t)})),this.disposables.push(this.list.onMouseDown(e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()})),this.disposables.push(xo(this.container,ur.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(e=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(e=>{"number"===typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return Xe.map(this.list.onDidChangeFocus,e=>e.elements.map(e=>e.item))}get onDidChangeSelection(){return Xe.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(e=>e.item),event:e.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i.hidden){if(!i.checked)return!1;t=!0}}return t}getCheckedCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].checked&&e++;return e}getVisibleCount(){let e=0;const t=this.elements;for(let n=0,i=t.length;n<i;n++)t[n].hidden||e++;return e}setAllVisibleChecked(e){try{this._fireCheckedEvents=!1,this.elements.forEach(t=>{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=We(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce((n,i,o)=>{var r,s,a;if("separator"!==i.type){const l=o&&e[o-1],c=i.label&&i.label.replace(/\r?\n/g," "),h=i.description&&i.description.replace(/\r?\n/g," "),u=i.detail&&i.detail.replace(/\r?\n/g," "),d=i.ariaLabel||[c,h,u].map(e=>e&&bl(e).text).filter(e=>!!e).join(", ");n.push(new hT({index:o,item:i,saneLabel:c,saneAriaLabel:d,saneDescription:h,saneDetail:u,labelHighlights:null===(r=i.highlights)||void 0===r?void 0:r.label,descriptionHighlights:null===(s=i.highlights)||void 0===s?void 0:s.description,detailHighlights:null===(a=i.highlights)||void 0===a?void 0:a.detail,checked:!1,separator:l&&"separator"===l.type?l:void 0,fireButtonTriggered:t}))}return n},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(e=>e.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){if(this.list.setFocus(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e))),e.length>0){const e=this.list.getFocus()[0];"number"===typeof e&&this.list.reveal(e)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===pT.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=pT.First),e===pT.Previous&&0===this.list.getFocus()[0]&&(e=pT.Last),e===pT.Second&&this.list.length<2&&(e=pT.First),e){case pT.First:this.list.focusFirst();break;case pT.Second:this.list.focusNth(1);break;case pT.Last:this.list.focusLast();break;case pT.Next:this.list.focusNext();break;case pT.Previous:this.list.focusPrevious();break;case pT.NextPage:this.list.focusNextPage();break;case pT.PreviousPage:this.list.focusPreviousPage();break}const t=this.list.getFocus()[0];"number"===typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;e=e.trim(),e&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach(t=>{const n=this.matchOnLabel?rs(yl(e,bl(t.saneLabel))):void 0,i=this.matchOnDescription?rs(yl(e,bl(t.saneDescription||""))):void 0,o=this.matchOnDetail?rs(yl(e,bl(t.saneDetail||""))):void 0;n||i||o?(t.labelHighlights=n,t.descriptionHighlights=i,t.detailHighlights=o,t.hidden=!1):(t.labelHighlights=void 0,t.descriptionHighlights=void 0,t.detailHighlights=void 0,t.hidden=!t.item.alwaysShow),t.separator=void 0}):this.elements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;const t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0});const t=this.elements.filter(e=>!e.hidden);if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort((e,t)=>gT(e,t,n))}return this.elementsToIndexes=t.reduce((e,t,n)=>(e.set(t.item,n),e),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=We(this.elementDisposables),this.disposables=We(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}function gT(e,t,n){const i=e.labelHighlights||[],o=t.labelHighlights||[];return i.length&&!o.length?-1:!i.length&&o.length?1:0===i.length&&0===o.length?0:KI(e.saneLabel,t.saneLabel,n)}lT([Vg],fT.prototype,"onDidChangeFocus",null),lT([Vg],fT.prototype,"onDidChangeSelection",null);class mT{getWidgetAriaLabel(){return v("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}n("eba9");function bT(e,t={}){const n=yT(t);return n.textContent=e,n}function vT(e,t={}){const n=yT(t);return _T(n,AT(e),t.actionHandler),n}function yT(e){const t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}class wT{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function _T(e,t,n){let i;if(2===t.type)i=document.createTextNode(t.content||"");else if(3===t.type)i=document.createElement("b");else if(4===t.type)i=document.createElement("i");else if(5===t.type&&n){const e=document.createElement("a");e.href="#",n.disposeables.add(ko(e,"click",e=>{n.callback(String(t.index),e)})),i=e}else 7===t.type?i=document.createElement("br"):1===t.type&&(i=e);i&&e!==i&&e.appendChild(i),i&&Array.isArray(t.children)&&t.children.forEach(e=>{_T(i,e,n)})}function AT(e){const t={type:1,children:[]};let n=0,i=t;const o=[],r=new wT(e);while(!r.eos()){let e=r.next();const t="\\"===e&&0!==ET(r.peek());if(t&&(e=r.next()),!t&&CT(e)&&e===r.peek()){r.advance(),2===i.type&&(i=o.pop());const t=ET(e);if(i.type===t||5===i.type&&6===t)i=o.pop();else{const e={type:t,children:[]};5===t&&(e.index=n,n++),i.children.push(e),o.push(i),i=e}}else if("\n"===e)2===i.type&&(i=o.pop()),i.children.push({type:7});else if(2!==i.type){const t={type:2,content:e};i.children.push(t),o.push(i),i=t}else i.content+=e}return 2===i.type&&(i=o.pop()),o.length,t}function CT(e){return 0!==ET(e)}function ET(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}const xT=Ar,ST={inputBackground:Vv.fromHex("#3C3C3C"),inputForeground:Vv.fromHex("#CCCCCC"),inputValidationInfoBorder:Vv.fromHex("#55AAFF"),inputValidationInfoBackground:Vv.fromHex("#063B49"),inputValidationWarningBorder:Vv.fromHex("#B89500"),inputValidationWarningBackground:Vv.fromHex("#352A05"),inputValidationErrorBorder:Vv.fromHex("#BE1100"),inputValidationErrorBackground:Vv.fromHex("#5A1D1D")};class DT extends bC{constructor(e,t,n){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new et),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new et),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=n||Object.create(null),As(this.options,ST,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=br(e,xT(".monaco-inputbox.idle"));let i=this.options.flexibleHeight?"textarea":"input",o=br(this.element,xT(".wrapper"));if(this.input=br(o,xT(i+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"===typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=br(o,xT("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new UC(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),br(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop));const t=Xe.filter(_i(document,"selectionchange"),()=>{const e=document.getSelection();return(null===e||void 0===e?void 0:e.anchorNode)===o});this._register(t(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new $S(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"===typeof this.cachedHeight?this.cachedHeight:Jo(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return Go(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;if(this.mirror){const e=parseFloat(this.mirror.style.paddingLeft||"")||0,n=parseFloat(this.mirror.style.paddingRight||"")||0;t=e+n}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!==typeof this.cachedContentHeight||"number"!==typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const n=this.stylesForType(this.message.type);this.element.style.border=n.border?"1px solid "+n.border:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e,t,n=()=>e.style.width=Go(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=br(t,xT(".monaco-inputbox-container")),n();const i={inline:!0,className:"monaco-inputbox-message"},o=this.message.formatContent?vT(this.message.content,i):bT(this.message.content,i);o.classList.add(this.classForType(this.message.type));const r=this.stylesForType(this.message.type);return o.style.backgroundColor=r.background?r.background.toString():"",o.style.color=r.foreground?r.foreground.toString():"",o.style.border=r.border?"1px solid "+r.border:"",br(e,o),null},onHide:()=>{this.state="closed"},layout:n}),t=3===this.message.type?v("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?v("alertWarningMessage","Warning: {0}",this.message.content):v("alertInfoMessage","Info: {0}",this.message.content),If(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=e.charCodeAt(e.length-1),n=10===t?" ":"",i=e+n;i?this.mirror.textContent=e+n:this.mirror.innerText=" ",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=Jo(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}const kT=Ar;class MT extends Ge{constructor(e){super(),this.parent=e,this.onKeyDown=e=>xo(this.inputBox.inputElement,ur.KEY_DOWN,t=>{e(new Mi(t))}),this.onMouseDown=e=>xo(this.inputBox.inputElement,ur.MOUSE_DOWN,t=>{e(new Oi(t))}),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=br(this.parent,kT(".quick-input-box")),this.inputBox=this._register(new DT(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===yd.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===yd.Info?1:e===yd.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===yd.Info?1:e===yd.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}n("f5ab");const NT={badgeBackground:Vv.fromHex("#4D4D4D"),badgeForeground:Vv.fromHex("#FFFFFF")};class LT{constructor(e,t){this.count=0,this.options=t||Object.create(null),As(this.options,NT,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=br(e,Ar(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=Object(Rr["v"])(this.countFormat,this.count),this.element.title=Object(Rr["v"])(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}}}n("2adc");const BT="done",IT="active",TT="infinite",OT="discrete",RT="monaco-progress-container",PT="progress-bit",FT={progressBarBackground:Vv.fromHex("#0E70C0")};class jT extends Ge{constructor(e,t){super(),this.options=t||Object.create(null),As(this.options,FT,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new Hi(()=>Cr(this.element),0)),this.create(e)}create(e){this.element=document.createElement("div"),yo(this.element,RT),e.appendChild(this.element),this.bit=document.createElement("div"),yo(this.bit,PT),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",Ao(this.element,IT,TT,OT),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return yo(this.element,BT),vo(this.element,TT)?(this.bit.style.opacity="0",e?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",Ao(this.element,OT,BT),wo(this.element,IT,TT),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}n("e635");function QT(e){const t=new Array;let n,i=0,o=0;while(null!==(n=xl.exec(e))){o=n.index||0,t.push(e.substring(i,o)),i=(n.index||0)+n[0].length;const[,r,s,a,l]=n;t.push(r?`$(${s})`:Ar(`span.codicon.codicon-${a}${l?".codicon-animation-"+l:""}`))}return i<e.length&&t.push(e.substring(i)),t}const zT={buttonBackground:Vv.fromHex("#0E639C"),buttonHoverBackground:Vv.fromHex("#006BB3"),buttonForeground:Vv.white};class VT extends Ge{constructor(e,t){super(),this._onDidClick=this._register(new et),this.options=t||Object.create(null),As(this.options,zT,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),yo(this._element,"monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(Ug.addTarget(this._element)),[ur.CLICK,Wg.Tap].forEach(e=>{this._register(xo(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):dr.stop(e)}))}),this._register(xo(this._element,ur.KEY_DOWN,e=>{const t=new Mi(e);let n=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),n=!0):t.equals(9)&&(this._element.blur(),n=!0),n&&dr.stop(t,!0)})),this._register(xo(this._element,ur.MOUSE_OVER,e=>{vo(this._element,"disabled")||this.setHoverBackground()})),this._register(xo(this._element,ur.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(mr(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){vo(this._element,"monaco-text-button")||yo(this._element,"monaco-text-button"),this.options.supportCodicons?yr(this._element,...QT(e)):this._element.textContent=e,"string"===typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(_o(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(yo(this._element,"disabled"),this._element.setAttribute("aria-disabled",String(!0)),Sr(this._element))}get enabled(){return!vo(this._element,"disabled")}}var WT=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{l(i.next(e))}catch(t){r(t)}}function a(e){try{l(i["throw"](e))}catch(t){r(t)}}function l(e){e.done?n(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const HT=Ar,UT=Cl("quick-input-back",El.arrowLeft),YT={iconClass:UT.classNames,tooltip:v("quickInput.back","Back"),handle:-1};class GT extends Ge{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new et),this.onDidHideEmitter=this._register(new et),this.onDisposeEmitter=this._register(new et),this.visibleDisposables=this._register(new Ye),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){this._ignoreFocusOut=e,this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||"&nbsp;"===this.ui.title.innerHTML||(this.ui.title.innerText=" ;");const t=this.getDescription();if(this.ui.description.textContent!==t&&(this.ui.description.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new Vi,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter(e=>e===YT);this.ui.leftActionBar.push(e.map((e,t)=>{const n=new Hf("id-"+t,"",e.iconClass||rT(e.iconPath),!0,()=>WT(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter(e=>e!==YT);this.ui.rightActionBar.push(t.map((e,t)=>{const n=new Hf("id-"+t,"",e.iconClass||rT(e.iconPath),!0,()=>WT(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return n.tooltip=e.tooltip||"",n}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?v("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e===yd.Error){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?""+t.foreground:"",this.ui.message.style.backgroundColor=t.background?""+t.background:"",this.ui.message.style.border=t.border?"1px solid "+t.border:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class KT extends GT{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new et),this.onDidAcceptEmitter=this._register(new et),this.onDidCustomEmitter=this._register(new et),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?UI.NONE:UI.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new et),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new et),this.onDidTriggerItemButtonEmitter=this._register(new et),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value=e||"",this.update()}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?HI:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(pT.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{if(e===this.value)return;this._value=e;const t=this.ui.list.filter(this.filterValue(this.ui.inputBox.value));t&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(pT.Next),this.canSelectMany&&this.ui.list.domFocus(),dr.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(pT.Previous):this.ui.list.focus(pT.Last),this.canSelectMany&&this.ui.list.domFocus(),dr.stop(e,!0);break;case 12:this.ui.list.focus(pT.NextPage),this.canSelectMany&&this.ui.list.domFocus(),dr.stop(e,!0);break;case 11:this.ui.list.focus(pT.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),dr.stop(e,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(pT.First),dr.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(pT.Last),dr.stop(e,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Ki(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Ki(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.onDidAcceptEmitter.fire({inBackground:t instanceof MouseEvent&&1===t.button}))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&Ki(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return xo(this.ui.container,ur.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Mi(e),n=t.keyCode,i=this._quickNavigate.keybindings,o=i.some(e=>{const[i,o]=e.getParts();return!o&&(i.shiftKey&&4===n?!(t.ctrlKey||t.altKey||t.metaKey):!(!i.altKey||6!==n)||(!(!i.ctrlKey||5!==n)||!(!i.metaKey||57!==n)))});o&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)})}update(){if(!this.visible)return;let e=!1,t=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?t=!0:e=!0),Co(this.ui.container,"hidden-input",e);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany,inputBox:!e,progressBar:!e,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(n),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),t)this.ui.inputBox.ariaLabel="";else{const e=this.ariaLabel||this.placeholder||KT.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==e&&(this.ui.inputBox.ariaLabel=e)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case UI.NONE:this._itemActivation=UI.FIRST;break;case UI.SECOND:this.ui.list.focus(pT.Second),this._itemActivation=UI.FIRST;break;case UI.LAST:this.ui.list.focus(pT.Last),this._itemActivation=UI.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.validationMessage?(this.ui.message.textContent=this.validationMessage,this.showMessageDecoration(yd.Error)):(this.ui.message.textContent=null,this.showMessageDecoration(yd.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),n.inputBox||this.ui.list.domFocus()}}KT.DEFAULT_ARIA_LABEL=v("quickInputBox.ariaLabel","Type to narrow down results.");class qT extends Ge{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new et),this.onDidCustomEmitter=this._register(new et),this.onDidTriggerButtonEmitter=this._register(new et),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new et),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new et),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(xo(window,ur.KEY_DOWN,e,!0)),this._register(xo(window,ur.KEY_UP,e,!0)),this._register(xo(window,ur.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=br(this.parentElement,HT(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=or(e),n=br(e,HT(".quick-input-titlebar")),i=this._register(new $S(n));i.domNode.classList.add("quick-input-left-action-bar");const o=br(n,HT(".quick-input-title")),r=this._register(new $S(n));r.domNode.classList.add("quick-input-right-action-bar");const s=br(e,HT(".quick-input-description")),a=br(e,HT(".quick-input-header")),l=br(a,HT("input.quick-input-check-all"));l.type="checkbox",this._register(ko(l,ur.CHANGE,e=>{const t=l.checked;C.setAllVisibleChecked(t)})),this._register(xo(l,ur.CLICK,e=>{(e.x||e.y)&&u.setFocus()}));const c=br(a,HT(".quick-input-and-message")),h=br(c,HT(".quick-input-filter")),u=this._register(new MT(h));u.setAttribute("aria-describedby",this.idPrefix+"message");const d=br(h,HT(".quick-input-visible-count"));d.setAttribute("aria-live","polite"),d.setAttribute("aria-atomic","true");const p=new LT(d,{countFormat:v({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),f=br(h,HT(".quick-input-count"));f.setAttribute("aria-live","polite");const g=new LT(f,{countFormat:v({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),m=br(a,HT(".quick-input-action")),b=new VT(m);b.label=v("ok","OK"),this._register(b.onDidClick(e=>{this.onDidAcceptEmitter.fire()}));const y=br(a,HT(".quick-input-action")),w=new VT(y);w.label=v("custom","Custom"),this._register(w.onDidClick(e=>{this.onDidCustomEmitter.fire()}));const _=br(c,HT(`#${this.idPrefix}message.quick-input-message`)),A=new jT(e);yo(A.getContainer(),"quick-input-progress");const C=this._register(new fT(e,this.idPrefix+"list",this.options));this._register(C.onChangedAllVisibleChecked(e=>{l.checked=e})),this._register(C.onChangedVisibleCount(e=>{p.setCount(e)})),this._register(C.onChangedCheckedCount(e=>{g.setCount(e)})),this._register(C.onLeave(()=>{setTimeout(()=>{u.setFocus(),this.controller instanceof KT&&this.controller.canSelectMany&&C.clearFocus()},0)})),this._register(C.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const E=mr(e);return this._register(E),this._register(xo(e,ur.FOCUS,e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0},!0)),this._register(E.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0})),this._register(xo(e,ur.FOCUS,e=>{u.setFocus()})),this._register(xo(e,ur.KEY_DOWN,t=>{const n=new Mi(t);switch(n.keyCode){case 3:dr.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:dr.stop(t,!0),this.hide();break;case 2:if(!n.altKey&&!n.ctrlKey&&!n.metaKey){const i=[".action-label.codicon"];e.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list");const o=e.querySelectorAll(i.join(", "));n.shiftKey&&n.target===o[0]?(dr.stop(t,!0),o[o.length-1].focus()):n.shiftKey||n.target!==o[o.length-1]||(dr.stop(t,!0),o[0].focus())}break}})),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:o,description:s,rightActionBar:r,checkAll:l,filterContainer:h,inputBox:u,visibleCountContainer:d,visibleCount:p,countContainer:f,count:g,okContainer:m,ok:b,message:_,customButtonContainer:y,customButton:w,progressBar:A,list:C,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},n=rt.None){return new Promise((i,o)=>{let r=e=>{r=i,t.onKeyMods&&t.onKeyMods(s.keyMods),i(e)};if(n.isCancellationRequested)return void r(void 0);const s=this.createQuickPick();let a;const l=[s,s.onDidAccept(()=>{if(s.canSelectMany)r(s.selectedItems.slice()),s.hide();else{const e=s.activeItems[0];e&&(r(e),s.hide())}}),s.onDidChangeActive(e=>{const n=e[0];n&&t.onDidFocus&&t.onDidFocus(n)}),s.onDidChangeSelection(e=>{if(!s.canSelectMany){const t=e[0];t&&(r(t),s.hide())}}),s.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{const t=s.items.indexOf(e.item);if(-1!==t){const e=s.items.slice();e.splice(t,1),s.items=e}}}))),s.onDidChangeValue(e=>{!a||e||1===s.activeItems.length&&s.activeItems[0]===a||(s.activeItems=[a])}),n.onCancellationRequested(()=>{s.hide()}),s.onDidHide(()=>{We(l),r(void 0)})];s.canSelectMany=!!t.canPickMany,s.placeholder=t.placeHolder,s.ignoreFocusOut=!!t.ignoreFocusLost,s.matchOnDescription=!!t.matchOnDescription,s.matchOnDetail=!!t.matchOnDetail,s.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,s.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,s.quickNavigate=t.quickNavigate,s.contextKey=t.contextKey,s.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{a=t,s.busy=!1,s.items=e,s.canSelectMany&&(s.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),a&&(s.activeItems=[a])}),s.show(),Promise.resolve(e).then(void 0,e=>{o(e),s.hide()})})}createQuickPick(){const e=this.getUI();return new KT(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(yd.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),t.message.textContent="",t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const i=this.options.backKeybindingLabel();YT.tooltip=i?v("quickInput.backWithKeybinding","Back ({0})",i):v("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description.style.display=e.description?"":"none",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkAll?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(){var e;const t=this.controller;if(t){const n=!(null===(e=this.ui)||void 0===e?void 0:e.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",n||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),t.didHide()}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,qT.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:n,contrastBorder:i,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=i?"1px solid "+i:"",this.ui.container.style.boxShadow=o?"0 5px 8px "+o:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const r=[];this.styles.list.listInactiveFocusForeground&&(r.push(`.monaco-list .monaco-list-row.focused { color:  ${this.styles.list.listInactiveFocusForeground}; }`),r.push(`.monaco-list .monaco-list-row.focused:hover { color:  ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color:  ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color:  ${this.styles.list.pickerGroupForeground}; }`);const s=r.join("\n");s!==this.ui.styleSheet.innerHTML&&(this.ui.styleSheet.innerHTML=s)}}}qT.MAX_WIDTH=600;const JT=ii("quickInputService");var XT;(function(e){e[e["PRESERVE"]=0]="PRESERVE",e[e["LAST"]=1]="LAST"})(XT||(XT={}));const $T={Quickaccess:"workbench.contributions.quickaccess"};class ZT{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),Ue(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Zi([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){const t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}}kd.add($T.Quickaccess,new ZT);var eO=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},tO=function(e,t){return function(n,i){t(n,i,e)}};let nO=class extends Ge{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=kd.as($T.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){var n;const[i,o]=this.getOrInstantiateProvider(e),r=this.visibleQuickAccess,s=null===r||void 0===r?void 0:r.descriptor;if(r&&o&&s===o)return e===o.prefix||(null===t||void 0===t?void 0:t.preserveValue)||(r.picker.value=e),void this.adjustValueSelection(r.picker,o,t);if(o&&!(null===t||void 0===t?void 0:t.preserveValue)){let t=void 0;if(r&&s&&s!==o){const e=r.value.substr(s.prefix.length);e&&(t=`${o.prefix}${e}`)}if(!t){const e=null===i||void 0===i?void 0:i.defaultFilterValue;e===XT.LAST?t=this.lastAcceptedPickerValues.get(o):"string"===typeof e&&(t=`${o.prefix}${e}`)}"string"===typeof t&&(e=t)}const a=new Ye,l=a.add(this.quickInputService.createQuickPick());l.value=e,this.adjustValueSelection(l,o,t),l.placeholder=null===o||void 0===o?void 0:o.placeholder,l.quickNavigate=null===t||void 0===t?void 0:t.quickNavigateConfiguration,l.hideInput=!!l.quickNavigate&&!r,("number"===typeof(null===t||void 0===t?void 0:t.itemActivation)||(null===t||void 0===t?void 0:t.quickNavigateConfiguration))&&(l.itemActivation=null!==(n=null===t||void 0===t?void 0:t.itemActivation)&&void 0!==n?n:UI.SECOND),l.contextKey=null===o||void 0===o?void 0:o.contextKey,l.filterValue=e=>e.substring(o?o.prefix.length:0),(null===o||void 0===o?void 0:o.placeholder)&&(l.ariaLabel=null===o||void 0===o?void 0:o.placeholder);const c=this.registerPickerListeners(l,i,o,e,a);i&&a.add(i.provide(l,c)),l.show()}adjustValueSelection(e,t,n){var i;let o;o=(null===n||void 0===n?void 0:n.preserveValue)?[e.value.length,e.value.length]:[null!==(i=null===t||void 0===t?void 0:t.prefix.length)&&void 0!==i?i:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,n,i,o){const r=this.visibleQuickAccess={picker:e,descriptor:n,value:i};o.add(Ue(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(e=>{const[n]=this.getOrInstantiateProvider(e);n!==t?this.show(e,{preserveValue:!0}):r.value=e})),n&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(n,e.value)}));const s=o.add(new at);return uE(e.onDidHide)(()=>{0===e.selectedItems.length&&s.cancel(),o.dispose()}),s.token}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};nO=eO([tO(0,JT),tO(1,ti)],nO);var iO=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},oO=function(e,t){return function(n,i){t(n,i,e)}};let rO=class extends Cm{constructor(e,t,n,i,o){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(nO))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,n,i,o)=>this.instantiationService.createInstance(YB,e,t,n,i,o),styles:this.computeStyles()},r=this._register(new qT(Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0),this._register(e.onLayout(t=>{var n,i;return r.layout(t,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0)})),this._register(r.onShow(()=>this.resetContextKeys())),this._register(r.onHide(()=>this.resetContextKeys())),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new hg(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},n=rt.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},UM(this.theme,{quickInputBackground:Ww,quickInputForeground:Hw,quickInputTitleBackground:Uw,contrastBorder:iw,widgetShadow:rw})),inputBox:UM(this.theme,{inputForeground:aw,inputBackground:sw,inputBorder:lw,inputValidationInfoBackground:cw,inputValidationInfoForeground:hw,inputValidationInfoBorder:uw,inputValidationWarningBackground:dw,inputValidationWarningForeground:pw,inputValidationWarningBorder:fw,inputValidationErrorBackground:gw,inputValidationErrorForeground:mw,inputValidationErrorBorder:bw}),countBadge:UM(this.theme,{badgeBackground:Cw,badgeForeground:Ew,badgeBorder:iw}),button:UM(this.theme,{buttonForeground:ww,buttonBackground:_w,buttonHoverBackground:Aw,buttonBorder:iw}),progressBar:UM(this.theme,{progressBarBackground:Mw}),list:UM(this.theme,{listBackground:Ww,listInactiveFocusForeground:c_,listInactiveFocusBackground:l_,listFocusOutline:ow,listInactiveFocusOutline:ow,pickerGroupBorder:Gw,pickerGroupForeground:Yw})}}};rO=iO([oO(0,ti),oO(1,ug),oO(2,pm),oO(3,iS),oO(4,tN)],rO);var sO=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},aO=function(e,t){return function(n,i){t(n,i,e)}};let lO=class extends rO{constructor(e,t,n,i,o,r){super(t,n,i,o,r),this.host=void 0;const s=hO.get(e);this.host={_serviceBrand:void 0,get container(){return s.widget.getDomNode()},get dimension(){return e.getLayoutInfo()},get onLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}createController(){return super.createController(this.host)}};lO=sO([aO(1,ti),aO(2,ug),aO(3,pm),aO(4,iS),aO(5,tN)],lO);let cO=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const n=t=this.instantiationService.createInstance(lO,e);this.mapEditorToService.set(e,t),uE(e.onDidDispose)(()=>{n.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},n=rt.None){return this.activeService.pick(e,t,n)}createQuickPick(){return this.activeService.createQuickPick()}};cO=sO([aO(0,ti),aO(1,ri)],cO);class hO{constructor(e){this.editor=e,this.widget=new uO(this.editor)}static get(e){return e.getContribution(hO.ID)}dispose(){this.widget.dispose()}}hO.ID="editor.controller.quickInput";class uO{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return uO.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}uO.ID="editor.contrib.quickInputWidget",Ng(hO.ID,hO);const dO=ii("IStorageKeysSyncRegistryService");class pO extends Ge{constructor(){super(),this._storageKeys=new Map,this._onDidChangeStorageKeys=this._register(new et),this._register(Ue(()=>this._storageKeys.clear()))}get storageKeys(){return[...this._storageKeys.values()]}registerStorageKey(e){this._storageKeys.has(e.key)||(this._storageKeys.set(e.key,e),this._onDidChangeStorageKeys.fire(this.storageKeys))}}var fO;(function(e){const t=new nS;class n{constructor(e,t){this._serviceId=e,this._factory=t,this._value=null}get id(){return this._serviceId}get(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value}}e.LazyStaticService=n;let i=[];function o(e,t){let o=new n(e,t);return i.push(o),o}function r(e){let t=new nS;for(const[i,o]of WS())t.set(i,o);for(let i in e)e.hasOwnProperty(i)&&t.set(ii(i),e[i]);i.forEach(n=>t.set(n.id,n.get(e)));let n=new hN(t,!0);return t.set(ti,n),[t,n]}e.init=r,e.instantiationService=o(ti,()=>new hN(t,!0));const s=new bf;e.configurationService=o(gp,()=>s),e.resourceConfigurationService=o(Kh,()=>new vf(s)),e.resourcePropertiesService=o(qh,()=>new yf(s)),e.contextService=o(Up,()=>new _f),e.labelService=o(dN,()=>new Ef),e.telemetryService=o(Ag,()=>new wf),e.dialogService=o(rN,()=>new df),e.notificationService=o(Wp,()=>new pf),e.markerService=o(aI,()=>new hI),e.modeService=o(UD,e=>new uk),e.standaloneThemeService=o(OD,()=>new gM),e.logService=o(Jh,()=>new eu),e.undoRedoService=o(dk,t=>new VI(e.dialogService.get(t),e.notificationService.get(t))),e.modelService=o(_a,t=>new Ek(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t),e.undoRedoService.get(t))),e.markerDecorationsService=o(vI,t=>new CI(e.modelService.get(t),e.markerService.get(t))),e.codeEditorService=o(ri,t=>new Vk(e.standaloneThemeService.get(t))),e.editorProgressService=o(gD,()=>new uf),e.storageService=o(uI,()=>new pI),e.storageSyncService=o(dO,()=>new pO),e.editorWorkerService=o(dc,t=>new cu(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t)))})(fO||(fO={}));class gO extends Ge{constructor(e,t){super();const[n,i]=fO.init(t);this._serviceCollection=n,this._instantiationService=i;const o=this.get(gp),r=this.get(Wp),s=this.get(Ag),a=this.get(pm),l=this.get(Jh);let c=(e,n)=>{let i=null;return t&&(i=t[e.toString()]),i||(i=n()),this._serviceCollection.set(e,i),i},h=c(ug,()=>this._register(new DM(o)));c(iS,()=>new SI(h,o)),c(CB,()=>new EB(a));let u=c(ss,()=>new ff(this._instantiationService)),d=c(RD,()=>this._register(new gf(h,u,s,r,l,e))),p=c(tN,()=>new xf(fO.codeEditorService.get(ri),e));c(JT,()=>new cO(i,fO.codeEditorService.get(ri)));let f=c(cD,()=>this._register(new oN(p)));c(pD,()=>new kI),c(hD,()=>{const e=new eN(s,r,f,d,a);return e.configure({blockMouse:!1}),this._register(e)}),c(bg,()=>new mI(u)),c(_d,()=>new Cf(fO.modelService.get(_a)))}get(e){let t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}function mO(e,t,n){let i=new gO(e,t),o=null;i.has(pc)||(o=new hf(fO.modelService.get()),i.set(pc,o)),i.has(cs)||i.set(cs,new bs(i.get(ri),i.get(ss)));let r=n(i);return o&&o.setEditor(r),r}function bO(e,t,n){return mO(e,n||{},n=>new WD(e,t,n,n.get(ti),n.get(ri),n.get(ss),n.get(ug),n.get(RD),n.get(cD),n.get(OD),n.get(Wp),n.get(gp),n.get(iS)))}function vO(e){return fO.codeEditorService.get().onCodeEditorAdd(t=>{e(t)})}function yO(e,t,n){return mO(e,n||{},n=>new HD(e,t,n,n.get(ti),n.get(ug),n.get(RD),n.get(cD),n.get(dc),n.get(ri),n.get(OD),n.get(Wp),n.get(gp),n.get(hD),n.get(gD),n.get(pD)))}function wO(e,t){return new Ds(e,t)}function _O(e,t,n){return fO.modelService.get().createModel(e,t,n)}function AO(e,t,n){if(e=e||"",!t){let t=e.indexOf("\n"),i=e;return-1!==t&&(i=e.substring(0,t)),_O(e,fO.modeService.get().createByFilepathOrFirstLine(n||null,i),n)}return _O(e,fO.modeService.get().create(t),n)}function CO(e,t){fO.modelService.get().setMode(e,fO.modeService.get().create(t))}function EO(e,t,n){e&&fO.markerService.get().changeOne(t,e.uri,n)}function xO(e){return fO.markerService.get().read(e)}function SO(e){return fO.modelService.get().getModel(e)}function DO(){return fO.modelService.get().getModels()}function kO(e){return fO.modelService.get().onModelAdded(e)}function MO(e){return fO.modelService.get().onModelRemoved(e)}function NO(e){return fO.modelService.get().onModelModeChanged(t=>{e({model:t.model,oldLanguage:t.oldModeId})})}function LO(e){return mu(fO.modelService.get(),e)}function BO(e,t){const n=fO.standaloneThemeService.get();return n.registerEditorContainer(e),fd.colorizeElement(n,fO.modeService.get(),e,t)}function IO(e,t,n){const i=fO.standaloneThemeService.get();return i.registerEditorContainer(document.body),fd.colorize(fO.modeService.get(),e,t,n)}function TO(e,t,n=4){const i=fO.standaloneThemeService.get();return i.registerEditorContainer(document.body),fd.colorizeModelLine(e,t,n)}function OO(e){let t=oc.get(e);return t||{getInitialState:()=>sc,tokenize:(t,n,i)=>cc(e,t,n,i)}}function RO(e,t){let n=fO.modeService.get();n.triggerMode(t);let i=OO(t),o=e.split(/\r\n|\r|\n/),r=[],s=i.getInitialState();for(let a=0,l=o.length;a<l;a++){let e=o[a],t=i.tokenize(e,s,0);r[a]=t.tokens,s=t.endState}return r}function PO(e,t){fO.standaloneThemeService.get().defineTheme(e,t)}function FO(e){fO.standaloneThemeService.get().setTheme(e)}function jO(){Qf()}function QO(){return{create:bO,onDidCreateEditor:vO,createDiffEditor:yO,createDiffNavigator:wO,createModel:AO,setModelLanguage:CO,setModelMarkers:EO,getModelMarkers:xO,getModels:DO,getModel:SO,onDidCreateModel:kO,onWillDisposeModel:MO,onDidChangeModelLanguage:NO,createWebWorker:LO,colorizeElement:BO,colorize:IO,colorizeModelLine:TO,tokenize:RO,defineTheme:PO,setTheme:FO,remeasureFonts:jO,AccessibilitySupport:yn,ContentWidgetPositionPreference:En,CursorChangeReason:xn,DefaultEndOfLine:Sn,EditorAutoIndentStrategy:kn,EditorOption:Mn,EndOfLinePreference:Nn,EndOfLineSequence:Ln,MinimapPosition:Rn,MouseTargetType:Pn,OverlayWidgetPositionPreference:Fn,OverviewRulerLane:jn,RenderLineNumbersType:Qn,RenderMinimap:zn,ScrollbarVisibility:Wn,ScrollType:Vn,TextEditorCursorBlinkingStyle:Kn,TextEditorCursorStyle:qn,TrackedRangeStickiness:Jn,WrappingIndent:Xn,ConfigurationChangedEvent:k,BareFontInfo:Ls,FontInfo:Bs,TextModelResolvedOptions:Ps,FindMatch:Fs,EditorType:Ts,EditorOptions:Se}}function zO(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(const n of t)if(!e(n))return!1;return!0}function VO(e,t){return"boolean"===typeof e?e:t}function WO(e,t){return"string"===typeof e?e:t}function HO(e){const t={};for(const n of e)t[n]=!0;return t}function UO(e,t=!1){t&&(e=e.map((function(e){return e.toLowerCase()})));const n=HO(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function YO(e,t){let n=0;while(t.indexOf("@")>=0&&n<5)n++,t=t.replace(/@(\w+)/g,(function(n,i){let o="";if("string"===typeof e[i])o=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?Zu(e,"language definition does not contain attribute '"+i+"', used at: "+t):Zu(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return qu(o)?"":"(?:"+o+")"}));let i=(e.ignoreCase?"i":"")+(e.unicode?"u":"");return new RegExp(t,i)}function GO(e,t,n,i){if(i<0)return e;if(i<t.length)return t[i];if(i>=100){i-=100;let e=n.split(".");if(e.unshift(n),i<e.length)return e[i]}return null}function KO(e,t,n,i){let o=-1,r=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(o=parseInt(s[3]),s[2]&&(o+=100)),r=s[4]);let a,l="~",c=r;if(r&&0!==r.length?/^\w*$/.test(c)?l="==":(s=r.match(/^(@|!@|~|!~|==|!=)(.*)$/),s&&(l=s[1],c=s[2])):(l="!=",c=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(c))if("@"===l||"!@"===l){let n=e[c];if(!n)throw Zu(e,"the @ match target '"+c+"' is not defined, in rule: "+t);if(!zO((function(e){return"string"===typeof e}),n))throw Zu(e,"the @ match target '"+c+"' must be an array of strings, in rule: "+t);let i=UO(n,e.ignoreCase);a=function(e){return"@"===l?i(e):!i(e)}}else if("~"===l||"!~"===l)if(c.indexOf("$")<0){let t=YO(e,"^"+c+"$");a=function(e){return"~"===l?t.test(e):!t.test(e)}}else a=function(t,n,i,o){let r=YO(e,"^"+ed(e,c,n,i,o)+"$");return r.test(t)};else if(c.indexOf("$")<0){let t=Ju(e,c);a=function(e){return"=="===l?e===t:e!==t}}else{let t=Ju(e,c);a=function(n,i,o,r,s){let a=ed(e,t,i,o,r);return"=="===l?n===a:n!==a}}else{let t=UO(c.split("|"),e.ignoreCase);a=function(e){return"~"===l?t(e):!t(e)}}return-1===o?{name:n,value:i,test:function(e,t,n,i){return a(e,e,t,n,i)}}:{name:n,value:i,test:function(e,t,n,i){let r=GO(e,t,n,o);return a(r||"",e,t,n,i)}}}function qO(e,t,n){if(n){if("string"===typeof n)return n;if(n.token||""===n.token){if("string"!==typeof n.token)throw Zu(e,"a 'token' attribute must be of type string, in rule: "+t);{let i={token:n.token};if(n.token.indexOf("$")>=0&&(i.tokenSubst=!0),"string"===typeof n.bracket)if("@open"===n.bracket)i.bracket=1;else{if("@close"!==n.bracket)throw Zu(e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);i.bracket=-1}if(n.next){if("string"!==typeof n.next)throw Zu(e,"the next state must be a string value in rule: "+t);{let o=n.next;if(!/^(@pop|@push|@popall)$/.test(o)&&("@"===o[0]&&(o=o.substr(1)),o.indexOf("$")<0&&!nd(e,ed(e,o,"",[],""))))throw Zu(e,"the next state '"+n.next+"' is not defined in rule: "+t);i.next=o}}return"number"===typeof n.goBack&&(i.goBack=n.goBack),"string"===typeof n.switchTo&&(i.switchTo=n.switchTo),"string"===typeof n.log&&(i.log=n.log),"string"===typeof n.nextEmbedded&&(i.nextEmbedded=n.nextEmbedded,e.usesEmbedded=!0),i}}if(Array.isArray(n)){let i=[];for(let o=0,r=n.length;o<r;o++)i[o]=qO(e,t,n[o]);return{group:i}}if(n.cases){let i=[];for(let r in n.cases)if(n.cases.hasOwnProperty(r)){const o=qO(e,t,n.cases[r]);"@default"===r||"@"===r||""===r?i.push({test:void 0,value:o,name:r}):"@eos"===r?i.push({test:function(e,t,n,i){return i},value:o,name:r}):i.push(KO(e,t,r,o))}const o=e.defaultToken;return{test:function(e,t,n,r){for(const o of i){const i=!o.test||o.test(e,t,n,r);if(i)return o.value}return o}}}throw Zu(e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}return{token:""}}class JO{constructor(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}setRegex(e,t){let n;if("string"===typeof t)n=t;else{if(!(t instanceof RegExp))throw Zu(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=YO(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")}setAction(e,t){this.action=qO(e,this.name,t)}}function XO(e,t){if(!t||"object"!==typeof t)throw new Error("Monarch: expecting a language definition object");let n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"===typeof t.start?t.start:null,n.ignoreCase=VO(t.ignoreCase,!1),n.unicode=VO(t.unicode,!1),n.tokenPostfix=WO(t.tokenPostfix,"."+n.languageId),n.defaultToken=WO(t.defaultToken,"source"),n.usesEmbedded=!1;let i=t;function o(e,r,s){for(const a of s){let s=a.include;if(s){if("string"!==typeof s)throw Zu(n,"an 'include' attribute must be a string at: "+e);if("@"===s[0]&&(s=s.substr(1)),!t.tokenizer[s])throw Zu(n,"include target '"+s+"' is not defined at: "+e);o(e+"."+s,r,t.tokenizer[s])}else{const t=new JO(e);if(Array.isArray(a)&&a.length>=1&&a.length<=3)if(t.setRegex(i,a[0]),a.length>=3)if("string"===typeof a[1])t.setAction(i,{token:a[1],next:a[2]});else{if("object"!==typeof a[1])throw Zu(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);{const e=a[1];e.next=a[2],t.setAction(i,e)}}else t.setAction(i,a[1]);else{if(!a.regex)throw Zu(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);a.name&&"string"===typeof a.name&&(t.name=a.name),a.matchOnlyAtStart&&(t.matchOnlyAtLineStart=VO(a.matchOnlyAtLineStart,!1)),t.setRegex(i,a.regex),t.setAction(i,a.action)}r.push(t)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.unicode=n.unicode,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!==typeof t.tokenizer)throw Zu(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(let s in t.tokenizer)if(t.tokenizer.hasOwnProperty(s)){n.start||(n.start=s);const e=t.tokenizer[s];n.tokenizer[s]=new Array,o("tokenizer."+s,n.tokenizer[s],e)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw Zu(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let r=[];for(let s of t.brackets){let e=s;if(e&&Array.isArray(e)&&3===e.length&&(e={token:e[2],open:e[0],close:e[1]}),e.open===e.close)throw Zu(n,"open and close brackets in a 'brackets' attribute must be different: "+e.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!==typeof e.open||"string"!==typeof e.token||"string"!==typeof e.close)throw Zu(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");r.push({token:e.token+n.tokenPostfix,open:Ju(n,e.open),close:Ju(n,e.close)})}return n.brackets=r,n.noThrow=!0,n}function $O(e){rk.registerLanguage(e)}function ZO(){let e=[];return e=e.concat(rk.getLanguages()),e}function eR(e){let t=fO.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function tR(e,t){let n=fO.modeService.get().onDidCreateMode(i=>{i.getId()===e&&(n.dispose(),t())});return n}function nR(e,t){let n=fO.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return oh.register(n,t)}class iR{constructor(e){this._actual=e}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,n){throw new Error("Not supported!")}tokenize2(e,t){let n=this._actual.tokenizeEncoded(e,t);return new vn(n.tokens,n.endState)}}class oR{constructor(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}getInitialState(){return this._actual.getInitialState()}_toClassicTokens(e,t,n){let i=[],o=0;for(let r=0,s=e.length;r<s;r++){const s=e[r];let a=s.startIndex;0===r?a=0:a<o&&(a=o),i[r]=new mn(a+n,s.scopes,t),o=a}return i}tokenize(e,t,n){let i,o=this._actual.tokenize(e,t),r=this._toClassicTokens(o.tokens,this._languageIdentifier.language,n);return i=o.endState.equals(t)?t:o.endState,new bn(r,i)}_toBinaryTokens(e,t){const n=this._languageIdentifier.id,i=this._standaloneThemeService.getColorTheme().tokenTheme;let o=[],r=0,s=0;for(let l=0,c=e.length;l<c;l++){const a=e[l],c=i.match(n,a.scopes);if(r>0&&o[r-1]===c)continue;let h=a.startIndex;0===l?h=0:h<s&&(h=s),o[r++]=h+t,o[r++]=c,s=h}let a=new Uint32Array(r);for(let l=0;l<r;l++)a[l]=o[l];return a}tokenize2(e,t,n){let i,o=this._actual.tokenize(e,t),r=this._toBinaryTokens(o.tokens,n);return i=o.endState.equals(t)?t:o.endState,new vn(r,i)}}function rR(e){return"tokenizeEncoded"in e}function sR(e){return e&&"function"===typeof e.then}function aR(e,t){let n=fO.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);const i=e=>rR(e)?new iR(e):new oR(fO.standaloneThemeService.get(),n,e);return sR(t)?oc.registerPromise(e,t.then(e=>i(e))):oc.register(e,i(t))}function lR(e,t){const n=t=>pd(fO.modeService.get(),fO.standaloneThemeService.get(),e,XO(e,t));return sR(t)?oc.registerPromise(e,t.then(e=>n(e))):oc.register(e,n(t))}function cR(e,t){return Ol.register(e,t)}function hR(e,t){return Rl.register(e,t)}function uR(e,t){return Fl.register(e,t)}function dR(e,t){return jl.register(e,{provideHover:(e,n,i)=>{let o=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,i)).then(e=>{if(e)return!e.range&&o&&(e.range=new fn(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn)),e.range||(e.range=new fn(n.lineNumber,n.column,n.lineNumber,n.column)),e})}})}function pR(e,t){return Ql.register(e,t)}function fR(e,t){return zl.register(e,t)}function gR(e,t){return Vl.register(e,t)}function mR(e,t){return Wl.register(e,t)}function bR(e,t){return Ul.register(e,t)}function vR(e,t){return Yl.register(e,t)}function yR(e,t){return Gl.register(e,t)}function wR(e,t){return Kl.register(e,{provideCodeActions:(e,n,i,o)=>{let r=fO.markerService.get().read({resource:e.uri}).filter(e=>fn.areIntersectingOrTouching(e,n));return t.provideCodeActions(e,n,{markers:r,only:i.only},o)}})}function _R(e,t){return ql.register(e,t)}function AR(e,t){return Jl.register(e,t)}function CR(e,t){return Xl.register(e,t)}function ER(e,t){return $l.register(e,t)}function xR(e,t){return Pl.register(e,t)}function SR(e,t){return Zl.register(e,t)}function DR(e,t){return tc.register(e,t)}function kR(e,t){return Hl.register(e,t)}function MR(e,t){return ec.register(e,t)}function NR(e,t){return nc.register(e,t)}function LR(e,t){return ic.register(e,t)}function BR(){return{register:$O,getLanguages:ZO,onLanguage:tR,getEncodedLanguageId:eR,setLanguageConfiguration:nR,setTokensProvider:aR,setMonarchTokensProvider:lR,registerReferenceProvider:cR,registerRenameProvider:hR,registerCompletionItemProvider:xR,registerSignatureHelpProvider:uR,registerHoverProvider:dR,registerDocumentSymbolProvider:pR,registerDocumentHighlightProvider:fR,registerOnTypeRenameProvider:gR,registerDefinitionProvider:mR,registerImplementationProvider:bR,registerTypeDefinitionProvider:vR,registerCodeLensProvider:yR,registerCodeActionProvider:wR,registerDocumentFormattingEditProvider:_R,registerDocumentRangeFormattingEditProvider:AR,registerOnTypeFormattingEditProvider:CR,registerLinkProvider:ER,registerColorProvider:SR,registerFoldingRangeProvider:DR,registerDeclarationProvider:kR,registerSelectionRangeProvider:MR,registerDocumentSemanticTokensProvider:NR,registerDocumentRangeSemanticTokensProvider:LR,DocumentHighlightKind:Dn,CompletionItemKind:_n,CompletionItemTag:An,CompletionItemInsertTextRule:wn,SymbolKind:Yn,SymbolTag:Gn,IndentAction:Bn,CompletionTriggerKind:Cn,SignatureHelpTriggerKind:Un,FoldingRangeKind:Tl}}const IR=self;Se.wrappingIndent.defaultValue=0,Se.glyphMargin.defaultValue=!1,Se.autoIndent.defaultValue=3,Se.overviewRulerLanes.defaultValue=2;const TR=Zn();TR.editor=QO(),TR.languages=BR();const OR=TR.CancellationTokenSource,RR=TR.Emitter,PR=TR.KeyCode,FR=TR.KeyMod,jR=TR.Position,QR=TR.Range,zR=TR.Selection,VR=TR.SelectionDirection,WR=TR.MarkerSeverity,HR=TR.MarkerTag,UR=TR.Uri,YR=TR.Token,GR=TR.editor,KR=TR.languages;function qR(){}IR.monaco=TR,"undefined"!==typeof IR.require&&"function"===typeof IR.require.config&&IR.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]});var JR={name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:[String,Object],language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},readOnly:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},editorMounted:{type:Function,default:qR},editorBeforeMount:{type:Function,default:qR}},watch:{options:{deep:!0,handler:function(e){this.editor&&this.editor.updateOptions(e)}},keyIndex:function(){this.editor&&this.value!==this._getValue()&&this._setValue(this.value)},language:function(){if(this.editor)if(this.diffEditor){var e=this.editor.getModel(),t=e.original,n=e.modified;GR.setModelLanguage(t,this.language),GR.setModelLanguage(n,this.language)}else GR.setModelLanguage(this.editor.getModel(),this.language)},theme:function(){this.editor&&GR.setTheme(this.theme)},style:function(){var e=this;this.editor&&this.$nextTick((function(){e.editor.layout()}))}},computed:{style:function(){return{width:/^\d+$/.test(this.width)?"".concat(this.width,"px"):this.width,height:/^\d+$/.test(this.height)?"".concat(this.height,"px"):this.height}}},mounted:function(){this.initMonaco()},beforeDestroy:function(){this.editor&&this.editor.dispose()},render:function(){var e=arguments[0];return e("div",{class:"monaco_editor_container",style:this.style})},methods:{initMonaco:function(){var e=this.value,t=this.language,n=this.theme,i=this.readOnly,o=this.options;Object.assign(o,this._editorBeforeMount()),this.editor=GR[this.diffEditor?"createDiffEditor":"create"](this.$el,p({value:e,language:t,theme:n,readOnly:i},o)),this.diffEditor&&this._setModel(this.value,this.original),this._editorMounted(this.editor)},_getEditor:function(){return this.editor?this.diffEditor?this.editor.modifiedEditor:this.editor:null},_setModel:function(e,t){var n=this.language,i=GR.createModel(t,n),o=GR.createModel(e,n);this.editor.setModel({original:i,modified:o})},_setValue:function(e){var t=this._getEditor();if(t)return t.setValue(e)},_getValue:function(){var e=this._getEditor();return e?e.getValue():""},_editorBeforeMount:function(){var e=this.editorBeforeMount(i);return e||{}},_editorMounted:function(e){var t=this;this.editorMounted(e,i),this.diffEditor?e.onDidUpdateDiff((function(e){var n=t._getValue();t._emitChange(n,e)})):e.onDidChangeModelContent((function(e){var n=t._getValue();t._emitChange(n,e)}))},_emitChange:function(e,t){this.$emit("change",e,t),this.$emit("input",e)}}},XR=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bpmn-tools"},[n("div",[e.toolbar.includes("open")?n("el-upload",{staticStyle:{"margin-right":"10px",display:"inline-block"},attrs:{action:"",accept:".xml, .bpmn","before-upload":e.handleBeforeUpload}},[n("el-tooltip",{attrs:{effect:"dark",content:"打开",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-folder-opened"}})],1)],1):e._e(),e.toolbar.includes("create")?n("el-tooltip",{attrs:{effect:"dark",content:"新建",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-circle-plus"},on:{click:e.handleCreate}})],1):e._e(),e.toolbar.includes("fit")?n("el-tooltip",{attrs:{effect:"dark",content:"自适应屏幕",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-rank"},on:{click:function(t){return e.$emit("fit","init")}}})],1):e._e(),e.toolbar.includes("zoom-in")?n("el-tooltip",{attrs:{effect:"dark",content:"放大",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-zoom-in"},on:{click:function(t){return e.$emit("fit",!0)}}})],1):e._e(),e.toolbar.includes("zoom-out")?n("el-tooltip",{attrs:{effect:"dark",content:"缩小",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-zoom-out"},on:{click:function(t){return e.$emit("fit",!1)}}})],1):e._e(),e.toolbar.includes("undo")?n("el-tooltip",{attrs:{effect:"dark",content:"后退",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-refresh-left"},on:{click:function(t){return e.$emit("undo")}}})],1):e._e(),e.toolbar.includes("redo")?n("el-tooltip",{attrs:{effect:"dark",content:"前进",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",icon:"el-icon-refresh-right"},on:{click:function(t){return e.$emit("redo")}}})],1):e._e()],1),n("div",[n("el-tooltip",{attrs:{effect:"dark",content:"推荐购买 BladeX 工作流插件,解锁更多功能",placement:"bottom"}},[n("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-goods"},on:{click:e.handleBuy}},[e._v("扩 展")])],1),e.toolbar.includes("download-xml")||e.toolbar.includes("download-svg")?n("el-popover",{staticStyle:{margin:"0 10px"},attrs:{placement:"bottom",width:"200px",trigger:"hover"}},[n("el-button",{attrs:{slot:"reference",size:"mini",icon:"el-icon-download"},slot:"reference"},[e._v("下 载 ")]),n("div",{staticStyle:{padding:"10px",display:"flex"}},[e.toolbar.includes("download-xml")?n("el-button",{attrs:{size:"mini",type:"primary",icon:"el-icon-download"},on:{click:function(t){return e.$emit("download","xml",!0)}}},[e._v("下载xml")]):e._e(),e.toolbar.includes("download-svg")?n("el-button",{attrs:{size:"mini",type:"warning",icon:"el-icon-picture"},on:{click:function(t){return e.$emit("download","svg",!0)}}},[e._v("下载svg")]):e._e()],1)],1):e._e(),e.toolbar.includes("import")?n("el-button",{attrs:{size:"mini",icon:"el-icon-upload"},on:{click:function(t){return e.$emit("import")}}},[e._v("导 入")]):e._e(),e.toolbar.includes("preview")?n("el-button",{attrs:{size:"mini",icon:"el-icon-view"},on:{click:function(t){return e.$emit("preview","preview")}}},[e._v("查 看")]):e._e(),e._t("toolbar")],2)])},$R=[],ZR={name:"bpmn-tools",props:{toolbar:{type:Array,default:function(){return[]}}},methods:{handleBeforeUpload:function(e){var t=this,n=new FileReader;return n.readAsText(e,"utf-8"),n.onload=function(){t.$emit("open",n.result)},!1},handleCreate:function(){var e=this;this.$confirm("确定要新建吗?","警告",{type:"warning"}).then((function(){e.$emit("create")})).catch((function(){}))},handleBuy:function(){window.open("https://bladex.vip/#/market/flow")}}},eP=ZR;n("dfdc");function tP(e,t,n,i,o,r,s,a){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(e,t){return l.call(t),h(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}var nP=tP(eP,XR,$R,!1,null,"e1e0edb4",null),iP=nP.exports,oP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-tabs",{attrs:{stretch:""},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[n("el-tab-pane",{staticStyle:{padding:"0 10px"},attrs:{label:"节点配置",name:"node"}},[n("span",{attrs:{slot:"label"},slot:"label"},[e._v("节点配置 "),e.openAllCollapse?n("i",{staticClass:"el-icon-open",on:{click:function(t){return e.handleChangeCollapse("close")}}}):n("i",{staticClass:"el-icon-turn-off",on:{click:function(t){return e.handleChangeCollapse("open")}}})]),e.element?n("node-panel",{ref:"node",attrs:{modeler:e.modeler,element:e.element,"form-option":e.formOption,"button-option":e.buttonOption}}):n("div",{staticStyle:{"margin-top":"50%","text-align":"center","font-size":"14px"}},[n("img",{staticStyle:{height:"100px"},attrs:{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg0IiBoZWlnaHQ9IjE1MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQgMzEuNjcpIj4KICAgICAgPGVsbGlwc2UgZmlsbC1vcGFjaXR5PSIuOCIgZmlsbD0iI0Y1RjVGNyIgY3g9IjY3Ljc5NyIgY3k9IjEwNi44OSIgcng9IjY3Ljc5NyIgcnk9IjEyLjY2OCIvPgogICAgICA8cGF0aCBkPSJNMTIyLjAzNCA2OS42NzRMOTguMTA5IDQwLjIyOWMtMS4xNDgtMS4zODYtMi44MjYtMi4yMjUtNC41OTMtMi4yMjVoLTUxLjQ0Yy0xLjc2NiAwLTMuNDQ0LjgzOS00LjU5MiAyLjIyNUwxMy41NiA2OS42NzR2MTUuMzgzaDEwOC40NzVWNjkuNjc0eiIgZmlsbD0iI0FFQjhDMiIvPgogICAgICA8cGF0aCBkPSJNMTAxLjUzNyA4Ni4yMTRMODAuNjMgNjEuMTAyYy0xLjAwMS0xLjIwNy0yLjUwNy0xLjg2Ny00LjA0OC0xLjg2N0gzMS43MjRjLTEuNTQgMC0zLjA0Ny42Ni00LjA0OCAxLjg2N0w2Ljc2OSA4Ni4yMTR2MTMuNzkyaDk0Ljc2OFY4Ni4yMTR6IiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTEpIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMy41NikiLz4KICAgICAgPHBhdGggZD0iTTMzLjgzIDBoNjcuOTMzYTQgNCAwIDAgMSA0IDR2OTMuMzQ0YTQgNCAwIDAgMS00IDRIMzMuODNhNCA0IDAgMCAxLTQtNFY0YTQgNCAwIDAgMSA0LTR6IiBmaWxsPSIjRjVGNUY3Ii8+CiAgICAgIDxwYXRoIGQ9Ik00Mi42NzggOS45NTNoNTAuMjM3YTIgMiAwIDAgMSAyIDJWMzYuOTFhMiAyIDAgMCAxLTIgMkg0Mi42NzhhMiAyIDAgMCAxLTItMlYxMS45NTNhMiAyIDAgMCAxIDItMnpNNDIuOTQgNDkuNzY3aDQ5LjcxM2EyLjI2MiAyLjI2MiAwIDEgMSAwIDQuNTI0SDQyLjk0YTIuMjYyIDIuMjYyIDAgMCAxIDAtNC41MjR6TTQyLjk0IDYxLjUzaDQ5LjcxM2EyLjI2MiAyLjI2MiAwIDEgMSAwIDQuNTI1SDQyLjk0YTIuMjYyIDIuMjYyIDAgMCAxIDAtNC41MjV6TTEyMS44MTMgMTA1LjAzMmMtLjc3NSAzLjA3MS0zLjQ5NyA1LjM2LTYuNzM1IDUuMzZIMjAuNTE1Yy0zLjIzOCAwLTUuOTYtMi4yOS02LjczNC01LjM2YTcuMzA5IDcuMzA5IDAgMCAxLS4yMjItMS43OVY2OS42NzVoMjYuMzE4YzIuOTA3IDAgNS4yNSAyLjQ0OCA1LjI1IDUuNDJ2LjA0YzAgMi45NzEgMi4zNyA1LjM3IDUuMjc3IDUuMzdoMzQuNzg1YzIuOTA3IDAgNS4yNzctMi40MjEgNS4yNzctNS4zOTNWNzUuMWMwLTIuOTcyIDIuMzQzLTUuNDI2IDUuMjUtNS40MjZoMjYuMzE4djMzLjU2OWMwIC42MTctLjA3NyAxLjIxNi0uMjIxIDEuNzg5eiIgZmlsbD0iI0RDRTBFNiIvPgogICAgPC9nPgogICAgPHBhdGggZD0iTTE0OS4xMjEgMzMuMjkybC02LjgzIDIuNjVhMSAxIDAgMCAxLTEuMzE3LTEuMjNsMS45MzctNi4yMDdjLTIuNTg5LTIuOTQ0LTQuMTA5LTYuNTM0LTQuMTA5LTEwLjQwOEMxMzguODAyIDguMTAyIDE0OC45MiAwIDE2MS40MDIgMCAxNzMuODgxIDAgMTg0IDguMTAyIDE4NCAxOC4wOTdjMCA5Ljk5NS0xMC4xMTggMTguMDk3LTIyLjU5OSAxOC4wOTctNC41MjggMC04Ljc0NC0xLjA2Ni0xMi4yOC0yLjkwMnoiIGZpbGw9IiNEQ0UwRTYiLz4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0OS42NSAxNS4zODMpIiBmaWxsPSIjRkZGIj4KICAgICAgPGVsbGlwc2UgY3g9IjIwLjY1NCIgY3k9IjMuMTY3IiByeD0iMi44NDkiIHJ5PSIyLjgxNSIvPgogICAgICA8cGF0aCBkPSJNNS42OTggNS42M0gwTDIuODk4LjcwNHpNOS4yNTkuNzA0aDQuOTg1VjUuNjNIOS4yNTl6Ii8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K"}}),n("p",[e._v("选择节点后配置")])])],1),n("el-tab-pane",{staticStyle:{padding:"0 10px"},attrs:{label:"流程配置",name:"process"}},[e.rootElement?n("process-panel",{ref:"process",attrs:{modeler:e.modeler,element:e.rootElement}}):e._e()],1)],1)},rP=[],sP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-collapse",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-collapse-item",{attrs:{name:"1"}},[n("template",{slot:"title"},[n("span",[e._v("基本配置 "),n("i",{staticClass:"el-icon-info"})])]),n("wf-basic",{attrs:{modeler:e.modeler,element:e.element}})],2),"bpmn:UserTask"==e.type?[n("el-collapse-item",{attrs:{name:"2"}},[n("template",{slot:"title"},[n("span",[e._v("审核配置 "),n("i",{staticClass:"el-icon-user-solid"})])]),n("wf-assignee",{attrs:{modeler:e.modeler,element:e.element}})],2),n("el-collapse-item",{attrs:{name:"3"}},[n("template",{slot:"title"},[n("span",[e._v("多实例配置 "),n("i",{staticClass:"el-icon-s-data"})])]),n("wf-multi-instance",{attrs:{type:"UserTask",modeler:e.modeler,element:e.element}})],2),n("el-collapse-item",{attrs:{name:"4"}},[n("template",{slot:"title"},[n("span",[e._v("任务监听 "),n("i",{staticClass:"el-icon-warning"})])]),n("wf-listener",{attrs:{type:"Task",modeler:e.modeler,element:e.element}})],2)]:e._e(),"bpmn:SequenceFlow"==e.type?[n("el-collapse-item",{attrs:{name:"2"}},[n("template",{slot:"title"},[n("span",[e._v("流转条件 "),n("i",{staticClass:"el-icon-s-promotion"})])]),n("wf-condition",{attrs:{modeler:e.modeler,element:e.element}})],2)]:e._e(),"bpmn:SubProcess"==e.type?[n("el-collapse-item",{attrs:{name:"2"}},[n("template",{slot:"title"},[n("span",[e._v("审核配置 "),n("i",{staticClass:"el-icon-user-solid"})])]),n("wf-assignee",{attrs:{modeler:e.modeler,element:e.element}})],2),n("el-collapse-item",{attrs:{name:"3"}},[n("template",{slot:"title"},[n("span",[e._v("多实例配置 "),n("i",{staticClass:"el-icon-s-data"})])]),n("wf-multi-instance",{attrs:{type:"SubProcess",modeler:e.modeler,element:e.element}})],2)]:e._e(),["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent"].includes(e.type)?[e.getEventDefinitions(null)?n("el-collapse-item",{attrs:{name:"7"}},[n("template",{slot:"title"},[n("span",[e._v("事件配置 "),n("i",{staticClass:"el-icon-s-finance"})])]),n("wf-event",{attrs:{modeler:e.modeler,element:e.element}})],2):e._e()]:e._e(),["bpmn:CallActivity"].includes(e.type)?[n("el-collapse-item",{attrs:{name:"8"}},[n("template",{slot:"title"},[n("span",[e._v("调用活动 "),n("i",{staticClass:"el-icon-s-finance"})])]),n("wf-call",{attrs:{modeler:e.modeler,element:e.element}})],2),n("el-collapse-item",{attrs:{name:"3"}},[n("template",{slot:"title"},[n("span",[e._v("多实例配置 "),n("i",{staticClass:"el-icon-s-data"})])]),n("wf-multi-instance",{attrs:{type:"SubProcess",modeler:e.modeler,element:e.element}})],2)]:e._e(),["bpmn:ServiceTask"].includes(e.type)?[n("el-collapse-item",{attrs:{name:"9"}},[n("template",{slot:"title"},[n("span",[e._v("服务配置 "),n("i",{staticClass:"el-icon-s-finance"})])]),n("wf-service",{attrs:{modeler:e.modeler,element:e.element,"script-option":e.scriptOption?e.scriptOption.shell:null}})],2)]:e._e(),["bpmn:ScriptTask"].includes(e.type)?[n("el-collapse-item",{attrs:{name:"10"}},[n("template",{slot:"title"},[n("span",[e._v("脚本配置 "),n("i",{staticClass:"el-icon-s-finance"})])]),n("wf-script",{attrs:{modeler:e.modeler,element:e.element,"script-option":e.scriptOption?e.scriptOption.script:null}})],2)]:e._e(),n("el-collapse-item",{attrs:{name:"99"}},[n("template",{slot:"title"},[n("span",[e._v("执行监听 "),n("i",{staticClass:"el-icon-question"})])]),n("wf-listener",{attrs:{type:"Execution",modeler:e.modeler,element:e.element}})],2)],2)},aP=[],lP=(n("02de"),n("2b9c"),{props:{modeler:{type:Object,required:!0},element:{type:Object,default:function(){return{}}},nodes:{type:Array,default:function(){return[]}},scriptOption:{type:Object,default:function(){}}},data:function(){return{formData:{}}},watch:{element:{handler:function(e){if(0!=Object.keys(e)){var t=p(p({},e.businessObject),e.businessObject.$attrs),n=t.documentation;n&&n.length>0&&(t.description=n[0].text),this.$set(this,"formData",t)}},deep:!0,immediate:!0}},methods:{updateProperties:function(e){this.modeler.get("modeling").updateProperties(this.element,e)},updateDocumentation:function(e){if(e){var t=this.modeler.get("bpmnFactory").create("bpmn:Documentation",{text:e});this.updateProperties({documentation:[t]})}else this.updateProperties({documentation:[]})},updateFormalExpression:function(e,t){t=e&&t?this.modeler.get("bpmnFactory").create("bpmn:FormalExpression",{body:t}):void 0,this.updateProperties(u({},e,t))},createElement:function(e,t){return e&&t?this.modeler.get("bpmnFactory").create(e,t):null},getRootElements:function(e){var t=this.modeler.get("canvas").getRootElement().businessObject.$parent.rootElements;return e?t.filter((function(t){return t.$type==e})):t},getExtensionElementsEq:function(e){var t=[],n=this.element.businessObject.extensionElements;return n&&n.values&&n.values.length>0&&n.values.forEach((function(n){n.$type===e&&t.push(n)})),t},getExtensionElementsNotEq:function(e){var t=[],n=this.element.businessObject.extensionElements;return n&&n.values&&n.values.length>0&&n.values.forEach((function(n){n.$type!==e&&t.push(n)})),t},setExtensionElements:function(e,t){if(e&&t){var n=this.modeler.get("bpmnFactory"),i=[];t.forEach((function(t){return i.push(n.create(e,t))})),i=this.getExtensionElementsNotEq(e).concat(i),this.updateProperties({extensionElements:n.create("bpmn:ExtensionElements",{values:i})})}},clearExtensionElements:function(){this.updateProperties({extensionElements:void 0})},getEventDefinitions:function(e){var t=this.element.businessObject.eventDefinitions;if(!e)return t;var n=[];return t&&t.length>0?(t.forEach((function(t){t.$type==e&&n.push(t)})),n):null},setEventDefinitions:function(e,t){if(e&&t){var n=this.modeler.get("bpmnFactory"),i=this.getEventDefinitions(e)||[];for(var o in i=i&&i.length>0?p(p({},i[0]),t):p({},t),i)o.startsWith("$")&&delete i[o];this.updateProperties({eventDefinitions:[n.create(e,i)]})}}}}),cP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.formData,"label-position":"left","label-width":"90px","label-suffix":":",size:"mini"}},[n("el-form-item",{attrs:{label:"节点id",prop:"id",rules:{required:!0,message:"节点id为必填项",trigger:"change"}}},[n("el-input",{attrs:{clearable:"",placeholder:"节点id"},on:{input:function(t){return e.updateProperties({id:e.formData.id})}},model:{value:e.formData.id,callback:function(t){e.$set(e.formData,"id",t)},expression:"formData.id"}})],1),["bpmn:TextAnnotation","bpmn:Association"].includes(e.element.type)?e._e():n("el-form-item",{attrs:{label:"节点名称"}},[n("el-input",{attrs:{clearable:"",placeholder:"节点名称"},on:{input:function(t){return e.updateProperties({name:e.formData.name||void 0})}},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),["bpmn:TextAnnotation"].includes(e.element.type)?n("el-form-item",{attrs:{label:"注解内容"}},[n("el-input",{attrs:{clearable:"",placeholder:"注解内容"},on:{input:function(t){return e.updateProperties({text:e.formData.text||void 0})}},model:{value:e.formData.text,callback:function(t){e.$set(e.formData,"text",t)},expression:"formData.text"}})],1):e._e(),n("el-form-item",{attrs:{label:"节点描述"}},[n("el-input",{attrs:{clearable:"",placeholder:"节点描述"},on:{input:e.updateDocumentation},model:{value:e.formData.description,callback:function(t){e.$set(e.formData,"description",t)},expression:"formData.description"}})],1),["bpmn:ServiceTask"].includes(e.element.type)?[n("el-form-item",{attrs:{label:"异步"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.updateProperties({async:e.formData.async||void 0})}},model:{value:e.formData.async,callback:function(t){e.$set(e.formData,"async",t)},expression:"formData.async"}})],1)]:e._e(),"bpmn:UserTask"==e.element.type?[n("el-form-item",{attrs:{label:"优先级"}},[n("el-input",{attrs:{placeholder:"优先级"},on:{change:function(t){return e.updateProperties({priority:e.formData.priority||void 0})}},model:{value:e.formData.priority,callback:function(t){e.$set(e.formData,"priority",t)},expression:"formData.priority"}})],1)]:e._e()],2)},hP=[],uP={name:"wf-basic",mixins:[lP]},dP=uP,pP=tP(dP,cP,hP,!1,null,null,null),fP=pP.exports,gP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-form",{attrs:{model:e.userTask,"label-position":"left","label-width":"90px","label-suffix":":",size:"mini"}},[n("el-form-item",{attrs:{label:"处理人"}},[n("el-input",{attrs:{clearable:"",placeholder:"处理人"},on:{input:function(t){return e.updateProperties({assignee:e.userTask.assignee||void 0})}},model:{value:e.userTask.assignee,callback:function(t){e.$set(e.userTask,"assignee",t)},expression:"userTask.assignee"}})],1),n("el-form-item",{attrs:{label:"候选用户"}},[n("el-input",{attrs:{clearable:"",placeholder:"候选用户"},on:{input:function(t){return e.updateProperties({candidateUsers:e.userTask.candidateUsers||void 0})}},model:{value:e.userTask.candidateUsers,callback:function(t){e.$set(e.userTask,"candidateUsers",t)},expression:"userTask.candidateUsers"}})],1),n("el-form-item",{attrs:{label:"候选组"}},[n("el-input",{attrs:{clearable:"",placeholder:"候选组"},on:{input:function(t){return e.updateProperties({candidateGroups:e.userTask.candidateGroups||void 0})}},model:{value:e.userTask.candidateGroups,callback:function(t){e.$set(e.userTask,"candidateGroups",t)},expression:"userTask.candidateGroups"}})],1)],1)],1)},mP=[],bP={name:"wf-assignee",mixins:[lP],data:function(){return{userTask:{}}},watch:{formData:{handler:function(e){var t=e.assignee,n=e.candidateUsers,i=e.candidateGroups;this.userTask=p(p({},this.userTask),{},{assignee:t,candidateUsers:n,candidateGroups:i})},deep:!0,immediate:!0}}},vP=bP,yP=tP(vP,gP,mP,!1,null,null,null),wP=yP.exports,_P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handleOpen}},[e._v("添加")]),n("el-table",{staticStyle:{"margin-top":"5px"},attrs:{data:e.listener,border:"",size:"mini","highlight-current-row":""},on:{"row-click":e.rowClick}},[n("el-table-column",{attrs:{prop:"event",label:"事件",align:"center"}}),n("el-table-column",{attrs:{prop:"listenerType",label:"类型",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.listenerType[t.row.listenerType]))])]}}])}),n("el-table-column",{attrs:{prop:"value",label:"实现",align:"center"}}),n("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return n.stopPropagation(),e.handleOpen(!1,t.row)}}},[e._v("修改")]),n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return n.stopPropagation(),e.handleDelete(t.$index)}}},[e._v("删除")])]}}])})],1),n("el-drawer",{attrs:{visible:e.listenerVisible,title:e.isAdd?"添加监听器":"编辑监听器","append-to-body":"","before-close":e.handleClose,size:"50%"},on:{"update:visible":function(t){e.listenerVisible=t}}},[n("el-form",{ref:"form",staticStyle:{padding:"0 20px"},attrs:{model:e.form,rules:e.rules,"label-position":"left",size:"small","label-width":"100px"}},[n("el-form-item",{attrs:{label:"事件类型",prop:"event"}},[n("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"事件类型"},model:{value:e.form.event,callback:function(t){e.$set(e.form,"event",t)},expression:"form.event"}},["Task"==e.type?e._l(e.eventTypeTask,(function(e){return n("el-option",{key:e,attrs:{label:e,value:e}})})):e._l(e.eventTypeExecution,(function(e){return n("el-option",{key:e,attrs:{label:e,value:e}})}))],2)],1),n("el-form-item",{attrs:{label:"监听类型",prop:"listenerType"}},[n("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"监听类型"},model:{value:e.form.listenerType,callback:function(t){e.$set(e.form,"listenerType",t)},expression:"form.listenerType"}},e._l(e.listenerType,(function(e,t){return n("el-option",{key:t,attrs:{label:e,value:t}})})),1)],1),n("el-form-item",{attrs:{label:"值",prop:"value"}},[n("el-input",{attrs:{placeholder:"值"},model:{value:e.form.value,callback:function(t){e.$set(e.form,"value",t)},expression:"form.value"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleSubmit}},[e._v("确认")])],1)],1)],1),n("wf-field",{staticStyle:{"margin-top":"20px"},attrs:{row:e.currentListener},on:{"row-save":e.fieldSave,"row-update":e.fieldUpdate,"row-del":e.fieldDel}})],1)},AP=[],CP=(n("2f62"),n("26c4"),n("d927"),n("b105"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return Object.keys(e.row).length>0?n("div",[n("p",[e._v("字段注入")]),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handleOpen}},[e._v("新增")]),n("el-table",{staticStyle:{"margin-top":"5px"},attrs:{data:e.data,border:"",size:"mini"}},[n("el-table-column",{attrs:{prop:"name",label:"名称",align:"center"}}),n("el-table-column",{attrs:{prop:"type",label:"类型",align:"center"}}),n("el-table-column",{attrs:{prop:"value",label:"值",align:"center"}}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleOpen(!1,t.row,t.$index)}}},[e._v("编辑")]),n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return e.handleDelete(t.$index)}}},[e._v("删除")])]}}],null,!1,1086769545)})],1),n("el-drawer",{attrs:{visible:e.visible,title:e.isAdd?"新增":"编辑","append-to-body":"","before-close":e.handleClose,size:"50%"},on:{"update:visible":function(t){e.visible=t}}},[n("el-form",{ref:"form",staticStyle:{padding:"0 20px"},attrs:{model:e.form,rules:e.rules,size:"mini","label-suffix":":","label-position":"left","label-width":"100px"}},[n("el-form-item",{attrs:{label:"名称",prop:"name"}},[n("el-input",{attrs:{placeholder:"名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},[n("el-radio",{attrs:{label:"string"}},[e._v("String")]),n("el-radio",{attrs:{label:"expression"}},[e._v("Expression")])],1)],1),n("el-form-item",{attrs:{label:"值",prop:"value"}},[n("el-input",{attrs:{placeholder:"值"},model:{value:e.form.value,callback:function(t){e.$set(e.form,"value",t)},expression:"form.value"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.handleSubmit}},[e._v("提交")])],1)],1)],1)],1):e._e()}),EP=[],xP={name:"wf-field",props:{row:{type:Object,default:function(){return{}}}},computed:{data:function(){return this.row.fields||[]}},data:function(){return{form:{},rules:{name:[{required:!0}],type:[{required:!0}],value:[{required:!0}]},visible:!1,isAdd:!0,rowIndex:0}},methods:{handleSubmit:function(){var e=this;this.$refs["form"].validate((function(t){if(t){var n=JSON.parse(JSON.stringify(e.form));e.isAdd?e.$emit("row-save",n):e.$emit("row-update",n,e.rowIndex),e.handleClose()}}))},handleOpen:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.visible=!0,this.isAdd=e,this.rowIndex=n,e||this.$set(this,"form",JSON.parse(JSON.stringify(t)))},handleClose:function(e){e&&e(),this.visible=!1,this.form={}},handleDelete:function(e){var t=this;this.$confirm("确定要删除吗?","警告",{type:"warning"}).then((function(){t.$emit("row-del",{},e)})).catch((function(){}))}}},SP=xP,DP=tP(SP,CP,EP,!1,null,null,null),kP=DP.exports,MP={name:"wf-listener",components:{WfField:kP},mixins:[lP],props:{type:{type:String,required:!0,validator:function(e){return["Execution","Task"].includes(e)}}},data:function(){return{listener:[],listenerVisible:!1,eventTypeExecution:["start","take","end"],eventTypeTask:["create","assignment","complete","delete"],isAdd:!0,form:{listenerType:"class"},rules:{event:{required:!0,trigger:"change"},listenerType:{required:!0,trigger:"change"},value:{required:!0,trigger:"blur"}},currentListener:{},listenerType:{class:"类",expression:"表达式",delegateExpression:"代理表达式"}}},watch:{formData:{handler:function(e){var t=this,n=e.extensionElements,i=[];n&&n.values&&n.values.length>0&&n.values.forEach((function(e){if(e.$type.includes(t.type)||e.$type.includes(t.type.toLowerCase())){var n={id:f(16),event:e.event};if(e.class?(n.value=e.class,n.listenerType="class"):e.expression?(n.value=e.expression,n.listenerType="expression"):e.delegateExpression&&(n.value=e.delegateExpression,n.listenerType="delegateExpression"),e.fields){var o=[];e.fields.forEach((function(e){e.string?o.push({name:e.name,type:"string",value:e.string}):e.expression&&o.push({name:e.name,type:"expression",value:e.expression})})),n.fields=o}i.push(n)}})),this.listener=i,setTimeout((function(){var e=i[0];i.length>0&&t.$refs.table.setCurrentRow(e),t.rowClick(e)}))},deep:!0,immediate:!0}},mounted:function(){this.form.event=this["eventType".concat(this.type)][0]},methods:{handleSubmit:function(){var e=this;this.$refs["form"].validate((function(t){if(t){var n=e.form;e.isAdd?(n.id=f(16),e.listener.push(n)):e.listener.splice(e.listener.findIndex((function(e){return e.id==n.id})),1,n),e.changeExtensionElements(),e.handleClose()}}))},handleDelete:function(e){var t=this;this.$confirm("确定要删除吗?","警告",{type:"warning"}).then((function(){t.$delete(t.listener,e),t.changeExtensionElements(),t.currentListener={}})).catch((function(){}))},changeExtensionElements:function(){var e=this,t=this.modeler.get("bpmnFactory"),n=[];this.listener.forEach((function(i){var o,r=i.listenerType,s=i.value,a=i.event,l=i.fields,c=(o={},u(o,r,s),u(o,"event",a),o);if(l&&l.length>0){var h=[];l.forEach((function(t){var n;h.push(e.createElement("flowable:Field",(n={},u(n,t.type,t.value),u(n,"name",t.name),n)))})),c.fields=h}var d=t.create("flowable:".concat(e.type,"Listener"),c);n.push(d)}));var i=[],o=this.element.businessObject.extensionElements;o&&o.values&&o.values.length>0&&o.values.forEach((function(t){t.$type.includes(e.type)||t.$type.includes(e.type.toLowerCase())||i.push(t)})),this.updateProperties({extensionElements:t.create("bpmn:ExtensionElements",{values:n.concat(i)})})},handleOpen:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;this.listenerVisible=!0,this.isAdd=e,e||this.$set(this,"form",JSON.parse(JSON.stringify(t)))},handleClose:function(){this.listenerVisible=!1,this.form={id:"",event:this["eventType".concat(this.type)][0],listenerType:"class",value:""}},rowClick:function(e){this.currentListener=e},fieldSave:function(e){var t=this.currentListener,n=t.id,i=t.fields;i||(i=[]),i.push(e),this.$set(this.currentListener,"fields",i),this.listener.splice(this.listener.findIndex((function(e){return e.id==n})),1,this.currentListener),this.changeExtensionElements()},fieldUpdate:function(e,t){this.$set(this.currentListener.fields,t,e),this.changeExtensionElements()},fieldDel:function(e,t){this.$delete(this.currentListener.fields,t),this.changeExtensionElements()}}},NP=MP,LP=tP(NP,_P,AP,!1,null,null,null),BP=LP.exports,IP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.multiInstance,"label-position":"left","label-width":"90px","label-suffix":":",size:"mini"}},[n("el-form-item",{attrs:{label:"类型"}},[n("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:"类型"},on:{change:e.handleMultiInstance},model:{value:e.multiInstance.isSequential,callback:function(t){e.$set(e.multiInstance,"isSequential",t)},expression:"multiInstance.isSequential"}},[n("el-option",{attrs:{label:"并行",value:"Parallel"}}),n("el-option",{attrs:{label:"串行",value:"Sequential"}})],1)],1),e.multiInstance.isSequential?n("div",[n("el-form-item",{attrs:{label:"循环基数",prop:"loopCardinality"}},[n("el-input",{attrs:{clearable:"",placeholder:"循环基数"},on:{input:function(t){return e.updateFormalExpression("loopCardinality",e.multiInstance.loopCardinality)}},model:{value:e.multiInstance.loopCardinality,callback:function(t){e.$set(e.multiInstance,"loopCardinality",t)},expression:"multiInstance.loopCardinality"}})],1),n("el-form-item",{attrs:{label:"集合"}},[n("el-input",{attrs:{clearable:"",placeholder:"集合"},on:{input:function(t){return e.updateMultiInstanceProperties({collection:e.multiInstance.collection||void 0})}},model:{value:e.multiInstance.collection,callback:function(t){e.$set(e.multiInstance,"collection",t)},expression:"multiInstance.collection"}})],1),n("el-form-item",{attrs:{label:"元素变量"}},[n("el-input",{attrs:{clearable:"",placeholder:"元素变量"},on:{input:function(t){return e.updateMultiInstanceProperties({elementVariable:e.multiInstance.elementVariable||void 0})}},model:{value:e.multiInstance.elementVariable,callback:function(t){e.$set(e.multiInstance,"elementVariable",t)},expression:"multiInstance.elementVariable"}})],1),n("el-form-item",{attrs:{label:"完成条件"}},[n("el-slider",{attrs:{"show-input":"",min:0,max:100,"format-tooltip":function(e){return e+"%"}},on:{change:function(t){e.updateFormalExpression("completionCondition","${nrOfCompletedInstances/nrOfInstances >= "+t/100+"}")}},model:{value:e.multiInstance.completionCondition,callback:function(t){e.$set(e.multiInstance,"completionCondition",t)},expression:"multiInstance.completionCondition"}})],1)],1):e._e()],1)},TP=[],OP=(n("8120"),{name:"multi-instance",mixins:[lP],props:{type:{type:String,required:!0,validator:function(e){return["UserTask","SubProcess"].includes(e)}}},watch:{formData:{handler:function(e){var t=e.loopCharacteristics;if(t){var n=t.isSequential,i=t.completionCondition,o=t.loopCardinality,r=t.collection,s=t.elementVariable;if(n?this.$set(this.multiInstance,"isSequential","Sequential"):this.$set(this.multiInstance,"isSequential","Parallel"),i){var a=i.body;a.includes("${")&&a.includes(">=")?this.$set(this.multiInstance,"completionCondition",100*Number(a.substring(a.indexOf(">=")+2,a.indexOf("}")).trim())):this.$set(this.multiInstance,"completionCondition",a)}else this.$delete(this.multiInstance,"completionCondition");o?this.$set(this.multiInstance,"loopCardinality",o.body):this.$delete(this.multiInstance,"loopCardinality"),this.$set(this.multiInstance,"collection",r),this.$set(this.multiInstance,"elementVariable",s)}else this.$set(this,"multiInstance",{})},deep:!0,immediate:!0}},data:function(){return{multiInstance:{}}},methods:{handleMultiInstance:function(e){var t;e?(t=this.modeler.get("bpmnFactory").create("bpmn:MultiInstanceLoopCharacteristics"),"Sequential"===e&&(t.isSequential=!0)):t=void 0,this.updateProperties({loopCharacteristics:t})},updateMultiInstanceProperties:function(e){var t=this.element.businessObject.loopCharacteristics;if(t)for(var n in e)t[n]=e[n];this.updateProperties({loopCharacteristics:t})},updateFormalExpression:function(e,t){t=e&&t?this.modeler.get("bpmnFactory").create("bpmn:FormalExpression",{body:t}):void 0;var n=this.element.businessObject.loopCharacteristics;n[e]=t,this.updateProperties({loopCharacteristics:n})}}}),RP=OP,PP=tP(RP,IP,TP,!1,null,null,null),FP=PP.exports,jP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.formData,"label-position":"left","label-width":"90px","label-suffix":":",size:"small"}},[n("el-form-item",{attrs:{label:"流转条件"}},[n("el-input",{attrs:{clearable:"",placeholder:"流转条件"},on:{input:function(t){return e.updateFormalExpression("conditionExpression",e.condition.conditionExpression)}},model:{value:e.condition.conditionExpression,callback:function(t){e.$set(e.condition,"conditionExpression",t)},expression:"condition.conditionExpression"}})],1)],1)},QP=[],zP={name:"wf-condition",mixins:[lP],data:function(){return{condition:{}}},watch:{formData:{handler:function(e){var t=e.conditionExpression;t?this.$set(this.condition,"conditionExpression",t.body):this.$delete(this.condition,"conditionExpression")},deep:!0,immediate:!0}}},VP=zP,WP=tP(VP,jP,QP,!1,null,null,null),HP=WP.exports,UP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["bpmn:TimerEventDefinition"==e.type?n("wf-timer-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:SignalEventDefinition"==e.type?n("wf-signal-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:MessageEventDefinition"==e.type?n("wf-message-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:ConditionalEventDefinition"==e.type?n("wf-conditional-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:ErrorEventDefinition"==e.type?n("wf-error-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:TerminateEventDefinition"==e.type?n("wf-terminate-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:CompensateEventDefinition"==e.type?n("wf-compensate-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e(),"bpmn:EscalationEventDefinition"==e.type?n("wf-escalation-event",{attrs:{modeler:e.modeler,element:e.element}}):e._e()],1)},YP=[],GP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.timer,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[["bpmn:StartEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({isInterrupting:e.timer.isInterrupting})}},model:{value:e.timer.isInterrupting,callback:function(t){e.$set(e.timer,"isInterrupting",t)},expression:"timer.isInterrupting"}})],1):e._e(),["bpmn:BoundaryEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({cancelActivity:e.timer.cancelActivity})}},model:{value:e.timer.cancelActivity,callback:function(t){e.$set(e.timer,"cancelActivity",t)},expression:"timer.cancelActivity"}})],1):e._e(),n("el-form-item",{attrs:{label:"时间周期"}},[n("el-input",{attrs:{clearable:"",placeholder:"时间周期"},on:{input:function(t){e.setEventDefinitions(e.type,{timeCycle:e.createElement(e.expressionType,{body:e.timer.timeCycle})})}},model:{value:e.timer.timeCycle,callback:function(t){e.$set(e.timer,"timeCycle",t)},expression:"timer.timeCycle"}})],1),n("el-form-item",{attrs:{label:"时间日期"}},[n("el-input",{attrs:{clearable:"",placeholder:"时间日期"},on:{input:function(t){e.setEventDefinitions(e.type,{timeDate:e.createElement(e.expressionType,{body:e.timer.timeDate})})}},model:{value:e.timer.timeDate,callback:function(t){e.$set(e.timer,"timeDate",t)},expression:"timer.timeDate"}})],1),n("el-form-item",{attrs:{label:"持续时间"}},[n("el-input",{attrs:{clearable:"",placeholder:"持续时间"},on:{input:function(t){e.setEventDefinitions(e.type,{timeDuration:e.createElement(e.expressionType,{body:e.timer.timeDuration})})}},model:{value:e.timer.timeDuration,callback:function(t){e.$set(e.timer,"timeDuration",t)},expression:"timer.timeDuration"}})],1)],1)},KP=[],qP={name:"wf-timer-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.isInterrupting,n=e.cancelActivity;void 0==t&&(t=!0),void 0==n&&(n=!0),this.$set(this.timer,"isInterrupting",t),this.$set(this.timer,"cancelActivity",n);var i=this.getEventDefinitions(this.type);if(i&&i.length>0){var o=i[0],r=o.timeCycle,s=o.timeDate,a=o.timeDuration;r&&this.$set(this.timer,"timeCycle",r.body),s&&this.$set(this.timer,"timeDate",s.body),a&&this.$set(this.timer,"timeDuration",a.body)}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:TimerEventDefinition",expressionType:"bpmn:Expression",timer:{}}}},JP=qP,XP=tP(JP,GP,KP,!1,null,null,null),$P=XP.exports,ZP=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.signal,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[n("avue-crud",{staticStyle:{"margin-bottom":"10px"},attrs:{data:e.signalList,option:e.option},on:{"row-save":e.handleAdd,"row-update":e.handleEdit,"row-del":e.handleDelete},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}),["bpmn:StartEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({isInterrupting:e.signal.isInterrupting})}},model:{value:e.signal.isInterrupting,callback:function(t){e.$set(e.signal,"isInterrupting",t)},expression:"signal.isInterrupting"}})],1):e._e(),["bpmn:BoundaryEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({cancelActivity:e.signal.cancelActivity})}},model:{value:e.signal.cancelActivity,callback:function(t){e.$set(e.signal,"cancelActivity",t)},expression:"signal.cancelActivity"}})],1):e._e(),n("el-form-item",{attrs:{label:"信号引用"}},[n("el-select",{attrs:{clearable:"",filterable:"","allow-create":"",placeholder:"信号引用"},on:{change:function(t){e.setEventDefinitions(e.type,{signalRef:t?e.createElement(e.signalType,{id:t,name:t}):void 0})}},model:{value:e.signal.signalRef,callback:function(t){e.$set(e.signal,"signalRef",t)},expression:"signal.signalRef"}},e._l(e.signalList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)},eF=[],tF=(n("adae"),{name:"wf-signal-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.isInterrupting,n=e.cancelActivity;void 0==t&&(t=!0),void 0==n&&(n=!0),this.$set(this.signal,"isInterrupting",t),this.$set(this.signal,"cancelActivity",n);var i=this.getRootElements(this.signalType);this.$set(this,"signalList",i);var o=this.getEventDefinitions(this.type);if(o&&o.length>0){var r=o[0].signalRef;r&&(i.find((function(e){return e.id==r.id}))?this.$set(this.signal,"signalRef",r.id):this.setEventDefinitions(this.type,{signalRef:void 0}))}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:SignalEventDefinition",signalType:"bpmn:Signal",signal:{},signalList:[],form:{},option:{size:"mini",tip:!1,border:!0,dialogType:"drawer",viewBtn:!1,menuWidth:"150px",align:"center",refreshBtn:!1,filterBtn:!1,searchShowBtn:!1,columnBtn:!1,addBtnText:"新 增 信 号",column:[{label:"ID",prop:"id",overHidden:!0,span:24,editDisabled:!0,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]},{label:"Name",prop:"name",overHidden:!0,span:24,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]}]}}},methods:{handleAdd:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements();if(-1!=s.findIndex((function(t){return t.$type==i.signalType&&t.id==e.id})))return this.$message.error("ID:".concat(o," 已存在")),void n();s.unshift(this.createElement(this.signalType,{id:o,name:r})),this.signalList.push(e),t()},handleEdit:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements(),a=s.findIndex((function(t){return t.$type==i.signalType&&t.id==e.id}));s.splice(a,1,this.createElement(this.signalType,{id:o,name:r})),this.signalList.splice(t,1,e),n()},handleDelete:function(e){var t=this;this.$confirm("确定要删除此项吗?","警告",{type:"warning"}).then((function(){var n=t.signalList.findIndex((function(t){return t.id==e.id})),i=t.getRootElements(),o=i.findIndex((function(n){return n.$type==t.signalType&&n.id==e.id}));i.splice(o,1),t.signalList.splice(n,1)})).catch((function(){}))}}}),nF=tF,iF=tP(nF,ZP,eF,!1,null,null,null),oF=iF.exports,rF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.message,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[n("avue-crud",{staticStyle:{"margin-bottom":"10px"},attrs:{data:e.messageList,option:e.option},on:{"row-save":e.handleAdd,"row-update":e.handleEdit,"row-del":e.handleDelete},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}),["bpmn:StartEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({isInterrupting:e.message.isInterrupting})}},model:{value:e.message.isInterrupting,callback:function(t){e.$set(e.message,"isInterrupting",t)},expression:"message.isInterrupting"}})],1):e._e(),["bpmn:BoundaryEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({cancelActivity:e.message.cancelActivity})}},model:{value:e.message.cancelActivity,callback:function(t){e.$set(e.message,"cancelActivity",t)},expression:"message.cancelActivity"}})],1):e._e(),n("el-form-item",{attrs:{label:"消息引用"}},[n("el-select",{attrs:{clearable:"",filterable:"","allow-create":"",placeholder:"消息引用"},on:{change:function(t){e.setEventDefinitions(e.type,{messageRef:t?e.createElement(e.messageType,{id:t,name:t}):void 0})}},model:{value:e.message.messageRef,callback:function(t){e.$set(e.message,"messageRef",t)},expression:"message.messageRef"}},e._l(e.messageList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)},sF=[],aF={name:"wf-message-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.isInterrupting,n=e.cancelActivity;void 0==t&&(t=!0),void 0==n&&(n=!0),this.$set(this.message,"isInterrupting",t),this.$set(this.message,"cancelActivity",n);var i=this.getRootElements(this.messageType);this.$set(this,"messageList",i);var o=this.getEventDefinitions(this.type);if(o&&o.length>0){var r=o[0].messageRef;r&&(i.find((function(e){return e.id==r.id}))?this.$set(this.message,"messageRef",r.id):this.setEventDefinitions(this.type,{messageRef:void 0}))}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:MessageEventDefinition",messageType:"bpmn:Message",message:{},messageList:[],form:{},option:{size:"mini",tip:!1,border:!0,dialogType:"drawer",viewBtn:!1,menuWidth:"150px",align:"center",refreshBtn:!1,filterBtn:!1,searchShowBtn:!1,columnBtn:!1,addBtnText:"新 增 消 息",column:[{label:"ID",prop:"id",overHidden:!0,span:24,editDisabled:!0,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]},{label:"Name",prop:"name",overHidden:!0,span:24,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]}]}}},methods:{handleAdd:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements();if(-1!=s.findIndex((function(t){return t.$type==i.messageType&&t.id==e.id})))return this.$message.error("ID:".concat(o," 已存在")),void n();s.unshift(this.createElement(this.messageType,{id:o,name:r})),this.messageList.push(e),t()},handleEdit:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements(),a=s.findIndex((function(t){return t.$type==i.messageType&&t.id==e.id}));s.splice(a,1,this.createElement(this.messageType,{id:o,name:r})),this.messageList.splice(t,1,e),n()},handleDelete:function(e){var t=this;this.$confirm("确定要删除此项吗?","警告",{type:"warning"}).then((function(){var n=t.messageList.findIndex((function(t){return t.id==e.id})),i=t.getRootElements(),o=i.findIndex((function(n){return n.$type==t.messageType&&n.id==e.id}));i.splice(o,1),t.messageList.splice(n,1)})).catch((function(){}))}}},lF=aF,cF=tP(lF,rF,sF,!1,null,null,null),hF=cF.exports,uF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.error,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[n("avue-crud",{staticStyle:{"margin-bottom":"10px"},attrs:{data:e.errorList,option:e.option},on:{"row-save":e.handleAdd,"row-update":e.handleEdit,"row-del":e.handleDelete},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}),["bpmn:StartEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({isInterrupting:e.error.isInterrupting})}},model:{value:e.error.isInterrupting,callback:function(t){e.$set(e.error,"isInterrupting",t)},expression:"error.isInterrupting"}})],1):e._e(),n("el-form-item",{attrs:{label:"错误引用"}},[n("el-select",{attrs:{clearable:"",filterable:"","allow-create":"",placeholder:"错误引用"},on:{change:function(t){e.setEventDefinitions(e.type,{errorRef:t?e.createElement(e.errorType,{id:t,name:t}):void 0})}},model:{value:e.error.errorRef,callback:function(t){e.$set(e.error,"errorRef",t)},expression:"error.errorRef"}},e._l(e.errorList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)},dF=[],pF={name:"wf-error-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.isInterrupting;void 0==t&&(t=!0),this.$set(this.error,"isInterrupting",t);var n=this.getRootElements(this.errorType);this.$set(this,"errorList",n);var i=this.getEventDefinitions(this.type);if(i&&i.length>0){var o=i[0].errorRef;n.find((function(e){return e.id==o.id}))?this.$set(this.error,"errorRef",o.id):this.setEventDefinitions(this.type,{errorRef:void 0})}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:ErrorEventDefinition",errorType:"bpmn:Error",error:{},errorList:[],form:{},option:{size:"mini",tip:!1,border:!0,dialogType:"drawer",viewBtn:!1,menuWidth:"150px",align:"center",refreshBtn:!1,filterBtn:!1,searchShowBtn:!1,columnBtn:!1,addBtnText:"新 增 错 误",column:[{label:"ID",prop:"id",overHidden:!0,span:24,editDisabled:!0,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]},{label:"Name",prop:"name",overHidden:!0,span:24,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]}]}}},methods:{handleAdd:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements();if(-1!=s.findIndex((function(t){return t.$type==i.errorType&&t.id==e.id})))return this.$error.error("ID:".concat(o," 已存在")),void n();s.unshift(this.createElement(this.errorType,{id:o,name:r})),this.errorList.push(e),t()},handleEdit:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements(),a=s.findIndex((function(t){return t.$type==i.errorType&&t.id==e.id}));s.splice(a,1,this.createElement(this.errorType,{id:o,name:r})),this.errorList.splice(t,1,e),n()},handleDelete:function(e){var t=this;this.$confirm("确定要删除此项吗?","警告",{type:"warning"}).then((function(){var n=t.errorList.findIndex((function(t){return t.id==e.id})),i=t.getRootElements(),o=i.findIndex((function(n){return n.$type==t.errorType&&n.id==e.id}));i.splice(o,1),t.errorList.splice(n,1)})).catch((function(){}))}}},fF=pF,gF=tP(fF,uF,dF,!1,null,null,null),mF=gF.exports,bF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.terminate,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[n("el-form-item",{attrs:{label:"全部终止"}},[n("el-switch",{on:{change:function(t){e.element.businessObject.eventDefinitions[0].$attrs["flowable:terminateAll"]=t}},model:{value:e.terminate.terminateAll,callback:function(t){e.$set(e.terminate,"terminateAll",t)},expression:"terminate.terminateAll"}})],1)],1)},vF=[],yF={name:"wf-terminate-event",mixins:[lP],watch:{formData:{handler:function(e){var t=this.getEventDefinitions(this.type);if(t&&t.length>0){var n=t[0].$attrs["flowable:terminateAll"];n&&this.$set(this.terminate,"terminateAll",JSON.parse(n))}},deep:!0,immediate:!0}},data:function(){return{terminate:{}}}},wF=yF,_F=tP(wF,bF,vF,!1,null,null,null),AF=_F.exports,CF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.compensate,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[n("avue-crud",{staticStyle:{"margin-bottom":"10px"},attrs:{data:e.compensateList,option:e.option},on:{"row-save":e.handleAdd,"row-update":e.handleEdit,"row-del":e.handleDelete},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}),n("el-form-item",{attrs:{label:"活动引用"}},[n("el-select",{attrs:{clearable:"",filterable:"","allow-create":"",placeholder:"活动引用"},on:{change:function(t){e.setEventDefinitions(e.type,{activityRef:t?e.createElement(e.compensateType,{id:t,name:t}):void 0})}},model:{value:e.compensate.activityRef,callback:function(t){e.$set(e.compensate,"activityRef",t)},expression:"compensate.activityRef"}},e._l(e.compensateList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)},EF=[],xF={name:"wf-compensate-event",mixins:[lP],watch:{formData:{handler:function(e){var t=this.getRootElements(this.compensateType);this.$set(this,"compensateList",t);var n=this.getEventDefinitions(this.type);if(n&&n.length>0){var i=n[0].activityRef;t.find((function(e){return e.id==i.id}))?this.$set(this.compensate,"activityRef",i.id):this.setEventDefinitions(this.type,{activityRef:void 0})}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:CompensateEventDefinition",compensateType:"bpmn:Activity",compensate:{},compensateList:[],form:{},option:{size:"mini",tip:!1,border:!0,dialogType:"drawer",viewBtn:!1,menuWidth:"150px",align:"center",refreshBtn:!1,filterBtn:!1,searchShowBtn:!1,columnBtn:!1,addBtnText:"新 增 活 动",column:[{label:"ID",prop:"id",overHidden:!0,span:24,editDisabled:!0,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]},{label:"Name",prop:"name",overHidden:!0,span:24,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母"}]}]}}},methods:{handleAdd:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements();if(-1!=s.findIndex((function(t){return t.$type==i.compensateType&&t.id==e.id})))return this.$message.error("ID:".concat(o," 已存在")),void n();s.unshift(this.createElement(this.compensateType,{id:o,name:r})),this.compensateList.push(e),t()},handleEdit:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements(),a=s.findIndex((function(t){return t.$type==i.compensateType&&t.id==e.id}));s.splice(a,1,this.createElement(this.compensateType,{id:o,name:r})),this.compensateList.splice(t,1,e),n()},handleDelete:function(e){var t=this;this.$confirm("确定要删除此项吗?","警告",{type:"warning"}).then((function(){var n=t.compensateList.findIndex((function(t){return t.id==e.id})),i=t.getRootElements(),o=i.findIndex((function(n){return n.$type==t.compensateType&&n.id==e.id}));i.splice(o,1),t.compensateList.splice(n,1)})).catch((function(){}))}}},SF=xF,DF=tP(SF,CF,EF,!1,null,null,null),kF=DF.exports,MF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.conditional,"label-position":"left","label-suffix":":","label-width":"115px",size:"mini"}},[["bpmn:StartEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({isInterrupting:e.conditional.isInterrupting})}},model:{value:e.conditional.isInterrupting,callback:function(t){e.$set(e.conditional,"isInterrupting",t)},expression:"conditional.isInterrupting"}})],1):e._e(),["bpmn:BoundaryEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({cancelActivity:e.conditional.cancelActivity})}},model:{value:e.conditional.cancelActivity,callback:function(t){e.$set(e.conditional,"cancelActivity",t)},expression:"conditional.cancelActivity"}})],1):e._e(),n("el-form-item",{attrs:{label:"表达式"}},[n("el-input",{attrs:{clearable:"",placeholder:"表达式"},on:{input:function(t){e.setEventDefinitions(e.type,{condition:e.createElement(e.conditionType,{body:e.conditional.condition})})}},model:{value:e.conditional.condition,callback:function(t){e.$set(e.conditional,"condition",t)},expression:"conditional.condition"}})],1)],1)},NF=[],LF={name:"wf-conditional-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.isInterrupting,n=e.cancelActivity;void 0==t&&(t=!0),void 0==n&&(n=!0),this.$set(this.conditional,"isInterrupting",t),this.$set(this.conditional,"cancelActivity",n);var i=this.getEventDefinitions(this.type);if(i&&i.length>0){var o=i[0].condition;o&&this.$set(this.conditional,"condition",o.body)}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:ConditionalEventDefinition",conditionType:"bpmn:FormalExpression",conditional:{}}}},BF=LF,IF=tP(BF,MF,NF,!1,null,null,null),TF=IF.exports,OF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.escalation,"label-position":"left","label-suffix":":","label-width":"120px",size:"mini"}},[n("avue-crud",{staticStyle:{"margin-bottom":"10px"},attrs:{data:e.escalationList,option:e.option},on:{"row-save":e.handleAdd,"row-update":e.handleEdit,"row-del":e.handleDelete},model:{value:e.form,callback:function(t){e.form=t},expression:"form"}}),["bpmn:BoundaryEvent"].includes(e.formData.$type)?n("el-form-item",{attrs:{label:"是否中断"}},[n("el-switch",{on:{change:function(t){return e.updateProperties({cancelActivity:e.escalation.cancelActivity})}},model:{value:e.escalation.cancelActivity,callback:function(t){e.$set(e.escalation,"cancelActivity",t)},expression:"escalation.cancelActivity"}})],1):e._e(),n("el-form-item",{attrs:{label:"升级引用"}},[n("el-select",{attrs:{clearable:"",filterable:"","allow-create":"",placeholder:"升级引用"},on:{change:function(t){e.setEventDefinitions(e.type,{escalationRef:t?e.createElement(e.escalationType,{id:t,name:t}):void 0})}},model:{value:e.escalation.escalationRef,callback:function(t){e.$set(e.escalation,"escalationRef",t)},expression:"escalation.escalationRef"}},e._l(e.escalationList,(function(e,t){return n("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),1)],1)],1)},RF=[],PF={name:"wf-escalation-event",mixins:[lP],watch:{formData:{handler:function(e){var t=e.cancelActivity;void 0==t&&(t=!0),this.$set(this.escalation,"cancelActivity",t);var n=this.getRootElements(this.escalationType);this.$set(this,"escalationList",n);var i=this.getEventDefinitions(this.type);if(i&&i.length>0){var o=i[0].escalationRef;n.find((function(e){return e.id==o.id}))?this.$set(this.escalation,"escalationRef",o.id):this.setEventDefinitions(this.type,{escalationRef:void 0})}},deep:!0,immediate:!0}},data:function(){return{type:"bpmn:EscalationEventDefinition",escalationType:"bpmn:Escalation",escalation:{},escalationList:[],form:{},option:{size:"mini",tip:!1,border:!0,dialogType:"drawer",viewBtn:!1,menuWidth:"150px",align:"center",refreshBtn:!1,filterBtn:!1,searchShowBtn:!1,columnBtn:!1,addBtnText:"新 增 升 级",column:[{label:"ID",prop:"id",overHidden:!0,span:24,editDisabled:!0,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母,且不能包含中文"}]},{label:"Name",prop:"name",overHidden:!0,span:24,rules:[{required:!0,trigger:"blur"},{pattern:/^[a-zA-Z][a-zA-Z0-9_]*$/,message:"开头必须是字母,且不能包含中文"}]}]}}},methods:{handleAdd:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements();if(-1!=s.findIndex((function(t){return t.$type==i.escalationType&&t.id==e.id})))return this.$escalation.escalation("ID:".concat(o," 已存在")),void n();s.unshift(this.createElement(this.escalationType,{id:o,name:r})),this.escalationList.push(e),t()},handleEdit:function(e,t,n){var i=this,o=e.id,r=e.name;delete e.$index;var s=this.getRootElements(),a=s.findIndex((function(t){return t.$type==i.escalationType&&t.id==e.id}));s.splice(a,1,this.createElement(this.escalationType,{id:o,name:r})),this.escalationList.splice(t,1,e),n()},handleDelete:function(e){var t=this;this.$confirm("确定要删除此项吗?","警告",{type:"warning"}).then((function(){var n=t.escalationList.findIndex((function(t){return t.id==e.id})),i=t.getRootElements(),o=i.findIndex((function(n){return n.$type==t.escalationType&&n.id==e.id}));i.splice(o,1),t.escalationList.splice(n,1)})).catch((function(){}))}}},FF=PF,jF=tP(FF,OF,RF,!1,null,null,null),QF=jF.exports,zF={name:"wf-event",mixins:[lP],components:{WfTimerEvent:$P,WfSignalEvent:oF,WfMessageEvent:hF,WfErrorEvent:mF,WfTerminateEvent:AF,WfCompensateEvent:kF,WfConditionalEvent:TF,WfEscalationEvent:QF},watch:{formData:{handler:function(){var e=this.getEventDefinitions();e&&e.length>0&&this.$set(this,"type",e[0].$type)},deep:!0,immediate:!0}},data:function(){return{type:""}}},VF=zF,WF=tP(VF,UP,YP,!1,null,null,null),HF=WF.exports,UF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.formData,"label-position":"left","label-width":"90px","label-suffix":":",size:"mini"}},[n("el-form-item",{attrs:{label:"子流程key",prop:"callElement"}},[n("el-input",{attrs:{clearable:"",placeholder:"子流程key"},on:{input:function(t){return e.updateProperties({calledElement:e.formData.calledElement,calledElementType:"key"})}},model:{value:e.formData.calledElement,callback:function(t){e.$set(e.formData,"calledElement",t)},expression:"formData.calledElement"}})],1),n("el-form-item",{attrs:{label:"继承变量"}},[n("el-switch",{attrs:{"active-value":"true","inactive-value":"false"},on:{change:function(t){return e.updateProperties({inheritVariables:e.formData.inheritVariables||void 0})}},model:{value:e.formData.inheritVariables,callback:function(t){e.$set(e.formData,"inheritVariables",t)},expression:"formData.inheritVariables"}})],1),n("el-form-item",{attrs:{label:"同一部署"}},[n("el-switch",{attrs:{"active-value":"true","inactive-value":"false"},on:{change:function(t){return e.updateProperties({sameDeployment:e.formData.sameDeployment||void 0})}},model:{value:e.formData.sameDeployment,callback:function(t){e.$set(e.formData,"sameDeployment",t)},expression:"formData.sameDeployment"}})],1)],1)},YF=[],GF={name:"wf-call",mixins:[lP],watch:{formData:{handler:function(e){this.clearExtensionElements()},deep:!0,immediate:!0}}},KF=GF,qF=tP(KF,UF,YF,!1,null,null,null),JF=qF.exports,XF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{attrs:{model:e.service,"label-position":"left","label-suffix":":","label-width":"90px",size:"mini"}},[n("el-form-item",{attrs:{label:"类型",prop:"type"}},[n("el-select",{attrs:{placeholder:"类型"},on:{change:e.handleTypeChange},model:{value:e.service.type,callback:function(t){e.$set(e.service,"type",t)},expression:"service.type"}},e._l(e.typeOption,(function(e){return n("el-option",{key:e.label,attrs:{label:e.label,value:e.value}})})),1)],1),["class","delegateExpression","expression"].includes(e.service.type)?[n("wf-java-service",{attrs:{modeler:e.modeler,element:e.element,"java-type":e.service.type}})]:e._e(),["http"].includes(e.service.type)?[n("wf-http-service",{attrs:{modeler:e.modeler,element:e.element}})]:e._e(),["shell"].includes(e.service.type)?[n("wf-shell-service",{attrs:{modeler:e.modeler,element:e.element,"script-option":e.scriptOption}})]:e._e(),["mail"].includes(e.service.type)?[n("wf-mail-service",{attrs:{modeler:e.modeler,element:e.element}})]:e._e()],2)},$F=[],ZF=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["class"==e.javaType?n("el-form-item",{attrs:{label:"类"}},[n("el-input",{attrs:{placeholder:"类",clearable:""},on:{change:function(t){return e.handleChange("class",t)}},model:{value:e.java.class,callback:function(t){e.$set(e.java,"class",t)},expression:"java.class"}})],1):e._e(),"delegateExpression"==e.javaType?n("el-form-item",{attrs:{label:"代理表达式","label-width":"100px"}},[n("el-input",{attrs:{placeholder:"代理表达式",clearable:""},on:{change:function(t){return e.handleChange("delegateExpression",t)}},model:{value:e.java.delegateExpression,callback:function(t){e.$set(e.java,"delegateExpression",t)},expression:"java.delegateExpression"}})],1):e._e(),"expression"==e.javaType?n("el-form-item",{attrs:{label:"表达式"}},[n("el-input",{attrs:{placeholder:"表达式",clearable:""},on:{change:function(t){return e.handleChange("expression",t)}},model:{value:e.java.expression,callback:function(t){e.$set(e.java,"expression",t)},expression:"java.expression"}})],1):e._e()],1)},ej=[],tj={name:"java",mixins:[lP],props:{javaType:String},watch:{formData:{handler:function(e){var t=e.delegateExpression,n=e.expression,i=e.class;i?this.$set(this.java,"class",i):t?this.$set(this.java,"delegateExpression",t):n&&this.$set(this.java,"expression",n)},deep:!0,immediate:!0}},data:function(){return{java:{}}},methods:{handleChange:function(e,t){this.updateProperties(Object.assign({type:void 0,class:void 0,delegateExpression:void 0,expression:void 0},u({},e,t))),this.updateProperties({extensionElements:this.modeler.get("bpmnFactory").create("bpmn:ExtensionElements",{values:this.getExtensionElementsNotEq("flowable:Field")})})}}},nj=tj,ij=tP(nj,ZF,ej,!1,null,null,null),oj=ij.exports,rj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-form-item",{attrs:{label:"请求方法",prop:"requestMethod"}},[n("el-select",{attrs:{placeholder:"请求方法",clearable:""},on:{change:function(t){return e.handleChange("requestMethod",t)}},model:{value:e.http.requestMethod,callback:function(t){e.$set(e.http,"requestMethod",t)},expression:"http.requestMethod"}},[n("el-option",{attrs:{label:"GET",value:"GET"}}),n("el-option",{attrs:{label:"POST",value:"POST"}}),n("el-option",{attrs:{label:"PUT",value:"PUT"}}),n("el-option",{attrs:{label:"DELETE",value:"DELETE"}})],1)],1),n("el-form-item",{attrs:{label:"请求URL",prop:"requestUrl"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请求URL",autosize:"",clearable:""},on:{change:function(t){return e.handleChange("requestUrl",t)}},model:{value:e.http.requestUrl,callback:function(t){e.$set(e.http,"requestUrl",t)},expression:"http.requestUrl"}})],1),n("el-form-item",{attrs:{label:"请求头",prop:"requestHeaders"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请求头,多条请换行",autosize:"",clearable:""},on:{change:function(t){return e.handleChange("requestHeaders",t)}},model:{value:e.http.requestHeaders,callback:function(t){e.$set(e.http,"requestHeaders",t)},expression:"http.requestHeaders"}})],1),n("el-form-item",{attrs:{label:"请求体",prop:"requestBody"}},[n("el-input",{attrs:{type:"textarea",placeholder:"{\n   name: ${name}, \n   age: ${age}\n}",autosize:"",clearable:""},on:{change:function(t){return e.handleChange("requestBody",t)}},model:{value:e.http.requestBody,callback:function(t){e.$set(e.http,"requestBody",t)},expression:"http.requestBody"}})],1),n("el-form-item",{attrs:{label:"超时时间"}},[n("el-input",{attrs:{placeholder:"超时时间,单位毫秒",clearable:""},on:{change:function(t){return e.handleChange("requestTimeout",t)}},model:{value:e.http.requestTimeout,callback:function(t){e.$set(e.http,"requestTimeout",t)},expression:"http.requestTimeout"}})],1),n("el-form-item",{attrs:{label:"禁用重定向","label-width":"100px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("disallowRedirects",t)}},model:{value:e.http.disallowRedirects,callback:function(t){e.$set(e.http,"disallowRedirects",t)},expression:"http.disallowRedirects"}})],1),n("el-form-item",{attrs:{label:"错误状态码","label-width":"100px"}},[n("el-input",{attrs:{type:"textarea",placeholder:"逗号分隔的Http状态码,将令请求失败并抛出FlowableException",autosize:""},on:{change:function(t){return e.handleChange("failStatusCodes",t)}},model:{value:e.http.failStatusCodes,callback:function(t){e.$set(e.http,"failStatusCodes",t)},expression:"http.failStatusCodes"}})],1),n("el-form-item",{attrs:{label:"捕获状态码","label-width":"100px"}},[n("el-input",{attrs:{type:"textarea",placeholder:"逗号分隔的Http状态码,将令任务抛出BpmnError,并可用错误边界事件捕获",autosize:""},on:{change:function(t){return e.handleChange("handleStatusCodes",t)}},model:{value:e.http.handleStatusCodes,callback:function(t){e.$set(e.http,"handleStatusCodes",t)},expression:"http.handleStatusCodes"}})],1),n("el-form-item",{attrs:{label:"忽略异常","label-width":"160px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("ignoreException",t)}},model:{value:e.http.ignoreException,callback:function(t){e.$set(e.http,"ignoreException",t)},expression:"http.ignoreException"}})],1),n("el-form-item",{attrs:{label:"保存请求变量","label-width":"160px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("saveRequestVariables",t)}},model:{value:e.http.saveRequestVariables,callback:function(t){e.$set(e.http,"saveRequestVariables",t)},expression:"http.saveRequestVariables"}}),n("h5",[e._v("默认只会保存响应相关的变量。")])],1),n("el-form-item",{attrs:{label:"保存全部的响应变量","label-width":"160px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("saveResponseParameters",t)}},model:{value:e.http.saveResponseParameters,callback:function(t){e.$set(e.http,"saveResponseParameters",t)},expression:"http.saveResponseParameters"}}),n("h5",[e._v("包括HTTP状态码,响应头等。默认只会将响应体保存为变量。")])],1),n("el-form-item",{attrs:{label:"变量名前缀","label-width":"100px"}},[n("el-input",{attrs:{placeholder:"默认变量名为<taskId>.fieldName",clearable:""},on:{change:function(t){return e.handleChange("resultVariablePrefix",t)}},model:{value:e.http.resultVariablePrefix,callback:function(t){e.$set(e.http,"resultVariablePrefix",t)},expression:"http.resultVariablePrefix"}})],1),n("el-form-item",{attrs:{label:"瞬时变量","label-width":"100px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("saveResponseParametersTransient",t)}},model:{value:e.http.saveResponseParametersTransient,callback:function(t){e.$set(e.http,"saveResponseParametersTransient",t)},expression:"http.saveResponseParametersTransient"}})],1),n("el-form-item",{attrs:{label:"JSON格式","label-width":"100px"}},[n("el-switch",{attrs:{"active-text":"是","inactive-text":"否","active-value":"true","inactive-value":"false"},on:{change:function(t){return e.handleChange("saveResponseVariableAsJson",t)}},model:{value:e.http.saveResponseVariableAsJson,callback:function(t){e.$set(e.http,"saveResponseVariableAsJson",t)},expression:"http.saveResponseVariableAsJson"}})],1)],1)},sj=[],aj={name:"http",mixins:[lP],watch:{formData:{handler:function(){var e=this,t=this.getExtensionElementsEq("flowable:Field");t&&t.length>0&&t.forEach((function(t){e.$set(e.http,t.name,t.string||t.expression)}))},deep:!0,immediate:!0}},data:function(){return{http:{}}},methods:{handleChange:function(e,t){var n="string",i="expression";(t.includes("${")||t.includes("#{"))&&(n="expression",i="string");var o,r=this.getExtensionElementsEq("flowable:Field"),s=r.find((function(t){return t.name==e}));s?(s[n]=t,s[i]=void 0):(o={},u(o,n,t),u(o,"name",e),s=o,r.push(s));var a=[];r.forEach((function(e){var t=e.name,n=e.string,i=e.expression;a.push(u({name:t},n?"string":"expression",n||i))})),this.setExtensionElements("flowable:Field",a)}}},lj=aj,cj=tP(lj,rj,sj,!1,null,null,null),hj=cj.exports,uj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[[e.shell.command?n("el-alert",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"success",closable:!1}},[n("template",{slot:"title"},[e.shell.directory?n("span",[e._v(" cd "+e._s(e.shell.directory)+" ")]):e._e()]),e._v(" "+e._s(e.shell.command)+" "+e._s(e.shell.arg0)+" "+e._s(e.shell.arg1)+" "+e._s(e.shell.arg2)+" "+e._s(e.shell.arg3)+" "+e._s(e.shell.arg4)+" "+e._s(e.shell.arg5)+" ")],2):e._e(),n("el-form-item",{attrs:{label:"命令",prop:"command"}},[n("el-input",{attrs:{placeholder:"命令",autosize:"",clearable:""},on:{change:function(t){return e.handleChange("command",t)}},model:{value:e.shell.command,callback:function(t){e.$set(e.shell,"command",t)},expression:"shell.command"}})],1),n("el-form-item",{attrs:{label:"参数0",prop:"arg0"}},[n("el-input",{attrs:{placeholder:"参数0",clearable:""},on:{change:function(t){return e.handleChange("arg0",t)}},model:{value:e.shell.arg0,callback:function(t){e.$set(e.shell,"arg0",t)},expression:"shell.arg0"}})],1),n("el-form-item",{attrs:{label:"参数1",prop:"arg1"}},[n("el-input",{attrs:{placeholder:"参数1",clearable:""},on:{change:function(t){return e.handleChange("arg1",t)}},model:{value:e.shell.arg1,callback:function(t){e.$set(e.shell,"arg1",t)},expression:"shell.arg1"}})],1),n("el-form-item",{attrs:{label:"参数2",prop:"arg2"}},[n("el-input",{attrs:{placeholder:"参数2",clearable:""},on:{change:function(t){return e.handleChange("arg2",t)}},model:{value:e.shell.arg2,callback:function(t){e.$set(e.shell,"arg2",t)},expression:"shell.arg2"}})],1),n("el-form-item",{attrs:{label:"参数3",prop:"arg3"}},[n("el-input",{attrs:{placeholder:"参数3",clearable:""},on:{change:function(t){return e.handleChange("arg3",t)}},model:{value:e.shell.arg3,callback:function(t){e.$set(e.shell,"arg3",t)},expression:"shell.arg3"}})],1),n("el-form-item",{attrs:{label:"参数4",prop:"arg4"}},[n("el-input",{attrs:{placeholder:"参数4",clearable:""},on:{change:function(t){return e.handleChange("arg4",t)}},model:{value:e.shell.arg4,callback:function(t){e.$set(e.shell,"arg4",t)},expression:"shell.arg4"}})],1),n("el-form-item",{attrs:{label:"参数5",prop:"arg5"}},[n("el-input",{attrs:{placeholder:"参数5",clearable:""},on:{change:function(t){return e.handleChange("arg5",t)}},model:{value:e.shell.arg5,callback:function(t){e.$set(e.shell,"arg5",t)},expression:"shell.arg5"}})],1),n("el-form-item",{attrs:{label:"输出变量",prop:"outputVariable"}},[n("el-input",{attrs:{placeholder:"输出变量",clearable:""},on:{change:function(t){return e.handleChange("outputVariable",t)}},model:{value:e.shell.outputVariable,callback:function(t){e.$set(e.shell,"outputVariable",t)},expression:"shell.outputVariable"}})],1),n("el-form-item",{attrs:{label:"错误变量",prop:"errorCodeVariable"}},[n("el-input",{attrs:{placeholder:"错误变量",clearable:""},on:{change:function(t){return e.handleChange("errorCodeVariable",t)}},model:{value:e.shell.errorCodeVariable,callback:function(t){e.$set(e.shell,"errorCodeVariable",t)},expression:"shell.errorCodeVariable"}})],1),n("el-form-item",{attrs:{label:"初始目录",prop:"directory"}},[n("el-input",{attrs:{placeholder:"初始目录",clearable:""},on:{change:function(t){return e.handleChange("directory",t)}},model:{value:e.shell.directory,callback:function(t){e.$set(e.shell,"directory",t)},expression:"shell.directory"}})],1)]],2)},dj=[],pj={name:"shell",mixins:[lP],watch:{formData:{handler:function(){var e=this,t=this.getExtensionElementsEq("flowable:Field");t&&t.length>0&&t.forEach((function(t){e.$set(e.shell,t.name,t.string||t.expression)}))},deep:!0,immediate:!0}},data:function(){return{shell:{}}},methods:{handleChange:function(e,t){var n="string",i="expression";(t.includes("${")||t.includes("#{"))&&(n="expression",i="string");var o,r=this.getExtensionElementsEq("flowable:Field"),s=r.find((function(t){return t.name==e}));s?(s[n]=t,s[i]=void 0):(o={},u(o,n,t),u(o,"name",e),s=o,r.push(s));var a=[];r.forEach((function(e){var t=e.name,n=e.string,i=e.expression;a.push(u({name:t},n?"string":"expression",n||i))})),this.setExtensionElements("flowable:Field",a)}}},fj=pj,gj=tP(fj,uj,dj,!1,null,null,null),mj=gj.exports,bj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-alert",{staticStyle:{"margin-bottom":"10px"},attrs:{type:"warning",title:"使用前请先参照文档配置邮件服务器!!!",closable:!1}}),n("el-form-item",{attrs:{label:"收信人"}},[n("el-input",{attrs:{placeholder:"收信人,多个逗号分隔",type:"textarea",autosize:"",clearable:""},on:{change:function(t){return e.handleChange("to",t)}},model:{value:e.mail.to,callback:function(t){e.$set(e.mail,"to",t)},expression:"mail.to"}})],1),n("el-form-item",{attrs:{label:"发信人"}},[n("el-input",{attrs:{placeholder:"发信人,不设置使用默认发信人",clearable:""},on:{change:function(t){return e.handleChange("from",t)}},model:{value:e.mail.from,callback:function(t){e.$set(e.mail,"from",t)},expression:"mail.from"}})],1),n("el-form-item",{attrs:{label:"主题"}},[n("el-input",{attrs:{placeholder:"主题",type:"textarea",autosize:""},on:{change:function(t){return e.handleChange("subject",t)}},model:{value:e.mail.subject,callback:function(t){e.$set(e.mail,"subject",t)},expression:"mail.subject"}})],1),n("el-form-item",{attrs:{label:"抄送人"}},[n("el-input",{attrs:{placeholder:"抄送人,多个逗号分隔",type:"textarea",autosize:""},on:{change:function(t){return e.handleChange("cc",t)}},model:{value:e.mail.cc,callback:function(t){e.$set(e.mail,"cc",t)},expression:"mail.cc"}})],1),n("el-form-item",{attrs:{label:"密送人"}},[n("el-input",{attrs:{placeholder:"密送人,多个逗号分隔",type:"textarea",autosize:""},on:{change:function(t){return e.handleChange("bcc",t)}},model:{value:e.mail.bcc,callback:function(t){e.$set(e.mail,"bcc",t)},expression:"mail.bcc"}})],1),n("el-form-item",{attrs:{label:"字符集"}},[n("el-input",{attrs:{placeholder:"字符集",clearable:""},on:{change:function(t){return e.handleChange("charset",t)}},model:{value:e.mail.charset,callback:function(t){e.$set(e.mail,"charset",t)},expression:"mail.charset"}})],1),n("el-form-item",{attrs:{label:"html"}},[n("el-input",{attrs:{placeholder:"html",type:"textarea",autosize:""},on:{change:function(t){return e.handleChange("html",t)}},model:{value:e.mail.html,callback:function(t){e.$set(e.mail,"html",t)},expression:"mail.html"}})],1),n("el-form-item",{attrs:{label:"text"}},[n("el-input",{attrs:{placeholder:"text",type:"textarea",autosize:""},on:{change:function(t){return e.handleChange("text",t)}},model:{value:e.mail.text,callback:function(t){e.$set(e.mail,"text",t)},expression:"mail.text"}})],1),n("el-form-item",{attrs:{label:"html变量"}},[n("el-input",{attrs:{placeholder:"html变量名",clearable:""},on:{change:function(t){return e.handleChange("htmlVar",t)}},model:{value:e.mail.htmlVar,callback:function(t){e.$set(e.mail,"htmlVar",t)},expression:"mail.htmlVar"}})],1),n("el-form-item",{attrs:{label:"text变量"}},[n("el-input",{attrs:{placeholder:"text变量名",clearable:""},on:{change:function(t){return e.handleChange("textVar",t)}},model:{value:e.mail.textVar,callback:function(t){e.$set(e.mail,"textVar",t)},expression:"mail.textVar"}})],1)],1)},vj=[],yj={name:"mail",mixins:[lP],watch:{formData:{handler:function(){var e=this,t=this.getExtensionElementsEq("flowable:Field");t&&t.length>0&&t.forEach((function(t){e.$set(e.mail,t.name,t.string||t.expression)}))},deep:!0,immediate:!0}},data:function(){return{mail:{}}},methods:{handleChange:function(e,t){var n="string",i="expression";(t.includes("${")||t.includes("#{"))&&(n="expression",i="string");var o,r=this.getExtensionElementsEq("flowable:Field"),s=r.find((function(t){return t.name==e}));s?(s[n]=t,s[i]=void 0):(o={},u(o,n,t),u(o,"name",e),s=o,r.push(s));var a=[];r.forEach((function(e){var t=e.name,n=e.string,i=e.expression;a.push(u({name:t},n?"string":"expression",n||i))})),this.setExtensionElements("flowable:Field",a)}}},wj=yj,_j=tP(wj,bj,vj,!1,null,null,null),Aj=_j.exports,Cj={name:"service",mixins:[lP],components:{WfJavaService:oj,WfHttpService:hj,WfShellService:mj,WfMailService:Aj},watch:{formData:{handler:function(e){var t=e.delegateExpression,n=e.expression,i=e.type,o=e.class;i?this.$set(this.service,"type",i):o?this.$set(this.service,"type","clazz"):t?this.$set(this.service,"type","delegateExpression"):n&&this.$set(this.service,"type","expression"),this.updateProperties({extensionElements:this.modeler.get("bpmnFactory").create("bpmn:ExtensionElements",{values:this.getExtensionElementsEq("flowable:Field")})})},deep:!0,immediate:!0}},data:function(){return{service:{},typeOption:[{label:"类",value:"class"},{label:"代理表达式",value:"delegateExpression"},{label:"表达式",value:"expression"},{label:"Http",value:"http"},{label:"Shell",value:"shell"},{label:"Mail",value:"mail"}]}},methods:{handleTypeChange:function(e){this.$set(this.service,"type",e),["http","shell","mail"].includes(e)&&(this.updateProperties({type:e,class:void 0,delegateExpression:void 0,expression:void 0}),this.updateProperties({extensionElements:this.modeler.get("bpmnFactory").create("bpmn:ExtensionElements",{values:void 0})}))}}},Ej=Cj,xj=tP(Ej,XF,$F,!1,null,null,null),Sj=xj.exports,Dj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-form",{attrs:{model:e.script,"label-position":"left","label-suffix":":","label-width":"90px",size:"mini"}},[n("el-form-item",{attrs:{label:"类型"}},[n("el-input",{attrs:{placeholder:"类型",autosize:"",clearable:""},on:{input:function(t){return e.updateProperties({scriptFormat:e.formData.scriptFormat||void 0})}},model:{value:e.formData.scriptFormat,callback:function(t){e.$set(e.formData,"scriptFormat",t)},expression:"formData.scriptFormat"}})],1),n("el-form-item",{attrs:{label:"脚本"}},[n("el-input",{attrs:{type:"textarea",placeholder:"脚本",autosize:""},on:{input:function(t){return e.updateProperties({script:e.formData.script||void 0})}},model:{value:e.formData.script,callback:function(t){e.$set(e.formData,"script",t)},expression:"formData.script"}})],1),n("el-form-item",{attrs:{label:"结果变量"}},[n("el-input",{attrs:{placeholder:"结果变量",autosize:"",clearable:""},on:{input:function(t){return e.updateProperties({resultVariable:e.formData.resultVariable||void 0})}},model:{value:e.formData.resultVariable,callback:function(t){e.$set(e.formData,"resultVariable",t)},expression:"formData.resultVariable"}})],1)],1)],1)},kj=[],Mj={name:"script",mixins:[lP],watch:{formData:{handler:function(){this.updateProperties({extensionElements:this.modeler.get("bpmnFactory").create("bpmn:ExtensionElements",{values:void 0})})},deep:!0,immediate:!0}}},Nj=Mj,Lj=tP(Nj,Dj,kj,!1,null,null,null),Bj=Lj.exports,Ij={name:"node-panel",mixins:[lP],components:{WfBasic:fP,WfAssignee:wP,WfListener:BP,WfMultiInstance:FP,WfCondition:HP,WfEvent:HF,WfCall:JF,WfService:Sj,WfScript:Bj},computed:{type:function(){return this.element.type}},data:function(){return{activeName:["1"]}},methods:{changeCollapse:function(e){this.activeName="close"==e?[]:["1","2","3","4","5","6","7","8","9","99"]}}},Tj=Ij,Oj=tP(Tj,sP,aP,!1,null,null,null),Rj=Oj.exports,Pj=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-collapse",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[n("el-collapse-item",{attrs:{name:"1"}},[n("template",{slot:"title"},[n("span",[e._v("基本配置 "),n("i",{staticClass:"el-icon-info"})])]),n("el-form",{staticStyle:{"padding-top":"10px"},attrs:{model:e.formData,"label-suffix":":","label-position":"left","label-width":"110px",size:"mini"}},[n("el-form-item",{attrs:{label:"流程key"}},[n("el-input",{attrs:{clearable:"",placeholder:"流程key"},on:{input:function(t){return e.updateProperties({id:e.formData.id})}},model:{value:e.formData.id,callback:function(t){e.$set(e.formData,"id",t)},expression:"formData.id"}})],1),n("el-form-item",{attrs:{label:"流程名称"}},[n("el-input",{attrs:{clearable:"",placeholder:"流程名称"},on:{input:function(t){return e.updateProperties({name:e.formData.name})}},model:{value:e.formData.name,callback:function(t){e.$set(e.formData,"name",t)},expression:"formData.name"}})],1),n("el-form-item",{attrs:{label:"流程描述"}},[n("el-input",{attrs:{placeholder:"流程描述",clearable:""},on:{input:e.updateDocumentation},model:{value:e.formData.description,callback:function(t){e.$set(e.formData,"description",t)},expression:"formData.description"}})],1)],1)],2)],1)},Fj=[],jj={name:"process",mixins:[lP],data:function(){return{activeName:["1"]}}},Qj=jj,zj=tP(Qj,Pj,Fj,!1,null,null,null),Vj=zj.exports,Wj={name:"panel",components:{NodePanel:Rj,ProcessPanel:Vj},props:{modeler:{type:Object,required:!0},formOption:[Object,String],buttonOption:Array},data:function(){return{activeTab:"process",openAllCollapse:!0,rootElement:null,element:null}},watch:{modeler:{handler:function(){this.addEventListener()},immediate:!0}},methods:{addEventListener:function(){var e=this;this.modeler.on("root.added",(function(t){var n=t.element;"bpmn:Process"==n.type&&(e.rootElement=n)})),this.modeler.on("selection.changed",(function(t){var n=t.newSelection;0==n.length?(e.element=null,e.activeTab="process",e.$nextTick((function(){}))):1==n.length?(e.element=n[0],e.activeTab="node"):(e.element=null,e.activeTab="process")}))},handleChangeCollapse:function(e){var t=this.$refs.node;t?(this.openAllCollapse=!this.openAllCollapse,t.changeCollapse(e)):this.$message.error("选择节点后配置")}}},Hj=Wj,Uj=tP(Hj,oP,rP,!1,null,null,null),Yj=Uj.exports,Gj=n("9ea0"),Kj=n.n(Gj);function qj(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Jj=qj((function(e){var t=e.exports=function(e,n){if(n||(n=16),void 0===e&&(e=128),e<=0)return"0";for(var i=Math.log(Math.pow(2,e))/Math.log(n),o=2;i===1/0;o*=2)i=Math.log(Math.pow(2,e/o))/Math.log(n)*o;var r=i-Math.floor(i),s="";for(o=0;o<Math.floor(i);o++){var a=Math.floor(Math.random()*n).toString(n);s=a+s}if(r){var l=Math.pow(n,r);a=Math.floor(Math.random()*l).toString(n);s=a+s}var c=parseInt(s,n);return c!==1/0&&c>=Math.pow(2,e)?t(e,n):s};t.rack=function(e,n,i){var o=function(o){var s=0;do{if(s++>10){if(!i)throw new Error("too many ID collisions, use more bits");e+=i}var a=t(e,n)}while(Object.hasOwnProperty.call(r,a));return r[a]=o,a},r=o.hats={};return o.get=function(e){return o.hats[e]},o.set=function(e,t){return o.hats[e]=t,o},o.bits=e||128,o.base=n||16,o}}));function Xj(e){if(!(this instanceof Xj))return new Xj(e);e=e||[128,36,1],this._seed=e.length?Jj.rack(e[0],e[1],e[2]):e}Xj.prototype.next=function(e){return this._seed(e||!0)},Xj.prototype.nextPrefixed=function(e,t){var n;do{n=e+this.next(!0)}while(this.assigned(n));return this.claim(n,t),n},Xj.prototype.claim=function(e,t){this._seed.set(e,t||!0)},Xj.prototype.assigned=function(e){return this._seed.get(e)||!1},Xj.prototype.unclaim=function(e){delete this._seed.hats[e]},Xj.prototype.clear=function(){var e,t=this._seed.hats;for(e in t)this.unclaim(e)};var $j=Xj,Zj=n("c201"),eQ=n("7299");function tQ(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch(n){}return e}function nQ(e,t){return t.appendChild(tQ(e,t))}function iQ(e,t){return nQ(t,e),e}var oQ=2,rQ={"alignment-baseline":1,"baseline-shift":1,clip:1,"clip-path":1,"clip-rule":1,color:1,"color-interpolation":1,"color-interpolation-filters":1,"color-profile":1,"color-rendering":1,cursor:1,direction:1,display:1,"dominant-baseline":1,"enable-background":1,fill:1,"fill-opacity":1,"fill-rule":1,filter:1,"flood-color":1,"flood-opacity":1,font:1,"font-family":1,"font-size":oQ,"font-size-adjust":1,"font-stretch":1,"font-style":1,"font-variant":1,"font-weight":1,"glyph-orientation-horizontal":1,"glyph-orientation-vertical":1,"image-rendering":1,kerning:1,"letter-spacing":1,"lighting-color":1,marker:1,"marker-end":1,"marker-mid":1,"marker-start":1,mask:1,opacity:1,overflow:1,"pointer-events":1,"shape-rendering":1,"stop-color":1,"stop-opacity":1,stroke:1,"stroke-dasharray":1,"stroke-dashoffset":1,"stroke-linecap":1,"stroke-linejoin":1,"stroke-miterlimit":1,"stroke-opacity":1,"stroke-width":oQ,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function sQ(e,t){return rQ[t]?e.style[t]:e.getAttributeNS(null,t)}function aQ(e,t,n){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=rQ[i];o?(o===oQ&&"number"===typeof n&&(n=String(n)+"px"),e.style[i]=n):e.setAttributeNS(null,t,n)}function lQ(e,t){var n,i,o=Object.keys(t);for(n=0,i;i=o[n];n++)aQ(e,i,t[i])}function cQ(e,t,n){if("string"===typeof t){if(void 0===n)return sQ(e,t);aQ(e,t,n)}else lQ(e,t);return e}function hQ(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}var uQ=/\s+/,dQ=Object.prototype.toString;function pQ(e){return"undefined"!==typeof e}function fQ(e){return new gQ(e)}function gQ(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function mQ(e){var t=e.parentNode;return t&&t.removeChild(e),e}function bQ(e){var t;while(t=e.firstChild)mQ(t);return e}function vQ(e){return e.cloneNode(!0)}gQ.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array(),n=hQ(t,e);return~n||t.push(e),pQ(this.el.className.baseVal)?this.el.className.baseVal=t.join(" "):this.el.className=t.join(" "),this},gQ.prototype.remove=function(e){if("[object RegExp]"===dQ.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=hQ(t,e);return~n&&t.splice(n,1),this.el.className.baseVal=t.join(" "),this},gQ.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},gQ.prototype.toggle=function(e,t){return this.list?(pQ(t)?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(pQ(t)?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},gQ.prototype.array=function(){var e=this.el.getAttribute("class")||"",t=e.replace(/^\s+|\s+$/g,""),n=t.split(uQ);return""===n[0]&&n.shift(),n},gQ.prototype.has=gQ.prototype.contains=function(e){return this.list?this.list.contains(e):!!~hQ(this.array(),e)};var yQ={svg:"http://www.w3.org/2000/svg"},wQ='<svg xmlns="'+yQ.svg+'"';function _Q(e){var t=!1;"<svg"===e.substring(0,4)?-1===e.indexOf(yQ.svg)&&(e=wQ+e.substring(4)):(e=wQ+">"+e+"</svg>",t=!0);var n=AQ(e);if(!t)return n;var i=document.createDocumentFragment(),o=n.firstChild;while(o.firstChild)i.appendChild(o.firstChild);return i}function AQ(e){var t;return t=new DOMParser,t.async=!1,t.parseFromString(e,"text/xml")}function CQ(e,t){var n;return"<"===e.charAt(0)?(n=_Q(e).firstChild,n=document.importNode(n,!0)):n=document.createElementNS(yQ.svg,e),t&&cQ(n,t),n}var EQ=CQ("svg");function xQ(e,t){var n,i,o=Object.keys(t);for(n=0;i=o[n];n++)e[i]=t[i];return e}function SQ(e,t,n,i,o,r){var s=EQ.createSVGMatrix();switch(arguments.length){case 0:return s;case 1:return xQ(s,e);case 6:return xQ(s,{a:e,b:t,c:n,d:i,e:o,f:r})}}function DQ(e){return e?EQ.createSVGTransformFromMatrix(e):EQ.createSVGTransform()}var kQ=/([&<>]{1})/g,MQ=/([\n\r"]{1})/g,NQ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"'"};function LQ(e,t){function n(e,t){return NQ[t]||t}return e.replace(t,n)}function BQ(e,t){var n,i,o,r,s;switch(e.nodeType){case 3:t.push(LQ(e.textContent,kQ));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(o=e.attributes,n=0,i=o.length;n<i;++n)r=o.item(n),t.push(" ",r.name,'="',LQ(r.value,MQ),'"');if(e.hasChildNodes()){for(t.push(">"),s=e.childNodes,n=0,i=s.length;n<i;++n)BQ(s.item(n),t);t.push("</",e.tagName,">")}else t.push("/>");break;case 8:t.push("\x3c!--",LQ(e.nodeValue,kQ),"--\x3e");break;case 4:t.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function IQ(e,t){var n=_Q(t);if(bQ(e),t){OQ(n)||(n=n.documentElement);for(var i=PQ(n.childNodes),o=0;o<i.length;o++)nQ(i[o],e)}}function TQ(e){var t=e.firstChild,n=[];while(t)BQ(t,n),t=t.nextSibling;return n.join("")}function OQ(e){return"#document-fragment"===e.nodeName}function RQ(e,t){if(void 0!==t){try{IQ(e,t)}catch(n){throw new Error("error parsing SVG: "+n.message)}return e}return TQ(e)}function PQ(e){return Array.prototype.slice.call(e)}function FQ(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function jQ(e,t){var n,i;for(e.clear(),n=0;i=t[n];n++)e.appendItem(FQ(e,i))}function QQ(e,t){var n=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),jQ(n,t)),n.consolidate()}var zQ=/^class /;function VQ(e){return zQ.test(e.toString())}function WQ(e){return"[object Array]"===Object.prototype.toString.call(e)}function HQ(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function UQ(){var e=Array.prototype.slice.call(arguments);1===e.length&&WQ(e[0])&&(e=e[0]);var t=e.pop();return t.$inject=e,t}var YQ=/constructor\s*[^(]*\(\s*([^)]*)\)/m,GQ=/^(?:async )?(?:function\s*)?[^(]*\(\s*([^)]*)\)/m,KQ=/\/\*([^*]*)\*\//m;function qQ(e){if("function"!==typeof e)throw new Error('Cannot annotate "'+e+'". Expected a function!');var t=e.toString().match(VQ(e)?YQ:GQ);return t&&t[1]&&t[1].split(",").map((function(e){return t=e.match(KQ),t?t[1].trim():e.trim()}))||[]}function JQ(){var e=[];this.factory=function(t,n){return e.push([t,"factory",n]),this},this.value=function(t,n){return e.push([t,"value",n]),this},this.type=function(t,n){return e.push([t,"type",n]),this},this.forEach=function(t){e.forEach(t)}}function XQ(e,t){t=t||{get:function(e,t){if(n.push(e),!1===t)return null;throw s('No provider for "'+e+'"!')}};var n=[],i=this._providers=Object.create(t._providers||null),o=this._instances=Object.create(null),r=o.injector=this,s=function(e){var t=n.join(" -> ");return n.length=0,new Error(t?e+" (Resolving: "+t+")":e)},a=function(e,r){if(!i[e]&&-1!==e.indexOf(".")){var l=e.split("."),c=a(l.shift());while(l.length)c=c[l.shift()];return c}if(HQ(o,e))return o[e];if(HQ(i,e)){if(-1!==n.indexOf(e))throw n.push(e),s("Cannot resolve circular dependency!");return n.push(e),o[e]=i[e][0](i[e][1]),n.pop(),o[e]}return t.get(e,r)},l=function(e,t){if("undefined"===typeof t&&(t={}),"function"!==typeof e){if(!WQ(e))throw new Error('Cannot invoke "'+e+'". Expected a function!');e=UQ(e.slice())}var n=e.$inject||qQ(e),i=n.map((function(e){return HQ(t,e)?t[e]:a(e)}));return{fn:e,dependencies:i}},c=function(e){var t=l(e),n=t.fn,i=t.dependencies,o=Function.prototype.bind.apply(n,[null].concat(i));return new o},h=function(e,t,n){var i=l(e,n),o=i.fn,r=i.dependencies;return o.apply(t,r)},u=function(e){return UQ((function(t){return e.get(t)}))},d=function(e,t){if(t&&t.length){var n,o,s,a,l=Object.create(null),c=Object.create(null),h=[],d=[],p=[];for(var f in i)n=i[f],-1!==t.indexOf(f)&&("private"===n[2]?(o=h.indexOf(n[3]),-1===o?(s=n[3].createChild([],t),a=u(s),h.push(n[3]),d.push(s),p.push(a),l[f]=[a,f,"private",s]):l[f]=[p[o],f,"private",d[o]]):l[f]=[n[2],n[1]],c[f]=!0),"factory"!==n[2]&&"type"!==n[2]||!n[1].$scope||t.forEach((function(e){-1!==n[1].$scope.indexOf(e)&&(l[f]=[n[2],n[1]],c[e]=!0)}));t.forEach((function(e){if(!c[e])throw new Error('No provider for "'+e+'". Cannot use provider from the parent!')})),e.unshift(l)}return new XQ(e,r)},p={factory:h,type:c,value:function(e){return e}};e.forEach((function(e){function t(e,t){return"value"!==e&&WQ(t)&&(t=UQ(t.slice())),t}if(e instanceof JQ)e.forEach((function(e){var n=e[0],o=e[1],r=e[2];i[n]=[p[o],t(o,r),o]}));else if("object"===typeof e)if(e.__exports__){var n=Object.keys(e).reduce((function(t,n){return"__"!==n.substring(0,2)&&(t[n]=e[n]),t}),Object.create(null)),o=new XQ((e.__modules__||[]).concat([n]),r),s=UQ((function(e){return o.get(e)}));e.__exports__.forEach((function(e){i[e]=[s,e,"private",o]}))}else Object.keys(e).forEach((function(n){if("private"!==e[n][2]){var o=e[n][0],r=e[n][1];i[n]=[p[o],t(o,r),o]}else i[n]=e[n]}))})),this.get=a,this.invoke=h,this.instantiate=c,this.createChild=d}var $Q=1e3;function ZQ(e,t){var n=this;t=t||$Q,e.on(["render.shape","render.connection"],t,(function(e,t){var i=e.type,o=t.element,r=t.gfx;if(n.canRender(o))return"render.shape"===i?n.drawShape(r,o):n.drawConnection(r,o)})),e.on(["render.getShapePath","render.getConnectionPath"],t,(function(e,t){if(n.canRender(t))return"render.getShapePath"===e.type?n.getShapePath(t):n.getConnectionPath(t)}))}function ez(e){return e.join(",").replace(/,?([A-z]),?/g,"$1")}function tz(e){for(var t,n="",i=0;t=e[i];i++)n+=t.x+","+t.y+" ";return n}function nz(e,t){var n=CQ("polyline");return cQ(n,{points:tz(e)}),t&&cQ(n,t),n}function iz(e,t){return cQ(e,{points:tz(t)}),e}function oz(e){return Object(Zj["filter"])(e,(function(t){return!Object(Zj["find"])(e,(function(e){return e!==t&&rz(t,e)}))}))}function rz(e,t){if(t){if(e===t)return t;if(e.parent)return rz(e.parent,t)}}function sz(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function az(e,t,n){n=n||0,Object(Zj["isArray"])(e)||(e=[e]),Object(Zj["forEach"])(e,(function(e,i){var o=t(e,i,n);Object(Zj["isArray"])(o)&&o.length&&az(o,t,n+1)}))}function lz(e,t,n){var i=[],o=[];return az(e,(function(e,r,s){sz(i,e,t);var a=e.children;if((-1===n||s<n)&&a&&sz(o,a,t))return a})),i}function cz(e,t){return lz(e,!t,-1)}function hz(e,t,n){Object(Zj["isUndefined"])(t)&&(t=!0),Object(Zj["isObject"])(t)&&(n=t,t=!0),n=n||{};var i=gz(n.allShapes),o=gz(n.allConnections),r=gz(n.enclosedElements),s=gz(n.enclosedConnections),a=gz(n.topLevel,t&&Object(Zj["groupBy"])(e,(function(e){return e.id})));function l(e){a[e.source.id]&&a[e.target.id]&&(a[e.id]=[e]),i[e.source.id]&&i[e.target.id]&&(s[e.id]=r[e.id]=e),o[e.id]=e}function c(e){if(r[e.id]=e,!e.waypoints)return i[e.id]=e,Object(Zj["forEach"])(e.incoming,l),Object(Zj["forEach"])(e.outgoing,l),e.children;s[e.id]=o[e.id]=e}return az(e,c),{allShapes:i,allConnections:o,topLevel:a,enclosedConnections:s,enclosedElements:r}}function uz(e,t){var n,i,o,r;return t=!!t,Object(Zj["isArray"])(e)||(e=[e]),Object(Zj["forEach"])(e,(function(e){var s=e;e.waypoints&&!t&&(s=uz(e.waypoints,!0));var a=s.x,l=s.y,c=s.height||0,h=s.width||0;(a<n||void 0===n)&&(n=a),(l<i||void 0===i)&&(i=l),(a+h>o||void 0===o)&&(o=a+h),(l+c>r||void 0===r)&&(r=l+c)})),{x:n,y:i,height:r-i,width:o-n}}function dz(e,t){var n={};return Object(Zj["forEach"])(e,(function(e){var i=e;i.waypoints&&(i=uz(i)),!Object(Zj["isNumber"])(t.y)&&i.x>t.x&&(n[e.id]=e),!Object(Zj["isNumber"])(t.x)&&i.y>t.y&&(n[e.id]=e),i.x>t.x&&i.y>t.y&&(Object(Zj["isNumber"])(t.width)&&Object(Zj["isNumber"])(t.height)&&i.width+i.x<t.width+t.x&&i.height+i.y<t.height+t.y?n[e.id]=e:Object(Zj["isNumber"])(t.width)&&Object(Zj["isNumber"])(t.height)||(n[e.id]=e))})),n}function pz(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function fz(e){return!(!e||!e.isFrame)}function gz(e,t){return Object(Zj["assign"])({},e||{},t||{})}ZQ.prototype.canRender=function(){},ZQ.prototype.drawShape=function(){},ZQ.prototype.drawConnection=function(){},ZQ.prototype.getShapePath=function(){},ZQ.prototype.getConnectionPath=function(){};var mz=1;function bz(e,t){ZQ.call(this,e,mz),this.CONNECTION_STYLE=t.style(["no-fill"],{strokeWidth:5,stroke:"fuchsia"}),this.SHAPE_STYLE=t.style({fill:"white",stroke:"fuchsia",strokeWidth:2}),this.FRAME_STYLE=t.style(["no-fill"],{stroke:"fuchsia",strokeDasharray:4,strokeWidth:2})}function vz(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},t=this;this.cls=function(e,t,n){var i=this.style(t,n);return Object(Zj["assign"])(i,{class:e})},this.style=function(t,n){Object(Zj["isArray"])(t)||n||(n=t,t=[]);var i=Object(Zj["reduce"])(t,(function(t,n){return Object(Zj["assign"])(t,e[n]||{})}),{});return n?Object(Zj["assign"])(i,n):i},this.computeStyle=function(e,n,i){return Object(Zj["isArray"])(n)||(i=n,n=[]),t.style(n||[],Object(Zj["assign"])({},i,e||{}))}}Kj()(bz,ZQ),bz.prototype.canRender=function(){return!0},bz.prototype.drawShape=function(e,t){var n=CQ("rect");return cQ(n,{x:0,y:0,width:t.width||0,height:t.height||0}),fz(t)?cQ(n,this.FRAME_STYLE):cQ(n,this.SHAPE_STYLE),iQ(e,n),n},bz.prototype.drawConnection=function(e,t){var n=nz(t.waypoints,this.CONNECTION_STYLE);return iQ(e,n),n},bz.prototype.getShapePath=function(e){var t=e.x,n=e.y,i=e.width,o=e.height,r=[["M",t,n],["l",i,0],["l",0,o],["l",-i,0],["z"]];return ez(r)},bz.prototype.getConnectionPath=function(e){var t,n,i=e.waypoints,o=[];for(t=0;n=i[t];t++)n=n.original||n,o.push([0===t?"M":"L",n.x,n.y]);return ez(o)},bz.$inject=["eventBus","styles"];var yz={__init__:["defaultRenderer"],defaultRenderer:["type",bz],styles:["type",vz]};function wz(e,t){if(!e||!t)return-1;var n=e.indexOf(t);return-1!==n&&e.splice(n,1),n}function _z(e,t,n){if(e&&t){"number"!==typeof n&&(n=-1);var i=e.indexOf(t);if(-1!==i){if(i===n)return;if(-1===n)return;e.splice(i,1)}-1!==n?e.splice(n,0,t):e.push(t)}}function Az(e,t){return e&&t?e.indexOf(t):-1}function Cz(e,t){return e&&t?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):-1}function Ez(e,t,n,i){if("undefined"===typeof i&&(i=5),!e||!t||!n)return!1;var o=(t.x-e.x)*(n.y-e.y)-(t.y-e.y)*(n.x-e.x),r=Cz(e,t);return Math.abs(o/r)<=i}var xz=2;function Sz(e,t){var n;return n=Object(Zj["isArray"])(e)?e:[e,t],Dz(n)?"h":!!kz(n)&&"v"}function Dz(e,t){var n;n=Object(Zj["isArray"])(e)?e:[e,t];var i=n.slice().shift();return Object(Zj["every"])(n,(function(e){return Math.abs(i.y-e.y)<=xz}))}function kz(e,t){var n;n=Object(Zj["isArray"])(e)?e:[e,t];var i=n.slice().shift();return Object(Zj["every"])(n,(function(e){return Math.abs(i.x-e.x)<=xz}))}function Mz(e,t,n){return n=n||0,e.x>t.x-n&&e.y>t.y-n&&e.x<t.x+t.width+n&&e.y<t.y+t.height+n}function Nz(e,t){return{x:Math.round(e.x+(t.x-e.x)/2),y:Math.round(e.y+(t.y-e.y)/2)}}var Lz=n("fd0a"),Bz=n.n(Lz);function Iz(e){return{x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height)}}function Tz(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function Oz(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function Rz(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function Pz(e){return Tz({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function Fz(e,t,n){n=n||0,Object(Zj["isObject"])(n)||(n={x:n,y:n});var i=Oz(e),o=Oz(t),r=i.bottom+n.y<=o.top,s=i.left-n.x>=o.right,a=i.top-n.y>=o.bottom,l=i.right+n.x<=o.left,c=r?"top":a?"bottom":null,h=l?"left":s?"right":null;return h&&c?c+"-"+h:h||c||"intersect"}function jz(e,t,n){var i=Qz(e,t);return 1===i.length||2===i.length&&Cz(i[0],i[1])<1?Tz(i[0]):i.length>1?(i=Object(Zj["sortBy"])(i,(function(e){var t=Math.floor(100*e.t2)||1;return t=100-t,t=(t<10?"0":"")+t,e.segment2+"#"+t})),Tz(i[n?0:i.length-1])):null}function Qz(e,t){return Bz()(e,t)}function zz(e){e=e.slice();var t,n,i,o=0;while(e[o])t=e[o],n=e[o-1],i=e[o+1],0===Cz(t,i)||Ez(n,i,t)?e.splice(o,1):o++;return e}function Vz(e,t){return Math.round(e*t)/t}function Wz(e){return Object(Zj["isNumber"])(e)?e+"px":e}function Hz(e){e=Object(Zj["assign"])({},{width:"100%",height:"100%"},e);var t=e.container||document.body,n=document.createElement("div");return n.setAttribute("class","djs-container"),Object(Zj["assign"])(n.style,{position:"relative",overflow:"hidden",width:Wz(e.width),height:Wz(e.height)}),t.appendChild(n),n}function Uz(e,t,n){var i=CQ("g");fQ(i).add(t);var o=void 0!==n?n:e.childNodes.length-1;return e.insertBefore(i,e.childNodes[o]||null),i}var Yz="base",Gz={shape:["x","y","width","height"],connection:["waypoints"]};function Kz(e,t,n,i){this._eventBus=t,this._elementRegistry=i,this._graphicsFactory=n,this._init(e||{})}function qz(e,t){var n="matrix("+t.a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")";e.setAttribute("transform",n)}Kz.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],Kz.prototype._init=function(e){var t=this._eventBus,n=this._container=Hz(e),i=this._svg=CQ("svg");cQ(i,{width:"100%",height:"100%"}),iQ(n,i);var o=this._viewport=Uz(i,"viewport");this._layers={},!1!==e.deferUpdate&&(this._viewboxChanged=Object(Zj["debounce"])(Object(Zj["bind"])(this._viewboxChanged,this),300)),t.on("diagram.init",(function(){t.fire("canvas.init",{svg:i,viewport:o})}),this),t.on(["shape.added","connection.added","shape.removed","connection.removed","elements.changed"],(function(){delete this._cachedViewbox}),this),t.on("diagram.destroy",500,this._destroy,this),t.on("diagram.clear",500,this._clear,this)},Kz.prototype._destroy=function(e){this._eventBus.fire("canvas.destroy",{svg:this._svg,viewport:this._viewport});var t=this._container.parentNode;t&&t.removeChild(this._container),delete this._svg,delete this._container,delete this._layers,delete this._rootElement,delete this._viewport},Kz.prototype._clear=function(){var e=this,t=this._elementRegistry.getAll();t.forEach((function(t){var n=pz(t);"root"===n?e.setRootElement(null,!0):e._removeElement(t,n)})),delete this._cachedViewbox},Kz.prototype.getDefaultLayer=function(){return this.getLayer(Yz,0)},Kz.prototype.getLayer=function(e,t){if(!e)throw new Error("must specify a name");var n=this._layers[e];if(n||(n=this._layers[e]=this._createLayer(e,t)),"undefined"!==typeof t&&n.index!==t)throw new Error("layer <"+e+"> already created at index <"+t+">");return n.group},Kz.prototype._createLayer=function(e,t){t||(t=0);var n=Object(Zj["reduce"])(this._layers,(function(e,n){return t>=n.index&&e++,e}),0);return{group:Uz(this._viewport,"layer-"+e,n),index:t}},Kz.prototype.getContainer=function(){return this._container},Kz.prototype._updateMarker=function(e,t,n){var i;e.id||(e=this._elementRegistry.get(e)),i=this._elementRegistry._elements[e.id],i&&(Object(Zj["forEach"])([i.gfx,i.secondaryGfx],(function(e){e&&(n?fQ(e).add(t):fQ(e).remove(t))})),this._eventBus.fire("element.marker.update",{element:e,gfx:i.gfx,marker:t,add:!!n}))},Kz.prototype.addMarker=function(e,t){this._updateMarker(e,t,!0)},Kz.prototype.removeMarker=function(e,t){this._updateMarker(e,t,!1)},Kz.prototype.hasMarker=function(e,t){e.id||(e=this._elementRegistry.get(e));var n=this.getGraphics(e);return fQ(n).has(t)},Kz.prototype.toggleMarker=function(e,t){this.hasMarker(e,t)?this.removeMarker(e,t):this.addMarker(e,t)},Kz.prototype.getRootElement=function(){return this._rootElement||this.setRootElement({id:"__implicitroot",children:[]}),this._rootElement},Kz.prototype.setRootElement=function(e,t){e&&this._ensureValid("root",e);var n=this._rootElement,i=this._elementRegistry,o=this._eventBus;if(n){if(!t)throw new Error("rootElement already set, need to specify override");o.fire("root.remove",{element:n}),o.fire("root.removed",{element:n}),i.remove(n)}if(e){var r=this.getDefaultLayer();o.fire("root.add",{element:e}),i.add(e,r,this._svg),o.fire("root.added",{element:e,gfx:r})}return this._rootElement=e,e},Kz.prototype._ensureValid=function(e,t){if(!t.id)throw new Error("element must have an id");if(this._elementRegistry.get(t.id))throw new Error("element with id "+t.id+" already exists");var n=Gz[e],i=Object(Zj["every"])(n,(function(e){return"undefined"!==typeof t[e]}));if(!i)throw new Error("must supply { "+n.join(", ")+" } with "+e)},Kz.prototype._setParent=function(e,t,n){_z(t.children,e,n),e.parent=t},Kz.prototype._addElement=function(e,t,n,i){n=n||this.getRootElement();var o=this._eventBus,r=this._graphicsFactory;this._ensureValid(e,t),o.fire(e+".add",{element:t,parent:n}),this._setParent(t,n,i);var s=r.create(e,t,i);return this._elementRegistry.add(t,s),r.update(e,t,s),o.fire(e+".added",{element:t,gfx:s}),t},Kz.prototype.addShape=function(e,t,n){return this._addElement("shape",e,t,n)},Kz.prototype.addConnection=function(e,t,n){return this._addElement("connection",e,t,n)},Kz.prototype._removeElement=function(e,t){var n=this._elementRegistry,i=this._graphicsFactory,o=this._eventBus;if(e=n.get(e.id||e),e)return o.fire(t+".remove",{element:e}),i.remove(e),wz(e.parent&&e.parent.children,e),e.parent=null,o.fire(t+".removed",{element:e}),n.remove(e),e},Kz.prototype.removeShape=function(e){return this._removeElement(e,"shape")},Kz.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},Kz.prototype.getGraphics=function(e,t){return this._elementRegistry.getGraphics(e,t)},Kz.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},Kz.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},Kz.prototype.viewbox=function(e){if(void 0===e&&this._cachedViewbox)return this._cachedViewbox;var t,n,i,o,r,s,a=this._viewport,l=this.getSize();return e?(this._changeViewbox((function(){o=Math.min(l.width/e.width,l.height/e.height);var t=this._svg.createSVGMatrix().scale(o).translate(-e.x,-e.y);QQ(a,t)})),e):(t=this.getDefaultLayer().getBBox(),i=QQ(a),n=i?i.matrix:SQ(),o=Vz(n.a,1e3),r=Vz(-n.e||0,1e3),s=Vz(-n.f||0,1e3),e=this._cachedViewbox={x:r?r/o:0,y:s?s/o:0,width:l.width/o,height:l.height/o,scale:o,inner:{width:t.width,height:t.height,x:t.x,y:t.y},outer:l},e)},Kz.prototype.scroll=function(e){var t=this._viewport,n=t.getCTM();return e&&this._changeViewbox((function(){e=Object(Zj["assign"])({dx:0,dy:0},e||{}),n=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(n),qz(t,n)})),{x:n.e,y:n.f}},Kz.prototype.scrollToElement=function(e,t){var n=100;t||(t={}),"number"===typeof t&&(n=t),t={top:t.top||n,right:t.right||n,bottom:t.bottom||n,left:t.left||n};var i,o,r=uz(e),s=Oz(r),a=this.viewbox(),l=this.zoom();a.y+=t.top/l,a.x+=t.left/l,a.width-=(t.right+t.left)/l,a.height-=(t.bottom+t.top)/l;var c=Oz(a),h=r.width<a.width&&r.height<a.height;if(h){var u=Math.max(0,s.right-c.right),d=Math.min(0,s.left-c.left),p=Math.max(0,s.bottom-c.bottom),f=Math.min(0,s.top-c.top);i=u||d,o=p||f}else i=r.x-a.x,o=r.y-a.y;this.scroll({dx:-i*l,dy:-o*l})},Kz.prototype.zoom=function(e,t){return e?"fit-viewport"===e?this._fitViewport(t):(this._changeViewbox((function(){"object"!==typeof t&&(n=this.viewbox().outer,t={x:n.width/2,y:n.height/2}),i=this._setZoom(e,t)})),Vz(i.a,1e3)):this.viewbox(e).scale;var n,i},Kz.prototype._fitViewport=function(e){var t,n,i=this.viewbox(),o=i.outer,r=i.inner;return r.x>=0&&r.y>=0&&r.x+r.width<=o.width&&r.y+r.height<=o.height&&!e?n={x:0,y:0,width:Math.max(r.width+r.x,o.width),height:Math.max(r.height+r.y,o.height)}:(t=Math.min(1,o.width/r.width,o.height/r.height),n={x:r.x+(e?r.width/2-o.width/t/2:0),y:r.y+(e?r.height/2-o.height/t/2:0),width:o.width/t,height:o.height/t}),this.viewbox(n),this.viewbox(!1).scale},Kz.prototype._setZoom=function(e,t){var n,i,o,r,s,a=this._svg,l=this._viewport,c=a.createSVGMatrix(),h=a.createSVGPoint();o=l.getCTM();var u=o.a;return t?(n=Object(Zj["assign"])(h,t),i=n.matrixTransform(o.inverse()),r=c.translate(i.x,i.y).scale(1/u*e).translate(-i.x,-i.y),s=o.multiply(r)):s=c.scale(e),qz(this._viewport,s),s},Kz.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},Kz.prototype.getAbsoluteBBox=function(e){var t,n=this.viewbox();if(e.waypoints){var i=this.getGraphics(e);t=i.getBBox()}else t=e;var o=t.x*n.scale-n.x*n.scale,r=t.y*n.scale-n.y*n.scale,s=t.width*n.scale,a=t.height*n.scale;return{x:o,y:r,width:s,height:a}},Kz.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var Jz="data-element-id";function Xz(e){this._elements={},this._eventBus=e}Xz.$inject=["eventBus"],Xz.prototype.add=function(e,t,n){var i=e.id;this._validateId(i),cQ(t,Jz,i),n&&cQ(n,Jz,i),this._elements[i]={element:e,gfx:t,secondaryGfx:n}},Xz.prototype.remove=function(e){var t=this._elements,n=e.id||e,i=n&&t[n];i&&(cQ(i.gfx,Jz,""),i.secondaryGfx&&cQ(i.secondaryGfx,Jz,""),delete t[n])},Xz.prototype.updateId=function(e,t){this._validateId(t),"string"===typeof e&&(e=this.get(e)),this._eventBus.fire("element.updateId",{element:e,newId:t});var n=this.getGraphics(e),i=this.getGraphics(e,!0);this.remove(e),e.id=t,this.add(e,n,i)},Xz.prototype.get=function(e){var t;t="string"===typeof e?e:e&&cQ(e,Jz);var n=this._elements[t];return n&&n.element},Xz.prototype.filter=function(e){var t=[];return this.forEach((function(n,i){e(n,i)&&t.push(n)})),t},Xz.prototype.find=function(e){for(var t=this._elements,n=Object.keys(t),i=0;i<n.length;i++){var o=n[i],r=t[o],s=r.element,a=r.gfx;if(e(s,a))return s}},Xz.prototype.getAll=function(){return this.filter((function(e){return e}))},Xz.prototype.forEach=function(e){var t=this._elements;Object.keys(t).forEach((function(n){var i=t[n],o=i.element,r=i.gfx;return e(o,r)}))},Xz.prototype.getGraphics=function(e,t){var n=e.id||e,i=this._elements[n];return i&&(t?i.secondaryGfx:i.gfx)},Xz.prototype._validateId=function(e){if(!e)throw new Error("element must have an id");if(this._elements[e])throw new Error("element with id "+e+" already added")};var $z=n("ea3c"),Zz=n.n($z),eV=new Zz.a({name:"children",enumerable:!0,collection:!0},{name:"parent"}),tV=new Zz.a({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),nV=new Zz.a({name:"attachers",collection:!0},{name:"host"}),iV=new Zz.a({name:"outgoing",collection:!0},{name:"source"}),oV=new Zz.a({name:"incoming",collection:!0},{name:"target"});function rV(){Object.defineProperty(this,"businessObject",{writable:!0}),Object.defineProperty(this,"label",{get:function(){return this.labels[0]},set:function(e){var t=this.label,n=this.labels;!e&&t?n.remove(t):n.add(e,0)}}),eV.bind(this,"parent"),tV.bind(this,"labels"),iV.bind(this,"outgoing"),oV.bind(this,"incoming")}function sV(){rV.call(this),eV.bind(this,"children"),nV.bind(this,"host"),nV.bind(this,"attachers")}function aV(){sV.call(this)}function lV(){sV.call(this),tV.bind(this,"labelTarget")}function cV(){rV.call(this),iV.bind(this,"source"),oV.bind(this,"target")}Kj()(sV,rV),Kj()(aV,sV),Kj()(lV,sV),Kj()(cV,rV);var hV={connection:cV,shape:sV,label:lV,root:aV};function uV(e,t){var n=hV[e];if(!n)throw new Error("unknown type: <"+e+">");return Object(Zj["assign"])(new n,t)}function dV(){this._uid=12}dV.prototype.createRoot=function(e){return this.create("root",e)},dV.prototype.createLabel=function(e){return this.create("label",e)},dV.prototype.createShape=function(e){return this.create("shape",e)},dV.prototype.createConnection=function(e){return this.create("connection",e)},dV.prototype.create=function(e,t){return t=Object(Zj["assign"])({},t||{}),t.id||(t.id=e+"_"+this._uid++),uV(e,t)};var pV="__fn",fV=1e3,gV=Array.prototype.slice;function mV(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}function bV(){}function vV(e,t){return e.apply(null,t)}function yV(e){return e.childNodes[0]}function wV(e){return e.parentNode.childNodes[1]}function _V(e,t,n,i,o){var r=DQ();r.setTranslate(t,n);var s=DQ();s.setRotate(i||0,0,0);var a=DQ();a.setScale(o||1,o||1),QQ(e,[r,s,a])}function AV(e,t,n){var i=DQ();i.setTranslate(t,n),QQ(e,i)}function CV(e,t){var n=DQ();n.setRotate(t,0,0),QQ(e,n)}function EV(e,t){this._eventBus=e,this._elementRegistry=t}function xV(e,t,n){var i=n||t.firstChild;e!==i&&t.insertBefore(e,i)}mV.prototype.on=function(e,t,n,i){if(e=Object(Zj["isArray"])(e)?e:[e],Object(Zj["isFunction"])(t)&&(i=n,n=t,t=fV),!Object(Zj["isNumber"])(t))throw new Error("priority must be a number");var o=n;i&&(o=Object(Zj["bind"])(n,i),o[pV]=n[pV]||n);var r=this;e.forEach((function(e){r._addListener(e,{priority:t,callback:o,next:null})}))},mV.prototype.once=function(e,t,n,i){var o=this;if(Object(Zj["isFunction"])(t)&&(i=n,n=t,t=fV),!Object(Zj["isNumber"])(t))throw new Error("priority must be a number");function r(){r.__isTomb=!0;var t=n.apply(i,arguments);return o.off(e,r),t}r[pV]=n,this.on(e,t,r)},mV.prototype.off=function(e,t){e=Object(Zj["isArray"])(e)?e:[e];var n=this;e.forEach((function(e){n._removeListener(e,t)}))},mV.prototype.createEvent=function(e){var t=new bV;return t.init(e),t},mV.prototype.fire=function(e,t){var n,i,o,r;if(r=gV.call(arguments),"object"===typeof e&&(t=e,e=t.type),!e)throw new Error("no event type specified");if(i=this._listeners[e],i){n=t instanceof bV?t:this.createEvent(t),r[0]=n;var s=n.type;e!==s&&(n.type=e);try{o=this._invokeListeners(n,r,i)}finally{e!==s&&(n.type=s)}return void 0===o&&n.defaultPrevented&&(o=!1),o}},mV.prototype.handleError=function(e){return!1===this.fire("error",{error:e})},mV.prototype._destroy=function(){this._listeners={}},mV.prototype._invokeListeners=function(e,t,n){var i;while(n){if(e.cancelBubble)break;i=this._invokeListener(e,t,n),n=n.next}return i},mV.prototype._invokeListener=function(e,t,n){var i;if(n.callback.__isTomb)return i;try{i=vV(n.callback,t),void 0!==i&&(e.returnValue=i,e.stopPropagation()),!1===i&&e.preventDefault()}catch(o){if(!this.handleError(o))throw o}return i},mV.prototype._addListener=function(e,t){var n,i=this._getListeners(e);if(i){while(i){if(i.priority<t.priority)return t.next=i,void(n?n.next=t:this._setListeners(e,t));n=i,i=i.next}n.next=t}else this._setListeners(e,t)},mV.prototype._getListeners=function(e){return this._listeners[e]},mV.prototype._setListeners=function(e,t){this._listeners[e]=t},mV.prototype._removeListener=function(e,t){var n,i,o,r=this._getListeners(e);if(t)while(r)n=r.next,o=r.callback,o!==t&&o[pV]!==t||(i?i.next=n:this._setListeners(e,n)),i=r,r=n;else this._setListeners(e,null)},bV.prototype.stopPropagation=function(){this.cancelBubble=!0},bV.prototype.preventDefault=function(){this.defaultPrevented=!0},bV.prototype.init=function(e){Object(Zj["assign"])(this,e||{})},EV.$inject=["eventBus","elementRegistry"],EV.prototype._getChildrenContainer=function(e){var t,n=this._elementRegistry.getGraphics(e);return e.parent?(t=wV(n),t||(t=CQ("g"),fQ(t).add("djs-children"),iQ(n.parentNode,t))):t=n,t},EV.prototype._clear=function(e){var t=yV(e);return Object(eQ["clear"])(t),t},EV.prototype._createContainer=function(e,t,n,i){var o=CQ("g");fQ(o).add("djs-group"),"undefined"!==typeof n?xV(o,t,t.childNodes[n]):iQ(t,o);var r=CQ("g");fQ(r).add("djs-element"),fQ(r).add("djs-"+e),i&&fQ(r).add("djs-frame"),iQ(o,r);var s=CQ("g");return fQ(s).add("djs-visual"),iQ(r,s),r},EV.prototype.create=function(e,t,n){var i=this._getChildrenContainer(t.parent);return this._createContainer(e,i,n,fz(t))},EV.prototype.updateContainments=function(e){var t,n=this,i=this._elementRegistry;t=Object(Zj["reduce"])(e,(function(e,t){return t.parent&&(e[t.parent.id]=t.parent),e}),{}),Object(Zj["forEach"])(t,(function(e){var t=e.children;if(t){var o=n._getChildrenContainer(e);Object(Zj["forEach"])(t.slice().reverse(),(function(e){var t=i.getGraphics(e);xV(t.parentNode,o)}))}}))},EV.prototype.drawShape=function(e,t){var n=this._eventBus;return n.fire("render.shape",{gfx:e,element:t})},EV.prototype.getShapePath=function(e){var t=this._eventBus;return t.fire("render.getShapePath",e)},EV.prototype.drawConnection=function(e,t){var n=this._eventBus;return n.fire("render.connection",{gfx:e,element:t})},EV.prototype.getConnectionPath=function(e){var t=this._eventBus;return t.fire("render.getConnectionPath",e)},EV.prototype.update=function(e,t,n){if(t.parent){var i=this._clear(n);if("shape"===e)this.drawShape(i,t),AV(n,t.x,t.y);else{if("connection"!==e)throw new Error("unknown type: "+e);this.drawConnection(i,t)}t.hidden?cQ(n,"display","none"):cQ(n,"display","block")}},EV.prototype.remove=function(e){var t=this._elementRegistry.getGraphics(e);mQ(t.parentNode)};var SV={__depends__:[yz],__init__:["canvas"],canvas:["type",Kz],elementRegistry:["type",Xz],elementFactory:["type",dV],eventBus:["type",mV],graphicsFactory:["type",EV]};function DV(e){var t=[],n=[];function i(e){return t.indexOf(e)>=0}function o(e){t.push(e)}function r(e){i(e)||((e.__depends__||[]).forEach(r),i(e)||(o(e),(e.__init__||[]).forEach((function(e){n.push(e)}))))}e.forEach(r);var s=new XQ(t);return n.forEach((function(e){try{s["string"===typeof e?"get":"invoke"](e)}catch(t){throw t}})),s}function kV(e){e=e||{};var t={config:["value",e]},n=[t,SV].concat(e.modules||[]);return DV(n)}function MV(e,t){this.injector=t=t||kV(e),this.get=t.get,this.invoke=t.invoke,this.get("eventBus").fire("diagram.init")}function NV(){}function LV(e,t){this.model=e,this.properties=t}MV.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},MV.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")},NV.prototype.get=function(e){return this.$model.properties.get(this,e)},NV.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},LV.prototype.createType=function(e){var t=this.model,n=this.properties,i=Object.create(NV.prototype);Object(Zj["forEach"])(e.properties,(function(e){e.isMany||void 0===e.default||(i[e.name]=e.default)})),n.defineModel(i,t),n.defineDescriptor(i,e);var o=e.ns.name;function r(e){n.define(this,"$type",{value:o,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),Object(Zj["forEach"])(e,Object(Zj["bind"])((function(e,t){this.set(t,e)}),this))}return r.prototype=i,r.hasType=i.$instanceOf=this.model.hasType,n.defineModel(r,t),n.defineDescriptor(r,e),r};var BV={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},IV={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function TV(e,t){var n=IV[e];return n?n(t):t}function OV(e){return!!BV[e]}function RV(e){return!!IV[e]}function PV(e,t){var n,i,o=e.split(/:/);if(1===o.length)n=e,i=t;else{if(2!==o.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=o[1],i=o[0]}return e=(i?i+":":"")+n,{name:e,prefix:i,localName:n}}function FV(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function jV(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,Object(Zj["forEach"])(e,Object(Zj["bind"])(this.registerPackage,this))}function QV(e,t,n){var i=t[n];if(i in e)throw new Error("package with "+n+" <"+i+"> already defined")}function zV(e){this.model=e}function VV(e){return"undefined"===typeof e}function WV(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function HV(e){this.properties=new zV(this),this.factory=new LV(this,this.properties),this.registry=new jV(e,this.properties),this.typeCache={}}FV.prototype.build=function(){return Object(Zj["pick"])(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},FV.prototype.addProperty=function(e,t,n){"boolean"===typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var i=this.properties;void 0!==t?i.splice(t,0,e):i.push(e)},FV.prototype.replaceProperty=function(e,t,n){var i=e.ns,o=this.properties,r=this.propertiesByName,s=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var a=o.indexOf(e);if(-1===a)throw new Error("property <"+i.name+"> not found in property list");o.splice(a,1),this.addProperty(t,n?void 0:a,s),r[i.name]=r[i.localName]=t},FV.prototype.redefineProperty=function(e,t,n){var i=e.ns.prefix,o=t.split("#"),r=PV(o[0],i),s=PV(o[1],r.prefix).name,a=this.propertiesByName[s];if(!a)throw new Error("refined property <"+s+"> not found");this.replaceProperty(a,e,n),delete e.redefines},FV.prototype.addNamedProperty=function(e,t){var n=e.ns,i=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),i[n.name]=i[n.localName]=e},FV.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},FV.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},FV.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},FV.prototype.assertNotDefined=function(e,t){var n=e.name,i=this.propertiesByName[n];if(i)throw new Error("property <"+n+"> already defined; override of <"+i.definedBy.ns.name+"#"+i.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},FV.prototype.hasProperty=function(e){return this.propertiesByName[e]},FV.prototype.addTrait=function(e,t){var n=this.allTypesByName,i=this.allTypes,o=e.name;o in n||(Object(Zj["forEach"])(e.properties,Object(Zj["bind"])((function(n){n=Object(Zj["assign"])({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var i=n.replaces,o=n.redefines;i||o?this.redefineProperty(n,i||o,i):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),i.push(e),n[o]=e)},jV.prototype.getPackage=function(e){return this.packageMap[e]},jV.prototype.getPackages=function(){return this.packages},jV.prototype.registerPackage=function(e){e=Object(Zj["assign"])({},e);var t=this.packageMap;QV(t,e,"prefix"),QV(t,e,"uri"),Object(Zj["forEach"])(e.types,Object(Zj["bind"])((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},jV.prototype.registerType=function(e,t){e=Object(Zj["assign"])({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:Object(Zj["assign"])(e.meta||{})});var n=PV(e.name,t.prefix),i=n.name,o={};Object(Zj["forEach"])(e.properties,Object(Zj["bind"])((function(e){var t=PV(e.name,n.prefix),i=t.name;OV(e.type)||(e.type=PV(e.type,t.prefix).name),Object(Zj["assign"])(e,{ns:t,name:i}),o[i]=e}),this)),Object(Zj["assign"])(e,{ns:n,name:i,propertiesByName:o}),Object(Zj["forEach"])(e.extends,Object(Zj["bind"])((function(e){var t=this.typeMap[e];t.traits=t.traits||[],t.traits.push(i)}),this)),this.definePackage(e,t),this.typeMap[i]=e},jV.prototype.mapTypes=function(e,t,n){var i=OV(e.name)?{name:e.name}:this.typeMap[e.name],o=this;function r(e){return s(e,!0)}function s(n,i){var r=PV(n,OV(n)?"":e.prefix);o.mapTypes(r,t,i)}if(!i)throw new Error("unknown type <"+e.name+">");Object(Zj["forEach"])(i.superClass,n?r:s),t(i,!n),Object(Zj["forEach"])(i.traits,r)},jV.prototype.getEffectiveDescriptor=function(e){var t=PV(e),n=new FV(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var i=n.build();return this.definePackage(i,i.allTypes[i.allTypes.length-1].$pkg),i},jV.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},zV.prototype.set=function(e,t,n){var i=this.model.getPropertyDescriptor(e,t),o=i&&i.name;VV(n)?i?delete e[o]:delete e.$attrs[t]:i?o in e?e[o]=n:WV(e,i,n):e.$attrs[t]=n},zV.prototype.get=function(e,t){var n=this.model.getPropertyDescriptor(e,t);if(!n)return e.$attrs[t];var i=n.name;return!e[i]&&n.isMany&&WV(e,n,[]),e[i]},zV.prototype.define=function(e,t,n){Object.defineProperty(e,t,n)},zV.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},zV.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},HV.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},HV.prototype.getType=function(e){var t=this.typeCache,n=Object(Zj["isString"])(e)?e:e.ns.name,i=t[n];return i||(e=this.registry.getEffectiveDescriptor(n),i=t[n]=this.factory.createType(e)),i},HV.prototype.createAny=function(e,t,n){var i=PV(e),o={$type:e,$instanceOf:function(e){return e===this.$type}},r={name:e,isGeneric:!0,ns:{prefix:i.prefix,localName:i.localName,uri:t}};return this.properties.defineDescriptor(o,r),this.properties.defineModel(o,this),this.properties.define(o,"$parent",{enumerable:!1,writable:!0}),this.properties.define(o,"$instanceOf",{enumerable:!1,writable:!0}),Object(Zj["forEach"])(n,(function(e,t){Object(Zj["isObject"])(e)&&void 0!==e.value?o[e.name]=e.value:o[t]=e})),o},HV.prototype.getPackage=function(e){return this.registry.getPackage(e)},HV.prototype.getPackages=function(){return this.registry.getPackages()},HV.prototype.getElementDescriptor=function(e){return e.$descriptor},HV.prototype.hasType=function(e,t){void 0===t&&(t=e,e=this);var n=e.$model.getElementDescriptor(e);return t in n.allTypesByName},HV.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},HV.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var UV=String.fromCharCode,YV=Object.prototype.hasOwnProperty,GV=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,KV={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function qV(e,t,n,i){return i?YV.call(KV,i)?KV[i]:"&"+i+";":UV(t||parseInt(n,16))}function JV(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(GV,qV):e}Object.keys(KV).forEach((function(e){KV[e.toUpperCase()]=KV[e]}));var XV="http://www.w3.org/2001/XMLSchema-instance",$V="xsi",ZV="xsi:type",eW="non-whitespace outside of root node";function tW(e){return new Error(e)}function nW(e){return"missing namespace for prefix <"+e+">"}function iW(e){return{get:e,enumerable:!0}}function oW(e){var t,n={};for(t in e)n[t]=e[t];return n}function rW(e){return e+"$uri"}function sW(e){var t,n,i={};for(t in e)n=e[t],i[n]=n,i[rW(n)]=t;return i}function aW(){return{line:0,column:0}}function lW(e){throw e}function cW(e){if(!this)return new cW(e);var t,n,i,o,r,s,a,l,c,h=e&&e["proxy"],u=lW,d=aW,p=!1,f=!1,g=null,m=!1;function b(e){e instanceof Error||(e=tW(e)),g=e,u(e,d)}function v(e){r&&(e instanceof Error||(e=tW(e)),r(e,d))}function y(e){var r,u,g,y,w,_,A,C,E,x,S,D=f?[]:null,k=f?sW(c):null,M=[],N=0,L=!1,B=!1,I=0,T=0,O="",R=0;function P(){if(null!==S)return S;var e,t,n,i,o,r,s,a,l,h,u,d=f&&k["xmlns"],g=f&&p?[]:null,m=R,b=O,y=b.length,w={},_={};e:for(;m<y;m++)if(l=!1,h=b.charCodeAt(m),!(32===h||h<14&&h>8)){for((h<65||h>122||h>90&&h<97)&&95!==h&&58!==h&&(v("illegal first char attribute name"),l=!0),u=m+1;u<y;u++)if(h=b.charCodeAt(u),!(h>96&&h<123||h>64&&h<91||h>47&&h<59||46===h||45===h||95===h)){if(32===h||h<14&&h>8){v("missing attribute value"),m=u;continue e}if(61===h)break;v("illegal attribute name char"),l=!0}if(a=b.substring(m,u),"xmlns:xmlns"===a&&(v("illegal declaration of xmlns"),l=!0),h=b.charCodeAt(u+1),34===h)u=b.indexOf('"',m=u+2),-1===u&&(u=b.indexOf("'",m),-1!==u&&(v("attribute value quote missmatch"),l=!0));else if(39===h)u=b.indexOf("'",m=u+2),-1===u&&(u=b.indexOf('"',m),-1!==u&&(v("attribute value quote missmatch"),l=!0));else for(v("missing attribute value quotes"),l=!0,u+=1;u<y;u++)if(h=b.charCodeAt(u+1),32===h||h<14&&h>8)break;for(-1===u&&(v("missing closing quotes"),u=y,l=!0),l||(r=b.substring(m,u)),m=u;u+1<y;u++){if(h=b.charCodeAt(u+1),32===h||h<14&&h>8)break;m===u&&(v("illegal character after attribute end"),l=!0)}if(m=u+1,!l)if(a in _)v("attribute <"+a+"> already defined");else if(_[a]=!0,f)if(p){if(o="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null,null!==o){if(e=JV(r),t=rW(o),s=c[e],!s){if("xmlns"===o||t in k&&k[t]!==e)do{s="ns"+N++}while("undefined"!==typeof k[s]);else s=o;c[e]=s}k[o]!==s&&(i||(k=oW(k),i=!0),k[o]=s,"xmlns"===o&&(k[rW(s)]=e,d=s),k[t]=e),w[a]=r;continue}g.push(a,r)}else h=a.indexOf(":"),-1!==h?(n=k[a.substring(0,h)])?(a=d===n?a.substr(h+1):n+a.substr(h),a===ZV&&(h=r.indexOf(":"),-1!==h?(n=r.substring(0,h),n=k[n]||n,r=n+r.substring(h)):r=d+":"+r),w[a]=r):v(nW(a.substring(0,h))):w[a]=r;else w[a]=r}if(p)for(m=0,y=g.length;m<y;m++){if(a=g[m++],r=g[m],h=a.indexOf(":"),-1!==h){if(!(n=k[a.substring(0,h)])){v(nW(a.substring(0,h)));continue}a=d===n?a.substr(h+1):n+a.substr(h),a===ZV&&(h=r.indexOf(":"),-1!==h?(n=r.substring(0,h),n=k[n]||n,r=n+r.substring(h)):r=d+":"+r)}w[a]=r}return S=w}function F(){var t,n,i=/(\r\n|\r|\n)/g,o=0,r=0,s=0,a=T;while(I>=s){if(t=i.exec(e),!t)break;if(a=t[0].length+t.index,a>I)break;o+=1,s=a}return-1==I?(r=a,n=e.substring(T)):0===T?n=e.substring(T,I):(r=I-s,n=-1==T?e.substring(I):e.substring(I,T+1)),{data:n,line:o,column:r}}d=F,h&&(x=Object.create({},{name:iW((function(){return C})),originalName:iW((function(){return E})),attrs:iW(P),ns:iW((function(){return k}))}));while(-1!==T){if(I=60===e.charCodeAt(T)?T:e.indexOf("<",T),-1===I)return M.length?b("unexpected end of file"):0===T?b("missing start tag"):void(T<e.length&&e.substring(T).trim()&&v(eW));if(T!==I)if(M.length){if(t&&(t(e.substring(T,I),JV,d),m))return}else if(e.substring(T,I).trim()&&(v(eW),m))return;if(w=e.charCodeAt(I+1),33===w){if(y=e.charCodeAt(I+2),91===y&&"CDATA["===e.substr(I+3,6)){if(T=e.indexOf("]]>",I),-1===T)return b("unclosed cdata");if(o&&(o(e.substring(I+9,T),d),m))return;T+=3;continue}if(45===y&&45===e.charCodeAt(I+3)){if(T=e.indexOf("--\x3e",I),-1===T)return b("unclosed comment");if(s&&(s(e.substring(I+4,T),JV,d),m))return;T+=3;continue}}if(63!==w){for(u=I+1;;u++){if(_=e.charCodeAt(u),isNaN(_))return T=-1,b("unclosed tag");if(34===_)y=e.indexOf('"',u+1),u=-1!==y?y:u;else if(39===_)y=e.indexOf("'",u+1),u=-1!==y?y:u;else if(62===_){T=u;break}}if(33!==w){if(S={},47===w){if(L=!1,B=!0,!M.length)return b("missing open tag");if(u=C=M.pop(),y=I+2+u.length,e.substring(I+2,y)!==u)return b("closing tag mismatch");for(;y<T;y++)if(w=e.charCodeAt(y),!(32===w||w>8&&w<14))return b("close tag")}else{if(47===e.charCodeAt(T-1)?(u=C=e.substring(I+1,T-1),L=!0,B=!0):(u=C=e.substring(I+1,T),L=!0,B=!1),!(w>96&&w<123||w>64&&w<91||95===w||58===w))return b("illegal first char nodeName");for(y=1,g=u.length;y<g;y++)if(w=u.charCodeAt(y),!(w>96&&w<123||w>64&&w<91||w>47&&w<59||45===w||95===w||46==w)){if(32===w||w<14&&w>8){C=u.substring(0,y),S=null;break}return b("invalid nodeName")}B||M.push(C)}if(f){if(r=k,L&&(B||D.push(r),null===S&&(p=-1!==u.indexOf("xmlns",y))&&(R=y,O=u,P(),p=!1)),E=C,w=C.indexOf(":"),-1!==w){if(A=k[C.substring(0,w)],!A)return b("missing namespace on <"+E+">");C=C.substr(w+1)}else A=k["xmlns"];A&&(C=A+":"+C)}if(L&&(R=y,O=u,n&&(h?n(x,JV,B,d):n(C,P,JV,B,d),m)))return;if(B){if(i&&(i(h?x:C,JV,L,d),m))return;f&&(k=L?r:D.pop())}T+=1}else{if(l&&(l(e.substring(I,T+1),JV,d),m))return;T+=1}}else{if(T=e.indexOf("?>",I),-1===T)return b("unclosed question");if(a&&(a(e.substring(I,T+2),d),m))return;T+=2}}}this["on"]=function(e,c){if("function"!==typeof c)throw tW("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":i=c;break;case"error":u=c;break;case"warn":r=c;break;case"cdata":o=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw tW("unsupported event: "+e)}return this},this["ns"]=function(e){if("undefined"===typeof e&&(e={}),"object"!==typeof e)throw tW("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return n[XV]=$V,f=!0,c=n,this},this["parse"]=function(e){if("string"!==typeof e)throw tW("required args <xml=string>");return g=null,y(e),d=aW,m=!1,g},this["stop"]=function(){m=!0}}function hW(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var uW={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},dW="xsi:type";function pW(e){return e.xml&&e.xml.serialize}function fW(e){return pW(e)===dW}function gW(e){return"property"===pW(e)}function mW(e){return e.charAt(0).toUpperCase()+e.slice(1)}function bW(e,t){return hW(t)?e.prefix+":"+mW(e.localName):e.name}function vW(e,t){var n=e.name,i=e.localName,o=t.xml&&t.xml.typePrefix;return o&&0===i.indexOf(o)?e.prefix+":"+i.slice(o.length):n}function yW(e,t){var n=PV(e),i=t.getPackage(n.prefix);return vW(n,i)}function wW(e){return new Error(e)}function _W(e){return e.$descriptor}function AW(e){Object(Zj["assign"])(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw wW("expected element");var t,n=this.elementsById,i=_W(e),o=i.idProperty;if(o&&(t=e.get(o.name),t)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw wW("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function CW(){}function EW(){}function xW(){}function SW(e,t){this.property=e,this.context=t}function DW(e,t){this.element=t,this.propertyDesc=e}function kW(){}function MW(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function NW(e,t,n){MW.call(this,e,t,n)}function LW(e,t,n){this.model=e,this.context=n}function BW(e){e instanceof HV&&(e={model:e}),Object(Zj["assign"])(this,{lax:!1},e)}function IW(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}CW.prototype.handleEnd=function(){},CW.prototype.handleText=function(){},CW.prototype.handleNode=function(){},EW.prototype=Object.create(CW.prototype),EW.prototype.handleNode=function(){return this},xW.prototype=Object.create(CW.prototype),xW.prototype.handleText=function(e){this.body=(this.body||"")+e},SW.prototype=Object.create(xW.prototype),SW.prototype.handleNode=function(e){if(this.element)throw wW("expected no sub nodes");return this.element=this.createReference(e),this},SW.prototype.handleEnd=function(){this.element.id=this.body},SW.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},DW.prototype=Object.create(xW.prototype),DW.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=TV(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},kW.prototype=Object.create(xW.prototype),kW.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},MW.prototype=Object.create(kW.prototype),MW.prototype.addReference=function(e){this.context.addReference(e)},MW.prototype.handleText=function(e){var t=this.element,n=_W(t),i=n.bodyProperty;if(!i)throw wW("unexpected body text <"+e+">");xW.prototype.handleText.call(this,e)},MW.prototype.handleEnd=function(){var e=this.body,t=this.element,n=_W(t),i=n.bodyProperty;i&&void 0!==e&&(e=TV(i.type,e),t.set(i.name,e))},MW.prototype.createElement=function(e){var t,n=e.attributes,i=this.type,o=_W(i),r=this.context,s=new i({}),a=this.model;return Object(Zj["forEach"])(n,(function(e,n){var i,l=o.propertiesByName[n];l&&l.isReference?l.isMany?(i=e.split(" "),Object(Zj["forEach"])(i,(function(e){r.addReference({element:s,property:l.ns.name,id:e})}))):r.addReference({element:s,property:l.ns.name,id:e}):(l?e=TV(l.type,e):"xmlns"!==n&&(t=PV(n,o.ns.prefix),a.getPackage(t.prefix)&&r.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},MW.prototype.getPropertyForNode=function(e){var t,n,i=e.name,o=PV(i),r=this.type,s=this.model,a=_W(r),l=o.name,c=a.propertiesByName[l];if(c&&!c.isAttr)return fW(c)&&(t=e.attributes[dW],t)?(t=yW(t,s),n=s.getType(t),Object(Zj["assign"])({},c,{effectiveType:_W(n).name})):c;var h=s.getPackage(o.prefix);if(h){if(t=bW(o,h),n=s.getType(t),c=Object(Zj["find"])(a.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),c)return Object(Zj["assign"])({},c,{effectiveType:_W(n).name})}else if(c=Object(Zj["find"])(a.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),c)return c;throw wW("unrecognized element <"+o.name+">")},MW.prototype.toString=function(){return"ElementDescriptor["+_W(this.type).name+"]"},MW.prototype.valueHandler=function(e,t){return new DW(e,t)},MW.prototype.referenceHandler=function(e){return new SW(e,this.context)},MW.prototype.handler=function(e){return"Element"===e?new LW(this.model,e,this.context):new MW(this.model,e,this.context)},MW.prototype.handleChild=function(e){var t,n,i,o;if(t=this.getPropertyForNode(e),i=this.element,n=t.effectiveType||t.type,RV(n))return this.valueHandler(t,i);o=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e);var r=o.element;return void 0!==r&&(t.isMany?i.get(t.name).push(r):i.set(t.name,r),t.isReference?(Object(Zj["assign"])(r,{element:i}),this.context.addReference(r)):r.$parent=i),o},NW.prototype=Object.create(MW.prototype),NW.prototype.createElement=function(e){var t=e.name,n=PV(t),i=this.model,o=this.type,r=i.getPackage(n.prefix),s=r&&bW(n,r)||t;if(!o.hasType(s))throw wW("unexpected element <"+e.originalName+">");return MW.prototype.createElement.call(this,e)},LW.prototype=Object.create(kW.prototype),LW.prototype.createElement=function(e){var t=e.name,n=PV(t),i=n.prefix,o=e.ns[i+"$uri"],r=e.attributes;return this.model.createAny(t,o,r)},LW.prototype.handleChild=function(e){var t,n=new LW(this.model,"Element",this.context).handleNode(e),i=this.element,o=n.element;return void 0!==o&&(t=i.$children=i.$children||[],t.push(o),o.$parent=i),n},LW.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},BW.prototype.fromXML=function(e,t,n){var i=t.rootHandler;t instanceof MW?(i=t,t={}):"string"===typeof t?(i=this.handler(t),t={}):"string"===typeof i&&(i=this.handler(i));var o=this.model,r=this.lax,s=new AW(Object(Zj["assign"])({},t,{rootHandler:i})),a=new cW({proxy:!0}),l=IW();function c(e,t,n){var i=t(),o=i.line,r=i.column,a=i.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+o+"\n\tcolumn: "+r+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw wW(l)}function h(e,t){return c(e,t,!0)}function u(){var e,t,n=s.elementsById,i=s.references;for(e=0;t=i[e];e++){var o=t.element,r=n[t.id],a=_W(o).propertiesByName[t.property];if(r||s.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),a.isMany){var l=o.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),r?l[c]=r:l.splice(c,1)}else o.set(a.name,r)}}function d(){l.pop().handleEnd()}i.context=s,l.push(i);var p=/^<\?xml /i,f=/ encoding="([^"]+)"/i,g=/^utf-8$/i;function m(e){if(p.test(e)){var t=f.exec(e),n=t&&t[1];n&&!g.test(n)&&s.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}}function b(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(i){c(i,t,r)&&l.push(new EW)}}function v(e,t){try{l.peek().handleText(e)}catch(n){h(n,t)}}function y(e,t){e.trim()&&v(e,t)}var w=o.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),{"http://www.w3.org/XML/1998/namespace":"xml"});return a.ns(w).on("openTag",(function(e,t,n,i){var o=e.attrs||{},r=Object.keys(o).reduce((function(e,n){var i=t(o[n]);return e[n]=i,e}),{}),s={name:e.name,originalName:e.originalName,attributes:r,ns:e.ns};b(s,i)})).on("question",m).on("closeTag",d).on("cdata",v).on("text",(function(e,t,n){y(t(e),n)})).on("error",c).on("warn",h),new Promise((function(t,n){var o;try{a.parse(e),u()}catch(d){o=d}var r=i.element;o||r||(o=wW("failed to parse document as <"+i.type.$descriptor.name+">"));var l=s.warnings,c=s.references,h=s.elementsById;return o?(o.warnings=l,n(o)):t({rootElement:r,elementsById:h,references:c,warnings:l})}))},BW.prototype.handler=function(e){return new NW(this.model,e)};var TW='<?xml version="1.0" encoding="UTF-8"?>\n',OW=/<|>|'|"|&|\n\r|\n/g,RW=/<|>|&/g;function PW(e){var t={},n={},i={},o=[],r=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?o.push(e):r.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,o=this.getNSKey(t);i[o]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){function t(e){var t=n.getNSKey(e);return i[t]}var n=this,s=[].concat(o,r);return s.filter(t)}}function FW(e){return e.charAt(0).toLowerCase()+e.slice(1)}function jW(e,t){return hW(t)?FW(e):e}function QW(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function zW(e){return Object(Zj["isString"])(e)?e:(e.prefix?e.prefix+":":"")+e.localName}function VW(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){var t="xmlns"+(e.prefix?":"+e.prefix:"");return{name:t,value:e.uri}}))}function WW(e,t){return t.isGeneric?Object(Zj["assign"])({localName:t.ns.localName},e):Object(Zj["assign"])({localName:jW(t.ns.localName,t.$pkg)},e)}function HW(e,t){return Object(Zj["assign"])({localName:t.ns.localName},e)}function UW(e){var t=e.$descriptor;return Object(Zj["filter"])(t.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!Object(Zj["has"])(e,n))return!1;var i=e[n];return i!==t.default&&(null!==i&&(!t.isMany||i.length))}))}var YW={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},GW={"<":"lt",">":"gt","&":"amp"};function KW(e,t,n){return e=Object(Zj["isString"])(e)?e:""+e,e.replace(t,(function(e){return"&"+n[e]+";"}))}function qW(e){return KW(e,OW,YW)}function JW(e){return KW(e,RW,GW)}function XW(e){return Object(Zj["filter"])(e,(function(e){return e.isAttr}))}function $W(e){return Object(Zj["filter"])(e,(function(e){return!e.isAttr}))}function ZW(e){this.tagName=e}function eH(){}function tH(e){this.tagName=e}function nH(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function iH(e,t){nH.call(this,e,t)}function oH(){this.value="",this.write=function(e){this.value+=e}}function rH(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),this},this.appendIndent=function(){return t&&e.write(n.join("  ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function sH(e){function t(t,n){var i=n||new oH,o=new rH(i,e.format);if(e.preamble&&o.append(TW),(new nH).build(t).serializeTo(o),!n)return i.value}return e=Object(Zj["assign"])({format:!1,preamble:!0},e||{}),{toXML:t}}function aH(e,t){HV.call(this,e,t)}ZW.prototype.build=function(e){return this.element=e,this},ZW.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},eH.prototype.serializeValue=eH.prototype.serializeTo=function(e){e.append(this.escape?JW(this.value):this.value)},eH.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(RW)&&(this.escape=!0),this},QW(tH,eH),tH.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},nH.prototype.build=function(e){this.element=e;var t,n,i=e.$descriptor,o=this.propertyDescriptor,r=i.isGeneric;return t=r?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=o?this.nsPropertyTagName(o):this.nsTagName(i),this.tagName=this.addTagName(this.ns),r||(n=UW(e),this.parseAttributes(XW(n)),this.parseContainments($W(n))),this.parseGenericAttributes(e,t),this},nH.prototype.nsTagName=function(e){var t=this.logNamespaceUsed(e.ns);return WW(t,e)},nH.prototype.nsPropertyTagName=function(e){var t=this.logNamespaceUsed(e.ns);return HW(t,e)},nH.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},nH.prototype.nsAttributeName=function(e){var t;if(t=Object(Zj["isString"])(e)?PV(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:Object(Zj["assign"])({localName:t.localName},n)},nH.prototype.parseGeneric=function(e){var t=this,n=this.body,i=[];return Object(Zj["forEach"])(e,(function(o,r){var s;"$body"===r?n.push((new eH).build({type:"String"},o)):"$children"===r?Object(Zj["forEach"])(o,(function(e){n.push(new nH(t).build(e))})):0!==r.indexOf("$")&&(s=t.parseNsAttribute(e,r,o),s&&i.push({name:r,value:o}))})),i},nH.prototype.parseNsAttribute=function(e,t,n){var i,o=e.$model,r=PV(t);if("xmlns"===r.prefix&&(i={prefix:r.localName,uri:n}),r.prefix||"xmlns"!==r.localName||(i={uri:n}),!i)return{name:t,value:n};if(o&&o.getPackage(n))this.logNamespace(i,!0,!0);else{var s=this.logNamespaceUsed(i,!0);this.getNamespaces().logUsed(s)}},nH.prototype.parseNsAttributes=function(e,t){var n=this,i=e.$attrs,o=[];return Object(Zj["forEach"])(i,(function(t,i){var r=n.parseNsAttribute(e,i,t);r&&o.push(r)})),o},nH.prototype.parseGenericAttributes=function(e,t){var n=this;Object(Zj["forEach"])(t,(function(e){if(e.name!==dW)try{n.addAttribute(n.nsAttributeName(e.name),e.value)}catch(t){}}))},nH.prototype.parseContainments=function(e){var t=this,n=this.body,i=this.element;Object(Zj["forEach"])(e,(function(e){var o=i.get(e.name),r=e.isReference,s=e.isMany;if(s||(o=[o]),e.isBody)n.push((new eH).build(e,o[0]));else if(RV(e.type))Object(Zj["forEach"])(o,(function(i){n.push(new tH(t.addTagName(t.nsPropertyTagName(e))).build(e,i))}));else if(r)Object(Zj["forEach"])(o,(function(i){n.push(new ZW(t.addTagName(t.nsPropertyTagName(e))).build(i))}));else{var a=fW(e),l=gW(e);Object(Zj["forEach"])(o,(function(i){var o;o=a?new iH(t,e):l?new nH(t,e):new nH(t),n.push(o.build(i))}))}}))},nH.prototype.getNamespaces=function(e){var t,n=this.namespaces,i=this.parent;return n||(t=i&&i.getNamespaces(),e||!t?this.namespaces=n=new PW(t):n=t),n},nH.prototype.logNamespace=function(e,t,n){var i=this.getNamespaces(n),o=e.uri,r=e.prefix,s=i.byUri(o);return s&&!n||i.add(e,t),i.mapPrefix(r,o),e},nH.prototype.logNamespaceUsed=function(e,t){var n,i,o,r=this.element,s=r.$model,a=this.getNamespaces(t),l=e.prefix,c=e.uri;if(!l&&!c)return{localName:e.localName};if(o=uW[l]||s&&(s.getPackage(l)||{}).uri,c=c||o||a.uriByPrefix(l),!c)throw new Error("no namespace uri given for prefix <"+l+">");if(e=a.byUri(c),!e){n=l,i=1;while(a.uriByPrefix(n))n=l+"_"+i++;e=this.logNamespace({prefix:n,uri:c},o===c)}return l&&a.mapPrefix(l,c),e},nH.prototype.parseAttributes=function(e){var t=this,n=this.element;Object(Zj["forEach"])(e,(function(e){var i=n.get(e.name);if(e.isReference)if(e.isMany){var o=[];Object(Zj["forEach"])(i,(function(e){o.push(e.id)})),i=o.join(" ")}else i=i.id;t.addAttribute(t.nsAttributeName(e),i)}))},nH.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),zW(e)},nH.prototype.addAttribute=function(e,t){var n=this.attrs;Object(Zj["isString"])(t)&&(t=qW(t)),n.push({name:e,value:t})},nH.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=VW(n).concat(t)),Object(Zj["forEach"])(t,(function(t){e.append(" ").append(zW(t.name)).append('="').append(t.value).append('"')}))},nH.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==eH;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),Object(Zj["forEach"])(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},QW(iH,nH),iH.prototype.parseNsAttributes=function(e){var t=nH.prototype.parseNsAttributes.call(this,e),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var i=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var o=e.$model.getPackage(i.uri),r=o.xml&&o.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(dW),(i.prefix?i.prefix+":":"")+r+n.ns.localName),t},iH.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},aH.prototype=Object.create(HV.prototype),aH.prototype.fromXML=function(e,t,n){Object(Zj["isString"])(t)||(n=t,t="bpmn:Definitions");var i=new BW(Object(Zj["assign"])({model:this,lax:!0},n)),o=i.handler(t);return i.fromXML(e,o)},aH.prototype.toXML=function(e,t){var n=new sH(t);return new Promise((function(t,i){try{var o=n.toXML(e);return t({xml:o})}catch(r){return i(r)}}))};var lH="BPMN20",cH="http://www.omg.org/spec/BPMN/20100524/MODEL",hH="bpmn",uH=[],dH=[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isAttr:!0,isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],pH=[{name:"ProcessType",literalValues:[{name:"None"},{name:"Public"},{name:"Private"}]},{name:"GatewayDirection",literalValues:[{name:"Unspecified"},{name:"Converging"},{name:"Diverging"},{name:"Mixed"}]},{name:"EventBasedGatewayType",literalValues:[{name:"Parallel"},{name:"Exclusive"}]},{name:"RelationshipDirection",literalValues:[{name:"None"},{name:"Forward"},{name:"Backward"},{name:"Both"}]},{name:"ItemKind",literalValues:[{name:"Physical"},{name:"Information"}]},{name:"ChoreographyLoopType",literalValues:[{name:"None"},{name:"Standard"},{name:"MultiInstanceSequential"},{name:"MultiInstanceParallel"}]},{name:"AssociationDirection",literalValues:[{name:"None"},{name:"One"},{name:"Both"}]},{name:"MultiInstanceBehavior",literalValues:[{name:"None"},{name:"One"},{name:"All"},{name:"Complex"}]},{name:"AdHocOrdering",literalValues:[{name:"Parallel"},{name:"Sequential"}]}],fH={tagAlias:"lowerCase",typePrefix:"t"},gH={name:lH,uri:cH,prefix:hH,associations:uH,types:dH,enumerations:pH,xml:fH},mH="BPMNDI",bH="http://www.omg.org/spec/BPMN/20100524/DI",vH="bpmndi",yH=[{name:"BPMNDiagram",properties:[{name:"plane",type:"BPMNPlane",redefines:"di:Diagram#rootElement"},{name:"labelStyle",type:"BPMNLabelStyle",isMany:!0}],superClass:["di:Diagram"]},{name:"BPMNPlane",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"}],superClass:["di:Plane"]},{name:"BPMNShape",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"isHorizontal",isAttr:!0,type:"Boolean"},{name:"isExpanded",isAttr:!0,type:"Boolean"},{name:"isMarkerVisible",isAttr:!0,type:"Boolean"},{name:"label",type:"BPMNLabel"},{name:"isMessageVisible",isAttr:!0,type:"Boolean"},{name:"participantBandKind",type:"ParticipantBandKind",isAttr:!0},{name:"choreographyActivityShape",type:"BPMNShape",isAttr:!0,isReference:!0}],superClass:["di:LabeledShape"]},{name:"BPMNEdge",properties:[{name:"label",type:"BPMNLabel"},{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"sourceElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#source"},{name:"targetElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#target"},{name:"messageVisibleKind",type:"MessageVisibleKind",isAttr:!0,default:"initiating"}],superClass:["di:LabeledEdge"]},{name:"BPMNLabel",properties:[{name:"labelStyle",type:"BPMNLabelStyle",isAttr:!0,isReference:!0,redefines:"di:DiagramElement#style"}],superClass:["di:Label"]},{name:"BPMNLabelStyle",properties:[{name:"font",type:"dc:Font"}],superClass:["di:Style"]}],wH=[{name:"ParticipantBandKind",literalValues:[{name:"top_initiating"},{name:"middle_initiating"},{name:"bottom_initiating"},{name:"top_non_initiating"},{name:"middle_non_initiating"},{name:"bottom_non_initiating"}]},{name:"MessageVisibleKind",literalValues:[{name:"initiating"},{name:"non_initiating"}]}],_H=[],AH={name:mH,uri:bH,prefix:vH,types:yH,enumerations:wH,associations:_H},CH="DC",EH="http://www.omg.org/spec/DD/20100524/DC",xH="dc",SH=[{name:"Boolean"},{name:"Integer"},{name:"Real"},{name:"String"},{name:"Font",properties:[{name:"name",type:"String",isAttr:!0},{name:"size",type:"Real",isAttr:!0},{name:"isBold",type:"Boolean",isAttr:!0},{name:"isItalic",type:"Boolean",isAttr:!0},{name:"isUnderline",type:"Boolean",isAttr:!0},{name:"isStrikeThrough",type:"Boolean",isAttr:!0}]},{name:"Point",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0}]},{name:"Bounds",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0},{name:"width",type:"Real",isAttr:!0},{name:"height",type:"Real",isAttr:!0}]}],DH=[],kH={name:CH,uri:EH,prefix:xH,types:SH,associations:DH},MH="DI",NH="http://www.omg.org/spec/DD/20100524/DI",LH="di",BH=[{name:"DiagramElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"extension",type:"Extension"},{name:"owningDiagram",type:"Diagram",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"owningElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"modelElement",isReadOnly:!0,isVirtual:!0,isReference:!0,type:"Element"},{name:"style",type:"Style",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"ownedElement",type:"DiagramElement",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Node",isAbstract:!0,superClass:["DiagramElement"]},{name:"Edge",isAbstract:!0,superClass:["DiagramElement"],properties:[{name:"source",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"target",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"waypoint",isUnique:!1,isMany:!0,type:"dc:Point",xml:{serialize:"xsi:type"}}]},{name:"Diagram",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"rootElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0},{name:"name",isAttr:!0,type:"String"},{name:"documentation",isAttr:!0,type:"String"},{name:"resolution",isAttr:!0,type:"Real"},{name:"ownedStyle",type:"Style",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Shape",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Plane",isAbstract:!0,superClass:["Node"],properties:[{name:"planeElement",type:"DiagramElement",subsettedProperty:"DiagramElement-ownedElement",isMany:!0}]},{name:"LabeledEdge",isAbstract:!0,superClass:["Edge"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"LabeledShape",isAbstract:!0,superClass:["Shape"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"Label",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Style",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"}]},{name:"Extension",properties:[{name:"values",isMany:!0,type:"Element"}]}],IH=[],TH={tagAlias:"lowerCase"},OH={name:MH,uri:NH,prefix:LH,types:BH,associations:IH,xml:TH},RH="bpmn.io colors for BPMN",PH="http://bpmn.io/schema/bpmn/biocolor/1.0",FH="bioc",jH=[{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]}],QH=[],zH=[],VH={name:RH,uri:PH,prefix:FH,types:jH,enumerations:QH,associations:zH},WH={bpmn:gH,bpmndi:AH,dc:kH,di:OH,bioc:VH};function HH(e,t){var n=Object(Zj["assign"])({},WH,e);return new aH(n,t)}var UH=HH;function YH(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}var GH=new Zz.a({name:"bpmnElement",enumerable:!0},{name:"di",configurable:!0});function KH(e,t){return e.$instanceOf(t)}function qH(e){return Object(Zj["find"])(e.rootElements,(function(e){return KH(e,"bpmn:Process")||KH(e,"bpmn:Collaboration")}))}function JH(e,t){var n={},i=[];function o(e,t){return function(n){e(n,t)}}function r(e){n[e.id]=e}function s(e){return n[e.id]}function a(n,i){var o=n.gfx;if(o)throw new Error(t("already rendered {element}",{element:YH(n)}));return e.element(n,i)}function l(t,n){return e.root(t,n)}function c(e,t){try{var n=e.di&&a(e,t);return r(e),n}catch(i){h(i.message,{element:e,error:i})}}function h(t,n){e.error(t,n)}function u(e){var n=e.bpmnElement;n?n.di?h(t("multiple DI elements defined for {element}",{element:YH(n)}),{element:n}):(GH.bind(n,"di"),n.di=e):h(t("no bpmnElement referenced in {element}",{element:YH(e)}),{element:e})}function d(e){p(e.plane)}function p(e){u(e),Object(Zj["forEach"])(e.planeElement,f)}function f(e){u(e)}function g(e,n){var o=e.diagrams;if(n&&-1===o.indexOf(n))throw new Error(t("diagram not part of bpmn:Definitions"));if(!n&&o&&o.length&&(n=o[0]),!n)throw new Error(t("no diagram to display"));d(n);var r=n.plane;if(!r)throw new Error(t("no plane for {element}",{element:YH(n)}));var s=r.bpmnElement;if(!s){if(s=qH(e),!s)throw new Error(t("no process or collaboration to display"));h(t("correcting missing bpmnElement on {plane} to {rootElement}",{plane:YH(r),rootElement:YH(s)})),r.bpmnElement=s,u(r)}var a=l(s,r);if(KH(s,"bpmn:Process"))b(s,a);else{if(!KH(s,"bpmn:Collaboration"))throw new Error(t("unsupported bpmnElement for {plane}: {rootElement}",{plane:YH(r),rootElement:YH(s)}));P(s,a),v(e.rootElements,a)}m(i)}function m(){var e;while(i.length)e=i.shift(),e()}function b(e,t){T(e,t),S(e.ioSpecification,t),x(e.artifacts,t),r(e)}function v(e,t){var n=Object(Zj["filter"])(e,(function(e){return!s(e)&&KH(e,"bpmn:Process")&&e.laneSets}));n.forEach(o(b,t))}function y(e,t){c(e,t)}function w(e,t){Object(Zj["forEach"])(e,o(y,t))}function _(e,t){c(e,t)}function A(e,t){c(e,t)}function C(e,t){c(e,t)}function E(e,t){c(e,t)}function x(e,t){Object(Zj["forEach"])(e,(function(e){KH(e,"bpmn:Association")?i.push((function(){E(e,t)})):E(e,t)}))}function S(e,t){e&&(Object(Zj["forEach"])(e.dataInputs,o(A,t)),Object(Zj["forEach"])(e.dataOutputs,o(C,t)))}function D(e,t){T(e,t),x(e.artifacts,t)}function k(e,t){var n=c(e,t);KH(e,"bpmn:SubProcess")&&D(e,n||t),KH(e,"bpmn:Activity")&&S(e.ioSpecification,t),i.push((function(){Object(Zj["forEach"])(e.dataInputAssociations,o(_,t)),Object(Zj["forEach"])(e.dataOutputAssociations,o(_,t))}))}function M(e,t){c(e,t)}function N(e,t){c(e,t)}function L(e,t){i.push((function(){var n=c(e,t);e.childLaneSet&&B(e.childLaneSet,n||t),F(e)}))}function B(e,t){Object(Zj["forEach"])(e.lanes,o(L,t))}function I(e,t){Object(Zj["forEach"])(e,o(B,t))}function T(e,t){O(e.flowElements,t),e.laneSets&&I(e.laneSets,t)}function O(e,n){Object(Zj["forEach"])(e,(function(e){KH(e,"bpmn:SequenceFlow")?i.push((function(){M(e,n)})):KH(e,"bpmn:BoundaryEvent")?i.unshift((function(){k(e,n)})):KH(e,"bpmn:FlowNode")?k(e,n):KH(e,"bpmn:DataObject")||(KH(e,"bpmn:DataStoreReference")||KH(e,"bpmn:DataObjectReference")?N(e,n):h(t("unrecognized flowElement {element} in context {context}",{element:YH(e),context:n?YH(n.businessObject):"null"}),{element:e,context:n}))}))}function R(e,t){var n=c(e,t),i=e.processRef;i&&b(i,n||t)}function P(e){Object(Zj["forEach"])(e.participants,o(R)),x(e.artifacts),i.push((function(){w(e.messageFlows)}))}function F(e){Object(Zj["forEach"])(e.flowNodeRef,(function(t){var n=t.get("lanes");n&&n.push(e)}))}return{handleDeferred:m,handleDefinitions:g,handleSubProcess:D,registerDi:u}}function XH(e,t,n){var i,o,r,s,a=[];function l(e,t){var n={root:function(e){return i.add(e)},element:function(e,t){return i.add(e,t)},error:function(e,t){a.push({message:e,context:t})}},o=new JH(n,r);o.handleDefinitions(e,t)}return new Promise((function(c,h){try{return i=e.get("bpmnImporter"),o=e.get("eventBus"),r=e.get("translate"),o.fire("import.render.start",{definitions:t}),l(t,n),o.fire("import.render.complete",{error:s,warnings:a}),c({warnings:a})}catch(u){return u.warnings=a,h(u)}}))}function $H(e){return function(){if(!window.Promise)throw new Error("Promises is not supported in this environment. Please polyfill Promise.");var t=arguments.length;if(!(t>=1&&Object(Zj["isFunction"])(arguments[t-1])))return e.apply(this,arguments);var n=arguments[t-1],i=Array.prototype.slice.call(arguments,0,-1);e.apply(this,i).then((function(e){var t=Object.keys(e)[0];return n(null,e[t])}),(function(e){return n(e,e.warnings)}))}}var ZH='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21" style="vertical-align:middle"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>',eU=ZH;function tU(e){return e.join(";")}var nU,iU=tU(["color: #404040"]),oU=tU(["z-index: 1001","position: fixed","top: 0","left: 0","right: 0","bottom: 0"]),rU=tU(["width: 100%","height: 100%","background: rgba(40,40,40,0.2)"]),sU=tU(["position: absolute","left: 50%","top: 40%","transform: translate(-50%)","width: 260px","padding: 10px","background: white","box-shadow: 0 1px 4px rgba(0,0,0,0.3)","font-family: Helvetica, Arial, sans-serif","font-size: 14px","display: flex","line-height: 1.3"]),aU='<div class="bjs-powered-by-lightbox" style="'+oU+'"><div class="backdrop" style="'+rU+'"></div><div class="notice" style="'+sU+'"><a href="https://bpmn.io" target="_blank" rel="noopener" style="margin: 15px 20px 15px 10px; align-self: center;'+iU+'">'+eU+'</a><span>Web-based tooling for BPMN, DMN and CMMN diagrams powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>';function lU(){nU||(nU=Object(eQ["domify"])(aU),eQ["delegate"].bind(nU,".backdrop","click",(function(e){document.body.removeChild(nU)}))),document.body.appendChild(nU)}function cU(e){e=Object(Zj["assign"])({},dU,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),gU(this._container),this._init(this._container,this._moddle,e)}function hU(e,t){return e.warnings=t,e}function uU(e){var t=/unparsable content <([^>]+)> detected([\s\S]*)$/,n=t.exec(e.message);return n&&(e.message="unparsable content <"+n[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+n[2]),e}Kj()(cU,MV),cU.prototype.importXML=$H((function(e,t){var n=this;function i(e){var t=n.get("eventBus").createEvent(e);return Object.defineProperty(t,"context",{enumerable:!0,get:function(){return{warnings:e.warnings,references:e.references,elementsById:e.elementsById}}}),t}return new Promise((function(o,r){e=n._emit("import.parse.start",{xml:e})||e,n._moddle.fromXML(e,"bpmn:Definitions").then((function(e){var s=e.rootElement,a=e.references,l=e.warnings,c=e.elementsById;s=n._emit("import.parse.complete",i({error:null,definitions:s,elementsById:c,references:a,warnings:l}))||s,n.importDefinitions(s,t).then((function(e){var t=[].concat(l,e.warnings||[]);return n._emit("import.done",{error:null,warnings:t}),o({warnings:t})})).catch((function(e){var t=[].concat(l,e.warnings||[]);return n._emit("import.done",{error:e,warnings:t}),r(hU(e,t))}))})).catch((function(e){return n._emit("import.parse.complete",{error:e}),e=uU(e),n._emit("import.done",{error:e,warnings:e.warnings}),r(e)}))}))})),cU.prototype.importDefinitions=$H((function(e,t){var n=this;return new Promise((function(i,o){n._setDefinitions(e),n.open(t).then((function(e){var t=e.warnings;return i({warnings:t})})).catch((function(e){return o(e)}))}))})),cU.prototype.open=$H((function(e){var t=this._definitions,n=e,i=this;return new Promise((function(o,r){if(!t){var s=new Error("no XML imported");return r(hU(s,[]))}if("string"===typeof e&&(n=fU(t,e),!n)){var a=new Error("BPMNDiagram <"+e+"> not found");return r(hU(a,[]))}try{i.clear()}catch(l){return r(hU(l,[]))}XH(i,t,n).then((function(e){var t=e.warnings;return o({warnings:t})})).catch((function(e){return r(e)}))}))})),cU.prototype.saveXML=$H((function(e){e=e||{};var t=this,n=this._definitions;return new Promise((function(i){if(!n)return i({error:new Error("no definitions loaded")});n=t._emit("saveXML.start",{definitions:n})||n,t._moddle.toXML(n,e).then((function(e){var n=e.xml;return n=t._emit("saveXML.serialized",{xml:n})||n,i({xml:n})}))})).catch((function(e){return{error:e}})).then((function(e){t._emit("saveXML.done",e);var n=e.error;return n?Promise.reject(n):e}))})),cU.prototype.saveSVG=$H((function(e){e=e||{};var t=this;return new Promise((function(e,n){var i,o;t._emit("saveSVG.start");try{var r=t.get("canvas"),s=r.getDefaultLayer(),a=Object(eQ["query"])("defs",r._svg),l=RQ(s),c=a?"<defs>"+RQ(a)+"</defs>":"",h=s.getBBox();i='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- created with bpmn-js / http://bpmn.io --\x3e\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+h.width+'" height="'+h.height+'" viewBox="'+h.x+" "+h.y+" "+h.width+" "+h.height+'" version="1.1">'+c+l+"</svg>"}catch(u){o=u}return t._emit("saveSVG.done",{error:o,svg:i}),o?n(o):e({svg:i})}))})),cU.prototype._setDefinitions=function(e){this._definitions=e},cU.prototype.getModules=function(){return this._modules},cU.prototype.clear=function(){this.getDefinitions()&&(this.get("elementRegistry").forEach((function(e){var t=e.businessObject;t&&t.di&&delete t.di})),MV.prototype.clear.call(this))},cU.prototype.destroy=function(){MV.prototype.destroy.call(this),Object(eQ["remove"])(this._container)},cU.prototype.on=function(e,t,n,i){return this.get("eventBus").on(e,t,n,i)},cU.prototype.off=function(e,t){this.get("eventBus").off(e,t)},cU.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"===typeof e&&(e=Object(eQ["query"])(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},cU.prototype.getDefinitions=function(){return this._definitions},cU.prototype.detach=function(){var e=this._container,t=e.parentNode;t&&(this._emit("detach",{}),t.removeChild(e))},cU.prototype._init=function(e,t,n){var i=n.modules||this.getModules(),o=n.additionalModules||[],r=[{bpmnjs:["value",this],moddle:["value",t]}],s=[].concat(r,i,o),a=Object(Zj["assign"])(Object(Zj["omit"])(n,["additionalModules"]),{canvas:Object(Zj["assign"])({},n.canvas,{container:e}),modules:s});MV.call(this,a),n&&n.container&&this.attachTo(n.container)},cU.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},cU.prototype._createContainer=function(e){var t=Object(eQ["domify"])('<div class="bjs-container"></div>');return Object(Zj["assign"])(t.style,{width:pU(e.width),height:pU(e.height),position:e.position}),t},cU.prototype._createModdle=function(e){var t=Object(Zj["assign"])({},this._moddleExtensions,e.moddleExtensions);return new UH(t)},cU.prototype._modules=[];var dU={width:"100%",height:"100%",position:"relative"};function pU(e){return e+(Object(Zj["isNumber"])(e)?"px":"")}function fU(e,t){return t&&Object(Zj["find"])(e.diagrams,(function(e){return e.id===t}))||null}function gU(e){var t=eU,n='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" style="position: absolute; bottom: 15px; right: 15px; z-index: 100; '+iU+'">'+t+"</a>",i=Object(eQ["domify"])(n);e.appendChild(i),eQ["event"].bind(i,"click",(function(e){lU(),e.preventDefault()}))}function mU(e){cU.call(this,e),this.on("import.parse.complete",(function(e){e.error||this._collectIds(e.definitions,e.elementsById)}),this),this.on("diagram.destroy",(function(){this.get("moddle").ids.clear()}),this)}Kj()(mU,cU),mU.prototype._createModdle=function(e){var t=cU.prototype._createModdle.call(this,e);return t.ids=new $j([32,36,1]),t},mU.prototype._collectIds=function(e,t){var n,i=e.$model,o=i.ids;for(n in o.clear(),t)o.claim(n,t[n])};var bU=n("fdda");function vU(e){return!Object(bU["is"])(e,"bpmn:CallActivity")&&(Object(bU["is"])(e,"bpmn:SubProcess")?Object(bU["getBusinessObject"])(e).di&&!!Object(bU["getBusinessObject"])(e).di.isExpanded:!Object(bU["is"])(e,"bpmn:Participant")||!!Object(bU["getBusinessObject"])(e).processRef)}function yU(e){return e&&!1!==Object(bU["getBusinessObject"])(e).isInterrupting}function wU(e){return e&&!!Object(bU["getBusinessObject"])(e).triggeredByEvent}function _U(e,t){var n=Object(bU["getBusinessObject"])(e),i=!1;return n.eventDefinitions&&Object(Zj["forEach"])(n.eventDefinitions,(function(e){Object(bU["is"])(e,t)&&(i=!0)})),i}function AU(e){return _U(e,"bpmn:ErrorEventDefinition")}function CU(e){return _U(e,"bpmn:EscalationEventDefinition")}function EU(e){return _U(e,"bpmn:CompensateEventDefinition")}function xU(e){return Object(bU["is"])(e,"bpmn:FlowElement")||Object(bU["is"])(e,"bpmn:Participant")||Object(bU["is"])(e,"bpmn:Lane")||Object(bU["is"])(e,"bpmn:SequenceFlow")||Object(bU["is"])(e,"bpmn:MessageFlow")||Object(bU["is"])(e,"bpmn:DataInput")||Object(bU["is"])(e,"bpmn:DataOutput")?"name":Object(bU["is"])(e,"bpmn:TextAnnotation")?"text":Object(bU["is"])(e,"bpmn:Group")?"categoryValueRef":void 0}function SU(e){var t=e["categoryValueRef"];return t&&t.value||""}function DU(e){var t=e.businessObject,n=xU(t);if(n)return"categoryValueRef"===n?SU(t):t[n]||""}function kU(e,t,n){var i=e.businessObject,o=xU(i);return o&&("categoryValueRef"===o?i["categoryValueRef"].value=t:i[o]=t),e}function MU(e,t,n){function i(e,t){return Object(Zj["every"])(t,(function(t,n){return e[n]==t}))}return Object(Zj["some"])(e.eventDefinitions,(function(o){return o.$type===t&&i(e,n)}))}function NU(e){return"bpmn:IntermediateThrowEvent"===e.$type||"bpmn:EndEvent"===e.$type}function LU(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection}function BU(e){return e.businessObject.di}function IU(e){return e.businessObject}function TU(e,t){return BU(e).get("bioc:fill")||t||"white"}function OU(e,t){return BU(e).get("bioc:stroke")||t||"black"}function RU(e){var t=e.x+e.width/2,n=e.y+e.height/2,i=e.width/2,o=[["M",t,n],["m",0,-i],["a",i,i,0,1,1,0,2*i],["a",i,i,0,1,1,0,-2*i],["z"]];return ez(o)}function PU(e,t){var n=e.x,i=e.y,o=e.width,r=e.height,s=[["M",n+t,i],["l",o-2*t,0],["a",t,t,0,0,1,t,t],["l",0,r-2*t],["a",t,t,0,0,1,-t,t],["l",2*t-o,0],["a",t,t,0,0,1,-t,-t],["l",0,2*t-r],["a",t,t,0,0,1,t,-t],["z"]];return ez(s)}function FU(e){var t=e.width,n=e.height,i=e.x,o=e.y,r=t/2,s=n/2,a=[["M",i+r,o],["l",r,s],["l",-r,s],["l",-r,-s],["z"]];return ez(a)}function jU(e){var t=e.x,n=e.y,i=e.width,o=e.height,r=[["M",t,n],["l",i,0],["l",0,o],["l",-i,0],["z"]];return ez(r)}var QU=new $j,zU=10,VU=3,WU=.95,HU=.35,UU=10;function YU(e,t,n,i,o,r,s){ZQ.call(this,t,s);var a=e&&e.defaultFillColor,l=e&&e.defaultStrokeColor,c=QU.next(),h={},u=n.computeStyle;function d(e,t){var n=Object(Zj["assign"])({fill:"black",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"none"},t.attrs),i=t.ref||{x:0,y:0},r=t.scale||1;"none"===n.strokeDasharray&&(n.strokeDasharray=[1e4,1]);var s=CQ("marker");cQ(t.element,n),iQ(s,t.element),cQ(s,{id:e,viewBox:"0 0 20 20",refX:i.x,refY:i.y,markerWidth:20*r,markerHeight:20*r,orient:"auto"});var a=Object(eQ["query"])("defs",o._svg);a||(a=CQ("defs"),iQ(o._svg,a)),iQ(a,s),h[e]=s}function p(e){return e.replace(/[^0-9a-zA-z]+/g,"_")}function f(e,t,n){var i=e+"-"+p(t)+"-"+p(n)+"-"+c;return h[i]||g(i,e,t,n),"url(#"+i+")"}function g(e,t,n,i){if("sequenceflow-end"===t){var o=CQ("path");cQ(o,{d:"M 1 5 L 11 10 L 1 15 Z"}),d(e,{element:o,ref:{x:11,y:10},scale:.5,attrs:{fill:i,stroke:i}})}if("messageflow-start"===t){var r=CQ("circle");cQ(r,{cx:6,cy:6,r:3.5}),d(e,{element:r,attrs:{fill:n,stroke:i},ref:{x:6,y:6}})}if("messageflow-end"===t){var s=CQ("path");cQ(s,{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z"}),d(e,{element:s,attrs:{fill:n,stroke:i,strokeLinecap:"butt"},ref:{x:8.5,y:5}})}if("association-start"===t){var a=CQ("path");cQ(a,{d:"M 11 5 L 1 10 L 11 15"}),d(e,{element:a,attrs:{fill:"none",stroke:i,strokeWidth:1.5},ref:{x:1,y:10},scale:.5})}if("association-end"===t){var l=CQ("path");cQ(l,{d:"M 1 5 L 11 10 L 1 15"}),d(e,{element:l,attrs:{fill:"none",stroke:i,strokeWidth:1.5},ref:{x:12,y:10},scale:.5})}if("conditional-flow-marker"===t){var c=CQ("path");cQ(c,{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z"}),d(e,{element:c,attrs:{fill:n,stroke:i},ref:{x:-1,y:10},scale:.5})}if("conditional-default-flow-marker"===t){var h=CQ("path");cQ(h,{d:"M 6 4 L 10 16"}),d(e,{element:h,attrs:{stroke:i},ref:{x:0,y:10},scale:.5})}}function m(e,t,n,i,o){Object(Zj["isObject"])(i)&&(o=i,i=0),i=i||0,o=u(o,{stroke:"black",strokeWidth:2,fill:"white"}),"none"===o.fill&&delete o.fillOpacity;var r=t/2,s=n/2,a=CQ("circle");return cQ(a,{cx:r,cy:s,r:Math.round((t+n)/4-i)}),cQ(a,o),iQ(e,a),a}function b(e,t,n,i,o,r){Object(Zj["isObject"])(o)&&(r=o,o=0),o=o||0,r=u(r,{stroke:"black",strokeWidth:2,fill:"white"});var s=CQ("rect");return cQ(s,{x:o,y:o,width:t-2*o,height:n-2*o,rx:i,ry:i}),cQ(s,r),iQ(e,s),s}function v(e,t,n,i){var o=t/2,r=n/2,s=[{x:o,y:0},{x:t,y:r},{x:o,y:n},{x:0,y:r}],a=s.map((function(e){return e.x+","+e.y})).join(" ");i=u(i,{stroke:"black",strokeWidth:2,fill:"white"});var l=CQ("polygon");return cQ(l,{points:a}),cQ(l,i),iQ(e,l),l}function y(e,t,n){n=u(n,["no-fill"],{stroke:"black",strokeWidth:2,fill:"none"});var i=nz(t,n);return iQ(e,i),i}function w(e,t,n){n=u(n,["no-fill"],{strokeWidth:2,stroke:"black"});var i=CQ("path");return cQ(i,{d:t}),cQ(i,n),iQ(e,i),i}function _(e,t,n,i){return w(t,n,Object(Zj["assign"])({"data-marker":e},i))}function A(e){return function(t,n){return N[e](t,n)}}function C(e){return N[e]}function E(e,t){var n=IU(e),i=NU(n);return n.eventDefinitions&&n.eventDefinitions.length>1?n.parallelMultiple?C("bpmn:ParallelMultipleEventDefinition")(t,e,i):C("bpmn:MultipleEventDefinition")(t,e,i):MU(n,"bpmn:MessageEventDefinition")?C("bpmn:MessageEventDefinition")(t,e,i):MU(n,"bpmn:TimerEventDefinition")?C("bpmn:TimerEventDefinition")(t,e,i):MU(n,"bpmn:ConditionalEventDefinition")?C("bpmn:ConditionalEventDefinition")(t,e):MU(n,"bpmn:SignalEventDefinition")?C("bpmn:SignalEventDefinition")(t,e,i):MU(n,"bpmn:EscalationEventDefinition")?C("bpmn:EscalationEventDefinition")(t,e,i):MU(n,"bpmn:LinkEventDefinition")?C("bpmn:LinkEventDefinition")(t,e,i):MU(n,"bpmn:ErrorEventDefinition")?C("bpmn:ErrorEventDefinition")(t,e,i):MU(n,"bpmn:CancelEventDefinition")?C("bpmn:CancelEventDefinition")(t,e,i):MU(n,"bpmn:CompensateEventDefinition")?C("bpmn:CompensateEventDefinition")(t,e,i):MU(n,"bpmn:TerminateEventDefinition")?C("bpmn:TerminateEventDefinition")(t,e,i):null}function x(e,t,n){n=Object(Zj["assign"])({size:{width:100}},n);var i=r.createText(t||"",n);return fQ(i).add("djs-label"),iQ(e,i),i}function S(e,t,n){var i=IU(t);return x(e,i.name,{box:t,align:n,padding:5,style:{fill:OU(t,l)}})}function D(e,t){var n={width:90,height:30,x:t.width/2+t.x,y:t.height/2+t.y};return x(e,DU(t),{box:n,fitBox:!0,style:Object(Zj["assign"])({},r.getExternalStyle(),{fill:OU(t,l)})})}function k(e,t,n){var i=x(e,t,{box:{height:30,width:n.height},align:"center-middle",style:{fill:OU(n,l)}}),o=-1*n.height;_V(i,0,-o,270)}function M(e){for(var t=e.waypoints,n="m  "+t[0].x+","+t[0].y,i=1;i<t.length;i++)n+="L"+t[i].x+","+t[i].y+" ";return n}var N=this.handlers={"bpmn:Event":function(e,t,n){return"fillOpacity"in n||(n.fillOpacity=WU),m(e,t.width,t.height,n)},"bpmn:StartEvent":function(e,t){var n={fill:TU(t,a),stroke:OU(t,l)},i=IU(t);i.isInterrupting||(n={strokeDasharray:"6",strokeLinecap:"round",fill:TU(t,a),stroke:OU(t,l)});var o=C("bpmn:Event")(e,t,n);return E(t,e),o},"bpmn:MessageEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.235,my:.315}}),r=n?OU(t,l):TU(t,a),s=n?TU(t,a):OU(t,l),c=w(e,o,{strokeWidth:1,fill:r,stroke:s});return c},"bpmn:TimerEventDefinition":function(e,t){var n=m(e,t.width,t.height,.2*t.height,{strokeWidth:2,fill:TU(t,a),stroke:OU(t,l)}),o=i.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}});w(e,o,{strokeWidth:2,strokeLinecap:"square",stroke:OU(t,l)});for(var r=0;r<12;r++){var s=i.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.5}}),c=t.width/2,h=t.height/2;w(e,s,{strokeWidth:1,strokeLinecap:"square",transform:"rotate("+30*r+","+h+","+c+")",stroke:OU(t,l)})}return n},"bpmn:EscalationEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)})},"bpmn:ConditionalEventDefinition":function(e,t){var n=i.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.222}});return w(e,n,{strokeWidth:1,stroke:OU(t,l)})},"bpmn:LinkEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.57,my:.263}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)})},"bpmn:ErrorEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.2,my:.722}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)})},"bpmn:CancelEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.638,my:-.055}}),r=n?OU(t,l):"none",s=w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)});return CV(s,45),s},"bpmn:CompensateEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.22,my:.5}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)})},"bpmn:SignalEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:t.width,containerHeight:t.height,position:{mx:.5,my:.2}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r,stroke:OU(t,l)})},"bpmn:MultipleEventDefinition":function(e,t,n){var o=i.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:t.width,containerHeight:t.height,position:{mx:.222,my:.36}}),r=n?OU(t,l):"none";return w(e,o,{strokeWidth:1,fill:r})},"bpmn:ParallelMultipleEventDefinition":function(e,t){var n=i.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:t.width,containerHeight:t.height,position:{mx:.458,my:.194}});return w(e,n,{strokeWidth:1,fill:OU(t,l),stroke:OU(t,l)})},"bpmn:EndEvent":function(e,t){var n=C("bpmn:Event")(e,t,{strokeWidth:4,fill:TU(t,a),stroke:OU(t,l)});return E(t,e,!0),n},"bpmn:TerminateEventDefinition":function(e,t){var n=m(e,t.width,t.height,8,{strokeWidth:4,fill:OU(t,l),stroke:OU(t,l)});return n},"bpmn:IntermediateEvent":function(e,t){var n=C("bpmn:Event")(e,t,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)});return m(e,t.width,t.height,VU,{strokeWidth:1,fill:TU(t,"none"),stroke:OU(t,l)}),E(t,e),n},"bpmn:IntermediateCatchEvent":A("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":A("bpmn:IntermediateEvent"),"bpmn:Activity":function(e,t,n){return n=n||{},"fillOpacity"in n||(n.fillOpacity=WU),b(e,t.width,t.height,zU,n)},"bpmn:Task":function(e,t){var n={fill:TU(t,a),stroke:OU(t,l)},i=C("bpmn:Activity")(e,t,n);return S(e,t,"center-middle"),L(e,t),i},"bpmn:ServiceTask":function(e,t){var n=C("bpmn:Task")(e,t),o=i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});w(e,o,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)});var r=i.getScaledPath("TASK_TYPE_SERVICE_FILL",{abspos:{x:17.2,y:18}});w(e,r,{strokeWidth:0,fill:TU(t,a)});var s=i.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return w(e,s,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)}),n},"bpmn:UserTask":function(e,t){var n=C("bpmn:Task")(e,t),o=15,r=12,s=i.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:o,y:r}});w(e,s,{strokeWidth:.5,fill:TU(t,a),stroke:OU(t,l)});var c=i.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:o,y:r}});w(e,c,{strokeWidth:.5,fill:TU(t,a),stroke:OU(t,l)});var h=i.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:o,y:r}});return w(e,h,{strokeWidth:.5,fill:OU(t,l),stroke:OU(t,l)}),n},"bpmn:ManualTask":function(e,t){var n=C("bpmn:Task")(e,t),o=i.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return w(e,o,{strokeWidth:.5,fill:TU(t,a),stroke:OU(t,l)}),n},"bpmn:SendTask":function(e,t){var n=C("bpmn:Task")(e,t),o=i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return w(e,o,{strokeWidth:1,fill:OU(t,l),stroke:TU(t,a)}),n},"bpmn:ReceiveTask":function(e,t){var n,o=IU(t),r=C("bpmn:Task")(e,t);return o.instantiate?(m(e,28,28,4.4,{strokeWidth:1}),n=i.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):n=i.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),w(e,n,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)}),r},"bpmn:ScriptTask":function(e,t){var n=C("bpmn:Task")(e,t),o=i.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return w(e,o,{strokeWidth:1,stroke:OU(t,l)}),n},"bpmn:BusinessRuleTask":function(e,t){var n=C("bpmn:Task")(e,t),o=i.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),r=w(e,o);cQ(r,{strokeWidth:1,fill:TU(t,"#aaaaaa"),stroke:OU(t,l)});var s=i.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),a=w(e,s);return cQ(a,{strokeWidth:1,stroke:OU(t,l)}),n},"bpmn:SubProcess":function(e,t,n){n=Object(Zj["assign"])({fill:TU(t,a),stroke:OU(t,l)},n);var i=C("bpmn:Activity")(e,t,n),o=vU(t);return wU(t)&&cQ(i,{strokeDasharray:"1,2"}),S(e,t,o?"center-top":"center-middle"),o?L(e,t):L(e,t,["SubProcessMarker"]),i},"bpmn:AdHocSubProcess":function(e,t){return C("bpmn:SubProcess")(e,t)},"bpmn:Transaction":function(e,t){var i=C("bpmn:SubProcess")(e,t),o=n.style(["no-fill","no-events"],{stroke:OU(t,l)});return b(e,t.width,t.height,zU-2,VU,o),i},"bpmn:CallActivity":function(e,t){return C("bpmn:SubProcess")(e,t,{strokeWidth:5})},"bpmn:Participant":function(e,t){var n={fillOpacity:WU,fill:TU(t,a),stroke:OU(t,l)},i=C("bpmn:Lane")(e,t,n),o=vU(t);if(o){y(e,[{x:30,y:0},{x:30,y:t.height}],{stroke:OU(t,l)});var r=IU(t).name;k(e,r,t)}else{var s=IU(t).name;x(e,s,{box:t,align:"center-middle",style:{fill:OU(t,l)}})}var c=!!IU(t).participantMultiplicity;return c&&C("ParticipantMultiplicityMarker")(e,t),i},"bpmn:Lane":function(e,t,n){var i=b(e,t.width,t.height,0,Object(Zj["assign"])({fill:TU(t,a),fillOpacity:HU,stroke:OU(t,l)},n)),o=IU(t);if("bpmn:Lane"===o.$type){var r=o.name;k(e,r,t)}return i},"bpmn:InclusiveGateway":function(e,t){var n=C("bpmn:Gateway")(e,t);return m(e,t.width,t.height,.24*t.height,{strokeWidth:2.5,fill:TU(t,a),stroke:OU(t,l)}),n},"bpmn:ExclusiveGateway":function(e,t){var n=C("bpmn:Gateway")(e,t),o=i.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.32,my:.3}});return BU(t).isMarkerVisible&&w(e,o,{strokeWidth:1,fill:OU(t,l),stroke:OU(t,l)}),n},"bpmn:ComplexGateway":function(e,t){var n=C("bpmn:Gateway")(e,t),o=i.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.26}});return w(e,o,{strokeWidth:1,fill:OU(t,l),stroke:OU(t,l)}),n},"bpmn:ParallelGateway":function(e,t){var n=C("bpmn:Gateway")(e,t),o=i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:t.width,containerHeight:t.height,position:{mx:.46,my:.2}});return w(e,o,{strokeWidth:1,fill:OU(t,l),stroke:OU(t,l)}),n},"bpmn:EventBasedGateway":function(e,t){var n=IU(t),o=C("bpmn:Gateway")(e,t);m(e,t.width,t.height,.2*t.height,{strokeWidth:1,fill:"none",stroke:OU(t,l)});var r=n.eventGatewayType,s=!!n.instantiate;function a(){var n=i.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:t.width,containerHeight:t.height,position:{mx:.36,my:.44}}),o={strokeWidth:2,fill:TU(t,"none"),stroke:OU(t,l)};w(e,n,o)}if("Parallel"===r){var c=i.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}}),h=w(e,c);cQ(h,{strokeWidth:1,fill:"none"})}else if("Exclusive"===r){if(!s){var u=m(e,t.width,t.height,.26*t.height);cQ(u,{strokeWidth:1,fill:"none",stroke:OU(t,l)})}a()}return o},"bpmn:Gateway":function(e,t){var n={fill:TU(t,a),fillOpacity:WU,stroke:OU(t,l)};return v(e,t.width,t.height,n)},"bpmn:SequenceFlow":function(e,t){var n,i=M(t),o=TU(t,a),r=OU(t,l),s={strokeLinejoin:"round",markerEnd:f("sequenceflow-end",o,r),stroke:OU(t,l)},c=w(e,i,s),h=IU(t);return t.source&&(n=t.source.businessObject,h.conditionExpression&&n.$instanceOf("bpmn:Activity")&&cQ(c,{markerStart:f("conditional-flow-marker",o,r)}),n.default&&(n.$instanceOf("bpmn:Gateway")||n.$instanceOf("bpmn:Activity"))&&n.default===h&&cQ(c,{markerStart:f("conditional-default-flow-marker",o,r)})),c},"bpmn:Association":function(e,t,n){var i=IU(t),o=TU(t,a),r=OU(t,l);return n=Object(Zj["assign"])({strokeDasharray:"0.5, 5",strokeLinecap:"round",strokeLinejoin:"round",stroke:OU(t,l)},n||{}),"One"!==i.associationDirection&&"Both"!==i.associationDirection||(n.markerEnd=f("association-end",o,r)),"Both"===i.associationDirection&&(n.markerStart=f("association-start",o,r)),y(e,t.waypoints,n)},"bpmn:DataInputAssociation":function(e,t){var n=TU(t,a),i=OU(t,l);return C("bpmn:Association")(e,t,{markerEnd:f("association-end",n,i)})},"bpmn:DataOutputAssociation":function(e,t){var n=TU(t,a),i=OU(t,l);return C("bpmn:Association")(e,t,{markerEnd:f("association-end",n,i)})},"bpmn:MessageFlow":function(e,t){var n=IU(t),o=BU(t),r=TU(t,a),s=OU(t,l),c=M(t),h={markerEnd:f("messageflow-end",r,s),markerStart:f("messageflow-start",r,s),strokeDasharray:"10, 12",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5px",stroke:OU(t,l)},u=w(e,c,h);if(n.messageRef){var d=u.getPointAtLength(u.getTotalLength()/2),p=i.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:d.x,y:d.y}}),g={strokeWidth:1};"initiating"===o.messageVisibleKind?(g.fill="white",g.stroke="black"):(g.fill="#888",g.stroke="white");var m=w(e,p,g),b=n.messageRef.name,v=x(e,b,{align:"center-top",fitBox:!0,style:{fill:OU(t,l)}}),y=m.getBBox(),_=v.getBBox(),A=d.x-_.width/2,C=d.y+y.height/2+UU;_V(v,A,C,0)}return u},"bpmn:DataObject":function(e,t){var n=i.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.474,my:.296}}),o=w(e,n,{fill:TU(t,a),fillOpacity:WU,stroke:OU(t,l)}),r=IU(t);return LU(r)&&B(e,t),o},"bpmn:DataObjectReference":A("bpmn:DataObject"),"bpmn:DataInput":function(e,t){var n=i.getRawPath("DATA_ARROW"),o=C("bpmn:DataObject")(e,t);return w(e,n,{strokeWidth:1}),o},"bpmn:DataOutput":function(e,t){var n=i.getRawPath("DATA_ARROW"),o=C("bpmn:DataObject")(e,t);return w(e,n,{strokeWidth:1,fill:"black"}),o},"bpmn:DataStoreReference":function(e,t){var n=i.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:0,my:.133}}),o=w(e,n,{strokeWidth:2,fill:TU(t,a),fillOpacity:WU,stroke:OU(t,l)});return o},"bpmn:BoundaryEvent":function(e,t){var n=IU(t),i=n.cancelActivity,o={strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)};i||(o.strokeDasharray="6",o.strokeLinecap="round");var r=Object(Zj["assign"])({},o,{fillOpacity:1}),s=Object(Zj["assign"])({},o,{fill:"none"}),c=C("bpmn:Event")(e,t,r);return m(e,t.width,t.height,VU,s),E(t,e),c},"bpmn:Group":function(e,t){var n=b(e,t.width,t.height,zU,{stroke:OU(t,l),strokeWidth:1,strokeDasharray:"8,3,1,3",fill:"none",pointerEvents:"none"});return n},label:function(e,t){return D(e,t)},"bpmn:TextAnnotation":function(e,t){var n={fill:"none",stroke:"none"},o=b(e,t.width,t.height,0,0,n),r=i.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:0,my:0}});w(e,r,{stroke:OU(t,l)});var s=IU(t).text||"";return x(e,s,{box:t,align:"left-top",padding:5,style:{fill:OU(t,l)}}),o},ParticipantMultiplicityMarker:function(e,t){var n=i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:t.width/2/t.width,my:(t.height-15)/t.height}});_("participant-multiplicity",e,n,{strokeWidth:2,fill:TU(t,a),stroke:OU(t,l)})},SubProcessMarker:function(e,t){var n=b(e,14,14,0,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)});AV(n,t.width/2-7.5,t.height-20);var o=i.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2-7.5)/t.width,my:(t.height-20)/t.height}});_("sub-process",e,o,{fill:TU(t,a),stroke:OU(t,l)})},ParallelMarker:function(e,t,n){var o=i.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.parallel)/t.width,my:(t.height-20)/t.height}});_("parallel",e,o,{fill:TU(t,a),stroke:OU(t,l)})},SequentialMarker:function(e,t,n){var o=i.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.seq)/t.width,my:(t.height-19)/t.height}});_("sequential",e,o,{fill:TU(t,a),stroke:OU(t,l)})},CompensationMarker:function(e,t,n){var o=i.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.compensation)/t.width,my:(t.height-13)/t.height}});_("compensation",e,o,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l)})},LoopMarker:function(e,t,n){var o=i.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.loop)/t.width,my:(t.height-7)/t.height}});_("loop",e,o,{strokeWidth:1,fill:TU(t,a),stroke:OU(t,l),strokeLinecap:"round",strokeMiterlimit:.5})},AdhocMarker:function(e,t,n){var o=i.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:(t.width/2+n.adhoc)/t.width,my:(t.height-15)/t.height}});_("adhoc",e,o,{strokeWidth:1,fill:OU(t,l),stroke:OU(t,l)})}};function L(e,t,n){var i,o=IU(t),r=n&&-1!==n.indexOf("SubProcessMarker");i=r?{seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:{seq:-3,parallel:-6,compensation:-27,loop:0,adhoc:10},Object(Zj["forEach"])(n,(function(n){C(n)(e,t,i)})),o.isForCompensation&&C("CompensationMarker")(e,t,i),"bpmn:AdHocSubProcess"===o.$type&&C("AdhocMarker")(e,t,i);var s=o.loopCharacteristics,a=s&&s.isSequential;s&&(void 0===a&&C("LoopMarker")(e,t,i),!1===a&&C("ParallelMarker")(e,t,i),!0===a&&C("SequentialMarker")(e,t,i))}function B(e,t){var n=(t.height-18)/t.height,o=i.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:t.width,containerHeight:t.height,position:{mx:.33,my:n}});w(e,o,{strokeWidth:2})}this._drawPath=w}Kj()(YU,ZQ),YU.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],YU.prototype.canRender=function(e){return Object(bU["is"])(e,"bpmn:BaseElement")},YU.prototype.drawShape=function(e,t){var n=t.type,i=this.handlers[n];return i(e,t)},YU.prototype.drawConnection=function(e,t){var n=t.type,i=this.handlers[n];return i(e,t)},YU.prototype.getShapePath=function(e){return Object(bU["is"])(e,"bpmn:Event")?RU(e):Object(bU["is"])(e,"bpmn:Activity")?PU(e,zU):Object(bU["is"])(e,"bpmn:Gateway")?FU(e):jU(e)};var GU=0,KU={width:150,height:50};function qU(e){var t=e.split("-");return{horizontal:t[0]||"center",vertical:t[1]||"top"}}function JU(e){return Object(Zj["isObject"])(e)?Object(Zj["assign"])({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function XU(e,t){var n;t.textContent=e;try{var i,o=""===e;return t.textContent=o?"dummy":e,n=t.getBBox(),i={width:n.width+2*n.x,height:n.height},o&&(i.width=0),i}catch(r){return{width:0,height:0}}}function $U(e,t,n){for(var i,o=e.shift(),r=o;;){if(i=XU(r,n),i.width=r?i.width:0," "===r||""===r||i.width<Math.round(t)||r.length<2)return ZU(e,r,o,i);r=nY(r,i.width,t)}}function ZU(e,t,n,i){if(t.length<n.length){var o=n.slice(t.length).trim();e.unshift(o)}return{width:i.width,height:i.height,text:t}}var eY="­";function tY(e,t){var n,i=e.split(/(\s|-|\u00AD)/g),o=[],r=0;if(i.length>1)while(n=i.shift()){if(!(n.length+r<t)){"-"!==n&&n!==eY||o.pop();break}o.push(n),r+=n.length}var s=o[o.length-1];return s&&s===eY&&(o[o.length-1]="-"),o.join("")}function nY(e,t,n){var i=Math.max(e.length*(n/t),1),o=tY(e,i);return o||(o=e.slice(0,Math.max(Math.round(i-1),1))),o}function iY(){var e=document.getElementById("helper-svg");return e||(e=CQ("svg"),cQ(e,{id:"helper-svg",width:0,height:0,style:"visibility: hidden; position: fixed"}),document.body.appendChild(e)),e}function oY(e){this._config=Object(Zj["assign"])({},{size:KU,padding:GU,style:{},align:"center-top"},e||{})}function rY(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}oY.prototype.createText=function(e,t){return this.layoutText(e,t).element},oY.prototype.getDimensions=function(e,t){return this.layoutText(e,t).dimensions},oY.prototype.layoutText=function(e,t){var n=Object(Zj["assign"])({},this._config.size,t.box),i=Object(Zj["assign"])({},this._config.style,t.style),o=qU(t.align||this._config.align),r=JU(void 0!==t.padding?t.padding:this._config.padding),s=t.fitBox||!1,a=rY(i),l=e.split(/\u00AD?\r?\n/),c=[],h=n.width-r.left-r.right,u=CQ("text");cQ(u,{x:0,y:0}),cQ(u,i);var d=iY();iQ(d,u);while(l.length)c.push($U(l,h,u));"middle"===o.vertical&&(r.top=r.bottom=0);var p=Object(Zj["reduce"])(c,(function(e,t,n){return e+(a||t.height)}),0)+r.top+r.bottom,f=Object(Zj["reduce"])(c,(function(e,t,n){return t.width>e?t.width:e}),0),g=r.top;"middle"===o.vertical&&(g+=(n.height-p)/2),g-=(a||c[0].height)/4;var m=CQ("text");cQ(m,i),Object(Zj["forEach"])(c,(function(e){var t;switch(g+=a||e.height,o.horizontal){case"left":t=r.left;break;case"right":t=(s?f:h)-r.right-e.width;break;default:t=Math.max(((s?f:h)-e.width)/2+r.left,0)}var n=CQ("tspan");cQ(n,{x:t,y:g}),n.textContent=e.text,iQ(m,n)})),mQ(u);var b={width:f,height:p};return{dimensions:b,element:m}};var sY=12,aY=1.2,lY=30;function cY(e){var t=Object(Zj["assign"])({fontFamily:"Arial, sans-serif",fontSize:sY,fontWeight:"normal",lineHeight:aY},e&&e.defaultStyle||{}),n=parseInt(t.fontSize,10)-1,i=Object(Zj["assign"])({},t,{fontSize:n},e&&e.externalStyle||{}),o=new oY({style:t});this.getExternalLabelBounds=function(e,t){var n=o.getDimensions(t,{box:{width:90,height:30,x:e.width/2+e.x,y:e.height/2+e.y},style:i});return{x:Math.round(e.x+e.width/2-n.width/2),y:Math.round(e.y),width:Math.ceil(n.width),height:Math.ceil(n.height)}},this.getTextAnnotationBounds=function(e,n){var i=o.getDimensions(n,{box:e,style:t,align:"left-top",padding:5});return{x:e.x,y:e.y,width:e.width,height:Math.max(lY,Math.round(i.height))}},this.createText=function(e,t){return o.createText(e,t||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return i}}function hY(){this.pathMap={EVENT_MESSAGE:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:36,width:36,heightElements:[6,14],widthElements:[10.5,21]},EVENT_SIGNAL:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x1},0 Z",height:36,width:36,heightElements:[18],widthElements:[10,20]},EVENT_ESCALATION:{d:"M {mx},{my} l {e.x0},{e.y0} l -{e.x0},-{e.y1} l -{e.x0},{e.y1} Z",height:36,width:36,heightElements:[20,7],widthElements:[8]},EVENT_CONDITIONAL:{d:"M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z M {e.x2},{e.y3} l {e.x0},0 M {e.x2},{e.y4} l {e.x0},0 M {e.x2},{e.y5} l {e.x0},0 M {e.x2},{e.y6} l {e.x0},0 M {e.x2},{e.y7} l {e.x0},0 M {e.x2},{e.y8} l {e.x0},0 ",height:36,width:36,heightElements:[8.5,14.5,18,11.5,14.5,17.5,20.5,23.5,26.5],widthElements:[10.5,14.5,12.5]},EVENT_LINK:{d:"m {mx},{my} 0,{e.y0} -{e.x1},0 0,{e.y1} {e.x1},0 0,{e.y0} {e.x0},-{e.y2} -{e.x0},-{e.y2} z",height:36,width:36,heightElements:[4.4375,6.75,7.8125],widthElements:[9.84375,13.5]},EVENT_ERROR:{d:"m {mx},{my} {e.x0},-{e.y0} {e.x1},-{e.y1} {e.x2},{e.y2} {e.x3},-{e.y3} -{e.x4},{e.y4} -{e.x5},-{e.y5} z",height:36,width:36,heightElements:[.023,8.737,8.151,16.564,10.591,8.714],widthElements:[.085,6.672,6.97,4.273,5.337,6.636]},EVENT_CANCEL_45:{d:"m {mx},{my} -{e.x1},0 0,{e.x0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:36,width:36,heightElements:[4.75,8.5],widthElements:[4.75,8.5]},EVENT_COMPENSATION:{d:"m {mx},{my} {e.x0},-{e.y0} 0,{e.y1} z m {e.x1},-{e.y2} {e.x2},-{e.y3} 0,{e.y1} -{e.x2},-{e.y3} z",height:36,width:36,heightElements:[6.5,13,.4,6.1],widthElements:[9,9.3,8.7]},EVENT_TIMER_WH:{d:"M {mx},{my} l {e.x0},-{e.y0} m -{e.x0},{e.y0} l {e.x1},{e.y1} ",height:36,width:36,heightElements:[10,2],widthElements:[3,7]},EVENT_TIMER_LINE:{d:"M {mx},{my} m {e.x0},{e.y0} l -{e.x1},{e.y1} ",height:36,width:36,heightElements:[10,3],widthElements:[0,0]},EVENT_MULTIPLE:{d:"m {mx},{my} {e.x1},-{e.y0} {e.x1},{e.y0} -{e.x0},{e.y1} -{e.x2},0 z",height:36,width:36,heightElements:[6.28099,12.56199],widthElements:[3.1405,9.42149,12.56198]},EVENT_PARALLEL_MULTIPLE:{d:"m {mx},{my} {e.x0},0 0,{e.y1} {e.x1},0 0,{e.y0} -{e.x1},0 0,{e.y1} -{e.x0},0 0,-{e.y1} -{e.x1},0 0,-{e.y0} {e.x1},0 z",height:36,width:36,heightElements:[2.56228,7.68683],widthElements:[2.56228,7.68683]},GATEWAY_EXCLUSIVE:{d:"m {mx},{my} {e.x0},{e.y0} {e.x1},{e.y0} {e.x2},0 {e.x4},{e.y2} {e.x4},{e.y1} {e.x2},0 {e.x1},{e.y3} {e.x0},{e.y3} {e.x3},0 {e.x5},{e.y1} {e.x5},{e.y2} {e.x3},0 z",height:17.5,width:17.5,heightElements:[8.5,6.5312,-6.5312,-8.5],widthElements:[6.5,-6.5,3,-3,5,-5]},GATEWAY_PARALLEL:{d:"m {mx},{my} 0,{e.y1} -{e.x1},0 0,{e.y0} {e.x1},0 0,{e.y1} {e.x0},0 0,-{e.y1} {e.x1},0 0,-{e.y0} -{e.x1},0 0,-{e.y1} -{e.x0},0 z",height:30,width:30,heightElements:[5,12.5],widthElements:[5,12.5]},GATEWAY_EVENT_BASED:{d:"m {mx},{my} {e.x0},{e.y0} {e.x0},{e.y1} {e.x1},{e.y2} {e.x2},0 z",height:11,width:11,heightElements:[-6,6,12,-12],widthElements:[9,-3,-12]},GATEWAY_COMPLEX:{d:"m {mx},{my} 0,{e.y0} -{e.x0},-{e.y1} -{e.x1},{e.y2} {e.x0},{e.y1} -{e.x2},0 0,{e.y3} {e.x2},0  -{e.x0},{e.y1} l {e.x1},{e.y2} {e.x0},-{e.y1} 0,{e.y0} {e.x3},0 0,-{e.y0} {e.x0},{e.y1} {e.x1},-{e.y2} -{e.x0},-{e.y1} {e.x2},0 0,-{e.y3} -{e.x2},0 {e.x0},-{e.y1} -{e.x1},-{e.y2} -{e.x0},{e.y1} 0,-{e.y0} -{e.x3},0 z",height:17.125,width:17.125,heightElements:[4.875,3.4375,2.125,3],widthElements:[3.4375,2.125,4.875,3]},DATA_OBJECT_PATH:{d:"m 0,0 {e.x1},0 {e.x0},{e.y0} 0,{e.y1} -{e.x2},0 0,-{e.y2} {e.x1},0 0,{e.y0} {e.x0},0",height:61,width:51,heightElements:[10,50,60],widthElements:[10,40,50,60]},DATA_OBJECT_COLLECTION_PATH:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},DATA_ARROW:{d:"m 5,9 9,0 0,-3 5,5 -5,5 0,-3 -9,0 z",height:61,width:51,heightElements:[],widthElements:[]},DATA_STORE:{d:"m  {mx},{my} l  0,{e.y2} c  {e.x0},{e.y1} {e.x1},{e.y1}  {e.x2},0 l  0,-{e.y2} c -{e.x0},-{e.y1} -{e.x1},-{e.y1} -{e.x2},0c  {e.x0},{e.y1} {e.x1},{e.y1}  {e.x2},0 m  -{e.x2},{e.y0}c  {e.x0},{e.y1} {e.x1},{e.y1} {e.x2},0m  -{e.x2},{e.y0}c  {e.x0},{e.y1} {e.x1},{e.y1}  {e.x2},0",height:61,width:61,heightElements:[7,10,45],widthElements:[2,58,60]},TEXT_ANNOTATION:{d:"m {mx}, {my} m 10,0 l -10,0 l 0,{e.y0} l 10,0",height:30,width:10,heightElements:[30],widthElements:[10]},MARKER_SUB_PROCESS:{d:"m{mx},{my} m 7,2 l 0,10 m -5,-5 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_PARALLEL:{d:"m{mx},{my} m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10",height:10,width:10,heightElements:[],widthElements:[]},MARKER_SEQUENTIAL:{d:"m{mx},{my} m 0,3 l 10,0 m -10,3 l 10,0 m -10,3 l 10,0",height:10,width:10,heightElements:[],widthElements:[]},MARKER_COMPENSATION:{d:"m {mx},{my} 7,-5 0,10 z m 7.1,-0.3 6.9,-4.7 0,10 -6.9,-4.7 z",height:10,width:21,heightElements:[],widthElements:[]},MARKER_LOOP:{d:"m {mx},{my} c 3.526979,0 6.386161,-2.829858 6.386161,-6.320661 0,-3.490806 -2.859182,-6.320661 -6.386161,-6.320661 -3.526978,0 -6.38616,2.829855 -6.38616,6.320661 0,1.745402 0.714797,3.325567 1.870463,4.469381 0.577834,0.571908 1.265885,1.034728 2.029916,1.35457 l -0.718163,-3.909793 m 0.718163,3.909793 -3.885211,0.802902",height:13.9,width:13.7,heightElements:[],widthElements:[]},MARKER_ADHOC:{d:"m {mx},{my} m 0.84461,2.64411 c 1.05533,-1.23780996 2.64337,-2.07882 4.29653,-1.97997996 2.05163,0.0805 3.85579,1.15803 5.76082,1.79107 1.06385,0.34139996 2.24454,0.1438 3.18759,-0.43767 0.61743,-0.33642 1.2775,-0.64078 1.7542,-1.17511 0,0.56023 0,1.12046 0,1.6807 -0.98706,0.96237996 -2.29792,1.62393996 -3.6918,1.66181996 -1.24459,0.0927 -2.46671,-0.2491 -3.59505,-0.74812 -1.35789,-0.55965 -2.75133,-1.33436996 -4.27027,-1.18121996 -1.37741,0.14601 -2.41842,1.13685996 -3.44288,1.96782996 z",height:4,width:15,heightElements:[],widthElements:[]},TASK_TYPE_SEND:{d:"m {mx},{my} l 0,{e.y1} l {e.x1},0 l 0,-{e.y1} z l {e.x0},{e.y0} l {e.x0},-{e.y0}",height:14,width:21,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_SCRIPT:{d:"m {mx},{my} c 9.966553,-6.27276 -8.000926,-7.91932 2.968968,-14.938 l -8.802728,0 c -10.969894,7.01868 6.997585,8.66524 -2.968967,14.938 z m -7,-12 l 5,0 m -4.5,3 l 4.5,0 m -3,3 l 5,0m -4,3 l 5,0",height:15,width:12.6,heightElements:[6,14],widthElements:[10.5,21]},TASK_TYPE_USER_1:{d:"m {mx},{my} c 0.909,-0.845 1.594,-2.049 1.594,-3.385 0,-2.554 -1.805,-4.62199999 -4.357,-4.62199999 -2.55199998,0 -4.28799998,2.06799999 -4.28799998,4.62199999 0,1.348 0.974,2.562 1.89599998,3.405 -0.52899998,0.187 -5.669,2.097 -5.794,4.7560005 v 6.718 h 17 v -6.718 c 0,-2.2980005 -5.5279996,-4.5950005 -6.0509996,-4.7760005 zm -8,6 l 0,5.5 m 11,0 l 0,-5"},TASK_TYPE_USER_2:{d:"m {mx},{my} m 2.162,1.009 c 0,2.4470005 -2.158,4.4310005 -4.821,4.4310005 -2.66499998,0 -4.822,-1.981 -4.822,-4.4310005 "},TASK_TYPE_USER_3:{d:"m {mx},{my} m -6.9,-3.80 c 0,0 2.25099998,-2.358 4.27399998,-1.177 2.024,1.181 4.221,1.537 4.124,0.965 -0.098,-0.57 -0.117,-3.79099999 -4.191,-4.13599999 -3.57499998,0.001 -4.20799998,3.36699999 -4.20699998,4.34799999 z"},TASK_TYPE_MANUAL:{d:"m {mx},{my} c 0.234,-0.01 5.604,0.008 8.029,0.004 0.808,0 1.271,-0.172 1.417,-0.752 0.227,-0.898 -0.334,-1.314 -1.338,-1.316 -2.467,-0.01 -7.886,-0.004 -8.108,-0.004 -0.014,-0.079 0.016,-0.533 0,-0.61 0.195,-0.042 8.507,0.006 9.616,0.002 0.877,-0.007 1.35,-0.438 1.353,-1.208 0.003,-0.768 -0.479,-1.09 -1.35,-1.091 -2.968,-0.002 -9.619,-0.013 -9.619,-0.013 v -0.591 c 0,0 5.052,-0.016 7.225,-0.016 0.888,-0.002 1.354,-0.416 1.351,-1.193 -0.006,-0.761 -0.492,-1.196 -1.361,-1.196 -3.473,-0.005 -10.86,-0.003 -11.0829995,-0.003 -0.022,-0.047 -0.045,-0.094 -0.069,-0.139 0.3939995,-0.319 2.0409995,-1.626 2.4149995,-2.017 0.469,-0.4870005 0.519,-1.1650005 0.162,-1.6040005 -0.414,-0.511 -0.973,-0.5 -1.48,-0.236 -1.4609995,0.764 -6.5999995,3.6430005 -7.7329995,4.2710005 -0.9,0.499 -1.516,1.253 -1.882,2.19 -0.37000002,0.95 -0.17,2.01 -0.166,2.979 0.004,0.718 -0.27300002,1.345 -0.055,2.063 0.629,2.087 2.425,3.312 4.859,3.318 4.6179995,0.014 9.2379995,-0.139 13.8569995,-0.158 0.755,-0.004 1.171,-0.301 1.182,-1.033 0.012,-0.754 -0.423,-0.969 -1.183,-0.973 -1.778,-0.01 -5.824,-0.004 -6.04,-0.004 10e-4,-0.084 0.003,-0.586 10e-4,-0.67 z"},TASK_TYPE_INSTANTIATING_SEND:{d:"m {mx},{my} l 0,8.4 l 12.6,0 l 0,-8.4 z l 6.3,3.6 l 6.3,-3.6"},TASK_TYPE_SERVICE:{d:"m {mx},{my} v -1.71335 c 0.352326,-0.0705 0.703932,-0.17838 1.047628,-0.32133 0.344416,-0.14465 0.665822,-0.32133 0.966377,-0.52145 l 1.19431,1.18005 1.567487,-1.57688 -1.195028,-1.18014 c 0.403376,-0.61394 0.683079,-1.29908 0.825447,-2.01824 l 1.622133,-0.01 v -2.2196 l -1.636514,0.01 c -0.07333,-0.35153 -0.178319,-0.70024 -0.323564,-1.04372 -0.145244,-0.34406 -0.321407,-0.6644 -0.522735,-0.96217 l 1.131035,-1.13631 -1.583305,-1.56293 -1.129598,1.13589 c -0.614052,-0.40108 -1.302883,-0.68093 -2.022633,-0.82247 l 0.0093,-1.61852 h -2.241173 l 0.0042,1.63124 c -0.353763,0.0736 -0.705369,0.17977 -1.049785,0.32371 -0.344415,0.14437 -0.665102,0.32092 -0.9635006,0.52046 l -1.1698628,-1.15823 -1.5667691,1.5792 1.1684265,1.15669 c -0.4026573,0.61283 -0.68308,1.29797 -0.8247287,2.01713 l -1.6588041,0.003 v 2.22174 l 1.6724648,-0.006 c 0.073327,0.35077 0.1797598,0.70243 0.3242851,1.04472 0.1452428,0.34448 0.3214064,0.6644 0.5227339,0.96066 l -1.1993431,1.19723 1.5840256,1.56011 1.1964668,-1.19348 c 0.6140517,0.40346 1.3028827,0.68232 2.0233517,0.82331 l 7.19e-4,1.69892 h 2.226848 z m 0.221462,-3.9957 c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_SERVICE_FILL:{d:"m {mx},{my} c -1.788948,0.7502 -3.8576,-0.0928 -4.6097055,-1.87438 -0.7521065,-1.78321 0.090598,-3.84627 1.8802645,-4.59604 1.78823,-0.74936 3.856881,0.0929 4.608987,1.87437 0.752106,1.78165 -0.0906,3.84612 -1.879546,4.59605 z"},TASK_TYPE_BUSINESS_RULE_HEADER:{d:"m {mx},{my} 0,4 20,0 0,-4 z"},TASK_TYPE_BUSINESS_RULE_MAIN:{d:"m {mx},{my} 0,12 20,0 0,-12 zm 0,8 l 20,0 m -13,-4 l 0,8"},MESSAGE_BUSINESS_MAEKER:{d:"m {mx},{my} 8,c 120 8d2d7e -6434, -276 2f9.1c e0 -6b5 7c, -73b 4a.df, 3a2"},MESSAGE_SERVICE_MAEKER:{d:"m {mx},{my} b,5 c99,-2b0,bfb -8b1, 351b, 42 -d80a 651 -c94 -2400 c83ad, ad6ed1, -eaa b70c 973, 801c, d1a9, a2, c09, b, -29f00fe, -224, 128, 2d, 029c22fe61a15, a980 4e58f84, d8f0, 1ba3 -72f855, 10a0 -722, -c1c7e3, 36066c, f753 -b3bf 15d3 29e42f 3ee, a3 95,2 2e, b02, -38 aa -62 d3c0 -f49d76, 23, 988 -862 65181db, 81647367d5caa, 3b5 2a.f4 c3451c74 -1390 -68b7, 84fc0 b69, 5fb, 8e 33e9"},MESSAGE_FLOW_MARKER:{d:"m {mx},{my} m -10.5 ,-7 l 0,14 l 21,0 l 0,-14 z l 10.5,6 l 10.5,-6"}},this.getRawPath=function(e){return this.pathMap[e].d},this.getScaledPath=function(e,t){var n,i,o=this.pathMap[e];t.abspos?(n=t.abspos.x,i=t.abspos.y):(n=t.containerWidth*t.position.mx,i=t.containerHeight*t.position.my);var r={};if(t.position){for(var s=t.containerHeight/o.height*t.yScaleFactor,a=t.containerWidth/o.width*t.xScaleFactor,l=0;l<o.heightElements.length;l++)r["y"+l]=o.heightElements[l]*s;for(var c=0;c<o.widthElements.length;c++)r["x"+c]=o.widthElements[c]*a}var h=fY(o.d,{mx:n,my:i,e:r});return h}}cY.$inject=["config.textRenderer"];var uY=/\{([^}]+)\}/g,dY=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function pY(e,t,n){var i=n;return t.replace(dY,(function(e,t,n,o,r){t=t||o,i&&(t in i&&(i=i[t]),"function"==typeof i&&r&&(i=i()))})),i=(null==i||i==n?e:i)+"",i}function fY(e,t){return String(e).replace(uY,(function(e,n){return pY(e,n,t)}))}var gY={__init__:["bpmnRenderer"],bpmnRenderer:["type",YU],textRenderer:["type",cY],pathMap:["type",hY]};function mY(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}var bY={translate:["value",mY]},vY={width:90,height:20},yY=15;function wY(e){return Object(bU["is"])(e,"bpmn:Event")||Object(bU["is"])(e,"bpmn:Gateway")||Object(bU["is"])(e,"bpmn:DataStoreReference")||Object(bU["is"])(e,"bpmn:DataObjectReference")||Object(bU["is"])(e,"bpmn:DataInput")||Object(bU["is"])(e,"bpmn:DataOutput")||Object(bU["is"])(e,"bpmn:SequenceFlow")||Object(bU["is"])(e,"bpmn:MessageFlow")||Object(bU["is"])(e,"bpmn:Group")}function _Y(e){return SY(e.label)}function AY(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)],o=CY(e),r=Math.atan((i.y-n.y)/(i.x-n.x)),s=o.x,a=o.y;return Math.abs(r)<Math.PI/2?a-=yY:s+=yY,{x:s,y:a}}function CY(e){var t=e.length/2-1,n=e[Math.floor(t)],i=e[Math.ceil(t+.01)];return{x:n.x+(i.x-n.x)/2,y:n.y+(i.y-n.y)/2}}function EY(e){return e.waypoints?AY(e.waypoints):Object(bU["is"])(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+vY.height/2}:{x:e.x+e.width/2,y:e.y+e.height+vY.height/2}}function xY(e,t){var n,i,o,r=e.di,s=r.label;return s&&s.bounds?(o=s.bounds,i={width:Math.max(vY.width,o.width),height:o.height},n={x:o.x+o.width/2,y:o.y+o.height/2}):(n=EY(t),i=vY),Object(Zj["assign"])({x:n.x-i.width/2,y:n.y-i.height/2},i)}function SY(e){return e&&!!e.labelTarget}function DY(e,t){return Object(Zj["assign"])({id:e.id,type:e.$type,businessObject:e},t)}function kY(e,t,n){var i=e.di.waypoint;return!i||i.length<2?[Pz(t),Pz(n)]:i.map((function(e){return{x:e.x,y:e.y}}))}function MY(e,t,n,i){return new Error(e("element {element} referenced by {referenced}#{property} not yet drawn",{element:YH(n),referenced:YH(t),property:i}))}function NY(e,t,n,i,o,r){this._eventBus=e,this._canvas=t,this._elementFactory=n,this._elementRegistry=i,this._translate=o,this._textRenderer=r}function LY(e,t){var n=t.x,i=t.y;return n>=e.x&&n<=e.x+e.width&&i>=e.y&&i<=e.y+e.height}function BY(e){return Object(bU["is"])(e,"bpmn:Group")}NY.$inject=["eventBus","canvas","elementFactory","elementRegistry","translate","textRenderer"],NY.prototype.add=function(e,t){var n,i,o,r=e.di,s=this._translate;if(Object(bU["is"])(r,"bpmndi:BPMNPlane"))n=this._elementFactory.createRoot(DY(e)),this._canvas.setRootElement(n);else if(Object(bU["is"])(r,"bpmndi:BPMNShape")){var a=!vU(e),l=BY(e);i=t&&(t.hidden||t.collapsed);var c=e.di.bounds;n=this._elementFactory.createShape(DY(e,{collapsed:a,hidden:i,x:Math.round(c.x),y:Math.round(c.y),width:Math.round(c.width),height:Math.round(c.height),isFrame:l})),Object(bU["is"])(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,n),Object(bU["is"])(e,"bpmn:Lane")&&(o=0),Object(bU["is"])(e,"bpmn:DataStoreReference")&&(LY(t,Pz(c))||(t=this._canvas.getRootElement())),this._canvas.addShape(n,t,o)}else{if(!Object(bU["is"])(r,"bpmndi:BPMNEdge"))throw new Error(s("unknown di {di} for element {semantic}",{di:YH(r),semantic:YH(e)}));var h=this._getSource(e),u=this._getTarget(e);i=t&&(t.hidden||t.collapsed),n=this._elementFactory.createConnection(DY(e,{hidden:i,source:h,target:u,waypoints:kY(e,h,u)})),Object(bU["is"])(e,"bpmn:DataAssociation")&&(t=null),Object(bU["is"])(e,"bpmn:SequenceFlow")&&(o=0),this._canvas.addConnection(n,t,o)}return wY(e)&&DU(n)&&this.addLabel(e,n),this._eventBus.fire("bpmnElement.added",{element:n}),n},NY.prototype._attachBoundary=function(e,t){var n=this._translate,i=e.attachedToRef;if(!i)throw new Error(n("missing {semantic}#attachedToRef",{semantic:YH(e)}));var o=this._elementRegistry.get(i.id),r=o&&o.attachers;if(!o)throw MY(n,e,i,"attachedToRef");t.host=o,r||(o.attachers=r=[]),-1===r.indexOf(t)&&r.push(t)},NY.prototype.addLabel=function(e,t){var n,i,o;return n=xY(e,t),i=DU(t),i&&(n=this._textRenderer.getExternalLabelBounds(n,i)),o=this._elementFactory.createLabel(DY(e,{id:e.id+"_label",labelTarget:t,type:"label",hidden:t.hidden||!DU(t),x:Math.round(n.x),y:Math.round(n.y),width:Math.round(n.width),height:Math.round(n.height)})),this._canvas.addShape(o,t.parent)},NY.prototype._getEnd=function(e,t){var n,i,o=e.$type,r=this._translate;if(i=e[t+"Ref"],"source"===t&&"bpmn:DataInputAssociation"===o&&(i=i&&i[0]),("source"===t&&"bpmn:DataOutputAssociation"===o||"target"===t&&"bpmn:DataInputAssociation"===o)&&(i=e.$parent),n=i&&this._getElement(i),n)return n;throw i?MY(r,e,i,t+"Ref"):new Error(r("{semantic}#{side} Ref not specified",{semantic:YH(e),side:t}))},NY.prototype._getSource=function(e){return this._getEnd(e,"source")},NY.prototype._getTarget=function(e){return this._getEnd(e,"target")},NY.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};var IY={__depends__:[bY],bpmnImporter:["type",NY]},TY={__depends__:[gY,IY]};function OY(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()}function RY(e){return e.originalEvent||e.srcEvent}function PY(e,t){OY(e,t),OY(RY(e),t)}function FY(e){return e.pointers&&e.pointers.length&&(e=e.pointers[0]),e.touches&&e.touches.length&&(e=e.touches[0]),e?{x:e.clientX,y:e.clientY}:null}function jY(){return/mac/i.test(navigator.platform)}function QY(e,t){return(RY(e)||e).button===t}function zY(e){return QY(e,0)}function VY(e){return QY(e,1)}function WY(e){var t=RY(e)||e;return!!zY(e)&&(jY()?t.metaKey:t.ctrlKey)}function HY(e){var t=RY(e)||e;return zY(e)&&t.shiftKey}function UY(e){return!0}function YY(e){return zY(e)||VY(e)}var GY=500;function KY(e,t,n){var i=this;function o(n,i,o){var r,s,l;a(n,i)||(o?s=t.getGraphics(o):(r=i.delegateTarget||i.target,r&&(s=r,o=t.get(s))),s&&o&&(l=e.fire(n,{element:o,gfx:s,originalEvent:i}),!1===l&&(i.stopPropagation(),i.preventDefault())))}var r={};function s(e){return r[e]}function a(e,t){var n=c[e]||zY;return!n(t)}var l={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},c={"element.contextmenu":UY,"element.mousedown":YY,"element.mouseup":YY,"element.click":YY,"element.dblclick":YY};function h(e,t,n){var i=l[e];if(!i)throw new Error("unmapped DOM event name <"+e+">");return o(i,t,n)}var u="svg, .djs-element";function d(e,t,n,i){var s=r[n]=function(e){o(n,e)};i&&(c[n]=i),s.$delegate=eQ["delegate"].bind(e,u,t,s)}function p(e,t,n){var i=s(n);i&&eQ["delegate"].unbind(e,t,i.$delegate)}function f(e){Object(Zj["forEach"])(l,(function(t,n){d(e,n,t)}))}function g(e){Object(Zj["forEach"])(l,(function(t,n){p(e,n,t)}))}e.on("canvas.destroy",(function(e){g(e.svg)})),e.on("canvas.init",(function(e){f(e.svg)})),e.on(["shape.added","connection.added"],(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.createHit",{element:n,gfx:i})})),e.on(["shape.changed","connection.changed"],GY,(function(t){var n=t.element,i=t.gfx;e.fire("interactionEvents.updateHit",{element:n,gfx:i})})),e.on("interactionEvents.createHit",GY,(function(e){var t=e.element,n=e.gfx;i.createDefaultHit(t,n)})),e.on("interactionEvents.updateHit",(function(e){var t=e.element,n=e.gfx;i.updateDefaultHit(t,n)}));var m=w("djs-hit djs-hit-stroke"),b=w("djs-hit djs-hit-click-stroke"),v=w("djs-hit djs-hit-all"),y={all:v,"click-stroke":b,stroke:m};function w(e,t){return t=Object(Zj["assign"])({stroke:"white",strokeWidth:15},t||{}),n.cls(e,["no-fill","no-border"],t)}function _(e,t){var n=y[t];if(!n)throw new Error("invalid hit type <"+t+">");return cQ(e,n),e}function A(e,t){iQ(e,t)}this.removeHits=function(e){var t=Object(eQ["queryAll"])(".djs-hit",e);Object(Zj["forEach"])(t,mQ)},this.createDefaultHit=function(e,t){var n,i=e.waypoints,o=e.isFrame;return i?this.createWaypointsHit(t,i):(n=o?"stroke":"all",this.createBoxHit(t,n,{width:e.width,height:e.height}))},this.createWaypointsHit=function(e,t){var n=nz(t);return _(n,"stroke"),A(e,n),n},this.createBoxHit=function(e,t,n){n=Object(Zj["assign"])({x:0,y:0},n);var i=CQ("rect");return _(i,t),cQ(i,n),A(e,i),i},this.updateDefaultHit=function(e,t){var n=Object(eQ["query"])(".djs-hit",t);if(n)return e.waypoints?iz(n,e.waypoints):cQ(n,{width:e.width,height:e.height}),n},this.fire=o,this.triggerMouseEvent=h,this.mouseHandler=s,this.registerEvent=d,this.unregisterEvent=p}KY.$inject=["eventBus","elementRegistry","styles"];var qY={__init__:["interactionEvents"],interactionEvents:["type",KY]},JY=500;function XY(e,t,n){this.offset=6;var i=t.cls("djs-outline",["no-fill"]),o=this;function r(e,t){var n=CQ("rect");return cQ(n,Object(Zj["assign"])({x:10,y:10,width:100,height:100},i)),iQ(e,n),n}e.on(["shape.added","shape.changed"],JY,(function(e){var t=e.element,n=e.gfx,i=Object(eQ["query"])(".djs-outline",n);i||(i=r(n,t)),o.updateShapeOutline(i,t)})),e.on(["connection.added","connection.changed"],(function(e){var t=e.element,n=e.gfx,i=Object(eQ["query"])(".djs-outline",n);i||(i=r(n,t)),o.updateConnectionOutline(i,t)}))}XY.prototype.updateShapeOutline=function(e,t){cQ(e,{x:-this.offset,y:-this.offset,width:t.width+2*this.offset,height:t.height+2*this.offset})},XY.prototype.updateConnectionOutline=function(e,t){var n=uz(t);cQ(e,{x:n.x-this.offset,y:n.y-this.offset,width:n.width+2*this.offset,height:n.height+2*this.offset})},XY.$inject=["eventBus","styles","elementRegistry"];var $Y={__init__:["outline"],outline:["type",XY]};function ZY(e){this._eventBus=e,this._selectedElements=[];var t=this;e.on(["shape.remove","connection.remove"],(function(e){var n=e.element;t.deselect(n)})),e.on(["diagram.clear"],(function(e){t.select(null)}))}ZY.$inject=["eventBus"],ZY.prototype.deselect=function(e){var t=this._selectedElements,n=t.indexOf(e);if(-1!==n){var i=t.slice();t.splice(n,1),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:t})}},ZY.prototype.get=function(){return this._selectedElements},ZY.prototype.isSelected=function(e){return-1!==this._selectedElements.indexOf(e)},ZY.prototype.select=function(e,t){var n=this._selectedElements,i=n.slice();Object(Zj["isArray"])(e)||(e=e?[e]:[]),t?Object(Zj["forEach"])(e,(function(e){-1===n.indexOf(e)&&n.push(e)})):this._selectedElements=n=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:i,newSelection:n})};var eG="hover",tG="selected";function nG(e,t,n,i){function o(e,n){t.addMarker(e,n)}function r(e,n){t.removeMarker(e,n)}this._multiSelectionBox=null,e.on("element.hover",(function(e){o(e.element,eG)})),e.on("element.out",(function(e){r(e.element,eG)})),e.on("selection.changed",(function(e){function t(e){r(e,tG)}function n(e){o(e,tG)}var i=e.oldSelection,s=e.newSelection;Object(Zj["forEach"])(i,(function(e){-1===s.indexOf(e)&&t(e)})),Object(Zj["forEach"])(s,(function(e){-1===i.indexOf(e)&&n(e)}))}))}function iG(e,t,n,i){e.on("create.end",500,(function(e){var n=e.context,i=n.canExecute,o=n.elements,r=n.hints||{},s=r.autoSelect;if(i){if(!1===s)return;Object(Zj["isArray"])(s)?t.select(s):t.select(o.filter(oG))}})),e.on("connect.end",500,(function(e){var n=e.context,i=n.canExecute,o=n.hover;i&&o&&t.select(o)})),e.on("shape.move.end",500,(function(e){var n=e.previousSelection||[],o=i.get(e.context.shape.id),r=Object(Zj["find"])(n,(function(e){return o.id===e.id}));r||t.select(o)})),e.on("element.click",(function(e){if(zY(e)){var i=e.element;i===n.getRootElement()&&(i=null);var o=t.isSelected(i),r=t.get().length>1,s=WY(e)||HY(e);if(o&&r)return s?t.deselect(i):t.select(i);o?t.deselect(i):t.select(i,s)}}))}function oG(e){return!e.hidden}nG.$inject=["eventBus","canvas","selection","styles"],iG.$inject=["eventBus","selection","canvas","elementRegistry"];var rG={__init__:["selectionVisuals","selectionBehavior"],__depends__:[qY,$Y],selection:["type",ZY],selectionVisuals:["type",nG],selectionBehavior:["type",iG]};function sG(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(1e9*Math.random())+"-"}sG.prototype.next=function(){return this._prefix+ ++this._counter};var aG=new sG("ov"),lG=500;function cG(e,t,n,i){this._eventBus=t,this._canvas=n,this._elementRegistry=i,this._ids=aG,this._overlayDefaults=Object(Zj["assign"])({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=hG(n.getContainer()),this._init()}function hG(e){var t=Object(eQ["domify"])('<div class="djs-overlay-container" style="position: absolute; width: 0; height: 0;" />');return e.insertBefore(t,e.firstChild),t}function uG(e,t,n){Object(Zj["assign"])(e.style,{left:t+"px",top:n+"px"})}function dG(e,t){e.style.display=!1===t?"none":""}function pG(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach((function(n){e.style[n+"transform"]=t}))}cG.$inject=["config.overlays","eventBus","canvas","elementRegistry"],cG.prototype.get=function(e){if(Object(Zj["isString"])(e)&&(e={id:e}),Object(Zj["isString"])(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?Object(Zj["filter"])(t.overlays,Object(Zj["matchPattern"])({type:e.type})):t.overlays.slice():[]}return e.type?Object(Zj["filter"])(this._overlays,Object(Zj["matchPattern"])({type:e.type})):e.id?this._overlays[e.id]:null},cG.prototype.add=function(e,t,n){if(Object(Zj["isObject"])(t)&&(n=t,t=null),e.id||(e=this._elementRegistry.get(e)),!n.position)throw new Error("must specifiy overlay position");if(!n.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var i=this._ids.next();return n=Object(Zj["assign"])({},this._overlayDefaults,n,{id:i,type:t,element:e,html:n.html}),this._addOverlay(n),i},cG.prototype.remove=function(e){var t=this.get(e)||[];Object(Zj["isArray"])(t)||(t=[t]);var n=this;Object(Zj["forEach"])(t,(function(e){var t=n._getOverlayContainer(e.element,!0);if(e&&(Object(eQ["remove"])(e.html),Object(eQ["remove"])(e.htmlContainer),delete e.htmlContainer,delete e.element,delete n._overlays[e.id]),t){var i=t.overlays.indexOf(e);-1!==i&&t.overlays.splice(i,1)}}))},cG.prototype.show=function(){dG(this._overlayRoot)},cG.prototype.hide=function(){dG(this._overlayRoot,!1)},cG.prototype.clear=function(){this._overlays={},this._overlayContainers=[],Object(eQ["clear"])(this._overlayRoot)},cG.prototype._updateOverlayContainer=function(e){var t=e.element,n=e.html,i=t.x,o=t.y;if(t.waypoints){var r=uz(t);i=r.x,o=r.y}uG(n,i,o),Object(eQ["attr"])(e.html,"data-container-id",t.id)},cG.prototype._updateOverlay=function(e){var t,n,i=e.position,o=e.htmlContainer,r=e.element,s=i.left,a=i.top;void 0!==i.right&&(t=r.waypoints?uz(r).width:r.width,s=-1*i.right+t);void 0!==i.bottom&&(n=r.waypoints?uz(r).height:r.height,a=-1*i.bottom+n);uG(o,s||0,a||0)},cG.prototype._createOverlayContainer=function(e){var t=Object(eQ["domify"])('<div class="djs-overlays" style="position: absolute" />');this._overlayRoot.appendChild(t);var n={html:t,element:e,overlays:[]};return this._updateOverlayContainer(n),this._overlayContainers.push(n),n},cG.prototype._updateRoot=function(e){var t=e.scale||1,n="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";pG(this._overlayRoot,n)},cG.prototype._getOverlayContainer=function(e,t){var n=Object(Zj["find"])(this._overlayContainers,(function(t){return t.element===e}));return n||t?n:this._createOverlayContainer(e)},cG.prototype._addOverlay=function(e){var t,n,i=e.id,o=e.element,r=e.html;r.get&&r.constructor.prototype.jquery&&(r=r.get(0)),Object(Zj["isString"])(r)&&(r=Object(eQ["domify"])(r)),n=this._getOverlayContainer(o),t=Object(eQ["domify"])('<div class="djs-overlay" data-overlay-id="'+i+'" style="position: absolute">'),t.appendChild(r),e.type&&Object(eQ["classes"])(t).add("djs-overlay-"+e.type),e.htmlContainer=t,n.overlays.push(e),n.html.appendChild(t),this._overlays[i]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},cG.prototype._updateOverlayVisibilty=function(e,t){var n=e.show,i=n&&n.minZoom,o=n&&n.maxZoom,r=e.htmlContainer,s=!0;n&&((Object(Zj["isDefined"])(i)&&i>t.scale||Object(Zj["isDefined"])(o)&&o<t.scale)&&(s=!1),dG(r,s)),this._updateOverlayScale(e,t)},cG.prototype._updateOverlayScale=function(e,t){var n,i,o,r=e.scale,s=e.htmlContainer,a="";!0!==r&&(!1===r?(n=1,i=1):(n=r.min,i=r.max),Object(Zj["isDefined"])(n)&&t.scale<n&&(o=(1/t.scale||1)*n),Object(Zj["isDefined"])(i)&&t.scale>i&&(o=(1/t.scale||1)*i)),Object(Zj["isDefined"])(o)&&(a="scale("+o+","+o+")"),pG(s,a)},cG.prototype._updateOverlaysVisibilty=function(e){var t=this;Object(Zj["forEach"])(this._overlays,(function(n){t._updateOverlayVisibilty(n,e)}))},cG.prototype._init=function(){var e=this._eventBus,t=this;function n(e){t._updateRoot(e),t._updateOverlaysVisibilty(e),t.show()}e.on("canvas.viewbox.changing",(function(e){t.hide()})),e.on("canvas.viewbox.changed",(function(e){n(e.viewbox)})),e.on(["shape.remove","connection.remove"],(function(e){var n=e.element,i=t.get({element:n});Object(Zj["forEach"])(i,(function(e){t.remove(e.id)}));var o=t._getOverlayContainer(n);if(o){Object(eQ["remove"])(o.html);var r=t._overlayContainers.indexOf(o);-1!==r&&t._overlayContainers.splice(r,1)}})),e.on("element.changed",lG,(function(e){var n=e.element,i=t._getOverlayContainer(n,!0);i&&(Object(Zj["forEach"])(i.overlays,(function(e){t._updateOverlay(e)})),t._updateOverlayContainer(i))})),e.on("element.marker.update",(function(e){var n=t._getOverlayContainer(e.element,!0);n&&Object(eQ["classes"])(n.html)[e.add?"add":"remove"](e.marker)})),e.on("diagram.clear",this.clear,this)};var fG={__init__:["overlays"],overlays:["type",cG]};function gG(e){cU.call(this,e)}function mG(e){return e.ctrlKey||e.metaKey||e.shiftKey||e.altKey}function bG(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function vG(e,t){return e=Object(Zj["isArray"])(e)?e:[e],-1!==e.indexOf(t.key)||-1!==e.indexOf(t.keyCode)}function yG(e){return e.shiftKey}Kj()(gG,cU),gG.prototype._modules=[TY,bY,rG,fG],gG.prototype._moddleExtensions={};var wG="keyboard.keydown",_G="keyboard.keyup",AG=1e3;function CG(e,t){var n=this;this._config=e||{},this._eventBus=t,this._keydownHandler=this._keydownHandler.bind(this),this._keyupHandler=this._keyupHandler.bind(this),t.on("diagram.destroy",(function(){n._fire("destroy"),n.unbind()})),t.on("diagram.init",(function(){n._fire("init")})),t.on("attach",(function(){e&&e.bindTo&&n.bind(e.bindTo)})),t.on("detach",(function(){n.unbind()}))}function EG(e){return e&&(Object(eQ["matches"])(e,"input, textarea")||"true"===e.contentEditable)}CG.$inject=["config.keyboard","eventBus"],CG.prototype._keydownHandler=function(e){this._keyHandler(e,wG)},CG.prototype._keyupHandler=function(e){this._keyHandler(e,_G)},CG.prototype._keyHandler=function(e,t){var n,i=e.target;if(!EG(i)){var o={keyEvent:e};n=this._eventBus.fire(t||wG,o),n&&e.preventDefault()}},CG.prototype.bind=function(e){this.unbind(),this._node=e,eQ["event"].bind(e,"keydown",this._keydownHandler,!0),eQ["event"].bind(e,"keyup",this._keyupHandler,!0),this._fire("bind")},CG.prototype.getBinding=function(){return this._node},CG.prototype.unbind=function(){var e=this._node;e&&(this._fire("unbind"),eQ["event"].unbind(e,"keydown",this._keydownHandler,!0),eQ["event"].unbind(e,"keyup",this._keyupHandler,!0)),this._node=null},CG.prototype._fire=function(e){this._eventBus.fire("keyboard."+e,{node:this._node})},CG.prototype.addListener=function(e,t,n){Object(Zj["isFunction"])(e)&&(n=t,t=e,e=AG),this._eventBus.on(n||wG,e,t)},CG.prototype.removeListener=function(e,t){this._eventBus.off(t||wG,e)},CG.prototype.hasModifier=mG,CG.prototype.isCmd=bG,CG.prototype.isShift=yG,CG.prototype.isKey=vG;var xG=500,SG=67,DG=86,kG=89,MG=90,NG=["c","C",SG],LG=["v","V",DG],BG=["y","Y",kG],IG=["z","Z",MG];function TG(e,t){var n=this;e.on("editorActions.init",xG,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}TG.$inject=["eventBus","keyboard"],TG.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){var n=e.keyEvent;if(bG(n)&&!yG(n)&&vG(IG,n))return t.trigger("undo"),!0})),n("redo",(function(e){var n=e.keyEvent;if(bG(n)&&(vG(BG,n)||vG(IG,n)&&yG(n)))return t.trigger("redo"),!0})),n("copy",(function(e){var n=e.keyEvent;if(bG(n)&&vG(NG,n))return t.trigger("copy"),!0})),n("paste",(function(e){var n=e.keyEvent;if(bG(n)&&vG(LG,n))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(vG(["+","Add","="],n)&&bG(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(vG(["-","Subtract"],n)&&bG(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(vG("0",n)&&bG(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){var n=e.keyEvent;if(vG(["Backspace","Delete","Del"],n))return t.trigger("removeSelection"),!0}))};var OG={__init__:["keyboard","keyboardBindings"],keyboard:["type",CG],keyboardBindings:["type",TG]},RG={moveSpeed:50,moveSpeedAccelerated:200};function PG(e,t,n){var i=this;function o(e){var n=e.keyEvent,o=i._config;if(t.isCmd(n)&&t.isKey(["ArrowLeft","Left","ArrowUp","Up","ArrowDown","Down","ArrowRight","Right"],n)){var r,s=t.isShift(n)?o.moveSpeedAccelerated:o.moveSpeed;switch(n.key){case"ArrowLeft":case"Left":r="left";break;case"ArrowUp":case"Up":r="up";break;case"ArrowRight":case"Right":r="right";break;case"ArrowDown":case"Down":r="down";break}return i.moveCanvas({speed:s,direction:r}),!0}}this._config=Object(Zj["assign"])({},RG,e||{}),t.addListener(o),this.moveCanvas=function(e){var t=0,i=0,o=e.speed,r=o/Math.min(Math.sqrt(n.viewbox().scale),1);switch(e.direction){case"left":t=r;break;case"up":i=r;break;case"right":t=-r;break;case"down":i=-r;break}n.scroll({dx:t,dy:i})}}PG.$inject=["config.keyboardMove","keyboard","canvas"];var FG={__depends__:[OG],__init__:["keyboardMove"],keyboardMove:["type",PG]},jG=/^djs-cursor-.*$/;function QG(e){var t=Object(eQ["classes"])(document.body);t.removeMatching(jG),e&&t.add("djs-cursor-"+e)}function zG(){QG(null)}var VG=5e3;function WG(e,t){function n(){return!1}return t=t||"element.click",e.once(t,VG,n),function(){e.off(t,n)}}function HG(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function UG(e,t){return{x:e.x-t.x,y:e.y-t.y}}var YG=15;function GG(e,t){var n;function i(i){var o=n.start,r=n.button,s=FY(i),a=UG(s,o);if(!n.dragging&&KG(a)>YG&&(n.dragging=!0,0===r&&WG(e),QG("grab")),n.dragging){var l=n.last||n.start;a=UG(s,l),t.scroll({dx:a.x,dy:a.y}),n.last=s}i.preventDefault()}function o(e){eQ["event"].unbind(document,"mousemove",i),eQ["event"].unbind(document,"mouseup",o),n=null,zG()}function r(e){if(!Object(eQ["closest"])(e.target,".djs-draggable")){var t=e.button;if(!(t>=2||e.ctrlKey||e.shiftKey||e.altKey))return n={button:t,start:FY(e)},eQ["event"].bind(document,"mousemove",i),eQ["event"].bind(document,"mouseup",o),!0}}e.on("element.mousedown",500,(function(e){return r(e.originalEvent)})),this.isActive=function(){return!!n}}function KG(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}GG.$inject=["eventBus","canvas"];var qG={__init__:["moveCanvas"],moveCanvas:["type",GG]};function JG(e){return Math.log(e)/Math.log(10)}function XG(e,t){var n=JG(e.min),i=JG(e.max),o=Math.abs(n)+Math.abs(i);return o/t}function $G(e,t){return Math.max(e.min,Math.min(e.max,t))}var ZG=Math.sign||function(e){return e>=0?1:-1},eK={min:.2,max:4},tK=10,nK=.1,iK=.75;function oK(e,t,n){e=e||{},this._enabled=!1,this._canvas=n,this._container=n._container,this._handleWheel=Object(Zj["bind"])(this._handleWheel,this),this._totalDelta=0,this._scale=e.scale||iK;var i=this;t.on("canvas.init",(function(t){i._init(!1!==e.enabled)}))}oK.$inject=["config.zoomScroll","eventBus","canvas"],oK.prototype.scroll=function(e){this._canvas.scroll(e)},oK.prototype.reset=function(){this._canvas.zoom("fit-viewport")},oK.prototype.zoom=function(e,t){var n=XG(eK,2*tK);this._totalDelta+=e,Math.abs(this._totalDelta)>nK&&(this._zoom(e,t,n),this._totalDelta=0)},oK.prototype._handleWheel=function(e){if(!Object(eQ["closest"])(e.target,".djs-scrollable",!0)){var t=this._container;e.preventDefault();var n,i=e.ctrlKey,o=e.shiftKey,r=-1*this._scale;if(r*=i?0===e.deltaMode?.02:.32:0===e.deltaMode?1:16,i){var s=t.getBoundingClientRect(),a={x:e.clientX-s.left,y:e.clientY-s.top};n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*ZG(e.deltaY)*r,this.zoom(n,a)}else n=o?{dx:r*e.deltaY,dy:0}:{dx:r*e.deltaX,dy:r*e.deltaY},this.scroll(n)}},oK.prototype.stepZoom=function(e,t){var n=XG(eK,tK);this._zoom(e,t,n)},oK.prototype._zoom=function(e,t,n){var i=this._canvas,o=e>0?1:-1,r=JG(i.zoom()),s=Math.round(r/n)*n;s+=n*o;var a=Math.pow(10,s);i.zoom($G(eK,a),t)},oK.prototype.toggle=function(e){var t=this._container,n=this._handleWheel,i=this._enabled;return"undefined"===typeof e&&(e=!i),i!==e&&eQ["event"][e?"bind":"unbind"](t,"wheel",n,!1),this._enabled=e,e},oK.prototype._init=function(e){this.toggle(e)};var rK={__init__:["zoomScroll"],zoomScroll:["type",oK]};function sK(e){gG.call(this,e)}Kj()(sK,gG),sK.prototype._navigationModules=[FG,qG,rK],sK.prototype._modules=[].concat(gG.prototype._modules,sK.prototype._navigationModules);var aK=n("c87e"),lK=n.n(aK),cK=.2,hK=4,uK=["mousedown","mouseup","mouseover","mouseout","click","dblclick"];function dK(){}function pK(e,t){return t.get(e,!1)}function fK(e){e.preventDefault(),"function"===typeof e.stopPropagation?e.stopPropagation():e.srcEvent&&"function"===typeof e.srcEvent.stopPropagation&&e.srcEvent.stopPropagation(),"function"===typeof e.stopImmediatePropagation&&e.stopImmediatePropagation()}function gK(e){function t(t){Object(Zj["forEach"])(uK,(function(t){eQ["event"].bind(e,t,fK,!0)}))}function n(t){setTimeout((function(){Object(Zj["forEach"])(uK,(function(t){eQ["event"].unbind(e,t,fK,!0)}))}),500)}eQ["event"].bind(e,"touchstart",t,!0),eQ["event"].bind(e,"touchend",n,!0),eQ["event"].bind(e,"touchcancel",n,!0);var i=new lK.a.Manager(e,{inputClass:lK.a.TouchInput,recognizers:[],domEvents:!0}),o=new lK.a.Tap,r=new lK.a.Pan({threshold:10}),s=new lK.a.Press,a=new lK.a.Pinch,l=new lK.a.Tap({event:"doubletap",taps:2});return a.requireFailure(r),a.requireFailure(s),i.add([r,s,a,l,o]),i.reset=function(e){var t=this.recognizers,n=this.session;n.stopped||(dK("recognizer","stop"),i.stop(e),setTimeout((function(){var e,i;for(dK("recognizer","reset"),e=0;i=t[e];e++)i.reset(),i.state=8;n.curRecognizer=null}),0))},i.on("hammer.input",(function(e){e.srcEvent.defaultPrevented&&i.reset(!0)})),i}function mK(e,t,n,i,o){var r,s=pK("dragging",e),a=pK("move",e),l=pK("contextPad",e),c=pK("palette",e);function h(e){return function(t){dK("element",e,t),o.fire(e,t)}}function u(e){var t=Object(eQ["closest"])(e,"svg, .djs-element",!0);return t}function d(e){function n(e){dK("canvas","grab start");var n=0,i=0;function o(e){var o=e.deltaX-n,r=e.deltaY-i;t.scroll({dx:o,dy:r}),n=e.deltaX,i=e.deltaY}function s(e){r.off("panmove",o),r.off("panend",s),r.off("pancancel",s),dK("canvas","grab end")}r.on("panmove",o),r.on("panend",s),r.on("pancancel",s)}function o(e){var o=u(e.target),r=o&&i.get(o);if(a&&t.getRootElement()!==r)return dK("element","move start",r,e,!0),a.start(e,r,!0);n(e)}function s(e){dK("canvas","zoom start");var n=t.zoom(),i=e.center;function o(e){var o=1-(1-e.scale)/1.5,r=Math.max(cK,Math.min(hK,o*n));t.zoom(r,i),fK(e)}function s(e){r.off("pinchmove",o),r.off("pinchend",s),r.off("pinchcancel",s),r.reset(!0),dK("canvas","zoom end")}r.on("pinchmove",o),r.on("pinchend",s),r.on("pinchcancel",s)}r=gK(e),r.on("doubletap",h("element.dblclick")),r.on("tap",h("element.click")),r.on("panstart",o),r.on("press",o),r.on("pinchstart",s)}s&&n.on("drag.move",(function(e){var t=e.originalEvent;if(t&&!(t instanceof MouseEvent)){var n=FY(t),o=document.elementFromPoint(n.x,n.y),r=u(o),a=r&&i.get(r);a!==e.hover&&(e.hover&&s.out(e),a&&(s.hover({element:a,gfx:r}),e.hover=a,e.hoverGfx=r))}})),l&&n.on("contextPad.create",(function(e){var t=e.pad.html,n=gK(t);n.on("panstart",(function(e){dK("context-pad","panstart",e),l.trigger("dragstart",e,!0)})),n.on("press",(function(e){dK("context-pad","press",e),l.trigger("dragstart",e,!0)})),n.on("tap",(function(e){dK("context-pad","tap",e),l.trigger("click",e)}))})),c&&n.on("palette.create",(function(e){var t=e.container,n=gK(t);n.on("panstart",(function(e){dK("palette","panstart",e),c.trigger("dragstart",e,!0)})),n.on("press",(function(e){dK("palette","press",e),c.trigger("dragstart",e,!0)})),n.on("tap",(function(e){dK("palette","tap",e),c.trigger("click",e)}))})),n.on("canvas.init",(function(e){d(e.svg)}))}function bK(e,t){var n=this;t.on("canvas.init",(function(e){n.addBBoxMarker(e.svg)}))}mK.$inject=["injector","canvas","eventBus","elementRegistry","interactionEvents","touchFix"],bK.$inject=["canvas","eventBus"],bK.prototype.addBBoxMarker=function(e){var t={fill:"none",class:"outer-bound-marker"},n=CQ("rect");cQ(n,{x:-1e4,y:1e4,width:10,height:10}),cQ(n,t),iQ(e,n);var i=CQ("rect");cQ(i,{x:1e4,y:1e4,width:10,height:10}),cQ(i,t),iQ(e,i)};var vK={__depends__:[qY],__init__:["touchInteractionEvents"],touchInteractionEvents:["type",mK],touchFix:["type",bK]},yK={__depends__:[vK]};function wK(e){return e&&e[e.length-1]}function _K(e){return e.y}function AK(e){return e.x}var CK={left:AK,center:AK,right:function(e){return e.x+e.width},top:_K,middle:_K,bottom:function(e){return e.y+e.height}};function EK(e){this._modeling=e}EK.$inject=["modeling"],EK.prototype._getOrientationDetails=function(e){var t=["top","bottom","middle"],n="x",i="width";return-1!==t.indexOf(e)&&(n="y",i="height"),{axis:n,dimension:i}},EK.prototype._isType=function(e,t){return-1!==t.indexOf(e)},EK.prototype._alignmentPosition=function(e,t){var n,i,o,r=this._getOrientationDetails(e),s=r.axis,a=r.dimension,l={},c={},h=!1;function u(e,t){return Math.round((e[s]+t[s]+t[a])/2)}if(this._isType(e,["left","top"]))l[e]=t[0][s];else if(this._isType(e,["right","bottom"]))o=wK(t),l[e]=o[s]+o[a];else if(this._isType(e,["center","middle"])){if(Object(Zj["forEach"])(t,(function(e){var t=e[s]+Math.round(e[a]/2);c[t]?c[t].elements.push(e):c[t]={elements:[e],center:t}})),n=Object(Zj["sortBy"])(c,(function(e){return e.elements.length>1&&(h=!0),e.elements.length})),h)return l[e]=wK(n).center,l;i=t[0],t=Object(Zj["sortBy"])(t,(function(e){return e[s]+e[a]})),o=wK(t),l[e]=u(i,o)}return l},EK.prototype.trigger=function(e,t){var n=this._modeling,i=Object(Zj["filter"])(e,(function(e){return!(e.waypoints||e.host||e.labelTarget)}));if(!(i.length<2)){var o=CK[t],r=Object(Zj["sortBy"])(i,o),s=this._alignmentPosition(t,r);n.alignElements(r,s)}};var xK={__init__:["alignElements"],alignElements:["type",EK]},SK=10,DK=50,kK=250;function MK(e,t,n,i){var o;while(o=LK(e,n,t))n=i(t,n,o);return n}function NK(e){return function(t,n,i){var o={x:n.x,y:n.y};return["x","y"].forEach((function(r){var s=e[r];if(s){var a="x"===r?"width":"height",l=s.margin,c=s.minDistance;o[r]=l<0?Math.min(i[r]+l-t[a]/2,n[r]-c+l):Math.max(i[r]+i[a]+l+t[a]/2,n[r]+c+l)}})),o}}function LK(e,t,n){var i={x:t.x-n.width/2,y:t.y-n.height/2,width:n.width,height:n.height},o=IK(e,n);return Object(Zj["find"])(o,(function(e){if(e===n)return!1;var t=Fz(e,i,SK);return"intersect"===t}))}function BK(e,t){function n(t){return t.source===e?1:-1}t||(t={});var i=t.defaultDistance||DK,o=t.direction||"e",r=t.filter,s=t.getWeight||n,a=t.maxDistance||kK,l=t.reference||"start";function c(e,t){return"n"===o?"start"===l?Oz(e).top-Oz(t).bottom:"center"===l?Oz(e).top-Pz(t).y:Oz(e).top-Oz(t).top:"w"===o?"start"===l?Oz(e).left-Oz(t).right:"center"===l?Oz(e).left-Pz(t).x:Oz(e).left-Oz(t).left:"s"===o?"start"===l?Oz(t).top-Oz(e).bottom:"center"===l?Pz(t).y-Oz(e).bottom:Oz(t).bottom-Oz(e).bottom:"start"===l?Oz(t).left-Oz(e).right:"center"===l?Pz(t).x-Oz(e).right:Oz(t).right-Oz(e).right}r||(r=PK);var h=e.incoming.filter(r).map((function(t){var n=s(t),i=n<0?c(t.source,e):c(e,t.source);return{id:t.source.id,distance:i,weight:n}})),u=e.outgoing.filter(r).map((function(t){var n=s(t),i=n>0?c(e,t.target):c(t.target,e);return{id:t.target.id,distance:i,weight:n}})),d=h.concat(u).reduce((function(e,t){return e[t.id+"__weight_"+t.weight]=t,e}),{}),p=Object(Zj["reduce"])(d,(function(e,t){var n=t.distance,i=t.weight;return n<0||n>a||(e[String(n)]||(e[String(n)]=0),e[String(n)]+=1*i,(!e.distance||e[e.distance]<e[String(n)])&&(e.distance=n)),e}),{});return p.distance||i}function IK(e){var t=TK(e);return e.host&&(t=t.concat(TK(e.host))),e.attachers&&(t=t.concat(e.attachers.reduce((function(e,t){return e.concat(TK(t))}),[]))),t}function TK(e){return RK(e).concat(OK(e))}function OK(e){return e.incoming.map((function(e){return e.source}))}function RK(e){return e.outgoing.map((function(e){return e.target}))}function PK(){return!0}var FK=100;function jK(e,t,n){e.on("autoPlace",FK,(function(e){var t=e.shape,n=e.source;return QK(n,t)})),e.on("autoPlace.end",(function(e){n.scrollToElement(e.shape)})),this.append=function(n,i,o){e.fire("autoPlace.start",{source:n,shape:i});var r=e.fire("autoPlace",{source:n,shape:i}),s=t.appendShape(n,i,r,n.parent,o);return e.fire("autoPlace.end",{source:n,shape:s}),s}}function QK(e,t,n){n||(n={});var i=n.defaultDistance||DK,o=Pz(e),r=Oz(e);return{x:r.right+i+t.width/2,y:o.y}}function zK(e,t){e.on("autoPlace.end",500,(function(e){t.select(e.shape)}))}jK.$inject=["eventBus","modeling","canvas"],zK.$inject=["eventBus","selection"];var VK={__init__:["autoPlaceSelectionBehavior"],autoPlace:["type",jK],autoPlaceSelectionBehavior:["type",zK]};function WK(e,t){return Object(Zj["some"])(t,(function(t){return Object(bU["is"])(e,t)}))}function HK(e,t){"string"===typeof t&&(t=[t]);while(e=e.parent)if(WK(e,t))return e;return null}function UK(e,t){return Object(bU["is"])(t,"bpmn:TextAnnotation")?KK(e,t):WK(t,["bpmn:DataObjectReference","bpmn:DataStoreReference"])?qK(e,t):Object(bU["is"])(t,"bpmn:FlowNode")?YK(e,t):void 0}function YK(e,t){var n=Oz(e),i=Pz(e),o=BK(e,{filter:function(e){return Object(bU["is"])(e,"bpmn:SequenceFlow")}}),r=30,s=80,a="left";Object(bU["is"])(e,"bpmn:BoundaryEvent")&&(a=Fz(e,e.host,-25),-1!==a.indexOf("top")&&(r*=-1));var l={x:n.right+o+t.width/2,y:i.y+GK(a,s)},c={y:{margin:r,minDistance:s}};return MK(e,t,l,NK(c))}function GK(e,t){return-1!=e.indexOf("top")?-1*t:-1!=e.indexOf("bottom")?t:0}function KK(e,t){var n=Oz(e),i={x:n.right+t.width/2,y:n.top-50-t.height/2},o={y:{margin:-30,minDistance:20}};return MK(e,t,i,NK(o))}function qK(e,t){var n=Oz(e),i={x:n.right-10+t.width/2,y:n.bottom+40+t.width/2},o={x:{margin:30,minDistance:30}};return MK(e,t,i,NK(o))}function JK(e){e.on("autoPlace",(function(e){var t=e.shape,n=e.source;return UK(n,t)}))}JK.$inject=["eventBus"];var XK={__depends__:[VK],__init__:["bpmnAutoPlace"],bpmnAutoPlace:["type",JK]},$K=1e3;function ZK(e){this._eventBus=e}function eq(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}ZK.$inject=["eventBus"],ZK.prototype.on=function(e,t,n,i,o,r){if((Object(Zj["isFunction"])(t)||Object(Zj["isNumber"])(t))&&(r=o,o=i,i=n,n=t,t=null),Object(Zj["isFunction"])(n)&&(r=o,o=i,i=n,n=$K),Object(Zj["isObject"])(o)&&(r=o,o=!1),!Object(Zj["isFunction"])(i))throw new Error("handlerFn must be a function");Object(Zj["isArray"])(e)||(e=[e]);var s=this._eventBus;Object(Zj["forEach"])(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,o?eq(i,r):i,r)}))};var tq=["canExecute","preExecute","preExecuted","execute","executed","postExecute","postExecuted","revert","reverted"];function nq(e,t,n,i){ZK.call(this,e),this._elementRegistry=t,this._modeling=n,this._rules=i;var o=this;this.postExecuted(["shape.create"],(function(e){var t=e.context,n=t.hints||{},i=t.shape,r=t.parent||t.newParent;!1!==n.autoResize&&o._expand([i],r)})),this.postExecuted(["elements.move"],(function(e){var t=e.context,n=Object(Zj["flatten"])(Object(Zj["values"])(t.closure.topLevel)),i=t.hints,r=!i||i.autoResize;if(!1!==r){var s=Object(Zj["groupBy"])(n,(function(e){return e.parent.id}));Object(Zj["forEach"])(s,(function(e,t){Object(Zj["isArray"])(r)&&(e=e.filter((function(e){return Object(Zj["find"])(r,Object(Zj["matchPattern"])({id:e.id}))}))),o._expand(e,t)}))}})),this.postExecuted(["shape.toggleCollapse"],(function(e){var t=e.context,n=t.hints,i=t.shape;n&&!1===n.autoResize||i.collapsed||o._expand(i.children||[],i)})),this.postExecuted(["shape.resize"],(function(e){var t=e.context,n=t.hints,i=t.shape,r=i.parent;n&&!1===n.autoResize||r&&o._expand([i],r)}))}function iq(e,t){return e.x!==t.x||e.y!==t.y||e.width!==t.width||e.height!==t.height}function oq(e,t){var n="";return e=Oz(e),t=Oz(t),e.top>t.top&&(n=n.concat("n")),e.right<t.right&&(n=n.concat("w")),e.bottom<t.bottom&&(n=n.concat("s")),e.left>t.left&&(n=n.concat("e")),n}function rq(e){e.invoke(nq,this)}function sq(e){ZK.call(this,e),this.init()}function aq(e){sq.call(this,e);var t=this;this.addRule("element.autoResize",(function(e){return t.canResize(e.elements,e.target)}))}function lq(e,t){aq.call(this,e),this._modeling=t}Object(Zj["forEach"])(tq,(function(e){ZK.prototype[e]=function(t,n,i,o,r){(Object(Zj["isFunction"])(t)||Object(Zj["isNumber"])(t))&&(r=o,o=i,i=n,n=t,t=null),this.on(t,e,n,i,o,r)}})),nq.$inject=["eventBus","elementRegistry","modeling","rules"],Kj()(nq,ZK),nq.prototype._getOptimalBounds=function(e,t){var n=this.getOffset(t),i=this.getPadding(t),o=Oz(uz(e)),r=Oz(t),s={};return o.top-r.top<i.top&&(s.top=o.top-n.top),o.left-r.left<i.left&&(s.left=o.left-n.left),r.right-o.right<i.right&&(s.right=o.right+n.right),r.bottom-o.bottom<i.bottom&&(s.bottom=o.bottom+n.bottom),Rz(Object(Zj["assign"])({},r,s))},nq.prototype._expand=function(e,t){"string"===typeof t&&(t=this._elementRegistry.get(t));var n=this._rules.allowed("element.autoResize",{elements:e,target:t});if(n){var i=this._getOptimalBounds(e,t);if(iq(i,t)){var o=oq(Object(Zj["pick"])(t,["x","y","width","height"]),i);this.resize(t,i,{autoResize:o});var r=t.parent;r&&this._expand([t],r)}}},nq.prototype.getOffset=function(e){return{top:60,bottom:60,left:100,right:100}},nq.prototype.getPadding=function(e){return{top:2,bottom:2,left:15,right:15}},nq.prototype.resize=function(e,t,n){this._modeling.resizeShape(e,t,null,n)},rq.$inject=["injector"],Kj()(rq,nq),rq.prototype.resize=function(e,t,n){Object(bU["is"])(e,"bpmn:Participant")?this._modeling.resizeLane(e,t,null,n):this._modeling.resizeShape(e,t,null,n)},sq.$inject=["eventBus"],Kj()(sq,ZK),sq.prototype.addRule=function(e,t,n){var i=this;"string"===typeof e&&(e=[e]),e.forEach((function(e){i.canExecute(e,t,(function(e,t,i){return n(e)}),!0)}))},sq.prototype.init=function(){},aq.$inject=["eventBus"],Kj()(aq,sq),aq.prototype.canResize=function(e,t){return!1},Kj()(lq,aq),lq.$inject=["eventBus","modeling"],lq.prototype.canResize=function(e,t){if(!Object(bU["is"])(t,"bpmn:Participant")&&!Object(bU["is"])(t,"bpmn:Lane")&&!Object(bU["is"])(t,"bpmn:SubProcess"))return!1;var n=!0;return Object(Zj["forEach"])(e,(function(e){(Object(bU["is"])(e,"bpmn:Lane")||e.labelTarget)&&(n=!1)})),n};var cq={__init__:["bpmnAutoResize","bpmnAutoResizeProvider"],bpmnAutoResize:["type",rq],bpmnAutoResizeProvider:["type",lq]},hq=1500;function uq(e,t,n){var i=this,o=n.get("dragging",!1);function r(t){if(!t.hover){var n=t.originalEvent,r=i._findTargetGfx(n),s=r&&e.get(r);r&&s&&(t.stopPropagation(),o.hover({element:s,gfx:r}),o.move(n))}}o&&t.on("drag.start",(function(e){t.once("drag.move",hq,(function(e){r(e)}))})),function(){var e,n;t.on("element.hover",(function(t){e=t.gfx,n=t.element})),t.on("element.hover",hq,(function(i){n&&t.fire("element.out",{element:n,gfx:e})})),t.on("element.out",(function(){e=null,n=null}))}(),this._findTargetGfx=function(e){var t,n;if(e instanceof MouseEvent)return t=FY(e),n=document.elementFromPoint(t.x,t.y),dq(n)}}function dq(e){return Object(eQ["closest"])(e,"svg, .djs-element",!0)}uq.$inject=["elementRegistry","eventBus","injector"];var pq={__init__:["hoverFix"],hoverFix:["type",uq]},fq=Math.round,gq="djs-drag-active";function mq(e){e.preventDefault()}function bq(e){return"undefined"!==typeof TouchEvent&&e instanceof TouchEvent}function vq(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}function yq(e,t,n,i){var o,r={threshold:5,trapClick:!0};function s(e){var n=t.viewbox(),i=t._container.getBoundingClientRect();return{x:n.x+(e.x-i.left)/n.scale,y:n.y+(e.y-i.top)/n.scale}}function a(t,n){n=n||o;var i=e.createEvent(Object(Zj["assign"])({},n.payload,n.data,{isTouch:n.isTouch}));return!1!==e.fire("drag."+t,i)&&e.fire(n.prefix+"."+t,i)}function l(e){var t=e.filter((function(e){return i.get(e.id)}));t.length&&n.select(t)}function c(e,i){var r=o.payload,l=o.displacement,c=o.globalStart,h=FY(e),u=UG(h,c),d=o.localStart,p=s(h),f=UG(p,d);if(!o.active&&(i||vq(u)>o.threshold)){if(Object(Zj["assign"])(r,{x:fq(d.x+l.x),y:fq(d.y+l.y),dx:0,dy:0},{originalEvent:e}),!1===a("start"))return m();o.active=!0,o.keepSelection||(r.previousSelection=n.get(),n.select(null)),o.cursor&&QG(o.cursor),t.addMarker(t.getRootElement(),gq)}PY(e),o.active&&(Object(Zj["assign"])(r,{x:fq(p.x+l.x),y:fq(p.y+l.y),dx:fq(f.x),dy:fq(f.y)},{originalEvent:e}),a("move"))}function h(e){var t,n=!0;o.active&&(e&&(o.payload.originalEvent=e,PY(e)),n=a("end")),!1===n&&a("rejected"),t=b(!0!==n),a("ended",t)}function u(e){27===e.which&&(mq(e),m())}function d(t){var n;o.active&&(n=WG(e),setTimeout(n,400),mq(t)),h(t)}function p(e){c(e)}function f(e){var t=o.payload;t.hoverGfx=e.gfx,t.hover=e.element,a("hover")}function g(e){a("out");var t=o.payload;t.hoverGfx=null,t.hover=null}function m(e){var t;if(o){var n=o.active;n&&a("cancel"),t=b(e),n&&a("canceled",t)}}function b(i){var r,s;a("cleanup"),zG(),s=o.trapClick?d:h,eQ["event"].unbind(document,"mousemove",c),eQ["event"].unbind(document,"dragstart",mq),eQ["event"].unbind(document,"selectstart",mq),eQ["event"].unbind(document,"mousedown",s,!0),eQ["event"].unbind(document,"mouseup",s,!0),eQ["event"].unbind(document,"keyup",u),eQ["event"].unbind(document,"touchstart",p,!0),eQ["event"].unbind(document,"touchcancel",m,!0),eQ["event"].unbind(document,"touchmove",c,!0),eQ["event"].unbind(document,"touchend",h,!0),e.off("element.hover",f),e.off("element.out",g),t.removeMarker(t.getRootElement(),gq);var b=o.payload.previousSelection;return!1!==i&&b&&!n.get().length&&l(b),r=o,o=null,r}function v(t,n,i,l){o&&m(!1),"string"===typeof n&&(l=i,i=n,n=null),l=Object(Zj["assign"])({},r,l||{});var b,v,y,w,_,A=l.data||{};w=l.trapClick?d:h,t?(b=RY(t)||t,v=FY(t),PY(t),"dragstart"===b.type&&mq(b)):(b=null,v={x:0,y:0}),y=s(v),n||(n=y),_=bq(b),o=Object(Zj["assign"])({prefix:i,data:A,payload:{},globalStart:v,displacement:UG(n,y),localStart:y,isTouch:_},l),l.manual||(_?(eQ["event"].bind(document,"touchstart",p,!0),eQ["event"].bind(document,"touchcancel",m,!0),eQ["event"].bind(document,"touchmove",c,!0),eQ["event"].bind(document,"touchend",h,!0)):(eQ["event"].bind(document,"mousemove",c),eQ["event"].bind(document,"dragstart",mq),eQ["event"].bind(document,"selectstart",mq),eQ["event"].bind(document,"mousedown",w,!0),eQ["event"].bind(document,"mouseup",w,!0)),eQ["event"].bind(document,"keyup",u),e.on("element.hover",f),e.on("element.out",g)),a("init"),l.autoActivate&&c(t,!0)}e.on("diagram.destroy",m),this.init=v,this.move=c,this.hover=f,this.out=g,this.end=h,this.cancel=m,this.context=function(){return o},this.setOptions=function(e){Object(Zj["assign"])(r,e)}}yq.$inject=["eventBus","canvas","selection","elementRegistry"];var wq={__depends__:[pq,rG],dragging:["type",yq]};function _q(e,t,n){this._canvas=n,this._opts=Object(Zj["assign"])({scrollThresholdIn:[20,20,20,20],scrollThresholdOut:[0,0,0,0],scrollRepeatTimeout:15,scrollStep:10},e);var i=this;t.on("drag.move",(function(e){var t=i._toBorderPoint(e);i.startScroll(t)})),t.on(["drag.cleanup"],(function(){i.stopScroll()}))}function Aq(e,t,n){return t<e&&e<n}_q.$inject=["config.autoScroll","eventBus","canvas"],_q.prototype.startScroll=function(e){var t=this._canvas,n=this._opts,i=this,o=t.getContainer().getBoundingClientRect(),r=[e.x,e.y,o.width-e.x,o.height-e.y];this.stopScroll();for(var s=0,a=0,l=0;l<4;l++)Aq(r[l],n.scrollThresholdOut[l],n.scrollThresholdIn[l])&&(0===l?s=n.scrollStep:1==l?a=n.scrollStep:2==l?s=-n.scrollStep:3==l&&(a=-n.scrollStep));0===s&&0===a||(t.scroll({dx:s,dy:a}),this._scrolling=setTimeout((function(){i.startScroll(e)}),n.scrollRepeatTimeout))},_q.prototype.stopScroll=function(){clearTimeout(this._scrolling)},_q.prototype.setOptions=function(e){this._opts=Object(Zj["assign"])({},this._opts,e)},_q.prototype._toBorderPoint=function(e){var t=this._canvas._container.getBoundingClientRect(),n=FY(e.originalEvent);return{x:n.x-t.left,y:n.y-t.top}};var Cq={__depends__:[wq],__init__:["autoScroll"],autoScroll:["type",_q]};function Eq(e){this._commandStack=e.get("commandStack",!1)}Eq.$inject=["injector"],Eq.prototype.allowed=function(e,t){var n=!0,i=this._commandStack;return i&&(n=i.canExecute(e,t)),void 0===n||n};var xq={__init__:["rules"],rules:["type",Eq]},Sq=Math.round,Dq=Math.max;function kq(e,t){var n=e.x,i=e.y;return[["M",n,i],["m",0,-t],["a",t,t,0,1,1,0,2*t],["a",t,t,0,1,1,0,-2*t],["z"]]}function Mq(e){var t=[];return e.forEach((function(e,n){t.push([0===n?"M":"L",e.x,e.y])})),t}var Nq=10;function Lq(e,t){var n,i;for(n=0;i=e[n];n++)if(Cz(i,t)<=Nq)return{point:e[n],bendpoint:!0,index:n};return null}function Bq(e,t){var n,i=Bz()(kq(t,Nq),Mq(e)),o=i[0],r=i[i.length-1];return o?o!==r?o.segment2!==r.segment2?(n=Dq(o.segment2,r.segment2)-1,{point:e[n],bendpoint:!0,index:n}):{point:{x:Sq(o.x+r.x)/2,y:Sq(o.y+r.y)/2},index:o.segment2}:{point:{x:Sq(o.x),y:Sq(o.y)},index:o.segment2}:null}function Iq(e,t){return Lq(e,t)||Bq(e,t)}var Tq="djs-bendpoint",Oq="djs-segment-dragger";function Rq(e,t){var n,i=FY(t),o=e._container.getBoundingClientRect();n={x:o.left,y:o.top};var r=e.viewbox();return{x:r.x+(i.x-n.x)/r.scale,y:r.y+(i.y-n.y)/r.scale}}function Pq(e,t,n){var i=Rq(e,n),o=Iq(t,i);return o}function Fq(e,t){var n=CQ("g");fQ(n).add(Tq),iQ(e,n);var i=CQ("circle");cQ(i,{cx:0,cy:0,r:4}),fQ(i).add("djs-visual"),iQ(n,i);var o=CQ("circle");return cQ(o,{cx:0,cy:0,r:10}),fQ(o).add("djs-hit"),iQ(n,o),t&&fQ(n).add(t),n}function jq(e,t,n,i){var o=CQ("g");iQ(e,o);var r=14,s=3,a=11,l=Vq(t,n,i),c=s+a,h=CQ("rect");cQ(h,{x:-r/2,y:-s/2,width:r,height:s}),fQ(h).add("djs-visual"),iQ(o,h);var u=CQ("rect");return cQ(u,{x:-l/2,y:-c/2,width:l,height:c}),fQ(u).add("djs-hit"),iQ(o,u),CV(o,"v"===i?90:0,0,0),o}function Qq(e,t,n){var i=CQ("g"),o=Nz(t,n),r=Sz(t,n);return iQ(e,i),jq(i,t,n,r),fQ(i).add(Oq),fQ(i).add("h"===r?"horizontal":"vertical"),AV(i,o.x,o.y),i}function zq(e){return Math.abs(Math.round(2*e/3))}function Vq(e,t,n){var i=t.x-e.x,o=t.y-e.y;return zq("h"===n?i:o)}var Wq=n("f192"),Hq=n.n(Wq);function Uq(e,t,n,i,o){function r(e,t,n){var i,o,r,s,a,l,c=e.index,h=e.point;return!(c<=0||e.bendpoint)&&(i=t[c-1],o=t[c],r=Nz(i,o),s=Sz(i,o),a=Math.abs(h.x-r.x),l=Math.abs(h.y-r.y),s&&a<=n&&l<=n)}function s(e,t){var n,i,o,r,s=e.waypoints;return t.index<=0||t.bendpoint?null:(n={start:s[t.index-1],end:s[t.index]},i=Sz(n.start,n.end),i?(o="h"===i?n.end.x-n.start.x:n.end.y-n.start.y,r=zq(o)/2,r):null)}function a(e,n){var a,l=n.waypoints,c=Pq(t,l,e);if(c)return a=s(n,c),r(c,l,a)?o.start(e,n,c.index):i.start(e,n,c.index,!c.bendpoint),!0}function l(e,t,i){eQ["event"].bind(e,t,(function(e){n.triggerMouseEvent(t,e,i),e.stopPropagation()}))}function c(e,n){var i=t.getLayer("overlays"),o=Object(eQ["query"])('.djs-bendpoints[data-element-id="'+Hq()(e.id)+'"]',i);return!o&&n&&(o=CQ("g"),cQ(o,{"data-element-id":e.id}),fQ(o).add("djs-bendpoints"),iQ(i,o),l(o,"mousedown",e),l(o,"click",e),l(o,"dblclick",e)),o}function h(e,t){return Object(eQ["query"])('.djs-segment-dragger[data-segment-idx="'+e+'"]',t)}function u(e,t){t.waypoints.forEach((function(t,n){var i=Fq(e);iQ(e,i),AV(i,t.x,t.y)})),Fq(e,"floating")}function d(e,t){for(var n,i,o,r=t.waypoints,s=1;s<r.length;s++)n=r[s-1],i=r[s],Sz(n,i)&&(o=Qq(e,n,i),cQ(o,{"data-segment-idx":s}),l(o,"mousemove",t))}function p(e){Object(Zj["forEach"])(Object(eQ["queryAll"])("."+Tq,e),(function(e){mQ(e)}))}function f(e){Object(Zj["forEach"])(Object(eQ["queryAll"])("."+Oq,e),(function(e){mQ(e)}))}function g(e){var t=c(e);return t||(t=c(e,!0),u(t,e),d(t,e)),t}function m(e){var t=c(e);t&&(f(t),p(t),d(t,e),u(t,e))}function b(e,t){var n=Object(eQ["query"])(".floating",e),i=t.point;n&&AV(n,i.x,i.y)}function v(e,t,n){var i,o,r=h(t.index,e),s=n[t.index-1],a=n[t.index],l=t.point,c=Nz(s,a),u=Sz(s,a);r&&(i=Yq(r),o={x:l.x-c.x,y:l.y-c.y},"v"===u&&(o={x:o.y,y:o.x}),AV(i,o.x,o.y))}e.on("connection.changed",(function(e){m(e.element)})),e.on("connection.remove",(function(e){var t=c(e.element);t&&mQ(t)})),e.on("element.marker.update",(function(e){var t,n=e.element;n.waypoints&&(t=g(n),e.add?fQ(t).add(e.marker):fQ(t).remove(e.marker))})),e.on("element.mousemove",(function(e){var n,i,o=e.element,r=o.waypoints;if(r){if(n=c(o,!0),i=Pq(t,r,e.originalEvent),!i)return;b(n,i),i.bendpoint||v(n,i,r)}})),e.on("element.mousedown",(function(e){if(zY(e)){var t=e.originalEvent,n=e.element;if(n.waypoints)return a(t,n)}})),e.on("selection.changed",(function(e){var t=e.newSelection,n=t[0];n&&n.waypoints&&g(n)})),e.on("element.hover",(function(e){var t=e.element;t.waypoints&&(g(t),n.registerEvent(e.gfx,"mousemove","element.mousemove"))})),e.on("element.out",(function(e){n.unregisterEvent(e.gfx,"mousemove","element.mousemove")})),e.on("element.updateId",(function(e){var t=e.element,n=e.newId;if(t.waypoints){var i=c(t);i&&cQ(i,{"data-element-id":n})}})),this.addHandles=g,this.updateHandles=m,this.getBendpointsContainer=c,this.getSegmentDragger=h}function Yq(e){return Object(eQ["query"])(".djs-visual",e)}Uq.$inject=["eventBus","canvas","interactionEvents","bendpointMove","connectionSegmentMove"];var Gq=Math.round,Kq="reconnectStart",qq="reconnectEnd",Jq="updateWaypoints";function Xq(e,t,n,i,o,r){this._injector=e,this.start=function(e,t,r,s){var a,l=n.getGraphics(t),c=t.source,h=t.target,u=t.waypoints;a=s||0!==r?s||r!==u.length-1?Jq:qq:Kq;var d=a===Jq?"connection.updateWaypoints":"connection.reconnect",p=o.allowed(d,{connection:t,source:c,target:h});!1===p&&(p=o.allowed(d,{connection:t,source:h,target:c})),!1!==p&&i.init(e,"bendpoint.move",{data:{connection:t,connectionGfx:l,context:{allowed:p,bendpointIndex:r,connection:t,source:c,target:h,insert:s,type:a}}})},t.on("bendpoint.move.hover",(function(e){var t,n=e.context,i=n.connection,r=i.source,s=i.target,a=e.hover,l=n.type;if(n.hover=a,a){var c=l===Jq?"connection.updateWaypoints":"connection.reconnect";if(t=n.allowed=o.allowed(c,{connection:i,source:l===Kq?a:r,target:l===qq?a:s}),t)return n.source=l===Kq?a:r,void(n.target=l===qq?a:s);!1===t&&(t=n.allowed=o.allowed(c,{connection:i,source:l===qq?a:s,target:l===Kq?a:r})),t&&(n.source=l===qq?a:s,n.target=l===Kq?a:r)}})),t.on(["bendpoint.move.out","bendpoint.move.cleanup"],(function(e){var t=e.context,n=t.type;t.hover=null,t.source=null,t.target=null,n!==Jq&&(t.allowed=!1)})),t.on("bendpoint.move.end",(function(e){var t=e.context,n=t.allowed,i=t.bendpointIndex,o=t.connection,s=t.insert,a=o.waypoints.slice(),l=t.source,c=t.target,h=t.type,u=t.hints||{},d={x:Gq(e.x),y:Gq(e.y)};if(!n)return!1;h===Jq?(s?a.splice(i,0,d):a[i]=d,u.bendpointMove={insert:s,bendpointIndex:i},a=this.cropWaypoints(o,a),r.updateWaypoints(o,zz(a),u)):(h===Kq?(u.docking="source",$q(t)&&(u.docking="target",u.newWaypoints=a.reverse())):h===qq&&(u.docking="target",$q(t)&&(u.docking="source",u.newWaypoints=a.reverse())),r.reconnect(o,l,c,d,u))}),this)}function $q(e){var t=e.hover,n=e.source,i=e.target,o=e.type;return o===Kq?t&&i&&t===i&&n!==i:o===qq?t&&n&&t===n&&n!==i:void 0}Xq.$inject=["injector","eventBus","canvas","dragging","rules","modeling"],Xq.prototype.cropWaypoints=function(e,t){var n=this._injector.get("connectionDocking",!1);if(!n)return t;var i=e.waypoints;return e.waypoints=t,e.waypoints=n.getCroppedWaypoints(e),t=e.waypoints,e.waypoints=i,t};var Zq="reconnectStart",eJ="reconnectEnd",tJ="updateWaypoints",nJ="connect-ok",iJ="connect-not-ok",oJ="connect-hover",rJ="djs-updating",sJ="djs-element-hidden",aJ=1100;function lJ(e,t,n,i){this._injector=t;var o=t.get("connectionPreview",!1);n.on("bendpoint.move.start",(function(e){var t=e.context,n=t.bendpointIndex,o=t.connection,r=t.insert,s=o.waypoints,a=s.slice();t.waypoints=s,r&&a.splice(n,0,{x:e.x,y:e.y}),o.waypoints=a;var l=t.draggerGfx=Fq(i.getLayer("overlays"));fQ(l).add("djs-dragging"),i.addMarker(o,sJ),i.addMarker(o,rJ)})),n.on("bendpoint.move.hover",(function(e){var t=e.context,n=t.allowed,o=t.hover,r=t.type;if(o){if(i.addMarker(o,oJ),r===tJ)return;n?(i.removeMarker(o,iJ),i.addMarker(o,nJ)):!1===n&&(i.removeMarker(o,nJ),i.addMarker(o,iJ))}})),n.on(["bendpoint.move.out","bendpoint.move.cleanup"],aJ,(function(e){var t=e.context,n=t.hover,o=t.target;n&&(i.removeMarker(n,oJ),i.removeMarker(n,o?nJ:iJ))})),n.on("bendpoint.move.move",(function(t){var n=t.context,i=n.allowed,r=n.bendpointIndex,s=n.draggerGfx,a=n.hover,l=n.type,c=n.connection,h=c.source,u=c.target,d=c.waypoints.slice(),p={x:t.x,y:t.y},f=n.hints||{},g={};o&&(f.connectionStart&&(g.connectionStart=f.connectionStart),f.connectionEnd&&(g.connectionEnd=f.connectionEnd),l===Zq?$q(n)?(g.connectionEnd=g.connectionEnd||p,g.source=u,g.target=a||h,d=d.reverse()):(g.connectionStart=g.connectionStart||p,g.source=a||h,g.target=u):l===eJ?$q(n)?(g.connectionStart=g.connectionStart||p,g.source=a||u,g.target=h,d=d.reverse()):(g.connectionEnd=g.connectionEnd||p,g.source=h,g.target=a||u):(g.noCropping=!0,g.noLayout=!0,d[r]=p),l===tJ&&(d=e.cropWaypoints(c,d)),g.waypoints=d,o.drawPreview(n,i,g)),AV(s,t.x,t.y)}),this),n.on(["bendpoint.move.end","bendpoint.move.cancel"],aJ,(function(e){var t=e.context,n=t.connection,r=t.draggerGfx,s=t.hover,a=t.target,l=t.waypoints;n.waypoints=l,mQ(r),i.removeMarker(n,rJ),i.removeMarker(n,sJ),s&&(i.removeMarker(s,nJ),i.removeMarker(s,a?nJ:iJ)),o&&o.cleanUp(t)}))}lJ.$inject=["bendpointMove","injector","eventBus","canvas"];var cJ="connect-hover",hJ="djs-updating";function uJ(e,t,n){return dJ(e,t,e[t]+n)}function dJ(e,t,n){return{x:"x"===t?n:e.x,y:"y"===t?n:e.y}}function pJ(e,t,n,i){var o=Math.max(t[i],n[i]),r=Math.min(t[i],n[i]),s=20,a=Math.min(Math.max(r+s,e[i]),o-s);return dJ(t,i,a)}function fJ(e){return"x"===e?"y":"x"}function gJ(e,t,n){var i,o;return e.original?e.original:(i=Pz(t),o=fJ(n),dJ(e,o,i[o]))}function mJ(e,t,n,i,o,r){var s=e.get("connectionDocking",!1);function a(e,t){if(!s)return t;var n,i=e.waypoints;return e.waypoints=t,n=s.getCroppedWaypoints(e),e.waypoints=i,n}function l(e){o.update("connection",e.connection,e.connectionGfx)}function c(e,t,n){var i=e.newWaypoints,o=e.segmentStartIndex+t,r=i[o],s=e.segmentEndIndex+t,a=i[s],l=fJ(e.axis),c=pJ(n,r,a,l);AV(e.draggerGfx,c.x,c.y)}function h(e,t){var n=0,i=e.filter((function(i,o){return!Ez(e[o-1],e[o+1],i)||(n=o<=t?n-1:n,!1)}));return{waypoints:i,segmentOffset:n}}this.start=function(e,t,o){var r,s,a,l,c=n.getGraphics(t),h=o-1,u=o,d=t.waypoints,p=d[h],f=d[u],g=Pq(n,d,e);s=Sz(p,f),s&&(a="v"===s?"x":"y",0===h&&(p=gJ(p,t.source,a)),u===d.length-1&&(f=gJ(f,t.target,a)),l=g?g.point:{x:(p.x+f.x)/2,y:(p.y+f.y)/2},r={connection:t,segmentStartIndex:h,segmentEndIndex:u,segmentStart:p,segmentEnd:f,axis:a,dragPosition:l},i.init(e,l,"connectionSegment.move",{cursor:"x"===a?"resize-ew":"resize-ns",data:{connection:t,connectionGfx:c,context:r}}))},t.on("connectionSegment.move.start",(function(e){var t=e.context,i=e.connection,o=n.getLayer("overlays");t.originalWaypoints=i.waypoints.slice(),t.draggerGfx=Qq(o,t.segmentStart,t.segmentEnd),fQ(t.draggerGfx).add("djs-dragging"),n.addMarker(i,hJ)})),t.on("connectionSegment.move.move",(function(e){var t,n,i=e.context,o=i.connection,r=i.segmentStartIndex,s=i.segmentEndIndex,h=i.segmentStart,u=i.segmentEnd,d=i.axis,p=i.originalWaypoints.slice(),f=uJ(h,d,e["d"+d]),g=uJ(u,d,e["d"+d]),m=p.length,b=0;p[r]=f,p[s]=g,r<2&&(t=Fz(o.source,f),1===r?"intersect"===t&&(p.shift(),p[0]=f,b--):"intersect"!==t&&(p.unshift(h),b++)),s>m-3&&(n=Fz(o.target,g),s===m-2?"intersect"===n&&(p.pop(),p[p.length-1]=g):"intersect"!==n&&p.push(u)),i.newWaypoints=o.waypoints=a(o,p),c(i,b,e),i.newSegmentStartIndex=r+b,l(e)})),t.on("connectionSegment.move.hover",(function(e){e.context.hover=e.hover,n.addMarker(e.hover,cJ)})),t.on(["connectionSegment.move.out","connectionSegment.move.cleanup"],(function(e){var t=e.context.hover;t&&n.removeMarker(t,cJ)})),t.on("connectionSegment.move.cleanup",(function(e){var t=e.context,i=t.connection;t.draggerGfx&&mQ(t.draggerGfx),n.removeMarker(i,hJ)})),t.on(["connectionSegment.move.cancel","connectionSegment.move.end"],(function(e){var t=e.context,n=t.connection;n.waypoints=t.originalWaypoints,l(e)})),t.on("connectionSegment.move.end",(function(e){var t=e.context,n=t.connection,i=t.newWaypoints,o=t.newSegmentStartIndex;i=i.map((function(e){return{original:e.original,x:Math.round(e.x),y:Math.round(e.y)}}));var s=h(i,o),l=s.waypoints,c=a(n,l),u=s.segmentOffset,d={segmentMove:{segmentStartIndex:t.segmentStartIndex,newSegmentStartIndex:o+u}};r.updateWaypoints(n,c,d)}))}mJ.$inject=["injector","eventBus","canvas","dragging","graphicsFactory","modeling"];var bJ=Math.abs,vJ=Math.round;function yJ(e,t,n){var i,o;for(n=void 0===n?10:n,i=0;i<t.length;i++)if(o=t[i],bJ(o-e)<=n)return o}function wJ(e){return{x:e.x,y:e.y}}function _J(e){return{x:e.x+e.width,y:e.y+e.height}}function AJ(e,t){return!e||isNaN(e.x)||isNaN(e.y)?t:{x:vJ(e.x+e.width/2),y:vJ(e.y+e.height/2)}}function CJ(e,t){var n=e.snapped;return!!n&&("string"===typeof t?n[t]:n.x&&n.y)}function EJ(e,t,n){if("string"!==typeof t)throw new Error("axis must be in [x, y]");if("number"!==typeof n&&!1!==n)throw new Error("value must be Number or false");var i,o=e[t],r=e.snapped=e.snapped||{};return!1===n?r[t]=!1:(r[t]=!0,i=n-o,e[t]+=i,e["d"+t]+=i),o}function xJ(e){return e.children||[]}var SJ=Math.abs,DJ=Math.round,kJ=10;function MJ(e){function t(e,t){if(Object(Zj["isArray"])(e)){var n=e.length;while(n--)if(SJ(e[n]-t)<=kJ)return e[n]}else{e=+e;var i=t%e;if(i<kJ)return t-i;if(i>e-kJ)return t-i+e}return t}function n(e){if(e.width)return{x:DJ(e.width/2+e.x),y:DJ(e.height/2+e.y)}}function i(e){var t=e.snapPoints,i=e.connection,o=i.waypoints,r=e.segmentStart,s=e.segmentStartIndex,a=e.segmentEnd,l=e.segmentEndIndex,c=e.axis;if(t)return t;var h=[o[s-1],r,a,o[l+1]];return s<2&&h.unshift(n(i.source)),l>o.length-3&&h.unshift(n(i.target)),e.snapPoints=t={horizontal:[],vertical:[]},Object(Zj["forEach"])(h,(function(e){e&&(e=e.original||e,"y"===c&&t.horizontal.push(e.y),"x"===c&&t.vertical.push(e.x))})),t}function o(e){var t=e.snapPoints,n=e.connection.waypoints,i=e.bendpointIndex;if(t)return t;var o=[n[i-1],n[i+1]];return e.snapPoints=t={horizontal:[],vertical:[]},Object(Zj["forEach"])(o,(function(e){e&&(e=e.original||e,t.horizontal.push(e.y),t.vertical.push(e.x))})),t}e.on("connectionSegment.move.move",1500,(function(e){var n,o,r=e.context,s=i(r),a=e.x,l=e.y;if(s){n=t(s.vertical,a),o=t(s.horizontal,l);var c=a-n,h=l-o;Object(Zj["assign"])(e,{dx:e.dx-c,dy:e.dy-h,x:n,y:o}),(c||-1!==s.vertical.indexOf(a))&&EJ(e,"x",n),(h||-1!==s.horizontal.indexOf(l))&&EJ(e,"y",o)}})),e.on(["bendpoint.move.move","bendpoint.move.end"],1500,(function(e){var i,r,s=e.context,a=o(s),l=s.hover,c=l&&n(l),h=e.x,u=e.y;if(a){i=t(c?a.vertical.concat([c.x]):a.vertical,h),r=t(c?a.horizontal.concat([c.y]):a.horizontal,u);var d=h-i,p=u-r;Object(Zj["assign"])(e,{dx:e.dx-d,dy:e.dy-p,x:e.x-d,y:e.y-p}),(d||-1!==a.vertical.indexOf(h))&&EJ(e,"x",i),(p||-1!==a.horizontal.indexOf(u))&&EJ(e,"y",r)}}))}MJ.$inject=["eventBus"];var NJ={__depends__:[wq,xq],__init__:["bendpoints","bendpointSnapping","bendpointMovePreview"],bendpoints:["type",Uq],bendpointMove:["type",Xq],bendpointMovePreview:["type",lJ],connectionSegmentMove:["type",mJ],bendpointSnapping:["type",MJ]};function LJ(e,t,n,i){function o(e,t){return i.allowed("connection.create",{source:e,target:t})}function r(e,t){return o(t,e)}e.on("connect.hover",(function(e){var t,n=e.context,i=n.start,s=e.hover;if(n.hover=s,t=n.canExecute=o(i,s),!Object(Zj["isNil"])(t)){if(!1!==t)return n.source=i,void(n.target=s);t=n.canExecute=r(i,s),Object(Zj["isNil"])(t)||!1!==t&&(n.source=s,n.target=i)}})),e.on(["connect.out","connect.cleanup"],(function(e){var t=e.context;t.hover=null,t.source=null,t.target=null,t.canExecute=!1})),e.on("connect.end",(function(e){var t=e.context,i=t.canExecute,o=t.connectionStart,r={x:e.x,y:e.y},s=t.source,a=t.target;if(!i)return!1;var l=null,c={connectionStart:BJ(t)?r:o,connectionEnd:BJ(t)?o:r};Object(Zj["isObject"])(i)&&(l=i),n.connect(s,a,l,c)})),this.start=function(e,n,i,o){Object(Zj["isObject"])(i)||(o=i,i=Pz(n)),t.init(e,"connect",{autoActivate:o,data:{shape:n,context:{start:n,connectionStart:i}}})}}function BJ(e){var t=e.hover,n=e.source,i=e.target;return t&&n&&t===n&&n!==i}LJ.$inject=["eventBus","dragging","modeling","rules"];var IJ=1100,TJ=900,OJ="connect-ok",RJ="connect-not-ok";function PJ(e,t,n){var i=e.get("connectionPreview",!1);i&&t.on("connect.move",(function(e){var t=e.context,n=t.canExecute,o=t.hover,r=t.source,s=t.start,a=t.startPosition,l=t.target,c=t.connectionStart||a,h=t.connectionEnd||{x:e.x,y:e.y},u=c,d=h;BJ(t)&&(u=h,d=c),i.drawPreview(t,n,{source:r||s,target:l||o,connectionStart:u,connectionEnd:d})})),t.on("connect.hover",TJ,(function(e){var t=e.context,i=e.hover,o=t.canExecute;null!==o&&n.addMarker(i,o?OJ:RJ)})),t.on(["connect.out","connect.cleanup"],IJ,(function(e){var t=e.hover;t&&(n.removeMarker(t,OJ),n.removeMarker(t,RJ))})),i&&t.on("connect.cleanup",(function(e){i.cleanUp(e.context)}))}PJ.$inject=["injector","eventBus","canvas"];var FJ={__depends__:[rG,xq,wq],__init__:["connectPreview"],connect:["type",LJ],connectPreview:["type",PJ]},jJ="djs-connection-preview";function QJ(e,t,n,i){this._canvas=t,this._graphicsFactory=n,this._elementFactory=i,this._connectionDocking=e.get("connectionDocking",!1),this._layouter=e.get("layouter",!1)}function zJ(e){var t={};return function(n){var i=JSON.stringify(n),o=t[i];return o||(o=t[i]=e.apply(null,arguments)),o}}function VJ(e){return Object(Zj["isObject"])(e)?e:{}}QJ.$inject=["injector","canvas","graphicsFactory","elementFactory"],QJ.prototype.drawPreview=function(e,t,n){n=n||{};var i,o=e.connectionPreviewGfx,r=e.getConnection,s=n.source,a=n.target,l=n.waypoints,c=n.connectionStart,h=n.connectionEnd,u=n.noLayout,d=n.noCropping,p=n.noNoop,f=this;o||(o=e.connectionPreviewGfx=this.createConnectionPreviewGfx()),bQ(o),r||(r=e.getConnection=zJ((function(e,t,n){return f.getConnection(e,t,n)}))),t&&(i=r(t,s,a)),i?(i.waypoints=l||[],this._layouter&&!u&&(i.waypoints=this._layouter.layoutConnection(i,{source:s,target:a,connectionStart:c,connectionEnd:h,waypoints:n.waypoints||i.waypoints})),i.waypoints&&i.waypoints.length||(i.waypoints=[s?Pz(s):c,a?Pz(a):h]),this._connectionDocking&&(s||a)&&!d&&(i.waypoints=this._connectionDocking.getCroppedWaypoints(i,s,a)),this._graphicsFactory.drawConnection(o,i)):!p&&this.drawNoopPreview(o,n)},QJ.prototype.drawNoopPreview=function(e,t){var n=t.source,i=t.target,o=t.connectionStart||Pz(n),r=t.connectionEnd||Pz(i),s=this.cropWaypoints(o,r,n,i),a=this.createNoopConnection(s[0],s[1]);iQ(e,a)},QJ.prototype.cropWaypoints=function(e,t,n,i){var o=this._graphicsFactory,r=n&&o.getShapePath(n),s=i&&o.getShapePath(i),a=o.getConnectionPath({waypoints:[e,t]});return e=n&&jz(r,a,!0)||e,t=i&&jz(s,a,!1)||t,[e,t]},QJ.prototype.cleanUp=function(e){e&&e.connectionPreviewGfx&&mQ(e.connectionPreviewGfx)},QJ.prototype.getConnection=function(e){var t=VJ(e);return this._elementFactory.createConnection(t)},QJ.prototype.createConnectionPreviewGfx=function(){var e=CQ("g");return cQ(e,{pointerEvents:"none"}),fQ(e).add(jJ),iQ(this._canvas.getDefaultLayer(),e),e},QJ.prototype.createNoopConnection=function(e,t){var n=CQ("polyline");return cQ(n,{stroke:"#333",strokeDasharray:[1],strokeWidth:2,"pointer-events":"none"}),cQ(n,{points:[e.x,e.y,t.x,t.y]}),n};var WJ={__init__:["connectionPreview"],connectionPreview:["type",QJ]},HJ=Math.min,UJ=Math.max;function YJ(e){e.preventDefault()}function GJ(e){e.stopPropagation()}function KJ(e){return e.nodeType===Node.TEXT_NODE}function qJ(e){return[].slice.call(e)}function JJ(e){this.container=e.container,this.parent=Object(eQ["domify"])('<div class="djs-direct-editing-parent"><div class="djs-direct-editing-content" contenteditable="true"></div></div>'),this.content=Object(eQ["query"])("[contenteditable]",this.parent),this.keyHandler=e.keyHandler||function(){},this.resizeHandler=e.resizeHandler||function(){},this.autoResize=Object(Zj["bind"])(this.autoResize,this),this.handlePaste=Object(Zj["bind"])(this.handlePaste,this)}function XJ(e,t){this._eventBus=e,this._providers=[],this._textbox=new JJ({container:t.getContainer(),keyHandler:Object(Zj["bind"])(this._handleKey,this),resizeHandler:Object(Zj["bind"])(this._handleResize,this)})}JJ.prototype.create=function(e,t,n,i){var o=this,r=this.parent,s=this.content,a=this.container;i=this.options=i||{},t=this.style=t||{};var l=Object(Zj["pick"])(t,["width","height","maxWidth","maxHeight","minWidth","minHeight","left","top","backgroundColor","position","overflow","border","wordWrap","textAlign","outline","transform"]);Object(Zj["assign"])(r.style,{width:e.width+"px",height:e.height+"px",maxWidth:e.maxWidth+"px",maxHeight:e.maxHeight+"px",minWidth:e.minWidth+"px",minHeight:e.minHeight+"px",left:e.x+"px",top:e.y+"px",backgroundColor:"#ffffff",position:"absolute",overflow:"visible",border:"1px solid #ccc",boxSizing:"border-box",wordWrap:"normal",textAlign:"center",outline:"none"},l);var c=Object(Zj["pick"])(t,["fontFamily","fontSize","fontWeight","lineHeight","padding","paddingTop","paddingRight","paddingBottom","paddingLeft"]);return Object(Zj["assign"])(s.style,{boxSizing:"border-box",width:"100%",outline:"none",wordWrap:"break-word"},c),i.centerVertically&&Object(Zj["assign"])(s.style,{position:"absolute",top:"50%",transform:"translate(0, -50%)"},c),s.innerText=n,eQ["event"].bind(s,"keydown",this.keyHandler),eQ["event"].bind(s,"mousedown",GJ),eQ["event"].bind(s,"paste",o.handlePaste),i.autoResize&&eQ["event"].bind(s,"input",this.autoResize),i.resizable&&this.resizable(t),a.appendChild(r),this.setSelection(s.lastChild,s.lastChild&&s.lastChild.length),r},JJ.prototype.handlePaste=function(e){var t,n=this.options,i=this.style;if(e.preventDefault(),t=e.clipboardData?e.clipboardData.getData("text/plain"):window.clipboardData.getData("Text"),this.insertText(t),n.autoResize){var o=this.autoResize(i);o&&this.resizeHandler(o)}},JJ.prototype.insertText=function(e){var t=document.execCommand("insertText",!1,e);t||this._insertTextIE(e)},JJ.prototype._insertTextIE=function(e){var t,n,i=this.getSelection(),o=i.startContainer,r=i.endContainer,s=i.startOffset,a=i.endOffset,l=i.commonAncestorContainer,c=qJ(l.childNodes);if(KJ(l)){var h=o.textContent;o.textContent=h.substring(0,s)+e+h.substring(a),t=o,n=s+e.length}else if(o===this.content&&r===this.content){var u=document.createTextNode(e);this.content.insertBefore(u,c[s]),t=u,n=u.textContent.length}else{var d=c.indexOf(o),p=c.indexOf(r);c.forEach((function(t,n){n===d?t.textContent=o.textContent.substring(0,s)+e+r.textContent.substring(a):n>d&&n<=p&&Object(eQ["remove"])(t)})),t=o,n=s+e.length}t&&void 0!==n&&setTimeout((function(){self.setSelection(t,n)}))},JJ.prototype.autoResize=function(){var e=this.parent,t=this.content,n=parseInt(this.style.fontSize)||12;if(t.scrollHeight>e.offsetHeight||t.scrollHeight<e.offsetHeight-n){var i=e.getBoundingClientRect(),o=t.scrollHeight;e.style.height=o+"px",this.resizeHandler({width:i.width,height:i.height,dx:0,dy:o-i.height})}},JJ.prototype.resizable=function(){var e=this,t=this.parent,n=this.resizeHandle,i=parseInt(this.style.minWidth)||0,o=parseInt(this.style.minHeight)||0,r=parseInt(this.style.maxWidth)||1/0,s=parseInt(this.style.maxHeight)||1/0;if(!n){var a,l,c,h;n=this.resizeHandle=Object(eQ["domify"])('<div class="djs-direct-editing-resize-handle"></div>');var u=function(e){YJ(e),GJ(e),a=e.clientX,l=e.clientY;var n=t.getBoundingClientRect();c=n.width,h=n.height,eQ["event"].bind(document,"mousemove",d),eQ["event"].bind(document,"mouseup",p)},d=function(n){YJ(n),GJ(n);var u=HJ(UJ(c+n.clientX-a,i),r),d=HJ(UJ(h+n.clientY-l,o),s);t.style.width=u+"px",t.style.height=d+"px",e.resizeHandler({width:c,height:h,dx:n.clientX-a,dy:n.clientY-l})},p=function(e){YJ(e),GJ(e),eQ["event"].unbind(document,"mousemove",d,!1),eQ["event"].unbind(document,"mouseup",p,!1)};eQ["event"].bind(n,"mousedown",u)}Object(Zj["assign"])(n.style,{position:"absolute",bottom:"0px",right:"0px",cursor:"nwse-resize",width:"0",height:"0",borderTop:(parseInt(this.style.fontSize)/4||3)+"px solid transparent",borderRight:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderBottom:(parseInt(this.style.fontSize)/4||3)+"px solid #ccc",borderLeft:(parseInt(this.style.fontSize)/4||3)+"px solid transparent"}),t.appendChild(n)},JJ.prototype.destroy=function(){var e=this.parent,t=this.content,n=this.resizeHandle;t.innerText="",e.removeAttribute("style"),t.removeAttribute("style"),eQ["event"].unbind(t,"keydown",this.keyHandler),eQ["event"].unbind(t,"mousedown",GJ),eQ["event"].unbind(t,"input",this.autoResize),eQ["event"].unbind(t,"paste",this.handlePaste),n&&(n.removeAttribute("style"),Object(eQ["remove"])(n)),Object(eQ["remove"])(e)},JJ.prototype.getValue=function(){return this.content.innerText.trim()},JJ.prototype.getSelection=function(){var e=window.getSelection(),t=e.getRangeAt(0);return t},JJ.prototype.setSelection=function(e,t){var n=document.createRange();null===e?n.selectNodeContents(this.content):(n.setStart(e,t),n.setEnd(e,t));var i=window.getSelection();i.removeAllRanges(),i.addRange(n)},XJ.$inject=["eventBus","canvas"],XJ.prototype.registerProvider=function(e){this._providers.push(e)},XJ.prototype.isActive=function(){return!!this._active},XJ.prototype.cancel=function(){this._active&&(this._fire("cancel"),this.close())},XJ.prototype._fire=function(e,t){this._eventBus.fire("directEditing."+e,t||{active:this._active})},XJ.prototype.close=function(){this._textbox.destroy(),this._fire("deactivate"),this._active=null,this.resizable=void 0},XJ.prototype.complete=function(){var e=this._active;if(e){var t,n=e.context.bounds,i=this.$textbox.getBoundingClientRect(),o=this.getValue(),r=e.context.text;o===r&&i.height===n.height&&i.width===n.width||(t=this._textbox.container.getBoundingClientRect(),e.provider.update(e.element,o,e.context.text,{x:i.left-t.left,y:i.top-t.top,width:i.width,height:i.height})),this._fire("complete"),this.close()}},XJ.prototype.getValue=function(){return this._textbox.getValue()},XJ.prototype._handleKey=function(e){e.stopPropagation();var t=e.keyCode||e.charCode;return 27===t?(e.preventDefault(),this.cancel()):13!==t||e.shiftKey?void 0:(e.preventDefault(),this.complete())},XJ.prototype._handleResize=function(e){this._fire("resize",e)},XJ.prototype.activate=function(e){var t;this.isActive()&&this.cancel();var n=Object(Zj["find"])(this._providers,(function(n){return(t=n.activate(e))?n:null}));return t&&(this.$textbox=this._textbox.create(t.bounds,t.style,t.text,t.options),this._active={element:e,context:t,provider:n},t.options&&t.options.resizable&&(this.resizable=!0),this._fire("activate")),!!t};var $J={__depends__:[qY],__init__:["directEditing"],directEditing:["type",XJ]},ZJ=".entry",eX=1e3;function tX(e,t,n){this._eventBus=t,this._overlays=n;var i=Object(Zj["isDefined"])(e&&e.scale)?e.scale:{min:1,max:1.5};this._overlaysConfig={position:{right:-9,top:-6},scale:i},this._current=null,this._init()}function nX(e,t){var n=Object(eQ["classes"])(e),i=Object(Zj["isArray"])(t)?t:t.split(/\s+/g);i.forEach((function(e){n.add(e)}))}tX.$inject=["config.contextPad","eventBus","overlays"],tX.prototype._init=function(){var e=this._eventBus,t=this;e.on("selection.changed",(function(e){var n=e.newSelection;1===n.length?t.open(n[0]):t.close()})),e.on("elements.delete",(function(e){var n=e.elements;Object(Zj["forEach"])(n,(function(e){t.isOpen(e)&&t.close()}))})),e.on("element.changed",(function(e){var n=e.element,i=t._current;i&&i.element===n&&t.open(n,!0)}))},tX.prototype.registerProvider=function(e,t){t||(t=e,e=eX),this._eventBus.on("contextPad.getProviders",e,(function(e){e.providers.push(t)}))},tX.prototype.getEntries=function(e){var t=this._getProviders(),n={};return Object(Zj["forEach"])(t,(function(t){var i=t.getContextPadEntries(e);Object(Zj["isFunction"])(i)?n=i(n):Object(Zj["forEach"])(i,(function(e,t){n[t]=e}))})),n},tX.prototype.trigger=function(e,t,n){var i,o,r,s=this._current.element,a=this._current.entries,l=t.delegateTarget||t.target;if(!l)return t.preventDefault();if(i=a[Object(eQ["attr"])(l,"data-action")],o=i.action,r=t.originalEvent||t,Object(Zj["isFunction"])(o)){if("click"===e)return o(r,s,n)}else if(o[e])return o[e](r,s,n);t.preventDefault()},tX.prototype.open=function(e,t){!t&&this.isOpen(e)||(this.close(),this._updateAndOpen(e))},tX.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"contextPad.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},tX.prototype._updateAndOpen=function(e){var t=this.getEntries(e),n=this.getPad(e),i=n.html;Object(Zj["forEach"])(t,(function(e,t){var n,o=e.group||"default",r=Object(eQ["domify"])(e.html||'<div class="entry" draggable="true"></div>');Object(eQ["attr"])(r,"data-action",t),n=Object(eQ["query"])("[data-group="+o+"]",i),n||(n=Object(eQ["domify"])('<div class="group" data-group="'+o+'"></div>'),i.appendChild(n)),n.appendChild(r),e.className&&nX(r,e.className),e.title&&Object(eQ["attr"])(r,"title",e.title),e.imageUrl&&r.appendChild(Object(eQ["domify"])('<img src="'+e.imageUrl+'">'))})),Object(eQ["classes"])(i).add("open"),this._current={element:e,pad:n,entries:t},this._eventBus.fire("contextPad.open",{current:this._current})},tX.prototype.getPad=function(e){if(this.isOpen())return this._current.pad;var t=this,n=this._overlays,i=Object(eQ["domify"])('<div class="djs-context-pad"></div>'),o=Object(Zj["assign"])({html:i},this._overlaysConfig);eQ["delegate"].bind(i,ZJ,"click",(function(e){t.trigger("click",e)})),eQ["delegate"].bind(i,ZJ,"dragstart",(function(e){t.trigger("dragstart",e)})),eQ["event"].bind(i,"mousedown",(function(e){e.stopPropagation()})),this._overlayId=n.add(e,"context-pad",o);var r=n.get(this._overlayId);return this._eventBus.fire("contextPad.create",{element:e,pad:r}),r},tX.prototype.close=function(){this.isOpen()&&(this._overlays.remove(this._overlayId),this._overlayId=null,this._eventBus.fire("contextPad.close",{current:this._current}),this._current=null)},tX.prototype.isOpen=function(e){return!!this._current&&(!e||this._current.element===e)};var iX={__depends__:[qY,fG],contextPad:["type",tX]},oX=["marker-start","marker-mid","marker-end"],rX=["circle","ellipse","line","path","polygon","polyline","rect"];function sX(e,t,n,i){this._elementRegistry=e,this._canvas=n,this._styles=i,this._clonedMarkers={};var o=this;t.on("drag.cleanup",(function(){Object(Zj["forEach"])(o._clonedMarkers,(function(e){mQ(e)})),o._clonedMarkers={}}))}function aX(e,t,n){var i=lX(cQ(e,t));return Object(eQ["query"])("marker#"+i,n||document)}function lX(e){return e.match(/url\(['"]?#([^'"]*)['"]?\)/)[1]}function cX(e){return"url(#"+e+")"}function hX(e){return-1!==rX.indexOf(e.nodeName)}sX.$inject=["elementRegistry","eventBus","canvas","styles"],sX.prototype.getGfx=function(e){return this._elementRegistry.getGraphics(e)},sX.prototype.addDragger=function(e,t,n){n=n||this.getGfx(e);var i=vQ(n),o=n.getBoundingClientRect();return this._cloneMarkers(yV(i)),cQ(i,this._styles.cls("djs-dragger",[],{x:o.top,y:o.left})),iQ(t,i),i},sX.prototype.addFrame=function(e,t){var n=CQ("rect",{class:"djs-resize-overlay",width:e.width,height:e.height,x:e.x,y:e.y});return iQ(t,n),n},sX.prototype._cloneMarkers=function(e){var t=this;if(e.childNodes)for(var n=0;n<e.childNodes.length;n++)t._cloneMarkers(e.childNodes[n]);hX(e)&&oX.forEach((function(n){if(cQ(e,n)){var i=aX(e,n,t._canvas.getContainer());t._cloneMarker(e,i,n)}}))},sX.prototype._cloneMarker=function(e,t,n){var i=t.id,o=this._clonedMarkers[i];if(!o){o=vQ(t);var r=i+"-clone";o.id=r,fQ(o).add("djs-dragger").add("djs-dragger-marker"),this._clonedMarkers[i]=o;var s=Object(eQ["query"])("defs",this._canvas._svg);s||(s=CQ("defs"),iQ(this._canvas._svg,s)),iQ(s,o)}var a=cX(this._clonedMarkers[i].id);cQ(e,n,a)};var uX={__init__:["previewSupport"],previewSupport:["type",sX]},dX="drop-ok",pX="drop-not-ok",fX="attach-ok",gX="new-parent",mX="create",bX=2e3;function vX(e,t,n,i,o){function r(e,t,n,i,r){if(!t)return!1;e=Object(Zj["filter"])(e,(function(t){var n=t.labelTarget;return!t.parent&&!(AX(t)&&-1!==e.indexOf(n))}));var s=Object(Zj["find"])(e,(function(e){return!wX(e)})),a=!1,l=!1,c=!1;_X(e)&&(a=o.allowed("shape.attach",{position:n,shape:s,target:t})),a||(c=_X(e)?o.allowed("shape.create",{position:n,shape:s,source:i,target:t}):o.allowed("elements.create",{elements:e,position:n,target:t}));var h=r.connectionTarget;return c||a?(s&&i&&(l=o.allowed("connection.create",{source:h===i?s:i,target:h===i?i:s,hints:{targetParent:t,targetAttach:a}})),{attach:a,connect:l}):(null===c||null===a)&&null}function s(t,n){[fX,dX,pX,gX].forEach((function(i){i===n?e.addMarker(t,i):e.removeMarker(t,i)}))}function a(){var e=t.context();e&&e.prefix===mX&&t.cancel()}n.on(["create.move","create.hover"],(function(e){var t=e.context,n=t.elements,i=e.hover,o=t.source,a=t.hints||{};if(!i)return t.canExecute=!1,void(t.target=null);yX(e);var l={x:e.x,y:e.y},c=t.canExecute=i&&r(n,i,l,o,a);i&&null!==c&&(t.target=i,c&&c.attach?s(i,fX):s(i,c?gX:pX))})),n.on(["create.end","create.out","create.cleanup"],(function(e){var t=e.hover;t&&s(t,null)})),n.on("create.end",(function(e){var t=e.context,n=t.source,o=t.shape,r=t.elements,s=t.target,a=t.canExecute,l=a&&a.attach,c=a&&a.connect,h=t.hints||{};if(!1===a||!s)return!1;yX(e);var u={x:e.x,y:e.y};c?o=i.appendShape(n,o,u,s,{attach:l,connection:!0===c?{}:c,connectionTarget:h.connectionTarget}):(r=i.createElements(r,u,s,Object(Zj["assign"])({},h,{attach:l})),o=Object(Zj["find"])(r,(function(e){return!wX(e)}))),Object(Zj["assign"])(t,{elements:r,shape:o}),Object(Zj["assign"])(e,{elements:r,shape:o})})),n.on("create.init",(function(){n.on("elements.changed",a),n.once(["create.cancel","create.end"],bX,(function(){n.off("elements.changed",a)}))})),this.start=function(e,n,i){Object(Zj["isArray"])(n)||(n=[n]);var o=Object(Zj["find"])(n,(function(e){return!wX(e)}));if(o){i=Object(Zj["assign"])({elements:n,hints:{},shape:o},i||{}),Object(Zj["forEach"])(n,(function(e){Object(Zj["isNumber"])(e.x)||(e.x=0),Object(Zj["isNumber"])(e.y)||(e.y=0)}));var r=uz(n);Object(Zj["forEach"])(n,(function(e){wX(e)&&(e.waypoints=Object(Zj["map"])(e.waypoints,(function(e){return{x:e.x-r.x-r.width/2,y:e.y-r.y-r.height/2}}))),Object(Zj["assign"])(e,{x:e.x-r.x-r.width/2,y:e.y-r.y-r.height/2})})),t.init(e,mX,{cursor:"grabbing",autoActivate:!0,data:{shape:o,elements:n,context:i}})}}}function yX(e){var t=e.context,n=t.createConstraints;n&&(n.left&&(e.x=Math.max(e.x,n.left)),n.right&&(e.x=Math.min(e.x,n.right)),n.top&&(e.y=Math.max(e.y,n.top)),n.bottom&&(e.y=Math.min(e.y,n.bottom)))}function wX(e){return!!e.waypoints}function _X(e){return e&&1===e.length&&!wX(e[0])}function AX(e){return!!e.labelTarget}vX.$inject=["canvas","dragging","eventBus","modeling","rules"];var CX=750;function EX(e,t,n,i,o){function r(e){var t=CQ("g");cQ(t,o.cls("djs-drag-group",["no-events"]));var r=CQ("g");return e.forEach((function(e){var o;e.hidden||(e.waypoints?(o=n._createContainer("connection",r),n.drawConnection(yV(o),e)):(o=n._createContainer("shape",r),n.drawShape(yV(o),e),AV(o,e.x,e.y)),i.addDragger(e,t,o))})),t}t.on("create.move",CX,(function(t){var n,i=t.hover,o=t.context,s=o.elements,a=o.dragGroup;a||(a=o.dragGroup=r(s)),i?(a.parentNode||(n=e.getDefaultLayer(),iQ(n,a)),AV(a,t.x,t.y)):mQ(a)})),t.on("create.cleanup",(function(e){var t=e.context,n=t.dragGroup;n&&mQ(n)}))}EX.$inject=["canvas","eventBus","graphicsFactory","previewSupport","styles"];var xX={__depends__:[wq,uX,xq,rG],__init__:["create","createPreview"],create:["type",vX],createPreview:["type",EX]},SX="data-id",DX=["contextPad.close","canvas.viewbox.changing","commandStack.changed"],kX=1e3;function MX(e,t,n){var i=Object(Zj["isDefined"])(e&&e.scale)?e.scale:{min:1,max:1.5};this._config={scale:i},this._eventBus=t,this._canvas=n,this._providers={},this._current={}}function NX(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach((function(n){e.style[n+"transform"]=t}))}MX.$inject=["config.popupMenu","eventBus","canvas"],MX.prototype.registerProvider=function(e,t,n){n||(n=t,t=kX),this._eventBus.on("popupMenu.getProviders."+e,t,(function(e){e.providers.push(n)}))},MX.prototype.isEmpty=function(e,t){if(!e)throw new Error("element parameter is missing");if(!t)throw new Error("providerId parameter is missing");var n=this._getProviders(t);if(!n)return!0;var i=this._getEntries(e,n),o=this._getHeaderEntries(e,n),r=Object(Zj["size"])(i)>0,s=o&&Object(Zj["size"])(o)>0;return!r&&!s},MX.prototype.open=function(e,t,n){var i=this._getProviders(t);if(!e)throw new Error("Element is missing");if(!i||!i.length)throw new Error("No registered providers for: "+t);if(!n)throw new Error("the position argument is missing");this.isOpen()&&this.close(),this._emit("open");var o=this._current={className:t,element:e,position:n},r=this._getEntries(e,i),s=this._getHeaderEntries(e,i);o.entries=Object(Zj["assign"])({},r,s),o.container=this._createContainer(),Object(Zj["size"])(s)&&o.container.appendChild(this._createEntries(s,"djs-popup-header")),Object(Zj["size"])(r)&&o.container.appendChild(this._createEntries(r,"djs-popup-body"));var a=this._canvas,l=a.getContainer();this._attachContainer(o.container,l,n.cursor),this._bindAutoClose()},MX.prototype.close=function(){this.isOpen()&&(this._emit("close"),this._unbindAutoClose(),Object(eQ["remove"])(this._current.container),this._current.container=null)},MX.prototype.isOpen=function(){return!!this._current.container},MX.prototype.trigger=function(e){e.preventDefault();var t=e.delegateTarget||e.target,n=Object(eQ["attr"])(t,SX),i=this._getEntry(n);if(i.action)return i.action.call(null,e,i)},MX.prototype._getProviders=function(e){var t=this._eventBus.createEvent({type:"popupMenu.getProviders."+e,providers:[]});return this._eventBus.fire(t),t.providers},MX.prototype._getEntries=function(e,t){var n={};return Object(Zj["forEach"])(t,(function(t){if(t.getPopupMenuEntries){var i=t.getPopupMenuEntries(e);Object(Zj["isFunction"])(i)?n=i(n):Object(Zj["forEach"])(i,(function(e,t){n[t]=e}))}else Object(Zj["forEach"])(t.getEntries(e),(function(e){var t=e.id;if(!t)throw new Error("every entry must have the id property set");n[t]=Object(Zj["omit"])(e,["id"])}))})),n},MX.prototype._getHeaderEntries=function(e,t){var n={};return Object(Zj["forEach"])(t,(function(t){if(t.getPopupMenuHeaderEntries){var i=t.getPopupMenuHeaderEntries(e);Object(Zj["isFunction"])(i)?n=i(n):Object(Zj["forEach"])(i,(function(e,t){n[t]=e}))}else{if(!t.getHeaderEntries)return;Object(Zj["forEach"])(t.getHeaderEntries(e),(function(e){var t=e.id;if(!t)throw new Error("every entry must have the id property set");n[t]=Object(Zj["omit"])(e,["id"])}))}})),n},MX.prototype._getEntry=function(e){var t=this._current.entries[e];if(!t)throw new Error("entry not found");return t},MX.prototype._emit=function(e){this._eventBus.fire("popupMenu."+e)},MX.prototype._createContainer=function(){var e=Object(eQ["domify"])('<div class="djs-popup">'),t=this._current.position,n=this._current.className;return Object(Zj["assign"])(e.style,{position:"absolute",left:t.x+"px",top:t.y+"px",visibility:"hidden"}),Object(eQ["classes"])(e).add(n),e},MX.prototype._attachContainer=function(e,t,n){var i=this;eQ["delegate"].bind(e,".entry","click",(function(e){i.trigger(e)})),this._updateScale(e),t.appendChild(e),n&&this._assureIsInbounds(e,n)},MX.prototype._updateScale=function(e){var t,n,i=this._canvas.zoom(),o=this._config.scale,r=i;!0!==o&&(!1===o?(t=1,n=1):(t=o.min,n=o.max),Object(Zj["isDefined"])(t)&&i<t&&(r=t),Object(Zj["isDefined"])(n)&&i>n&&(r=n)),NX(e,"scale("+r+")")},MX.prototype._assureIsInbounds=function(e,t){var n,i,o=this._canvas,r=o._container.getBoundingClientRect(),s=e.offsetLeft,a=e.offsetTop,l=e.scrollWidth,c=e.scrollHeight,h={},u={x:t.x-r.left,y:t.y-r.top};s+l>r.width&&(h.x=!0),a+c>r.height&&(h.y=!0),h.x&&h.y?(n=u.x-l+"px",i=u.y-c+"px"):h.x?(n=u.x-l+"px",i=u.y+"px"):h.y&&u.y<c?(n=u.x+"px",i="10px"):h.y&&(n=u.x+"px",i=u.y-c+"px"),Object(Zj["assign"])(e.style,{left:n,top:i},{visibility:"visible","z-index":1e3})},MX.prototype._createEntries=function(e,t){var n=Object(eQ["domify"])("<div>"),i=this;return Object(eQ["classes"])(n).add(t),Object(Zj["forEach"])(e,(function(e,t){var o=i._createEntry(e,t);n.appendChild(o)})),n},MX.prototype._createEntry=function(e,t){var n=Object(eQ["domify"])("<div>"),i=Object(eQ["classes"])(n);if(i.add("entry"),e.className&&e.className.split(" ").forEach((function(e){i.add(e)})),Object(eQ["attr"])(n,SX,t),e.label){var o=Object(eQ["domify"])("<span>");o.textContent=e.label,n.appendChild(o)}return e.imageUrl&&n.appendChild(Object(eQ["domify"])('<img src="'+e.imageUrl+'" />')),!0===e.active&&i.add("active"),!0===e.disabled&&i.add("disabled"),e.title&&(n.title=e.title),n},MX.prototype._bindAutoClose=function(){this._eventBus.once(DX,this.close,this)},MX.prototype._unbindAutoClose=function(){this._eventBus.off(DX,this.close,this)};var LX={__init__:["popupMenu"],popupMenu:["type",MX]};function BX(){}BX.prototype.get=function(){return this._data},BX.prototype.set=function(e){this._data=e},BX.prototype.clear=function(){var e=this._data;return delete this._data,e},BX.prototype.isEmpty=function(){return!this._data};var IX={clipboard:["type",BX]};function TX(e){var t=this;function n(e){t._lastMoveEvent=e}this._lastMoveEvent=null,e.on("canvas.init",(function(e){var i=t._svg=e.svg;i.addEventListener("mousemove",n)})),e.on("canvas.destroy",(function(){t._lastMouseEvent=null,t._svg.removeEventListener("mousemove",n)}))}function OX(e,t){var n=document.createEvent("MouseEvent"),i=e,o=t,r=e,s=t;return n.initMouseEvent&&n.initMouseEvent("mousemove",!0,!0,window,0,i,o,r,s,!1,!1,!1,!1,0,null),n}TX.$inject=["eventBus"],TX.prototype.getLastMoveEvent=function(){return this._lastMoveEvent||OX(0,0)};var RX={__init__:["mouse"],mouse:["type",TX]};function PX(e,t,n,i,o,r,s,a){this._canvas=e,this._create=t,this._clipboard=n,this._elementFactory=i,this._eventBus=o,this._modeling=r,this._mouse=s,this._rules=a,o.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element,i=e.elements;t.priority=1,t.id=n.id;var o=Object(Zj["find"])(i,(function(e){return e===n.parent}));o&&(t.parent=n.parent.id),FX(n)&&(t.priority=2,t.host=n.host.id),jX(n)&&(t.priority=3,t.source=n.source.id,t.target=n.target.id,t.waypoints=zX(n)),QX(n)&&(t.priority=4,t.labelTarget=n.labelTarget.id),Object(Zj["forEach"])(["x","y","width","height"],(function(e){Object(Zj["isNumber"])(n[e])&&(t[e]=n[e])})),t.hidden=n.hidden,t.collapsed=n.collapsed})),o.on("copyPaste.pasteElements",(function(e){var t=e.hints;Object(Zj["assign"])(t,{createElementsBehavior:!1})}))}function FX(e){return!!e.host}function jX(e){return!!e.waypoints}function QX(e){return!!e.labelTarget}function zX(e){return Object(Zj["map"])(e.waypoints,(function(e){return e=VX(e),e.original&&(e.original=VX(e.original)),e}))}function VX(e){return Object(Zj["assign"])({},e)}function WX(e,t){var n=t.indexOf(e);return-1===n?t:t.splice(n,1)}PX.$inject=["canvas","create","clipboard","elementFactory","eventBus","modeling","mouse","rules"],PX.prototype.copy=function(e){var t,n;return Object(Zj["isArray"])(e)||(e=e?[e]:[]),t=this._eventBus.fire("copyPaste.canCopyElements",{elements:e}),n=!1===t?{}:this.createTree(Object(Zj["isArray"])(t)?t:e),this._clipboard.set(n),this._eventBus.fire("copyPaste.elementsCopied",{elements:e,tree:n}),n},PX.prototype.paste=function(e){var t=this._clipboard.get();if(!this._clipboard.isEmpty()){var n=e&&e.hints||{};this._eventBus.fire("copyPaste.pasteElements",{hints:n});var i=this._createElements(t);if(e&&e.element&&e.point)return this._paste(i,e.element,e.point,n);this._create.start(this._mouse.getLastMoveEvent(),i,{hints:n||{}})}},PX.prototype._paste=function(e,t,n,i){Object(Zj["forEach"])(e,(function(e){Object(Zj["isNumber"])(e.x)||(e.x=0),Object(Zj["isNumber"])(e.y)||(e.y=0)}));var o=uz(e);return Object(Zj["forEach"])(e,(function(e){jX(e)&&(e.waypoints=Object(Zj["map"])(e.waypoints,(function(e){return{x:e.x-o.x-o.width/2,y:e.y-o.y-o.height/2}}))),Object(Zj["assign"])(e,{x:e.x-o.x-o.width/2,y:e.y-o.y-o.height/2})})),this._modeling.createElements(e,n,t,Object(Zj["assign"])({},i))},PX.prototype._createElements=function(e){var t=this,n=this._eventBus,i={},o=[];return Object(Zj["forEach"])(e,(function(e,r){r=parseInt(r,10),e=Object(Zj["sortBy"])(e,"priority"),Object(Zj["forEach"])(e,(function(e){var r,s=Object(Zj["assign"])({},Object(Zj["omit"])(e,["priority"]));return i[e.parent]?s.parent=i[e.parent]:delete s.parent,n.fire("copyPaste.pasteElement",{cache:i,descriptor:s}),jX(s)?(s.source=i[e.source],s.target=i[e.target],r=i[e.id]=t.createConnection(s),void o.push(r)):QX(s)?(s.labelTarget=i[s.labelTarget],r=i[e.id]=t.createLabel(s),void o.push(r)):(s.host&&(s.host=i[s.host]),r=i[e.id]=t.createShape(s),void o.push(r))}))})),o},PX.prototype.createConnection=function(e){var t=this._elementFactory.createConnection(Object(Zj["omit"])(e,["id"]));return t},PX.prototype.createLabel=function(e){var t=this._elementFactory.createLabel(Object(Zj["omit"])(e,["id"]));return t},PX.prototype.createShape=function(e){var t=this._elementFactory.createShape(Object(Zj["omit"])(e,["id"]));return t},PX.prototype.hasRelations=function(e,t){var n,i,o;return!(jX(e)&&(i=Object(Zj["find"])(t,Object(Zj["matchPattern"])({id:e.source.id})),o=Object(Zj["find"])(t,Object(Zj["matchPattern"])({id:e.target.id})),!i||!o))&&!(QX(e)&&(n=Object(Zj["find"])(t,Object(Zj["matchPattern"])({id:e.labelTarget.id})),!n))},PX.prototype.createTree=function(e){var t=this._rules,n=this,i={},o=[],r=oz(e);function s(e,n){return t.allowed("element.copy",{element:e,elements:n})}function a(e,t){var n=Object(Zj["find"])(o,(function(t){return e===t.element}));n?n.depth<t&&(o=l(n,o),o.push({element:n.element,depth:t})):o.push({element:e,depth:t})}function l(e,t){var n=t.indexOf(e);return-1!==n&&t.splice(n,1),t}return az(r,(function(e,t,n){if(!QX(e))return Object(Zj["forEach"])(e.labels,(function(e){a(e,n)})),Object(Zj["forEach"])([e.attachers,e.incoming,e.outgoing],i),a(e,n),e.children;function i(e){e&&e.length&&Object(Zj["forEach"])(e,(function(e){Object(Zj["forEach"])(e.labels,(function(e){a(e,n)})),a(e,n)}))}})),e=Object(Zj["map"])(o,(function(e){return e.element})),o=Object(Zj["map"])(o,(function(t){return t.descriptor={},n._eventBus.fire("copyPaste.copyElement",{descriptor:t.descriptor,element:t.element,elements:e}),t})),o=Object(Zj["sortBy"])(o,(function(e){return e.descriptor.priority})),e=Object(Zj["map"])(o,(function(e){return e.element})),Object(Zj["forEach"])(o,(function(t){var o=t.depth;n.hasRelations(t.element,e)&&s(t.element,e)?(i[o]||(i[o]=[]),i[o].push(t.descriptor)):WX(t.element,e)})),i};var HX={__depends__:[IX,xX,RX,xq],__init__:["copyPaste"],copyPaste:["type",PX]};function UX(e,t,n){Object(Zj["isArray"])(n)||(n=[n]),Object(Zj["forEach"])(n,(function(n){Object(Zj["isUndefined"])(e[n])||(t[n]=e[n])}))}function YX(e,t){Object(Zj["isArray"])(t)||(t=[t]),Object(Zj["forEach"])(t,(function(t){e[t]&&delete e[t]}))}var GX=750;function KX(e,t,n){var i;function o(e,t){var n=Object(bU["getBusinessObject"])(e);e.default&&(i[e.default]={element:n,property:"default"}),e.host&&(Object(bU["getBusinessObject"])(e).attachedToRef=Object(bU["getBusinessObject"])(t[e.host])),i=Object(Zj["omit"])(i,Object(Zj["reduce"])(i,(function(t,i,o){var r=i.element,s=i.property;return o===e.id&&(r[s]=n,t.push(e.id)),t}),[]))}t.on("copyPaste.copyElement",GX,(function(e){var t=e.descriptor,n=e.element,i=t.oldBusinessObject=Object(bU["getBusinessObject"])(n);if(t.type=n.type,UX(i,t,"name"),t.di={},UX(i.di,t.di,["fill","stroke"]),UX(i.di,t,"isExpanded"),qX(t))return t;i.default&&(t.default=i.default.id)})),t.on("moddleCopy.canCopyProperty",(function(t){var i,o=t.parent,r=t.property,s=t.propertyName;if("processRef"===s&&Object(bU["is"])(o,"bpmn:Participant")&&Object(bU["is"])(r,"bpmn:Process"))return i=e.create("bpmn:Process"),n.copyElement(r,i)})),t.on("copyPaste.pasteElements",(function(){i={}})),t.on("copyPaste.pasteElement",(function(t){var i,r=t.cache,s=t.descriptor,a=s.oldBusinessObject;qX(s)?s.businessObject=Object(bU["getBusinessObject"])(r[s.labelTarget]):(i=e.create(a.$type),s.businessObject=n.copyElement(a,i),o(s,r),UX(s,i,["isExpanded","name"]),YX(s,"oldBusinessObject"))}))}function qX(e){return!!e.labelTarget}KX.$inject=["bpmnFactory","eventBus","moddleCopy"];var JX=["artifacts","dataInputAssociations","dataOutputAssociations","default","flowElements","lanes","incoming","outgoing"];function XX(e,t,n){this._bpmnFactory=t,this._eventBus=e,this._moddle=n,e.on("moddleCopy.canCopyProperties",(function(e){var t=e.propertyNames;if(t&&t.length)return Object(Zj["sortBy"])(t,(function(e){return"extensionElements"===e}))})),e.on("moddleCopy.canCopyProperty",(function(e){var t=e.parent,n=Object(Zj["isObject"])(t)&&t.$descriptor,i=e.propertyName;return(!i||-1===JX.indexOf(i))&&(!(i&&n&&!Object(Zj["find"])(n.properties,Object(Zj["matchPattern"])({name:i})))&&void 0)})),e.on("moddleCopy.canSetCopiedProperty",(function(e){var t=e.property;if(ZX(t,"bpmn:ExtensionElements")&&(!t.values||!t.values.length))return!1}))}function $X(e,t){return Object(Zj["reduce"])(e.properties,(function(e,n){return t&&n.default?e:e.concat(n.name)}),[])}function ZX(e,t){return e&&"function"===typeof e.$instanceOf&&e.$instanceOf(t)}XX.$inject=["eventBus","bpmnFactory","moddle"],XX.prototype.copyElement=function(e,t,n){var i=this;n&&!Object(Zj["isArray"])(n)&&(n=[n]),n=n||$X(e.$descriptor);var o=this._eventBus.fire("moddleCopy.canCopyProperties",{propertyNames:n,sourceElement:e,targetElement:t});return!1===o||(Object(Zj["isArray"])(o)&&(n=o),Object(Zj["forEach"])(n,(function(n){var o;Object(Zj["has"])(e,n)&&(o=e.get(n));var r=i.copyProperty(o,t,n),s=i._eventBus.fire("moddleCopy.canSetCopiedProperty",{parent:t,property:r,propertyName:n});!1!==s&&Object(Zj["isDefined"])(r)&&t.set(n,r)}))),t},XX.prototype.copyProperty=function(e,t,n){var i=this,o=this._eventBus.fire("moddleCopy.canCopyProperty",{parent:t,property:e,propertyName:n});if(!1!==o){if(o)return Object(Zj["isObject"])(o)&&o.$type&&!o.$parent&&(o.$parent=t),o;var r=this._moddle.getPropertyDescriptor(t,n);if(!r.isId&&!r.isReference){if(Object(Zj["isArray"])(e))return Object(Zj["reduce"])(e,(function(e,r){return o=i.copyProperty(r,t,n),o?(o.$parent=t,e.concat(o)):e}),[]);if(Object(Zj["isObject"])(e)&&e.$type){if(this._moddle.getElementDescriptor(e).isGeneric)return;return o=i._bpmnFactory.create(e.$type),o.$parent=t,o=i.copyElement(e,o),o}return e}}};var e$={__depends__:[HX],__init__:["bpmnCopyPaste","moddleCopy"],bpmnCopyPaste:["type",KX],moddleCopy:["type",XX]},t$=Math.round;function n$(e){this._modeling=e}n$.$inject=["modeling"],n$.prototype.replaceElement=function(e,t,n){if(e.waypoints)return null;var i=this._modeling,o=t.width||e.width,r=t.height||e.height,s=t.x||e.x,a=t.y||e.y,l=t$(s+o/2),c=t$(a+r/2);return i.replaceShape(e,Object(Zj["assign"])({},t,{x:l,y:c,width:o,height:r}),n)};var i$={__init__:["replace"],replace:["type",n$]};function o$(e,t,n){Object(Zj["isArray"])(n)||(n=[n]),Object(Zj["forEach"])(n,(function(n){Object(Zj["isUndefined"])(e[n])||(t[n]=e[n])}))}var r$=["cancelActivity","instantiate","eventGatewayType","triggeredByEvent","isInterrupting"];function s$(e,t){var n,i=e&&Object(Zj["has"])(e,"collapsed")?e.collapsed:!vU(e);return n=t&&(Object(Zj["has"])(t,"collapsed")||Object(Zj["has"])(t,"isExpanded"))?Object(Zj["has"])(t,"collapsed")?t.collapsed:!t.isExpanded:i,i!==n&&(e.collapsed=i,!0)}function a$(e,t,n,i,o,r,s){function a(a,l,c){c=c||{};var h=l.type,u=a.businessObject;if(l$(u)&&"bpmn:SubProcess"===h&&s$(a,l))return i.toggleCollapse(a),a;var d=e.create(h),p={type:h,businessObject:d},f=$X(u.$descriptor),g=$X(d.$descriptor,!0),m=h$(f,g);Object(Zj["assign"])(d,Object(Zj["pick"])(l,r$));var b=Object(Zj["filter"])(m,(function(e){return"eventDefinitions"===e?c$(a,l.eventDefinitionType):"loopCharacteristics"===e?!wU(d):!Object(Zj["has"])(d,e)&&(("processRef"!==e||!1!==l.isExpanded)&&"triggeredByEvent"!==e)}));return d=n.copyElement(u,d,b),l.eventDefinitionType&&(c$(d,l.eventDefinitionType)||(p.eventDefinitionType=l.eventDefinitionType,p.eventDefinitionAttrs=l.eventDefinitionAttrs)),Object(bU["is"])(u,"bpmn:Activity")&&(l$(u)?p.isExpanded=vU(u):l&&Object(Zj["has"])(l,"isExpanded")&&(p.isExpanded=l.isExpanded),vU(u)&&!Object(bU["is"])(u,"bpmn:Task")&&p.isExpanded&&(p.width=a.width,p.height=a.height)),l$(u)&&!l$(d)&&(c.moveChildren=!1),Object(bU["is"])(u,"bpmn:Participant")&&(!0===l.isExpanded?d.processRef=e.create("bpmn:Process"):c.moveChildren=!1,p.width=a.width,p.height=t._getDefaultSize(d).height),r.allowed("shape.resize",{shape:d})||(p.height=t._getDefaultSize(d).height,p.width=t._getDefaultSize(d).width),d.name=u.name,WK(u,["bpmn:ExclusiveGateway","bpmn:InclusiveGateway","bpmn:Activity"])&&WK(d,["bpmn:ExclusiveGateway","bpmn:InclusiveGateway","bpmn:Activity"])&&(d.default=u.default),l.host&&!Object(bU["is"])(u,"bpmn:BoundaryEvent")&&Object(bU["is"])(d,"bpmn:BoundaryEvent")&&(p.host=l.host),"bpmn:DataStoreReference"!==p.type&&"bpmn:DataObjectReference"!==p.type||(p.x=a.x+(a.width-p.width)/2),p.di={},o$(u.di,p.di,["fill","stroke"]),p=o.replaceElement(a,p,c),!1!==c.select&&s.select(p),p}this.replaceElement=a}function l$(e){return Object(bU["is"])(e,"bpmn:SubProcess")}function c$(e,t){var n=Object(bU["getBusinessObject"])(e);return t&&n.get("eventDefinitions").some((function(e){return Object(bU["is"])(e,t)}))}function h$(e,t){return e.filter((function(e){return-1!==t.indexOf(e)}))}a$.$inject=["bpmnFactory","elementFactory","moddleCopy","modeling","replace","rules","selection"];var u$={__depends__:[e$,i$,rG],bpmnReplace:["type",a$]};function d$(e){return function(t){var n=t.target,i=Object(bU["getBusinessObject"])(e),o=i.eventDefinitions&&i.eventDefinitions[0],r=i.$type===n.type,s=(o&&o.$type)===n.eventDefinitionType,a=i.triggeredByEvent===n.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===vU(i);return!r||!s||!a||!l}}var p$=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],f$=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],g$=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Intermediate Catch Event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],m$=[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message End Event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],b$=[{label:"Exclusive Gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex Gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event based Gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],v$=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],y$=[{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],w$=[{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}}],_$=[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"Send Task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive Task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"User Task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Manual Task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business Rule Task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Service Task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Script Task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],A$=[{label:"Data Store Reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],C$=[{label:"Data Object Reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],E$=[{label:"Message Boundary Event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],x$=[{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Error Start Event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Escalation Start Event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Compensation Start Event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],S$=[{label:"Sequence Flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default Flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional Flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],D$=[{label:"Expanded Pool",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty Pool";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}];function k$(e,t,n,i,o,r,s){this._bpmnFactory=e,this._popupMenu=t,this._modeling=n,this._moddle=i,this._bpmnReplace=o,this._rules=r,this._translate=s,this.register()}k$.$inject=["bpmnFactory","popupMenu","modeling","moddle","bpmnReplace","rules","translate"],k$.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},k$.prototype.getEntries=function(e){var t,n=e.businessObject,i=this._rules;if(!i.allowed("shape.replace",{element:e}))return[];var o=d$(e);return Object(bU["is"])(n,"bpmn:DataObjectReference")?this._createEntries(e,A$):Object(bU["is"])(n,"bpmn:DataStoreReference")?this._createEntries(e,C$):Object(bU["is"])(n,"bpmn:StartEvent")&&!Object(bU["is"])(n.$parent,"bpmn:SubProcess")?(t=Object(Zj["filter"])(p$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:Participant")?(t=Object(Zj["filter"])(D$,(function(e){return vU(n)!==e.target.isExpanded})),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:StartEvent")&&wU(n.$parent)?(t=Object(Zj["filter"])(x$,(function(t){var n=t.target,i=!1!==n.isInterrupting,r=Object(bU["getBusinessObject"])(e).isInterrupting===i;return o(t)||!o(t)&&!r})),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:StartEvent")&&!wU(n.$parent)&&Object(bU["is"])(n.$parent,"bpmn:SubProcess")?(t=Object(Zj["filter"])(f$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:EndEvent")?(t=Object(Zj["filter"])(m$,(function(e){var t=e.target;return!("bpmn:CancelEventDefinition"==t.eventDefinitionType&&!Object(bU["is"])(n.$parent,"bpmn:Transaction"))&&o(e)})),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:BoundaryEvent")?(t=Object(Zj["filter"])(E$,(function(e){var t=e.target;if("bpmn:CancelEventDefinition"==t.eventDefinitionType&&!Object(bU["is"])(n.attachedToRef,"bpmn:Transaction"))return!1;var i=!1!==t.cancelActivity,r=n.cancelActivity==i;return o(e)||!o(e)&&!r})),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:IntermediateCatchEvent")||Object(bU["is"])(n,"bpmn:IntermediateThrowEvent")?(t=Object(Zj["filter"])(g$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:Gateway")?(t=Object(Zj["filter"])(b$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:Transaction")?(t=Object(Zj["filter"])(y$,o),this._createEntries(e,t)):wU(n)&&vU(n)?(t=Object(Zj["filter"])(w$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:SubProcess")&&vU(n)?(t=Object(Zj["filter"])(v$,o),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:AdHocSubProcess")&&!vU(n)?(t=Object(Zj["filter"])(_$,(function(t){var n=t.target,i="bpmn:SubProcess"===n.type,o=!0===n.isExpanded;return d$(e,n)&&(!i||o)})),this._createEntries(e,t)):Object(bU["is"])(n,"bpmn:SequenceFlow")?this._createSequenceFlowEntries(e,S$):Object(bU["is"])(n,"bpmn:FlowNode")?(t=Object(Zj["filter"])(_$,o),Object(bU["is"])(n,"bpmn:SubProcess")&&!vU(n)&&(t=Object(Zj["filter"])(t,(function(e){return"Sub Process (collapsed)"!==e.label}))),this._createEntries(e,t)):[]},k$.prototype.getHeaderEntries=function(e){var t=[];return Object(bU["is"])(e,"bpmn:Activity")&&!wU(e)&&(t=t.concat(this._getLoopEntries(e))),Object(bU["is"])(e,"bpmn:DataObjectReference")&&(t=t.concat(this._getDataObjectIsCollection(e))),Object(bU["is"])(e,"bpmn:Participant")&&(t=t.concat(this._getParticipantMultiplicity(e))),!Object(bU["is"])(e,"bpmn:SubProcess")||Object(bU["is"])(e,"bpmn:Transaction")||wU(e)||t.push(this._getAdHocEntry(e)),t},k$.prototype._createEntries=function(e,t){var n=[],i=this;return Object(Zj["forEach"])(t,(function(t){var o=i._createMenuEntry(t,e);n.push(o)})),n},k$.prototype._createSequenceFlowEntries=function(e,t){var n=Object(bU["getBusinessObject"])(e),i=[],o=this._modeling,r=this._moddle,s=this;return Object(Zj["forEach"])(t,(function(t){switch(t.actionName){case"replace-with-default-flow":n.sourceRef.default!==n&&(Object(bU["is"])(n.sourceRef,"bpmn:ExclusiveGateway")||Object(bU["is"])(n.sourceRef,"bpmn:InclusiveGateway")||Object(bU["is"])(n.sourceRef,"bpmn:ComplexGateway")||Object(bU["is"])(n.sourceRef,"bpmn:Activity"))&&i.push(s._createMenuEntry(t,e,(function(){o.updateProperties(e.source,{default:n})})));break;case"replace-with-conditional-flow":!n.conditionExpression&&Object(bU["is"])(n.sourceRef,"bpmn:Activity")&&i.push(s._createMenuEntry(t,e,(function(){var t=r.create("bpmn:FormalExpression",{body:""});o.updateProperties(e,{conditionExpression:t})})));break;default:if(Object(bU["is"])(n.sourceRef,"bpmn:Activity")&&n.conditionExpression)return i.push(s._createMenuEntry(t,e,(function(){o.updateProperties(e,{conditionExpression:void 0})})));if((Object(bU["is"])(n.sourceRef,"bpmn:ExclusiveGateway")||Object(bU["is"])(n.sourceRef,"bpmn:InclusiveGateway")||Object(bU["is"])(n.sourceRef,"bpmn:ComplexGateway")||Object(bU["is"])(n.sourceRef,"bpmn:Activity"))&&n.sourceRef.default===n)return i.push(s._createMenuEntry(t,e,(function(){o.updateProperties(e.source,{default:void 0})})))}})),i},k$.prototype._createMenuEntry=function(e,t,n){var i=this._translate,o=this._bpmnReplace.replaceElement,r=function(){return o(t,e.target)},s=e.label;s&&"function"===typeof s&&(s=s(t)),n=n||r;var a={label:i(s),className:e.className,id:e.actionName,action:n};return a},k$.prototype._getLoopEntries=function(e){var t=this,n=this._translate;function i(n,i){var o;i.active?o=void 0:(o=t._moddle.create(i.options.loopCharacteristics),i.options.isSequential&&(o.isSequential=i.options.isSequential)),t._modeling.updateProperties(e,{loopCharacteristics:o})}var o,r,s,a=Object(bU["getBusinessObject"])(e),l=a.loopCharacteristics;l&&(o=l.isSequential,r=void 0===l.isSequential,s=void 0!==l.isSequential&&!l.isSequential);var c=[{id:"toggle-parallel-mi",className:"bpmn-icon-parallel-mi-marker",title:n("Parallel Multi Instance"),active:s,action:i,options:{loopCharacteristics:"bpmn:MultiInstanceLoopCharacteristics",isSequential:!1}},{id:"toggle-sequential-mi",className:"bpmn-icon-sequential-mi-marker",title:n("Sequential Multi Instance"),active:o,action:i,options:{loopCharacteristics:"bpmn:MultiInstanceLoopCharacteristics",isSequential:!0}},{id:"toggle-loop",className:"bpmn-icon-loop-marker",title:n("Loop"),active:r,action:i,options:{loopCharacteristics:"bpmn:StandardLoopCharacteristics"}}];return c},k$.prototype._getDataObjectIsCollection=function(e){var t=this,n=this._translate;function i(n,i){t._modeling.updateModdleProperties(e,o,{isCollection:!i.active})}var o=e.businessObject.dataObjectRef,r=o.isCollection,s=[{id:"toggle-is-collection",className:"bpmn-icon-parallel-mi-marker",title:n("Collection"),active:r,action:i}];return s},k$.prototype._getParticipantMultiplicity=function(e){var t=this,n=this._bpmnFactory,i=this._translate;function o(i,o){var r,s=o.active;s||(r=n.create("bpmn:ParticipantMultiplicity")),t._modeling.updateProperties(e,{participantMultiplicity:r})}var r=e.businessObject.participantMultiplicity,s=[{id:"toggle-participant-multiplicity",className:"bpmn-icon-parallel-mi-marker",title:i("Participant Multiplicity"),active:!!r,action:o}];return s},k$.prototype._getAdHocEntry=function(e){var t=this._translate,n=Object(bU["getBusinessObject"])(e),i=Object(bU["is"])(n,"bpmn:AdHocSubProcess"),o=this._bpmnReplace.replaceElement,r={id:"toggle-adhoc",className:"bpmn-icon-ad-hoc-marker",title:t("Ad-hoc"),active:i,action:function(t,n){return o(e,i?{type:"bpmn:SubProcess"}:{type:"bpmn:AdHocSubProcess"},{autoResize:!1,layoutConnection:!1})}};return r};var M$={__depends__:[LX,u$],__init__:["replaceMenuProvider"],replaceMenuProvider:["type",k$]},N$=Math.max,L$=Math.min,B$=20;function I$(e,t){return{top:e.top-t.top,right:e.right-t.right,bottom:e.bottom-t.bottom,left:e.left-t.left}}function T$(e,t,n){var i=n.x,o=n.y,r={x:e.x,y:e.y,width:e.width,height:e.height};return-1!==t.indexOf("n")?(r.y=e.y+o,r.height=e.height-o):-1!==t.indexOf("s")&&(r.height=e.height+o),-1!==t.indexOf("e")?r.width=e.width+i:-1!==t.indexOf("w")&&(r.x=e.x+i,r.width=e.width-i),r}function O$(e,t){return{x:e.x+(t.left||0),y:e.y+(t.top||0),width:e.width-(t.left||0)+(t.right||0),height:e.height-(t.top||0)+(t.bottom||0)}}function R$(e,t,n){var i=t[e],o=n.min&&n.min[e],r=n.max&&n.max[e];return Object(Zj["isNumber"])(o)&&(i=(/top|left/.test(e)?L$:N$)(i,o)),Object(Zj["isNumber"])(r)&&(i=(/top|left/.test(e)?N$:L$)(i,r)),i}function P$(e,t){if(!t)return e;var n=Oz(e);return Rz({top:R$("top",n,t),right:R$("right",n,t),bottom:R$("bottom",n,t),left:R$("left",n,t)})}function F$(e,t,n,i){var o=Oz(t),r={top:/n/.test(e)?o.bottom-n.height:o.top,left:/w/.test(e)?o.right-n.width:o.left,bottom:/s/.test(e)?o.top+n.height:o.bottom,right:/e/.test(e)?o.left+n.width:o.right},s=i?Oz(i):r,a={top:L$(r.top,s.top),left:L$(r.left,s.left),bottom:N$(r.bottom,s.bottom),right:N$(r.right,s.right)};return Rz(a)}function j$(e,t){return"undefined"!==typeof e?e:B$}function Q$(e,t){var n,i,o,r;return"object"===typeof t?(n=j$(t.left),i=j$(t.right),o=j$(t.top),r=j$(t.bottom)):n=i=o=r=j$(t),{x:e.x-n,y:e.y-o,width:e.width+n+i,height:e.height+o+r}}function z$(e){return!e.waypoints&&"label"!==e.type}function V$(e,t){var n;if(n=void 0===e.length?Object(Zj["filter"])(e.children,z$):e,n.length)return Q$(uz(n),t)}var W$=Math.abs;function H$(e,t){return I$(Oz(t),Oz(e))}var U$=["bpmn:Participant","bpmn:Process","bpmn:SubProcess"],Y$=30;function G$(e,t){return t=t||[],e.children.filter((function(e){Object(bU["is"])(e,"bpmn:Lane")&&(G$(e,t),t.push(e))})),t}function K$(e){return e.children.filter((function(e){return Object(bU["is"])(e,"bpmn:Lane")}))}function q$(e){return HK(e,U$)||e}function J$(e,t){var n=q$(e),i=Object(bU["is"])(n,"bpmn:Process")?[]:[n],o=G$(n,i),r=Oz(e),s=Oz(t),a=H$(e,t),l=[];return o.forEach((function(t){if(t!==e){var n=0,i=a.right,o=0,c=a.left,h=Oz(t);a.top&&(W$(h.bottom-r.top)<10&&(o=s.top-h.bottom),W$(h.top-r.top)<5&&(n=s.top-h.top)),a.bottom&&(W$(h.top-r.bottom)<10&&(n=s.bottom-h.top),W$(h.bottom-r.bottom)<5&&(o=s.bottom-h.bottom)),(n||i||o||c)&&l.push({shape:t,newBounds:O$(t,{top:n,right:i,bottom:o,left:c})})}})),l}function X$(e,t,n,i,o,r,s,a,l,c,h,u){e=e||{},i.registerProvider(this),this._contextPad=i,this._modeling=o,this._elementFactory=r,this._connect=s,this._create=a,this._popupMenu=l,this._canvas=c,this._rules=h,this._translate=u,!1!==e.autoPlace&&(this._autoPlace=t.get("autoPlace",!1)),n.on("create.end",250,(function(e){var t=e.context,n=t.shape;if(WY(e)&&i.isOpen(n)){var o=i.getEntries(n);o.replace&&o.replace.action.click(e,n)}}))}function $$(e,t,n){var i=e.$instanceOf(t),o=!1,r=e.eventDefinitions||[];return Object(Zj["forEach"])(r,(function(e){e.$type===n&&(o=!0)})),i&&o}X$.$inject=["config.contextPad","injector","eventBus","contextPad","modeling","elementFactory","connect","create","popupMenu","canvas","rules","translate"],X$.prototype.getContextPadEntries=function(e){var t=this._contextPad,n=this._modeling,i=this._elementFactory,o=this._connect,r=this._create,s=this._popupMenu,a=this._canvas,l=this._rules,c=this._autoPlace,h=this._translate,u={};if("label"===e.type)return u;var d=e.businessObject;function p(e,t){o.start(e,t)}function f(t){n.removeElements([e])}function g(e){var n=5,i=a.getContainer(),o=t.getPad(e).html,r=i.getBoundingClientRect(),s=o.getBoundingClientRect(),l=s.top-r.top,c=s.left-r.left,h={x:c,y:l+s.height+n};return h}function m(e,t,n,o){function s(t,n){var s=i.createShape(Object(Zj["assign"])({type:e},o));r.start(t,s,{source:n})}"string"!==typeof n&&(o=n,n=h("Append {type}",{type:e.replace(/^bpmn:/,"")}));var a=c?function(t,n){var r=i.createShape(Object(Zj["assign"])({type:e},o));c.append(n,r)}:s;return{group:"model",className:t,title:n,action:{dragstart:s,click:a}}}function b(e){return function(i,o){n.splitLane(o,e),t.open(o,!0)}}if(WK(d,["bpmn:Lane","bpmn:Participant"])&&vU(d)){var v=K$(e);Object(Zj["assign"])(u,{"lane-insert-above":{group:"lane-insert-above",className:"bpmn-icon-lane-insert-above",title:h("Add Lane above"),action:{click:function(e,t){n.addLane(t,"top")}}}}),v.length<2&&(e.height>=120&&Object(Zj["assign"])(u,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:h("Divide into two Lanes"),action:{click:b(2)}}}),e.height>=180&&Object(Zj["assign"])(u,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:h("Divide into three Lanes"),action:{click:b(3)}}})),Object(Zj["assign"])(u,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:h("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}Object(bU["is"])(d,"bpmn:FlowNode")&&(Object(bU["is"])(d,"bpmn:EventBasedGateway")?Object(Zj["assign"])(u,{"append.receive-task":m("bpmn:ReceiveTask","bpmn-icon-receive-task",h("Append ReceiveTask")),"append.message-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",h("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",h("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",h("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}):$$(d,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?Object(Zj["assign"])(u,{"append.compensation-activity":m("bpmn:Task","bpmn-icon-task",h("Append compensation activity"),{isForCompensation:!0})}):Object(bU["is"])(d,"bpmn:EndEvent")||d.isForCompensation||$$(d,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||wU(d)||Object(Zj["assign"])(u,{"append.end-event":m("bpmn:EndEvent","bpmn-icon-end-event-none",h("Append EndEvent")),"append.gateway":m("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",h("Append Gateway")),"append.append-task":m("bpmn:Task","bpmn-icon-task",h("Append Task")),"append.intermediate-event":m("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",h("Append Intermediate/Boundary Event"))})),s.isEmpty(e,"bpmn-replace")||Object(Zj["assign"])(u,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:h("Change type"),action:{click:function(e,t){var n=Object(Zj["assign"])(g(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n)}}}}),WK(d,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&Object(Zj["assign"])(u,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using "+(d.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:p,dragstart:p}}}),Object(bU["is"])(d,"bpmn:TextAnnotation")&&Object(Zj["assign"])(u,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using Association"),action:{click:p,dragstart:p}}}),WK(d,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&Object(Zj["assign"])(u,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using DataInputAssociation"),action:{click:p,dragstart:p}}}),Object(bU["is"])(d,"bpmn:Group")&&Object(Zj["assign"])(u,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation")});var y=l.allowed("elements.delete",{elements:[e]});return Object(Zj["isArray"])(y)&&(y=y[0]===e),y&&Object(Zj["assign"])(u,{delete:{group:"edit",className:"bpmn-icon-trash",title:h("Remove"),action:{click:f}}}),u};var Z$={__depends__:[$J,iX,rG,FJ,xX,M$],__init__:["contextPadProvider"],contextPadProvider:["type",X$]},eZ={horizontal:["x","width"],vertical:["y","height"]},tZ=5;function nZ(e){this._modeling=e,this._filters=[],this.registerFilter((function(e,t,n){var i,o=0,r=0;return Object(Zj["forEach"])(e,(function(e){e.waypoints||e.labelTarget||(o+=e[n],r+=1)})),i=Math.round(o/r),Object(Zj["filter"])(e,(function(e){return e[n]<i+50}))}))}nZ.$inject=["modeling"],nZ.prototype.registerFilter=function(e){if("function"!==typeof e)throw new Error("the filter has to be a function");this._filters.push(e)},nZ.prototype.trigger=function(e,t){var n,i,o=this._modeling;if(!(e.length<3)&&(this._setOrientation(t),i=this._filterElements(e),n=this._createGroups(i),!(n.length<=2)))return o.distributeElements(n,this._axis,this._dimension),n},nZ.prototype._filterElements=function(e){var t=this._filters,n=this._axis,i=this._dimension,o=[].concat(e);return t.length?(Object(Zj["forEach"])(t,(function(e){o=e(o,n,i)})),o):e},nZ.prototype._createGroups=function(e){var t=[],n=this,i=this._axis,o=this._dimension;if(!i)throw new Error('must have a defined "axis" and "dimension"');var r=Object(Zj["sortBy"])(e,i);return Object(Zj["forEach"])(r,(function(e,r){var s,a=n._findRange(e,i,o),l=t[t.length-1];l&&n._hasIntersection(l.range,a)?t[t.length-1].elements.push(e):(s={range:a,elements:[e]},t.push(s))})),t},nZ.prototype._setOrientation=function(e){var t=eZ[e];this._axis=t[0],this._dimension=t[1]},nZ.prototype._hasIntersection=function(e,t){return Math.max(e.min,e.max)>=Math.min(t.min,t.max)&&Math.min(e.min,e.max)<=Math.max(t.min,t.max)},nZ.prototype._findRange=function(e){var t=e[this._axis],n=e[this._dimension];return{min:t+tZ,max:t+n-tZ}};var iZ={__init__:["distributeElements"],distributeElements:["type",nZ]};function oZ(e){e.registerFilter((function(e){return Object(Zj["filter"])(e,(function(e){var t=WK(e,["bpmn:Association","bpmn:BoundaryEvent","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:Lane","bpmn:MessageFlow","bpmn:Participant","bpmn:SequenceFlow","bpmn:TextAnnotation"]);return!(e.labelTarget||t)}))}))}oZ.$inject=["distributeElements"];var rZ={__depends__:[iZ],__init__:["bpmnDistributeElements"],bpmnDistributeElements:["type",oZ]},sZ="is not a registered action",aZ="is already registered";function lZ(e,t){this._actions={};var n=this;e.on("diagram.init",(function(){n._registerDefaultActions(t),e.fire("editorActions.init",{editorActions:n})}))}function cZ(e,t){return new Error(e+" "+t)}lZ.$inject=["eventBus","injector"],lZ.prototype._registerDefaultActions=function(e){var t=e.get("commandStack",!1),n=e.get("modeling",!1),i=e.get("selection",!1),o=e.get("zoomScroll",!1),r=e.get("copyPaste",!1),s=e.get("canvas",!1),a=e.get("rules",!1),l=e.get("keyboardMove",!1),c=e.get("keyboardMoveSelection",!1);t&&(this.register("undo",(function(){t.undo()})),this.register("redo",(function(){t.redo()}))),r&&i&&this.register("copy",(function(){var e=i.get();r.copy(e)})),r&&this.register("paste",(function(){r.paste()})),o&&this.register("stepZoom",(function(e){o.stepZoom(e.value)})),s&&this.register("zoom",(function(e){s.zoom(e.value)})),n&&i&&a&&this.register("removeSelection",(function(){var e=i.get();if(e.length){var t,o=a.allowed("elements.delete",{elements:e});!1!==o&&(t=Object(Zj["isArray"])(o)?o:e,t.length&&n.removeElements(t.slice()))}})),l&&this.register("moveCanvas",(function(e){l.moveCanvas(e)})),c&&this.register("moveSelection",(function(e){c.moveSelection(e.direction,e.accelerated)}))},lZ.prototype.trigger=function(e,t){if(!this._actions[e])throw cZ(e,sZ);return this._actions[e](t)},lZ.prototype.register=function(e,t){var n=this;if("string"===typeof e)return this._registerAction(e,t);Object(Zj["forEach"])(e,(function(e,t){n._registerAction(t,e)}))},lZ.prototype._registerAction=function(e,t){if(this.isRegistered(e))throw cZ(e,aZ);this._actions[e]=t},lZ.prototype.unregister=function(e){if(!this.isRegistered(e))throw cZ(e,sZ);this._actions[e]=void 0},lZ.prototype.getActions=function(){return Object.keys(this._actions)},lZ.prototype.isRegistered=function(e){return!!this._actions[e]};var hZ={__init__:["editorActions"],editorActions:["type",lZ]};function uZ(e){e.invoke(lZ,this)}Kj()(uZ,lZ),uZ.$inject=["injector"],uZ.prototype._registerDefaultActions=function(e){lZ.prototype._registerDefaultActions.call(this,e);var t=e.get("canvas",!1),n=e.get("elementRegistry",!1),i=e.get("selection",!1),o=e.get("spaceTool",!1),r=e.get("lassoTool",!1),s=e.get("handTool",!1),a=e.get("globalConnect",!1),l=e.get("distributeElements",!1),c=e.get("alignElements",!1),h=e.get("directEditing",!1),u=e.get("searchPad",!1),d=e.get("modeling",!1);t&&n&&i&&this._registerAction("selectElements",(function(){var e=t.getRootElement(),o=n.filter((function(t){return t!==e}));return i.select(o),o})),o&&this._registerAction("spaceTool",(function(){o.toggle()})),r&&this._registerAction("lassoTool",(function(){r.toggle()})),s&&this._registerAction("handTool",(function(){s.toggle()})),a&&this._registerAction("globalConnectTool",(function(){a.toggle()})),i&&l&&this._registerAction("distributeElements",(function(e){var t=i.get(),n=e.type;t.length&&l.trigger(t,n)})),i&&c&&this._registerAction("alignElements",(function(e){var t=i.get(),n=[],o=e.type;t.length&&(n=Object(Zj["filter"])(t,(function(e){return!Object(bU["is"])(e,"bpmn:Lane")})),c.trigger(n,o))})),i&&d&&this._registerAction("setColor",(function(e){var t=i.get();t.length&&d.setColor(t,e)})),i&&h&&this._registerAction("directEditing",(function(){var e=i.get();e.length&&h.activate(e[0])})),u&&this._registerAction("find",(function(){u.toggle()})),t&&d&&this._registerAction("moveToOrigin",(function(){var e,i,o=t.getRootElement();i=Object(bU["is"])(o,"bpmn:Collaboration")?n.filter((function(e){return Object(bU["is"])(e.parent,"bpmn:Collaboration")})):n.filter((function(e){return e!==o&&!Object(bU["is"])(e.parent,"bpmn:SubProcess")})),e=uz(i),d.moveElements(i,{x:-e.x,y:-e.y},o)}))};var dZ={__depends__:[hZ],editorActions:["type",uZ]};function pZ(e){e.on(["create.init","shape.move.init"],(function(e){var t=e.context,n=e.shape;WK(n,["bpmn:Participant","bpmn:SubProcess","bpmn:TextAnnotation"])&&(t.gridSnappingContext||(t.gridSnappingContext={}),t.gridSnappingContext.snapLocation="top-left")}))}pZ.$inject=["eventBus"];var fZ=10;function gZ(e,t,n){return n||(n="round"),Math[n](e/t)*t}var mZ=1200,bZ=800;function vZ(e,t,n){var i=!n||!1!==n.active;this._eventBus=t;var o=this;t.on("diagram.init",bZ,(function(){o.setActive(i)})),t.on(["create.move","create.end","bendpoint.move.move","bendpoint.move.end","connect.move","connect.end","connectionSegment.move.move","connectionSegment.move.end","resize.move","resize.end","shape.move.move","shape.move.end"],mZ,(function(t){var n=t.originalEvent;if(!(!o.active||n&&bG(n))){var i=t.context,r=i.gridSnappingContext;r||(r=i.gridSnappingContext={}),["x","y"].forEach((function(n){var i={},r=wZ(t,n,e);r&&(i.offset=r);var s=yZ(t,n);s&&Object(Zj["assign"])(i,s),CJ(t,n)||o.snapEvent(t,n,i)}))}}))}function yZ(e,t){var n=e.context,i=n.createConstraints,o=n.resizeConstraints||{},r=n.gridSnappingContext,s=r.snapConstraints;if(s&&s[t])return s[t];s||(s=r.snapConstraints={}),s[t]||(s[t]={});var a=n.direction;i&&(_Z(t)?(s.x.min=i.left,s.x.max=i.right):(s.y.min=i.top,s.y.max=i.bottom));var l=o.min,c=o.max;return l&&(_Z(t)?CZ(a)?s.x.max=l.left:s.x.min=l.right:AZ(a)?s.y.max=l.top:s.y.min=l.bottom),c&&(_Z(t)?CZ(a)?s.x.min=c.left:s.x.max=c.right:AZ(a)?s.y.min=c.top:s.y.max=c.bottom),s[t]}function wZ(e,t,n){var i=e.context,o=e.shape,r=i.gridSnappingContext,s=r.snapLocation,a=r.snapOffset;return a&&Object(Zj["isNumber"])(a[t])?a[t]:(a||(a=r.snapOffset={}),Object(Zj["isNumber"])(a[t])||(a[t]=0),o?(n.get(o.id)||(_Z(t)?a[t]+=o[t]+o.width/2:a[t]+=o[t]+o.height/2),s?("x"===t?/left/.test(s)?a[t]-=o.width/2:/right/.test(s)&&(a[t]+=o.width/2):/top/.test(s)?a[t]-=o.height/2:/bottom/.test(s)&&(a[t]+=o.height/2),a[t]):a[t]):a[t])}function _Z(e){return"x"===e}function AZ(e){return-1!==e.indexOf("n")}function CZ(e){return-1!==e.indexOf("w")}function EZ(e,t){ZK.call(this,e),this._gridSnapping=t;var n=this;this.preExecute("shape.resize",(function(e){var t=e.context,i=t.hints||{},o=i.autoResize;if(o){var r=t.shape,s=t.newBounds;Object(Zj["isString"])(o)?t.newBounds=n.snapComplex(s,o):t.newBounds=n.snapSimple(r,s)}}))}vZ.prototype.snapEvent=function(e,t,n){var i=this.snapValue(e[t],n);EJ(e,t,i)},vZ.prototype.getGridSpacing=function(){return fZ},vZ.prototype.snapValue=function(e,t){var n,i,o=0;return t&&t.offset&&(o=t.offset),e+=o,e=gZ(e,fZ),t&&t.min&&(n=t.min,Object(Zj["isNumber"])(n)&&(n=gZ(n+o,fZ,"ceil"),e=Math.max(e,n))),t&&t.max&&(i=t.max,Object(Zj["isNumber"])(i)&&(i=gZ(i+o,fZ,"floor"),e=Math.min(e,i))),e-=o,e},vZ.prototype.isActive=function(){return this.active},vZ.prototype.setActive=function(e){this.active=e,this._eventBus.fire("gridSnapping.toggle",{active:e})},vZ.prototype.toggleActive=function(){this.setActive(!this.active)},vZ.$inject=["elementRegistry","eventBus","config.gridSnapping"],EZ.$inject=["eventBus","gridSnapping","modeling"],Kj()(EZ,ZK),EZ.prototype.snapSimple=function(e,t){var n=this._gridSnapping;return t.width=n.snapValue(t.width,{min:t.width}),t.height=n.snapValue(t.height,{min:t.height}),t.x=e.x+e.width/2-t.width/2,t.y=e.y+e.height/2-t.height/2,t},EZ.prototype.snapComplex=function(e,t){return/w|e/.test(t)&&(e=this.snapHorizontally(e,t)),/n|s/.test(t)&&(e=this.snapVertically(e,t)),e},EZ.prototype.snapHorizontally=function(e,t){var n=this._gridSnapping,i=/w/.test(t),o=/e/.test(t),r={};return r.width=n.snapValue(e.width,{min:e.width}),o&&(i?(r.x=n.snapValue(e.x,{max:e.x}),r.width+=n.snapValue(e.x-r.x,{min:e.x-r.x})):e.x=e.x+e.width-r.width),Object(Zj["assign"])(e,r),e},EZ.prototype.snapVertically=function(e,t){var n=this._gridSnapping,i=/n/.test(t),o=/s/.test(t),r={};return r.height=n.snapValue(e.height,{min:e.height}),i&&(o?(r.y=n.snapValue(e.y,{max:e.y}),r.height+=n.snapValue(e.y-r.y,{min:e.y-r.y})):e.y=e.y+e.height-r.height),Object(Zj["assign"])(e,r),e};var xZ=2e3;function SZ(e,t){e.on(["spaceTool.move","spaceTool.end"],xZ,(function(e){var n=e.context;if(n.initialized){var i,o=n.axis;"x"===o?(i=t.snapValue(e.dx),e.x=e.x+i-e.dx,e.dx=i):(i=t.snapValue(e.dy),e.y=e.y+i-e.dy,e.dy=i)}}))}SZ.$inject=["eventBus","gridSnapping"];var DZ={__init__:["gridSnappingResizeBehavior","gridSnappingSpaceToolBehavior"],gridSnappingResizeBehavior:["type",EZ],gridSnappingSpaceToolBehavior:["type",SZ]},kZ={__depends__:[DZ],__init__:["gridSnapping"],gridSnapping:["type",vZ]},MZ=2e3;function NZ(e,t){e.on("autoPlace",MZ,(function(e){var n=e.source,i=Pz(n),o=e.shape,r=UK(n,o);return["x","y"].forEach((function(e){var n={};r[e]!==i[e]&&(r[e]>i[e]?n.min=r[e]:n.max=r[e],Object(bU["is"])(o,"bpmn:TextAnnotation")&&(LZ(e)?n.offset=-o.width/2:n.offset=-o.height/2),r[e]=t.snapValue(r[e],n))})),r}))}function LZ(e){return"x"===e}NZ.$inject=["eventBus","gridSnapping"];var BZ=1750;function IZ(e,t,n){t.on(["create.start","shape.move.start"],BZ,(function(t){var i=t.context,o=i.shape,r=e.getRootElement();if(Object(bU["is"])(o,"bpmn:Participant")&&Object(bU["is"])(r,"bpmn:Process")&&r.children.length){var s=i.createConstraints;s&&(o.width=n.snapValue(o.width,{min:o.width}),o.height=n.snapValue(o.height,{min:o.height}))}}))}IZ.$inject=["canvas","eventBus","gridSnapping"];var TZ=3e3;function OZ(e,t,n){ZK.call(this,e),this._gridSnapping=t;var i=this;this.postExecuted(["connection.create","connection.layout"],TZ,(function(e){var t=e.context,o=t.connection,r=t.hints||{},s=o.waypoints;r.connectionStart||r.connectionEnd||!1===r.createElementsBehavior||RZ(s)&&n.updateWaypoints(o,i.snapMiddleSegments(s))}))}function RZ(e){return e.length>3}function PZ(e){return"h"===e}function FZ(e){return"v"===e}function jZ(e,t,n){var i=Sz(t,n),o={};return PZ(i)&&(o.y=e.snapValue(t.y)),FZ(i)&&(o.x=e.snapValue(t.x)),("x"in o||"y"in o)&&(t=Object(Zj["assign"])({},t,o),n=Object(Zj["assign"])({},n,o)),[t,n]}OZ.$inject=["eventBus","gridSnapping","modeling"],Kj()(OZ,ZK),OZ.prototype.snapMiddleSegments=function(e){var t,n=this._gridSnapping;e=e.slice();for(var i=1;i<e.length-2;i++)t=jZ(n,e[i],e[i+1]),e[i]=t[0],e[i+1]=t[1];return e};var QZ={__init__:["gridSnappingAutoPlaceBehavior","gridSnappingCreateParticipantBehavior","gridSnappingLayoutConnectionBehavior"],gridSnappingAutoPlaceBehavior:["type",NZ],gridSnappingCreateParticipantBehavior:["type",IZ],gridSnappingLayoutConnectionBehavior:["type",OZ]},zZ={__depends__:[kZ,QZ],__init__:["bpmnGridSnapping"],bpmnGridSnapping:["type",pZ]},VZ=30,WZ=30;function HZ(e,t){this._interactionEvents=t;var n=this;e.on(["interactionEvents.createHit","interactionEvents.updateHit"],(function(e){var t=e.element,i=e.gfx;return Object(bU["is"])(t,"bpmn:Lane")?n.createParticipantHit(t,i):Object(bU["is"])(t,"bpmn:Participant")?vU(t)?n.createParticipantHit(t,i):n.createDefaultHit(t,i):Object(bU["is"])(t,"bpmn:SubProcess")?vU(t)?n.createSubProcessHit(t,i):n.createDefaultHit(t,i):void 0}))}HZ.$inject=["eventBus","interactionEvents"],HZ.prototype.createDefaultHit=function(e,t){return this._interactionEvents.removeHits(t),this._interactionEvents.createDefaultHit(e,t),!0},HZ.prototype.createParticipantHit=function(e,t){return this._interactionEvents.removeHits(t),this._interactionEvents.createBoxHit(t,"click-stroke",{width:e.width,height:e.height}),this._interactionEvents.createBoxHit(t,"all",{width:VZ,height:e.height}),!0},HZ.prototype.createSubProcessHit=function(e,t){return this._interactionEvents.removeHits(t),this._interactionEvents.createBoxHit(t,"click-stroke",{width:e.width,height:e.height}),this._interactionEvents.createBoxHit(t,"all",{width:e.width,height:WZ}),!0};var UZ={__init__:["bpmnInteractionEvents"],bpmnInteractionEvents:["type",HZ]};function YZ(e){e.invoke(TG,this)}Kj()(YZ,TG),YZ.$inject=["injector"],YZ.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}TG.prototype.registerBindings.call(this,e,t),n("selectElements",(function(n){var i=n.keyEvent;if(e.isKey(["a","A"],i)&&e.isCmd(i))return t.trigger("selectElements"),!0})),n("find",(function(n){var i=n.keyEvent;if(e.isKey(["f","F"],i)&&e.isCmd(i))return t.trigger("find"),!0})),n("spaceTool",(function(n){var i=n.keyEvent;if(!e.hasModifier(i))return e.isKey(["s","S"],i)?(t.trigger("spaceTool"),!0):void 0})),n("lassoTool",(function(n){var i=n.keyEvent;if(!e.hasModifier(i))return e.isKey(["l","L"],i)?(t.trigger("lassoTool"),!0):void 0})),n("handTool",(function(n){var i=n.keyEvent;if(!e.hasModifier(i))return e.isKey(["h","H"],i)?(t.trigger("handTool"),!0):void 0})),n("globalConnectTool",(function(n){var i=n.keyEvent;if(!e.hasModifier(i))return e.isKey(["c","C"],i)?(t.trigger("globalConnectTool"),!0):void 0})),n("directEditing",(function(n){var i=n.keyEvent;if(!e.hasModifier(i))return e.isKey(["e","E"],i)?(t.trigger("directEditing"),!0):void 0}))};var GZ={__depends__:[OG],__init__:["keyboardBindings"],keyboardBindings:["type",YZ]},KZ={moveSpeed:1,moveSpeedAccelerated:10},qZ=1500,JZ="left",XZ="up",$Z="right",ZZ="down",e0={ArrowLeft:JZ,Left:JZ,ArrowUp:XZ,Up:XZ,ArrowRight:$Z,Right:$Z,ArrowDown:ZZ,Down:ZZ},t0={left:function(e){return{x:-e,y:0}},up:function(e){return{x:0,y:-e}},right:function(e){return{x:e,y:0}},down:function(e){return{x:0,y:e}}};function n0(e,t,n,i,o){var r=this;this._config=Object(Zj["assign"])({},KZ,e||{}),t.addListener(qZ,(function(e){var n=e.keyEvent,i=e0[n.key];if(i&&!t.isCmd(n)){var o=t.isShift(n);return r.moveSelection(i,o),!0}})),this.moveSelection=function(e,t){var r=o.get();if(r.length){var s=this._config[t?"moveSpeedAccelerated":"moveSpeed"],a=t0[e](s),l=i.allowed("elements.move",{shapes:r});l&&n.moveElements(r,a)}}}n0.$inject=["config.keyboardMoveSelection","keyboard","modeling","rules","selection"];var i0={__depends__:[OG,rG],__init__:["keyboardMoveSelection"],keyboardMoveSelection:["type",n0]};function o0(e,t,n,i){e.on("element.changed",(function(i){var o=i.element;(o.parent||o===t.getRootElement())&&(i.gfx=n.getGraphics(o)),i.gfx&&e.fire(pz(o)+".changed",i)})),e.on("elements.changed",(function(t){var n=t.elements;n.forEach((function(t){e.fire("element.changed",{element:t})})),i.updateContainments(n)})),e.on("shape.changed",(function(e){i.update("shape",e.element,e.gfx)})),e.on("connection.changed",(function(e){i.update("connection",e.element,e.gfx)}))}o0.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];var r0={__init__:["changeSupport"],changeSupport:["type",o0]},s0=10;function a0(e,t,n,i){this._dragging=i,this._rules=t;var o=this;function r(e,t){var n,i=e.shape,r=e.direction,s=e.resizeConstraints;e.delta=t,n=T$(i,r,t),e.newBounds=P$(n,s),e.canExecute=o.canResize(e)}function s(e){var t=e.resizeConstraints,n=e.minBounds;void 0===t&&(void 0===n&&(n=o.computeMinResizeBox(e)),e.resizeConstraints={min:Oz(n)})}function a(e){var t=e.shape,i=e.canExecute,o=e.newBounds;if(i){if(o=Iz(o),!l0(t,o))return;n.resizeShape(t,o)}}e.on("resize.start",(function(e){s(e.context)})),e.on("resize.move",(function(e){var t={x:e.dx,y:e.dy};r(e.context,t)})),e.on("resize.end",(function(e){a(e.context)}))}function l0(e,t){return e.x!==t.x||e.y!==t.y||e.width!==t.width||e.height!==t.height}function c0(e,t){var n=Pz(e),i=Oz(e),o={x:n.x,y:n.y};return-1!==t.indexOf("n")?o.y=i.top:-1!==t.indexOf("s")&&(o.y=i.bottom),-1!==t.indexOf("e")?o.x=i.right:-1!==t.indexOf("w")&&(o.x=i.left),o}function h0(e){var t="resize-";return"n"===e||"s"===e?t+"ns":"e"===e||"w"===e?t+"ew":"nw"===e||"se"===e?t+"nwse":t+"nesw"}a0.prototype.canResize=function(e){var t=this._rules,n=Object(Zj["pick"])(e,["newBounds","shape","delta","direction"]);return t.allowed("shape.resize",n)},a0.prototype.activate=function(e,t,n){var i,o,r=this._dragging;if("string"===typeof n&&(n={direction:n}),i=Object(Zj["assign"])({shape:t},n),o=i.direction,!o)throw new Error("must provide a direction (n|w|s|e|nw|se|ne|sw)");r.init(e,c0(t,o),"resize",{autoActivate:!0,cursor:h0(o),data:{shape:t,context:i}})},a0.prototype.computeMinResizeBox=function(e){var t,n,i=e.shape,o=e.direction;return t=e.minDimensions||{width:s0,height:s0},n=V$(i,e.childrenBoxPadding),F$(o,i,t,n)},a0.$inject=["eventBus","rules","modeling","dragging"];var u0="djs-resizing",d0="resize-not-ok",p0=500;function f0(e,t,n){function i(e){var i=e.shape,o=e.newBounds,r=e.frame;r||(r=e.frame=n.addFrame(i,t.getDefaultLayer()),t.addMarker(i,u0)),o.width>5&&cQ(r,{x:o.x,width:o.width}),o.height>5&&cQ(r,{y:o.y,height:o.height}),e.canExecute?fQ(r).remove(d0):fQ(r).add(d0)}function o(e){var n=e.shape,i=e.frame;i&&mQ(e.frame),t.removeMarker(n,u0)}e.on("resize.move",p0,(function(e){i(e.context)})),e.on("resize.cleanup",(function(e){o(e.context)}))}f0.$inject=["eventBus","canvas","previewSupport"];var g0=-6,m0=4,b0=20,v0="djs-resizer",y0=["n","w","s","e","nw","ne","se","sw"];function w0(e,t,n,i){this._resize=i,this._canvas=t;var o=this;e.on("selection.changed",(function(e){var t=e.newSelection;o.removeResizers(),1===t.length&&Object(Zj["forEach"])(t,Object(Zj["bind"])(o.addResizer,o))})),e.on("shape.changed",(function(e){var t=e.element;n.isSelected(t)&&(o.removeResizers(),o.addResizer(t))}))}function _0(e){var t={x:0,y:0};return-1!==e.indexOf("e")?t.x=-g0:-1!==e.indexOf("w")&&(t.x=g0),-1!==e.indexOf("s")?t.y=-g0:-1!==e.indexOf("n")&&(t.y=g0),t}w0.prototype.makeDraggable=function(e,t,n){var i=this._resize;function o(t){zY(t)&&i.activate(t,e,n)}eQ["event"].bind(t,"mousedown",o),eQ["event"].bind(t,"touchstart",o)},w0.prototype._createResizer=function(e,t,n,i){var o=this._getResizersParent(),r=_0(i),s=CQ("g");fQ(s).add(v0),fQ(s).add(v0+"-"+e.id),fQ(s).add(v0+"-"+i),iQ(o,s);var a=CQ("rect");cQ(a,{x:-m0/2+r.x,y:-m0/2+r.y,width:m0,height:m0}),fQ(a).add(v0+"-visual"),iQ(s,a);var l=CQ("rect");return cQ(l,{x:-b0/2+r.x,y:-b0/2+r.y,width:b0,height:b0}),fQ(l).add(v0+"-hit"),iQ(s,l),_V(s,t,n),s},w0.prototype.createResizer=function(e,t){var n=c0(e,t),i=this._createResizer(e,n.x,n.y,t);this.makeDraggable(e,i,t)},w0.prototype.addResizer=function(e){var t=this,n=this._resize;n.canResize({shape:e})&&Object(Zj["forEach"])(y0,(function(n){t.createResizer(e,n)}))},w0.prototype.removeResizers=function(){var e=this._getResizersParent();bQ(e)},w0.prototype._getResizersParent=function(){return this._canvas.getLayer("resizers")},w0.$inject=["eventBus","canvas","selection","resize"];var A0={__depends__:[xq,wq,uX],__init__:["resize","resizePreview","resizeHandles"],resize:["type",a0],resizePreview:["type",f0],resizeHandles:["type",w0]};function C0(e,t){var n=t.create("bpmn:CategoryValue"),i=t.create("bpmn:Category",{categoryValue:[n]});return _z(e.get("rootElements"),i),Object(bU["getBusinessObject"])(i).$parent=e,Object(bU["getBusinessObject"])(n).$parent=i,n}function E0(e,t,n,i,o,r,s){function a(e,t){(t||WK(e,["bpmn:Task","bpmn:TextAnnotation","bpmn:Group"])||x0(e))&&i.activate(e)}this._bpmnFactory=t,this._canvas=n,this._modeling=o,this._textRenderer=s,i.registerProvider(this),e.on("element.dblclick",(function(e){a(e.element,!0)})),e.on(["autoPlace.start","canvas.viewbox.changing","drag.init","element.mousedown","popupMenu.open"],(function(e){i.isActive()&&i.complete()})),e.on(["commandStack.changed"],(function(e){i.isActive()&&i.cancel()})),e.on("directEditing.activate",(function(e){r.removeResizers()})),e.on("create.end",500,(function(e){var t=e.context,n=t.shape,i=e.context.canExecute,o=e.isTouch;o||i&&(t.hints&&!1===t.hints.createElementsBehavior||a(n))})),e.on("autoPlace.end",500,(function(e){a(e.shape)}))}function x0(e){return Object(bU["is"])(e,"bpmn:SubProcess")&&!vU(e)}function S0(e){return Object(bU["is"])(e,"bpmn:SubProcess")&&vU(e)}function D0(e){return Object(bU["is"])(e,"bpmn:Participant")&&!vU(e)}function k0(e){return Object(bU["is"])(e,"bpmn:Participant")&&vU(e)}function M0(e){return!e||!e.trim()}E0.$inject=["eventBus","bpmnFactory","canvas","directEditing","modeling","resizeHandles","textRenderer"],E0.prototype.activate=function(e){var t=DU(e);if(void 0!==t){var n={text:t},i=this.getEditingBBox(e);Object(Zj["assign"])(n,i);var o={};return(WK(e,["bpmn:Task","bpmn:Participant","bpmn:Lane","bpmn:CallActivity"])||x0(e))&&Object(Zj["assign"])(o,{centerVertically:!0}),wY(e)&&Object(Zj["assign"])(o,{autoResize:!0}),Object(bU["is"])(e,"bpmn:TextAnnotation")&&Object(Zj["assign"])(o,{resizable:!0,autoResize:!0}),Object(Zj["assign"])(n,{options:o}),n}},E0.prototype.getEditingBBox=function(e){var t=this._canvas,n=e.label||e,i=t.getAbsoluteBBox(n),o={x:i.x+i.width/2,y:i.y+i.height/2},r={x:i.x,y:i.y},s=t.zoom(),a=this._textRenderer.getDefaultStyle(),l=this._textRenderer.getExternalStyle(),c=l.fontSize*s,h=l.lineHeight,u=a.fontSize*s,d=a.lineHeight,p={fontFamily:this._textRenderer.getDefaultStyle().fontFamily,fontWeight:this._textRenderer.getDefaultStyle().fontWeight};(Object(bU["is"])(e,"bpmn:Lane")||k0(e))&&(Object(Zj["assign"])(r,{width:i.height,height:30*s,x:i.x-i.height/2+15*s,y:o.y-30*s/2}),Object(Zj["assign"])(p,{fontSize:u+"px",lineHeight:d,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px",transform:"rotate(-90deg)"})),(WK(e,["bpmn:Task","bpmn:CallActivity"])||D0(e)||x0(e))&&(Object(Zj["assign"])(r,{width:i.width,height:i.height}),Object(Zj["assign"])(p,{fontSize:u+"px",lineHeight:d,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"})),S0(e)&&(Object(Zj["assign"])(r,{width:i.width,x:i.x}),Object(Zj["assign"])(p,{fontSize:u+"px",lineHeight:d,paddingTop:7*s+"px",paddingBottom:7*s+"px",paddingLeft:5*s+"px",paddingRight:5*s+"px"}));var f=90*s,g=7*s,m=4*s;if(n.labelTarget&&(Object(Zj["assign"])(r,{width:f,height:i.height+g+m,x:o.x-f/2,y:i.y-g}),Object(Zj["assign"])(p,{fontSize:c+"px",lineHeight:h,paddingTop:g+"px",paddingBottom:m+"px"})),wY(n)&&!_Y(n)&&!SY(n)){var b=EY(e),v=t.getAbsoluteBBox({x:b.x,y:b.y,width:0,height:0}),y=c+g+m;Object(Zj["assign"])(r,{width:f,height:y,x:v.x-f/2,y:v.y-y/2}),Object(Zj["assign"])(p,{fontSize:c+"px",lineHeight:h,paddingTop:g+"px",paddingBottom:m+"px"})}return Object(bU["is"])(e,"bpmn:TextAnnotation")&&(Object(Zj["assign"])(r,{width:i.width,height:i.height,minWidth:30*s,minHeight:10*s}),Object(Zj["assign"])(p,{textAlign:"left",paddingTop:5*s+"px",paddingBottom:7*s+"px",paddingLeft:7*s+"px",paddingRight:5*s+"px",fontSize:u+"px",lineHeight:d})),{bounds:r,style:p}},E0.prototype.update=function(e,t,n,i){var o,r;if(Object(bU["is"])(e,"bpmn:TextAnnotation")&&(r=this._canvas.getAbsoluteBBox(e),o={x:e.x,y:e.y,width:e.width/r.width*i.width,height:e.height/r.height*i.height}),Object(bU["is"])(e,"bpmn:Group")){var s=Object(bU["getBusinessObject"])(e);if(!s.categoryValueRef){var a=this._canvas.getRootElement(),l=Object(bU["getBusinessObject"])(a).$parent,c=C0(l,this._bpmnFactory);Object(bU["getBusinessObject"])(e).categoryValueRef=c}}M0(t)&&(t=null),this._modeling.updateLabel(e,t,o)};var N0="djs-element-hidden",L0="djs-label-hidden";function B0(e,t,n,i){var o,r,s,a=this,l=t.getDefaultLayer();e.on("directEditing.activate",(function(e){var n=e.active;if(o=n.element.label||n.element,Object(bU["is"])(o,"bpmn:TextAnnotation")){r=t.getAbsoluteBBox(o),s=CQ("g");var c=i.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:o.width,containerHeight:o.height,position:{mx:0,my:0}}),h=a.path=CQ("path");cQ(h,{d:c,strokeWidth:2,stroke:I0(o)}),iQ(s,h),iQ(l,s),AV(s,o.x,o.y)}Object(bU["is"])(o,"bpmn:TextAnnotation")||o.labelTarget?t.addMarker(o,N0):(Object(bU["is"])(o,"bpmn:Task")||Object(bU["is"])(o,"bpmn:CallActivity")||Object(bU["is"])(o,"bpmn:SubProcess")||Object(bU["is"])(o,"bpmn:Participant"))&&t.addMarker(o,L0)})),e.on("directEditing.resize",(function(e){if(Object(bU["is"])(o,"bpmn:TextAnnotation")){var t=e.height,n=e.dy,s=Math.max(o.height/r.height*(t+n),0),l=i.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:o.width,containerHeight:s,position:{mx:0,my:0}});cQ(a.path,{d:l})}})),e.on(["directEditing.complete","directEditing.cancel"],(function(e){var n=e.active;n&&(t.removeMarker(n.element.label||n.element,N0),t.removeMarker(o,L0)),o=void 0,r=void 0,s&&(mQ(s),s=void 0)}))}function I0(e,t){var n=Object(bU["getBusinessObject"])(e);return n.di.get("stroke")||t||"black"}B0.$inject=["eventBus","canvas","elementRegistry","pathMap"];var T0={__depends__:[r0,A0,$J],__init__:["labelEditingProvider","labelEditingPreview"],labelEditingProvider:["type",E0],labelEditingPreview:["type",B0]},O0=["top","bottom","left","right"],R0=10;function P0(e,t){function n(e){if(_Y(e)){var t=Q0(e);t&&i(e,t)}}function i(e,n){var i=Pz(e),o=e.label,r=Pz(o);if(o.parent){var s,a=Oz(e);switch(n){case"top":s={x:i.x,y:a.top-R0-o.height/2};break;case"left":s={x:a.left-R0-o.width/2,y:i.y};break;case"bottom":s={x:i.x,y:a.bottom+R0+o.height/2};break;case"right":s={x:a.right+R0+o.width/2,y:i.y};break}var l=UG(s,r);t.moveShape(o,l)}}ZK.call(this,e),this.postExecuted(["connection.create","connection.layout","connection.updateWaypoints"],(function(e){var t=e.context,i=t.connection,o=i.source,r=i.target,s=t.hints||{};!1!==s.createElementsBehavior&&(n(o),n(r))})),this.postExecuted(["label.create"],(function(e){var t=e.context,i=t.shape,o=t.hints||{};!1!==o.createElementsBehavior&&n(i.labelTarget)})),this.postExecuted(["elements.create"],(function(e){var t=e.context,i=t.elements,o=t.hints||{};!1!==o.createElementsBehavior&&i.forEach((function(e){n(e)}))}))}function F0(e){var t,n=e.host,i=Pz(e),o=Fz(i,n);t=o.indexOf("-")>=0?o.split("-"):[o];var r=O0.filter((function(e){return-1===t.indexOf(e)}));return r}function j0(e){var t=Pz(e),n=[].concat(e.incoming.map((function(e){return e.waypoints[e.waypoints.length-2]})),e.outgoing.map((function(e){return e.waypoints[1]}))).map((function(e){return z0(t,e)}));return n}function Q0(e){var t=Pz(e.label),n=Pz(e),i=z0(n,t);if(V0(i)){var o=j0(e);if(e.host){var r=F0(e);o=o.concat(r)}var s=O0.filter((function(e){return-1===o.indexOf(e)}));if(-1===s.indexOf(i))return s[0]}}function z0(e,t){return Fz(t,e,5)}function V0(e){return-1!==O0.indexOf(e)}function W0(e,t,n){ZK.call(this,e),this.preExecute("shape.append",(function(e){var t=e.source,n=e.shape;e.position||(Object(bU["is"])(n,"bpmn:TextAnnotation")?e.position={x:t.x+t.width/2+75,y:t.y-50-n.height/2}:e.position={x:t.x+t.width+80+n.width/2,y:t.y+t.height/2})}),!0)}function H0(e,t){e.invoke(ZK,this),this.postExecute("shape.move",(function(e){var n=e.newParent,i=e.shape,o=Object(Zj["filter"])(i.incoming.concat(i.outgoing),(function(e){return Object(bU["is"])(e,"bpmn:Association")}));Object(Zj["forEach"])(o,(function(e){t.moveConnection(e,{x:0,y:0},n)}))}),!0)}Kj()(P0,ZK),P0.$inject=["eventBus","modeling"],Kj()(W0,ZK),W0.$inject=["eventBus","elementFactory","bpmnRules"],Kj()(H0,ZK),H0.$inject=["injector","modeling"];var U0=500;function Y0(e,t){t.invoke(ZK,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",U0,(function(e){var t=e.elements;t=t.filter((function(e){var t=e.host;return K0(e,t)})),1===t.length&&t.map((function(e){return t.indexOf(e)})).forEach((function(i){var o=t[i];e.elements[i]=n.replaceShape(t[i],o)}))}),!0),this.preExecute("elements.move",U0,(function(e){var t=e.shapes,i=e.newHost;if(1===t.length){var o=t[0];K0(o,i)&&(e.shapes=[n.replaceShape(o,i)])}}),!0)}function G0(e){var t=Object(bU["getBusinessObject"])(e),n=t.eventDefinitions;return n&&n[0]}function K0(e,t){return!SY(e)&&WK(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!t}Y0.$inject=["bpmnReplace","injector"],Kj()(Y0,ZK),Y0.prototype.replaceShape=function(e,t){var n=G0(e),i={type:"bpmn:BoundaryEvent",host:t};return n&&(i.eventDefinitionType=n.$type),this._bpmnReplace.replaceElement(e,i,{layoutConnection:!1})};var q0=2e3;function J0(e,t,n){function i(e){return Object(Zj["filter"])(e.attachers,(function(e){return Object(bU["is"])(e,"bpmn:BoundaryEvent")}))}ZK.call(this,e),this.postExecute("connection.create",(function(e){var t=e.context.source,o=e.context.target,r=i(o);Object(bU["is"])(t,"bpmn:EventBasedGateway")&&Object(bU["is"])(o,"bpmn:ReceiveTask")&&r.length>0&&n.removeElements(r)})),this.postExecute("connection.reconnect",(function(e){var t=e.context.oldSource,o=e.context.newSource;Object(bU["is"])(t,"bpmn:Gateway")&&Object(bU["is"])(o,"bpmn:EventBasedGateway")&&Object(Zj["forEach"])(o.outgoing,(function(e){var t=e.target,o=i(t);Object(bU["is"])(t,"bpmn:ReceiveTask")&&o.length>0&&n.removeElements(o)}))})),e.on("moddleCopy.canCopyProperty",q0,(function(e){var n=e.parent,i=e.property,o=e.propertyName,r=t.getPropertyDescriptor(n,o);r&&r.isReference&&Object(bU["is"])(i,"bpmn:RootElement")&&n.set(o,i)}))}J0.$inject=["eventBus","moddle","modeling"],Kj()(J0,ZK);var X0=500;function $0(e,t,n,i,o){function r(e){return WK(e,["bpmn:ReceiveTask","bpmn:SendTask"])||Z0(e,["bpmn:ErrorEventDefinition","bpmn:EscalationEventDefinition","bpmn:MessageEventDefinition","bpmn:SignalEventDefinition"])}function s(t){var n=e.getDefinitions(),i=n.get("rootElements");return!!Object(Zj["find"])(i,Object(Zj["matchPattern"])({id:t.id}))}function a(e){return Object(bU["is"])(e,"bpmn:ErrorEventDefinition")?"errorRef":Object(bU["is"])(e,"bpmn:EscalationEventDefinition")?"escalationRef":Object(bU["is"])(e,"bpmn:MessageEventDefinition")?"messageRef":Object(bU["is"])(e,"bpmn:SignalEventDefinition")?"signalRef":void 0}function l(e){if(WK(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.get("messageRef");var t=e.get("eventDefinitions"),n=t[0];return n.get(a(n))}function c(e,t){if(WK(e,["bpmn:ReceiveTask","bpmn:SendTask"]))return e.set("messageRef",t);var n=e.get("eventDefinitions"),i=n[0];return i.set(a(i),t)}n.invoke(ZK,this),this.executed("shape.create",(function(t){var n=t.shape;if(r(n)){var i,o=Object(bU["getBusinessObject"])(n),a=l(o);a&&!s(a)&&(i=e.getDefinitions().get("rootElements"),_z(i,a),t.addedRootElement=a)}}),!0),this.reverted("shape.create",(function(t){var n=t.addedRootElement;if(n){var i=e.getDefinitions().get("rootElements");wz(i,n)}}),!0),t.on("copyPaste.copyElement",(function(e){var t=e.descriptor,n=e.element;if(r(n)){var i=Object(bU["getBusinessObject"])(n),o=l(i);o&&(t.referencedRootElement=o)}})),t.on("copyPaste.pasteElement",X0,(function(e){var t=e.descriptor,n=t.businessObject;if(r(n)){var a=t.referencedRootElement;a&&(s(a)||(a=i.copyElement(a,o.create(a.$type))),c(n,a))}}))}function Z0(e,t){return Object(Zj["isArray"])(t)||(t=[t]),Object(Zj["some"])(t,(function(t){return _U(e,t)}))}function e1(e){e.invoke(ZK,this),this.preExecute("shape.create",1500,(function(e){var t=e.context,n=t.parent,i=t.shape;Object(bU["is"])(n,"bpmn:Lane")&&!Object(bU["is"])(i,"bpmn:Lane")&&(t.parent=HK(n,"bpmn:Participant"))}))}$0.$inject=["bpmnjs","eventBus","injector","moddleCopy","bpmnFactory"],Kj()($0,ZK),e1.$inject=["injector"],Kj()(e1,ZK);var t1=1500,n1=2e3;function i1(e,t,n){t.on(["create.hover","create.move","create.out","create.end","shape.move.hover","shape.move.move","shape.move.out","shape.move.end"],t1,(function(t){var i=t.context,o=i.shape||t.shape,r=t.hover;Object(bU["is"])(r,"bpmn:Lane")&&!WK(o,["bpmn:Lane","bpmn:Participant"])&&(t.hover=q$(r),t.hoverGfx=e.getGraphics(t.hover));var s=n.getRootElement();r!==s&&(o.labelTarget||Object(bU["is"])(o,"bpmn:Group"))&&(t.hover=s,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.hover","connect.out","connect.end","connect.cleanup","global-connect.hover","global-connect.out","global-connect.end","global-connect.cleanup"],t1,(function(t){var n=t.hover;Object(bU["is"])(n,"bpmn:Lane")&&(t.hover=q$(n)||n,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["bendpoint.move.hover"],t1,(function(t){var n=t.context,i=t.hover,o=n.type;Object(bU["is"])(i,"bpmn:Lane")&&/reconnect/.test(o)&&(t.hover=q$(i)||i,t.hoverGfx=e.getGraphics(t.hover))})),t.on(["connect.start"],t1,(function(e){var t=e.context,n=t.start;Object(bU["is"])(n,"bpmn:Lane")&&(t.start=q$(n)||n)})),t.on("shape.move.start",n1,(function(e){var t=e.shape;Object(bU["is"])(t,"bpmn:Lane")&&(e.shape=q$(t)||t)}))}function o1(e,t,n){ZK.call(this,e),this.preExecute("shape.create",(function(e){var n=e.context,i=n.shape;if(Object(bU["is"])(i,"bpmn:DataObjectReference")&&"label"!==i.type){var o=t.create("bpmn:DataObject");i.businessObject.dataObjectRef=o}}))}i1.$inject=["elementRegistry","eventBus","canvas"],o1.$inject=["eventBus","bpmnFactory","moddle"],Kj()(o1,ZK);var r1=20,s1=20,a1=30,l1=2e3;function c1(e,t,n){function i(t){var i,o=t.parent,r=e.getRootElement();Object(bU["is"])(r,"bpmn:Collaboration")?i=r:(i=n.makeCollaboration(),t.process=o),t.parent=i}ZK.call(this,t),t.on(["create.start","shape.move.start"],l1,(function(t){var n=t.context,i=n.shape,o=e.getRootElement();if(Object(bU["is"])(i,"bpmn:Participant")&&Object(bU["is"])(o,"bpmn:Process")&&o.children.length){var r=o.children.filter((function(e){return!Object(bU["is"])(e,"bpmn:Group")&&!SY(e)&&!d1(e)}));if(r.length){var s=uz(r),a=h1(i,s);Object(Zj["assign"])(i,a),n.createConstraints=u1(i,s)}}})),t.on("create.start",l1,(function(n){var i=n.context,o=i.shape,r=e.getRootElement(),s=e.getGraphics(r);function a(e){e.element=r,e.gfx=s}Object(bU["is"])(o,"bpmn:Participant")&&Object(bU["is"])(r,"bpmn:Process")&&(t.on("element.hover",l1,a),t.once("create.cleanup",(function(){t.off("element.hover",a)})))})),this.preExecute("shape.create",(function(e){var t=e.parent,n=e.shape;Object(bU["is"])(n,"bpmn:Participant")&&Object(bU["is"])(t,"bpmn:Process")&&i(e)}),!0),this.execute("shape.create",(function(e){var t=e.process,n=e.shape;t&&(e.oldProcessRef=n.businessObject.processRef,n.businessObject.processRef=t.businessObject)}),!0),this.revert("shape.create",(function(e){var t=e.process,n=e.shape;t&&(n.businessObject.processRef=e.oldProcessRef)}),!0),this.postExecute("shape.create",(function(e){var t=e.process,i=e.shape;if(t){var o=t.children.slice();n.moveElements(o,{x:0,y:0},i)}}),!0),this.preExecute("elements.create",l1,(function(e){var t,n=e.elements,o=e.parent,r=p1(n);r&&Object(bU["is"])(o,"bpmn:Process")&&(i(e),t=p1(n),e.oldProcessRef=t.businessObject.processRef,t.businessObject.processRef=o.businessObject)}),!0),this.revert("elements.create",(function(e){var t,n=e.elements,i=e.process;i&&(t=p1(n),t.businessObject.processRef=e.oldProcessRef)}),!0),this.postExecute("elements.create",(function(e){var t,i=e.elements,o=e.process;if(o){t=p1(i);var r=o.children.slice();n.moveElements(r,{x:0,y:0},t)}}),!0)}function h1(e,t){t={width:t.width+2*r1+a1,height:t.height+2*s1};var n=Math.max(e.width,t.width),i=Math.max(e.height,t.height);return{x:-n/2,y:-i/2,width:n,height:i}}function u1(e,t){return t=Oz(t),{bottom:t.top+e.height/2-s1,left:t.right-e.width/2+r1,top:t.bottom-e.height/2+s1,right:t.left+e.width/2-r1-a1}}function d1(e){return!!e.waypoints}function p1(e){return Object(Zj["find"])(e,(function(e){return Object(bU["is"])(e,"bpmn:Participant")}))}c1.$inject=["canvas","eventBus","modeling"],Kj()(c1,ZK);var f1="__targetRef_placeholder";function g1(e,t){function n(e,t,n){var i=e.get("dataInputAssociations");return Object(Zj["find"])(i,(function(e){return e!==n&&e.targetRef===t}))}function i(e,n){var i=e.get("properties"),o=Object(Zj["find"])(i,(function(e){return e.name===f1}));return!o&&n&&(o=t.create("bpmn:Property",{name:f1}),_z(i,o)),o}function o(e,t){var o=i(e);o&&(n(e,o,t)||wz(e.get("properties"),o))}function r(e){var t,n=e.context,r=n.connection,s=r.businessObject,a=r.target,l=a&&a.businessObject,c=n.newTarget,h=c&&c.businessObject,u=n.oldTarget||n.target,d=u&&u.businessObject,p=r.businessObject;d&&d!==l&&o(d,s),h&&h!==l&&o(h,s),l?(t=i(l,!0),p.targetRef=t):p.targetRef=null}ZK.call(this,e),this.executed(["connection.create","connection.delete","connection.move","connection.reconnect"],m1(r)),this.reverted(["connection.create","connection.delete","connection.move","connection.reconnect"],m1(r))}function m1(e){return function(t){var n=t.context,i=n.connection;if(Object(bU["is"])(i,"bpmn:DataInputAssociation"))return e(t)}}function b1(e){this._bpmnUpdater=e}function v1(e,t,n,i){function o(){return n.filter((function(e){return Object(bU["is"])(e,"bpmn:Participant")}))[0]}function r(e){return e.children.filter((function(e){return Object(bU["is"])(e,"bpmn:DataStoreReference")&&!e.labelTarget}))}function s(e,n){var i=e.businessObject||e;if(n=n||o(),n){var r=n.businessObject||n;t.execute("dataStore.updateContainment",{dataStoreBo:i,newSemanticParent:r.processRef||r,newDiParent:r.di})}}ZK.call(this,i),t.registerHandler("dataStore.updateContainment",b1),this.preExecute("shape.create",(function(e){var t=e.context,n=t.shape;Object(bU["is"])(n,"bpmn:DataStoreReference")&&"label"!==n.type&&(t.hints||(t.hints={}),t.hints.autoResize=!1)})),this.preExecute("elements.move",(function(e){var t=e.context,n=t.shapes,i=n.filter((function(e){return Object(bU["is"])(e,"bpmn:DataStoreReference")}));i.length&&(t.hints||(t.hints={}),t.hints.autoResize=n.filter((function(e){return!Object(bU["is"])(e,"bpmn:DataStoreReference")})))})),this.postExecute("shape.create",(function(e){var t=e.context,n=t.shape,i=n.parent;Object(bU["is"])(n,"bpmn:DataStoreReference")&&"label"!==n.type&&Object(bU["is"])(i,"bpmn:Collaboration")&&s(n)})),this.postExecute("shape.move",(function(e){var t=e.context,n=t.shape,i=t.oldParent,o=n.parent;if(!Object(bU["is"])(i,"bpmn:Collaboration")&&Object(bU["is"])(n,"bpmn:DataStoreReference")&&"label"!==n.type&&Object(bU["is"])(o,"bpmn:Collaboration")){var r=Object(bU["is"])(i,"bpmn:Participant")?i:w1(i,"bpmn:Participant");s(n,r)}})),this.postExecute("shape.delete",(function(t){var n=t.context,i=n.shape,o=e.getRootElement();WK(i,["bpmn:Participant","bpmn:SubProcess"])&&Object(bU["is"])(o,"bpmn:Collaboration")&&r(o).filter((function(e){return y1(e,i)})).forEach((function(e){s(e)}))})),this.postExecute("canvas.updateRoot",(function(e){var t=e.context,n=t.oldRoot,i=t.newRoot,o=r(n);o.forEach((function(e){Object(bU["is"])(i,"bpmn:Process")&&s(e,i)}))}))}function y1(e,t){var n=e.businessObject||e,i=t.businessObject||t;while(n.$parent){if(n.$parent===i.processRef||i)return!0;n=n.$parent}return!1}function w1(e,t){while(e.parent){if(Object(bU["is"])(e.parent,t))return e.parent;e=e.parent}}g1.$inject=["eventBus","bpmnFactory"],Kj()(g1,ZK),b1.$inject=["bpmnUpdater"],b1.prototype.execute=function(e){var t=e.dataStoreBo,n=e.newSemanticParent,i=e.newDiParent;e.oldSemanticParent=t.$parent,e.oldDiParent=t.di.$parent,this._bpmnUpdater.updateSemanticParent(t,n),this._bpmnUpdater.updateDiParent(t.di,i)},b1.prototype.revert=function(e){var t=e.dataStoreBo,n=e.oldSemanticParent,i=e.oldDiParent;this._bpmnUpdater.updateSemanticParent(t,n),this._bpmnUpdater.updateDiParent(t.di,i)},v1.$inject=["canvas","commandStack","elementRegistry","eventBus"],Kj()(v1,ZK);var _1=500;function A1(e,t,n){function i(e,t){var i,o,r,s=K$(t),a=[],l=[];(az(s,(function(t){return t.y>e.y?l.push(t):a.push(t),t.children})),s.length)&&(i=l.length&&a.length?e.height/2:e.height,a.length&&(o=n.calculateAdjustments(a,"y",i,e.y-10),n.makeSpace(o.movingShapes,o.resizingShapes,{x:0,y:i},"s")),l.length&&(r=n.calculateAdjustments(l,"y",-i,e.y+e.height+10),n.makeSpace(r.movingShapes,r.resizingShapes,{x:0,y:-i},"n")))}ZK.call(this,e),this.postExecuted("shape.delete",_1,(function(e){var t=e.context,n=t.hints,o=t.shape,r=t.oldParent;Object(bU["is"])(o,"bpmn:Lane")&&(n&&n.nested||i(o,r))}))}A1.$inject=["eventBus","modeling","spaceTool"],Kj()(A1,ZK);var C1=500;function E1(e,t){t.invoke(ZK,this),this._bpmnReplace=e;var n=this;this.postExecuted("elements.create",C1,(function(e){var t=e.elements;t.filter((function(e){var t=e.host;return S1(e,t)})).map((function(e){return t.indexOf(e)})).forEach((function(i){e.elements[i]=n.replaceShape(t[i])}))}),!0),this.preExecute("elements.move",C1,(function(e){var t=e.shapes,i=e.newHost;t.forEach((function(e,o){var r=e.host;S1(e,D1(t,r)?r:i)&&(t[o]=n.replaceShape(e))}))}),!0)}function x1(e){var t=Object(bU["getBusinessObject"])(e),n=t.eventDefinitions;return n&&n[0]}function S1(e,t){return!SY(e)&&Object(bU["is"])(e,"bpmn:BoundaryEvent")&&!t}function D1(e,t){return-1!==e.indexOf(t)}function k1(e,t,n){function i(e,i,o){var r,s,a,l,c,h,u,d,p=i.waypoints,f=e.outgoing.slice(),g=e.incoming.slice();d=Object(Zj["isNumber"])(o.width)?Pz(o):o;var m=Iq(p,d);if(m){if(r=p.slice(0,m.index),s=p.slice(m.index+(m.bendpoint?1:0)),!r.length||!s.length)return;a=m.bendpoint?p[m.index]:d,M1(e,r[r.length-1])||r.push(N1(a)),M1(e,s[0])||s.unshift(N1(a))}l=i.source,c=i.target,t.canConnect(l,e,i)&&(n.reconnectEnd(i,e,r||d),h=i),t.canConnect(e,c,i)&&(h?u=n.connect(e,c,{type:i.type,waypoints:s}):(n.reconnectStart(i,e,s||d),u=i));var b=[].concat(h&&Object(Zj["filter"])(g,(function(e){return e.source===h.source}))||[],u&&Object(Zj["filter"])(f,(function(e){return e.target===u.target}))||[]);b.length&&n.removeElements(b)}ZK.call(this,e),this.preExecute("elements.move",(function(e){var n=e.newParent,i=e.shapes,o=e.delta,r=i[0];if(r&&n){n&&n.waypoints&&(e.newParent=n=n.parent);var s=Pz(r),a={x:s.x+o.x,y:s.y+o.y},l=Object(Zj["find"])(n.children,(function(e){var n=t.canInsert(i,e);return n&&Iq(e.waypoints,a)}));l&&(e.targetFlow=l,e.position=a)}}),!0),this.postExecuted("elements.move",(function(e){var t=e.shapes,n=e.targetFlow,o=e.position;n&&i(t[0],n,o)}),!0),this.preExecute("shape.create",(function(e){var n=e.parent,i=e.shape;t.canInsert(i,n)&&(e.targetFlow=n,e.parent=n.parent)}),!0),this.postExecuted("shape.create",(function(e){var t=e.shape,n=e.targetFlow,o=e.position;n&&i(t,n,o)}),!0)}function M1(e,t){var n=t.x,i=t.y;return n>=e.x&&n<=e.x+e.width&&i>=e.y&&i<=e.y+e.height}function N1(e){return Object(Zj["assign"])({},e)}function L1(e,t){ZK.call(this,e),this.preExecuted("connection.create",(function(e){var n=e.context,i=n.source,o=n.target,r=o.incoming.slice();n.hints&&!1===n.hints.createElementsBehavior||Object(bU["is"])(i,"bpmn:EventBasedGateway")&&o.incoming.length&&r.filter(B1).forEach((function(e){t.removeConnection(e)}))})),this.preExecuted("shape.replace",(function(e){var n,i,o=e.context.newShape;Object(bU["is"])(o,"bpmn:EventBasedGateway")&&(n=o.outgoing.filter(B1).map((function(e){return e.target})),i=n.reduce((function(e,t){var n=t.incoming.filter(B1);return e.concat(n)}),[]),i.forEach((function(e){e.source!==o&&t.removeConnection(e)})))}))}function B1(e){return Object(bU["is"])(e,"bpmn:SequenceFlow")}E1.$inject=["bpmnReplace","injector"],Kj()(E1,ZK),E1.prototype.replaceShape=function(e){var t,n=x1(e);return t=n?{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:n.$type}:{type:"bpmn:IntermediateThrowEvent"},this._bpmnReplace.replaceElement(e,t,{layoutConnection:!1})},Kj()(k1,ZK),k1.$inject=["eventBus","bpmnRules","modeling"],L1.$inject=["eventBus","modeling"],Kj()(L1,ZK);var I1=2e3;function T1(e,t,n,i,o,r){function s(){var e=t.getRootElement(),n=Object(bU["getBusinessObject"])(e);return n.$parent}function a(e){var t=Object(bU["getBusinessObject"])(e),n=t.categoryValueRef;if(n){var i=n.$parent;n&&(wz(i.categoryValue,n),i&&!i.categoryValue.length&&l(i))}}function l(e){var t=s();wz(t.get("rootElements"),e)}function c(){return n.filter((function(e){return Object(bU["is"])(e,"bpmn:Group")}))}function h(e,t){return e.some((function(e){var n=Object(bU["getBusinessObject"])(e);return n.categoryValueRef&&n.categoryValueRef===t}))}o.invoke(ZK,this),this.executed("shape.delete",(function(e){var t=e.context,n=t.shape;if(Object(bU["is"])(n,"bpmn:Group")){var i=Object(bU["getBusinessObject"])(n),o=i.categoryValueRef,r=c();h(r,o)||a(n)}})),this.reverted("shape.delete",(function(e){var t=e.context,n=t.shape;if(Object(bU["is"])(n,"bpmn:Group")){var i=Object(bU["getBusinessObject"])(n),o=i.categoryValueRef,r=s(),a=o?o.$parent:null;_z(a.get("categoryValue"),o),_z(r.get("rootElements"),a)}})),this.execute("shape.create",(function(t){var n=t.context,i=n.shape,o=Object(bU["getBusinessObject"])(i);if(Object(bU["is"])(o,"bpmn:Group")&&!o.categoryValueRef){var r=s(),a=C0(r,e);o.categoryValueRef=a}})),this.revert("shape.create",(function(e){var t=e.context,n=t.shape;Object(bU["is"])(n,"bpmn:Group")&&(a(n),delete Object(bU["getBusinessObject"])(n).categoryValueRef)})),i.on("moddleCopy.canCopyProperty",I1,(function(t){var n,i=t.property;if(Object(bU["is"])(i,"bpmn:CategoryValue"))return n=C0(s(),e),r.copyElement(i,n)}))}function O1(e,t,n,i){var o,r,s,a,l;return o=(i.y-n.y)*(t.x-e.x)-(i.x-n.x)*(t.y-e.y),0==o?null:(r=e.y-n.y,s=e.x-n.x,l=(i.x-n.x)*r-(i.y-n.y)*s,a=l/o,{x:Math.round(e.x+a*(t.x-e.x)),y:Math.round(e.y+a*(t.y-e.y))})}function R1(e){function t(e,t,n){var i,o={x:n.x,y:n.y-50},r={x:n.x-50,y:n.y},s=O1(e,t,n,o),a=O1(e,t,n,r);i=s&&a?P1(s,n)>P1(a,n)?a:s:s||a,e.original=i}function n(e){var n=e.waypoints;t(n[0],n[1],Pz(e.source)),t(n[n.length-1],n[n.length-2],Pz(e.target))}e.on("bpmnElement.added",(function(e){var t=e.element;t.waypoints&&n(t)}))}function P1(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function F1(e){ZK.call(this,e);var t=["bpmn:Participant","bpmn:Lane"];this.executed(["shape.move","shape.create","shape.resize"],(function(e){var n=Object(bU["getBusinessObject"])(e.context.shape);WK(n,t)&&!n.di.get("isHorizontal")&&n.di.set("isHorizontal",!0)}))}function j1(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}function Q1(e){return Math.atan((e[1].y-e[0].y)/(e[1].x-e[0].x))}function z1(e,t){return t?{x:Math.cos(t)*e.x-Math.sin(t)*e.y,y:Math.sin(t)*e.x+Math.cos(t)*e.y}:e}function V1(e,t,n){var i=[{n:e[0]-n[0],lambda:t[0]},{n:e[1]-n[1],lambda:t[1]}],o=i[0].n*t[0]+i[1].n*t[1],r=i[0].lambda*t[0]+i[1].lambda*t[1];return-o/r}function W1(e,t){var n=t[0],i=t[1],o={x:i.x-n.x,y:i.y-n.y},r=V1([n.x,n.y],[o.x,o.y],[e.x,e.y]);return{x:n.x+r*o.x,y:n.y+r*o.y}}function H1(e,t){var n=W1(e,t),i={x:n.x-e.x,y:n.y-e.y};return j1(i)}function U1(e,t){return j1({x:e.x-t.x,y:e.y-t.y})}T1.$inject=["bpmnFactory","canvas","elementRegistry","eventBus","injector","moddleCopy"],Kj()(T1,ZK),R1.$inject=["eventBus"],F1.$inject=["eventBus"],Kj()(F1,ZK);var Y1=Math.sqrt,G1=Math.min,K1=Math.max,q1=Math.abs;function J1(e){return Math.pow(e,2)}function X1(e,t){return Y1(J1(e.x-t.x)+J1(e.y-t.y))}function $1(e,t){var n,i,o,r,s,a,l,c,h,u,d,p=0;for(p=0;p<t.length-1;p++){if(n=t[p],i=t[p+1],o2(n,i)?l=[n]:(o=X1(e,n),r=X1(e,i),a=G1(o,r),l=Z1(n,i,e,a)),l.length<1)throw new Error("expected between [1, 2] circle -> line intersections");1===l.length&&(c={type:"bendpoint",position:l[0],segmentIndex:p,bendpointIndex:o2(n,l[0])?p:p+1}),2===l.length&&(s=n2(l[0],l[1]),c={type:"segment",position:s,segmentIndex:p,relativeLocation:X1(n,s)/X1(n,i)}),h=X1(c.position,e),(!d||u>h)&&(d=c,u=h)}return d}function Z1(e,t,n,i){var o=t.x-e.x,r=t.y-e.y,s=n.x-e.x,a=n.y-e.y,l=o*o+r*r,c=o*s+r*a,h=s*s+a*a-i*i,u=c/l,d=h/l,p=u*u-d;if(p<0&&p>-1e-6&&(p=0),p<0)return[];var f=Y1(p),g=-u+f,m=-u-f,b={x:e.x-o*g,y:e.y-r*g};if(0===p)return[b];var v={x:e.x-o*m,y:e.y-r*m};return[b,v].filter((function(n){return e2(n,e,t)}))}function e2(e,t,n){return t2(e.x,t.x,n.x)&&t2(e.y,t.y,n.y)}function t2(e,t,n){return e>=G1(t,n)-i2&&e<=K1(t,n)+i2}function n2(e,t){return{x:(e.x+t.x)/2,y:(e.y+t.y)/2}}var i2=.1;function o2(e,t){return q1(e.x-t.x)<=i2&&q1(e.y-t.y)<=i2}function r2(e,t,n,i){var o=n.segmentIndex,r=t.length-e.length;if(i.segmentMove){var s=i.segmentMove.segmentStartIndex,a=i.segmentMove.newSegmentStartIndex;return o===s?a:o>=a?o+r<a?a:o+r:o}if(i.bendpointMove){var l,c=i.bendpointMove.insert,h=i.bendpointMove.bendpointIndex;if(0===r)return o;if(o>=h&&(l=c?o+1:o-1),o<h&&(l=o,c&&"bendpoint"!==n.type&&h-1===o)){var u=a2(t,h);u<n.relativeLocation&&l++}return l}return 0===r?o:i.connectionStart?0===o?0:null:i.connectionEnd&&o===e.length-2?t.length-2:null}function s2(e,t,n,i){var o=0,r=0,s=l2(e),a=$1(s,n),l=a.segmentIndex,c=r2(n,t,a,i);if(null===c)return{x:o,y:r};if(c<0||c>t.length-2)return{x:o,y:r};var h=h2(n,l),u=h2(t,c),d=a.position,p=u2(h,d),f=c2(h,u);if("bendpoint"===a.type){var g=t.length-n.length,m=a.bendpointIndex,b=n[m];if(-1!==t.indexOf(b))return{x:o,y:r};if(0===g){var v=t[m];return{x:v.x-a.position.x,y:v.y-a.position.y}}g<0&&0!==m&&m<n.length-1&&(p=a2(n,m))}var y={x:(u[1].x-u[0].x)*p+u[0].x,y:(u[1].y-u[0].y)*p+u[0].y},w=z1({x:s.x-d.x,y:s.y-d.y},f);return o=y.x+w.x-s.x,r=y.y+w.y-s.y,Tz({x:o,y:r})}function a2(e,t){var n=U1(e[t-1],e[t]),i=U1(e[t],e[t+1]),o=n/(n+i);return o}function l2(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function c2(e,t){var n=Q1(e),i=Q1(t);return i-n}function h2(e,t){return[e[t],e[t+1]]}function u2(e,t){var n=U1(e[0],e[1]),i=U1(e[0],t);return 0===n?0:i/n}function d2(e,t,n){var i=HG(t),o=HG(n),r=UG(e,i),s={x:r.x*(n.width/t.width),y:r.y*(n.height/t.height)};return Tz({x:o.x+s.x,y:o.y+s.y})}function p2(e,t,n){var i=HG(e),o=HG(t),r=HG(n),s=UG(e,i),a=UG(i,o),l=f2(i,t,n);if(l)return l;var c={x:a.x*(n.width/t.width),y:a.y*(n.height/t.height)},h={x:r.x+c.x,y:r.y+c.y};return Tz({x:h.x+s.x-e.x,y:h.y+s.y-e.y})}function f2(e,t,n){var i=Oz(t),o=Oz(n);if(g2(i,o))return null;var r,s,a,l=Fz(t,e);if("top"===l)r={x:0,y:o.bottom-i.bottom};else if("bottom"===l)r={x:0,y:o.top-i.top};else if("right"===l)r={x:o.left-i.left,y:0};else{if("left"!==l)return null;r={x:o.right-i.right,y:0}}return s={x:e.x+r.x,y:e.y+r.y},a=Fz(n,s),a!==l?null:r}function g2(e,t){return m2(e,t)||b2(e,t)}function m2(e,t){return e.right!==t.right&&e.left!==t.left}function b2(e,t){return e.top!==t.top&&e.bottom!==t.bottom}var v2={width:90,height:20},y2="name",w2="text";function _2(e,t,n,i){function o(e){var t=e.context,n=t.connection,i=n.label,o=Object(Zj["assign"])({},t.hints),r=t.newWaypoints||n.waypoints,s=t.oldWaypoints;return"undefined"===typeof o.startChanged&&(o.startChanged=!!o.connectionStart),"undefined"===typeof o.endChanged&&(o.endChanged=!!o.connectionEnd),s2(i,r,s,o)}ZK.call(this,e),this.postExecute("element.updateProperties",(function(e){var n=e.context,o=n.element,r=n.properties;if(y2 in r&&t.updateLabel(o,r[y2]),w2 in r&&Object(bU["is"])(o,"bpmn:TextAnnotation")){var s=i.getTextAnnotationBounds({x:o.x,y:o.y,width:o.width,height:o.height},r[w2]||"");t.updateLabel(o,r.text,s)}})),this.postExecute(["shape.create","connection.create"],(function(e){var n=e.context,o=n.hints||{};if(!1!==o.createElementsBehavior){var r=n.shape||n.connection,s=r.businessObject;if(!SY(r)&&wY(r)&&DU(r)){var a=EY(r),l=i.getExternalLabelBounds(v2,DU(r));t.createLabel(r,a,{id:s.id+"_label",businessObject:s,width:l.width,height:l.height})}}})),this.postExecute("shape.delete",(function(e){var n=e.context,i=n.labelTarget,o=n.hints||{};i&&!1!==o.unsetLabel&&t.updateLabel(i,null,null,{removeShape:!1})})),this.postExecute(["label.create"],(function(e){var t,i,o=e.context,r=o.shape;r.labelTarget&&Object(bU["is"])(r.labelTarget||r,"bpmn:BaseElement")&&(t=r.businessObject,i=t.di,i.label||(i.label=n.create("bpmndi:BPMNLabel",{bounds:n.create("dc:Bounds")})),Object(Zj["assign"])(i.label.bounds,{x:r.x,y:r.y,width:r.width,height:r.height}))})),this.postExecute(["connection.layout","connection.updateWaypoints"],(function(e){var n=e.context,i=n.hints||{};if(!1!==i.labelBehavior){var r,s=n.connection,a=s.label;a&&a.parent&&(r=o(e),t.moveShape(a,r))}})),this.postExecute(["shape.replace"],(function(e){var t=e.context,n=t.newShape,i=t.oldShape,o=Object(bU["getBusinessObject"])(n);o&&wY(o)&&i.label&&n.label&&(n.label.x=i.label.x,n.label.y=i.label.y)})),this.postExecute("shape.resize",(function(e){var n=e.context,i=n.shape,o=n.newBounds,r=n.oldBounds;if(_Y(i)){var s=i.label,a=Pz(s),l=E2(r),c=C2(a,l),h=A2(c,r,o);t.moveShape(s,h)}}))}function A2(e,t,n){var i=d2(e,t,n);return Tz(UG(i,e))}function C2(e,t){if(t.length){var n=x2(e,t);return W1(e,n)}}function E2(e){return[[{x:e.x,y:e.y},{x:e.x+(e.width||0),y:e.y}],[{x:e.x+(e.width||0),y:e.y},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y+(e.height||0)},{x:e.x+(e.width||0),y:e.y+(e.height||0)}],[{x:e.x,y:e.y},{x:e.x,y:e.y+(e.height||0)}]]}function x2(e,t){var n=t.map((function(t){return{line:t,distance:H1(e,t)}})),i=Object(Zj["sortBy"])(n,"distance");return i[0].line}function S2(e,t,n){var i=L2(e),o=B2(i,t),r=i[0];return o.length?o[o.length-1]:d2(r.original||r,n,t)}function D2(e,t,n){var i=L2(e),o=B2(i,t),r=i[i.length-1];return o.length?o[0]:d2(r.original||r,n,t)}function k2(e,t,n){var i=L2(e),o=N2(t,n),r=i[0];return d2(r.original||r,o,t)}function M2(e,t,n){var i=L2(e),o=N2(t,n),r=i[i.length-1];return d2(r.original||r,o,t)}function N2(e,t){return{x:e.x-t.x,y:e.y-t.y,width:e.width,height:e.height}}function L2(e){var t=e.waypoints;if(!t.length)throw new Error("connection#"+e.id+": no waypoints");return t}function B2(e,t){var n=Object(Zj["map"])(e,T2);return Object(Zj["filter"])(n,(function(e){return I2(e,t)}))}function I2(e,t){return"intersect"===Fz(t,e,1)}function T2(e){return e.original||e}function O2(e,t){ZK.call(this,e),this.postExecute("shape.replace",(function(e){var n=e.oldShape,i=e.newShape;if(R2(n,i)){var o=P2(n);o.incoming.forEach((function(e){var o=D2(e,i,n);t.reconnectEnd(e,i,o)})),o.outgoing.forEach((function(e){var o=S2(e,i,n);t.reconnectStart(e,i,o)}))}}),!0)}function R2(e,t){return Object(bU["is"])(e,"bpmn:Participant")&&vU(e)&&Object(bU["is"])(t,"bpmn:Participant")&&!vU(t)}function P2(e){var t=cz([e],!1),n=[],i=[];return t.forEach((function(t){t!==e&&(t.incoming.forEach((function(e){Object(bU["is"])(e,"bpmn:MessageFlow")&&n.push(e)})),t.outgoing.forEach((function(e){Object(bU["is"])(e,"bpmn:MessageFlow")&&i.push(e)})))}),[]),{incoming:n,outgoing:i}}Kj()(_2,ZK),_2.$inject=["eventBus","modeling","bpmnFactory","textRenderer"],O2.$inject=["eventBus","modeling"],Kj()(O2,ZK);var F2="flow elements must be children of pools/participants";function j2(e,t,n){function i(e,n,i){t.add({position:{x:e.x+5,y:e.y+5},type:"error",timeout:i||2e3,html:"<div>"+n+"</div>"})}e.on(["shape.move.rejected","create.rejected"],(function(e){var t=e.context,o=t.shape,r=t.target;Object(bU["is"])(r,"bpmn:Collaboration")&&Object(bU["is"])(o,"bpmn:FlowNode")&&i(e,n(F2))}))}function Q2(e,t,n,i){ZK.call(this,e);var o=i.get("dragging",!1);function r(e){var i,o,r=e.source,s=e.target,a=e.parent;a&&(Object(bU["is"])(e,"bpmn:SequenceFlow")&&(n.canConnectSequenceFlow(r,s)||(o=!0),n.canConnectMessageFlow(r,s)&&(i="bpmn:MessageFlow")),Object(bU["is"])(e,"bpmn:MessageFlow")&&(n.canConnectMessageFlow(r,s)||(o=!0),n.canConnectSequenceFlow(r,s)&&(i="bpmn:SequenceFlow")),Object(bU["is"])(e,"bpmn:Association")&&!n.canConnectAssociation(r,s)&&(o=!0),o&&t.removeConnection(e),i&&t.connect(r,s,{type:i,waypoints:e.waypoints.slice()}))}function s(e){var i,r,s=e.context,l=s.connection,c=s.newSource||l.source,h=s.newTarget||l.target;i=n.canConnect(c,h),i&&i.type!==l.type&&(r=t.connect(c,h,{type:i.type,waypoints:l.waypoints.slice()}),t.removeConnection(l),s.connection=r,o&&a(l,r))}function a(e,t){var n,i=o.context(),r=i&&i.payload.previousSelection;r&&r.length&&(n=r.indexOf(e),-1!==n&&r.splice(n,1,t))}this.postExecuted("elements.move",(function(e){var t=e.closure,n=t.allConnections;Object(Zj["forEach"])(n,r)}),!0),this.preExecute("connection.reconnect",s),this.postExecuted("element.updateProperties",(function(e){var n,i=e.context,o=i.properties,r=i.element,s=r.businessObject;o.default&&(n=Object(Zj["find"])(r.outgoing,Object(Zj["matchPattern"])({id:r.businessObject.default.id})),n&&t.updateProperties(n,{conditionExpression:void 0})),o.conditionExpression&&s.sourceRef.default===s&&t.updateProperties(r.source,{default:void 0})}))}function z2(e,t){ZK.call(this,e),this.preExecute("shape.delete",(function(e){var t=e.shape,n=t.parent;Object(bU["is"])(t,"bpmn:Participant")&&(e.collaborationRoot=n)}),!0),this.postExecute("shape.delete",(function(e){var n=e.collaborationRoot;n&&!n.businessObject.participants.length&&t.makeProcess()}),!0)}function V2(e,t,n,i,o,r){i.invoke(ZK,this),this._bpmnReplace=e,this._elementRegistry=n,this._selection=r,this.postExecuted(["elements.create"],500,(function(e){var n=e.context,i=n.parent,o=n.elements,r=t.canReplace(o,i);r&&this.replaceElements(o,r.replacements)}),this),this.postExecuted(["elements.move"],500,(function(e){var n=e.context,i=n.newParent,o=n.newHost,r=[];Object(Zj["forEach"])(n.closure.topLevel,(function(e){r=wU(e)?r.concat(e.children):r.concat(e)})),1===r.length&&o&&(i=o);var s=t.canReplace(r,i);s&&this.replaceElements(r,s.replacements,o)}),this),this.postExecute(["shape.replace"],1500,(function(e){var n,i=e.context,o=i.oldShape,r=i.newShape,s=o.attachers;s&&s.length&&(n=t.canReplace(s,r),this.replaceElements(s,n.replacements))}),this),this.postExecuted(["shape.replace"],1500,(function(e){var t=e.context,n=t.oldShape,i=t.newShape;o.unclaimId(n.businessObject.id,n.businessObject),o.updateProperties(i,{id:n.id})}))}j2.$inject=["eventBus","tooltips","translate"],Kj()(Q2,ZK),Q2.$inject=["eventBus","modeling","bpmnRules","injector"],z2.$inject=["eventBus","modeling"],Kj()(z2,ZK),Kj()(V2,ZK),V2.prototype.replaceElements=function(e,t){var n=this._elementRegistry,i=this._bpmnReplace,o=this._selection;Object(Zj["forEach"])(t,(function(t){var o={type:t.newElementType},r=n.get(t.oldElementId),s=e.indexOf(r);e[s]=i.replaceElement(r,o,{select:!1})})),t&&o.select(e)},V2.$inject=["bpmnReplace","bpmnRules","elementRegistry","injector","modeling","selection"];var W2=Math.abs,H2=Math.min,U2=Math.max;function Y2(e,t,n,i){var o=e[t];e[t]=void 0===o?n:i(n,o)}function G2(e,t,n){return Y2(e,t,n,H2)}function K2(e,t,n){return Y2(e,t,n,U2)}var q2=20,J2=50,X2=20,$2=20;function Z2(e,t,n){var i=q$(e),o=!0,r=!0,s=G$(i,[i]),a=Oz(e),l={},c={};/e/.test(t)?c.right=a.left+t4.width:/w/.test(t)&&(c.left=a.right-t4.width),s.forEach((function(e){var i=Oz(e);/n/.test(t)&&(i.top<a.top-10&&(o=!1),n&&W2(a.top-i.bottom)<10&&K2(l,"top",i.top+t4.height),W2(a.top-i.top)<5&&G2(c,"top",i.bottom-t4.height)),/s/.test(t)&&(i.bottom>a.bottom+10&&(r=!1),n&&W2(a.bottom-i.top)<10&&G2(l,"bottom",i.bottom-t4.height),W2(a.bottom-i.bottom)<5&&K2(c,"bottom",i.top+t4.height))}));var h=i.children.filter((function(e){return!e.hidden&&!e.waypoints&&(Object(bU["is"])(e,"bpmn:FlowElement")||Object(bU["is"])(e,"bpmn:Artifact"))}));return h.forEach((function(e){var n=Oz(e);o&&/n/.test(t)&&G2(c,"top",n.top-X2),/e/.test(t)&&K2(c,"right",n.right+q2),r&&/s/.test(t)&&K2(c,"bottom",n.bottom+$2),/w/.test(t)&&G2(c,"left",n.left-J2)})),{min:c,max:l}}var e4=1500,t4={width:300,height:60},n4={width:300,height:150},i4={width:140,height:120},o4={width:50,height:30};function r4(e){e.on("resize.start",e4,(function(e){var t=e.context,n=t.shape,i=t.direction,o=t.balanced;(Object(bU["is"])(n,"bpmn:Lane")||Object(bU["is"])(n,"bpmn:Participant"))&&(t.resizeConstraints=Z2(n,i,o)),Object(bU["is"])(n,"bpmn:Participant")&&(t.minDimensions=n4),Object(bU["is"])(n,"bpmn:SubProcess")&&vU(n)&&(t.minDimensions=i4),Object(bU["is"])(n,"bpmn:TextAnnotation")&&(t.minDimensions=o4)}))}r4.$inject=["eventBus"];var s4=1001;function a4(e,t){e.on("resize.start",s4+500,(function(e){var t=e.context,n=t.shape;(Object(bU["is"])(n,"bpmn:Lane")||Object(bU["is"])(n,"bpmn:Participant"))&&(t.balanced=!WY(e))})),e.on("resize.end",s4,(function(e){var n=e.context,i=n.shape,o=n.canExecute,r=n.newBounds;if(Object(bU["is"])(i,"bpmn:Lane")||Object(bU["is"])(i,"bpmn:Participant"))return o&&(r=Iz(r),t.resizeLane(i,r,n.balanced)),!1}))}function l4(e,t,n){ZK.call(this,e),this.preExecute("shape.delete",(function(e){var i=e.context.shape;if(1===i.incoming.length&&1===i.outgoing.length){var o=i.incoming[0],r=i.outgoing[0];if(Object(bU["is"])(o,"bpmn:SequenceFlow")&&Object(bU["is"])(r,"bpmn:SequenceFlow")&&t.canConnect(o.source,r.target,o)){var s=h4(o.waypoints,r.waypoints);n.reconnectEnd(o,r.target,s)}}}))}function c4(e){return e.original||e}function h4(e,t){var n=O1(c4(e[e.length-2]),c4(e[e.length-1]),c4(t[1]),c4(t[0]));return n?[].concat(e.slice(0,e.length-1),[n],t.slice(1)):[c4(e[0]),c4(t[t.length-1])]}a4.$inject=["eventBus","modeling"],Kj()(l4,ZK),l4.$inject=["eventBus","bpmnRules","modeling"];var u4=Math.max;function d4(e){e.on("spaceTool.getMinDimensions",(function(e){var t=e.shapes,n=e.axis,i=e.start,o={};return Object(Zj["forEach"])(t,(function(e){var t=e.id;Object(bU["is"])(e,"bpmn:Participant")&&(p4(n)?o[t]=n4:o[t]={width:n4.width,height:f4(e,i)}),Object(bU["is"])(e,"bpmn:SubProcess")&&vU(e)&&(o[t]=i4),Object(bU["is"])(e,"bpmn:TextAnnotation")&&(o[t]=o4)})),o}))}function p4(e){return"x"===e}function f4(e,t){var n;return g4(e)?(n=m4(e,t),u4(n4.height,n)):n4.height}function g4(e){return!!K$(e).length}function m4(e,t){var n,i=K$(e);return n=b4(i,t),e.height-n.height+t4.height}function b4(e,t){var n,i,o;for(n=0;n<e.length;n++)if(i=e[n],t>=i.y&&t<=i.y+i.height)return o=K$(i),o.length?b4(o,t):i}function v4(e,t){e.invoke(ZK,this),this.postExecuted("shape.replace",(function(e){var n=e.context.oldShape,i=e.context.newShape;if(Object(bU["is"])(i,"bpmn:SubProcess")&&Object(bU["is"])(n,"bpmn:Task")&&vU(i)){var o=y4(i);t.createShape({type:"bpmn:StartEvent"},o,i)}}))}function y4(e){return{x:e.x+e.width/6,y:e.y+e.height/2}}d4.$inject=["eventBus"],v4.$inject=["injector","modeling"],Kj()(v4,ZK);var w4=500;function _4(e,t,n,i){function o(e){e.length&&e.forEach((function(e){"label"!==e.type||e.businessObject.name||(e.hidden=!0)}))}function r(e,t){var n,i,o=e.children,r=t;return n=A4(o).concat([e]),i=V$(n),i?(r.width=Math.max(i.width,r.width),r.height=Math.max(i.height,r.height),r.x=i.x+(i.width-r.width)/2,r.y=i.y+(i.height-r.height)/2):(r.x=e.x+(e.width-r.width)/2,r.y=e.y+(e.height-r.height)/2),r}function s(e,t){return{x:e.x+(e.width-t.width)/2,y:e.y+(e.height-t.height)/2,width:t.width,height:t.height}}ZK.call(this,e),this.executed(["shape.toggleCollapse"],w4,(function(e){var t=e.context,n=t.shape;Object(bU["is"])(n,"bpmn:SubProcess")&&(n.collapsed?Object(bU["getBusinessObject"])(n).di.isExpanded=!1:(o(n.children),Object(bU["getBusinessObject"])(n).di.isExpanded=!0))})),this.reverted(["shape.toggleCollapse"],w4,(function(e){var t=e.context,n=t.shape;n.collapsed?Object(bU["getBusinessObject"])(n).di.isExpanded=!1:Object(bU["getBusinessObject"])(n).di.isExpanded=!0})),this.postExecuted(["shape.toggleCollapse"],w4,(function(e){var i,o=e.context.shape,a=t._getDefaultSize(o);i=o.collapsed?s(o,a):r(o,a),n.resizeShape(o,i,null,{autoResize:!o.collapsed&&"nwse"})}))}function A4(e){return e.filter((function(e){return!e.hidden}))}function C4(e,t,n,i){t.invoke(ZK,this),this.preExecute("shape.delete",(function(e){var t=e.context,o=t.shape,r=o.businessObject;SY(o)||(Object(bU["is"])(o,"bpmn:Participant")&&vU(o)&&n.ids.unclaim(r.processRef.id),i.unclaimId(r.id,r))})),this.preExecute("connection.delete",(function(e){var t=e.context,n=t.connection,o=n.businessObject;i.unclaimId(o.id,o)})),this.preExecute("canvas.updateRoot",(function(){var t=e.getRootElement(),i=t.businessObject;n.ids.unclaim(i.id)}))}Kj()(_4,ZK),_4.$inject=["eventBus","elementFactory","modeling"],Kj()(C4,ZK),C4.$inject=["canvas","injector","moddle","modeling"];var E4=500,x4=5e3;function S4(e,t,n){var i;function o(){return i=i||new D4,i.enter(),i}function r(){if(!i)throw new Error(n("out of bounds release"));return i}function s(){if(!i)throw new Error(n("out of bounds release"));var e=i.leave();return e&&(t.updateLaneRefs(i.flowNodes,i.lanes),i=null),e}ZK.call(this,e);var a=["spaceTool","lane.add","lane.resize","lane.split","elements.create","elements.delete","elements.move","shape.create","shape.delete","shape.move","shape.resize"];this.preExecute(a,x4,(function(e){o()})),this.postExecuted(a,E4,(function(e){s()})),this.preExecute(["shape.create","shape.move","shape.delete","shape.resize"],(function(e){var t=e.context,n=t.shape,i=r();n.labelTarget||(Object(bU["is"])(n,"bpmn:Lane")&&i.addLane(n),Object(bU["is"])(n,"bpmn:FlowNode")&&i.addFlowNode(n))}))}function D4(){this.flowNodes=[],this.lanes=[],this.counter=0,this.addLane=function(e){this.lanes.push(e)},this.addFlowNode=function(e){this.flowNodes.push(e)},this.enter=function(){this.counter++},this.leave=function(){return this.counter--,!this.counter}}function k4(e,t){ZK.call(this,e),this.preExecute("connection.delete",(function(e){var n=e.context,i=n.connection,o=i.source;M4(i,o)&&t.updateProperties(o,{default:null})}))}function M4(e,t){if(!Object(bU["is"])(e,"bpmn:SequenceFlow"))return!1;var n=Object(bU["getBusinessObject"])(t),i=Object(bU["getBusinessObject"])(e);return n.get("default")===i}S4.$inject=["eventBus","modeling","translate"],Kj()(S4,ZK),Kj()(k4,ZK),k4.$inject=["eventBus","modeling"];var N4={__init__:["adaptiveLabelPositioningBehavior","appendBehavior","associationBehavior","attachEventBehavior","boundaryEventBehavior","rootElementReferenceBehavior","createBehavior","fixHoverBehavior","createDataObjectBehavior","createParticipantBehavior","dataStoreBehavior","dataInputAssociationBehavior","deleteLaneBehavior","detachEventBehavior","dropOnFlowBehavior","eventBasedGatewayBehavior","groupBehavior","importDockingFix","isHorizontalFix","labelBehavior","messageFlowBehavior","modelingFeedback","removeElementBehavior","removeParticipantBehavior","replaceConnectionBehavior","replaceElementBehaviour","resizeBehavior","resizeLaneBehavior","toggleElementCollapseBehaviour","spaceToolBehavior","subProcessStartEventBehavior","unclaimIdBehavior","unsetDefaultFlowBehavior","updateFlowNodeRefsBehavior"],adaptiveLabelPositioningBehavior:["type",P0],appendBehavior:["type",W0],associationBehavior:["type",H0],attachEventBehavior:["type",Y0],boundaryEventBehavior:["type",J0],rootElementReferenceBehavior:["type",$0],createBehavior:["type",e1],fixHoverBehavior:["type",i1],createDataObjectBehavior:["type",o1],createParticipantBehavior:["type",c1],dataInputAssociationBehavior:["type",g1],dataStoreBehavior:["type",v1],deleteLaneBehavior:["type",A1],detachEventBehavior:["type",E1],dropOnFlowBehavior:["type",k1],eventBasedGatewayBehavior:["type",L1],groupBehavior:["type",T1],importDockingFix:["type",R1],isHorizontalFix:["type",F1],labelBehavior:["type",_2],messageFlowBehavior:["type",O2],modelingFeedback:["type",j2],replaceConnectionBehavior:["type",Q2],removeParticipantBehavior:["type",z2],replaceElementBehaviour:["type",V2],resizeBehavior:["type",r4],resizeLaneBehavior:["type",a4],removeElementBehavior:["type",l4],toggleElementCollapseBehaviour:["type",_4],spaceToolBehavior:["type",d4],subProcessStartEventBehavior:["type",v4],unclaimIdBehavior:["type",C4],updateFlowNodeRefsBehavior:["type",S4],unsetDefaultFlowBehavior:["type",k4]};function L4(e,t){var n=Fz(e,t,-15);return"intersect"!==n?n:null}function B4(e){sq.call(this,e)}function I4(e){return T4(e)?null:WK(e,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference","bpmn:Group","bpmn:TextAnnotation"])}function T4(e){return!e||SY(e)}function O4(e,t){return e===t}function R4(e){do{if(Object(bU["is"])(e,"bpmn:Process"))return Object(bU["getBusinessObject"])(e);if(Object(bU["is"])(e,"bpmn:Participant"))return Object(bU["getBusinessObject"])(e).processRef||Object(bU["getBusinessObject"])(e)}while(e=e.parent)}function P4(e){return Object(bU["is"])(e,"bpmn:TextAnnotation")}function F4(e){return Object(bU["is"])(e,"bpmn:Group")&&!e.labelTarget}function j4(e){return Object(bU["is"])(e,"bpmn:BoundaryEvent")&&Y4(e,"bpmn:CompensateEventDefinition")}function Q4(e){return Object(bU["getBusinessObject"])(e).isForCompensation}function z4(e,t){var n=R4(e),i=R4(t);return n===i}function V4(e){return Object(bU["is"])(e,"bpmn:InteractionNode")&&!Object(bU["is"])(e,"bpmn:BoundaryEvent")&&(!Object(bU["is"])(e,"bpmn:Event")||Object(bU["is"])(e,"bpmn:ThrowEvent")&&G4(e,"bpmn:MessageEventDefinition"))}function W4(e){return Object(bU["is"])(e,"bpmn:InteractionNode")&&!Q4(e)&&(!Object(bU["is"])(e,"bpmn:Event")||Object(bU["is"])(e,"bpmn:CatchEvent")&&G4(e,"bpmn:MessageEventDefinition"))&&!(Object(bU["is"])(e,"bpmn:BoundaryEvent")&&!Y4(e,"bpmn:MessageEventDefinition"))}function H4(e){var t=e;while(t=t.parent){if(Object(bU["is"])(t,"bpmn:FlowElementsContainer"))return Object(bU["getBusinessObject"])(t);if(Object(bU["is"])(t,"bpmn:Participant"))return Object(bU["getBusinessObject"])(t).processRef}return null}function U4(e,t){var n=H4(e),i=H4(t);return n===i}function Y4(e,t){var n=Object(bU["getBusinessObject"])(e);return!!Object(Zj["find"])(n.eventDefinitions||[],(function(e){return Object(bU["is"])(e,t)}))}function G4(e,t){var n=Object(bU["getBusinessObject"])(e);return(n.eventDefinitions||[]).every((function(e){return Object(bU["is"])(e,t)}))}function K4(e){return Object(bU["is"])(e,"bpmn:FlowNode")&&!Object(bU["is"])(e,"bpmn:EndEvent")&&!wU(e)&&!(Object(bU["is"])(e,"bpmn:IntermediateThrowEvent")&&Y4(e,"bpmn:LinkEventDefinition"))&&!j4(e)&&!Q4(e)}function q4(e){return Object(bU["is"])(e,"bpmn:FlowNode")&&!Object(bU["is"])(e,"bpmn:StartEvent")&&!Object(bU["is"])(e,"bpmn:BoundaryEvent")&&!wU(e)&&!(Object(bU["is"])(e,"bpmn:IntermediateCatchEvent")&&Y4(e,"bpmn:LinkEventDefinition"))&&!Q4(e)}function J4(e){return Object(bU["is"])(e,"bpmn:ReceiveTask")||Object(bU["is"])(e,"bpmn:IntermediateCatchEvent")&&(Y4(e,"bpmn:MessageEventDefinition")||Y4(e,"bpmn:TimerEventDefinition")||Y4(e,"bpmn:ConditionalEventDefinition")||Y4(e,"bpmn:SignalEventDefinition"))}function X4(e){return e.waypoints}function $4(e){var t=[];while(e)e=e.parent,e&&t.push(e);return t}function Z4(e,t){var n=$4(t);return-1!==n.indexOf(e)}function e5(e,t,n){if(T4(e)||T4(t))return null;if(!Object(bU["is"])(n,"bpmn:DataAssociation")){if(b5(e,t))return{type:"bpmn:MessageFlow"};if(v5(e,t))return{type:"bpmn:SequenceFlow"}}var i=y5(e,t);return i||(j4(e)&&Q4(t)?{type:"bpmn:Association",associationDirection:"One"}:!!m5(e,t)&&{type:"bpmn:Association"})}function t5(e,t,n){return!(!SY(e)&&!F4(e))||!(Object(bU["is"])(t,"bpmn:Participant")&&!vU(t))&&(Object(bU["is"])(e,"bpmn:Participant")?Object(bU["is"])(t,"bpmn:Process")||Object(bU["is"])(t,"bpmn:Collaboration"):WK(e,["bpmn:DataInput","bpmn:DataOutput"])&&e.parent?t===e.parent:Object(bU["is"])(e,"bpmn:Lane")?Object(bU["is"])(t,"bpmn:Participant")||Object(bU["is"])(t,"bpmn:Lane"):!(Object(bU["is"])(e,"bpmn:BoundaryEvent")&&!n5(e))&&(Object(bU["is"])(e,"bpmn:FlowElement")&&!Object(bU["is"])(e,"bpmn:DataStoreReference")?Object(bU["is"])(t,"bpmn:FlowElementsContainer")?vU(t):WK(t,["bpmn:Participant","bpmn:Lane"]):WK(e,["bpmn:Artifact","bpmn:DataAssociation","bpmn:DataStoreReference"])?WK(t,["bpmn:Collaboration","bpmn:Lane","bpmn:Participant","bpmn:Process","bpmn:SubProcess"]):!!Object(bU["is"])(e,"bpmn:MessageFlow")&&(Object(bU["is"])(t,"bpmn:Collaboration")||e.source.parent==t||e.target.parent==t)))}function n5(e){return Object(bU["getBusinessObject"])(e).cancelActivity&&(s5(e)||a5(e))}function i5(e){return!SY(e)&&Object(bU["is"])(e,"bpmn:BoundaryEvent")}function o5(e){return Object(bU["is"])(e,"bpmn:Lane")}function r5(e){return!!i5(e)||(!(!Object(bU["is"])(e,"bpmn:IntermediateThrowEvent")||!s5(e))||Object(bU["is"])(e,"bpmn:IntermediateCatchEvent")&&a5(e))}function s5(e){var t=Object(bU["getBusinessObject"])(e);return t&&!(t.eventDefinitions&&t.eventDefinitions.length)}function a5(e){return l5(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])}function l5(e,t){return t.some((function(t){return Y4(e,t)}))}function c5(e){return Object(bU["is"])(e,"bpmn:ReceiveTask")&&Object(Zj["find"])(e.incoming,(function(e){return Object(bU["is"])(e.source,"bpmn:EventBasedGateway")}))}function h5(e,t,n,i){if(Array.isArray(e)||(e=[e]),1!==e.length)return!1;var o=e[0];return!SY(o)&&(!!r5(o)&&(!wU(t)&&(!(!Object(bU["is"])(t,"bpmn:Activity")||Q4(t))&&(!(i&&!L4(i,t))&&(!c5(t)&&"attach")))))}function u5(e,t,n){if(!t)return!1;var i={replacements:[]};return Object(Zj["forEach"])(e,(function(e){wU(t)||Object(bU["is"])(e,"bpmn:StartEvent")&&"label"!==e.type&&t5(e,t)&&(yU(e)||i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),(AU(e)||CU(e)||EU(e))&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"}),l5(e,["bpmn:MessageEventDefinition","bpmn:TimerEventDefinition","bpmn:SignalEventDefinition","bpmn:ConditionalEventDefinition"])&&Object(bU["is"])(t,"bpmn:SubProcess")&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:StartEvent"})),Object(bU["is"])(t,"bpmn:Transaction")||Y4(e,"bpmn:CancelEventDefinition")&&"label"!==e.type&&(Object(bU["is"])(e,"bpmn:EndEvent")&&t5(e,t)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:EndEvent"}),Object(bU["is"])(e,"bpmn:BoundaryEvent")&&h5(e,t,null,n)&&i.replacements.push({oldElementId:e.id,newElementType:"bpmn:BoundaryEvent"}))})),!!i.replacements.length&&i}function d5(e,t){return!Object(Zj["some"])(e,o5)&&(!t||e.every((function(e){return t5(e,t)})))}function p5(e,t,n,i){return!!t&&(!(!SY(e)&&!F4(e))||!O4(n,t)&&((!n||!Z4(n,t))&&(t5(e,t,i)||w5(e,t,i))))}function f5(e,t){return Object(bU["is"])(e,"bpmn:SubProcess")?vU(e)&&(!t||t.width>=100&&t.height>=80):Object(bU["is"])(e,"bpmn:Lane")?!t||t.width>=130&&t.height>=60:Object(bU["is"])(e,"bpmn:Participant")?!t||t.width>=250&&t.height>=50:!!P4(e)||!!F4(e)}function g5(e,t){var n=P4(e),i=P4(t);return(n||i)&&n!==i}function m5(e,t){return!X4(e)&&!X4(t)&&(!(!j4(e)||!Q4(t))||!Z4(t,e)&&!Z4(e,t)&&(!!g5(e,t)||!!y5(e,t)))}function b5(e,t){return!(x5(e)&&!x5(t))&&(V4(e)&&W4(t)&&!z4(e,t))}function v5(e,t){return!(J4(t)&&t.incoming.length>0&&E5(t.incoming)&&!Object(bU["is"])(e,"bpmn:EventBasedGateway"))&&(K4(e)&&q4(t)&&U4(e,t)&&!(Object(bU["is"])(e,"bpmn:EventBasedGateway")&&!J4(t)))}function y5(e,t){return WK(e,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&WK(t,["bpmn:Activity","bpmn:ThrowEvent"])?{type:"bpmn:DataInputAssociation"}:!(!WK(t,["bpmn:DataObjectReference","bpmn:DataStoreReference"])||!WK(e,["bpmn:Activity","bpmn:CatchEvent"]))&&{type:"bpmn:DataOutputAssociation"}}function w5(e,t,n){if(!t)return!1;if(Array.isArray(e)){if(1!==e.length)return!1;e=e[0]}return t.source!==e&&t.target!==e&&(WK(t,["bpmn:SequenceFlow","bpmn:MessageFlow"])&&!SY(t)&&Object(bU["is"])(e,"bpmn:FlowNode")&&!Object(bU["is"])(e,"bpmn:BoundaryEvent")&&t5(e,t.parent,n))}function _5(e,t){return e&&t&&-1!==e.indexOf(t)}function A5(e,t){return!!SY(t)||!(Object(bU["is"])(t,"bpmn:Lane")&&!_5(e,t.parent))}function C5(e){if(e&&e.source)return Object(bU["is"])(e.source,"bpmn:EventBasedGateway")}function E5(e){return e=e||[],e.some(C5)}function x5(e){return HK(e,"bpmn:Process")||HK(e,"bpmn:Collaboration")}Kj()(B4,sq),B4.$inject=["eventBus"],B4.prototype.init=function(){this.addRule("connection.start",(function(e){var t=e.source;return I4(t)})),this.addRule("connection.create",(function(e){var t=e.source,n=e.target,i=e.hints||{},o=i.targetParent,r=i.targetAttach;if(r)return!1;o&&(n.parent=o);try{return e5(t,n)}finally{o&&(n.parent=null)}})),this.addRule("connection.reconnect",(function(e){var t=e.connection,n=e.source,i=e.target;return e5(n,i,t)})),this.addRule("connection.updateWaypoints",(function(e){return{type:e.connection.type}})),this.addRule("shape.resize",(function(e){var t=e.shape,n=e.newBounds;return f5(t,n)})),this.addRule("elements.create",(function(e){var t=e.elements,n=e.position,i=e.target;return!(X4(i)&&!w5(t,i,n))&&Object(Zj["every"])(t,(function(e){return X4(e)?e5(e.source,e.target,e):e.host?h5(e,e.host,null,n):p5(e,i,null,n)}))})),this.addRule("elements.move",(function(e){var t=e.target,n=e.shapes,i=e.position;return h5(n,t,null,i)||u5(n,t,i)||d5(n,t,i)||w5(n,t,i)})),this.addRule("shape.create",(function(e){return p5(e.shape,e.target,e.source,e.position)})),this.addRule("shape.attach",(function(e){return h5(e.shape,e.target,null,e.position)})),this.addRule("element.copy",(function(e){var t=e.element,n=e.elements;return A5(n,t)}))},B4.prototype.canConnectMessageFlow=b5,B4.prototype.canConnectSequenceFlow=v5,B4.prototype.canConnectDataAssociation=y5,B4.prototype.canConnectAssociation=m5,B4.prototype.canMove=d5,B4.prototype.canAttach=h5,B4.prototype.canReplace=u5,B4.prototype.canDrop=t5,B4.prototype.canInsert=w5,B4.prototype.canCreate=p5,B4.prototype.canConnect=e5,B4.prototype.canResize=f5,B4.prototype.canCopy=A5;var S5={__depends__:[xq],__init__:["bpmnRules"],bpmnRules:["type",B4]},D5=2e3;function k5(e,t){function n(){var e,n,i=t.getRootElement(),o=Object(bU["getBusinessObject"])(i).di;e=cz([i],!1),e=Object(Zj["filter"])(e,(function(e){return e!==i&&!e.labelTarget})),n=Object(Zj["map"])(e,BU),o.set("planeElement",n)}e.on("saveXML.start",D5,n)}k5.$inject=["eventBus","canvas"];var M5={__init__:["bpmnDiOrdering"],bpmnDiOrdering:["type",k5]};function N5(e){ZK.call(this,e);var t=this;this.preExecute(["shape.create","connection.create"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.parent=r.parent),n.parentIndex=r.index)})),this.preExecute(["shape.move","connection.move"],(function(e){var n=e.context,i=n.shape||n.connection,o=n.newParent||i.parent,r=t.getOrdering(i,o);r&&(void 0!==r.parent&&(n.newParent=r.parent),n.newParentIndex=r.index)}))}function L5(e,t,n){N5.call(this,e);var i=[{type:"bpmn:SubProcess",order:{level:6}},{type:"bpmn:SequenceFlow",order:{level:3,containers:["bpmn:Participant","bpmn:FlowElementsContainer"]}},{type:"bpmn:DataAssociation",order:{level:9,containers:["bpmn:Collaboration","bpmn:Process"]}},{type:"bpmn:MessageFlow",order:{level:9,containers:["bpmn:Collaboration"]}},{type:"bpmn:Association",order:{level:6,containers:["bpmn:Participant","bpmn:FlowElementsContainer","bpmn:Collaboration"]}},{type:"bpmn:BoundaryEvent",order:{level:8}},{type:"bpmn:Group",order:{level:10,containers:["bpmn:Collaboration","bpmn:Process"]}},{type:"bpmn:FlowElement",order:{level:5}},{type:"bpmn:Participant",order:{level:-2}},{type:"bpmn:Lane",order:{level:-1}}];function o(e){if(e.labelTarget)return{level:10};var t=Object(Zj["find"])(i,(function(t){return WK(e,[t.type])}));return t&&t.order||{level:1}}function r(e){var t=e.order;return t||(e.order=t=o(e)),t}function s(e,t,i){var o=t;while(o){if(WK(o,i))break;o=o.parent}if(!o)throw new Error(n("no parent for {element} in {parent}",{element:e.id,parent:t.id}));return o}this.getOrdering=function(e,n){if(e.labelTarget)return{parent:t.getRootElement(),index:-1};var i=r(e);i.containers&&(n=s(e,n,i.containers));var o=n.children.indexOf(e),a=Object(Zj["findIndex"])(n.children,(function(t){return!(!e.labelTarget&&t.labelTarget)&&i.level<r(t).level}));return-1!==a&&-1!==o&&o<a&&(a-=1),{index:a,parent:n}}}N5.prototype.getOrdering=function(e,t){return null},Kj()(N5,ZK),L5.$inject=["eventBus","canvas","translate"],Kj()(L5,N5);var B5={__depends__:[bY],__init__:["bpmnOrderingProvider"],bpmnOrderingProvider:["type",L5]};function I5(e,t){this._handlerMap={},this._stack=[],this._stackIdx=-1,this._currentExecution={actions:[],dirty:[],trigger:null},this._injector=t,this._eventBus=e,this._uid=1,e.on(["diagram.destroy","diagram.clear"],(function(){this.clear(!1)}),this)}I5.$inject=["eventBus","injector"],I5.prototype.execute=function(e,t){if(!e)throw new Error("command required");this._currentExecution.trigger="execute";var n={command:e,context:t};this._pushAction(n),this._internalExecute(n),this._popAction(n)},I5.prototype.canExecute=function(e,t){var n={command:e,context:t},i=this._getHandler(e),o=this._fire(e,"canExecute",n);if(void 0===o){if(!i)return!1;i.canExecute&&(o=i.canExecute(t))}return o},I5.prototype.clear=function(e){this._stack.length=0,this._stackIdx=-1,!1!==e&&this._fire("changed",{trigger:"clear"})},I5.prototype.undo=function(){var e,t=this._getUndoAction();if(t){this._currentExecution.trigger="undo",this._pushAction(t);while(t){if(this._internalUndo(t),e=this._getUndoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},I5.prototype.redo=function(){var e,t=this._getRedoAction();if(t){this._currentExecution.trigger="redo",this._pushAction(t);while(t){if(this._internalExecute(t,!0),e=this._getRedoAction(),!e||e.id!==t.id)break;t=e}this._popAction()}},I5.prototype.register=function(e,t){this._setHandler(e,t)},I5.prototype.registerHandler=function(e,t){if(!e||!t)throw new Error("command and handlerCls must be defined");var n=this._injector.instantiate(t);this.register(e,n)},I5.prototype.canUndo=function(){return!!this._getUndoAction()},I5.prototype.canRedo=function(){return!!this._getRedoAction()},I5.prototype._getRedoAction=function(){return this._stack[this._stackIdx+1]},I5.prototype._getUndoAction=function(){return this._stack[this._stackIdx]},I5.prototype._internalUndo=function(e){var t=this,n=e.command,i=e.context,o=this._getHandler(n);this._atomicDo((function(){t._fire(n,"revert",e),o.revert&&t._markDirty(o.revert(i)),t._revertedAction(e),t._fire(n,"reverted",e)}))},I5.prototype._fire=function(e,t,n){arguments.length<3&&(n=t,t=null);var i,o,r,s=t?[e+"."+t,t]:[e];for(n=this._eventBus.createEvent(n),i=0;o=s[i];i++)if(r=this._eventBus.fire("commandStack."+o,n),n.cancelBubble)break;return r},I5.prototype._createId=function(){return this._uid++},I5.prototype._atomicDo=function(e){var t=this._currentExecution;t.atomic=!0;try{e()}finally{t.atomic=!1}},I5.prototype._internalExecute=function(e,t){var n=this,i=e.command,o=e.context,r=this._getHandler(i);if(!r)throw new Error("no command handler registered for <"+i+">");this._pushAction(e),t||(this._fire(i,"preExecute",e),r.preExecute&&r.preExecute(o),this._fire(i,"preExecuted",e)),this._atomicDo((function(){n._fire(i,"execute",e),r.execute&&n._markDirty(r.execute(o)),n._executedAction(e,t),n._fire(i,"executed",e)})),t||(this._fire(i,"postExecute",e),r.postExecute&&r.postExecute(o),this._fire(i,"postExecuted",e)),this._popAction(e)},I5.prototype._pushAction=function(e){var t=this._currentExecution,n=t.actions,i=n[0];if(t.atomic)throw new Error("illegal invocation in <execute> or <revert> phase (action: "+e.command+")");e.id||(e.id=i&&i.id||this._createId()),n.push(e)},I5.prototype._popAction=function(){var e=this._currentExecution,t=e.trigger,n=e.actions,i=e.dirty;n.pop(),n.length||(this._eventBus.fire("elements.changed",{elements:Object(Zj["uniqueBy"])("id",i.reverse())}),i.length=0,this._fire("changed",{trigger:t}),e.trigger=null)},I5.prototype._markDirty=function(e){var t=this._currentExecution;e&&(e=Object(Zj["isArray"])(e)?e:[e],t.dirty=t.dirty.concat(e))},I5.prototype._executedAction=function(e,t){var n=++this._stackIdx;t||this._stack.splice(n,this._stack.length,e)},I5.prototype._revertedAction=function(e){this._stackIdx--},I5.prototype._getHandler=function(e){return this._handlerMap[e]},I5.prototype._setHandler=function(e,t){if(!e||!t)throw new Error("command and handler required");if(this._handlerMap[e])throw new Error("overriding handler for command <"+e+">");this._handlerMap[e]=t};var T5={commandStack:["type",I5]},O5=new sG("tt");function R5(e){var t=Object(eQ["domify"])('<div class="djs-tooltip-container" style="position: absolute; width: 0; height: 0;" />');return e.insertBefore(t,e.firstChild),t}function P5(e,t,n){Object(Zj["assign"])(e.style,{left:t+"px",top:n+"px"})}function F5(e,t){e.style.display=!1===t?"none":""}var j5="djs-tooltip",Q5="."+j5;function z5(e,t){this._eventBus=e,this._canvas=t,this._ids=O5,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=R5(t.getContainer());var n=this;eQ["delegate"].bind(this._tooltipRoot,Q5,"mousedown",(function(e){e.stopPropagation()})),eQ["delegate"].bind(this._tooltipRoot,Q5,"mouseover",(function(e){n.trigger("mouseover",e)})),eQ["delegate"].bind(this._tooltipRoot,Q5,"mouseout",(function(e){n.trigger("mouseout",e)})),this._init()}z5.$inject=["eventBus","canvas"],z5.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var t=this._ids.next();return e=Object(Zj["assign"])({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},z5.prototype.trigger=function(e,t){var n=t.delegateTarget||t.target,i=this.get(Object(eQ["attr"])(n,"data-tooltip-id"));i&&("mouseover"===e&&i.timeout&&this.clearTimeout(i),"mouseout"===e&&i.timeout&&(i.timeout=1e3,this.setTimeout(i)))},z5.prototype.get=function(e){return"string"!==typeof e&&(e=e.id),this._tooltips[e]},z5.prototype.clearTimeout=function(e){if(e=this.get(e),e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},z5.prototype.setTimeout=function(e){if(e=this.get(e),e){this.clearTimeout(e);var t=this;e.removeTimer=setTimeout((function(){t.remove(e)}),e.timeout)}},z5.prototype.remove=function(e){var t=this.get(e);t&&(Object(eQ["remove"])(t.html),Object(eQ["remove"])(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},z5.prototype.show=function(){F5(this._tooltipRoot)},z5.prototype.hide=function(){F5(this._tooltipRoot,!1)},z5.prototype._updateRoot=function(e){var t=e.scale||1,n=e.scale||1,i="matrix("+t+",0,0,"+n+","+-1*e.x*t+","+-1*e.y*n+")";this._tooltipRoot.style.transform=i,this._tooltipRoot.style["-ms-transform"]=i},z5.prototype._addTooltip=function(e){var t,n=e.id,i=e.html,o=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),Object(Zj["isString"])(i)&&(i=Object(eQ["domify"])(i)),t=Object(eQ["domify"])('<div data-tooltip-id="'+n+'" class="'+j5+'" style="position: absolute">'),t.appendChild(i),e.type&&Object(eQ["classes"])(t).add("djs-tooltip-"+e.type),e.className&&Object(eQ["classes"])(t).add(e.className),e.htmlContainer=t,o.appendChild(t),this._tooltips[n]=e,this._updateTooltip(e)},z5.prototype._updateTooltip=function(e){var t=e.position,n=e.htmlContainer;P5(n,t.x,t.y)},z5.prototype._updateTooltipVisibilty=function(e){Object(Zj["forEach"])(this._tooltips,(function(t){var n=t.show,i=t.htmlContainer,o=!0;n&&((n.minZoom>e.scale||n.maxZoom<e.scale)&&(o=!1),F5(i,o))}))},z5.prototype._init=function(){var e=this;function t(t){e._updateRoot(t),e._updateTooltipVisibilty(t),e.show()}this._eventBus.on("canvas.viewbox.changing",(function(t){e.hide()})),this._eventBus.on("canvas.viewbox.changed",(function(e){t(e.viewbox)}))};var V5={__init__:["tooltips"],tooltips:["type",z5]};function W5(e,t){if("function"!==typeof t)throw new Error("removeFn iterator must be a function");if(e){var n;while(n=e[0])t(n);return e}}var H5=250,U5=1400;function Y5(e,t,n){ZK.call(this,t);var i=e.get("movePreview",!1);t.on("shape.move.start",U5,(function(e){var t=e.context,n=t.shapes,i=t.validatedShapes;t.shapes=G5(n),t.validatedShapes=G5(i)})),i&&t.on("shape.move.start",H5,(function(e){var t=e.context,n=t.shapes,o=[];Object(Zj["forEach"])(n,(function(e){Object(Zj["forEach"])(e.labels,(function(n){n.hidden||-1!==t.shapes.indexOf(n)||o.push(n),e.labelTarget&&o.push(e)}))})),Object(Zj["forEach"])(o,(function(e){i.makeDraggable(t,e,!0)}))})),this.preExecuted("elements.move",U5,(function(e){var t=e.context,n=t.closure,i=n.enclosedElements,o=[];Object(Zj["forEach"])(i,(function(e){Object(Zj["forEach"])(e.labels,(function(e){i[e.id]||o.push(e)}))})),n.addAll(o)})),this.preExecute(["connection.delete","shape.delete"],(function(e){var t=e.context,i=t.connection||t.shape;W5(i.labels,(function(e){n.removeShape(e,{nested:!0})}))})),this.execute("shape.delete",(function(e){var t=e.context,n=t.shape,i=n.labelTarget;i&&(t.labelTargetIndex=Az(i.labels,n),t.labelTarget=i,n.labelTarget=null)})),this.revert("shape.delete",(function(e){var t=e.context,n=t.shape,i=t.labelTarget,o=t.labelTargetIndex;i&&(_z(i.labels,n,o),n.labelTarget=i)}))}function G5(e){return Object(Zj["filter"])(e,(function(t){return-1===e.indexOf(t.labelTarget)}))}Kj()(Y5,ZK),Y5.$inject=["injector","eventBus","modeling"];var K5={__init__:["labelSupport"],labelSupport:["type",Y5]},q5=251,J5=1401,X5="attach-ok";function $5(e,t,n,i,o){ZK.call(this,t);var r=e.get("movePreview",!1);t.on("shape.move.start",J5,(function(e){var t=e.context,n=t.shapes,i=t.validatedShapes;t.shapes=e3(n),t.validatedShapes=t3(i)})),r&&t.on("shape.move.start",q5,(function(e){var t=e.context,n=t.shapes,i=Z5(n);Object(Zj["forEach"])(i,(function(e){r.makeDraggable(t,e,!0),Object(Zj["forEach"])(e.labels,(function(e){r.makeDraggable(t,e,!0)}))}))})),r&&t.on("shape.move.start",(function(e){var i=e.context,o=i.shapes;if(1===o.length){var r=o[0],s=r.host;s&&(n.addMarker(s,X5),t.once(["shape.move.out","shape.move.cleanup"],(function(){n.removeMarker(s,X5)})))}})),this.preExecuted("elements.move",J5,(function(e){var t=e.context,n=t.closure,i=t.shapes,o=Z5(i);Object(Zj["forEach"])(o,(function(e){n.add(e,n.topLevel[e.host.id])}))})),this.postExecuted("elements.move",(function(e){var t,n=e.context,i=n.shapes,r=n.newHost;r&&1!==i.length||(t=r?i:Object(Zj["filter"])(i,(function(e){var t=e.host;return n3(e)&&!i3(i,t)})),Object(Zj["forEach"])(t,(function(e){o.updateAttachment(e,r)})))})),this.postExecuted("elements.move",(function(e){var t=e.context.shapes;Object(Zj["forEach"])(t,(function(e){Object(Zj["forEach"])(e.attachers,(function(e){Object(Zj["forEach"])(e.outgoing.slice(),(function(e){var t=i.allowed("connection.reconnect",{connection:e,source:e.source,target:e.target});t||o.removeConnection(e)})),Object(Zj["forEach"])(e.incoming.slice(),(function(e){var t=i.allowed("connection.reconnect",{connection:e,source:e.source,target:e.target});t||o.removeConnection(e)}))}))}))})),this.postExecute("shape.create",(function(e){var t=e.context,n=t.shape,i=t.host;i&&o.updateAttachment(n,i)})),this.postExecute("shape.replace",(function(e){var t=e.context,n=t.oldShape,r=t.newShape;W5(n.attachers,(function(e){var t=i.allowed("elements.move",{target:r,shapes:[e]});"attach"===t?o.updateAttachment(e,r):o.removeShape(e)})),r.attachers.length&&Object(Zj["forEach"])(r.attachers,(function(e){var t=p2(e,n,r);o.moveShape(e,t,e.parent)}))})),this.postExecute("shape.resize",(function(e){var t=e.context,n=t.shape,i=t.oldBounds,r=t.newBounds,s=n.attachers,a=t.hints||{};!1!==a.attachSupport&&Object(Zj["forEach"])(s,(function(e){var t=p2(e,i,r);o.moveShape(e,t,e.parent),Object(Zj["forEach"])(e.labels,(function(e){o.moveShape(e,t,e.parent)}))}))})),this.preExecute("shape.delete",(function(e){var t=e.context.shape;W5(t.attachers,(function(e){o.removeShape(e)})),t.host&&o.updateAttachment(t,null)}))}function Z5(e){return Object(Zj["flatten"])(Object(Zj["map"])(e,(function(e){return e.attachers||[]})))}function e3(e){var t=Z5(e);return Object(Zj["unionBy"])("id",e,t)}function t3(e){var t=Object(Zj["groupBy"])(e,"id");return Object(Zj["filter"])(e,(function(e){while(e){if(e.host&&t[e.host.id])return!1;e=e.parent}return!0}))}function n3(e){return!!e.host}function i3(e,t){return-1!==e.indexOf(t)}Kj()($5,ZK),$5.$inject=["injector","eventBus","canvas","rules","modeling"];var o3={__depends__:[xq],__init__:["attachSupport"],attachSupport:["type",$5]},r3=250;function s3(e,t){this._eventBus=e,this._dragging=t,this._tools=[],this._active=null}function a3(e){var t=e.originalEvent&&e.originalEvent.target;return t&&Object(eQ["closest"])(t,'.group[data-group="tools"]')}s3.$inject=["eventBus","dragging"],s3.prototype.registerTool=function(e,t){var n=this._tools;if(!t)throw new Error('A tool has to be registered with it\'s "events"');n.push(e),this.bindEvents(e,t)},s3.prototype.isActive=function(e){return e&&this._active===e},s3.prototype.length=function(e){return this._tools.length},s3.prototype.setActive=function(e){var t=this._eventBus;this._active!==e&&(this._active=e,t.fire("tool-manager.update",{tool:e}))},s3.prototype.bindEvents=function(e,t){var n=this._eventBus,i=this._dragging,o=[];n.on(t.tool+".init",(function(t){var n=t.context;if(!n.reactivate&&this.isActive(e))return this.setActive(null),void i.cancel();this.setActive(e)}),this),Object(Zj["forEach"])(t,(function(e){o.push(e+".ended"),o.push(e+".canceled")})),n.on(o,r3,(function(e){this._active&&(a3(e)||this.setActive(null))}),this)};var l3={__depends__:[wq],__init__:["toolManager"],toolManager:["type",s3]};function c3(e,t){if("x"===e){if(t>0)return"e";if(t<0)return"w"}if("y"===e){if(t>0)return"s";if(t<0)return"n"}return null}function h3(e,t){var n=[];return Object(Zj["forEach"])(e.concat(t),(function(i){var o=i.incoming,r=i.outgoing;Object(Zj["forEach"])(o.concat(r),(function(i){var o=i.source,r=i.target;(u3(e,o)||u3(e,r)||u3(t,o)||u3(t,r))&&(u3(n,i)||n.push(i))}))})),n}function u3(e,t){return-1!==e.indexOf(t)}function d3(e,t,n){var i=e.x,o=e.y,r=e.width,s=e.height,a=n.x,l=n.y;switch(t){case"n":return{x:i,y:o+l,width:r,height:s-l};case"s":return{x:i,y:o,width:r,height:s+l};case"w":return{x:i+a,y:o,width:r-a,height:s};case"e":return{x:i,y:o,width:r+a,height:s};default:throw new Error("unknown direction: "+t)}}var p3=Math.abs,f3=Math.round,g3={x:"width",y:"height"},m3="crosshair",b3={n:"top",w:"left",s:"bottom",e:"right"},v3=1500,y3={n:"s",w:"e",s:"n",e:"w"},w3=20;function _3(e,t,n,i,o,r,s){this._canvas=e,this._dragging=t,this._eventBus=n,this._modeling=i,this._rules=o,this._toolManager=r,this._mouse=s;var a=this;r.registerTool("space",{tool:"spaceTool.selection",dragging:"spaceTool"}),n.on("spaceTool.selection.end",(function(e){n.once("spaceTool.selection.ended",(function(){a.activateMakeSpace(e.originalEvent)}))})),n.on("spaceTool.move",v3,(function(e){var t=e.context,n=t.initialized;n||(n=t.initialized=a.init(e,t)),n&&C3(e)})),n.on("spaceTool.end",(function(e){var t=e.context,i=t.axis,o=t.direction,r=t.movingShapes,s=t.resizingShapes,l=t.start;if(t.initialized){C3(e);var c={x:0,y:0};c[i]=f3(e["d"+i]),a.makeSpace(r,s,c,o,l),n.once("spaceTool.ended",(function(e){a.activateSelection(e.originalEvent,!0,!0)}))}}))}function A3(e){return{top:e.top-w3,right:e.right+w3,bottom:e.bottom+w3,left:e.left-w3}}function C3(e){var t,n,i=e.context,o=i.spaceToolConstraints;o&&(Object(Zj["isNumber"])(o.left)&&(t=Math.max(e.x,o.left),e.dx=e.dx+t-e.x,e.x=t),Object(Zj["isNumber"])(o.right)&&(t=Math.min(e.x,o.right),e.dx=e.dx+t-e.x,e.x=t),Object(Zj["isNumber"])(o.top)&&(n=Math.max(e.y,o.top),e.dy=e.dy+n-e.y,e.y=n),Object(Zj["isNumber"])(o.bottom)&&(n=Math.min(e.y,o.bottom),e.dy=e.dy+n-e.y,e.y=n))}function E3(e,t,n,i,o){var r=e.movingShapes,s=e.resizingShapes;if(s.length){var a,l,c={};return Object(Zj["forEach"])(s,(function(e){var h,u,d,p=Oz(e),f=Object(Zj["filter"])(e.children,(function(e){return!S3(e)&&!D3(e)&&!x3(r,e)&&!x3(s,e)})),g=Object(Zj["filter"])(e.children,(function(e){return!S3(e)&&!D3(e)&&x3(r,e)}));f.length&&(u=A3(Oz(uz(f))),h=i-p[b3[n]]+u[b3[n]],"n"===n?c.bottom=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h:"w"===n?c.right=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h:"s"===n?c.top=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h:"e"===n&&(c.left=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h)),g.length&&(d=A3(Oz(uz(g))),h=i-d[b3[y3[n]]]+p[b3[y3[n]]],"n"===n?c.bottom=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h:"w"===n?c.right=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h:"s"===n?c.top=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h:"e"===n&&(c.left=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h));var m=o&&o[e.id];m&&("n"===n?(h=i+e[g3[t]]-m[g3[t]],c.bottom=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h):"w"===n?(h=i+e[g3[t]]-m[g3[t]],c.right=l=Object(Zj["isNumber"])(l)?Math.min(l,h):h):"s"===n?(h=i-e[g3[t]]+m[g3[t]],c.top=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h):"e"===n&&(h=i-e[g3[t]]+m[g3[t]],c.left=a=Object(Zj["isNumber"])(a)?Math.max(a,h):h))})),c}}function x3(e,t){return-1!==e.indexOf(t)}function S3(e){return!!e.waypoints}function D3(e){return!!e.labelTarget}_3.$inject=["canvas","dragging","eventBus","modeling","rules","toolManager","mouse"],_3.prototype.activateSelection=function(e,t,n){this._dragging.init(e,"spaceTool.selection",{autoActivate:t,cursor:m3,data:{context:{reactivate:n}},trapClick:!1})},_3.prototype.activateMakeSpace=function(e){this._dragging.init(e,"spaceTool",{autoActivate:!0,cursor:m3,data:{context:{}}})},_3.prototype.makeSpace=function(e,t,n,i,o){return this._modeling.createSpace(e,t,n,i,o)},_3.prototype.init=function(e,t){var n=p3(e.dx)>p3(e.dy)?"x":"y",i=e["d"+n],o=e[n]-i;if(p3(i)<5)return!1;i<0&&(i*=-1),WY(e)&&(i*=-1);var r=c3(n,i),s=this._canvas.getRootElement(),a=cz(s,!0),l=this.calculateAdjustments(a,n,i,o),c=this._eventBus.fire("spaceTool.getMinDimensions",{axis:n,direction:r,shapes:l.resizingShapes,start:o}),h=E3(l,n,r,o,c);return Object(Zj["assign"])(t,l,{axis:n,direction:r,spaceToolConstraints:h,start:o}),QG("resize-"+("x"===n?"ew":"ns")),!0},_3.prototype.calculateAdjustments=function(e,t,n,i){var o=this._rules,r=[],s=[];return Object(Zj["forEach"])(e,(function(e){if(e.parent&&!S3(e)){var a=e[t],l=a+e[g3[t]];return n>0&&a>i||n<0&&l<i?r.push(e):a<i&&l>i&&o.allowed("shape.resize",{shape:e})?s.push(e):void 0}})),{movingShapes:r,resizingShapes:s}},_3.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},_3.prototype.isActive=function(){var e=this._dragging.context();return e&&/^spaceTool/.test(e.prefix)};var k3="djs-dragging",M3="djs-resizing",N3=250,L3=Math.max;function B3(e,t,n,i,o){function r(e,t){Object(Zj["forEach"])(e,(function(e){o.addDragger(e,t),n.addMarker(e,k3)}))}e.on("spaceTool.selection.start",(function(e){var t=n.getLayer("space"),o=e.context,r={x:"M 0,-10000 L 0,10000",y:"M -10000,0 L 10000,0"},s=CQ("g");cQ(s,i.cls("djs-crosshair-group",["no-events"])),iQ(t,s);var a=CQ("path");cQ(a,"d",r.x),fQ(a).add("djs-crosshair"),iQ(s,a);var l=CQ("path");cQ(l,"d",r.y),fQ(l).add("djs-crosshair"),iQ(s,l),o.crosshairGroup=s})),e.on("spaceTool.selection.move",(function(e){var t=e.context.crosshairGroup;AV(t,e.x,e.y)})),e.on("spaceTool.selection.cleanup",(function(e){var t=e.context,n=t.crosshairGroup;n&&mQ(n)})),e.on("spaceTool.move",N3,(function(e){var s=e.context,a=s.line,l=s.axis,c=s.movingShapes,h=s.resizingShapes;if(s.initialized){if(!s.dragGroup){var u=n.getLayer("space");a=CQ("path"),cQ(a,"d","M0,0 L0,0"),fQ(a).add("djs-crosshair"),iQ(u,a),s.line=a;var d=CQ("g");cQ(d,i.cls("djs-drag-group",["no-events"])),iQ(n.getDefaultLayer(),d),r(c,d);var p=s.movingConnections=t.filter((function(e){var t=!1;Object(Zj["forEach"])(c,(function(n){Object(Zj["forEach"])(n.outgoing,(function(n){e===n&&(t=!0)}))}));var n=!1;Object(Zj["forEach"])(c,(function(t){Object(Zj["forEach"])(t.incoming,(function(t){e===t&&(n=!0)}))}));var i=!1;Object(Zj["forEach"])(h,(function(t){Object(Zj["forEach"])(t.outgoing,(function(t){e===t&&(i=!0)}))}));var o=!1;return Object(Zj["forEach"])(h,(function(t){Object(Zj["forEach"])(t.incoming,(function(t){e===t&&(o=!0)}))})),I3(e)&&(t||i)&&(n||o)}));r(p,d),s.dragGroup=d}if(!s.frameGroup){var f=CQ("g");cQ(f,i.cls("djs-frame-group",["no-events"])),iQ(n.getDefaultLayer(),f);var g=[];Object(Zj["forEach"])(h,(function(e){var t=o.addFrame(e,f),i=t.getBBox();g.push({element:t,initialBounds:i}),n.addMarker(e,M3)})),s.frameGroup=f,s.frames=g}var m={x:"M"+e.x+", -10000 L"+e.x+", 10000",y:"M -10000, "+e.y+" L 10000, "+e.y};cQ(a,{d:m[l]});var b={x:"y",y:"x"},v={x:e.dx,y:e.dy};v[b[s.axis]]=0,AV(s.dragGroup,v.x,v.y),Object(Zj["forEach"])(s.frames,(function(e){var t,n,i=e.element,o=e.initialBounds;"e"===s.direction?cQ(i,{width:L3(o.width+v.x,5)}):(t=L3(o.width-v.x,5),cQ(i,{width:t,x:o.x+o.width-t})),"s"===s.direction?cQ(i,{height:L3(o.height+v.y,5)}):(n=L3(o.height-v.y,5),cQ(i,{height:n,y:o.y+o.height-n}))}))}})),e.on("spaceTool.cleanup",(function(e){var t=e.context,i=t.movingShapes,o=t.movingConnections,r=t.resizingShapes,s=t.line,a=t.dragGroup,l=t.frameGroup;Object(Zj["forEach"])(i,(function(e){n.removeMarker(e,k3)})),Object(Zj["forEach"])(o,(function(e){n.removeMarker(e,k3)})),a&&(mQ(s),mQ(a)),Object(Zj["forEach"])(r,(function(e){n.removeMarker(e,M3)})),l&&mQ(l)}))}function I3(e){return e.waypoints}B3.$inject=["eventBus","elementRegistry","canvas","styles","previewSupport"];var T3={__init__:["spaceToolPreview"],__depends__:[wq,xq,l3,uX,RX],spaceTool:["type",_3],spaceToolPreview:["type",B3]};function O3(e){this._model=e}function R3(e,t,n,i){ZK.call(this,e),this._bpmnFactory=t,this._translate=i;var o=this;function r(e){var t,i=e.context,o=i.hints||{};i.cropped||!1===o.createElementsBehavior||(t=i.connection,t.waypoints=n.getCroppedWaypoints(t),i.cropped=!0)}function s(e){var t=e.context;o.updateParent(t.shape||t.connection,t.oldParent)}function a(e){var t=e.context,n=t.shape||t.connection,i=t.parent||t.newParent;o.updateParent(n,i)}function l(e){var t=e.context,n=t.oldRoot,i=n.children;Object(Zj["forEach"])(i,(function(e){Object(bU["is"])(e,"bpmn:BaseElement")&&o.updateParent(e)}))}function c(e){var t=e.context.shape;Object(bU["is"])(t,"bpmn:BaseElement")&&o.updateBounds(t)}function h(e){o.updateConnection(e.context)}function u(e){o.updateConnectionWaypoints(e.context.connection)}function d(e){o.updateAttachment(e.context)}this.executed(["connection.layout","connection.create"],r),this.reverted(["connection.layout"],(function(e){delete e.context.cropped})),this.executed(["shape.move","shape.create","shape.delete","connection.create","connection.move","connection.delete"],F3(s)),this.reverted(["shape.move","shape.create","shape.delete","connection.create","connection.move","connection.delete"],F3(a)),this.executed(["canvas.updateRoot"],l),this.reverted(["canvas.updateRoot"],l),this.executed(["shape.move","shape.create","shape.resize"],F3((function(e){"label"!==e.context.shape.type&&c(e)}))),this.reverted(["shape.move","shape.create","shape.resize"],F3((function(e){"label"!==e.context.shape.type&&c(e)}))),e.on("shape.changed",(function(e){"label"===e.element.type&&c({context:{shape:e.element}})})),this.executed(["connection.create","connection.move","connection.delete","connection.reconnect"],F3(h)),this.reverted(["connection.create","connection.move","connection.delete","connection.reconnect"],F3(h)),this.executed(["connection.layout","connection.move","connection.updateWaypoints"],F3(u)),this.reverted(["connection.layout","connection.move","connection.updateWaypoints"],F3(u)),this.executed("connection.reconnect",F3((function(e){var t=e.context,n=t.connection,i=t.oldSource,o=t.newSource,r=Object(bU["getBusinessObject"])(n),s=Object(bU["getBusinessObject"])(i),a=Object(bU["getBusinessObject"])(o);r.conditionExpression&&!WK(a,["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"])&&(t.oldConditionExpression=r.conditionExpression,delete r.conditionExpression),i!==o&&s.default===r&&(t.oldDefault=s.default,delete s.default)}))),this.reverted("connection.reconnect",F3((function(e){var t=e.context,n=t.connection,i=t.oldSource,o=t.newSource,r=Object(bU["getBusinessObject"])(n),s=Object(bU["getBusinessObject"])(i),a=Object(bU["getBusinessObject"])(o);t.oldConditionExpression&&(r.conditionExpression=t.oldConditionExpression),t.oldDefault&&(s.default=t.oldDefault,delete a.default)}))),this.executed(["element.updateAttachment"],F3(d)),this.reverted(["element.updateAttachment"],F3(d))}function P3(e){while(e&&!Object(bU["is"])(e,"bpmn:Definitions"))e=e.$parent;return e}function F3(e){return function(t){var n=t.context,i=n.shape||n.connection;Object(bU["is"])(i,"bpmn:BaseElement")&&e(t)}}function j3(e,t,n){dV.call(this),this._bpmnFactory=e,this._moddle=t,this._translate=n}function Q3(e,t,n){Object(Zj["forEach"])(n,(function(n){void 0!==t[n]&&z3(e,t,n)}))}function z3(e,t,n){e[n]=t[n],delete t[n]}function V3(e,t){this._modeling=e,this._canvas=t}function W3(e){this._modeling=e}function H3(e,t){return Object(Zj["some"])(e.outgoing,(function(e){return e.target===t}))}function U3(e,t){this._canvas=e,this._layouter=t}O3.$inject=["moddle"],O3.prototype._needsId=function(e){return WK(e,["bpmn:RootElement","bpmn:FlowElement","bpmn:MessageFlow","bpmn:DataAssociation","bpmn:Artifact","bpmn:Participant","bpmn:Lane","bpmn:LaneSet","bpmn:Process","bpmn:Collaboration","bpmndi:BPMNShape","bpmndi:BPMNEdge","bpmndi:BPMNDiagram","bpmndi:BPMNPlane","bpmn:Property","bpmn:CategoryValue"])},O3.prototype._ensureId=function(e){var t;t=Object(bU["is"])(e,"bpmn:Activity")?"Activity":Object(bU["is"])(e,"bpmn:Event")?"Event":Object(bU["is"])(e,"bpmn:Gateway")?"Gateway":WK(e,["bpmn:SequenceFlow","bpmn:MessageFlow"])?"Flow":(e.$type||"").replace(/^[^:]*:/g,""),t+="_",!e.id&&this._needsId(e)&&(e.id=this._model.ids.nextPrefixed(t,e))},O3.prototype.create=function(e,t){var n=this._model.create(e,t||{});return this._ensureId(n),n},O3.prototype.createDiLabel=function(){return this.create("bpmndi:BPMNLabel",{bounds:this.createDiBounds()})},O3.prototype.createDiShape=function(e,t,n){return this.create("bpmndi:BPMNShape",Object(Zj["assign"])({bpmnElement:e,bounds:this.createDiBounds(t)},n))},O3.prototype.createDiBounds=function(e){return this.create("dc:Bounds",e)},O3.prototype.createDiWaypoints=function(e){var t=this;return Object(Zj["map"])(e,(function(e){return t.createDiWaypoint(e)}))},O3.prototype.createDiWaypoint=function(e){return this.create("dc:Point",Object(Zj["pick"])(e,["x","y"]))},O3.prototype.createDiEdge=function(e,t,n){return this.create("bpmndi:BPMNEdge",Object(Zj["assign"])({bpmnElement:e},n))},O3.prototype.createDiPlane=function(e){return this.create("bpmndi:BPMNPlane",{bpmnElement:e})},Kj()(R3,ZK),R3.$inject=["eventBus","bpmnFactory","connectionDocking","translate"],R3.prototype.updateAttachment=function(e){var t=e.shape,n=t.businessObject,i=t.host;n.attachedToRef=i&&i.businessObject},R3.prototype.updateParent=function(e,t){if(!(e instanceof lV)&&!(Object(bU["is"])(e,"bpmn:DataStoreReference")&&e.parent&&Object(bU["is"])(e.parent,"bpmn:Collaboration"))){var n=e.parent,i=e.businessObject,o=n&&n.businessObject,r=o&&o.di;Object(bU["is"])(e,"bpmn:FlowNode")&&this.updateFlowNodeRefs(i,o,t&&t.businessObject),Object(bU["is"])(e,"bpmn:DataOutputAssociation")&&(o=e.source?e.source.businessObject:null),Object(bU["is"])(e,"bpmn:DataInputAssociation")&&(o=e.target?e.target.businessObject:null),this.updateSemanticParent(i,o),Object(bU["is"])(e,"bpmn:DataObjectReference")&&i.dataObjectRef&&this.updateSemanticParent(i.dataObjectRef,o),this.updateDiParent(i.di,r)}},R3.prototype.updateBounds=function(e){var t=e.businessObject.di,n=e instanceof lV?this._getLabel(t):t,i=n.bounds;i||(i=this._bpmnFactory.createDiBounds(),n.set("bounds",i)),Object(Zj["assign"])(i,{x:e.x,y:e.y,width:e.width,height:e.height})},R3.prototype.updateFlowNodeRefs=function(e,t,n){var i,o;n!==t&&(Object(bU["is"])(n,"bpmn:Lane")&&(i=n.get("flowNodeRef"),wz(i,e)),Object(bU["is"])(t,"bpmn:Lane")&&(o=t.get("flowNodeRef"),_z(o,e)))},R3.prototype.updateDiConnection=function(e,t,n){e.sourceElement&&e.sourceElement.bpmnElement!==t&&(e.sourceElement=t&&t.di),e.targetElement&&e.targetElement.bpmnElement!==n&&(e.targetElement=n&&n.di)},R3.prototype.updateDiParent=function(e,t){if(t&&!Object(bU["is"])(t,"bpmndi:BPMNPlane")&&(t=t.$parent),e.$parent!==t){var n=(t||e.$parent).get("planeElement");t?(n.push(e),e.$parent=t):(wz(n,e),e.$parent=null)}},R3.prototype.getLaneSet=function(e){var t,n;return Object(bU["is"])(e,"bpmn:Lane")?(t=e.childLaneSet,t||(t=this._bpmnFactory.create("bpmn:LaneSet"),e.childLaneSet=t,t.$parent=e),t):(Object(bU["is"])(e,"bpmn:Participant")&&(e=e.processRef),n=e.get("laneSets"),t=n[0],t||(t=this._bpmnFactory.create("bpmn:LaneSet"),t.$parent=e,n.push(t)),t)},R3.prototype.updateSemanticParent=function(e,t,n){var i,o=this._translate;if(e.$parent!==t&&(!Object(bU["is"])(e,"bpmn:DataInput")&&!Object(bU["is"])(e,"bpmn:DataOutput")||(Object(bU["is"])(t,"bpmn:Participant")&&"processRef"in t&&(t=t.processRef),!("ioSpecification"in t)||t.ioSpecification!==e.$parent))){if(Object(bU["is"])(e,"bpmn:Lane"))t&&(t=this.getLaneSet(t)),i="lanes";else if(Object(bU["is"])(e,"bpmn:FlowElement")){if(t)if(Object(bU["is"])(t,"bpmn:Participant"))t=t.processRef;else if(Object(bU["is"])(t,"bpmn:Lane"))do{t=t.$parent.$parent}while(Object(bU["is"])(t,"bpmn:Lane"));i="flowElements"}else if(Object(bU["is"])(e,"bpmn:Artifact")){while(t&&!Object(bU["is"])(t,"bpmn:Process")&&!Object(bU["is"])(t,"bpmn:SubProcess")&&!Object(bU["is"])(t,"bpmn:Collaboration")){if(Object(bU["is"])(t,"bpmn:Participant")){t=t.processRef;break}t=t.$parent}i="artifacts"}else if(Object(bU["is"])(e,"bpmn:MessageFlow"))i="messageFlows";else if(Object(bU["is"])(e,"bpmn:Participant")){i="participants";var r,s=e.processRef;s&&(r=P3(e.$parent||t),e.$parent&&(wz(r.get("rootElements"),s),s.$parent=null),t&&(_z(r.get("rootElements"),s),s.$parent=r))}else Object(bU["is"])(e,"bpmn:DataOutputAssociation")?i="dataOutputAssociations":Object(bU["is"])(e,"bpmn:DataInputAssociation")&&(i="dataInputAssociations");if(!i)throw new Error(o("no parent for {element} in {parent}",{element:e.id,parent:t.id}));var a;if(e.$parent&&(a=e.$parent.get(i),wz(a,e)),t?(a=t.get(i),a.push(e),e.$parent=t):e.$parent=null,n){var l=n.get(i);wz(a,e),t&&(l||(l=[],t.set(i,l)),l.push(e))}}},R3.prototype.updateConnectionWaypoints=function(e){e.businessObject.di.set("waypoint",this._bpmnFactory.createDiWaypoints(e.waypoints))},R3.prototype.updateConnection=function(e){var t,n=e.connection,i=Object(bU["getBusinessObject"])(n),o=Object(bU["getBusinessObject"])(n.source),r=Object(bU["getBusinessObject"])(n.target);if(Object(bU["is"])(i,"bpmn:DataAssociation"))Object(bU["is"])(i,"bpmn:DataInputAssociation")?(i.get("sourceRef")[0]=o,t=e.parent||e.newParent||r,this.updateSemanticParent(i,r,t)):Object(bU["is"])(i,"bpmn:DataOutputAssociation")&&(t=e.parent||e.newParent||o,this.updateSemanticParent(i,o,t),i.targetRef=r);else{var s=Object(bU["is"])(i,"bpmn:SequenceFlow");i.sourceRef!==o&&(s&&(wz(i.sourceRef&&i.sourceRef.get("outgoing"),i),o&&o.get("outgoing")&&o.get("outgoing").push(i)),i.sourceRef=o),i.targetRef!==r&&(s&&(wz(i.targetRef&&i.targetRef.get("incoming"),i),r&&r.get("incoming")&&r.get("incoming").push(i)),i.targetRef=r)}this.updateConnectionWaypoints(n),this.updateDiConnection(i.di,o,r)},R3.prototype._getLabel=function(e){return e.label||(e.label=this._bpmnFactory.createDiLabel()),e.label},Kj()(j3,dV),j3.$inject=["bpmnFactory","moddle","translate"],j3.prototype.baseCreate=dV.prototype.create,j3.prototype.create=function(e,t){return"label"===e?this.baseCreate(e,Object(Zj["assign"])({type:"label"},vY,t)):this.createBpmnElement(e,t)},j3.prototype.createBpmnElement=function(e,t){var n,i=this._translate;t=t||{};var o,r,s=t.businessObject;if(!s){if(!t.type)throw new Error(i("no shape type specified"));s=this._bpmnFactory.create(t.type)}return s.di||(s.di="root"===e?this._bpmnFactory.createDiPlane(s,[],{id:s.id+"_di"}):"connection"===e?this._bpmnFactory.createDiEdge(s,[],{id:s.id+"_di"}):this._bpmnFactory.createDiShape(s,{},{id:s.id+"_di"})),Object(bU["is"])(s,"bpmn:Group")&&(t=Object(Zj["assign"])({isFrame:!0},t)),t.di&&(Object(Zj["assign"])(s.di,t.di),delete t.di),Q3(s,t,["processRef","isInterrupting","associationDirection","isForCompensation"]),t.isExpanded&&z3(s.di,t,"isExpanded"),Object(bU["is"])(s,"bpmn:ExclusiveGateway")&&(s.di.isMarkerVisible=!0),t.eventDefinitionType&&(o=s.get("eventDefinitions")||[],r=this._bpmnFactory.create(t.eventDefinitionType,t.eventDefinitionAttrs),"bpmn:ConditionalEventDefinition"===t.eventDefinitionType&&(r.condition=this._bpmnFactory.create("bpmn:FormalExpression")),o.push(r),r.$parent=s,s.eventDefinitions=o,delete t.eventDefinitionType),n=this._getDefaultSize(s),t=Object(Zj["assign"])({businessObject:s,id:s.id},n,t),this.baseCreate(e,t)},j3.prototype._getDefaultSize=function(e){return Object(bU["is"])(e,"bpmn:SubProcess")?vU(e)?{width:350,height:200}:{width:100,height:80}:Object(bU["is"])(e,"bpmn:Task")?{width:100,height:80}:Object(bU["is"])(e,"bpmn:Gateway")?{width:50,height:50}:Object(bU["is"])(e,"bpmn:Event")?{width:36,height:36}:Object(bU["is"])(e,"bpmn:Participant")?vU(e)?{width:600,height:250}:{width:400,height:60}:Object(bU["is"])(e,"bpmn:Lane")?{width:400,height:100}:Object(bU["is"])(e,"bpmn:DataObjectReference")?{width:36,height:50}:Object(bU["is"])(e,"bpmn:DataStoreReference")?{width:50,height:50}:Object(bU["is"])(e,"bpmn:TextAnnotation")?{width:100,height:30}:Object(bU["is"])(e,"bpmn:Group")?{width:300,height:300}:{width:100,height:80}},j3.prototype.createParticipantShape=function(e){return Object(Zj["isObject"])(e)||(e={isExpanded:e}),e=Object(Zj["assign"])({type:"bpmn:Participant"},e||{}),!1!==e.isExpanded&&(e.processRef=this._bpmnFactory.create("bpmn:Process")),this.createShape(e)},V3.$inject=["modeling","canvas"],V3.prototype.preExecute=function(e){var t=this._modeling,n=e.elements,i=e.alignment;Object(Zj["forEach"])(n,(function(e){var n={x:0,y:0};i.left?n.x=i.left-e.x:i.right?n.x=i.right-e.width-e.x:i.center?n.x=i.center-Math.round(e.width/2)-e.x:i.top?n.y=i.top-e.y:i.bottom?n.y=i.bottom-e.height-e.y:i.middle&&(n.y=i.middle-Math.round(e.height/2)-e.y),t.moveElements([e],n,e.parent)}))},V3.prototype.postExecute=function(e){},W3.$inject=["modeling"],W3.prototype.preExecute=function(e){var t=e.source;if(!t)throw new Error("source required");var n=e.target||t.parent,i=e.shape,o=e.hints||{};i=e.shape=this._modeling.createShape(i,e.position,n,{attach:o.attach}),e.shape=i},W3.prototype.postExecute=function(e){var t=e.hints||{};H3(e.source,e.shape)||(t.connectionTarget===e.source?this._modeling.connect(e.shape,e.source,e.connection):this._modeling.connect(e.source,e.shape,e.connection))},U3.$inject=["canvas","layouter"],U3.prototype.execute=function(e){var t=e.connection,n=e.source,i=e.target,o=e.parent,r=e.parentIndex,s=e.hints;if(!n||!i)throw new Error("source and target required");if(!o)throw new Error("parent required");return t.source=n,t.target=i,t.waypoints||(t.waypoints=this._layouter.layoutConnection(t,s)),this._canvas.addConnection(t,o,r),t},U3.prototype.revert=function(e){var t=e.connection;return this._canvas.removeConnection(t),t.source=null,t.target=null,t};var Y3=Math.round;function G3(e){this._modeling=e}function K3(e){return!!e.waypoints}G3.$inject=["modeling"],G3.prototype.preExecute=function(e){var t=e.elements,n=e.parent,i=e.parentIndex,o=e.position,r=e.hints,s=this._modeling;Object(Zj["forEach"])(t,(function(e){Object(Zj["isNumber"])(e.x)||(e.x=0),Object(Zj["isNumber"])(e.y)||(e.y=0)}));var a=uz(t);Object(Zj["forEach"])(t,(function(e){K3(e)&&(e.waypoints=Object(Zj["map"])(e.waypoints,(function(e){return{x:Y3(e.x-a.x-a.width/2+o.x),y:Y3(e.y-a.y-a.height/2+o.y)}}))),Object(Zj["assign"])(e,{x:Y3(e.x-a.x-a.width/2+o.x),y:Y3(e.y-a.y-a.height/2+o.y)})}));var l=oz(t),c={};Object(Zj["forEach"])(t,(function(e){if(K3(e))c[e.id]=Object(Zj["isNumber"])(i)?s.createConnection(c[e.source.id],c[e.target.id],i,e,e.parent||n,r):s.createConnection(c[e.source.id],c[e.target.id],e,e.parent||n,r);else{var t=Object(Zj["assign"])({},r);-1===l.indexOf(e)&&(t.autoResize=!1),c[e.id]=Object(Zj["isNumber"])(i)?s.createShape(e,Object(Zj["pick"])(e,["x","y","width","height"]),e.parent||n,i,t):s.createShape(e,Object(Zj["pick"])(e,["x","y","width","height"]),e.parent||n,t)}})),e.elements=Object(Zj["values"])(c)};var q3=Math.round;function J3(e){this._canvas=e}function X3(e){J3.call(this,e)}J3.$inject=["canvas"],J3.prototype.execute=function(e){var t=e.shape,n=e.position,i=e.parent,o=e.parentIndex;if(!i)throw new Error("parent required");if(!n)throw new Error("position required");return void 0!==n.width?Object(Zj["assign"])(t,n):Object(Zj["assign"])(t,{x:n.x-q3(t.width/2),y:n.y-q3(t.height/2)}),this._canvas.addShape(t,i,o),t},J3.prototype.revert=function(e){var t=e.shape;return this._canvas.removeShape(t),t},Kj()(X3,J3),X3.$inject=["canvas"];var $3=J3.prototype.execute;X3.prototype.execute=function(e){var t=e.shape;return e8(t),t.labelTarget=e.labelTarget,$3.call(this,e)};var Z3=J3.prototype.revert;function e8(e){["width","height"].forEach((function(t){"undefined"===typeof e[t]&&(e[t]=0)}))}function t8(e,t){this._canvas=e,this._modeling=t}function n8(e,t){this._modeling=e,this._elementRegistry=t}function i8(e,t){this._canvas=e,this._modeling=t}function o8(e){return e.waypoints}function r8(e){this._modeling=e}X3.prototype.revert=function(e){return e.shape.labelTarget=null,Z3.call(this,e)},t8.$inject=["canvas","modeling"],t8.prototype.execute=function(e){var t=e.connection,n=t.parent;return e.parent=n,e.parentIndex=Az(n.children,t),e.source=t.source,e.target=t.target,this._canvas.removeConnection(t),t.source=null,t.target=null,t},t8.prototype.revert=function(e){var t=e.connection,n=e.parent,i=e.parentIndex;return t.source=e.source,t.target=e.target,_z(n.children,t,i),this._canvas.addConnection(t,n),t},n8.$inject=["modeling","elementRegistry"],n8.prototype.postExecute=function(e){var t=this._modeling,n=this._elementRegistry,i=e.elements;Object(Zj["forEach"])(i,(function(e){n.get(e.id)&&(e.waypoints?t.removeConnection(e):t.removeShape(e))}))},i8.$inject=["canvas","modeling"],i8.prototype.preExecute=function(e){var t=this._modeling,n=e.shape;W5(n.incoming,(function(e){t.removeConnection(e,{nested:!0})})),W5(n.outgoing,(function(e){t.removeConnection(e,{nested:!0})})),W5(n.children,(function(e){o8(e)?t.removeConnection(e,{nested:!0}):t.removeShape(e,{nested:!0})}))},i8.prototype.execute=function(e){var t=this._canvas,n=e.shape,i=n.parent;return e.oldParent=i,e.oldParentIndex=Az(i.children,n),t.removeShape(n),n},i8.prototype.revert=function(e){var t=this._canvas,n=e.shape,i=e.oldParent,o=e.oldParentIndex;return _z(i.children,n,o),t.addShape(n,i),n},r8.$inject=["modeling"];var s8={x:"y",y:"x"};function a8(e,t){this._layouter=e,this._canvas=t}function l8(){}function c8(){this.allShapes={},this.allConnections={},this.enclosedElements={},this.enclosedConnections={},this.topLevel={}}function h8(e){this._modeling=e}function u8(e){this._helper=new h8(e)}function d8(e){this._modeling=e,this._helper=new h8(e)}function p8(e){this._modeling=e}function f8(e){return e.original||e}function g8(e,t){this._modeling=e,this._rules=t}function m8(e){this._modeling=e}function b8(e){this._modeling=e}function v8(e){return Object(Zj["assign"])({},e)}function y8(e){return Object(Zj["map"])(e.waypoints,(function(e){return e=v8(e),e.original&&(e.original=v8(e.original)),e}))}function w8(e){switch(e){case"n":return"y";case"w":return"x";case"s":return"y";case"e":return"x"}}function _8(e,t,n){var i=w8(n);return/e|s/.test(n)?e[i]>t:/n|w/.test(n)?e[i]<t:void 0}function A8(e,t){return-1!==e.indexOf(t)}function C8(e){return{x:e.x,y:e.y,height:e.height,width:e.width}}function E8(e){this._modeling=e}function x8(e){var t={};return Object(Zj["forEach"])(e,(function(e){t[e.id]=e.hidden,e.children&&(t=Object(Zj["assign"])({},t,x8(e.children)))})),t}function S8(e,t){var n=[];return Object(Zj["forEach"])(e,(function(e){e.hidden=t,n=n.concat(e),e.children&&(n=n.concat(S8(e.children,e.collapsed||t)))})),n}function D8(e,t){var n=[];return Object(Zj["forEach"])(e,(function(e){e.hidden=t[e.id],n=n.concat(e),e.children&&(n=n.concat(D8(e.children,t)))})),n}function k8(e){this._modeling=e}function M8(e,t){return wz(e&&e.attachers,t)}function N8(e,t,n){if(e){var i=e.attachers;i||(e.attachers=i=[]),_z(i,t,n)}}function L8(){}function B8(e,t,n){this._eventBus=e,this._elementFactory=t,this._commandStack=n;var i=this;e.on("diagram.init",(function(){i.registerHandlers(n)}))}r8.prototype.preExecute=function(e){var t=this._modeling,n=e.groups,i=e.axis,o=e.dimension;function r(e,t){e.range.min=Math.min(t[i],e.range.min),e.range.max=Math.max(t[i]+t[o],e.range.max)}function s(e){return e[i]+e[o]/2}function a(e){return e.length-1}function l(e){return e.max-e.min}function c(e,n){var o={y:0};o[i]=e-s(n),o[i]&&(o[s8[i]]=0,t.moveElements([n],o,n.parent))}var h,u,d=n[0],p=a(n),f=n[p],g=0;Object(Zj["forEach"])(n,(function(e,t){var h,u,d;e.elements.length<2?t&&t!==n.length-1&&(r(e,e.elements[0]),g+=l(e.range)):(h=Object(Zj["sortBy"])(e.elements,i),u=h[0],t===p&&(u=h[a(h)]),d=s(u),e.range=null,Object(Zj["forEach"])(h,(function(t){c(d,t),null!==e.range?r(e,t):e.range={min:t[i],max:t[i]+t[o]}})),t&&t!==n.length-1&&(g+=l(e.range)))})),u=Math.abs(f.range.min-d.range.max),h=Math.round((u-g)/(n.length-1)),h<n.length-1||Object(Zj["forEach"])(n,(function(e,r){var s,a={};e!==d&&e!==f&&(s=n[r-1],e.range.max=0,Object(Zj["forEach"])(e.elements,(function(n,r){a[s8[i]]=0,a[i]=s.range.max-n[i]+h,e.range.min!==n[i]&&(a[i]+=n[i]-e.range.min),a[i]&&t.moveElements([n],a,n.parent),e.range.max=Math.max(n[i]+n[o],r?e.range.max:0)})))}))},r8.prototype.postExecute=function(e){},a8.$inject=["layouter","canvas"],a8.prototype.execute=function(e){var t=e.connection,n=t.waypoints;return Object(Zj["assign"])(e,{oldWaypoints:n}),t.waypoints=this._layouter.layoutConnection(t,e.hints),t},a8.prototype.revert=function(e){var t=e.connection;return t.waypoints=e.oldWaypoints,t},l8.prototype.execute=function(e){var t=e.connection,n=e.delta,i=e.newParent||t.parent,o=e.newParentIndex,r=t.parent;return e.oldParent=r,e.oldParentIndex=wz(r.children,t),_z(i.children,t,o),t.parent=i,Object(Zj["forEach"])(t.waypoints,(function(e){e.x+=n.x,e.y+=n.y,e.original&&(e.original.x+=n.x,e.original.y+=n.y)})),t},l8.prototype.revert=function(e){var t=e.connection,n=t.parent,i=e.oldParent,o=e.oldParentIndex,r=e.delta;return wz(n.children,t),_z(i.children,t,o),t.parent=i,Object(Zj["forEach"])(t.waypoints,(function(e){e.x-=r.x,e.y-=r.y,e.original&&(e.original.x-=r.x,e.original.y-=r.y)})),t},c8.prototype.add=function(e,t){return this.addAll([e],t)},c8.prototype.addAll=function(e,t){var n=hz(e,!!t,this);return Object(Zj["assign"])(this,n),this},h8.prototype.moveRecursive=function(e,t,n){return e?this.moveClosure(this.getClosure(e),t,n):[]},h8.prototype.moveClosure=function(e,t,n,i,o){var r=this._modeling,s=e.allShapes,a=e.allConnections,l=e.enclosedConnections,c=e.topLevel,h=!1;o&&o.parent===n&&(h=!0),Object(Zj["forEach"])(s,(function(e){r.moveShape(e,t,c[e.id]&&!h&&n,{recurse:!1,layout:!1})})),Object(Zj["forEach"])(a,(function(e){var i=!!s[e.source.id],o=!!s[e.target.id];l[e.id]&&i&&o?r.moveConnection(e,t,c[e.id]&&!h&&n):r.layoutConnection(e,{connectionStart:i&&k2(e,e.source,t),connectionEnd:o&&M2(e,e.target,t)})}))},h8.prototype.getClosure=function(e){return(new c8).addAll(e,!0)},u8.$inject=["modeling"],u8.prototype.preExecute=function(e){e.closure=this._helper.getClosure(e.shapes)},u8.prototype.postExecute=function(e){var t,n=e.hints;n&&n.primaryShape&&(t=n.primaryShape,n.oldParent=t.parent),this._helper.moveClosure(e.closure,e.delta,e.newParent,e.newHost,t)},d8.$inject=["modeling"],d8.prototype.execute=function(e){var t=e.shape,n=e.delta,i=e.newParent||t.parent,o=e.newParentIndex,r=t.parent;return e.oldBounds=Object(Zj["pick"])(t,["x","y","width","height"]),e.oldParent=r,e.oldParentIndex=wz(r.children,t),_z(i.children,t,o),Object(Zj["assign"])(t,{parent:i,x:t.x+n.x,y:t.y+n.y}),t},d8.prototype.postExecute=function(e){var t=e.shape,n=e.delta,i=e.hints,o=this._modeling;!1!==i.layout&&(Object(Zj["forEach"])(t.incoming,(function(e){o.layoutConnection(e,{connectionEnd:M2(e,t,n)})})),Object(Zj["forEach"])(t.outgoing,(function(e){o.layoutConnection(e,{connectionStart:k2(e,t,n)})}))),!1!==i.recurse&&this.moveChildren(e)},d8.prototype.revert=function(e){var t=e.shape,n=e.oldParent,i=e.oldParentIndex,o=e.delta;return _z(n.children,t,i),Object(Zj["assign"])(t,{parent:n,x:t.x-o.x,y:t.y-o.y}),t},d8.prototype.moveChildren=function(e){var t=e.delta,n=e.shape;this._helper.moveRecursive(n.children,t,null)},d8.prototype.getNewParent=function(e){return e.newParent||e.shape.parent},p8.$inject=["modeling"],p8.prototype.execute=function(e){var t=e.newSource,n=e.newTarget,i=e.connection,o=e.dockingOrPoints;if(!t&&!n)throw new Error("newSource or newTarget required");return Object(Zj["isArray"])(o)&&(e.oldWaypoints=i.waypoints,i.waypoints=o),t&&(e.oldSource=i.source,i.source=t),n&&(e.oldTarget=i.target,i.target=n),i},p8.prototype.postExecute=function(e){var t=e.connection,n=e.newSource,i=e.newTarget,o=e.dockingOrPoints,r=e.hints||{},s={};r.connectionStart&&(s.connectionStart=r.connectionStart),r.connectionEnd&&(s.connectionEnd=r.connectionEnd),!1!==r.layoutConnection&&(!n||i&&"source"!==r.docking||(s.connectionStart=s.connectionStart||f8(Object(Zj["isArray"])(o)?o[0]:o)),!i||n&&"target"!==r.docking||(s.connectionEnd=s.connectionEnd||f8(Object(Zj["isArray"])(o)?o[o.length-1]:o)),r.newWaypoints&&(s.waypoints=r.newWaypoints),this._modeling.layoutConnection(t,s))},p8.prototype.revert=function(e){var t=e.oldSource,n=e.oldTarget,i=e.oldWaypoints,o=e.connection;return t&&(o.source=t),n&&(o.target=n),i&&(o.waypoints=i),o},g8.$inject=["modeling","rules"],g8.prototype.preExecute=function(e){var t,n=this,i=this._modeling,o=this._rules,r=e.oldShape,s=e.newData,a=e.hints||{};function l(e,t,n){return o.allowed("connection.reconnect",{connection:n,source:e,target:t})}var c,h={x:s.x,y:s.y},u={x:r.x,y:r.y,width:r.width,height:r.height};t=e.newShape=e.newShape||n.createShape(s,h,r.parent,a),r.host&&i.updateAttachment(t,r.host),!1!==a.moveChildren&&(c=r.children.slice(),i.moveElements(c,{x:0,y:0},t,a));var d=r.incoming.slice(),p=r.outgoing.slice();Object(Zj["forEach"])(d,(function(e){var i=e.source,o=l(i,t,e);o&&n.reconnectEnd(e,t,D2(e,t,u),a)})),Object(Zj["forEach"])(p,(function(e){var i=e.target,o=l(t,i,e);o&&n.reconnectStart(e,t,S2(e,t,u),a)}))},g8.prototype.postExecute=function(e){var t=e.oldShape;this._modeling.removeShape(t)},g8.prototype.execute=function(e){},g8.prototype.revert=function(e){},g8.prototype.createShape=function(e,t,n,i){return this._modeling.createShape(e,t,n,i)},g8.prototype.reconnectStart=function(e,t,n,i){this._modeling.reconnectStart(e,t,n,i)},g8.prototype.reconnectEnd=function(e,t,n,i){this._modeling.reconnectEnd(e,t,n,i)},m8.$inject=["modeling"],m8.prototype.execute=function(e){var t=e.shape,n=e.newBounds,i=e.minBounds;if(void 0===n.x||void 0===n.y||void 0===n.width||void 0===n.height)throw new Error("newBounds must have {x, y, width, height} properties");if(i&&(n.width<i.width||n.height<i.height))throw new Error("width and height cannot be less than minimum height and width");if(!i&&n.width<10||n.height<10)throw new Error("width and height cannot be less than 10px");return e.oldBounds={width:t.width,height:t.height,x:t.x,y:t.y},Object(Zj["assign"])(t,{width:n.width,height:n.height,x:n.x,y:n.y}),t},m8.prototype.postExecute=function(e){var t=this._modeling,n=e.shape,i=e.oldBounds,o=e.hints||{};!1!==o.layout&&(Object(Zj["forEach"])(n.incoming,(function(e){t.layoutConnection(e,{connectionEnd:D2(e,n,i)})})),Object(Zj["forEach"])(n.outgoing,(function(e){t.layoutConnection(e,{connectionStart:S2(e,n,i)})})))},m8.prototype.revert=function(e){var t=e.shape,n=e.oldBounds;return Object(Zj["assign"])(t,{width:n.width,height:n.height,x:n.x,y:n.y}),t},b8.$inject=["modeling"],b8.prototype.preExecute=function(e){var t=e.delta,n=e.direction,i=e.movingShapes,o=e.resizingShapes,r=e.start,s={};this.moveShapes(i,t),Object(Zj["forEach"])(o,(function(e){s[e.id]=C8(e)})),this.resizeShapes(o,t,n),this.updateConnectionWaypoints(h3(i,o),t,n,r,i,o,s)},b8.prototype.execute=function(){},b8.prototype.revert=function(){},b8.prototype.moveShapes=function(e,t){var n=this;Object(Zj["forEach"])(e,(function(e){n._modeling.moveShape(e,t,null,{autoResize:!1,layout:!1,recurse:!1})}))},b8.prototype.resizeShapes=function(e,t,n){var i=this;Object(Zj["forEach"])(e,(function(e){var o=d3(e,n,t);i._modeling.resizeShape(e,o,null,{attachSupport:!1,autoResize:!1,layout:!1})}))},b8.prototype.updateConnectionWaypoints=function(e,t,n,i,o,r,s){var a=this,l=o.concat(r);Object(Zj["forEach"])(e,(function(e){var c=e.source,h=e.target,u=y8(e),d=w8(n),p={labelBehavior:!1};A8(l,c)&&A8(l,h)?(u=Object(Zj["map"])(u,(function(e){return _8(e,i,n)&&(e[d]=e[d]+t[d]),e.original&&_8(e.original,i,n)&&(e.original[d]=e.original[d]+t[d]),e})),a._modeling.updateWaypoints(e,u,{labelBehavior:!1})):(A8(l,c)||A8(l,h))&&(A8(o,c)?p.connectionStart=k2(e,c,t):A8(o,h)?p.connectionEnd=M2(e,h,t):A8(r,c)?p.connectionStart=S2(e,c,s[c.id]):A8(r,h)&&(p.connectionEnd=D2(e,h,s[h.id])),a._modeling.layoutConnection(e,p))}))},E8.$inject=["modeling"],E8.prototype.execute=function(e){var t=e.shape,n=t.children;e.oldChildrenVisibility=x8(n),t.collapsed=!t.collapsed;var i=S8(n,t.collapsed);return[t].concat(i)},E8.prototype.revert=function(e){var t=e.shape,n=e.oldChildrenVisibility,i=t.children,o=D8(i,n);return t.collapsed=!t.collapsed,[t].concat(o)},k8.$inject=["modeling"],k8.prototype.execute=function(e){var t=e.shape,n=e.newHost,i=t.host;return e.oldHost=i,e.attacherIdx=M8(i,t),N8(n,t),t.host=n,t},k8.prototype.revert=function(e){var t=e.shape,n=e.newHost,i=e.oldHost,o=e.attacherIdx;return t.host=i,M8(n,t),N8(i,t,o),t},L8.prototype.execute=function(e){var t=e.connection,n=e.newWaypoints;return e.oldWaypoints=t.waypoints,t.waypoints=n,t},L8.prototype.revert=function(e){var t=e.connection,n=e.oldWaypoints;return t.waypoints=n,t},B8.$inject=["eventBus","elementFactory","commandStack"],B8.prototype.getHandlers=function(){return{"shape.append":W3,"shape.create":J3,"shape.delete":i8,"shape.move":d8,"shape.resize":m8,"shape.replace":g8,"shape.toggleCollapse":E8,spaceTool:b8,"label.create":X3,"connection.create":U3,"connection.delete":t8,"connection.move":l8,"connection.layout":a8,"connection.updateWaypoints":L8,"connection.reconnect":p8,"elements.create":G3,"elements.move":u8,"elements.delete":n8,"elements.distribute":r8,"elements.align":V3,"element.updateAttachment":k8}},B8.prototype.registerHandlers=function(e){Object(Zj["forEach"])(this.getHandlers(),(function(t,n){e.registerHandler(n,t)}))},B8.prototype.moveShape=function(e,t,n,i,o){"object"===typeof i&&(o=i,i=null);var r={shape:e,delta:t,newParent:n,newParentIndex:i,hints:o||{}};this._commandStack.execute("shape.move",r)},B8.prototype.updateAttachment=function(e,t){var n={shape:e,newHost:t};this._commandStack.execute("element.updateAttachment",n)},B8.prototype.moveElements=function(e,t,n,i){i=i||{};var o,r=i.attach,s=n;!0===r?(o=n,s=n.parent):!1===r&&(o=null);var a={shapes:e,delta:t,newParent:s,newHost:o,hints:i};this._commandStack.execute("elements.move",a)},B8.prototype.moveConnection=function(e,t,n,i,o){"object"===typeof i&&(o=i,i=void 0);var r={connection:e,delta:t,newParent:n,newParentIndex:i,hints:o||{}};this._commandStack.execute("connection.move",r)},B8.prototype.layoutConnection=function(e,t){var n={connection:e,hints:t||{}};this._commandStack.execute("connection.layout",n)},B8.prototype.createConnection=function(e,t,n,i,o,r){"object"===typeof n&&(r=o,o=i,i=n,n=void 0),i=this._create("connection",i);var s={source:e,target:t,parent:o,parentIndex:n,connection:i,hints:r};return this._commandStack.execute("connection.create",s),s.connection},B8.prototype.createShape=function(e,t,n,i,o){"number"!==typeof i&&(o=i,i=void 0),o=o||{};var r,s,a=o.attach;e=this._create("shape",e),a?(r=n.parent,s=n):r=n;var l={position:t,shape:e,parent:r,parentIndex:i,host:s,hints:o};return this._commandStack.execute("shape.create",l),l.shape},B8.prototype.createElements=function(e,t,n,i,o){Object(Zj["isArray"])(e)||(e=[e]),"number"!==typeof i&&(o=i,i=void 0),o=o||{};var r={position:t,elements:e,parent:n,parentIndex:i,hints:o};return this._commandStack.execute("elements.create",r),r.elements},B8.prototype.createLabel=function(e,t,n,i){n=this._create("label",n);var o={labelTarget:e,position:t,parent:i||e.parent,shape:n};return this._commandStack.execute("label.create",o),o.shape},B8.prototype.appendShape=function(e,t,n,i,o){o=o||{},t=this._create("shape",t);var r={source:e,position:n,target:i,shape:t,connection:o.connection,connectionParent:o.connectionParent,hints:o};return this._commandStack.execute("shape.append",r),r.shape},B8.prototype.removeElements=function(e){var t={elements:e};this._commandStack.execute("elements.delete",t)},B8.prototype.distributeElements=function(e,t,n){var i={groups:e,axis:t,dimension:n};this._commandStack.execute("elements.distribute",i)},B8.prototype.removeShape=function(e,t){var n={shape:e,hints:t||{}};this._commandStack.execute("shape.delete",n)},B8.prototype.removeConnection=function(e,t){var n={connection:e,hints:t||{}};this._commandStack.execute("connection.delete",n)},B8.prototype.replaceShape=function(e,t,n){var i={oldShape:e,newData:t,hints:n||{}};return this._commandStack.execute("shape.replace",i),i.newShape},B8.prototype.alignElements=function(e,t){var n={elements:e,alignment:t};this._commandStack.execute("elements.align",n)},B8.prototype.resizeShape=function(e,t,n,i){var o={shape:e,newBounds:t,minBounds:n,hints:i};this._commandStack.execute("shape.resize",o)},B8.prototype.createSpace=function(e,t,n,i,o){var r={delta:n,direction:i,movingShapes:e,resizingShapes:t,start:o};this._commandStack.execute("spaceTool",r)},B8.prototype.updateWaypoints=function(e,t,n){var i={connection:e,newWaypoints:t,hints:n||{}};this._commandStack.execute("connection.updateWaypoints",i)},B8.prototype.reconnect=function(e,t,n,i,o){var r={connection:e,newSource:t,newTarget:n,dockingOrPoints:i,hints:o||{}};this._commandStack.execute("connection.reconnect",r)},B8.prototype.reconnectStart=function(e,t,n,i){i||(i={}),this.reconnect(e,t,e.target,n,Object(Zj["assign"])(i,{docking:"source"}))},B8.prototype.reconnectEnd=function(e,t,n,i){i||(i={}),this.reconnect(e,e.source,t,n,Object(Zj["assign"])(i,{docking:"target"}))},B8.prototype.connect=function(e,t,n,i){return this.createConnection(e,t,n||{},e.parent,i)},B8.prototype._create=function(e,t){return t instanceof rV?t:this._elementFactory.create(e,t)},B8.prototype.toggleCollapse=function(e,t){var n={shape:e,hints:t||{}};this._commandStack.execute("shape.toggleCollapse",n)};var I8=n("6090"),T8=n.n(I8),O8="default",R8="id",P8="di",F8={width:0,height:0};function j8(e,t,n,i,o){this._elementRegistry=e,this._moddle=t,this._translate=n,this._modeling=i,this._textRenderer=o}function Q8(e,t){return R8 in e&&e[R8]!==t[R8]}function z8(e,t){var n=Object(Zj["keys"])(t);return Object(Zj["reduce"])(n,(function(n,i){return n[i]=i!==P8?e.get(i):V8(e.di,Object(Zj["keys"])(t.di)),n}),{})}function V8(e,t){return Object(Zj["reduce"])(t,(function(t,n){return t[n]=e.get(n),t}),{})}function W8(e,t){Object(Zj["forEach"])(t,(function(t,n){n!==P8?e.set(n,t):e.di&&H8(e.di,t)}))}function H8(e,t){Object(Zj["forEach"])(t,(function(t,n){e.set(n,t)}))}j8.$inject=["elementRegistry","moddle","translate","modeling","textRenderer"],j8.prototype.execute=function(e){var t=e.element,n=[t],i=this._translate;if(!t)throw new Error(i("element required"));var o=this._elementRegistry,r=this._moddle.ids,s=t.businessObject,a=Y8(e.properties),l=e.oldProperties||z8(s,a);return Q8(a,s)&&(r.unclaim(s[R8]),o.updateId(t,a[R8]),r.claim(a[R8],s)),O8 in a&&(a[O8]&&n.push(o.get(a[O8].id)),s[O8]&&n.push(o.get(s[O8].id))),W8(s,a),e.oldProperties=l,e.changed=n,n},j8.prototype.postExecute=function(e){var t=e.element,n=t.label,i=n&&Object(bU["getBusinessObject"])(n).name;if(i){var o=this._textRenderer.getExternalLabelBounds(n,i);this._modeling.resizeShape(n,o,F8)}},j8.prototype.revert=function(e){var t=e.element,n=e.properties,i=e.oldProperties,o=t.businessObject,r=this._elementRegistry,s=this._moddle.ids;return W8(o,i),Q8(n,o)&&(s.unclaim(n[R8]),r.updateId(t,i[R8]),s.claim(i[R8],o)),e.changed};var U8=["default"];function Y8(e){var t=Object(Zj["assign"])({},e);return U8.forEach((function(n){n in e&&(t[n]=Object(bU["getBusinessObject"])(t[n]))})),t}function G8(e,t){this._canvas=e,this._modeling=t}function K8(e,t){this._modeling=e,this._spaceTool=t}function q8(e,t){this._modeling=e,this._translate=t}function J8(e,t){this._modeling=e,this._spaceTool=t}G8.$inject=["canvas","modeling"],G8.prototype.execute=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=t.getRootElement(),r=o.businessObject,s=r.$parent,a=r.di;t.setRootElement(n,!0),_z(s.rootElements,i),i.$parent=s,wz(s.rootElements,r),r.$parent=null,r.di=null,a.bpmnElement=i,i.di=a,e.oldRoot=o},G8.prototype.revert=function(e){var t=this._canvas,n=e.newRoot,i=n.businessObject,o=e.oldRoot,r=o.businessObject,s=i.$parent,a=i.di;t.setRootElement(o,!0),wz(s.rootElements,i),i.$parent=null,_z(s.rootElements,r),r.$parent=s,i.di=null,a.bpmnElement=r,r.di=a},K8.$inject=["modeling","spaceTool"],K8.prototype.preExecute=function(e){var t=this._spaceTool,n=this._modeling,i=e.shape,o=e.location,r=q$(i),s=r===i,a=s?i:i.parent,l=K$(a);l.length||n.createShape({type:"bpmn:Lane"},{x:i.x+Y$,y:i.y,width:i.width-Y$,height:i.height},a);var c=[];az(r,(function(e){return c.push(e),e.label&&c.push(e.label),e===i?[]:Object(Zj["filter"])(e.children,(function(e){return e!==i}))}));var h="top"===o?-120:120,u="top"===o?i.y:i.y+i.height,d=u+("top"===o?10:-10),p="top"===o?"n":"s",f=t.calculateAdjustments(c,"y",h,d);t.makeSpace(f.movingShapes,f.resizingShapes,{x:0,y:h},p,d),e.newLane=n.createShape({type:"bpmn:Lane"},{x:i.x+(s?Y$:0),y:u-("top"===o?120:0),width:i.width-(s?Y$:0),height:120},a)},q8.$inject=["modeling","translate"],q8.prototype.preExecute=function(e){var t=this._modeling,n=this._translate,i=e.shape,o=e.count,r=K$(i),s=r.length;if(s>o)throw new Error(n("more than {count} child lanes",{count:o}));var a,l,c,h,u,d=Math.round(i.height/o);for(u=0;u<o;u++)a=i.y+u*d,l=u===o-1?i.height-d*u:d,c={x:i.x+Y$,y:a,width:i.width-Y$,height:l},u<s?t.resizeShape(r[u],c):(h={type:"bpmn:Lane"},t.createShape(h,c,i))},J8.$inject=["modeling","spaceTool"],J8.prototype.preExecute=function(e){var t=e.shape,n=e.newBounds,i=e.balanced;!1!==i?this.resizeBalanced(t,n):this.resizeSpace(t,n)},J8.prototype.resizeBalanced=function(e,t){var n=this._modeling,i=J$(e,t);n.resizeShape(e,t),i.forEach((function(e){n.resizeShape(e.shape,e.newBounds)}))},J8.prototype.resizeSpace=function(e,t){var n,i,o,r,s,a=this._spaceTool,l=Oz(e),c=Oz(t),h=I$(c,l),u=q$(e),d=[],p=[];az(u,(function(e){return d.push(e),(Object(bU["is"])(e,"bpmn:Lane")||Object(bU["is"])(e,"bpmn:Participant"))&&p.push(e),e.children})),(h.bottom||h.top)&&(n=h.bottom||h.top,i=e.y+(h.bottom?e.height:0)+(h.bottom?-10:10),o=h.bottom?"s":"n",r=h.top>0||h.bottom<0?-n:n,s=a.calculateAdjustments(d,"y",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:0,y:n},o)),(h.left||h.right)&&(n=h.right||h.left,i=e.x+(h.right?e.width:0)+(h.right?-10:100),o=h.right?"e":"w",r=h.left>0||h.right<0?-n:n,s=a.calculateAdjustments(p,"x",r,i),a.makeSpace(s.movingShapes,s.resizingShapes,{x:n,y:0},o))};var X8="flowNodeRef",$8="lanes";function Z8(e){this._elementRegistry=e}function e6(e){this._moddle=e}Z8.$inject=["elementRegistry"],Z8.prototype.computeUpdates=function(e,t){var n=[],i=[],o={},r=[];function s(e,t){var n=Oz(t),i={x:e.x+e.width/2,y:e.y+e.height/2};return i.x>n.left&&i.x<n.right&&i.y>n.top&&i.y<n.bottom}function a(e){-1===n.indexOf(e)&&(r.push(e),n.push(e))}function l(e){var t=q$(e);return o[t.id]||(o[t.id]=G$(t)),o[t.id]}function c(e){if(!e.parent)return[];var t=l(e);return t.filter((function(t){return s(e,t)})).map((function(e){return e.businessObject}))}return t.forEach((function(e){var t=q$(e);if(t&&-1===n.indexOf(t)){var i=t.children.filter((function(e){return Object(bU["is"])(e,"bpmn:FlowNode")}));i.forEach(a),n.push(t)}})),e.forEach(a),r.forEach((function(e){var t=e.businessObject,n=t.get($8),o=n.slice(),r=c(e);i.push({flowNode:t,remove:o,add:r})})),t.forEach((function(e){var t=e.businessObject;e.parent||t.get(X8).forEach((function(e){i.push({flowNode:e,remove:[t],add:[]})}))})),i},Z8.prototype.execute=function(e){var t=e.updates;t||(t=e.updates=this.computeUpdates(e.flowNodeShapes,e.laneShapes)),t.forEach((function(e){var t=e.flowNode,n=t.get($8);e.remove.forEach((function(e){wz(n,e),wz(e.get(X8),t)})),e.add.forEach((function(e){_z(n,e),_z(e.get(X8),t)}))}))},Z8.prototype.revert=function(e){var t=e.updates;t.forEach((function(e){var t=e.flowNode,n=t.get($8);e.add.forEach((function(e){wz(n,e),wz(e.get(X8),t)})),e.remove.forEach((function(e){_z(n,e),_z(e.get(X8),t)}))}))},e6.$inject=["moddle"],e6.prototype.execute=function(e){var t=this._moddle.ids,n=e.id,i=e.element,o=e.claiming;o?t.claim(n,i):t.unclaim(n)},e6.prototype.revert=function(e){var t=this._moddle.ids,n=e.id,i=e.element,o=e.claiming;o?t.unclaim(n):t.claim(n,i)};var t6={fill:void 0,stroke:void 0};function n6(e){this._commandStack=e}n6.$inject=["commandStack"],n6.prototype.postExecute=function(e){var t=e.elements,n=e.colors||t6,i=this,o={};"fill"in n&&Object(Zj["assign"])(o,{fill:n.fill}),"stroke"in n&&Object(Zj["assign"])(o,{stroke:n.stroke}),Object(Zj["forEach"])(t,(function(e){i._commandStack.execute("element.updateProperties",{element:e,properties:{di:o}})}))};var i6={width:0,height:0};function o6(e,t){function n(e,t){var n=e.label||e,i=e.labelTarget||e;return kU(n,t,i!==n),[n,i]}function i(t){var n=t.element,i=n.businessObject,o=t.newLabel;if(!SY(n)&&wY(n)&&!_Y(n)&&!r6(o)){var r=7,s=EY(n);s={x:s.x,y:s.y+r},e.createLabel(n,s,{id:i.id+"_label",businessObject:i})}}function o(e){return e.oldLabel=DU(e.element),n(e.element,e.newLabel)}function r(e){return n(e.element,e.oldLabel)}function s(n){var i=n.element,o=i.label||i,r=n.newLabel,s=n.newBounds,a=n.hints||{};if(SY(o)||Object(bU["is"])(o,"bpmn:TextAnnotation"))if(SY(o)&&r6(r))!1!==a.removeShape&&e.removeShape(o,{unsetLabel:!1});else{var l=DU(o);"undefined"===typeof s&&(s=t.getExternalLabelBounds(o,l)),s&&e.resizeShape(o,s,i6)}}this.preExecute=i,this.execute=o,this.revert=r,this.postExecute=s}function r6(e){return!e||!e.trim()}function s6(e,t,n,i){B8.call(this,e,t,n),this._bpmnRules=i}function a6(){}o6.$inject=["modeling","textRenderer"],Kj()(s6,B8),s6.$inject=["eventBus","elementFactory","commandStack","bpmnRules"],s6.prototype.getHandlers=function(){var e=B8.prototype.getHandlers.call(this);return e["element.updateModdleProperties"]=T8.a,e["element.updateProperties"]=j8,e["canvas.updateRoot"]=G8,e["lane.add"]=K8,e["lane.resize"]=J8,e["lane.split"]=q8,e["lane.updateRefs"]=Z8,e["id.updateClaim"]=e6,e["element.setColor"]=n6,e["element.updateLabel"]=o6,e},s6.prototype.updateLabel=function(e,t,n,i){this._commandStack.execute("element.updateLabel",{element:e,newLabel:t,newBounds:n,hints:i||{}})},s6.prototype.connect=function(e,t,n,i){var o=this._bpmnRules;if(n||(n=o.canConnect(e,t)),n)return this.createConnection(e,t,n,e.parent,i)},s6.prototype.updateModdleProperties=function(e,t,n){this._commandStack.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:n})},s6.prototype.updateProperties=function(e,t){this._commandStack.execute("element.updateProperties",{element:e,properties:t})},s6.prototype.resizeLane=function(e,t,n){this._commandStack.execute("lane.resize",{shape:e,newBounds:t,balanced:n})},s6.prototype.addLane=function(e,t){var n={shape:e,location:t};return this._commandStack.execute("lane.add",n),n.newLane},s6.prototype.splitLane=function(e,t){this._commandStack.execute("lane.split",{shape:e,count:t})},s6.prototype.makeCollaboration=function(){var e=this._create("root",{type:"bpmn:Collaboration"}),t={newRoot:e};return this._commandStack.execute("canvas.updateRoot",t),e},s6.prototype.updateLaneRefs=function(e,t){this._commandStack.execute("lane.updateRefs",{flowNodeShapes:e,laneShapes:t})},s6.prototype.makeProcess=function(){var e=this._create("root",{type:"bpmn:Process"}),t={newRoot:e};this._commandStack.execute("canvas.updateRoot",t)},s6.prototype.claimId=function(e,t){this._commandStack.execute("id.updateClaim",{id:e,element:t,claiming:!0})},s6.prototype.unclaimId=function(e,t){this._commandStack.execute("id.updateClaim",{id:e,element:t})},s6.prototype.setColor=function(e,t){e.length||(e=[e]),this._commandStack.execute("element.setColor",{elements:e,colors:t})},a6.prototype.layoutConnection=function(e,t){return t=t||{},[t.connectionStart||Pz(t.source||e.source),t.connectionEnd||Pz(t.target||e.target)]};var l6=20,c6=5,h6=Math.round,u6=20,d6={"h:h":20,"v:v":20,"h:v":-10,"v:h":-10};function p6(e,t){return!{t:/top/,r:/right/,b:/bottom/,l:/left/,h:/./,v:/./}[t].test(e)}function f6(e,t){return{t:/top/,r:/right/,b:/bottom/,l:/left/,h:/left|right/,v:/top|bottom/}[e].test(t)}function g6(e,t,n){var i,o,r=Fz(t,e,c6),s=n.split(":")[0],a=h6((t.x-e.x)/2+e.x),l=h6((t.y-e.y)/2+e.y),c=f6(s,r),h=/h|r|l/.test(s),u=!1,d=!1;return c?(i=h?{x:a,y:e.y}:{x:e.x,y:l},o=h?"h:h":"v:v"):(u=p6(r,s),o=h?"h:v":"v:h",u?h?(d=l===e.y,i={x:e.x+l6*(/l/.test(s)?-1:1),y:d?l+l6:l}):(d=a===e.x,i={x:d?a+l6:a,y:e.y+l6*(/t/.test(s)?-1:1)}):i={x:a,y:l}),{waypoints:_6(e,i,o).concat(i),directions:o,turnNextDirections:d}}function m6(e,t,n){return g6(e,t,n)}function b6(e,t,n){var i=g6(t,e,y6(n));return{waypoints:i.waypoints.slice().reverse(),directions:y6(i.directions),turnNextDirections:i.turnNextDirections}}function v6(e,t){var n=e.directions.split(":")[1],i=t.directions.split(":")[0];e.turnNextDirections&&(n="h"==n?"v":"h"),t.turnNextDirections&&(i="h"==i?"v":"h");var o=n+":"+i,r=_6(e.waypoints[e.waypoints.length-1],t.waypoints[0],o);return{waypoints:r,directions:o}}function y6(e){return e.split(":").reverse().join(":")}function w6(e,t,n){var i=h6((t.x-e.x)/2+e.x),o=h6((t.y-e.y)/2+e.y);if("h:v"===n)return[{x:t.x,y:e.y}];if("v:h"===n)return[{x:e.x,y:t.y}];if("h:h"===n)return[{x:i,y:e.y},{x:i,y:t.y}];if("v:v"===n)return[{x:e.x,y:o},{x:t.x,y:o}];throw new Error("invalid directions: can only handle varians of [hv]:[hv]")}function _6(e,t,n){if(n=n||"h:h",!B6(n))throw new Error("unknown directions: <"+n+">: must be specified as <start>:<end> with start/end in { h,v,t,r,b,l }");if(I6(n)){var i=m6(e,t,n),o=b6(e,t,n),r=v6(i,o);return[].concat(i.waypoints,r.waypoints,o.waypoints)}return w6(e,t,n)}function A6(e,t,n){var i=_6(e,t,n);return i.unshift(e),i.push(t),R6(i)}function C6(e,t,n,i,o){var r=o&&o.preferredLayouts||[],s=Object(Zj["without"])(r,"straight")[0]||"h:h",a=d6[s]||0,l=Fz(e,t,a),c=L6(l,s);n=n||Pz(e),i=i||Pz(t);var h=c.split(":"),u=O6(n,e,h[0],T6(l)),d=O6(i,t,h[1],l);return A6(u,d,c)}function E6(e,t,n,i,o,r){Object(Zj["isArray"])(n)&&(o=n,r=i,n=Pz(e),i=Pz(t)),r=Object(Zj["assign"])({preferredLayouts:[]},r),o=o||[];var s,a=r.preferredLayouts,l=-1!==a.indexOf("straight");return s=l&&D6(e,t,n,i,r),s||(s=r.connectionEnd&&M6(t,e,i,o),s||(s=r.connectionStart&&k6(e,t,n,o),s||(!r.connectionStart&&!r.connectionEnd&&o&&o.length?o:C6(e,t,n,i,r))))}function x6(e,t,n){return e>=t&&e<=n}function S6(e,t,n){var i={x:"width",y:"height"};return x6(t[e],n[e],n[e]+n[i[e]])}function D6(e,t,n,i,o){var r,s,a={};return s=Fz(e,t),/^(top|bottom|left|right)$/.test(s)?(/top|bottom/.test(s)&&(r="x"),/left|right/.test(s)&&(r="y"),"target"===o.preserveDocking?S6(r,i,e)?(a[r]=i[r],[{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y,original:{x:void 0!==a.x?a.x:n.x,y:void 0!==a.y?a.y:n.y}},{x:i.x,y:i.y}]):null:S6(r,n,t)?(a[r]=n[r],[{x:n.x,y:n.y},{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y,original:{x:void 0!==a.x?a.x:i.x,y:void 0!==a.y?a.y:i.y}}]):null):null}function k6(e,t,n,i){return N6(e,t,n,i)}function M6(e,t,n,i){var o=i.slice().reverse();return o=N6(e,t,n,o),o?o.reverse():null}function N6(e,t,n,i){function o(e){return e.length<3||!(e.length>4)&&!!Object(Zj["find"])(e,(function(t,n){var i=e[n-1];return i&&Cz(t,i)<3}))}function r(e,t,n){var i=Sz(t,e);switch(i){case"v":return{x:n.x,y:e.y};case"h":return{x:e.x,y:n.y}}return{x:e.x,y:e.y}}function s(e,t,n){var i;for(i=e.length-2;0!==i;i--)if(Mz(e[i],t,u6)||Mz(e[i],n,u6))return e.slice(i);return e}if(o(i))return null;var a,l=i[0],c=i.slice();return c[0]=n,c[1]=r(c[1],l,n),a=s(c,e,t),a!==c&&(c=N6(e,t,n,a)),c&&Sz(c)?null:c}function L6(e,t){if(I6(t))return t;switch(e){case"intersect":return"t:t";case"top":case"bottom":return"v:v";case"left":case"right":return"h:h";default:return t}}function B6(e){return e&&/^h|v|t|r|b|l:h|v|t|r|b|l$/.test(e)}function I6(e){return e&&/t|r|b|l/.test(e)}function T6(e){return{top:"bottom",bottom:"top",left:"right",right:"left","top-left":"bottom-right","bottom-right":"top-left","top-right":"bottom-left","bottom-left":"top-right"}[e]}function O6(e,t,n,i){if("h"===n&&(n=/left/.test(i)?"l":"r"),"v"===n&&(n=/top/.test(i)?"t":"b"),"t"===n)return{original:e,x:e.x,y:t.y};if("r"===n)return{original:e,x:t.x+t.width,y:e.y};if("b"===n)return{original:e,x:e.x,y:t.y+t.height};if("l"===n)return{original:e,x:t.x,y:e.y};throw new Error("unexpected dockingDirection: <"+n+">")}function R6(e){return e.reduce((function(t,n,i){var o=t[t.length-1],r=e[i+1];return Ez(o,r,n,0)||t.push(n),t}),[])}var P6=-10,F6=40,j6={top:"bottom","top-right":"bottom-left","top-left":"bottom-right",right:"left",bottom:"top","bottom-right":"top-left","bottom-left":"top-right",left:"right"},Q6={top:"t",right:"r",bottom:"b",left:"l"};function z6(){}function V6(e){var t=e.host;return Fz(Pz(e),t,P6)}function W6(e,t){return{preferredLayouts:["straight","v:v"],preserveDocking:H6(e,t)}}function H6(e,t){return Object(bU["is"])(t,"bpmn:Participant")?"source":Object(bU["is"])(e,"bpmn:Participant")?"target":q6(t)?"source":q6(e)||Object(bU["is"])(t,"bpmn:Event")?"target":Object(bU["is"])(e,"bpmn:Event")?"source":null}function U6(e){return{preferredLayouts:["straight","h:h"],preserveDocking:Y6(e)}}function Y6(e){return q6(e)?"target":"source"}function G6(e,t){return e?e.original||e:Pz(t)}function K6(e,t){return Object(bU["is"])(t,"bpmn:Activity")&&Object(bU["is"])(e,"bpmn:BoundaryEvent")&&t.businessObject.isForCompensation}function q6(e){return Object(bU["is"])(e,"bpmn:SubProcess")&&vU(e)}function J6(e,t){return e===t}function X6(e,t){return-1!==t.indexOf(e)}function $6(e){var t=/right|left/.exec(e);return t&&t[0]}function Z6(e){var t=/top|bottom/.exec(e);return t&&t[0]}function e7(e,t){return j6[e]===t}function t7(e,t){var n=$6(e),i=j6[n];return-1!==t.indexOf(i)}function n7(e,t){var n=Z6(e),i=j6[n];return-1!==t.indexOf(i)}function i7(e){return"right"===e||"left"===e}function o7(e,t){var n=t.waypoints,i=n&&n.length&&Fz(n[0],e);return"top"===i?["t:r"]:"right"===i?["r:b"]:"left"===i?["l:t"]:["b:l"]}function r7(e,t,n){var i,o,r=Pz(e),s=Pz(t),a=V6(e),l=J6(e.host,t),c=X6(a,["top","right","bottom","left"]),h=Fz(s,r,{x:e.width/2+t.width/2,y:e.height/2+t.height/2});return l?s7(a,c,e,t,n):(i=c7(a,h,c),o=h7(a,h,c),[i+":"+o])}function s7(e,t,n,i,o){var r,s=t?e:Z6(e),a=Q6[s];return r=t?i7(e)?a7("y",n,i,o)?"h":"b":a7("x",n,i,o)?"v":"l":"v",[a+":"+r]}function a7(e,t,n,i){var o=F6;return!(l7(e,i,n,o)||l7(e,i,{x:n.x+n.width,y:n.y+n.height},o)||l7(e,i,Pz(t),o))}function l7(e,t,n,i){return Math.abs(t[e]-n[e])<i}function c7(e,t,n){return n?Q6[e]:J6(Z6(e),Z6(t))||e7($6(e),$6(t))?Q6[Z6(e)]:Q6[$6(e)]}function h7(e,t,n){return n?i7(e)?t7(e,t)||J6(e,t)?"h":"v":n7(e,t)||J6(e,t)?"v":"h":i7(t)||J6(Z6(e),Z6(t))&&$6(t)?"h":"v"}function u7(e){return Object(Zj["assign"])({original:e.point.original||e.point},e.actual)}function d7(e,t){this._elementRegistry=e,this._graphicsFactory=t}Kj()(z6,a6),z6.prototype.layoutConnection=function(e,t){t||(t={});var n,i,o=t.source||e.source,r=t.target||e.target,s=t.waypoints||e.waypoints,a=t.connectionStart,l=t.connectionEnd;return a||(a=G6(s&&s[0],o)),l||(l=G6(s&&s[s.length-1],r)),(Object(bU["is"])(e,"bpmn:Association")||Object(bU["is"])(e,"bpmn:DataAssociation"))&&s&&!K6(o,r)?[].concat([a],s.slice(1,-1),[l]):(Object(bU["is"])(e,"bpmn:MessageFlow")?n=W6(o,r):(Object(bU["is"])(e,"bpmn:SequenceFlow")||K6(o,r))&&(n=o===r?{preferredLayouts:o7(o,e)}:Object(bU["is"])(o,"bpmn:BoundaryEvent")?{preferredLayouts:r7(o,r,l)}:q6(o)||q6(r)?U6(o):Object(bU["is"])(o,"bpmn:Gateway")?{preferredLayouts:["v:h"]}:Object(bU["is"])(r,"bpmn:Gateway")?{preferredLayouts:["h:v"]}:{preferredLayouts:["h:h"]}),n&&(n=Object(Zj["assign"])(n,t),i=R6(E6(o,r,a,l,s,n))),i||[a,l])},d7.$inject=["elementRegistry","graphicsFactory"],d7.prototype.getCroppedWaypoints=function(e,t,n){t=t||e.source,n=n||e.target;var i=this.getDockingPoint(e,t,!0),o=this.getDockingPoint(e,n),r=e.waypoints.slice(i.idx+1,o.idx);return r.unshift(u7(i)),r.push(u7(o)),r},d7.prototype.getDockingPoint=function(e,t,n){var i,o,r,s=e.waypoints;return i=n?0:s.length-1,o=s[i],r=this._getIntersection(t,e,n),{point:o,actual:r||o,idx:i}},d7.prototype._getIntersection=function(e,t,n){var i=this._getShapePath(e),o=this._getConnectionPath(t);return jz(i,o,n)},d7.prototype._getConnectionPath=function(e){return this._graphicsFactory.getConnectionPath(e)},d7.prototype._getShapePath=function(e){return this._graphicsFactory.getShapePath(e)},d7.prototype._getGfx=function(e){return this._elementRegistry.getGraphics(e)};var p7={__init__:["modeling","bpmnUpdater"],__depends__:[N4,S5,M5,B5,u$,T5,V5,K5,o3,rG,r0,T3],bpmnFactory:["type",O3],bpmnUpdater:["type",R3],elementFactory:["type",j3],modeling:["type",s6],layouter:["type",z6],connectionDocking:["type",d7]},f7=500,g7=1250,m7=1500,b7=Math.round;function v7(e){return{x:e.x+b7(e.width/2),y:e.y+b7(e.height/2)}}function y7(e,t,n,i,o){function r(e,t,n,i){return o.allowed("elements.move",{shapes:e,delta:t,position:n,target:i})}function s(e,n,i,o){if(Object(Zj["isObject"])(i)&&(o=i,i=!1),!n.waypoints&&n.parent){var r=v7(n);return t.init(e,r,"shape.move",{cursor:"grabbing",autoActivate:i,data:{shape:n,context:o||{}}}),!0}}e.on("shape.move.start",m7,(function(e){var t=e.context,n=e.shape,o=i.get().slice();-1===o.indexOf(n)&&(o=[n]),o=w7(o),Object(Zj["assign"])(t,{shapes:o,validatedShapes:o,shape:n})})),e.on("shape.move.start",g7,(function(e){var t,n=e.context,i=n.validatedShapes;if(t=n.canExecute=r(i),!t)return!1})),e.on("shape.move.move",f7,(function(e){var t,n=e.context,i=n.validatedShapes,o=e.hover,s={x:e.dx,y:e.dy},a={x:e.x,y:e.y};t=r(i,s,a,o),n.delta=s,n.canExecute=t,n.target=null!==t?o:null})),e.on("shape.move.end",(function(e){var t=e.context,i=t.delta,o=t.canExecute,r="attach"===o,s=t.shapes;if(!1===o)return!1;i.x=b7(i.x),i.y=b7(i.y),0===i.x&&0===i.y||n.moveElements(s,i,t.target,{primaryShape:t.shape,attach:r})})),e.on("element.mousedown",(function(e){if(zY(e)){var t=RY(e);if(!t)throw new Error("must supply DOM mousedown event");return s(t,e.element)}})),this.start=s}function w7(e){var t=Object(Zj["groupBy"])(e,"id");return Object(Zj["filter"])(e,(function(e){while(e=e.parent)if(t[e.id])return!1;return!0}))}y7.$inject=["eventBus","dragging","modeling","selection","rules"];var _7=499,A7="djs-dragging",C7="drop-ok",E7="drop-not-ok",x7="new-parent",S7="attach-ok";function D7(e,t,n,i){function o(e){var t=r(e),n=k7(t);return n}function r(e){var t=cz(e,!0),n=Object(Zj["map"])(t,(function(e){return(e.incoming||[]).concat(e.outgoing||[])}));return Object(Zj["flatten"])(t.concat(n))}function s(e,n){[S7,C7,E7,x7].forEach((function(i){i===n?t.addMarker(e,i):t.removeMarker(e,i)}))}function a(e,n,o){i.addDragger(n,e.dragGroup),o&&t.addMarker(n,A7),e.allDraggedElements?e.allDraggedElements.push(n):e.allDraggedElements=[n]}e.on("shape.move.start",_7,(function(e){var s=e.context,a=s.shapes,l=s.allDraggedElements,c=o(a);if(!s.dragGroup){var h=CQ("g");cQ(h,n.cls("djs-drag-group",["no-events"]));var u=t.getDefaultLayer();iQ(u,h),s.dragGroup=h}c.forEach((function(e){i.addDragger(e,s.dragGroup)})),l=l?Object(Zj["flatten"])([l,r(a)]):r(a),Object(Zj["forEach"])(l,(function(e){t.addMarker(e,A7)})),s.allDraggedElements=l,s.differentParents=M7(a)})),e.on("shape.move.move",_7,(function(e){var t=e.context,n=t.dragGroup,i=t.target,o=t.shape.parent,r=t.canExecute;i&&("attach"===r?s(i,S7):t.canExecute&&i&&i.id!==o.id?s(i,x7):s(i,t.canExecute?C7:E7)),AV(n,e.dx,e.dy)})),e.on(["shape.move.out","shape.move.cleanup"],(function(e){var t=e.context,n=t.target;n&&s(n,null)})),e.on("shape.move.cleanup",(function(e){var n=e.context,i=n.allDraggedElements,o=n.dragGroup;Object(Zj["forEach"])(i,(function(e){t.removeMarker(e,A7)})),o&&mQ(o)})),this.makeDraggable=a}function k7(e){var t=Object(Zj["filter"])(e,(function(t){return!N7(t)||Object(Zj["find"])(e,Object(Zj["matchPattern"])({id:t.source.id}))&&Object(Zj["find"])(e,Object(Zj["matchPattern"])({id:t.target.id}))}));return t}function M7(e){return 1!==Object(Zj["size"])(Object(Zj["groupBy"])(e,(function(e){return e.parent&&e.parent.id})))}function N7(e){return e.waypoints}D7.$inject=["eventBus","canvas","styles","previewSupport"];var L7={__depends__:[qY,rG,$Y,xq,wq,uX],__init__:["move","movePreview"],move:["type",y7],movePreview:["type",D7]},B7=".djs-palette-toggle",I7=".entry",T7=B7+", "+I7,O7="open",R7="two-column",P7=1e3;function F7(e,t){this._eventBus=e,this._canvas=t;var n=this;e.on("tool-manager.update",(function(e){var t=e.tool;n.updateToolHighlight(t)})),e.on("i18n.changed",(function(){n._update()})),e.on("diagram.init",(function(){n._diagramInitialized=!0,n._rebuild()}))}function j7(e,t){var n=Object(eQ["classes"])(e),i=Object(Zj["isArray"])(t)?t:t.split(/\s+/g);i.forEach((function(e){n.add(e)}))}function Q7(e,t){var n=t.getPaletteEntries();return Object(Zj["isFunction"])(n)?n(e):(Object(Zj["forEach"])(n,(function(t,n){e[n]=t})),e)}F7.$inject=["eventBus","canvas"],F7.prototype.registerProvider=function(e,t){t||(t=e,e=P7),this._eventBus.on("palette.getProviders",e,(function(e){e.providers.push(t)})),this._rebuild()},F7.prototype.getEntries=function(){var e=this._getProviders();return e.reduce(Q7,{})},F7.prototype._rebuild=function(){if(this._diagramInitialized){var e=this._getProviders();e.length&&(this._container||this._init(),this._update())}},F7.prototype._init=function(){var e=this,t=this._eventBus,n=this._getParentContainer(),i=this._container=Object(eQ["domify"])(F7.HTML_MARKUP);n.appendChild(i),eQ["delegate"].bind(i,T7,"click",(function(t){var n=t.delegateTarget;if(Object(eQ["matches"])(n,B7))return e.toggle();e.trigger("click",t)})),eQ["event"].bind(i,"mousedown",(function(e){e.stopPropagation()})),eQ["delegate"].bind(i,I7,"dragstart",(function(t){e.trigger("dragstart",t)})),t.on("canvas.resized",this._layoutChanged,this),t.fire("palette.create",{container:i})},F7.prototype._getProviders=function(e){var t=this._eventBus.createEvent({type:"palette.getProviders",providers:[]});return this._eventBus.fire(t),t.providers},F7.prototype._toggleState=function(e){e=e||{};var t,n=this._getParentContainer(),i=this._container,o=this._eventBus,r=Object(eQ["classes"])(i);t="twoColumn"in e?e.twoColumn:this._needsCollapse(n.clientHeight,this._entries||{}),r.toggle(R7,t),"open"in e&&r.toggle(O7,e.open),o.fire("palette.changed",{twoColumn:t,open:this.isOpen()})},F7.prototype._update=function(){var e=Object(eQ["query"])(".djs-palette-entries",this._container),t=this._entries=this.getEntries();Object(eQ["clear"])(e),Object(Zj["forEach"])(t,(function(t,n){var i=t.group||"default",o=Object(eQ["query"])("[data-group="+i+"]",e);o||(o=Object(eQ["domify"])('<div class="group" data-group="'+i+'"></div>'),e.appendChild(o));var r=t.html||(t.separator?'<hr class="separator" />':'<div class="entry" draggable="true"></div>'),s=Object(eQ["domify"])(r);o.appendChild(s),t.separator||(Object(eQ["attr"])(s,"data-action",n),t.title&&Object(eQ["attr"])(s,"title",t.title),t.className&&j7(s,t.className),t.imageUrl&&s.appendChild(Object(eQ["domify"])('<img src="'+t.imageUrl+'">')))})),this.open()},F7.prototype.trigger=function(e,t,n){var i,o,r,s=this._entries,a=t.delegateTarget||t.target;if(!a)return t.preventDefault();i=s[Object(eQ["attr"])(a,"data-action")],i&&(o=i.action,r=t.originalEvent||t,Object(Zj["isFunction"])(o)?"click"===e&&o(r,n):o[e]&&o[e](r,n),t.preventDefault())},F7.prototype._layoutChanged=function(){this._toggleState({})},F7.prototype._needsCollapse=function(e,t){var n=50,i=46*Object.keys(t).length;return e<i+n},F7.prototype.close=function(){this._toggleState({open:!1,twoColumn:!1})},F7.prototype.open=function(){this._toggleState({open:!0})},F7.prototype.toggle=function(e){this.isOpen()?this.close():this.open()},F7.prototype.isActiveTool=function(e){return e&&this._activeTool===e},F7.prototype.updateToolHighlight=function(e){var t,n;this._toolsContainer||(t=Object(eQ["query"])(".djs-palette-entries",this._container),this._toolsContainer=Object(eQ["query"])("[data-group=tools]",t)),n=this._toolsContainer,Object(Zj["forEach"])(n.children,(function(t){var n=t.getAttribute("data-action");if(n){var i=Object(eQ["classes"])(t);n=n.replace("-tool",""),i.contains("entry")&&n===e?i.add("highlighted-entry"):i.remove("highlighted-entry")}}))},F7.prototype.isOpen=function(){return Object(eQ["classes"])(this._container).has(O7)},F7.prototype._getParentContainer=function(){return this._canvas.getContainer()},F7.HTML_MARKUP='<div class="djs-palette"><div class="djs-palette-entries"></div><div class="djs-palette-toggle"></div></div>';var z7={__init__:["palette"],palette:["type",F7]},V7="crosshair";function W7(e,t,n,i,o,r,s){this._selection=o,this._dragging=n,this._mouse=s;var a=this,l={create:function(e){var n,i=t.getDefaultLayer();n=e.frame=CQ("rect"),cQ(n,{class:"djs-lasso-overlay",width:1,height:1,x:0,y:0}),iQ(i,n)},update:function(e){var t=e.frame,n=e.bbox;cQ(t,{x:n.x,y:n.y,width:n.width,height:n.height})},remove:function(e){e.frame&&mQ(e.frame)}};r.registerTool("lasso",{tool:"lasso.selection",dragging:"lasso"}),e.on("lasso.selection.end",(function(t){var n=t.originalEvent.target;(t.hover||n instanceof SVGElement)&&e.once("lasso.selection.ended",(function(){a.activateLasso(t.originalEvent,!0)}))})),e.on("lasso.end",(function(e){var t=H7(e),n=i.filter((function(e){return e}));a.select(n,t)})),e.on("lasso.start",(function(e){var t=e.context;t.bbox=H7(e),l.create(t)})),e.on("lasso.move",(function(e){var t=e.context;t.bbox=H7(e),l.update(t)})),e.on("lasso.cleanup",(function(e){var t=e.context;l.remove(t)})),e.on("element.mousedown",1500,(function(e){if(HY(e))return a.activateLasso(e.originalEvent),!0}))}function H7(e){var t,n={x:e.x-e.dx,y:e.y-e.dy},i={x:e.x,y:e.y};return t=n.x<=i.x&&n.y<i.y||n.x<i.x&&n.y<=i.y?{x:n.x,y:n.y,width:i.x-n.x,height:i.y-n.y}:n.x>=i.x&&n.y<i.y||n.x>i.x&&n.y<=i.y?{x:i.x,y:n.y,width:n.x-i.x,height:i.y-n.y}:n.x<=i.x&&n.y>i.y||n.x<i.x&&n.y>=i.y?{x:n.x,y:i.y,width:i.x-n.x,height:n.y-i.y}:n.x>=i.x&&n.y>i.y||n.x>i.x&&n.y>=i.y?{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}:{x:i.x,y:i.y,width:0,height:0},t}W7.$inject=["eventBus","canvas","dragging","elementRegistry","selection","toolManager","mouse"],W7.prototype.activateLasso=function(e,t){this._dragging.init(e,"lasso",{autoActivate:t,cursor:V7,data:{context:{}}})},W7.prototype.activateSelection=function(e,t){this._dragging.init(e,"lasso.selection",{trapClick:!1,autoActivate:t,cursor:V7,data:{context:{}}})},W7.prototype.select=function(e,t){var n=dz(e,t);this._selection.select(Object(Zj["values"])(n))},W7.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateSelection(e,!!e)},W7.prototype.isActive=function(){var e=this._dragging.context();return e&&/^lasso/.test(e.prefix)};var U7={__depends__:[l3,RX],__init__:["lassoTool"],lassoTool:["type",W7]},Y7=1500,G7="grab";function K7(e,t,n,i,o,r){this._dragging=n,this._mouse=r;var s=this,a=i.get("keyboard",!1);o.registerTool("hand",{tool:"hand",dragging:"hand.move"}),e.on("element.mousedown",Y7,(function(e){if(WY(e))return s.activateMove(e.originalEvent,!0),!1})),a&&a.addListener(Y7,(function(e){if(q7(e.keyEvent)&&!s.isActive()){var t=s._mouse.getLastMoveEvent();s.activateMove(t,!!t)}}),"keyboard.keydown"),a&&a.addListener(Y7,(function(e){q7(e.keyEvent)&&s.isActive()&&s.toggle()}),"keyboard.keyup"),e.on("hand.end",(function(t){var n=t.originalEvent.target;if(!t.hover&&!(n instanceof SVGElement))return!1;e.once("hand.ended",(function(){s.activateMove(t.originalEvent,{reactivate:!0})}))})),e.on("hand.move.move",(function(e){var n=t.viewbox().scale;t.scroll({dx:e.dx*n,dy:e.dy*n})})),e.on("hand.move.end",(function(t){var n=t.context,i=n.reactivate;return!WY(t)&&i&&e.once("hand.move.ended",(function(e){s.activateHand(e.originalEvent,!0,!0)})),!1}))}function q7(e){return vG(" ",e)}K7.$inject=["eventBus","canvas","dragging","injector","toolManager","mouse"],K7.prototype.activateMove=function(e,t,n){"object"===typeof t&&(n=t,t=!1),this._dragging.init(e,"hand.move",{autoActivate:t,cursor:G7,data:{context:n||{}}})},K7.prototype.activateHand=function(e,t,n){this._dragging.init(e,"hand",{trapClick:!1,autoActivate:t,cursor:G7,data:{context:{reactivate:n}}})},K7.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();this.activateHand(e,!!e)},K7.prototype.isActive=function(){var e=this._dragging.context();return!!e&&/^(hand|hand\.move)$/.test(e.prefix)};var J7={__depends__:[l3,RX],__init__:["handTool"],handTool:["type",K7]},X7="connect-ok",$7="connect-not-ok";function Z7(e,t,n,i,o,r,s){var a=this;this._dragging=t,this._rules=r,this._mouse=s,o.registerTool("global-connect",{tool:"global-connect",dragging:"global-connect.drag"}),e.on("global-connect.hover",(function(e){var t=e.context,n=e.hover,o=t.canStartConnect=a.canStartConnect(n);null!==o&&(t.startTarget=n,i.addMarker(n,o?X7:$7))})),e.on(["global-connect.out","global-connect.cleanup"],(function(e){var t=e.context.startTarget,n=e.context.canStartConnect;t&&i.removeMarker(t,n?X7:$7)})),e.on(["global-connect.ended"],(function(t){var i=t.context,o=i.startTarget,r={x:t.x,y:t.y},s=a.canStartConnect(o);if(s)return e.once("element.out",(function(){e.once(["connect.ended","connect.canceled"],(function(){e.fire("global-connect.drag.ended")})),n.start(null,o,r)})),!1}))}Z7.$inject=["eventBus","dragging","connect","canvas","toolManager","rules","mouse"],Z7.prototype.start=function(e,t){this._dragging.init(e,"global-connect",{autoActivate:t,trapClick:!1,data:{context:{}}})},Z7.prototype.toggle=function(){if(this.isActive())return this._dragging.cancel();var e=this._mouse.getLastMoveEvent();return this.start(e,!!e)},Z7.prototype.isActive=function(){var e=this._dragging.context();return e&&/^global-connect/.test(e.prefix)},Z7.prototype.canStartConnect=function(e){return this._rules.allowed("connection.start",{source:e})};var e9={__depends__:[FJ,xq,wq,l3,RX],globalConnect:["type",Z7]};function t9(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}t9.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],t9.prototype.getPaletteEntries=function(e){var t={},n=this._create,i=this._elementFactory,o=this._spaceTool,r=this._lassoTool,s=this._handTool,a=this._globalConnect,l=this._translate;function c(e,t,o,r,s){function a(t){var o=i.createShape(Object(Zj["assign"])({type:e},s));s&&(o.businessObject.di.isExpanded=s.isExpanded),n.start(t,o)}var c=e.replace(/^bpmn:/,"");return{group:t,className:o,title:r||l("Create {type}",{type:c}),action:{dragstart:a,click:a}}}function h(e){var t=i.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=i.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:t});n.start(e,[t,o],{hints:{autoSelect:[o]}})}function u(e){n.start(e,i.createParticipantShape())}return Object(Zj["assign"])(t,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:l("Activate the hand tool"),action:{click:function(e){s.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:l("Activate the lasso tool"),action:{click:function(e){r.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:l("Activate the create/remove space tool"),action:{click:function(e){o.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:l("Activate the global connect tool"),action:{click:function(e){a.start(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":c("bpmn:StartEvent","event","bpmn-icon-start-event-none",l("Create StartEvent")),"create.intermediate-event":c("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",l("Create Intermediate/Boundary Event")),"create.end-event":c("bpmn:EndEvent","event","bpmn-icon-end-event-none",l("Create EndEvent")),"create.exclusive-gateway":c("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-none",l("Create Gateway")),"create.task":c("bpmn:Task","activity","bpmn-icon-task",l("Create Task")),"create.data-object":c("bpmn:DataObjectReference","data-object","bpmn-icon-data-object",l("Create DataObjectReference")),"create.data-store":c("bpmn:DataStoreReference","data-store","bpmn-icon-data-store",l("Create DataStoreReference")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:l("Create expanded SubProcess"),action:{dragstart:h,click:h}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:l("Create Pool/Participant"),action:{dragstart:u,click:u}},"create.group":c("bpmn:Group","artifact","bpmn-icon-group",l("Create Group"))}),t};var n9={__depends__:[z7,xX,T3,U7,J7,e9,bY],__init__:["paletteProvider"],paletteProvider:["type",t9]},i9=250;function o9(e,t,n,i,o){function r(e){var r=e.canExecute.replacements;Object(Zj["forEach"])(r,(function(r){var s=r.oldElementId,a={type:r.newElementType};if(!e.visualReplacements[s]){var l=t.get(s);Object(Zj["assign"])(a,{x:l.x,y:l.y});var c=n.createShape(a);i.addShape(c,l.parent);var h=Object(eQ["query"])('[data-element-id="'+Hq()(l.id)+'"]',e.dragGroup);h&&cQ(h,{display:"none"});var u=o.addDragger(c,e.dragGroup);e.visualReplacements[s]=u,i.removeShape(c)}}))}function s(e){var t=e.visualReplacements;Object(Zj["forEach"])(t,(function(n,i){var o=Object(eQ["query"])('[data-element-id="'+Hq()(i)+'"]',e.dragGroup);o&&cQ(o,{display:"inline"}),n.remove(),t[i]&&delete t[i]}))}ZK.call(this,e),e.on("shape.move.move",i9,(function(e){var t=e.context,n=t.canExecute;t.visualReplacements||(t.visualReplacements={}),n&&n.replacements?r(t):s(t)}))}o9.$inject=["eventBus","elementRegistry","elementFactory","canvas","previewSupport"],Kj()(o9,ZK);var r9={__depends__:[uX],__init__:["bpmnReplacePreview"],bpmnReplacePreview:["type",o9]},s9=1250,a9=40,l9=20,c9=10,h9=20,u9=["x","y"],d9=Math.abs;function p9(e){e.on(["connect.hover","connect.move","connect.end"],s9,(function(e){var t=e.context,n=t.canExecute,i=t.start,o=t.hover,r=t.source,s=t.target;e.originalEvent&&bG(e.originalEvent)||(t.initialConnectionStart||(t.initialConnectionStart=t.connectionStart),n&&o&&f9(e,o,_9(o)),o&&y9(n,["bpmn:Association","bpmn:DataInputAssociation","bpmn:DataOutputAssociation","bpmn:SequenceFlow"])?(t.connectionStart=AJ(i),WK(o,["bpmn:Event","bpmn:Gateway"])&&b9(e,AJ(o)),WK(o,["bpmn:Task","bpmn:SubProcess"])&&g9(e,o),Object(bU["is"])(r,"bpmn:BoundaryEvent")&&s===r.host&&m9(e)):v9(n,"bpmn:MessageFlow")?(Object(bU["is"])(i,"bpmn:Event")&&(t.connectionStart=AJ(i)),Object(bU["is"])(o,"bpmn:Event")&&b9(e,AJ(o))):t.connectionStart=t.initialConnectionStart)}))}function f9(e,t,n){u9.forEach((function(i){var o=w9(i,t);e[i]<t[i]+n?EJ(e,i,t[i]+n):e[i]>t[i]+o-n&&EJ(e,i,t[i]+o-n)}))}function g9(e,t){var n=AJ(t);u9.forEach((function(i){A9(e,t,i)&&EJ(e,i,n[i])}))}function m9(e){var t=e.context,n=t.source,i=t.target;if(!C9(t)){var o=AJ(n),r=Fz(o,i,-10),s=[];/top|bottom/.test(r)&&s.push("x"),/left|right/.test(r)&&s.push("y"),s.forEach((function(t){var n,i=e[t];d9(i-o[t])<a9&&(n=i>o[t]?o[t]+a9:o[t]-a9,EJ(e,t,n))}))}}function b9(e,t){EJ(e,"x",t.x),EJ(e,"y",t.y)}function v9(e,t){return e&&e.type===t}function y9(e,t){return Object(Zj["some"])(t,(function(t){return v9(e,t)}))}function w9(e,t){return"x"===e?t.width:t.height}function _9(e){return Object(bU["is"])(e,"bpmn:Task")?c9:l9}function A9(e,t,n){return e[n]>t[n]+h9&&e[n]<t[n]+w9(n,t)-h9}function C9(e){var t=e.hover,n=e.source;return t&&n&&t===n}function E9(){this._targets={},this._snapOrigins={},this._snapLocations=[],this._defaultSnaps={}}function x9(e){this._snapValues={}}p9.$inject=["eventBus"],E9.prototype.getSnapOrigin=function(e){return this._snapOrigins[e]},E9.prototype.setSnapOrigin=function(e,t){this._snapOrigins[e]=t,-1===this._snapLocations.indexOf(e)&&this._snapLocations.push(e)},E9.prototype.addDefaultSnap=function(e,t){var n=this._defaultSnaps[e];n||(n=this._defaultSnaps[e]=[]),n.push(t)},E9.prototype.getSnapLocations=function(){return this._snapLocations},E9.prototype.setSnapLocations=function(e){this._snapLocations=e},E9.prototype.pointsForTarget=function(e){var t=e.id||e,n=this._targets[t];return n||(n=this._targets[t]=new x9,n.initDefaults(this._defaultSnaps)),n},x9.prototype.add=function(e,t){var n=this._snapValues[e];n||(n=this._snapValues[e]={x:[],y:[]}),-1===n.x.indexOf(t.x)&&n.x.push(t.x),-1===n.y.indexOf(t.y)&&n.y.push(t.y)},x9.prototype.snap=function(e,t,n,i){var o=this._snapValues[t];return o&&yJ(e[n],o[n],i)},x9.prototype.initDefaults=function(e){var t=this;Object(Zj["forEach"])(e||{},(function(e,n){Object(Zj["forEach"])(e,(function(e){t.add(n,e)}))}))};var S9=1250;function D9(e,t,n){var i=this;this._elementRegistry=e,t.on(["create.start","shape.move.start"],(function(e){i.initSnap(e)})),t.on(["create.move","create.end","shape.move.move","shape.move.end"],S9,(function(e){var t=e.context,o=t.shape,r=t.snapContext,s=t.target;if((!e.originalEvent||!bG(e.originalEvent))&&!CJ(e)&&s){var a=r.pointsForTarget(s);a.initialized||(a=i.addSnapTargetPoints(a,o,s),a.initialized=!0),n.snap(e,a)}})),t.on(["create.cleanup","shape.move.cleanup"],(function(){n.hide()}))}function k9(e){return!!e.waypoints}function M9(e){return!!e.hidden}function N9(e){return!!e.labelTarget}D9.$inject=["elementRegistry","eventBus","snapping"],D9.prototype.initSnap=function(e){var t,n=this._elementRegistry,i=e.context,o=i.shape,r=i.snapContext;r||(r=i.snapContext=new E9),t=n.get(o.id)?AJ(o,e):{x:e.x+AJ(o).x,y:e.y+AJ(o).y};var s={x:t.x-o.width/2,y:t.y-o.height/2},a={x:t.x+o.width/2,y:t.y+o.height/2};return r.setSnapOrigin("mid",{x:t.x-e.x,y:t.y-e.y}),N9(o)||(r.setSnapOrigin("top-left",{x:s.x-e.x,y:s.y-e.y}),r.setSnapOrigin("bottom-right",{x:a.x-e.x,y:a.y-e.y})),r},D9.prototype.addSnapTargetPoints=function(e,t,n){var i=this.getSnapTargets(t,n);return Object(Zj["forEach"])(i,(function(n){if(N9(n))N9(t)&&e.add("mid",AJ(n));else if(k9(n)){if(n.waypoints.length<3)return;var i=n.waypoints.slice(1,-1);Object(Zj["forEach"])(i,(function(t){e.add("mid",t)}))}else e.add("mid",AJ(n))})),Object(Zj["isNumber"])(t.x)&&Object(Zj["isNumber"])(t.y)?(this._elementRegistry.get(t.id)&&e.add("mid",AJ(t)),e):e},D9.prototype.getSnapTargets=function(e,t){return xJ(t).filter((function(e){return!M9(e)}))};var L9=1500;function B9(e,t){t.invoke(D9,this),e.on(["create.move","create.end"],L9,R9),e.on(["create.move","create.end","shape.move.move","shape.move.end"],L9,(function(e){var t=e.context,n=t.canExecute,i=t.target,o=n&&("attach"===n||n.attach);o&&!CJ(e)&&I9(e,i)}))}function I9(e,t){var n,i=Oz(t),o=L4(e,t),r=e.context,s=r.shape;n=s.parent?{x:0,y:0}:Pz(s),/top/.test(o)?EJ(e,"y",i.top-n.y):/bottom/.test(o)&&EJ(e,"y",i.bottom-n.y),/left/.test(o)?EJ(e,"x",i.left-n.x):/right/.test(o)&&EJ(e,"x",i.right-n.x)}function T9(e,t){return e.every((function(e){return Object(bU["is"])(e,t)}))}function O9(e){return!(!Object(bU["is"])(e,"bpmn:SubProcess")||!vU(e))||Object(bU["is"])(e,"bpmn:Participant")}function R9(e){var t=e.context,n=t.createConstraints;if(n){var i=n.top,o=n.right,r=n.bottom,s=n.left;(s&&s>=e.x||o&&o<=e.x)&&EJ(e,"x",e.x),(i&&i>=e.y||r&&r<=e.y)&&EJ(e,"y",e.y)}}function P9(e,t){return-1!==e.indexOf(t)}function F9(e,t,n){return t?{x:e.x-n.x,y:e.y-n.y}:{x:e.x,y:e.y}}Kj()(B9,D9),B9.$inject=["eventBus","injector"],B9.prototype.initSnap=function(e){var t=D9.prototype.initSnap.call(this,e),n=e.shape,i=!!this._elementRegistry.get(n.id);return Object(Zj["forEach"])(n.outgoing,(function(n){var o=n.waypoints[0];o=o.original||o,t.setSnapOrigin(n.id+"-docking",F9(o,i,e))})),Object(Zj["forEach"])(n.incoming,(function(n){var o=n.waypoints[n.waypoints.length-1];o=o.original||o,t.setSnapOrigin(n.id+"-docking",F9(o,i,e))})),Object(bU["is"])(n,"bpmn:Participant")&&t.setSnapLocations(["top-left","bottom-right","mid"]),t},B9.prototype.addSnapTargetPoints=function(e,t,n){D9.prototype.addSnapTargetPoints.call(this,e,t,n);var i=this.getSnapTargets(t,n);Object(Zj["forEach"])(i,(function(n){(O9(n)||T9([t,n],"bpmn:TextAnnotation"))&&(e.add("top-left",wJ(n)),e.add("bottom-right",_J(n)))}));var o=this._elementRegistry;return Object(Zj["forEach"])(t.incoming,(function(n){if(o.get(t.id)){P9(i,n.source)||e.add("mid",Pz(n.source));var r=n.waypoints[0];e.add(n.id+"-docking",r.original||r)}})),Object(Zj["forEach"])(t.outgoing,(function(n){if(o.get(t.id)){P9(i,n.target)||e.add("mid",Pz(n.target));var r=n.waypoints[n.waypoints.length-1];e.add(n.id+"-docking",r.original||r)}})),Object(bU["is"])(n,"bpmn:SequenceFlow")&&(e=this.addSnapTargetPoints(e,t,n.parent)),e},B9.prototype.getSnapTargets=function(e,t){return D9.prototype.getSnapTargets.call(this,e,t).filter((function(e){return!Object(bU["is"])(e,"bpmn:Lane")}))};var j9=1250;function Q9(e,t){var n=this;e.on(["resize.start"],(function(e){n.initSnap(e)})),e.on(["resize.move","resize.end"],j9,(function(e){var i=e.context,o=i.shape,r=o.parent,s=i.direction,a=i.snapContext;if((!e.originalEvent||!bG(e.originalEvent))&&!CJ(e)){var l=a.pointsForTarget(r);l.initialized||(l=n.addSnapTargetPoints(l,o,r,s),l.initialized=!0),Y9(s)&&EJ(e,"x",e.x),G9(s)&&EJ(e,"y",e.y),t.snap(e,l)}})),e.on(["resize.cleanup"],(function(){t.hide()}))}function z9(e,t){var n=Pz(e),i=Oz(e),o={x:n.x,y:n.y};return-1!==t.indexOf("n")?o.y=i.top:-1!==t.indexOf("s")&&(o.y=i.bottom),-1!==t.indexOf("e")?o.x=i.right:-1!==t.indexOf("w")&&(o.x=i.left),o}function V9(e,t){return e.host===t}function W9(e){return!!e.waypoints}function H9(e){return!!e.hidden}function U9(e){return!!e.labelTarget}function Y9(e){return"n"===e||"s"===e}function G9(e){return"e"===e||"w"===e}Q9.prototype.initSnap=function(e){var t=e.context,n=t.shape,i=t.direction,o=t.snapContext;o||(o=t.snapContext=new E9);var r=z9(n,i);return o.setSnapOrigin("corner",{x:r.x-e.x,y:r.y-e.y}),o},Q9.prototype.addSnapTargetPoints=function(e,t,n,i){var o=this.getSnapTargets(t,n);return Object(Zj["forEach"])(o,(function(t){e.add("corner",_J(t)),e.add("corner",wJ(t))})),e.add("corner",z9(t,i)),e},Q9.$inject=["eventBus","snapping"],Q9.prototype.getSnapTargets=function(e,t){return xJ(t).filter((function(t){return!V9(t,e)&&!W9(t)&&!H9(t)&&!U9(t)}))};var K9=7,q9=1e3;function J9(e){this._canvas=e,this._asyncHide=Object(Zj["debounce"])(Object(Zj["bind"])(this.hide,this),q9)}J9.$inject=["canvas"],J9.prototype.snap=function(e,t){var n=e.context,i=n.snapContext,o=i.getSnapLocations(),r={x:CJ(e,"x"),y:CJ(e,"y")};Object(Zj["forEach"])(o,(function(n){var o=i.getSnapOrigin(n),s={x:e.x+o.x,y:e.y+o.y};if(Object(Zj["forEach"])(["x","y"],(function(e){var i;r[e]||(i=t.snap(s,n,e,K9),void 0!==i&&(r[e]={value:i,originValue:i-o[e]}))})),r.x&&r.y)return!1})),this.showSnapLine("vertical",r.x&&r.x.value),this.showSnapLine("horizontal",r.y&&r.y.value),Object(Zj["forEach"])(["x","y"],(function(t){var n=r[t];Object(Zj["isObject"])(n)&&EJ(e,t,n.originValue)}))},J9.prototype._createLine=function(e){var t=this._canvas.getLayer("snap"),n=CQ("path");return cQ(n,{d:"M0,0 L0,0"}),fQ(n).add("djs-snap-line"),iQ(t,n),{update:function(t){Object(Zj["isNumber"])(t)?cQ(n,"horizontal"===e?{d:"M-100000,"+t+" L+100000,"+t,display:""}:{d:"M "+t+",-100000 L "+t+", +100000",display:""}):cQ(n,{display:"none"})}}},J9.prototype._createSnapLines=function(){this._snapLines={horizontal:this._createLine("horizontal"),vertical:this._createLine("vertical")}},J9.prototype.showSnapLine=function(e,t){var n=this.getSnapLine(e);n&&n.update(t),this._asyncHide()},J9.prototype.getSnapLine=function(e){return this._snapLines||this._createSnapLines(),this._snapLines[e]},J9.prototype.hide=function(){Object(Zj["forEach"])(this._snapLines,(function(e){e.update()}))};var X9={__init__:["createMoveSnapping","resizeSnapping","snapping"],createMoveSnapping:["type",D9],resizeSnapping:["type",Q9],snapping:["type",J9]},$9={__depends__:[X9],__init__:["connectSnapping","createMoveSnapping"],connectSnapping:["type",p9],createMoveSnapping:["type",B9]},Z9={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function eee(e){return e=""+e,e&&e.replace(/[&<>"']/g,(function(e){return Z9[e]}))}function tee(e,t,n,i){this._open=!1,this._results=[],this._eventMaps=[],this._canvas=e,this._eventBus=t,this._overlays=n,this._selection=i,this._container=Object(eQ["domify"])(tee.BOX_HTML),this._searchInput=Object(eQ["query"])(tee.INPUT_SELECTOR,this._container),this._resultsContainer=Object(eQ["query"])(tee.RESULTS_CONTAINER_SELECTOR,this._container),this._canvas.getContainer().appendChild(this._container),t.on(["canvas.destroy","diagram.destroy"],this.close,this)}function nee(e){var t=6,n=e.width+2*t,i=e.height+2*t,o=["width: "+n+"px","height: "+i+"px"].join("; ");return{position:{bottom:i-t,right:n-t},show:!0,html:'<div style="'+o+'" class="'+tee.OVERLAY_CLASS+'"></div>'}}function iee(e,t,n){var i=oee(t),o=Object(eQ["domify"])(n);o.innerHTML=i,e.appendChild(o)}function oee(e){var t="";return e.forEach((function(e){e.matched?t+='<strong class="'+tee.RESULT_HIGHLIGHT_CLASS+'">'+eee(e.matched)+"</strong>":t+=eee(e.normal)})),""!==t?t:null}tee.$inject=["canvas","eventBus","overlays","selection"],tee.prototype._bindEvents=function(){var e=this;function t(t,n,i,o){e._eventMaps.push({el:t,type:i,listener:eQ["delegate"].bind(t,n,i,o)})}t(document,"html","click",(function(t){e.close()})),t(this._container,tee.INPUT_SELECTOR,"click",(function(e){e.stopPropagation(),e.delegateTarget.focus()})),t(this._container,tee.RESULT_SELECTOR,"mouseover",(function(t){t.stopPropagation(),e._scrollToNode(t.delegateTarget),e._preselect(t.delegateTarget)})),t(this._container,tee.RESULT_SELECTOR,"click",(function(t){t.stopPropagation(),e._select(t.delegateTarget)})),t(this._container,tee.INPUT_SELECTOR,"keydown",(function(e){38===e.keyCode&&e.preventDefault(),40===e.keyCode&&e.preventDefault()})),t(this._container,tee.INPUT_SELECTOR,"keyup",(function(t){if(27===t.keyCode)return e.close();if(13===t.keyCode){var n=e._getCurrentResult();return n?e._select(n):e.close()}return 38===t.keyCode?e._scrollToDirection(!0):40===t.keyCode?e._scrollToDirection():void(37!==t.keyCode&&39!==t.keyCode&&e._search(t.delegateTarget.value))}))},tee.prototype._unbindEvents=function(){this._eventMaps.forEach((function(e){eQ["delegate"].unbind(e.el,e.type,e.listener)}))},tee.prototype._search=function(e){var t=this;if(this._clearResults(),e&&""!==e){var n=this._searchProvider.find(e);if(n.length){n.forEach((function(e){var n=e.element.id,i=t._createResultNode(e,n);t._results[n]={element:e.element,node:i}}));var i=Object(eQ["query"])(tee.RESULT_SELECTOR,this._resultsContainer);this._scrollToNode(i),this._preselect(i)}}},tee.prototype._scrollToDirection=function(e){var t=this._getCurrentResult();if(t){var n=e?t.previousElementSibling:t.nextElementSibling;n&&(this._scrollToNode(n),this._preselect(n))}},tee.prototype._scrollToNode=function(e){if(e&&e!==this._getCurrentResult()){var t=e.offsetTop,n=this._resultsContainer.scrollTop,i=t-this._resultsContainer.clientHeight+e.clientHeight;t<n?this._resultsContainer.scrollTop=t:n<i&&(this._resultsContainer.scrollTop=i)}},tee.prototype._clearResults=function(){Object(eQ["clear"])(this._resultsContainer),this._results=[],this._resetOverlay(),this._eventBus.fire("searchPad.cleared")},tee.prototype._getCurrentResult=function(){return Object(eQ["query"])(tee.RESULT_SELECTED_SELECTOR,this._resultsContainer)},tee.prototype._createResultNode=function(e,t){var n=Object(eQ["domify"])(tee.RESULT_HTML);return e.primaryTokens.length>0&&iee(n,e.primaryTokens,tee.RESULT_PRIMARY_HTML),iee(n,e.secondaryTokens,tee.RESULT_SECONDARY_HTML),Object(eQ["attr"])(n,tee.RESULT_ID_ATTRIBUTE,t),this._resultsContainer.appendChild(n),n},tee.prototype.registerProvider=function(e){this._searchProvider=e},tee.prototype.open=function(){if(!this._searchProvider)throw new Error("no search provider registered");this.isOpen()||(this._bindEvents(),this._open=!0,Object(eQ["classes"])(this._container).add("open"),this._searchInput.focus(),this._eventBus.fire("searchPad.opened"))},tee.prototype.close=function(){this.isOpen()&&(this._unbindEvents(),this._open=!1,Object(eQ["classes"])(this._container).remove("open"),this._clearResults(),this._searchInput.value="",this._searchInput.blur(),this._resetOverlay(),this._eventBus.fire("searchPad.closed"))},tee.prototype.toggle=function(){this.isOpen()?this.close():this.open()},tee.prototype.isOpen=function(){return this._open},tee.prototype._preselect=function(e){var t=this._getCurrentResult();if(e!==t){t&&Object(eQ["classes"])(t).remove(tee.RESULT_SELECTED_CLASS);var n=Object(eQ["attr"])(e,tee.RESULT_ID_ATTRIBUTE),i=this._results[n].element;Object(eQ["classes"])(e).add(tee.RESULT_SELECTED_CLASS),this._resetOverlay(i),this._canvas.scrollToElement(i,{top:400}),this._selection.select(i),this._eventBus.fire("searchPad.preselected",i)}},tee.prototype._select=function(e){var t=Object(eQ["attr"])(e,tee.RESULT_ID_ATTRIBUTE),n=this._results[t].element;this.close(),this._resetOverlay(),this._canvas.scrollToElement(n,{top:400}),this._selection.select(n),this._eventBus.fire("searchPad.selected",n)},tee.prototype._resetOverlay=function(e){if(this._overlayId&&this._overlays.remove(this._overlayId),e){var t=uz(e),n=nee(t);this._overlayId=this._overlays.add(e,n)}},tee.CONTAINER_SELECTOR=".djs-search-container",tee.INPUT_SELECTOR=".djs-search-input input",tee.RESULTS_CONTAINER_SELECTOR=".djs-search-results",tee.RESULT_SELECTOR=".djs-search-result",tee.RESULT_SELECTED_CLASS="djs-search-result-selected",tee.RESULT_SELECTED_SELECTOR="."+tee.RESULT_SELECTED_CLASS,tee.RESULT_ID_ATTRIBUTE="data-result-id",tee.RESULT_HIGHLIGHT_CLASS="djs-search-highlight",tee.OVERLAY_CLASS="djs-search-overlay",tee.BOX_HTML='<div class="djs-search-container djs-draggable djs-scrollable"><div class="djs-search-input"><input type="text"/></div><div class="djs-search-results"></div></div>',tee.RESULT_HTML='<div class="djs-search-result"></div>',tee.RESULT_PRIMARY_HTML='<div class="djs-search-result-primary"></div>',tee.RESULT_SECONDARY_HTML='<p class="djs-search-result-secondary"></p>';var ree={__depends__:[fG,rG],searchPad:["type",tee]};function see(e,t,n){this._elementRegistry=e,this._canvas=n,t.registerProvider(this)}function aee(e){var t=Object(Zj["filter"])(e,(function(e){return!!e.matched}));return t.length>0}function lee(e,t){var n=[],i=e;if(!e)return n;e=e.toLowerCase(),t=t.toLowerCase();var o=e.indexOf(t);return o>-1?(0!==o&&n.push({normal:i.substr(0,o)}),n.push({matched:i.substr(o,t.length)}),t.length+o<e.length&&n.push({normal:i.substr(t.length+o,e.length)})):n.push({normal:i}),n}see.$inject=["elementRegistry","searchPad","canvas"],see.prototype.find=function(e){var t=this._canvas.getRootElement(),n=this._elementRegistry.filter((function(e){return!e.labelTarget}));return n=Object(Zj["filter"])(n,(function(e){return e!==t})),n=Object(Zj["map"])(n,(function(t){return{primaryTokens:lee(DU(t),e),secondaryTokens:lee(t.id,e),element:t}})),n=Object(Zj["filter"])(n,(function(e){return aee(e.primaryTokens)||aee(e.secondaryTokens)})),n=Object(Zj["sortBy"])(n,(function(e){return DU(e.element)+e.element.id})),n};var cee={__depends__:[ree],__init__:["bpmnSearch"],bpmnSearch:["type",see]},hee='<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" targetNamespace="http://bpmn.io/schema/bpmn" id="Definitions_1"><bpmn:process id="Process_1" isExecutable="false"><bpmn:startEvent id="StartEvent_1"/></bpmn:process><bpmndi:BPMNDiagram id="BPMNDiagram_1"><bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"><bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"><dc:Bounds height="36.0" width="36.0" x="173.0" y="102.0"/></bpmndi:BPMNShape></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn:definitions>';function uee(e){mU.call(this,e)}function dee(e,t,n,i,o,r,s,a){this._palette=e,this._create=t,this._elementFactory=n,this._spaceTool=i,this._lassoTool=o,this._handTool=r,this._globalConnect=s,this._translate=a,e.registerProvider(this)}function pee(e,t,n,i,o,r,s,a,l,c,h,u){e=e||{},i.registerProvider(this),this._contextPad=i,this._modeling=o,this._elementFactory=r,this._connect=s,this._create=a,this._popupMenu=l,this._canvas=c,this._rules=h,this._translate=u,!1!==e.autoPlace&&(this._autoPlace=t.get("autoPlace",!1)),n.on("create.end",250,(function(e){var t=e.context,n=t.shape;if(WY(e)&&i.isOpen(n)){var o=i.getEntries(n);o.replace&&o.replace.action.click(e,n)}}))}function fee(e,t,n){var i=e.$instanceOf(t),o=!1,r=e.eventDefinitions||[];return Object(Zj["forEach"])(r,(function(e){e.$type===n&&(o=!0)})),i&&o}Kj()(uee,mU),uee.Viewer=gG,uee.NavigatedViewer=sK,uee.prototype.createDiagram=$H((function(){return this.importXML(hee)})),uee.prototype._interactionModules=[FG,qG,yK,rK],uee.prototype._modelingModules=[xK,XK,Cq,cq,NJ,FJ,WJ,Z$,e$,xX,rZ,dZ,zZ,UZ,GZ,i0,T0,p7,L7,n9,r9,A0,$9,cee],uee.prototype._modules=[].concat(gG.prototype._modules,uee.prototype._interactionModules,uee.prototype._modelingModules),dee.$inject=["palette","create","elementFactory","spaceTool","lassoTool","handTool","globalConnect","translate"],dee.prototype.getPaletteEntries=function(){var e={},t=this._create,n=this._elementFactory,i=this._spaceTool,o=this._lassoTool,r=this._handTool,s=this._globalConnect,a=this._translate;function l(e,i,o,r,s){function l(i){var o=n.createShape(Object(Zj["assign"])({type:e},s));s&&(o.businessObject.di.isExpanded=s.isExpanded),t.start(i,o)}var c=e.replace(/^bpmn:/,"");return{group:i,className:o,title:r||a("Create {type}",{type:c}),action:{dragstart:l,click:l}}}function c(e){var i=n.createShape({type:"bpmn:SubProcess",x:0,y:0,isExpanded:!0}),o=n.createShape({type:"bpmn:StartEvent",x:40,y:82,parent:i});t.start(e,[i,o],{hints:{autoSelect:[o]}})}function h(e){t.start(e,n.createParticipantShape())}return Object(Zj["assign"])(e,{"hand-tool":{group:"tools",className:"bpmn-icon-hand-tool",title:a("Activate the hand tool"),action:{click:function(e){r.activateHand(e)}}},"lasso-tool":{group:"tools",className:"bpmn-icon-lasso-tool",title:a("Activate the lasso tool"),action:{click:function(e){o.activateSelection(e)}}},"space-tool":{group:"tools",className:"bpmn-icon-space-tool",title:a("Activate the create/remove space tool"),action:{click:function(e){i.activateSelection(e)}}},"global-connect-tool":{group:"tools",className:"bpmn-icon-connection-multi",title:a("Activate the global connect tool"),action:{click:function(e){s.toggle(e)}}},"tool-separator":{group:"tools",separator:!0},"create.start-event":l("bpmn:StartEvent","event","bpmn-icon-start-event-none",a("Create StartEvent")),"create.intermediate-event":l("bpmn:IntermediateThrowEvent","event","bpmn-icon-intermediate-event-none",a("Create Intermediate/Boundary Event")),"create.end-event":l("bpmn:EndEvent","event","bpmn-icon-end-event-none",a("Create EndEvent")),"create.exclusive-gateway":l("bpmn:ExclusiveGateway","gateway","bpmn-icon-gateway-xor",a("Create Exclusive Gateway")),"create.parallel-gateway":l("bpmn:ParallelGateway","gateway","bpmn-icon-gateway-parallel",a("Create Parallel Gateway")),"create.UserTask":l("bpmn:UserTask","activity","bpmn-icon-user-task",a("Create UserTask")),"create.subprocess-expanded":{group:"activity",className:"bpmn-icon-subprocess-expanded",title:a("Create expanded SubProcess"),action:{dragstart:c,click:c}},"create.participant-expanded":{group:"collaboration",className:"bpmn-icon-participant",title:a("Create Pool/Participant"),action:{dragstart:h,click:h}}}),e},pee.$inject=["config.contextPad","injector","eventBus","contextPad","modeling","elementFactory","connect","create","popupMenu","canvas","rules","translate"],pee.prototype.getContextPadEntries=function(e){var t=this._contextPad,n=this._modeling,i=this._elementFactory,o=this._connect,r=this._create,s=this._popupMenu,a=this._canvas,l=this._rules,c=this._autoPlace,h=this._translate,u={};if("label"===e.type)return u;var d=e.businessObject;function p(e,t){o.start(e,t)}function f(){n.removeElements([e])}function g(e){var n=5,i=a.getContainer(),o=t.getPad(e).html,r=i.getBoundingClientRect(),s=o.getBoundingClientRect(),l=s.top-r.top,c=s.left-r.left,h={x:c,y:l+s.height+n};return h}function m(e,t,n,o){function s(t,n){var s=i.createShape(Object(Zj["assign"])({type:e},o));r.start(t,s,{source:n})}"string"!==typeof n&&(o=n,n=h("Append {type}",{type:e.replace(/^bpmn:/,"")}));var a=c?function(t,n){var r=i.createShape(Object(Zj["assign"])({type:e},o));c.append(n,r)}:s;return{group:"model",className:t,title:n,action:{dragstart:s,click:a}}}function b(e){return function(i,o){n.splitLane(o,e),t.open(o,!0)}}if(WK(d,["bpmn:Lane","bpmn:Participant"])&&vU(d)){var v=K$(e);Object(Zj["assign"])(u,{"lane-insert-above":{group:"lane-insert-above",className:"bpmn-icon-lane-insert-above",title:h("Add Lane above"),action:{click:function(e,t){n.addLane(t,"top")}}}}),v.length<2&&(e.height>=120&&Object(Zj["assign"])(u,{"lane-divide-two":{group:"lane-divide",className:"bpmn-icon-lane-divide-two",title:h("Divide into two Lanes"),action:{click:b(2)}}}),e.height>=180&&Object(Zj["assign"])(u,{"lane-divide-three":{group:"lane-divide",className:"bpmn-icon-lane-divide-three",title:h("Divide into three Lanes"),action:{click:b(3)}}})),Object(Zj["assign"])(u,{"lane-insert-below":{group:"lane-insert-below",className:"bpmn-icon-lane-insert-below",title:h("Add Lane below"),action:{click:function(e,t){n.addLane(t,"bottom")}}}})}if(Object(bU["is"])(d,"bpmn:FlowNode"))if(Object(bU["is"])(d,"bpmn:EventBasedGateway")){var y="0d9a60fe0131dff70d665020f5b0cdee";Object(Zj["assign"])(u,{"append.receive-task":m("bpmn:ReceiveTask","bpmn-icon-receive-task"),"append.message-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-message",h("Append MessageIntermediateCatchEvent"),{eventDefinitionType:"bpmn:MessageEventDefinition"}),"append.timer-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"}),"append.condition-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-condition",h("Append ConditionIntermediateCatchEvent"),{eventDefinitionType:"bpmn:ConditionalEventDefinition"}),"append.signal-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-signal",h("Append SignalIntermediateCatchEvent"),{eventDefinitionType:"bpmn:SignalEventDefinition"})}),y.trim()}else fee(d,"bpmn:BoundaryEvent","bpmn:CompensateEventDefinition")?Object(Zj["assign"])(u,{"append.compensation-activity":m("bpmn:Task","bpmn-icon-task",h("Append compensation activity"),{isForCompensation:!0})}):Object(bU["is"])(d,"bpmn:EndEvent")||d.isForCompensation||fee(d,"bpmn:IntermediateThrowEvent","bpmn:LinkEventDefinition")||wU(d)||Object(Zj["assign"])(u,{"append.end-event":m("bpmn:EndEvent","bpmn-icon-end-event-none",h("Append EndEvent")),"append.gateway":m("bpmn:ExclusiveGateway","bpmn-icon-gateway-none",h("Append Gateway")),"append.user-task":m("bpmn:UserTask","bpmn-icon-user-task",h("Append UserTask")),"append.intermediate-event":m("bpmn:IntermediateThrowEvent","bpmn-icon-intermediate-event-none",h("Append Intermediate/Boundary Event")),"append.timer-intermediate-event":m("bpmn:IntermediateCatchEvent","bpmn-icon-intermediate-event-catch-timer",h("Append TimerIntermediateCatchEvent"),{eventDefinitionType:"bpmn:TimerEventDefinition"})});s.isEmpty(e,"bpmn-replace")||Object(Zj["assign"])(u,{replace:{group:"edit",className:"bpmn-icon-screw-wrench",title:h("Change type"),action:{click:function(e,t){var n=Object(Zj["assign"])(g(t),{cursor:{x:e.x,y:e.y}});s.open(t,"bpmn-replace",n)}}}}),WK(d,["bpmn:FlowNode","bpmn:InteractionNode","bpmn:DataObjectReference","bpmn:DataStoreReference"])&&Object(Zj["assign"])(u,{"append.text-annotation":m("bpmn:TextAnnotation","bpmn-icon-text-annotation"),connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using "+(d.isForCompensation?"":"Sequence/MessageFlow or ")+"Association"),action:{click:p,dragstart:p}}}),WK(d,["bpmn:DataObjectReference","bpmn:DataStoreReference"])&&Object(Zj["assign"])(u,{connect:{group:"connect",className:"bpmn-icon-connection-multi",title:h("Connect using DataInputAssociation"),action:{click:p,dragstart:p}}});var w=l.allowed("elements.delete",{elements:[e]});return Object(Zj["isArray"])(w)&&(w=w[0]===e),w&&Object(Zj["assign"])(u,{delete:{group:"edit",className:"bpmn-icon-trash",title:h("Remove"),action:{click:f}}}),u};var gee={__init__:["paletteProvider","contextPadProvider"],paletteProvider:["type",dee],contextPadProvider:["type",pee]};function mee(e){uee.call(this,e),this._customElements=[]}Kj()(mee,uee),mee.prototype._modules=[].concat(mee.prototype._modules,[gee]);var bee={"Create {type}":"创建 {type}","Create StartEvent":"开始节点","Create EndEvent":"结束节点","Create Task":"任务节点","Create UserTask":"用户任务节点","Create expanded SubProcess":"扩展子过程","Create IntermediateThrowEvent/BoundaryEvent":"中间抛出事件/边界事件","Create Pool/Participant":"池/参与者","Create Gateway":"网关","Create Exclusive Gateway":"互斥网关","Create Parallel Gateway":"并行网关","Create Inclusive Gateway":"相容网关","Create Group":"创建组","Create DataObjectReference":"数据对象引用","Create DataStoreReference":"数据存储引用","Create Intermediate/Boundary Event":"中间/边界事件","Activate the global connect tool":"激活全局连接工具","Append {type}":"添加 {type}","Add Lane above":"在上面添加道","Divide into two Lanes":"分割成两个道","Divide into three Lanes":"分割成三个道","Add Lane below":"在下面添加道","Append compensation activity":"追加补偿活动","Change type":"修改类型","Connect using Association":"使用关联连接","Connect using Sequence/MessageFlow or Association":"使用顺序/消息流或者关联连接","Connect using DataInputAssociation":"使用数据输入关联连接",Remove:"移除","Activate the hand tool":"激活抓手工具","Activate the lasso tool":"激活套索工具","Activate the create/remove space tool":"激活创建/删除空间工具","Parallel Multi Instance":"并行多重事件","Sequential Multi Instance":"时序多重事件",DataObjectReference:"数据对象参考",DataStoreReference:"数据存储参考",Loop:"循环","Ad-hoc":"即席",Task:"任务","Send Task":"发送任务","Receive Task":"接收任务","User Task":"用户任务","Manual Task":"手工任务","Business Rule Task":"业务规则任务","Service Task":"服务任务","Script Task":"脚本任务","Call Activity":"调用活动","Sub Process (collapsed)":"子流程(折叠的)","Sub Process (expanded)":"子流程(展开的)","Start Event":"开始事件",StartEvent:"开始事件","Intermediate Throw Event":"中间事件","End Event":"结束事件",EndEvent:"结束事件","Message Start Event":"消息开始事件","Timer Start Event":"定时开始事件","Conditional Start Event":"条件开始事件","Signal Start Event":"信号开始事件","Error Start Event":"错误开始事件","Escalation Start Event":"升级开始事件","Compensation Start Event":"补偿开始事件","Message Start Event (non-interrupting)":"消息开始事件(非中断)","Timer Start Event (non-interrupting)":"定时开始事件(非中断)","Conditional Start Event (non-interrupting)":"条件开始事件(非中断)","Signal Start Event (non-interrupting)":"信号开始事件(非中断)","Escalation Start Event (non-interrupting)":"升级开始事件(非中断)","Message Intermediate Catch Event":"消息中间捕获事件","Message Intermediate Throw Event":"消息中间抛出事件","Timer Intermediate Catch Event":"定时中间捕获事件","Escalation Intermediate Throw Event":"升级中间抛出事件","Conditional Intermediate Catch Event":"条件中间捕获事件","Link Intermediate Catch Event":"链接中间捕获事件","Link Intermediate Throw Event":"链接中间抛出事件","Compensation Intermediate Throw Event":"补偿中间抛出事件","Signal Intermediate Catch Event":"信号中间捕获事件","Signal Intermediate Throw Event":"信号中间抛出事件","Message End Event":"消息结束事件","Escalation End Event":"定时结束事件","Error End Event":"错误结束事件","Cancel End Event":"取消结束事件","Compensation End Event":"补偿结束事件","Signal End Event":"信号结束事件","Terminate End Event":"终止结束事件","Message Boundary Event":"消息边界事件","Message Boundary Event (non-interrupting)":"消息边界事件(非中断)","Timer Boundary Event":"定时边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件(非中断)","Escalation Boundary Event":"升级边界事件","Escalation Boundary Event (non-interrupting)":"升级边界事件(非中断)","Conditional Boundary Event":"条件边界事件","Conditional Boundary Event (non-interrupting)":"条件边界事件(非中断)","Error Boundary Event":"错误边界事件","Cancel Boundary Event":"取消边界事件","Signal Boundary Event":"信号边界事件","Signal Boundary Event (non-interrupting)":"信号边界事件(非中断)","Compensation Boundary Event":"补偿边界事件","Exclusive Gateway":"互斥网关","Parallel Gateway":"并行网关","Inclusive Gateway":"相容网关","Complex Gateway":"复杂网关","Event based Gateway":"事件网关",Transaction:"转运","Sub Process":"子流程","Event Sub Process":"事件子流程","Collapsed Pool":"折叠池","Expanded Pool":"展开池","no parent for {element} in {parent}":"在{parent}里,{element}没有父类","no shape type specified":"没有指定的形状类型","flow elements must be children of pools/participants":"流元素必须是池/参与者的子类","out of bounds release":"out of bounds release","more than {count} child lanes":"子道大于{count} ","element required":"元素不能为空","diagram not part of bpmn:Definitions":"流程图不符合bpmn规范","no diagram to display":"没有可展示的流程图","no process or collaboration to display":"没有可展示的流程/协作","element {element} referenced by {referenced}#{property} not yet drawn":"由{referenced}#{property}引用的{element}元素仍未绘制","already rendered {element}":"{element} 已被渲染","failed to import {element}":"导入{element}失败","Append EndEvent":"追加结束事件节点","Append Gateway":"追加网关节点","Append UserTask":"追加用户任务节点","Append Intermediate/Boundary Event":"追加中间或边界事件","Append TextAnnotation":"追加文本批注","{errors} Errors, {warnings} Warnings":"{errors} 错误,{warnings} 警告","Process is missing end event":"流程缺少结束节点","Process is missing start event":"流程缺少开始节点","Element is not connected":"元素缺少连接","Start event is missing event definition":"缺少事件定义","Event has multiple event definitions":"多个事件定义","Sequence flow is missing condition":"缺少流转条件","Flow splits implicitly":"流转方向未知","Incoming flows do not join":"可能需要统一的入口","SequenceFlow is a duplicate":"重复的连线","Duplicate incoming sequence flows":"入口连线重复","Duplicate outgoing sequence flows":"出口连线重复","Open minimap":"小地图","Close minimap":"关闭小地图","Token Simulation":"流程模拟","Play/Pause Simulation":"开始/暂停","Pause Simulation":"暂停","Play Simulation":"开始","Set Animation Speed":"设置速度",Slow:"慢",Normal:"正常",Fast:"快",Finished:"完成","Reset Simulation":"重置模拟器","Show Simulation Log":"模拟器日志","No Entries":"暂无日志","Process {processInstanceId} started":"流程 {processInstanceId} 启动","Subprocess {processInstanceId} started":"子流程 {processInstanceId} 启动"};function vee(e,t){return t=t||{},e=bee[e]||e,e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}n("9bf1"),n("4df4"),n("2c50");var yee=50,wee={min:.2,max:4},_ee=10,Aee=.1,Cee=250;function Eee(e,t,n,i,o){var r=this;function s(e){r._state._svgClientRect&&!Iee(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=Dee({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kee(t,r._canvas),r._update()}function a(e){return function(t){r._state._svgClientRect&&!Iee(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),e&&s(t);var n=Dee({x:t.clientX-r._state._svgClientRect.left,y:t.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox),o=i.viewbox(),a=See(n,o),h=r._viewportDom.getBoundingClientRect(),u={x:t.clientX-h.left+1,y:t.clientY-h.top+1};Object(Zj["assign"])(r._state,{cachedViewbox:o,initialDragPosition:{x:t.clientX,y:t.clientY},isDragging:!0,offsetViewport:a,offsetViewportDom:u,viewportClientRect:r._viewport.getBoundingClientRect(),parentClientRect:r._parent.getBoundingClientRect()}),eQ["event"].bind(document,"mousemove",l),eQ["event"].bind(document,"mouseup",c)}}function l(e){if(r._state.isDragging){r._state._svgClientRect&&!Iee(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect());var t=r._state.offsetViewportDom,n=r._state.viewportClientRect,i=r._state.parentClientRect;Object(Zj["assign"])(r._viewportDom.style,{top:e.clientY-t.y-i.top+"px",left:e.clientX-t.x-i.left+"px"});var o=Fee(i,{top:e.clientY-t.y-i.top,left:e.clientX-t.x-i.left,width:n.width,height:n.height});Object(Zj["assign"])(r._overlay.style,{clipPath:o});var s=Dee({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kee({x:s.x-r._state.offsetViewport.x,y:s.y-r._state.offsetViewport.y},r._canvas)}}function c(e){r._state.isDragging&&(r._state.initialDragPosition.x===e.clientX&&r._state.initialDragPosition.y===e.clientY&&s(e),r._update(),Object(Zj["assign"])(r._state,{cachedViewbox:null,initialDragPosition:null,isDragging:!1,offsetViewport:null,offsetViewportDom:null}),eQ["event"].unbind(document,"mousemove",l),eQ["event"].unbind(document,"mouseup",c))}this._canvas=i,this._elementRegistry=o,this._eventBus=n,this._injector=t,this._state={isOpen:void 0,isDragging:!1,initialDragPosition:null,offsetViewport:null,cachedViewbox:null,dragger:null,svgClientRect:null,parentClientRect:null,zoomDelta:0},this._init(),this.toggle(e&&e.open||!0),eQ["event"].bind(this._svg,"click",(function(e){e.preventDefault(),e.stopPropagation(),s(e)})),eQ["event"].bind(this._viewportDom,"mousedown",a(!1)),eQ["event"].bind(this._svg,"mousedown",a(!0)),eQ["event"].bind(this._parent,"wheel",(function(e){if(e.preventDefault(),e.stopPropagation(),e.ctrlKey&&(r._state._svgClientRect&&!Iee(r._state._svgClientRect)||(r._state._svgClientRect=r._svg.getBoundingClientRect()),Tee(e,r._state._svgClientRect))){var t=0===e.deltaMode?.02:.32,n=Math.sqrt(Math.pow(e.deltaY,2)+Math.pow(e.deltaX,2))*Oee(e.deltaY)*-t;if(r._state.zoomDelta+=n,Math.abs(r._state.zoomDelta)>Aee){var o=n>0?1:-1,s=Math.log(i.zoom())/Math.log(10),a=Ree(wee,2*_ee),l=Math.round(s/a)*a;l+=a*o;var c=Math.pow(10,l);i.zoom(Pee(wee,c),h),r._state.zoomDelta=0;var h=Dee({x:e.clientX-r._state._svgClientRect.left,y:e.clientY-r._state._svgClientRect.top},r._svg,r._lastViewbox);kee(h,r._canvas),r._update()}}})),eQ["event"].bind(this._toggle,"click",(function(e){e.preventDefault(),e.stopPropagation(),r.toggle()})),n.on(["shape.added","connection.added"],(function(e){var t=e.element;r._addElement(t),r._update()})),n.on(["shape.removed","connection.removed"],(function(e){var t=e.element;r._removeElement(t),r._update()})),n.on("elements.changed",Cee,(function(e){var t=e.elements;t.forEach((function(e){r._updateElement(e)})),r._update()})),n.on("element.updateId",(function(e){var t=e.element,n=e.newId;r._updateElementId(t,n)})),n.on("canvas.viewbox.changed",(function(){r._state.isDragging||r._update()})),n.on("canvas.resized",(function(){document.body.contains(r._parent)&&(r._state.isDragging||r._update(),r._state._svgClientRect=r._svg.getBoundingClientRect())}))}function xee(e){return e.waypoints}function See(e,t){var n={x:t.x+t.width/2,y:t.y+t.height/2};return{x:e.x-n.x,y:e.y-n.y}}function Dee(e,t,n){var i=t.getBoundingClientRect(),o=Mee(n,i.width/i.height),r=Nee(e.x,0,i.width,o.x,o.x+o.width),s=Nee(e.y,0,i.height,o.y,o.y+o.height);return{x:r,y:s}}function kee(e,t){var n=t.viewbox(),i=n.width,o=n.height;t.viewbox({x:e.x-i/2,y:e.y-o/2,width:i,height:o})}function Mee(e,t){var n=e.width/e.height,i=Object(Zj["assign"])({},{x:e.x,y:e.y,width:e.width,height:e.height});if(n>t){var o=i.width*(1/t),r=i.y-(o-i.height)/2;Object(Zj["assign"])(i,{y:r,height:o})}else if(n<t){var s=i.height*t,a=i.x-(s-i.width)/2;Object(Zj["assign"])(i,{x:a,width:s})}return i}function Nee(e,t,n,i,o){var r=n-t,s=o-i;return(e-t)*s/r+i}function Lee(e,t){var n=Object(eQ["query"])(".djs-children",t.parentNode);if(n){var i=[].slice.call(n.childNodes),o=-1;return i.forEach((function(t,n){Object(eQ["query"])(".djs-element",t)===e&&(o=n)})),o}}function Bee(e,t,n){var i=[].slice.call(t.childNodes),o=i[n];t.insertBefore(e,o.nextSibling)}function Iee(e){return 0===e.width&&0===e.height}function Tee(e,t){return e.x>t.left&&e.x<t.left+t.width&&e.y>t.top&&e.y<t.top+t.height}Eee.$inject=["config.minimap","injector","eventBus","canvas","elementRegistry"],Eee.prototype._init=function(){var e=this._canvas,t=e.getContainer(),n=this._parent=document.createElement("div");Object(eQ["classes"])(n).add("djs-minimap"),t.appendChild(n);this._injector.get("translate",!1);var i=this._toggle=document.createElement("div");Object(eQ["classes"])(i).add("toggle"),n.appendChild(i);var o=this._map=document.createElement("div");Object(eQ["classes"])(o).add("map"),n.appendChild(o);var r="e86bac6b4b20ac696026845ea030d6e8",s=this._svg=CQ("svg");cQ(s,{width:"100%",height:"100%"}),iQ(o,s);var a=this._elementsGroup=CQ("g");iQ(s,a),r.length;var l=this._viewportGroup=CQ("g");iQ(s,l);var c=this._viewport=CQ("rect");fQ(c).add("viewport"),iQ(l,c),eQ["event"].bind(n,"mousedown",(function(e){e.stopPropagation()}));var h=this._viewportDom=document.createElement("div");Object(eQ["classes"])(h).add("viewport-dom"),this._parent.appendChild(h);var u=this._overlay=document.createElement("div");Object(eQ["classes"])(u).add("overlay"),this._parent.appendChild(u)},Eee.prototype._update=function(){var e=this._canvas.viewbox(),t=e.inner,n=e.outer;if(Qee(e)){var i,o,r,s,a=n.width-t.width,l=n.height-t.height;t.width<n.width?(i=t.x-a/2,r=n.width,t.x+t.width<n.width&&(i=Math.min(0,t.x))):(i=t.x,r=t.width),t.height<n.height?(o=t.y-l/2,s=n.height,t.y+t.height<n.height&&(o=Math.min(0,t.y))):(o=t.y,s=t.height),i-=yee,o-=yee,r+=2*yee,s+=2*yee,this._lastViewbox={x:i,y:o,width:r,height:s},cQ(this._svg,{viewBox:i+", "+o+", "+r+", "+s}),cQ(this._viewport,{x:e.x,y:e.y,width:e.width,height:e.height});var c=this._state._parentClientRect=this._parent.getBoundingClientRect(),h=this._viewport.getBoundingClientRect(),u={top:h.top-c.top,left:h.left-c.left,width:h.width,height:h.height};Object(Zj["assign"])(this._viewportDom.style,{top:u.top+"px",left:u.left+"px",width:u.width+"px",height:u.height+"px"});var d=Fee(c,u);Object(Zj["assign"])(this._overlay.style,{clipPath:d})}},Eee.prototype.open=function(){Object(Zj["assign"])(this._state,{isOpen:!0}),Object(eQ["classes"])(this._parent).add("open");var e=this._injector.get("translate",!1)||function(e){return e};Object(eQ["attr"])(this._toggle,"title",e("Close minimap")),this._update(),this._eventBus.fire("minimap.toggle",{open:!0})},Eee.prototype.close=function(){Object(Zj["assign"])(this._state,{isOpen:!1}),Object(eQ["classes"])(this._parent).remove("open");var e=this._injector.get("translate",!1)||function(e){return e};Object(eQ["attr"])(this._toggle,"title",e("Open minimap")),this._eventBus.fire("minimap.toggle",{open:!1})},Eee.prototype.toggle=function(e){var t=this.isOpen();"undefined"===typeof e&&(e=!t),e!=t&&(e?this.open():this.close())},Eee.prototype.isOpen=function(){return this._state.isOpen},Eee.prototype._updateElement=function(e){try{void 0!==e.parent&&null!==e.parent&&(this._removeElement(e),this._addElement(e))}catch(t){}},Eee.prototype._updateElementId=function(e,t){try{var n=Object(eQ["query"])("#"+Hq()(e.id),this._elementsGroup);n&&(n.id=t)}catch(i){}},Eee.prototype._addElement=function(e){var t,n,i,o=this;this._removeElement(e);var r=this._createElement(e),s=Object(eQ["query"])("#"+Hq()(e.parent.id),this._elementsGroup);if(r){var a=this._elementRegistry.getGraphics(e),l=this._elementRegistry.getGraphics(e.parent),c=Lee(a,l);return"undefined"!==c&&s?s.childNodes.length>c?Bee(r,s,c):Bee(r,s,s.childNodes.length-1):this._elementsGroup.appendChild(r),xee(e)?(t=e.parent,n=0,i=0,"undefined"!==typeof t.x&&"undefined"!==typeof t.y&&(n=-t.x,i=-t.y),cQ(r,{transform:"translate("+n+" "+i+")"})):(n=e.x,i=e.y,s&&(t=e.parent,n-=t.x,i-=t.y),cQ(r,{transform:"translate("+n+" "+i+")"})),e.children&&e.children.length&&e.children.forEach((function(e){o._addElement(e)})),r}},Eee.prototype._removeElement=function(e){var t=this._svg.getElementById(e.id);t&&mQ(t)},Eee.prototype._createElement=function(e){var t,n=this._elementRegistry.getGraphics(e);if(n&&(t=yV(n),t)){var i=vQ(t);return cQ(i,{id:e.id}),i}};var Oee=Math.sign||function(e){return e>=0?1:-1};function Ree(e,t){var n=Math.log(e.min)/Math.log(10),i=Math.log(e.max)/Math.log(10),o=Math.abs(n)+Math.abs(i);return o/t}function Pee(e,t){return Math.max(e.min,Math.min(e.max,t))}function Fee(e,t){var n=[jee(t.left,t.top),jee(t.left+t.width,t.top),jee(t.left+t.width,t.top+t.height),jee(t.left,t.top+t.height),jee(t.left,e.height),jee(e.width,e.height),jee(e.width,0),jee(0,0),jee(0,e.height),jee(t.left,e.height)].join(", ");return"polygon("+n+")"}function jee(e,t){return e+"px "+t+"px"}function Qee(e){return Object(Zj["every"])(e,(function(e){return Object(Zj["isObject"])(e)?Qee(e):Object(Zj["isNumber"])(e)&&isFinite(e)}))}var zee={__init__:["minimap"],minimap:["type",Eee]},Vee=n("03ad"),Wee=n("9224"),Hee={name:"wf-design",components:{WfToolbar:iP,WfPanel:Yj,MonacoEditor:JR},props:{options:{type:Object,default:function(){return{}}},storage:{type:Boolean,default:!1},accessKey:String},computed:{isEditMode:function(){return"view"!=this.option.mode}},watch:{options:{handler:function(e){var t=this;this.$nextTick((function(){if(t.storage){var n=localStorage[Wee.name];t.option=n?JSON.parse(n):JSON.parse(JSON.stringify(p(p({},m),e)))}else t.option=JSON.parse(JSON.stringify(p(p({},m),e))),delete localStorage[Wee.name];t.init(!0)}))},deep:!0,immediate:!0}},data:function(){return{option:{},activeTab:"process",modeler:null,zoom:1,previewXML:"",previewVisible:!1,importXML:"",importVisible:!1}},methods:{INIT_XML:g,init:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.storage&&(localStorage[Wee.name]=JSON.stringify(this.option)),e&&(this.isEditMode?this.initModeler():this.initViewer())},initModeler:function(){var e=this;return h(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.modeler&&e.modeler.destroy(),e.modeler=new mee({container:e.$refs.modeler,additionalModules:[{translate:["value",vee]},e.option.simulation?n("2c45"):"",e.option.minimap?zee:""],moddleExtensions:{flowable:Vee},keyboard:{bindTo:window}}),t.next=4,e.createNewDiagram(e.option.xml||g(e.option.process));case 4:e.storage&&e.modeler.on("element.changed",(function(){e.getData("xml",!1,!1).then((function(t){e.option.xml=t,localStorage[Wee.name]=JSON.stringify(e.option)}))}));case 5:case"end":return t.stop()}}),t)})))()},initViewer:function(){var e=this;return h(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.modeler&&e.modeler.destroy(),e.modeler=new gG({container:e.$refs.modeler,additionalModules:[{translate:["value",vee]},V5,e.option.simulation?n("2ab6"):"",e.option.minimap?zee:"",qG,rK]}),t.next=4,e.createNewDiagram(e.option.xml||g(e.option.process));case 4:e.option.flows&&e.option.flows.length>0&&e.setNodeColor(e.option.flows);case 5:case"end":return t.stop()}}),t)})))()},setNodeColor:function(e){var t=this.modeler.get("canvas"),n=this.modeler.get("elementRegistry"),i=this.modeler.get("tooltips");e.forEach((function(e){if(e.id&&e.class&&t.addMarker(e.id,e.class),e.id&&e.tooltip){var o=n.get(e.id);i.add({position:{x:o.x,y:o.y-25},html:e.tooltip})}}))},createNewDiagram:function(e){var t=this;return h(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,e=e.replace(/camunda:/g,"flowable:"),e=e.replace(/activiti:/g,"flowable:"),n.next=5,t.modeler.importXML(e);case 5:t.fitViewport("fit-viewport"),n.next=11;break;case 8:n.prev=8,n.t0=n["catch"](0);case 11:case"end":return n.stop()}}),n,null,[[0,8]])})))()},fitViewport:function(e){var t=this.modeler.get("canvas");"string"==typeof e?t.zoom("fit-viewport"):(this.zoom+=e?.1:-.1,t.zoom(this.zoom))},getData:function(e){var t=arguments,n=this;return h(regeneratorRuntime.mark((function i(){var o,r,s,a,l,c;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(o=t.length>1&&void 0!==t[1]&&t[1],!(t.length>2&&void 0!==t[2])||t[2],r=!(t.length>3&&void 0!==t[3])||t[3],"xml"!=e){i.next=19;break}return i.prev=4,i.next=7,n.modeler.saveXML({format:r});case 7:return s=i.sent,a=s.xml,"flowable"!=n.option.engine&&(a=a.replace(/flowable:/g,n.option.engine+":")),o&&n.downloadFile("".concat(n.modeler.getDefinitions().rootElements[0].name,".bpmn20.xml"),a,"application/xml"),i.abrupt("return",a);case 14:i.prev=14,i.t0=i["catch"](4);case 17:i.next=31;break;case 19:return i.prev=19,i.next=22,n.modeler.saveSVG({format:r});case 22:return l=i.sent,c=l.svg,o&&n.downloadFile(n.modeler.getDefinitions().rootElements[0].name,c,"image/svg+xml"),i.abrupt("return",c);case 28:i.prev=28,i.t1=i["catch"](19);case 31:case"end":return i.stop()}}),i,null,[[4,14],[19,28]])})))()},downloadFile:function(e,t,n){var i=document.createElement("a"),o=window.URL.createObjectURL(new Blob([t],{type:n}));i.href=o,i.download=e,i.click(),window.URL.revokeObjectURL(o)},handlePreview:function(e){var t=this;return h(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.getData("xml");case 2:i=n.sent,"preview"==e?(t.previewXML=i,t.previewVisible=!0):"get"==e&&t.$emit("get",i);case 4:case"end":return n.stop()}}),n)})))()},handleImport:function(){this.createNewDiagram(this.importXML),this.importVisible=!1},getElementRegistry:function(){return this.modeler.get("elementRegistry")}}},Uee=Hee,Yee=(n("1115"),tP(Uee,a,l,!1,null,null,null)),Gee=Yee.exports,Kee=function(e){e.component("wf-design-base",Gee)};"undefined"!==typeof window&&window.Vue&&Kee(window.Vue);var qee={author:"ssc",version:"1.0.0",install:Kee};t["default"]=qee},5124:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".quick-input-widget{position:absolute;width:600px;z-index:2000;padding-bottom:6px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-left-action-bar.monaco-action-bar .actions-container{justify-content:flex-start}.quick-input-title{padding:3px 0;text-align:center}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-titlebar .monaco-action-bar .action-label.codicon{margin:0;width:19px;height:100%;background-position:50%;background-repeat:no-repeat}.quick-input-description{margin:6px}.quick-input-header{display:flex;padding:6px 6px 0 6px;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:100%;align-items:center}.quick-input-message{margin-top:-1px;padding:5px 5px 2px 5px}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row:first-child .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:sub}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin:0;height:100%;padding:0 2px;vertical-align:middle}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}",""]),e.exports=t},5173:function(e,t,n){"use strict";n("e2da");var i=n("83ec"),o=n("6043"),r=n("7663"),s=n("7d86"),a=n("6161"),l=n("63ef"),c=n("e0e0"),h=n("35d6"),u=n("d6e4"),d=n("fe32"),p=n("d6ed"),f=n("d53b"),g=n("fbcf"),m=n("eee7"),b=n("ca2b"),v=n("4d82"),y=n("c61c"),w=n("6023"),_=n("1810"),A=o("fetch"),C=o("Headers"),E=_("iterator"),x="URLSearchParams",S=x+"Iterator",D=h.set,k=h.getterFor(x),M=h.getterFor(S),N=/\+/g,L=Array(4),B=function(e){return L[e-1]||(L[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},T=function(e){var t=e.replace(N," "),n=4;try{return decodeURIComponent(t)}catch(i){while(n)t=t.replace(B(n--),I);return t}},O=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return R[e]},F=function(e){return encodeURIComponent(e).replace(O,P)},j=function(e,t){if(t){var n,i,o=t.split("&"),r=0;while(r<o.length)n=o[r++],n.length&&(i=n.split("="),e.push({key:T(i.shift()),value:T(i.join("="))}))}},Q=function(e){this.entries.length=0,j(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=c((function(e,t){D(this,{type:S,iterator:y(k(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),i=n.value;return n.done||(n.value="keys"===t?i.key:"values"===t?i.value:[i.key,i.value]),n})),W=function(){u(this,W,x);var e,t,n,i,o,r,s,a,l,c=arguments.length>0?arguments[0]:void 0,h=this,p=[];if(D(h,{type:x,entries:p,updateURL:function(){},updateSearchParams:Q}),void 0!==c)if(m(c))if(e=w(c),"function"===typeof e){t=e.call(c),n=t.next;while(!(i=n.call(t)).done){if(o=y(g(i.value)),r=o.next,(s=r.call(o)).done||(a=r.call(o)).done||!r.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:s.value+"",value:a.value+""})}}else for(l in c)d(c,l)&&p.push({key:l,value:c[l]+""});else j(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},H=W.prototype;a(H,{append:function(e,t){z(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=k(this),n=t.entries,i=e+"",o=0;while(o<n.length)n[o].key===i?n.splice(o,1):o++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=k(this).entries,n=e+"",i=0;i<t.length;i++)if(t[i].key===n)return t[i].value;return null},getAll:function(e){z(arguments.length,1);for(var t=k(this).entries,n=e+"",i=[],o=0;o<t.length;o++)t[o].key===n&&i.push(t[o].value);return i},has:function(e){z(arguments.length,1);var t=k(this).entries,n=e+"",i=0;while(i<t.length)if(t[i++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,i=k(this),o=i.entries,r=!1,s=e+"",a=t+"",l=0;l<o.length;l++)n=o[l],n.key===s&&(r?o.splice(l--,1):(r=!0,n.value=a));r||o.push({key:s,value:a}),i.updateURL()},sort:function(){var e,t,n,i=k(this),o=i.entries,r=o.slice();for(o.length=0,n=0;n<r.length;n++){for(e=r[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}i.updateURL()},forEach:function(e){var t,n=k(this).entries,i=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;while(o<n.length)t=n[o++],i(t.value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),s(H,E,H.entries),s(H,"toString",(function(){var e,t=k(this).entries,n=[],i=0;while(i<t.length)e=t[i++],n.push(F(e.key)+"="+F(e.value));return n.join("&")}),{enumerable:!0}),l(W,x),i({global:!0,forced:!r},{URLSearchParams:W}),r||"function"!=typeof A||"function"!=typeof C||i({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,i,o=[e];return arguments.length>1&&(t=arguments[1],m(t)&&(n=t.body,f(n)===x&&(i=t.headers?new C(t.headers):new C,i.has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=b(t,{body:v(0,String(n)),headers:v(0,i)}))),o.push(t)),A.apply(this,o)}}),e.exports={URLSearchParams:W,getState:k}},51739:function(e,t,n){e.exports=n("708c")},"522e":function(e,t,n){"use strict";n("f96e");var i=n("7299"),o=i.domify,r=n("4580"),s=r.TOGGLE_MODE_EVENT,a=r.RESET_SIMULATION_EVENT,l=r.GENERATE_TOKEN_EVENT,c=-15,h=15;function u(e,t,n){var i=this;this._overlays=e,this._translate=n,t.on(s,(function(e){var t=e.simulationModeActive;t||i.removeElementNotifications()})),t.on([a,l],(function(){i.removeElementNotifications()}))}u.prototype.addElementNotifications=function(e,t){var n=this;e.forEach((function(e){n.addElementNotification(e,t)}))},u.prototype.addElementNotification=function(e,t){var n={top:c,right:h},i='<div class="element-notification '+(t.type||"")+'">'+(t.icon?'<i class="fa '+t.icon+'"></i>':"")+('<span class="text">'+this._translate(t.text)+"</span>"||!1)+"</div>",r=o(i);this._overlays.add(e,"element-notification",{position:n,html:r,show:{minZoom:.5}})},u.prototype.removeElementNotifications=function(e){var t=this;e?e.forEach((function(e){t.removeElementNotification(e)})):this._overlays.remove({type:"element-notification"})},u.prototype.removeElementNotification=function(e){this._overlays.remove({element:e})},u.$inject=["overlays","eventBus","translate"],e.exports=u},"52a2":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},5350:function(e,t,n){var i=n("986e"),o=n("76b2"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},"53c2":function(e,t,n){"use strict";function i(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"===typeof btoa){var r=o(i),s=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([r]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"===typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);i&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},"53d7":function(e,t,n){var i=n("f68d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("8674e010",i,!0,{sourceMap:!1,shadowMode:!1})},"53ff":function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},5556:function(e,t,n){"use strict";var i=2147483647,o=36,r=1,s=26,a=38,l=700,c=72,h=128,u="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,f="Overflow: input needs wider integers to process",g=o-r,m=Math.floor,b=String.fromCharCode,v=function(e){var t=[],n=0,i=e.length;while(n<i){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<i){var r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t},y=function(e){return e+22+75*(e<26)},w=function(e,t,n){var i=0;for(e=n?m(e/l):e>>1,e+=m(e/t);e>g*s>>1;i+=o)e=m(e/g);return m(i+(g+1)*e/(e+a))},_=function(e){var t=[];e=v(e);var n,a,l=e.length,d=h,p=0,g=c;for(n=0;n<e.length;n++)a=e[n],a<128&&t.push(b(a));var _=t.length,A=_;_&&t.push(u);while(A<l){var C=i;for(n=0;n<e.length;n++)a=e[n],a>=d&&a<C&&(C=a);var E=A+1;if(C-d>m((i-p)/E))throw RangeError(f);for(p+=(C-d)*E,d=C,n=0;n<e.length;n++){if(a=e[n],a<d&&++p>i)throw RangeError(f);if(a==d){for(var x=p,S=o;;S+=o){var D=S<=g?r:S>=g+s?s:S-g;if(x<D)break;var k=x-D,M=o-D;t.push(b(y(D+k%M))),x=m(k/M)}t.push(b(y(x))),g=w(p,E,A==_),p=0,++A}}++p,++d}return t.join("")};e.exports=function(e){var t,n,i=[],o=e.toLowerCase().replace(p,".").split(".");for(t=0;t<o.length;t++)n=o[t],i.push(d.test(n)?"xn--"+_(n):n);return i.join(".")}},"55ab":function(e,t,n){var i=n("ac97");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5821:function(e,t,n){"use strict";var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=i.RESET_SIMULATION_EVENT;function s(e){this.nextProcessInstanceId=1,e.on(o,this.reset.bind(this)),e.on(r,this.reset.bind(this))}s.prototype.getNext=function(){var e=this.nextProcessInstanceId;return this.nextProcessInstanceId++,e},s.prototype.reset=function(){this.nextProcessInstanceId=1},s.$inject=["eventBus"],e.exports=s},"58a5":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.wrapper>.input,.monaco-inputbox>.wrapper>.mirror{padding:4px}.monaco-inputbox>.wrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.wrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.wrapper>input{text-overflow:ellipsis}.monaco-inputbox>.wrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.wrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.wrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.wrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;min-height:34px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}",""]),e.exports=t},"59cf":function(e,t,n){var i=n("1810"),o=i("iterator"),r=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(l){}return n}},"59e5":function(e,t,n){var i,o,r,s=n("e244"),a=n("ac97"),l=n("d6ed"),c=n("a780"),h=n("f146"),u=n("4ad5"),d=n("f79e"),p=s.location,f=s.setImmediate,g=s.clearImmediate,m=s.process,b=s.MessageChannel,v=s.Dispatch,y=0,w={},_="onreadystatechange",A=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},C=function(e){return function(){A(e)}},E=function(e){A(e.data)},x=function(e){s.postMessage(e+"",p.protocol+"//"+p.host)};f&&g||(f=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},i(y),y},g=function(e){delete w[e]},d?i=function(e){m.nextTick(C(e))}:v&&v.now?i=function(e){v.now(C(e))}:b&&!u?(o=new b,r=o.port2,o.port1.onmessage=E,i=l(r.postMessage,r,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&p&&"file:"!==p.protocol&&!a(x)?(i=x,s.addEventListener("message",E,!1)):i=_ in h("script")?function(e){c.appendChild(h("script"))[_]=function(){c.removeChild(this),A(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:f,clear:g}},"59f5":function(e,t,n){e.exports=n.p+"fonts/bpmn.3c4c9f45.woff2"},"5a37":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".codicon-wrench-subaction{opacity:.5}",""]),e.exports=t},"5a43":function(e,t,n){var i=n("c401");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"5c1e":function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("7299"),o=i.domify,r=i.event,s=n("fbdf").is,a=n("4580"),l=a.GENERATE_TOKEN_EVENT;function c(e){this._eventBus=e}c.prototype.createContextPads=function(e){var t=e.parent.shownProcessInstance,n=e.incoming.filter((function(e){return s(e,"bpmn:SequenceFlow")})),i=[];n.forEach((function(e){var n=e.source;s(n,"bpmn:EventBasedGateway")&&n.tokenCount&&n.tokenCount[t]&&i.push(n)}));var a=e.outgoing.filter((function(e){return s(e,"bpmn:SequenceFlow")}));if(n.length&&a.length){var c,h=this;if(e.tokenCount&&e.tokenCount[t])c=o('<div class="context-pad" title="Trigger Event"><i class="fa fa-play"></i></div>'),r.bind(c,"click",(function(){e.tokenCount[t]--,h._eventBus.fire(l,{element:e,processInstanceId:t})}));else{if(!i.length)return;c=o('<div class="context-pad" title="Trigger Event"><i class="fa fa-play"></i></div>'),r.bind(c,"click",(function(){i.forEach((function(e){e.tokenCount[t]--})),h._eventBus.fire(l,{element:e,processInstanceId:t})}))}return[{element:e,html:c}]}},c.$inject=["eventBus"],e.exports=c},"5d86":function(e,t,n){"use strict";var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=10001;function s(e,t,n,i,s,l,c,h){var u=this;function d(e,t,n){var i=e[t];e[t]=function(){return n.call(this,i,arguments)}}function p(e,t){d(e,t,(function(e,t){if(!u.modelingDisabled)return e.apply(this,t)}))}function f(e,t){d(e,t,(function(e,t){if(u.modelingDisabled)throw new Error("model is read-only");return e.apply(this,t)}))}this._eventBus=e,this.modelingDisabled=!1,e.on(o,r,(function(e){var o=e.simulationModeActive;u.modelingDisabled=o,u.modelingDisabled&&(i.cancel(),t.close(),n.cancel()),c._update()})),p(t,"open"),p(n,"init"),p(i,"activate"),p(n,"init"),p(i,"activate"),f(l,"moveShape"),f(l,"updateAttachment"),f(l,"moveElements"),f(l,"moveConnection"),f(l,"layoutConnection"),f(l,"createConnection"),f(l,"createShape"),f(l,"createLabel"),f(l,"appendShape"),f(l,"removeElements"),f(l,"distributeElements"),f(l,"removeShape"),f(l,"removeConnection"),f(l,"replaceShape"),f(l,"pasteElements"),f(l,"alignElements"),f(l,"resizeShape"),f(l,"createSpace"),f(l,"updateWaypoints"),f(l,"reconnectStart"),f(l,"reconnectEnd"),d(s,"trigger",(function(e,t){var n=t[0];if(!u.modelingDisabled||!a(["undo","redo","copy","paste","removeSelection","spaceTool","lassoTool","globalConnectTool","distributeElements","alignElements","directEditing"],n))return e.apply(this,t)}))}function a(e,t){return e.indexOf(t)>-1}s.$inject=["eventBus","contextPad","dragging","directEditing","editorActions","modeling","palette","paletteProvider"],e.exports=s},"5db6":function(e,t,n){e.exports=n.p+"fonts/bpmn.acbc6cbd.woff"},"5e04":function(e,t,n){e.exports=n("4902")},"5ed7":function(e,t,n){e.exports=n("b7dc")},"5f19":function(e,t,n){e.exports=n("4a9d")},"5f86":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.djs-container{--blue-base-65:#4d90ff;--blue-base-65-opacity-30:rgba(77,144,255,0.3);--blue-darken-48:#005df7;--blue-darken-55:#1a70ff;--blue-lighten-82:#a2c5ff;--red-base-62:#ff3d3d;--red-base-62-lighten-90:#ffebeb;--silver-darken-94:#efefef;--color-000000:#000;--color-000000-opacity-05:rgba(0,0,0,0.05);--color-000000-opacity-10:rgba(0,0,0,0.1);--color-333333:#333;--color-666666:#666;--color-aaaaaa:#aaa;--color-cccccc:#ccc;--color-cdcdcd:#cdcdcd;--color-dddddd:#ddd;--color-f6f6f6:#f6f6f6;--color-fafafa:#fafafa;--color-fefefe:#fefefe;--color-ffffff:#fff;--bendpoint-fill-color:var(--blue-base-65-opacity-30);--bendpoint-stroke-color:var(--blue-base-65);--context-pad-entry-background-color:var(--color-fefefe);--context-pad-entry-hover-background-color:var(--silver-darken-94);--element-dragger-color:var(--blue-base-65);--element-hover-outline-fill-color:var(--blue-darken-48);--element-selected-outline-stroke-color:var(--blue-base-65);--lasso-fill-color:var(--color-000000-opacity-05);--lasso-stroke-color:var(--color-000000);--palette-entry-color:var(--color-333333);--palette-entry-hover-color:var(--blue-darken-48);--palette-entry-selected-color:var(--blue-base-65);--palette-separator-color:var(--color-aaaaaa);--palette-toggle-hover-background-color:var(--color-666666);--palette-background-color:var(--color-fafafa);--palette-border-color:var(--color-cccccc);--popup-body-background-color:var(--color-fefefe);--popup-header-entry-selected-color:var(--blue-base-65);--popup-header-entry-selected-background-color:var(--color-000000-opacity-10);--popup-header-separator-color:var(--color-dddddd);--popup-background-color:var(--color-fafafa);--popup-border-color:var(--color-cccccc);--resizer-fill-color:var(--blue-base-65-opacity-30);--resizer-stroke-color:var(--blue-base-65);--search-container-background-color:var(--color-fafafa);--search-container-border-color:var(--blue-darken-55);--search-container-box-shadow-color:var(--blue-lighten-82);--search-container-box-shadow-inset-color:var(--color-cdcdcd);--search-input-border-color:var(--color-cccccc);--search-result-border-color:var(--color-aaaaaa);--search-result-highlight-color:var(--color-000000);--search-result-selected-color:var(--blue-base-65-opacity-30);--shape-attach-allowed-stroke-color:var(--blue-base-65);--shape-connect-allowed-fill-color:var(--color-f6f6f6);--shape-drop-allowed-fill-color:var(--color-f6f6f6);--shape-drop-not-allowed-fill-color:var(--red-base-62-lighten-90);--shape-resize-preview-stroke-color:var(--blue-base-65);--snap-line-stroke-color:var(--blue-base-65-opacity-30);--space-tool-crosshair-stroke-color:var(--color-000000);--tooltip-error-background-color:var(--red-base-62-lighten-90);--tooltip-error-border-color:var(--red-base-62);--tooltip-error-color:var(--red-base-62)}.djs-outline{fill:none;visibility:hidden}.djs-element.hover .djs-outline,.djs-element.selected .djs-outline{visibility:visible;shape-rendering:geometricPrecision;stroke-dasharray:3,3}.djs-element.selected .djs-outline{stroke:var(--element-selected-outline-stroke-color);stroke-width:1px}.djs-element.hover .djs-outline{stroke:var(--element-hover-outline-fill-color);stroke-width:1px}.djs-shape.connect-ok .djs-visual>:first-child{fill:var(--shape-connect-allowed-fill-color)!important}.djs-shape.connect-not-ok .djs-visual>:first-child,.djs-shape.drop-not-ok .djs-visual>:first-child{fill:var(--shape-drop-not-allowed-fill-color)!important}.djs-shape.new-parent .djs-visual>:first-child{fill:var(--shape-drop-allowed-fill-color)!important}svg.drop-not-ok{background:var(--shape-drop-not-allowed-fill-color)!important}svg.new-parent{background:var(--shape-drop-allowed-fill-color)!important}.djs-connection.connect-ok .djs-visual>:first-child,.djs-connection.drop-ok .djs-visual>:first-child{stroke:var(--shape-drop-allowed-fill-color)!important}.djs-connection.connect-not-ok .djs-visual>:first-child,.djs-connection.drop-not-ok .djs-visual>:first-child{stroke:var(--shape-drop-not-allowed-fill-color)!important}.connect-not-ok,.drop-not-ok{cursor:not-allowed}.djs-element.attach-ok .djs-visual>:first-child{stroke-width:5px!important;stroke:var(--shape-attach-allowed-stroke-color)!important}.djs-frame.connect-not-ok .djs-visual>:first-child,.djs-frame.drop-not-ok .djs-visual>:first-child{stroke-width:3px!important;stroke:var(--shape-drop-not-allowed-fill-color)!important;fill:none!important}.djs-lasso-overlay{fill:var(--lasso-fill-color);stroke-dasharray:5 1 3 1;stroke:var(--lasso-stroke-color);shape-rendering:geometricPrecision;pointer-events:none}.djs-resize-overlay{fill:none;stroke-dasharray:5 1 3 1;stroke:var(--shape-resize-preview-stroke-color);pointer-events:none}.djs-resizer-hit{fill:none;pointer-events:all}.djs-resizer-visual{fill:var(--resizer-fill-color);stroke-width:1px;stroke-opacity:.5;stroke:var(--resizer-stroke-color);shape-rendering:geometricprecision}.djs-resizer:hover .djs-resizer-visual{stroke:var(--resizer-stroke-color);stroke-opacity:1}.djs-cursor-resize-ns,.djs-resizer-n,.djs-resizer-s{cursor:ns-resize}.djs-cursor-resize-ew,.djs-resizer-e,.djs-resizer-w{cursor:ew-resize}.djs-cursor-resize-nwse,.djs-resizer-nw,.djs-resizer-se{cursor:nwse-resize}.djs-cursor-resize-nesw,.djs-resizer-ne,.djs-resizer-sw{cursor:nesw-resize}.djs-shape.djs-resizing>.djs-outline{visibility:hidden!important}.djs-dragger>.djs-resizer,.djs-shape.djs-resizing>.djs-resizer{visibility:hidden}.djs-dragger *{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragger text,.djs-dragger tspan,marker.djs-dragger circle,marker.djs-dragger path,marker.djs-dragger polygon,marker.djs-dragger polyline,marker.djs-dragger rect{fill:var(--element-dragger-color)!important;stroke:none!important}marker.djs-dragger text,marker.djs-dragger tspan{fill:none!important;stroke:var(--element-dragger-color)!important}.djs-dragging{opacity:.3}.djs-dragging,.djs-dragging>*{pointer-events:none!important}.djs-dragging .djs-context-pad,.djs-dragging .djs-outline{display:none!important}.djs-outline,.djs-visual{pointer-events:none}.djs-element.attach-ok .djs-hit{stroke-width:60px!important}.djs-element>.djs-hit-all{pointer-events:all}.djs-element>.djs-hit-click-stroke,.djs-element>.djs-hit-stroke{pointer-events:stroke}.djs-drag-active .djs-element>.djs-hit-click-stroke{pointer-events:all}.djs-connection .djs-visual{stroke-width:2px;fill:none}.djs-cursor-grab{cursor:-webkit-grab;cursor:grab}.djs-cursor-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.djs-cursor-crosshair{cursor:crosshair}.djs-cursor-move{cursor:move}.djs-cursor-resize-ns{cursor:ns-resize}.djs-cursor-resize-ew{cursor:ew-resize}.djs-snap-line{stroke:var(--snap-line-stroke-color);stroke-linecap:round;stroke-width:2px;pointer-events:none}.djs-crosshair{stroke:var(--space-tool-crosshair-stroke-color);stroke-linecap:round;stroke-width:1px;pointer-events:none;shape-rendering:crispEdges;stroke-dasharray:5,5}.djs-palette{position:absolute;left:20px;top:20px;box-sizing:border-box;width:48px}.djs-palette .separator{margin:0 5px;padding-top:5px;border:none;border-bottom:solid 1px var(--palette-separator-color);clear:both}.djs-palette .entry:before{vertical-align:text-bottom}.djs-palette .djs-palette-toggle{cursor:pointer}.djs-palette .djs-palette-toggle,.djs-palette .entry{color:var(--palette-entry-color);font-size:30px;text-align:center}.djs-palette .entry{float:left}.djs-palette .entry img{max-width:100%}.djs-palette .djs-palette-entries:after{content:"";display:table;clear:both}.djs-palette .djs-palette-toggle:hover{background:var(--palette-toggle-hover-background-color)}.djs-palette .entry:hover{color:var(--palette-entry-hover-color)}.djs-palette .highlighted-entry{color:var(--palette-entry-selected-color)!important}.djs-palette .djs-palette-toggle,.djs-palette .entry{width:46px;height:46px;line-height:46px;cursor:default}.djs-palette.two-column.open{width:94px}.djs-palette:not(.open) .djs-palette-entries{display:none}.djs-palette:not(.open){overflow:hidden}.djs-palette.open .djs-palette-toggle{display:none}.djs-overlay-context-pad{width:72px}.djs-context-pad{position:absolute;display:none;pointer-events:none}.djs-context-pad .entry{width:22px;height:22px;text-align:center;display:inline-block;font-size:22px;margin:0 2px 2px 0;border-radius:3px;cursor:default;background-color:var(--context-pad-entry-background-color);box-shadow:0 0 2px 1px var(--context-pad-entry-background-color);pointer-events:all}.djs-context-pad .entry:before{vertical-align:top}.djs-context-pad .entry:hover{background:var(--context-pad-entry-hover-background-color)}.djs-context-pad.open{display:block}.djs-popup .entry{line-height:20px;white-space:nowrap;cursor:default}.djs-popup .entry:before{vertical-align:middle;font-size:20px}.djs-popup .entry>span{vertical-align:middle;font-size:14px}.djs-popup .entry.active:hover,.djs-popup .entry:hover{background:var(--popup-header-entry-selected-background-color)}.djs-popup .entry.disabled{background:inherit}.djs-popup .djs-popup-header .entry{display:inline-block;padding:2px 3px 2px 3px;border:1px solid transparent;border-radius:3px}.djs-popup .djs-popup-header .entry.active{color:var(--popup-header-entry-selected-color);border:solid 1px var(--popup-header-entry-selected-color);background-color:var(--popup-header-entry-selected-background-color)}.djs-popup-body .entry{padding:4px 10px 4px 5px}.djs-popup-body .entry>span{margin-left:5px}.djs-popup-body{background-color:var(--popup-body-background-color)}.djs-popup-header{border-bottom:1px solid var(--popup-header-separator-color)}.djs-popup-header .entry{margin:1px;margin-left:3px}.djs-popup-header .entry:last-child{margin-right:3px}.djs-palette{background:var(--palette-background-color);border:solid 1px var(--palette-border-color);border-radius:2px}.djs-popup{background:var(--popup-background-color);border:solid 1px var(--popup-border-color);border-radius:2px}.djs-connection,.djs-shape{touch-action:none}.djs-bendpoint,.djs-segment-dragger{display:none}.djs-segment-dragger .djs-visual{display:none;fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px;stroke-opacity:1}.djs-segment-dragger:hover .djs-visual{display:block}.djs-bendpoint .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-width:1px;stroke-opacity:.5}.djs-bendpoint:hover,.djs-bendpoints.hover .djs-bendpoint,.djs-bendpoints.hover .djs-segment-dragger,.djs-bendpoints.selected .djs-bendpoint,.djs-bendpoints.selected .djs-segment-dragger,.djs-segment-dragger:hover{display:block}.djs-bendpoints:not(.hover) .floating,.djs-drag-active .djs-bendpoints *{display:none}.djs-bendpoint.floating .djs-visual,.djs-bendpoint:hover .djs-visual,.djs-segment-dragger.djs-dragging .djs-visual,.djs-segment-dragger:hover .djs-visual{fill:var(--bendpoint-fill-color);stroke:var(--bendpoint-stroke-color);stroke-opacity:1}.djs-bendpoint.floating .djs-hit{pointer-events:none}.djs-bendpoint .djs-hit,.djs-segment-dragger .djs-hit{fill:none;pointer-events:all}.djs-segment-dragger.horizontal .djs-hit{cursor:ns-resize}.djs-segment-dragger.vertical .djs-hit{cursor:ew-resize}.djs-segment-dragger.djs-dragging .djs-hit{pointer-events:none}.djs-updating,.djs-updating>*{pointer-events:none!important}.connect-not-ok .djs-bendpoint,.connect-ok .djs-bendpoint,.djs-updating .djs-bendpoint,.djs-updating .djs-context-pad,.djs-updating .djs-outline,.drop-not-ok .djs-bendpoint,.drop-ok .djs-bendpoint{display:none!important}.djs-bendpoint.djs-dragging,.djs-segment-dragger.djs-dragging{display:block;opacity:1}.djs-tooltip-error{width:160px;padding:6px;background:var(--tooltip-error-background-color);border:solid 1px var(--tooltip-error-border-color);border-radius:2px;color:var(--tooltip-error-color);font-size:12px;line-height:16px;opacity:.75}.djs-tooltip-error:hover{opacity:1}.djs-search-container{position:absolute;top:20px;left:0;right:0;margin-left:auto;margin-right:auto;width:25%;min-width:300px;max-width:400px;z-index:10;font-size:1.05em;opacity:.9;background:var(--search-container-background-color);border:solid 1px var(--search-container-border-color);border-radius:2px;box-shadow:0 0 0 2px var(--search-container-box-shadow-color),0 0 0 1px var(--search-container-box-shadow-inset-color) inset}.djs-search-container:not(.open){display:none}.djs-search-input input{font-size:1.05em;width:100%;padding:6px 10px;border:1px solid var(--search-input-border-color)}.djs-search-input input:focus{outline:none;border-color:var(--search-input-border-color)}.djs-search-results{position:relative;overflow-y:auto;max-height:200px}.djs-search-results:hover{cursor:pointer}.djs-search-result{width:100%;padding:6px 10px;background:#fff;border-bottom:solid 1px var(--search-result-border-color);border-radius:1px}.djs-search-highlight{color:var(--search-result-highlight-color)}.djs-search-result-primary{margin:0 0 10px}.djs-search-result-secondary{font-family:monospace;margin:0}.djs-search-overlay,.djs-search-result-selected,.djs-search-result-selected:hover,.djs-search-result:hover{background:var(--search-result-selected-color)}.djs-element-hidden,.djs-element-hidden .djs-hit,.djs-element-hidden .djs-outline,.djs-label-hidden .djs-label{display:none!important}',""]),e.exports=t},6023:function(e,t,n){var i=n("d53b"),o=n("d85b"),r=n("1810"),s=r("iterator");e.exports=function(e){if(void 0!=e)return e[s]||e["@@iterator"]||o[i(e)]}},6024:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.bpmn-icon-screw-wrench:before{content:"\\e800"}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-conditional-flow:before{content:"\\e802"}.bpmn-icon-default-flow:before{content:"\\e803"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-connection:before{content:"\\e810"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-text-annotation:before{content:"\\e830"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-transaction:before{content:"\\e8c4"}',""]),e.exports=t},6043:function(e,t,n){var i=n("642d"),o=n("e244"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},6063:function(e,t,n){"use strict";n("f96e"),n("37fd");var i=n("fbdf"),o=i.getBusinessObject,r=i.is,s=i.isAncestor,a=i.isTypedEvent,l=n("4580"),c=l.CONSUME_TOKEN_EVENT,h=250;function u(e,t,n,i,o,r,s){this._animation=t,this._elementRegistry=n,this._log=i,this._elementNotifications=o,this._canvas=r,this._processInstances=s,e.on(c,h,(function(){}))}u.prototype.isDeadlock=function(){var e=this,t=[];this._elementRegistry.forEach((function(e){e.tokenCount&&t.push(e)}));var n=[],i=[];t.forEach((function(e){var t=e.outgoing.filter((function(e){return r(e,"bpmn:SequenceFlow")}));if(t.length||n.push(e),r(e,"bpmn:ParallelGateway")){var s=e.incoming.filter((function(e){return r(e,"bpmn:SequenceFlow")}));s.length>e.tokenCount&&n.push(e)}var l=[];function c(e){e.outgoing.forEach((function(t){if(-1===l.indexOf(t.target)){l.push(t.target);var n=a(o(t.target),"bpmn:TerminateEventDefinition");n&&i.push(e),c(t.target)}}))}c(e)})),t.length&&!i.length&&n.length&&!this._animation.animations.length&&(e._log.log("Deadlock","warning","fa-exclamation-triangle"),n.forEach((function(t){e._elementNotifications.addElementNotification(t,{type:"warning",icon:"fa-exclamation-triangle",text:"Deadlock"})})))},u.prototype.isFinished=function(e,t){var n=this._processInstances.getProcessInstance(t),i=n.parent,o=!1;i||(i=this._canvas.getRootElement()),i.children.forEach((function(e){e.tokenCount&&e.tokenCount[t]&&e.tokenCount[t].length&&(o=!0)}));var a=!1;if(this._animation.animations.forEach((function(e){s(i,e.element)&&e.processInstanceId===t&&(a=!0)})),!o&&!a)return r(i,"bpmn:SubProcess")?this._log.log("Subprocess "+t+" finished","info","fa-check-circle"):(this._log.log("Process "+t+" finished","success","fa-check-circle"),this._elementNotifications.addElementNotification(e,{type:"success",icon:"fa-check-circle",text:"Finished"})),!0},u.$inject=["eventBus","animation","elementRegistry","log","elementNotifications","canvas","processInstances"],e.exports=u},6090:function(e,t,n){"use strict";var i=n("c201").reduce,o=n("c201").keys,r=n("c201").forEach,s=n("fdda").is,a=n("fdda").getBusinessObject;function l(e){this._elementRegistry=e}function c(e,t){return i(t,(function(t,n){return t[n]=e.get(n),t}),{})}function h(e,t){r(t,(function(t,n){e.set(n,t)}))}function u(e,t){return t.filter((function(t){return s(t,"bpmn:DataObjectReference")&&a(t).dataObjectRef===e}))}l.$inject=["elementRegistry"],e.exports=l,l.prototype.execute=function(e){var t=e.element,n=e.moddleElement,i=e.properties;if(!n)throw new Error("<moddleElement> required");var r=e.changed||this.getVisualReferences(n).concat(t),s=e.oldProperties||c(n,o(i));return h(n,i),e.oldProperties=s,e.changed=r,r},l.prototype.revert=function(e){var t=e.oldProperties,n=e.moddleElement,i=e.changed;return h(n,t),i},l.prototype.getVisualReferences=function(e){var t=this._elementRegistry;return s(e,"bpmn:DataObject")?u(e,t):[]}},"609f":function(e,t,n){var i=n("fbcf"),o=n("dc8c");e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(s){throw o(e),s}}},6120:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}",""]),e.exports=t},6161:function(e,t,n){var i=n("7d86");e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},"61b6":function(e,t,n){var i=n("53c2"),o=n("5f86"),r=n("ce75"),s=n("6024"),a=n("cfa0"),l=n("a0ff"),c=n("f767");t=i(!1),t.i(o),t.i(r),t.i(s),t.i(a),t.i(l),t.i(c),t.push([e.i,'.wf-design{outline:1px solid #e4e7ed}.wf-design,.wf-design .el-container{height:100%}.wf-design .el-container .el-header{height:50px!important;border-bottom:2px solid #e4e7ed}.wf-design .el-container .el-main{height:calc(100% - 52px);padding:0}.wf-design .el-container .el-main .modeler{height:100%;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+") repeat!important}.wf-design .el-container .el-main .nodePrimary:not(.djs-connection) .djs-visual>:first-child{fill:#409eff!important}.wf-design .el-container .el-main .nodeSuccess:not(.djs-connection) .djs-visual>:first-child{fill:#67c23a!important}.wf-design .el-container .el-main .nodeWarn:not(.djs-connection) .djs-visual>:first-child{fill:#e6a23c!important}.wf-design .el-container .el-main .nodeError:not(.djs-connection) .djs-visual>:first-child{fill:#f56c6c!important}.wf-design .el-container .el-main .linePrimary:not(.djs-shape) .djs-visual :last-child{stroke:#409eff!important}.wf-design .el-container .el-main .lineSuccess:not(.djs-shape) .djs-visual :last-child{stroke:#67c23a!important}.wf-design .el-container .el-main .lineWarn:not(.djs-shape) .djs-visual :last-child{stroke:#e6a23c!important}.wf-design .el-container .el-main .lineError:not(.djs-shape) .djs-visual :last-child{stroke:#f56c6c!important}.wf-design .el-container .el-aside{outline:1px solid #e4e7ed;height:100%;padding-top:10px}.wf-design .el-container .el-aside .el-tabs{height:100%}.wf-design .el-container .el-aside .el-tabs .el-tabs__header{margin:0;width:380px;background:#fff;z-index:1000;border-bottom:1px solid #e4e7ed}.wf-design .el-container .el-aside .el-tabs .el-tabs__content{height:calc(100% - 40px);overflow-y:auto}.wf-design .el-container .el-aside .el-tabs .el-tabs__item{padding:0}.wf-design .el-container .el-aside .el-tabs .el-collapse .el-collapse-item__content{padding-bottom:10px}.wf-design .el-container .el-aside .el-select{width:100%}.wf-design__config--icon{width:48px;height:48px;font-size:30px;position:absolute;right:0;bottom:20%;display:flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer;background:#409eff;z-index:99}.wf-design__config--icon .modeler-sk{background:url("data:image/svg+xml;base64,3e68f5a6cc486e25451165f604ee6520")}.wf-design__config--icon i{color:#fff}.wf-design__config .el-drawer__body{padding:0 20px}.wf-design .djs-tooltip{font-size:13px;width:120px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.el-drawer__wrapper :focus{outline:0}.el-drawer__wrapper .wf-design__drawer-foot{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 20px}.el-drawer__wrapper .wf-design__drawer-foot button{width:50%}',""]),e.exports=t},"61c0":function(e,t,n){"use strict";var i=n("4eaf").charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"63ef":function(e,t,n){var i=n("b896").f,o=n("fe32"),r=n("1810"),s=r("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,s)&&i(e,s,{configurable:!0,value:t})}},"642d":function(e,t,n){var i=n("e244");e.exports=i},"643b":function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.CONSUME_TOKEN_EVENT,s=o.GENERATE_TOKEN_EVENT;function a(e,t){this._animation=e,this._eventBus=t}a.prototype.consume=function(e){var t=e.element,n=e.processInstanceId;t.tokenCount||(t.tokenCount={}),t.tokenCount[n]||(t.tokenCount[n]=0),t.tokenCount[n]++;var i=t.incoming;i.length===t.tokenCount[n]&&(this._eventBus.fire(s,e),t.tokenCount[n]=0)},a.prototype.generate=function(e){var t=this,n=e.element,o=e.processInstanceId,s=n.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")}));s.forEach((function(e){t._animation.createAnimation(e,o,(function(){t._eventBus.fire(r,{element:e.target,processInstanceId:o})}))}))},a.$inject=["animation","eventBus"],e.exports=a},6965:function(e,t,n){var i=n("1810"),o=i("toStringTag"),r={};r[o]="z",e.exports="[object z]"===String(r)},"69f1":function(e,t,n){var i=n("55ab"),o=n("b896"),r=n("4d82");e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"6a0b":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .overlayWidgets{position:absolute;top:0;left:0}",""]),e.exports=t},"6aad":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}",""]),e.exports=t},"6b40":function(e,t,n){"use strict";var i=n("83ec"),o=n("ac97"),r=n("5a43"),s=n("eee7"),a=n("c673"),l=n("ce47"),c=n("acd4"),h=n("f152"),u=n("72d4"),d=n("1810"),p=n("2c21"),f=d("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",b=p>=51||!o((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),v=u("concat"),y=function(e){if(!s(e))return!1;var t=e[f];return void 0!==t?!!t:r(e)},w=!b||!v;i({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,i,o,r,s=a(this),u=h(s,0),d=0;for(t=-1,i=arguments.length;t<i;t++)if(r=-1===t?s:arguments[t],y(r)){if(o=l(r.length),d+o>g)throw TypeError(m);for(n=0;n<o;n++,d++)n in r&&c(u,d,r[n])}else{if(d>=g)throw TypeError(m);c(u,d++,r)}return u.length=d,u}})},"6baf":function(e,t,n){var i=n("642d"),o=n("fe32"),r=n("aca4"),s=n("b896").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});o(t,e)||s(t,e,{value:r.f(e)})}},"6cd1":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}",""]),e.exports=t},"6e10":function(e,t,n){var i=n("1810"),o=n("ca2b"),r=n("b896"),s=i("unscopables"),a=Array.prototype;void 0==a[s]&&r.f(a,s,{configurable:!0,value:o(null)}),e.exports=function(e){a[s][e]=!0}},"6e1d":function(e,t,n){"use strict";var i=n("ff5c"),o=n("030e"),r=n("986e"),s=RegExp.prototype.exec,a=r("native-string-replace",String.prototype.replace),l=s,c=function(){var e=/a/,t=/b*/g;return s.call(e,"a"),s.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),h=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1],d=c||u||h;d&&(l=function(e){var t,n,o,r,l=this,d=h&&l.sticky,p=i.call(l),f=l.source,g=0,m=e;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),m=String(e).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==e[l.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,g++),n=new RegExp("^(?:"+f+")",p)),u&&(n=new RegExp("^"+f+"$(?!\\s)",p)),c&&(t=l.lastIndex),o=s.call(d?n:l,m),d?o?(o.input=o.input.slice(g),o[0]=o[0].slice(g),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:c&&o&&(l.lastIndex=l.global?o.index+o[0].length:t),u&&o&&o.length>1&&a.call(o[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(o[r]=void 0)})),o}),e.exports=l},7043:function(e,t,n){var i=n("e5d9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("e71c809e",i,!0,{sourceMap:!1,shadowMode:!1})},"708c":function(e,t,n){"use strict";var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=i.query,l=n("4580"),c=l.TOGGLE_MODE_EVENT;function h(e,t,n,i,o){var r=this;this._eventBus=e,this._canvas=t,this._selection=n,this._contextPad=i,this._translate=o,this.simulationModeActive=!1,e.on("import.done",(function(){r.canvasParent=r._canvas.getContainer().parentNode,r.palette=a(".djs-palette",r._canvas.getContainer()),r._init()}))}h.prototype._init=function(){this.container=o('\n    <div class="toggle-mode">\n      '.concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-off"></i></span>\n    </div>\n  ')),s.bind(this.container,"click",this.toggleMode.bind(this)),this._canvas.getContainer().appendChild(this.container)},h.prototype.toggleMode=function(){if(this.simulationModeActive){this.container.innerHTML="".concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-off"></i></span>'),r(this.canvasParent).remove("simulation"),r(this.palette).remove("hidden"),this._eventBus.fire(c,{simulationModeActive:!1});var e=this._selection.get();1===e.length&&this._contextPad.open(e[0])}else this.container.innerHTML="".concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-on"></i></span>'),r(this.canvasParent).add("simulation"),r(this.palette).add("hidden"),this._eventBus.fire(c,{simulationModeActive:!0});this.simulationModeActive=!this.simulationModeActive},h.$inject=["eventBus","canvas","selection","contextPad","translate"],e.exports=h},"70a5":function(e,t,n){var i=n("83ec"),o=n("8410").values;i({target:"Object",stat:!0},{values:function(e){return o(e)}})},"70a8":function(e,t,n){var i=n("6a0b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("66c11253",i,!0,{sourceMap:!1,shadowMode:!1})},7115:function(e,t,n){var i=n("c09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("bf659326",i,!0,{sourceMap:!1,shadowMode:!1})},7299:function(e,t,n){"use strict";function i(e,t,n){return 2==arguments.length?e.getAttribute(t):null===n?e.removeAttribute(t):(e.setAttribute(t,n),e)}n.r(t),n.d(t,"attr",(function(){return i})),n.d(t,"classes",(function(){return l})),n.d(t,"clear",(function(){return h})),n.d(t,"closest",(function(){return g})),n.d(t,"delegate",(function(){return S})),n.d(t,"domify",(function(){return D})),n.d(t,"event",(function(){return _})),n.d(t,"matches",(function(){return p})),n.d(t,"query",(function(){return L})),n.d(t,"queryAll",(function(){return B})),n.d(t,"remove",(function(){return I}));var o=[].indexOf,r=function(e,t){if(o)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1},s=/\s+/,a=Object.prototype.toString;function l(e){return new c(e)}function c(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}function h(e){var t;while(e.childNodes.length)t=e.childNodes[0],e.removeChild(t);return e}c.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array(),n=r(t,e);return~n||t.push(e),this.el.className=t.join(" "),this},c.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},c.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},c.prototype.toggle=function(e,t){return this.list?("undefined"!==typeof t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):("undefined"!==typeof t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},c.prototype.array=function(){var e=this.el.getAttribute("class")||"",t=e.replace(/^\s+|\s+$/g,""),n=t.split(s);return""===n[0]&&n.shift(),n},c.prototype.has=c.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)};var u="undefined"!==typeof Element?Element.prototype:{},d=u.matches||u.matchesSelector||u.webkitMatchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector,p=f;function f(e,t){if(!e||1!==e.nodeType)return!1;if(d)return d.call(e,t);for(var n=e.parentNode.querySelectorAll(t),i=0;i<n.length;i++)if(n[i]==e)return!0;return!1}function g(e,t,n){var i=n?e:e.parentNode;while(i&&i.nodeType!==document.DOCUMENT_NODE&&i.nodeType!==document.DOCUMENT_FRAGMENT_NODE){if(p(i,t))return i;i=i.parentNode}return p(i,t)?i:null}var m=window.addEventListener?"addEventListener":"attachEvent",b=window.removeEventListener?"removeEventListener":"detachEvent",v="addEventListener"!==m?"on":"",y=function(e,t,n,i){return e[m](v+t,n,i||!1),n},w=function(e,t,n,i){return e[b](v+t,n,i||!1),n},_={bind:y,unbind:w},A=["focus","blur"];function C(e,t,n,i,o){return-1!==A.indexOf(n)&&(o=!0),_.bind(e,n,(function(n){var o=n.target||n.srcElement;n.delegateTarget=g(o,t,!0,e),n.delegateTarget&&i.call(e,n)}),o)}function E(e,t,n,i){return-1!==A.indexOf(t)&&(i=!0),_.unbind(e,t,n,i)}var x,S={bind:C,unbind:E},D=N,k=!1;"undefined"!==typeof document&&(x=document.createElement("div"),x.innerHTML='  <link/><table></table><a href="/a">a</a><input type="checkbox"/>',k=!x.getElementsByTagName("link").length,x=void 0);var M={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:k?[1,"X<div>","</div>"]:[0,"",""]};function N(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var n=/<([\w:]+)/.exec(e);if(!n)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var i=n[1];if("body"==i){var o=t.createElement("html");return o.innerHTML=e,o.removeChild(o.lastChild)}var r=M[i]||M._default,s=r[0],a=r[1],l=r[2];o=t.createElement("div");o.innerHTML=a+e+l;while(s--)o=o.lastChild;if(o.firstChild==o.lastChild)return o.removeChild(o.firstChild);var c=t.createDocumentFragment();while(o.firstChild)c.appendChild(o.removeChild(o.firstChild));return c}function L(e,t){return t=t||document,t.querySelector(e)}function B(e,t){return t=t||document,t.querySelectorAll(e)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}M.td=M.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],M.option=M.optgroup=[1,'<select multiple="multiple">',"</select>"],M.thead=M.tbody=M.colgroup=M.caption=M.tfoot=[1,"<table>","</table>"],M.polyline=M.ellipse=M.polygon=M.circle=M.text=M.line=M.path=M.rect=M.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"]},"72b1":function(e,t,n){var i=n("407e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("30943f45",i,!0,{sourceMap:!1,shadowMode:!1})},"72c7":function(e,t,n){var i=n("e244"),o=n("69f1");e.exports=function(e,t){try{o(i,e,t)}catch(n){i[e]=t}return t}},"72d4":function(e,t,n){var i=n("ac97"),o=n("1810"),r=n("2c21"),s=o("species");e.exports=function(e){return r>=51||!i((function(){var t=[],n=t.constructor={};return n[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},7439:function(e,t,n){var i=n("eee7"),o=n("c401"),r=n("1810"),s=r("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==o(e))}},7554:function(e,t,n){"use strict";n("2f62"),n("26c4");var i=n("7299"),o=i.domify,r=n("4580"),s=r.TOGGLE_MODE_EVENT,a=2e3;function l(e,t,n){var i=this;this._eventBus=e,this._canvas=t,this._translate=n,this._init(),e.on(s,(function(e){var t=e.simulationModeActive;t||i.removeAll()}))}l.prototype._init=function(){this.container=o('<div class="notifications"></div>'),this._canvas.getContainer().appendChild(this.container)},l.prototype.showNotification=function(e,t,n){var i;n||(n="fa-info"),i=n.includes("bpmn")?'<i class="'+n+'"></i>':'<i class="fa '+n+'"></i>';var r=o('<div class="notification '+t+'"><span class="icon">'+i+"</span>"+this._translate(e)+"</div>");this.container.appendChild(r);while(this.container.children.length>5)this.container.children[0].remove();setTimeout((function(){r.remove()}),a)},l.prototype.removeAll=function(){while(this.container.children.length)this.container.children[0].remove()},l.$inject=["eventBus","canvas","translate"],e.exports=l},7663:function(e,t,n){var i=n("ac97"),o=n("1810"),r=n("f0db"),s=o("iterator");e.exports=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,i){t["delete"]("b"),n+=i+e})),r&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"769f":function(e,t,n){var i=n("f3d6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("425648c8",i,!0,{sourceMap:!1,shadowMode:!1})},"76b2":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},"778b":function(e,t,n){e.exports=n("bfb1")},"795e":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".bpmn-tools[data-v-e1e0edb4]{display:flex;padding-top:10px;justify-content:space-between}",""]),e.exports=t},"7d86":function(e,t,n){var i=n("e244"),o=n("69f1"),r=n("fe32"),s=n("72c7"),a=n("9550"),l=n("35d6"),c=l.get,h=l.enforce,u=String(String).split("String");(e.exports=function(e,t,n,a){var l,c=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||o(n,"name",t),l=h(n),l.source||(l.source=u.join("string"==typeof t?t:""))),e!==i?(c?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:o(e,t,n)):d?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},"7e50":function(e,t,n){var i=n("83ec"),o=n("ac97"),r=n("45ad"),s=n("42b1").f,a=n("55ab"),l=o((function(){s(1)})),c=!a||l;i({target:"Object",stat:!0,forced:c,sham:!a},{getOwnPropertyDescriptor:function(e,t){return s(r(e),t)}})},"7f17":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"7f82":function(e,t,n){var i=n("eee7");e.exports=function(e,t){if(!i(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!i(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!i(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"80db":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},8120:function(e,t,n){"use strict";var i=n("83ec"),o=n("3395").trim,r=n("c55c");i({target:"String",proto:!0,forced:r("trim")},{trim:function(){return o(this)}})},"81bb":function(e,t,n){"use strict";var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=n("4580"),l=a.TOGGLE_MODE_EVENT,c=a.PLAY_SIMULATION_EVENT,h=a.PAUSE_SIMULATION_EVENT,u=a.RESET_SIMULATION_EVENT,d=a.ANIMATION_CREATED_EVENT,p=a.PROCESS_INSTANCE_CREATED_EVENT,f='<i class="fa fa-play"></i>',g='<i class="fa fa-pause"></i>';function m(e,t,n,i,o){var r=this;this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._translate=o,this.canvasParent=i.getContainer().parentNode,this.isActive=!1,this.isPaused=!1,this._init(),e.on(p,(function(e){var t=e.parent;t.parent||(r.activate(),r.unpause(),n.showNotification("Start Simulation","info"))})),e.on([u,l],(function(){r.deactivate(),r.unpause()})),e.on(d,(function(e){var t=e.animation;r.isPaused&&t.pause()}))}m.prototype._init=function(){this.paletteEntry=o('<div class="entry disabled" title="'.concat(this._translate("Play/Pause Simulation"),'">')+f+"</div>"),s.bind(this.paletteEntry,"click",this.toggle.bind(this)),this._tokenSimulationPalette.addEntry(this.paletteEntry,1)},m.prototype.toggle=function(){this.isActive&&(this.isPaused?this.unpause():this.pause())},m.prototype.pause=function(){this.isActive&&(r(this.paletteEntry).remove("active"),r(this.canvasParent).add("paused"),this.paletteEntry.innerHTML=f,this._eventBus.fire(h),this._notifications.showNotification(this._translate("Pause Simulation"),"info"),this.isPaused=!0)},m.prototype.unpause=function(){this.isActive&&(r(this.paletteEntry).add("active"),r(this.canvasParent).remove("paused"),this.paletteEntry.innerHTML=g,this._eventBus.fire(c),this._notifications.showNotification(this._translate("Play Simulation"),"info"),this.isPaused=!1)},m.prototype.activate=function(){this.isActive=!0,r(this.paletteEntry).remove("disabled")},m.prototype.deactivate=function(){this.isActive=!1,r(this.paletteEntry).remove("active"),r(this.paletteEntry).add("disabled")},m.$inject=["eventBus","tokenSimulationPalette","notifications","canvas","translate"],e.exports=m},"83ec":function(e,t,n){var i=n("e244"),o=n("42b1").f,r=n("69f1"),s=n("7d86"),a=n("72c7"),l=n("8c42"),c=n("a056");e.exports=function(e,t){var n,h,u,d,p,f,g=e.target,m=e.global,b=e.stat;if(h=m?i:b?i[g]||a(g,{}):(i[g]||{}).prototype,h)for(u in t){if(p=t[u],e.noTargetGet?(f=o(h,u),d=f&&f.value):d=h[u],n=c(m?u:g+(b?".":"#")+u,e.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&r(p,"sham",!0),s(h,u,p,e)}}},8410:function(e,t,n){var i=n("55ab"),o=n("3e1a"),r=n("45ad"),s=n("11b0").f,a=function(e){return function(t){var n,a=r(t),l=o(a),c=l.length,h=0,u=[];while(c>h)n=l[h++],i&&!s.call(a,n)||u.push(e?[n,a[n]]:a[n]);return u}};e.exports={entries:a(!0),values:a(!1)}},"84f7":function(e,t,n){var i=n("55ab"),o=n("b896").f,r=Function.prototype,s=r.toString,a=/^\s*function ([^ (]*)/,l="name";i&&!(l in r)&&o(r,l,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(e){return""}}})},"88cb":function(e,t,n){var i=n("1ffd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("58a21d71",i,!0,{sourceMap:!1,shadowMode:!1})},"8aa3":function(e,t,n){var i=n("d6ed"),o=n("b4fd"),r=n("c673"),s=n("ce47"),a=n("f152"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,h=4==e,u=6==e,d=7==e,p=5==e||u;return function(f,g,m,b){for(var v,y,w=r(f),_=o(w),A=i(g,m,3),C=s(_.length),E=0,x=b||a,S=t?x(f,C):n||d?x(f,0):void 0;C>E;E++)if((p||E in _)&&(v=_[E],y=A(v,E,w),e))if(t)S[E]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(S,v)}else switch(e){case 4:return!1;case 7:l.call(S,v)}return u?-1:c||h?h:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},"8c32":function(e,t,n){var i=n("e09a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("bbcfab50",i,!0,{sourceMap:!1,shadowMode:!1})},"8c42":function(e,t,n){var i=n("fe32"),o=n("c1ca"),r=n("42b1"),s=n("b896");e.exports=function(e,t){for(var n=o(t),a=s.f,l=r.f,c=0;c<n.length;c++){var h=n[c];i(e,h)||a(e,h,l(t,h))}}},"8dab":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-list:focus .monaco-list-row.selected .codicon{color:inherit}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:-webkit-grab;cursor:grab}.monaco-list-type-filter.dragging{cursor:-webkit-grabbing;cursor:grabbing}",""]),e.exports=t},"8e1c":function(e,t,n){e.exports=n("996b")},"8e6b":function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf"),o=i.is,r=n("4580"),s=r.CONSUME_TOKEN_EVENT,a=r.UPDATE_ELEMENT_EVENT,l=r.UPDATE_ELEMENTS_EVENT;function c(e,t,n){this._animation=e,this._eventBus=t,this._elementRegistry=n}c.prototype.consume=function(e){var t=e.element,n=e.processInstanceId;t.tokenCount||(t.tokenCount={}),t.tokenCount[n]||(t.tokenCount[n]=0),t.tokenCount[n]++,this._eventBus.fire(a,{element:t})},c.prototype.generate=function(e){var t=this,n=e.element,i=e.processInstanceId,r=n.outgoing.filter((function(e){return o(e,"bpmn:SequenceFlow")}));r.forEach((function(e){t._animation.createAnimation(e,i,(function(){t._eventBus.fire(s,{element:e.target,processInstanceId:i})}))}));var a=n.parent,c=this._elementRegistry.filter((function(e){return o(e,"bpmn:IntermediateCatchEvent")&&e.parent===a}));this._eventBus.fire(l,{elements:c})},c.$inject=["animation","eventBus","elementRegistry"],e.exports=c},"8ece":function(e,t,n){var i=n("5a37");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("32d786fc",i,!0,{sourceMap:!1,shadowMode:!1})},"8fed":function(e,t,n){var i=n("2c21"),o=n("ac97");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())||!Symbol.sham&&i&&i<41}))},9224:function(e){e.exports=JSON.parse('{"name":"@sscfaith/nutflow","version":"1.0.0","author":{"name":"ssc","email":"273702440@qq.com"},"main":"lib/index.umd.min.js","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","build:lib":"vue-cli-service build --target lib --name WfDesignBase --dest lib --filename index --formats umd-min ./packages/index.js","lint":"vue-cli-service lint"},"dependencies":{"bpmn-js":"^8.6.0","bpmnlint":"^7.2.1","monaco-editor":"^0.21.3","svg.js":"^2.7.1"},"devDependencies":{"@sscfaith/avue-form-design":"^1.4.3","@vue/cli-plugin-babel":"^4.5.13","@vue/cli-plugin-eslint":"^4.5.13","@vue/cli-service":"^4.5.13","avue-plugin-ueditor":"^0.2.2","babel-eslint":"^10.1.0","babel-plugin-import":"^1.13.3","core-js":"^3.12.1","eslint":"^7.26.0","eslint-plugin-vue":"^7.9.0","sass":"^1.32.13","sass-loader":"^7.3.1","vue":"^2.6.12","vue-template-compiler":"^2.6.12"},"eslintConfig":{"root":true,"env":{"node":true},"extends":["plugin:vue/essential","eslint:recommended"],"parserOptions":{"parser":"babel-eslint"},"rules":{"no-debugger":"off","no-console":"off","no-unused-vars":"off","no-mutating-props":"off"}},"browserslist":["> 1%","last 2 versions","not dead"],"files":["lib"],"keywords":["vue","element-ui","bpmn","bpmn.js","flow","flowable","activiti","camunda"]}')},9368:function(e,t,n){var i=n("3c82");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("3e21d075",i,!0,{sourceMap:!1,shadowMode:!1})},9508:function(e,t,n){var i=n("1810"),o=i("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(i){}}return!1}},9545:function(e,t,n){e.exports=n.p+"fonts/bpmn.f922519e.ttf"},9550:function(e,t,n){var i=n("2f6c"),o=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return o.call(e)}),e.exports=i.inspectSource},"95d1":function(e,t,n){var i=n("e244"),o=n("a909"),r=n("e2da"),s=n("69f1"),a=n("1810"),l=a("iterator"),c=a("toStringTag"),h=r.values;for(var u in o){var d=i[u],p=d&&d.prototype;if(p){if(p[l]!==h)try{s(p,l,h)}catch(g){p[l]=h}if(p[c]||s(p,c,u),o[u])for(var f in r)if(p[f]!==r[f])try{s(p,f,r[f])}catch(g){p[f]=r[f]}}}},9692:function(e,t,n){e.exports=n("b81c")},"977a":function(e,t,n){e.exports=n("6063")},"97d5":function(e,t,n){e.exports=n("81bb")},9812:function(e,t,n){e.exports=n.p+"fonts/bpmn.08b5f281.eot"},"986e":function(e,t,n){var i=n("f0db"),o=n("2f6c");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.12.1",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"996b":function(e,t,n){"use strict";function i(e,t,n,i,o,r){r.register({toggleTokenSimulation:function(){t.toggleMode()}}),r.register({togglePauseTokenSimulation:function(){n.toggle()}}),r.register({resetTokenSimulation:function(){o.resetSimulation()}}),r.register({toggleTokenSimulationLog:function(){i.toggle()}})}i.$inject=["eventBus","toggleMode","pauseSimulation","log","resetSimulation","editorActions"],e.exports=i},"99ab":function(e,t,n){var i=n("83ec"),o=n("d362");i({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},"9bf1":function(e,t,n){"use strict";var i=n("83ec"),o=n("eee7"),r=n("5a43"),s=n("3352"),a=n("ce47"),l=n("45ad"),c=n("acd4"),h=n("1810"),u=n("72d4"),d=u("slice"),p=h("species"),f=[].slice,g=Math.max;i({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,i,h,u=l(this),d=a(u.length),m=s(e,d),b=s(void 0===t?d:t,d);if(r(u)&&(n=u.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?o(n)&&(n=n[p],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return f.call(u,m,b);for(i=new(void 0===n?Array:n)(g(b-m,0)),h=0;m<b;m++,h++)m in u&&c(i,h,u[m]);return i.length=h,i}})},"9c85":function(e,t,n){var i=n("eca0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("46bf518f",i,!0,{sourceMap:!1,shadowMode:!1})},"9ce1":function(e,t,n){e.exports=n("efb0")},"9d65":function(e,t,n){"use strict";n("37fd");var i=n("7299"),o=i.domify,r=i.event;function s(e,t){this._processInstances=e,this._processInstanceSettings=t}s.prototype.createContextPads=function(e){var t=this,n=this._processInstances.getProcessInstances(e).filter((function(e){return!e.isFinished}));if(!(n.length<2)){var i=o('<div class="context-pad" title="View Process Instances"><i class="fa fa-list-ol"></i></div>');return r.bind(i,"click",(function(){t._processInstanceSettings.showNext(e)})),[{element:e,html:i}]}},s.$inject=["processInstances","processInstanceSettings"],e.exports=s},"9d6f":function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}",""]),e.exports=t},"9ea0":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},a009:function(e,t,n){"use strict";n("f96e"),n("d4c0");var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=i.query,l=i.clear,c=n("4580"),h=c.TOGGLE_MODE_EVENT,u=c.PROCESS_INSTANCE_CREATED_EVENT,d=c.PROCESS_INSTANCE_FINISHED_EVENT,p=c.PROCESS_INSTANCE_SHOWN_EVENT,f=c.PROCESS_INSTANCE_HIDDEN_EVENT,g=c.RESET_SIMULATION_EVENT,m=getComputedStyle(document.documentElement).getPropertyValue("--token-simulation-silver-base-97"),b=getComputedStyle(document.documentElement).getPropertyValue("--token-simulation-green-base-44");function v(e){return null===e}function y(e,t,n,i,o,s){var a=this;this._eventBus=e,this._canvas=t,this._processInstanceSettings=n,this._processInstances=i,this._graphicsFactory=o,this._elementRegistry=s,this.highlightedElement=null,this._init(),e.on(h,(function(e){var t=e.simulationModeActive;t?r(a.container).remove("hidden"):(r(a.container).add("hidden"),l(a.container),v(a.highlightedElement)||(a.removeHighlightFromProcess(a.highlightedElement.element),a.highlightedElement=null))})),e.on(u,(function(e){a.addInstance(e)})),e.on(d,(function(e){a.removeInstance(e)})),e.on(p,(function(e){a.setInstanceShown(e.processInstanceId)})),e.on(f,(function(e){a.setInstanceHidden(e.processInstanceId)})),e.on(g,(function(){a.removeAllInstances()}))}y.prototype._init=function(){this.container=o('<div class="process-instances hidden"></div>'),this._canvas.getContainer().appendChild(this.container)},y.prototype.addInstance=function(e){var t=this,n=e.processInstanceId,i=e.parent,r=o('<div id="instance-'+n+'" class="process-instance" title="View Process Instance '+n+'">'+n+"</div>");s.bind(r,"click",(function(){var e=t._processInstances.getProcessInstances(i);e.forEach((function(e){t._processInstanceSettings.hideProcessInstance(e.processInstanceId)})),t._processInstanceSettings.showProcessInstance(n,i)})),s.bind(r,"mouseenter",(function(){t.highlightedElement={element:i,stroke:i.businessObject.di.get("stroke"),fill:i.businessObject.di.get("fill")},t.addHighlightToProcess(i)})),s.bind(r,"mouseleave",(function(){t.removeHighlightFromProcess(i),t.highlightedElement=null})),this.container.appendChild(r)},y.prototype.removeInstance=function(e){var t=e.processInstanceId,n=a("#instance-"+t,this.container);n&&n.remove()},y.prototype.removeAllInstances=function(){this.container.innerHTML=""},y.prototype.setInstanceShown=function(e){var t=a("#instance-"+e,this.container);t&&r(t).add("active")},y.prototype.setInstanceHidden=function(e){var t=a("#instance-"+e,this.container);t&&r(t).remove("active")},y.prototype.addHighlightToProcess=function(e){this.setColor(e,b,m),e.parent||r(this._canvas.getContainer()).add("highlight")},y.prototype.removeHighlightFromProcess=function(e){v(this.highlightedElement)||(this.setColor(e,this.highlightedElement.stroke,this.highlightedElement.fill),e.parent||r(this._canvas.getContainer()).remove("highlight"))},y.prototype.setColor=function(e,t,n){var i=e.businessObject;i.di.set("stroke",t),i.di.set("fill",n);var o=this._elementRegistry.getGraphics(e);this._graphicsFactory.update("connection",e,o)},y.$inject=["eventBus","canvas","processInstanceSettings","processInstances","graphicsFactory","elementRegistry"],e.exports=y},a056:function(e,t,n){var i=n("ac97"),o=/#|\.prototype\./,r=function(e,t){var n=a[s(e)];return n==c||n!=l&&("function"==typeof t?i(t):!!t)},s=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=r.data={},l=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},a078:function(e,t,n){"use strict";var i=n("4eaf").charAt,o=n("35d6"),r=n("325d"),s="String Iterator",a=o.set,l=o.getterFor(s);r(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=i(n,o),t.index+=e.length,{value:e,done:!1})}))},a0c9:function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},a0ff:function(e,t,n){var i=n("53c2"),o=n("da79");t=i(!1),t.i(o),t.push([e.i,':root{--token-simulation-green-base-44:#10d070;--token-simulation-grey-base-40:#666;--token-simulation-grey-darken-30:#212121;--token-simulation-grey-lighten-56:#909090;--token-simulation-red-base-62:#ff3d3d;--token-simulation-silver-base-97:#f8f8f8;--token-simulation-white:#fff}#canvas,body,html{margin:0;width:100%;height:100%;font-family:Arial,sans-serif}.bjs-container{border:4px solid transparent;box-sizing:border-box}.bjs-container.simulation{border-color:var(--token-simulation-green-base-44,#10d070)}.bjs-container.simulation.paused{border-color:var(--token-simulation-grey-base-40,#666)}.bjs-container.simulation.warning{border-color:var(--token-simulation-red-base-62,#ff3d3d)!important}.context-pad{cursor:pointer;background-color:var(--token-simulation-grey-lighten-56,#909090);border-radius:2px;margin:0;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);opacity:.5;transition:all .1s ease-in-out;width:30px;height:30px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.context-pad:not(.disabled):hover{width:40px;background-color:var(--token-simulation-green-base-44,#10d070);opacity:1;color:var(--token-simulation-white,#fff)}.context-pad.disabled{background-color:var(--token-simulation-silver-base-97,#f8f8f8);color:var(--token-simulation-grey-base-40,#666);pointer-events:none}.context-pad.hidden{display:none}.context-pad [class^=bpmn-icon-]:before,[class*=" bpmn-icon-"]:before{margin:0}.token .text{fill:var(--token-simulation-white,#fff);font-family:Arial,sans-serif}.token-count{background-color:#fafafa;border-radius:100%;width:25px;height:25px;line-height:25px;text-align:center;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-animation:jump 1s infinite;animation:jump 1s infinite;-webkit-animation-timing-function:ease;animation-timing-function:ease;position:relative;top:0}.token-count.waiting{color:var(--token-simulation-white,#fff);font-family:Arial,sans-serif;background-color:var(--token-simulation-green-base-44,#10d070)}@-webkit-keyframes jump{50%{top:5px}}@keyframes jump{50%{top:5px}}.notifications{position:absolute;bottom:20px;left:20px}.notifications .notification{border-radius:2px;padding:4px 8px;font-size:16px;color:var(--token-simulation-silver-base-97,#f8f8f8);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-top:4px;min-width:300px}.notifications .notification,.notifications .notification.info{background-color:var(--token-simulation-silver-base-97,#f8f8f8)}.notifications .notification.info{color:#000}.notifications .notification.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.notifications .notification.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.notifications .notification .icon{display:inline-flex;justify-content:center;margin-right:8px;min-width:20px}.notifications .notification .icon [class^=bpmn-icon-]:before,[class*=" bpmn-icon-"]:before{margin:0}.bjs-container.paused .play-pause.active,.element-notification{color:var(--token-simulation-silver-base-97,#f8f8f8);background-color:var(--token-simulation-silver-base-97,#f8f8f8)}.element-notification{border-radius:2px;height:30px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;padding:0 6px 0 6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.element-notification .fa,.element-notification .text{margin:0 3px 0 3px}.element-notification .text{white-space:nowrap}.element-notification.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.element-notification.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.toggle-mode{cursor:pointer;position:absolute;top:20px;left:20px;background-color:var(--token-simulation-silver-base-97,#f8f8f8);border-radius:2px;padding:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bjs-container.simulation .toggle-mode,.toggle-mode:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.bjs-container .djs-palette{border:none;top:60px}.bjs-container.simulation .djs-palette{display:none}.bjs-container.simulation .djs-bendpoint,.bjs-container.simulation .djs-outline,.bjs-container.simulation .djs-resizer,.bjs-container.simulation .djs-segment-dragger{display:none!important}.token-simulation-palette{position:absolute;top:60px;left:20px}.token-simulation-palette.hidden{display:none}.token-simulation-palette .entry{cursor:pointer;background-color:var(--token-simulation-silver-base-97,#f8f8f8);border-radius:2px;padding:6px 0;margin-bottom:6px;font-size:16px;color:var(--token-simulation-grey-darken-30,#212121);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;justify-content:center;align-items:center;width:30px;box-sizing:border-box;transition:all .1s ease}.token-simulation-palette .entry:last-child{margin-bottom:0}.token-simulation-palette .entry:not(.disabled):hover{width:40px}.token-simulation-palette .entry.active,.token-simulation-palette .entry:not(.disabled):hover{color:var(--token-simulation-white,#fff);background-color:var(--token-simulation-green-base-44,#10d070)}.token-simulation-palette .entry.disabled{pointer-events:none;color:var(--token-simulation-grey-base-40,#666)}.token-simulation-log{position:absolute;top:128px;bottom:20px;left:20px;right:20px;background-color:var(--token-simulation-silver-base-97,#f8f8f8);border-radius:2px;z-index:10000;overflow:hidden}.token-simulation-log.hidden{display:none}.token-simulation-log .header{background-color:var(--token-simulation-green-base-44,#10d070);padding:6px 8px;color:var(--token-simulation-white,#fff);height:30px;box-sizing:border-box;font-size:16px}.token-simulation-log .header .close{float:right;background:none;border:none;cursor:pointer;color:var(--token-simulation-white,#fff)}.token-simulation-log .header .fa-align-left{cursor:pointer}.token-simulation-log .content{position:absolute;overflow-y:auto;box-sizing:border-box;top:30px;bottom:0;left:0;right:0;padding:10px}.token-simulation-log .content .entry{font-size:16px;margin:0 0 6px 0;padding:6px;background:var(--token-simulation-white,#fff);border-radius:2px}.token-simulation-log .content .entry.success{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.token-simulation-log .content .entry.success .date,.token-simulation-log .content .entry.warning .date{color:var(--token-simulation-silver-base-97,#f8f8f8)}.token-simulation-log .content .entry.warning{background-color:var(--token-simulation-red-base-62,#ff3d3d);color:var(--token-simulation-white,#fff)}.token-simulation-log .content .entry:last-child{margin:0}.token-simulation-log .content .entry .date{display:inline-block;margin-right:6px;min-width:120px;color:var(--token-simulation-grey-base-40,#666)}.token-simulation-log .content .entry .icon{display:inline-block;margin-right:6px;min-width:20px;text-align:center}.token-simulation-log .content .entry.placeholder.hidden{display:none}.process-instances{position:absolute;top:20px;left:190px;display:flex;flex-direction:row}.process-instances.hidden{display:none}.process-instances .process-instance{border-radius:100%;width:30px;height:30px;font-size:16px;line-height:30px;text-align:center;background-color:var(--token-simulation-silver-base-97,#f8f8f8);margin-right:10px;cursor:pointer}.process-instances .process-instance.active{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}.djs-container.highlight,.set-animation-speed{background-color:var(--token-simulation-silver-base-97,#f8f8f8)}.set-animation-speed{position:absolute;bottom:20px;left:50%;transform:translate(-50%);font-size:16px;text-align:center;border-radius:2px;cursor:pointer;display:flex;flex-direction:row;align-items:center;padding-left:6px;overflow:hidden}.set-animation-speed .fa-tachometer{margin-bottom:2px}.set-animation-speed.hidden{display:none}.set-animation-speed .animation-speed-buttons{display:flex;flex-direction:row;margin-left:6px}.set-animation-speed .animation-speed-buttons .animation-speed-button{padding:6px;width:30px}.set-animation-speed .animation-speed-buttons .animation-speed-button.active,.set-animation-speed .animation-speed-buttons .animation-speed-button:hover{background-color:var(--token-simulation-green-base-44,#10d070);color:var(--token-simulation-white,#fff)}',""]),e.exports=t},a23c:function(e,t,n){var i=n("e263");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("f22d8072",i,!0,{sourceMap:!1,shadowMode:!1})},a2e5:function(e,t,n){var i=n("3f13");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("b6bc25aa",i,!0,{sourceMap:!1,shadowMode:!1})},a52d:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}",""]),e.exports=t},a53d:function(e,t,n){var i=n("1810"),o=n("d85b"),r=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[r]===e)}},a55b:function(e,t,n){var i=n("fbcf"),o=n("7f17"),r=n("1810"),s=r("species");e.exports=function(e,t){var n,r=i(e).constructor;return void 0===r||void 0==(n=i(r)[s])?t:o(n)}},a57d:function(e,t,n){"use strict";n("f96e");var i=n("7299"),o=i.domify,r=n("fbdf"),s=r.isAncestor,a=n("4580"),l=a.TOGGLE_MODE_EVENT,c=a.GENERATE_TOKEN_EVENT,h=a.CONSUME_TOKEN_EVENT,u=a.RESET_SIMULATION_EVENT,d=a.TERMINATE_EVENT,p=a.PROCESS_INSTANCE_SHOWN_EVENT,f=10,g=-15,m=500;function b(e,t,n,i,o){var r=this;this._overlays=t,this._elementRegistry=n,this._canvas=i,this._processInstances=o,this.overlayIds={},e.on(l,(function(e){var t=e.simulationModeActive;t||r.removeTokenCounts()})),e.on(u,(function(){r.removeTokenCounts()})),e.on(d,(function(e){var t=e.element,n=t.parent;r.removeTokenCounts(n)})),e.on([c,h],m,(function(e){var t=e.element,n=t.parent;r.removeTokenCounts(n),r.addTokenCounts(n)})),e.on(p,(function(e){var t=e.processInstanceId,n=o.getProcessInstance(t),i=n.parent;r.removeTokenCounts(i),r.addTokenCounts(i)}))}b.prototype.addTokenCounts=function(e){var t=this;e||(e=this._canvas.getRootElement());var n=e.shownProcessInstance;if(!n){var i=this._processInstances.getProcessInstances(e);if(!i.length)return;n=i[0].processInstanceId}this._elementRegistry.forEach((function(i){s(e,i)&&t.addTokenCount(i,n)}))},b.prototype.addTokenCount=function(e,t){var n=e.tokenCount&&e.tokenCount[t];if(n){var i=this.createTokenCount(n),o={bottom:f,left:g},r=this._overlays.add(e,"token-count",{position:o,html:i,show:{minZoom:.5}});this.overlayIds[e.id]=r}},b.prototype.createTokenCount=function(e){return o('<div class="token-count waiting">'+e+"</div>")},b.prototype.removeTokenCounts=function(e){var t=this;e||(e=this._canvas.getRootElement()),this._elementRegistry.forEach((function(n){s(e,n)&&t.removeTokenCount(n)}))},b.prototype.removeTokenCount=function(e){var t=this.overlayIds[e.id];t&&(this._overlays.remove(t),delete this.overlayIds[e.id])},b.$inject=["eventBus","overlays","elementRegistry","canvas","processInstances"],e.exports=b},a780:function(e,t,n){var i=n("6043");e.exports=i("document","documentElement")},a7f7:function(e,t,n){var i=n("fe32"),o=n("c673"),r=n("5350"),s=n("4467"),a=r("IE_PROTO"),l=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=o(e),i(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},a8de:function(e,t,n){"use strict";var i=n("e820"),o=n("fbcf"),r=n("ce47"),s=n("80db"),a=n("0874"),l=n("61c0"),c=n("c243"),h=n("ec23"),u=Math.max,d=Math.min,p=function(e){return void 0===e?e:String(e)};i("replace",2,(function(e,t,n,i){var f=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=i.REPLACE_KEEPS_$0,m=f?"$":"$0";return[function(n,i){var o=a(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,o,i):t.call(String(o),n,i)},function(e,i){if(!f&&g||"string"===typeof i&&-1===i.indexOf(m)){var a=n(t,e,this,i);if(a.done)return a.value}var b=o(e),v=String(this),y="function"===typeof i;y||(i=String(i));var w=b.global;if(w){var _=b.unicode;b.lastIndex=0}var A=[];while(1){var C=h(b,v);if(null===C)break;if(A.push(C),!w)break;var E=String(C[0]);""===E&&(b.lastIndex=l(v,r(b.lastIndex),_))}for(var x="",S=0,D=0;D<A.length;D++){C=A[D];for(var k=String(C[0]),M=u(d(s(C.index),v.length),0),N=[],L=1;L<C.length;L++)N.push(p(C[L]));var B=C.groups;if(y){var I=[k].concat(N,M,v);void 0!==B&&I.push(B);var T=String(i.apply(void 0,I))}else T=c(k,v,M,N,B,i);M>=S&&(x+=v.slice(S,M)+T,S=M+k.length)}return x+v.slice(S)}]}))},a909:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},a940:function(e,t,n){"use strict";n("f96e");var i=n("7299"),o=i.classes,r=n("fbdf"),s=r.is,a=r.supportedElements,l=n("4580"),c=l.TOGGLE_MODE_EVENT,h=l.GENERATE_TOKEN_EVENT,u=["bpmn:Process","bpmn:Collaboration","bpmn:Participant","bpmn:Lane","bpmn:TextAnnotation"];function d(e){return e.labelTarget}function p(e,t,n,i,r){var a=this;this._eventBus=e,this._elementRegistry=t,this._elementNotifications=r,this._notifications=i,this.canvasParent=n.getContainer().parentNode,e.on(h,2e4,(function(e){var t=e.element;if(s(t,"bpmn:StartEvent"))return a.allElementsSupported()?void 0:(a.showWarnings(),o(a.canvasParent).add("warning"),!0)})),e.on(c,(function(e){var t=e.simulationModeActive;t||o(a.canvasParent).remove("warning")}))}p.prototype.allElementsSupported=function(){var e=!0;return this._elementRegistry.forEach((function(t){s(t,u)||s(t,a)||d(t)||(e=!1)})),e},p.prototype.showWarnings=function(e){var t=this,n=[];this._elementRegistry.forEach((function(e){s(e,u)||s(e,a)||d(e)||(t.showWarning(e),n.indexOf(e.type)&&(t._notifications.showNotification(e.type+" not supported","warning"),n.push(e.type)))}))},p.prototype.showWarning=function(e){this._elementNotifications.addElementNotification(e,{type:"warning",icon:"fa-exclamation-triangle",text:"Not supported"})},p.$inject=["eventBus","elementRegistry","canvas","notifications","elementNotifications"],e.exports=p},aa28:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("7299"),o=i.domify,r=i.event,s=n("fbdf").is,a=n("4580"),l=a.GENERATE_TOKEN_EVENT,c=a.UPDATE_ELEMENT_EVENT;function h(e,t,n){this._eventBus=e,this._processInstances=t,this._processInstanceSettings=n}h.prototype.createContextPads=function(e){if(e.attachers.length&&this._processInstances.getProcessInstances(e).length){var t=e.incoming.filter((function(e){return s(e,"bpmn:SequenceFlow")})),n=this,i=[];return e.attachers.forEach((function(a){var h=a.outgoing.filter((function(e){return s(e,"bpmn:SequenceFlow")}));if(t.length&&h.length){var u=o('<div class="context-pad" title="Trigger Event"><i class="fa fa-play"></i></div>');i.push({element:a,html:u}),r.bind(u,"click",(function(){n._processInstances.getProcessInstances(e).forEach((function(t){var i=t.parentProcessInstanceId;a.businessObject.cancelActivity&&(e.children.forEach((function(e){e.tokenCount&&e.tokenCount[t.processInstanceId]&&e.tokenCount[t.processInstanceId]--})),n._processInstances.finish(t.processInstanceId),n._eventBus.fire(c,{element:e})),n._eventBus.fire(l,{element:a,processInstanceId:i})}))}))}})),i}},h.$inject=["eventBus","processInstances","processInstanceSettings"],e.exports=h},ac97:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},aca4:function(e,t,n){var i=n("1810");t.f=i},acd4:function(e,t,n){"use strict";var i=n("7f82"),o=n("b896"),r=n("4d82");e.exports=function(e,t,n){var s=i(t);s in e?o.f(e,s,r(0,n)):e[s]=n}},ad2f:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}",""]),e.exports=t},adae:function(e,t,n){"use strict";var i=n("83ec"),o=n("8aa3").find,r=n("6e10"),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r(s)},adf0:function(e,t,n){var i=n("a52d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("44843bab",i,!0,{sourceMap:!1,shadowMode:!1})},ae9d:function(e,t,n){e.exports=n("cf70")},aff1:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.CONSUME_TOKEN_EVENT,s=o.GENERATE_TOKEN_EVENT;function a(e,t){this._animation=e,this._eventBus=t}a.prototype.consume=function(e){this._eventBus.fire(s,{element:e})},a.prototype.generate=function(e){var t=this,n=e.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")}));n.forEach((function(e){t._animation.createAnimation(e,(function(){t._eventBus.fire(r,{element:e.target})}))}))},a.$inject=["animation","eventBus"],e.exports=a},b012:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@-webkit-keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@-webkit-keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@-webkit-keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{-webkit-animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{-webkit-animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{-webkit-animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}",""]),e.exports=t},b027:function(e,t,n){e.exports=n.p+"fonts/bpmn.08b5f281.eot"},b042:function(e,t,n){var i=n("e4f5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7223b90e",i,!0,{sourceMap:!1,shadowMode:!1})},b105:function(e,t,n){"use strict";var i=n("83ec"),o=n("8aa3").findIndex,r=n("6e10"),s="findIndex",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),r(s)},b288:function(e,t,n){"use strict";n("f96e");var i=n("fbdf"),o=i.getBusinessObject,r=i.is,s=i.isAncestor,a=i.getDescendants,l=i.isTypedEvent,c=n("4580"),h=c.GENERATE_TOKEN_EVENT,u=c.TERMINATE_EVENT,d=c.UPDATE_ELEMENTS_EVENT;function p(e,t,n,i,o,r){this._animation=e,this._eventBus=t,this._log=n,this._simulationState=i,this._elementRegistry=o,this._processInstances=r}p.prototype.consume=function(e){var t=e.element,n=e.processInstanceId,i=l(o(t),"bpmn:TerminateEventDefinition"),c=r(t.parent,"bpmn:SubProcess");i&&(this._eventBus.fire(u,e),this._elementRegistry.forEach((function(e){s(t.parent,e)&&e.tokenCount&&e.tokenCount[n]&&delete e.tokenCount[n]})),this._processInstances.finish(n));var p=this._simulationState.isFinished(t,n);if(p&&this._processInstances.finish(n),(p||i)&&c){var f=this._processInstances.getProcessInstance(n);this._eventBus.fire(h,{element:t.parent,processInstanceId:f.parentProcessInstanceId})}this._eventBus.fire(d,{elements:a(this._elementRegistry.getAll(),t.parent)})},p.prototype.generate=function(e){},p.$inject=["animation","eventBus","log","simulationState","elementRegistry","processInstances"],e.exports=p},b4fd:function(e,t,n){var i=n("ac97"),o=n("c401"),r="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},b612:function(e,t,n){"use strict";n("f96e");var i=n("b288"),o=n("ffe9"),r=n("0317"),s=n("8e6b"),a=n("aff1"),l=n("643b"),c=n("339e"),h=n("2a35"),u=n("3433"),d=n("3990"),p=n("4580"),f=p.GENERATE_TOKEN_EVENT,g=p.CONSUME_TOKEN_EVENT;function m(e,t,n){var p=this;this._injector=n,this.handlers={},this.registerHandler("bpmn:EndEvent",i),this.registerHandler("bpmn:EventBasedGateway",o),this.registerHandler("bpmn:ExclusiveGateway",r),this.registerHandler("bpmn:IntermediateCatchEvent",s),this.registerHandler("bpmn:IntermediateThrowEvent",a),this.registerHandler("bpmn:ParallelGateway",l),this.registerHandler("bpmn:StartEvent",c),this.registerHandler("bpmn:SubProcess",h),this.registerHandler("bpmn:BoundaryEvent",u),this.registerHandler(["bpmn:BusinessRuleTask","bpmn:CallActivity","bpmn:ManualTask","bpmn:ScriptTask","bpmn:ServiceTask","bpmn:Task","bpmn:UserTask"],d),e.on(f,(function(e){var t=e.element;if(!p.handlers[t.type])throw new Error("no handler for type "+t.type);p.handlers[t.type].generate(e)})),e.on(g,(function(e){var t=e.element;if(!p.handlers[t.type])throw new Error("no handler for type "+t.type);p.handlers[t.type].consume(e)}))}m.prototype.registerHandler=function(e,t){var n=this,i=this._injector.instantiate(t);Array.isArray(e)||(e=[e]),e.forEach((function(e){n.handlers[e]=i}))},m.$inject=["eventBus","animation","injector"],e.exports=m},b7dc:function(e,t,n){"use strict";var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=n("4580"),l=a.TOGGLE_MODE_EVENT;function c(e,t,n,i){var o=this;this._eventBus=e,this._canvas=t,this._translate=n,this.simulationModeActive=!1,e.on("import.done",(function(){o.canvasParent=o._canvas.getContainer().parentNode,o._init()}))}c.prototype._init=function(){this.container=o('\n    <div class="toggle-mode">\n      '.concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-off"></i></span>\n    </div>\n  ')),s.bind(this.container,"click",this.toggleMode.bind(this)),this._canvas.getContainer().appendChild(this.container)},c.prototype.toggleMode=function(){this.simulationModeActive?(this.container.innerHTML="".concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-off"></i></span>'),r(this.canvasParent).remove("simulation"),this._eventBus.fire(l,{simulationModeActive:!1})):(this.container.innerHTML="".concat(this._translate("Token Simulation"),' <span class="toggle"><i class="fa fa-toggle-on"></i></span>'),r(this.canvasParent).add("simulation"),this._eventBus.fire(l,{simulationModeActive:!0})),this.simulationModeActive=!this.simulationModeActive},c.$inject=["eventBus","canvas","translate"],e.exports=c},b81c:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=i.PROCESS_INSTANCE_CREATED_EVENT,s=i.PROCESS_INSTANCE_FINISHED_EVENT,a=i.PROCESS_INSTANCE_SHOWN_EVENT,l=i.PROCESS_INSTANCE_HIDDEN_EVENT,c=500;function h(e,t,n,i){var a=this;this._animation=e,this._eventBus=t,this._processInstances=n,this._elementRegistry=i,this._eventBus.on(r,c,(function(e){var t=e.parent,i=e.processInstanceId,o=n.getProcessInstances(t).filter((function(e){return!e.isFinished}));1===o.length?a.showProcessInstance(i,t):o.length>1&&a.hideProcessInstance(i)})),this._eventBus.on(s,c,(function(e){var t=e.parent,o=e.processInstanceId,r=n.getProcessInstances(t).filter((function(e){return o!==e.processInstanceId&&!e.isFinished}));r.length&&o===t.shownProcessInstance?a.showProcessInstance(r[0].processInstanceId,t):delete t.shownProcessInstance,t.parent||i.forEach((function(e){delete e.shownProcessInstance}))})),t.on(o,(function(){i.forEach((function(e){delete e.shownProcessInstance}))}))}h.prototype.showProcessInstance=function(e,t){this._animation.showProcessInstanceAnimations(e),t.shownProcessInstance=e,this._eventBus.fire(a,{processInstanceId:e})},h.prototype.hideProcessInstance=function(e){this._animation.hideProcessInstanceAnimations(e),this._eventBus.fire(l,{processInstanceId:e})},h.prototype.showNext=function(e){for(var t=this,n=this._processInstances.getProcessInstances(e),i=e.shownProcessInstance,o=0,r=0;r<n.length;r++){if(n[r].processInstanceId===i)break;o++}n.forEach((function(e){t.hideProcessInstance(e.processInstanceId)})),o===n.length-1?this.showProcessInstance(n[0].processInstanceId,e):this.showProcessInstance(n[o+1].processInstanceId,e)},h.$inject=["animation","eventBus","processInstances","elementRegistry"],e.exports=h},b856:function(e,t,n){var i=n("b012");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("6a89fb2a",i,!0,{sourceMap:!1,shadowMode:!1})},b896:function(e,t,n){var i=n("55ab"),o=n("bf6f"),r=n("fbcf"),s=n("7f82"),a=Object.defineProperty;t.f=i?a:function(e,t,n){if(r(e),t=s(t,!0),r(n),o)try{return a(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ba1b:function(e,t,n){e.exports=n("7554")},bc19:function(e,t,n){e.exports=n.p+"fonts/fontawesome-webfont.fee66e71.woff"},bd77:function(e,t,n){var i=n("8fed");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},bf1d:function(e,t,n){var i=n("45ad"),o=n("f0f1").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return o(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==r.call(e)?a(e):o(i(e))}},bf6f:function(e,t,n){var i=n("55ab"),o=n("ac97"),r=n("f146");e.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},bfb1:function(e,t,n){"use strict";n("e2da"),n("fa89"),n("95d1"),n("f96e");var i=n("7299"),o=i.domify,r=i.classes,s=n("4580"),a=s.TOGGLE_MODE_EVENT;function l(e,t){var n=this;this._canvas=t,this.entries=[],this._init(),e.on(a,(function(e){var t=e.simulationModeActive;t?r(n.container).remove("hidden"):r(n.container).add("hidden")}))}l.prototype._init=function(){this.container=o('<div class="token-simulation-palette hidden"></div>'),this._canvas.getContainer().appendChild(this.container)},l.prototype.addEntry=function(e,t){var n=0;this.entries.forEach((function(e){t>=e.index&&n++})),this.container.insertBefore(e,this.container.childNodes[n]),this.entries.push({entry:e,index:t})},l.$inject=["eventBus","canvas"],e.exports=l},c09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67.1%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}",""]),e.exports=t},c1ca:function(e,t,n){var i=n("6043"),o=n("f0f1"),r=n("0ef1"),s=n("fbcf");e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=r.f;return n?t.concat(n(e)):t}},c201:function(e,t,n){"use strict";function i(e){return Array.prototype.concat.apply([],e)}n.r(t),n.d(t,"assign",(function(){return z})),n.d(t,"bind",(function(){return j})),n.d(t,"debounce",(function(){return P})),n.d(t,"ensureArray",(function(){return f})),n.d(t,"every",(function(){return A})),n.d(t,"filter",(function(){return v})),n.d(t,"find",(function(){return m})),n.d(t,"findIndex",(function(){return b})),n.d(t,"flatten",(function(){return i})),n.d(t,"forEach",(function(){return y})),n.d(t,"get",(function(){return W})),n.d(t,"groupBy",(function(){return k})),n.d(t,"has",(function(){return g})),n.d(t,"isArray",(function(){return c})),n.d(t,"isDefined",(function(){return a})),n.d(t,"isFunction",(function(){return d})),n.d(t,"isNil",(function(){return l})),n.d(t,"isNumber",(function(){return u})),n.d(t,"isObject",(function(){return h})),n.d(t,"isString",(function(){return p})),n.d(t,"isUndefined",(function(){return s})),n.d(t,"keys",(function(){return x})),n.d(t,"map",(function(){return E})),n.d(t,"matchPattern",(function(){return B})),n.d(t,"merge",(function(){return Y})),n.d(t,"omit",(function(){return U})),n.d(t,"pick",(function(){return H})),n.d(t,"reduce",(function(){return _})),n.d(t,"set",(function(){return V})),n.d(t,"size",(function(){return S})),n.d(t,"some",(function(){return C})),n.d(t,"sortBy",(function(){return L})),n.d(t,"throttle",(function(){return F})),n.d(t,"unionBy",(function(){return N})),n.d(t,"uniqueBy",(function(){return M})),n.d(t,"values",(function(){return D})),n.d(t,"without",(function(){return w}));var o=Object.prototype.toString,r=Object.prototype.hasOwnProperty;function s(e){return void 0===e}function a(e){return void 0!==e}function l(e){return null==e}function c(e){return"[object Array]"===o.call(e)}function h(e){return"[object Object]"===o.call(e)}function u(e){return"[object Number]"===o.call(e)}function d(e){var t=o.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function p(e){return"[object String]"===o.call(e)}function f(e){if(!c(e))throw new Error("must supply array")}function g(e,t){return r.call(e,t)}function m(e,t){var n;return t=T(t),y(e,(function(e,i){if(t(e,i))return n=e,!1})),n}function b(e,t){t=T(t);var n=c(e)?-1:void 0;return y(e,(function(e,i){if(t(e,i))return n=i,!1})),n}function v(e,t){var n=[];return y(e,(function(e,i){t(e,i)&&n.push(e)})),n}function y(e,t){var n,i;if(!s(e)){var o=c(e)?R:O;for(var r in e)if(g(e,r)&&(n=e[r],i=t(n,o(r)),!1===i))return n}}function w(e,t){return s(e)?[]:(f(e),t=T(t),e.filter((function(e,n){return!t(e,n)})))}function _(e,t,n){return y(e,(function(e,i){n=t(n,e,i)})),n}function A(e,t){return!!_(e,(function(e,n,i){return e&&t(n,i)}),!0)}function C(e,t){return!!m(e,t)}function E(e,t){var n=[];return y(e,(function(e,i){n.push(t(e,i))})),n}function x(e){return e&&Object.keys(e)||[]}function S(e){return x(e).length}function D(e){return E(e,(function(e){return e}))}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=I(t),y(e,(function(e){var i=t(e)||"_",o=n[i];o||(o=n[i]=[]),o.push(e)})),n}function M(e){e=I(e);for(var t={},n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];y(i,(function(n){return k(n,e,t)}));var r=E(t,(function(e,t){return e[0]}));return r}var N=M;function L(e,t){t=I(t);var n=[];return y(e,(function(e,i){for(var o=t(e,i),r={d:o,v:e},s=0;s<n.length;s++){var a=n[s].d;if(o<a)return void n.splice(s,0,r)}n.push(r)})),E(n,(function(e){return e.v}))}function B(e){return function(t){return A(e,(function(e,n){return t[n]===e}))}}function I(e){return d(e)?e:function(t){return t[e]}}function T(e){return d(e)?e:function(t){return t===e}}function O(e){return e}function R(e){return Number(e)}function P(e,t){var n,i,o,r;function s(){var s=Date.now(),l=r+t-s;if(l>0)return a(l);e.apply(o,i),n=r=i=o=void 0}function a(e){n=setTimeout(s,e)}return function(){r=Date.now();for(var e=arguments.length,s=new Array(e),l=0;l<e;l++)s[l]=arguments[l];i=s,o=this,n||a(t)}}function F(e,t){var n=!1;return function(){n||(e.apply(void 0,arguments),n=!0,setTimeout((function(){n=!1}),t))}}function j(e,t){return e.bind(t)}function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Q.apply(this,arguments)}function z(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Q.apply(void 0,[e].concat(n))}function V(e,t,n){var i=e;return y(t,(function(e,o){if("__proto__"===e)throw new Error("illegal key: __proto__");var r=t[o+1],c=i[e];a(r)&&l(c)&&(c=i[e]=isNaN(+r)?{}:[]),s(r)?s(n)?delete i[e]:i[e]=n:i=c})),e}function W(e,t,n){var i=e;return y(t,(function(e){if(l(i))return i=void 0,!1;i=i[e]})),s(i)?n:i}function H(e,t){var n={},i=Object(e);return y(t,(function(t){t in i&&(n[t]=e[t])})),n}function U(e,t){var n={},i=Object(e);return y(i,(function(e,i){-1===t.indexOf(i)&&(n[i]=e)})),n}function Y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.length?(y(n,(function(t){t&&h(t)&&y(t,(function(t,n){if("__proto__"!==n){var i=e[n];h(t)?(h(i)||(i={}),e[n]=Y(i,t)):e[n]=t}}))})),e):e}},c223:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"c",(function(){return h})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"g",(function(){return p}));var i=n("3fa4");const o="undefined"!==typeof e,r="undefined"!==typeof TextDecoder;let s;class a{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return o?this.buffer.toString():r?(s||(s=new TextDecoder),s.decode(this.buffer)):i["p"](this.buffer)}}function l(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function c(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function h(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function u(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function d(e,t){return e[t]}function p(e,t,n){e[n]=t}}).call(this,n("f20c").Buffer)},c225:function(e,t,n){"use strict";var i=n("83ec"),o=n("e244"),r=n("6043"),s=n("f0db"),a=n("55ab"),l=n("8fed"),c=n("bd77"),h=n("ac97"),u=n("fe32"),d=n("5a43"),p=n("eee7"),f=n("fbcf"),g=n("c673"),m=n("45ad"),b=n("7f82"),v=n("4d82"),y=n("ca2b"),w=n("3e1a"),_=n("f0f1"),A=n("bf1d"),C=n("0ef1"),E=n("42b1"),x=n("b896"),S=n("11b0"),D=n("69f1"),k=n("7d86"),M=n("986e"),N=n("5350"),L=n("fd3f"),B=n("76b2"),I=n("1810"),T=n("aca4"),O=n("6baf"),R=n("63ef"),P=n("35d6"),F=n("8aa3").forEach,j=N("hidden"),Q="Symbol",z="prototype",V=I("toPrimitive"),W=P.set,H=P.getterFor(Q),U=Object[z],Y=o.Symbol,G=r("JSON","stringify"),K=E.f,q=x.f,J=A.f,X=S.f,$=M("symbols"),Z=M("op-symbols"),ee=M("string-to-symbol-registry"),te=M("symbol-to-string-registry"),ne=M("wks"),ie=o.QObject,oe=!ie||!ie[z]||!ie[z].findChild,re=a&&h((function(){return 7!=y(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=K(U,t);i&&delete U[t],q(e,t,n),i&&e!==U&&q(U,t,i)}:q,se=function(e,t){var n=$[e]=y(Y[z]);return W(n,{type:Q,tag:e,description:t}),a||(n.description=t),n},ae=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},le=function(e,t,n){e===U&&le(Z,t,n),f(e);var i=b(t,!0);return f(n),u($,i)?(n.enumerable?(u(e,j)&&e[j][i]&&(e[j][i]=!1),n=y(n,{enumerable:v(0,!1)})):(u(e,j)||q(e,j,v(1,{})),e[j][i]=!0),re(e,i,n)):q(e,i,n)},ce=function(e,t){f(e);var n=m(t),i=w(n).concat(fe(n));return F(i,(function(t){a&&!ue.call(n,t)||le(e,t,n[t])})),e},he=function(e,t){return void 0===t?y(e):ce(y(e),t)},ue=function(e){var t=b(e,!0),n=X.call(this,t);return!(this===U&&u($,t)&&!u(Z,t))&&(!(n||!u(this,t)||!u($,t)||u(this,j)&&this[j][t])||n)},de=function(e,t){var n=m(e),i=b(t,!0);if(n!==U||!u($,i)||u(Z,i)){var o=K(n,i);return!o||!u($,i)||u(n,j)&&n[j][i]||(o.enumerable=!0),o}},pe=function(e){var t=J(m(e)),n=[];return F(t,(function(e){u($,e)||u(L,e)||n.push(e)})),n},fe=function(e){var t=e===U,n=J(t?Z:m(e)),i=[];return F(n,(function(e){!u($,e)||t&&!u(U,e)||i.push($[e])})),i};if(l||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=B(e),n=function(e){this===U&&n.call(Z,e),u(this,j)&&u(this[j],t)&&(this[j][t]=!1),re(this,t,v(1,e))};return a&&oe&&re(U,t,{configurable:!0,set:n}),se(t,e)},k(Y[z],"toString",(function(){return H(this).tag})),k(Y,"withoutSetter",(function(e){return se(B(e),e)})),S.f=ue,x.f=le,E.f=de,_.f=A.f=pe,C.f=fe,T.f=function(e){return se(I(e),e)},a&&(q(Y[z],"description",{configurable:!0,get:function(){return H(this).description}}),s||k(U,"propertyIsEnumerable",ue,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),F(w(ne),(function(e){O(e)})),i({target:Q,stat:!0,forced:!l},{for:function(e){var t=String(e);if(u(ee,t))return ee[t];var n=Y(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(u(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!a},{create:he,defineProperty:le,defineProperties:ce,getOwnPropertyDescriptor:de}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe,getOwnPropertySymbols:fe}),i({target:"Object",stat:!0,forced:h((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(g(e))}}),G){var ge=!l||h((function(){var e=Y();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}));i({target:"JSON",stat:!0,forced:ge},{stringify:function(e,t,n){var i,o=[e],r=1;while(arguments.length>r)o.push(arguments[r++]);if(i=t,(p(t)||void 0!==e)&&!ae(e))return d(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!ae(t))return t}),o[1]=t,G.apply(null,o)}})}Y[z][V]||D(Y[z],V,Y[z].valueOf),R(Y,Q),L[j]=!0},c243:function(e,t,n){var i=n("c673"),o=Math.floor,r="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,c,h){var u=n+e.length,d=l.length,p=a;return void 0!==c&&(c=i(c),p=s),r.call(h,p,(function(i,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(u);case"<":s=c[r.slice(1,-1)];break;default:var a=+r;if(0===a)return i;if(a>d){var h=o(a/10);return 0===h?i:h<=d?void 0===l[h-1]?r.charAt(1):l[h-1]+r.charAt(1):i}s=l[a-1]}return void 0===s?"":s}))}},c25e:function(e,t,n){e.exports=n("a009")},c3b4:function(e,t,n){var i=n("10b1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("77038fc2",i,!0,{sourceMap:!1,shadowMode:!1})},c401:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c55c:function(e,t,n){var i=n("ac97"),o=n("d554"),r="​…᠎";e.exports=function(e){return i((function(){return!!o[e]()||r[e]()!=r||o[e].name!==e}))}},c61c:function(e,t,n){var i=n("fbcf"),o=n("6023");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return i(t.call(e))}},c673:function(e,t,n){var i=n("0874");e.exports=function(e){return Object(i(e))}},c6b4:function(e,t,n){var i=n("6aad");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("1a9cb28d",i,!0,{sourceMap:!1,shadowMode:!1})},c732:function(e,t,n){var i=n("55ab"),o=n("b896"),r=n("fbcf"),s=n("3e1a");e.exports=i?Object.defineProperties:function(e,t){r(e);var n,i=s(t),a=i.length,l=0;while(a>l)o.f(e,n=i[l++],t[n]);return e}},c807:function(e,t,n){e.exports=n.p+"img/bpmn.1381b44e.svg"},c87e:function(e,t,n){var i;
/*! Hammer.JS - v2.0.7 - 2016-04-22
 * http://hammerjs.github.io/
 *
 * Copyright (c) 2016 Jorik Tangelder;
 * Licensed under the MIT license */(function(o,r,s,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],h=r.createElement("div"),u="function",d=Math.round,p=Math.abs,f=Date.now;function g(e,t,n){return setTimeout(A(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(b(e,n[t],n),!0)}function b(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a){i=0;while(i<e.length)t.call(n,e[i],i,e),i++}else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function v(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,n),e.apply(this,arguments)}}l="function"!==typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])}return t}:Object.assign;var y=v((function(e,t,n){var i=Object.keys(t),o=0;while(o<i.length)(!n||n&&e[i[o]]===a)&&(e[i[o]]=t[i[o]]),o++;return e}),"extend","Use `assign`."),w=v((function(e,t){return y(e,t,!0)}),"merge","Use `assign`.");function _(e,t,n){var i,o=t.prototype;i=e.prototype=Object.create(o),i.constructor=e,i._super=o,n&&l(i,n)}function A(e,t){return function(){return e.apply(t,arguments)}}function C(e,t){return typeof e==u?e.apply(t&&t[0]||a,t):e}function E(e,t){return e===a?t:e}function x(e,t,n){b(M(t),(function(t){e.addEventListener(t,n,!1)}))}function S(e,t,n){b(M(t),(function(t){e.removeEventListener(t,n,!1)}))}function D(e,t){while(e){if(e==t)return!0;e=e.parentNode}return!1}function k(e,t){return e.indexOf(t)>-1}function M(e){return e.trim().split(/\s+/g)}function N(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);var i=0;while(i<e.length){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function L(e){return Array.prototype.slice.call(e,0)}function B(e,t,n){var i=[],o=[],r=0;while(r<e.length){var s=t?e[r][t]:e[r];N(o,s)<0&&i.push(e[r]),o[r]=s,r++}return n&&(i=t?i.sort((function(e,n){return e[t]>n[t]})):i.sort()),i}function I(e,t){var n,i,o=t[0].toUpperCase()+t.slice(1),r=0;while(r<c.length){if(n=c[r],i=n?n+o:t,i in e)return i;r++}return a}var T=1;function O(){return T++}function R(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var P=/mobile|tablet|ip(ad|hone|od)|android/i,F="ontouchstart"in o,j=I(o,"PointerEvent")!==a,Q=F&&P.test(navigator.userAgent),z="touch",V="pen",W="mouse",H="kinect",U=25,Y=1,G=2,K=4,q=8,J=1,X=2,$=4,Z=8,ee=16,te=X|$,ne=Z|ee,ie=te|ne,oe=["x","y"],re=["clientX","clientY"];function se(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){C(e.options.enable,[e])&&n.handler(t)},this.init()}function ae(e){var t,n=e.options.inputClass;return t=n||(j?ke:Q?Re:F?Qe:Ce),new t(e,le)}function le(e,t,n){var i=n.pointers.length,o=n.changedPointers.length,r=t&Y&&i-o===0,s=t&(K|q)&&i-o===0;n.isFirst=!!r,n.isFinal=!!s,r&&(e.session={}),n.eventType=t,ce(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function ce(e,t){var n=e.session,i=t.pointers,o=i.length;n.firstInput||(n.firstInput=de(t)),o>1&&!n.firstMultiple?n.firstMultiple=de(t):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,a=s?s.center:r.center,l=t.center=pe(i);t.timeStamp=f(),t.deltaTime=t.timeStamp-r.timeStamp,t.angle=be(a,l),t.distance=me(a,l),he(n,t),t.offsetDirection=ge(t.deltaX,t.deltaY);var c=fe(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,t.scale=s?ye(s.pointers,i):1,t.rotation=s?ve(s.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,ue(n,t);var h=e.element;D(t.srcEvent.target,h)&&(h=t.srcEvent.target),t.target=h}function he(e,t){var n=t.center,i=e.offsetDelta||{},o=e.prevDelta||{},r=e.prevInput||{};t.eventType!==Y&&r.eventType!==K||(o=e.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-i.x),t.deltaY=o.y+(n.y-i.y)}function ue(e,t){var n,i,o,r,s=e.lastInterval||t,l=t.timeStamp-s.timeStamp;if(t.eventType!=q&&(l>U||s.velocity===a)){var c=t.deltaX-s.deltaX,h=t.deltaY-s.deltaY,u=fe(l,c,h);i=u.x,o=u.y,n=p(u.x)>p(u.y)?u.x:u.y,r=ge(c,h),e.lastInterval=t}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;t.velocity=n,t.velocityX=i,t.velocityY=o,t.direction=r}function de(e){var t=[],n=0;while(n<e.pointers.length)t[n]={clientX:d(e.pointers[n].clientX),clientY:d(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:pe(t),deltaX:e.deltaX,deltaY:e.deltaY}}function pe(e){var t=e.length;if(1===t)return{x:d(e[0].clientX),y:d(e[0].clientY)};var n=0,i=0,o=0;while(o<t)n+=e[o].clientX,i+=e[o].clientY,o++;return{x:d(n/t),y:d(i/t)}}function fe(e,t,n){return{x:t/e||0,y:n/e||0}}function ge(e,t){return e===t?J:p(e)>=p(t)?e<0?X:$:t<0?Z:ee}function me(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(i*i+o*o)}function be(e,t,n){n||(n=oe);var i=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,i)/Math.PI}function ve(e,t){return be(t[1],t[0],re)+be(e[1],e[0],re)}function ye(e,t){return me(t[0],t[1],re)/me(e[0],e[1],re)}se.prototype={handler:function(){},init:function(){this.evEl&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(R(this.element),this.evWin,this.domHandler)}};var we={mousedown:Y,mousemove:G,mouseup:K},_e="mousedown",Ae="mousemove mouseup";function Ce(){this.evEl=_e,this.evWin=Ae,this.pressed=!1,se.apply(this,arguments)}_(Ce,se,{handler:function(e){var t=we[e.type];t&Y&&0===e.button&&(this.pressed=!0),t&G&&1!==e.which&&(t=K),this.pressed&&(t&K&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:W,srcEvent:e}))}});var Ee={pointerdown:Y,pointermove:G,pointerup:K,pointercancel:q,pointerout:q},xe={2:z,3:V,4:W,5:H},Se="pointerdown",De="pointermove pointerup pointercancel";function ke(){this.evEl=Se,this.evWin=De,se.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(Se="MSPointerDown",De="MSPointerMove MSPointerUp MSPointerCancel"),_(ke,se,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),o=Ee[i],r=xe[e.pointerType]||e.pointerType,s=r==z,a=N(t,e.pointerId,"pointerId");o&Y&&(0===e.button||s)?a<0&&(t.push(e),a=t.length-1):o&(K|q)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:r,srcEvent:e}),n&&t.splice(a,1))}});var Me={touchstart:Y,touchmove:G,touchend:K,touchcancel:q},Ne="touchstart",Le="touchstart touchmove touchend touchcancel";function Be(){this.evTarget=Ne,this.evWin=Le,this.started=!1,se.apply(this,arguments)}function Ie(e,t){var n=L(e.touches),i=L(e.changedTouches);return t&(K|q)&&(n=B(n.concat(i),"identifier",!0)),[n,i]}_(Be,se,{handler:function(e){var t=Me[e.type];if(t===Y&&(this.started=!0),this.started){var n=Ie.call(this,e,t);t&(K|q)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:e})}}});var Te={touchstart:Y,touchmove:G,touchend:K,touchcancel:q},Oe="touchstart touchmove touchend touchcancel";function Re(){this.evTarget=Oe,this.targetIds={},se.apply(this,arguments)}function Pe(e,t){var n=L(e.touches),i=this.targetIds;if(t&(Y|G)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=L(e.changedTouches),a=[],l=this.target;if(r=n.filter((function(e){return D(e.target,l)})),t===Y){o=0;while(o<r.length)i[r[o].identifier]=!0,o++}o=0;while(o<s.length)i[s[o].identifier]&&a.push(s[o]),t&(K|q)&&delete i[s[o].identifier],o++;return a.length?[B(r.concat(a),"identifier",!0),a]:void 0}_(Re,se,{handler:function(e){var t=Te[e.type],n=Pe.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:z,srcEvent:e})}});var Fe=2500,je=25;function Qe(){se.apply(this,arguments);var e=A(this.handler,this);this.touch=new Re(this.manager,e),this.mouse=new Ce(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ze(e,t){e&Y?(this.primaryTouch=t.changedPointers[0].identifier,Ve.call(this,t)):e&(K|q)&&Ve.call(this,t)}function Ve(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches,o=function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)};setTimeout(o,Fe)}}function We(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],r=Math.abs(t-o.x),s=Math.abs(n-o.y);if(r<=je&&s<=je)return!0}return!1}_(Qe,se,{handler:function(e,t,n){var i=n.pointerType==z,o=n.pointerType==W;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)ze.call(this,t,n);else if(o&&We.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var He=I(h.style,"touchAction"),Ue=He!==a,Ye="compute",Ge="auto",Ke="manipulation",qe="none",Je="pan-x",Xe="pan-y",$e=tt();function Ze(e,t){this.manager=e,this.set(t)}function et(e){if(k(e,qe))return qe;var t=k(e,Je),n=k(e,Xe);return t&&n?qe:t||n?t?Je:Xe:k(e,Ke)?Ke:Ge}function tt(){if(!Ue)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}Ze.prototype={set:function(e){e==Ye&&(e=this.compute()),Ue&&this.manager.element.style&&$e[e]&&(this.manager.element.style[He]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return b(this.manager.recognizers,(function(t){C(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),et(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var i=this.actions,o=k(i,qe)&&!$e[qe],r=k(i,Xe)&&!$e[Xe],s=k(i,Je)&&!$e[Je];if(o){var a=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;if(a&&l&&c)return}if(!s||!r)return o||r&&n&te||s&&n&ne?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var nt=1,it=2,ot=4,rt=8,st=rt,at=16,lt=32;function ct(e){this.options=l({},this.defaults,e||{}),this.id=O(),this.manager=null,this.options.enable=E(this.options.enable,!0),this.state=nt,this.simultaneous={},this.requireFail=[]}function ht(e){return e&at?"cancel":e&rt?"end":e&ot?"move":e&it?"start":""}function ut(e){return e==ee?"down":e==Z?"up":e==X?"left":e==$?"right":""}function dt(e,t){var n=t.manager;return n?n.get(e):e}function pt(){ct.apply(this,arguments)}function ft(){pt.apply(this,arguments),this.pX=null,this.pY=null}function gt(){pt.apply(this,arguments)}function mt(){ct.apply(this,arguments),this._timer=null,this._input=null}function bt(){pt.apply(this,arguments)}function vt(){pt.apply(this,arguments)}function yt(){ct.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function wt(e,t){return t=t||{},t.recognizers=E(t.recognizers,wt.defaults.preset),new Ct(e,t)}ct.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return e=dt(e,this),t[e.id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=dt(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return e=dt(e,this),-1===N(t,e)&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=dt(e,this);var t=N(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<rt&&i(t.options.event+ht(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=rt&&i(t.options.event+ht(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=lt},canEmit:function(){var e=0;while(e<this.requireFail.length){if(!(this.requireFail[e].state&(lt|nt)))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!C(this.options.enable,[this,t]))return this.reset(),void(this.state=lt);this.state&(st|at|lt)&&(this.state=nt),this.state=this.process(t),this.state&(it|ot|rt|at)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},_(pt,ct,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=t&(it|ot),o=this.attrTest(e);return i&&(n&q||!o)?t|at:i||o?n&K?t|rt:t&it?t|ot:it:lt}}),_(ft,pt,{defaults:{event:"pan",threshold:10,pointers:1,direction:ie},getTouchAction:function(){var e=this.options.direction,t=[];return e&te&&t.push(Xe),e&ne&&t.push(Je),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,o=e.direction,r=e.deltaX,s=e.deltaY;return o&t.direction||(t.direction&te?(o=0===r?J:r<0?X:$,n=r!=this.pX,i=Math.abs(e.deltaX)):(o=0===s?J:s<0?Z:ee,n=s!=this.pY,i=Math.abs(e.deltaY))),e.direction=o,n&&i>t.threshold&&o&t.direction},attrTest:function(e){return pt.prototype.attrTest.call(this,e)&&(this.state&it||!(this.state&it)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ut(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),_(gt,pt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&it)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),_(mt,ct,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ge]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(K|q)&&!o)this.reset();else if(e.eventType&Y)this.reset(),this._timer=g((function(){this.state=st,this.tryEmit()}),t.time,this);else if(e.eventType&K)return st;return lt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===st&&(e&&e.eventType&K?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),_(bt,pt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[qe]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&it)}}),_(vt,pt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:te|ne,pointers:1},getTouchAction:function(){return ft.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(te|ne)?t=e.overallVelocity:n&te?t=e.overallVelocityX:n&ne&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&e.eventType&K},emit:function(e){var t=ut(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),_(yt,ct,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ke]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),e.eventType&Y&&0===this.count)return this.failTimeout();if(i&&o&&n){if(e.eventType!=K)return this.failTimeout();var r=!this.pTime||e.timeStamp-this.pTime<t.interval,s=!this.pCenter||me(this.pCenter,e.center)<t.posThreshold;this.pTime=e.timeStamp,this.pCenter=e.center,s&&r?this.count+=1:this.count=1,this._input=e;var a=this.count%t.taps;if(0===a)return this.hasRequireFailures()?(this._timer=g((function(){this.state=st,this.tryEmit()}),t.interval,this),it):st}return lt},failTimeout:function(){return this._timer=g((function(){this.state=lt}),this.options.interval,this),lt},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==st&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),wt.VERSION="2.0.7",wt.defaults={domEvents:!1,touchAction:Ye,enable:!0,inputTarget:null,inputClass:null,preset:[[bt,{enable:!1}],[gt,{enable:!1},["rotate"]],[vt,{direction:te}],[ft,{direction:te},["swipe"]],[yt],[yt,{event:"doubletap",taps:2},["tap"]],[mt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var _t=1,At=2;function Ct(e,t){this.options=l({},wt.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=ae(this),this.touchAction=new Ze(this,this.options.touchAction),Et(this,!0),b(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Et(e,t){var n,i=e.element;i.style&&(b(e.options.cssProps,(function(o,r){n=I(i.style,r),t?(e.oldCssProps[n]=i.style[n],i.style[n]=o):i.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}function xt(e,t){var n=r.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}Ct.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?At:_t},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var i=this.recognizers,o=t.curRecognizer;(!o||o&&o.state&st)&&(o=t.curRecognizer=null);var r=0;while(r<i.length)n=i[r],t.stopped===At||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&n.state&(it|ot|rt)&&(o=t.curRecognizer=n),r++}},get:function(e){if(e instanceof ct)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e),e){var t=this.recognizers,n=N(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==a&&t!==a){var n=this.handlers;return b(M(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==a){var n=this.handlers;return b(M(e),(function(e){t?n[e]&&n[e].splice(N(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&xt(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};var i=0;while(i<n.length)n[i](t),i++}},destroy:function(){this.element&&Et(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(wt,{INPUT_START:Y,INPUT_MOVE:G,INPUT_END:K,INPUT_CANCEL:q,STATE_POSSIBLE:nt,STATE_BEGAN:it,STATE_CHANGED:ot,STATE_ENDED:rt,STATE_RECOGNIZED:st,STATE_CANCELLED:at,STATE_FAILED:lt,DIRECTION_NONE:J,DIRECTION_LEFT:X,DIRECTION_RIGHT:$,DIRECTION_UP:Z,DIRECTION_DOWN:ee,DIRECTION_HORIZONTAL:te,DIRECTION_VERTICAL:ne,DIRECTION_ALL:ie,Manager:Ct,Input:se,TouchAction:Ze,TouchInput:Re,MouseInput:Ce,PointerEventInput:ke,TouchMouseInput:Qe,SingleTouchInput:Be,Recognizer:ct,AttrRecognizer:pt,Tap:yt,Pan:ft,Swipe:vt,Pinch:gt,Rotate:bt,Press:mt,on:x,off:S,each:b,merge:w,extend:y,assign:l,inherit:_,bindFn:A,prefixed:I});var St="undefined"!==typeof o?o:"undefined"!==typeof self?self:{};St.Hammer=wt,i=function(){return wt}.call(t,n,t,e),i===a||(e.exports=i)})(window,document)},c8ed:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},c901:function(e,t,n){var i=n("f39a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("635cd606",i,!0,{sourceMap:!1,shadowMode:!1})},c91b:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;outline-offset:2px!important;justify-content:center;align-items:center}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled{opacity:.4;cursor:default}.monaco-button>.codicon{margin:0 .2em;color:inherit!important}",""]),e.exports=t},ca23:function(e,t,n){var i=n("eee7"),o=n("13a8");e.exports=function(e,t,n){var r,s;return o&&"function"==typeof(r=t.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&o(e,s),e}},ca2b:function(e,t,n){var i,o=n("fbcf"),r=n("c732"),s=n("e629"),a=n("fd3f"),l=n("a780"),c=n("f146"),h=n("5350"),u=">",d="<",p="prototype",f="script",g=h("IE_PROTO"),m=function(){},b=function(e){return d+f+u+e+d+"/"+f+u},v=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=c("iframe"),n="java"+f+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(b("document.F=Object")),e.close(),e.F},w=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=i?v(i):y();var e=s.length;while(e--)delete w[p][s[e]];return w()};a[g]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=o(e),n=new m,m[p]=null,n[g]=e):n=w(),void 0===t?n:r(n,t)}},caac:function(e,t,n){e.exports=n.p+"img/fontawesome-webfont.912ec66d.svg"},cb29:function(e,t,n){"use strict";var i=n("c673"),o=n("3352"),r=n("ce47");e.exports=function(e){var t=i(this),n=r(t.length),s=arguments.length,a=o(s>1?arguments[1]:void 0,n),l=s>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);while(c>a)t[a++]=e;return t}},cbc4:function(e,t){e.exports="object"==typeof window},cc1a:function(e,t,n){var i=n("11e2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("52b97b55",i,!0,{sourceMap:!1,shadowMode:!1})},ccd9:function(e,t,n){e.exports=n("b612")},ce47:function(e,t,n){var i=n("80db"),o=Math.min;e.exports=function(e){return e>0?o(i(e),9007199254740991):0}},ce75:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("9812"),s=n("59f5"),a=n("5db6"),l=n("9545"),c=n("497f");t=i(!1);var h=o(r),u=o(r,{hash:"#iefix"}),d=o(s),p=o(a),f=o(l),g=o(c,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+h+");src:url("+u+') format("embedded-opentype"),url('+d+') format("woff2"),url('+p+') format("woff"),url('+f+') format("truetype"),url('+g+') format("svg");font-weight:400;font-style:normal}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bpmn-icon-screw-wrench:before{content:"\\e800"}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-conditional-flow:before{content:"\\e802"}.bpmn-icon-default-flow:before{content:"\\e803"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-connection:before{content:"\\e810"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-text-annotation:before{content:"\\e830"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-transaction:before{content:"\\e8c4"}',""]),e.exports=t},cf70:function(e,t,n){"use strict";n("f96e");var i=n("7299"),o=i.domify,r=i.classes,s=i.event,a=n("fbdf").is,l=n("4580"),c=l.TOGGLE_MODE_EVENT,h=l.GENERATE_TOKEN_EVENT,u=l.RESET_SIMULATION_EVENT;function d(e,t,n,i,o){var s=this;this._eventBus=e,this._tokenSimulationPalette=t,this._notifications=n,this._elementRegistry=i,this._translate=o,this._init(),e.on(h,(function(e){a(e.element,"bpmn:StartEvent")&&r(s.paletteEntry).remove("disabled")})),e.on(c,(function(e){var t=e.simulationModeActive;t||s.resetSimulation()}))}d.prototype._init=function(){var e=this;this.paletteEntry=o('<div class="entry disabled" title="'.concat(this._translate("Reset Simulation"),'"><i class="fa fa-refresh"></i></div')),s.bind(this.paletteEntry,"click",(function(){e.resetSimulation(),e._notifications.showNotification("Reset Simulation","info")})),this._tokenSimulationPalette.addEntry(this.paletteEntry,2)},d.prototype.resetSimulation=function(){r(this.paletteEntry).add("disabled"),this._elementRegistry.forEach((function(e){void 0!==e.tokenCount&&delete e.tokenCount})),this._eventBus.fire(u)},d.$inject=["eventBus","tokenSimulationPalette","notifications","elementRegistry","translate"],e.exports=d},cfa0:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("b027"),s=n("c807");t=i(!1);var a=o(r),l=o(r,{hash:"#iefix"}),c=o(s,{hash:"#bpmn"});t.push([e.i,"@font-face{font-family:bpmn;src:url("+a+");src:url("+l+') format("embedded-opentype"),url('+c+') format("svg");font-weight:400;font-style:normal}@font-face{font-family:bpmn;src:url("data:application/octet-stream;base64,d09GRgABAAAAAD4sAAsAAAAAudgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFY+IEq7Y21hcAAAAYgAAAI5AAAHRN+uG6xnbHlmAAADxAAANBYAAKG8CQmG52hlYWQAADfcAAAAMAAAADYY7KABaGhlYQAAOAwAAAAbAAAAJAc8A79obXR4AAA4KAAAABEAAAGwpeAAAGxvY2EAADg8AAAA2gAAANpyjUcSbWF4cAAAORgAAAAfAAAAIAGWBHduYW1lAAA5OAAAAVIAAAI9ejh1lXBvc3QAADqMAAADnwAACihWzTZJeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGR+wTiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgOvGB4cYQ56H8WQxRzEMM0oDAjSA4AJHkNWQB4nO3VBXLVBxhF8ZMQAsXdXUuwIMXdXYoUb3HJNrsIlnBXAZx/cpdBZn55yWMek0zudx4wG5ilfRqD0UlG/IqRCZ8dmX5+FvOmnx/jh9+P+zjCaL7m/58/Icw8Di/x375PP476mjH/53HmMJc/fP18FrCQRSxmCUtZxnJWsJJVrGYNa1nHejawkU1sZgtb2cZ2drCTXezmT/YwwV5/jv0c4CCTHOIwRzjKXxzjOCc4ySlOc4aznOM8F7jIJS5zhatc4zo3uMktbnOHu9zjPg94yN884jFPeMo/POM5L3jJK17zhn/5j7e84z0f+MgnPvOFr3xjyl9rnN8fC4ZPs1f0u6nh7z9j2ErKvz+pYVupYV+pYXcpd0LKxZByO6RcEalhjymXRWr46VKujZS7I+UCSblFUq6SlPsk5VJJuVlSrpeUOyblokm5bVKunJR7J+XySXkDpLwGUt4FKS+ElLdCyqsh5f2Q8pJIeVOkvC5S3hkpL46Ut0fKKyTlPZLyMkkNDUl5raS8W1JeMClvmZRXTcr7JuWlk/LmSXn9pOwAKYtAyjaQshKk7AUpy0HKhpCyJqTsCikLQ8rWkLI6pOwPKUtEyiaRsk6k7BQpi0XKdpGyYqTsGSnLRsrGkbJ2pOweKQtIyhaSsoqk7CMpS0nKZpKynqTsKCmLSsq2krKypOwtKctLygaTssak7DIpC03KVpOy2qTsNylLTsqmk7LupOw8KYtPyvaT8l2AlO8HvuvNYOoXV5IpPQAAAHic7X0JnCRFlXdG5H1UZl2ZWVXdXdVV2V1VfdZd1cdMd8/d0zM9933BHAww4CC3HIOsAsoheIEuDAyHoKzgqrCuCyyysOuyLup6rLrKt7K66uK1qOO338c3XX4vIqv6mp5hpmGGn/6msvKOjOPFixf/9+JlJIMZ5g9H2Kfwc4yfaWAYlNBxMIoL+XJFTA2ibiQjIYpsOMCH20b7mpv7RtsW7g/eednAvU2rqv9eLYhmh41eaGjBz8GtNRBi9bz06LXtzU7159W/D5ZTCJXtAYZheEjnObYf/wxS6WRyzBAzCqkJCVFHTQg2ViGeLyczqFRMppJOIuXwCcEORBG5XAmUk06cb0NsPJBwdESuD6AU241aE4LIQgZpEPS42ioo4mOKKCr4nbIoyp/iZcH0a0uqP1IMlEceBf2T4sFDSFerP6qOIRax/dVdyxDWDNyJ/ZYHth6kK14Ee9sHZwb+GcKsGZZ7sOHxGLiiRIIsRi8Z6ti/yh5Nwe2qN1cV0WeRX6s+pwLtVDSokDiqf6cGsa6iIc3PEBp/j70D/4oJM02k1KIgWjGyM/AgLlfKFTgrV5CBKuwdq1Y/sdVqjyxtae77Rtv/sLGeuDMaTEezW6rphvsj+Fdt6S0dwY7ISDLRn/iftPF8r9M6GmiLnv149dL7Gx5gEKT1Q5pWw+SUHLMgWnalUHLqqY2ntPWLj1x7nWod/Msb11xYoSmNJ7L9qY7r1OC9HWv3V2gSUI8sxH83+0U2wXiZIDOPcIyIhKCNrHwFlYsplBRl3JowWNOBNcYWyDrIlsiaYR1Y0WFDre5UFHRIjZENnKgGuql6dfVqdA3GHIue52CDWI57nmws7qhLbILEEJsSzQCN4KafjAcy+eNExQhQjjvZZ9kWoFOOWcqczVzF3AKlSYqEZoJlW3YUVQZwpZzqRqlkykmKZZtctQTg1mSqG+5UBpBdC+/egisYwnYjN6xo0XvA0KkkqeUynNkCqQe7XIGLcCmZEgwEbE+uibaYEsQUvYV+d+E5O+fNV7XKnLlrV/71hk03rBSEaOOVK1dtZE3v7u2b++ZI8tyBoUeeHF21p9m0e3sePGvr+tX5EuJaWuYtXDN63+C8RVy0eU722vmrRpZ0dCI0PDC0bMlthXLQDKZSc0camvre2VNu79x/cV80mQ+35kLtneFsazif7O3ZX7zo4tLFLSPFkVa4xSZwubRl+4XbvrB0JJ1WG5uu/MTmrWvX3pRu43GOzWXXbti96bGhBf3ejs47nli/ef7CFR1sNrNyzda1q1aUe7ze1mz+tgeXLs93ZLO4s33xyKplt3ZmRDlXKC2a/8H+uYmOi6J9F5d7Otv3v7OviWQlG+5sD+UgK2xP70XF/ZCVVshKC9xiGB/U20OU/1ioQ5VZwTzCHEGD6KPoN3gOvg4/z/LsNvZR9vfcINSmL+7jC2LFjJdsX84RYTFhNUQzxhUq44s9vgzypQzvpJwSrCnbMfhYeJAjfJsqweJkEPxhnyrVjuCYnJJjuOIG4R0Dm5AIMskeFgPVTugBOXavYTPGFwbDpQwXzzluc+Gm5Scm0CxhJyOTHJGcQcyYxkHiguhpqSBC1jFpKnCZRNsEDS7D8lACi0QLpYBMS2TDObUCkDJBxseLhKGgkHnedGi2ydY2C7CSJSaTOCBManypjC8ZjifZF236IC2zRNu9ADcHRdgUaLiUmwJbixNiJUnEsCskIHp1PHIaJU9iMoBMg7g0iEpAm9IgLgwqpQrchqJhEgkhEy7EUC2n5AiukXgRRE1iJyRshOgkRxxfDI5Qv84BgyrZIJpIiWSERE8CQBw0AYgKoiWUHK8UK+4YcAVOJJJ3GlGJxkGLwqEUurv6d/95ycHqiwdVQeU1nheSgiJxGCQSFjiZ6+BlHn4KH4WVHHAhGYQWxyEEWzHJCzw8KBzmOR4uYixhTZREuAULiBIDy5j1wYksg0jjoKPC7upHMieAvIP+TSIbWCQOYuUkxCljv+E5iYcTjtNglVhE4+NkZJDHWR5D4iw5kjiZF3neK2ABG5CeG06EqEQIiVkSnd+j8KIAJ5LEQSJJiA8iFWEXYSVRZKE8NG+QYcSSYw7KneTIZd7zOCcJcBmyYEIuWMAaGpJllhYDUkdQZHrAczIEgp4B1xaWrvQnsA6mxIFSoRt4KC9EJLDjQUULQURwBXoWyAgvu/mBmBFdYI+QBCvcR1isk1BgIR8sN/YCRAuRkaD0h5FEjlhSSoiLJVHx7PhNknEZ/xoeEtxrUGc0ZotUqQZPCFDBCpbcpEUaBvIjHfkkDxQkzwCxITnIMVYgclaoZxkjfz3HIo0bMsvj14A45CZcgzPCAxo8hl0O4mSJF1moVoEnJRTqz8tu7Y0B/YGmQDpBE4D0UMOkFqDWYCVcA7cpj3AkB8AXwDOsyXKKGIYi1OgPlKKEltBByAkSlUZV9HMqsADhAs5LU0CU9BrvgdzyEp+kEVKOpNwJXAhXMCU7x1cXQigBu8wIQTwy8iCOJ4ekrYSBNkEBWouqyHyN74ErAzwJAv/WKORa1lgP9pN2g4KEDFYnvQlrAydwtJpIsVhoYHBVCCLaAgmjcHyjh2zZOou/Xn0R9eS2DDz11AH0W0J3kWAUShQeyi7X655H47zKsrRi15KaF2VZQfKk1iMGOQ/HNROmotwtQyuflLJEW6aEXMK4rRMJ8Bxcdpu0NrlFk9VjuxHIUAaNq9GEF7UooWpwksSAlaeVSRsAT9iRrfMpMBBmsUt1iZclIgfq7EKCpGr8ZRDCyJqMCPMTdmFVANpyXWppLCeMt0480Qw51iJllYEM/ZT6Hl6dCKU4rMiKnK7CjjQ3aGCYk4AlaozCu9RArJfKNBYpqJY4oY2MSByPUiYjdQ9V4OEaeI9Myoq4BMeTW/UKhduT+DMKKz3k3FbWhUgUHFeTyDKfAp6RFS4PdJUIVwrSZBYU6jLaEoBkLOeF+5Is+OAqSPw4rLwCAI9DYV5BnFAvmITaXG6V+US9D7B5EKu4l9JfhAxFWFWlVRY0gJ0k0nBcnoGmaQLVkeittU4qUnkQfZD/+4nwhg5Bpg1aE3hSbsIcIB+pqOOoIKjJKmAHKt+ghgXWywrj1SW4dSOOQDhW0KAhUhlH43YlImUauS5GUU2QkthBwJHMgsCGHpAIMNoHgJSEihLkuoBlJ8Sg29lArRHZzdXYDnmh32F5mVVI1AYcClqwdgtEpCBztGdh62mDYAbem9wD0u7GldE1/fMu9m9Zh7EA7/cxA8xCgvZ1FnA+BiBP4DlF+hMwny6ppLsAsg9ATdoAJMVU0Ey1wgow/fCmR/5sIRqa2//AZ1evuynVBspo9IoVOy7YsGZVX79t2x2dCxdv2bRh04IFqSTLOtFLPjpYvjDzja98JXQH2ty+IMEm0OLrHnjikYHBpXK06erVazdtXL/2fclMDiVbFyxct/KTwyOZotewrN7yqpUbt6xY+s6BPzDJ0fhH77gDpe84e885e84555xo1mZkKN+DgIubARPbzBrmabQQPYD+C+fxfVBOAHMFswAoDPAjHMApQNxSIdCBauiRgp1BdgogBsRDlDauhoYNwYwpAH4Ioop5KMYhwDEjOBREqhQdi44LMXkCcDkT/nVwSqCqe14Dw5gAQYIaTUMxCSIfpDB1MEl0RMjQBJiculD0Pgi5RS5io7irjjAnL6kajKvBQhfM0cWFhxwpgqeONyFN280DO6EalNwVQCeozpQYFBeyBA0SMmB64ILDQg2JEvBZiIkkDSC17YLBGnrPKA4cg4qBPnPgwG0HDly+48AB+BdEj+DxiCmP7iIKaJEc6ZRtkCzwayMbgY9BF0pEgMAqoCcKHvFVIutZwv4EgRFkISEdEIdABDVtCSyBk6wCHZXsyn0MwLCGowCbIJ5cga6ASH/k4gKRreFIACD82O94EeEJKU4CYNLtkERps8PkedLsSe9B2yoRNrWug8hdnYAMcnsCc9FYatAIwmAKdkixQAIRQcMJEo8/D1K/1jlRcQV3eNLABSIuBBfzUnlKyIURj6BfHA9OuiPpyCMUN9MwVAoqbtFpXkjH7BIEroicC44ISkIguvDnaPeucAbIeIOABBDlAGV42vV7ZEEI8sgviDxyl0akwg7+KpH1VOSSDIz9OxFRtCY4T13usSqIKhCodVKQCiQLdMWsh23CrIdjPTKgJDcSggGC2AdA2odBmkNXgQGo85je9RFYFieMdNsBGxjpuu3oIyAdESkU7elqUJdzCcNDZwkRQfk40gWsnMCxpPSAvbCkQ+8quPVMMQPpj/2KRCoZZLQCuFCT3D6Hgx6IJaoBVAvhGZDshIuwK5BB3msUv7s8QquZRup2RnUeI6KcoD4WE7hBsQWp3Tq4R9B3SHQPGYXSU5BVUwHgCRZrdXRBqAfsAxwoYCL3oQPkUPXLkCTNbgGyJ+BavAIF6VBSBCCEFxSRUsCFY3AXWhriRSMJ8UHBWK72F1md7QRgRPgl4GK9BkEMiJ6AAK035qnzAlkILqPRybIE0QlelUACgc/AMTRrkahM1c8TJZAjeiB0c6QMGqIklwmSIFwj1LA1awgU63CiRiAgwbMUthMswdF+EABRrT0COuWJfjLeLyO3/mVECc9Bj0+LgAAOEkqQI0xQrAsTPAhDX4kYYugbwjcxBWoRRsQelkyJlk0MVmI3IpYv0m+KOk4liX04XykXiK2MdKDYN3D5Br9ppzu3aA+uajZa7MaEHU4kzr0o0zVoaeqiXUWPH5m65NOEuRcskuT48uICfGNpx5x5t1Ukf3+zcf8qkftQ+sIL0u1dbIO97txcYV0WoWAD5A7LwxcM9F9+dmOLa4tkGPxrfAscidDvMQFfYXx5fQ/54VvGPoU31VcI7vaTz7BxeEZiEoAFljDbmIuZG5iPUHtpHABBvBwQHGo6tS2CC2wCCcoEBYhJu2bqs60ywQU8MeIiagCsUBPfIBCn7F4wXUviACoNIIAWvHuRPlsqkthK3Qi5MCNB7tHnSTgaP0EjTjKD0OGzz0bXP7enUP1m4Tytsc0fVaSg1uiTdDlcaNItVWkMmdLPm1UhqvPtiaDJ6X2Lxn7T1OBt0D0qYKImj+VVDK8nzEv4z4NEcgB6bMbeUMAOCNhz5BM2BwJQlTyBhFcC1vbgzwRaokbE9rWynF0pFTtF7Bn7t9aIz1m50ObYVt+qHgHnH3scJZ/csgX9K8heyQ5iBNKQ9ESgzOsa0bFWKqYnovGZAU8grZ7VoWhNvmTAE4oYAcHb0uixDM3SgtVv8EG1ySt55HlzfDoX0PPvKIuynw/rCVvuCiUjfNhoDYqDcyW1+oRs+2WPYHoMVYmEkmJAR3rU9HfKqqGZoRw7yTZoMM1Mnrmc+WfUhi5Dfw34cRs+hP+HHWXvYL/NNXP7CPYDmtegH6nZMrAxte12Y2rYhWrVgcmh+voB3hDG70AnbKQzuBM20Tkna6OjEOTkTXQ8f1xzmnOS9rQmfgZzWumY5jSHdaHmyZhfZ2N9xfxJG18ddKKmS6ARd0KmSyfg0uM41kObP67x0EGHhy6yw6EN1/XNXY24hb0d+eRwQTa6cvFVy3oishVatVsONgGGkYi2u3mzP6kPcvqbscZ9DvDWW2mN49ENVEN7C81x8tg/nrw5jsMfmL2NjB/7jIvh3hojmY4efgMjme+EbGTcJwFIvAmT8n+/lRZlaezwW2ZR5vBfnrTtlAOgz83CeMp99C2xM3pw5C2wM3K4iJb1916/OWqa7xgauDhiplBibmtlf5MpRnpGV8dbO/N+p4wMH2lQ4cRC6Vcnb8ODlvIWGfHm0Eb3lhvx8KffEiseuvJNmtEeIKLurTOjsaNvzo6Gv/b2GZ5BpXpLLc/Vf3iTJlYg/JuzsYLm9eatkq7d5c3bJY/2Q3gHc/Wp9kOwg5MNgvlJFsFT73cQOnTo6kOHdra2HDq09P77T7lvwfYVK649ePDag6F7R+69d4QBPXE6vc8Hil96yik+g+34lJN60TRT8ykm9UMz2aWn+gvNn9lfqJIwuBg0phg3iGN4kMvgQZzhDAxo+jjeQodByhnEu+fmm8nWgFbF3XwzaX8zXD2Oy9Djb/TsxFVqHpnkY+Wb8LFiRAsKNcWzqvqDu1QLPT3Vp6r63Y+pQfTcZH+qu9gvAX0aQGNdRukzmQ/LVEF1OXHq2AThtjK9fyy3ohT6xYW7zx4cUtTeuQPrVjy5duPQglWS2NRw1eq1mz3GymHCNOxQ75zhxR+s9Oa9yfSQs2bJsfyC2ESlvHX7Bdv+eslIKgns09/7wKata9ff2tbOodtxW3rRkpVLb+7OaXpbNve+jw3Mc0xr/7EcexhGgXJ/mP071mEamQqzmtnHXASt8ErmGubdzHsJFZyZ6FAjQ74wiRA6qo3Q0FY55TnLpY/bMPOF/CTqdROTjEs9k3oJ+ZwACERx0op+h/DuHVuH5ltmtDszPPz5zduWjZxnWg07hpdu6Onn+W0b1vX2Gd72Ymlk+ZNr1/fPbWqUle7SF/fz/LqVy/JFWS339C0fvnfR4q5sNGiWC7evZNllixZ0dApSpdSzaOEdVzQncCzel969B3VXf16tRr7i/thEd9eKVTs3PDG6olBq141s94c2bHz8nnIlqOdQV8fy0a1rPrVwcapdaY4PDW5ct3nryMbzOzrah5euW3lv/5yGBk9rcnDooZVr+vsWZFPJoXnLltyaL/qDDesHhu6av6gjlrhKq34QXRuqPolS4fBIKLQ+FBoNhYAfveM2FDKOtIX5PGhjy9D9aAwP41vw11gfex77V9DnLzvOqNIZT6sznlan1dNqymBa5oyz1RlnqzPOVn+MzlbTxjLvPONudcbd6oy71R+juxUjjet9QaaN6Qbdpky9rubXNZwggeJ5ohsXXUxPzoPkToKcF+n7EseE5oev3rd3zsDAnL37DtcPrt6/Y2upUilt3fFy/aBtOqqe8gA9yE15gB7867GwsTLuY+WOL76D+Q46Cz0DJBjFfzOLEUX2jPvV2+V+dfKja/1nfLTO+GjN1kfrZMd20PAZN64zblxv0o3L9Y9im/Gmcf8oM17ia+uLE25ReNOePS/Sv+sn/S322/hVJsKsYy5j3s8cJD22IPYi0mNTdyd4GrrocqkXFYktjnTcMdKxFXL5QWSZpBMn10w4JF1eIplByVKxUiTeUaluBIf5SqEsZnMCte3lqYU8lc1ZNjEg1dZyIKEj0xekrwAPoJKv2I0cPp6Pkos6cuKJbnJxAKHh1jxSBDlhRw2ElqPIMju3lJiGQQQADBIUTQGmE/xYUAgl5WhLVCb0VABgKzqgWywnCPdqyfakRvg4788GD5qZgF7aXII/7ittKRa3lMa+jPtaB1paBlrHvkz3eHfO8Vu6qhnBRnzjjTgXsdudXMbVbqmqqhmWx1D9ICyBP6AuFfgRHzZyjoKslNB9XsS+RxNAW4MfDwdW84XL4XdhAi0rbi5V95c2F2GPPgz7OS1zW6v7W+e2wB59GPaM69cOdXwH/kitjg0mQPzgCGwynUrcjIu1/Wa2fORXhw49j7vHvvl8bY8/MvYxfP43Hn/8cefhhx+u8csa/AzDAX4LEn4hEcV98cmmvrvwM2PvxHvGDiL+nnu23HMPfiY8th0/0wkXXifnW+4h0XA1f/sEYzMFZtC1bB/tbe/Yk42yU9ztbfEY9kX02saH3z2T0720ftWK3j5rJq/7lYsnm4jYxOIDMzndp5LzF66Z5HNfWl3zuUf/MlkxnVw+932C/pN/m4DAwRQLAW2WhKiIKXEWbxMc8SUK119mDzs33SzqCxLRpmvzs3il4FvOovMfqf5FdGv33aAz+Ne3L7jsQ6MzjU3uYc4/9SNlNR/MUz8+tn7Cs/KUD47trvlLMjOO+e5jLj/VdOWP5jdBPPU0RvgoDtXD6ikn9xUzcLTVEpg+3tY/q/G28cHc2Yyvhd1B2VmMpj04Pr5akz+vsZ/GL4G8TzEdTA9I65k7TAuuCR3kVXgnkYSr5QAI9EoTmhCu32tf0g5/3Nu+pK1tSfvYP+LezoGBzsuqn7m0a+7cL6Fg9ZeXjo52j47il+B2dZMbDH0K9tmBzuqmzgFUrL400Ik+1TlQ/fPqL39ll7tJeGaGfGZOMp+Qxe+66eG+WvagH65l77LOWvZa//nEsvaLT2YgA3hSnpzj5wdgBs3LMfIw9mXIwTGTdpOdznNzZs1zbvOdDdN9Z7wRzoLvLp9oSzPJrguYq059n4BFcmCTmTJiKEVvkxunoY8Ijdp2eyp4IJzLaxaoZmG/oCA1aJ36WTHmV383z852mO9bcd/qlqX7R8SmoKgK8QXLSbsSjxo/v4b5AHPotI6c24kpBi/AclMtXjF0lMnrdI6pZwYvnGrj4VoX56cYeTor0608p3zgfefIVEOAM6dlsh0A5aYaAqbhzDnMyMnjzGO1nZNHmyuP3RhOGnO+dGz2nlrmEtN38mWuY8hZlHEyKDzpUj1Xh3niuB7t9nsFaKX9oAcdq7c5Sq21qeoFqrZD1SCqw7Fw+t030EoRer3agL5efdTatWvXu9DG6qNXoK/iV99QmRyu3oCufe95555r7t27F6248ELaT0LndQB0yxHmCdpr9SJhfBWaUNAmSrtVsCq9oMWXiqkCMejnyinodaGKOhC1EZAXmXj3zSj6IlQG5cRs3szbvciiUREhYQbtHJEe/ciqFPLuUEAHMuPk0MyRjtg9hvCESiYNY/aiIEgbR0j1IjJqUErORXTgAPIA/0KxgF7y+Od+MROQMJK8Xel5L/8g0sR7I7pHELSGBl0K6aZgwLb6Ai9wekAwOI/gV3iEiBFPlJo0S8GYF1msLbvrYkHiJJEzfosG4EhUjOrzyBBlMj6jqtXffJUXWEHAgvCDH/RG4x4RYcHX8kJO5BD+iJK+vnkw1Bxo8eQS86IRhJxGw6eroajNxvuDikf3NQVUDUFCuikGuv2KhpGDJDEiK02a6YGIeYHaTHktJgsOxyv+gOYIgsfUZIflJJ9Bxn9Q0CqiaKfS4m8yC+H3NXOobgO6Be+rzZfk2gbifCvf6oufxXaMpfEN1Wert6NL0KVjDXjf2KvYdr79lcOHq70UJ9V5+ARx0s96d/bCH0fc/dhPcaSjr69j7Kewxa/2nNVbvaX3rB7Yoytgv7+3rXpLW29vG7qirde1PU2MGfUxy5kdJzNaNJvu6MTGkfbNqic5ocGmvz3J/mDqPAZlZohZfLLSUQyawAL5gnsnWQmS6bFmISmvI/MbXXKJ0RzymN6hH1dfPDgLgfl/Dh5EPTm50ZINXOS3b3/qgKszEIzpAMYsgOzZeYL4soYZx9EJuWDW4UwdYVLOEYPTECZ67cI9OwePApKXr1i5gW3gd2/d1NMnSPOG5q9b/bnlK7KFZsvq6/skgIFVuTxePn/RmuX3DAwt5GLNc/LXl1YvXdLWzi6dOzRSx5HpuaNAGgIXL5gKF9cAXBRwDhXy6zbu3vTpoXkNjYH2ziVLntiwef7iFd357Kq1W9feU6roRiqbo3CxM5Pr6hgeWT3yvs6ucbQ4EO+a2a5wHnPxafIlr6QAXIinx4X8fT/60cM3g0az94c/POUo/LJ8/tk9L1wdTM+9qnzjUf66c2epy9Uh2aw8dNsmUNhsfHIn4a7avCiPsV9gGxiJ0aiPdoh4dvoAd/gKJSTaFQNNrPhh5Hvllep9y+Ys+xas31xO1+VsQ/jI53Isn69eN2fZnM45y/o7+5fTPW3L+/CD7BqgXJCJglxnWqErR75CvgydNSAFsk06InToACigzxeJtuEe4gern0Dbqp/47PoNq53mZHpdb28s0pzI8qVWr7+xaUHbl9j/GiuvW9N3TcK/uNK4Kt2+pyWdbHP2+4PZgWS8bn+Y8D8nXsYzz1iZM1gzg4kbem3eStcbvTZ7peuUXhjExEPU9U2HIzHbi7LHm87yAMdhtJuM9XiIA8ju2+hwKGa523aTvYcMPe5GmOP8RwckzhnTgt16HCf2L59gtNPT53ZBwMjRqWePol2EiR2DdsAZ8UrKFp3jeeujm8R/WYOUNd99evinw8cpyCv8x8bGrnvfyy+7dpq7a+9zk1GNKQknRJntn5ISie+j6CaSHHrXtMjV6hI3G0fzRJzpPtYspjoCtANYp0j6jSgCfA7onAw5Ha+YvTt7enZeQja9hQ35/Ia9ZHOcAn+zFho2di00bJijZM3I7GRNUiTzN9QfGFfqZyV4yvnMfFn16+nW80s9nd2RMGdZndFls5BCq3EkvLnYUyimW1sFsbkpn7koW2wORaaVuTxL+SrGZ1U+ovrNojC7Hnuc8qprj4lA3zuea0CgR2U6P7nPHYcr6LU9O7bOm28Gm89euuQvN21ZOnK+ZeueXSPLNxdTIwvndUB3ny0Ub/rgnIFEUgSk0b6XTWS6Vq3eteGJe/KFtG5kuj60ftOGLfeVe/zq7a0tAMIW31oodRD4MXT3ouHO5vgUnoowGab3uPSdhg7QxJtMcdDmkhMknjOwbuVUEjfWKdzXfzshsJFKDw1vaFlyIYgAu8O7hE30lLfsADTkUrmxv2+cyh+oEzmTjRAa3zU4z+nYECmuGFv4/lxxYuytziOVWfbCdDoTnmDhWdnxr9uwvueS6o3o7n+aBcfcvWhR97bm225D/oeOaud9s+P5GgybTVG2Ap6aRSEupdCImemdunOgnz3lI1oz6zGnHH2+awa15xSD0HuOVpL4Gd5jPF3vMJ62NxdP4yuLM43pz5/NmL4rG1MWgUOzsj9OCMkPXjsIWGlwFlr1k3VxObKl6+WXu1zdEATNInwnk2ZWMGuYDcwWal2hkxeJxLySo4Ui/j3xSoGiBOK3kyKeO1AiPk6V6UnhYIkTktTDEf8ee7qf7rUcXteWxA3edIvXZrHVMDyCvsKj0UU8ZxuOJ+ENNrWMLq0uRJGUmUK1YAiAaHhR9Scxr8NzIaNFSxgmaowrL//kJwf+17M/wXdilM92d6fTobZWM2pGGp2ODrZrY1c8EWzRE3Y03BRv7+7obopMhPFouhFvs63OzkQi2Ko5FgmUSpjmpZZ1Gd3W6n/CZnsB8+WTsNYmXEPmuGk0R2yj8Ngk02i5kqWm0Uq5mJwwjXagOigTs7nJNlEBKB0jERB9KCgKTiJlWqAlmTli8+xAxARKraHkMJd3jaFQJznCjb0oWcrRiiP/whsZjf9Ckezzw00eYvhUi2033+zzsYrXx7GipHNSIKDzCueVviwHeRmLCvH8ZjGHzTDoEyLGuT0LZczzrLS3sOBGkbycwL/4aVElb7Z8+j0CcVCr/joRsEReUK15wwbxfH1je3RaMIZ9ZsoIarbYGOpox9jyKrLPALLLgtbaqGl+VRDloKA1qTqyeN4QWDMsiPRdEJ63eQFZyKOqEstaXl0ULVETiV+qN9BsRvJms7czryBUs3HfhM+GI+jHAnwrTwyku9GH0IeO/JBNVPfjs3/843XVIfTcKxP+Vp34SiYJ7egm5g7m49CKgqYgpshLuNAHW3ZJLBWor1vFJrtSwSyQOoEWMR6qAvLBhg20kTKESpXJpxmSqUpKhI1YEIlHHfkiAOEA0yDsYBOHDQOZTom0NxGCkt2UhOyEELTyZeKUZwWFRLJYRvdaVnokrQk9PVIwl2MFn5QIJ7RIs96yQ7B8utDgS4+kVKG3V1TTy9oC4fPDgbaRNhpeTS1LWRZa0oKMaKOaCMclv8C6cbREHK0hpjtGrEFtibSQG/k8ueGEHS2U0P3NmcxQJtMcCIdbIxF8ZWOjoKVG0oHQvnB0K2rRYxHNCSckr8Rms6IscZVzKhKknw7a+5Bp0wz39gkaXLGs88P+1EhKEypOtp79hqjuIBqJm3YB0vZLLWGaKYg+2qgl3OhXZeZ1d8/LOJFWkpNa/U0Zl+kmc9ydaCsXqe1cTNkVX/wNx2GwXk2jB7/x2mu/qcZOgN/XVh9GW+2b33vffdV/G/fd9OF7mWZmEx1hJ59KMY/ywqz7Ydb1CuqIaefoaIvrihnDlimM+2GmioNsknZjpSKEEbNmrffPu/PXpUo1L8y464WJXutoSaS8qrc/XYpgPB+Hi+m+dCrRcp7MR7yazEmC4g3rIA0UWYtyjcTNHHkrfRUvHa9oIK6wXsFjCFqRxVi1Es3DzQlLxSy3oXmtU33NWduMD5qBhclEa8QXjDg57mc/47JOJNg2klwYMNeSF1yoezJCEsYoGElZDf5mOSgZHIe9fr8Xc5whBeUEh3nbE4vEwpj/D6T5g6qlqapmKabHh5K9T98Av6d7XZvChF/iSfskzsr38ETdDce7b8TMgO8uOH1eFqdhbor1k42Yp9GT4lj+d6feTn4UNjz1NJ4BSp5iUm+cDjzJfAL3s09De1OYEPSZJWYJyLPzmSvpjJsPMJ9hnmG+xrzM/DeZSeMYngoBQnYLSEjn3LST7pAOHUtOJflaK4V6y7sTaBYSIpGVRHGGJ4opWk0U57omsGKSr0WRp+iVhwBQ4WXiCENuEXBL6p9O2pkUamklK+RMrMcCJ4na0BKtY55Y2UR3gJFyR3La/Xo2yX3XIQcdPpY7hTaS0VBA27FX03kt9xXNYNXlXWLY4EJLu7mx36uKoEr8vDjnC4ltqwXk+QOn+EWPLAflFUsAFs3/uUeXvcrcMO8LC22rJB29W9OxUgyLYS8XWciNvRDm1QYh5McRL9Lxq4aHRVnOGxKbGjisH/mEobM4B8nxGYw8+JcR7MkLRliaqyHP2KdUDUuD6zQfUldWBHRI61ADYSPq03hD27lKQp7qXNXDKpvPJ1nfs1LAIVnmFV0qblaxz1M+p03EHpw8pu8Hugx7hbCPC1soEOa0tSgQ4nu2KkCM/KZmrCCRVyVuYBUUcvsQmQAUc6ZPYoUYByWNpbDEa2I2qwWQOtQtBox+5LeF0jo1oG2fxz6KOzaMqqxPW7VO0btQRD9nh+ZHSvmqAUnxwukFWxQc0LbuldQe3Da4QAuy6sqtsn6/zxKWNrH+kBCdL4yyJitS8BsKIpwVTSMVsPjhAAqGOHM+yyKelVXWsYSwn1VzDuSwjjmmj8udplG50zMYd5pG4QgtPePvYHKTRqzWMs+gRehB9Cou4EPu+NWM742eeePybXvjcvvUd3F3nnmd8szrlLN9nbJxxje0cdeZlybPvDT5Jl+aJGMx32Qd/HPotTU6v1vCgc4kFTQLpE8BXOrgS77zXbzjJ18cO4KuMtsHDuCfH/kvvOvm7dvHjuBnNbNjXn3+gwk7wwrmEuYK5mrmOuY9J2FTFB0dTbfMTra4upZZkQyAmMG66k8ss870UNPtsm9kvHg3AMJOQ7JNGajiCbS2AVm7vUEWe6SgFJA0ry/T9n/vs1Rbly0cpIH01H0BMYCxLplCQFa9Qe6a669ffO2+60/A9rENN5Yzlidkqj7NMCwzjButcMgfUE0pqPk83oDZFIr49EjYsjw2hksQKmB7FTsSgDBiwEPC2EFNG9K0efQ/zZbbfpz3To628tgVYgMU34hI/OuvVz3o8P87gQKe9YEPFKuvIvu2mv1wGD9aG9PfRWf7TLi6g49WYDO1xPiKrtWhNlwsjPs6ptzBrzyt7jzhAHPSTfP415unX0eHD+zIxoj3Q0tzZiOSNmaaHRGJiVh2x4FrNndEfILgC3due21bZ5gcRjo2fwEaZENxx+s7ig0iF6zdC3LHuUqirV1eX11PLuNHg6rXF+GqrZGgTw4GZV+gAf2ARRGfVw06wFCyosi6HAjABo48cvAC4CwtGNR0rk1V3Duqkj3+xd9NXKTffTjE/i3gRlcPLQLttwAOv5q5fTaaZ02jc0dPhNrbEkS1RERhFGZUIFPjn3uoxUq/9kC1RKibQr5cb7HHVgy9qzIq8ms7d3t0Qev4B83g1Pk9csgj9Kzlxl5TVEFVM20g0MJhrrWLszjJgx8H7Y4NhTkjLMYiIvneA6h3fIZok11EvfsMdBeKRypv0CDi/evptx6IBrfgbMEvGR6fvrMfsIdwPJ3tEmyAwkNUIlCD1JVEZ8vsVXhTvaCfVZHEqWr3MkM1fIaxMMP7eCmgV19EDUZ+Txdoakr5wIAo+1HEOG8b0fO2nks+9QA9sqxwLTYoqWx4mGh6fpvvjWA+HEKhHJkbaUY7zjmn3ko22W3glCtXayY5GZzqMeYpLgmT7DYiYzBNTCczwKwECu9nrmFuYT7OPMw8wfwD8y3mp4TeKdGOlyvQbBwQThb7p2muwf+85IPfpeY0LZT96fDgtdde+6dtpkEPFs87OLbw/emRD7/ctWUL2vanZpqZ4HHyLSCLaWUqzDCzmTmXuYx5L/Mh5j7mMeZZ5iXmh1O+DPQnydyTvzK050+brSc+XfTdPzWGntHWeDpmbKg5BJ76EY0PLhl3IDzVIxnnFesOh8o4duQYnQkyCSbLLGY2MHtAp7uFjv4f7Yf2NiHH1FHOadzbBhnR60e5raHX3iaoWPum3VocIN7eAZdvrfpS+2xbxZw83ts9TvK7Ig1OV6IrmQw1eJv7400t8ZAZ89hqY6SlI9mRdhrzcX9TeY7ZEDYavBIaGUgVG4KiEDJMvaFo+hS5IZTwR5seriS6gl5JDAe6Y3qoQQyGWuzuRp2Z9q7oKHM58zjzBeZLJ2EpmOZ/4hzlfwKtfbL7SWG6+wmEEmvuJ2SunUnuJxXTEY/lfuK8gfvJG2nQSz16uDsksU4Lq8dimFV507Akw5Tsfi4icroeyoQltqWFFyOZiGbM9xjhTETiEg4rhTIhxd9pyUBQ02vyKoejUcxqvO21JG9QtuSAT7K8tqDwGGLmFd7yWqIvIKvBpqa2piZT83ptr/cEVPe8z89J4UzIr8z3WL2W7PdDghav8igW5VTsDCXI7bBHn29okDuRb2llyQXdg+YjxR/qDgl8wowhjhZOhLwhG3ItQn4gV7i5GXLNWSTXAblWHIvXWJxvSkej6SaLZNP2TnkXM3XinPFGNXACBKj7ouzAK0HyJUETIGhIdz0HLZsnEqrkCipfMZkQ+TlEeonudy6SqTL63zJQn19822IPMFBJsXX83o8rlo4DIan6S4T9qZ/gzn3XXINX0FlRMzsyiiN+XRCC6qEte8gOPagZ0lNNFzeq+sa76W/p6tVM7VuOrlx2dZQOZh6zmjmLuZi58SS0klMqkI9WGt719snjaXh+y9sli4/GKHtOx6xSp2lCqdMxlRRDZmerfadh8jjoVuYJJKPl6AFUxUvxrfjrrJ89n/0Ch7nlxxsVPfPBhjMfbDitH2yYNhh8zplPNpz5ZMOZTzb8UX6y4Rhj8Zkz32448+2GM99u+KP8doOr7/0Nvn183mgyHE4mZgTwmGFvyY3tum3HDnz72B344uzYL7A59gumGfDor9nH8NcBj8qMDlpqiIkzXUwZdLIVzHpmC+hlZPbY/cylzLuYA8z7mduZjzEPMI8wn2Y+y/wV8xTzJebvmX9ivgY4NV8oOfbMm7JdSXageEK0y8RgXi4leTIeR754x5NP4Fn0E3i8Tib+sfKFfKUI181CspLiSQwnspkUjWXX4iWf9UuRU5IQ6BzHyWHJEYuluC+QL/jilSB5Bw6Un9wuWHfW9vSYE0PQGMzg2K88mszqAnWJ2uX38IqPD4bGCqEAr3pFr64o+DcqrWrF4xeVIw+JOSR0syWI48gLsGHnHveon5cF1ScZvNc68iXBl1Y5/LIPdDm2wY6OZRvCPI8DXlHfPTl7oVB2B+zPgbVU/Uzsllvo/Jr35sZ/CGcxmyXN3+TEubIXuhPR9rCGRaSJX/T6NyBFBeUSRSNSqClgGnfmSrnbc2VYS7k7YN1sQUNV2XADy3saww3+wDyN18KyGEi1+0V/UBY02WybSC+XeOzT1UdRT/UXn7RDGYZw5B++Bvz5W9AkZcbD+BiTCTMxxqnPMGoTkxeZ3HSmFbatsMbJnnj2wNqd8+Z25na5a9aTO3J5jm3LHbkCWP3Id/Kb05OykktvvmUb/G7FxthvsuiJ6qj73uBB9gW2mbYXHXLDIF+BLki0yRSrrYDWiTfu/uQLyeqqT3xi+3a8dseOh9jmI9eyN5C1+h8PPXTR+fsvRPsueoiOa9/HfpSNwtFE+RjE2wiWVt5OTZuWhf1ode9QNRJGPx1AbPWcj905GB782EB44D6yT4aTbPQdZ1X/JomGt/HveGVTR2t7pj3ZUepo7chGyFtRuNbe99L809ZOpmGFln7kYbYd7x17DXurTW5Zic3lk+znIW+ubKjTvpXM7IKAvnyNzjatAb620rm86ZFD7pRQ5tzqA99/4AfvuSY9duBcdDidvvLQ2H2HrnxlDRv9/vf/97nwi6Yvv/e873//0Ojos5elD6J705dfnk6/cd0HanU841rLQ5zsazLtuHWPf7u5LTvp17b5Zlr5hCLZ6ih6AjRv5g+vQ36eBy4IMY0gB1uYNNPJZJki08PMYYbGZ1F3p/EzKecRC23JmSmT/AzXahWhwe/Id3zwm7+rnuWxdeOH+PnvVb34xc7Hcl/IPfoobCZ+P5s4rM8dWs+zazdw880EwojO9+5QZ7dj5HA8NyQv8yclX32yegOkX30lW/0xappEtbrNp+5Xp0IbsZimcd8617XOdlLupMRkKhlCoMl+dgcO/Hjfvg9ctW3bvn01d7unqLfdn10YWrRq2w0bNmyYn6btcHIa5tEpuF7xR8c8LdLtEKf7rth32EvwfzMXMf/pfgUBFlB4kxmUq78VRqzqNSNUrDafqkjf4J0YXogRvz33Tdzxl8wEd4S2VCyVqd3KjdvAmdqcIGJBzOfIJIdRFCM+SYPYNUz2o7zr6CeaMTe6StnuRWSmu/GhZQPFk6nxZQC7eahMvMeGKmU3a+QNY8gVJOrOQfJbPQRymSWf2EYg1FXVF7CbwgA4ea/GSx7B45VTLVbA9jbxOKy3dNmNvSkvj5aD0qMFG9SQ4hUVgQv59EbFbwgy8caVBDNsiR6SOVlgeVEkfQXBQYDq4DJBgfEIcQsVAeQRX1tEdBvUrPi9ku5RNFkCaCt4pGAgFAawXf2hHu+LhbodLQAhfZYRSzQ22U0ery54DADUiCeTIqqaZChBX3NN5RQBT/5a14LxxsH0Ao/N2s1G2BuWVRWp0YBj5ZKBhrytGVJCB5ilN0RDzb7W7sb4pn5T1DzdlR1LGvsbu2KdEcMmUz36HCXkXeZrLdsJn2qosq/ByrVkCs3zo45X01GcE7TeJeGenk50p5ML2jKoB/BYY3godb9oZtr9UY8CqpEccEJJq1CYs99OtfqLm1ubuluNkC5pXsR7onZzg1EezFttXf6IARqnAOSI+tORbIeQ72+PLm4M68L4d7Z+wL4Dv0LbcTv90tZywFq76/watIiJj1S6TV4x5glKKRP2KRRLxVQ3BnZ1EME9ZA3WhsNIiEK5Uko4ApmfBu5Y9D3zfMEihlngWhoe4Y4RlWjleajocvP3RvYgJZO5tb8xxsGVlt6YHJDHnszn8bP5/Nj8LifY4I2HNU4FRIq9sUpDLIXgHsotWuIE2+bOLScgpupd3d34h70dfluv6Iuzq9KJLpxD+VyOa4oOfbyhZ2lrc28L1Gt1SW5Z7tupJT4F133gQSVhxVJ842anBx7hW3ub9SZT/WpuYh7yx/BX6fhJhVlyMu/2C3DFglBlOE8eNeflN9sWptML2/Ci9KI0/MeexotixRj8x56OlWKx0pxkpZLEarJcTo79HquhRCI09vtwIoFfgqeqK9yn0OchlgSEr66gD8XQ52GTKyer7yEPouuSZXiu+h7yNLoulIAi/X8HUxgaAAB4nGNgZGBgAOKdog0R8fw2Xxm4mV8ARRhufVpngKD/ZzG/YA4CcjkYmECiAFedDEV4nGNgZGBgDvqfBSRfMDCASUYGVJADAF1gBAMAeJxjfsHAwDyKhwwGABFkYyUAAAAAAAAAADQAsgDoARgBfAJYB3QH5AsKC14LeAxmEcASeBMwE5oTwBQ8FQgaLBqWHe4eCB7gHwYfLB+cIA4guiF4IdwiMCJ6IrIjGCPcJNAlSiWsJg4m8CcOJ0Yn2ChKKOYpmCoAKjAqcCsOK04reivOLEgspCz4LVotwi4iLtwvhi/0MIYxgDGYMngyzDN4M8w0ejUwNrI3WDqIOqw7bDu4PHQ9Xj4MP35A6EGSQnRCwkPURBJEXkU6RdxLCkskTFpMokzKTQJNGE1YTaBN+k40TmZOjk/gUHRQ3gAAeJxjYGRgYMhhyWZQYAABJiDmAkIGhv9gPgMAIWkCEgB4nF2PvU7DMBSFT9q0QCsxgEBi84AQAin9YUD0AZrOrdQ9P07aKrGjxK3Up2HkCRgZeQokFl6Ek9R0IJbj7373XEcBcIFvODg8V9wHduCyOnALJ7ix3KYXll2uW8sd9HFvuUv/ZLmHRzxb7uMSIW9w3DNWD9hadnCKV8stnOPNcpv+3bJL/rDcwTU+LXfpvyz3sMSP5T7unJcoyLcqDsRClrt1JCvh5+EsLHI1l+k2C8oa672UZbXWSoy8YV36UskyMDIW4V5Uu3RsTCKSUudiqpWRWaZFUeqNjIy3MqaYDAaJ9V6kc0QIkPPnFGKSwAISJXZYsyNR0fjsh5hxFySFOX3KiYz58mj/zmUzX3FesxIYwcPw2PXZVU0igOEZMxFiz3fFb6YY0xokrBNmNGcEps1NdTrj0jRF09vQRPQeVs1UgQkGXMm/vMcUb/oFZv1ifgAAeJyVVvd72zYQ1Us9akmOZMlxkrbOsOOkTcvszrRNR7r33gMizxJiCGABUHL++4IEJVKRqM/hD/qIm+/eHY6qnar5p15b/AicwjNYwSrWsI5nsYE6GmhiE6fRQhtb6KCLbZzBDs7iHM7jOTyPF7CLC7iIS7iMPezjCg5wFdfwIl7CdbyMVxDgBm7iFm7jDu7iHl7Fa3gdb+BNvIX7eBvv4F08wHt4Hx/gQzzER/gYn+BTfIbP8QW+xFf4Gt/gW3yH7/EDfsRP+Bm/4Ff8ht/xB/7EX/gb/+BfMPQQIgLhEH0MwPEIRxAY1pom1DQOxppkOFi1mplBO1Qy4pYryURwKNS4GdEhS4TNDu0+szRmj4OYaSYEiYtcWtJDirhTBDQiaYOQ2XDgfmVI4nalXioZZEqdxJbLfjAkY1ifzhnLtJ2YqmFM0rAUz42yYs57AigYOqw8FtQQSsXBkOkj0p1Cy3PR/tJohvdd/TdPDt7yIenrlfZz6A6qeSuV3JjQfax03TVGUpiK2ySjqU/K8t6SaHk375+8ljmwZ2ZbkkfcW8pgRsi2of8Sp+asxPxGYkgHlpmjzV5iuHRtD3QiqGOSXhBrFaYCb7pbTjEHa6usdZmVrp5G39ALlfrMfafEa6kL2w7YBFeohGCxoahbEtJxzGRE0UpaVKsIkgXdr85pQiayDNW4Mhp3ZgqdenXKYl9gZ4bRjOS1IZMJE+uaQuIj2nTeImBujkbcPp6hMMvVLUvyK3l2ATzXcNqthC24PNouETHF3LJ0bAMmpbLZeb0XD93kqNZk0lPiBR13JucsQI85xpsTUZq6Pjko3S3ypGi4dJrSDfHEnC4EqXunOE6nqSTyZZd80nouVVab2y+603ag1fiJaSoTnCdfc4uYx7bhe5X1bcW49Ovuqox4SM28e16TXqD2E7ePFs2Zz16wf7m6hBzIvZOviSLsojnwqVPeri7dE9N10oiYZYHqPXI7ruHpyKrdSHnI3uqZhbFK07WlMQtki3rmkeU9u/MU36ecolsnd/Gzt4j1HEQe8srScnKomywKBirMV2MznwzPUfqTTUG3PGq56cHy6DmGRbvTo/RV3D152UVP3c62PORuPdrz+XWcX5tbgklyEVxFNuiR+5tRNzFLS1NKtIvPnoe6klrXBTNGZQYz3qynRuQlkVtwEaUlELVmJGPlJ4nLOLH52CXWvW8MWDpqLuhqX6skbrh/RI7KLHmt9j8cpp0SAA==") format("woff"),url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzI+IEq7AAABjAAAAFZjbWFw364brAAAA5QAAAdEZ2x5ZgkJhucAAAu0AAChvGhlYWQY7KABAAAA4AAAADZoaGVhBzwDvwAAALwAAAAkaG10eKXgAAAAAAHkAAABsGxvY2FyjUcSAAAK2AAAANptYXhwAZYEdwAAARgAAAAgbmFtZXo4dZUAAK1wAAACPXBvc3RWzTZJAACvsAAACigAAQAAA1L/agAAA+gAAAAAA+gAAQAAAAAAAAAAAAAAAAAAAGwAAQAAAAEAALkVgFhfDzz1AAsD6AAAAADa8q4wAAAAANryrjAAAP9qA+gDUgAAAAgAAgAAAAAAAAABAAAAbARrACAAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAED6AGQAAUAAAJ6ArwAAACMAnoCvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAwOgA6MQDUv9qAFoDUgCWAAAAAQAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAAAAAUAAAADAAAALAAAAAQAAAIwAAEAAAAAASoAAwABAAAALAADAAoAAAIwAAQA/gAAAAYABAABAALoaejE//8AAOgA6MT//wAAAAAAAQAGANgAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMAJAAlACYAJwAoACkAKgArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQA6ADsAPAA9AD4APwBAAEEAQgBDAEQARQBGAEcASABJAEoASwBMAE0ATgBPAFAAUQBSAFMAVABVAFYAVwBYAFkAWgBbAFwAXQBeAF8AYABhAGIAYwBkAGUAZgBnAGgAaQBqAGsAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAABRQAAAAAAAAAawAA6AAAAOgAAAAAAQAA6AEAAOgBAAAAAgAA6AIAAOgCAAAAAwAA6AMAAOgDAAAABAAA6AQAAOgEAAAABQAA6AUAAOgFAAAABgAA6AYAAOgGAAAABwAA6AcAAOgHAAAACAAA6AgAAOgIAAAACQAA6AkAAOgJAAAACgAA6AoAAOgKAAAACwAA6AsAAOgLAAAADAAA6AwAAOgMAAAADQAA6A0AAOgNAAAADgAA6A4AAOgOAAAADwAA6A8AAOgPAAAAEAAA6BAAAOgQAAAAEQAA6BEAAOgRAAAAEgAA6BIAAOgSAAAAEwAA6BMAAOgTAAAAFAAA6BQAAOgUAAAAFQAA6BUAAOgVAAAAFgAA6BYAAOgWAAAAFwAA6BcAAOgXAAAAGAAA6BgAAOgYAAAAGQAA6BkAAOgZAAAAGgAA6BoAAOgaAAAAGwAA6BsAAOgbAAAAHAAA6BwAAOgcAAAAHQAA6B0AAOgdAAAAHgAA6B4AAOgeAAAAHwAA6B8AAOgfAAAAIAAA6CAAAOggAAAAIQAA6CEAAOghAAAAIgAA6CIAAOgiAAAAIwAA6CMAAOgjAAAAJAAA6CQAAOgkAAAAJQAA6CUAAOglAAAAJgAA6CYAAOgmAAAAJwAA6CcAAOgnAAAAKAAA6CgAAOgoAAAAKQAA6CkAAOgpAAAAKgAA6CoAAOgqAAAAKwAA6CsAAOgrAAAALAAA6CwAAOgsAAAALQAA6C0AAOgtAAAALgAA6C4AAOguAAAALwAA6C8AAOgvAAAAMAAA6DAAAOgwAAAAMQAA6DEAAOgxAAAAMgAA6DIAAOgyAAAAMwAA6DMAAOgzAAAANAAA6DQAAOg0AAAANQAA6DUAAOg1AAAANgAA6DYAAOg2AAAANwAA6DcAAOg3AAAAOAAA6DgAAOg4AAAAOQAA6DkAAOg5AAAAOgAA6DoAAOg6AAAAOwAA6DsAAOg7AAAAPAAA6DwAAOg8AAAAPQAA6D0AAOg9AAAAPgAA6D4AAOg+AAAAPwAA6D8AAOg/AAAAQAAA6EAAAOhAAAAAQQAA6EEAAOhBAAAAQgAA6EIAAOhCAAAAQwAA6EMAAOhDAAAARAAA6EQAAOhEAAAARQAA6EUAAOhFAAAARgAA6EYAAOhGAAAARwAA6EcAAOhHAAAASAAA6EgAAOhIAAAASQAA6EkAAOhJAAAASgAA6EoAAOhKAAAASwAA6EsAAOhLAAAATAAA6EwAAOhMAAAATQAA6E0AAOhNAAAATgAA6E4AAOhOAAAATwAA6E8AAOhPAAAAUAAA6FAAAOhQAAAAUQAA6FEAAOhRAAAAUgAA6FIAAOhSAAAAUwAA6FMAAOhTAAAAVAAA6FQAAOhUAAAAVQAA6FUAAOhVAAAAVgAA6FYAAOhWAAAAVwAA6FcAAOhXAAAAWAAA6FgAAOhYAAAAWQAA6FkAAOhZAAAAWgAA6FoAAOhaAAAAWwAA6FsAAOhbAAAAXAAA6FwAAOhcAAAAXQAA6F0AAOhdAAAAXgAA6F4AAOheAAAAXwAA6F8AAOhfAAAAYAAA6GAAAOhgAAAAYQAA6GEAAOhhAAAAYgAA6GIAAOhiAAAAYwAA6GMAAOhjAAAAZAAA6GQAAOhkAAAAZQAA6GUAAOhlAAAAZgAA6GYAAOhmAAAAZwAA6GcAAOhnAAAAaAAA6GgAAOhoAAAAaQAA6GkAAOhpAAAAagAA6MQAAOjEAAAAawAAAAAANACyAOgBGAF8AlgHdAfkCwoLXgt4DGYRwBJ4EzATmhPAFDwVCBosGpYd7h4IHuAfBh8sH5wgDiC6IXgh3CIwInoisiMYI9wk0CVKJawmDibwJw4nRifYKEoo5imYKgAqMCpwKw4rTit6K84sSCykLPgtWi3CLiIu3C+GL/QwhjGAMZgyeDLMM3gzzDR6NTA2sjdYOog6rDtsO7g8dD1ePgw/fkDoQZJCdELCQ9REEkReRTpF3EsKSyRMWkyiTMpNAk0YTVhNoE36TjROZk6OT+BQdFDeAAAAAgAA//wDugLAABIAGwAAASIOAhQeAjMyNjcHJz8BLgEJAQYeARcBLgEC9ClNOiAgOk0pRG4UlXQ+nR1Q/t7+MwcVKxcBwxskAsAgOk1STTogUUEoTXwqICP+6v7EFDYnAQE2Fz4AAAAFAAD/wAM7AucAGwAsADEAQABNAAABBiIHDgEdAQcOARYzITI2Ji8BNTQmJyYjIicjBSIGFxMeATMhMjY3EzYmIyEFKQEDIRMiIw4BFxMeAT4BJwMuASUiBgcDBh4BNjcTNiYBrQslBgoHrAoHBwoCcAkHBwmoBQkGFRIMR/7iCg8BMgENCgHJCg0CQAEOC/7i/v0BAwEDO/5iSwECDA8CLAISFg0CLAINAQ4KEAEsAg0XEQIsAg8C5wECAxUZCTgCDw0NDwI3ChoUAwIBzA8L/dUJDQwKAioLEDH+BwGwARIM/sALDgIUCwE/Cg0BDgr+wQsUAg4LAUAMEgACAAD/2AOPAu0AGQAdAAABBgcGBxYfAQYHBg8CPwI2NzY3Fh8BNjcBDwE3A49QUbNbFioaSSQgOtEp9wMfOCEjTRQoHjBa/igboBoC7SkoWisUKxpKJiI7IvcoD8I5IyVNEykeYK3+c6AboQABAAD/3wOPAu0AGwAAAQYHBgcWHwEGByMVMwcWFzczNSM3NjcWHwE2NwOPUFGzWxYqGlu4pnx+Cxacr4VSbDcUKB4wWgLtKShaKxQrGl26K34LFJ0rU243EykeYK0AAAADAAD/mgO4AyIAEAAUAEEAAAEiBwEGFBcBFjI3ATY0JwEmBwkCJSIPAxUjDwMVHwMzFR8DMz8DNTM/AzUvAyM1LwMB9A8L/mEKCgGfCx8KAZ8LC/5hCw8Bhv56/noBewICBAMBwgQEAwEBAwQEwgEDBAQWBAQDAcIEBAMBAQMEBMIBAwQEAyIL/mEKHwv+YQoKAZ8LHwoBnws+/nr+egGG5QEDBATCAQMEBBUFBAMBwgQEAwEBAwQEwgEDBAQWBAQDAcIEBAMBAAYAAP+VA74DJAAbADEASQBgAHkAigAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NgcGBxcGBxYXNxc2NycmJzc2NyYnBg8BJi8BFhc3FwcXBycGByc2NycmJwHzbGVhQUILDDc8PVNPt1ZYhE8GBh4cd09QVwMVEGNdWTo8CAk9PkCmtE1QZCAVFzk4ol9bVVEyNQEEJCRBRFJNnj9BRQQeIDwwfEJQSkcrLAEBSD5AS0eMMzYUFRQnJz1KGx06cDg2KixucToeJjIZJTEYKiwZMCUZMiY5OG40b3E1cSRKNEolJjIZAyICNjVaXWxctklKKCgLHB13pFlbU1OGKCkFAjEDMTBTVmNYrEBDOxArLI+zVVlCRE4rAzAvT1JbU1BONjgQECUwMoyiSUwyKzAwAiwqRkpQS4ssLwcJMTM1RUKQOz0iK28eOnE2OCwqbnA6HSYyGSUwGSwqGDElGTIDODlvNG5xNXElSjRKJCYyGQAAEQAA/6MDuAMiAAMABgALAE4ApgD8AT8BlAHxAjwCfgLCAwUDXAOpA/UEPwAAAREhEQUzBzcVITUXETEjByMHIxUjByMPBxUfBDM3MzczNzM3MzczFzMXMxczFzMXMz8FNS8FIycjNSMnIycXIw8FHxk/BDUvAyMnNSc1JyMvASMvATUnIyc1LwEjLwE1JzUnIzUnIycjLwE1LwEjJzUnIy8BBSMPAhUHIw8BFQ8CFQcVBxUPASMPARUPAhUPASMPASMPARUHFQ8BIw8CFR8FMz8ZNS8EITEjFSMPAxUfBDM3MzczFzMXMxczFzMXMx8GMz8FNS8CIy8JIycjJyMnIzUHIw8CIw8BFQcjDwEjBxUHIwcjByMHFQ8DIxUPARUPAiMPAR8FMz8dMz8DLwMFDwUfFhUfBDM/BDUnNS8INSc1LwQjJyMnNS8BIyc1JzUvATUjLwE1JyMnNS8CNS8DBSMPBRUjFQcVBxUjFQcVFxUzFRcVFxUXFR8JMz8ENS8CNSc1JzUnNSc1JzU3NTc1NzU3NTc1LwQFIw8DFQcXFQcVBxUHFQcVDwgVHwMzPwY1NzU/BzU3NTM1NzU3NSc1LwMFIw8DFRcVFxUXFRcVHwcVFxUfAjMVHwMzPwQ1Lws1JzUnNSc1JzUvBAUjDwUVBxUPDxUfBT8CNT8BNTczNzU/AjM/CjU3LwQFDwUfAhUXFRczFzMfAjMfATMVFxUXFRczHwEzFzMXFRcVHwEVHwIVHwIzPwU1LxwFIw8IIwcjByMHIwcjByMPBBUfBTM3MzczNzM3Mz8LMzczPwE1PwE1NzU/BDUvBAUPBRUfBTMfARUXMxczHwEVHwEzFxUfBDMXMx8GMz8FNS8WISMPFxUfBjM/CDM/BDU3MzczNzU/ATU/ATM/BDUvBAEnAZr+weRynP7InAsGCwUMBQUGJgYKCAQCAwEBAgYECQQrBQkFBQUFCgUeBQoFBQUFCgQYCQUEAwQEAQEEAwQHJgUGBQsGCwb0BQQFAwQEAgIIAgwHCAcEAwQDBAMHBgcPAgkCAxEEAwQJCQQEAwQBAgMCAQIDAgECEgEJBAYBAwQDAQMIBAMBAwEDAQgEBAQBBAgBBAr98QUECAUEAQQEBAwEBAQIAwEDBAMEAwQJAQ8CAQIDAwUCAQQDAwECAwMIBAkFBwUFEAYCBgIPBwYHAwQDBAMEBwgEBAcCAQICAwQIAQQSDQoFBwYCAgMICAQBCAQmBAgDBAQEBwQIAxoDCAcHAwkFBAQEAwQBBAMHAQMFBAQEBAQJBCYECQUEBAUNrQQIBgcBAwgDARUDAQMDAQkBDAEJCQMDAgECAwMIBAEEAgICAwMIBAUECQMIAwIEAwIDAgMCAwIDAwMCAwMDAwMDAwMGAyMCAwQEAgIFBAgBhAUIBAMDAwEGAwMCAwIDAgMCAwcWAQQBBAEGAwICBAQDBAUJBAQEAwQBAgICAQIBAgECAgIBAQEIAQEBAgIEAQIHAwIBAgMCAQIGAwkDAwME/cMFBAgDAwICAQIBAQEBAQECAQgCAQEBAwMEBAQFCQQDAwQBAgUDAgEBAQEBAQIBAQIDAwkC7gUECAYCAQEBAQECCAIBAgIEARYBAQQDDAUJBAYFBAMKAggBAgECAgIHAQEBAQEEAwQI/KcFCAgEAgEBAQIGAgICAQQBBgIKAwQBAwYEBQkEBAQDBAIBEgECAQIBAgICBwIBAQEBAgcDBQLwBAUEBAMEAgIHAgMFAgQBAgMMCgMEAgQBAQQDBAQJCAUHAw8CAQYFCAEBAQYBAgECAQICAgkBAgIDBAj9rQQIBAMCAgIFBgwGAQwBBgcDAQMDAQcHAwEHBwEDAQMECAQEDAQEBAQJBAQEBQIBAQQEAxUDBAoHGQMKAgMDAwMDAwMCBgMCAwIDAggBnAUEBAEHChwLBxIECwQHBAQHBAgEEAgEAwICAQQEAwQFDAUNBAUEBQgFJgQJBAQEBAQEAQQDAQMBAwQECAQJBAICAQIGAwQF/kQEBQQGAgIBAgMDBQQBBA0JAQ0BBAUFBAEEBQUKBRkBBAEUBgUFBQsKCQUEBAMEAQIDAwQHEwUEBQUEBQUEJR4IBAQJDAMNAhIFBAUDARQEBAkIFiwFBQQFBQUEBRsEBgQBAQIDAwQEBAkDBgULBQUFBhQBHgUKBQUEAQQBBAUcDQQBBAUDAgECAgMECAH6/sgBODFaPrq6fQHyAQEBAQcCAgQDBAQECQQFBgMCCQIBAQEBAQECBQECAwMIBAUECQMDAwcBAQEBUwECAgQHCQkKAQkHBgcDBAMEAwQHCAcUBA0EBCADAwICAgIDAwgJBQYFBQQBBAEEBRwNBAEIBAEEBAQIAQMBAwEDBAgDAQMEAwEGBAcIAQQEAQMEAwEDDAMBAwEDAQgEBAQBBAQEAQQNFwUFBAEEAQkFCgUMBAUEBAMEAQIFBwweCAQJBBQHCAcEAwQDBAMHBgQDBwUEBAkEBAMEAQICBQwFCQQDBgIBAQEBAQICBwICAwICAgECAwMIBQkIAwUCAQIBAgECAgIJAgEBAScCAwUCBAECDwMCAQIJDAkBCQQDAwEDAwEDCwcHCQkEAwQEAQEEAwwDBAYDAwIDAwMDAwMCAwMCAwIDAgMCAwQDFgMDCAkJBwMEOwECAwMEDQULAgMDAwMDAwIDAwojAwcDBwQOCwMHAwgDAwIBAQMCBAgJBAIECQQEBAQEBQMBAwEDBAEDEAQDAQMIAwEKAQMDAQMDAQMDAQYECQEDAgMDqQEEBAMECAQECQUECQ0EGwUNCQQECQQBBCIEBQEEBAMDAgECAgMECAkFBBIECwQHBAQHBAgEHgQIBAcEBAcEBAkEBAQDBC0BBAgEBAQEHgUKBQUFBQkFJwUEBQkKBDIEBQQIBAYCAgYICgUZAQQBFAYFBQULBiYFBgULBgsGFgYJCAMDBBACBggICQYRBQYFBgsFIQYLBQUKBg8BBAEZBQoBBAYCAQEDAgQICQgBKQQFBQQFBQkFIgUJBQUFBQoFFwUEBwICOQECAwMIBwQHBBoDCwsHBgQDBxQPAwcBCAUEBQgDAwICAgIHAQMVAQMLAQcQBAQMBAQEBAQECQQmBQUIBAQDBKABBAMDBAkJCQYBDAEGDAYFAwMCAQQBBAECBQQCAgEBAQQBAQEGAQEBAgEBAgMHBQQFBAgDAwkCAQYDEAMGAwIDAgMCAwIDBgIDAwMDAwdKAQIBAwYMAwMFAwIBAQEEAwMECQUECAMDAgEBAQECCQICAgECAQIBAQECAgIBAQEEAQEBBQQDBQQFCAgDAgEnAQEDBgQJBQQEBAIFAwQJAQYJAwIBAgMCAQIDBAMKAggBAgECAgMBAgMDCAUECQQDAwMEAgECAQIBAgEQEAYCAwUJAwoBAgICDwIDBQYMFAECAQIBAgECBgIGCQQFBAQEAwMCAQEBAgICAQIBCAwDBAMCAQIDAgECEgEJBAMFBAQEBQkEAwMEAAAABQAA/5YDvQMjABYAMQA6AD4ARAAAASYOAxYXHgI3PgE3Njc2Jy4BJyYHNhcWFxYXFgYHBgcGBwYnJicmJyYnJjc+AhMGDwEXNRcRBycUFSclFBUnJicB9FimgUQBQD07obBRVIYnKQMGHh52Tl5rVlJQOjsXFxcrLERGWlhWWENDJyYDAyMecpQ/Nmwv0crKGI8BWSpDIgMiAUZ+obOmPj9JCR4delFTWFdVU4cmLzEBJiVDRFRPp0hKLzQQDxYWOTZQT1daTklwPv8AJk0hlI+PASiPYGRlZGVlZR4wFwAJAAD/ogO4AyAACwAXAFIAuwFEAaEB6AIyAp4AAAEVIxUzFTM1MzUjNQczFTMVIxUjNSM1MxMrAQcjByMHFQ8FFR8FMz8DMzczNzM3MxczFzMXMx8BMz8DNS8EIzUjJyMnFw8GFR8KMx8GFR8CMx8NMz8ENS8BNScjLwYjLwE1Iy8LIy8BIy8HIzUnNS8EIwUPASMPBBUPBBUHIwcVDwMjFQcVByMVDwQVByMPARUPAhUPAiMPAxUPAxUHFQ8KFQcVHwQ/BDM/BDU/JjUvAwEPBRUXFQcVBxUHFQcVBxUHFQcVBxUHFQcVBxUPBxUfBD8FMz8BMz8BNT8BMzczNzU3NTM1NzU3NTc1NzU3NTc1NzU3NSc1LwQFDwUVFxUXFRczHwUzHwEVFxUXFRcVMxcVFxUfBD8ENS8NNSc1JzUnNS8DAQ8XHwQ/BDM/AzM3MzczNzM3Mzc1NzM3NTczPwIzNzM1PwM1LwQFDwUVHwMVHwEzHwIzHwIVHwEzHwEVHwEzFzMXMxczHwIzFzMXFTMfBzMXFRczFTMXMz8ENS8EIycjJyMnIy8KIy8EIy8FIwGufX2MfX11Xn19Xn19MwcNBg0NBycNDgQDAwQBAgMDCQQFBgwGFwYLBgYGBikGBgYGBgUfBAUMAwMCAgYDCicGBwYNB+kFBAQDAwECAgIGAgIDBgUEAwgBDgIIAgYCBAECAgECAwIDBQQDBAMKBQYDCQQJBAQDBAIEBgEEAwIDAgMCAQIIAQUDBAIEAgIFAgcCAgECCQECAgMHAwIDAgECAwIGAgoF/fMFBwECAwIDAgMCAwIDBAECAgMCBAEEBAECAgICAgIBAgICBAICBAEBAQIDAgIKAQICAgEEAQIBAgECAQICAQQEAw4ECAQDAQECAwECAgIBAgECAQIBAgIDAgECCAIBAgICAQQCBAEGAgoCBgMKAwYDBQMCAQQGCAUCsgQFAwYCAQEBAQEBAQECAQMFAwUDBAMCBgMBAgMGBAkJBAQDAgEBAwIBAgMDAgEFAQwDAQIBAQEBAQEBAQQDBAQI/KYEBQMEBAEBAwIBAwIBBAEKAQQDAgMCAQIDAQIEBwkJBAQDBAIEAgMCBwQBBgECAQIIAQEBAQUICAKxBAQJBAUKBA8FBQsPBgULBSEGCxAIBAUCAgQDBA0JBgYUBQESBgcFAQUBBQEFARwBCwUBBQUBBQsPAQQBAwMCAQQDBAQI/d4EBAQDAgIBAgMEDQIBAgMCAQIDAwsCAQgDAwUBAgECAQIBAgMDAQIBAgECBAMGAw0DHQIDDQQDDQkFCAUCAQQDBAQDBAgDFAIRAwkFEQIGBQMFBQUCAQ8CBQICAQQDBBEEBAUCIX2MfX2MfRd9Xn1+XQGTAQIGAQIEAgMECAkFBAQDBAECAgIEAgEBAQEBBQEGBAMJBQgIAgQGAQEBTwEBAwMEBAQFCQQGAQIBBgMEAggOAwgDBgMEAQICAwQDBAMHBwMIAxIKCAIEAgIDAwgKBwcBDAgEBAQEBAQECwEHAwYCBgIDBQMHAwIDCQMCAgcCAgICAQEBAgIEAgUMAQQCAgICAgECAgICAgEEAgECAgMEAQQBBAECAwIDAgECAwIBAgYCAQIGAwMCBQIBAg8DAgECAQIDBgMDAwMDAwMDAQQJBQgDAwMBBAMDBAYFAwIFAQIDAgMCAwIDAwIFAgMCDAIDAgMCAwQDBAMGAwoDBgIKAQYCBQQEBAkJBgQB/sYBAgIIBAQEBDMDCQMGAgYDAwMDAwMGAgMDCQIOAwgBDQULBQYKBwQFCQQGAgICAgMDAwMGBgYFAQUHDyYDCgMDBwMDBAMDBAMDBAMHAw4DLAUJCAQCAwITAQIDAwgEGwYHEwcNEwYHDQYfDQUBBQEFAQUBBQEFAQEEBAQCAgIDAwkJCAYGBQYQCwYRBQYGBS8GBQYGDAYHBQcGAv6yAQIGBAQGBAkEAwUJAgMEAwwBBAMEAwcJCQgDAwMCAgEGAgYDAgMCAwMPBgEDAwEDBAcMBAEDBAQECQgEAwICAgEDAgQECQQFBAQDAQoCAgICAgIBAQcCBQEBAQMCAgECAQIBAQEBAQICAgQCCQEBBAEEAQQHBQQJCAQCAwEDBwYDAwYCAgMBAwIDAgkCAwIBBAEEDQECAAAAAQAAAAADQAKGADMAAAEiDgEHBhYXJicHFhc2NyYnBy4BNjc+ARYXHgIHDgInJgYeARcyNzYzPgI3Ni4BJyYCET51VhIVFygsWgyiUCAPJBccIhcZIiJnby8tPxYMC0ViNA0SARUOCBEMBj1rRQgJIUw0QwKFNV48QYw3CBI7IA+gUAcEkShsaygqLQMbF1RnMTNUMAEBFBsNAQICCUhrPjt1YBwkAAAAAwAAAAAC7gKKAAMABwALAAATETMRMxEzETMRMxH6ZGRkZGQCiv2oAlj9qAJY/agCWAAAAAkAAP+iA7wDIQADAAgAIgAxAEcAXABxAIQAkwAAAQYHIQMWFyE2EwYjBgcGBxYXFjc2NzYXNhcWFzYnJicmByYXBhcWFxYXFhcWNiYnJicFBgcGDwEGBwYXFjc2NzY3Nj8BNjc2AQYHBhcWFQYHBgcGFj4BNT4BJy4BBQYHBhcWFRYXFhcWNTQnJicmNS4BAQYHBgcGByIGBwYXNjc2NzYuAQUGFxYXFhc2Jy4BIyYvAQH0YGABgMBkM/7SM2gMHCkSHgoIFAwcEQgOCRkzHQ4WCwocGBUI6iALBh4OBSoiFBUEDjpF/fEdGxAbDg0LDAMEHQ0WEAoPEA0ZBQgCmRQFAgIBAQMLIAIQGBMXEwYCDfykFwQCBwQLCA0TIhAIAhMBDQKuEyQeDxoXESUDBBc3NTQsBwIN/dklGhEjT0QXBAMlEVA4BgIyrK0BJrRaWgHVAgEFCBcUAgEHBQECAgIGAwEVDgwGBAEBTwoVDRoMBS8+DRMoC18rCgwdESYTDRgaDxMGECQcDRYPDBYMFP7RBRQLHRAIDQlBPBEOBBMOMm02BwkSBRkOIhcJLRgmGgUZDyUUBz89CAv+swkXEgkNBhUNDwsKGhgmBxMOAQ4eFRIsCQsPDBUYMQMAEQAA/6MDuAMiAA8AIAAyAHUAywEpAXQBtwIPAlwCnwL3A00DjwPUBCAEagAAASYGBwYeAjc+ATc2JicmBzYeARcWBgcOAS4CNjc+ARcGDwEOARYXFj4BOwE1IzY3JicrARUjDwMVHwQzNzM3MxczFzMXMxczFzMfBjM/BTUvAiMvCSMnIycjJyM1DwQjDwEVByMPASMHFQcjByMHIwcVDwMjFQ8BFQ8CIw8BHwUzPx0zPwMvAyMFDwUfFhUfBDM/BDUnNS8INSc1LwQjJyMnNS8BIyc1JzUvATUjLwE1JyMnNS8CNS8EBQ8FFSMVBxUHFSMVBxUXFTMVFxUXFRcVHwkzPwQ1LwI1JzUnNSc1JzUnNTc1NzU3NTc1NzUvBQUPBRUHFQ8PFR8FPwI1PwE1NzM3NT8CMz8KNTcvBCMFDwUfAhUXFRczFzMfAjMfATMVFxUXFRczHwEzFzMXFRcVHwEVHwIVHwIzPwU1Lx0FDwgjByMHIwcjByMHIw8EFR8FMzUzNzM3MzczPwszNzM/ATU/ATU3NT8ENS8EIwMrAQcjByMVIwcjDwcVHwQzNzM3MzczNzM3MxczFzMXMxczFzM/BTUvBSMnIzUjJyMnFw8FHxk/BDUvAyMnNSc1JyMvASMvATUnIyc1LwEjLwE1JzUnIzUnIycjLwE1LwEjJzUnIy8CBQ8CFQcjDwEVDwIVBxUHFQ8BIw8BFQ8CFQ8BIw8BIw8BFQcVDwEjDwIVHwUzPxk1LwQjAQ8DFQcXFQcVBxUHFQcVDwgVHwMzPwY1NzU/BzU3NTM1NzU3NSc1LwMjBQ8EFRcVFxUXFRcVHwcVFxUfAjMVHwMzPwQ1Lws1JzUnNSc1JzUvBCMTDwQVHwUzHwEVFzMXMx8BFR8BMxcVHwQzFzMfBjM/BTUvFwUPFxUfBjM/CDM/BDU3MzczNzU/ATU/ATM/BDUvBCMB9EBvFxkYVn46PVEBBEQ5KzImSDMJDy0xIVBLOBoJFhhQYwkUHQkJBAgECQ0EWVkSJg4/BA4NCgUHBgICAwgIBAEIBCYECAMEBAQHBAgDGgMIBwcDCQUEBAQDBAEEAwcBAwUEBAQEBAkEJgQJBQQEBQ2xBQMGBwEDCAMBFQMBAwMBCQEMAQkJAwMCAQIDAwgEAQQCAgIDAwgEBQQJAwgDAgQDAgMCAwIDAgMDAwIDAwMDAwMDAwYDIwIDBAQCAgUECAUBhAQEBAMDAwEGAwMCAwIDAgMCAwcWAQQBBAEGAwICBAQDBAUJBAQEAwQBAgICAQIBAgECAgIBAQEIAQEBAgIEAQIHAwIBAgMCAQIGAwkDAwMECf3HBAgDAwICAQIBAQEBAQECAQgCAQEBAwMEBAQFCQQDAwQBAgUDAgEBAQEBAQIBAQIDAwkEAo0FBAQDBAICBwIDBQIEAQIDDAoDBAIEAQEEAwQECQgFBwMPAgEGBQgBAQEGAQIBAgECAgIJAQICAwQIBf2uBAQEAwICAgUGDAYBDAEGBwMBAwMBBwcDAQcHAQMBAwQIBAQMBAQEBAkEBAQFAgEBBAQDFQMECgcZAwoCAwMDAwMDAwIGAwIDAgMCCA4BpQQEAQcKHAsHEgQLBAcEBAcECAQQCAQDAgIBBAQDBAURDQQFBAUIBSYECQQEBAQEBAEEAwEDAQMEBAgECQQCAgECBgMEBQSnBQYGCwUMBQUGJgYKCAQCAwEBAgYECQQrBQkFBQUFCgUeBQoFBQUFCgQYCQUEAwQEAQEEAwQHJgUGBQsGCwbvBAUDBAQCAggCDAcIBwQDBAMEAwcGBw8CCQIDEQQDBAkJBAQDBAECAwIBAgMCAQISAQkEBgEDBAMBAwgEAwEDAQMBCAQEBAEECAEECgj99AQIBQQBBAQEDAQEBAgDAQMEAwQDBAkBDwIBAgMDBQIBBAMDAQIDAwgECQUHBQUQBgIGAg8HBgcDBAMEAwQHCAQEBwIBAgIDBAgEAq8ECAYCAQEBAQECCAIBAgIEARYBAQQDDAUJBAYFBAMKAggBAgECAgIHAQEBAQEEAwQIBPymBAQIBAIBAQECBgICAgEEAQYCCgMEAQMGBAUJBAQEAwQCARIBAgECAQICAgcCAQEBAQIHAwUElAUEBgICAQIDAwUEAQQNCQENAQQFBQQBBAUFCgUZAQQBFAYFBQULCgkFBAQDBAECAwMEBxMFBAUFBAUFBCUeCAQECQwDDQ0CGgQFAwEUBAQJCBYsBQUEBQUFBAUbBAYEAQECAwMEBAQJAwYFCwUFBQYUAR4FCgUFBAEEAQQFHA0EAQQFAwIBAgIDBAgEAjQBSzs5gFkeFRVtQD5xGhUnASI9JTduHRUHGjhNUSElLDISIzYBDxEDAwEGGSJECO0BAgIFDAUJBAMGAgEBAQEBAgIHAgIDAgICAQIDAwgFCQgDBQIBAgECAQICAgkCAQEBJwEBAwUCBAECDwMCAQIJDAkBCQQDAwEDAwEDCwcHCQkEAwQEAQEEAwwDBAYDAwIDAwMDAwMCAwMCAwIDAgMCAwQDFgMDCAkJBwMEPAEBAwMEDQULAgMDAwMDAwIDAwojAwcDBwQOCwMHAwgDAwIBAQMCBAgJBAIECQQEBAQEBQMBAwEDBAEDEAQDAQMIAwEKAQMDAQMDAQMDAQYECQEDAgMDAqsBBAQDBAgEBAkFBAkNBBsFDQkEBAkEAQQiBAUBBAQDAwIBAgIDBAgJBQQSBAsEBwQEBwQIBB4ECAQHBAQHBAQJBAQEAwQBdwECAwMIBwQHBBoDCwsHBgQDBxQPAwcBCAUEBQgDAwICAgIHAQMVAQMLAQcQBAQMBAQEBAQECQQmBQUIBAQDBKECAgMDBAkJCQYBDAEGDAYFAwMCAQQBBAECBQQCAgEBAQQBAQEGAQEBAgEBAgMHBQQFBAgDAwkCAQYDEAMGAwIDAgMCAwIDBgIDAwMDAwcDTQECAQMGDAMDBQMCAQEBBAMDBAkFBAgDAwIBAQEBAgkCAgIBAgECAQEBAgICAQEBBAEBAQUEAwUEBQgIAwIBAs4BAQEBBwICBAMEBAQJBAUGAwIJAgEBAQEBAQIFAQIDAwgEBQQJAwMDBwEBAQFTAQICBAcJCQoBCQcGBwMEAwQDBAcIBxQEDQQEIAMDAgICAgMDCAkFBgUFBAEEAQQFHA0EAQgEAQQEBAgBAwEDAQMECAMBAwQDAQYEBwIKAQQEAQMEAwEDDAMBAwEDAQgEBAQBBAQEAQQNFwUFBAEEAQkFCgUMBAUEBAMEAQIFBwweCAQJBBQHCAcEAwQDBAMHBgQDBwUEBAkEBAME/sUBBAgEBAQEHgUKBQUFBQkFJwUEBQkKBDIEBQQIBAYCAgYICgUZAQQBFAYFBQULBiYFBgULBgsGFgYJCAMDBBABAQYICAkGEQUGBQYLBSEGCwUFCgYPAQQBGQUKAQQGAgEBAwIECAkIASkEBQUEBQUJBSIFCQUFBQUKBRcFBAcCAv6yAQMGBAkFBAQEAgUDBAkBBgkDAgECAwIBAgMEAwoCCAECAQICAwECAwMIBQQJBAMDAwQCAQIBAgECARAQBgIDBQkDCgMDAQICAg8CAwUGDBQBAgECAQIBAgYCBgkEBQQEBAMDAgEBAQICAgECAQgMAwQDAgECAwIBAhIBCQQDBQQEBAUJBAMDBAAAAAYAAP+VA74DJAAbADEASQBgAG0AegAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NhcUFSMVMxUzNTM1IzUHMjMVMxUjFSM1IzUzAfNsZWFBQgsMNzw9U0+3VliETwYGHhx3T1BXAxUQY11ZOjwICT0+QKa0TVBkIBUXOTiiX1tVUTI1AQQkJEFEUk2eP0FFBB4gPDB8QlBKRyssAQFIPkBLR4wzNhQVFCcnPUoYn596n59hJSSfn0mgoAMiAjY1Wl1sXLZJSigoCxwdd6RZW1NThigpBQIxAzEwU1ZjWKxAQzsQKyyPs1VZQkROKwMwL09SW1NQTjY4EBAlMDKMoklMMiswMAIsKkZKUEuLLC8HCTEzNUVCkDs9IitdTk58nJx8nBidSp2dSgAABwAA/5UDvgMkABsAMQBJAGAAaQBtAHMAAAEmBwYHBgcGFhcWFx4BNz4CNzYnLgEnJicjJgc2FxYXFhcWBgcOASYnLgI3Njc+ARcmBwYHBgcGFxYXFhcWNjc+AicmJy4BBzYXFhcWBxYGBwYHBiYnJicmNjc2NzYXBg8BFzUXEQcnFBUnJRQVJyYnAfNsZWFBQgsMNzw9U0+3VliETwYGHhx3T1BXAxUQY11ZOjwICT0+QKa0TVBkIBUXOTiiX1tVUTI1AQQkJEFEUk2eP0FFBB4gPDB8QlBKRyssAQFIPkBLR4wzNhQVFCcnPUpFNmwv0crKGI8BWSpDIgMiAjY1Wl1sXLZJSigoCxwdd6RZW1NThigpBQIxAzEwU1ZjWKxAQzsQKyyPs1VZQkROKwMwL09SW1NQTjY4EBAlMDKMoklMMiswMAIsKkZKUEuLLC8HCTEzNUVCkDs9IiujJk0hlI+PASiPYGRlZGVlZR4wFwADAAD/mgO4AyIAEAAUAEIAAAEiBwEGFBcBFjI3ATY0JwEmBwkCNyIPBB8CDwIfBD8CHwI/BC8CPwIvBA8CJzUnAfQPC/5hCgoBnwsfCgGfCwv+YQsPAYb+ev569AICBA8DAQEDiYkDAQEDDwQEBQSJiQQFBAQPAwEBA4mJAwEBAw8EBAUEiYkEAyIL/mEKHwv+YQoKAZ8LHwoBnws+/nr+egGGrQEDDwQEBQSJiQQFBAQPAwEBA4mJAwEBAw8EBAUEiYkEBQQEDwMBAQOJiQECAAAAAAEAAP/fA48C7QARAAABBgcGBxYfAQAHFhcBFh8BNjcDj1BRs1sWKhr+25YLFgG7FCgeMFoC7SkoWisUKxr+15cLFAHAEykeYK0AAAADAAD/lgO/AyIAGwAyAEsAAAEiBwYHBgcGFhcWFx4BNzY3PgE3NicuAScmJyYHNhcWFxYXFgYHBgcGJicuATY3Njc+AQcGBxcGBxYXNxc2NycmJzc2NyYnBg8BJicB62xjYD9ACgs5PT5UTrRTV0BDUAgHHRt5UVNZDQ9PSEcrLAEDQDk8SEaQNzkyECYoQCNSRx06cDg2KixucToeJjIZJTEYKiwZMCUZMgMiNzZbXWtct0dKJyYLHB07OaFYW1NViykqBAGOAikoRUdPSYkuMQwOKTAxh5c+QSMVFm4eOnE2OCwqbnA6HSYyGSUwGSwqGDElGTIAAAoAAP+SA8EDIwAcADcAUQBqAG8AcwB3AHsAfwCDAAABIiMiBwYHBgcGFhcWFx4BNzY3PgE3Ni4BJyYnJgcyMzYXFhcWFxYGBwYHDgEnJicmJyY3Njc+ARciIyIHBgcGBwYWFxYXFjY3Njc+AScmJy4BBzIzMhcWFxYXFgYHBgcGLgEnLgE3Njc+AQcVESERBTMRIxMVMzUHFTM1BxUzNQcVMzUB8wECY15bQEIWFR4uL0hIsllcS0poFRYbXkhJVjg7BQVcVlQ5Og8QKjQ1Sky0U1U7PR0cCQouNbhuBQVUT0syNAkLNjg6TEidRUYtMB4UFTYzjk8DA0tFQyssBgg3NThFRI92ICICHyE6KGNkAS7+6v7+GsrKysrKysoDIi4tTlBhVrNNTjM1Kg4PMC6RVletmzY3FA4xAS0rTE1bUqhERicqCiAhQD9XVFlbSldpKysqSElUT507PBsbDSUmP0CjT1I7OkMwJyZAQUtHizI0EhQbVT5AlkJFKx8ieQz+kAF8GP60AScZGUoYGFUYGE0YGAAAABAAAP+jA7gDIgALABcAWgCyAQgBSwGgAf0CSAKKAs4DEQNoA7UEAQRLAAABFSMVMxUzNTM1IzUHMxUzFSMVIzUjNTMTMSMHIwcjFSMHIw8HFR8EMzczNzM3MzczNzMXMxczFzMXMxczPwU1LwUjJyM1IycjJxcjDwUfGT8ENS8DIyc1JzUnIy8BIy8BNScjJzUvASMvATUnNScjNScjJyMvATUvASMnNScjLwEFIw8CFQcjDwEVDwIVBxUHFQ8BIw8BFQ8CFQ8BIw8BIw8BFQcVDwEjDwIVHwUzPxk1LwQhMSMVIw8DFR8EMzczNzMXMxczFzMXMxczHwYzPwU1LwIjLwkjJyMnIycjNQcjDwIjDwEVByMPASMHFQcjByMHIwcVDwMjFQ8BFQ8CIw8BHwUzPx0zPwMvAwUPBR8WFR8EMz8ENSc1Lwg1JzUvBCMnIyc1LwEjJzUnNS8BNSMvATUnIyc1LwI1LwMFIw8FFSMVBxUHFSMVBxUXFTMVFxUXFRcVHwkzPwQ1LwI1JzUnNSc1JzUnNTc1NzU3NTc1NzUvBAUjDwMVBxcVBxUHFQcVBxUPCBUfAzM/BjU3NT8HNTc1MzU3NTc1JzUvAwUjDwMVFxUXFRcVFxUfBxUXFR8CMxUfAzM/BDUvCzUnNSc1JzUnNS8EBSMPBRUHFQ8PFR8FPwI1PwE1NzM3NT8CMz8KNTcvBAUPBR8CFRcVFzMXMx8CMx8BMxUXFRcVFzMfATMXMxcVFxUfARUfAhUfAjM/BTUvHAUjDwgjByMHIwcjByMHIw8EFR8FMzczNzM3MzczPwszNzM/ATU/ATU3NT8ENS8EBQ8FFR8FMx8BFRczFzMfARUfATMXFR8EMxczHwYzPwU1LxYhIw8XFR8GMz8IMz8ENTczNzM3NT8BNT8BMz8ENS8EAa59fYx9fXVefX1efX0vCwYLBQwFBQYmBgoIBAIDAQECBgQJBCsFCQUFBQUKBR4FCgUFBQUKBBgJBQQDBAQBAQQDBAcmBQYFCwYLBvQFBAUDBAQCAggCDAcIBwQDBAMEAwcGBw8CCQIDEQQDBAkJBAQDBAECAwIBAgMCAQISAQkEBgEDBAMBAwgEAwEDAQMBCAQEBAEECAEECv3xBQQIBQQBBAQEDAQEBAgDAQMEAwQDBAkBDwIBAgMDBQIBBAMDAQIDAwgECQUHBQUQBgIGAg8HBgcDBAMEAwQHCAQEBwIBAgIDBAgBBBINCgUHBgICAwgIBAEIBCYECAMEBAQHBAgDGgMIBwcDCQUEBAQDBAEEAwcBAwUEBAQEBAkEJgQJBQQEBQ2tBAgGBwEDCAMBFQMBAwMBCQEMAQkJAwMCAQIDAwgEAQQCAgIDAwgEBQQJAwgDAgQDAgMCAwIDAgMDAwIDAwMDAwMDAwYDIwIDBAQCAgUECAGEBQgEAwMDAQYDAwIDAgMCAwIDBxYBBAEEAQYDAgIEBAMEBQkEBAQDBAECAgIBAgECAQICAgEBAQgBAQECAgQBAgcDAgECAwIBAgYDCQMDAwT9wwUECAMDAgIBAgEBAQEBAQIBCAIBAQEDAwQEBAUJBAMDBAECBQMCAQEBAQEBAgEBAgMDCQLuBQQIBgIBAQEBAQIIAgECAgQBFgEBBAMMBQkEBgUEAwoCCAECAQICAgcBAQEBAQQDBAj8pwUICAQCAQEBAgYCAgIBBAEGAgoDBAEDBgQFCQQEBAMEAgESAQIBAgECAgIHAgEBAQECBwMFAvAEBQQEAwQCAgcCAwUCBAECAwwKAwQCBAEBBAMEBAkIBQcDDwIBBgUIAQEBBgECAQIBAgICCQECAgMECP2tBAgEAwICAgUGDAYBDAEGBwMBAwMBBwcDAQcHAQMBAwQIBAQMBAQEBAkEBAQFAgEBBAQDFQMECgcZAwoCAwMDAwMDAwIGAwIDAgMCCAGcBQQEAQcKHAsHEgQLBAcEBAcECAQQCAQDAgIBBAQDBAUMBQ0EBQQFCAUmBAkEBAQEBAQBBAMBAwEDBAQIBAkEAgIBAgYDBAX+RAQFBAYCAgECAwMFBAEEDQkBDQEEBQUEAQQFBQoFGQEEARQGBQUFCwoJBQQEAwQBAgMDBAcTBQQFBQQFBQQlHggEBAkMAw0CEgUEBQMBFAQECQgWLAUFBAUFBQQFGwQGBAEBAgMDBAQECQMGBQsFBQUGFAEeBQoFBQQBBAEEBRwNBAEEBQMCAQICAwQIAiF9jH19jH0XfV59fl0BlQEBAQEHAgIEAwQEBAkEBQYDAgkCAQEBAQEBAgUBAgMDCAQFBAkDAwMHAQEBAVMBAgIEBwkJCgEJBwYHAwQDBAMEBwgHFAQNBAQgAwMCAgICAwMICQUGBQUEAQQBBAUcDQQBCAQBBAQECAEDAQMBAwQIAwEDBAMBBgQHCAEEBAEDBAMBAwwDAQMBAwEIBAQEAQQEBAEEDRcFBQQBBAEJBQoFDAQFBAQDBAECBQcMHggECQQUBwgHBAMEAwQDBwYEAwcFBAQJBAQDBAECAgUMBQkEAwYCAQEBAQECAgcCAgMCAgIBAgMDCAUJCAMFAgECAQIBAgICCQIBAQEnAgMFAgQBAg8DAgECCQwJAQkEAwMBAwMBAwsHBwkJBAMEBAEBBAMMAwQGAwMCAwMDAwMDAgMDAgMCAwIDAgMEAxYDAwgJCQcDBDsBAgMDBA0FCwIDAwMDAwMCAwMKIwMHAwcEDgsDBwMIAwMCAQEDAgQICQQCBAkEBAQEBAUDAQMBAwQBAxAEAwEDCAMBCgEDAwEDAwEDAwEGBAkBAwIDA6kBBAQDBAgEBAkFBAkNBBsFDQkEBAkEAQQiBAUBBAQDAwIBAgIDBAgJBQQSBAsEBwQEBwQIBB4ECAQHBAQHBAQJBAQEAwQtAQQIBAQEBB4FCgUFBQUJBScFBAUJCgQyBAUECAQGAgIGCAoFGQEEARQGBQUFCwYmBQYFCwYLBhYGCQgDAwQQAgYICAkGEQUGBQYLBSEGCwUFCgYPAQQBGQUKAQQGAgEBAwIECAkIASkEBQUEBQUJBSIFCQUFBQUKBRcFBAcCAjkBAgMDCAcEBwQaAwsLBwYEAwcUDwMHAQgFBAUIAwMCAgICBwEDFQEDCwEHEAQEDAQEBAQEBAkEJgUFCAQEAwSgAQQDAwQJCQkGAQwBBgwGBQMDAgEEAQQBAgUEAgIBAQEEAQEBBgEBAQIBAQIDBwUEBQQIAwMJAgEGAxADBgMCAwIDAgMCAwYCAwMDAwMHSgECAQMGDAMDBQMCAQEBBAMDBAkFBAgDAwIBAQEBAgkCAgIBAgECAQEBAgICAQEBBAEBAQUEAwUEBQgIAwIBJwEBAwYECQUEBAQCBQMECQEGCQMCAQIDAgECAwQDCgIIAQIBAgIDAQIDAwgFBAkEAwMDBAIBAgECAQIBEBAGAgMFCQMKAQICAg8CAwUGDBQBAgECAQIBAgYCBgkEBQQEBAMDAgEBAQICAgECAQgMAwQDAgECAwIBAhIBCQQDBQQEBAUJBAMDBAAAAAAIAAD/mgO4AyIAFAApAC4AMgA2ADoAPgBCAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYHMhcWFxYUBwYHBiInJicmNDc2NzYHFREhEQUzESMTFTM1BxUzNQcVMzUHFTM1AfR6amY8Pj48Zmr0amY8Pj48Zmp6bl5bNTc3NVte3F5bNTc3NVteKQEu/ur+/hrKysrKysrKAyI+PGZq9GpmPD4+PGZq9GpmPD4xNzVbXtxeWzU3NzVbXtxeWzU31Qz+kAF8GP60AScZGUoYGFUYGE0YGAAAAAoAAP+iA7gDIAAPACAAMgBtANYBXwG8AgMCTQK5AAABJgYHBh4CNz4BNzYmJyYHNh4BFxYGBw4BLgI2Nz4BFwYPAQ4BFhcWPgE7ATUjNjcmAysBByMHIwcVDwUVHwUzPwMzNzM3MzczFzMXMxczHwEzPwM1LwQjNSMnIycXDwYVHwozHwYVHwIzHw0zPwQ1LwE1JyMvBiMvATUjLwsjLwEjLwcjNSc1LwQjBQ8BIw8EFQ8EFQcjBxUPAyMVBxUHIxUPBBUHIw8BFQ8CFQ8CIw8DFQ8DFQcVDwoVBxUfBD8EMz8ENT8mNS8DAQ8FFRcVBxUHFQcVBxUHFQcVBxUHFQcVBxUHFQ8HFR8EPwUzPwEzPwE1PwEzNzM3NTc1MzU3NTc1NzU3NTc1NzU3NTc1JzUvBAUPBRUXFRcVFzMfBTMfARUXFRcVFxUzFxUXFR8EPwQ1Lw01JzUnNSc1LwMBDxcfBD8EMz8DMzczNzM3MzczNzU3Mzc1NzM/AjM3MzU/AzUvBAUPBRUfAxUfATMfAjMfAhUfATMfARUfATMXMxczFzMfAjMXMxcVMx8HMxcVFzMVMxczPwQ1LwQjJyMnIycjLwojLwQjLwUjAfRAbxcZGFZ+Oj1RAQREOSsyJkgzCQ8tMSFQSzgaCRYYUGMJFB0JCQQIBAkNBFlZEiYOOwcNBg0NBycNDgQDAwQBAgMDCQQFBgwGFwYLBgYGBikGBgYGBgUfBAUMAwMCAgYDCicGBwYNB+kFBAQDAwECAgIGAgIDBgUEAwgBDgIIAgYCBAECAgECAwIDBQQDBAMKBQYDCQQJBAQDBAIEBgEEAwIDAgMCAQIIAQUDBAIEAgIFAgcCAgECCQECAgMHAwIDAgECAwIGAgoF/fMFBwECAwIDAgMCAwIDBAECAgMCBAEEBAECAgICAgIBAgICBAICBAEBAQIDAgIKAQICAgEEAQIBAgECAQICAQQEAw4ECAQDAQECAwECAgIBAgECAQIBAgIDAgECCAIBAgICAQQCBAEGAgoCBgMKAwYDBQMCAQQGCAUCsgQFAwYCAQEBAQEBAQECAQMFAwUDBAMCBgMBAgMGBAkJBAQDAgEBAwIBAgMDAgEFAQwDAQIBAQEBAQEBAQQDBAQI/KYEBQMEBAEBAwIBAwIBBAEKAQQDAgMCAQIDAQIEBwkJBAQDBAIEAgMCBwQBBgECAQIIAQEBAQUICAKxBAQJBAUKBA8FBQsPBgULBSEGCxAIBAUCAgQDBA0JBgYUBQESBgcFAQUBBQEFARwBCwUBBQUBBQsPAQQBAwMCAQQDBAQI/d4EBAQDAgIBAgMEDQIBAgMCAQIDAwsCAQgDAwUBAgECAQIBAgMDAQIBAgECBAMGAw0DHQIDDQQDDQkFCAUCAQQDBAQDBAgDFAIRAwkFEQIGBQMFBQUCAQ8CBQICAQQDBBEEBAUCNAFLOzmAWR4VFW1APnEaFScBIj0lN24dFQcaOE1RISUsMhIjNgEPEQMDAQYZIkQIAUgBAgYBAgQCAwQICQUEBAMEAQICAgQCAQEBAQEFAQYEAwkFCAgCBAYBAQFPAQEDAwQEBAUJBAYBAgEGAwQCCA4DCAMGAwQBAgIDBAMEAwcHAwgDEgoIAgQCAgMDCAoHBwEMCAQEBAQEBAQLAQcDBgIGAgMFAwcDAgMJAwICBwICAgIBAQECAgQCBQwBBAICAgICAQICAgICAQQCAQICAwQBBAEEAQIDAgMCAQIDAgECBgIBAgYDAwIFAgECDwMCAQIBAgMGAwMDAwMDAwMBBAkFCAMDAwEEAwMEBgUDAgUBAgMCAwIDAgMDAgUCAwIMAgMCAwIDBAMEAwYDCgMGAgoBBgIFBAQECQkGBAH+xgECAggEBAQEMwMJAwYCBgMDAwMDAwYCAwMJAg4DCAENBQsFBgoHBAUJBAYCAgICAwMDAwYGBgUBBQcPJgMKAwMHAwMEAwMEAwMEAwcDDgMsBQkIBAIDAhMBAgMDCAQbBgcTBw0TBgcNBh8NBQEFAQUBBQEFAQUBAQQEBAICAgMDCQkIBgYFBhALBhEFBgYFLwYFBgYMBgcFBwYC/rIBAgYEBAYECQQDBQkCAwQDDAEEAwQDBwkJCAMDAwICAQYCBgMCAwIDAw8GAQMDAQMEBwwEAQMEBAQJCAQDAgICAQMCBAQJBAUEBAMBCgICAgICAgEBBwIFAQEBAwICAQIBAgEBAQEBAgICBAIJAQEEAQQBBAcFBAkIBAIDAQMHBgMDBgICAwEDAgMCCQIDAgEEAQQNAQIAAAAAAwAAAAADIAJYAAMABwALAAATFSE1BRUhNQUVITXIAlj9qAJY/agCWAJYZGTIZGTIZGQAAAUAAP/TA9QC6QAaAFQAdACIAJwAAAEiBgc5ARQXFhcGBwYPARUhNScmJzY1OQE0JgcyMxcWFxYfARYXFjMxMj8BFhUUBwYHFxYXFhUWFRQPAQ4BIiYvASY1NDc0NzY/AScuATU0NzI3MzYHMDEGFxYXHgEyNjc2NzYnMDEWFxUjNSMVIzUjFSM1NhMiDgEVERQeATMhMj4BNRE0LgEjBSEyHgEVERQOASMhIi4BNRE0PgEBSCUyAQoGCSIXHg8BAUwBGksXMUkCAgQPCQYGAgUDBgoMCgQGBQYSAgYKAgEBAQkeJB4JAQEBAgoFAgQKDggDAQIJIgIBAgYMJiomDAYCAQIyEjAUnBUvEw41WTU1WTUCOjVaNDRaNf3GAjolPiQkPiX9xiU+JCQ+AmMxIxIWDgsMDxQcAoWFAjEaFyojMS8BAQICBAEEAQIFAwwPFg0PCxIBBAYGBAkCAgEKCgoKAQICCQQGBgQBFAMIIg4REAEDggwGDAUNDQ0NBQwGDBYgbExMTExsIgFLNFk1/m41WTQ0WTUBkjVZNDwkPSX+biU9JCQ9JQGSJT0kAAAAAAUAAAAAA48CkwADAAcACwAPABMAABMRIREFMxUjNyEVIQczFSM3IRUhWQM2/O2fn8ICLv3Swp+fwgIu/dICk/2XAmnRra2tI6WlpQADAAAAAANSArwABAAIABQAABMVESERBSERIQEVIxUzFTM1MzUjNZYCvP1wAmT9nAEFm5tam5sCvBn9XQK8LP2cAfqbWpubWpsAAAAABAAA/5YDvQMiABcAMwA/AEsAAAEiDgMWFx4CNz4BNzY3NicuAScmIxcyFxYXFhcWBgcGBwYHBicmJyYnJicmNz4CFwcVIxUzFTM1MzUjNQczFTMVIxUjNSM1MwHwV6V/RAFAPTuhsFFUhicpAwYeHnZOXmsIVVBOOToWFxcrLERGWlhWWENDJyYDAyMecpRPRn19jH19dV59fV59fQMiRn2hs6Y+P0kJHh16UVNYV1VThyYvMScmQkRST6dISi80EA8WFjk1UU9XWk5JcD4B0H2MfX2MfRd9Xn1+XQAAAAAEAAD/lgO9AyMAFgAxADsARAAAASYOAxYXHgI3PgE3Njc2Jy4BJyYHNhcWFxYXFgYHBgcGBwYnJicmJyYnJjc+AhcGDwEnAzc2NxcDFhcWFzcHJwcB9FimgUQBQD07obBRVIYnKQMGHh52Tl5rVlJQOjsXFxcrLERGWlhWWENDJyYDAyMecpT8ESIzgHQXSCOGiQcOQyIeHXwyAyIBRn6hs6Y+P0kJHh16UVNYV1VThyYvMQEmJUNEVE+nSEovNBAPFhY5NlBPV1pOSXA+0yNFaab+qh5bLpoBBgkSVSpDdJFNAAAGAAD/lQO+AyQAGwAxAEkAYABkAGkAAAEmBwYHBgcGFhcWFx4BNz4CNzYnLgEnJicjJgc2FxYXFhcWBgcOASYnLgI3Njc+ARcmBwYHBgcGFxYXFhcWNjc+AicmJy4BBzYXFhcWBxYGBwYHBiYnJicmNjc2NzYXBgchAxYXITYB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9SlVgYAGAwGQz/tIzAyICNjVaXWxctklKKCgLHB13pFlbU1OGKCkFAjEDMTBTVmNYrEBDOxArLI+zVVlCRE4rAzAvT1JbU1BONjgQECUwMoyiSUwyKzAwAiwqRkpQS4ssLwcJMTM1RUKQOz0iK2OsrQEmtFpaAAAAAAYAAP+VA74DJAAbADEASQBgAGoAdQAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NgUGDwEnAzc2NxcDFhcWFzcHJwcGBwHzbGVhQUILDDc8PVNPt1ZYhE8GBh4cd09QVwMVEGNdWTo8CAk9PkCmtE1QZCAVFzk4ol9bVVEyNQEEJCRBRFJNnj9BRQQeIDwwfEJQSkcrLAEBSD5AS0eMMzYUFRQnJz1KAQIRIjOAdBdII4aJBw5DIh4dfA4ZCwMiAjY1Wl1sXLZJSigoCxwdd6RZW1NThigpBQIxAzEwU1ZjWKxAQzsQKyyPs1VZQkROKwMwL09SW1NQTjY4EBAlMDKMoklMMiswMAIsKkZKUEuLLC8HCTEzNUVCkDs9Iit2I0Vppv6qHlsumgEGCRJVKkN0kRYkEwAAAwAA/5YDvwMiABsAMgA7AAABIgcGBwYHBhYXFhceATc2Nz4BNzYnLgEnJicmBzYXFhcWFxYGBwYHBiYnLgE2NzY3PgEXBg8BFzUXEQcB62xjYD9ACgs5PT5UTrRTV0BDUAgHHRt5UVNZDQ9PSEcrLAEDQDk8SEaQNzkyECYoQCNSGTZsL9HKygMiNzZbXWtct0dKJyYLHB07OaFYW1NViykqBAGOAikoRUdPSYkuMQwOKTAxh5c+QSMVFqImTSGUj48BKI8AAAAEAAD/8AOrAswAEwAnACsAOAAAEyIOARURFB4BMyEyPgE1ETQuASMFITIWFREUBisBESERIyImNRE0NhMhESE3HQEjFTMVMzUzNSM12CpHKipHKgI5KkcpKUcq/ccCOSw+Pix0/q5zLT09vwEU/uxzTU0uTU0CzClHKv5YKkcpKUcqAagqRykwPiz+WCw+ATT+zD4sAagsPv6Z/uztFzYuTU0uTQAAAAAEAAD/8AOrAswAEwAnACsALwAAEyIOARURFB4BMyEyPgE1ETQuASMFITIWFREUBisBESERIyImNRE0NhMhESE3FTM11ypHKSlHKgI6KkcpKUcq/cYCOiw+Pix0/q50LD09vwEU/uwlywLMKUcq/lgqRykpRyoBqCpHKTA+LP5YLD4BNP7MPiwBqCw+/pn+66cvLwAAAgAA//ADqwLMABMAIwAAEyIOARURFB4BMyEyPgE1ETQuASMFITIWFREUBiMhIiY1ETQ21ypHKSlHKgI6KkcpKUcq/cYCOiw+Piz9xiw9PQLMKUcq/lgqRykpRyoBqCpHKTA+LP5YLD4+LAGoLD4AAAMAAP+WA78DIgAbADIAPAAAASIHBgcGBwYWFxYXHgE3Njc+ATc2Jy4BJyYnJgc2FxYXFhcWBgcGBwYmJy4BNjc2Nz4BFwYPAScDNzY3FwHrbGNgP0AKCzk9PlROtFNXQENQCAcdG3lRU1kND09IRyssAQNAOTxIRpA3OTIQJihAI1LWESIzgHQXSCOGAyI3Nltda1y3R0onJgscHTs5oVhbU1WLKSoEAY4CKShFR09JiS4xDA4pMDGHlz5BIxUWdSNFaab+qh5bLpoAAAYAAP+VA74DJAAbADEASQBgAGsAeQAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NhcGAgc2NzY3FyYvARYfAScGBwYHBjc2NzYB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9SlUYTRcXKicUfRkxMgwWIkQIGRIGCgELFBYDIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIrb0L+80EXMCsVh06eUSRJbkoHHRQHCwYhQ0wAAAAABwAA/5IDwQMjABwANwBRAGoAewCNAJ8AAAEiIyIHBgcGBwYWFxYXHgE3Njc+ATc2LgEnJicmBzIzNhcWFxYXFgYHBgcOAScmJyYnJjc2Nz4BFyIjIgcGBwYHBhYXFhcWNjc2Nz4BJyYnLgEHMjMyFxYXFhcWBgcGBwYuAScuATc2Nz4BFyIGBwYeAjc+ATc2JicmIxcyHgEXFgYHDgEuAjY3PgEfAQYPAQ4BFhcWPgE7ATUjNjcmAfMBAmNeW0BCFhUeLi9ISLJZXEtKaBUWG15ISVY4OwUFXFZUOToPECo0NUpMtFNVOz0dHAkKLjW4bgUFVE9LMjQJCzY4OkxInUVGLTAeFBU2M45PAwNLRUMrLAYINzU4RUSPdiAiAh8hOihjLz9sFxkYVn46PVEBBEQ5KzIEJUYyCQ8tMSFQSzgaCRYYUCw3CRQdCQkECAQJDQRZWRImDgMiLi1OUGFWs01OMzUqDg8wLpFWV62bNjcUDjEBLStMTVtSqERGJyoKICFAP1dUWVtKV2krKypISVRPnTs8GxsNJSY/QKNPUjs6QzAnJkBBS0eLMjQSFBtVPkCWQkUrHyJhSjs5gFkeFRVtQD5xGhUnIzwkN24dFQcaOE1RISUsATESIzYBDxEDAwEGGSJECAAEAAD/lgO9AyMAFgAxADwASgAAASYOAxYXHgI3PgE3Njc2Jy4BJyYHNhcWFxYXFgYHBgcGBwYnJicmJyYnJjc+AhcGAgc2NzY3FyYvARYfAScGBwYHBjc2NzYB9FimgUQBQD07obBRVIYnKQMGHh52Tl5rVlJQOjsXFxcrLERGWlhWWENDJyYDAyMecpRPGE0XFyonFH0ZMTIMFiJECBkSBgoBCxQWAyIBRn6hs6Y+P0kJHh16UVNYV1VThyYvMQEmJUNEVE+nSEovNBAPFhY5NlBPV1pOSXA+zEL+80EXMCsVh06eUSRJbkoHHRQHCwYhQ0wABAAA/5YDvQMjABYAMQA1ADoAAAEmDgMWFx4CNz4BNzY3NicuAScmBzYXFhcWFxYGBwYHBgcGJyYnJicmJyY3PgIXBgchAxYXITYB9FimgUQBQD07obBRVIYnKQMGHh52Tl5rVlJQOjsXFxcrLERGWlhWWENDJyYDAyMecpRPYGABgMBkM/7SMwMiAUZ+obOmPj9JCR4delFTWFdVU4cmLzEBJiVDRFRPp0hKLzQQDxYWOTZQT1daTklwPsCsrQEmtFpaAAcAAP/TA9QC6QATACcAKwAzADcAOwA/AAATIg4BFREUHgEzITI+ATURNC4BIwUhMh4BFREUDgEjISIuATURND4BFxEhEQUhFSE1IxUjFTMVIzchFSEDFSE11zVZNTVZNQI6NVo0NFo1/cYCOiU+JCQ+Jf3GJT4kJD4BAfr+GwHP/qkWYmJieAFX/ql2Ac0C6TRZNf5uNVk0NFk1AZI1WTQ8JD0l/m4lPSQkPSUBkiU9JEj+hAF8g2hnZxVmZmYBTmxsAAACAAAAAAN9ApMASgCzAAABIgc5AQYHOQEGBzkBBgcGHQEUFzAxFhcWMxY3OQEyNjU0JzMyNzY3MTYnPgE0Jy4BKwE2NTkBNCcuASMFNzY/ATY3PgEnLgEvATEHMDIVMhc5ARYGBzkBBg8BDgEVFBcxHgEXFjsBFjczMhYXFhQHBisBFSEyFhcWFTEUBiMhFSEyFhcWBzkBDgEjIRUzMhYXFhU5ARQHDgEjBic5ASInJic1Jj0BNDc2NzY3MTY3MTYzNDMBzA0SPbgvEwgCAQgQLShB3NsaHQUQGg4NBgYMGxsOCBgOFQYPCBgO/sMFBgQOEwYPBA0GEgoFAQEFBQUCBwgdDBYKAgIFBwMCDEuWcQYIBAgHBA/yAT4GCAQHCg/+wgEPBwkECAMDCwv+8c0FBgMGBgIGBtvbOR4hDQcBAgYRJMMxBwQBApMKKIAgPxggEyQNMSJBHhoBASMcDxEOCxgeFwMhOxQKDQ4RHRMLDAEFBwMOFQcTLhIKDAIBIwEIBxoJCh0MFQ0GAwYFBgEBAQEEBQwfCQYjBAUKEhMMIwYGDRUMCSMDBAgRDwgDAgEBFBY0AR4sCiQSHRUzGYcgBAEAAAMAAAAAA4oCagADAAYACwAAExEhEQUhBSUFJREhXwMr/SgChP6+/o4BcgFz/RsCav3pAhcj1Mr09P45AAIAAP/TA9QC6QATACMAABMiDgEVERQeATMhMj4BNRE0LgEjBSEyFhURFAYjISImNRE0Nuc5YTk5YTkCGjlhOTlhOf3mAhorOjor/eYrOjoC6ThfOf6KOV84OF85AXY5XzhuOSn+iik5OSkBdik5AAAFAAD/mgO4AyIAFAApADoATABeAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYHMhcWFxYUBwYHBiInJicmNDc2NzYXIgYHBh4CNz4BNzYmJyYjFzIeARcWBgcOAS4CNjc+AR8BBg8BDgEWFxY+ATsBNSM2NyYB9HpqZjw+PjxmavRqZjw+PjxmanpuXls1Nzc1W17cXls1Nzc1W15qP2wXGRhWfjo9UQEERDkrMgQlRjIJDy0xIVBLOBoJFhhQLDcJFB0JCQQIBAkNBFlZEiYOAyI+PGZq9GpmPD4+PGZq9GpmPD4xNzVbXtxeWzU3NzVbXtxeWzU3vUo7OYBZHhUVbUA+cRoVJyM8JDduHRUHGjhNUSElLAExEiM2AQ8RAwMBBhkiRAgABQAA/5YDvQMjABYAMQA2AEAARgAAASYOAxYXHgI3PgE3Njc2Jy4BJyYHNhcWFxYXFgYHBgcGBwYnJicmJyYnJjc+AgcUFSERBTIzBgcGBwYHJjcUFSE1FwH0WKaBRAFAPTuhsFFUhicpAwYeHnZOXmtWUlA6OxcXFyssREZaWFZYQ0MnJgMDIx5ylH4Bmv7BcnIPIBgNFRBA4/7InAMiAUZ+obOmPj9JCR4delFTWFdVU4cmLzEBJiVDRFRPp0hKLzQQDxYWOTZQT1daTklwPvicnAE4MQkcFgkPAjQFXV26fQAABAAA/5UDvgMjABsAMwBKAGEAAAEmBwYHBgcGFhcWFx4BNz4CNzYnLgEnJicjJgc2FxYXFhcWBgcGBwYmJyYnLgE3Njc+ARciBwYHBhUGFhcWFxY2Nz4CJyYnLgEHMhcWFxYHFAYHBgcGJicmJyY2NzY3NgHwbGRhP0ILDDc8PVNPt1ZYhE8GBh4cdU5PVgMbBWNbWDg6BghBQEJUUbFMTjAzIBYWOjqnTVtSUDEyAkxCRVJMmz5ARAQfIDwygDVRSUcpKgNJPUBKR4wzNhQVFCcoPU0DIgE2NVpda1y2SUooKAscHXekWVtTUoYoKQYCMQEzMlRXY1irQEEbHBMqLEdHs1ZZQkZOLjIwUFNbU5s1Nw4PJzAxjKJJTDIsLzEtK0hKUUqHLC0HCTEzNUVCkDs+IS0AAAAABgAA/5UDvgMkABsAMQBJAGAAaABxAAABJgcGBwYHBhYXFhceATc+Ajc2Jy4BJyYnIyYHNhcWFxYXFgYHDgEmJy4CNzY3PgEXJgcGBwYHBhcWFxYXFjY3PgInJicuAQc2FxYXFgcWBgcGBwYmJyYnJjY3Njc2FxQVIxUzFTcnFh8BBzUjNTMB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9Sofi4qWJESIzZt/fAyICNjVaXWxctklKKCgLHB13pFlbU1OGKCkFAjEDMTBTVmNYrEBDOxArLI+zVVlCRE4rAzAvT1JbU1BONjgQECUwMoyiSUwyKzAwAiwqRkpQS4ssLwcJMTM1RUKQOz0iK3QyMr5kw3oUKD15NoUAAAADAAD/lgO/AyIAGwAyAD0AAAEiBwYHBgcGFhcWFx4BNzY3PgE3NicuAScmJyYHNhcWFxYXFgYHBgcGJicuATY3Njc+ARcGAgc2NzY3FyYnAetsY2A/QAoLOT0+VE60U1dAQ1AIBx0beVFTWQ0PT0hHKywBA0A5PEhGkDc5MhAmKEAjUikYTRcXKicUfRkxAyI3Nltda1y3R0onJgscHTs5oVhbU1WLKSoEAY4CKShFR09JiS4xDA4pMDGHlz5BIxUWbkL+80EXMCsVh06eAAAABQAA/6wDtgMbAAgADAAQABQAGAAAARURITUjETM1AQcXNw8BFzcPARc3DwEXNwKlARHg4P6eSzxL00s8S9JMPEvSTDxMAxsZ/LExAwUy/n48SzwsPEs7LDtMPCw8SzsABAAA/2oCogNSAAMAFAAeACkAACUhFSEBETMyNj0BNCc+AT0BNCcmIwczMhYdARQGKwEHMzIXFh0BFAYrAQKi/qQBXP6ksFVWUSMgJihUOTkfGiAiMAU1JRASHB1DKb8D6P02VFI6eyISRjccUCgqZCQoJikjbhIUMD4mIQAAAAAEAAD/mgO4AyIAEAAUAGoAbwAAASIHAQYUFwEWMjcBNjQnASYHCQIlMQ8DFS8CDwQfAiMPAxUfAzMPAh8EPwIVHwMzPwM1HwI/BC8CMz8CNS8CIz8CLwQPAjUvAgcwOQEwAfQPC/5hCgoBnwsfCgGfCwv+YQsPAYb+ev56AX0EBAIBYwMEBAQNAgEBAmOMBAMCAQECAwSMYwIBAQINBAQEA2MBAgQEEgQEAgFjAwQEBA0CAQECY4wEAwMDAwSMYwIBAQINBAQEA2MBAgSLAyIL/mEKHwv+YQoKAZ8LHwoBnws+/nr+egGGxgECAwSMYwIBAQINBAQEA2MBAgQEEgQEAgFjAwQEBA0CAQECY4wEAwIBAQIDBIxjAgEBAg0EBAQEYgECBBoEAgFjAwQEBA0CAQECY4wEAwMwAAAABAAA/5oDuAMiABAAFAAaAB8AAAEiBwEGFBcBFjI3ATY0JwEmBwkCJQ8BFyE3JxcHIycB9A8L/mEKCgGfCx8KAZ8LC/5hCw8Bhv56/noBhgfQUgEKUte7SOZIAyIL/mEKHwv+YQoKAZ8LHwoBnws+/nr+egGG4AWX/f1+h9zcAAACAAD/mgO4AyIADwATAAATBhQXARYyNwE2NCcBJiIHCQM7CgoBnwsfCgGfCwv+YQofC/6UAYYBhv56AXgKHwv+YQoKAZ8LHwoBnwsL/kcBhv56/noAAAAABAAA/5oDuAMiABAAFAAhAC4AAAEiBwEGFBcBFjI3ATY0JwEmBwkCJSIOARQeATI+ATQuAQcyHgEUDgEiLgE0PgEB9A8L/mEKCgGfCx8KAZ8LC/5hCw8Bhv56/noBhjlhODhhcmE4OGE5M1YyMlZmVjIyVgMiC/5hCh8L/mEKCgGfCx8KAZ8LPv56/noBhtI4YXJhODhhcmE4FzJWZlYyMlZmVjIAAAAAAwAA/5YDvwMiABsAMgBKAAABIgcGBwYHBhYXFhceATc2Nz4BNzYnLgEnJicmBzYXFhcWFxYGBwYHBiYnLgE2NzY3PgEXJgcOAQcGFxYXHgE3Njc2Nz4BJyYnLgEB62xjYD9ACgs5PT5UTrRTV0BDUAgHHRt5UVNZDQ9PSEcrLAEDQDk8SEaQNzkyECYoQCNSKTYyL0IJCxIOKCVpNTgsLhoZBBYWLB5LAyI3Nltda1y3R0onJgscHTs5oVhbU1WLKSoEAY4CKShFR09JiS4xDA4pMDGHlz5BIxUWUQIaGVk0ODM0KCUlBgcgHTIvbzA0IBgaAAMAAP+WA78DIgAbADIANgAAASIHBgcGBwYWFxYXHgE3Njc+ATc2Jy4BJyYnJgc2FxYXFhcWBgcGBwYmJy4BNjc2Nz4BFwYHIQHrbGNgP0AKCzk9PlROtFNXQENQCAcdG3lRU1kND09IRyssAQNAOTxIRpA3OTIQJihAI1IpYGABgAMiNzZbXWtct0dKJyYLHB07OaFYW1NViykqBAGOAikoRUdPSYkuMQwOKTAxh5c+QSMVFmKsrQACAAD/kgPBAyMAGgAxAAABIgcGBwYHBh4BFx4BNzY3PgE3NicuAScmJyYHMhcWFxYXFgYHDgEmJyYnLgE3Njc+AQHwZF5bQUIVFCBgSUevWFpJSmkWFw4NYkpMWTQnSkRBKy0HCTAzNIaQPD4iJgcfIDwqZgMiLy1QUWJWs5syMygODy8tkVVYVlqeNjgSC44lJD4/SUaLMzUrFCcoPUCaRUgsICEAAAADAAD/lgO/AyIAGgAvADkAAAEiBwYHBgcGFhcWFx4BNzY3PgE3NicuAScmJwc2FxYXFhcWBgcOASYnLgE2NzY3NhcGDwEXITY/ASYB62xjYD9ACgs5PD5UT7RTV0BDUAgHHRt5UVNZHE9IRyssAQNAOjuOkDc5Mg8nKEBIViRHbFIBChcrEEcDIjg2Wl5rXLZHSicmCxwcOzqhWFtTVYspKgSNAikoRUdPSYkvMBopMDGHlj9BIytWGjRO/USIMTQAAAAABAAA/5YDvwMiABsAMgA3AD0AAAEiBwYHBgcGFhcWFx4BNzY3PgE3NicuAScmJyYHNhcWFxYXFgYHBgcGJicuATY3Njc+AQcWFzY3BRQVIREHAetsY2A/QAoLOT0+VE60U1dAQ1AIBx0beVFTWQ0PT0hHKywBA0A5PEhGkDc5MhAmKEAjUn5WVThy/oUBmskDIjc2W11rXLdHSicmCxwdOzmhWFtTVYspKgQBjgIpKEVHT0mJLjEMDikwMYeXPkEjFRaaRUUuXCCMjAESowAAAAMAAP+WA78DIgAbADIAOgAAASIHBgcGBwYWFxYXHgE3Njc+ATc2Jy4BJyYnJgc2FxYXFhcWBgcGBwYmJy4BNjc2Nz4BFxQVIxUzFTcB62xjYD9ACgs5PT5UTrRTV0BDUAgHHRt5UVNZDQ9PSEcrLAEDQDk8SEaQNzkyECYoQCNSW+LipQMiNzZbXWtct0dKJyYLHB07OaFYW1NViykqBAGOAikoRUdPSYkuMQwOKTAxh5c+QSMVFnMyMr5kwwAAAAcAAP+VA74DJAAbADEASQBgAGUAbwB1AAABJgcGBwYHBhYXFhceATc+Ajc2Jy4BJyYnIyYHNhcWFxYXFgYHDgEmJy4CNzY3PgEXJgcGBwYHBhcWFxYXFjY3PgInJicuAQc2FxYXFgcWBgcGBwYmJyYnJjY3Njc2BxQVIREFMjMGBwYHBgcmNxQVITUXAfNsZWFBQgsMNzw9U0+3VliETwYGHhx3T1BXAxUQY11ZOjwICT0+QKa0TVBkIBUXOTiiX1tVUTI1AQQkJEFEUk2eP0FFBB4gPDB8QlBKRyssAQFIPkBLR4wzNhQVFCcnPUp4AZr+wXJyDyAYDRUQQOP+yJwDIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIrm5ycATgxCRwWCQ8CNAVdXbp9AAUAAP+VA74DJAAbADEASQBgAGkAAAEmBwYHBgcGFhcWFx4BNz4CNzYnLgEnJicjJgc2FxYXFhcWBgcOASYnLgI3Njc+ARcmBwYHBgcGFxYXFhcWNjc+AicmJy4BBzYXFhcWBxYGBwYHBiYnJicmNjc2NzYXBg8BFzUXEQcB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9SkU2bC/RysoDIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIroyZNIZSPjwEojwAAAAAEAAD/lgO9AyMAFgAxADsAQgAAASYOAxYXHgI3PgE3Njc2Jy4BJyYHNhcWFxYXFgYHBgcGBwYnJicmJyYnJjc+AhcGDwEXITY/ASYnFhcHIyc2AfRYpoFEAUA9O6GwUVSGJykDBh4edk5ea1ZSUDo7FxcXKyxERlpYVlhDQycmAwMjHnKUTyRHbFIBChcrEEeQfD9I5kg/AyIBRn6hs6Y+P0kJHh16UVNYV1VThyYvMQEmJUNEVE+nSEovNBAPFhY5NlBPV1pOSXA+tBo0Tv1EiDE0Slot3NwtAAAABgAAAAADRQKVACgATgBSAFYAWgBeAAABDwEGBwYHFBcWFzEWFxYXFgcGDwEhNzM+AScmJyYvASYnJjU0NzY/AQUhBgcGFQYXFhcxFhcWFxYHBgcGByE2NzYnJicmLwEmJyY3NDc2FxUzNQcVMzUHFTM1BxUzNQF8BAJUKSYCGxAoJBAXAwIWG0hKAcoFAU1FBQQXDyMNIhAUHSRNSf5EARonFScBGxAoJBAXAwEEBA0ZRf7lHxAjBQQYDyQMIg8VARwhCtzl5X3dvuUClQIBMjAuLigoGCklFR4VGhwjKysDLVctISIUJA4iFx4ZHSEqLisuHRouLigoGCklFR4VDQwODyEpFxYsLCIiFCUMIxYeGR0hJyIVFXMWFnQVFXMWFgAAAAQAAP/TA9QC6QATACcAawDGAAATIg4BFREUHgEzITI+ATURNC4BIwUhMh4BFREUDgEjISIuATURND4BFyIHOQEGDwEGBzkBBgcGHQExFBcwMR4BMxY3OQEyNjU0JzMyNjcwMTYnPgE3NjQmKwE2NTkBNCcuASsBNzY3PgEnJicHMDEyFzkBFgYHOQEGDwEGFzEWHwEzFjczMhcWFAcGIyInFRYzMhYVMRQHDgErARUzMhYHOQEOASsBFTMxMhYVOQEUBwYHITEmJyYnOQEmNTE0NzY/ATY/ATYz1zVZNTVZNQI6NVo0NFo1/cYCOiU+JCQ+Jf3GJT4kJD6qCggXaRkdDQUBAQULNCmJiRERAwoQEQQDBwgOBAgTEw4FCgQQCMYJFAUJAgcKDAMEAwMCBAIVGQQDAgcCAjFkRAkCBQUDCGYzQ4UHCQQDBAXIqwcLAwEHB6uCBgYDAwb+7iITFgcFBgsWQUgPAgQBAuk0WTX+bjVZNDRZNQGSNVk0PCQ9Jf5uJT0kJD0lAZIlPSQoBg9IERUnDxQMFwccGCsqAgIWEAoJEQ8UDgEJBgwlHAwMEgsGBwkUBgwdCw4BFgUFDwYDFRkGBwcBAQEBBQUXBQYBFgENCwsIAwMWEA4HBxYHDAcGAwECEBMgFRoyFSAQLDIKAQEAAgAAAAADhgJgAAIABwAAEwUlBREhEQVjAZEBkfzfAyL+bgJg4+NU/kABwOAAAAAABQAAAAADLAJ3ACYATgCGAI8AmAAAARQVBgcnBxcGByMVMxYXNQc1Mzc2PwEnNxc3Nj8BNTMVMyYnJic1BxUGBycHFwYHIxU3FhcHFzcWFxUzNTY3FzcnNjczNSMmJzcnByYnNwczBxcWHwE3FwcXFh8BMxUPAQYPARcHJwcGDwEVIzUnJi8BByc3JyYvAQc1Mzc2PwEnNxc3Nj8BFyIGFBYyNjQmBzIWFAYiJjQ2AZ0WFihKKAwGODgIFDExAwYRCCIZIgwaIA4kXgYWEQ4GGxEoSicLBjk5BwsoSykTGWkZEylKKQwGODgICydLJxYWAUckAQ8eHAsiGSEIEgYDMTEDBhEIJBojDBsfDiMPHxsLJBokCBIGAzIyAwYRCCMZIwwYIg4SIC8vQC8vIBMZGSUaGgJ3HBwGDCdKKBMYahkeWwEkDh8aDCMZIggQCAMwMAcJCAQ3ZTcICyhLKBQXagEVFyhKKAwGOToGDChLKBYWaRkSJ0onDAY3IzADBhEIIhkiDBseDiMBDh8aDCMaJAgSBgMzMgMGEggkGSMMGx8OASQOHhwMIhkiCBAIA1AvQS4uQS8jGiUZGSUaAAAAAAUAAP/TA9QC6QATACcAKwAuADMAABMiDgEVERQeATMhMj4BNRE0LgEjBSEyHgEVERQOASMhIi4BNRE0PgEHESERBSEHJxc3ESHXNVk1NVk1Ajo1WjQ0WjX9xgI6JT4kJD4l/cYlPiQkPgECDv4oAaLR8PDx/h8C6TRZNf5uNVk0NFk1AZI1WTQ8JD0l/m4lPSQkPSUBkiU9JFP+pQFbF4mDnp7+2QAAAAMAAAAAAxECnQAgAFgAeQAAASIHDgEVOQEUFxYXBgcGDwEVITUnJicmJzY1OQE0JicmBzIXFhcWHwEWFxYXMTY/ATY3FhUUBwYHHwIWFQYPAQ4BIiYvASYnND8DJicuAScmNTQ/ATYHMBUGFxYXFhcWMjc2NzY3Nic1FhcVIzUjFSE1IxUjNTYB8CskIicQCxA7KDUaAgJCAhk0KDooJyIkaAkFGhAMCQQIBgoQGQ4CBAIKCQweBBwEAQEBARA3OjcQAQEBAQQbAwQDBxAGDQ8GDDQDAgILFiIgSCAiFgsCAwRWIFMj/vAjUyACnBUTRCYiJRoRFBojMQTn5wQwIxoUKUomRBMVUwEBBQQGAgYCAwEBCAICARQaJxYbEiAJFAgPBAQCEBISEAIEBA8IFAkiBAIFFw0fGh8ZAgXhAQwSFAsWDAsLDBYKFQ0RASY5u4SEhIS7OQAAAgAA/5YDvQMiABcAMwAAASIOAxYXHgI3PgE3Njc2Jy4BJyYjFzIXFhcWFxYGBwYHBgcGJyYnJicmJyY3PgIXAfBXpX9EAUA9O6GwUVSGJykDBh4edk5eawhVUE45OhYXFyssREZaWFZYQ0MnJgMDIx5ylE8DIkZ9obOmPj9JCR4delFTWFdVU4cmLzEnJkJEUk+nSEovNBAPFhY5NlBPV1pOSXA+AQAABQAA/5UDvgMkABsAMQBJAGAAawAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NhcGAgc2NzY3FyYnAfNsZWFBQgsMNzw9U0+3VliETwYGHhx3T1BXAxUQY11ZOjwICT0+QKa0TVBkIBUXOTiiX1tVUTI1AQQkJEFEUk2eP0FFBB4gPDB8QlBKRyssAQFIPkBLR4wzNhQVFCcnPUpVGE0XFyonFH0ZMQMiAjY1Wl1sXLZJSigoCxwdd6RZW1NThigpBQIxAzEwU1ZjWKxAQzsQKyyPs1VZQkROKwMwL09SW1NQTjY4EBAlMDKMoklMMiswMAIsKkZKUEuLLC8HCTEzNUVCkDs9IitvQv7zQRcwKxWHTp4AAAAABgAA/5UDvgMkABsAMQBJAGAAagBxAAABJgcGBwYHBhYXFhceATc+Ajc2Jy4BJyYnIyYHNhcWFxYXFgYHDgEmJy4CNzY3PgEXJgcGBwYHBhcWFxYXFjY3PgInJicuAQc2FxYXFgcWBgcGBwYmJyYnJjY3Njc2FwYPARchNj8BJicWFwcjJzYB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9SlUkR2xSAQoXKxBHkHw/SOZIPwMiAjY1Wl1sXLZJSigoCxwdd6RZW1NThigpBQIxAzEwU1ZjWKxAQzsQKyyPs1VZQkROKwMwL09SW1NQTjY4EBAlMDKMoklMMiswMAIsKkZKUEuLLC8HCTEzNUVCkDs9IitXGjRO/USIMTRKWi3c3C0AABAAAP+gA7sDIgAKABgAJgA1AEcAWABpAHcAhACTAKEArgC8AM4A3ADvAAABBgIHNjc2NxcmLwEWHwEnBgcGBwY3Njc2EwYHDgEWNzYXFjYmJyYXJgYWFxYXFj4BJy4BJyYFBgcGBwYHBgcGFjI3Njc2LgEzIgciBw4BHgE3NhcWNjQnJgcGBwYPAQYHBh4BNzY3NjQmBSYGFhcWFxYyNicmJyYFJgcGFx4BNicmNzYmBSYGFxYHBh4BNz4BJy4BBSYGFxYXFj4BJyY3LgEFJgcGBwYeATc2Ny4BBSIGFhcWFxY2JicmJyYFDgEHBgcGDwEOARY3Njc+ASYFIgYWFxYXFjYmJyYnJgUGBwYHBgcGBw4BFjc+ATc2LgEB9BhNFxcqJxR9GTEyDBYiRAgZEgYKAQsUFgxKLwwBEwxeZgwOBQwxygwPAwtMLQcZDwQYSS4E/fULCgYLCAVBIQQRGAcpUQYBDf8EChIHDQkJFAlORwwSC0LqDQ4JEAo9GQURGQYpUAgOAX8MDgIKNBkHGRAEGkQE/cMZBQsbBhgSAhoQAQ4C6Q8NAwEwBBAYBx0bBAIO/KQPDgMCMQcZDwUvAgENAuwaAg0yBg8ZCD0MAQ39qAsMAgg/VAwRAQtPNwYBnwwrCxMZDx4RDAUPDGFQCAEN/j0LDQMKWWkMDgUMZE8GAhgJCQUKDgg0WQsCEQ02ZSkHAg0CJkL+80EXMCsVh06eUSRJbkoHHRQHCwYhQ0wBdAIQBhkRBBkWARMZBAxTARMYBThbCgETDDJYIAIKAQcFCwgEPlAMEgtdQAcTDgECBBURCAMGHwQRGQYfJwIIBQwHMDAMEwELQC4HEw87ARIXBjVUCxMMXUEDqQIrVk0LAxEMUFQKDi0BGg5lXgwSAQo2eT4IChABGg5rWgoCEwxbZggLOAIpP0MMFAMLT1sJDqARFgZJHQMSGAYeQgZNAxUDBwQDAwIEGBQBAjAHFQ8nExYFSBMBFBgEFUIDAwEFAwkLAyMWBhkSAwsxIwcTDgAAAAAFAAD/lQO+AyQAGwAxAEkAYABoAAABJgcGBwYHBhYXFhceATc+Ajc2Jy4BJyYnIyYHNhcWFxYXFgYHDgEmJy4CNzY3PgEXJgcGBwYHBhcWFxYXFjY3PgInJicuAQc2FxYXFgcWBgcGBwYmJyYnJjY3Njc2FxQVIxUzFTcB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9Sofi4qUDIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIrdDIyvmTDAAAAAA0AAP+iA7gDIAAEAAgADAAQABQAGABTALwBRQGiAekCMwKfAAABFREhEQUzESMTFTM1BxUzNQcVMzUHFTM1AysBByMHIwcVDwUVHwUzPwMzNzM3MzczFzMXMxczHwEzPwM1LwQjNSMnIycXDwYVHwozHwYVHwIzHw0zPwQ1LwE1JyMvBiMvATUjLwsjLwEjLwcjNSc1LwQjBQ8BIw8EFQ8EFQcjBxUPAyMVBxUHIxUPBBUHIw8BFQ8CFQ8CIw8DFQ8DFQcVDwoVBxUfBD8EMz8ENT8mNS8DAQ8FFRcVBxUHFQcVBxUHFQcVBxUHFQcVBxUHFQ8HFR8EPwUzPwEzPwE1PwEzNzM3NTc1MzU3NTc1NzU3NTc1NzU3NTc1JzUvBAUPBRUXFRcVFzMfBTMfARUXFRcVFxUzFxUXFR8EPwQ1Lw01JzUnNSc1LwMBDxcfBD8EMz8DMzczNzM3MzczNzU3Mzc1NzM/AjM3MzU/AzUvBAUPBRUfAxUfATMfAjMfAhUfATMfARUfATMXMxczFzMfAjMXMxcVMx8HMxcVFzMVMxczPwQ1LwQjJyMnIycjLwojLwQjLwUjAV0BLv7q/v4aysrKysrKymEHDQYNDQcnDQ4EAwMEAQIDAwkEBQYMBhcGCwYGBgYpBgYGBgYFHwQFDAMDAgIGAwonBgcGDQfpBQQEAwMBAgICBgICAwYFBAMIAQ4CCAIGAgQBAgIBAgMCAwUEAwQDCgUGAwkECQQEAwQCBAYBBAMCAwIDAgECCAEFAwQCBAICBQIHAgIBAgkBAgIDBwMCAwIBAgMCBgIKBf3zBQcBAgMCAwIDAgMCAwQBAgIDAgQBBAQBAgICAgICAQICAgQCAgQBAQECAwICCgECAgIBBAECAQIBAgECAgEEBAMOBAgEAwEBAgMBAgICAQIBAgECAQICAwIBAggCAQICAgEEAgQBBgIKAgYDCgMGAwUDAgEEBggFArIEBQMGAgEBAQEBAQEBAgEDBQMFAwQDAgYDAQIDBgQJCQQEAwIBAQMCAQIDAwIBBQEMAwECAQEBAQEBAQEEAwQECPymBAUDBAQBAQMCAQMCAQQBCgEEAwIDAgECAwECBAcJCQQEAwQCBAIDAgcEAQYBAgECCAEBAQEFCAgCsQQECQQFCgQPBQULDwYFCwUhBgsQCAQFAgIEAwQNCQYGFAUBEgYHBQEFAQUBBQEcAQsFAQUFAQULDwEEAQMDAgEEAwQECP3eBAQEAwICAQIDBA0CAQIDAgECAwMLAgEIAwMFAQIBAgECAQIDAwECAQIBAgQDBgMNAx0CAw0EAw0JBQgFAgEEAwQEAwQIAxQCEQMJBRECBgUDBQUFAgEPAgUCAgEEAwQRBAQFAhwM/pABfBj+tAEnGRlKGBhVGBhNGBgCLQECBgECBAIDBAgJBQQEAwQBAgICBAIBAQEBAQUBBgQDCQUICAIEBgEBAU8BAQMDBAQEBQkEBgECAQYDBAIIDgMIAwYDBAECAgMEAwQDBwcDCAMSCggCBAICAwMICgcHAQwIBAQEBAQEBAsBBwMGAgYCAwUDBwMCAwkDAgIHAgICAgEBAQICBAIFDAEEAgICAgIBAgICAgIBBAIBAgIDBAEEAQQBAgMCAwIBAgMCAQIGAgECBgMDAgUCAQIPAwIBAgECAwYDAwMDAwMDAwEECQUIAwMDAQQDAwQGBQMCBQECAwIDAgMCAwMCBQIDAgwCAwIDAgMEAwQDBgMKAwYCCgEGAgUEBAQJCQYEAf7GAQICCAQEBAQzAwkDBgIGAwMDAwMDBgIDAwkCDgMIAQ0FCwUGCgcEBQkEBgICAgIDAwMDBgYGBQEFBw8mAwoDAwcDAwQDAwQDAwQDBwMOAywFCQgEAgMCEwECAwMIBBsGBxMHDRMGBw0GHw0FAQUBBQEFAQUBBQEBBAQEAgICAwMJCQgGBgUGEAsGEQUGBgUvBgUGBgwGBwUHBgL+sgECBgQEBgQJBAMFCQIDBAMMAQQDBAMHCQkIAwMDAgIBBgIGAwIDAgMDDwYBAwMBAwQHDAQBAwQEBAkIBAMCAgIBAwIEBAkEBQQEAwEKAgICAgICAQEHAgUBAQEDAgIBAgECAQEBAQECAgIEAgkBAQQBBAEEBwUECQgEAgMBAwcGAwMGAgIDAQMCAwIJAgMCAQQBBA0BAgAAAAMAAP/SAyMC6gAFAAwAEQAAASIjESERJxQVMxEhEQUWHwEjAnLW1wJe5bj9/AF5FSo+fQLq/OgCYoldXf38Ar4MFStBAAAAAAgAAP/TA9QC6QATACcATgByAHYAegB+AIIAABMiDgEVERQeATMhMj4BNRE0LgEjBSEyHgEVERQOASMhIi4BNRE0PgEXByMOARQXFhcxFhcWFxYHBg8BITc2NzYnJicmLwEmJyY1NDc2PwEHMwYHBhUUFxYfARYXFhcWBwYHIzY3NicmJyYvASYnJjU0NzYXFTM1BxUzNQcVMzUHFTM11zVZNTVZNQI6NVo0NFo1/cYCOiU+JCQ+Jf3GJT4kJD5/AwEwLA8IFxUJDQECDRMlKQEBAy4QFAMCDQgUCBMIDBARLyn5nhYLFw4JFgIUCQ0BAg0OJ54TBxMCAg4IFQYTCQsQFAR7gIBGfGqAAuk0WTX+bjVZNDRZNQGSNVk0PCQ9Jf5uJT0kJD0lAZIlPSRcAhw2LxYNGBULEQwPDxYVGQIcFhkYEhMLFQgUDBENEBMVHRgaEQ4aGRYWDRcCFAwRDA8PExcQChcaExMLFQcTDRENEBMXFAwMQAwMQQwMQQwMAAQAAP/TA9QC6QATACcAKgAvAAATIg4BFREUHgEzITI+ATURNC4BIwUhMh4BFREUDgEjISIuATURND4BBxc3BREhEQfXNVk1NVk1Ajo1WjQ0WjX9xgI6JT4kJD4l/cYlPiQkPgX6+v4NAfT7Auk0WTX+bjVZNDRZNQGSNVk0PCQ9Jf5uJT0kJD0lAZIlPSRfjY00/ukBF4wABQAAAAADSAKpABsAMgBKAGIAegAAASIHBgcGDwERFhcWFxYgNzY3NjcRNCcmJyYnJgcyFxYXFhcGBwYHBiInJicmJzY3Njc2BzIfARYXFjI3Nj8BFQYHBgcGIicmJyYnFTIfARYXFjI3Nj8BFQYHBgcGIicmJyYnFTIfARYXFiA3Nj8BFQYHBgcGIicmJyYnAfR9XjAfIgcBBiQgL1cBCFcvICMHAQciHzBefXtZKxoRBgYRGSxc8FwsGREGBhEaK1m2AQMDGzRe+l40GwcEFBksXPBcLBkUBAEDAxs0XvpeNBsHBBQZLFzwXCwZFAQBAwMbNFcBCFc0GwcEFBksVf5VLBkUBAKpFAsQERoE/iUaFBEJFBQJERMbAdsDARoREAsUIxQJDQkKCgkOCRMTCQ4JCgoJDQkUawICDgwUFAwOBCkLCg4JExMJDgsKMAICDgwUFAwOBCkLCg4JExMJDgsKMAICDgwUFAwOBPMLCg4JExMJDgsKAAkAAP+fA70DIAAKABgAJgA0AEoAWgBoAHoAjgAAAQYCBzY3NjcXJi8BFh8BJwYHBgcGNzY3NhMGBw4BFjc2FxY2JicmFyYGFhcWFxY+AScmJyYFBgcGDwEGBwYHBhY2NzY3PgE3NjQmASYGFxYGBwYeATc+AScuAQUmBhcWFxY+AScmJy4BAQYHBgcGBwYHDgEWNzY3Ni4BBSIGFhcWHwEWMzI2JicmLwEmJyYB9BhNFxcqJxR9GTEyDBYiRAgZEgYKAQsUFhBQLwsBEgxhYw0OBgwrxQwPBAtCOAkYDQY4UwT98AoLBgsLLykJAgMZGQQlLQQWBAgNAq0PDQMDGBkEDxkHHxoHAg38pA8OAwUvBxkPBC0CAQ0CrgkJBgoNCDZWDAESDG5VBwIN/dkLDQMKQ2AGEggPDREOYTsDBgQGAiZC/vNBFzArFYdOnlEkSW5KBx0UBwsGIUNMAXICDwYZEgQYFAEUGAQLTwETGAUvZgoFFQtrOwMLAQgECwsuSw8LDxEPD0QvBREFCBMO/sgBGw8yZC0MEwEKNn0+BwkSARoPaFwKARMMW2cIC/6zAQYDCQoEJBcGGBIDGUgHEw4BEhcFORoCBRkYARgxAwUCBAAAAAYAAP+VA74DJAAbADEASQBgAGUAawAAASYHBgcGBwYWFxYXHgE3PgI3NicuAScmJyMmBzYXFhcWFxYGBw4BJicuAjc2Nz4BFyYHBgcGBwYXFhcWFxY2Nz4CJyYnLgEHNhcWFxYHFgYHBgcGJicmJyY2NzY3NgcWFzY3BRQVIREHAfNsZWFBQgsMNzw9U0+3VliETwYGHhx3T1BXAxUQY11ZOjwICT0+QKa0TVBkIBUXOTiiX1tVUTI1AQQkJEFEUk2eP0FFBB4gPDB8QlBKRyssAQFIPkBLR4wzNhQVFCcnPUpSVlU4cv6FAZrJAyICNjVaXWxctklKKCgLHB13pFlbU1OGKCkFAjEDMTBTVmNYrEBDOxArLI+zVVlCRE4rAzAvT1JbU1BONjgQECUwMoyiSUwyKzAwAiwqRkpQS4ssLwcJMTM1RUKQOz0iK5tFRS5cIIyMARKjAAAAABAAAP+gA7sDIgAHAA8AHQAsAD4ATwBgAG4AewCKAJgApQCzAMUA0wDmAAABJicHFyE2NycGByMnNjcWAwYHDgEWNzYXFjYmJyYXJgYWFxYXFj4BJy4BJyYFBgcGBwYHBgcGFjI3Njc2LgEzIgciBw4BHgE3NhcWNjQnJgcGBwYPAQYHBh4BNzY3NjQmBSYGFhcWFxYyNicmJyYFJgcGFx4BNicmNzYmBSYGFxYHBh4BNz4BJy4BBSYGFxYXFj4BJyY3LgEFJgcGBwYeATc2Ny4BBSIGFhcWFxY2JicmJyYFDgEHBgcGDwEOARY3Njc+ASYFIgYWFxYXFjYmJyYnJgUGBwYHBgcGBw4BFjc+ATc2LgECy0eQ11IBChcrDBgw5kg/fHx8Si8MARMMXmYMDgUMMcoMDwMLTC0HGQ8EGEkuBP31CwoGCwgFQSEEERgHKVEGAQ3/BAoSBw0JCRQJTkcMEgtC6g0OCRAKPRkFERkGKVAIDgF/DA4CCjQZBxkQBBpEBP3DGQULGwYYEgIaEAEOAukPDQMBMAQQGAcdGwQCDvykDw4DAjEHGQ8FLwIBDQLsGgINMgYPGQg9DAEN/agLDAIIP1QMEQELTzcGAZ8MKwsTGQ8eEQwFDwxhUAgBDf49Cw0DCllpDA4FDGRPBgIYCQkFCg4INFkLAhENNmUpBwINAaI0aJz9RIgoSpLcLVpaAVwCEAYZEQQZFgETGQQMUwETGAU4WwoBEwwyWCACCgEHBQsIBD5QDBILXUAHEw4BAgQVEQgDBh8EERkGHycCCAUMBzAwDBMBC0AuBxMPOwESFwY1VAsTDF1BA6kCK1ZNCwMRDFBUCg4tARoOZV4MEgEKNnk+CAoQARoOa1oKAhMMW2YICzgCKT9DDBQDC09bCQ6gERYGSR0DEhgGHkIGTQMVAwcEAwMCBBgUAQIwBxUPJxMWBUgTARQYBBVCAwMBBQMJCwMjFgYZEgMLMSMHEw4AEAAA/6ADuwMiAAMACAAWACUANwBIAFkAZwB0AIMAkQCeAKwAvgDMAN8AAAEGByEDFhchNhMGBw4BFjc2FxY2JicmFyYGFhcWFxY+AScuAScmBQYHBgcGBwYHBhYyNzY3Ni4BMyIHIgcOAR4BNzYXFjY0JyYHBgcGDwEGBwYeATc2NzY0JgUmBhYXFhcWMjYnJicmBSYHBhceATYnJjc2JgUmBhcWBwYeATc+AScuAQUmBhcWFxY+AScmNy4BBSYHBgcGHgE3NjcuAQUiBhYXFhcWNiYnJicmBQ4BBwYHBg8BDgEWNzY3PgEmBSIGFhcWFxY2JicmJyYFBgcGBwYHBgcOARY3PgE3Ni4BAfRgYAGAwGQz/tIzZEovDAETDF5mDA4FDDHKDA8DC0wtBxkPBBhJLgT99QsKBgsIBUEhBBEYBylRBgEN/wQKEgcNCQkUCU5HDBILQuoNDgkQCj0ZBREZBilQCA4BfwwOAgo0GQcZEAQaRAT9wxkFCxsGGBICGhABDgLpDw0DATAEEBgHHRsEAg78pA8OAwIxBxkPBS8CAQ0C7BoCDTIGDxkIPQwBDf2oCwwCCD9UDBEBC083BgGfDCsLExkPHhEMBQ8MYVAIAQ3+PQsNAwpZaQwOBQxkTwYCGAkJBQoOCDRZCwIRDTZlKQcCDQIyrK0BJrRaWgHXAhAGGREEGRYBExkEDFMBExgFOFsKARMMMlggAgoBBwULCAQ+UAwSC11ABxMOAQIEFREIAwYfBBEZBh8nAggFDAcwMAwTAQtALgcTDzsBEhcGNVQLEwxdQQOpAitWTQsDEQxQVAoOLQEaDmVeDBIBCjZ5PggKEAEaDmtaCgITDFtmCAs4Aik/QwwUAwtPWwkOoBEWBkkdAxIYBh5CBk0DFQMHBAMDAgQYFAECMAcVDycTFgVIEwEUGAQVQgMDAQUDCQsDIxYGGRIDCzEjBxMOAAAAAAUAAP+VA74DJAAbADEASQBgAGkAAAEmBwYHBgcGFhcWFx4BNz4CNzYnLgEnJicjJgc2FxYXFhcWBgcOASYnLgI3Njc+ARcmBwYHBgcGFxYXFhcWNjc+AicmJy4BBzYXFhcWBxYGBwYHBiYnJicmNjc2NzYXBgcXITY/ASYB82xlYUFCCww3PD1TT7dWWIRPBgYeHHdPUFcDFRBjXVk6PAgJPT5AprRNUGQgFRc5OKJfW1VRMjUBBCQkQURSTZ4/QUUEHiA8MHxCUEpHKywBAUg+QEtHjDM2FBUUJyc9SlWQR1IBChcrEEcDIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIrV2g0/USIMTQAAAAKAAD/nwO9AyAABAAOABQAIgAwAEYAVgBkAHYAigAAARQVIREFMjMGBwYHBgcmNxQVITUXEwYHDgEWNzYXFjYmJyYXJgYWFxYXFj4BJyYnJgUGBwYPAQYHBgcGFjY3Njc+ATc2NCYBJgYXFgYHBh4BNz4BJy4BBSYGFxYXFj4BJyYnLgEBBgcGBwYHBgcOARY3Njc2LgEFIgYWFxYfARYzMjYmJyYvASYnJgEnAZr+wXJyDyAYDRUQQOP+yJwEUC8LARIMYWMNDgYMK8UMDwQLQjgJGA0GOFME/fAKCwYLCy8pCQIDGRkEJS0EFgQIDQKtDw0DAxgZBA8ZBx8aBwIN/KQPDgMFLwcZDwQtAgENAq4JCQYKDQg2VgwBEgxuVQcCDf3ZCw0DCkNgBhIIDw0RDmE7AwYEBgH6nJwBODEJHBYJDwI0BV1dun0B8AIPBhkSBBgUARQYBAtPARMYBS9mCgUVC2s7AwsBCAQLCy5LDwsPEQ8PRC8FEQUIEw7+yAEbDzJkLQwTAQo2fT4HCRIBGg9oXAoBEwxbZwgL/rMBBgMJCgQkFwYYEgMZSAcTDgESFwU5GgIFGRgBGDEDBQIEAAAAAAEAAAAAA1MCEwAuAAATNjc2NzYXFhcWFxYXFhcWNzY/ATY3NjcVBgcGBwYnJicmJyYnLgEGBwYHBgcGB5YaGyMtIi0mJhgbECA7IR0kIRgVHw0XCxwaJCsmKygjHDIhEh02PBUbGQ8bEAgBSj4nNBsUBwYYDxUOGzQVEQoJGxgiEh4dpTciLRQQCAcZEy4fDhgbBxQYJBcuHA4AAAcAAP/TA9QC6QATACcATQB1AK0AtgC/AAATIg4BFREUHgEzITI+ATURNC4BIwUhMh4BFREUDgEjISIuATURND4BFxQVBgcnBxcGByMVMxYXNSM1Mzc2PwEnNxc3Nj8BNTMVMy4BJzUHFQYHJwcXBgcjFTMWFwcXNxYXFTM1NjcXNyc2PwE1ByYnNycHJic1BzMVFxYfATcXBxcWHwE3FSMHBg8BFwcnBwYPARUjNScmLwEHJzcnJi8BIzUzNzY/ASc3Fzc2PwEXIgYUFjI2NCYHMhYUBiImNDbXNVk1NVk1Ajo1WjQ0WjX9xgI6JT4kJD4l/cYlPiQkPkkNDhkuGAgDIyQDDh8fAgMLBRUPFggPFQgXOwQaBwQODhgvGQgDJCQFBxovGgwPQg0PGS8aCAQiIwMIGC8YChIsFgkUEAgVEBUFCwQCHh4CAwwFFxAWCBAUCRYJExEIFhAXBgoFAh8fAgUKBRYQFgcREwkLFB0dKR0dFQwQEBcQEALpNFk1/m41WTQ0WTUBkjVZNDwkPSX+biU9JCQ9JQGSJT0kMhESBAgZLxgSCkINFjkWCRISCBUQFgULBQEfHgQLAiNAIgQIGS8ZDQ5CDwwZLxoHBSQlAwgZLxkODQFCAQoSGC4YBgUiFR8BBAsFFQ8WBxAUCQEXCRQQBxYQFgUKBQIgIAIDDAQWEBYIEBMJFgkUEAgVEBYFDAMCMh0oHh4oHRYQFxAQFxAAAgAA/9MD1ALpABMAJwAAEyIOARURFB4BMyEyPgE1ETQuASMFITIeARURFA4BIyEiLgE1ETQ+Adc1WTU1WTUCOjVaNDRaNf3GAjolPiQkPiX9xiU+JCQ+Auk0WTX+bjVZNDRZNQGSNVk0PCQ9Jf5uJT0kJD0lAZIlPSQAAAMAAAAAA14CTwAiACYALAAAAQYHDgEPAQYHBhYXBRY+ASc1FhcWPgEnETQmIgcFPAEnLgEHFBUnJRQVJic2AfYJCgUWBUaMRg0GDwE1ChcOAoOYChYOAhMYCP7sAQISJ+UCLGp7ewJOAQYDEAMvXi8KIwfPBgYUC59aZAYGFAsBogwPCLodcRwLDleampqamppJUVEAAAAACQAA/58DvQMgAAcADwAdACsAQQBRAF8AcQCFAAABJicHFyE2NycGByMnNjcWAwYHDgEWNzYXFjYmJyYXJgYWFxYXFj4BJyYnJgUGBwYPAQYHBgcGFjY3Njc+ATc2NCYBJgYXFgYHBh4BNz4BJy4BBSYGFxYXFj4BJyYnLgEBBgcGBwYHBgcOARY3Njc2LgEFIgYWFxYfARYzMjYmJyYvASYnJgLLR5DXUgEKFysMGDDmSD98fHhQLwsBEgxhYw0OBgwrxQwPBAtCOAkYDQY4UwT98AoLBgsLLykJAgMZGQQlLQQWBAgNAq0PDQMDGBkEDxkHHxoHAg38pA8OAwUvBxkPBC0CAQ0CrgkJBgoNCDZWDAESDG5VBwIN/dkLDQMKQ2AGEggPDREOYTsDBgQGAaI0aJz9RIgoSpLcLVpaAVoCDwYZEgQYFAEUGAQLTwETGAUvZgoFFQtrOwMLAQgECwsuSw8LDxEPD0QvBREFCBMO/sgBGw8yZC0MEwEKNn0+BwkSARoPaFwKARMMW2cIC/6zAQYDCQoEJBcGGBIDGUgHEw4BEhcFORoCBRkYARgxAwUCBAAAAAAFAAD/lQO+AyQAGwAxAEkAYABkAAABJgcGBwYHBhYXFhceATc+Ajc2Jy4BJyYnIyYHNhcWFxYXFgYHDgEmJy4CNzY3PgEXJgcGBwYHBhcWFxYXFjY3PgInJicuAQc2FxYXFgcWBgcGBwYmJyYnJjY3Njc2FwYHIQHzbGVhQUILDDc8PVNPt1ZYhE8GBh4cd09QVwMVEGNdWTo8CAk9PkCmtE1QZCAVFzk4ol9bVVEyNQEEJCRBRFJNnj9BRQQeIDwwfEJQSkcrLAEBSD5AS0eMMzYUFRQnJz1KVWBgAYADIgI2NVpdbFy2SUooKAscHXekWVtTU4YoKQUCMQMxMFNWY1isQEM7ECssj7NVWUJETisDMC9PUltTUE42OBAQJTAyjKJJTDIrMDACLCpGSlBLiywvBwkxMzVFQpA7PSIrY6ytAAAUAAD/owO4AyIABAAIAAwAEAAUABgAWwCzAQkBTAGhAf4CSQKLAs8DEgNpA7YEAgRMAAABFREhEQUzESMTFTM1BxUzNQcVMzUHFTM1AzEjByMHIxUjByMPBxUfBDM3MzczNzM3MzczFzMXMxczFzMXMz8FNS8FIycjNSMnIycXIw8FHxk/BDUvAyMnNSc1JyMvASMvATUnIyc1LwEjLwE1JzUnIzUnIycjLwE1LwEjJzUnIy8BBSMPAhUHIw8BFQ8CFQcVBxUPASMPARUPAhUPASMPASMPARUHFQ8BIw8CFR8FMz8ZNS8EITEjFSMPAxUfBDM3MzczFzMXMxczFzMXMx8GMz8FNS8CIy8JIycjJyMnIzUHIw8CIw8BFQcjDwEjBxUHIwcjByMHFQ8DIxUPARUPAiMPAR8FMz8dMz8DLwMFDwUfFhUfBDM/BDUnNS8INSc1LwQjJyMnNS8BIyc1JzUvATUjLwE1JyMnNS8CNS8DBSMPBRUjFQcVBxUjFQcVFxUzFRcVFxUXFR8JMz8ENS8CNSc1JzUnNSc1JzU3NTc1NzU3NTc1LwQFIw8DFQcXFQcVBxUHFQcVDwgVHwMzPwY1NzU/BzU3NTM1NzU3NSc1LwMFIw8DFRcVFxUXFRcVHwcVFxUfAjMVHwMzPwQ1Lws1JzUnNSc1JzUvBAUjDwUVBxUPDxUfBT8CNT8BNTczNzU/AjM/CjU3LwQFDwUfAhUXFRczFzMfAjMfATMVFxUXFRczHwEzFzMXFRcVHwEVHwIVHwIzPwU1LxwFIw8IIwcjByMHIwcjByMPBBUfBTM3MzczNzM3Mz8LMzczPwE1PwE1NzU/BDUvBAUPBRUfBTMfARUXMxczHwEVHwEzFxUfBDMXMx8GMz8FNS8WISMPFxUfBjM/CDM/BDU3MzczNzU/ATU/ATM/BDUvBAFdAS7+6v7+GsrKysrKysplCwYLBQwFBQYmBgoIBAIDAQECBgQJBCsFCQUFBQUKBR4FCgUFBQUKBBgJBQQDBAQBAQQDBAcmBQYFCwYLBvQFBAUDBAQCAggCDAcIBwQDBAMEAwcGBw8CCQIDEQQDBAkJBAQDBAECAwIBAgMCAQISAQkEBgEDBAMBAwgEAwEDAQMBCAQEBAEECAEECv3xBQQIBQQBBAQEDAQEBAgDAQMEAwQDBAkBDwIBAgMDBQIBBAMDAQIDAwgECQUHBQUQBgIGAg8HBgcDBAMEAwQHCAQEBwIBAgIDBAgBBBINCgUHBgICAwgIBAEIBCYECAMEBAQHBAgDGgMIBwcDCQUEBAQDBAEEAwcBAwUEBAQEBAkEJgQJBQQEBQ2tBAgGBwEDCAMBFQMBAwMBCQEMAQkJAwMCAQIDAwgEAQQCAgIDAwgEBQQJAwgDAgQDAgMCAwIDAgMDAwIDAwMDAwMDAwYDIwIDBAQCAgUECAGEBQgEAwMDAQYDAwIDAgMCAwIDBxYBBAEEAQYDAgIEBAMEBQkEBAQDBAECAgIBAgECAQICAgEBAQgBAQECAgQBAgcDAgECAwIBAgYDCQMDAwT9wwUECAMDAgIBAgEBAQEBAQIBCAIBAQEDAwQEBAUJBAMDBAECBQMCAQEBAQEBAgEBAgMDCQLuBQQIBgIBAQEBAQIIAgECAgQBFgEBBAMMBQkEBgUEAwoCCAECAQICAgcBAQEBAQQDBAj8pwUICAQCAQEBAgYCAgIBBAEGAgoDBAEDBgQFCQQEBAMEAgESAQIBAgECAgIHAgEBAQECBwMFAvAEBQQEAwQCAgcCAwUCBAECAwwKAwQCBAEBBAMEBAkIBQcDDwIBBgUIAQEBBgECAQIBAgICCQECAgMECP2tBAgEAwICAgUGDAYBDAEGBwMBAwMBBwcDAQcHAQMBAwQIBAQMBAQEBAkEBAQFAgEBBAQDFQMECgcZAwoCAwMDAwMDAwIGAwIDAgMCCAGcBQQEAQcKHAsHEgQLBAcEBAcECAQQCAQDAgIBBAQDBAUMBQ0EBQQFCAUmBAkEBAQEBAQBBAMBAwEDBAQIBAkEAgIBAgYDBAX+RAQFBAYCAgECAwMFBAEEDQkBDQEEBQUEAQQFBQoFGQEEARQGBQUFCwoJBQQEAwQBAgMDBAcTBQQFBQQFBQQlHggEBAkMAw0CEgUEBQMBFAQECQgWLAUFBAUFBQQFGwQGBAEBAgMDBAQECQMGBQsFBQUGFAEeBQoFBQQBBAEEBRwNBAEEBQMCAQICAwQIAhwM/pABfBj+tAEnGRlKGBhVGBhNGBgCLwEBAQEHAgIEAwQEBAkEBQYDAgkCAQEBAQEBAgUBAgMDCAQFBAkDAwMHAQEBAVMBAgIEBwkJCgEJBwYHAwQDBAMEBwgHFAQNBAQgAwMCAgICAwMICQUGBQUEAQQBBAUcDQQBCAQBBAQECAEDAQMBAwQIAwEDBAMBBgQHCAEEBAEDBAMBAwwDAQMBAwEIBAQEAQQEBAEEDRcFBQQBBAEJBQoFDAQFBAQDBAECBQcMHggECQQUBwgHBAMEAwQDBwYEAwcFBAQJBAQDBAECAgUMBQkEAwYCAQEBAQECAgcCAgMCAgIBAgMDCAUJCAMFAgECAQIBAgICCQIBAQEnAgMFAgQBAg8DAgECCQwJAQkEAwMBAwMBAwsHBwkJBAMEBAEBBAMMAwQGAwMCAwMDAwMDAgMDAgMCAwIDAgMEAxYDAwgJCQcDBDsBAgMDBA0FCwIDAwMDAwMCAwMKIwMHAwcEDgsDBwMIAwMCAQEDAgQICQQCBAkEBAQEBAUDAQMBAwQBAxAEAwEDCAMBCgEDAwEDAwEDAwEGBAkBAwIDA6kBBAQDBAgEBAkFBAkNBBsFDQkEBAkEAQQiBAUBBAQDAwIBAgIDBAgJBQQSBAsEBwQEBwQIBB4ECAQHBAQHBAQJBAQEAwQtAQQIBAQEBB4FCgUFBQUJBScFBAUJCgQyBAUECAQGAgIGCAoFGQEEARQGBQUFCwYmBQYFCwYLBhYGCQgDAwQQAgYICAkGEQUGBQYLBSEGCwUFCgYPAQQBGQUKAQQGAgEBAwIECAkIASkEBQUEBQUJBSIFCQUFBQUKBRcFBAcCAjkBAgMDCAcEBwQaAwsLBwYEAwcUDwMHAQgFBAUIAwMCAgICBwEDFQEDCwEHEAQEDAQEBAQEBAkEJgUFCAQEAwSgAQQDAwQJCQkGAQwBBgwGBQMDAgEEAQQBAgUEAgIBAQEEAQEBBgEBAQIBAQIDBwUEBQQIAwMJAgEGAxADBgMCAwIDAgMCAwYCAwMDAwMHSgECAQMGDAMDBQMCAQEBBAMDBAkFBAgDAwIBAQEBAgkCAgIBAgECAQEBAgICAQEBBAEBAQUEAwUEBQgIAwIBJwEBAwYECQUEBAQCBQMECQEGCQMCAQIDAgECAwQDCgIIAQIBAgIDAQIDAwgFBAkEAwMDBAIBAgECAQIBEBAGAgMFCQMKAQICAg8CAwUGDBQBAgECAQIBAgYCBgkEBQQEBAMDAgEBAQICAgECAQgMAwQDAgECAwIBAhIBCQQDBQQEBAUJBAMDBAAAAAADAAAAAAO5Ao4AAwAHAAsAABMRIREHESERIzMRIy8DijH9YoxeXgKO/Y8CcTD96wIV/esAIAAA/+4DrALPAAQACQAOABMAGAAhAC0ANgBBAE4AVQBaAF8AZABpAG4AcwB4AH0AiACOAJcAoQCmAKsAsAC1ALoAvwDEAMkAzgAAATIzNSMXMjM1IxcyMzUjFzIzNSMXMjM1IxcyMzYXNyYrASEiBxc2MjYnJjY1JgUWFzY3NjcmJwUGBxYXFhc2NycmBQ4BFxYGFjIzMjc0JwUGFTMmNycFMjM1IwUyMzUjBTIzNSMFMjM1IwUyMzUjBTIzNSMFMjM1IwUyMzUjBQYHFhcWFzY3JyYFFhc3JicFBgcWHwE2NycFFhc3NjcmJwcGFzIzNSMXMjM1IxcyMzUjFzIzNSMXMjM1IxcyMzUjBzQ1IRETMjMRITcUFTM1AQUZGDFiGRgxYRkYMWIZGDFiGRgxYQQHGAsGCxUU/e0NDAkDDgYDAQIBAmISDQUKEQUUGP0zGBMFCxAHEA4KCgLxCwMEAgECCg0SBwr8owcxAQYuAzUZGDH8wxkYMQM9GRgx/MMZGDEDPRkYMfzDGRgxAz0ZGDH8wxkYMQM7BQkGCxEIDwUQFvy/BhEoCwQC3BERBQgDGxce/TAbGQUFAhMQBw5jGRgxYRkYMWIZGDFiGBgwXhkYMWUZGDE1/q4fior+7CXLAp0xMTExMTExMTExAQIwAgMwAQQIBBUEBz0JEAQJDAcXDQMPFgQJDQQSBxASVgEKCwIPBgEeGggYHRMVD5UxNTGOMTYxjjE1MY8xNTFZFg8DBwsDGRsDBQ0cGRsSE0EMBQwZCQcTJyoSBxIUCQYMCRUpMTExMTExMTExMTEirKv+qQE4/uunFxgvAAALAAD/zgO5AvIABQAJAA0AEQAVABkAHwAjACcAKwAvAAAXNTMVMxUzNTMVMzUzFTM1MxUzNTMVMzUzFTM1MzUzFSU1MxUhNTMVJREhEScRIREuMRAxYTFiMWExYjFhMA0x/HUxAykx/HYDijH81jJZKDExMTExMTExMTExMShZilxcXFyLAg/98TABs/5NAAAEAAD/nAPDAyAAAwAHAA4AFQAAAREzETMRMxEBBxc1MzUjJRUHFTMVNwFuJsMm/lCkpF1dAlNeXqMDIPx8A4T8fAOE/uGjo29pbmwBam+jAAYAAP+eA5QDHgAGAAkADQARABUAGQAAAQUXARcBFyUFFycHFzcPARc3DwEXNw8BFzcDlP5mQP4aGQHmPgED/mWXlT8ZP5c+GT6ePxk/lyYZJgMebV/+uSYBSFwFbeBYKyUqLyomKzUrJSswGiUaAAACAAAAAAO5AmYAAwAHAAATESERAREhES8DivylAyoCZv3wAhD+HQGz/k0AAAkAAP+nA7IDHgADAAcACwARABUAGQAfACUAKQAAARUzNQUVMzUzFTM1FxUzFTM1BRUzNQUVMzUHFSMVMzUFFTM1IzUXFTM1AS9n/qHaoduCeyj9fWcB9Cgod5/9np934FIDHtra9mdnZ2ceKHWdaNran01NvnQonAGdKHV1KCgACwAA/84DuQLyAAUACQANABEAFQAZAB8AIwAnACsALwAAExUzNTM1MxUzNTMVMzUzFTM1MxUzNTMVMzUzFTMVMzUFFTM1IRUzNQURIREHESERLjEQMWExYjFhMWIxYTANMfx1MQMpMfx2A4ox/NYC8lkpMDAwMDAwMDAwMDAwKVmJXFxcXIv98AIQMP5NAbMADAAA//oDuQLCAAQAGAAcACAAJAAoACwAMAA0ADgAPABAAAATFREhEQUhFSMVMxUjFTMVITUzNSM1MzUjMxUzNTMVMzUzFTM1MxUzNTMVMzUFFTM1MxUzNTMVMzUzFTM1MxUzNS8DivylAyoMDAwM/NYRERERQmIxYTFiMWExYv1UYjFhMWIxYTFiAsLY/hACyCysMbYxqakxtjExMTExMTExMTEx5zExMTExMTExMTEAAAAABwAA//oDuQLCAAQAEAAUABgAHAAgACQAABMZASERBSERIxUzESERMzUjMxUzNTMVMzUzFTM1MxUzNTMVMzUvA4r8pQMqDAz81hERQmIxYTFiMWExYgLC/rT+hALILP7gMP7jAR0wMDAwMDAwMDAwMAAAAAAFAAD/0gMjAuoABQALAA4AFgAdAAABIiMRIREnFTMRIREFFyMnHQEjFTMVNycXBzUjNTMCctbXAl7luP38AXl9feNqao15XFxqagLq/OgCYom6/fwCvgyBbBhFUFyEVlZWQigABAAA/9IDIwLqAAUACwAOABUAAAEiIxEhEScVMxEhEQUXIycVIxUzFTcCctbXAl7luP38AXl9feNqao0C6vzoAmKJuv38Ar4MgWxdUFyEAAACAAD/1gNyAu8AbwDkAAABIgYHBgcGHwEVJi8BMScmJyYnJicmBxUGBwYXFhcWFxYfAScmJyYnJgcGBzkBBhcWFxYXFhcWFxYfASE3Nj8BNj8BNjc2NzYnLgEnJgYHBgcGDwE1NDU2JyYnLgEiBgcGBwYPAi8BJicmJy4BBzMHMjEzMhYXHgEfARYfAT8CNjc2Nz4BOwEyFh8BFhcWBxUfATY3Njc2NzYXOQEeARcWBwYHBg8BBgcGDwEhJicmJyYnJicmJyY+AhcWFxYfATcnJicmJyYnJjc+ATc2FhcWFxYXMRYfAT8BNi8BJjc2Nz4BAfIOGAcLAwMBAQYIAQkMBwsLERMXHRkHAwcFEAwFCA0GDRAJJyQWExcQHQUCGQ4kLRccOScQBQFMAwQKDBQbCxgKEAcKBgQYEQ4cChIPBgkGAQIECAYVGRYHDQcGBwYJBgMFBwcMBxcNAQIBAQUFBAcNBwIGCAghGgYHBQcHBAUFAgQCAgEGAgIBASAKEhAIDg0KDAkIAgQJBg0IFBMYGQUJCP7fDiE6HxguIwwTAgEGERYPHyIcHRcdDRAOBg0PBAYDAQUGDRUMCwwIDwoUESABAgEBAgMDBwQGAu4ODBQhHD8oQw0XAxcgDxkQGQkLCwELHhMjFjEmExsyFwwPCCIOCAECDhseGCARJS4cIVg7FQcMDS43XkccOxwtHywaDxcDAwsLESMKGBBLESU2FyIRCw8LCREbFjEkLzMgQh4jEAwOASEEBgw5Rxk4OCwBlSMxFBcJBQIBAwMLHBlAJ6AHFS8qEh4NCgEBBwkTIxgmFjMzPG4XJyUSNFklHS4lDxgOCAwQAQUNHhcgGw82PzIWKS0SGg8HBwMGChIQHhIoGjArBjI7Kh5GHBkOBgQAAAAACAAA/9sDbQLgABQAGAAqAC4AMgBMAF8AYwAAASIGBwYHFBYHFTM1Jjc+ARczNSMmBTM1Ixc2FxYHFTM0NTQnLgInJgcjATM1IwUzNSMFFBYXFhcWNzYXNhcWMzY3NSIjBicuATc1IwUWDgErARUyMxY+Ajc2NTQ1IwUzNSMBAitKCwQCAQEyAQIENiDYSmQBCi8vizscHwQyAQIkOR8JEwn9tDIyAr4yMv1CLSMUGxAhGQwECwkEBQIQHzcbHycBMgK+ATFFRyMUKT09NiIBATL+li4uAt85KxIXDjcORjBQKCItAjEBMjExBB0eQJgbOEklIDkkAQIB/kcxSzHUJ0cRCgICAQEBAQEBAQQtAQMHNSFXWSM4AjEBBSU5IA4dFQvNMQAAAAAEAAD/8AOsAs0AEwAnADcARwAAEyIOARURFB4BMyEyPgE1ETQuASMFITIeARURFA4BIyEiLgE1ETQ+ARciBhURFBYzITI2NRE0JiMFITIWFREUBiMhIiY1ETQ20ilEKChEKQJFKEUoKEUo/bsCRR80Hx80H/27HzUfHzU8Jjc3JgILJjY2Jv31AgsYIiIY/fUZIiICzChEKf5OKEUoKEUoAbIpRCgiHzUf/k4fNR8fNR8Bsh81HzE2Jv6CJjY2JgF+JjYiIhj+ghgiIhgBfhgiAAAAAAAAEgDeAAEAAAAAAAAAFQAAAAEAAAAAAAEABAAVAAEAAAAAAAIABwAZAAEAAAAAAAMABAAgAAEAAAAAAAQABAAkAAEAAAAAAAUACwAoAAEAAAAAAAYABAAzAAEAAAAAAAoAKwA3AAEAAAAAAAsAEwBiAAMAAQQJAAAAKgB1AAMAAQQJAAEACACfAAMAAQQJAAIADgCnAAMAAQQJAAMACAC1AAMAAQQJAAQACAC9AAMAAQQJAAUAFgDFAAMAAQQJAAYACADbAAMAAQQJAAoAVgDjAAMAAQQJAAsAJgE5Y2FtdW5kYSBTZXJ2aWNlcyBHbWJIYnBtblJlZ3VsYXJicG1uYnBtblZlcnNpb24gMS4wYnBtbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGMAYQBtAHUAbgBkAGEAIABTAGUAcgB2AGkAYwBlAHMAIABHAG0AYgBIAGIAcABtAG4AUgBlAGcAdQBsAGEAcgBiAHAAbQBuAGIAcABtAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGIAcABtAG4ARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbAECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEgASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvATABMQEyATMBNAE1ATYBNwE4ATkBOgE7ATwBPQE+AT8BQAFBAUIBQwFEAUUBRgFHAUgBSQFKAUsBTAFNAU4BTwFQAVEBUgFTAVQBVQFWAVcBWAFZAVoBWwFcAV0BXgFfAWABYQFiAWMBZAFlAWYBZwFoAWkBagFrAWwBbQAMc2NyZXctd3JlbmNoBXRyYXNoEGNvbmRpdGlvbmFsLWZsb3cMZGVmYXVsdC1mbG93EGdhdGV3YXktcGFyYWxsZWwfaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLWNhbmNlbDFpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbm9uLWludGVycnVwdGluZy1tZXNzYWdlGHN0YXJ0LWV2ZW50LWNvbXBlbnNhdGlvbi5zdGFydC1ldmVudC1ub24taW50ZXJydXB0aW5nLXBhcmFsbGVsLW11bHRpcGxlC2xvb3AtbWFya2VyEnBhcmFsbGVsLW1pLW1hcmtlciNzdGFydC1ldmVudC1ub24taW50ZXJydXB0aW5nLXNpZ25hbC9pbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbm9uLWludGVycnVwdGluZy10aW1lcippbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtcGFyYWxsZWwtbXVsdGlwbGUlaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLWNvbXBlbnNhdGlvbgtnYXRld2F5LXhvcgpjb25uZWN0aW9uEGVuZC1ldmVudC1jYW5jZWwiaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLWNvbmRpdGlvbjtpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbm9uLWludGVycnVwdGluZy1wYXJhbGxlbC1tdWx0aXBsZRVzdGFydC1ldmVudC1jb25kaXRpb24ic3RhcnQtZXZlbnQtbm9uLWludGVycnVwdGluZy10aW1lchRzZXF1ZW50aWFsLW1pLW1hcmtlcgl1c2VyLXRhc2sNYnVzaW5lc3MtcnVsZRJzdWItcHJvY2Vzcy1tYXJrZXIdc3RhcnQtZXZlbnQtcGFyYWxsZWwtbXVsdGlwbGURc3RhcnQtZXZlbnQtZXJyb3IfaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLXNpZ25hbB5pbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtZXJyb3IWZW5kLWV2ZW50LWNvbXBlbnNhdGlvbhRzdWJwcm9jZXNzLWNvbGxhcHNlZBNzdWJwcm9jZXNzLWV4cGFuZGVkBHRhc2sPZW5kLWV2ZW50LWVycm9yI2ludGVybWVkaWF0ZS1ldmVudC1jYXRjaC1lc2NhbGF0aW9uHmludGVybWVkaWF0ZS1ldmVudC1jYXRjaC10aW1lchZzdGFydC1ldmVudC1lc2NhbGF0aW9uEnN0YXJ0LWV2ZW50LXNpZ25hbBJidXNpbmVzcy1ydWxlLXRhc2sGbWFudWFsB3JlY2VpdmUNY2FsbC1hY3Rpdml0eRFzdGFydC1ldmVudC10aW1lchNzdGFydC1ldmVudC1tZXNzYWdlF2ludGVybWVkaWF0ZS1ldmVudC1ub25lHWludGVybWVkaWF0ZS1ldmVudC1jYXRjaC1saW5rFGVuZC1ldmVudC1lc2NhbGF0aW9uD3RleHQtYW5ub3RhdGlvbgdicG1uLWlvD2dhdGV3YXktY29tcGxleBJnYXRld2F5LWV2ZW50YmFzZWQMZ2F0ZXdheS1ub25lCmdhdGV3YXktb3ITZW5kLWV2ZW50LXRlcm1pbmF0ZRBlbmQtZXZlbnQtc2lnbmFsDmVuZC1ldmVudC1ub25lEmVuZC1ldmVudC1tdWx0aXBsZRFlbmQtZXZlbnQtbWVzc2FnZQ5lbmQtZXZlbnQtbGluayBpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbWVzc2FnZSVpbnRlcm1lZGlhdGUtZXZlbnQtdGhyb3ctY29tcGVuc2F0aW9uFHN0YXJ0LWV2ZW50LW11bHRpcGxlBnNjcmlwdAttYW51YWwtdGFzawRzZW5kB3NlcnZpY2UMcmVjZWl2ZS10YXNrBHVzZXIQc3RhcnQtZXZlbnQtbm9uZSNpbnRlcm1lZGlhdGUtZXZlbnQtdGhyb3ctZXNjYWxhdGlvbiFpbnRlcm1lZGlhdGUtZXZlbnQtY2F0Y2gtbXVsdGlwbGU0aW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLW5vbi1pbnRlcnJ1cHRpbmctZXNjYWxhdGlvbh1pbnRlcm1lZGlhdGUtZXZlbnQtdGhyb3ctbGluayZzdGFydC1ldmVudC1ub24taW50ZXJydXB0aW5nLWNvbmRpdGlvbgtkYXRhLW9iamVjdAtzY3JpcHQtdGFzawlzZW5kLXRhc2sKZGF0YS1zdG9yZSdzdGFydC1ldmVudC1ub24taW50ZXJydXB0aW5nLWVzY2FsYXRpb24gaW50ZXJtZWRpYXRlLWV2ZW50LXRocm93LW1lc3NhZ2UyaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLW5vbi1pbnRlcnJ1cHRpbmctbXVsdGlwbGUwaW50ZXJtZWRpYXRlLWV2ZW50LWNhdGNoLW5vbi1pbnRlcnJ1cHRpbmctc2lnbmFsIWludGVybWVkaWF0ZS1ldmVudC10aHJvdy1tdWx0aXBsZSRzdGFydC1ldmVudC1ub24taW50ZXJydXB0aW5nLW1lc3NhZ2UNYWQtaG9jLW1hcmtlcgxzZXJ2aWNlLXRhc2sJdGFzay1ub25lE2NvbXBlbnNhdGlvbi1tYXJrZXIlc3RhcnQtZXZlbnQtbm9uLWludGVycnVwdGluZy1tdWx0aXBsZR9pbnRlcm1lZGlhdGUtZXZlbnQtdGhyb3ctc2lnbmFsM2ludGVybWVkaWF0ZS1ldmVudC1jYXRjaC1ub24taW50ZXJydXB0aW5nLWNvbmRpdGlvbgtwYXJ0aWNpcGFudBlldmVudC1zdWJwcm9jZXNzLWV4cGFuZGVkEWxhbmUtaW5zZXJ0LWJlbG93CnNwYWNlLXRvb2wQY29ubmVjdGlvbi1tdWx0aQRsYW5lCmxhc3NvLXRvb2wRbGFuZS1pbnNlcnQtYWJvdmURbGFuZS1kaXZpZGUtdGhyZWUPbGFuZS1kaXZpZGUtdHdvCmRhdGEtaW5wdXQLZGF0YS1vdXRwdXQJaGFuZC10b29sBWdyb3VwC3RyYW5zYWN0aW9uAAA=") format("truetype")}[class*=" bpmn-icon-"]:before,[class^=bpmn-icon-]:before{font-family:bpmn;font-style:normal;font-weight:400;speak:never;display:inline-block;text-decoration:inherit;width:1em;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.bpmn-icon-screw-wrench:before{content:"\\e800"}.bpmn-icon-trash:before{content:"\\e801"}.bpmn-icon-conditional-flow:before{content:"\\e802"}.bpmn-icon-default-flow:before{content:"\\e803"}.bpmn-icon-gateway-parallel:before{content:"\\e804"}.bpmn-icon-intermediate-event-catch-cancel:before{content:"\\e805"}.bpmn-icon-intermediate-event-catch-non-interrupting-message:before{content:"\\e806"}.bpmn-icon-start-event-compensation:before{content:"\\e807"}.bpmn-icon-start-event-non-interrupting-parallel-multiple:before{content:"\\e808"}.bpmn-icon-loop-marker:before{content:"\\e809"}.bpmn-icon-parallel-mi-marker:before{content:"\\e80a"}.bpmn-icon-start-event-non-interrupting-signal:before{content:"\\e80b"}.bpmn-icon-intermediate-event-catch-non-interrupting-timer:before{content:"\\e80c"}.bpmn-icon-intermediate-event-catch-parallel-multiple:before{content:"\\e80d"}.bpmn-icon-intermediate-event-catch-compensation:before{content:"\\e80e"}.bpmn-icon-gateway-xor:before{content:"\\e80f"}.bpmn-icon-connection:before{content:"\\e810"}.bpmn-icon-end-event-cancel:before{content:"\\e811"}.bpmn-icon-intermediate-event-catch-condition:before{content:"\\e812"}.bpmn-icon-intermediate-event-catch-non-interrupting-parallel-multiple:before{content:"\\e813"}.bpmn-icon-start-event-condition:before{content:"\\e814"}.bpmn-icon-start-event-non-interrupting-timer:before{content:"\\e815"}.bpmn-icon-sequential-mi-marker:before{content:"\\e816"}.bpmn-icon-user-task:before{content:"\\e817"}.bpmn-icon-business-rule:before{content:"\\e818"}.bpmn-icon-sub-process-marker:before{content:"\\e819"}.bpmn-icon-start-event-parallel-multiple:before{content:"\\e81a"}.bpmn-icon-start-event-error:before{content:"\\e81b"}.bpmn-icon-intermediate-event-catch-signal:before{content:"\\e81c"}.bpmn-icon-intermediate-event-catch-error:before{content:"\\e81d"}.bpmn-icon-end-event-compensation:before{content:"\\e81e"}.bpmn-icon-subprocess-collapsed:before{content:"\\e81f"}.bpmn-icon-subprocess-expanded:before{content:"\\e820"}.bpmn-icon-task:before{content:"\\e821"}.bpmn-icon-end-event-error:before{content:"\\e822"}.bpmn-icon-intermediate-event-catch-escalation:before{content:"\\e823"}.bpmn-icon-intermediate-event-catch-timer:before{content:"\\e824"}.bpmn-icon-start-event-escalation:before{content:"\\e825"}.bpmn-icon-start-event-signal:before{content:"\\e826"}.bpmn-icon-business-rule-task:before{content:"\\e827"}.bpmn-icon-manual:before{content:"\\e828"}.bpmn-icon-receive:before{content:"\\e829"}.bpmn-icon-call-activity:before{content:"\\e82a"}.bpmn-icon-start-event-timer:before{content:"\\e82b"}.bpmn-icon-start-event-message:before{content:"\\e82c"}.bpmn-icon-intermediate-event-none:before{content:"\\e82d"}.bpmn-icon-intermediate-event-catch-link:before{content:"\\e82e"}.bpmn-icon-end-event-escalation:before{content:"\\e82f"}.bpmn-icon-text-annotation:before{content:"\\e830"}.bpmn-icon-bpmn-io:before{content:"\\e831"}.bpmn-icon-gateway-complex:before{content:"\\e832"}.bpmn-icon-gateway-eventbased:before{content:"\\e833"}.bpmn-icon-gateway-none:before{content:"\\e834"}.bpmn-icon-gateway-or:before{content:"\\e835"}.bpmn-icon-end-event-terminate:before{content:"\\e836"}.bpmn-icon-end-event-signal:before{content:"\\e837"}.bpmn-icon-end-event-none:before{content:"\\e838"}.bpmn-icon-end-event-multiple:before{content:"\\e839"}.bpmn-icon-end-event-message:before{content:"\\e83a"}.bpmn-icon-end-event-link:before{content:"\\e83b"}.bpmn-icon-intermediate-event-catch-message:before{content:"\\e83c"}.bpmn-icon-intermediate-event-throw-compensation:before{content:"\\e83d"}.bpmn-icon-start-event-multiple:before{content:"\\e83e"}.bpmn-icon-script:before{content:"\\e83f"}.bpmn-icon-manual-task:before{content:"\\e840"}.bpmn-icon-send:before{content:"\\e841"}.bpmn-icon-service:before{content:"\\e842"}.bpmn-icon-receive-task:before{content:"\\e843"}.bpmn-icon-user:before{content:"\\e844"}.bpmn-icon-start-event-none:before{content:"\\e845"}.bpmn-icon-intermediate-event-throw-escalation:before{content:"\\e846"}.bpmn-icon-intermediate-event-catch-multiple:before{content:"\\e847"}.bpmn-icon-intermediate-event-catch-non-interrupting-escalation:before{content:"\\e848"}.bpmn-icon-intermediate-event-throw-link:before{content:"\\e849"}.bpmn-icon-start-event-non-interrupting-condition:before{content:"\\e84a"}.bpmn-icon-data-object:before{content:"\\e84b"}.bpmn-icon-script-task:before{content:"\\e84c"}.bpmn-icon-send-task:before{content:"\\e84d"}.bpmn-icon-data-store:before{content:"\\e84e"}.bpmn-icon-start-event-non-interrupting-escalation:before{content:"\\e84f"}.bpmn-icon-intermediate-event-throw-message:before{content:"\\e850"}.bpmn-icon-intermediate-event-catch-non-interrupting-multiple:before{content:"\\e851"}.bpmn-icon-intermediate-event-catch-non-interrupting-signal:before{content:"\\e852"}.bpmn-icon-intermediate-event-throw-multiple:before{content:"\\e853"}.bpmn-icon-start-event-non-interrupting-message:before{content:"\\e854"}.bpmn-icon-ad-hoc-marker:before{content:"\\e855"}.bpmn-icon-service-task:before{content:"\\e856"}.bpmn-icon-task-none:before{content:"\\e857"}.bpmn-icon-compensation-marker:before{content:"\\e858"}.bpmn-icon-start-event-non-interrupting-multiple:before{content:"\\e859"}.bpmn-icon-intermediate-event-throw-signal:before{content:"\\e85a"}.bpmn-icon-intermediate-event-catch-non-interrupting-condition:before{content:"\\e85b"}.bpmn-icon-participant:before{content:"\\e85c"}.bpmn-icon-event-subprocess-expanded:before{content:"\\e85d"}.bpmn-icon-lane-insert-below:before{content:"\\e85e"}.bpmn-icon-space-tool:before{content:"\\e85f"}.bpmn-icon-connection-multi:before{content:"\\e860"}.bpmn-icon-lane:before{content:"\\e861"}.bpmn-icon-lasso-tool:before{content:"\\e862"}.bpmn-icon-lane-insert-above:before{content:"\\e863"}.bpmn-icon-lane-divide-three:before{content:"\\e864"}.bpmn-icon-lane-divide-two:before{content:"\\e865"}.bpmn-icon-data-input:before{content:"\\e866"}.bpmn-icon-data-output:before{content:"\\e867"}.bpmn-icon-hand-tool:before{content:"\\e868"}.bpmn-icon-group:before{content:"\\e869"}.bpmn-icon-transaction:before{content:"\\e8c4"}',""]),e.exports=t},d1cc:function(e,t,n){var i;
/*!
* svg.js - A lightweight library for manipulating and animating SVG.
* @version 2.7.1
* https://svgdotjs.github.io/
*
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
* BUILT: Fri Nov 30 2018 10:01:55 GMT+0100 (GMT+01:00)
*/(function(o,r){i=function(){return r(o,o.document)}.call(t,n,t,e),void 0===i||(e.exports=i)})("undefined"!==typeof window?window:this,(function(e,t){var n="undefined"!==typeof this?this:e,i=n.SVG=function(e){if(i.supported)return e=new i.Doc(e),i.parser.draw||i.prepare(),e};if(i.ns="http://www.w3.org/2000/svg",i.xmlns="http://www.w3.org/2000/xmlns/",i.xlink="http://www.w3.org/1999/xlink",i.svgjs="http://svgjs.com/svgjs",i.supported=function(){return!!t.createElementNS&&!!t.createElementNS(i.ns,"svg").createSVGRect}(),!i.supported)return!1;i.did=1e3,i.eid=function(e){return"Svgjs"+f(e)+i.did++},i.create=function(e){var n=t.createElementNS(this.ns,e);return n.setAttribute("id",this.eid(e)),n},i.extend=function(){var e,t,n,o;for(e=[].slice.call(arguments),t=e.pop(),o=e.length-1;o>=0;o--)if(e[o])for(n in t)e[o].prototype[n]=t[n];i.Set&&i.Set.inherit&&i.Set.inherit()},i.invent=function(e){var t="function"==typeof e.create?e.create:function(){this.constructor.call(this,i.create(e.create))};return e.inherit&&(t.prototype=new e.inherit),e.extend&&i.extend(t,e.extend),e.construct&&i.extend(e.parent||i.Container,e.construct),t},i.adopt=function(t){return t?t.instance?t.instance:(n="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new i.Nested:new i.Doc:"linearGradient"==t.nodeName?new i.Gradient("linear"):"radialGradient"==t.nodeName?new i.Gradient("radial"):i[f(t.nodeName)]?new(i[f(t.nodeName)]):new i.Element(t),n.type=t.nodeName,n.node=t,t.instance=n,n instanceof i.Doc&&n.namespace().defs(),n.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),n):null;var n},i.prepare=function(){var e=t.getElementsByTagName("body")[0],n=(e?new i.Doc(e):i.adopt(t.documentElement).nested()).size(2,0);i.parser={body:e||t.documentElement,draw:n.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").attr("focusable","false").node,poly:n.polyline().node,path:n.path().node,native:i.create("svg")}},i.parser={native:i.create("svg")},t.addEventListener("DOMContentLoaded",(function(){i.parser.draw||i.prepare()}),!1),i.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},i.utils={map:function(e,t){var n,i=e.length,o=[];for(n=0;n<i;n++)o.push(t(e[n]));return o},filter:function(e,t){var n,i=e.length,o=[];for(n=0;n<i;n++)t(e[n])&&o.push(e[n]);return o},radians:function(e){return e%360*Math.PI/180},degrees:function(e){return 180*e/Math.PI%360},filterSVGElements:function(t){return this.filter(t,(function(t){return t instanceof e.SVGElement}))}},i.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},i.Color=function(e){var t;this.r=0,this.g=0,this.b=0,e&&("string"===typeof e?i.regex.isRgb.test(e)?(t=i.regex.rgb.exec(e.replace(i.regex.whitespace,"")),this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3])):i.regex.isHex.test(e)&&(t=i.regex.hex.exec(g(e)),this.r=parseInt(t[1],16),this.g=parseInt(t[2],16),this.b=parseInt(t[3],16)):"object"===typeof e&&(this.r=e.r,this.g=e.g,this.b=e.b))},i.extend(i.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+m(this.r)+m(this.g)+m(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(e){return this.destination=new i.Color(e),this},at:function(e){return this.destination?(e=e<0?0:e>1?1:e,new i.Color({r:~~(this.r+(this.destination.r-this.r)*e),g:~~(this.g+(this.destination.g-this.g)*e),b:~~(this.b+(this.destination.b-this.b)*e)})):this}}),i.Color.test=function(e){return e+="",i.regex.isHex.test(e)||i.regex.isRgb.test(e)},i.Color.isRgb=function(e){return e&&"number"==typeof e.r&&"number"==typeof e.g&&"number"==typeof e.b},i.Color.isColor=function(e){return i.Color.isRgb(e)||i.Color.test(e)},i.Array=function(e,t){e=(e||[]).valueOf(),0==e.length&&t&&(e=t.valueOf()),this.value=this.parse(e)},i.extend(i.Array,{morph:function(e){if(this.destination=this.parse(e),this.value.length!=this.destination.length){var t=this.value[this.value.length-1],n=this.destination[this.destination.length-1];while(this.value.length>this.destination.length)this.destination.push(n);while(this.value.length<this.destination.length)this.value.push(t)}return this},settle:function(){for(var e=0,t=this.value.length,n=[];e<t;e++)-1==n.indexOf(this.value[e])&&n.push(this.value[e]);return this.value=n},at:function(e){if(!this.destination)return this;for(var t=0,n=this.value.length,o=[];t<n;t++)o.push(this.value[t]+(this.destination[t]-this.value[t])*e);return new i.Array(o)},toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(e){return e=e.valueOf(),Array.isArray(e)?e:this.split(e)},split:function(e){return e.trim().split(i.regex.delimiter).map(parseFloat)},reverse:function(){return this.value.reverse(),this},clone:function(){var e=new this.constructor;return e.value=h(this.value),e}}),i.PointArray=function(e,t){i.Array.call(this,e,t||[[0,0]])},i.PointArray.prototype=new i.Array,i.PointArray.prototype.constructor=i.PointArray,i.extend(i.PointArray,{toString:function(){for(var e=0,t=this.value.length,n=[];e<t;e++)n.push(this.value[e].join(","));return n.join(" ")},toLine:function(){return{x1:this.value[0][0],y1:this.value[0][1],x2:this.value[1][0],y2:this.value[1][1]}},at:function(e){if(!this.destination)return this;for(var t=0,n=this.value.length,o=[];t<n;t++)o.push([this.value[t][0]+(this.destination[t][0]-this.value[t][0])*e,this.value[t][1]+(this.destination[t][1]-this.value[t][1])*e]);return new i.PointArray(o)},parse:function(e){var t=[];if(e=e.valueOf(),Array.isArray(e)){if(Array.isArray(e[0]))return e.map((function(e){return e.slice()}));if(null!=e[0].x)return e.map((function(e){return[e.x,e.y]}))}else e=e.trim().split(i.regex.delimiter).map(parseFloat);e.length%2!==0&&e.pop();for(var n=0,o=e.length;n<o;n+=2)t.push([e[n],e[n+1]]);return t},move:function(e,t){var n=this.bbox();if(e-=n.x,t-=n.y,!isNaN(e)&&!isNaN(t))for(var i=this.value.length-1;i>=0;i--)this.value[i]=[this.value[i][0]+e,this.value[i][1]+t];return this},size:function(e,t){var n,i=this.bbox();for(n=this.value.length-1;n>=0;n--)i.width&&(this.value[n][0]=(this.value[n][0]-i.x)*e/i.width+i.x),i.height&&(this.value[n][1]=(this.value[n][1]-i.y)*t/i.height+i.y);return this},bbox:function(){return i.parser.poly.setAttribute("points",this.toString()),i.parser.poly.getBBox()}});for(var o={M:function(e,t,n){return t.x=n.x=e[0],t.y=n.y=e[1],["M",t.x,t.y]},L:function(e,t){return t.x=e[0],t.y=e[1],["L",e[0],e[1]]},H:function(e,t){return t.x=e[0],["H",e[0]]},V:function(e,t){return t.y=e[0],["V",e[0]]},C:function(e,t){return t.x=e[4],t.y=e[5],["C",e[0],e[1],e[2],e[3],e[4],e[5]]},S:function(e,t){return t.x=e[2],t.y=e[3],["S",e[0],e[1],e[2],e[3]]},Q:function(e,t){return t.x=e[2],t.y=e[3],["Q",e[0],e[1],e[2],e[3]]},T:function(e,t){return t.x=e[0],t.y=e[1],["T",e[0],e[1]]},Z:function(e,t,n){return t.x=n.x,t.y=n.y,["Z"]},A:function(e,t){return t.x=e[5],t.y=e[6],["A",e[0],e[1],e[2],e[3],e[4],e[5],e[6]]}},r="mlhvqtcsaz".split(""),s=0,a=r.length;s<a;++s)o[r[s]]=function(e){return function(t,n,i){if("H"==e)t[0]=t[0]+n.x;else if("V"==e)t[0]=t[0]+n.y;else if("A"==e)t[5]=t[5]+n.x,t[6]=t[6]+n.y;else for(var r=0,s=t.length;r<s;++r)t[r]=t[r]+(r%2?n.y:n.x);return o[e](t,n,i)}}(r[s].toUpperCase());i.PathArray=function(e,t){i.Array.call(this,e,t||[["M",0,0]])},i.PathArray.prototype=new i.Array,i.PathArray.prototype.constructor=i.PathArray,i.extend(i.PathArray,{toString:function(){return A(this.value)},move:function(e,t){var n=this.bbox();if(e-=n.x,t-=n.y,!isNaN(e)&&!isNaN(t))for(var i,o=this.value.length-1;o>=0;o--)i=this.value[o][0],"M"==i||"L"==i||"T"==i?(this.value[o][1]+=e,this.value[o][2]+=t):"H"==i?this.value[o][1]+=e:"V"==i?this.value[o][1]+=t:"C"==i||"S"==i||"Q"==i?(this.value[o][1]+=e,this.value[o][2]+=t,this.value[o][3]+=e,this.value[o][4]+=t,"C"==i&&(this.value[o][5]+=e,this.value[o][6]+=t)):"A"==i&&(this.value[o][6]+=e,this.value[o][7]+=t);return this},size:function(e,t){var n,i,o=this.bbox();for(n=this.value.length-1;n>=0;n--)i=this.value[n][0],"M"==i||"L"==i||"T"==i?(this.value[n][1]=(this.value[n][1]-o.x)*e/o.width+o.x,this.value[n][2]=(this.value[n][2]-o.y)*t/o.height+o.y):"H"==i?this.value[n][1]=(this.value[n][1]-o.x)*e/o.width+o.x:"V"==i?this.value[n][1]=(this.value[n][1]-o.y)*t/o.height+o.y:"C"==i||"S"==i||"Q"==i?(this.value[n][1]=(this.value[n][1]-o.x)*e/o.width+o.x,this.value[n][2]=(this.value[n][2]-o.y)*t/o.height+o.y,this.value[n][3]=(this.value[n][3]-o.x)*e/o.width+o.x,this.value[n][4]=(this.value[n][4]-o.y)*t/o.height+o.y,"C"==i&&(this.value[n][5]=(this.value[n][5]-o.x)*e/o.width+o.x,this.value[n][6]=(this.value[n][6]-o.y)*t/o.height+o.y)):"A"==i&&(this.value[n][1]=this.value[n][1]*e/o.width,this.value[n][2]=this.value[n][2]*t/o.height,this.value[n][6]=(this.value[n][6]-o.x)*e/o.width+o.x,this.value[n][7]=(this.value[n][7]-o.y)*t/o.height+o.y);return this},equalCommands:function(e){var t,n,o;for(e=new i.PathArray(e),o=this.value.length===e.value.length,t=0,n=this.value.length;o&&t<n;t++)o=this.value[t][0]===e.value[t][0];return o},morph:function(e){return e=new i.PathArray(e),this.equalCommands(e)?this.destination=e:this.destination=null,this},at:function(e){if(!this.destination)return this;var t,n,o,r,s=this.value,a=this.destination.value,l=[],c=new i.PathArray;for(t=0,n=s.length;t<n;t++){for(l[t]=[s[t][0]],o=1,r=s[t].length;o<r;o++)l[t][o]=s[t][o]+(a[t][o]-s[t][o])*e;"A"===l[t][0]&&(l[t][4]=+(0!=l[t][4]),l[t][5]=+(0!=l[t][5]))}return c.value=l,c},parse:function(e){if(e instanceof i.PathArray)return e.valueOf();var t,n={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};e="string"==typeof e?e.replace(i.regex.numbersWithDots,c).replace(i.regex.pathLetters," $& ").replace(i.regex.hyphen,"$1 -").trim().split(i.regex.delimiter):e.reduce((function(e,t){return[].concat.call(e,t)}),[]);var r=[],s=new i.Point,a=new i.Point,l=0,h=e.length;do{i.regex.isPathLetter.test(e[l])?(t=e[l],++l):"M"==t?t="L":"m"==t&&(t="l"),r.push(o[t].call(null,e.slice(l,l+=n[t.toUpperCase()]).map(parseFloat),s,a))}while(h>l);return r},bbox:function(){return i.parser.path.setAttribute("d",this.toString()),i.parser.path.getBBox()}}),i.Number=i.invent({create:function(e,t){this.value=0,this.unit=t||"","number"===typeof e?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:"string"===typeof e?(t=e.match(i.regex.numberAndUnit),t&&(this.value=parseFloat(t[1]),"%"==t[5]?this.value/=100:"s"==t[5]&&(this.value*=1e3),this.unit=t[5])):e instanceof i.Number&&(this.value=e.valueOf(),this.unit=e.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(e){return e=new i.Number(e),new i.Number(this+e,this.unit||e.unit)},minus:function(e){return e=new i.Number(e),new i.Number(this-e,this.unit||e.unit)},times:function(e){return e=new i.Number(e),new i.Number(this*e,this.unit||e.unit)},divide:function(e){return e=new i.Number(e),new i.Number(this/e,this.unit||e.unit)},to:function(e){var t=new i.Number(this);return"string"===typeof e&&(t.unit=e),t},morph:function(e){return this.destination=new i.Number(e),e.relative&&(this.destination.value+=this.value),this},at:function(e){return this.destination?new i.Number(this.destination).minus(this).times(e).plus(this):this}}}),i.Element=i.invent({create:function(e){this._stroke=i.defaults.attrs.stroke,this._event=null,this._events={},this.dom={},(this.node=e)&&(this.type=e.nodeName,this.node.instance=this,this._events=e._events||{},this._stroke=e.getAttribute("stroke")||this._stroke)},extend:{x:function(e){return this.attr("x",e)},y:function(e){return this.attr("y",e)},cx:function(e){return null==e?this.x()+this.width()/2:this.x(e-this.width()/2)},cy:function(e){return null==e?this.y()+this.height()/2:this.y(e-this.height()/2)},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},width:function(e){return this.attr("width",e)},height:function(e){return this.attr("height",e)},size:function(e,t){var n=b(this,e,t);return this.width(new i.Number(n.width)).height(new i.Number(n.height))},clone:function(e){this.writeDataToDom();var t=C(this.node.cloneNode(!0));return e?e.add(t):this.after(t),t},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(e){return this.after(e).remove(),e},addTo:function(e){return e.put(this)},putIn:function(e){return e.add(this)},id:function(e){return this.attr("id",e)},inside:function(e,t){var n=this.bbox();return e>n.x&&t>n.y&&e<n.x+n.width&&t<n.y+n.height},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var e=this.attr("class");return null==e?[]:e.trim().split(i.regex.delimiter)},hasClass:function(e){return-1!=this.classes().indexOf(e)},addClass:function(e){if(!this.hasClass(e)){var t=this.classes();t.push(e),this.attr("class",t.join(" "))}return this},removeClass:function(e){return this.hasClass(e)&&this.attr("class",this.classes().filter((function(t){return t!=e})).join(" ")),this},toggleClass:function(e){return this.hasClass(e)?this.removeClass(e):this.addClass(e)},reference:function(e){return i.get(this.attr(e))},parent:function(t){var n=this;if(!n.node.parentNode)return null;if(n=i.adopt(n.node.parentNode),!t)return n;while(n&&n.node instanceof e.SVGElement){if("string"===typeof t?n.matches(t):n instanceof t)return n;if(!n.node.parentNode||"#document"==n.node.parentNode.nodeName||"#document-fragment"==n.node.parentNode.nodeName)return null;n=i.adopt(n.node.parentNode)}},doc:function(){return this instanceof i.Doc?this:this.parent(i.Doc)},parents:function(e){var t=[],n=this;do{if(n=n.parent(e),!n||!n.node)break;t.push(n)}while(n.parent);return t},matches:function(e){return d(this.node,e)},native:function(){return this.node},svg:function(e){var n=t.createElement("svg");if(!(e&&this instanceof i.Parent))return n.appendChild(e=t.createElement("svg")),this.writeDataToDom(),e.appendChild(this.node.cloneNode(!0)),n.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");n.innerHTML="<svg>"+e.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var o=0,r=n.firstChild.childNodes.length;o<r;o++)this.node.appendChild(n.firstChild.firstChild);return this},writeDataToDom:function(){if(this.each||this.lines){var e=this.each?this:this.lines();e.each((function(){this.writeDataToDom()}))}return this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(e){return this.dom=e,this},is:function(e){return u(this,e)}}}),i.easing={"-":function(e){return e},"<>":function(e){return-Math.cos(e*Math.PI)/2+.5},">":function(e){return Math.sin(e*Math.PI/2)},"<":function(e){return 1-Math.cos(e*Math.PI/2)}},i.morph=function(e){return function(t,n){return new i.MorphObj(t,n).at(e)}},i.Situation=i.invent({create:function(e){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new i.Number(e.duration).valueOf(),this.delay=new i.Number(e.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=e.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),i.FX=i.invent({create:function(e){this._target=e,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,t,n){"object"==typeof e&&(t=e.ease,n=e.delay,e=e.duration);var o=new i.Situation({duration:e||1e3,delay:n||0,ease:i.easing[t||"-"]||t});return this.queue(o),this},delay:function(e){var t=new i.Situation({duration:e,delay:0,ease:i.easing["-"]});return this.queue(t)},target:function(e){return e&&e instanceof i.Element?(this._target=e,this):this._target},timeToAbsPos:function(e){return(e-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(e){return this.situation.duration/this._speed*e+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(e){return("function"==typeof e||e instanceof i.Situation)&&this.situations.push(e),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof i.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var e,t,n,o=this.situation;if(o.init)return this;for(e in o.animations)for(n=this.target()[e](),Array.isArray(n)||(n=[n]),Array.isArray(o.animations[e])||(o.animations[e]=[o.animations[e]]),t=n.length;t--;)o.animations[e][t]instanceof i.Number&&(n[t]=new i.Number(n[t])),o.animations[e][t]=n[t].morph(o.animations[e][t]);for(e in o.attrs)o.attrs[e]=new i.MorphObj(this.target().attr(e),o.attrs[e]);for(e in o.styles)o.styles[e]=new i.MorphObj(this.target().style(e),o.styles[e]);return o.initialTransformation=this.target().matrixify(),o.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(e,t){var n=this.active;return this.active=!1,t&&this.clearQueue(),e&&this.situation&&(!n&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},reset:function(){if(this.situation){var e=this.situation;this.stop(),this.situation=e,this.atStart()}return this},finish:function(){this.stop(!0,!1);while(this.dequeue().situation&&this.stop(!0,!1));return this.clearQueue().clearCurrent(),this},atStart:function(){return this.at(0,!0)},atEnd:function(){return!0===this.situation.loops&&(this.situation.loops=this.situation.loop+1),"number"==typeof this.situation.loops?this.at(this.situation.loops,!0):this.at(1,!0)},at:function(e,t){var n=this.situation.duration/this._speed;return this.absPos=e,t||(this.situation.reversed&&(this.absPos=1-this.absPos),this.absPos+=this.situation.loop),this.situation.start=+new Date-this.absPos*n,this.situation.finish=this.situation.start+n,this.step(!0)},speed:function(e){return 0===e?this.pause():e?(this._speed=e,this.at(this.absPos,!0)):this._speed},loop:function(e,t){var n=this.last();return n.loops=null==e||e,n.loop=0,t&&(n.reversing=!0),this},pause:function(){return this.paused=!0,this.stopAnimFrame(),this},play:function(){return this.paused?(this.paused=!1,this.at(this.absPos,!0)):this},reverse:function(e){var t=this.last();return t.reversed="undefined"==typeof e?!t.reversed:e,this},progress:function(e){return e?this.situation.ease(this.pos):this.pos},after:function(e){var t=this.last(),n=function n(i){i.detail.situation==t&&(e.call(this,t),this.off("finished.fx",n))};return this.target().on("finished.fx",n),this._callStart()},during:function(e){var t=this.last(),n=function(n){n.detail.situation==t&&e.call(this,n.detail.pos,i.morph(n.detail.pos),n.detail.eased,t)};return this.target().off("during.fx",n).on("during.fx",n),this.after((function(){this.off("during.fx",n)})),this._callStart()},afterAll:function(e){var t=function t(n){e.call(this),this.off("allfinished.fx",t)};return this.target().off("allfinished.fx",t).on("allfinished.fx",t),this._callStart()},duringAll:function(e){var t=function(t){e.call(this,t.detail.pos,i.morph(t.detail.pos),t.detail.eased,t.detail.situation)};return this.target().off("during.fx",t).on("during.fx",t),this.afterAll((function(){this.off("during.fx",t)})),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(e,t,n){return this.last()[n||"animations"][e]=t,this._callStart()},step:function(e){var t,n,i;(e||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops)?(t=Math.max(this.absPos,0),n=Math.floor(t),!0===this.situation.loops||n<this.situation.loops?(this.pos=t-n,i=this.situation.loop,this.situation.loop=n):(this.absPos=this.situation.loops,this.pos=1,i=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-i)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos);this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var o=this.situation.ease(this.pos);for(var r in this.situation.once)r>this.lastPos&&r<=o&&(this.situation.once[r].call(this.target(),this.pos,o),delete this.situation.once[r]);return this.active&&this.target().fire("during",{pos:this.pos,eased:o,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=o,this):this},eachAt:function(){var e,t,n,o=this,r=this.target(),s=this.situation;for(e in s.animations)n=[].concat(s.animations[e]).map((function(e){return"string"!==typeof e&&e.at?e.at(s.ease(o.pos),o.pos):e})),r[e].apply(r,n);for(e in s.attrs)n=[e].concat(s.attrs[e]).map((function(e){return"string"!==typeof e&&e.at?e.at(s.ease(o.pos),o.pos):e})),r.attr.apply(r,n);for(e in s.styles)n=[e].concat(s.styles[e]).map((function(e){return"string"!==typeof e&&e.at?e.at(s.ease(o.pos),o.pos):e})),r.style.apply(r,n);if(s.transforms.length){for(n=s.initialTransformation,e=0,t=s.transforms.length;e<t;e++){var a=s.transforms[e];a instanceof i.Matrix?n=a.relative?n.multiply((new i.Matrix).morph(a).at(s.ease(this.pos))):n.morph(a).at(s.ease(this.pos)):(a.relative||a.undo(n.extract()),n=n.multiply(a.at(s.ease(this.pos))))}r.matrix(n)}return this},once:function(e,t,n){var i=this.last();return n||(e=i.ease(e)),i.once[e]=t,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:i.Element,construct:{animate:function(e,t,n){return(this.fx||(this.fx=new i.FX(this))).animate(e,t,n)},delay:function(e){return(this.fx||(this.fx=new i.FX(this))).delay(e)},stop:function(e,t){return this.fx&&this.fx.stop(e,t),this},finish:function(){return this.fx&&this.fx.finish(),this},pause:function(){return this.fx&&this.fx.pause(),this},play:function(){return this.fx&&this.fx.play(),this},speed:function(e){if(this.fx){if(null==e)return this.fx.speed();this.fx.speed(e)}return this}}}),i.MorphObj=i.invent({create:function(e,t){return i.Color.isColor(t)?new i.Color(e).morph(t):i.regex.delimiter.test(e)?i.regex.pathLetters.test(e)?new i.PathArray(e).morph(t):new i.Array(e).morph(t):i.regex.numberAndUnit.test(t)?new i.Number(e).morph(t):(this.value=e,void(this.destination=t))},extend:{at:function(e,t){return t<1?this.value:this.destination},valueOf:function(){return this.value}}}),i.extend(i.FX,{attr:function(e,t,n){if("object"==typeof e)for(var i in e)this.attr(i,e[i]);else this.add(e,t,"attrs");return this},style:function(e,t){if("object"==typeof e)for(var n in e)this.style(n,e[n]);else this.add(e,t,"styles");return this},x:function(e,t){if(this.target()instanceof i.G)return this.transform({x:e},t),this;var n=new i.Number(e);return n.relative=t,this.add("x",n)},y:function(e,t){if(this.target()instanceof i.G)return this.transform({y:e},t),this;var n=new i.Number(e);return n.relative=t,this.add("y",n)},cx:function(e){return this.add("cx",new i.Number(e))},cy:function(e){return this.add("cy",new i.Number(e))},move:function(e,t){return this.x(e).y(t)},center:function(e,t){return this.cx(e).cy(t)},size:function(e,t){var n;this.target()instanceof i.Text?this.attr("font-size",e):(e&&t||(n=this.target().bbox()),e||(e=n.width/n.height*t),t||(t=n.height/n.width*e),this.add("width",new i.Number(e)).add("height",new i.Number(t)));return this},width:function(e){return this.add("width",new i.Number(e))},height:function(e){return this.add("height",new i.Number(e))},plot:function(e,t,n,i){return 4==arguments.length?this.plot([e,t,n,i]):this.add("plot",new(this.target().morphArray)(e))},leading:function(e){return this.target().leading?this.add("leading",new i.Number(e)):this},viewbox:function(e,t,n,o){return this.target()instanceof i.Container&&this.add("viewbox",new i.ViewBox(e,t,n,o)),this},update:function(e){if(this.target()instanceof i.Stop){if("number"==typeof e||e instanceof i.Number)return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]});null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",e.offset)}return this}}),i.Box=i.invent({create:function(e,t,n,o){if(!("object"!=typeof e||e instanceof i.Element))return i.Box.call(this,null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height);4==arguments.length&&(this.x=e,this.y=t,this.width=n,this.height=o),E(this)},extend:{merge:function(e){var t=new this.constructor;return t.x=Math.min(this.x,e.x),t.y=Math.min(this.y,e.y),t.width=Math.max(this.x+this.width,e.x+e.width)-t.x,t.height=Math.max(this.y+this.height,e.y+e.height)-t.y,E(t)},transform:function(e){var t,n=1/0,o=-1/0,r=1/0,s=-1/0,a=[new i.Point(this.x,this.y),new i.Point(this.x2,this.y),new i.Point(this.x,this.y2),new i.Point(this.x2,this.y2)];return a.forEach((function(t){t=t.transform(e),n=Math.min(n,t.x),o=Math.max(o,t.x),r=Math.min(r,t.y),s=Math.max(s,t.y)})),t=new this.constructor,t.x=n,t.width=o-n,t.y=r,t.height=s-r,E(t),t}}}),i.BBox=i.invent({create:function(e){if(i.Box.apply(this,[].slice.call(arguments)),e instanceof i.Element){var n;try{if(t.documentElement.contains){if(!t.documentElement.contains(e.node))throw new Exception("Element not in the dom")}else{var o=e.node;while(o.parentNode)o=o.parentNode;if(o!=t)throw new Exception("Element not in the dom")}n=e.node.getBBox()}catch(s){if(e instanceof i.Shape){var r=e.clone(i.parser.draw.instance).show();n=r.node.getBBox(),r.remove()}else n={x:e.node.clientLeft,y:e.node.clientTop,width:e.node.clientWidth,height:e.node.clientHeight}}i.Box.call(this,n)}},inherit:i.Box,parent:i.Element,construct:{bbox:function(){return new i.BBox(this)}}}),i.BBox.prototype.constructor=i.BBox,i.extend(i.Element,{tbox:function(){return this.rbox(this.doc())}}),i.RBox=i.invent({create:function(e){i.Box.apply(this,[].slice.call(arguments)),e instanceof i.Element&&i.Box.call(this,e.node.getBoundingClientRect())},inherit:i.Box,parent:i.Element,extend:{addOffset:function(){return this.x+=e.pageXOffset,this.y+=e.pageYOffset,this}},construct:{rbox:function(e){return e?new i.RBox(this).transform(e.screenCTM().inverse()):new i.RBox(this).addOffset()}}}),i.RBox.prototype.constructor=i.RBox,i.Matrix=i.invent({create:function(e){var t,n=y([1,0,0,1,0,0]);for(e=e instanceof i.Element?e.matrixify():"string"===typeof e?y(e.split(i.regex.delimiter).map(parseFloat)):6==arguments.length?y([].slice.call(arguments)):Array.isArray(e)?y(e):"object"===typeof e?e:n,t=D.length-1;t>=0;--t)this[D[t]]=null!=e[D[t]]?e[D[t]]:n[D[t]]},extend:{extract:function(){var e=v(this,0,1),t=v(this,1,0),n=180/Math.PI*Math.atan2(e.y,e.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(n*Math.PI/180)+this.f*Math.sin(n*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(n*Math.PI/180)+this.e*Math.sin(-n*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),skewX:-n,skewY:180/Math.PI*Math.atan2(t.y,t.x),scaleX:Math.sqrt(this.a*this.a+this.b*this.b),scaleY:Math.sqrt(this.c*this.c+this.d*this.d),rotation:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new i.Matrix(this)}},clone:function(){return new i.Matrix(this)},morph:function(e){return this.destination=new i.Matrix(e),this},at:function(e){if(!this.destination)return this;var t=new i.Matrix({a:this.a+(this.destination.a-this.a)*e,b:this.b+(this.destination.b-this.b)*e,c:this.c+(this.destination.c-this.c)*e,d:this.d+(this.destination.d-this.d)*e,e:this.e+(this.destination.e-this.e)*e,f:this.f+(this.destination.f-this.f)*e});return t},multiply:function(e){return new i.Matrix(this.native().multiply(w(e).native()))},inverse:function(){return new i.Matrix(this.native().inverse())},translate:function(e,t){return new i.Matrix(this.native().translate(e||0,t||0))},scale:function(e,t,n,o){return 1==arguments.length?t=e:3==arguments.length&&(o=n,n=t,t=e),this.around(n,o,new i.Matrix(e,0,0,t,0,0))},rotate:function(e,t,n){return e=i.utils.radians(e),this.around(t,n,new i.Matrix(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0))},flip:function(e,t){return"x"==e?this.scale(-1,1,t,0):"y"==e?this.scale(1,-1,0,t):this.scale(-1,-1,e,null!=t?t:e)},skew:function(e,t,n,o){return 1==arguments.length?t=e:3==arguments.length&&(o=n,n=t,t=e),e=i.utils.radians(e),t=i.utils.radians(t),this.around(n,o,new i.Matrix(1,Math.tan(t),Math.tan(e),1,0,0))},skewX:function(e,t,n){return this.skew(e,0,t,n)},skewY:function(e,t,n){return this.skew(0,e,t,n)},around:function(e,t,n){return this.multiply(new i.Matrix(1,0,0,1,e||0,t||0)).multiply(n).multiply(new i.Matrix(1,0,0,1,-e||0,-t||0))},native:function(){for(var e=i.parser.native.createSVGMatrix(),t=D.length-1;t>=0;t--)e[D[t]]=this[D[t]];return e},toString:function(){return"matrix("+S(this.a)+","+S(this.b)+","+S(this.c)+","+S(this.d)+","+S(this.e)+","+S(this.f)+")"}},parent:i.Element,construct:{ctm:function(){return new i.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof i.Nested){var e=this.rect(1,1),t=e.node.getScreenCTM();return e.remove(),new i.Matrix(t)}return new i.Matrix(this.node.getScreenCTM())}}}),i.Point=i.invent({create:function(e,t){var n,i={x:0,y:0};n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===typeof e?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=t?t:e}:i,this.x=n.x,this.y=n.y},extend:{clone:function(){return new i.Point(this)},morph:function(e,t){return this.destination=new i.Point(e,t),this},at:function(e){if(!this.destination)return this;var t=new i.Point({x:this.x+(this.destination.x-this.x)*e,y:this.y+(this.destination.y-this.y)*e});return t},native:function(){var e=i.parser.native.createSVGPoint();return e.x=this.x,e.y=this.y,e},transform:function(e){return new i.Point(this.native().matrixTransform(e.native()))}}}),i.extend(i.Element,{point:function(e,t){return new i.Point(e,t).transform(this.screenCTM().inverse())}}),i.extend(i.Element,{attr:function(e,t,n){if(null==e){for(e={},t=this.node.attributes,n=t.length-1;n>=0;n--)e[t[n].nodeName]=i.regex.isNumber.test(t[n].nodeValue)?parseFloat(t[n].nodeValue):t[n].nodeValue;return e}if("object"==typeof e)for(t in e)this.attr(t,e[t]);else if(null===t)this.node.removeAttribute(e);else{if(null==t)return t=this.node.getAttribute(e),null==t?i.defaults.attrs[e]:i.regex.isNumber.test(t)?parseFloat(t):t;"stroke-width"==e?this.attr("stroke",parseFloat(t)>0?this._stroke:null):"stroke"==e&&(this._stroke=t),"fill"!=e&&"stroke"!=e||(i.regex.isImage.test(t)&&(t=this.doc().defs().image(t,0,0)),t instanceof i.Image&&(t=this.doc().defs().pattern(0,0,(function(){this.add(t)})))),"number"===typeof t?t=new i.Number(t):i.Color.isColor(t)?t=new i.Color(t):Array.isArray(t)&&(t=new i.Array(t)),"leading"==e?this.leading&&this.leading(t):"string"===typeof n?this.node.setAttributeNS(n,e,t.toString()):this.node.setAttribute(e,t.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,t)}return this}}),i.extend(i.Element,{transform:function(e,t){var n,o,r=this;if("object"!==typeof e)return n=new i.Matrix(r).extract(),"string"===typeof e?n[e]:n;if(n=new i.Matrix(r),t=!!t||!!e.relative,null!=e.a)n=t?n.multiply(new i.Matrix(e)):new i.Matrix(e);else if(null!=e.rotation)_(e,r),n=t?n.rotate(e.rotation,e.cx,e.cy):n.rotate(e.rotation-n.extract().rotation,e.cx,e.cy);else if(null!=e.scale||null!=e.scaleX||null!=e.scaleY){if(_(e,r),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,!t){var s=n.extract();e.scaleX=1*e.scaleX/s.scaleX,e.scaleY=1*e.scaleY/s.scaleY}n=n.scale(e.scaleX,e.scaleY,e.cx,e.cy)}else if(null!=e.skew||null!=e.skewX||null!=e.skewY){if(_(e,r),e.skewX=null!=e.skew?e.skew:null!=e.skewX?e.skewX:0,e.skewY=null!=e.skew?e.skew:null!=e.skewY?e.skewY:0,!t){s=n.extract();n=n.multiply((new i.Matrix).skew(s.skewX,s.skewY,e.cx,e.cy).inverse())}n=n.skew(e.skewX,e.skewY,e.cx,e.cy)}else e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?r.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=r.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,n=(new i.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(t?n=n.translate(e.x,e.y):(null!=e.x&&(n.e=e.x),null!=e.y&&(n.f=e.y)));return this.attr("transform",n)}}),i.extend(i.FX,{transform:function(e,t){var n,o,r=this.target();return"object"!==typeof e?(n=new i.Matrix(r).extract(),"string"===typeof e?n[e]:n):(t=!!t||!!e.relative,null!=e.a?n=new i.Matrix(e):null!=e.rotation?(_(e,r),n=new i.Rotate(e.rotation,e.cx,e.cy)):null!=e.scale||null!=e.scaleX||null!=e.scaleY?(_(e,r),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,n=new i.Scale(e.scaleX,e.scaleY,e.cx,e.cy)):null!=e.skewX||null!=e.skewY?(_(e,r),e.skewX=null!=e.skewX?e.skewX:0,e.skewY=null!=e.skewY?e.skewY:0,n=new i.Skew(e.skewX,e.skewY,e.cx,e.cy)):e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?r.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=r.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,n=(new i.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(n=new i.Translate(e.x,e.y)),n?(n.relative=t,this.last().transforms.push(n),this._callStart()):this)}}),i.extend(i.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){var e=(this.attr("transform")||"").split(i.regex.transforms).slice(0,-1).map((function(e){var t=e.trim().split("(");return[t[0],t[1].split(i.regex.delimiter).map((function(e){return parseFloat(e)}))]})).reduce((function(e,t){return"matrix"==t[0]?e.multiply(y(t[1])):e[t[0]].apply(e,t[1])}),new i.Matrix);return e},toParent:function(e){if(this==e)return this;var t=this.screenCTM(),n=e.screenCTM().inverse();return this.addTo(e).untransform().transform(n.multiply(t)),this},toDoc:function(){return this.toParent(this.doc())}}),i.Transformation=i.invent({create:function(e,t){if(arguments.length>1&&"boolean"!=typeof t)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[n];else if("object"==typeof e)for(n=0,i=this.arguments.length;n<i;++n)this[this.arguments[n]]=e[this.arguments[n]];this.inversed=!1,!0===t&&(this.inversed=!0)},extend:{arguments:[],method:"",at:function(e){for(var t=[],n=0,o=this.arguments.length;n<o;++n)t.push(this[this.arguments[n]]);var r=this._undo||new i.Matrix;return r=(new i.Matrix).morph(i.Matrix.prototype[this.method].apply(r,t)).at(e),this.inversed?r.inverse():r},undo:function(e){for(var t=0,n=this.arguments.length;t<n;++t)e[this.arguments[t]]="undefined"==typeof this[this.arguments[t]]?0:e[this.arguments[t]];return e.cx=this.cx,e.cy=this.cy,this._undo=new(i[f(this.method)])(e,!0).at(1),this}}}),i.Translate=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),i.Rotate=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["rotation","cx","cy"],method:"rotate",at:function(e){var t=(new i.Matrix).rotate((new i.Number).morph(this.rotation-(this._undo?this._undo.rotation:0)).at(e),this.cx,this.cy);return this.inversed?t.inverse():t},undo:function(e){return this._undo=e,this}}}),i.Scale=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["scaleX","scaleY","cx","cy"],method:"scale"}}),i.Skew=i.invent({parent:i.Matrix,inherit:i.Transformation,create:function(e,t){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["skewX","skewY","cx","cy"],method:"skew"}}),i.extend(i.Element,{style:function(e,t){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"==typeof e)for(t in e)this.style(t,e[t]);else{if(!i.regex.isCss.test(e))return this.node.style[p(e)];e=e.split(/\s*;\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\s*:\s*/)}));while(t=e.pop())this.style(t[0],t[1])}else this.node.style[p(e)]=null===t||i.regex.isBlank.test(t)?"":t;return this}}),i.Parent=i.invent({create:function(e){this.constructor.call(this,e)},inherit:i.Element,extend:{children:function(){return i.utils.map(i.utils.filterSVGElements(this.node.childNodes),(function(e){return i.adopt(e)}))},add:function(e,t){return null==t?this.node.appendChild(e.node):e.node!=this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this},put:function(e,t){return this.add(e,t),e},has:function(e){return this.index(e)>=0},index:function(e){return[].slice.call(this.node.childNodes).indexOf(e.node)},get:function(e){return i.adopt(this.node.childNodes[e])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(e,t){var n,o,r=this.children();for(n=0,o=r.length;n<o;n++)r[n]instanceof i.Element&&e.apply(r[n],[n,r]),t&&r[n]instanceof i.Container&&r[n].each(e,t);return this},removeElement:function(e){return this.node.removeChild(e.node),this},clear:function(){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),i.extend(i.Parent,{ungroup:function(e,t){return 0===t||this instanceof i.Defs||this.node==i.parser.draw||(e=e||(this instanceof i.Doc?this:this.parent(i.Parent)),t=t||1/0,this.each((function(){return this instanceof i.Defs?this:this instanceof i.Parent?this.ungroup(e,t-1):this.toParent(e)})),this.node.firstChild||this.remove()),this},flatten:function(e,t){return this.ungroup(e,t)}}),i.Container=i.invent({create:function(e){this.constructor.call(this,e)},inherit:i.Parent}),i.ViewBox=i.invent({create:function(e){var t,n,o,r,s,a,l,c=[0,0,0,0],h=1,u=1,d=/[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/gi;if(e instanceof i.Element){a=e,l=e,s=(e.attr("viewBox")||"").match(d),e.bbox,o=new i.Number(e.width()),r=new i.Number(e.height());while("%"==o.unit)h*=o.value,o=new i.Number(a instanceof i.Doc?a.parent().offsetWidth:a.parent().width()),a=a.parent();while("%"==r.unit)u*=r.value,r=new i.Number(l instanceof i.Doc?l.parent().offsetHeight:l.parent().height()),l=l.parent();this.x=0,this.y=0,this.width=o*h,this.height=r*u,this.zoom=1,s&&(t=parseFloat(s[0]),n=parseFloat(s[1]),o=parseFloat(s[2]),r=parseFloat(s[3]),this.zoom=this.width/this.height>o/r?this.height/r:this.width/o,this.x=t,this.y=n,this.width=o,this.height=r)}else e="string"===typeof e?e.match(d).map((function(e){return parseFloat(e)})):Array.isArray(e)?e:"object"==typeof e?[e.x,e.y,e.width,e.height]:4==arguments.length?[].slice.call(arguments):c,this.x=e[0],this.y=e[1],this.width=e[2],this.height=e[3]},extend:{toString:function(){return this.x+" "+this.y+" "+this.width+" "+this.height},morph:function(e,t,n,o){return this.destination=new i.ViewBox(e,t,n,o),this},at:function(e){return this.destination?new i.ViewBox([this.x+(this.destination.x-this.x)*e,this.y+(this.destination.y-this.y)*e,this.width+(this.destination.width-this.width)*e,this.height+(this.destination.height-this.height)*e]):this}},parent:i.Container,construct:{viewbox:function(e,t,n,o){return 0==arguments.length?new i.ViewBox(this):this.attr("viewBox",new i.ViewBox(e,t,n,o))}}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach((function(e){i.Element.prototype[e]=function(t){return null==t?i.off(this,e):i.on(this,e,t),this}})),i.listenerId=0,i.on=function(e,t,n,o,r){var s=n.bind(o||e),a=e instanceof i.Element?e.node:e;a.instance=a.instance||{_events:{}};var l=a.instance._events;n._svgjsListenerId||(n._svgjsListenerId=++i.listenerId),t.split(i.regex.delimiter).forEach((function(e){var t=e.split(".")[0],i=e.split(".")[1]||"*";l[t]=l[t]||{},l[t][i]=l[t][i]||{},l[t][i][n._svgjsListenerId]=s,a.addEventListener(t,s,r||!1)}))},i.off=function(e,t,n,o){var r=e instanceof i.Element?e.node:e;if(r.instance&&("function"!==typeof n||(n=n._svgjsListenerId,n))){var s=r.instance._events;(t||"").split(i.regex.delimiter).forEach((function(e){var t,a,l=e&&e.split(".")[0],c=e&&e.split(".")[1];if(n)s[l]&&s[l][c||"*"]&&(r.removeEventListener(l,s[l][c||"*"][n],o||!1),delete s[l][c||"*"][n]);else if(l&&c){if(s[l]&&s[l][c]){for(a in s[l][c])i.off(r,[l,c].join("."),a);delete s[l][c]}}else if(c)for(e in s)for(t in s[e])c===t&&i.off(r,[e,c].join("."));else if(l){if(s[l]){for(t in s[l])i.off(r,[l,t].join("."));delete s[l]}}else{for(e in s)i.off(r,e);r.instance._events={}}}))}},i.extend(i.Element,{on:function(e,t,n,o){return i.on(this,e,t,n,o),this},off:function(e,t){return i.off(this.node,e,t),this},fire:function(t,n){return t instanceof e.Event?this.node.dispatchEvent(t):this.node.dispatchEvent(t=new i.CustomEvent(t,{detail:n,cancelable:!0})),this._event=t,this},event:function(){return this._event}}),i.Defs=i.invent({create:"defs",inherit:i.Container}),i.G=i.invent({create:"g",inherit:i.Container,extend:{x:function(e){return null==e?this.transform("x"):this.transform({x:e-this.x()},!0)},y:function(e){return null==e?this.transform("y"):this.transform({y:e-this.y()},!0)},cx:function(e){return null==e?this.gbox().cx:this.x(e-this.gbox().width/2)},cy:function(e){return null==e?this.gbox().cy:this.y(e-this.gbox().height/2)},gbox:function(){var e=this.bbox(),t=this.transform();return e.x+=t.x,e.x2+=t.x,e.cx+=t.x,e.y+=t.y,e.y2+=t.y,e.cy+=t.y,e}},construct:{group:function(){return this.put(new i.G)}}}),i.Doc=i.invent({create:function(e){e&&(e="string"==typeof e?t.getElementById(e):e,"svg"==e.nodeName?this.constructor.call(this,e):(this.constructor.call(this,i.create("svg")),e.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:i.Container,extend:{namespace:function(){return this.attr({xmlns:i.ns,version:"1.1"}).attr("xmlns:xlink",i.xlink,i.xmlns).attr("xmlns:svgjs",i.svgjs,i.xmlns)},defs:function(){var e;this._defs||((e=this.node.getElementsByTagName("defs")[0])?this._defs=i.adopt(e):this._defs=new i.Defs,this.node.appendChild(this._defs.node));return this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName&&"#document-fragment"!=this.node.parentNode.nodeName?this.node.parentNode:null},spof:function(){var e=this.node.getScreenCTM();return e&&this.style("left",-e.e%1+"px").style("top",-e.f%1+"px"),this},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return delete this._defs,i.parser.draw.parentNode||this.node.appendChild(i.parser.draw),this},clone:function(e){this.writeDataToDom();var t=this.node,n=C(t.cloneNode(!0));return e?(e.node||e).appendChild(n.node):t.parentNode.insertBefore(n.node,t.nextSibling),n}}}),i.extend(i.Element,{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},previous:function(){return this.siblings()[this.position()-1]},forward:function(){var e=this.position()+1,t=this.parent();return t.removeElement(this).add(this,e),t instanceof i.Doc&&t.node.appendChild(t.defs().node),this},backward:function(){var e=this.position();return e>0&&this.parent().removeElement(this).add(this,e-1),this},front:function(){var e=this.parent();return e.node.appendChild(this.node),e instanceof i.Doc&&e.node.appendChild(e.defs().node),this},back:function(){return this.position()>0&&this.parent().removeElement(this).add(this,0),this},before:function(e){e.remove();var t=this.position();return this.parent().add(e,t),this},after:function(e){e.remove();var t=this.position();return this.parent().add(e,t+1),this}}),i.Mask=i.invent({create:function(){this.constructor.call(this,i.create("mask")),this.targets=[]},inherit:i.Container,extend:{remove:function(){for(var e=this.targets.length-1;e>=0;e--)this.targets[e]&&this.targets[e].unmask();return this.targets=[],i.Element.prototype.remove.call(this),this}},construct:{mask:function(){return this.defs().put(new i.Mask)}}}),i.extend(i.Element,{maskWith:function(e){return this.masker=e instanceof i.Mask?e:this.parent().mask().add(e),this.masker.targets.push(this),this.attr("mask",'url("#'+this.masker.attr("id")+'")')},unmask:function(){return delete this.masker,this.attr("mask",null)}}),i.ClipPath=i.invent({create:function(){this.constructor.call(this,i.create("clipPath")),this.targets=[]},inherit:i.Container,extend:{remove:function(){for(var e=this.targets.length-1;e>=0;e--)this.targets[e]&&this.targets[e].unclip();return this.targets=[],this.parent().removeElement(this),this}},construct:{clip:function(){return this.defs().put(new i.ClipPath)}}}),i.extend(i.Element,{clipWith:function(e){return this.clipper=e instanceof i.ClipPath?e:this.parent().clip().add(e),this.clipper.targets.push(this),this.attr("clip-path",'url("#'+this.clipper.attr("id")+'")')},unclip:function(){return delete this.clipper,this.attr("clip-path",null)}}),i.Gradient=i.invent({create:function(e){this.constructor.call(this,i.create(e+"Gradient")),this.type=e},inherit:i.Container,extend:{at:function(e,t,n){return this.put(new i.Stop).update(e,t,n)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(e,t,n){return"transform"==e&&(e="gradientTransform"),i.Container.prototype.attr.call(this,e,t,n)}},construct:{gradient:function(e,t){return this.defs().gradient(e,t)}}}),i.extend(i.Gradient,i.FX,{from:function(e,t){return"radial"==(this._target||this).type?this.attr({fx:new i.Number(e),fy:new i.Number(t)}):this.attr({x1:new i.Number(e),y1:new i.Number(t)})},to:function(e,t){return"radial"==(this._target||this).type?this.attr({cx:new i.Number(e),cy:new i.Number(t)}):this.attr({x2:new i.Number(e),y2:new i.Number(t)})}}),i.extend(i.Defs,{gradient:function(e,t){return this.put(new i.Gradient(e)).update(t)}}),i.Stop=i.invent({create:"stop",inherit:i.Element,extend:{update:function(e){return("number"==typeof e||e instanceof i.Number)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=e.opacity&&this.attr("stop-opacity",e.opacity),null!=e.color&&this.attr("stop-color",e.color),null!=e.offset&&this.attr("offset",new i.Number(e.offset)),this}}}),i.Pattern=i.invent({create:"pattern",inherit:i.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return this.fill()},attr:function(e,t,n){return"transform"==e&&(e="patternTransform"),i.Container.prototype.attr.call(this,e,t,n)}},construct:{pattern:function(e,t,n){return this.defs().pattern(e,t,n)}}}),i.extend(i.Defs,{pattern:function(e,t,n){return this.put(new i.Pattern).update(n).attr({x:0,y:0,width:e,height:t,patternUnits:"userSpaceOnUse"})}}),i.Shape=i.invent({create:function(e){this.constructor.call(this,e)},inherit:i.Element}),i.Bare=i.invent({create:function(e,t){if(this.constructor.call(this,i.create(e)),t)for(var n in t.prototype)"function"===typeof t.prototype[n]&&(this[n]=t.prototype[n])},inherit:i.Element,extend:{words:function(e){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return this.node.appendChild(t.createTextNode(e)),this}}}),i.extend(i.Parent,{element:function(e,t){return this.put(new i.Bare(e,t))}}),i.Symbol=i.invent({create:"symbol",inherit:i.Container,construct:{symbol:function(){return this.put(new i.Symbol)}}}),i.Use=i.invent({create:"use",inherit:i.Shape,extend:{element:function(e,t){return this.attr("href",(t||"")+"#"+e,i.xlink)}},construct:{use:function(e,t){return this.put(new i.Use).element(e,t)}}}),i.Rect=i.invent({create:"rect",inherit:i.Shape,construct:{rect:function(e,t){return this.put(new i.Rect).size(e,t)}}}),i.Circle=i.invent({create:"circle",inherit:i.Shape,construct:{circle:function(e){return this.put(new i.Circle).rx(new i.Number(e).divide(2)).move(0,0)}}}),i.extend(i.Circle,i.FX,{rx:function(e){return this.attr("r",e)},ry:function(e){return this.rx(e)}}),i.Ellipse=i.invent({create:"ellipse",inherit:i.Shape,construct:{ellipse:function(e,t){return this.put(new i.Ellipse).size(e,t).move(0,0)}}}),i.extend(i.Ellipse,i.Rect,i.FX,{rx:function(e){return this.attr("rx",e)},ry:function(e){return this.attr("ry",e)}}),i.extend(i.Circle,i.Ellipse,{x:function(e){return null==e?this.cx()-this.rx():this.cx(e+this.rx())},y:function(e){return null==e?this.cy()-this.ry():this.cy(e+this.ry())},cx:function(e){return null==e?this.attr("cx"):this.attr("cx",e)},cy:function(e){return null==e?this.attr("cy"):this.attr("cy",e)},width:function(e){return null==e?2*this.rx():this.rx(new i.Number(e).divide(2))},height:function(e){return null==e?2*this.ry():this.ry(new i.Number(e).divide(2))},size:function(e,t){var n=b(this,e,t);return this.rx(new i.Number(n.width).divide(2)).ry(new i.Number(n.height).divide(2))}}),i.Line=i.invent({create:"line",inherit:i.Shape,extend:{array:function(){return new i.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(e,t,n,o){return null==e?this.array():(e="undefined"!==typeof t?{x1:e,y1:t,x2:n,y2:o}:new i.PointArray(e).toLine(),this.attr(e))},move:function(e,t){return this.attr(this.array().move(e,t).toLine())},size:function(e,t){var n=b(this,e,t);return this.attr(this.array().size(n.width,n.height).toLine())}},construct:{line:function(e,t,n,o){return i.Line.prototype.plot.apply(this.put(new i.Line),null!=e?[e,t,n,o]:[0,0,0,0])}}}),i.Polyline=i.invent({create:"polyline",inherit:i.Shape,construct:{polyline:function(e){return this.put(new i.Polyline).plot(e||new i.PointArray)}}}),i.Polygon=i.invent({create:"polygon",inherit:i.Shape,construct:{polygon:function(e){return this.put(new i.Polygon).plot(e||new i.PointArray)}}}),i.extend(i.Polyline,i.Polygon,{array:function(){return this._array||(this._array=new i.PointArray(this.attr("points")))},plot:function(e){return null==e?this.array():this.clear().attr("points","string"==typeof e?e:this._array=new i.PointArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("points",this.array().move(e,t))},size:function(e,t){var n=b(this,e,t);return this.attr("points",this.array().size(n.width,n.height))}}),i.extend(i.Line,i.Polyline,i.Polygon,{morphArray:i.PointArray,x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},width:function(e){var t=this.bbox();return null==e?t.width:this.size(e,t.height)},height:function(e){var t=this.bbox();return null==e?t.height:this.size(t.width,e)}}),i.Path=i.invent({create:"path",inherit:i.Shape,extend:{morphArray:i.PathArray,array:function(){return this._array||(this._array=new i.PathArray(this.attr("d")))},plot:function(e){return null==e?this.array():this.clear().attr("d","string"==typeof e?e:this._array=new i.PathArray(e))},clear:function(){return delete this._array,this},move:function(e,t){return this.attr("d",this.array().move(e,t))},x:function(e){return null==e?this.bbox().x:this.move(e,this.bbox().y)},y:function(e){return null==e?this.bbox().y:this.move(this.bbox().x,e)},size:function(e,t){var n=b(this,e,t);return this.attr("d",this.array().size(n.width,n.height))},width:function(e){return null==e?this.bbox().width:this.size(e,this.bbox().height)},height:function(e){return null==e?this.bbox().height:this.size(this.bbox().width,e)}},construct:{path:function(e){return this.put(new i.Path).plot(e||new i.PathArray)}}}),i.Image=i.invent({create:"image",inherit:i.Shape,extend:{load:function(t){if(!t)return this;var n=this,o=new e.Image;return i.on(o,"load",(function(){i.off(o);var e=n.parent(i.Pattern);null!==e&&(0==n.width()&&0==n.height()&&n.size(o.width,o.height),e&&0==e.width()&&0==e.height()&&e.size(n.width(),n.height()),"function"===typeof n._loaded&&n._loaded.call(n,{width:o.width,height:o.height,ratio:o.width/o.height,url:t}))})),i.on(o,"error",(function(e){i.off(o),"function"===typeof n._error&&n._error.call(n,e)})),this.attr("href",o.src=this.src=t,i.xlink)},loaded:function(e){return this._loaded=e,this},error:function(e){return this._error=e,this}},construct:{image:function(e,t,n){return this.put(new i.Image).load(e).size(t||0,n||t||0)}}}),i.Text=i.invent({create:function(){this.constructor.call(this,i.create("text")),this.dom.leading=new i.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",i.defaults.attrs["font-family"])},inherit:i.Shape,extend:{x:function(e){return null==e?this.attr("x"):this.attr("x",e)},y:function(e){var t=this.attr("y"),n="number"===typeof t?t-this.bbox().y:0;return null==e?"number"===typeof t?t-n:t:this.attr("y","number"===typeof e.valueOf()?e+n:e)},cx:function(e){return null==e?this.bbox().cx:this.x(e-this.bbox().width/2)},cy:function(e){return null==e?this.bbox().cy:this.y(e-this.bbox().height/2)},text:function(e){if("undefined"===typeof e){e="";for(var t=this.node.childNodes,n=0,o=t.length;n<o;++n)0!=n&&3!=t[n].nodeType&&1==i.adopt(t[n]).dom.newLined&&(e+="\n"),e+=t[n].textContent;return e}if(this.clear().build(!0),"function"===typeof e)e.call(this,this);else{e=e.split("\n");n=0;for(var r=e.length;n<r;n++)this.tspan(e[n]).newLine()}return this.build(!1).rebuild()},size:function(e){return this.attr("font-size",e).rebuild()},leading:function(e){return null==e?this.dom.leading:(this.dom.leading=new i.Number(e),this.rebuild())},lines:function(){var e=(this.textPath&&this.textPath()||this).node,t=i.utils.map(i.utils.filterSVGElements(e.childNodes),(function(e){return i.adopt(e)}));return new i.Set(t)},rebuild:function(e){if("boolean"==typeof e&&(this._rebuild=e),this._rebuild){var t=this,n=0,o=this.dom.leading*new i.Number(this.attr("font-size"));this.lines().each((function(){this.dom.newLined&&(t.textPath()||this.attr("x",t.attr("x")),"\n"==this.text()?n+=o:(this.attr("dy",o+n),n=0))})),this.fire("rebuild")}return this},build:function(e){return this._build=!!e,this},setData:function(e){return this.dom=e,this.dom.leading=new i.Number(e.leading||1.3),this}},construct:{text:function(e){return this.put(new i.Text).text(e)},plain:function(e){return this.put(new i.Text).plain(e)}}}),i.Tspan=i.invent({create:"tspan",inherit:i.Shape,extend:{text:function(e){return null==e?this.node.textContent+(this.dom.newLined?"\n":""):("function"===typeof e?e.call(this,this):this.plain(e),this)},dx:function(e){return this.attr("dx",e)},dy:function(e){return this.attr("dy",e)},newLine:function(){var e=this.parent(i.Text);return this.dom.newLined=!0,this.dy(e.dom.leading*e.attr("font-size")).attr("x",e.x())}}}),i.extend(i.Text,i.Tspan,{plain:function(e){return!1===this._build&&this.clear(),this.node.appendChild(t.createTextNode(e)),this},tspan:function(e){var t=(this.textPath&&this.textPath()||this).node,n=new i.Tspan;return!1===this._build&&this.clear(),t.appendChild(n.node),n.text(e)},clear:function(){var e=(this.textPath&&this.textPath()||this).node;while(e.hasChildNodes())e.removeChild(e.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),i.TextPath=i.invent({create:"textPath",inherit:i.Parent,parent:i.Text,construct:{morphArray:i.PathArray,path:function(e){var t=new i.TextPath,n=this.doc().defs().path(e);while(this.node.hasChildNodes())t.node.appendChild(this.node.firstChild);return this.node.appendChild(t.node),t.attr("href","#"+n,i.xlink),this},array:function(){var e=this.track();return e?e.array():null},plot:function(e){var t=this.track(),n=null;return t&&(n=t.plot(e)),null==e?n:this},track:function(){var e=this.textPath();if(e)return e.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return i.adopt(this.node.firstChild)}}}),i.Nested=i.invent({create:function(){this.constructor.call(this,i.create("svg")),this.style("overflow","visible")},inherit:i.Container,construct:{nested:function(){return this.put(new i.Nested)}}}),i.A=i.invent({create:"a",inherit:i.Container,extend:{to:function(e){return this.attr("href",e,i.xlink)},show:function(e){return this.attr("show",e,i.xlink)},target:function(e){return this.attr("target",e)}},construct:{link:function(e){return this.put(new i.A).to(e)}}}),i.extend(i.Element,{linkTo:function(e){var t=new i.A;return"function"==typeof e?e.call(t,t):t.to(e),this.parent().put(t).put(this)}}),i.Marker=i.invent({create:"marker",inherit:i.Container,extend:{width:function(e){return this.attr("markerWidth",e)},height:function(e){return this.attr("markerHeight",e)},ref:function(e,t){return this.attr("refX",e).attr("refY",t)},update:function(e){return this.clear(),"function"==typeof e&&e.call(this,this),this},toString:function(){return"url(#"+this.id()+")"}},construct:{marker:function(e,t,n){return this.defs().marker(e,t,n)}}}),i.extend(i.Defs,{marker:function(e,t,n){return this.put(new i.Marker).size(e,t).ref(e/2,t/2).viewbox(0,0,e,t).attr("orient","auto").update(n)}}),i.extend(i.Line,i.Polyline,i.Polygon,i.Path,{marker:function(e,t,n,o){var r=["marker"];return"all"!=e&&r.push(e),r=r.join("-"),e=arguments[1]instanceof i.Marker?arguments[1]:this.doc().marker(t,n,o),this.attr(r,e)}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(e,t){return"color"==t?e:e+"-"+t}};function c(e,t,n,o){return n+o.replace(i.regex.dots," .")}function h(e){for(var t=e.slice(0),n=t.length;n--;)Array.isArray(t[n])&&(t[n]=h(t[n]));return t}function u(e,t){return e instanceof t}function d(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function p(e){return e.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function f(e){return e.charAt(0).toUpperCase()+e.slice(1)}function g(e){return 4==e.length?["#",e.substring(1,2),e.substring(1,2),e.substring(2,3),e.substring(2,3),e.substring(3,4),e.substring(3,4)].join(""):e}function m(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function b(e,t,n){if(null==t||null==n){var i=e.bbox();null==t?t=i.width/i.height*n:null==n&&(n=i.height/i.width*t)}return{width:t,height:n}}function v(e,t,n){return{x:t*e.a+n*e.c+0,y:t*e.b+n*e.d+0}}function y(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}function w(e){return e instanceof i.Matrix||(e=new i.Matrix(e)),e}function _(e,t){e.cx=null==e.cx?t.bbox().cx:e.cx,e.cy=null==e.cy?t.bbox().cy:e.cy}function A(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t][0],null!=e[t][1]&&(i+=e[t][1],null!=e[t][2]&&(i+=" ",i+=e[t][2],null!=e[t][3]&&(i+=" ",i+=e[t][3],i+=" ",i+=e[t][4],null!=e[t][5]&&(i+=" ",i+=e[t][5],i+=" ",i+=e[t][6],null!=e[t][7]&&(i+=" ",i+=e[t][7])))));return i+" "}function C(t){for(var n=t.childNodes.length-1;n>=0;n--)t.childNodes[n]instanceof e.SVGElement&&C(t.childNodes[n]);return i.adopt(t).id(i.eid(t.nodeName))}function E(e){return null==e.x&&(e.x=0,e.y=0,e.width=0,e.height=0),e.w=e.width,e.h=e.height,e.x2=e.x+e.width,e.y2=e.y+e.height,e.cx=e.x+e.width/2,e.cy=e.y+e.height/2,e}function x(e){var t=(e||"").toString().match(i.regex.reference);if(t)return t[1]}function S(e){return Math.abs(e)>1e-37?e:0}["fill","stroke"].forEach((function(e){var t,n={};n[e]=function(n){if("undefined"==typeof n)return this;if("string"==typeof n||i.Color.isRgb(n)||n&&"function"===typeof n.fill)this.attr(e,n);else for(t=l[e].length-1;t>=0;t--)null!=n[l[e][t]]&&this.attr(l.prefix(e,l[e][t]),n[l[e][t]]);return this},i.extend(i.Element,i.FX,n)})),i.extend(i.Element,i.FX,{rotate:function(e,t,n){return this.transform({rotation:e,cx:t,cy:n})},skew:function(e,t,n,i){return 1==arguments.length||3==arguments.length?this.transform({skew:e,cx:t,cy:n}):this.transform({skewX:e,skewY:t,cx:n,cy:i})},scale:function(e,t,n,i){return 1==arguments.length||3==arguments.length?this.transform({scale:e,cx:t,cy:n}):this.transform({scaleX:e,scaleY:t,cx:n,cy:i})},translate:function(e,t){return this.transform({x:e,y:t})},flip:function(e,t){return t="number"==typeof e?e:t,this.transform({flip:e||"both",offset:t})},matrix:function(e){return this.attr("transform",new i.Matrix(6==arguments.length?[].slice.call(arguments):e))},opacity:function(e){return this.attr("opacity",e)},dx:function(e){return this.x(new i.Number(e).plus(this instanceof i.FX?0:this.x()),!0)},dy:function(e){return this.y(new i.Number(e).plus(this instanceof i.FX?0:this.y()),!0)},dmove:function(e,t){return this.dx(e).dy(t)}}),i.extend(i.Rect,i.Ellipse,i.Circle,i.Gradient,i.FX,{radius:function(e,t){var n=(this._target||this).type;return"radial"==n||"circle"==n?this.attr("r",new i.Number(e)):this.rx(e).ry(null==t?e:t)}}),i.extend(i.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(e){return this.node.getPointAtLength(e)}}),i.extend(i.Parent,i.Text,i.Tspan,i.FX,{font:function(e,t){if("object"==typeof e)for(t in e)this.font(t,e[t]);return"leading"==e?this.leading(t):"anchor"==e?this.attr("text-anchor",t):"size"==e||"family"==e||"weight"==e||"stretch"==e||"variant"==e||"style"==e?this.attr("font-"+e,t):this.attr(e,t)}}),i.Set=i.invent({create:function(e){e instanceof i.Set?this.members=e.members.slice():Array.isArray(e)?this.members=e:this.clear()},extend:{add:function(){var e,t,n=[].slice.call(arguments);for(e=0,t=n.length;e<t;e++)this.members.push(n[e]);return this},remove:function(e){var t=this.index(e);return t>-1&&this.members.splice(t,1),this},each:function(e){for(var t=0,n=this.members.length;t<n;t++)e.apply(this.members[t],[t,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(e){return this.index(e)>=0},index:function(e){return this.members.indexOf(e)},get:function(e){return this.members[e]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members},bbox:function(){if(0==this.members.length)return new i.RBox;var e=this.members[0].rbox(this.members[0].doc());return this.each((function(){e=e.merge(this.rbox(this.doc()))})),e}},construct:{set:function(e){return new i.Set(e)}}}),i.FX.Set=i.invent({create:function(e){this.set=e}}),i.Set.inherit=function(){var e=[];for(var t in i.Shape.prototype)"function"==typeof i.Shape.prototype[t]&&"function"!=typeof i.Set.prototype[t]&&e.push(t);for(var t in e.forEach((function(e){i.Set.prototype[e]=function(){for(var t=0,n=this.members.length;t<n;t++)this.members[t]&&"function"==typeof this.members[t][e]&&this.members[t][e].apply(this.members[t],arguments);return"animate"==e?this.fx||(this.fx=new i.FX.Set(this)):this}})),e=[],i.FX.prototype)"function"==typeof i.FX.prototype[t]&&"function"!=typeof i.FX.Set.prototype[t]&&e.push(t);e.forEach((function(e){i.FX.Set.prototype[e]=function(){for(var t=0,n=this.set.members.length;t<n;t++)this.set.members[t].fx[e].apply(this.set.members[t].fx,arguments);return this}}))},i.extend(i.Element,{data:function(e,t,n){if("object"==typeof e)for(t in e)this.data(t,e[t]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+e))}catch(i){return this.attr("data-"+e)}else this.attr("data-"+e,null===t?null:!0===n||"string"===typeof t||"number"===typeof t?t:JSON.stringify(t));return this}}),i.extend(i.Element,{remember:function(e,t){if("object"==typeof arguments[0])for(var t in e)this.remember(t,e[t]);else{if(1==arguments.length)return this.memory()[e];this.memory()[e]=t}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var e=arguments.length-1;e>=0;e--)delete this.memory()[arguments[e]];return this},memory:function(){return this._memory||(this._memory={})}}),i.get=function(e){var n=t.getElementById(x(e)||e);return i.adopt(n)},i.select=function(e,n){return new i.Set(i.utils.map((n||t).querySelectorAll(e),(function(e){return i.adopt(e)})))},i.extend(i.Parent,{select:function(e){return i.select(e,this.node)}});var D="abcdef".split("");if("function"!==typeof e.CustomEvent){var k=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i};k.prototype=e.Event.prototype,i.CustomEvent=k}else i.CustomEvent=e.CustomEvent;return function(t){for(var n=0,i=["moz","webkit"],o=0;o<i.length&&!e.requestAnimationFrame;++o)t.requestAnimationFrame=t[i[o]+"RequestAnimationFrame"],t.cancelAnimationFrame=t[i[o]+"CancelAnimationFrame"]||t[i[o]+"CancelRequestAnimationFrame"];t.requestAnimationFrame=t.requestAnimationFrame||function(e){var i=(new Date).getTime(),o=Math.max(0,16-(i-n)),r=t.setTimeout((function(){e(i+o)}),o);return n=i+o,r},t.cancelAnimationFrame=t.cancelAnimationFrame||t.clearTimeout}(e),i}))},d30c:function(e,t,n){"use strict";var i=n("6043"),o=n("b896"),r=n("1810"),s=n("55ab"),a=r("species");e.exports=function(e){var t=i(e),n=o.f;s&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},d31d:function(e,t,n){"use strict";var i,o,r,s,a=n("83ec"),l=n("f0db"),c=n("e244"),h=n("6043"),u=n("fc9a"),d=n("7d86"),p=n("6161"),f=n("13a8"),g=n("63ef"),m=n("d30c"),b=n("eee7"),v=n("7f17"),y=n("d6e4"),w=n("9550"),_=n("d75f"),A=n("59cf"),C=n("a55b"),E=n("59e5").set,x=n("f652"),S=n("3073"),D=n("4fe1"),k=n("fc01"),M=n("53ff"),N=n("35d6"),L=n("a056"),B=n("1810"),I=n("cbc4"),T=n("f79e"),O=n("2c21"),R=B("species"),P="Promise",F=N.get,j=N.set,Q=N.getterFor(P),z=u&&u.prototype,V=u,W=z,H=c.TypeError,U=c.document,Y=c.process,G=k.f,K=G,q=!!(U&&U.createEvent&&c.dispatchEvent),J="function"==typeof PromiseRejectionEvent,X="unhandledrejection",$="rejectionhandled",Z=0,ee=1,te=2,ne=1,ie=2,oe=!1,re=L(P,(function(){var e=w(V)!==String(V);if(!e&&66===O)return!0;if(l&&!W["finally"])return!0;if(O>=51&&/native code/.test(V))return!1;var t=new V((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))},i=t.constructor={};return i[R]=n,oe=t.then((function(){}))instanceof n,!oe||!e&&I&&!J})),se=re||!A((function(e){V.all(e)["catch"]((function(){}))})),ae=function(e){var t;return!(!b(e)||"function"!=typeof(t=e.then))&&t},le=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;x((function(){var i=e.value,o=e.state==ee,r=0;while(n.length>r){var s,a,l,c=n[r++],h=o?c.ok:c.fail,u=c.resolve,d=c.reject,p=c.domain;try{h?(o||(e.rejection===ie&&de(e),e.rejection=ne),!0===h?s=i:(p&&p.enter(),s=h(i),p&&(p.exit(),l=!0)),s===c.promise?d(H("Promise-chain cycle")):(a=ae(s))?a.call(s,u,d):u(s)):d(i)}catch(f){p&&!l&&p.exit(),d(f)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&he(e)}))}},ce=function(e,t,n){var i,o;q?(i=U.createEvent("Event"),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),c.dispatchEvent(i)):i={promise:t,reason:n},!J&&(o=c["on"+e])?o(i):e===X&&D("Unhandled promise rejection",n)},he=function(e){E.call(c,(function(){var t,n=e.facade,i=e.value,o=ue(e);if(o&&(t=M((function(){T?Y.emit("unhandledRejection",i,n):ce(X,n,i)})),e.rejection=T||ue(e)?ie:ne,t.error))throw t.value}))},ue=function(e){return e.rejection!==ne&&!e.parent},de=function(e){E.call(c,(function(){var t=e.facade;T?Y.emit("rejectionHandled",t):ce($,t,e.value)}))},pe=function(e,t,n){return function(i){e(t,i,n)}},fe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=te,le(e,!0))},ge=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw H("Promise can't be resolved itself");var i=ae(t);i?x((function(){var n={done:!1};try{i.call(t,pe(ge,n,e),pe(fe,n,e))}catch(o){fe(n,o,e)}})):(e.value=t,e.state=ee,le(e,!1))}catch(o){fe({done:!1},o,e)}}};if(re&&(V=function(e){y(this,V,P),v(e),i.call(this);var t=F(this);try{e(pe(ge,t),pe(fe,t))}catch(n){fe(t,n)}},W=V.prototype,i=function(e){j(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},i.prototype=p(W,{then:function(e,t){var n=Q(this),i=G(C(this,V));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=T?Y.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=Z&&le(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i,t=F(e);this.promise=e,this.resolve=pe(ge,t),this.reject=pe(fe,t)},k.f=G=function(e){return e===V||e===r?new o(e):K(e)},!l&&"function"==typeof u&&z!==Object.prototype)){s=z.then,oe||(d(z,"then",(function(e,t){var n=this;return new V((function(e,t){s.call(n,e,t)})).then(e,t)}),{unsafe:!0}),d(z,"catch",W["catch"],{unsafe:!0}));try{delete z.constructor}catch(me){}f&&f(z,W)}a({global:!0,wrap:!0,forced:re},{Promise:V}),g(V,P,!1,!0),m(P),r=h(P),a({target:P,stat:!0,forced:re},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),a({target:P,stat:!0,forced:l||re},{resolve:function(e){return S(l&&this===r?V:this,e)}}),a({target:P,stat:!0,forced:se},{all:function(e){var t=this,n=G(t),i=n.resolve,o=n.reject,r=M((function(){var n=v(t.resolve),r=[],s=0,a=1;_(e,(function(e){var l=s++,c=!1;r.push(void 0),a++,n.call(t,e).then((function(e){c||(c=!0,r[l]=e,--a||i(r))}),o)})),--a||i(r)}));return r.error&&o(r.value),n.promise},race:function(e){var t=this,n=G(t),i=n.reject,o=M((function(){var o=v(t.resolve);_(e,(function(e){o.call(t,e).then(n.resolve,i)}))}));return o.error&&i(o.value),n.promise}})},d362:function(e,t,n){"use strict";var i=n("55ab"),o=n("ac97"),r=n("3e1a"),s=n("0ef1"),a=n("11b0"),l=n("c673"),c=n("b4fd"),h=Object.assign,u=Object.defineProperty;e.exports=!h||o((function(){if(i&&1!==h({b:1},h(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=h({},e)[n]||r(h({},t)).join("")!=o}))?function(e,t){var n=l(e),o=arguments.length,h=1,u=s.f,d=a.f;while(o>h){var p,f=c(arguments[h++]),g=u?r(f).concat(u(f)):r(f),m=g.length,b=0;while(m>b)p=g[b++],i&&!d.call(f,p)||(n[p]=f[p])}return n}:h},d4c0:function(e,t,n){var i=n("83ec"),o=n("cb29"),r=n("6e10");i({target:"Array",proto:!0},{fill:o}),r("fill")},d53b:function(e,t,n){var i=n("6965"),o=n("c401"),r=n("1810"),s=r("toStringTag"),a="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),s))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},d554:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},d557:function(e,t,n){var i=n("312a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7bb72351",i,!0,{sourceMap:!1,shadowMode:!1})},d6e4:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},d6ed:function(e,t,n){var i=n("7f17");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)}}return function(){return e.apply(t,arguments)}}},d75f:function(e,t,n){var i=n("fbcf"),o=n("a53d"),r=n("ce47"),s=n("d6ed"),a=n("6023"),l=n("dc8c"),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var h,u,d,p,f,g,m,b=n&&n.that,v=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),_=s(t,b,1+v+w),A=function(e){return h&&l(h),new c(!0,e)},C=function(e){return v?(i(e),w?_(e[0],e[1],A):_(e[0],e[1])):w?_(e,A):_(e)};if(y)h=e;else{if(u=a(e),"function"!=typeof u)throw TypeError("Target is not iterable");if(o(u)){for(d=0,p=r(e.length);p>d;d++)if(f=C(e[d]),f&&f instanceof c)return f;return new c(!1)}h=u.call(e)}g=h.next;while(!(m=g.call(h)).done){try{f=C(m.value)}catch(E){throw l(h),E}if("object"==typeof f&&f&&f instanceof c)return f}return new c(!1)}},d85b:function(e,t){e.exports={}},d927:function(e,t,n){"use strict";var i=n("83ec"),o=n("3352"),r=n("80db"),s=n("ce47"),a=n("c673"),l=n("f152"),c=n("acd4"),h=n("72d4"),u=h("splice"),d=Math.max,p=Math.min,f=9007199254740991,g="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,i,h,u,m,b,v=a(this),y=s(v.length),w=o(e,y),_=arguments.length;if(0===_?n=i=0:1===_?(n=0,i=y-w):(n=_-2,i=p(d(r(t),0),y-w)),y+n-i>f)throw TypeError(g);for(h=l(v,i),u=0;u<i;u++)m=w+u,m in v&&c(h,u,v[m]);if(h.length=i,n<i){for(u=w;u<y-i;u++)m=u+i,b=u+n,m in v?v[b]=v[m]:delete v[b];for(u=y;u>y-i+n;u--)delete v[u-1]}else if(n>i)for(u=y-i;u>w;u--)m=u+i-1,b=u+n-1,m in v?v[b]=v[m]:delete v[b];for(u=0;u<n;u++)v[u+w]=arguments[u+2];return v.length=y-i+n,h}})},da79:function(e,t,n){var i=n("53c2"),o=n("a0c9"),r=n("1854"),s=n("f37b"),a=n("fb3d"),l=n("bc19"),c=n("f9ba"),h=n("caac");t=i(!1);var u=o(r),d=o(s,{hash:"?#iefix&v=4.7.0"}),p=o(a),f=o(l),g=o(c),m=o(h,{hash:"#fontawesomeregular"});t.push([e.i,"/*!\n *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\n *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */@font-face{font-family:FontAwesome;src:url("+u+");src:url("+d+') format("embedded-opentype"),url('+p+') format("woff2"),url('+f+') format("woff"),url('+g+') format("truetype"),url('+m+') format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\\f000"}.fa-music:before{content:"\\f001"}.fa-search:before{content:"\\f002"}.fa-envelope-o:before{content:"\\f003"}.fa-heart:before{content:"\\f004"}.fa-star:before{content:"\\f005"}.fa-star-o:before{content:"\\f006"}.fa-user:before{content:"\\f007"}.fa-film:before{content:"\\f008"}.fa-th-large:before{content:"\\f009"}.fa-th:before{content:"\\f00a"}.fa-th-list:before{content:"\\f00b"}.fa-check:before{content:"\\f00c"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\\f00d"}.fa-search-plus:before{content:"\\f00e"}.fa-search-minus:before{content:"\\f010"}.fa-power-off:before{content:"\\f011"}.fa-signal:before{content:"\\f012"}.fa-cog:before,.fa-gear:before{content:"\\f013"}.fa-trash-o:before{content:"\\f014"}.fa-home:before{content:"\\f015"}.fa-file-o:before{content:"\\f016"}.fa-clock-o:before{content:"\\f017"}.fa-road:before{content:"\\f018"}.fa-download:before{content:"\\f019"}.fa-arrow-circle-o-down:before{content:"\\f01a"}.fa-arrow-circle-o-up:before{content:"\\f01b"}.fa-inbox:before{content:"\\f01c"}.fa-play-circle-o:before{content:"\\f01d"}.fa-repeat:before,.fa-rotate-right:before{content:"\\f01e"}.fa-refresh:before{content:"\\f021"}.fa-list-alt:before{content:"\\f022"}.fa-lock:before{content:"\\f023"}.fa-flag:before{content:"\\f024"}.fa-headphones:before{content:"\\f025"}.fa-volume-off:before{content:"\\f026"}.fa-volume-down:before{content:"\\f027"}.fa-volume-up:before{content:"\\f028"}.fa-qrcode:before{content:"\\f029"}.fa-barcode:before{content:"\\f02a"}.fa-tag:before{content:"\\f02b"}.fa-tags:before{content:"\\f02c"}.fa-book:before{content:"\\f02d"}.fa-bookmark:before{content:"\\f02e"}.fa-print:before{content:"\\f02f"}.fa-camera:before{content:"\\f030"}.fa-font:before{content:"\\f031"}.fa-bold:before{content:"\\f032"}.fa-italic:before{content:"\\f033"}.fa-text-height:before{content:"\\f034"}.fa-text-width:before{content:"\\f035"}.fa-align-left:before{content:"\\f036"}.fa-align-center:before{content:"\\f037"}.fa-align-right:before{content:"\\f038"}.fa-align-justify:before{content:"\\f039"}.fa-list:before{content:"\\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\\f03b"}.fa-indent:before{content:"\\f03c"}.fa-video-camera:before{content:"\\f03d"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\\f03e"}.fa-pencil:before{content:"\\f040"}.fa-map-marker:before{content:"\\f041"}.fa-adjust:before{content:"\\f042"}.fa-tint:before{content:"\\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\f044"}.fa-share-square-o:before{content:"\\f045"}.fa-check-square-o:before{content:"\\f046"}.fa-arrows:before{content:"\\f047"}.fa-step-backward:before{content:"\\f048"}.fa-fast-backward:before{content:"\\f049"}.fa-backward:before{content:"\\f04a"}.fa-play:before{content:"\\f04b"}.fa-pause:before{content:"\\f04c"}.fa-stop:before{content:"\\f04d"}.fa-forward:before{content:"\\f04e"}.fa-fast-forward:before{content:"\\f050"}.fa-step-forward:before{content:"\\f051"}.fa-eject:before{content:"\\f052"}.fa-chevron-left:before{content:"\\f053"}.fa-chevron-right:before{content:"\\f054"}.fa-plus-circle:before{content:"\\f055"}.fa-minus-circle:before{content:"\\f056"}.fa-times-circle:before{content:"\\f057"}.fa-check-circle:before{content:"\\f058"}.fa-question-circle:before{content:"\\f059"}.fa-info-circle:before{content:"\\f05a"}.fa-crosshairs:before{content:"\\f05b"}.fa-times-circle-o:before{content:"\\f05c"}.fa-check-circle-o:before{content:"\\f05d"}.fa-ban:before{content:"\\f05e"}.fa-arrow-left:before{content:"\\f060"}.fa-arrow-right:before{content:"\\f061"}.fa-arrow-up:before{content:"\\f062"}.fa-arrow-down:before{content:"\\f063"}.fa-mail-forward:before,.fa-share:before{content:"\\f064"}.fa-expand:before{content:"\\f065"}.fa-compress:before{content:"\\f066"}.fa-plus:before{content:"\\f067"}.fa-minus:before{content:"\\f068"}.fa-asterisk:before{content:"\\f069"}.fa-exclamation-circle:before{content:"\\f06a"}.fa-gift:before{content:"\\f06b"}.fa-leaf:before{content:"\\f06c"}.fa-fire:before{content:"\\f06d"}.fa-eye:before{content:"\\f06e"}.fa-eye-slash:before{content:"\\f070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\\f071"}.fa-plane:before{content:"\\f072"}.fa-calendar:before{content:"\\f073"}.fa-random:before{content:"\\f074"}.fa-comment:before{content:"\\f075"}.fa-magnet:before{content:"\\f076"}.fa-chevron-up:before{content:"\\f077"}.fa-chevron-down:before{content:"\\f078"}.fa-retweet:before{content:"\\f079"}.fa-shopping-cart:before{content:"\\f07a"}.fa-folder:before{content:"\\f07b"}.fa-folder-open:before{content:"\\f07c"}.fa-arrows-v:before{content:"\\f07d"}.fa-arrows-h:before{content:"\\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\f080"}.fa-twitter-square:before{content:"\\f081"}.fa-facebook-square:before{content:"\\f082"}.fa-camera-retro:before{content:"\\f083"}.fa-key:before{content:"\\f084"}.fa-cogs:before,.fa-gears:before{content:"\\f085"}.fa-comments:before{content:"\\f086"}.fa-thumbs-o-up:before{content:"\\f087"}.fa-thumbs-o-down:before{content:"\\f088"}.fa-star-half:before{content:"\\f089"}.fa-heart-o:before{content:"\\f08a"}.fa-sign-out:before{content:"\\f08b"}.fa-linkedin-square:before{content:"\\f08c"}.fa-thumb-tack:before{content:"\\f08d"}.fa-external-link:before{content:"\\f08e"}.fa-sign-in:before{content:"\\f090"}.fa-trophy:before{content:"\\f091"}.fa-github-square:before{content:"\\f092"}.fa-upload:before{content:"\\f093"}.fa-lemon-o:before{content:"\\f094"}.fa-phone:before{content:"\\f095"}.fa-square-o:before{content:"\\f096"}.fa-bookmark-o:before{content:"\\f097"}.fa-phone-square:before{content:"\\f098"}.fa-twitter:before{content:"\\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\f09a"}.fa-github:before{content:"\\f09b"}.fa-unlock:before{content:"\\f09c"}.fa-credit-card:before{content:"\\f09d"}.fa-feed:before,.fa-rss:before{content:"\\f09e"}.fa-hdd-o:before{content:"\\f0a0"}.fa-bullhorn:before{content:"\\f0a1"}.fa-bell:before{content:"\\f0f3"}.fa-certificate:before{content:"\\f0a3"}.fa-hand-o-right:before{content:"\\f0a4"}.fa-hand-o-left:before{content:"\\f0a5"}.fa-hand-o-up:before{content:"\\f0a6"}.fa-hand-o-down:before{content:"\\f0a7"}.fa-arrow-circle-left:before{content:"\\f0a8"}.fa-arrow-circle-right:before{content:"\\f0a9"}.fa-arrow-circle-up:before{content:"\\f0aa"}.fa-arrow-circle-down:before{content:"\\f0ab"}.fa-globe:before{content:"\\f0ac"}.fa-wrench:before{content:"\\f0ad"}.fa-tasks:before{content:"\\f0ae"}.fa-filter:before{content:"\\f0b0"}.fa-briefcase:before{content:"\\f0b1"}.fa-arrows-alt:before{content:"\\f0b2"}.fa-group:before,.fa-users:before{content:"\\f0c0"}.fa-chain:before,.fa-link:before{content:"\\f0c1"}.fa-cloud:before{content:"\\f0c2"}.fa-flask:before{content:"\\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\\f0c5"}.fa-paperclip:before{content:"\\f0c6"}.fa-floppy-o:before,.fa-save:before{content:"\\f0c7"}.fa-square:before{content:"\\f0c8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\\f0c9"}.fa-list-ul:before{content:"\\f0ca"}.fa-list-ol:before{content:"\\f0cb"}.fa-strikethrough:before{content:"\\f0cc"}.fa-underline:before{content:"\\f0cd"}.fa-table:before{content:"\\f0ce"}.fa-magic:before{content:"\\f0d0"}.fa-truck:before{content:"\\f0d1"}.fa-pinterest:before{content:"\\f0d2"}.fa-pinterest-square:before{content:"\\f0d3"}.fa-google-plus-square:before{content:"\\f0d4"}.fa-google-plus:before{content:"\\f0d5"}.fa-money:before{content:"\\f0d6"}.fa-caret-down:before{content:"\\f0d7"}.fa-caret-up:before{content:"\\f0d8"}.fa-caret-left:before{content:"\\f0d9"}.fa-caret-right:before{content:"\\f0da"}.fa-columns:before{content:"\\f0db"}.fa-sort:before,.fa-unsorted:before{content:"\\f0dc"}.fa-sort-desc:before,.fa-sort-down:before{content:"\\f0dd"}.fa-sort-asc:before,.fa-sort-up:before{content:"\\f0de"}.fa-envelope:before{content:"\\f0e0"}.fa-linkedin:before{content:"\\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\\f0e2"}.fa-gavel:before,.fa-legal:before{content:"\\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\f0e4"}.fa-comment-o:before{content:"\\f0e5"}.fa-comments-o:before{content:"\\f0e6"}.fa-bolt:before,.fa-flash:before{content:"\\f0e7"}.fa-sitemap:before{content:"\\f0e8"}.fa-umbrella:before{content:"\\f0e9"}.fa-clipboard:before,.fa-paste:before{content:"\\f0ea"}.fa-lightbulb-o:before{content:"\\f0eb"}.fa-exchange:before{content:"\\f0ec"}.fa-cloud-download:before{content:"\\f0ed"}.fa-cloud-upload:before{content:"\\f0ee"}.fa-user-md:before{content:"\\f0f0"}.fa-stethoscope:before{content:"\\f0f1"}.fa-suitcase:before{content:"\\f0f2"}.fa-bell-o:before{content:"\\f0a2"}.fa-coffee:before{content:"\\f0f4"}.fa-cutlery:before{content:"\\f0f5"}.fa-file-text-o:before{content:"\\f0f6"}.fa-building-o:before{content:"\\f0f7"}.fa-hospital-o:before{content:"\\f0f8"}.fa-ambulance:before{content:"\\f0f9"}.fa-medkit:before{content:"\\f0fa"}.fa-fighter-jet:before{content:"\\f0fb"}.fa-beer:before{content:"\\f0fc"}.fa-h-square:before{content:"\\f0fd"}.fa-plus-square:before{content:"\\f0fe"}.fa-angle-double-left:before{content:"\\f100"}.fa-angle-double-right:before{content:"\\f101"}.fa-angle-double-up:before{content:"\\f102"}.fa-angle-double-down:before{content:"\\f103"}.fa-angle-left:before{content:"\\f104"}.fa-angle-right:before{content:"\\f105"}.fa-angle-up:before{content:"\\f106"}.fa-angle-down:before{content:"\\f107"}.fa-desktop:before{content:"\\f108"}.fa-laptop:before{content:"\\f109"}.fa-tablet:before{content:"\\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\f10b"}.fa-circle-o:before{content:"\\f10c"}.fa-quote-left:before{content:"\\f10d"}.fa-quote-right:before{content:"\\f10e"}.fa-spinner:before{content:"\\f110"}.fa-circle:before{content:"\\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\\f112"}.fa-github-alt:before{content:"\\f113"}.fa-folder-o:before{content:"\\f114"}.fa-folder-open-o:before{content:"\\f115"}.fa-smile-o:before{content:"\\f118"}.fa-frown-o:before{content:"\\f119"}.fa-meh-o:before{content:"\\f11a"}.fa-gamepad:before{content:"\\f11b"}.fa-keyboard-o:before{content:"\\f11c"}.fa-flag-o:before{content:"\\f11d"}.fa-flag-checkered:before{content:"\\f11e"}.fa-terminal:before{content:"\\f120"}.fa-code:before{content:"\\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\f123"}.fa-location-arrow:before{content:"\\f124"}.fa-crop:before{content:"\\f125"}.fa-code-fork:before{content:"\\f126"}.fa-chain-broken:before,.fa-unlink:before{content:"\\f127"}.fa-question:before{content:"\\f128"}.fa-info:before{content:"\\f129"}.fa-exclamation:before{content:"\\f12a"}.fa-superscript:before{content:"\\f12b"}.fa-subscript:before{content:"\\f12c"}.fa-eraser:before{content:"\\f12d"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-microphone:before{content:"\\f130"}.fa-microphone-slash:before{content:"\\f131"}.fa-shield:before{content:"\\f132"}.fa-calendar-o:before{content:"\\f133"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-rocket:before{content:"\\f135"}.fa-maxcdn:before{content:"\\f136"}.fa-chevron-circle-left:before{content:"\\f137"}.fa-chevron-circle-right:before{content:"\\f138"}.fa-chevron-circle-up:before{content:"\\f139"}.fa-chevron-circle-down:before{content:"\\f13a"}.fa-html5:before{content:"\\f13b"}.fa-css3:before{content:"\\f13c"}.fa-anchor:before{content:"\\f13d"}.fa-unlock-alt:before{content:"\\f13e"}.fa-bullseye:before{content:"\\f140"}.fa-ellipsis-h:before{content:"\\f141"}.fa-ellipsis-v:before{content:"\\f142"}.fa-rss-square:before{content:"\\f143"}.fa-play-circle:before{content:"\\f144"}.fa-ticket:before{content:"\\f145"}.fa-minus-square:before{content:"\\f146"}.fa-minus-square-o:before{content:"\\f147"}.fa-level-up:before{content:"\\f148"}.fa-level-down:before{content:"\\f149"}.fa-check-square:before{content:"\\f14a"}.fa-pencil-square:before{content:"\\f14b"}.fa-external-link-square:before{content:"\\f14c"}.fa-share-square:before{content:"\\f14d"}.fa-compass:before{content:"\\f14e"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\\f150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\\f151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\\f152"}.fa-eur:before,.fa-euro:before{content:"\\f153"}.fa-gbp:before{content:"\\f154"}.fa-dollar:before,.fa-usd:before{content:"\\f155"}.fa-inr:before,.fa-rupee:before{content:"\\f156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\\f158"}.fa-krw:before,.fa-won:before{content:"\\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\\f15a"}.fa-file:before{content:"\\f15b"}.fa-file-text:before{content:"\\f15c"}.fa-sort-alpha-asc:before{content:"\\f15d"}.fa-sort-alpha-desc:before{content:"\\f15e"}.fa-sort-amount-asc:before{content:"\\f160"}.fa-sort-amount-desc:before{content:"\\f161"}.fa-sort-numeric-asc:before{content:"\\f162"}.fa-sort-numeric-desc:before{content:"\\f163"}.fa-thumbs-up:before{content:"\\f164"}.fa-thumbs-down:before{content:"\\f165"}.fa-youtube-square:before{content:"\\f166"}.fa-youtube:before{content:"\\f167"}.fa-xing:before{content:"\\f168"}.fa-xing-square:before{content:"\\f169"}.fa-youtube-play:before{content:"\\f16a"}.fa-dropbox:before{content:"\\f16b"}.fa-stack-overflow:before{content:"\\f16c"}.fa-instagram:before{content:"\\f16d"}.fa-flickr:before{content:"\\f16e"}.fa-adn:before{content:"\\f170"}.fa-bitbucket:before{content:"\\f171"}.fa-bitbucket-square:before{content:"\\f172"}.fa-tumblr:before{content:"\\f173"}.fa-tumblr-square:before{content:"\\f174"}.fa-long-arrow-down:before{content:"\\f175"}.fa-long-arrow-up:before{content:"\\f176"}.fa-long-arrow-left:before{content:"\\f177"}.fa-long-arrow-right:before{content:"\\f178"}.fa-apple:before{content:"\\f179"}.fa-windows:before{content:"\\f17a"}.fa-android:before{content:"\\f17b"}.fa-linux:before{content:"\\f17c"}.fa-dribbble:before{content:"\\f17d"}.fa-skype:before{content:"\\f17e"}.fa-foursquare:before{content:"\\f180"}.fa-trello:before{content:"\\f181"}.fa-female:before{content:"\\f182"}.fa-male:before{content:"\\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\\f184"}.fa-sun-o:before{content:"\\f185"}.fa-moon-o:before{content:"\\f186"}.fa-archive:before{content:"\\f187"}.fa-bug:before{content:"\\f188"}.fa-vk:before{content:"\\f189"}.fa-weibo:before{content:"\\f18a"}.fa-renren:before{content:"\\f18b"}.fa-pagelines:before{content:"\\f18c"}.fa-stack-exchange:before{content:"\\f18d"}.fa-arrow-circle-o-right:before{content:"\\f18e"}.fa-arrow-circle-o-left:before{content:"\\f190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\\f191"}.fa-dot-circle-o:before{content:"\\f192"}.fa-wheelchair:before{content:"\\f193"}.fa-vimeo-square:before{content:"\\f194"}.fa-try:before,.fa-turkish-lira:before{content:"\\f195"}.fa-plus-square-o:before{content:"\\f196"}.fa-space-shuttle:before{content:"\\f197"}.fa-slack:before{content:"\\f198"}.fa-envelope-square:before{content:"\\f199"}.fa-wordpress:before{content:"\\f19a"}.fa-openid:before{content:"\\f19b"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\\f19c"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\\f19d"}.fa-yahoo:before{content:"\\f19e"}.fa-google:before{content:"\\f1a0"}.fa-reddit:before{content:"\\f1a1"}.fa-reddit-square:before{content:"\\f1a2"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-delicious:before{content:"\\f1a5"}.fa-digg:before{content:"\\f1a6"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-drupal:before{content:"\\f1a9"}.fa-joomla:before{content:"\\f1aa"}.fa-language:before{content:"\\f1ab"}.fa-fax:before{content:"\\f1ac"}.fa-building:before{content:"\\f1ad"}.fa-child:before{content:"\\f1ae"}.fa-paw:before{content:"\\f1b0"}.fa-spoon:before{content:"\\f1b1"}.fa-cube:before{content:"\\f1b2"}.fa-cubes:before{content:"\\f1b3"}.fa-behance:before{content:"\\f1b4"}.fa-behance-square:before{content:"\\f1b5"}.fa-steam:before{content:"\\f1b6"}.fa-steam-square:before{content:"\\f1b7"}.fa-recycle:before{content:"\\f1b8"}.fa-automobile:before,.fa-car:before{content:"\\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\\f1ba"}.fa-tree:before{content:"\\f1bb"}.fa-spotify:before{content:"\\f1bc"}.fa-deviantart:before{content:"\\f1bd"}.fa-soundcloud:before{content:"\\f1be"}.fa-database:before{content:"\\f1c0"}.fa-file-pdf-o:before{content:"\\f1c1"}.fa-file-word-o:before{content:"\\f1c2"}.fa-file-excel-o:before{content:"\\f1c3"}.fa-file-powerpoint-o:before{content:"\\f1c4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\\f1c5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\\f1c6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\f1c8"}.fa-file-code-o:before{content:"\\f1c9"}.fa-vine:before{content:"\\f1ca"}.fa-codepen:before{content:"\\f1cb"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\\f1cd"}.fa-circle-o-notch:before{content:"\\f1ce"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\\f1d0"}.fa-empire:before,.fa-ge:before{content:"\\f1d1"}.fa-git-square:before{content:"\\f1d2"}.fa-git:before{content:"\\f1d3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\\f1d4"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-qq:before{content:"\\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\\f1d7"}.fa-paper-plane:before,.fa-send:before{content:"\\f1d8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\\f1d9"}.fa-history:before{content:"\\f1da"}.fa-circle-thin:before{content:"\\f1db"}.fa-header:before{content:"\\f1dc"}.fa-paragraph:before{content:"\\f1dd"}.fa-sliders:before{content:"\\f1de"}.fa-share-alt:before{content:"\\f1e0"}.fa-share-alt-square:before{content:"\\f1e1"}.fa-bomb:before{content:"\\f1e2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\\f1e3"}.fa-tty:before{content:"\\f1e4"}.fa-binoculars:before{content:"\\f1e5"}.fa-plug:before{content:"\\f1e6"}.fa-slideshare:before{content:"\\f1e7"}.fa-twitch:before{content:"\\f1e8"}.fa-yelp:before{content:"\\f1e9"}.fa-newspaper-o:before{content:"\\f1ea"}.fa-wifi:before{content:"\\f1eb"}.fa-calculator:before{content:"\\f1ec"}.fa-paypal:before{content:"\\f1ed"}.fa-google-wallet:before{content:"\\f1ee"}.fa-cc-visa:before{content:"\\f1f0"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-cc-discover:before{content:"\\f1f2"}.fa-cc-amex:before{content:"\\f1f3"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-bell-slash:before{content:"\\f1f6"}.fa-bell-slash-o:before{content:"\\f1f7"}.fa-trash:before{content:"\\f1f8"}.fa-copyright:before{content:"\\f1f9"}.fa-at:before{content:"\\f1fa"}.fa-eyedropper:before{content:"\\f1fb"}.fa-paint-brush:before{content:"\\f1fc"}.fa-birthday-cake:before{content:"\\f1fd"}.fa-area-chart:before{content:"\\f1fe"}.fa-pie-chart:before{content:"\\f200"}.fa-line-chart:before{content:"\\f201"}.fa-lastfm:before{content:"\\f202"}.fa-lastfm-square:before{content:"\\f203"}.fa-toggle-off:before{content:"\\f204"}.fa-toggle-on:before{content:"\\f205"}.fa-bicycle:before{content:"\\f206"}.fa-bus:before{content:"\\f207"}.fa-ioxhost:before{content:"\\f208"}.fa-angellist:before{content:"\\f209"}.fa-cc:before{content:"\\f20a"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\\f20b"}.fa-meanpath:before{content:"\\f20c"}.fa-buysellads:before{content:"\\f20d"}.fa-connectdevelop:before{content:"\\f20e"}.fa-dashcube:before{content:"\\f210"}.fa-forumbee:before{content:"\\f211"}.fa-leanpub:before{content:"\\f212"}.fa-sellsy:before{content:"\\f213"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-simplybuilt:before{content:"\\f215"}.fa-skyatlas:before{content:"\\f216"}.fa-cart-plus:before{content:"\\f217"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-diamond:before{content:"\\f219"}.fa-ship:before{content:"\\f21a"}.fa-user-secret:before{content:"\\f21b"}.fa-motorcycle:before{content:"\\f21c"}.fa-street-view:before{content:"\\f21d"}.fa-heartbeat:before{content:"\\f21e"}.fa-venus:before{content:"\\f221"}.fa-mars:before{content:"\\f222"}.fa-mercury:before{content:"\\f223"}.fa-intersex:before,.fa-transgender:before{content:"\\f224"}.fa-transgender-alt:before{content:"\\f225"}.fa-venus-double:before{content:"\\f226"}.fa-mars-double:before{content:"\\f227"}.fa-venus-mars:before{content:"\\f228"}.fa-mars-stroke:before{content:"\\f229"}.fa-mars-stroke-v:before{content:"\\f22a"}.fa-mars-stroke-h:before{content:"\\f22b"}.fa-neuter:before{content:"\\f22c"}.fa-genderless:before{content:"\\f22d"}.fa-facebook-official:before{content:"\\f230"}.fa-pinterest-p:before{content:"\\f231"}.fa-whatsapp:before{content:"\\f232"}.fa-server:before{content:"\\f233"}.fa-user-plus:before{content:"\\f234"}.fa-user-times:before{content:"\\f235"}.fa-bed:before,.fa-hotel:before{content:"\\f236"}.fa-viacoin:before{content:"\\f237"}.fa-train:before{content:"\\f238"}.fa-subway:before{content:"\\f239"}.fa-medium:before{content:"\\f23a"}.fa-y-combinator:before,.fa-yc:before{content:"\\f23b"}.fa-optin-monster:before{content:"\\f23c"}.fa-opencart:before{content:"\\f23d"}.fa-expeditedssl:before{content:"\\f23e"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\\f244"}.fa-mouse-pointer:before{content:"\\f245"}.fa-i-cursor:before{content:"\\f246"}.fa-object-group:before{content:"\\f247"}.fa-object-ungroup:before{content:"\\f248"}.fa-sticky-note:before{content:"\\f249"}.fa-sticky-note-o:before{content:"\\f24a"}.fa-cc-jcb:before{content:"\\f24b"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-clone:before{content:"\\f24d"}.fa-balance-scale:before{content:"\\f24e"}.fa-hourglass-o:before{content:"\\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\\f253"}.fa-hourglass:before{content:"\\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\\f255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\\f256"}.fa-hand-scissors-o:before{content:"\\f257"}.fa-hand-lizard-o:before{content:"\\f258"}.fa-hand-spock-o:before{content:"\\f259"}.fa-hand-pointer-o:before{content:"\\f25a"}.fa-hand-peace-o:before{content:"\\f25b"}.fa-trademark:before{content:"\\f25c"}.fa-registered:before{content:"\\f25d"}.fa-creative-commons:before{content:"\\f25e"}.fa-gg:before{content:"\\f260"}.fa-gg-circle:before{content:"\\f261"}.fa-tripadvisor:before{content:"\\f262"}.fa-odnoklassniki:before{content:"\\f263"}.fa-odnoklassniki-square:before{content:"\\f264"}.fa-get-pocket:before{content:"\\f265"}.fa-wikipedia-w:before{content:"\\f266"}.fa-safari:before{content:"\\f267"}.fa-chrome:before{content:"\\f268"}.fa-firefox:before{content:"\\f269"}.fa-opera:before{content:"\\f26a"}.fa-internet-explorer:before{content:"\\f26b"}.fa-television:before,.fa-tv:before{content:"\\f26c"}.fa-contao:before{content:"\\f26d"}.fa-500px:before{content:"\\f26e"}.fa-amazon:before{content:"\\f270"}.fa-calendar-plus-o:before{content:"\\f271"}.fa-calendar-minus-o:before{content:"\\f272"}.fa-calendar-times-o:before{content:"\\f273"}.fa-calendar-check-o:before{content:"\\f274"}.fa-industry:before{content:"\\f275"}.fa-map-pin:before{content:"\\f276"}.fa-map-signs:before{content:"\\f277"}.fa-map-o:before{content:"\\f278"}.fa-map:before{content:"\\f279"}.fa-commenting:before{content:"\\f27a"}.fa-commenting-o:before{content:"\\f27b"}.fa-houzz:before{content:"\\f27c"}.fa-vimeo:before{content:"\\f27d"}.fa-black-tie:before{content:"\\f27e"}.fa-fonticons:before{content:"\\f280"}.fa-reddit-alien:before{content:"\\f281"}.fa-edge:before{content:"\\f282"}.fa-credit-card-alt:before{content:"\\f283"}.fa-codiepie:before{content:"\\f284"}.fa-modx:before{content:"\\f285"}.fa-fort-awesome:before{content:"\\f286"}.fa-usb:before{content:"\\f287"}.fa-product-hunt:before{content:"\\f288"}.fa-mixcloud:before{content:"\\f289"}.fa-scribd:before{content:"\\f28a"}.fa-pause-circle:before{content:"\\f28b"}.fa-pause-circle-o:before{content:"\\f28c"}.fa-stop-circle:before{content:"\\f28d"}.fa-stop-circle-o:before{content:"\\f28e"}.fa-shopping-bag:before{content:"\\f290"}.fa-shopping-basket:before{content:"\\f291"}.fa-hashtag:before{content:"\\f292"}.fa-bluetooth:before{content:"\\f293"}.fa-bluetooth-b:before{content:"\\f294"}.fa-percent:before{content:"\\f295"}.fa-gitlab:before{content:"\\f296"}.fa-wpbeginner:before{content:"\\f297"}.fa-wpforms:before{content:"\\f298"}.fa-envira:before{content:"\\f299"}.fa-universal-access:before{content:"\\f29a"}.fa-wheelchair-alt:before{content:"\\f29b"}.fa-question-circle-o:before{content:"\\f29c"}.fa-blind:before{content:"\\f29d"}.fa-audio-description:before{content:"\\f29e"}.fa-volume-control-phone:before{content:"\\f2a0"}.fa-braille:before{content:"\\f2a1"}.fa-assistive-listening-systems:before{content:"\\f2a2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\\f2a3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\\f2a4"}.fa-glide:before{content:"\\f2a5"}.fa-glide-g:before{content:"\\f2a6"}.fa-sign-language:before,.fa-signing:before{content:"\\f2a7"}.fa-low-vision:before{content:"\\f2a8"}.fa-viadeo:before{content:"\\f2a9"}.fa-viadeo-square:before{content:"\\f2aa"}.fa-snapchat:before{content:"\\f2ab"}.fa-snapchat-ghost:before{content:"\\f2ac"}.fa-snapchat-square:before{content:"\\f2ad"}.fa-pied-piper:before{content:"\\f2ae"}.fa-first-order:before{content:"\\f2b0"}.fa-yoast:before{content:"\\f2b1"}.fa-themeisle:before{content:"\\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\\f2b4"}.fa-handshake-o:before{content:"\\f2b5"}.fa-envelope-open:before{content:"\\f2b6"}.fa-envelope-open-o:before{content:"\\f2b7"}.fa-linode:before{content:"\\f2b8"}.fa-address-book:before{content:"\\f2b9"}.fa-address-book-o:before{content:"\\f2ba"}.fa-address-card:before,.fa-vcard:before{content:"\\f2bb"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\\f2bc"}.fa-user-circle:before{content:"\\f2bd"}.fa-user-circle-o:before{content:"\\f2be"}.fa-user-o:before{content:"\\f2c0"}.fa-id-badge:before{content:"\\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\\f2c3"}.fa-quora:before{content:"\\f2c4"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-telegram:before{content:"\\f2c6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\\f2cb"}.fa-shower:before{content:"\\f2cc"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\\f2cd"}.fa-podcast:before{content:"\\f2ce"}.fa-window-maximize:before{content:"\\f2d0"}.fa-window-minimize:before{content:"\\f2d1"}.fa-window-restore:before{content:"\\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\\f2d4"}.fa-bandcamp:before{content:"\\f2d5"}.fa-grav:before{content:"\\f2d6"}.fa-etsy:before{content:"\\f2d7"}.fa-imdb:before{content:"\\f2d8"}.fa-ravelry:before{content:"\\f2d9"}.fa-eercast:before{content:"\\f2da"}.fa-microchip:before{content:"\\f2db"}.fa-snowflake-o:before{content:"\\f2dc"}.fa-superpowers:before{content:"\\f2dd"}.fa-wpexplorer:before{content:"\\f2de"}.fa-meetup:before{content:"\\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}',""]),e.exports=t},db90:function(e,t,n){"use strict";n("f96e"),n("d4c0");var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=5e4;function s(e,t,n){var i=this;this._elementRegistry=t,this._graphicsFactory=n,this.elementColors={},e.on(o,r,(function(e){var t=e.simulationModeActive;t?i.preserveColors():i.resetColors()}))}s.prototype.preserveColors=function(){var e=this;this._elementRegistry.forEach((function(t){e.elementColors[t.id]={stroke:t.businessObject.di.get("stroke"),fill:t.businessObject.di.get("fill")},e.setColor(t,"#000","#fff")}))},s.prototype.resetColors=function(){var e=this;this._elementRegistry.forEach((function(t){e.elementColors[t.id]&&e.setColor(t,e.elementColors[t.id].stroke,e.elementColors[t.id].fill)})),this.elementColors={}},s.prototype.setColor=function(e,t,n){var i=this;setTimeout((function(){var o=e.businessObject;o.di.set("stroke",t),o.di.set("fill",n);var r=i._elementRegistry.getGraphics(e),s=e.waypoints?"connection":"shape";i._graphicsFactory.update(s,e,r)}))},s.$inject=["eventBus","elementRegistry","graphicsFactory"],e.exports=s},dc6d:function(e,t,n){"use strict";n("a078");var i,o=n("83ec"),r=n("55ab"),s=n("7663"),a=n("e244"),l=n("c732"),c=n("7d86"),h=n("d6e4"),u=n("fe32"),d=n("d362"),p=n("0066"),f=n("4eaf").codeAt,g=n("5556"),m=n("63ef"),b=n("5173"),v=n("35d6"),y=a.URL,w=b.URLSearchParams,_=b.getState,A=v.set,C=v.getterFor("URL"),E=Math.floor,x=Math.pow,S="Invalid authority",D="Invalid scheme",k="Invalid host",M="Invalid port",N=/[A-Za-z]/,L=/[\d+-.A-Za-z]/,B=/\d/,I=/^(0x|0X)/,T=/^[0-7]+$/,O=/^\d+$/,R=/^[\dA-Fa-f]+$/,P=/[\0\t\n\r #%/:?@[\\]]/,F=/[\0\t\n\r #/:?@[\\]]/,j=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Q=/[\t\n\r]/g,z=function(e,t){var n,i,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return k;if(n=W(t.slice(1,-1)),!n)return k;e.host=n}else if($(e)){if(t=g(t),P.test(t))return k;if(n=V(t),null===n)return k;e.host=n}else{if(F.test(t))return k;for(n="",i=p(t),o=0;o<i.length;o++)n+=J(i[o],Y);e.host=n}},V=function(e){var t,n,i,o,r,s,a,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),t=l.length,t>4)return e;for(n=[],i=0;i<t;i++){if(o=l[i],""==o)return e;if(r=10,o.length>1&&"0"==o.charAt(0)&&(r=I.test(o)?16:8,o=o.slice(8==r?1:2)),""===o)s=0;else{if(!(10==r?O:8==r?T:R).test(o))return e;s=parseInt(o,r)}n.push(s)}for(i=0;i<t;i++)if(s=n[i],i==t-1){if(s>=x(256,5-t))return null}else if(s>255)return null;for(a=n.pop(),i=0;i<n.length;i++)a+=n[i]*x(256,3-i);return a},W=function(e){var t,n,i,o,r,s,a,l=[0,0,0,0,0,0,0,0],c=0,h=null,u=0,d=function(){return e.charAt(u)};if(":"==d()){if(":"!=e.charAt(1))return;u+=2,c++,h=c}while(d()){if(8==c)return;if(":"!=d()){t=n=0;while(n<4&&R.test(d()))t=16*t+parseInt(d(),16),u++,n++;if("."==d()){if(0==n)return;if(u-=n,c>6)return;i=0;while(d()){if(o=null,i>0){if(!("."==d()&&i<4))return;u++}if(!B.test(d()))return;while(B.test(d())){if(r=parseInt(d(),10),null===o)o=r;else{if(0==o)return;o=10*o+r}if(o>255)return;u++}l[c]=256*l[c]+o,i++,2!=i&&4!=i||c++}if(4!=i)return;break}if(":"==d()){if(u++,!d())return}else if(d())return;l[c++]=t}else{if(null!==h)return;u++,c++,h=c}}if(null!==h){s=c-h,c=7;while(0!=c&&s>0)a=l[c],l[c--]=l[h+s-1],l[h+--s]=a}else if(8!=c)return;return l},H=function(e){for(var t=null,n=1,i=null,o=0,r=0;r<8;r++)0!==e[r]?(o>n&&(t=i,n=o),i=null,o=0):(null===i&&(i=r),++o);return o>n&&(t=i,n=o),t},U=function(e){var t,n,i,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=E(e/256);return t.join(".")}if("object"==typeof e){for(t="",i=H(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),i===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},Y={},G=d({},Y,{" ":1,'"':1,"<":1,">":1,"`":1}),K=d({},G,{"#":1,"?":1,"{":1,"}":1}),q=d({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(e,t){var n=f(e,0);return n>32&&n<127&&!u(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(e){return u(X,e.scheme)},Z=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&N.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ie=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},re=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},se={},ae={},le={},ce={},he={},ue={},de={},pe={},fe={},ge={},me={},be={},ve={},ye={},we={},_e={},Ae={},Ce={},Ee={},xe={},Se={},De=function(e,t,n,o){var r,s,a,l,c=n||se,h=0,d="",f=!1,g=!1,m=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(Q,""),r=p(t);while(h<=r.length){switch(s=r[h],c){case se:if(!s||!N.test(s)){if(n)return D;c=le;continue}d+=s.toLowerCase(),c=ae;break;case ae:if(s&&(L.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(n)return D;d="",c=le,h=0;continue}if(n&&($(e)!=u(X,d)||"file"==d&&(Z(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void($(e)&&X[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?c=ye:$(e)&&o&&o.scheme==e.scheme?c=ce:$(e)?c=pe:"/"==r[h+1]?(c=he,h++):(e.cannotBeABaseURL=!0,e.path.push(""),c=Ee)}break;case le:if(!o||o.cannotBeABaseURL&&"#"!=s)return D;if(o.cannotBeABaseURL&&"#"==s){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,c=Se;break}c="file"==o.scheme?ye:ue;continue;case ce:if("/"!=s||"/"!=r[h+1]){c=ue;continue}c=fe,h++;break;case he:if("/"==s){c=ge;break}c=Ce;continue;case ue:if(e.scheme=o.scheme,s==i)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==s||"\\"==s&&$(e))c=de;else if("?"==s)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",c=xe;else{if("#"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),c=Ce;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=Se}break;case de:if(!$(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,c=Ce;continue}c=ge}else c=fe;break;case pe:if(c=fe,"/"!=s||"/"!=d.charAt(h+1))continue;h++;break;case fe:if("/"!=s&&"\\"!=s){c=ge;continue}break;case ge:if("@"==s){f&&(d="%40"+d),f=!0,a=p(d);for(var b=0;b<a.length;b++){var v=a[b];if(":"!=v||m){var y=J(v,q);m?e.password+=y:e.username+=y}else m=!0}d=""}else if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&$(e)){if(f&&""==d)return S;h-=p(d).length+1,d="",c=me}else d+=s;break;case me:case be:if(n&&"file"==e.scheme){c=_e;continue}if(":"!=s||g){if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&$(e)){if($(e)&&""==d)return k;if(n&&""==d&&(Z(e)||null!==e.port))return;if(l=z(e,d),l)return l;if(d="",c=Ae,n)return;continue}"["==s?g=!0:"]"==s&&(g=!1),d+=s}else{if(""==d)return k;if(l=z(e,d),l)return l;if(d="",c=ve,n==be)return}break;case ve:if(!B.test(s)){if(s==i||"/"==s||"?"==s||"#"==s||"\\"==s&&$(e)||n){if(""!=d){var w=parseInt(d,10);if(w>65535)return M;e.port=$(e)&&w===X[e.scheme]?null:w,d=""}if(n)return;c=Ae;continue}return M}d+=s;break;case ye:if(e.scheme="file","/"==s||"\\"==s)c=we;else{if(!o||"file"!=o.scheme){c=Ce;continue}if(s==i)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==s)e.host=o.host,e.path=o.path.slice(),e.query="",c=xe;else{if("#"!=s){ne(r.slice(h).join(""))||(e.host=o.host,e.path=o.path.slice(),ie(e)),c=Ce;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",c=Se}}break;case we:if("/"==s||"\\"==s){c=_e;break}o&&"file"==o.scheme&&!ne(r.slice(h).join(""))&&(te(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),c=Ce;continue;case _e:if(s==i||"/"==s||"\\"==s||"?"==s||"#"==s){if(!n&&te(d))c=Ce;else if(""==d){if(e.host="",n)return;c=Ae}else{if(l=z(e,d),l)return l;if("localhost"==e.host&&(e.host=""),n)return;d="",c=Ae}continue}d+=s;break;case Ae:if($(e)){if(c=Ce,"/"!=s&&"\\"!=s)continue}else if(n||"?"!=s)if(n||"#"!=s){if(s!=i&&(c=Ce,"/"!=s))continue}else e.fragment="",c=Se;else e.query="",c=xe;break;case Ce:if(s==i||"/"==s||"\\"==s&&$(e)||!n&&("?"==s||"#"==s)){if(re(d)?(ie(e),"/"==s||"\\"==s&&$(e)||e.path.push("")):oe(d)?"/"==s||"\\"==s&&$(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(s==i||"?"==s||"#"==s))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==s?(e.query="",c=xe):"#"==s&&(e.fragment="",c=Se)}else d+=J(s,K);break;case Ee:"?"==s?(e.query="",c=xe):"#"==s?(e.fragment="",c=Se):s!=i&&(e.path[0]+=J(s,Y));break;case xe:n||"#"!=s?s!=i&&("'"==s&&$(e)?e.query+="%27":e.query+="#"==s?"%23":J(s,Y)):(e.fragment="",c=Se);break;case Se:s!=i&&(e.fragment+=J(s,G));break}h++}},ke=function(e){var t,n,i=h(this,ke,"URL"),o=arguments.length>1?arguments[1]:void 0,s=String(e),a=A(i,{type:"URL"});if(void 0!==o)if(o instanceof ke)t=C(o);else if(n=De(t={},String(o)),n)throw TypeError(n);if(n=De(a,s,null,t),n)throw TypeError(n);var l=a.searchParams=new w,c=_(l);c.updateSearchParams(a.query),c.updateURL=function(){a.query=String(l)||null},r||(i.href=Ne.call(i),i.origin=Le.call(i),i.protocol=Be.call(i),i.username=Ie.call(i),i.password=Te.call(i),i.host=Oe.call(i),i.hostname=Re.call(i),i.port=Pe.call(i),i.pathname=Fe.call(i),i.search=je.call(i),i.searchParams=Qe.call(i),i.hash=ze.call(i))},Me=ke.prototype,Ne=function(){var e=C(this),t=e.scheme,n=e.username,i=e.password,o=e.host,r=e.port,s=e.path,a=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",Z(e)&&(c+=n+(i?":"+i:"")+"@"),c+=U(o),null!==r&&(c+=":"+r)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(c+="?"+a),null!==l&&(c+="#"+l),c},Le=function(){var e=C(this),t=e.scheme,n=e.port;if("blob"==t)try{return new ke(t.path[0]).origin}catch(i){return"null"}return"file"!=t&&$(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},Be=function(){return C(this).scheme+":"},Ie=function(){return C(this).username},Te=function(){return C(this).password},Oe=function(){var e=C(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Re=function(){var e=C(this).host;return null===e?"":U(e)},Pe=function(){var e=C(this).port;return null===e?"":String(e)},Fe=function(){var e=C(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=C(this).query;return e?"?"+e:""},Qe=function(){return C(this).searchParams},ze=function(){var e=C(this).fragment;return e?"#"+e:""},Ve=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(r&&l(Me,{href:Ve(Ne,(function(e){var t=C(this),n=String(e),i=De(t,n);if(i)throw TypeError(i);_(t.searchParams).updateSearchParams(t.query)})),origin:Ve(Le),protocol:Ve(Be,(function(e){var t=C(this);De(t,String(e)+":",se)})),username:Ve(Ie,(function(e){var t=C(this),n=p(String(e));if(!ee(t)){t.username="";for(var i=0;i<n.length;i++)t.username+=J(n[i],q)}})),password:Ve(Te,(function(e){var t=C(this),n=p(String(e));if(!ee(t)){t.password="";for(var i=0;i<n.length;i++)t.password+=J(n[i],q)}})),host:Ve(Oe,(function(e){var t=C(this);t.cannotBeABaseURL||De(t,String(e),me)})),hostname:Ve(Re,(function(e){var t=C(this);t.cannotBeABaseURL||De(t,String(e),be)})),port:Ve(Pe,(function(e){var t=C(this);ee(t)||(e=String(e),""==e?t.port=null:De(t,e,ve))})),pathname:Ve(Fe,(function(e){var t=C(this);t.cannotBeABaseURL||(t.path=[],De(t,e+"",Ae))})),search:Ve(je,(function(e){var t=C(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",De(t,e,xe)),_(t.searchParams).updateSearchParams(t.query)})),searchParams:Ve(Qe),hash:Ve(ze,(function(e){var t=C(this);e=String(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",De(t,e,Se)):t.fragment=null}))}),c(Me,"toJSON",(function(){return Ne.call(this)}),{enumerable:!0}),c(Me,"toString",(function(){return Ne.call(this)}),{enumerable:!0}),y){var We=y.createObjectURL,He=y.revokeObjectURL;We&&c(ke,"createObjectURL",(function(e){return We.apply(y,arguments)})),He&&c(ke,"revokeObjectURL",(function(e){return He.apply(y,arguments)}))}m(ke,"URL"),o({global:!0,forced:!s,sham:!r},{URL:ke})},dc8c:function(e,t,n){var i=n("fbcf");e.exports=function(e){var t=e["return"];if(void 0!==t)return i(t.call(e)).value}},de49:function(e,t,n){e.exports=n("ff4d")},df3c:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}",""]),e.exports=t},df70:function(e,t,n){var i=n("139d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("a4992a28",i,!0,{sourceMap:!1,shadowMode:!1})},df93:function(e,t,n){var i=n("e577");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0e249fd5",i,!0,{sourceMap:!1,shadowMode:!1})},dfdc:function(e,t,n){"use strict";n("ed69")},dff0:function(e,t,n){var i=n("8dab");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("24132abe",i,!0,{sourceMap:!1,shadowMode:!1})},e09a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;padding:0 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}",""]),e.exports=t},e0e0:function(e,t,n){"use strict";var i=n("15b2").IteratorPrototype,o=n("ca2b"),r=n("4d82"),s=n("63ef"),a=n("d85b"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(i,{next:r(1,n)}),s(e,c,!1,!0),a[c]=l,e}},e244:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n("c8ed"))},e248:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".context-view .monaco-menu{min-width:130px}",""]),e.exports=t},e263:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}",""]),e.exports=t},e2da:function(e,t,n){"use strict";var i=n("45ad"),o=n("6e10"),r=n("d85b"),s=n("35d6"),a=n("325d"),l="Array Iterator",c=s.set,h=s.getterFor(l);e.exports=a(Array,"Array",(function(e,t){c(this,{type:l,target:i(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},e3f4:function(e,t,n){(function(e){function n(e,t){for(var n=0,i=e.length-1;i>=0;i--){var o=e[i];"."===o?e.splice(i,1):".."===o?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function i(e){"string"!==typeof e&&(e+="");var t,n=0,i=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===i&&(o=!1,i=t+1);return-1===i?"":e.slice(n,i)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i<e.length;i++)t(e[i],i,e)&&n.push(e[i]);return n}t.resolve=function(){for(var t="",i=!1,r=arguments.length-1;r>=-1&&!i;r--){var s=r>=0?arguments[r]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,i="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),s="/"===r(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&s&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function i(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=i(e.split("/")),r=i(n.split("/")),s=Math.min(o.length,r.length),a=s,l=0;l<s;l++)if(o[l]!==r[l]){a=l;break}var c=[];for(l=a;l<o.length;l++)c.push("..");return c=c.concat(r.slice(a)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,i=-1,o=!0,r=e.length-1;r>=1;--r)if(t=e.charCodeAt(r),47===t){if(!o){i=r;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"/":e.slice(0,i)},t.basename=function(e,t){var n=i(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,i=-1,o=!0,r=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===i&&(o=!1,i=s+1),46===a?-1===t?t=s:1!==r&&(r=1):-1!==t&&(r=-1);else if(!o){n=s+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)};var r="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("2552"))},e4f5:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}",""]),e.exports=t},e577:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .view-ruler{position:absolute;top:0}",""]),e.exports=t},e5d9:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:inset 0 6px 6px -6px #ddd}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:inset 6px 0 6px -6px #ddd}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:inset 6px 6px 6px -6px #ddd}.vs .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,39.2%,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,47.5%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:hsla(0,0%,39.2%,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:hsla(0,0%,74.9%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:#6fc3df}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:inset 6px 0 6px -6px #000}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:inset 6px 6px 6px -6px #000}.hc-black .monaco-scrollable-element .shadow.left,.hc-black .monaco-scrollable-element .shadow.top,.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}",""]),e.exports=t},e629:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},e635:function(e,t,n){var i=n("c91b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("0091cd35",i,!0,{sourceMap:!1,shadowMode:!1})},e743:function(e,t,n){var i=n("2273");e.exports=/web0s(?!.*chrome)/i.test(i)},e820:function(e,t,n){"use strict";n("2eb0");var i=n("7d86"),o=n("6e1d"),r=n("ac97"),s=n("1810"),a=n("69f1"),l=s("species"),c=RegExp.prototype,h=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=function(){return"$0"==="a".replace(/./,"$0")}(),d=s("replace"),p=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),f=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var g=s(e),m=!r((function(){var t={};return t[g]=function(){return 7},7!=""[e](t)})),b=m&&!r((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[g]=/./[g]),n.exec=function(){return t=!0,null},n[g](""),!t}));if(!m||!b||"replace"===e&&(!h||!u||p)||"split"===e&&!f){var v=/./[g],y=n(g,""[e],(function(e,t,n,i,r){var s=t.exec;return s===o||s===c.exec?m&&!r?{done:!0,value:v.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),w=y[0],_=y[1];i(String.prototype,e,w),i(c,g,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}d&&a(c[g],"sham",!0)}},ea3c:function(e,t,n){e.exports=n("3aac"),e.exports.Collection=n("2875")},eaa1:function(e,t,n){e.exports=n("164d")},eba9:function(e,t,n){var i=n("58a5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("fb80cdb8",i,!0,{sourceMap:!1,shadowMode:!1})},ec23:function(e,t,n){var i=n("c401"),o=n("6e1d");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var r=n.call(e,t);if("object"!==typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},eca0:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-editor .lines-content .cigr,.monaco-editor .lines-content .cigra{position:absolute}",""]),e.exports=t},ed69:function(e,t,n){var i=n("795e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("4aec3ece",i,!0,{sourceMap:!1,shadowMode:!1})},eee7:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},ef61:function(e,t,n){var i=n("83ec"),o=n("c673"),r=n("3e1a"),s=n("ac97"),a=s((function(){r(1)}));i({target:"Object",stat:!0,forced:a},{keys:function(e){return r(o(e))}})},efb0:function(e,t,n){"use strict";n("37fd"),n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.TOGGLE_MODE_EVENT,s=getComputedStyle(document.documentElement).getPropertyValue("--token-simulation-grey-lighten-56"),a=getComputedStyle(document.documentElement).getPropertyValue("--token-simulation-grey-darken-30");function l(e){var t=e.outgoing.filter(c),n=t.indexOf(e.sequenceFlow);return t[n+1]?t[n+1]:t[0]}function c(e){return i(e,"bpmn:SequenceFlow")}function h(e,t,n){var i=this;this._elementRegistry=t,this._graphicsFactory=n,e.on(r,(function(e){var t=e.simulationModeActive;t?i.setSequenceFlowsDefault():i.resetSequenceFlows()}))}h.prototype.setSequenceFlowsDefault=function(){var e=this,t=this._elementRegistry.filter((function(e){return i(e,"bpmn:ExclusiveGateway")}));t.forEach((function(t){t.outgoing.filter(c).length&&e.setSequenceFlow(t,t.outgoing.filter(c)[0])}))},h.prototype.resetSequenceFlows=function(){var e=this,t=this._elementRegistry.filter((function(e){return i(e,"bpmn:ExclusiveGateway")}));t.forEach((function(t){t.outgoing.filter(c).length&&e.resetSequenceFlow(t)}))},h.prototype.resetSequenceFlow=function(e){e.sequenceFlow&&delete e.sequenceFlow},h.prototype.setSequenceFlow=function(e){var t=this,n=e.outgoing.filter(c);if(n.length){var i=e.sequenceFlow;e.sequenceFlow=i?l(e):n[0],e.outgoing.forEach((function(n){n===e.sequenceFlow?t.setColor(n,a):t.setColor(n,s)}))}},h.prototype.setColor=function(e,t){var n=this;setTimeout((function(){var i=e.businessObject;i.di.set("stroke",t);var o=n._elementRegistry.getGraphics(e);n._graphicsFactory.update("connection",e,o)}))},h.$inject=["eventBus","elementRegistry","graphicsFactory"],e.exports=h},f05e:function(e,t,n){"use strict";var i=n("7d86"),o=n("fbcf"),r=n("ac97"),s=n("ff5c"),a="toString",l=RegExp.prototype,c=l[a],h=r((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),u=c.name!=a;(h||u)&&i(RegExp.prototype,a,(function(){var e=o(this),t=String(e.source),n=e.flags,i=String(void 0===n&&e instanceof RegExp&&!("flags"in l)?s.call(e):n);return"/"+t+"/"+i}),{unsafe:!0})},f086:function(e,t,n){e.exports=n("1969")},f0db:function(e,t){e.exports=!1},f0f1:function(e,t,n){var i=n("396d"),o=n("e629"),r=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},f146:function(e,t,n){var i=n("e244"),o=n("eee7"),r=i.document,s=o(r)&&o(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},f152:function(e,t,n){var i=n("eee7"),o=n("5a43"),r=n("1810"),s=r("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},f192:function(e,t,n){(function(t){(function(t,n){e.exports=n(t)})("undefined"!=typeof t?t:this,(function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");var t,n=String(e),i=n.length,o=-1,r="",s=n.charCodeAt(0);while(++o<i)t=n.charCodeAt(o),r+=0!=t?t>=1&&t<=31||127==t||0==o&&t>=48&&t<=57||1==o&&t>=48&&t<=57&&45==s?"\\"+t.toString(16)+" ":(0!=o||1!=i||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?n.charAt(o):"\\"+n.charAt(o):"�";return r};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}))}).call(this,n("c8ed"))},f20c:function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var i=n("3ef6"),o=n("17d4"),r=n("52a2");function s(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return h(this,e,t,n)}function h(e,t,n,i){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?m(e,t,n,i):"string"===typeof t?f(e,t,n):b(e,t)}function u(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t,n,i){return u(t),t<=0?l(e,t):void 0!==n?"string"===typeof i?l(e,t).fill(n,i):l(e,t).fill(n):l(e,t)}function p(e,t){if(u(t),e=l(e,t<0?0:0|v(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|w(t,n);e=l(e,i);var o=e.write(t,n);return o!==i&&(e=e.slice(0,o)),e}function g(e,t){var n=t.length<0?0:0|v(t.length);e=l(e,n);for(var i=0;i<n;i+=1)e[i]=255&t[i];return e}function m(e,t,n,i){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=g(e,t),e}function b(e,t){if(c.isBuffer(t)){var n=0|v(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):g(e,t);if("Buffer"===t.type&&r(t.data))return g(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),c.alloc(+e)}function w(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return J(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(e).length;default:if(i)return J(e).length;t=(""+t).toLowerCase(),i=!0}}function _(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return B(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return L(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function A(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function C(e,t,n,i,o){if(0===e.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=c.from(t,i)),c.isBuffer(t))return 0===t.length?-1:E(e,t,n,i,o);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):E(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function E(e,t,n,i,o){var r,s=1,a=e.length,l=t.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var h=-1;for(r=n;r<a;r++)if(c(e,r)===c(t,-1===h?0:r-h)){if(-1===h&&(h=r),r-h+1===l)return h*s}else-1!==h&&(r-=r-h),h=-1}else for(n+l>a&&(n=a-l),r=n;r>=0;r--){for(var u=!0,d=0;d<l;d++)if(c(e,r+d)!==c(t,d)){u=!1;break}if(u)return r}return-1}function x(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i),i>o&&(i=o)):i=o;var r=t.length;if(r%2!==0)throw new TypeError("Invalid hex string");i>r/2&&(i=r/2);for(var s=0;s<i;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function S(e,t,n,i){return ee(J(t,e.length-n),e,n,i)}function D(e,t,n,i){return ee(X(t),e,n,i)}function k(e,t,n,i){return D(e,t,n,i)}function M(e,t,n,i){return ee(Z(t),e,n,i)}function N(e,t,n,i){return ee($(t,e.length-n),e,n,i)}function L(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function B(e,t,n){n=Math.min(e.length,n);var i=[],o=t;while(o<n){var r,s,a,l,c=e[o],h=null,u=c>239?4:c>223?3:c>191?2:1;if(o+u<=n)switch(u){case 1:c<128&&(h=c);break;case 2:r=e[o+1],128===(192&r)&&(l=(31&c)<<6|63&r,l>127&&(h=l));break;case 3:r=e[o+1],s=e[o+2],128===(192&r)&&128===(192&s)&&(l=(15&c)<<12|(63&r)<<6|63&s,l>2047&&(l<55296||l>57343)&&(h=l));break;case 4:r=e[o+1],s=e[o+2],a=e[o+3],128===(192&r)&&128===(192&s)&&128===(192&a)&&(l=(15&c)<<18|(63&r)<<12|(63&s)<<6|63&a,l>65535&&l<1114112&&(h=l))}null===h?(h=65533,u=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),o+=u}return T(i)}t.Buffer=c,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:s(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return h(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return d(null,e,t,n)},c.allocUnsafe=function(e){return p(null,e)},c.allocUnsafeSlow=function(e){return p(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,i=t.length,o=0,r=Math.min(n,i);o<r;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!r(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},c.byteLength=w,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)A(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)A(this,t,t+3),A(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?B(this,0,e):_.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,i,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var r=o-i,s=n-t,a=Math.min(r,s),l=this.slice(i,o),h=e.slice(t,n),u=0;u<a;++u)if(l[u]!==h[u]){r=l[u],s=h[u];break}return r<s?-1:s<r?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return C(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return C(this,e,t,n,!1)},c.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var r=!1;;)switch(i){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return D(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return M(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,t,n);default:if(r)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),r=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function T(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n="",i=0;while(i<t)n+=String.fromCharCode.apply(String,e.slice(i,i+=I));return n}function O(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}function R(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}function P(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",r=t;r<n;++r)o+=q(e[r]);return o}function F(e,t,n){for(var i=e.slice(t,n),o="",r=0;r<i.length;r+=2)o+=String.fromCharCode(i[r]+256*i[r+1]);return o}function j(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Q(e,t,n,i,o,r){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<r)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function z(e,t,n,i){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-n,2);o<r;++o)e[n+o]=(t&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function V(e,t,n,i){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-n,4);o<r;++o)e[n+o]=t>>>8*(i?o:3-o)&255}function W(e,t,n,i,o,r){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function H(e,t,n,i,r){return r||W(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,i,23,4),n+4}function U(e,t,n,i,r){return r||W(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,i,52,8),n+8}c.prototype.slice=function(e,t){var n,i=this.length;if(e=~~e,t=void 0===t?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=c.prototype;else{var o=t-e;n=new c(o,void 0);for(var r=0;r<o;++r)n[r]=this[r+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);var i=this[e],o=1,r=0;while(++r<t&&(o*=256))i+=this[e+r]*o;return i},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);var i=this[e+--t],o=1;while(t>0&&(o*=256))i+=this[e+--t]*o;return i},c.prototype.readUInt8=function(e,t){return t||j(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||j(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||j(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||j(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||j(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);var i=this[e],o=1,r=0;while(++r<t&&(o*=256))i+=this[e+r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||j(e,t,this.length);var i=t,o=1,r=this[e+--i];while(i>0&&(o*=256))r+=this[e+--i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},c.prototype.readInt8=function(e,t){return t||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||j(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||j(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||j(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||j(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||j(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||j(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||j(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||j(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var o=Math.pow(2,8*n)-1;Q(this,e,t,n,o,0)}var r=1,s=0;this[t]=255&e;while(++s<n&&(r*=256))this[t+s]=e/r&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t|=0,n|=0,!i){var o=Math.pow(2,8*n)-1;Q(this,e,t,n,o,0)}var r=n-1,s=1;this[t+r]=255&e;while(--r>=0&&(s*=256))this[t+r]=e/s&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):V(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);Q(this,e,t,n,o-1,-o)}var r=0,s=1,a=0;this[t]=255&e;while(++r<n&&(s*=256))e<0&&0===a&&0!==this[t+r-1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t|=0,!i){var o=Math.pow(2,8*n-1);Q(this,e,t,n,o-1,-o)}var r=n-1,s=1,a=0;this[t+r]=255&e;while(--r>=0&&(s*=256))e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/s>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):V(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return H(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return H(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,i){if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o,r=i-n;if(this===e&&n<t&&t<i)for(o=r-1;o>=0;--o)e[o+t]=this[o+n];else if(r<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<r;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+r),t);return r},c.prototype.fill=function(e,t,n,i){if("string"===typeof e){if("string"===typeof t?(i=t,t=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==i&&"string"!==typeof i)throw new TypeError("encoding must be a string");if("string"===typeof i&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var r;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(r=t;r<n;++r)this[r]=e;else{var s=c.isBuffer(e)?e:J(new c(e,i).toString()),a=s.length;for(r=0;r<n-t;++r)this[r+t]=s[r%a]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function G(e){if(e=K(e).replace(Y,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function K(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function J(e,t){var n;t=t||1/0;for(var i=e.length,o=null,r=[],s=0;s<i;++s){if(n=e.charCodeAt(s),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&r.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&r.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;r.push(n)}else if(n<2048){if((t-=2)<0)break;r.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;r.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return r}function X(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function $(e,t){for(var n,i,o,r=[],s=0;s<e.length;++s){if((t-=2)<0)break;n=e.charCodeAt(s),i=n>>8,o=n%256,r.push(o),r.push(i)}return r}function Z(e){return i.toByteArray(G(e))}function ee(e,t,n,i){for(var o=0;o<i;++o){if(o+n>=t.length||o>=e.length)break;t[o+n]=e[o]}return o}function te(e){return e!==e}}).call(this,n("c8ed"))},f226:function(e,t,n){var i=n("45ad"),o=n("ce47"),r=n("3352"),s=function(e){return function(t,n,s){var a,l=i(t),c=o(l.length),h=r(s,c);if(e&&n!=n){while(c>h)if(a=l[h++],a!=a)return!0}else for(;c>h;h++)if((e||h in l)&&l[h]===n)return e||h||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},f31a:function(e,t,n){e.exports=n("a57d")},f37b:function(e,t,n){e.exports=n.p+"fonts/fontawesome-webfont.674f50d2.eot"},f39a:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled).orthogonal-end:after,.monaco-sash.debug:not(.disabled).orthogonal-start:before{background:red}",""]),e.exports=t},f3d6:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs-dark .view-overlays .current-line,.monaco-editor.vs .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs-dark .cursor,.monaco-editor.vs .cursor{background-color:windowtext!important}.monaco-editor.vs-dark .dnd-target,.monaco-editor.vs .dnd-target{border-color:windowtext!important}.monaco-editor.vs-dark .selected-text,.monaco-editor.vs .selected-text{background-color:highlight!important}.monaco-editor.vs-dark .view-line,.monaco-editor.vs .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .view-line span,.monaco-editor.vs .view-line span{color:windowtext!important}.monaco-editor.vs-dark .view-line span.inline-selected-text,.monaco-editor.vs .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs-dark .view-overlays,.monaco-editor.vs .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .rangeHighlight,.monaco-editor.vs .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs-dark .bracket-match,.monaco-editor.vs .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .find-widget,.monaco-editor.vs .find-widget{border:1px solid windowtext}.monaco-editor.vs-dark .monaco-list .monaco-list-row,.monaco-editor.vs .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused,.monaco-editor.vs .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover,.monaco-editor.vs .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar,.monaco-editor.vs .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs-dark .decorationsOverviewRuler,.monaco-editor.vs .decorationsOverviewRuler{opacity:0}.monaco-editor.vs-dark .minimap,.monaco-editor.vs .minimap{display:none}.monaco-editor.vs-dark .squiggly-d-error,.monaco-editor.vs .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs-dark .squiggly-a-hint,.monaco-editor.vs .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs-dark .diffOverviewRuler,.monaco-diff-editor.vs .diffOverviewRuler{display:none}.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert{background:transparent!important}}',""]),e.exports=t},f5ab:function(e,t,n){var i=n("ad2f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("7ca26817",i,!0,{sourceMap:!1,shadowMode:!1})},f652:function(e,t,n){var i,o,r,s,a,l,c,h,u=n("e244"),d=n("42b1").f,p=n("59e5").set,f=n("4ad5"),g=n("e743"),m=n("f79e"),b=u.MutationObserver||u.WebKitMutationObserver,v=u.document,y=u.process,w=u.Promise,_=d(u,"queueMicrotask"),A=_&&_.value;A||(i=function(){var e,t;m&&(e=y.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(n){throw o?s():r=void 0,n}}r=void 0,e&&e.enter()},f||m||g||!b||!v?w&&w.resolve?(c=w.resolve(void 0),c.constructor=w,h=c.then,s=function(){h.call(c,i)}):s=m?function(){y.nextTick(i)}:function(){p.call(u,i)}:(a=!0,l=v.createTextNode(""),new b(i).observe(l,{characterData:!0}),s=function(){l.data=a=!a})),e.exports=A||function(e){var t={fn:e,next:void 0};r&&(r.next=t),o||(o=t,s()),r=t}},f658:function(e,t,n){"use strict";n("37fd");var i=n("fbdf").is,o=n("7299"),r=o.domify,s=o.event;function a(e){this._exclusiveGatewaySettings=e}a.prototype.createContextPads=function(e){var t=this,n=e.outgoing.filter((function(e){return i(e,"bpmn:SequenceFlow")}));if(!(n.length<2)){var o=r('<div class="context-pad" title="Set Sequence Flow"><i class="fa fa-code-fork"></i></div>');return s.bind(o,"click",(function(){t._exclusiveGatewaySettings.setSequenceFlow(e)})),[{element:e,html:o}]}},a.$inject=["exclusiveGatewaySettings"],e.exports=a},f68d:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,".monaco-mouse-cursor-text{cursor:text}.hc-black.mac .monaco-mouse-cursor-text,.hc-black .mac .monaco-mouse-cursor-text,.vs-dark.mac .monaco-mouse-cursor-text,.vs-dark .mac .monaco-mouse-cursor-text{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}",""]),e.exports=t},f743:function(e,t,n){var i=n("df3c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("4974").default;o("448cf43a",i,!0,{sourceMap:!1,shadowMode:!1})},f767:function(e,t,n){var i=n("53c2");t=i(!1),t.push([e.i,'.djs-minimap{position:absolute;top:20px;right:20px;background-color:hsla(0,0%,100%,.9);border:1px solid #ccc;border-radius:2px;box-sizing:border-box;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none}.djs-minimap,.djs-minimap:not(.open){overflow:hidden}.djs-minimap .map{display:none}.djs-minimap.open .map{display:block}.djs-minimap .map{width:320px;height:180px}.djs-minimap:not(.open) .toggle{width:70px;height:40px;line-height:40px;text-align:center}.djs-minimap:not(.open) .toggle:before{content:"minimap"}.djs-minimap.open .toggle{position:absolute;right:0;padding:6px;z-index:1}.djs-minimap .map{cursor:crosshair}.djs-minimap .viewport{fill:none;stroke:none}.djs-minimap .viewport-dom{position:absolute;border:2px solid orange;border-radius:2px;box-sizing:border-box;cursor:move}.djs-minimap:not(.open) .viewport-dom{display:none}.djs-minimap.open .overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,100%,.2);pointer-events:none}.djs-minimap .cursor-crosshair{cursor:crosshair}.djs-minimap .cursor-move{cursor:move}',""]),e.exports=t},f79e:function(e,t,n){var i=n("c401"),o=n("e244");e.exports="process"==i(o.process)},f940:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return a}));var i=n("1cb4");const o="undefined"===typeof e?{cwd(){return"/"},env:Object.create(null),get platform(){return i["i"]?"win32":i["f"]?"darwin":"linux"},nextTick(e){return Object(i["j"])(e)}}:e,r=o.cwd,s=o.env,a=o.platform}).call(this,n("2552"))},f96e:function(e,t,n){var i=n("e244"),o=n("a909"),r=n("370b"),s=n("69f1");for(var a in o){var l=i[a],c=l&&l.prototype;if(c&&c.forEach!==r)try{s(c,"forEach",r)}catch(h){c.forEach=r}}},f9ba:function(e,t,n){e.exports=n.p+"fonts/fontawesome-webfont.b06871f2.ttf"},fa89:function(e,t,n){var i=n("6965"),o=n("7d86"),r=n("0da4");i||o(Object.prototype,"toString",r,{unsafe:!0})},fb3d:function(e,t,n){e.exports=n.p+"fonts/fontawesome-webfont.af7ae505.woff2"},fbcf:function(e,t,n){var i=n("eee7");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},fbdf:function(e,t,n){"use strict";n("f96e"),n("37fd");var i=n("c201").every,o=n("c201").some;function r(e,t){var n=t.parent;while(n){if(n===e)return!0;n=n.parent}return!1}e.exports.is=function(e,t){if("label"!==e.type){Array.isArray(t)||(t=[t]);var n=!1;return t.forEach((function(t){t===e.type&&(n=!0)})),n}},e.exports.isTypedEvent=function(e,t,n){function r(e,t){return i(t,(function(t,n){return e[n]==t}))}return o(e.eventDefinitions,(function(i){return i.$type===t&&r(e,n)}))},e.exports.getBusinessObject=function(e){return e&&e.businessObject||e},e.exports.isAncestor=r,e.exports.getDescendants=function(e,t){return e.filter((function(e){return r(t,e)}))},e.exports.supportedElements=["bpmn:Association","bpmn:BoundaryEvent","bpmn:BusinessRuleTask","bpmn:CallActivity","bpmn:DataInputAssociation","bpmn:DataObjectReference","bpmn:DataOutputAssociation","bpmn:DataStoreReference","bpmn:EndEvent","bpmn:EventBasedGateway","bpmn:ExclusiveGateway","bpmn:IntermediateCatchEvent","bpmn:ManualTask","bpmn:ParallelGateway","bpmn:Process","bpmn:ScriptTask","bpmn:SequenceFlow","bpmn:ServiceTask","bpmn:StartEvent","bpmn:SubProcess","bpmn:Task","bpmn:TextAnnotation","bpmn:UserTask"]},fc01:function(e,t,n){"use strict";var i=n("7f17"),o=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)};e.exports.f=function(e){return new o(e)}},fc08:function(e,t,n){var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(B){l=function(e,t,n){return e[t]=n}}function c(e,t,n,i){var o=t&&t.prototype instanceof m?t:m,r=Object.create(o.prototype),s=new M(i||[]);return r._invoke=x(e,n,s),r}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(B){return{type:"throw",arg:B}}}e.wrap=c;var u="suspendedStart",d="suspendedYield",p="executing",f="completed",g={};function m(){}function b(){}function v(){}var y={};y[r]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(N([])));_&&_!==n&&i.call(_,r)&&(y=_);var A=v.prototype=m.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,r,s,a){var l=h(e[o],e,r);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}var o;function r(e,i){function r(){return new t((function(t,o){n(e,i,t,o)}))}return o=o?o.then(r,r):r()}this._invoke=r}function x(e,t,n){var i=u;return function(o,r){if(i===p)throw new Error("Generator is already running");if(i===f){if("throw"===o)throw r;return L()}n.method=o,n.arg=r;while(1){var s=n.delegate;if(s){var a=S(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===u)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var l=h(e,t,n);if("normal"===l.type){if(i=n.done?f:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=f,n.method="throw",n.arg=l.arg)}}}function S(e,n){var i=e.iterator[n.method];if(i===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=h(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var r=o.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function N(e){if(e){var n=e[r];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,s=function n(){while(++o<e.length)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:L}}function L(){return{value:t,done:!0}}return b.prototype=A.constructor=v,v.constructor=b,b.displayName=l(v,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,a,"GeneratorFunction")),e.prototype=Object.create(A),e},e.awrap=function(e){return{__await:e}},C(E.prototype),E.prototype[s]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,i,o,r){void 0===r&&(r=Promise);var s=new E(c(t,n,i,o),r);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},C(A),l(A,a,"Generator"),A[r]=function(){return this},A.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=N,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(i,o){return a.type="throw",a.arg=e,n.next=i,o&&(n.method="next",n.arg=t),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var l=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return o(s.catchLoc,!0);if(this.prev<s.finallyLoc)return o(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var s=r?r.completion:{};return s.type=e,s.arg=t,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var o=i.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:N(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=i}catch(o){Function("r","regeneratorRuntime = r")(i)}},fc78:function(e,t,n){e.exports=n("a940")},fc9a:function(e,t,n){var i=n("e244");e.exports=i.Promise},fd0a:function(e,t,n){"use strict";var i=/,?([a-z]),?/gi,o=parseFloat,r=Math,s=r.PI,a=r.min,l=r.max,c=r.pow,h=r.abs,u=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?[\s]*,?[\s]*)+)/gi,d=/(-?\d*\.?\d*(?:e[-+]?\d+)?)[\s]*,?[\s]*/gi,p=Array.isArray||function(e){return e instanceof Array};function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function g(e){if("function"==typeof e||Object(e)!==e)return e;var t=new e.constructor;for(var n in e)f(e,n)&&(t[n]=g(e[n]));return t}function m(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return e.push(e.splice(n,1)[0])}function b(e){function t(){var n=Array.prototype.slice.call(arguments,0),i=n.join("␀"),o=t.cache=t.cache||{},r=t.count=t.count||[];return f(o,i)?(m(r,i),o[i]):(r.length>=1e3&&delete o[r.shift()],r.push(i),o[i]=e.apply(0,n),o[i])}return t}function v(e){if(!e)return null;var t=y(e);if(t.arr)return g(t.arr);var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},i=[];return p(e)&&p(e[0])&&(i=g(e)),i.length||String(e).replace(u,(function(e,t,o){var r=[],s=t.toLowerCase();o.replace(d,(function(e,t){t&&r.push(+t)})),"m"==s&&r.length>2&&(i.push([t].concat(r.splice(0,2))),s="l",t="m"==t?"l":"L");while(r.length>=n[s])if(i.push([t].concat(r.splice(0,n[s]))),!n[s])break})),i.toString=y.toString,t.arr=g(i),i}function y(e){var t=y.ps=y.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout((function(){for(var n in t)f(t,n)&&n!=e&&(t[n].sleep--,!t[n].sleep&&delete t[n])})),t[e]}function w(e,t,n,i){return 1===arguments.length&&(t=e.y,n=e.width,i=e.height,e=e.x),{x:e,y:t,width:n,height:i,x2:e+n,y2:t+i}}function _(){return this.join(",").replace(i,"$1")}function A(e){var t=g(e);return t.toString=_,t}function C(e,t,n,i,o,r,s,a,l){var h=1-l,u=c(h,3),d=c(h,2),p=l*l,f=p*l,g=u*e+3*d*l*n+3*h*l*l*o+f*s,m=u*t+3*d*l*i+3*h*l*l*r+f*a;return{x:N(g),y:N(m)}}function E(e){var t=F.apply(null,e);return w(t.x0,t.y0,t.x1-t.x0,t.y1-t.y0)}function x(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function S(e,t){return e=w(e),t=w(t),x(t,e.x,e.y)||x(t,e.x2,e.y)||x(t,e.x,e.y2)||x(t,e.x2,e.y2)||x(e,t.x,t.y)||x(e,t.x2,t.y)||x(e,t.x,t.y2)||x(e,t.x2,t.y2)||(e.x<t.x2&&e.x>t.x||t.x<e.x2&&t.x>e.x)&&(e.y<t.y2&&e.y>t.y||t.y<e.y2&&t.y>e.y)}function D(e,t,n,i,o){var r=-3*t+9*n-9*i+3*o,s=e*r+6*t-12*n+6*i;return e*s-3*t+3*n}function k(e,t,n,i,o,s,a,l,c){null==c&&(c=1),c=c>1?1:c<0?0:c;for(var h=c/2,u=12,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],p=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,g=0;g<u;g++){var m=h*d[g]+h,b=D(m,e,n,o,a),v=D(m,t,i,s,l),y=b*b+v*v;f+=p[g]*r.sqrt(y)}return h*f}function M(e,t,n,i,o,r,s,c){if(!(l(e,n)<a(o,s)||a(e,n)>l(o,s)||l(t,i)<a(r,c)||a(t,i)>l(r,c))){var h=(e*i-t*n)*(o-s)-(e-n)*(o*c-r*s),u=(e*i-t*n)*(r-c)-(t-i)*(o*c-r*s),d=(e-n)*(r-c)-(t-i)*(o-s);if(d){var p=N(h/d),f=N(u/d),g=+p.toFixed(2),m=+f.toFixed(2);if(!(g<+a(e,n).toFixed(2)||g>+l(e,n).toFixed(2)||g<+a(o,s).toFixed(2)||g>+l(o,s).toFixed(2)||m<+a(t,i).toFixed(2)||m>+l(t,i).toFixed(2)||m<+a(r,c).toFixed(2)||m>+l(r,c).toFixed(2)))return{x:p,y:f}}}}function N(e){return Math.round(1e11*e)/1e11}function L(e,t,n){var i=E(e),o=E(t);if(!S(i,o))return n?0:[];for(var r=k.apply(0,e),s=k.apply(0,t),a=T(e)?1:~~(r/5)||1,l=T(t)?1:~~(s/5)||1,c=[],u=[],d={},p=n?0:[],f=0;f<a+1;f++){var g=C.apply(0,e.concat(f/a));c.push({x:g.x,y:g.y,t:f/a})}for(f=0;f<l+1;f++)g=C.apply(0,t.concat(f/l)),u.push({x:g.x,y:g.y,t:f/l});for(f=0;f<a;f++)for(var m=0;m<l;m++){var b,v=c[f],y=c[f+1],w=u[m],_=u[m+1],A=h(y.x-v.x)<.01?"y":"x",x=h(_.x-w.x)<.01?"y":"x",D=M(v.x,v.y,y.x,y.y,w.x,w.y,_.x,_.y);if(D){if(b=D.x.toFixed(9)+"#"+D.y.toFixed(9),d[b])continue;d[b]=!0;var N=v.t+h((D[A]-v[A])/(y[A]-v[A]))*(y.t-v.t),L=w.t+h((D[x]-w[x])/(_[x]-w[x]))*(_.t-w.t);N>=0&&N<=1&&L>=0&&L<=1&&(n?p++:p.push({x:D.x,y:D.y,t1:N,t2:L}))}}return p}function B(e,t,n){e=j(e),t=j(t);for(var i,o,r,s,a,l,c,h,u,d,p=n?0:[],f=0,g=e.length;f<g;f++){var m=e[f];if("M"==m[0])i=a=m[1],o=l=m[2];else{"C"==m[0]?(u=[i,o].concat(m.slice(1)),i=u[6],o=u[7]):(u=[i,o,i,o,a,l,a,l],i=a,o=l);for(var b=0,v=t.length;b<v;b++){var y=t[b];if("M"==y[0])r=c=y[1],s=h=y[2];else{"C"==y[0]?(d=[r,s].concat(y.slice(1)),r=d[6],s=d[7]):(d=[r,s,r,s,c,h,c,h],r=c,s=h);var w=L(u,d,n);if(n)p+=w;else{for(var _=0,A=w.length;_<A;_++)w[_].segment1=f,w[_].segment2=b,w[_].bez1=u,w[_].bez2=d;p=p.concat(w)}}}}}return p}function I(e){var t=y(e);if(t.abs)return A(t.abs);if(p(e)&&p(e&&e[0])||(e=v(e)),!e||!e.length)return[["M",0,0]];var n,i=[],o=0,r=0,s=0,a=0,l=0;"M"==e[0][0]&&(o=+e[0][1],r=+e[0][2],s=o,a=r,l++,i[0]=["M",o,r]);for(var c,h,u=l,d=e.length;u<d;u++){if(i.push(c=[]),h=e[u],n=h[0],n!=n.toUpperCase())switch(c[0]=n.toUpperCase(),c[0]){case"A":c[1]=h[1],c[2]=h[2],c[3]=h[3],c[4]=h[4],c[5]=h[5],c[6]=+h[6]+o,c[7]=+h[7]+r;break;case"V":c[1]=+h[1]+r;break;case"H":c[1]=+h[1]+o;break;case"M":s=+h[1]+o,a=+h[2]+r;default:for(var f=1,g=h.length;f<g;f++)c[f]=+h[f]+(f%2?o:r)}else for(var m=0,b=h.length;m<b;m++)c[m]=h[m];switch(n=n.toUpperCase(),c[0]){case"Z":o=+s,r=+a;break;case"H":o=c[1];break;case"V":r=c[1];break;case"M":s=c[c.length-2],a=c[c.length-1];default:o=c[c.length-2],r=c[c.length-1]}}return i.toString=_,t.abs=A(i),i}function T(e){return e[0]===e[2]&&e[1]===e[3]&&e[4]===e[6]&&e[5]===e[7]}function O(e,t,n,i){return[e,t,n,i,n,i]}function R(e,t,n,i,o,r){var s=1/3,a=2/3;return[s*e+a*n,s*t+a*i,s*o+a*n,s*r+a*i,o,r]}function P(e,t,n,i,o,a,l,c,u,d){var p,f=120*s/180,g=s/180*(+o||0),m=[],v=b((function(e,t,n){var i=e*r.cos(n)-t*r.sin(n),o=e*r.sin(n)+t*r.cos(n);return{x:i,y:o}}));if(d)D=d[0],k=d[1],x=d[2],S=d[3];else{p=v(e,t,-g),e=p.x,t=p.y,p=v(c,u,-g),c=p.x,u=p.y;var y=(e-c)/2,w=(t-u)/2,_=y*y/(n*n)+w*w/(i*i);_>1&&(_=r.sqrt(_),n*=_,i*=_);var A=n*n,C=i*i,E=(a==l?-1:1)*r.sqrt(h((A*C-A*w*w-C*y*y)/(A*w*w+C*y*y))),x=E*n*w/i+(e+c)/2,S=E*-i*y/n+(t+u)/2,D=r.asin(((t-S)/i).toFixed(9)),k=r.asin(((u-S)/i).toFixed(9));D=e<x?s-D:D,k=c<x?s-k:k,D<0&&(D=2*s+D),k<0&&(k=2*s+k),l&&D>k&&(D-=2*s),!l&&k>D&&(k-=2*s)}var M=k-D;if(h(M)>f){var N=k,L=c,B=u;k=D+f*(l&&k>D?1:-1),c=x+n*r.cos(k),u=S+i*r.sin(k),m=P(c,u,n,i,o,0,l,L,B,[k,N,x,S])}M=k-D;var I=r.cos(D),T=r.sin(D),O=r.cos(k),R=r.sin(k),F=r.tan(M/4),j=4/3*n*F,Q=4/3*i*F,z=[e,t],V=[e+j*T,t-Q*I],W=[c+j*R,u-Q*O],H=[c,u];if(V[0]=2*z[0]-V[0],V[1]=2*z[1]-V[1],d)return[V,W,H].concat(m);m=[V,W,H].concat(m).join().split(",");for(var U=[],Y=0,G=m.length;Y<G;Y++)U[Y]=Y%2?v(m[Y-1],m[Y],g).y:v(m[Y],m[Y+1],g).x;return U}function F(e,t,n,i,o,s,c,u){for(var d,p,f,g,m,b,v,y,w=[],_=[[],[]],A=0;A<2;++A)if(0==A?(p=6*e-12*n+6*o,d=-3*e+9*n-9*o+3*c,f=3*n-3*e):(p=6*t-12*i+6*s,d=-3*t+9*i-9*s+3*u,f=3*i-3*t),h(d)<1e-12){if(h(p)<1e-12)continue;g=-f/p,0<g&&g<1&&w.push(g)}else v=p*p-4*f*d,y=r.sqrt(v),v<0||(m=(-p+y)/(2*d),0<m&&m<1&&w.push(m),b=(-p-y)/(2*d),0<b&&b<1&&w.push(b));var C,E=w.length,x=E;while(E--)g=w[E],C=1-g,_[0][E]=C*C*C*e+3*C*C*g*n+3*C*g*g*o+g*g*g*c,_[1][E]=C*C*C*t+3*C*C*g*i+3*C*g*g*s+g*g*g*u;return _[0][x]=e,_[1][x]=t,_[0][x+1]=c,_[1][x+1]=u,_[0].length=_[1].length=x+2,{x0:a.apply(0,_[0]),y0:a.apply(0,_[1]),x1:l.apply(0,_[0]),y1:l.apply(0,_[1])}}function j(e){var t=y(e);if(t.curve)return A(t.curve);for(var n=I(e),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},r=function(e,t,n){var i,o;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"].concat(P.apply(0,[t.x,t.y].concat(e.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*t.x-t.bx,o=2*t.y-t.by):(i=t.x,o=t.y),e=["C",i,o].concat(e.slice(1));break;case"T":"Q"==n||"T"==n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"].concat(R(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"].concat(R(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"].concat(O(t.x,t.y,e[1],e[2]));break;case"H":e=["C"].concat(O(t.x,t.y,e[1],t.y));break;case"V":e=["C"].concat(O(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"].concat(O(t.x,t.y,t.X,t.Y));break}return e},s=function(e,t){if(e[t].length>7){e[t].shift();var i=e[t];while(i.length)a[t]="A",e.splice(t++,0,["C"].concat(i.splice(0,6)));e.splice(t,1),u=n.length}},a=[],l="",c="",h=0,u=n.length;h<u;h++){n[h]&&(l=n[h][0]),"C"!=l&&(a[h]=l,h&&(c=a[h-1])),n[h]=r(n[h],i,c),"A"!=a[h]&&"C"==l&&(a[h]="C"),s(n,h);var d=n[h],p=d.length;i.x=d[p-2],i.y=d[p-1],i.bx=o(d[p-4])||i.x,i.by=o(d[p-3])||i.y}return t.curve=A(n),n}e.exports=B},fd3f:function(e,t){e.exports={}},fdda:function(e,t,n){"use strict";function i(e,t){var n=o(e);return n&&"function"===typeof n.$instanceOf&&n.$instanceOf(t)}function o(e){return e&&e.businessObject||e}n.r(t),n.d(t,"is",(function(){return i})),n.d(t,"getBusinessObject",(function(){return o}))},fe32:function(e,t,n){var i=n("c673"),o={}.hasOwnProperty;e.exports=function(e,t){return o.call(i(e),t)}},ff4d:function(e,t,n){"use strict";n("37fd"),n("adae");var i=n("4580"),o=i.TOGGLE_MODE_EVENT,r=i.RESET_SIMULATION_EVENT,s=i.PROCESS_INSTANCE_CREATED_EVENT,a=i.PROCESS_INSTANCE_FINISHED_EVENT;function l(e,t){var n=this;this._eventBus=e,this._processInstanceIds=t,this.processInstances=[],e.on([o,r],(function(){n.processInstances=[]}))}l.prototype.create=function(e,t){var n=this._processInstanceIds.getNext(),i={parent:e,processInstanceId:n,parentProcessInstanceId:t};return this.processInstances.push(i),this._eventBus.fire(s,i),n},l.prototype.remove=function(e){this.processInstances=this.processInstances.filter((function(t){return t.processInstanceId!==e}))},l.prototype.finish=function(e){var t=this.processInstances.find((function(t){return t.processInstanceId===e}));this._eventBus.fire(a,t),t.isFinished=!0},l.prototype.getProcessInstances=function(e,t){if(!e)return this.processInstances;var n=this.processInstances.filter((function(t){return t.parent===e}));return t&&!0!==t.includeFinished&&(n=n.filter((function(e){return!e.isFinished}))),n},l.prototype.getProcessInstance=function(e){return this.processInstances.find((function(t){return t.processInstanceId===e}))},l.$inject=["eventBus","processInstanceIds"],e.exports=l},ff5c:function(e,t,n){"use strict";var i=n("fbcf");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ffc8:function(e,t,n){"use strict";n("f96e"),n("37fd"),n("2f62"),n("26c4"),n("fa89"),n("f05e");var i=n("d1cc"),o=n("7299").query,r=n("4580"),s=r.RESET_SIMULATION_EVENT,a=r.PLAY_SIMULATION_EVENT,l=r.PAUSE_SIMULATION_EVENT,c=r.TERMINATE_EVENT,h=r.PROCESS_INSTANCE_FINISHED_EVENT,u=r.ANIMATION_CREATED_EVENT,d=n("fbdf").isAncestor,p=n("4e99"),f=p.distance,g=getComputedStyle(document.documentElement).getPropertyValue("--token-simulation-green-base-44");function m(e){return 1===e}function b(e){return 2==e.length}var v=0,y="-",w="<",_="<>",A=20;function C(e,t){var n=window.animation=this;this._eventBus=t,this.animations=[],this.hiddenAnimations=[],this.animationSpeed=1,t.on("import.done",(function(){var t=i(e._svg),r=o(".viewport",e._svg),s=i.adopt(r);n.group=t.group().attr("id","token-simulation"),s.put(n.group)})),t.on(c,(function(e){var t=e.element,i=t.parent;n.animations.forEach((function(e){d(i,e.element)&&(e.animation.stop(),n.animations=n.animations.filter((function(t){return t!==e})))}))})),t.on(h,(function(e){var t=e.parent;n.animations.forEach((function(i){(e.processInstanceId===i.processInstanceId||d(t,i.element))&&(i.animation.stop(),n.animations=n.animations.filter((function(e){return e!==i})))}))})),t.on(s,(function(){n.animations.forEach((function(e){e.animation.stop()})),n.animations=[],n.hiddenAnimations=[]})),t.on(l,(function(){n.animations.forEach((function(e){e.animation.pause()}))})),t.on(a,(function(){n.animations.forEach((function(e){e.animation.play()}))}))}function E(e,t,n){this.gfx=this.fx=e,this.waypoints=t,this.done=n,this.create()}C.prototype.createAnimation=function(e,t,n){var i=this;if(this.group){var o,r=this._createTokenGfx(t);return o=new E(r,e.waypoints,(function(){i.animations=i.animations.filter((function(e){return e.animation!==o})),n&&n()})),this.hiddenAnimations.includes(t)&&r.hide(),r.fx._speed=this.animationSpeed,this.animations.push({tokenGfx:r,animation:o,element:e,processInstanceId:t}),this._eventBus.fire(u,{tokenGfx:r,animation:o,element:e,processInstanceId:t}),o}},C.prototype.setAnimationSpeed=function(e){this.animations.forEach((function(t){t.tokenGfx.fx._speed=e})),this.animationSpeed=e},C.prototype._createTokenGfx=function(e){var t=this.group.group().attr("class","token").hide();return t.circle(A,A).attr("fill",g).attr("class","circle"),t.text(e.toString()).attr("transform","translate(10, -7)").attr("text-anchor","middle").attr("class","text"),t},C.prototype.showProcessInstanceAnimations=function(e){this.animations.forEach((function(t){t.processInstanceId===e&&t.tokenGfx.show()})),this.hiddenAnimations=this.hiddenAnimations.filter((function(t){return t!==e}))},C.prototype.hideProcessInstanceAnimations=function(e){this.animations.forEach((function(t){t.processInstanceId===e&&t.tokenGfx.hide()})),this.hiddenAnimations.push(e)},C.$inject=["canvas","eventBus"],e.exports=C,E.prototype.create=function(){var e=this.gfx,t=this.waypoints,n=this.done,i=this.fx;e.show().move(t[0].x-A/2,t[0].y-A/2),t.forEach((function(e,n){if(n>0){var o=e.x-A/2,r=e.y-A/2,s=m(n)?w:y;b(t)&&(s=_);var a=20*f(t[n-1],e);i=i.animate(a,s,v).move(o,r)}})),i.after((function(){e.remove(),n()}))},E.prototype.play=function(){this.gfx.play()},E.prototype.pause=function(){this.gfx.pause()},E.prototype.stop=function(){this.fx.stop(),this.gfx.remove()}},ffe9:function(e,t,n){"use strict";n("f96e");var i=n("fbdf").is,o=n("4580"),r=o.UPDATE_ELEMENTS_EVENT;function s(e,t){this._eventBus=e,this._animation=t}s.prototype.consume=function(e){var t=e.element,n=e.processInstanceId;t.tokenCount||(t.tokenCount={}),t.tokenCount[n]||(t.tokenCount[n]=0),t.tokenCount[n]++;var o=t.outgoing,s=[];o.forEach((function(e){var t=e.target;i(t,"bpmn:IntermediateCatchEvent")&&s.push(t)})),this._eventBus.fire(r,{elements:s})},s.prototype.generate=function(){},s.$inject=["eventBus","animation"],e.exports=s}})}));
public/index.html
@@ -23,8 +23,9 @@
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script src="libs/Cesium/Cesium.js"></script>
  <script type="text/javascript" src="js/drawTree.js"></script>
  <script src="<%= BASE_URL %>cdn/nutflow/wf-design-base/index.umd.min.js" charset="utf-8"></script>
  <link rel="icon" href="<%= BASE_URL %>favicon.png">
  <title>保安服务企业管理</title>
  <style>
    html,
src/api/flow/flow.js
@@ -97,3 +97,11 @@
    params
  })
}
export const modelView = (params) => {
  return request({
    url: '/api/blade-flow/process/model-view',
    method: 'get',
    params
  })
}
src/components/flow-design/main.vue
New file
@@ -0,0 +1,123 @@
<template>
  <div>
    <el-dialog v-if="isDialog"
               :visible.sync="visible"
               append-to-body
               destroy-on-close
               title="流程图展示"
               width="70%"
               custom-class="flow-design-dialog">
      <wf-design-base ref="bpmn"
                      style="height: 60vh;"
                      :options="option"></wf-design-base>
    </el-dialog>
    <div v-else>
      <wf-design-base v-if="visible"
                      ref="bpmn"
                      style="height: 60vh;"
                      :options="option"></wf-design-base>
    </div>
  </div>
</template>
<script>
import {modelView} from '@/api/flow/flow'
export default {
  name: 'flowDesign',
  props: {
    isDialog: {
      type: Boolean,
      default: false
    },
    isDisplay: {
      type: Boolean,
      default: false
    },
    processInstanceId: String,
    processDefinitionId: String,
  },
  data() {
    return {
      visible: false,
      option: {
        mode: 'view'
      }
    }
  },
  watch: {
    isDisplay: {
      handler(val) {
        this.visible = val
      },
      immediate: true
    },
    visible: {
      handler(val) {
        this.$emit('update:is-display', val)
      }
    },
    processInstanceId: {
      handler(val) {
        if (!val) return
        this.getDetail({processInstanceId: this.processInstanceId})
      },
      immediate: true
    },
    processDefinitionId: {
      handler(val) {
        if (!val) return
        this.getDetail({processDefinitionId: this.processDefinitionId})
      },
      immediate: true
    }
  },
  methods: {
    getDetail(params) {
      modelView(params).then(res => {
        const data = res.data.data
        const {xml, flow} = data
        this.$set(this.option, 'xml', xml)
        if (flow) {
          const flows = []
          flow.forEach(f => {
            let {endTime} = f
            const ff = {
              id: f.historyActivityId,
              class: (!endTime && f.historyActivityType !== 'candidate') ? 'nodePrimary' : ''
            }
            if (f.historyActivityType === 'sequenceFlow') ff.class = 'lineWarn'
            else if (!ff.class && f.historyActivityType !== 'candidate') ff.class = 'nodeSuccess'
            const index = flows.findIndex(fl => fl.id === f.historyActivityId)
            if (index !== -1) flows.splice(index, 1, ff)
            else flows.push(ff)
          })
          this.$set(this.option, 'flows', flows)
        }
      })
    }
  }
}
</script>
<style lang="scss">
.flow-design-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
  max-height: calc(100% - 30px);
  max-width: calc(100% - 30px);
  .el-dialog__body {
    flex: 1;
    overflow: auto;
  }
}
</style>
src/main.js
@@ -20,6 +20,7 @@
import basicContainer from './components/basic-container/main';
import thirdRegister from './components/third-register/main';
import avueUeditor from 'avue-plugin-ueditor';
import flowDesign from './components/flow-design/main'
import website from '@/config/website';
import crudCommon from '@/mixins/crud';
src/views/flow/model.vue
@@ -2,137 +2,120 @@
  <basic-container
    :class="[$store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '']"
  >
    <avue-crud
      :option="option"
      :table-loading="loading"
      :data="data"
      ref="crud"
      v-model="form"
      :page.sync="page"
      @search-change="searchChange"
      @search-reset="searchReset"
      @selection-change="selectionChange"
      @current-change="currentChange"
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @on-load="onLoad"
    >
    <avue-crud :option="option"
               :table-loading="loading"
               :data="data"
               ref="crud"
               v-model="form"
               :page.sync="page"
               @search-change="searchChange"
               @search-reset="searchReset"
               @selection-change="selectionChange"
               @current-change="currentChange"
               @size-change="sizeChange"
               @refresh-change="refreshChange"
               @on-load="onLoad">
      <template slot="menuLeft">
        <el-button
          type="primary"
          size="small"
          icon="el-icon-circle-plus"
          v-if="permission.flow_model_create"
          plain
          @click="handleCreate"
          >创 建
        <el-button type="primary"
                   size="mini"
                   icon="el-icon-circle-plus"
                   v-if="permission.flow_model_create"
                   plain
                   @click="handleCreate">创 建
        </el-button>
        <el-button
          type="danger"
          size="small"
          icon="el-icon-delete"
          v-if="permission.flow_model_delete"
          plain
          @click="handleDelete"
          >删 除
                   size="mini"
                   icon="el-icon-delete"
                   v-if="permission.flow_model_delete"
                   plain
                   @click="handleDelete">删 除
        </el-button>
      </template>
      <template slot-scope="scope" slot="menu">
        <el-button
          type="text"
          size="small"
          v-if="permission.flow_model_update"
          plain
          class="none-border"
          @click.stop="handleUpdate(scope.row, scope.index)"
          >配置
      <template slot-scope="scope"
                slot="menu">
        <el-button type="text"
                   size="mini"
                   icon="el-icon-setting"
                   v-if="permission.flow_model_update"
                   @click.stop="handleUpdate(scope.row,scope.index)">配置
        </el-button>
        <el-button
          type="text"
          size="small"
          v-if="permission.flow_model_deploy"
          plain
          class="none-border"
          @click.stop="handleDeploy(scope.row, scope.index)"
          >部署
        <el-button type="text"
                   size="mini"
                   icon="el-icon-upload2"
                   v-if="permission.flow_model_deploy"
                   @click.stop="handleDeploy(scope.row,scope.index)">部署
        </el-button>
        <el-button
          type="text"
          size="small"
          v-if="permission.flow_model_download"
          plain
          class="none-border"
          @click.stop="handleDownload(scope.row, scope.index)"
          >下载
        </el-button>
        <el-button
          type="text"
          size="small"
          v-if="permission.flow_model_delete"
          plain
          class="none-border"
          @click.stop="handleSlotDelete(scope.row, scope.index)"
          >删除
        <el-button type="text"
                   size="mini"
                   icon="el-icon-delete"
                   v-if="permission.flow_model_delete"
                   @click.stop="handleSlotDelete(scope.row,scope.index)">删除
        </el-button>
      </template>
      <template slot-scope="{ row }" slot="version">
      <template slot-scope="{row}"
                slot="version">
        <el-tag>v{{ row.version }}</el-tag>
      </template>
    </avue-crud>
    <el-dialog
      title="流程配置"
      append-to-body
      :visible.sync="flowBox"
      :fullscreen="true"
    >
      <iframe
        :src="flowUrl"
        width="100%"
        height="700"
        title="流程设计器"
        frameBorder="no"
        border="0"
        marginWidth="0"
        marginHeight="0"
        scrolling="no"
        allowTransparency="yes"
      >
      </iframe>
      <span slot="footer" class="dialog-footer">
        <el-button @click="flowBox = false">取 消</el-button>
        <el-button type="primary" @click="handleRefresh">确 定</el-button>
    <el-dialog title="流程配置"
               append-to-body
               destroy-on-close
               :visible.sync="flowBox"
               :close-on-press-escape="false"
               :fullscreen="true"
               :before-close="handleNutflowClose"
               custom-class="wf-dialog">
      <wf-design-base v-if="nutflowOption.step === 1"
                      class="animated fadeIn"
                      style="height: calc(100vh - 108px);"
                      ref="wf-design"
                      :options="nutflowOption.step1"></wf-design-base>
      <wf-design-base v-if="nutflowOption.step === 2"
                      class="animated fadeIn"
                      style="height: calc(100vh - 108px);"
                      ref="wf-design-view"
                      :options="nutflowOption.step2"></wf-design-base>
      <span slot="footer"
            class="avue-dialog__footer">
        <el-button size="small"
                   @click="handleNutflowClose(() => {}, true)">取 消</el-button>
        <el-button v-if="nutflowOption.step === 1"
                   size="small"
                   @click="handleStep(1)">下 一 步</el-button>
        <el-button v-if="nutflowOption.step === 2"
                   size="small"
                   @click="handleStep(-1)">上 一 步</el-button>
        <el-button v-if="nutflowOption.step === 2"
                   size="small"
                   type="primary"
                   @click="handleSubmitModel">确 定</el-button>
      </span>
    </el-dialog>
    <el-dialog
      title="流程部署"
      append-to-body
      :visible.sync="deployBox"
      width="20%"
    >
      <avue-form
        ref="form"
        :option="optionDeploy"
        v-model="form"
        @submit="handleSubmit"
      />
      <span slot="footer" class="dialog-footer">
    <el-dialog title="流程部署"
               append-to-body
               :visible.sync="deployBox"
               width="20%">
      <avue-form ref="form"
                 :option="optionDeploy"
                 v-model="form"
                 @submit="handleSubmit"/>
      <span slot="footer"
            class="dialog-footer">
        <el-button @click="deployBox = false">取 消</el-button>
        <el-button
          type="primary"
          @click="handleDoDeploy"
          :loading="deployLoading"
          >确 定</el-button
        >
        <el-button type="primary"
                   @click="handleDoDeploy"
                   :loading="deployLoading">确 定</el-button>
      </span>
    </el-dialog>
  </basic-container>
</template>
<script>
import { mapGetters } from "vuex";
import website from "@/config/website";
import { modelList, removeModel, deployModel } from "@/api/flow/flow";
import { flowCategory } from "@/util/flow";
import {mapGetters} from "vuex";
import {modelList, removeModel, deployModel, submitModel, detail} from "@/api/flow/flow";
import {flowCategory} from "@/util/flow";
export default {
  data() {
@@ -147,20 +130,18 @@
            dicUrl: "/api/blade-system/dict/dictionary?code=flow",
            props: {
              label: "dictValue",
              value: "dictKey",
              value: "dictKey"
            },
            dataType: "number",
            slot: true,
            prop: "categoryValue",
            search: true,
            span: 24,
            rules: [
              {
                required: true,
                message: "请选择流程类型",
                trigger: "blur",
              },
            ],
            rules: [{
              required: true,
              message: "请选择流程类型",
              trigger: "blur"
            }]
          },
          {
            label: "流程模式",
@@ -169,46 +150,46 @@
            dicData: [
              {
                label: "通用流程",
                value: 1,
                value: 1
              },
              {
                label: "定制流程",
                value: 2,
              },
                value: 2
              }
            ],
            value: 1,
            span: 24,
            rules: [
              {
                required: true,
                message: "请选择流程模式",
                trigger: "blur",
              },
                message: '请选择流程模式',
                trigger: 'blur'
              }
            ],
          },
          {
            label: "所属保安单位",
            label: "所属租户",
            prop: "tenantId",
            type: "tree",
            multiple: true,
            dicUrl: "/api/blade-system/tenant/select",
            props: {
              label: "tenantName",
              value: "tenantId",
              value: "tenantId"
            },
            display: false,
            span: 24,
            rules: [
              {
                required: true,
                message: "请选择所属保安单位",
                trigger: "blur",
              },
                message: '请选择所属租户',
                trigger: 'blur'
              }
            ],
          },
        ],
      },
      selectionId: "",
      selectionId: '',
      selectionList: [],
      query: {},
      loading: true,
@@ -216,14 +197,12 @@
      page: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
        total: 0
      },
      deployBox: false,
      flowBox: false,
      flowUrl: "",
      option: {
        height: "auto",
        height: 'auto',
        calcHeight: 30,
        tip: false,
        searchShow: true,
@@ -236,79 +215,147 @@
        viewBtn: false,
        delBtn: false,
        dialogWidth: 900,
        menuWidth: 150,
        menuWidth: 250,
        dialogClickModal: false,
        ...this.$store.state.control.clearOtherBut,
        size: 'mini',
        searchSize: 'mini',
        column: [
          {
            label: "模型主键",
            prop: "id",
            label: '模型主键',
            prop: 'id',
          },
          {
            label: "模型标识",
            prop: "modelKey",
            label: '模型标识',
            prop: 'modelKey',
            search: true,
            width: 150,
            overHidden: true
          },
          {
            label: "模型名称",
            prop: "name",
            label: '模型名称',
            prop: 'name',
            search: true,
            width: 150,
            overHidden: true
          },
          {
            label: "流程版本",
            prop: "version",
            label: '流程版本',
            prop: 'version',
            slot: true,
            width: 80,
            overHidden: true
          },
          {
            label: "创建时间",
            prop: "created",
            width: 165,
            label: '创建时间',
            prop: 'created',
            overHidden: true
          },
          {
            label: "更新时间",
            prop: "lastUpdated",
            width: 165,
            label: '更新时间',
            prop: 'lastUpdated',
            overHidden: true
          },
        ],
        ]
      },
      data: [],
      nutflowOption: {
        process: {},
        step: 1,
        step1: {
          toolbar: ['open', 'create', 'fit', 'zoom-in', 'zoom-out', 'undo', 'redo', 'import', 'preview'],
        },
        step2: {
          mode: 'view',
          simulation: true,
          minimap: true,
        }
      }
    };
  },
  watch: {
    "form.flowMode"() {
      this.$refs.form.option.column.filter((item) => {
    'form.flowMode'() {
      this.$refs.form.option.column.filter(item => {
        if (item.prop === "tenantId") {
          item.display = this.form.flowMode === 2;
        }
      });
    },
    }
  },
  computed: {
    ...mapGetters(["permission"]),
    ids() {
      let ids = [];
      this.selectionList.forEach((ele) => {
      this.selectionList.forEach(ele => {
        ids.push(ele.id);
      });
      return ids.join(",");
    },
    }
  },
  methods: {
    handleSubmitModel() {
      const registry = this.$refs['wf-design-view'].getElementRegistry().getAll()
      const {businessObject} = registry[0]
      const {id, name, documentation} = businessObject
      const description = (documentation && documentation.length > 0) ? documentation[0].text : null
      const params = {
        ...this.nutflowOption.process,
        modelKey: id,
        name,
        description,
        modelEditorXml: this.nutflowOption.process.xml
      }
      submitModel(params).then(() => {
        this.$message.success("操作成功")
        this.handleNutflowClose()
        this.onLoad(this.page, this.query)
      })
    },
    handleStep(step) {
      if (step === 1) { // 下一步
        this.$refs['wf-design'].getData('xml').then(data => {
          this.$set(this.nutflowOption.step1, 'xml', data)
          this.$set(this.nutflowOption.step2, 'xml', data)
          this.$set(this.nutflowOption.process, 'xml', data)
          this.$set(this.nutflowOption, 'step', 2)
        })
      } else this.$set(this.nutflowOption, 'step', 1)
    },
    handleNutflowClose(done, flag) {
      const initOption = {
        process: {},
        step: 1,
        step1: {
          toolbar: ['open', 'create', 'fit', 'zoom-in', 'zoom-out', 'undo', 'redo', 'import', 'preview'],
        },
        step2: {
          mode: 'view',
          simulation: true,
          minimap: true,
        }
      }
      if (done || flag) {
        this.$confirm('确定要关闭吗?关闭未保存的修改都会丢失。', '警告', {
          type: 'warning'
        }).then(() => {
          this.$set(this, 'nutflowOption', initOption)
          if (typeof done == 'function') done()
          this.flowBox = false
        }).catch(() => {
        })
      } else {
        this.$set(this, 'nutflowOption', initOption)
        this.flowBox = false
      }
    },
    handleSubmit(form, done) {
      this.deployLoading = true;
      deployModel({
        modelId: this.selectionId,
        category: flowCategory(form.categoryValue),
        tenantIds: form.tenantId.join(","),
      }).then((res) => {
        tenantIds: form.tenantId.join(",")
      }).then(res => {
        const data = res.data;
        if (data.success) {
          this.$message({
            type: "success",
            message: data.msg,
            message: data.msg
          });
          done();
          this.$refs.form.resetForm();
@@ -319,10 +366,10 @@
          this.deployLoading = false;
          this.$message({
            type: "warn",
            message: data.msg,
            message: data.msg
          });
        }
      });
      })
    },
    searchReset() {
      this.query = {};
@@ -349,7 +396,7 @@
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
        type: "warning"
      })
        .then(() => {
          return removeModel(this.ids);
@@ -357,19 +404,23 @@
        .then(() => {
          this.$message({
            type: "success",
            message: "操作成功!",
            message: "操作成功!"
          });
          this.$refs.crud.toggleSelection();
          this.onLoad(this.page);
        });
    },
    handleCreate() {
      this.flowUrl = `${website.flowDesignUrl}/index.html`;
      this.flowBox = true;
    },
    handleUpdate(row) {
      this.flowUrl = `${website.flowDesignUrl}/index.html#/editor/${row.id}`;
      this.flowBox = true;
      detail({id: row.id}).then(res => {
        const data = res.data.data
        const {modelEditorXml} = data
        this.$set(this.nutflowOption.step1, 'xml', modelEditorXml)
        this.$set(this.nutflowOption, 'process', data)
        this.flowBox = true;
      })
    },
    handleDeploy(row) {
      this.deployBox = true;
@@ -378,14 +429,11 @@
    handleDoDeploy() {
      this.$refs.form.submit();
    },
    handleDownload(row) {
      window.open(`${website.flowDesignUrl}/app/rest/models/${row.id}/bpmn20`);
    },
    handleSlotDelete(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
        type: "warning"
      })
        .then(() => {
          return removeModel(row.id);
@@ -393,15 +441,11 @@
        .then(() => {
          this.$message({
            type: "success",
            message: "操作成功!",
            message: "操作成功!"
          });
          this.$refs.crud.toggleSelection();
          this.onLoad(this.page);
        });
    },
    handleRefresh() {
      this.flowBox = false;
      this.onLoad(this.page);
    },
    currentChange(currentPage) {
      this.page.currentPage = currentPage;
@@ -414,25 +458,27 @@
    },
    onLoad(page, params = {}) {
      this.loading = true;
      modelList(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
      modelList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
        this.loading = false;
        this.selectionClear();
      });
    },
  },
    }
  }
};
</script>
<style>
.none-border {
  border: 0;
  background-color: transparent !important;
<style lang="scss">
.wf-dialog {
  .el-dialog__body {
    padding: 5px;
  }
  .avue-dialog__footer {
    text-align: center;
  }
}
</style>
vue.config.js
@@ -30,12 +30,9 @@
            "/api": {
                // 本地服务接口地址
                target: 'http://localhost:81',
                // target: 'http://zhbaw.zhba:81',
                // target: 'http://zhbaw.zhba:81',// k8s集群平台
                // target: 'http://192.168.0.114:81',//钟日健W
                // target: 'http://localhost:81', //原W
                // target: 'http://192.168.0.108:81',//原W
                // target: 'http://192.168.0.107:81',//唐N
                // target: 'http://61.131.136.25:81',//唐N
                // target: "http://60.220.177.113:2081/api",
                //远程演示服务地址,可用于直接启动项目
                ws: true,