Jetpack by WordPress.com - Version 6.8

Version Description

  • Release date: November 26, 2018
  • Release post: https://wp.me/p1moTy-cee

Major Enhancements

  • This release introduces the first wave of Jetpack blocks built for the new block editor, available in WordPress 5.0.

Enhancements

  • General: improve ability to create and troubleshoot Jetpack connections.
  • REST API: new endpoint for testing the Jetpack connection.

Improved compatibility

  • Akismet: improve caching of all queries for Akismet status.
  • Spellcheck / Grammar: we've made sure the Jetpack feature did not create any error when using the block editor.
  • Twenty Nineteen: ensure compatibility with Jetpack's widgets.

Bug fixes

  • Asset CDN: do not try to serve assets from non-public versions.
  • Carousel: handle galleries created via the Gallery block in the new block editor.
  • Photon: make sure our image CDN is fully compatible with the block editor.

See the previous changelogs here.

Download this release

Release Info

Developer jeherve
Plugin Icon 128x128 Jetpack by WordPress.com
Version 6.8
Comparing to
See all releases

Code changes from version 6.7 to 6.8

_inc/blocks/block-manifest.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "blocks": [
3
+ "contact-form",
4
+ "map",
5
+ "markdown",
6
+ "publicize",
7
+ "simple-payments"
8
+ ],
9
+ "betaBlocks": [
10
+ "related-posts",
11
+ "vr"
12
+ ]
13
+ }
_inc/blocks/editor-beta.css CHANGED
@@ -1 +1 @@
1
- .wp-block-jetpack-markdown__placeholder{opacity:.5;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px;display:table}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-related-posts.alignfull{padding:0 20px}.wp-block-jetpack-related-posts.aligncenter .wp-block-jetpack-related-posts__preview-post-link{text-align:center}.is-grid .wp-block-jetpack-related-posts__preview-items{display:-ms-flexbox;display:flex;margin:0 -10px}.is-grid .wp-block-jetpack-related-posts__preview-post{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-link{font-size:inherit}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-date{color:#6c7781}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-context{color:#6c7781;font-size:12px;margin:0}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-left:auto;margin-right:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
1
+ .help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d94f4f}.help-message.help-message-is-error svg{fill:#d94f4f}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:6px}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-ms-flex-positive:1;flex-grow:1}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0;margin-bottom:2px}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px;padding-right:8px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\F147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:a .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes a{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{padding:0;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#aaa}.component__locations__panel{margin-bottom:1em}.component__locations__panel:empty{display:none}.component__locations__panel .components-panel__body,.component__locations__panel .components-panel__body:first-child,.component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.component__map-theme-picker__button:hover{transform:scale(1.1)}.component__map-theme-picker__button.is-selected{border-color:#000}.component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:.3em}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.publicize-jetpack-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{font-size:2em;margin-right:.2em}.jetpack-publicize-connection-label{-ms-flex:1;flex:1;margin-right:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-add-icon{font-family:Dashicons;font-size:2em;margin-right:.2em;color:#555d66}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:1em}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#d94f4f}.simple-payments__loading{animation:b 1.6s ease-in-out infinite}@keyframes b{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-ms-flex:0 0 auto;flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-related-posts.alignfull{padding:0 20px}.wp-block-jetpack-related-posts.aligncenter .wp-block-jetpack-related-posts__preview-post-link{text-align:center}.is-grid .wp-block-jetpack-related-posts__preview-items{display:-ms-flexbox;display:flex;margin:0 -10px}.is-grid .wp-block-jetpack-related-posts__preview-post{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-link{font-size:inherit}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-date{color:#6c7781}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-context{color:#6c7781;font-size:12px;margin:0}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-left:auto;margin-right:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
_inc/blocks/editor-beta.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=224)}([function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=r(36);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(e){return h[e]}var _=/[.?*+^$[\]\\(){}|-]/g;var m=r(19);t.lib={},t.lib.mdurl=r(37),t.lib.ucmicro=r(87),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,r){return t||function(e,t){var r=0;return o(l,t)?l[t]:35===t.charCodeAt(0)&&u.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(r):e}(e,r)})},t.isValidEntityCode=s,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(_,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n=r(45),o="object"==typeof self&&self&&self.Object===Object&&self,s=n||o||Function("return this")();e.exports=s},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(147),o=r(150);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__=function(){return(0,n.__)(...o(arguments))},t._n=function(){return(0,n._n)(...o(arguments))},t._x=function(){return(0,n._x)(...o(arguments))},t._nx=function(){return(0,n._nx)(...o(arguments))};var n=r(135);const o=e=>{const t=[...e];return t.push("jetpack"),t}},function(e,t,r){var n=r(12),o=r(139),s=r(140),i="[object Null]",a="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:i:c&&c in Object(e)?o(e):s(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(17),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t){e.exports=wp.element},function(e,t,r){var n=r(3),o=r(23),s=r(141),i=r(165);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:s(i(e))}},function(e,t,r){var n=r(2).Symbol;e.exports=n},function(e,t,r){var n=r(4)(Object,"create");e.exports=n},function(e,t,r){var n=r(155),o=r(156),s=r(157),i=r(158),a=r(159);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t,r){var n=r(25);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(161);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(6),o=r(7),s="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&n(e)==s}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(3),o=r(17),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||i.test(e)||!s.test(e)||null!=t&&e in Object(t)}},function(e,t,r){var n=r(144),o=r(160),s=r(162),i=r(163),a=r(164);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(4)(r(2),"Map");e.exports=n},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?r:t)&&("number"==o||"symbol"!=o&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t,r){var n=r(11),o=r(9);e.exports=function(e,t){for(var r=0,s=(t=n(t,e)).length;null!=e&&r<s;)e=e[o(t[r++])];return r&&r==s?e:void 0}},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(57),o=r(195),s=r(33);e.exports=function(e){return s(e)?n(e):o(e)}},function(e,t,r){var n=r(46),o=r(28);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t){e.exports=wp.components},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(80)),s=r(10),i=r(5);const a=new o.default,c=e=>{if("A"===e.target.nodeName){window.confirm((0,i.__)("Are you sure you wish to leave this page?"))||e.preventDefault()}};t.default=(({className:e,source:t=""})=>React.createElement(s.RawHTML,{className:e,onClick:c},t.length?a.render(t):""))},function(e,t,r){"use strict";e.exports=r(82)},function(e,t,r){"use strict";e.exports.encode=r(83),e.exports.decode=r(84),e.exports.format=r(85),e.exports.parse=r(86)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",s=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),i=new RegExp("^(?:"+n+"|"+o+")");e.exports.HTML_TAG_RE=s,e.exports.HTML_OPEN_CLOSE_TAG_RE=i},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o,s,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(126!==a)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(a),o<2)return!1;for(o%2&&(e.push("text","",0).content=s,o--),r=0;r<o;r+=2)e.push("text","",0).content=s+s,e.delimiters.push({marker:a,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,s,i=[],a=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(n=a[t]).marker&&-1!==n.end&&(o=a[n.end],(s=e.tokens[n.token]).type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",(s=e.tokens[o.token]).type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&i.push(o.token-1));for(;i.length;){for(r=(t=i.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(s=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=s)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(s),e.delimiters.push({marker:s,length:n.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,s,i,a=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=a[t]).marker&&42!==r.marker||-1!==r.end&&(n=a[r.end],i=t>0&&a[t-1].end===r.end+1&&a[t-1].token===r.token-1&&a[r.end+1].token===n.token+1&&a[t-1].marker===r.marker,s=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=i?"strong_open":"em_open",o.tag=i?"strong":"em",o.nesting=1,o.markup=i?s+s:s,o.content="",(o=e.tokens[n.token]).type=i?"strong_close":"em_close",o.tag=i?"strong":"em",o.nesting=-1,o.markup=i?s+s:s,o.content="",i&&(e.tokens[a[t-1].token].content="",e.tokens[a[r.end+1].token].content="",t--))}},function(e,t,r){var n=r(11),o=r(48),s=r(3),i=r(27),a=r(28),c=r(9);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,p=!1;++u<l;){var f=c(t[u]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++u!=l?p:!!(l=null==e?0:e.length)&&a(l)&&i(f,l)&&(s(e)||o(e))}},function(e,t){var r="object"==typeof window&&window&&window.Object===Object&&window;e.exports=r},function(e,t,r){var n=r(6),o=r(8),s="[object AsyncFunction]",i="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==i||t==a||t==s||t==c}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(167),o=r(7),s=Object.prototype,i=s.hasOwnProperty,a=s.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},function(e,t,r){var n=r(29);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(14),o=r(172),s=r(173),i=r(174),a=r(175),c=r(176);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=s,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},function(e,t,r){var n=r(177),o=r(7);e.exports=function e(t,r,s,i,a){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,s,i,e,a))}},function(e,t,r){var n=r(178),o=r(181),s=r(182),i=1,a=2;e.exports=function(e,t,r,c,u,l){var p=r&i,f=e.length,h=t.length;if(f!=h&&!(p&&h>f))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var _=-1,m=!0,g=r&a?new n:void 0;for(l.set(e,t),l.set(t,e);++_<f;){var v=e[_],b=t[_];if(c)var y=p?c(b,v,_,t,e,l):c(v,b,_,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!o(t,function(e,t){if(!s(g,t)&&(v===e||u(v,e,r,c,l)))return g.push(t)})){m=!1;break}}else if(v!==b&&!u(v,b,r,c,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},function(e,t,r){var n=r(54),o=r(3);e.exports=function(e,t,r){var s=t(e);return o(e)?s:n(s,r(e))}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(189),o=r(56),s=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return s.call(e,t)}))}:o;e.exports=a},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(190),o=r(48),s=r(3),i=r(58),a=r(27),c=r(59),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=s(e),l=!r&&o(e),p=!r&&!l&&i(e),f=!r&&!l&&!p&&c(e),h=r||l||p||f,d=h?n(e.length,String):[],_=d.length;for(var m in e)!t&&!u.call(e,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,_))||d.push(m);return d}},function(e,t,r){(function(e){var n=r(2),o=r(191),s="object"==typeof t&&t&&!t.nodeType&&t,i=s&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===s?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;e.exports=c}).call(this,r(22)(e))},function(e,t,r){var n=r(192),o=r(193),s=r(194),i=s&&s.isTypedArray,a=i?o(i):n;e.exports=a},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(8);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},function(e,t,r){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -9,17 +9,17 @@
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===s)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=wp.editor},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=r(30),i=n(r(137)),a=n(r(49)),c=n(r(168));const u=["Jetpack_Initial_State"];t.default=class{constructor(e,t){(0,o.default)(this,"hasRequiredModule",()=>{const e=(0,c.default)((0,a.default)(this.jetpackData,"getModules"),e=>e.activated&&"inactive"!==e.override);return(0,i.default)(e,this.name)}),this.name=e,this.config=t,this.jetpackData=(0,a.default)("object"==typeof window?window:null,u,null)}register(){this.jetpackData&&!this.hasRequiredModule()||(0,s.registerBlockType)("jetpack/"+this.name,this.config)}}},function(e,t,r){"use strict";"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,r){"use strict";var n=r(1),o=r(30),s=n(r(69));(0,o.setCategories)([{slug:"jetpack",title:"Jetpack",icon:React.createElement(s.default,null)},...(0,o.getCategories)().filter(({slug:e})=>"jetpack"!==e)])},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(70)),s=n(r(73)),i=n(r(64));const a=o.default.createElement("g",null,o.default.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),o.default.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),o.default.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),c=({full:e=!1,size:t=32,className:r})=>{const n=(0,i.default)("jetpack-logo",r);return!0===e?o.default.createElement("svg",{height:t,className:n,viewBox:"0 0 118 32"},o.default.createElement("title",null,"Jetpack"),a,o.default.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===t?o.default.createElement("svg",{className:n,height:"24",width:"24",viewBox:"0 0 24 24"},o.default.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):o.default.createElement("svg",{className:n,height:t,width:t,viewBox:"0 0 32 32"},a)};c.propTypes={full:s.default.bool,size:s.default.number};var u=c;t.default=u},function(e,t,r){"use strict";e.exports=r(71)},function(e,t,r){"use strict";
13
- /** @license React v16.5.2
14
  * react.production.min.js
15
  *
16
  * Copyright (c) Facebook, Inc. and its affiliates.
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
- */var n=r(72),o="function"==typeof Symbol&&Symbol.for,s=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,u=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.async_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112;o&&Symbol.for("react.placeholder");var d="function"==typeof Symbol&&Symbol.iterator;function _(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,s,i,a){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,s,i,a],u=0;(e=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function v(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||m}function b(){}function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&_("85"),this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var k=y.prototype=new b;k.constructor=y,n(k,v.prototype),k.isPureReactComponent=!0;var x={current:null,currentDispatcher:null},w=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,r){var n=void 0,o={},i=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,n)&&!C.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:s,type:e,key:i,ref:a,props:o,_owner:x.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}var D=/\/+/g,S=[];function q(e,t,r,n){if(S.length){var o=S.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>S.length&&S.push(e)}function z(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var c=!1;if(null===t)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case s:case i:c=!0}}if(c)return n(o,t,""===r?"."+F(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=r+F(a=t[u],u);c+=e(a,l,n,o)}else if(l=null===t||"object"!=typeof t?null:"function"==typeof(l=d&&t[d]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),u=0;!(a=t.next()).done;)c+=e(a=a.value,l=r+F(a,u++),n,o);else"object"===a&&_("31","[object Object]"==(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return c}(e,"",t,r)}function F(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function O(e,t){e.func.call(e.context,t,e.count++)}function T(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,n,r,function(e){return e}):null!=e&&(E(e)&&(e=function(e,t){return{$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+r)),n.push(e))}function L(e,t,r,n,o){var s="";null!=r&&(s=(""+r).replace(D,"$&/")+"/"),z(e,T,t=q(t,s,n,o)),j(t)}var R={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return L(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;z(e,O,t=q(null,null,t,r)),j(t)},count:function(e){return z(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return E(e)||_("143"),e}},createRef:function(){return{current:null}},Component:v,PureComponent:y,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,Provider:null,Consumer:null,unstable_read:null}).Provider={$$typeof:l,_context:e},e.Consumer=e,e.unstable_read=function(e,t){var r=x.currentDispatcher;return null===r&&_("277"),r.readContext(e,t)}.bind(null,e),e},forwardRef:function(e){return{$$typeof:h,render:e}},Fragment:a,StrictMode:c,unstable_AsyncMode:f,unstable_Profiler:u,createElement:A,cloneElement:function(e,t,r){(null===e||void 0===e)&&_("267",e);var o=void 0,i=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key);var l=void 0;for(o in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)w.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==l?l[o]:t[o])}if(1===(o=arguments.length-2))i.children=r;else if(1<o){l=Array(o);for(var p=0;p<o;p++)l[p]=arguments[p+2];i.children=l}return{$$typeof:s,type:e.type,key:a,ref:c,props:i,_owner:u}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:E,version:"16.5.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:x,assign:n}},M={default:R},P=M&&R||M;e.exports=P.default||P},function(e,t,r){"use strict";
21
  /*
22
  object-assign
23
  (c) Sindre Sorhus
24
  @license MIT
25
- */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,i,a=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))o.call(r,u)&&(a[u]=r[u]);if(n){i=n(r);for(var l=0;l<i.length;l++)s.call(r,i[l])&&(a[i[l]]=r[i[l]])}}return a}},function(e,t,r){e.exports=r(74)()},function(e,t,r){"use strict";var n=r(75);function o(){}e.exports=function(){function e(e,t,r,o,s,i){if(i!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var n=r(1),o=r(34),s=r(10);r(77);var i=n(r(79)),a=n(r(136)),c=r(5);new(n(r(66)).default)("markdown",{title:(0,c.__)("Markdown"),description:React.createElement(s.Fragment,null,React.createElement("p",null,(0,c.__)("Use regular characters and punctuation to style text, links, and lists.")),React.createElement(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},(0,c.__)("Support reference"))),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},React.createElement("rect",{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),React.createElement("path",{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[(0,c.__)("formatting"),(0,c.__)("syntax"),(0,c.__)("markup")],attributes:{source:{type:"string"}},edit:i.default,save:a.default}).register()},function(e,t,r){},,function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=r(65),i=r(10),a=n(r(35)),c=r(5);const u="editor",l="preview";var p=class extends i.Component{constructor(...e){super(...e),(0,o.default)(this,"input",null),(0,o.default)(this,"state",{activePanel:u}),(0,o.default)(this,"bindInput",e=>void(this.input=e)),(0,o.default)(this,"updateSource",e=>this.props.setAttributes({source:e})),(0,o.default)(this,"toggleMode",e=>()=>this.setState({activePanel:e}))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===l&&this.toggleMode(u)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===u&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:r}=this.state;return React.createElement("button",{className:`components-tab-button ${r===e?"is-active":""}`,onClick:this.toggleMode(e)},React.createElement("span",null,t))}render(){const{attributes:e,className:t,isSelected:r}=this.props,{source:n}=e,{activePanel:o}=this.state;return!r&&this.isEmpty()?React.createElement("p",{className:`${t}__placeholder`},(0,c.__)("Write your _Markdown_ **here**...")):React.createElement("div",{className:t},React.createElement(s.BlockControls,null,React.createElement("div",{className:"components-toolbar"},this.renderToolbarButton(u,(0,c.__)("Markdown")),this.renderToolbarButton(l,(0,c.__)("Preview")))),o!==l&&r?React.createElement(s.PlainText,{className:`${t}__editor`,onChange:this.updateSource,"aria-label":(0,c.__)("Markdown"),innerRef:this.bindInput,value:n}):React.createElement(a.default,{className:`${t}__preview`,source:n}))}};t.default=p},function(e,t,r){"use strict";e.exports=r(81)},function(e,t,r){"use strict";var n=r(0),o=r(89),s=r(93),i=r(94),a=r(102),c=r(116),u=r(129),l=r(37),p=r(131),f={default:r(132),zero:r(133),commonmark:r(134)},h=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function _(e){var t=e.trim().toLowerCase();return!h.test(t)||!!d.test(t)}var m=["http:","https:","mailto:"];function g(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return l.encode(l.format(t))}function v(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return l.decode(l.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new i,this.renderer=new s,this.linkify=new u,this.validateLink=_,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function o(e,t,r){var s,i,a,c,u,l="";for("string"!=typeof t&&(r=t,t=o.defaultChars),void 0===r&&(r=!0),u=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),s=0,i=e.length;s<i;s++)if(a=e.charCodeAt(s),r&&37===a&&s+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(s+1,s+3)))l+=e.slice(s,s+3),s+=2;else if(a<128)l+=u[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1<i&&(c=e.charCodeAt(s+1))>=56320&&c<=57343){l+=encodeURIComponent(e[s]+e[s+1]),s++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[s]);return l}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t){var r;return"string"!=typeof t&&(t=o.defaultChars),r=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),o.push(r);for(t=0;t<e.length;t++)o[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,o,s,i,a,c,u="";for(t=0,n=e.length;t<n;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?u+=r[o]:192==(224&o)&&t+3<n&&128==(192&(s=parseInt(e.slice(t+4,t+6),16)))?(u+=(c=o<<6&1984|63&s)<128?"��":String.fromCharCode(c),t+=3):224==(240&o)&&t+6<n&&(s=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&s)&&128==(192&i))?(u+=(c=o<<12&61440|s<<6&4032|63&i)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&o)&&t+9<n&&(s=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),a=parseInt(e.slice(t+10,t+12),16),128==(192&s)&&128==(192&i)&&128==(192&a))?((c=o<<18&1835008|s<<12&258048|i<<6&4032|63&a)<65536||c>1114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):u+="�";return u})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),u=["%","/","?",";","#"].concat(c),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,s,a,c,_=e;if(_=_.trim(),!t&&1===e.split("#").length){var m=i.exec(_);if(m)return this.pathname=m[1],m[2]&&(this.search=m[2]),this}var g=o.exec(_);if(g&&(s=(g=g[0]).toLowerCase(),this.protocol=g,_=_.substr(g.length)),(t||g||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===_.substr(0,2))||g&&h[g]||(_=_.substr(2),this.slashes=!0)),!h[g]&&(c||g&&!d[g])){var v,b,y=-1;for(r=0;r<l.length;r++)-1!==(a=_.indexOf(l[r]))&&(-1===y||a<y)&&(y=a);for(-1!==(b=-1===y?_.lastIndexOf("@"):_.lastIndexOf("@",y))&&(v=_.slice(0,b),_=_.slice(b+1),this.auth=v),y=-1,r=0;r<u.length;r++)-1!==(a=_.indexOf(u[r]))&&(-1===y||a<y)&&(y=a);-1===y&&(y=_.length),":"===_[y-1]&&y--;var k=_.slice(0,y);_=_.slice(y),this.parseHost(k),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x){var w=this.hostname.split(/\./);for(r=0,n=w.length;r<n;r++){var C=w[r];if(C&&!C.match(p)){for(var A="",E=0,D=C.length;E<D;E++)C.charCodeAt(E)>127?A+="x":A+=C[E];if(!A.match(p)){var S=w.slice(0,r),q=w.slice(r+1),j=C.match(f);j&&(S.push(j[1]),q.unshift(j[2])),q.length&&(_=q.join(".")+_),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var z=_.indexOf("#");-1!==z&&(this.hash=_.substr(z),_=_.slice(0,z));var F=_.indexOf("?");return-1!==F&&(this.search=_.substr(F),_=_.slice(0,F)),_&&(this.pathname=_),d[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(38),t.Cc=r(39),t.Cf=r(88),t.P=r(19),t.Z=r(40)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(90),t.parseLinkDestination=r(91),t.parseLinkTitle=r(92)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s,i,a=-1,c=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(s=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===s)if(i===e.pos-1)n++;else if(r)return e.pos=u,-1}return o&&(a=e.pos),e.pos=u,a}},function(e,t,r){"use strict";var n=r(0).isSpace,o=r(0).unescapeAll;e.exports=function(e,t,r){var s,i,a=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(s=e.charCodeAt(t))||n(s))return c;if(62===s)return c.pos=t+1,c.str=o(e.slice(a+1,t)),c.ok=!0,c;92===s&&t+1<r?t+=2:t++}return c}for(i=0;t<r&&32!==(s=e.charCodeAt(t))&&!(s<32||127===s);)if(92===s&&t+1<r)t+=2;else{if(40===s&&i++,41===s){if(0===i)break;i--}t++}return a===t?c:0!==i?c:(c.str=o(e.slice(a,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var n=r(0).unescapeAll;e.exports=function(e,t,r){var o,s,i=0,a=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return c;for(t++,40===s&&(s=41);t<r;){if((o=e.charCodeAt(t))===s)return c.pos=t+1,c.lines=i,c.str=n(e.slice(a+1,t)),c.ok=!0,c;10===o?i++:92===o&&t+1<r&&(t++,10===e.charCodeAt(t)&&i++),t++}return c}},function(e,t,r){"use strict";var n=r(0).assign,o=r(0).unescapeAll,s=r(0).escapeHtml,i={};function a(){this.rules=n({},i)}i.code_inline=function(e,t,r,n,o){var i=e[t];return"<code"+o.renderAttrs(i)+">"+s(e[t].content)+"</code>"},i.code_block=function(e,t,r,n,o){var i=e[t];return"<pre"+o.renderAttrs(i)+"><code>"+s(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,r,n,i){var a,c,u,l,p=e[t],f=p.info?o(p.info).trim():"",h="";return f&&(h=f.split(/\s+/g)[0]),0===(a=r.highlight&&r.highlight(p.content,h)||s(p.content)).indexOf("<pre")?a+"\n":f?(c=p.attrIndex("class"),u=p.attrs?p.attrs.slice():[],c<0?u.push(["class",r.langPrefix+h]):u[c][1]+=" "+r.langPrefix+h,l={attrs:u},"<pre><code"+i.renderAttrs(l)+">"+a+"</code></pre>\n"):"<pre><code"+i.renderAttrs(p)+">"+a+"</code></pre>\n"},i.image=function(e,t,r,n,o){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(e,t,r)},i.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return s(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+s(e.attrs[t][0])+'="'+s(e.attrs[t][1])+'"';return n},a.prototype.renderToken=function(e,t,r){var n,o="",s=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===i.nesting?"</":"<")+i.tag,o+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(o+=" /"),i.block&&(s=!0,1===i.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden?s=!1:-1===n.nesting&&n.tag===i.tag&&(s=!1))),o+=s?">\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i<a;i++)void 0!==s[n=e[i].type]?o+=s[n](e,i,t,r,this):o+=this.renderToken(e,i,t);return o},a.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,s=e.length;o<s;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},a.prototype.render=function(e,t,r){var n,o,s,i="",a=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(s=e[n].type)?i+=this.renderInline(e[n].children,t,r):void 0!==a[s]?i+=a[e[n].type](e,n,t,r,this):i+=this.renderToken(e,n,t,r);return i},e.exports=a},function(e,t,r){"use strict";var n=r(20),o=[["normalize",r(95)],["block",r(96)],["inline",r(97)],["linkify",r(98)],["replacements",r(99)],["smartquotes",r(100)]];function s(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}s.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},s.prototype.State=r(101),e.exports=s},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(o,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(0).arrayReplaceAt;function o(e){return/^<a[>\s]/i.test(e)}function s(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,i,a,c,u,l,p,f,h,d,_,m,g,v,b,y,k=e.tokens;if(e.md.options.linkify)for(r=0,i=k.length;r<i;r++)if("inline"===k[r].type&&e.md.linkify.pretest(k[r].content))for(m=0,t=(a=k[r].children).length-1;t>=0;t--)if("link_close"!==(u=a[t]).type){if("html_inline"===u.type&&(o(u.content)&&m>0&&m--,s(u.content)&&m++),!(m>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(f=u.content,y=e.md.linkify.match(f),l=[],_=u.level,d=0,p=0;p<y.length;p++)g=y[p].url,v=e.md.normalizeLink(g),e.md.validateLink(v)&&(b=y[p].text,b=y[p].schema?"mailto:"!==y[p].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),(h=y[p].index)>d&&((c=new e.Token("text","",0)).content=f.slice(d,h),c.level=_,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",v]],c.level=_++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=b,c.level=_,l.push(c),(c=new e.Token("link_close","a",-1)).level=--_,c.markup="linkify",c.info="auto",l.push(c),d=y[p].lastIndex);d<f.length&&((c=new e.Token("text","",0)).content=f.slice(d),c.level=_,l.push(c)),k[r].children=a=n(a,t,l)}}else for(t--;a[t].level!==u.level&&"link_open"!==a[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function a(e,t){return i[t.toLowerCase()]}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(s,a)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function u(e){var t,r,o=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||o||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(o.test(e.tokens[t].content)&&c(e.tokens[t].children),n.test(e.tokens[t].content)&&u(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(0).isWhiteSpace,o=r(0).isPunctChar,s=r(0).isMdAsciiPunct,i=/['"]/,a=/['"]/g,c="’";function u(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function l(e,t){var r,i,l,p,f,h,d,_,m,g,v,b,y,k,x,w,C,A,E,D,S;for(E=[],r=0;r<e.length;r++){for(i=e[r],d=e[r].level,C=E.length-1;C>=0&&!(E[C].level<=d);C--);if(E.length=C+1,"text"===i.type){f=0,h=(l=i.content).length;e:for(;f<h&&(a.lastIndex=f,p=a.exec(l));){if(x=w=!0,f=p.index+1,A="'"===p[0],m=32,p.index-1>=0)m=l.charCodeAt(p.index-1);else for(C=r-1;C>=0&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C--)if("text"===e[C].type){m=e[C].content.charCodeAt(e[C].content.length-1);break}if(g=32,f<h)g=l.charCodeAt(f);else for(C=r+1;C<e.length&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C++)if("text"===e[C].type){g=e[C].content.charCodeAt(0);break}if(v=s(m)||o(String.fromCharCode(m)),b=s(g)||o(String.fromCharCode(g)),y=n(m),(k=n(g))?x=!1:b&&(y||v||(x=!1)),y?w=!1:v&&(k||b||(w=!1)),34===g&&'"'===p[0]&&m>=48&&m<=57&&(w=x=!1),x&&w&&(x=!1,w=b),x||w){if(w)for(C=E.length-1;C>=0&&(_=E[C],!(E[C].level<d));C--)if(_.single===A&&E[C].level===d){_=E[C],A?(D=t.md.options.quotes[2],S=t.md.options.quotes[3]):(D=t.md.options.quotes[0],S=t.md.options.quotes[1]),i.content=u(i.content,p.index,S),e[_.token].content=u(e[_.token].content,_.pos,D),f+=S.length-1,_.token===r&&(f+=D.length-1),h=(l=i.content).length,E.length=C;continue e}x?E.push({token:r,pos:p.index,single:A,level:d}):w&&A&&(i.content=u(i.content,p.index,c))}else A&&(i.content=u(i.content,p.index,c))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(21);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(20),o=[["table",r(103),["paragraph","reference"]],["code",r(104)],["fence",r(105),["paragraph","reference","blockquote","list"]],["blockquote",r(106),["paragraph","reference","blockquote","list"]],["hr",r(107),["paragraph","reference","blockquote","list"]],["list",r(108),["paragraph","reference","blockquote"]],["reference",r(109)],["heading",r(110),["paragraph","reference","blockquote"]],["lheading",r(111)],["html_block",r(112),["paragraph","reference","blockquote"]],["paragraph",r(114)]];function s(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}s.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),s=o.length,i=t,a=!1,c=e.md.options.maxNesting;i<r&&(e.line=i=e.skipEmptyLines(i),!(i>=r))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<s&&!o[n](e,i,r,!1);n++);e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(i=e.line)<r&&e.isEmpty(i)&&(a=!0,i++,e.line=i)}},s.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},s.prototype.State=r(115),e.exports=s},function(e,t,r){"use strict";var n=r(0).isSpace;function o(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function s(e){var t,r=[],n=0,o=e.length,s=0,i=0,a=!1,c=0;for(t=e.charCodeAt(n);n<o;)96===t?a?(a=!1,c=n):s%2==0&&(a=!0,c=n):124!==t||s%2!=0||a||(r.push(e.substring(i,n)),i=n+1),92===t?s++:s=0,++n===o&&a&&(a=!1,n=c+1),t=e.charCodeAt(n);return r.push(e.substring(i)),r}e.exports=function(e,t,r,i){var a,c,u,l,p,f,h,d,_,m,g,v;if(t+2>r)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((u=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(a=e.src.charCodeAt(u++))&&45!==a&&58!==a)return!1;for(;u<e.eMarks[p];){if(124!==(a=e.src.charCodeAt(u))&&45!==a&&58!==a&&!n(a))return!1;u++}for(f=(c=o(e,t+1)).split("|"),_=[],l=0;l<f.length;l++){if(!(m=f[l].trim())){if(0===l||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;58===m.charCodeAt(m.length-1)?_.push(58===m.charCodeAt(0)?"center":"right"):58===m.charCodeAt(0)?_.push("left"):_.push("")}if(-1===(c=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=(f=s(c.replace(/^\||\|$/g,""))).length)>_.length)return!1;if(i)return!0;for((d=e.push("table_open","table",1)).map=g=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<f.length;l++)(d=e.push("th_open","th",1)).map=[t,t+1],_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=e.push("inline","",0)).content=f[l].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<r&&!(e.sCount[p]<e.blkIndent)&&-1!==(c=o(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(f=s(c.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),l=0;l<h;l++)d=e.push("td_open","td",1),_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=e.push("inline","",0)).content=f[l]?f[l].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(s=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),s.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,s,i,a,c,u,l,p=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(c=f,(s=(f=e.skipChars(f,o))-c)<3)return!1;if(l=e.src.slice(c,f),(i=e.src.slice(f,h)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((f=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]<e.blkIndent);)if(e.src.charCodeAt(f)===o&&!(e.sCount[a]-e.blkIndent>=4||(f=e.skipChars(f,o))-c<s||(f=e.skipSpaces(f))<h)){p=!0;break}return s=e.sCount[t],e.line=a+(p?1:0),(u=e.push("fence","code",0)).info=i,u.content=e.getLines(t+1,a,s,!0),u.markup=l,u.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u,l,p,f,h,d,_,m,g,v,b,y,k,x,w,C,A=e.lineMax,E=e.bMarks[t]+e.tShift[t],D=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(E++))return!1;if(o)return!0;for(c=h=e.sCount[t]+E-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(E)?(E++,c++,h++,s=!1,y=!0):9===e.src.charCodeAt(E)?(y=!0,(e.bsCount[t]+h)%4==3?(E++,c++,h++,s=!1):s=!0):y=!1,d=[e.bMarks[t]],e.bMarks[t]=E;E<D&&(i=e.src.charCodeAt(E),n(i));)9===i?h+=4-(h+e.bsCount[t]+(s?1:0))%4:h++,E++;for(_=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),l=E>=D,v=[e.sCount[t]],e.sCount[t]=h-c,b=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],x=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",C=!1,f=t+1;f<r&&(e.sCount[f]<e.blkIndent&&(C=!0),!((E=e.bMarks[f]+e.tShift[f])>=(D=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(E++)||C){if(l)break;for(k=!1,a=0,u=x.length;a<u;a++)if(x[a](e,f,r,!0)){k=!0;break}if(k){e.lineMax=f,0!==e.blkIndent&&(d.push(e.bMarks[f]),_.push(e.bsCount[f]),b.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}d.push(e.bMarks[f]),_.push(e.bsCount[f]),b.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}else{for(c=h=e.sCount[f]+E-(e.bMarks[f]+e.tShift[f]),32===e.src.charCodeAt(E)?(E++,c++,h++,s=!1,y=!0):9===e.src.charCodeAt(E)?(y=!0,(e.bsCount[f]+h)%4==3?(E++,c++,h++,s=!1):s=!0):y=!1,d.push(e.bMarks[f]),e.bMarks[f]=E;E<D&&(i=e.src.charCodeAt(E),n(i));)9===i?h+=4-(h+e.bsCount[f]+(s?1:0))%4:h++,E++;l=E>=D,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(y?1:0),v.push(e.sCount[f]),e.sCount[f]=h-c,b.push(e.tShift[f]),e.tShift[f]=E-e.bMarks[f]}for(m=e.blkIndent,e.blkIndent=0,(w=e.push("blockquote_open","blockquote",1)).markup=">",w.map=p=[t,0],e.md.block.tokenize(e,t,f),(w=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=g,p[1]=e.line,a=0;a<b.length;a++)e.bMarks[a+t]=d[a],e.tShift[a+t]=b[a],e.sCount[a+t]=v[a],e.bsCount[a+t]=_[a];return e.blkIndent=m,!0}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(s=e.src.charCodeAt(u++))&&45!==s&&95!==s)return!1;for(i=1;u<l;){if((a=e.src.charCodeAt(u++))!==s&&!n(a))return!1;a===s&&i++}return!(i<3)&&(!!o||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(i+1).join(String.fromCharCode(s)),!0))}},function(e,t,r){"use strict";var n=r(0).isSpace;function o(e,t){var r,o,s,i;return o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],42!==(r=e.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<s&&(i=e.src.charCodeAt(o),!n(i))?-1:o}function s(e,t){var r,o=e.bMarks[t]+e.tShift[t],s=o,i=e.eMarks[t];if(s+1>=i)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=i)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-o>=10)return-1}return s<i&&(r=e.src.charCodeAt(s),!n(r))?-1:s}e.exports=function(e,t,r,n){var i,a,c,u,l,p,f,h,d,_,m,g,v,b,y,k,x,w,C,A,E,D,S,q,j,z,F,O,T=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(T=!0),(S=s(e,t))>=0){if(f=!0,j=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(j,S-j-1)),T&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;f=!1}if(T&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),n)return!0;for(m=e.tokens.length,f?(O=e.push("ordered_list_open","ol",1),1!==v&&(O.attrs=[["start",v]])):O=e.push("bullet_list_open","ul",1),O.map=_=[t,0],O.markup=String.fromCharCode(g),y=t,q=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";y<r;){for(D=S,b=e.eMarks[y],p=k=e.sCount[y]+S-(e.bMarks[t]+e.tShift[t]);D<b;){if(9===(i=e.src.charCodeAt(D)))k+=4-(k+e.bsCount[y])%4;else{if(32!==i)break;k++}D++}if((l=(a=D)>=b?1:k-p)>4&&(l=1),u=p+l,(O=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),O.map=h=[t,0],x=e.blkIndent,E=e.tight,A=e.tShift[t],w=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=k,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!q||(L=!1),q=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=x,e.tShift[t]=A,e.sCount[t]=w,e.tight=E,(O=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),y=t=e.line,h[1]=y,a=e.bMarks[t],y>=r)break;if(e.sCount[y]<e.blkIndent)break;for(z=!1,c=0,d=F.length;c<d;c++)if(F[c](e,y,r,!0)){z=!0;break}if(z)break;if(f){if((S=s(e,y))<0)break}else if((S=o(e,y))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(O=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),_[1]=y,e.line=y,e.parentType=C,L&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,m),!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t,r,s){var i,a,c,u,l,p,f,h,d,_,m,g,v,b,y,k,x=0,w=e.bMarks[t]+e.tShift[t],C=e.eMarks[t],A=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w<C;)if(93===e.src.charCodeAt(w)&&92!==e.src.charCodeAt(w-1)){if(w+1===C)return!1;if(58!==e.src.charCodeAt(w+1))return!1;break}for(u=e.lineMax,y=e.md.block.ruler.getRules("reference"),_=e.parentType,e.parentType="reference";A<u&&!e.isEmpty(A);A++)if(!(e.sCount[A]-e.blkIndent>3||e.sCount[A]<0)){for(b=!1,p=0,f=y.length;p<f;p++)if(y[p](e,A,u,!0)){b=!0;break}if(b)break}for(C=(v=e.getLines(t,A,e.blkIndent,!1).trim()).length,w=1;w<C;w++){if(91===(i=v.charCodeAt(w)))return!1;if(93===i){d=w;break}10===i?x++:92===i&&++w<C&&10===v.charCodeAt(w)&&x++}if(d<0||58!==v.charCodeAt(d+1))return!1;for(w=d+2;w<C;w++)if(10===(i=v.charCodeAt(w)))x++;else if(!o(i))break;if(!(m=e.md.helpers.parseLinkDestination(v,w,C)).ok)return!1;if(l=e.md.normalizeLink(m.str),!e.md.validateLink(l))return!1;for(a=w=m.pos,c=x+=m.lines,g=w;w<C;w++)if(10===(i=v.charCodeAt(w)))x++;else if(!o(i))break;for(m=e.md.helpers.parseLinkTitle(v,w,C),w<C&&g!==w&&m.ok?(k=m.str,w=m.pos,x+=m.lines):(k="",w=a,x=c);w<C&&(i=v.charCodeAt(w),o(i));)w++;if(w<C&&10!==v.charCodeAt(w)&&k)for(k="",w=a,x=c;w<C&&(i=v.charCodeAt(w),o(i));)w++;return!(w<C&&10!==v.charCodeAt(w))&&(!!(h=n(v.slice(1,d)))&&(!!s||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:k,href:l}),e.parentType=_,e.line=t+x+1,!0)))}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(s=e.src.charCodeAt(u))||u>=l)return!1;for(i=1,s=e.src.charCodeAt(++u);35===s&&u<l&&i<=6;)i++,s=e.src.charCodeAt(++u);return!(i>6||u<l&&!n(s))&&(!!o||(l=e.skipSpacesBack(l,u),(a=e.skipCharsBack(l,35,u))>u&&n(e.src.charCodeAt(a-1))&&(l=a),e.line=t+1,(c=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(u,l).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s,i,a,c,u,l,p,f,h=t+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=u)){l=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,s=0,i=d.length;s<i;s++)if(d[s](e,h,r,!0)){o=!0;break}if(o)break}}return!!l&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(a=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),a.map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line-1],a.children=[],(a=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},function(e,t,r){"use strict";var n=r(113),o=r(41).HTML_OPEN_CLOSE_TAG_RE,s=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(c=e.src.slice(u,l),o=0;o<s.length&&!s[o][0].test(c);o++);if(o===s.length)return!1;if(n)return s[o][2];if(i=t+1,!s[o][1].test(c))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(u=e.bMarks[i]+e.tShift[i],l=e.eMarks[i],c=e.src.slice(u,l),s[o][1].test(c)){0!==c.length&&i++;break}return e.line=i,(a=e.push("html_block","",0)).map=[t,i],a.content=e.getLines(t,i,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s,i,a,c=t+1,u=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(a=e.parentType,e.parentType="paragraph";c<l&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(n=!1,o=0,s=u.length;o<s;o++)if(u[o](e,c,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=r,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=a,!0}},function(e,t,r){"use strict";var n=r(21),o=r(0).isSpace;function s(e,t,r,n){var s,i,a,c,u,l,p,f;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,a=c=l=p=0,u=(i=this.src).length;c<u;c++){if(s=i.charCodeAt(c),!f){if(o(s)){l++,9===s?p+=4-p%4:p++;continue}f=!0}10!==s&&c!==u-1||(10!==s&&c++,this.bMarks.push(a),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,a=c+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}s.prototype.push=function(e,t,r){var o=new n(e,t,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},s.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},s.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},s.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),o(t));e++);return e},s.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},s.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},s.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},s.prototype.getLines=function(e,t,r,n){var s,i,a,c,u,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),s=0;f<t;f++,s++){for(i=0,p=c=this.bMarks[f],u=f+1<t||n?this.eMarks[f]+1:this.eMarks[f];c<u&&i<r;){if(a=this.src.charCodeAt(c),o(a))9===a?i+=4-(i+this.bsCount[f])%4:i++;else{if(!(c-p<this.tShift[f]))break;i++}c++}l[s]=i>r?new Array(i-r+1).join(" ")+this.src.slice(c,u):this.src.slice(c,u)}return l.join("")},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";var n=r(20),o=[["text",r(117)],["newline",r(118)],["escape",r(119)],["backticks",r(120)],["strikethrough",r(42).tokenize],["emphasis",r(43).tokenize],["link",r(121)],["image",r(122)],["autolink",r(123)],["html_inline",r(124)],["entity",r(125)]],s=[["balance_pairs",r(126)],["strikethrough",r(42).postProcess],["emphasis",r(43).postProcess],["text_collapse",r(127)]];function i(){var e;for(this.ruler=new n,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new n,e=0;e<s.length;e++)this.ruler2.push(s[e][0],s[e][1])}i.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),s=o.length,i=e.md.options.maxNesting,a=e.cache;if(void 0===a[n]){if(e.level<i)for(r=0;r<s&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,a[n]=e.pos}else e.pos=a[n]},i.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,s=e.posMax,i=e.md.options.maxNesting;e.pos<s;){if(e.level<i)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o<i;o++)s[o](a)},i.prototype.State=r(128),e.exports=i},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t){var r,o,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;for(r=e.pending.length-1,o=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s<o&&n(e.src.charCodeAt(s));)s++;return e.pos=s,!0}},function(e,t,r){"use strict";for(var n=r(0).isSpace,o=[],s=0;s<256;s++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,s=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(++s<i){if((r=e.src.charCodeAt(s))<256&&0!==o[r])return t||(e.pending+=e.src[s]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),s++;s<i&&(r=e.src.charCodeAt(s),n(r));)s++;return e.pos=s,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s,i,a,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),s=i=c;-1!==(s=e.src.indexOf("`",i));){for(i=s+1;i<n&&96===e.src.charCodeAt(i);)i++;if(i-s===o.length)return t||((a=e.push("code_inline","code",0)).markup=o,a.content=e.src.slice(c,s).replace(/[ \n]+/g," ").trim()),e.pos=i,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t){var r,s,i,a,c,u,l,p,f,h="",d=e.pos,_=e.posMax,m=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=a+1)<_&&40===e.src.charCodeAt(u)){for(g=!1,u++;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);if(u>=_)return!1;for(m=u,(l=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?u=l.pos:h=""),m=u;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);if(l=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<_&&m!==u&&l.ok)for(f=l.str,u=l.pos;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);else f="";(u>=_||41!==e.src.charCodeAt(u))&&(g=!0),u++}if(g){if(void 0===e.env.references)return!1;if(u<_&&91===e.src.charCodeAt(u)?(m=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?i=e.src.slice(m,u++):u=a+1):u=a+1,i||(i=e.src.slice(c,a)),!(p=e.env.references[n(i)]))return e.pos=d,!1;h=p.href,f=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",h]],f&&r.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=u,e.posMax=_,!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t){var r,s,i,a,c,u,l,p,f,h,d,_,m,g="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=c+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);if(l>=b)return!1;for(m=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(g=e.md.normalizeLink(f.str),e.md.validateLink(g)?l=f.pos:g=""),m=l;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&m!==l&&f.ok)for(h=f.str,l=f.pos;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);else h="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(m=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(m,l++):l=c+1):l=c+1,a||(a=e.src.slice(u,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;g=p.href,h=p.title}return t||(i=e.src.slice(u,c),e.md.inline.parse(i,e.md,e.env,_=[]),(d=e.push("image","img",0)).attrs=r=[["src",g],["alt",""]],d.children=_,d.content=i,h&&r.push(["title",h])),e.pos=l,e.posMax=b,!0}},function(e,t,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,s,i,a,c,u,l=e.pos;return 60===e.src.charCodeAt(l)&&(!((r=e.src.slice(l)).indexOf(">")<0)&&(o.test(r)?(a=(s=r.match(o))[0].slice(1,-1),c=e.md.normalizeLink(a),!!e.md.validateLink(c)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(a),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=s[0].length,!0)):!!n.test(r)&&(a=(i=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(c)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(a),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=i[0].length,!0))))}},function(e,t,r){"use strict";var n=r(41).HTML_TAG_RE;e.exports=function(e,t){var r,o,s,i=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=s)&&(!(33!==(r=e.src.charCodeAt(i+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(i).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var n=r(36),o=r(0).has,s=r(0).isValidEntityCode,i=r(0).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,u,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(u=e.src.slice(l).match(a))return t||(r="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=s(r)?i(r):i(65533)),e.pos+=u[0].length,!0}else if((u=e.src.slice(l).match(c))&&o(n,u[1]))return t||(e.pending+=n[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o,s=e.delimiters,i=e.delimiters.length;for(t=0;t<i;t++)if((n=s[t]).close)for(r=t-n.jump-1;r>=0;){if((o=s[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=t-r,n.open=!1,o.end=t,o.jump=0;break}r-=o.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,s=e.tokens.length;for(t=r=0;t<s;t++)n+=o[t].nesting,o[t].level=n,"text"===o[t].type&&t+1<s&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}},function(e,t,r){"use strict";var n=r(21),o=r(0).isWhiteSpace,s=r(0).isPunctChar,i=r(0).isMdAsciiPunct;function a(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}a.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},a.prototype.push=function(e,t,r){this.pending&&this.pushPending();var o=new n(e,t,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,u,l,p,f,h,d=e,_=!0,m=!0,g=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<g&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<g?this.src.charCodeAt(d):32,p=i(r)||s(String.fromCharCode(r)),h=i(n)||s(String.fromCharCode(n)),l=o(r),(f=o(n))?_=!1:h&&(l||p||(_=!1)),l?m=!1:p&&(f||h||(m=!1)),t?(c=_,u=m):(c=_&&(!m||p),u=m&&(!_||h)),{can_open:c,can_close:u,length:a}},a.prototype.Token=n,e.exports=a},function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function s(e){return"[object Function]"===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},u="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=r(130)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(u),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,function(e){return"[object Object]"===o(e)}(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?s(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(s(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function f(e,t){var r=new function(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);t||function(e){return Object.keys(e||{}).reduce(function(e,t){return e||a.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},p(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(38).source,t.src_Cc=r(39).source,t.src_Z=r(40).source,t.src_P=r(19).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var s="object"==typeof window&&window;s.global!==s&&s.window!==s&&s.self;var i,a=2147483647,c=36,u=1,l=26,p=38,f=700,h=72,d=128,_="-",m=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=c-u,k=Math.floor,x=String.fromCharCode;function w(e){throw RangeError(b[e])}function C(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function A(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+C((e=e.replace(v,".")).split("."),t).join(".")}function E(e){for(var t,r,n=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function D(e){return C(e,function(e){var t="";return e>65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function q(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function j(e,t,r){var n=0;for(e=r?k(e/f):e>>1,e+=k(e/t);e>y*l>>1;n+=c)e=k(e/y);return k(n+(y+1)*e/(e+p))}function z(e){var t,r,n,o,s,i,p,f,m,g,v=[],b=e.length,y=0,x=d,C=h;for((r=e.lastIndexOf(_))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&w("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<b;){for(s=y,i=1,p=c;o>=b&&w("invalid-input"),((f=S(e.charCodeAt(o++)))>=c||f>k((a-y)/i))&&w("overflow"),y+=f*i,!(f<(m=p<=C?u:p>=C+l?l:p-C));p+=c)i>k(a/(g=c-m))&&w("overflow"),i*=g;C=j(y-s,t=v.length+1,0==s),k(y/t)>a-x&&w("overflow"),x+=k(y/t),y%=t,v.splice(y++,0,x)}return D(v)}function F(e){var t,r,n,o,s,i,p,f,m,g,v,b,y,C,A,D=[];for(b=(e=E(e)).length,t=d,r=0,s=h,i=0;i<b;++i)(v=e[i])<128&&D.push(x(v));for(n=o=D.length,o&&D.push(_);n<b;){for(p=a,i=0;i<b;++i)(v=e[i])>=t&&v<p&&(p=v);for(p-t>k((a-r)/(y=n+1))&&w("overflow"),r+=(p-t)*y,t=p,i=0;i<b;++i)if((v=e[i])<t&&++r>a&&w("overflow"),v==t){for(f=r,m=c;!(f<(g=m<=s?u:m>=s+l?l:m-s));m+=c)A=f-g,C=c-g,D.push(x(q(g+A%C,0))),f=k(A/C);D.push(x(q(f,0))),s=j(r,y,n==o),r=0,++n}++r,++t}return D.join("")}i={version:"1.3.2",ucs2:{decode:E,encode:D},decode:z,encode:F,toASCII:function(e){return A(e,function(e){return g.test(e)?"xn--"+F(e):e})},toUnicode:function(e){return A(e,function(e){return m.test(e)?z(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(22)(e))},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t){e.exports=wp.i18n},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(35));t.default=(({attributes:e,className:t})=>React.createElement(o.default,{className:t,source:e.source}))},function(e,t,r){var n=r(138),o=r(44);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(12),o=Object.prototype,s=o.hasOwnProperty,i=o.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[a]=r:delete e[a]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r(142)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,s){t.push(n?s.replace(o,"$1"):r||e)}),t});e.exports=s},function(e,t,r){var n=r(143),o=500;e.exports=function(e){var t=n(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(24),o="Expected a function";function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var i=e.apply(this,n);return r.cache=s.set(o,i)||s,i};return r.cache=new(s.Cache||n),r}s.Cache=n,e.exports=s},function(e,t,r){var n=r(145),o=r(14),s=r(26);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||o),string:new n}}},function(e,t,r){var n=r(146),o=r(151),s=r(152),i=r(153),a=r(154);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t,r){var n=r(13);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(46),o=r(148),s=r(8),i=r(47),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||o(e))&&(n(e)?f:a).test(i(e))}},function(e,t,r){var n=r(149),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(2)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(13),o="__lodash_hash_undefined__",s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return s.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(13),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(13),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(15),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},function(e,t,r){var n=r(15);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(15);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(15);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(16);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(16);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(16);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(166);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(12),o=r(31),s=r(3),i=r(17),a=1/0,c=n?n.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(s(t))return o(t,e)+"";if(i(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-a?"-0":r}},function(e,t,r){var n=r(6),o=r(7),s="[object Arguments]";e.exports=function(e){return o(e)&&n(e)==s}},function(e,t,r){var n=r(31),o=r(169),s=r(210),i=r(215);e.exports=function(e,t){if(null==e)return{};var r=n(i(e),function(e){return[e]});return t=o(t),s(e,r,function(e,r){return t(e,r[0])})}},function(e,t,r){var n=r(170),o=r(203),s=r(206),i=r(3),a=r(207);e.exports=function(e){return"function"==typeof e?e:null==e?s:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):a(e)}},function(e,t,r){var n=r(171),o=r(202),s=r(63);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?s(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(50),o=r(51),s=1,i=2;e.exports=function(e,t,r,a){var c=r.length,u=c,l=!a;if(null==e)return!u;for(e=Object(e);c--;){var p=r[c];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++c<u;){var f=(p=r[c])[0],h=e[f],d=p[1];if(l&&p[2]){if(void 0===h&&!(f in e))return!1}else{var _=new n;if(a)var m=a(h,d,f,e,t,_);if(!(void 0===m?o(d,h,s|i,a,_):m))return!1}}return!0}},function(e,t,r){var n=r(14);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(14),o=r(26),s=r(24),i=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<i-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new s(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(50),o=r(52),s=r(183),i=r(187),a=r(197),c=r(3),u=r(58),l=r(59),p=1,f="[object Arguments]",h="[object Array]",d="[object Object]",_=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,g,v){var b=c(e),y=c(t),k=b?h:a(e),x=y?h:a(t),w=(k=k==f?d:k)==d,C=(x=x==f?d:x)==d,A=k==x;if(A&&u(e)){if(!u(t))return!1;b=!0,w=!1}if(A&&!w)return v||(v=new n),b||l(e)?o(e,t,r,m,g,v):s(e,t,k,r,m,g,v);if(!(r&p)){var E=w&&_.call(e,"__wrapped__"),D=C&&_.call(t,"__wrapped__");if(E||D){var S=E?e.value():e,q=D?t.value():t;return v||(v=new n),g(S,q,r,m,v)}}return!!A&&(v||(v=new n),i(e,t,r,m,g,v))}},function(e,t,r){var n=r(24),o=r(179),s=r(180);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=s,e.exports=i},function(e,t){var r="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,r),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(12),o=r(184),s=r(25),i=r(52),a=r(185),c=r(186),u=1,l=2,p="[object Boolean]",f="[object Date]",h="[object Error]",d="[object Map]",_="[object Number]",m="[object RegExp]",g="[object Set]",v="[object String]",b="[object Symbol]",y="[object ArrayBuffer]",k="[object DataView]",x=n?n.prototype:void 0,w=x?x.valueOf:void 0;e.exports=function(e,t,r,n,x,C,A){switch(r){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!C(new o(e),new o(t)));case p:case f:case _:return s(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case v:return e==t+"";case d:var E=a;case g:var D=n&u;if(E||(E=c),e.size!=t.size&&!D)return!1;var S=A.get(e);if(S)return S==t;n|=l,A.set(e,t);var q=i(E(e),E(t),n,x,C,A);return A.delete(e),q;case b:if(w)return w.call(e)==w.call(t)}return!1}},function(e,t,r){var n=r(2).Uint8Array;e.exports=n},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(188),o=1,s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,c){var u=r&o,l=n(e),p=l.length;if(p!=n(t).length&&!u)return!1;for(var f=p;f--;){var h=l[f];if(!(u?h in t:s.call(t,h)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var _=!0;c.set(e,t),c.set(t,e);for(var m=u;++f<p;){var g=e[h=l[f]],v=t[h];if(i)var b=u?i(v,g,h,t,e,c):i(g,v,h,e,t,c);if(!(void 0===b?g===v||a(g,v,r,i,c):b)){_=!1;break}m||(m="constructor"==h)}if(_&&!m){var y=e.constructor,k=t.constructor;y!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k)&&(_=!1)}return c.delete(e),c.delete(t),_}},function(e,t,r){var n=r(53),o=r(55),s=r(32);e.exports=function(e){return n(e,s,o)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,s=[];++r<n;){var i=e[r];t(i,r,e)&&(s[o++]=i)}return s}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(6),o=r(28),s=r(7),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&o(e.length)&&!!i[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(45),o="object"==typeof t&&t&&!t.nodeType&&t,s=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=s&&s.exports===o&&n.process,a=function(){try{var e=s&&s.require&&s.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}).call(this,r(22)(e))},function(e,t,r){var n=r(60),o=r(196),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))s.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(61)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(198),o=r(26),s=r(199),i=r(200),a=r(201),c=r(6),u=r(47),l=u(n),p=u(o),f=u(s),h=u(i),d=u(a),_=c;(n&&"[object DataView]"!=_(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=_(new o)||s&&"[object Promise]"!=_(s.resolve())||i&&"[object Set]"!=_(new i)||a&&"[object WeakMap]"!=_(new a))&&(_=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return t}),e.exports=_},function(e,t,r){var n=r(4)(r(2),"DataView");e.exports=n},function(e,t,r){var n=r(4)(r(2),"Promise");e.exports=n},function(e,t,r){var n=r(4)(r(2),"Set");e.exports=n},function(e,t,r){var n=r(4)(r(2),"WeakMap");e.exports=n},function(e,t,r){var n=r(62),o=r(32);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var s=t[r],i=e[s];t[r]=[s,i,n(i)]}return t}},function(e,t,r){var n=r(51),o=r(49),s=r(204),i=r(23),a=r(62),c=r(63),u=r(9),l=1,p=2;e.exports=function(e,t){return i(e)&&a(t)?c(u(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?s(r,e):n(t,i,l|p)}}},function(e,t,r){var n=r(205),o=r(44);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(208),o=r(209),s=r(23),i=r(9);e.exports=function(e){return s(e)?n(i(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(29);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){var n=r(29),o=r(211),s=r(11);e.exports=function(e,t,r){for(var i=-1,a=t.length,c={};++i<a;){var u=t[i],l=n(e,u);r(l,u)&&o(c,s(u,e),l)}return c}},function(e,t,r){var n=r(212),o=r(11),s=r(27),i=r(8),a=r(9);e.exports=function(e,t,r,c){if(!i(e))return e;for(var u=-1,l=(t=o(t,e)).length,p=l-1,f=e;null!=f&&++u<l;){var h=a(t[u]),d=r;if(u!=p){var _=f[h];void 0===(d=c?c(_,h,f):void 0)&&(d=i(_)?_:s(t[u+1])?[]:{})}n(f,h,d),f=f[h]}return e}},function(e,t,r){var n=r(213),o=r(25),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];s.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(214);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(4),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(53),o=r(216),s=r(218);e.exports=function(e){return n(e,s,o)}},function(e,t,r){var n=r(54),o=r(217),s=r(55),i=r(56),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,s(e)),e=o(e);return t}:i;e.exports=a},function(e,t,r){var n=r(61)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(57),o=r(219),s=r(33);e.exports=function(e){return s(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(8),o=r(60),s=r(220),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=o(e),r=[];for(var a in e)("constructor"!=a||!t&&i.call(e,a))&&r.push(a);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_POSTS=t.MAX_POSTS_TO_SHOW=t.ALIGNMENT_OPTIONS=void 0;t.ALIGNMENT_OPTIONS=["center","wide","full"];t.MAX_POSTS_TO_SHOW=3;t.DEFAULT_POSTS=[{title:"Big iPhone/iPad Update Now Available",img:{src:"https://wordpress.com/calypso/images/related-posts/cat-blog.png"},date:"August 3, 2018",context:'In "Mobile"'},{title:"The WordPress for Android App Gets a Big Facelift",img:{src:"https://wordpress.com/calypso/images/related-posts/devices.jpg"},date:"August 2, 2018",context:'In "Mobile"'},{title:"Upgrade Focus: VideoPress For Weddings",img:{src:"https://wordpress.com/calypso/images/related-posts/mobile-wedding.jpg"},date:"August 5, 2018",context:'In "Upgrade"'}]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(246),o=r(5);t.default=(({attributes:{url:e,view:t},className:r})=>React.createElement("div",{className:r},React.createElement("iframe",{title:(0,o.__)("VR Image"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:(0,n.addQueryArgs)("https://vr.me.sh/view/",{url:e,view:t})})))},,function(e,t,r){r(67),r(68),r(76),r(225),e.exports=r(242)},function(e,t,r){"use strict";var n=r(1),o=n(r(226));r(237);var s=n(r(239)),i=r(5),a=r(221);new(n(r(66)).default)("related-posts",{title:(0,i.__)("Related Posts"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg"},React.createElement("defs",null,React.createElement("path",{id:"a",d:"M4 5v14h17V5H4zm4 2v2H6V7h2zm-2 6v-2h2v2H6zm0 2h2v2H6v-2zm13 2h-9v-2h9v2zm0-4h-9v-2h9v2zm0-4h-9V7h9v2z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"b",fill:"#fff"},React.createElement("use",{xlinkHref:"#a"})),React.createElement("g",{fill:"#555D66",mask:"url(#b)"},React.createElement("path",{d:"M0 0h24v24H0z"})))),category:"jetpack",keywords:[(0,i.__)("similar"),(0,i.__)("linked"),(0,i.__)("connected")],attributes:{align:{type:"string",default:""},postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:a.MAX_POSTS_TO_SHOW}},getEditWrapperProps:e=>{const{align:t}=e;if((0,o.default)(a.ALIGNMENT_OPTIONS,t))return{"data-align":t}},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:s.default,save:()=>null}).register()},function(e,t,r){var n=r(227),o=r(33),s=r(231),i=r(232),a=r(235),c=Math.max;e.exports=function(e,t,r,u){e=o(e)?e:a(e),r=r&&!u?i(r):0;var l=e.length;return r<0&&(r=c(l+r,0)),s(e)?r<=l&&e.indexOf(t,r)>-1:!!l&&n(e,t,r)>-1}},function(e,t,r){var n=r(228),o=r(229),s=r(230);e.exports=function(e,t,r){return t==t?s(e,t,r):n(e,o,r)}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,s=r+(n?1:-1);n?s--:++s<o;)if(t(e[s],s,e))return s;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(6),o=r(3),s=r(7),i="[object String]";e.exports=function(e){return"string"==typeof e||!o(e)&&s(e)&&n(e)==i}},function(e,t,r){var n=r(233);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(234),o=1/0,s=1.7976931348623157e308;e.exports=function(e){return e?(e=n(e))===o||e===-o?(e<0?-1:1)*s:e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(8),o=r(17),s=NaN,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=c.test(e);return r||u.test(e)?l(e.slice(2),r?2:8):a.test(e)?s:+e}},function(e,t,r){var n=r(236),o=r(32);e.exports=function(e){return null==e?[]:n(e,o(e))}},function(e,t,r){var n=r(31);e.exports=function(e,t){return n(t,function(t){return e[t]})}},function(e,t,r){},,function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=n(r(240)),i=n(r(64)),a=r(10),c=r(65),u=r(34),l=r(241),p=r(5),f=r(221);var h=(0,l.withSelect)(e=>{const{getCurrentPostId:t,isSavingPost:r}=e("core/editor");return{isSaving:!!r(),postId:t()}})(class extends a.Component{constructor(...e){super(...e),(0,o.default)(this,"state",{posts:[],fetchingPosts:!1})}componentDidMount(){this.fetchPosts()}componentDidUpdate(e){e.isSaving&&!this.props.isSaving&&this.fetchPosts()}fetchPosts(){const{postId:e}=this.props,{fetchingPosts:t}=this.state;e&&!t&&(this.setState({fetchingPosts:!0}),(0,s.default)({path:"/jetpack/v4/site/posts/related?http_envelope=1&post_id="+e}).then(e=>{this.setState({posts:e.posts,fetchingPosts:!1})}).catch(()=>{this.setState({fetchingPosts:!1})}))}render(){const{attributes:e,className:t,setAttributes:r}=this.props,{posts:n}=this.state,{align:o,displayContext:s,displayDate:l,displayThumbnails:h,postLayout:d,postsToShow:_}=e,m=[{icon:"grid-view",title:(0,p.__)("Grid View"),onClick:()=>r({postLayout:"grid"}),isActive:"grid"===d},{icon:"list-view",title:(0,p.__)("List View"),onClick:()=>r({postLayout:"list"}),isActive:"list"===d}],g=(n.length?n:f.DEFAULT_POSTS).slice(0,_);return React.createElement(a.Fragment,null,React.createElement(c.InspectorControls,null,React.createElement(u.PanelBody,{title:(0,p.__)("Related Posts Settings")},React.createElement(u.ToggleControl,{label:(0,p.__)("Display thumbnails"),checked:h,onChange:e=>r({displayThumbnails:e})}),React.createElement(u.ToggleControl,{label:(0,p.__)("Display date"),checked:l,onChange:e=>r({displayDate:e})}),React.createElement(u.ToggleControl,{label:(0,p.__)("Display context (category or tag)"),checked:s,onChange:e=>r({displayContext:e})}),React.createElement(u.RangeControl,{label:(0,p.__)("Number of posts"),value:_,onChange:e=>r({postsToShow:Math.min(e,f.MAX_POSTS_TO_SHOW)}),min:1,max:f.MAX_POSTS_TO_SHOW}))),React.createElement(c.BlockControls,null,React.createElement(c.BlockAlignmentToolbar,{value:o,onChange:e=>{r({align:e})},controls:f.ALIGNMENT_OPTIONS}),React.createElement(u.Toolbar,{controls:m})),React.createElement("div",{className:(0,i.default)(`${t}`,{"is-grid":"grid"===d,[`columns-${_}`]:"grid"===d,[`align${o}`]:o})},React.createElement("div",{className:`${t}__preview-items`},g.map((e,r)=>React.createElement("div",{className:`${t}__preview-post`,key:r},h&&e.img&&e.img.src&&React.createElement(u.Button,{className:`${t}__preview-post-link`,isLink:!0},React.createElement("img",{src:e.img.src,alt:e.title})),React.createElement("h4",null,React.createElement(u.Button,{className:`${t}__preview-post-link`,isLink:!0},e.title)),l&&React.createElement("span",{className:`${t}__preview-post-date has-small-font-size`},e.date),s&&React.createElement("p",{className:`${t}__preview-post-context`},e.context))))))}});t.default=h},function(e,t){e.exports=wp.apiFetch},function(e,t){e.exports=wp.data},function(e,t,r){"use strict";var n=r(1),o=r(30);r(243);var s=n(r(245)),i=n(r(222)),a=r(5);(0,o.registerBlockType)("jetpack/vr",{title:(0,a.__)("VR Image"),description:(0,a.__)("Embed 360° photos and Virtual Reality (VR) content"),icon:"embed-photo",category:"jetpack",keywords:[(0,a.__)("vr"),(0,a.__)("panorama"),(0,a.__)("360")],support:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:s.default,save:i.default})},function(e,t,r){},,function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=r(10),i=r(34),a=n(r(222)),c=r(5);t.default=class extends s.Component{constructor(...e){super(...e),(0,o.default)(this,"onChangeUrl",e=>void this.props.setAttributes({url:e.trim()})),(0,o.default)(this,"onChangeView",e=>void this.props.setAttributes({view:e}))}render(){const{attributes:e,className:t}=this.props;return e.url&&e.view?React.createElement(a.default,{attributes:e,className:t}):React.createElement(i.Placeholder,{key:"placeholder",icon:"format-image",label:(0,c.__)("VR Image"),className:t},React.createElement(i.TextControl,{type:"url",label:(0,c.__)("Enter URL to VR image"),value:e.url,onChange:this.onChangeUrl}),React.createElement(i.SelectControl,{label:(0,c.__)("View Type"),disabled:!e.url,value:e.view,onChange:this.onChangeView,options:[{label:"",value:""},{label:(0,c.__)("360°"),value:"360"},{label:(0,c.__)("Cinema"),value:"cinema"}]}))}}},function(e,t){e.exports=wp.url}]));
1
+ !function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){function t(t){for(var r,n,i=t[0],a=t[1],s=0,c=[];s<i.length;s++)n=i[s],o[n]&&c.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(l&&l(t);c.length;)c.shift()()}var r={},n={1:0},o={1:0};function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{2:1}[e]&&t.push(n[e]=new Promise(function(t,r){for(var n="rtl"===document.dir?({2:"map/mapbox-gl"}[e]||e)+".rtl.css":({2:"map/mapbox-gl"}[e]||e)+".css",o=i.p+n,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var c=(u=a[s]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===n||c===o))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var u;if((c=(u=l[s]).getAttribute("data-href"))===n||c===o)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var n=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,r(i)},p.href=o,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){n[e]=0}));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=a);var s,c=document.getElementsByTagName("head")[0],l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({2:"map/mapbox-gl"}[e]||e)+".js"}(e),s=function(t){l.onerror=l.onload=null,clearTimeout(u);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+n+": "+i+")");a.type=n,a.request=i,r[1](a)}o[e]=void 0}};var u=setTimeout(function(){s({type:"timeout",target:l})},12e4);l.onerror=l.onload=s,c.appendChild(l)}return Promise.all(t)},i.m=e,i.c=r,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var l=s;return i(i.s=221)}([function(e,t,r){"use strict";r.d(t,"a",function(){return s}),r.d(t,"b",function(){return c}),r.d(t,"c",function(){return l});var n=r(20),o=r.n(n),i=r(14),a=function(e){var t=o()(e);return t.push("jetpack"),t};function s(){return i.__.apply(void 0,o()(a(arguments)))}function c(){return i._n.apply(void 0,o()(a(arguments)))}function l(){return i._x.apply(void 0,o()(a(arguments)))}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.element},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){var n=r(23),o=r(1);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(50);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(58);var p=/[&<>"]/,d=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(38);t.lib={},t.lib.mdurl=r(59),t.lib.ucmicro=r(103),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(r):e}(e,r)})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t){e.exports=window.lodash},function(e,t){e.exports=wp.editor},function(e,t,r){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.compose},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(11),o=r(15),i=r(34);function a(e,t){var r=Object(i.a)(),a=Object(n.get)(r,["available_blocks",e,"available"],!1);return!(r&&!a)&&Object(o.registerBlockType)("jetpack/".concat(e),t)}},function(e,t,r){var n=r(4);e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(0),o={name:"jetpack/map",title:Object(n.a)("Map"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"}),React.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),category:"jetpack",keywords:[Object(n.a)("map"),Object(n.a)("location")],description:Object(n.a)("Add an interactive map showing one or more locations."),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},mapStyleOptions:[{value:"default",label:Object(n.a)("Basic")},{value:"black_and_white",label:Object(n.a)("Black and white")},{value:"satellite",label:Object(n.a)("Satellite")},{value:"terrain",label:Object(n.a)("Terrain")}],validAlignments:["center","wide","full"],markerIcon:React.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},React.createElement("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},React.createElement("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),React.createElement("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},function(e,t,r){var n=r(47),o=r(48),i=r(49);e.exports=function(e){return n(e)||o(e)||i()}},function(e,t){e.exports=wp.data},function(e,t,r){"use strict";e.exports=r(78)},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t){e.exports=wp.keycodes},function(e,t){e.exports=wp.apiFetch},function(e,t,r){var n=r(67)(Object,"create");e.exports=n},function(e,t,r){var n=r(181);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(187);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){"use strict";r.r(t);var n=r(30),o=r.n(n),i=r(31),a=r.n(i),s=r(13),c=r.n(s),l=r(32),u=r.n(l);r(83);t.default=function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,i=void 0!==n&&n,s=a()(e,["children","isError"]),l=c()("help-message",{"help-message-is-error":i});return r&&React.createElement("div",o()({className:l},s),i&&React.createElement(u.a,{size:"24"}),React.createElement("span",null,r))}},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t,r){var n=r(82);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,i=e.onClick,a=(e.icon,e.className),s=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",a,!!function(e){return 0==e%18}(r)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",n({className:c,height:r,width:r,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var o=function(e){return e&&e.__esModule?e:{default:e}}(r(22));e.exports=t.default},function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(23),o=r.n(n),i=r(11),a=["Jetpack_Editor_Initial_State"];function s(){return Object(i.get)("object"===("undefined"==typeof window?"undefined":o()(window))?window:null,a,null)}},function(e,t,r){var n=r(154);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(51),o=r(52),i=r(53);e.exports=function(e,t){return n(e)||o(e,t)||i()}},function(e,t,r){"use strict";var n=r(36),o=r.n(n),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(0),k=r(11),_=r(2),C=r(3),E=(r(54),function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"handleClick",function(){(0,r.props.onClick)(g()(g()(r)))}),v()(g()(g()(r)),"getPoint",function(){var e=r.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),r}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,r=e.point,n=e.mapboxgl,o=e.markerColor,i=this.handleClick,a=[r.coordinates.longitude,r.coordinates.latitude],s=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(a):(s.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(s).setLngLat(a).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),s.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(C.Component));E.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var x=E,w=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"closeClick",function(){r.props.unsetActiveMarker()}),r}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(C.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,r=e.activeMarker;this.infowindow.setLngLat(r.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(C.Component);w.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var j=w;var A=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onMarkerClick",function(t){var r=e.props.onMarkerClick;e.setState({activeMarker:t}),r()}),v()(g()(g()(e)),"onMapClick",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"updateActiveMarker",function(t){var r=e.props.points,n=e.state.activeMarker.props.index,o=r.slice(0);Object(k.assign)(o[n],t),e.props.onSetPoints(o)}),v()(g()(g()(e)),"deleteActiveMarker",function(){var t=e.props.points,r=e.state.activeMarker.props.index,n=t.slice(0);n.splice(r,1),e.props.onSetPoints(n),e.setState({activeMarker:null})}),v()(g()(g()(e)),"sizeMap",function(){var t=e.state.map,r=e.mapRef.current,n=r.offsetWidth,o=.8*window.innerHeight,i=Math.min(.75*n,o);r.style.height=i+"px",t.resize(),e.setBoundsByMarkers()}),v()(g()(g()(e)),"setBoundsByMarkers",function(){var t=e.props,r=t.zoom,n=t.points,o=t.onSetZoom,i=e.state,a=i.map,s=i.activeMarker,c=i.mapboxgl,l=i.zoomControl,u=i.boundsSetProgrammatically;if(a&&n.length&&!s){var p=new c.LngLatBounds;if(n.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),n.length>1)return a.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void a.removeControl(l);if(a.setCenter(p.getCenter()),u){a.setZoom(12),o(12)}else a.setZoom(parseInt(r,10));a.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(g()(g()(e)),"scriptsLoaded",function(){var t=e.props,r=t.mapCenter,n=t.points;e.setState({loaded:!0}),n.length,e.initMap(r)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(C.createRef)(),e.debouncedSizeMap=Object(k.debounce)(e.sizeMap,250),e}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.points,n=t.admin,o=t.children,i=t.markerColor,a=this.state,s=a.map,c=a.activeMarker,l=a.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,f=Object(k.get)(c,"props.point")||{},h=f.title,m=f.caption,g=C.Children.map(o,function(e){if("AddPoint"===Object(k.get)(e,"props.tagName"))return e}),b=s&&l&&r.map(function(e,t){return React.createElement(x,{key:t,point:e,index:t,map:s,mapboxgl:l,markerColor:i,onClick:u})}),v=l&&React.createElement(j,{activeMarker:c,map:s,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&n&&React.createElement(C.Fragment,null,React.createElement(_.TextControl,{label:Object(y.a)("Marker Title"),value:h,onChange:function(e){return d({title:e})}}),React.createElement(_.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.a)("Marker Caption"),value:m,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),React.createElement(_.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},React.createElement(_.Dashicon,{icon:"trash",size:"15"})," ",Object(y.a)("Delete Marker"))),c&&!n&&React.createElement(C.Fragment,null,React.createElement("h3",null,h),React.createElement("p",null,m)));return React.createElement(C.Fragment,null,React.createElement("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},b),v,g)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.apiKey,n=t.children,o=t.points,i=t.mapStyle,a=t.mapDetails,s=this.state.map;r&&r.length>0&&r!==e.apiKey&&this.loadMapLibraries(),n!==e.children&&!1!==n&&this.clearCurrentMarker(),o!==e.points&&this.setBoundsByMarkers(),o.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&a===e.mapDetails||s.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([r.e(2).then(r.t.bind(null,231,7)),r.e(2).then(r.t.bind(null,232,7))]).then(function(r){var n=o()(r,1)[0].default;n.accessToken=t,e.setState({mapboxgl:n},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,r=this.state.mapboxgl,n=this.props,o=n.zoom,i=n.onMapLoaded,a=n.onError,s=n.admin,c=null;try{c=new r.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(o,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}c.on("error",function(e){a("mapbox_error",e.error.message)});var l=new r.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",function(){t.props.onSetZoom(c.getZoom())}),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:l},function(){t.debouncedSizeMap(),c.addControl(l),s||c.addControl(new r.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.resize(),i(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(C.Component);A.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=A},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(66),o=r(160),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&n(e)==i}},function(e,t,r){var n=r(44).Symbol;e.exports=n},function(e,t,r){var n=r(157),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){e.exports=r(80)()},function(e,t,r){"use strict";r.r(t);var n=r(23);"object"===("undefined"==typeof window?"undefined":r.n(n)()(window))&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";e.exports=r(98)},function(e,t,r){"use strict";e.exports.encode=r(99),e.exports.decode=r(100),e.exports.format=r(101),e.exports.parse=r(102)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+n+"|"+o+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),r=0;r<o;r+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a=[],s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(n=s[t]).marker&&-1!==n.end&&(o=s[n.end],(i=e.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(r=(t=a.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:n.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=s[t]).marker&&42!==r.marker||-1!==r.end&&(n=s[r.end],a=t>0&&s[t-1].end===r.end+1&&s[t-1].token===r.token-1&&s[r.end+1].token===n.token+1&&s[t-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[r.end+1].token].content="",t--))}},function(e,t,r){var n=r(43),o=r(158),i=r(159),a="[object Null]",s="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?o(e):i(e)}},function(e,t,r){var n=r(168),o=r(173);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(70);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(43),o=r(191),i=r(41),a=r(42),s=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-s?"-0":r}},function(e,t,r){"use strict";e.exports=r(97)},function(e,t){e.exports=wp.editPost},function(e,t){e.exports=wp.plugins},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)})}}},function(e,t,r){e.exports=r.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,r){e.exports=r.p+"images/paypal-button@2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,r){var n=r(70),o=r(197),i=r(199),a=r(204),s=r(69),c=/\s+$/;e.exports=function(e,t,r){if((e=s(e))&&(r||void 0===t))return e.replace(c,"");if(!e||!(t=n(t)))return e;var l=a(e),u=i(l,a(t))+1;return o(l,0,u).join("")}},function(e,t,r){"use strict";
13
+ /** @license React v16.6.1
14
  * react.production.min.js
15
  *
16
  * Copyright (c) Facebook, Inc. and its affiliates.
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
+ */var n=r(79),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k={};function _(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}function C(){}function E(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=_.prototype;var x=E.prototype=new C;x.constructor=E,n(x,_.prototype),x.isPureReactComponent=!0;var w={current:null,currentDispatcher:null},j=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n=void 0,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)j.call(t,n)&&!A.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,D=[];function M(e,t,r,n){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function T(e,t,r){return null==e?0:function e(t,r,n,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return n(o,t,""===r?"."+z(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=r+z(s=t[l],l);c+=e(s,u,n,o)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=r+z(s,l++),n,o);else"object"===s&&v("31","[object Object]"==(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return c}(e,"",t,r)}function z(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,n,r,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function L(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),T(e,q,t=M(t,i,n,o)),P(t)}var N={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return L(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;T(e,F,t=M(null,null,t,r)),P(t)},count:function(e){return T(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return O(e)||v("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},Fragment:s,StrictMode:c,Suspense:h,createElement:S,cloneElement:function(e,t,r){(null===e||void 0===e)&&v("267",e);var o=void 0,a=n({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=w.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)j.call(t,o)&&!A.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=r;else if(1<o){u=Array(o);for(var p=0;p<o;p++)u[p]=arguments[p+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=S.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:n}};N.unstable_ConcurrentMode=d,N.unstable_Profiler=l;var I={default:N},B=I&&N||I;e.exports=B.default||B},function(e,t,r){"use strict";
21
  /*
22
  object-assign
23
  (c) Sindre Sorhus
24
  @license MIT
25
+ */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))o.call(r,l)&&(s[l]=r[l]);if(n){a=n(r);for(var u=0;u<a.length;u++)i.call(r,a[u])&&(s[a[u]]=r[a[u]])}}return s}},function(e,t,r){"use strict";var n=r(81);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";var n=r(10),o=r(105),i=r(109),a=r(110),s=r(118),c=r(132),l=r(145),u=r(59),p=r(147),d={default:r(149),zero:r(150),commonmark:r(151)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return n.assign(this.options,e),this},y.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},y.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function o(e,t,r){var i,a,s,c,l,u="";for("string"!=typeof t&&(r=t,t=o.defaultChars),void 0===r&&(r=!0),l=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),r&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(s<128)u+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(c=e.charCodeAt(i+1))>=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t){var r;return"string"!=typeof t&&(t=o.defaultChars),r=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),o.push(r);for(t=0;t<e.length;t++)o[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,o,i,a,s,c,l="";for(t=0,n=e.length;t<n;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?l+=r[o]:192==(224&o)&&t+3<n&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(c=o<<6&1984|63&i)<128?"��":String.fromCharCode(c),t+=3):224==(240&o)&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(l+=(c=o<<12&61440|i<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&o)&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&a)&&128==(192&s))?((c=o<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||c>1114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="�";return l})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),l=["%","/","?",";","#"].concat(c),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,i,s,c,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=o.exec(m);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,m=m.substr(b.length)),(t||b||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===m.substr(0,2))||b&&f[b]||(m=m.substr(2),this.slashes=!0)),!f[b]&&(c||b&&!h[b])){var v,y,k=-1;for(r=0;r<u.length;r++)-1!==(s=m.indexOf(u[r]))&&(-1===k||s<k)&&(k=s);for(-1!==(y=-1===k?m.lastIndexOf("@"):m.lastIndexOf("@",k))&&(v=m.slice(0,y),m=m.slice(y+1),this.auth=v),k=-1,r=0;r<l.length;r++)-1!==(s=m.indexOf(l[r]))&&(-1===k||s<k)&&(k=s);-1===k&&(k=m.length),":"===m[k-1]&&k--;var _=m.slice(0,k);m=m.slice(k),this.parseHost(_),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var E=this.hostname.split(/\./);for(r=0,n=E.length;r<n;r++){var x=E[r];if(x&&!x.match(p)){for(var w="",j=0,A=x.length;j<A;j++)x.charCodeAt(j)>127?w+="x":w+=x[j];if(!w.match(p)){var S=E.slice(0,r),O=E.slice(r+1),R=x.match(d);R&&(S.push(R[1]),O.unshift(R[2])),O.length&&(m=O.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf("#");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var M=m.indexOf("?");return-1!==M&&(this.search=m.substr(M),m=m.slice(0,M)),m&&(this.pathname=m),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(60),t.Cc=r(61),t.Cf=r(104),t.P=r(38),t.Z=r(62)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(106),t.parseLinkDestination=r(107),t.parseLinkTitle=r(108)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s}},function(e,t,r){"use strict";var n=r(10).isSpace,o=r(10).unescapeAll;e.exports=function(e,t,r){var i,a,s=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(i=e.charCodeAt(t))||n(i))return c;if(62===i)return c.pos=t+1,c.str=o(e.slice(s+1,t)),c.ok=!0,c;92===i&&t+1<r?t+=2:t++}return c}for(a=0;t<r&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<r)t+=2;else{if(40===i&&a++,41===i){if(0===a)break;a--}t++}return s===t?c:0!==a?c:(c.str=o(e.slice(s,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var n=r(10).unescapeAll;e.exports=function(e,t,r){var o,i,a=0,s=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t<r;){if((o=e.charCodeAt(t))===i)return c.pos=t+1,c.lines=a,c.str=n(e.slice(s+1,t)),c.ok=!0,c;10===o?a++:92===o&&t+1<r&&(t++,10===e.charCodeAt(t)&&a++),t++}return c}},function(e,t,r){"use strict";var n=r(10).assign,o=r(10).unescapeAll,i=r(10).escapeHtml,a={};function s(){this.rules=n({},a)}a.code_inline=function(e,t,r,n,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,r,n,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,r,n,a){var s,c,l,u,p=e[t],d=p.info?o(p.info).trim():"",f="";return d&&(f=d.split(/\s+/g)[0]),0===(s=r.highlight&&r.highlight(p.content,f)||i(p.content)).indexOf("<pre")?s+"\n":d?(c=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],c<0?l.push(["class",r.langPrefix+f]):l[c][1]+=" "+r.langPrefix+f,u={attrs:l},"<pre><code"+a.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return n},s.prototype.renderToken=function(e,t,r){var n,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&r.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden?i=!1:-1===n.nesting&&n.tag===a.tag&&(i=!1))),o+=i?">\n":">")},s.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[n=e[a].type]?o+=i[n](e,a,t,r,this):o+=this.renderToken(e,a,t);return o},s.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,i=e.length;o<i;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},s.prototype.render=function(e,t,r){var n,o,i,a="",s=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(i=e[n].type)?a+=this.renderInline(e[n].children,t,r):void 0!==s[i]?a+=s[e[n].type](e,n,t,r,this):a+=this.renderToken(e,n,t,r);return a},e.exports=s},function(e,t,r){"use strict";var n=r(39),o=[["normalize",r(111)],["block",r(112)],["inline",r(113)],["linkify",r(114)],["replacements",r(115)],["smartquotes",r(116)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},i.prototype.State=r(117),e.exports=i},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(o,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(10).arrayReplaceAt;function o(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_=e.tokens;if(e.md.options.linkify)for(r=0,a=_.length;r<a;r++)if("inline"===_[r].type&&e.md.linkify.pretest(_[r].content))for(g=0,t=(s=_[r].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("html_inline"===l.type&&(o(l.content)&&g>0&&g--,i(l.content)&&g++),!(g>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,k=e.md.linkify.match(d),u=[],m=l.level,h=0,p=0;p<k.length;p++)b=k[p].url,v=e.md.normalizeLink(b),e.md.validateLink(v)&&(y=k[p].text,y=k[p].schema?"mailto:"!==k[p].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=k[p].index)>h&&((c=new e.Token("text","",0)).content=d.slice(h,f),c.level=m,u.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",v]],c.level=m++,c.markup="linkify",c.info="auto",u.push(c),(c=new e.Token("text","",0)).content=y,c.level=m,u.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",u.push(c),h=k[p].lastIndex);h<d.length&&((c=new e.Token("text","",0)).content=d.slice(h),c.level=m,u.push(c)),_[r].children=s=n(s,t,u)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function s(e,t){return a[t.toLowerCase()]}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(i,s)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function l(e){var t,r,o=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||o||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(o.test(e.tokens[t].content)&&c(e.tokens[t].children),n.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(10).isWhiteSpace,o=r(10).isPunctChar,i=r(10).isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="’";function l(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var r,a,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w,j,A,S;for(j=[],r=0;r<e.length;r++){for(a=e[r],h=e[r].level,x=j.length-1;x>=0&&!(j[x].level<=h);x--);if(j.length=x+1,"text"===a.type){d=0,f=(u=a.content).length;e:for(;d<f&&(s.lastIndex=d,p=s.exec(u));){if(C=E=!0,d=p.index+1,w="'"===p[0],g=32,p.index-1>=0)g=u.charCodeAt(p.index-1);else for(x=r-1;x>=0&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x--)if("text"===e[x].type){g=e[x].content.charCodeAt(e[x].content.length-1);break}if(b=32,d<f)b=u.charCodeAt(d);else for(x=r+1;x<e.length&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x++)if("text"===e[x].type){b=e[x].content.charCodeAt(0);break}if(v=i(g)||o(String.fromCharCode(g)),y=i(b)||o(String.fromCharCode(b)),k=n(g),(_=n(b))?C=!1:y&&(k||v||(C=!1)),k?E=!1:v&&(_||y||(E=!1)),34===b&&'"'===p[0]&&g>=48&&g<=57&&(E=C=!1),C&&E&&(C=!1,E=y),C||E){if(E)for(x=j.length-1;x>=0&&(m=j[x],!(j[x].level<h));x--)if(m.single===w&&j[x].level===h){m=j[x],w?(A=t.md.options.quotes[2],S=t.md.options.quotes[3]):(A=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,p.index,S),e[m.token].content=l(e[m.token].content,m.pos,A),d+=S.length-1,m.token===r&&(d+=A.length-1),f=(u=a.content).length,j.length=x;continue e}C?j.push({token:r,pos:p.index,single:w,level:h}):E&&w&&(a.content=l(a.content,p.index,c))}else w&&(a.content=l(a.content,p.index,c))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(40);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(39),o=[["table",r(119),["paragraph","reference"]],["code",r(120)],["fence",r(121),["paragraph","reference","blockquote","list"]],["blockquote",r(122),["paragraph","reference","blockquote","list"]],["hr",r(123),["paragraph","reference","blockquote","list"]],["list",r(124),["paragraph","reference","blockquote"]],["reference",r(125)],["heading",r(126),["paragraph","reference","blockquote"]],["lheading",r(127)],["html_block",r(128),["paragraph","reference","blockquote"]],["paragraph",r(130)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,c=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<i&&!o[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=r(131),e.exports=i},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function i(e){var t,r=[],n=0,o=e.length,i=0,a=0,s=!1,c=0;for(t=e.charCodeAt(n);n<o;)96===t?s?(s=!1,c=n):i%2==0&&(s=!0,c=n):124!==t||i%2!=0||s||(r.push(e.substring(a,n)),a=n+1),92===t?i++:i=0,++n===o&&s&&(s=!1,n=c+1),t=e.charCodeAt(n);return r.push(e.substring(a)),r}e.exports=function(e,t,r,a){var s,c,l,u,p,d,f,h,m,g,b,v;if(t+2>r)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!n(s))return!1;l++}for(d=(c=o(e,t+1)).split("|"),m=[],u=0;u<d.length;u++){if(!(g=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(c=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(d=i(c.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=e.push("table_open","table",1)).map=b=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(h=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),(h=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<r&&!(e.sCount[p]<e.blkIndent)&&-1!==(c=o(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(c.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u<f;u++)h=e.push("td_open","td",1),m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u]?d[u].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),b[1]=v[1]=p,e.line=p,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,i,a,s,c,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>f)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if(c=d,(i=(d=e.skipChars(d,o))-c)<3)return!1;if(u=e.src.slice(c,d),(a=e.src.slice(d,f)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(s=t;!(++s>=r)&&!((d=c=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,o))-c<i||(d=e.skipSpaces(d))<f)){p=!0;break}return i=e.sCount[t],e.line=s+(p?1:0),(l=e.push("fence","code",0)).info=a,l.content=e.getLines(t+1,s,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w=e.lineMax,j=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(o)return!0;for(c=f=e.sCount[t]+j-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(j)?(j++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(j)?(k=!0,(e.bsCount[t]+f)%4==3?(j++,c++,f++,i=!1):i=!0):k=!1,h=[e.bMarks[t]],e.bMarks[t]=j;j<A&&(a=e.src.charCodeAt(j),n(a));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,j++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(k?1:0),u=j>=A,v=[e.sCount[t]],e.sCount[t]=f-c,y=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",x=!1,d=t+1;d<r&&(e.sCount[d]<e.blkIndent&&(x=!0),!((j=e.bMarks[d]+e.tShift[d])>=(A=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(j++)||x){if(u)break;for(_=!1,s=0,l=C.length;s<l;s++)if(C[s](e,d,r,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(c=f=e.sCount[d]+j-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(j)?(j++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(j)?(k=!0,(e.bsCount[d]+f)%4==3?(j++,c++,f++,i=!1):i=!0):k=!1,h.push(e.bMarks[d]),e.bMarks[d]=j;j<A&&(a=e.src.charCodeAt(j),n(a));)9===a?f+=4-(f+e.bsCount[d]+(i?1:0))%4:f++,j++;u=j>=A,m.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(k?1:0),v.push(e.sCount[d]),e.sCount[d]=f-c,y.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(E=e.push("blockquote_open","blockquote",1)).markup=">",E.map=p=[t,0],e.md.block.tokenize(e,t,d),(E=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=w,e.parentType=b,p[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=y[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(a=1;l<u;){if((s=e.src.charCodeAt(l++))!==i&&!n(s))return!1;s===i&&a++}return!(a<3)&&(!!o||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(a+1).join(String.fromCharCode(i)),!0))}},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(r=e.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<i&&(a=e.src.charCodeAt(o),!n(a))?-1:o}function i(e,t){var r,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=a)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i<a&&(r=e.src.charCodeAt(i),!n(r))?-1:i}e.exports=function(e,t,r,n){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,E,x,w,j,A,S,O,R,D,M,P,T=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(T=!0),(S=i(e,t))>=0){if(d=!0,R=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(R,S-R-1)),T&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;d=!1}if(T&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(S-1),n)return!0;for(g=e.tokens.length,d?(P=e.push("ordered_list_open","ol",1),1!==v&&(P.attrs=[["start",v]])):P=e.push("bullet_list_open","ul",1),P.map=m=[t,0],P.markup=String.fromCharCode(b),k=t,O=!1,M=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";k<r;){for(A=S,y=e.eMarks[k],p=_=e.sCount[k]+S-(e.bMarks[t]+e.tShift[t]);A<y;){if(9===(a=e.src.charCodeAt(A)))_+=4-(_+e.bsCount[k])%4;else{if(32!==a)break;_++}A++}if((u=(s=A)>=y?1:_-p)>4&&(u=1),l=p+u,(P=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),P.map=f=[t,0],C=e.blkIndent,j=e.tight,w=e.tShift[t],E=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=_,s>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!O||(z=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=w,e.sCount[t]=E,e.tight=j,(P=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),k=t=e.line,f[1]=k,s=e.bMarks[t],k>=r)break;if(e.sCount[k]<e.blkIndent)break;for(D=!1,c=0,h=M.length;c<h;c++)if(M[c](e,k,r,!0)){D=!0;break}if(D)break;if(d){if((S=i(e,k))<0)break}else if((S=o(e,k))<0)break;if(b!==e.src.charCodeAt(S-1))break}return(P=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),m[1]=k,e.line=k,e.parentType=x,z&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t,r,i){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C=0,E=e.bMarks[t]+e.tShift[t],x=e.eMarks[t],w=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E<x;)if(93===e.src.charCodeAt(E)&&92!==e.src.charCodeAt(E-1)){if(E+1===x)return!1;if(58!==e.src.charCodeAt(E+1))return!1;break}for(l=e.lineMax,k=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";w<l&&!e.isEmpty(w);w++)if(!(e.sCount[w]-e.blkIndent>3||e.sCount[w]<0)){for(y=!1,p=0,d=k.length;p<d;p++)if(k[p](e,w,l,!0)){y=!0;break}if(y)break}for(x=(v=e.getLines(t,w,e.blkIndent,!1).trim()).length,E=1;E<x;E++){if(91===(a=v.charCodeAt(E)))return!1;if(93===a){h=E;break}10===a?C++:92===a&&++E<x&&10===v.charCodeAt(E)&&C++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(E=h+2;E<x;E++)if(10===(a=v.charCodeAt(E)))C++;else if(!o(a))break;if(!(g=e.md.helpers.parseLinkDestination(v,E,x)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=E=g.pos,c=C+=g.lines,b=E;E<x;E++)if(10===(a=v.charCodeAt(E)))C++;else if(!o(a))break;for(g=e.md.helpers.parseLinkTitle(v,E,x),E<x&&b!==E&&g.ok?(_=g.str,E=g.pos,C+=g.lines):(_="",E=s,C=c);E<x&&(a=v.charCodeAt(E),o(a));)E++;if(E<x&&10!==v.charCodeAt(E)&&_)for(_="",E=s,C=c;E<x&&(a=v.charCodeAt(E),o(a));)E++;return!(E<x&&10!==v.charCodeAt(E))&&(!!(f=n(v.slice(1,h)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:_,href:u}),e.parentType=m,e.line=t+C+1,!0)))}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(a=1,i=e.src.charCodeAt(++l);35===i&&l<u&&a<=6;)a++,i=e.src.charCodeAt(++l);return!(a>6||l<u&&!n(i))&&(!!o||(u=e.skipSpacesBack(u,l),(s=e.skipCharsBack(u,35,l))>l&&n(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(c=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s,c,l,u,p,d,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";f<r&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,f,r,!0)){o=!0;break}if(o)break}}return!!u&&(n=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,r){"use strict";var n=r(129),o=r(63).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o<i.length&&!i[o][0].test(c);o++);if(o===i.length)return!1;if(n)return i[o][2];if(a=t+1,!i[o][1].test(c))for(;a<r&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],c=e.src.slice(l,u),i[o][1].test(c)){0!==c.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o<i;o++)if(l[o](e,c,u,!0)){n=!0;break}if(n)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,r){"use strict";var n=r(40),o=r(10).isSpace;function i(e,t,r,n){var i,a,s,c,l,u,p,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=c=u=p=0,l=(a=this.src).length;c<l;c++){if(i=a.charCodeAt(c),!d){if(o(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&c!==l-1||(10!==i&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,r){var o=new n(e,t,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,a,s,c,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(a=0,p=c=this.bMarks[d],l=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];c<l&&a<r;){if(s=this.src.charCodeAt(c),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(c-p<this.tShift[d]))break;a++}c++}u[i]=a>r?new Array(a-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},function(e,t,r){"use strict";var n=r(39),o=[["text",r(133)],["newline",r(134)],["escape",r(135)],["backticks",r(136)],["strikethrough",r(64).tokenize],["emphasis",r(65).tokenize],["link",r(137)],["image",r(138)],["autolink",r(139)],["html_inline",r(140)],["entity",r(141)]],i=[["balance_pairs",r(142)],["strikethrough",r(64).postProcess],["emphasis",r(65).postProcess],["text_collapse",r(143)]];function a(){var e;for(this.ruler=new n,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new n,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<i&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},a.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,r,n){var o,i,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=r(144),e.exports=a},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t){var r,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(r=e.pending.length-1,o=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<o&&n(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,r){"use strict";for(var n=r(10).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<a){if((r=e.src.charCodeAt(i))<256&&0!==o[r])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),i++;i<a&&(r=e.src.charCodeAt(i),n(r));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),i=a=c;-1!==(i=e.src.indexOf("`",a));){for(a=i+1;a<n&&96===e.src.charCodeAt(a);)a++;if(a-i===o.length)return t||((s=e.push("code_inline","code",0)).markup=o,s.content=e.src.slice(c,i).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f="",h=e.pos,m=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)<m&&40===e.src.charCodeAt(l)){for(b=!1,l++;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(l>=m)return!1;for(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f=""),g=l;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&g!==l&&u.ok)for(d=u.str,l=u.pos;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);else d="";(l>=m||41!==e.src.charCodeAt(l))&&(b=!0),l++}if(b){if(void 0===e.env.references)return!1;if(l<m&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(g,l++):l=s+1):l=s+1,a||(a=e.src.slice(c,s)),!(p=e.env.references[n(a)]))return e.pos=h,!1;f=p.href,d=p.title}return t||(e.pos=c,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",f]],d&&r.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f,h,m,g,b="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=y)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&g!==u&&d.ok)for(f=d.str,u=d.pos;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);else f="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=c+1):u=c+1,s||(s=e.src.slice(l,c)),!(p=e.env.references[n(s)]))return e.pos=v,!1;b=p.href,f=p.title}return t||(a=e.src.slice(l,c),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=r=[["src",b],["alt",""]],h.children=m,h.content=a,f&&r.push(["title",f])),e.pos=u,e.posMax=y,!0}},function(e,t,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,i,a,s,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((r=e.src.slice(u)).indexOf(">")<0)&&(o.test(r)?(s=(i=r.match(o))[0].slice(1,-1),c=e.md.normalizeLink(s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!n.test(r)&&(s=(a=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,r){"use strict";var n=r(63).HTML_TAG_RE;e.exports=function(e,t){var r,o,i,a=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=i)&&(!(33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(a).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var n=r(58),o=r(10).has,i=r(10).isValidEntityCode,a=r(10).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(s))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(r)?a(r):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(c))&&o(n,l[1]))return t||(e.pending+=n[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o,i=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((n=i[t]).close)for(r=t-n.jump-1;r>=0;){if((o=i[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=t-r,n.open=!1,o.end=t,o.jump=0;break}r-=o.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++)n+=o[t].nesting,o[t].level=n,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}},function(e,t,r){"use strict";var n=r(40),o=r(10).isWhiteSpace,i=r(10).isPunctChar,a=r(10).isMdAsciiPunct;function s(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,r){this.pending&&this.pushPending();var o=new n(e,t,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},s.prototype.scanDelims=function(e,t){var r,n,s,c,l,u,p,d,f,h=e,m=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,n=h<b?this.src.charCodeAt(h):32,p=a(r)||i(String.fromCharCode(r)),f=a(n)||i(String.fromCharCode(n)),u=o(r),(d=o(n))?m=!1:f&&(u||p||(m=!1)),u?g=!1:p&&(d||f||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||f)),{can_open:c,can_close:l,length:s}},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=r(146)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(l),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var c=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,function(e){return"[object Object]"===o(e)}(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:u(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?u(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?u(t,r):c.push(t)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function d(e,t){var r=new function(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);t||function(e){return Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},f.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s,c;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(d(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(d(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(60).source,t.src_Cc=r(61).source,t.src_Z=r(62).source,t.src_P=r(38).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,l=1,u=26,p=38,d=700,f=72,h=128,m="-",g=/^xn--/,b=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=c-l,_=Math.floor,C=String.fromCharCode;function E(e){throw RangeError(y[e])}function x(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function w(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+x((e=e.replace(v,".")).split("."),t).join(".")}function j(e){for(var t,r,n=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function A(e){return x(e,function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,r){var n=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>k*u>>1;n+=c)e=_(e/k);return _(n+(k+1)*e/(e+p))}function D(e){var t,r,n,o,i,a,p,d,g,b,v=[],y=e.length,k=0,C=h,x=f;for((r=e.lastIndexOf(m))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&E("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=k,a=1,p=c;o>=y&&E("invalid-input"),((d=S(e.charCodeAt(o++)))>=c||d>_((s-k)/a))&&E("overflow"),k+=d*a,!(d<(g=p<=x?l:p>=x+u?u:p-x));p+=c)a>_(s/(b=c-g))&&E("overflow"),a*=b;x=R(k-i,t=v.length+1,0==i),_(k/t)>s-C&&E("overflow"),C+=_(k/t),k%=t,v.splice(k++,0,C)}return A(v)}function M(e){var t,r,n,o,i,a,p,d,g,b,v,y,k,x,w,A=[];for(y=(e=j(e)).length,t=h,r=0,i=f,a=0;a<y;++a)(v=e[a])<128&&A.push(C(v));for(n=o=A.length,o&&A.push(m);n<y;){for(p=s,a=0;a<y;++a)(v=e[a])>=t&&v<p&&(p=v);for(p-t>_((s-r)/(k=n+1))&&E("overflow"),r+=(p-t)*k,t=p,a=0;a<y;++a)if((v=e[a])<t&&++r>s&&E("overflow"),v==t){for(d=r,g=c;!(d<(b=g<=i?l:g>=i+u?u:g-i));g+=c)w=d-b,x=c-b,A.push(C(O(b+w%x,0))),d=_(w/x);A.push(C(O(d,0))),i=R(r,k,n==o),r=0,++n}++r,++t}return A.join("")}a={version:"1.3.2",ucs2:{decode:j,encode:A},decode:D,encode:M,toASCII:function(e){return w(e,function(e){return b.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return w(e,function(e){return g.test(e)?D(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(148)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){},,function(e,t,r){var n=r(155),o=r(192);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t,r){var n=r(41),o=r(156),i=r(161),a=r(69);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,r){var n=r(41),o=r(42),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){var r="object"==typeof window&&window&&window.Object===Object&&window;e.exports=r},function(e,t,r){var n=r(43),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(162)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=i},function(e,t,r){var n=r(163),o=500;e.exports=function(e){var t=n(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(164),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},function(e,t,r){var n=r(165),o=r(186),i=r(188),a=r(189),s=r(190);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(166),o=r(178),i=r(185);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(167),o=r(174),i=r(175),a=r(176),s=r(177);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(169),o=r(170),i=r(68),a=r(172),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},function(e,t,r){var n=r(66),o=r(68),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==a||t==s||t==i||t==c}},function(e,t,r){var n=r(171),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(44)["__core-js_shared__"];e.exports=n},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t,r){var n=r(179),o=r(180),i=r(182),a=r(183),s=r(184);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(27),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(27);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(67)(r(44),"Map");e.exports=n},function(e,t,r){var n=r(28);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(28);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(42),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){var n=r(198);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t,r){var n=r(200);e.exports=function(e,t){for(var r=e.length;r--&&n(t,e[r],0)>-1;);return r}},function(e,t,r){var n=r(201),o=r(202),i=r(203);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(205),o=r(206),i=r(207);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return r.test(e)}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+o+")"+"?",l="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),u="(?:"+[i+n+"?",n,a,s,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n=r(18),o=r.n(n),i=r(15),a=r(3),s=r(12),c=(r(85),r(6)),l=r.n(c),u=r(5),p=r.n(u),d=r(7),f=r.n(d),h=r(8),m=r.n(h),g=r(9),b=r.n(g),v=r(1),y=r.n(v),k=r(13),_=r.n(k),C=r(2),E=r(14),x=r(33),w=r.n(x),j=r(16),A=r(0),S=function(e){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e)},O=r(29),R=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],D=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeSubject=r.onChangeSubject.bind(y()(y()(r))),r.onBlurTo=r.onBlurTo.bind(y()(y()(r))),r.onChangeTo=r.onChangeTo.bind(y()(y()(r))),r.onChangeSubmit=r.onChangeSubmit.bind(y()(y()(r))),r.onFormSettingsSet=r.onFormSettingsSet.bind(y()(y()(r))),r.getToValidationError=r.getToValidationError.bind(y()(y()(r))),r.renderToAndSubjectFields=r.renderToAndSubjectFields.bind(y()(y()(r))),r.preventEnterSubmittion=r.preventEnterSubmittion.bind(y()(y()(r))),r.hasEmailError=r.hasEmailError.bind(y()(y()(r)));var a=(o[0].attributes.to?o[0].attributes.to:"").split(",").map(r.getToValidationError).filter(Boolean);return r.state={toError:a&&a.length?a:null},r}return b()(t,e),p()(t,[{key:"getIntroMessage",value:function(){return Object(A.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(A.a)("You can enter multiple email addresses separated by commas.")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!w.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submit_button_text:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({has_form_settings_set:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(E.sprintf)(Object(A.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(E.sprintf)(Object(A.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(E.sprintf)(Object(A.a)("%s are not a valid email address."),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,r=t.instanceId,n=t.attributes,o=n.subject,i=n.to;return React.createElement(a.Fragment,null,React.createElement(C.TextControl,{"aria-describedby":"contact-form-".concat(r,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(A.a)("Email address"),placeholder:Object(A.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),React.createElement(O.default,{isError:!0,id:"contact-form-".concat(r,"-email-error")},this.getfieldEmailError(e)),React.createElement(O.default,{id:"contact-form-".concat(r,"-email-help")},this.getEmailHelpMessage()),React.createElement(C.TextControl,{label:Object(A.a)("Email subject line"),value:o,placeholder:Object(A.a)("Let's work together"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.attributes,n=r.has_form_settings_set,o=r.submit_button_text,i=_()(t,"jetpack-contact-form",{"has-intro":!n});return React.createElement(a.Fragment,null,React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Email feedback settings")},this.renderToAndSubjectFields())),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Button settings")},React.createElement(C.TextControl,{label:Object(A.a)("Submit button label"),value:o,placeholder:Object(A.a)("Submit"),onChange:this.onChangeSubmit}))),React.createElement("div",{className:i},!n&&React.createElement(C.Placeholder,{label:Object(A.a)("Form"),icon:S(React.createElement("path",{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},React.createElement("form",{onSubmit:this.onFormSettingsSet},React.createElement("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),React.createElement("p",{className:"jetpack-contact-form__intro-message"},Object(A.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),React.createElement("div",{className:"jetpack-contact-form__create"},React.createElement(C.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(A.a)("Add form"))))),n&&React.createElement(s.InnerBlocks,{allowedBlocks:R,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&React.createElement("div",{className:"button button-primary button-default jetpack-submit-button"},o||Object(A.a)("Submit"))))}}]),t}(a.Component),M=Object(j.compose)([j.withInstanceId])(D),P=function(e){var t=e.setAttributes,r=e.label,n=e.resetFocus,o=e.isSelected,i=e.required;return React.createElement("div",{className:"jetpack-field-label"},React.createElement(s.PlainText,{value:r,className:"jetpack-field-label__input",onChange:function(e){n&&n(),t({label:e})},placeholder:Object(A.a)("Write label…")}),o&&React.createElement(C.ToggleControl,{label:Object(A.a)("Required"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&React.createElement("span",{className:"required"},Object(A.a)("(required)")))};var T=function(e){var t=e.isSelected,r=e.type,n=e.required,o=e.label,i=e.setAttributes,c=e.defaultValue,l=e.placeholder,u=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:_()("jetpack-field",{"is-selected":t})},React.createElement(C.TextControl,{type:r,label:React.createElement(P,{required:n,label:o,setAttributes:i,isSelected:t}),placeholder:l,value:l,onChange:function(e){return i({placeholder:e})},title:Object(A.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("Default Value"),value:c,onChange:function(e){return i({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))};var z=function(e){var t=e.required,r=e.label,n=e.setAttributes,o=e.isSelected,i=e.defaultValue,c=e.placeholder,l=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:"jetpack-field"},React.createElement(C.TextareaControl,{label:React.createElement(P,{required:t,label:r,setAttributes:n,isSelected:o}),placeholder:c,value:c,onChange:function(e){return n({placeholder:e})},title:Object(A.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("Default Value"),value:i,onChange:function(e){return n({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:l,onChange:function(e){return n({id:e})}}))))},F=Object(j.withInstanceId)(function(e){var t=e.instanceId,r=e.required,n=e.label,o=e.setAttributes,i=e.isSelected,c=e.defaultValue,l=e.id;return React.createElement(C.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:React.createElement(a.Fragment,null,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:c}),React.createElement(P,{required:r,label:n,setAttributes:o,isSelected:i}),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.ToggleControl,{label:Object(A.a)("Default Checked State"),checked:c,onChange:function(e){return o({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:l,onChange:function(e){return o({id:e})}}))))})}),q=r(23),L=r.n(q),N=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.onKeyPress=r.onKeyPress.bind(y()(y()(r))),r.onDeleteOption=r.onDeleteOption.bind(y()(y()(r))),r.textInput=Object(a.createRef)(),r}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.option,n=e.type;return React.createElement("li",{className:"jetpack-option"},n&&"select"!==n&&React.createElement("input",{className:"jetpack-option__type",type:n,disabled:!0}),React.createElement("input",{type:"text",className:"jetpack-option__input",value:r,placeholder:Object(A.a)("Write option…"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&React.createElement(C.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(A.a)("Remove option"),onClick:this.onDeleteOption}))}}]),t}(a.Component),I=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.addNewOption=r.addNewOption.bind(y()(y()(r))),r.state={inFocus:null},r}return b()(t,e),p()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.props.options.slice(0);null===t?(r.splice(e,1),e>0&&this.setState({inFocus:e-1})):(r.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:r})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),r=0;"object"===L()(e)?(t.push(""),r=t.length-1):(t.splice(e+1,0,""),r=e+1),this.setState({inFocus:r}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,r=t.type,n=t.instanceId,o=t.required,i=t.label,c=t.setAttributes,l=t.isSelected,u=t.id,p=this.props.options,d=this.state.inFocus;return p.length||(p=[""],d=0),React.createElement(a.Fragment,null,React.createElement(C.BaseControl,{id:"jetpack-field-multiple-".concat(n),className:"jetpack-field jetpack-field-multiple",label:React.createElement(P,{required:o,label:i,setAttributes:c,isSelected:l,resetFocus:function(){return e.setState({inFocus:null})}})},React.createElement("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(n)},p.map(function(t,n){return React.createElement(N,{type:r,key:n,option:t,index:n,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:n===d&&l,isSelected:l})})),l&&React.createElement(C.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(A.a)("Insert option"),onClick:this.addNewOption},Object(A.a)("Add option"))),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(A.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(A.a)("ID"),value:u,onChange:function(e){return c({id:e})}}))))}}]),t}(a.Component),B=Object(j.withInstanceId)(I),V=r(17);Object(V.a)("contact-form",{title:Object(A.a)("Form"),description:Object(A.a)("A simple way to get feedback from folks visiting your site."),icon:S(React.createElement("path",{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(A.a)("email"),Object(A.a)("feedback"),Object(A.a)("contact")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(A.a)("Submit")},has_form_settings_set:{type:"string",default:null}},edit:M,save:s.InnerBlocks.Content});var H={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},U=function(e){var t=e.attributes,r=e.name;return null===t.label?Object(i.getBlockType)(r).title:t.label},$=function(e){return function(t){return React.createElement(T,{type:e,label:U(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},Z=function(e){return function(t){return React.createElement(B,{label:U(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}};Object(V.a)("field-text",o()({},H,{title:Object(A.a)("Text"),description:Object(A.a)("When you need just a small amount of text, add a text input."),icon:S(React.createElement("path",{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:$("text")})),Object(V.a)("field-name",o()({},H,{title:Object(A.a)("Name"),description:Object(A.a)("Introductions are important. Add an input for folks to add their name."),icon:S(React.createElement("path",{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:$("text")})),Object(V.a)("field-email",o()({},H,{title:Object(A.a)("Email"),keywords:[Object(A.a)("e-mail"),Object(A.a)("mail"),"email"],description:Object(A.a)("Want to reply to folks? Add an email address input."),icon:S(React.createElement("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:$("email")})),Object(V.a)("field-url",o()({},H,{title:Object(A.a)("Website"),keywords:["url",Object(A.a)("internet page"),"link"],description:Object(A.a)("Add an address input for a website."),icon:S(React.createElement("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:$("url")})),Object(V.a)("field-date",o()({},H,{title:Object(A.a)("Date Picker"),keywords:[Object(A.a)("Calendar"),Object(A.a)("day month year","block search term")],description:Object(A.a)("The best way to set a date. Add a date picker."),icon:S(React.createElement("path",{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:$("text")})),Object(V.a)("field-telephone",o()({},H,{title:Object(A.a)("Telephone"),keywords:[Object(A.a)("Phone"),Object(A.a)("Cellular phone"),Object(A.a)("Mobile")],description:Object(A.a)("Add a phone number input."),icon:S(React.createElement("path",{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:$("tel")})),Object(V.a)("field-textarea",o()({},H,{title:Object(A.a)("Message"),keywords:[Object(A.a)("Textarea"),"textarea",Object(A.a)("Multiline text")],description:Object(A.a)("Let folks speak their mind. This text box is great for longer responses."),icon:S(React.createElement("path",{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return React.createElement(z,{label:U(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})),Object(V.a)("field-checkbox",o()({},H,{title:Object(A.a)("Checkbox"),keywords:[Object(A.a)("Confirm"),Object(A.a)("Accept")],description:Object(A.a)("Add a single checkbox."),icon:S(React.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return React.createElement(F,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:o()({},H.attributes,{label:{type:"string",default:""}})})),Object(V.a)("field-checkbox-multiple",o()({},H,{title:Object(A.a)("Checkbox group"),keywords:[Object(A.a)("Choose Multiple"),Object(A.a)("Option")],description:Object(A.a)("People love options. Add several checkbox items."),icon:S(React.createElement("path",{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:Z("checkbox"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose several"}})})),Object(V.a)("field-radio",o()({},H,{title:Object(A.a)("Radio"),keywords:[Object(A.a)("Choose"),Object(A.a)("Select"),Object(A.a)("Option")],description:Object(A.a)("Inpsired by radios, only one radio item can be selected at a time. Add several radio button items."),icon:S(React.createElement(a.Fragment,null,React.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),React.createElement("circle",{cx:"12",cy:"12",r:"5"}))),edit:Z("radio"),attributes:o()({},H.attributes,{label:{type:"string",default:"Choose one"}})})),Object(V.a)("field-select",o()({},H,{title:Object(A.a)("Select"),keywords:[Object(A.a)("Choose"),Object(A.a)("Dropdown"),Object(A.a)("Option")],description:Object(A.a)("Compact, but powerful. Add a select box with several items."),icon:S(React.createElement("path",{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:Z("select"),attributes:o()({},H.attributes,{label:{type:"string",default:"Select one"}})}))},function(e,t,r){"use strict";r.r(t);var n=r(15),o=r(19),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(25),k=r.n(y),_=r(0),C=r(3),E=r(2),x=r(12),w=r(20),j=r.n(w),A=r(13),S=r.n(A),O=r(11),R=r(24),D=r(14),M=r(16);function P(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=[],n=0;n<e.length;n++){var o=e[n],i=o.keywords,a=void 0===i?[]:i;if("string"==typeof o.label&&(a=j()(a).concat([o.label])),r.push(o),r.length===t)break}return r}var T=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(g()(g()(e)),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(g()(g()(e)),"onChange",function(t){var r=e.props.completer,n=e.state.options;if(t){r&&(r.isDebounced?e.debouncedLoadOptions(r,t):e.loadOptions(r,t));var o=r?P(n):[];r&&e.setState({selectedIndex:0,filteredOptions:o,query:t})}else e.reset()}),v()(g()(g()(e)),"onKeyDown",function(t){var r=e.state,n=r.isOpen,o=r.selectedIndex,i=r.filteredOptions;if(n){var a;switch(t.keyCode){case R.UP:a=(0===o?i.length:o)-1,e.setState({selectedIndex:a});break;case R.DOWN:a=(o+1)%i.length,e.setState({selectedIndex:a});break;case R.ENTER:e.select(i[o]);break;case R.LEFT:case R.RIGHT:case R.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(O.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return h()(t,e),c()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),c()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var r=this,n=e.options,o=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then(function(t){var n;if(o===r.activePromise){var i=t.map(function(t,r){return{key:"".concat(r),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),a=P(i),s=a.length===r.state.filteredOptions.length?r.state.selectedIndex:0;r.setState((n={},v()(n,"options",i),v()(n,"filteredOptions",a),v()(n,"selectedIndex",s),v()(n,"isOpen",a.length>0),n)),r.announce(a)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(D.sprintf)(Object(_.b)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack"),e.length),"assertive"):t(Object(_.a)("No results."),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,r=this.onKeyDown,n=this.props,o=n.children,i=n.instanceId,a=n.completer,s=this.state,c=s.selectedIndex,l=s.filteredOptions,u=(l[c]||{}).key,p=void 0===u?"":u,d=a.className,f=l.length>0,h=f?"components-autocomplete-listbox-".concat(i):null,m=f?"components-autocomplete-item-".concat(i,"-").concat(p):null;return React.createElement("div",{className:"components-autocomplete"},o({isExpanded:f,listBoxId:h,activeId:m,onChange:t,onKeyDown:r}),f&&React.createElement(E.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},React.createElement("div",{id:h,role:"listbox",className:"components-autocomplete__results"},Object(O.map)(l,function(t,r){return React.createElement(E.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":r===c,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":r===c}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(C.Component),z=Object(M.compose)([E.withSpokenMessages,M.withInstanceId,E.withFocusOutside])(T),F=Object(_.a)("Add a marker..."),q=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"getOptionCompletion",function(t){var r=t.value,n={placeTitle:r.text,title:r.text,caption:r.place_name,id:r.id,coordinates:{longitude:r.geometry.coordinates[0],latitude:r.geometry.coordinates[1]}};return e.props.onAddPoint(n),r.text}),v()(g()(g()(e)),"search",function(t){var r=e.props,n=r.apiKey,o=r.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+n;return new Promise(function(e,t){var r=new XMLHttpRequest;r.open("GET",i),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n.features)}else{var i=JSON.parse(r.responseText);o(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},r.send()})}),v()(g()(g()(e)),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(C.createRef)(),e.containerRef=Object(C.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return React.createElement("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return React.createElement("div",{ref:this.containerRef},React.createElement(E.BaseControl,{label:t,className:"components-location-search"},React.createElement(z,{completer:this.autocompleter,onReset:this.onReset},function(t){var r=t.isExpanded,n=t.listBoxId,o=t.activeId,i=t.onChange,a=t.onKeyDown;return React.createElement(E.TextControl,{placeholder:F,ref:e.textRef,onChange:i,"aria-expanded":r,"aria-owns":n,"aria-activedescendant":o,onKeyDown:a})})))}}]),t}(C.Component);q.defaultProps={onError:function(){}};var L=q,N=(r(87),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,r=e.onAddPoint,n=e.onError,o=e.apiKey;return React.createElement(E.Button,{className:"component__add-point"},Object(_.a)("Add marker"),React.createElement(E.Popover,{className:"component__add-point__popover"},React.createElement(E.Button,{className:"component__add-point__close",onClick:t},React.createElement(E.Dashicon,{icon:"no"})),React.createElement(L,{onAddPoint:r,label:Object(_.a)("Add a location"),apiKey:o,onError:n})))}}]),t}(C.Component));N.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var I=N,B=(r(89),function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onDeletePoint",function(t){var r=parseInt(t.target.getAttribute("data-id")),n=e.props,o=n.points,i=n.onChange,a=o.slice(0);a.splice(r,1),i(a)}),e.state={selectedCell:null},e}return h()(t,e),c()(t,[{key:"setMarkerField",value:function(e,t,r){var n=this.props,o=n.points,i=n.onChange,a=o.slice(0);a[r][e]=t,i(a)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,r){return React.createElement(E.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},React.createElement(E.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,r)}}),React.createElement(E.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,r)}}),React.createElement(E.Button,{"data-id":r,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},React.createElement(E.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return React.createElement("div",{className:"component__locations"},React.createElement(E.Panel,{className:"component__locations__panel"},t))}}]),t}(C.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var V=B,H=r(37),U=(r(91),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.options,r=e.value,n=e.onChange,o=e.label,i=t.map(function(e,t){var o=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===r?"is-selected":"");return React.createElement(E.Button,{className:o,title:e.label,key:t,onClick:function(){return n(e.value)}},e.label)});return React.createElement("div",{className:"component__map-theme-picker components-base-control"},React.createElement("label",{className:"components-base-control__label"},o),React.createElement(E.ButtonGroup,null,i))}}]),t}(C.Component));U.defaultProps={label:"",options:[],value:null,onChange:function(){}};var $=U,Z=0,K=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"addPoint",function(t){var r=e.props,n=r.attributes,o=r.setAttributes,i=n.points,a=i.slice(0),s=!1;i.map(function(e){e.id===t.id&&(s=!0)}),s||(a.push(t),o({points:a}),e.setState({addPointVisibility:!1}))}),v()(g()(g()(e)),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(g()(g()(e)),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(g()(g()(e)),"updateAPIKey",function(){var t=e.props.noticeOperations,r=e.state.apiKeyControl;t.removeAllNotices(),r&&e.apiCall(r,"POST")}),v()(g()(g()(e)),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(g()(g()(e)),"onError",function(t,r){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(r)}),e.state={addPointVisibility:!1,apiState:Z},e.mapRef=Object(C.createRef)(),e}return h()(t,e),c()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=this.props.noticeOperations,o=this.state.apiKey,i="/jetpack/v4/service-api-keys/mapbox",a=t?{path:i,method:r,data:{service_api_key:t}}:{path:i,method:r};this.setState({apiRequestOutstanding:!0},function(){k()(a).then(function(t){n.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:o})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.setAttributes,i=t.attributes,a=t.noticeUI,s=t.notices,c=i.mapStyle,l=i.mapDetails,u=i.points,p=i.zoom,d=i.mapCenter,f=i.markerColor,h=i.align,m=this.state,g=m.addPointVisibility,b=m.apiKey,v=m.apiKeyControl,y=m.apiState,k=m.apiRequestOutstanding,w=React.createElement(C.Fragment,null,React.createElement(x.BlockControls,null,React.createElement(x.BlockAlignmentToolbar,{value:h,onChange:this.updateAlignment,controls:["center","wide","full"]}),React.createElement(E.Toolbar,null,React.createElement(E.IconButton,{icon:o.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),React.createElement(x.InspectorControls,null,React.createElement(E.PanelBody,{title:Object(_.a)("Map Theme")},React.createElement($,{value:c,onChange:function(e){return n({mapStyle:e})},options:o.a.mapStyleOptions}),React.createElement(E.ToggleControl,{label:Object(_.a)("Show street names"),checked:l,onChange:function(e){return n({mapDetails:e})}})),React.createElement(x.PanelColorSettings,{title:Object(_.a)("Colors"),initialOpen:!0,colorSettings:[{value:f,onChange:function(e){return n({markerColor:e})},label:"Marker Color"}]}),u.length?React.createElement(E.PanelBody,{title:Object(_.a)("Markers"),initialOpen:!1},React.createElement(V,{points:u,onChange:function(e){n({points:e})}})):null,React.createElement(E.PanelBody,{title:Object(_.a)("Mapbox Access Token"),initialOpen:!1},React.createElement(E.TextControl,{label:Object(_.a)("Mapbox Access Token"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),React.createElement(E.ButtonGroup,null,React.createElement(E.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(_.a)("Update Token")),React.createElement(E.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(_.a)("Remove Token")))))),j=React.createElement(E.Placeholder,{icon:o.a.icon},React.createElement(E.Spinner,null)),A=React.createElement(E.Placeholder,{icon:o.a.icon,label:Object(_.a)("Map"),notices:s},React.createElement(C.Fragment,null,React.createElement("div",{className:"components-placeholder__instructions"},React.createElement("p",null,Object(_.a)("To use the map block, you need an Access Token.")),React.createElement("p",null,React.createElement(E.ExternalLink,{href:"https://www.mapbox.com"},Object(_.a)("Create an account or log in to Mapbox."))),React.createElement("p",null,Object(_.a)("Locate and copy the default access token. Then, paste it into the field below."))),React.createElement(E.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:k,placeholder:Object(_.a)("Paste Token Here"),value:v,onChange:this.updateAPIKeyControl}),React.createElement(E.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:k||!v||v.length<1,onClick:this.updateAPIKey},Object(_.a)("Set Token")))),S=React.createElement(C.Fragment,null,w,React.createElement("div",{className:r},React.createElement(H.a,{ref:this.mapRef,mapStyle:c,mapDetails:l,points:u,zoom:p,mapCenter:d,markerColor:f,onSetZoom:function(e){n({zoom:e})},admin:!0,apiKey:b,onSetPoints:function(e){return n({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},g&&React.createElement(I,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:b,onError:this.onError,tagName:"AddPoint"}))));return React.createElement(C.Fragment,null,a,y===Z&&j,1===y&&A,2===y&&S)}}]),t}(C.Component),G=Object(E.withNotices)(K),W=function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,r=e.mapStyle,n=e.mapDetails,o=e.points,i=e.zoom,a=e.mapCenter,s=e.markerColor,c=o.map(function(e,t){var r=e.coordinates,n=r.longitude,o="https://www.google.com/maps/search/?api=1&query="+r.latitude+","+n;return React.createElement("li",{key:t},React.createElement("a",{href:o},e.title))}),l=t?"align".concat(t):null;return React.createElement("div",{className:l,"data-map-style":r,"data-map-details":n,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(a),"data-marker-color":s},o.length>0&&React.createElement("ul",null,c))}}]),t}(C.Component);r(56),r(93);Object(n.registerBlockType)(o.a.name,{title:o.a.title,icon:o.a.icon,category:o.a.category,keywords:o.a.keywords,description:o.a.description,attributes:o.a.attributes,getEditWrapperProps:function(e){var t=e.align;if(-1!==o.a.validAlignments.indexOf(t))return{"data-align":t}},edit:G,save:W})},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=r(74),a=r.n(i),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(13),C=r.n(_),E=r(33),x=r.n(E),w=r(16),j=r(21),A=r(11),S=r(14),O=r(30),R=r.n(O),D=r(31),M=r.n(D),P=r(32),T=r.n(P),z=(r(193),function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,o=void 0!==n&&n,i=M()(e,["children","isError"]),a=C()("simple-payments__help-message",{"simple-payments__help-message-is-error":o});return r&&React.createElement("div",R()({className:a},i),o&&React.createElement(T.a,{size:"24"}),React.createElement("span",null,r))}),F=r(0),q=(r(195),r(75)),L=r.n(q),N=r(76),I=r.n(N),B=function(e){var t=e.title,r=void 0===t?"":t,n=e.content,o=void 0===n?"":n,i=e.formattedPrice,a=void 0===i?"":i,s=e.multiple,c=void 0!==s&&s;return React.createElement("div",{className:"jetpack-simple-payments-wrapper"},React.createElement("div",{className:"jetpack-simple-payments-product"},React.createElement("div",{className:"jetpack-simple-payments-details"},r&&React.createElement("div",{className:"jetpack-simple-payments-title"},React.createElement("p",null,r)),o&&React.createElement("div",{className:"jetpack-simple-payments-description"},React.createElement("p",null,o)),a&&React.createElement("div",{className:"jetpack-simple-payments-price"},React.createElement("p",null,a)),React.createElement("div",{className:"jetpack-simple-payments-purchase-box"},c&&React.createElement("div",{className:"jetpack-simple-payments-items"},React.createElement("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),React.createElement("div",{className:"jetpack-simple-payments-button"},React.createElement("img",{alt:Object(F.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(I.a," 2x")}))))))},V=r(77),H=r.n(V),U={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function $(e){return U[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var Z=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],K=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},G=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=$(t),o=n.precision,i=n.symbol,a=e.toFixed(o);return r?"".concat(a," ").concat(H()(i,".")):a},W=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(v()(r)),"shouldInjectPaymentAttributes",!!r.props.attributes.productId),k()(v()(v()(r)),"validateAttributes",function(){var e=r.validatePrice(),t=r.validateTitle(),n=r.validateEmail(),o=r.validateCurrency();return e&&t&&n&&o}),k()(v()(v()(r)),"validateCurrency",function(){var e=r.props.attributes.currency;return Z.includes(e)}),k()(v()(v()(r)),"validatePrice",function(){var e=r.props.attributes,t=e.currency,n=e.price,o=$(t).precision;return n&&0!==parseFloat(n)?Number.isNaN(parseFloat(n))?(r.setState({fieldPriceError:Object(F.a)("Invalid price")}),!1):parseFloat(n)<0?(r.setState({fieldPriceError:Object(F.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):K(n)>o?0===o?(r.setState({fieldPriceError:Object(F.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(r.setState({fieldPriceError:Object(S.sprintf)(Object(F.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",o),o)}),!1):(r.state.fieldPriceError&&r.setState({fieldPriceError:null}),!0):(r.setState({fieldPriceError:Object(F.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),k()(v()(v()(r)),"validateEmail",function(){var e=r.props.attributes.email;return e?x.a.validate(e)?(r.state.fieldEmailError&&r.setState({fieldEmailError:null}),!0):(r.setState({fieldEmailError:Object(S.sprintf)(Object(F.a)("%s is not a valid email address."),e)}),!1):(r.setState({fieldEmailError:Object(F.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),k()(v()(v()(r)),"validateTitle",function(){return r.props.attributes.title?(r.state.fieldTitleError&&r.setState({fieldTitleError:null}),!0):(r.setState({fieldTitleError:Object(F.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),k()(v()(v()(r)),"handleEmailChange",function(e){r.props.setAttributes({email:e}),r.setState({fieldEmailError:null})}),k()(v()(v()(r)),"handleContentChange",function(e){r.props.setAttributes({content:e})}),k()(v()(v()(r)),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?r.props.setAttributes({price:void 0}):r.props.setAttributes({price:e}),r.setState({fieldPriceError:null})}),k()(v()(v()(r)),"handleCurrencyChange",function(e){r.props.setAttributes({currency:e})}),k()(v()(v()(r)),"handleMultipleChange",function(e){r.props.setAttributes({multiple:!!e})}),k()(v()(v()(r)),"handleTitleChange",function(e){r.props.setAttributes({title:e}),r.setState({fieldTitleError:null})}),k()(v()(v()(r)),"getCurrencyList",Z.map(function(e){var t=$(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}})),r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,r=e.hasPublishAction;!t.productId&&r&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.hasPublishAction,n=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&r&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.simplePayment,o=t.content,i=t.currency,a=t.email,s=t.multiple,c=t.price,l=t.productId,u=t.title;l&&n&&(r({content:Object(A.get)(n,["content","raw"],o),currency:Object(A.get)(n,["meta","spay_currency"],i),email:Object(A.get)(n,["meta","spay_email"],a),multiple:Boolean(Object(A.get)(n,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(n,["meta","spay_price"],c||void 0),title:Object(A.get)(n,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes)}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,r=e.currency,n=e.email,o=e.multiple,i=e.price,a=e.productId,s=e.title;return{id:a,content:t,featured_media:0,meta:{spay_currency:r,spay_email:n,spay_multiple:o,spay_price:i},status:a?"publish":"draft",title:s}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,r=t.attributes,n=t.setAttributes,o=r.email,i=Object(j.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},a()(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i("postType","jp_pay_product",e.toApi()).then(function(e){return e&&n({productId:e.id}),e}).catch(function(t){if(t&&t.data){var r=t.data.key;e.setState({fieldEmailError:"spay_email"===r?Object(S.sprintf)(Object(F.a)("%s is not a valid email address."),o):null,fieldPriceError:"spay_price"===r?Object(F.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})});case 1:case"end":return t.stop()}},t,this)})))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,r=e.fieldPriceError,o=e.fieldTitleError,i=this.props,a=i.attributes,s=i.instanceId,c=i.isSelected,l=i.simplePayment,u=a.content,p=a.currency,d=a.email,f=a.multiple,h=a.price,m=a.productId,g=a.title,b=m&&!l;if(!c&&b)return React.createElement("div",{className:"simple-payments__loading"},React.createElement(B,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!c&&d&&h&&g&&!t&&!r&&!o)return React.createElement(B,{"aria-busy":"false",content:u,formattedPrice:G(h,p),multiple:f,title:g});var v=b?n.Disabled:"div";return React.createElement(v,{className:"wp-block-jetpack-simple-payments"},React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-title-error"),className:C()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":o}),label:Object(F.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(F.a)("Item name"),required:!0,type:"text",value:g}),React.createElement(z,{id:"".concat(s,"-title-error"),isError:!0},o),React.createElement(n.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(F.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(F.a)("Describe your item in a few words"),value:u}),React.createElement("div",{className:"simple-payments__price-container"},React.createElement(n.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(F.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:p}),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-price-error"),className:C()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":r}),label:Object(F.a)("Price"),onChange:this.handlePriceChange,placeholder:G(0,p,!1),required:!0,step:"1",type:"number",value:h||""}),React.createElement(z,{id:"".concat(s,"-price-error"),isError:!0},r)),React.createElement("div",{className:"simple-payments__field-multiple"},React.createElement(n.ToggleControl,{checked:Boolean(f),label:Object(F.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-email-").concat(t?"error":"help"),className:C()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(F.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(F.a)("Email"),required:!0,type:"email",value:d}),React.createElement(z,{id:"".concat(s,"-email-error"),isError:!0},t),React.createElement(z,{id:"".concat(s,"-email-help")},Object(F.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",React.createElement(n.ExternalLink,{href:"https://www.paypal.com/"},Object(F.a)("Create one on PayPal"))))}}]),t}(o.Component),J=Object(j.withSelect)(function(e,t){var r=e("core").getEntityRecord,n=e("core/editor"),o=n.isSavingPost,i=n.getCurrentPost,a=t.attributes.productId,s=a?Object(A.pick)(r("postType","jp_pay_product",a),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"]]):void 0;return{hasPublishAction:!!Object(A.get)(i(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:s}}),Y=Object(w.compose)(J,w.withInstanceId)(W);var Q=r(17);r(208);r.d(t,"name",function(){return X}),r.d(t,"settings",function(){return ee});var X="simple-payments",ee={title:Object(F.a)("Simple Payments button"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(F.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),React.createElement(n.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(F.a)("Support reference"))),icon:React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(n.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(F.c)("shop","block search term"),Object(F.c)("sell","block search term"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var r=parseInt(t,10);return r||void 0}}}}}]},edit:Y,save:function(e){var t=e.attributes.productId;return t?React.createElement(o.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1}};Object(Q.a)(X,ee)},function(e,t,r){"use strict";r.r(t);r(152);var n=r(16),o=r(72),i=r(12),a=r(21),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(25),C=r.n(_),E=r(3),x=r(0),w=function(e){function t(e){var r;return c()(this,t),r=d()(this,h()(t).call(this,e)),k()(v()(v()(r)),"connectionTestComplete",function(e){var t=e.data.filter(function(e){return!e.test_success});r.setState({failedConnections:t,isLoading:!1})}),k()(v()(v()(r)),"connectionTestRequestFailed",function(){r.setState({isLoading:!1})}),k()(v()(v()(r)),"connectionTestStart",function(){C()({path:"/wpcom/v2/publicize/connection-test-results"}).then(function(){return r.connectionTestComplete}).catch(function(){return r.connectionTestRequestFailed})}),k()(v()(v()(r)),"refreshConnectionClick",function(e){var t=e.target,n=t.href,o=t.title;e.preventDefault();var i=window.open(n,o,"");window.setInterval(function(){!1!==i.closed&&r.connectionTestStart()},500)}),r.state={failedConnections:{},isLoading:!1},r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.connectionTestStart()}},{key:"render",value:function(){var e=this,t=this.state.failedConnections;return t.length>0?React.createElement("div",{className:"below-h2 error publicize-token-refresh-message"},React.createElement("p",{key:"error-title"},Object(x.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.filter(function(e){return e.userCanRefresh}).map(function(t){return React.createElement("a",{className:"pub-refresh-button button",title:t.refreshText,href:t.refreshURL,target:"_refresh_"+t.serviceName,onClick:e.refreshConnectionClick,key:t.connectionID},t.refreshText)})):null}}]),t}(E.Component),j=r(18),A=r.n(j),S=r(35),O=r.n(S),R=r(13),D=r.n(R),M=r(14),P=r(2),T=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"onConnectionChange",function(){var e=r.props.id;r.props.toggleConnection(e)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.disabled,r=e.enabled,n=e.id,o=e.label,i=e.name,a="connection-"+i+"-"+n,s=i.replace("_","-"),c=React.createElement(P.FormToggle,{id:a,className:"jetpack-publicize-connection-toggle",checked:r,onChange:this.onConnectionChange});return t&&(c=React.createElement(P.Disabled,null,c)),React.createElement("li",null,React.createElement("div",{className:"publicize-jetpack-connection-container"},React.createElement("label",{htmlFor:a,className:"jetpack-publicize-connection-label"},React.createElement("span",{className:"jetpack-publicize-gutenberg-social-icon social-logo social-logo__"+s}),React.createElement("span",null,o)),c))}}]),t}(E.Component),z=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"settingsClick",function(e){var t=r.props.refreshCallback;e.preventDefault();var n=window.open("options-general.php?page=sharing&publicize_popup=true","",""),o=window.setInterval(function(){!1!==n.closed&&(window.clearInterval(o),t())},500)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=D()("jetpack-publicize-add-connection-container",this.props.className);return React.createElement("div",{className:e},React.createElement("a",{onClick:this.settingsClick,tabIndex:"0"},React.createElement("span",{className:"jetpack-publicize-add-icon dashicons-plus-alt"}),Object(x.a)("Connect new service")))}}]),t}(E.Component),F=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{hasEditedShareMessage:!1}),k()(v()(v()(r)),"onMessageChange",function(e){var t=r.props.messageChange;r.setState({hasEditedShareMessage:!0}),t(e)}),r}return g()(t,e),u()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,r=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:r}},{key:"render",value:function(){var e=this.props,t=e.connections,r=e.toggleConnection,n=e.refreshCallback,o=this.getShareMessage(),i=256-o.length,a=D()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":i<=0});return React.createElement("div",{id:"publicize-form"},React.createElement("ul",null,t.map(function(e){var t=e.display_name,n=e.enabled,o=e.id,i=e.service_name,a=e.toggleable;return React.createElement(T,{disabled:!a,enabled:n,key:o,id:o,label:t,name:i,toggleConnection:r})})),React.createElement(z,{refreshCallback:n}),React.createElement("label",{className:"jetpack-publicize-message-note",htmlFor:"wpas-title"},Object(x.a)("Customize your message")),React.createElement("div",{className:"jetpack-publicize-message-box"},React.createElement("textarea",{value:o,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(x.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),React.createElement("div",{className:a},Object(M.sprintf)(Object(x.b)("%d character remaining","%d characters remaining",i),i))))}}]),t}(E.Component),q=Object(n.compose)([Object(a.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),r=e("core/editor").getEditedPostAttribute("title"),n=O()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:r.substr(0,256),shareMessage:n.substr(0,256)}}),Object(a.withDispatch)(function(e,t){var r=t.connections;return{toggleConnection:function(t){var n=r.map(function(e){return A()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:n})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(F),L=Object(n.compose)([Object(a.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(a.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,r=e.refreshConnections;return React.createElement(i.PostTypeSupportCheck,{supportKeys:"publicize"},React.createElement(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:React.createElement("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(x.a)("Share this post"))},React.createElement("div",null,Object(x.a)("Connect and select social media services to share this post.")),t&&t.length>0&&React.createElement(q,{refreshCallback:r}),t&&0===t.length&&React.createElement(z,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:r}),t&&t.length>0&&React.createElement(w,null)))}),N=r(73),I=r(34);r.d(t,"name",function(){return B}),r.d(t,"settings",function(){return V});var B="publicize",V={render:function(){return React.createElement(L,null)}};!function(e,t){var r=Object(I.a)(),n=O()(r,["available_blocks",e,"available"],!1);!(r&&!n)&&Object(N.registerPlugin)("jetpack-".concat(e),t)}(B,V)},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=(r(95),r(6)),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(12),k=r(16),_=r(21),C=r(71),E=r.n(C),x=r(0),w=new E.a,j=function(e){"A"===e.target.nodeName&&(window.confirm(Object(x.a)("Are you sure you wish to leave this page?"))||e.preventDefault())},A=function(e){var t=e.className,r=e.source,n=void 0===r?"":r;return React.createElement(o.RawHTML,{className:t,onClick:j},n.length?w.render(n):"")},S="editor",O=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"input",null),v()(g()(g()(r)),"state",{activePanel:S}),v()(g()(g()(r)),"bindInput",function(e){r.input=e}),v()(g()(g()(r)),"updateSource",function(e){return r.props.setAttributes({source:e})}),v()(g()(g()(r)),"handleKeyDown",function(e){var t=r.props,n=t.attributes,o=t.removeBlock,i=n.source;8===e.keyCode&&""===i&&(o(),e.preventDefault())}),v()(g()(g()(r)),"toggleMode",function(e){return function(){return r.setState({activePanel:e})}}),r}return h()(t,e),c()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(S)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===S&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var r=this.state.activePanel;return React.createElement("button",{className:"components-tab-button ".concat(r===e?"is-active":""),onClick:this.toggleMode(e)},React.createElement("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,o=t.source,i=this.state.activePanel;return!n&&this.isEmpty()?React.createElement("p",{className:"".concat(r,"__placeholder")},Object(x.a)("Write your _Markdown_ **here**...")):React.createElement("div",{className:r},React.createElement(y.BlockControls,null,React.createElement("div",{className:"components-toolbar"},this.renderToolbarButton(S,Object(x.a)("Markdown")),this.renderToolbarButton("preview",Object(x.a)("Preview")))),"preview"!==i&&n?React.createElement(y.PlainText,{className:"".concat(r,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(x.a)("Markdown"),innerRef:this.bindInput,value:o}):React.createElement(A,{className:"".concat(r,"__preview"),source:o}))}}]),t}(o.Component),R=Object(k.compose)([Object(_.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(_.withDispatch)(function(e,t){var r=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(r)}}})])(O),D=r(17);r.d(t,"name",function(){return M}),r.d(t,"settings",function(){return P});var M="markdown",P={title:Object(x.a)("Markdown"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(x.a)("Use regular characters and punctuation to style text, links, and lists.")),React.createElement(n.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(x.a)("Support reference"))),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},React.createElement("rect",{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),React.createElement("path",{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(x.a)("formatting"),Object(x.a)("syntax"),Object(x.a)("markup")],attributes:{source:{type:"string"}},edit:R,save:function(e){var t=e.attributes,r=e.className;return React.createElement(A,{className:r,source:t.source})}};Object(D.a)(M,P)},function(e,t,r){"use strict";r.r(t);var n=r(20),o=r.n(n),i=r(15),a=r(22),s=r.n(a),c=r(45),l=r.n(c),u=r(13),p=r.n(u),d=s.a.createElement("g",null,s.a.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),f=function(e){var t=e.full,r=void 0!==t&&t,n=e.size,o=void 0===n?32:n,i=e.className,a=p()("jetpack-logo",i);return!0===r?s.a.createElement("svg",{height:o,className:a,viewBox:"0 0 118 32"},s.a.createElement("title",null,"Jetpack"),d,s.a.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===o?s.a.createElement("svg",{className:a,height:"24",width:"24",viewBox:"0 0 24 24"},s.a.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):s.a.createElement("svg",{className:a,height:o,width:o,viewBox:"0 0 32 32"},d)};f.propTypes={full:l.a.bool,size:l.a.number};var h=f;Object(i.setCategories)([{slug:"jetpack",title:"Jetpack",icon:React.createElement(h,null)}].concat(o()(Object(i.getCategories)().filter(function(e){return"jetpack"!==e.slug}))))},function(e,t,r){e.exports=r.p+"images/cat-blog-87a988c0432f7f3ceb5bfe782db1431d.png"},function(e,t,r){e.exports=r.p+"images/devices-cddfc9159d108e7b62bcfbad49cdad37.jpg"},function(e,t,r){e.exports=r.p+"images/mobile-wedding-ec7cce11cd6ea354451d78beac70755d.jpg"},function(e,t){e.exports=wp.url},,function(e,t,r){r(46),r(215),r(29),r(210),r(211),r(214),r(213),r(212),r(228),e.exports=r(227)},function(e,t,r){},,function(e,t,r){},,,function(e,t,r){"use strict";r.r(t);var n=r(15),o=(r(224),r(6)),i=r.n(o),a=r(5),s=r.n(a),c=r(7),l=r.n(c),u=r(8),p=r.n(u),d=r(9),f=r.n(d),h=r(1),m=r.n(h),g=r(4),b=r.n(g),v=r(3),y=r(2),k=r(219),_=r(0),C=function(e){var t=e.attributes,r=t.url,n=t.view,o=e.className;return React.createElement("div",{className:o},React.createElement("iframe",{title:Object(_.a)("VR Image"),allowFullScreen:"true",frameBorder:"0",width:"100%",height:"300",src:Object(k.addQueryArgs)("https://vr.me.sh/view/",{url:r,view:n})}))},E=function(e){function t(){var e,r;i()(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r=l()(this,(e=p()(t)).call.apply(e,[this].concat(o))),b()(m()(m()(r)),"onChangeUrl",function(e){r.props.setAttributes({url:e.trim()})}),b()(m()(m()(r)),"onChangeView",function(e){r.props.setAttributes({view:e})}),r}return f()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className;return t.url&&t.view?React.createElement(C,{attributes:t,className:r}):React.createElement(y.Placeholder,{key:"placeholder",icon:"format-image",label:Object(_.a)("VR Image"),className:r},React.createElement(y.TextControl,{type:"url",label:Object(_.a)("Enter URL to VR image"),value:t.url,onChange:this.onChangeUrl}),React.createElement(y.SelectControl,{label:Object(_.a)("View Type"),disabled:!t.url,value:t.view,onChange:this.onChangeView,options:[{label:"",value:""},{label:Object(_.a)("360°"),value:"360"},{label:Object(_.a)("Cinema"),value:"cinema"}]}))}}]),t}(v.Component);Object(n.registerBlockType)("jetpack/vr",{title:Object(_.a)("VR Image"),description:Object(_.a)("Embed 360° photos and Virtual Reality (VR) content"),icon:"embed-photo",category:"jetpack",keywords:[Object(_.a)("vr"),Object(_.a)("panorama"),Object(_.a)("360")],support:{html:!1},attributes:{url:{type:"string"},view:{type:"string"}},edit:E,save:C})},function(e,t,r){"use strict";r.r(t);var n=r(11),o=(r(222),r(6)),i=r.n(o),a=r(5),s=r.n(a),c=r(7),l=r.n(c),u=r(8),p=r.n(u),d=r(9),f=r.n(d),h=r(1),m=r.n(h),g=r(4),b=r.n(g),v=r(25),y=r.n(v),k=r(13),_=r.n(k),C=r(3),E=r(12),x=r(2),w=r(21),j=r(0),A=r(216),S=r.n(A),O=r(217),R=r.n(O),D=r(218),M=r.n(D),P=["center","wide","full"],T=[{title:"Big iPhone/iPad Update Now Available",img:{src:S.a},date:"August 3, 2018",context:'In "Mobile"'},{title:"The WordPress for Android App Gets a Big Facelift",img:{src:R.a},date:"August 2, 2018",context:'In "Mobile"'},{title:"Upgrade Focus: VideoPress For Weddings",img:{src:M.a},date:"August 5, 2018",context:'In "Upgrade"'}],z=function(e){function t(){var e,r;i()(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r=l()(this,(e=p()(t)).call.apply(e,[this].concat(o))),b()(m()(m()(r)),"state",{posts:[],fetchingPosts:!1}),r}return f()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.fetchPosts()}},{key:"componentDidUpdate",value:function(e){e.isSaving&&!this.props.isSaving&&this.fetchPosts()}},{key:"fetchPosts",value:function(){var e=this,t=this.props.postId,r=this.state.fetchingPosts;t&&!r&&(this.setState({fetchingPosts:!0}),y()({path:"/jetpack/v4/site/posts/related?http_envelope=1&post_id="+t}).then(function(t){e.setState({posts:t.posts,fetchingPosts:!1})}).catch(function(){e.setState({fetchingPosts:!1})}))}},{key:"render",value:function(){var e,t=this.props,r=t.attributes,n=t.className,o=t.setAttributes,i=this.state.posts,a=r.align,s=r.displayContext,c=r.displayDate,l=r.displayThumbnails,u=r.postLayout,p=r.postsToShow,d=[{icon:"grid-view",title:Object(j.a)("Grid View"),onClick:function(){return o({postLayout:"grid"})},isActive:"grid"===u},{icon:"list-view",title:Object(j.a)("List View"),onClick:function(){return o({postLayout:"list"})},isActive:"list"===u}],f=(i.length?i:T).slice(0,p);return React.createElement(C.Fragment,null,React.createElement(E.InspectorControls,null,React.createElement(x.PanelBody,{title:Object(j.a)("Related Posts Settings")},React.createElement(x.ToggleControl,{label:Object(j.a)("Display thumbnails"),checked:l,onChange:function(e){return o({displayThumbnails:e})}}),React.createElement(x.ToggleControl,{label:Object(j.a)("Display date"),checked:c,onChange:function(e){return o({displayDate:e})}}),React.createElement(x.ToggleControl,{label:Object(j.a)("Display context (category or tag)"),checked:s,onChange:function(e){return o({displayContext:e})}}),React.createElement(x.RangeControl,{label:Object(j.a)("Number of posts"),value:p,onChange:function(e){return o({postsToShow:Math.min(e,3)})},min:1,max:3}))),React.createElement(E.BlockControls,null,React.createElement(E.BlockAlignmentToolbar,{value:a,onChange:function(e){o({align:e})},controls:P}),React.createElement(x.Toolbar,{controls:d})),React.createElement("div",{className:_()("".concat(n),(e={"is-grid":"grid"===u},b()(e,"columns-".concat(p),"grid"===u),b()(e,"align".concat(a),a),e))},React.createElement("div",{className:"".concat(n,"__preview-items")},f.map(function(e,t){return React.createElement("div",{className:"".concat(n,"__preview-post"),key:t},l&&e.img&&e.img.src&&React.createElement(x.Button,{className:"".concat(n,"__preview-post-link"),isLink:!0},React.createElement("img",{src:e.img.src,alt:e.title})),React.createElement("h4",null,React.createElement(x.Button,{className:"".concat(n,"__preview-post-link"),isLink:!0},e.title)),c&&React.createElement("span",{className:"".concat(n,"__preview-post-date has-small-font-size")},e.date),s&&React.createElement("p",{className:"".concat(n,"__preview-post-context")},e.context))}))))}}]),t}(C.Component),F=Object(w.withSelect)(function(e){var t=e("core/editor"),r=t.getCurrentPostId;return{isSaving:!!(0,t.isSavingPost)(),postId:r()}})(z),q=r(17);r.d(t,"name",function(){return L}),r.d(t,"settings",function(){return N});var L="related-posts",N={title:Object(j.a)("Related Posts"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg"},React.createElement("defs",null,React.createElement("path",{id:"a",d:"M4 5v14h17V5H4zm4 2v2H6V7h2zm-2 6v-2h2v2H6zm0 2h2v2H6v-2zm13 2h-9v-2h9v2zm0-4h-9v-2h9v2zm0-4h-9V7h9v2z"})),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("mask",{id:"b",fill:"#fff"},React.createElement("use",{xlinkHref:"#a"})),React.createElement("g",{fill:"#555D66",mask:"url(#b)"},React.createElement("path",{d:"M0 0h24v24H0z"})))),category:"jetpack",keywords:[Object(j.a)("similar"),Object(j.a)("linked"),Object(j.a)("connected")],attributes:{align:{type:"string",default:""},postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},getEditWrapperProps:function(e){var t=e.align;if(Object(n.includes)(P,t))return{"data-align":t}},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:F,save:function(){return null}};Object(q.a)(L,N)}]));
_inc/blocks/editor-beta.rtl.css CHANGED
@@ -1 +1 @@
1
- .wp-block-jetpack-markdown__placeholder{opacity:.5;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px;display:table}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-related-posts.alignfull{padding:0 20px}.wp-block-jetpack-related-posts.aligncenter .wp-block-jetpack-related-posts__preview-post-link{text-align:center}.is-grid .wp-block-jetpack-related-posts__preview-items{display:-ms-flexbox;display:flex;margin:0 -10px}.is-grid .wp-block-jetpack-related-posts__preview-post{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-link{font-size:inherit}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-date{color:#6c7781}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-context{color:#6c7781;font-size:12px;margin:0}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-right:auto;margin-left:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
1
+ .help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d94f4f}.help-message.help-message-is-error svg{fill:#d94f4f}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:6px}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 0 0 8px}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-ms-flex-positive:1;flex-grow:1}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0;margin-bottom:2px}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px;padding-left:8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field-checkbox .components-base-control__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\F147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:a .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes a{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{padding:0;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#aaa}.component__locations__panel{margin-bottom:1em}.component__locations__panel:empty{display:none}.component__locations__panel .components-panel__body,.component__locations__panel .components-panel__body:first-child,.component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.component__map-theme-picker__button:hover{transform:scale(1.1)}.component__map-theme-picker__button.is-selected{border-color:#000}.component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:.3em}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.publicize-jetpack-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{font-size:2em;margin-left:.2em}.jetpack-publicize-connection-label{-ms-flex:1;flex:1;margin-left:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-add-icon{font-family:Dashicons;font-size:2em;margin-left:.2em;color:#555d66}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:1em}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-left:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#d94f4f}.simple-payments__loading{animation:b 1.6s ease-in-out infinite}@keyframes b{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-ms-flex:0 0 auto;flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-related-posts.alignfull{padding:0 20px}.wp-block-jetpack-related-posts.aligncenter .wp-block-jetpack-related-posts__preview-post-link{text-align:center}.is-grid .wp-block-jetpack-related-posts__preview-items{display:-ms-flexbox;display:flex;margin:0 -10px}.is-grid .wp-block-jetpack-related-posts__preview-post{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;margin:0 10px}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-link{font-size:inherit}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-date{color:#6c7781}.wp-block-jetpack-related-posts__preview-post .wp-block-jetpack-related-posts__preview-post-context{color:#6c7781;font-size:12px;margin:0}.wp-block-jetpack-vr{position:relative;max-width:525px;margin-right:auto;margin-left:auto;overflow:hidden}.wp-block-jetpack-vr .components-placeholder__fieldset{-ms-flex-pack:distribute;justify-content:space-around}
_inc/blocks/editor.css CHANGED
@@ -1 +1 @@
1
- .wp-block-jetpack-markdown__placeholder{opacity:.5;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px;display:table}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}
1
+ .help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d94f4f}.help-message.help-message-is-error svg{fill:#d94f4f}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:6px}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 8px 0 0}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-ms-flex-positive:1;flex-grow:1}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0;margin-bottom:2px}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px;padding-right:8px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field-checkbox .components-base-control__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\F147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:a .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes a{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{padding:0;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#aaa}.component__locations__panel{margin-bottom:1em}.component__locations__panel:empty{display:none}.component__locations__panel .components-panel__body,.component__locations__panel .components-panel__body:first-child,.component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.component__map-theme-picker__button:hover{transform:scale(1.1)}.component__map-theme-picker__button.is-selected{border-color:#000}.component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:.3em}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.publicize-jetpack-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{font-size:2em;margin-right:.2em}.jetpack-publicize-connection-label{-ms-flex:1;flex:1;margin-right:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-add-icon{font-family:Dashicons;font-size:2em;margin-right:.2em;color:#555d66}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:1em}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-right:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#d94f4f}.simple-payments__loading{animation:b 1.6s ease-in-out infinite}@keyframes b{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-ms-flex:0 0 auto;flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}
_inc/blocks/editor.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=223)}([function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=r(36);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(e){return h[e]}var _=/[.?*+^$[\]\\(){}|-]/g;var g=r(19);t.lib={},t.lib.mdurl=r(37),t.lib.ucmicro=r(87),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,r){return t||function(e,t){var r=0;return o(l,t)?l[t]:35===t.charCodeAt(0)&&u.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(r):e}(e,r)})},t.isValidEntityCode=s,t.fromCodePoint=i,t.escapeHtml=function(e){return p.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(_,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n=r(45),o="object"==typeof self&&self&&self.Object===Object&&self,s=n||o||Function("return this")();e.exports=s},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(147),o=r(150);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__=function(){return(0,n.__)(...o(arguments))},t._n=function(){return(0,n._n)(...o(arguments))},t._x=function(){return(0,n._x)(...o(arguments))},t._nx=function(){return(0,n._nx)(...o(arguments))};var n=r(135);const o=e=>{const t=[...e];return t.push("jetpack"),t}},function(e,t,r){var n=r(12),o=r(139),s=r(140),i="[object Null]",a="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:i:c&&c in Object(e)?o(e):s(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(17),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t){e.exports=wp.element},function(e,t,r){var n=r(3),o=r(23),s=r(141),i=r(165);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:s(i(e))}},function(e,t,r){var n=r(2).Symbol;e.exports=n},function(e,t,r){var n=r(4)(Object,"create");e.exports=n},function(e,t,r){var n=r(155),o=r(156),s=r(157),i=r(158),a=r(159);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t,r){var n=r(25);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(161);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(6),o=r(7),s="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&n(e)==s}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),s=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(3),o=r(17),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||i.test(e)||!s.test(e)||null!=t&&e in Object(t)}},function(e,t,r){var n=r(144),o=r(160),s=r(162),i=r(163),a=r(164);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(4)(r(2),"Map");e.exports=n},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var o=typeof e;return!!(t=null==t?r:t)&&("number"==o||"symbol"!=o&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t,r){var n=r(11),o=r(9);e.exports=function(e,t){for(var r=0,s=(t=n(t,e)).length;null!=e&&r<s;)e=e[o(t[r++])];return r&&r==s?e:void 0}},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(57),o=r(195),s=r(33);e.exports=function(e){return s(e)?n(e):o(e)}},function(e,t,r){var n=r(46),o=r(28);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t){e.exports=wp.components},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(80)),s=r(10),i=r(5);const a=new o.default,c=e=>{if("A"===e.target.nodeName){window.confirm((0,i.__)("Are you sure you wish to leave this page?"))||e.preventDefault()}};t.default=(({className:e,source:t=""})=>React.createElement(s.RawHTML,{className:e,onClick:c},t.length?a.render(t):""))},function(e,t,r){"use strict";e.exports=r(82)},function(e,t,r){"use strict";e.exports.encode=r(83),e.exports.decode=r(84),e.exports.format=r(85),e.exports.parse=r(86)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",s=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),i=new RegExp("^(?:"+n+"|"+o+")");e.exports.HTML_TAG_RE=s,e.exports.HTML_OPEN_CLOSE_TAG_RE=i},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o,s,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(126!==a)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(a),o<2)return!1;for(o%2&&(e.push("text","",0).content=s,o--),r=0;r<o;r+=2)e.push("text","",0).content=s+s,e.delimiters.push({marker:a,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,s,i=[],a=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(n=a[t]).marker&&-1!==n.end&&(o=a[n.end],(s=e.tokens[n.token]).type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",(s=e.tokens[o.token]).type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&i.push(o.token-1));for(;i.length;){for(r=(t=i.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(s=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=s)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(s),e.delimiters.push({marker:s,length:n.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,s,i,a=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=a[t]).marker&&42!==r.marker||-1!==r.end&&(n=a[r.end],i=t>0&&a[t-1].end===r.end+1&&a[t-1].token===r.token-1&&a[r.end+1].token===n.token+1&&a[t-1].marker===r.marker,s=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=i?"strong_open":"em_open",o.tag=i?"strong":"em",o.nesting=1,o.markup=i?s+s:s,o.content="",(o=e.tokens[n.token]).type=i?"strong_close":"em_close",o.tag=i?"strong":"em",o.nesting=-1,o.markup=i?s+s:s,o.content="",i&&(e.tokens[a[t-1].token].content="",e.tokens[a[r.end+1].token].content="",t--))}},function(e,t,r){var n=r(11),o=r(48),s=r(3),i=r(27),a=r(28),c=r(9);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,p=!1;++u<l;){var f=c(t[u]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++u!=l?p:!!(l=null==e?0:e.length)&&a(l)&&i(f,l)&&(s(e)||o(e))}},function(e,t){var r="object"==typeof window&&window&&window.Object===Object&&window;e.exports=r},function(e,t,r){var n=r(6),o=r(8),s="[object AsyncFunction]",i="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==i||t==a||t==s||t==c}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(167),o=r(7),s=Object.prototype,i=s.hasOwnProperty,a=s.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},function(e,t,r){var n=r(29);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(14),o=r(172),s=r(173),i=r(174),a=r(175),c=r(176);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=s,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},function(e,t,r){var n=r(177),o=r(7);e.exports=function e(t,r,s,i,a){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,s,i,e,a))}},function(e,t,r){var n=r(178),o=r(181),s=r(182),i=1,a=2;e.exports=function(e,t,r,c,u,l){var p=r&i,f=e.length,h=t.length;if(f!=h&&!(p&&h>f))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var _=-1,g=!0,m=r&a?new n:void 0;for(l.set(e,t),l.set(t,e);++_<f;){var v=e[_],b=t[_];if(c)var y=p?c(b,v,_,t,e,l):c(v,b,_,e,t,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!o(t,function(e,t){if(!s(m,t)&&(v===e||u(v,e,r,c,l)))return m.push(t)})){g=!1;break}}else if(v!==b&&!u(v,b,r,c,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},function(e,t,r){var n=r(54),o=r(3);e.exports=function(e,t,r){var s=t(e);return o(e)?s:n(s,r(e))}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(189),o=r(56),s=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return s.call(e,t)}))}:o;e.exports=a},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(190),o=r(48),s=r(3),i=r(58),a=r(27),c=r(59),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=s(e),l=!r&&o(e),p=!r&&!l&&i(e),f=!r&&!l&&!p&&c(e),h=r||l||p||f,d=h?n(e.length,String):[],_=d.length;for(var g in e)!t&&!u.call(e,g)||h&&("length"==g||p&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,_))||d.push(g);return d}},function(e,t,r){(function(e){var n=r(2),o=r(191),s="object"==typeof t&&t&&!t.nodeType&&t,i=s&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===s?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;e.exports=c}).call(this,r(22)(e))},function(e,t,r){var n=r(192),o=r(193),s=r(194),i=s&&s.isTypedArray,a=i?o(i):n;e.exports=a},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(8);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},function(e,t,r){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -9,17 +9,17 @@
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===s)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=wp.editor},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=r(30),i=n(r(137)),a=n(r(49)),c=n(r(168));const u=["Jetpack_Initial_State"];t.default=class{constructor(e,t){(0,o.default)(this,"hasRequiredModule",()=>{const e=(0,c.default)((0,a.default)(this.jetpackData,"getModules"),e=>e.activated&&"inactive"!==e.override);return(0,i.default)(e,this.name)}),this.name=e,this.config=t,this.jetpackData=(0,a.default)("object"==typeof window?window:null,u,null)}register(){this.jetpackData&&!this.hasRequiredModule()||(0,s.registerBlockType)("jetpack/"+this.name,this.config)}}},function(e,t,r){"use strict";"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,r){"use strict";var n=r(1),o=r(30),s=n(r(69));(0,o.setCategories)([{slug:"jetpack",title:"Jetpack",icon:React.createElement(s.default,null)},...(0,o.getCategories)().filter(({slug:e})=>"jetpack"!==e)])},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(70)),s=n(r(73)),i=n(r(64));const a=o.default.createElement("g",null,o.default.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),o.default.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),o.default.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),c=({full:e=!1,size:t=32,className:r})=>{const n=(0,i.default)("jetpack-logo",r);return!0===e?o.default.createElement("svg",{height:t,className:n,viewBox:"0 0 118 32"},o.default.createElement("title",null,"Jetpack"),a,o.default.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===t?o.default.createElement("svg",{className:n,height:"24",width:"24",viewBox:"0 0 24 24"},o.default.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):o.default.createElement("svg",{className:n,height:t,width:t,viewBox:"0 0 32 32"},a)};c.propTypes={full:s.default.bool,size:s.default.number};var u=c;t.default=u},function(e,t,r){"use strict";e.exports=r(71)},function(e,t,r){"use strict";
13
- /** @license React v16.5.2
14
  * react.production.min.js
15
  *
16
  * Copyright (c) Facebook, Inc. and its affiliates.
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
- */var n=r(72),o="function"==typeof Symbol&&Symbol.for,s=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,u=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.async_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112;o&&Symbol.for("react.placeholder");var d="function"==typeof Symbol&&Symbol.iterator;function _(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,s,i,a){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,s,i,a],u=0;(e=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function b(){}function y(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&_("85"),this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var k=y.prototype=new b;k.constructor=y,n(k,v.prototype),k.isPureReactComponent=!0;var x={current:null,currentDispatcher:null},C=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,r){var n=void 0,o={},i=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,n)&&!w.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:s,type:e,key:i,ref:a,props:o,_owner:x.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}var D=/\/+/g,S=[];function q(e,t,r,n){if(S.length){var o=S.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>S.length&&S.push(e)}function z(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var c=!1;if(null===t)c=!0;else switch(a){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case s:case i:c=!0}}if(c)return n(o,t,""===r?"."+F(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=r+F(a=t[u],u);c+=e(a,l,n,o)}else if(l=null===t||"object"!=typeof t?null:"function"==typeof(l=d&&t[d]||t["@@iterator"])?l:null,"function"==typeof l)for(t=l.call(t),u=0;!(a=t.next()).done;)c+=e(a=a.value,l=r+F(a,u++),n,o);else"object"===a&&_("31","[object Object]"==(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return c}(e,"",t,r)}function F(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function O(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?T(e,n,r,function(e){return e}):null!=e&&(E(e)&&(e=function(e,t){return{$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+r)),n.push(e))}function T(e,t,r,n,o){var s="";null!=r&&(s=(""+r).replace(D,"$&/")+"/"),z(e,O,t=q(t,s,n,o)),j(t)}var M={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return T(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;z(e,L,t=q(null,null,t,r)),j(t)},count:function(e){return z(e,function(){return null},null)},toArray:function(e){var t=[];return T(e,t,null,function(e){return e}),t},only:function(e){return E(e)||_("143"),e}},createRef:function(){return{current:null}},Component:v,PureComponent:y,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,Provider:null,Consumer:null,unstable_read:null}).Provider={$$typeof:l,_context:e},e.Consumer=e,e.unstable_read=function(e,t){var r=x.currentDispatcher;return null===r&&_("277"),r.readContext(e,t)}.bind(null,e),e},forwardRef:function(e){return{$$typeof:h,render:e}},Fragment:a,StrictMode:c,unstable_AsyncMode:f,unstable_Profiler:u,createElement:A,cloneElement:function(e,t,r){(null===e||void 0===e)&&_("267",e);var o=void 0,i=n({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key);var l=void 0;for(o in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)C.call(t,o)&&!w.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==l?l[o]:t[o])}if(1===(o=arguments.length-2))i.children=r;else if(1<o){l=Array(o);for(var p=0;p<o;p++)l[p]=arguments[p+2];i.children=l}return{$$typeof:s,type:e.type,key:a,ref:c,props:i,_owner:u}},createFactory:function(e){var t=A.bind(null,e);return t.type=e,t},isValidElement:E,version:"16.5.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:x,assign:n}},R={default:M},P=R&&M||R;e.exports=P.default||P},function(e,t,r){"use strict";
21
  /*
22
  object-assign
23
  (c) Sindre Sorhus
24
  @license MIT
25
- */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,i,a=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))o.call(r,u)&&(a[u]=r[u]);if(n){i=n(r);for(var l=0;l<i.length;l++)s.call(r,i[l])&&(a[i[l]]=r[i[l]])}}return a}},function(e,t,r){e.exports=r(74)()},function(e,t,r){"use strict";var n=r(75);function o(){}e.exports=function(){function e(e,t,r,o,s,i){if(i!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";var n=r(1),o=r(34),s=r(10);r(77);var i=n(r(79)),a=n(r(136)),c=r(5);new(n(r(66)).default)("markdown",{title:(0,c.__)("Markdown"),description:React.createElement(s.Fragment,null,React.createElement("p",null,(0,c.__)("Use regular characters and punctuation to style text, links, and lists.")),React.createElement(o.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},(0,c.__)("Support reference"))),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},React.createElement("rect",{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),React.createElement("path",{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[(0,c.__)("formatting"),(0,c.__)("syntax"),(0,c.__)("markup")],attributes:{source:{type:"string"}},edit:i.default,save:a.default}).register()},function(e,t,r){},,function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(18)),s=r(65),i=r(10),a=n(r(35)),c=r(5);const u="editor",l="preview";var p=class extends i.Component{constructor(...e){super(...e),(0,o.default)(this,"input",null),(0,o.default)(this,"state",{activePanel:u}),(0,o.default)(this,"bindInput",e=>void(this.input=e)),(0,o.default)(this,"updateSource",e=>this.props.setAttributes({source:e})),(0,o.default)(this,"toggleMode",e=>()=>this.setState({activePanel:e}))}componentDidUpdate(e){e.isSelected&&!this.props.isSelected&&this.state.activePanel===l&&this.toggleMode(u)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===u&&this.input&&this.input.focus()}isEmpty(){const e=this.props.attributes.source;return!e||""===e.trim()}renderToolbarButton(e,t){const{activePanel:r}=this.state;return React.createElement("button",{className:`components-tab-button ${r===e?"is-active":""}`,onClick:this.toggleMode(e)},React.createElement("span",null,t))}render(){const{attributes:e,className:t,isSelected:r}=this.props,{source:n}=e,{activePanel:o}=this.state;return!r&&this.isEmpty()?React.createElement("p",{className:`${t}__placeholder`},(0,c.__)("Write your _Markdown_ **here**...")):React.createElement("div",{className:t},React.createElement(s.BlockControls,null,React.createElement("div",{className:"components-toolbar"},this.renderToolbarButton(u,(0,c.__)("Markdown")),this.renderToolbarButton(l,(0,c.__)("Preview")))),o!==l&&r?React.createElement(s.PlainText,{className:`${t}__editor`,onChange:this.updateSource,"aria-label":(0,c.__)("Markdown"),innerRef:this.bindInput,value:n}):React.createElement(a.default,{className:`${t}__preview`,source:n}))}};t.default=p},function(e,t,r){"use strict";e.exports=r(81)},function(e,t,r){"use strict";var n=r(0),o=r(89),s=r(93),i=r(94),a=r(102),c=r(116),u=r(129),l=r(37),p=r(131),f={default:r(132),zero:r(133),commonmark:r(134)},h=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function _(e){var t=e.trim().toLowerCase();return!h.test(t)||!!d.test(t)}var g=["http:","https:","mailto:"];function m(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return l.encode(l.format(t))}function v(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return l.decode(l.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new i,this.renderer=new s,this.linkify=new u,this.validateLink=_,this.normalizeLink=m,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function o(e,t,r){var s,i,a,c,u,l="";for("string"!=typeof t&&(r=t,t=o.defaultChars),void 0===r&&(r=!0),u=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),s=0,i=e.length;s<i;s++)if(a=e.charCodeAt(s),r&&37===a&&s+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(s+1,s+3)))l+=e.slice(s,s+3),s+=2;else if(a<128)l+=u[a];else if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1<i&&(c=e.charCodeAt(s+1))>=56320&&c<=57343){l+=encodeURIComponent(e[s]+e[s+1]),s++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[s]);return l}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t){var r;return"string"!=typeof t&&(t=o.defaultChars),r=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),o.push(r);for(t=0;t<e.length;t++)o[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,o,s,i,a,c,u="";for(t=0,n=e.length;t<n;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?u+=r[o]:192==(224&o)&&t+3<n&&128==(192&(s=parseInt(e.slice(t+4,t+6),16)))?(u+=(c=o<<6&1984|63&s)<128?"��":String.fromCharCode(c),t+=3):224==(240&o)&&t+6<n&&(s=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&s)&&128==(192&i))?(u+=(c=o<<12&61440|s<<6&4032|63&i)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&o)&&t+9<n&&(s=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),a=parseInt(e.slice(t+10,t+12),16),128==(192&s)&&128==(192&i)&&128==(192&a))?((c=o<<18&1835008|s<<12&258048|i<<6&4032|63&a)<65536||c>1114111?u+="����":(c-=65536,u+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):u+="�";return u})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),u=["%","/","?",";","#"].concat(c),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,s,a,c,_=e;if(_=_.trim(),!t&&1===e.split("#").length){var g=i.exec(_);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var m=o.exec(_);if(m&&(s=(m=m[0]).toLowerCase(),this.protocol=m,_=_.substr(m.length)),(t||m||_.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===_.substr(0,2))||m&&h[m]||(_=_.substr(2),this.slashes=!0)),!h[m]&&(c||m&&!d[m])){var v,b,y=-1;for(r=0;r<l.length;r++)-1!==(a=_.indexOf(l[r]))&&(-1===y||a<y)&&(y=a);for(-1!==(b=-1===y?_.lastIndexOf("@"):_.lastIndexOf("@",y))&&(v=_.slice(0,b),_=_.slice(b+1),this.auth=v),y=-1,r=0;r<u.length;r++)-1!==(a=_.indexOf(u[r]))&&(-1===y||a<y)&&(y=a);-1===y&&(y=_.length),":"===_[y-1]&&y--;var k=_.slice(0,y);_=_.slice(y),this.parseHost(k),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x){var C=this.hostname.split(/\./);for(r=0,n=C.length;r<n;r++){var w=C[r];if(w&&!w.match(p)){for(var A="",E=0,D=w.length;E<D;E++)w.charCodeAt(E)>127?A+="x":A+=w[E];if(!A.match(p)){var S=C.slice(0,r),q=C.slice(r+1),j=w.match(f);j&&(S.push(j[1]),q.unshift(j[2])),q.length&&(_=q.join(".")+_),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var z=_.indexOf("#");-1!==z&&(this.hash=_.substr(z),_=_.slice(0,z));var F=_.indexOf("?");return-1!==F&&(this.search=_.substr(F),_=_.slice(0,F)),_&&(this.pathname=_),d[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(38),t.Cc=r(39),t.Cf=r(88),t.P=r(19),t.Z=r(40)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(90),t.parseLinkDestination=r(91),t.parseLinkTitle=r(92)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s,i,a=-1,c=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(s=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===s)if(i===e.pos-1)n++;else if(r)return e.pos=u,-1}return o&&(a=e.pos),e.pos=u,a}},function(e,t,r){"use strict";var n=r(0).isSpace,o=r(0).unescapeAll;e.exports=function(e,t,r){var s,i,a=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(s=e.charCodeAt(t))||n(s))return c;if(62===s)return c.pos=t+1,c.str=o(e.slice(a+1,t)),c.ok=!0,c;92===s&&t+1<r?t+=2:t++}return c}for(i=0;t<r&&32!==(s=e.charCodeAt(t))&&!(s<32||127===s);)if(92===s&&t+1<r)t+=2;else{if(40===s&&i++,41===s){if(0===i)break;i--}t++}return a===t?c:0!==i?c:(c.str=o(e.slice(a,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var n=r(0).unescapeAll;e.exports=function(e,t,r){var o,s,i=0,a=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return c;for(t++,40===s&&(s=41);t<r;){if((o=e.charCodeAt(t))===s)return c.pos=t+1,c.lines=i,c.str=n(e.slice(a+1,t)),c.ok=!0,c;10===o?i++:92===o&&t+1<r&&(t++,10===e.charCodeAt(t)&&i++),t++}return c}},function(e,t,r){"use strict";var n=r(0).assign,o=r(0).unescapeAll,s=r(0).escapeHtml,i={};function a(){this.rules=n({},i)}i.code_inline=function(e,t,r,n,o){var i=e[t];return"<code"+o.renderAttrs(i)+">"+s(e[t].content)+"</code>"},i.code_block=function(e,t,r,n,o){var i=e[t];return"<pre"+o.renderAttrs(i)+"><code>"+s(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,r,n,i){var a,c,u,l,p=e[t],f=p.info?o(p.info).trim():"",h="";return f&&(h=f.split(/\s+/g)[0]),0===(a=r.highlight&&r.highlight(p.content,h)||s(p.content)).indexOf("<pre")?a+"\n":f?(c=p.attrIndex("class"),u=p.attrs?p.attrs.slice():[],c<0?u.push(["class",r.langPrefix+h]):u[c][1]+=" "+r.langPrefix+h,l={attrs:u},"<pre><code"+i.renderAttrs(l)+">"+a+"</code></pre>\n"):"<pre><code"+i.renderAttrs(p)+">"+a+"</code></pre>\n"},i.image=function(e,t,r,n,o){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(e,t,r)},i.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return s(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+s(e.attrs[t][0])+'="'+s(e.attrs[t][1])+'"';return n},a.prototype.renderToken=function(e,t,r){var n,o="",s=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===i.nesting?"</":"<")+i.tag,o+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(o+=" /"),i.block&&(s=!0,1===i.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden?s=!1:-1===n.nesting&&n.tag===i.tag&&(s=!1))),o+=s?">\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i<a;i++)void 0!==s[n=e[i].type]?o+=s[n](e,i,t,r,this):o+=this.renderToken(e,i,t);return o},a.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,s=e.length;o<s;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},a.prototype.render=function(e,t,r){var n,o,s,i="",a=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(s=e[n].type)?i+=this.renderInline(e[n].children,t,r):void 0!==a[s]?i+=a[e[n].type](e,n,t,r,this):i+=this.renderToken(e,n,t,r);return i},e.exports=a},function(e,t,r){"use strict";var n=r(20),o=[["normalize",r(95)],["block",r(96)],["inline",r(97)],["linkify",r(98)],["replacements",r(99)],["smartquotes",r(100)]];function s(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}s.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},s.prototype.State=r(101),e.exports=s},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(o,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(0).arrayReplaceAt;function o(e){return/^<a[>\s]/i.test(e)}function s(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,i,a,c,u,l,p,f,h,d,_,g,m,v,b,y,k=e.tokens;if(e.md.options.linkify)for(r=0,i=k.length;r<i;r++)if("inline"===k[r].type&&e.md.linkify.pretest(k[r].content))for(g=0,t=(a=k[r].children).length-1;t>=0;t--)if("link_close"!==(u=a[t]).type){if("html_inline"===u.type&&(o(u.content)&&g>0&&g--,s(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(f=u.content,y=e.md.linkify.match(f),l=[],_=u.level,d=0,p=0;p<y.length;p++)m=y[p].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=y[p].text,b=y[p].schema?"mailto:"!==y[p].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),(h=y[p].index)>d&&((c=new e.Token("text","",0)).content=f.slice(d,h),c.level=_,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",v]],c.level=_++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=b,c.level=_,l.push(c),(c=new e.Token("link_close","a",-1)).level=--_,c.markup="linkify",c.info="auto",l.push(c),d=y[p].lastIndex);d<f.length&&((c=new e.Token("text","",0)).content=f.slice(d),c.level=_,l.push(c)),k[r].children=a=n(a,t,l)}}else for(t--;a[t].level!==u.level&&"link_open"!==a[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function a(e,t){return i[t.toLowerCase()]}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(s,a)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function u(e){var t,r,o=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||o||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(o.test(e.tokens[t].content)&&c(e.tokens[t].children),n.test(e.tokens[t].content)&&u(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(0).isWhiteSpace,o=r(0).isPunctChar,s=r(0).isMdAsciiPunct,i=/['"]/,a=/['"]/g,c="’";function u(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function l(e,t){var r,i,l,p,f,h,d,_,g,m,v,b,y,k,x,C,w,A,E,D,S;for(E=[],r=0;r<e.length;r++){for(i=e[r],d=e[r].level,w=E.length-1;w>=0&&!(E[w].level<=d);w--);if(E.length=w+1,"text"===i.type){f=0,h=(l=i.content).length;e:for(;f<h&&(a.lastIndex=f,p=a.exec(l));){if(x=C=!0,f=p.index+1,A="'"===p[0],g=32,p.index-1>=0)g=l.charCodeAt(p.index-1);else for(w=r-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){g=e[w].content.charCodeAt(e[w].content.length-1);break}if(m=32,f<h)m=l.charCodeAt(f);else for(w=r+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){m=e[w].content.charCodeAt(0);break}if(v=s(g)||o(String.fromCharCode(g)),b=s(m)||o(String.fromCharCode(m)),y=n(g),(k=n(m))?x=!1:b&&(y||v||(x=!1)),y?C=!1:v&&(k||b||(C=!1)),34===m&&'"'===p[0]&&g>=48&&g<=57&&(C=x=!1),x&&C&&(x=!1,C=b),x||C){if(C)for(w=E.length-1;w>=0&&(_=E[w],!(E[w].level<d));w--)if(_.single===A&&E[w].level===d){_=E[w],A?(D=t.md.options.quotes[2],S=t.md.options.quotes[3]):(D=t.md.options.quotes[0],S=t.md.options.quotes[1]),i.content=u(i.content,p.index,S),e[_.token].content=u(e[_.token].content,_.pos,D),f+=S.length-1,_.token===r&&(f+=D.length-1),h=(l=i.content).length,E.length=w;continue e}x?E.push({token:r,pos:p.index,single:A,level:d}):C&&A&&(i.content=u(i.content,p.index,c))}else A&&(i.content=u(i.content,p.index,c))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(21);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(20),o=[["table",r(103),["paragraph","reference"]],["code",r(104)],["fence",r(105),["paragraph","reference","blockquote","list"]],["blockquote",r(106),["paragraph","reference","blockquote","list"]],["hr",r(107),["paragraph","reference","blockquote","list"]],["list",r(108),["paragraph","reference","blockquote"]],["reference",r(109)],["heading",r(110),["paragraph","reference","blockquote"]],["lheading",r(111)],["html_block",r(112),["paragraph","reference","blockquote"]],["paragraph",r(114)]];function s(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}s.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),s=o.length,i=t,a=!1,c=e.md.options.maxNesting;i<r&&(e.line=i=e.skipEmptyLines(i),!(i>=r))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<s&&!o[n](e,i,r,!1);n++);e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(i=e.line)<r&&e.isEmpty(i)&&(a=!0,i++,e.line=i)}},s.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},s.prototype.State=r(115),e.exports=s},function(e,t,r){"use strict";var n=r(0).isSpace;function o(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function s(e){var t,r=[],n=0,o=e.length,s=0,i=0,a=!1,c=0;for(t=e.charCodeAt(n);n<o;)96===t?a?(a=!1,c=n):s%2==0&&(a=!0,c=n):124!==t||s%2!=0||a||(r.push(e.substring(i,n)),i=n+1),92===t?s++:s=0,++n===o&&a&&(a=!1,n=c+1),t=e.charCodeAt(n);return r.push(e.substring(i)),r}e.exports=function(e,t,r,i){var a,c,u,l,p,f,h,d,_,g,m,v;if(t+2>r)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((u=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(a=e.src.charCodeAt(u++))&&45!==a&&58!==a)return!1;for(;u<e.eMarks[p];){if(124!==(a=e.src.charCodeAt(u))&&45!==a&&58!==a&&!n(a))return!1;u++}for(f=(c=o(e,t+1)).split("|"),_=[],l=0;l<f.length;l++){if(!(g=f[l].trim())){if(0===l||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?_.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?_.push("left"):_.push("")}if(-1===(c=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=(f=s(c.replace(/^\||\|$/g,""))).length)>_.length)return!1;if(i)return!0;for((d=e.push("table_open","table",1)).map=m=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<f.length;l++)(d=e.push("th_open","th",1)).map=[t,t+1],_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=e.push("inline","",0)).content=f[l].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<r&&!(e.sCount[p]<e.blkIndent)&&-1!==(c=o(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(f=s(c.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),l=0;l<h;l++)d=e.push("td_open","td",1),_[l]&&(d.attrs=[["style","text-align:"+_[l]]]),(d=e.push("inline","",0)).content=f[l]?f[l].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),m[1]=v[1]=p,e.line=p,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(s=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),s.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,s,i,a,c,u,l,p=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(c=f,(s=(f=e.skipChars(f,o))-c)<3)return!1;if(l=e.src.slice(c,f),(i=e.src.slice(f,h)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((f=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]<e.blkIndent);)if(e.src.charCodeAt(f)===o&&!(e.sCount[a]-e.blkIndent>=4||(f=e.skipChars(f,o))-c<s||(f=e.skipSpaces(f))<h)){p=!0;break}return s=e.sCount[t],e.line=a+(p?1:0),(u=e.push("fence","code",0)).info=i,u.content=e.getLines(t+1,a,s,!0),u.markup=l,u.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u,l,p,f,h,d,_,g,m,v,b,y,k,x,C,w,A=e.lineMax,E=e.bMarks[t]+e.tShift[t],D=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(E++))return!1;if(o)return!0;for(c=h=e.sCount[t]+E-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(E)?(E++,c++,h++,s=!1,y=!0):9===e.src.charCodeAt(E)?(y=!0,(e.bsCount[t]+h)%4==3?(E++,c++,h++,s=!1):s=!0):y=!1,d=[e.bMarks[t]],e.bMarks[t]=E;E<D&&(i=e.src.charCodeAt(E),n(i));)9===i?h+=4-(h+e.bsCount[t]+(s?1:0))%4:h++,E++;for(_=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),l=E>=D,v=[e.sCount[t]],e.sCount[t]=h-c,b=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],x=e.md.block.ruler.getRules("blockquote"),m=e.parentType,e.parentType="blockquote",w=!1,f=t+1;f<r&&(e.sCount[f]<e.blkIndent&&(w=!0),!((E=e.bMarks[f]+e.tShift[f])>=(D=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(E++)||w){if(l)break;for(k=!1,a=0,u=x.length;a<u;a++)if(x[a](e,f,r,!0)){k=!0;break}if(k){e.lineMax=f,0!==e.blkIndent&&(d.push(e.bMarks[f]),_.push(e.bsCount[f]),b.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}d.push(e.bMarks[f]),_.push(e.bsCount[f]),b.push(e.tShift[f]),v.push(e.sCount[f]),e.sCount[f]=-1}else{for(c=h=e.sCount[f]+E-(e.bMarks[f]+e.tShift[f]),32===e.src.charCodeAt(E)?(E++,c++,h++,s=!1,y=!0):9===e.src.charCodeAt(E)?(y=!0,(e.bsCount[f]+h)%4==3?(E++,c++,h++,s=!1):s=!0):y=!1,d.push(e.bMarks[f]),e.bMarks[f]=E;E<D&&(i=e.src.charCodeAt(E),n(i));)9===i?h+=4-(h+e.bsCount[f]+(s?1:0))%4:h++,E++;l=E>=D,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(y?1:0),v.push(e.sCount[f]),e.sCount[f]=h-c,b.push(e.tShift[f]),e.tShift[f]=E-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,f),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=m,p[1]=e.line,a=0;a<b.length;a++)e.bMarks[a+t]=d[a],e.tShift[a+t]=b[a],e.sCount[a+t]=v[a],e.bsCount[a+t]=_[a];return e.blkIndent=g,!0}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(s=e.src.charCodeAt(u++))&&45!==s&&95!==s)return!1;for(i=1;u<l;){if((a=e.src.charCodeAt(u++))!==s&&!n(a))return!1;a===s&&i++}return!(i<3)&&(!!o||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(i+1).join(String.fromCharCode(s)),!0))}},function(e,t,r){"use strict";var n=r(0).isSpace;function o(e,t){var r,o,s,i;return o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],42!==(r=e.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<s&&(i=e.src.charCodeAt(o),!n(i))?-1:o}function s(e,t){var r,o=e.bMarks[t]+e.tShift[t],s=o,i=e.eMarks[t];if(s+1>=i)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=i)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-o>=10)return-1}return s<i&&(r=e.src.charCodeAt(s),!n(r))?-1:s}e.exports=function(e,t,r,n){var i,a,c,u,l,p,f,h,d,_,g,m,v,b,y,k,x,C,w,A,E,D,S,q,j,z,F,L,O=!1,T=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(O=!0),(S=s(e,t))>=0){if(f=!0,j=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(j,S-j-1)),O&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;f=!1}if(O&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(S-1),n)return!0;for(g=e.tokens.length,f?(L=e.push("ordered_list_open","ol",1),1!==v&&(L.attrs=[["start",v]])):L=e.push("bullet_list_open","ul",1),L.map=_=[t,0],L.markup=String.fromCharCode(m),y=t,q=!1,F=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";y<r;){for(D=S,b=e.eMarks[y],p=k=e.sCount[y]+S-(e.bMarks[t]+e.tShift[t]);D<b;){if(9===(i=e.src.charCodeAt(D)))k+=4-(k+e.bsCount[y])%4;else{if(32!==i)break;k++}D++}if((l=(a=D)>=b?1:k-p)>4&&(l=1),u=p+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=h=[t,0],x=e.blkIndent,E=e.tight,A=e.tShift[t],C=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=k,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!q||(T=!1),q=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=x,e.tShift[t]=A,e.sCount[t]=C,e.tight=E,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),y=t=e.line,h[1]=y,a=e.bMarks[t],y>=r)break;if(e.sCount[y]<e.blkIndent)break;for(z=!1,c=0,d=F.length;c<d;c++)if(F[c](e,y,r,!0)){z=!0;break}if(z)break;if(f){if((S=s(e,y))<0)break}else if((S=o(e,y))<0)break;if(m!==e.src.charCodeAt(S-1))break}return(L=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(m),_[1]=y,e.line=y,e.parentType=w,T&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t,r,s){var i,a,c,u,l,p,f,h,d,_,g,m,v,b,y,k,x=0,C=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],A=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C<w;)if(93===e.src.charCodeAt(C)&&92!==e.src.charCodeAt(C-1)){if(C+1===w)return!1;if(58!==e.src.charCodeAt(C+1))return!1;break}for(u=e.lineMax,y=e.md.block.ruler.getRules("reference"),_=e.parentType,e.parentType="reference";A<u&&!e.isEmpty(A);A++)if(!(e.sCount[A]-e.blkIndent>3||e.sCount[A]<0)){for(b=!1,p=0,f=y.length;p<f;p++)if(y[p](e,A,u,!0)){b=!0;break}if(b)break}for(w=(v=e.getLines(t,A,e.blkIndent,!1).trim()).length,C=1;C<w;C++){if(91===(i=v.charCodeAt(C)))return!1;if(93===i){d=C;break}10===i?x++:92===i&&++C<w&&10===v.charCodeAt(C)&&x++}if(d<0||58!==v.charCodeAt(d+1))return!1;for(C=d+2;C<w;C++)if(10===(i=v.charCodeAt(C)))x++;else if(!o(i))break;if(!(g=e.md.helpers.parseLinkDestination(v,C,w)).ok)return!1;if(l=e.md.normalizeLink(g.str),!e.md.validateLink(l))return!1;for(a=C=g.pos,c=x+=g.lines,m=C;C<w;C++)if(10===(i=v.charCodeAt(C)))x++;else if(!o(i))break;for(g=e.md.helpers.parseLinkTitle(v,C,w),C<w&&m!==C&&g.ok?(k=g.str,C=g.pos,x+=g.lines):(k="",C=a,x=c);C<w&&(i=v.charCodeAt(C),o(i));)C++;if(C<w&&10!==v.charCodeAt(C)&&k)for(k="",C=a,x=c;C<w&&(i=v.charCodeAt(C),o(i));)C++;return!(C<w&&10!==v.charCodeAt(C))&&(!!(h=n(v.slice(1,d)))&&(!!s||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:k,href:l}),e.parentType=_,e.line=t+x+1,!0)))}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t,r,o){var s,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(s=e.src.charCodeAt(u))||u>=l)return!1;for(i=1,s=e.src.charCodeAt(++u);35===s&&u<l&&i<=6;)i++,s=e.src.charCodeAt(++u);return!(i>6||u<l&&!n(s))&&(!!o||(l=e.skipSpacesBack(l,u),(a=e.skipCharsBack(l,35,u))>u&&n(e.src.charCodeAt(a-1))&&(l=a),e.line=t+1,(c=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(u,l).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,s,i,a,c,u,l,p,f,h=t+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=u)){l=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,s=0,i=d.length;s<i;s++)if(d[s](e,h,r,!0)){o=!0;break}if(o)break}}return!!l&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(a=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),a.map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line-1],a.children=[],(a=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},function(e,t,r){"use strict";var n=r(113),o=r(41).HTML_OPEN_CLOSE_TAG_RE,s=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,i,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(c=e.src.slice(u,l),o=0;o<s.length&&!s[o][0].test(c);o++);if(o===s.length)return!1;if(n)return s[o][2];if(i=t+1,!s[o][1].test(c))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(u=e.bMarks[i]+e.tShift[i],l=e.eMarks[i],c=e.src.slice(u,l),s[o][1].test(c)){0!==c.length&&i++;break}return e.line=i,(a=e.push("html_block","",0)).map=[t,i],a.content=e.getLines(t,i,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s,i,a,c=t+1,u=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(a=e.parentType,e.parentType="paragraph";c<l&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(n=!1,o=0,s=u.length;o<s;o++)if(u[o](e,c,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=r,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=a,!0}},function(e,t,r){"use strict";var n=r(21),o=r(0).isSpace;function s(e,t,r,n){var s,i,a,c,u,l,p,f;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,a=c=l=p=0,u=(i=this.src).length;c<u;c++){if(s=i.charCodeAt(c),!f){if(o(s)){l++,9===s?p+=4-p%4:p++;continue}f=!0}10!==s&&c!==u-1||(10!==s&&c++,this.bMarks.push(a),this.eMarks.push(c),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,a=c+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}s.prototype.push=function(e,t,r){var o=new n(e,t,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},s.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},s.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},s.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),o(t));e++);return e},s.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},s.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},s.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},s.prototype.getLines=function(e,t,r,n){var s,i,a,c,u,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),s=0;f<t;f++,s++){for(i=0,p=c=this.bMarks[f],u=f+1<t||n?this.eMarks[f]+1:this.eMarks[f];c<u&&i<r;){if(a=this.src.charCodeAt(c),o(a))9===a?i+=4-(i+this.bsCount[f])%4:i++;else{if(!(c-p<this.tShift[f]))break;i++}c++}l[s]=i>r?new Array(i-r+1).join(" ")+this.src.slice(c,u):this.src.slice(c,u)}return l.join("")},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";var n=r(20),o=[["text",r(117)],["newline",r(118)],["escape",r(119)],["backticks",r(120)],["strikethrough",r(42).tokenize],["emphasis",r(43).tokenize],["link",r(121)],["image",r(122)],["autolink",r(123)],["html_inline",r(124)],["entity",r(125)]],s=[["balance_pairs",r(126)],["strikethrough",r(42).postProcess],["emphasis",r(43).postProcess],["text_collapse",r(127)]];function i(){var e;for(this.ruler=new n,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new n,e=0;e<s.length;e++)this.ruler2.push(s[e][0],s[e][1])}i.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),s=o.length,i=e.md.options.maxNesting,a=e.cache;if(void 0===a[n]){if(e.level<i)for(r=0;r<s&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,a[n]=e.pos}else e.pos=a[n]},i.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,s=e.posMax,i=e.md.options.maxNesting;e.pos<s;){if(e.level<i)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o<i;o++)s[o](a)},i.prototype.State=r(128),e.exports=i},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(0).isSpace;e.exports=function(e,t){var r,o,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;for(r=e.pending.length-1,o=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s<o&&n(e.src.charCodeAt(s));)s++;return e.pos=s,!0}},function(e,t,r){"use strict";for(var n=r(0).isSpace,o=[],s=0;s<256;s++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,s=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(++s<i){if((r=e.src.charCodeAt(s))<256&&0!==o[r])return t||(e.pending+=e.src[s]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),s++;s<i&&(r=e.src.charCodeAt(s),n(r));)s++;return e.pos=s,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,s,i,a,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),s=i=c;-1!==(s=e.src.indexOf("`",i));){for(i=s+1;i<n&&96===e.src.charCodeAt(i);)i++;if(i-s===o.length)return t||((a=e.push("code_inline","code",0)).markup=o,a.content=e.src.slice(c,s).replace(/[ \n]+/g," ").trim()),e.pos=i,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t){var r,s,i,a,c,u,l,p,f,h="",d=e.pos,_=e.posMax,g=e.pos,m=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=a+1)<_&&40===e.src.charCodeAt(u)){for(m=!1,u++;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);if(u>=_)return!1;for(g=u,(l=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?u=l.pos:h=""),g=u;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);if(l=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<_&&g!==u&&l.ok)for(f=l.str,u=l.pos;u<_&&(s=e.src.charCodeAt(u),o(s)||10===s);u++);else f="";(u>=_||41!==e.src.charCodeAt(u))&&(m=!0),u++}if(m){if(void 0===e.env.references)return!1;if(u<_&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?i=e.src.slice(g,u++):u=a+1):u=a+1,i||(i=e.src.slice(c,a)),!(p=e.env.references[n(i)]))return e.pos=d,!1;h=p.href,f=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",h]],f&&r.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=u,e.posMax=_,!0}},function(e,t,r){"use strict";var n=r(0).normalizeReference,o=r(0).isSpace;e.exports=function(e,t){var r,s,i,a,c,u,l,p,f,h,d,_,g,m="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=c+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);if(l>=b)return!1;for(g=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(f.str),e.md.validateLink(m)?l=f.pos:m=""),g=l;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&g!==l&&f.ok)for(h=f.str,l=f.pos;l<b&&(s=e.src.charCodeAt(l),o(s)||10===s);l++);else h="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(g,l++):l=c+1):l=c+1,a||(a=e.src.slice(u,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;m=p.href,h=p.title}return t||(i=e.src.slice(u,c),e.md.inline.parse(i,e.md,e.env,_=[]),(d=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],d.children=_,d.content=i,h&&r.push(["title",h])),e.pos=l,e.posMax=b,!0}},function(e,t,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,s,i,a,c,u,l=e.pos;return 60===e.src.charCodeAt(l)&&(!((r=e.src.slice(l)).indexOf(">")<0)&&(o.test(r)?(a=(s=r.match(o))[0].slice(1,-1),c=e.md.normalizeLink(a),!!e.md.validateLink(c)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(a),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=s[0].length,!0)):!!n.test(r)&&(a=(i=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+a),!!e.md.validateLink(c)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",c]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(a),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=i[0].length,!0))))}},function(e,t,r){"use strict";var n=r(41).HTML_TAG_RE;e.exports=function(e,t){var r,o,s,i=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=s)&&(!(33!==(r=e.src.charCodeAt(i+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(i).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var n=r(36),o=r(0).has,s=r(0).isValidEntityCode,i=r(0).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,u,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(u=e.src.slice(l).match(a))return t||(r="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=s(r)?i(r):i(65533)),e.pos+=u[0].length,!0}else if((u=e.src.slice(l).match(c))&&o(n,u[1]))return t||(e.pending+=n[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o,s=e.delimiters,i=e.delimiters.length;for(t=0;t<i;t++)if((n=s[t]).close)for(r=t-n.jump-1;r>=0;){if((o=s[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=t-r,n.open=!1,o.end=t,o.jump=0;break}r-=o.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,s=e.tokens.length;for(t=r=0;t<s;t++)n+=o[t].nesting,o[t].level=n,"text"===o[t].type&&t+1<s&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}},function(e,t,r){"use strict";var n=r(21),o=r(0).isWhiteSpace,s=r(0).isPunctChar,i=r(0).isMdAsciiPunct;function a(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}a.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},a.prototype.push=function(e,t,r){this.pending&&this.pushPending();var o=new n(e,t,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,u,l,p,f,h,d=e,_=!0,g=!0,m=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<m&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<m?this.src.charCodeAt(d):32,p=i(r)||s(String.fromCharCode(r)),h=i(n)||s(String.fromCharCode(n)),l=o(r),(f=o(n))?_=!1:h&&(l||p||(_=!1)),l?g=!1:p&&(f||h||(g=!1)),t?(c=_,u=g):(c=_&&(!g||p),u=g&&(!_||h)),{can_open:c,can_close:u,length:a}},a.prototype.Token=n,e.exports=a},function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function s(e){return"[object Function]"===o(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},u="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=r(130)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(u),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,function(e){return"[object Object]"===o(e)}(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?s(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(s(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function f(e,t){var r=new function(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);t||function(e){return Object.keys(e||{}).reduce(function(e,t){return e||a.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},p(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(38).source,t.src_Cc=r(39).source,t.src_Z=r(40).source,t.src_P=r(19).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){"object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType;var s="object"==typeof window&&window;s.global!==s&&s.window!==s&&s.self;var i,a=2147483647,c=36,u=1,l=26,p=38,f=700,h=72,d=128,_="-",g=/^xn--/,m=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=c-u,k=Math.floor,x=String.fromCharCode;function C(e){throw RangeError(b[e])}function w(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function A(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+w((e=e.replace(v,".")).split("."),t).join(".")}function E(e){for(var t,r,n=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function D(e){return w(e,function(e){var t="";return e>65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function q(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function j(e,t,r){var n=0;for(e=r?k(e/f):e>>1,e+=k(e/t);e>y*l>>1;n+=c)e=k(e/y);return k(n+(y+1)*e/(e+p))}function z(e){var t,r,n,o,s,i,p,f,g,m,v=[],b=e.length,y=0,x=d,w=h;for((r=e.lastIndexOf(_))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&C("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<b;){for(s=y,i=1,p=c;o>=b&&C("invalid-input"),((f=S(e.charCodeAt(o++)))>=c||f>k((a-y)/i))&&C("overflow"),y+=f*i,!(f<(g=p<=w?u:p>=w+l?l:p-w));p+=c)i>k(a/(m=c-g))&&C("overflow"),i*=m;w=j(y-s,t=v.length+1,0==s),k(y/t)>a-x&&C("overflow"),x+=k(y/t),y%=t,v.splice(y++,0,x)}return D(v)}function F(e){var t,r,n,o,s,i,p,f,g,m,v,b,y,w,A,D=[];for(b=(e=E(e)).length,t=d,r=0,s=h,i=0;i<b;++i)(v=e[i])<128&&D.push(x(v));for(n=o=D.length,o&&D.push(_);n<b;){for(p=a,i=0;i<b;++i)(v=e[i])>=t&&v<p&&(p=v);for(p-t>k((a-r)/(y=n+1))&&C("overflow"),r+=(p-t)*y,t=p,i=0;i<b;++i)if((v=e[i])<t&&++r>a&&C("overflow"),v==t){for(f=r,g=c;!(f<(m=g<=s?u:g>=s+l?l:g-s));g+=c)A=f-m,w=c-m,D.push(x(q(m+A%w,0))),f=k(A/w);D.push(x(q(f,0))),s=j(r,y,n==o),r=0,++n}++r,++t}return D.join("")}i={version:"1.3.2",ucs2:{decode:E,encode:D},decode:z,encode:F,toASCII:function(e){return A(e,function(e){return m.test(e)?"xn--"+F(e):e})},toUnicode:function(e){return A(e,function(e){return g.test(e)?z(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(22)(e))},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t){e.exports=wp.i18n},function(e,t,r){"use strict";var n=r(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(35));t.default=(({attributes:e,className:t})=>React.createElement(o.default,{className:t,source:e.source}))},function(e,t,r){var n=r(138),o=r(44);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(12),o=Object.prototype,s=o.hasOwnProperty,i=o.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[a]=r:delete e[a]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=r(142)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,s){t.push(n?s.replace(o,"$1"):r||e)}),t});e.exports=s},function(e,t,r){var n=r(143),o=500;e.exports=function(e){var t=n(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(24),o="Expected a function";function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],s=r.cache;if(s.has(o))return s.get(o);var i=e.apply(this,n);return r.cache=s.set(o,i)||s,i};return r.cache=new(s.Cache||n),r}s.Cache=n,e.exports=s},function(e,t,r){var n=r(145),o=r(14),s=r(26);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||o),string:new n}}},function(e,t,r){var n=r(146),o=r(151),s=r(152),i=r(153),a=r(154);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=i,c.prototype.set=a,e.exports=c},function(e,t,r){var n=r(13);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(46),o=r(148),s=r(8),i=r(47),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||o(e))&&(n(e)?f:a).test(i(e))}},function(e,t,r){var n=r(149),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(2)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(13),o="__lodash_hash_undefined__",s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return s.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(13),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(13),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(15),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},function(e,t,r){var n=r(15);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(15);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(15);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(16);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(16);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(16);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(166);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(12),o=r(31),s=r(3),i=r(17),a=1/0,c=n?n.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(s(t))return o(t,e)+"";if(i(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-a?"-0":r}},function(e,t,r){var n=r(6),o=r(7),s="[object Arguments]";e.exports=function(e){return o(e)&&n(e)==s}},function(e,t,r){var n=r(31),o=r(169),s=r(210),i=r(215);e.exports=function(e,t){if(null==e)return{};var r=n(i(e),function(e){return[e]});return t=o(t),s(e,r,function(e,r){return t(e,r[0])})}},function(e,t,r){var n=r(170),o=r(203),s=r(206),i=r(3),a=r(207);e.exports=function(e){return"function"==typeof e?e:null==e?s:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):a(e)}},function(e,t,r){var n=r(171),o=r(202),s=r(63);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?s(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(50),o=r(51),s=1,i=2;e.exports=function(e,t,r,a){var c=r.length,u=c,l=!a;if(null==e)return!u;for(e=Object(e);c--;){var p=r[c];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++c<u;){var f=(p=r[c])[0],h=e[f],d=p[1];if(l&&p[2]){if(void 0===h&&!(f in e))return!1}else{var _=new n;if(a)var g=a(h,d,f,e,t,_);if(!(void 0===g?o(d,h,s|i,a,_):g))return!1}}return!0}},function(e,t,r){var n=r(14);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(14),o=r(26),s=r(24),i=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<i-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new s(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(50),o=r(52),s=r(183),i=r(187),a=r(197),c=r(3),u=r(58),l=r(59),p=1,f="[object Arguments]",h="[object Array]",d="[object Object]",_=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,m,v){var b=c(e),y=c(t),k=b?h:a(e),x=y?h:a(t),C=(k=k==f?d:k)==d,w=(x=x==f?d:x)==d,A=k==x;if(A&&u(e)){if(!u(t))return!1;b=!0,C=!1}if(A&&!C)return v||(v=new n),b||l(e)?o(e,t,r,g,m,v):s(e,t,k,r,g,m,v);if(!(r&p)){var E=C&&_.call(e,"__wrapped__"),D=w&&_.call(t,"__wrapped__");if(E||D){var S=E?e.value():e,q=D?t.value():t;return v||(v=new n),m(S,q,r,g,v)}}return!!A&&(v||(v=new n),i(e,t,r,g,m,v))}},function(e,t,r){var n=r(24),o=r(179),s=r(180);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=s,e.exports=i},function(e,t){var r="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,r),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(12),o=r(184),s=r(25),i=r(52),a=r(185),c=r(186),u=1,l=2,p="[object Boolean]",f="[object Date]",h="[object Error]",d="[object Map]",_="[object Number]",g="[object RegExp]",m="[object Set]",v="[object String]",b="[object Symbol]",y="[object ArrayBuffer]",k="[object DataView]",x=n?n.prototype:void 0,C=x?x.valueOf:void 0;e.exports=function(e,t,r,n,x,w,A){switch(r){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!w(new o(e),new o(t)));case p:case f:case _:return s(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case v:return e==t+"";case d:var E=a;case m:var D=n&u;if(E||(E=c),e.size!=t.size&&!D)return!1;var S=A.get(e);if(S)return S==t;n|=l,A.set(e,t);var q=i(E(e),E(t),n,x,w,A);return A.delete(e),q;case b:if(C)return C.call(e)==C.call(t)}return!1}},function(e,t,r){var n=r(2).Uint8Array;e.exports=n},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(188),o=1,s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,c){var u=r&o,l=n(e),p=l.length;if(p!=n(t).length&&!u)return!1;for(var f=p;f--;){var h=l[f];if(!(u?h in t:s.call(t,h)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var _=!0;c.set(e,t),c.set(t,e);for(var g=u;++f<p;){var m=e[h=l[f]],v=t[h];if(i)var b=u?i(v,m,h,t,e,c):i(m,v,h,e,t,c);if(!(void 0===b?m===v||a(m,v,r,i,c):b)){_=!1;break}g||(g="constructor"==h)}if(_&&!g){var y=e.constructor,k=t.constructor;y!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k)&&(_=!1)}return c.delete(e),c.delete(t),_}},function(e,t,r){var n=r(53),o=r(55),s=r(32);e.exports=function(e){return n(e,s,o)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,s=[];++r<n;){var i=e[r];t(i,r,e)&&(s[o++]=i)}return s}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(6),o=r(28),s=r(7),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&o(e.length)&&!!i[n(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(45),o="object"==typeof t&&t&&!t.nodeType&&t,s=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=s&&s.exports===o&&n.process,a=function(){try{var e=s&&s.require&&s.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}).call(this,r(22)(e))},function(e,t,r){var n=r(60),o=r(196),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))s.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(61)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(198),o=r(26),s=r(199),i=r(200),a=r(201),c=r(6),u=r(47),l=u(n),p=u(o),f=u(s),h=u(i),d=u(a),_=c;(n&&"[object DataView]"!=_(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=_(new o)||s&&"[object Promise]"!=_(s.resolve())||i&&"[object Set]"!=_(new i)||a&&"[object WeakMap]"!=_(new a))&&(_=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return t}),e.exports=_},function(e,t,r){var n=r(4)(r(2),"DataView");e.exports=n},function(e,t,r){var n=r(4)(r(2),"Promise");e.exports=n},function(e,t,r){var n=r(4)(r(2),"Set");e.exports=n},function(e,t,r){var n=r(4)(r(2),"WeakMap");e.exports=n},function(e,t,r){var n=r(62),o=r(32);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var s=t[r],i=e[s];t[r]=[s,i,n(i)]}return t}},function(e,t,r){var n=r(51),o=r(49),s=r(204),i=r(23),a=r(62),c=r(63),u=r(9),l=1,p=2;e.exports=function(e,t){return i(e)&&a(t)?c(u(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?s(r,e):n(t,i,l|p)}}},function(e,t,r){var n=r(205),o=r(44);e.exports=function(e,t){return null!=e&&o(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,r){var n=r(208),o=r(209),s=r(23),i=r(9);e.exports=function(e){return s(e)?n(i(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(29);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){var n=r(29),o=r(211),s=r(11);e.exports=function(e,t,r){for(var i=-1,a=t.length,c={};++i<a;){var u=t[i],l=n(e,u);r(l,u)&&o(c,s(u,e),l)}return c}},function(e,t,r){var n=r(212),o=r(11),s=r(27),i=r(8),a=r(9);e.exports=function(e,t,r,c){if(!i(e))return e;for(var u=-1,l=(t=o(t,e)).length,p=l-1,f=e;null!=f&&++u<l;){var h=a(t[u]),d=r;if(u!=p){var _=f[h];void 0===(d=c?c(_,h,f):void 0)&&(d=i(_)?_:s(t[u+1])?[]:{})}n(f,h,d),f=f[h]}return e}},function(e,t,r){var n=r(213),o=r(25),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];s.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(214);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(4),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(53),o=r(216),s=r(218);e.exports=function(e){return n(e,s,o)}},function(e,t,r){var n=r(54),o=r(217),s=r(55),i=r(56),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,s(e)),e=o(e);return t}:i;e.exports=a},function(e,t,r){var n=r(61)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(57),o=r(219),s=r(33);e.exports=function(e){return s(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(8),o=r(60),s=r(220),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=o(e),r=[];for(var a in e)("constructor"!=a||!t&&i.call(e,a))&&r.push(a);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},,,function(e,t,r){r(67),r(68),e.exports=r(76)}]));
1
+ !function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){function t(t){for(var r,n,i=t[0],a=t[1],s=0,c=[];s<i.length;s++)n=i[s],o[n]&&c.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(l&&l(t);c.length;)c.shift()()}var r={},n={0:0},o={0:0};function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{2:1}[e]&&t.push(n[e]=new Promise(function(t,r){for(var n="rtl"===document.dir?({2:"map/mapbox-gl"}[e]||e)+".rtl.css":({2:"map/mapbox-gl"}[e]||e)+".css",o=i.p+n,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var c=(u=a[s]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===n||c===o))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var u;if((c=(u=l[s]).getAttribute("data-href"))===n||c===o)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.setAttribute("data-webpack",!0),p.onload=t,p.onerror=function(t){var n=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,r(i)},p.href=o,document.getElementsByTagName("head")[0].appendChild(p)}).then(function(){n[e]=0}));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=a);var s,c=document.getElementsByTagName("head")[0],l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({2:"map/mapbox-gl"}[e]||e)+".js"}(e),s=function(t){l.onerror=l.onload=null,clearTimeout(u);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+n+": "+i+")");a.type=n,a.request=i,r[1](a)}o[e]=void 0}};var u=setTimeout(function(){s({type:"timeout",target:l})},12e4);l.onerror=l.onload=s,c.appendChild(l)}return Promise.all(t)},i.m=e,i.c=r,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],s=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var l=s;return i(i.s=220)}([function(e,t,r){"use strict";r.d(t,"a",function(){return s}),r.d(t,"b",function(){return c}),r.d(t,"c",function(){return l});var n=r(20),o=r.n(n),i=r(14),a=function(e){var t=o()(e);return t.push("jetpack"),t};function s(){return i.__.apply(void 0,o()(a(arguments)))}function c(){return i._n.apply(void 0,o()(a(arguments)))}function l(){return i._x.apply(void 0,o()(a(arguments)))}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.element},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){var n=r(23),o=r(1);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(50);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(58);var p=/[&<>"]/,d=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(38);t.lib={},t.lib.mdurl=r(59),t.lib.ucmicro=r(103),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(r):e}(e,r)})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t){e.exports=window.lodash},function(e,t){e.exports=wp.editor},function(e,t,r){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t){e.exports=wp.i18n},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.compose},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=r(11),o=r(15),i=r(34);function a(e,t){var r=Object(i.a)(),a=Object(n.get)(r,["available_blocks",e,"available"],!1);return!(r&&!a)&&Object(o.registerBlockType)("jetpack/".concat(e),t)}},function(e,t,r){var n=r(4);e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){n(e,t,r[t])})}return e}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(0),o={name:"jetpack/map",title:Object(n.a)("Map"),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"}),React.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),category:"jetpack",keywords:[Object(n.a)("map"),Object(n.a)("location")],description:Object(n.a)("Add an interactive map showing one or more locations."),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"}},mapStyleOptions:[{value:"default",label:Object(n.a)("Basic")},{value:"black_and_white",label:Object(n.a)("Black and white")},{value:"satellite",label:Object(n.a)("Satellite")},{value:"terrain",label:Object(n.a)("Terrain")}],validAlignments:["center","wide","full"],markerIcon:React.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},React.createElement("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},React.createElement("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),React.createElement("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"}))))}},function(e,t,r){var n=r(47),o=r(48),i=r(49);e.exports=function(e){return n(e)||o(e)||i()}},function(e,t){e.exports=wp.data},function(e,t,r){"use strict";e.exports=r(78)},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t){e.exports=wp.keycodes},function(e,t){e.exports=wp.apiFetch},function(e,t,r){var n=r(67)(Object,"create");e.exports=n},function(e,t,r){var n=r(181);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(187);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){"use strict";r.r(t);var n=r(30),o=r.n(n),i=r(31),a=r.n(i),s=r(13),c=r.n(s),l=r(32),u=r.n(l);r(83);t.default=function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,i=void 0!==n&&n,s=a()(e,["children","isError"]),l=c()("help-message",{"help-message-is-error":i});return r&&React.createElement("div",o()({className:l},s),i&&React.createElement(u.a,{size:"24"}),React.createElement("span",null,r))}},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t,r){var n=r(82);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,i=e.onClick,a=(e.icon,e.className),s=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),c=["gridicon","gridicons-notice-outline",a,!!function(e){return 0==e%18}(r)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",n({className:c,height:r,width:r,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var o=function(e){return e&&e.__esModule?e:{default:e}}(r(22));e.exports=t.default},function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some(function(e){return e.length>63})}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(23),o=r.n(n),i=r(11),a=["Jetpack_Editor_Initial_State"];function s(){return Object(i.get)("object"===("undefined"==typeof window?"undefined":o()(window))?window:null,a,null)}},function(e,t,r){var n=r(154);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){var n=r(51),o=r(52),i=r(53);e.exports=function(e,t){return n(e)||o(e,t)||i()}},function(e,t,r){"use strict";var n=r(36),o=r.n(n),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(0),k=r(11),_=r(2),C=r(3),x=(r(54),function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"handleClick",function(){(0,r.props.onClick)(g()(g()(r)))}),v()(g()(g()(r)),"getPoint",function(){var e=r.props.point;return[e.coordinates.longitude,e.coordinates.latitude]}),r}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,r=e.point,n=e.mapboxgl,o=e.markerColor,i=this.handleClick,a=[r.coordinates.longitude,r.coordinates.latitude],s=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(a):(s.className="wp-block-jetpack-map-marker",this.marker=new n.Marker(s).setLngLat(a).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),s.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(C.Component));x.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var E=x,w=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"closeClick",function(){r.props.unsetActiveMarker()}),r}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(C.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,r=e.activeMarker;this.infowindow.setLngLat(r.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(C.Component);w.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var A=w;var j=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onMarkerClick",function(t){var r=e.props.onMarkerClick;e.setState({activeMarker:t}),r()}),v()(g()(g()(e)),"onMapClick",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"clearCurrentMarker",function(){e.setState({activeMarker:null})}),v()(g()(g()(e)),"updateActiveMarker",function(t){var r=e.props.points,n=e.state.activeMarker.props.index,o=r.slice(0);Object(k.assign)(o[n],t),e.props.onSetPoints(o)}),v()(g()(g()(e)),"deleteActiveMarker",function(){var t=e.props.points,r=e.state.activeMarker.props.index,n=t.slice(0);n.splice(r,1),e.props.onSetPoints(n),e.setState({activeMarker:null})}),v()(g()(g()(e)),"sizeMap",function(){var t=e.state.map,r=e.mapRef.current,n=r.offsetWidth,o=.8*window.innerHeight,i=Math.min(.75*n,o);r.style.height=i+"px",t.resize(),e.setBoundsByMarkers()}),v()(g()(g()(e)),"setBoundsByMarkers",function(){var t=e.props,r=t.zoom,n=t.points,o=t.onSetZoom,i=e.state,a=i.map,s=i.activeMarker,c=i.mapboxgl,l=i.zoomControl,u=i.boundsSetProgrammatically;if(a&&n.length&&!s){var p=new c.LngLatBounds;if(n.forEach(function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])}),n.length>1)return a.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void a.removeControl(l);if(a.setCenter(p.getCenter()),u){a.setZoom(12),o(12)}else a.setZoom(parseInt(r,10));a.addControl(l),e.setState({boundsSetProgrammatically:!1})}}),v()(g()(g()(e)),"scriptsLoaded",function(){var t=e.props,r=t.mapCenter,n=t.points;e.setState({loaded:!0}),n.length,e.initMap(r)}),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(C.createRef)(),e.debouncedSizeMap=Object(k.debounce)(e.sizeMap,250),e}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.points,n=t.admin,o=t.children,i=t.markerColor,a=this.state,s=a.map,c=a.activeMarker,l=a.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,f=Object(k.get)(c,"props.point")||{},h=f.title,m=f.caption,g=C.Children.map(o,function(e){if("AddPoint"===Object(k.get)(e,"props.tagName"))return e}),b=s&&l&&r.map(function(e,t){return React.createElement(E,{key:t,point:e,index:t,map:s,mapboxgl:l,markerColor:i,onClick:u})}),v=l&&React.createElement(A,{activeMarker:c,map:s,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&n&&React.createElement(C.Fragment,null,React.createElement(_.TextControl,{label:Object(y.a)("Marker Title"),value:h,onChange:function(e){return d({title:e})}}),React.createElement(_.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.a)("Marker Caption"),value:m,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),React.createElement(_.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},React.createElement(_.Dashicon,{icon:"trash",size:"15"})," ",Object(y.a)("Delete Marker"))),c&&!n&&React.createElement(C.Fragment,null,React.createElement("h3",null,h),React.createElement("p",null,m)));return React.createElement(C.Fragment,null,React.createElement("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},b),v,g)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.apiKey,n=t.children,o=t.points,i=t.mapStyle,a=t.mapDetails,s=this.state.map;r&&r.length>0&&r!==e.apiKey&&this.loadMapLibraries(),n!==e.children&&!1!==n&&this.clearCurrentMarker(),o!==e.points&&this.setBoundsByMarkers(),o.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&a===e.mapDetails||s.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([r.e(2).then(r.t.bind(null,231,7)),r.e(2).then(r.t.bind(null,232,7))]).then(function(r){var n=o()(r,1)[0].default;n.accessToken=t,e.setState({mapboxgl:n},e.scriptsLoaded)})}},{key:"initMap",value:function(e){var t=this,r=this.state.mapboxgl,n=this.props,o=n.zoom,i=n.onMapLoaded,a=n.onError,s=n.admin,c=null;try{c=new r.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(o,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(e){return void a("mapbox_error",e.message)}c.on("error",function(e){a("mapbox_error",e.error.message)});var l=new r.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",function(){t.props.onSetZoom(c.getZoom())}),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:l},function(){t.debouncedSizeMap(),c.addControl(l),s||c.addControl(new r.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.resize(),i(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)})}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(C.Component);j.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=j},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function n(){this.__rules__=[],this.__cache__=null}n.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))})})},n.prototype.at=function(e,t,r){var n=this.__find__(e),o=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=o.alt||[],this.__cache__=null},n.prototype.before=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.after=function(e,t,r,n){var o=this.__find__(e),i=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},n.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)},this),this.__cache__=null,r},n.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},n.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach(function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)},this),this.__cache__=null,r},n.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=n},function(e,t,r){"use strict";function n(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}n.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},n.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},n.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},n.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},n.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=n},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(66),o=r(160),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&n(e)==i}},function(e,t,r){var n=r(44).Symbol;e.exports=n},function(e,t,r){var n=r(157),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){e.exports=r(80)()},function(e,t,r){"use strict";r.r(t);var n=r(23);"object"===("undefined"==typeof window?"undefined":r.n(n)()(window))&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";e.exports=r(98)},function(e,t,r){"use strict";e.exports.encode=r(99),e.exports.decode=r(100),e.exports.format=r(101),e.exports.parse=r(102)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(e,t,r){"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+n+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+n+"|"+o+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),r=0;r<o;r+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a=[],s=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(n=s[t]).marker&&-1!==n.end&&(o=s[n.end],(i=e.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(r=(t=a.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:n.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},e.exports.postProcess=function(e){var t,r,n,o,i,a,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=s[t]).marker&&42!==r.marker||-1!==r.end&&(n=s[r.end],a=t>0&&s[t-1].end===r.end+1&&s[t-1].token===r.token-1&&s[r.end+1].token===n.token+1&&s[t-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[r.end+1].token].content="",t--))}},function(e,t,r){var n=r(43),o=r(158),i=r(159),a="[object Null]",s="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?o(e):i(e)}},function(e,t,r){var n=r(168),o=r(173);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(70);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(43),o=r(191),i=r(41),a=r(42),s=1/0,c=n?n.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-s?"-0":r}},function(e,t,r){"use strict";e.exports=r(97)},function(e,t){e.exports=wp.editPost},function(e,t){e.exports=wp.plugins},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)})}}},function(e,t,r){e.exports=r.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,r){e.exports=r.p+"images/paypal-button@2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,r){var n=r(70),o=r(197),i=r(199),a=r(204),s=r(69),c=/\s+$/;e.exports=function(e,t,r){if((e=s(e))&&(r||void 0===t))return e.replace(c,"");if(!e||!(t=n(t)))return e;var l=a(e),u=i(l,a(t))+1;return o(l,0,u).join("")}},function(e,t,r){"use strict";
13
+ /** @license React v16.6.1
14
  * react.production.min.js
15
  *
16
  * Copyright (c) Facebook, Inc. and its affiliates.
17
  *
18
  * This source code is licensed under the MIT license found in the
19
  * LICENSE file in the root directory of this source tree.
20
+ */var n=r(79),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,p=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,f=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k={};function _(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}function C(){}function x(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&v("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=_.prototype;var E=x.prototype=new C;E.constructor=x,n(E,_.prototype),E.isPureReactComponent=!0;var w={current:null,currentDispatcher:null},A=Object.prototype.hasOwnProperty,j={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n=void 0,o={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)A.call(t,n)&&!j.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:w.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var R=/\/+/g,D=[];function M(e,t,r,n){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function z(e,t,r){return null==e?0:function e(t,r,n,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return n(o,t,""===r?"."+T(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=r+T(s=t[l],l);c+=e(s,u,n,o)}else if(u=null===t||"object"!=typeof t?null:"function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=r+T(s,l++),n,o);else"object"===s&&v("31","[object Object]"==(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return c}(e,"",t,r)}function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function q(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,n,r,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+r)),n.push(e))}function L(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(R,"$&/")+"/"),z(e,F,t=M(t,i,n,o)),P(t)}var N={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return L(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;z(e,q,t=M(null,null,t,r)),P(t)},count:function(e){return z(e,function(){return null},null)},toArray:function(e){var t=[];return L(e,t,null,function(e){return e}),t},only:function(e){return O(e)||v("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:x,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},Fragment:s,StrictMode:c,Suspense:h,createElement:S,cloneElement:function(e,t,r){(null===e||void 0===e)&&v("267",e);var o=void 0,a=n({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=w.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)A.call(t,o)&&!j.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=r;else if(1<o){u=Array(o);for(var p=0;p<o;p++)u[p]=arguments[p+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=S.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:n}};N.unstable_ConcurrentMode=d,N.unstable_Profiler=l;var I={default:N},B=I&&N||I;e.exports=B.default||B},function(e,t,r){"use strict";
21
  /*
22
  object-assign
23
  (c) Sindre Sorhus
24
  @license MIT
25
+ */var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in r=Object(arguments[c]))o.call(r,l)&&(s[l]=r[l]);if(n){a=n(r);for(var u=0;u<a.length;u++)i.call(r,a[u])&&(s[a[u]]=r[a[u]])}}return s}},function(e,t,r){"use strict";var n=r(81);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){},,function(e,t,r){"use strict";var n=r(10),o=r(105),i=r(109),a=r(110),s=r(118),c=r(132),l=r(145),u=r(59),p=r(147),d={default:r(149),zero:r(150),commonmark:r(151)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function b(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new s,this.core=new a,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=b,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return n.assign(this.options,e),this},y.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)}),this},y.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},y.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return r.indexOf(e)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},function(e,t,r){"use strict";var n={};function o(e,t,r){var i,a,s,c,l,u="";for("string"!=typeof t&&(r=t,t=o.defaultChars),void 0===r&&(r=!0),l=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}(t),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),r&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(s<128)u+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(c=e.charCodeAt(i+1))>=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t){var r;return"string"!=typeof t&&(t=o.defaultChars),r=function(e){var t,r,o=n[e];if(o)return o;for(o=n[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),o.push(r);for(t=0;t<e.length;t++)o[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(t),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,o,i,a,s,c,l="";for(t=0,n=e.length;t<n;t+=3)(o=parseInt(e.slice(t+1,t+3),16))<128?l+=r[o]:192==(224&o)&&t+3<n&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(c=o<<6&1984|63&i)<128?"��":String.fromCharCode(c),t+=3):224==(240&o)&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&a))?(l+=(c=o<<12&61440|i<<6&4032|63&a)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&o)&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&a)&&128==(192&s))?((c=o<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||c>1114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="�";return l})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),l=["%","/","?",";","#"].concat(c),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(e,t){var r,n,i,s,c,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var b=o.exec(m);if(b&&(i=(b=b[0]).toLowerCase(),this.protocol=b,m=m.substr(b.length)),(t||b||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===m.substr(0,2))||b&&f[b]||(m=m.substr(2),this.slashes=!0)),!f[b]&&(c||b&&!h[b])){var v,y,k=-1;for(r=0;r<u.length;r++)-1!==(s=m.indexOf(u[r]))&&(-1===k||s<k)&&(k=s);for(-1!==(y=-1===k?m.lastIndexOf("@"):m.lastIndexOf("@",k))&&(v=m.slice(0,y),m=m.slice(y+1),this.auth=v),k=-1,r=0;r<l.length;r++)-1!==(s=m.indexOf(l[r]))&&(-1===k||s<k)&&(k=s);-1===k&&(k=m.length),":"===m[k-1]&&k--;var _=m.slice(0,k);m=m.slice(k),this.parseHost(_),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var x=this.hostname.split(/\./);for(r=0,n=x.length;r<n;r++){var E=x[r];if(E&&!E.match(p)){for(var w="",A=0,j=E.length;A<j;A++)E.charCodeAt(A)>127?w+="x":w+=E[A];if(!w.match(p)){var S=x.slice(0,r),O=x.slice(r+1),R=E.match(d);R&&(S.push(R[1]),O.unshift(R[2])),O.length&&(m=O.join(".")+m),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf("#");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var M=m.indexOf("?");return-1!==M&&(this.search=m.substr(M),m=m.slice(0,M)),m&&(this.pathname=m),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},n.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof n)return e;var r=new n;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(60),t.Cc=r(61),t.Cf=r(104),t.P=r(38),t.Z=r(62)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(106),t.parseLinkDestination=r(107),t.parseLinkTitle=r(108)},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s}},function(e,t,r){"use strict";var n=r(10).isSpace,o=r(10).unescapeAll;e.exports=function(e,t,r){var i,a,s=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(i=e.charCodeAt(t))||n(i))return c;if(62===i)return c.pos=t+1,c.str=o(e.slice(s+1,t)),c.ok=!0,c;92===i&&t+1<r?t+=2:t++}return c}for(a=0;t<r&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<r)t+=2;else{if(40===i&&a++,41===i){if(0===a)break;a--}t++}return s===t?c:0!==a?c:(c.str=o(e.slice(s,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var n=r(10).unescapeAll;e.exports=function(e,t,r){var o,i,a=0,s=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t<r;){if((o=e.charCodeAt(t))===i)return c.pos=t+1,c.lines=a,c.str=n(e.slice(s+1,t)),c.ok=!0,c;10===o?a++:92===o&&t+1<r&&(t++,10===e.charCodeAt(t)&&a++),t++}return c}},function(e,t,r){"use strict";var n=r(10).assign,o=r(10).unescapeAll,i=r(10).escapeHtml,a={};function s(){this.rules=n({},a)}a.code_inline=function(e,t,r,n,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,r,n,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,r,n,a){var s,c,l,u,p=e[t],d=p.info?o(p.info).trim():"",f="";return d&&(f=d.split(/\s+/g)[0]),0===(s=r.highlight&&r.highlight(p.content,f)||i(p.content)).indexOf("<pre")?s+"\n":d?(c=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],c<0?l.push(["class",r.langPrefix+f]):l[c][1]+=" "+r.langPrefix+f,u={attrs:l},"<pre><code"+a.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},a.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return n},s.prototype.renderToken=function(e,t,r){var n,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&r.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden?i=!1:-1===n.nesting&&n.tag===a.tag&&(i=!1))),o+=i?">\n":">")},s.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[n=e[a].type]?o+=i[n](e,a,t,r,this):o+=this.renderToken(e,a,t);return o},s.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,i=e.length;o<i;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},s.prototype.render=function(e,t,r){var n,o,i,a="",s=this.rules;for(n=0,o=e.length;n<o;n++)"inline"===(i=e[n].type)?a+=this.renderInline(e[n].children,t,r):void 0!==s[i]?a+=s[e[n].type](e,n,t,r,this):a+=this.renderToken(e,n,t,r);return a},e.exports=s},function(e,t,r){"use strict";var n=r(39),o=[["normalize",r(111)],["block",r(112)],["inline",r(113)],["linkify",r(114)],["replacements",r(115)],["smartquotes",r(116)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},i.prototype.State=r(117),e.exports=i},function(e,t,r){"use strict";var n=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,o=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(n,"\n")).replace(o,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r<n;r++)"inline"===(t=o[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var n=r(10).arrayReplaceAt;function o(e){return/^<a[>\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_=e.tokens;if(e.md.options.linkify)for(r=0,a=_.length;r<a;r++)if("inline"===_[r].type&&e.md.linkify.pretest(_[r].content))for(g=0,t=(s=_[r].children).length-1;t>=0;t--)if("link_close"!==(l=s[t]).type){if("html_inline"===l.type&&(o(l.content)&&g>0&&g--,i(l.content)&&g++),!(g>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,k=e.md.linkify.match(d),u=[],m=l.level,h=0,p=0;p<k.length;p++)b=k[p].url,v=e.md.normalizeLink(b),e.md.validateLink(v)&&(y=k[p].text,y=k[p].schema?"mailto:"!==k[p].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=k[p].index)>h&&((c=new e.Token("text","",0)).content=d.slice(h,f),c.level=m,u.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",v]],c.level=m++,c.markup="linkify",c.info="auto",u.push(c),(c=new e.Token("text","",0)).content=y,c.level=m,u.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",u.push(c),h=k[p].lastIndex);h<d.length&&((c=new e.Token("text","",0)).content=d.slice(h),c.level=m,u.push(c)),_[r].children=s=n(s,t,u)}}else for(t--;s[t].level!==l.level&&"link_open"!==s[t].type;)t--}},function(e,t,r){"use strict";var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,o=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function s(e,t){return a[t.toLowerCase()]}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(i,s)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function l(e){var t,r,o=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||o||n.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(o.test(e.tokens[t].content)&&c(e.tokens[t].children),n.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,r){"use strict";var n=r(10).isWhiteSpace,o=r(10).isPunctChar,i=r(10).isMdAsciiPunct,a=/['"]/,s=/['"]/g,c="’";function l(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var r,a,u,p,d,f,h,m,g,b,v,y,k,_,C,x,E,w,A,j,S;for(A=[],r=0;r<e.length;r++){for(a=e[r],h=e[r].level,E=A.length-1;E>=0&&!(A[E].level<=h);E--);if(A.length=E+1,"text"===a.type){d=0,f=(u=a.content).length;e:for(;d<f&&(s.lastIndex=d,p=s.exec(u));){if(C=x=!0,d=p.index+1,w="'"===p[0],g=32,p.index-1>=0)g=u.charCodeAt(p.index-1);else for(E=r-1;E>=0&&("softbreak"!==e[E].type&&"hardbreak"!==e[E].type);E--)if("text"===e[E].type){g=e[E].content.charCodeAt(e[E].content.length-1);break}if(b=32,d<f)b=u.charCodeAt(d);else for(E=r+1;E<e.length&&("softbreak"!==e[E].type&&"hardbreak"!==e[E].type);E++)if("text"===e[E].type){b=e[E].content.charCodeAt(0);break}if(v=i(g)||o(String.fromCharCode(g)),y=i(b)||o(String.fromCharCode(b)),k=n(g),(_=n(b))?C=!1:y&&(k||v||(C=!1)),k?x=!1:v&&(_||y||(x=!1)),34===b&&'"'===p[0]&&g>=48&&g<=57&&(x=C=!1),C&&x&&(C=!1,x=y),C||x){if(x)for(E=A.length-1;E>=0&&(m=A[E],!(A[E].level<h));E--)if(m.single===w&&A[E].level===h){m=A[E],w?(j=t.md.options.quotes[2],S=t.md.options.quotes[3]):(j=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,p.index,S),e[m.token].content=l(e[m.token].content,m.pos,j),d+=S.length-1,m.token===r&&(d+=j.length-1),f=(u=a.content).length,A.length=E;continue e}C?A.push({token:r,pos:p.index,single:w,level:h}):x&&w&&(a.content=l(a.content,p.index,c))}else w&&(a.content=l(a.content,p.index,c))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,r){"use strict";var n=r(40);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},function(e,t,r){"use strict";var n=r(39),o=[["table",r(119),["paragraph","reference"]],["code",r(120)],["fence",r(121),["paragraph","reference","blockquote","list"]],["blockquote",r(122),["paragraph","reference","blockquote","list"]],["hr",r(123),["paragraph","reference","blockquote","list"]],["list",r(124),["paragraph","reference","blockquote"]],["reference",r(125)],["heading",r(126),["paragraph","reference","blockquote"]],["lheading",r(127)],["html_block",r(128),["paragraph","reference","blockquote"]],["paragraph",r(130)]];function i(){this.ruler=new n;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,c=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<i&&!o[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,r,n){var o;e&&(o=new this.State(e,t,r,n),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=r(131),e.exports=i},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function i(e){var t,r=[],n=0,o=e.length,i=0,a=0,s=!1,c=0;for(t=e.charCodeAt(n);n<o;)96===t?s?(s=!1,c=n):i%2==0&&(s=!0,c=n):124!==t||i%2!=0||s||(r.push(e.substring(a,n)),a=n+1),92===t?i++:i=0,++n===o&&s&&(s=!1,n=c+1),t=e.charCodeAt(n);return r.push(e.substring(a)),r}e.exports=function(e,t,r,a){var s,c,l,u,p,d,f,h,m,g,b,v;if(t+2>r)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(l))&&45!==s&&58!==s&&!n(s))return!1;l++}for(d=(c=o(e,t+1)).split("|"),m=[],u=0;u<d.length;u++){if(!(g=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(c=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(d=i(c.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=e.push("table_open","table",1)).map=b=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(h=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),(h=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<r&&!(e.sCount[p]<e.blkIndent)&&-1!==(c=o(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(c.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u<f;u++)h=e.push("td_open","td",1),m[u]&&(h.attrs=[["style","text-align:"+m[u]]]),(h=e.push("inline","",0)).content=d[u]?d[u].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),b[1]=v[1]=p,e.line=p,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,n){var o,i,a,s,c,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>f)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if(c=d,(i=(d=e.skipChars(d,o))-c)<3)return!1;if(u=e.src.slice(c,d),(a=e.src.slice(d,f)).indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(s=t;!(++s>=r)&&!((d=c=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(e.sCount[s]-e.blkIndent>=4||(d=e.skipChars(d,o))-c<i||(d=e.skipSpaces(d))<f)){p=!0;break}return i=e.sCount[t],e.line=s+(p?1:0),(l=e.push("fence","code",0)).info=a,l.content=e.getLines(t+1,s,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,x,E,w=e.lineMax,A=e.bMarks[t]+e.tShift[t],j=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(c=f=e.sCount[t]+A-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(A)?(A++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[t]+f)%4==3?(A++,c++,f++,i=!1):i=!0):k=!1,h=[e.bMarks[t]],e.bMarks[t]=A;A<j&&(a=e.src.charCodeAt(A),n(a));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,A++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(k?1:0),u=A>=j,v=[e.sCount[t]],e.sCount[t]=f-c,y=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),b=e.parentType,e.parentType="blockquote",E=!1,d=t+1;d<r&&(e.sCount[d]<e.blkIndent&&(E=!0),!((A=e.bMarks[d]+e.tShift[d])>=(j=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(A++)||E){if(u)break;for(_=!1,s=0,l=C.length;s<l;s++)if(C[s](e,d,r,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),m.push(e.bsCount[d]),y.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(c=f=e.sCount[d]+A-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(A)?(A++,c++,f++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[d]+f)%4==3?(A++,c++,f++,i=!1):i=!0):k=!1,h.push(e.bMarks[d]),e.bMarks[d]=A;A<j&&(a=e.src.charCodeAt(A),n(a));)9===a?f+=4-(f+e.bsCount[d]+(i?1:0))%4:f++,A++;u=A>=j,m.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(k?1:0),v.push(e.sCount[d]),e.sCount[d]=f-c,y.push(e.tShift[d]),e.tShift[d]=A-e.bMarks[d]}for(g=e.blkIndent,e.blkIndent=0,(x=e.push("blockquote_open","blockquote",1)).markup=">",x.map=p=[t,0],e.md.block.tokenize(e,t,d),(x=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=w,e.parentType=b,p[1]=e.line,s=0;s<y.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=y[s],e.sCount[s+t]=v[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(a=1;l<u;){if((s=e.src.charCodeAt(l++))!==i&&!n(s))return!1;s===i&&a++}return!(a<3)&&(!!o||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(a+1).join(String.fromCharCode(i)),!0))}},function(e,t,r){"use strict";var n=r(10).isSpace;function o(e,t){var r,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(r=e.src.charCodeAt(o++))&&45!==r&&43!==r?-1:o<i&&(a=e.src.charCodeAt(o),!n(a))?-1:o}function i(e,t){var r,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=a)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i<a&&(r=e.src.charCodeAt(i),!n(r))?-1:i}e.exports=function(e,t,r,n){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C,x,E,w,A,j,S,O,R,D,M,P,z=!1,T=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(z=!0),(S=i(e,t))>=0){if(d=!0,R=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(R,S-R-1)),z&&1!==v)return!1}else{if(!((S=o(e,t))>=0))return!1;d=!1}if(z&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(S-1),n)return!0;for(g=e.tokens.length,d?(P=e.push("ordered_list_open","ol",1),1!==v&&(P.attrs=[["start",v]])):P=e.push("bullet_list_open","ul",1),P.map=m=[t,0],P.markup=String.fromCharCode(b),k=t,O=!1,M=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";k<r;){for(j=S,y=e.eMarks[k],p=_=e.sCount[k]+S-(e.bMarks[t]+e.tShift[t]);j<y;){if(9===(a=e.src.charCodeAt(j)))_+=4-(_+e.bsCount[k])%4;else{if(32!==a)break;_++}j++}if((u=(s=j)>=y?1:_-p)>4&&(u=1),l=p+u,(P=e.push("list_item_open","li",1)).markup=String.fromCharCode(b),P.map=f=[t,0],C=e.blkIndent,A=e.tight,w=e.tShift[t],x=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=_,s>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!O||(T=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=w,e.sCount[t]=x,e.tight=A,(P=e.push("list_item_close","li",-1)).markup=String.fromCharCode(b),k=t=e.line,f[1]=k,s=e.bMarks[t],k>=r)break;if(e.sCount[k]<e.blkIndent)break;for(D=!1,c=0,h=M.length;c<h;c++)if(M[c](e,k,r,!0)){D=!0;break}if(D)break;if(d){if((S=i(e,k))<0)break}else if((S=o(e,k))<0)break;if(b!==e.src.charCodeAt(S-1))break}return(P=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(b),m[1]=k,e.line=k,e.parentType=E,T&&function(e,t){var r,n,o=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===o&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t,r,i){var a,s,c,l,u,p,d,f,h,m,g,b,v,y,k,_,C=0,x=e.bMarks[t]+e.tShift[t],E=e.eMarks[t],w=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<E;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===E)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(l=e.lineMax,k=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";w<l&&!e.isEmpty(w);w++)if(!(e.sCount[w]-e.blkIndent>3||e.sCount[w]<0)){for(y=!1,p=0,d=k.length;p<d;p++)if(k[p](e,w,l,!0)){y=!0;break}if(y)break}for(E=(v=e.getLines(t,w,e.blkIndent,!1).trim()).length,x=1;x<E;x++){if(91===(a=v.charCodeAt(x)))return!1;if(93===a){h=x;break}10===a?C++:92===a&&++x<E&&10===v.charCodeAt(x)&&C++}if(h<0||58!==v.charCodeAt(h+1))return!1;for(x=h+2;x<E;x++)if(10===(a=v.charCodeAt(x)))C++;else if(!o(a))break;if(!(g=e.md.helpers.parseLinkDestination(v,x,E)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(s=x=g.pos,c=C+=g.lines,b=x;x<E;x++)if(10===(a=v.charCodeAt(x)))C++;else if(!o(a))break;for(g=e.md.helpers.parseLinkTitle(v,x,E),x<E&&b!==x&&g.ok?(_=g.str,x=g.pos,C+=g.lines):(_="",x=s,C=c);x<E&&(a=v.charCodeAt(x),o(a));)x++;if(x<E&&10!==v.charCodeAt(x)&&_)for(_="",x=s,C=c;x<E&&(a=v.charCodeAt(x),o(a));)x++;return!(x<E&&10!==v.charCodeAt(x))&&(!!(f=n(v.slice(1,h)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:_,href:u}),e.parentType=m,e.line=t+C+1,!0)))}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t,r,o){var i,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(a=1,i=e.src.charCodeAt(++l);35===i&&l<u&&a<=6;)a++,i=e.src.charCodeAt(++l);return!(a>6||l<u&&!n(i))&&(!!o||(u=e.skipSpacesBack(u,l),(s=e.skipCharsBack(u,35,l))>l&&n(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(c=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n,o,i,a,s,c,l,u,p,d,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";f<r&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f])<(l=e.eMarks[f])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,f,r,!0)){o=!0;break}if(o)break}}return!!u&&(n=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,r){"use strict";var n=r(129),o=r(63).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,a,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o<i.length&&!i[o][0].test(c);o++);if(o===i.length)return!1;if(n)return i[o][2];if(a=t+1,!i[o][1].test(c))for(;a<r&&!(e.sCount[a]<e.blkIndent);a++)if(l=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],c=e.src.slice(l,u),i[o][1].test(c)){0!==c.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o<i;o++)if(l[o](e,c,u,!0)){n=!0;break}if(n)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,r){"use strict";var n=r(40),o=r(10).isSpace;function i(e,t,r,n){var i,a,s,c,l,u,p,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=c=u=p=0,l=(a=this.src).length;c<l;c++){if(i=a.charCodeAt(c),!d){if(o(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&c!==l-1||(10!==i&&c++,this.bMarks.push(s),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=c+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,r){var o=new n(e,t,r);return o.block=!0,r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,a,s,c,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(a=0,p=c=this.bMarks[d],l=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];c<l&&a<r;){if(s=this.src.charCodeAt(c),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(c-p<this.tShift[d]))break;a++}c++}u[i]=a>r?new Array(a-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},function(e,t,r){"use strict";var n=r(39),o=[["text",r(133)],["newline",r(134)],["escape",r(135)],["backticks",r(136)],["strikethrough",r(64).tokenize],["emphasis",r(65).tokenize],["link",r(137)],["image",r(138)],["autolink",r(139)],["html_inline",r(140)],["entity",r(141)]],i=[["balance_pairs",r(142)],["strikethrough",r(64).postProcess],["emphasis",r(65).postProcess],["text_collapse",r(143)]];function a(){var e;for(this.ruler=new n,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new n,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<i&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},a.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,r,n){var o,i,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=r(144),e.exports=a},function(e,t,r){"use strict";function n(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!n(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var n=r(10).isSpace;e.exports=function(e,t){var r,o,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(r=e.pending.length-1,o=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<o&&n(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,r){"use strict";for(var n=r(10).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var r,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<a){if((r=e.src.charCodeAt(i))<256&&0!==o[r])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),i++;i<a&&(r=e.src.charCodeAt(i),n(r));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,n,o,i,a,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),i=a=c;-1!==(i=e.src.indexOf("`",a));){for(a=i+1;a<n&&96===e.src.charCodeAt(a);)a++;if(a-i===o.length)return t||((s=e.push("code_inline","code",0)).markup=o,s.content=e.src.slice(c,i).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=o),e.pos+=o.length,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f="",h=e.pos,m=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)<m&&40===e.src.charCodeAt(l)){for(b=!1,l++;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(l>=m)return!1;for(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f=""),g=l;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<m&&g!==l&&u.ok)for(d=u.str,l=u.pos;l<m&&(i=e.src.charCodeAt(l),o(i)||10===i);l++);else d="";(l>=m||41!==e.src.charCodeAt(l))&&(b=!0),l++}if(b){if(void 0===e.env.references)return!1;if(l<m&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?a=e.src.slice(g,l++):l=s+1):l=s+1,a||(a=e.src.slice(c,s)),!(p=e.env.references[n(a)]))return e.pos=h,!1;f=p.href,d=p.title}return t||(e.pos=c,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",f]],d&&r.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},function(e,t,r){"use strict";var n=r(10).normalizeReference,o=r(10).isSpace;e.exports=function(e,t){var r,i,a,s,c,l,u,p,d,f,h,m,g,b="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=y)return!1;for(g=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(b=e.md.normalizeLink(d.str),e.md.validateLink(b)?u=d.pos:b=""),g=u;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&g!==u&&d.ok)for(f=d.str,u=d.pos;u<y&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);else f="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(g,u++):u=c+1):u=c+1,s||(s=e.src.slice(l,c)),!(p=e.env.references[n(s)]))return e.pos=v,!1;b=p.href,f=p.title}return t||(a=e.src.slice(l,c),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=r=[["src",b],["alt",""]],h.children=m,h.content=a,f&&r.push(["title",f])),e.pos=u,e.posMax=y,!0}},function(e,t,r){"use strict";var n=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,i,a,s,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((r=e.src.slice(u)).indexOf(">")<0)&&(o.test(r)?(s=(i=r.match(o))[0].slice(1,-1),c=e.md.normalizeLink(s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!n.test(r)&&(s=(a=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(s),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,r){"use strict";var n=r(63).HTML_TAG_RE;e.exports=function(e,t){var r,o,i,a=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=i)&&(!(33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(a).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+o[0].length)),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var n=r(58),o=r(10).has,i=r(10).isValidEntityCode,a=r(10).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(s))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(r)?a(r):a(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(c))&&o(n,l[1]))return t||(e.pending+=n[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n,o,i=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((n=i[t]).close)for(r=t-n.jump-1;r>=0;){if((o=i[r]).open&&o.marker===n.marker&&o.end<0&&o.level===n.level)if(!((o.close||n.open)&&void 0!==o.length&&void 0!==n.length&&(o.length+n.length)%3==0)){n.jump=t-r,n.open=!1,o.end=t,o.jump=0;break}r-=o.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,n=0,o=e.tokens,i=e.tokens.length;for(t=r=0;t<i;t++)n+=o[t].nesting,o[t].level=n,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}},function(e,t,r){"use strict";var n=r(40),o=r(10).isWhiteSpace,i=r(10).isPunctChar,a=r(10).isMdAsciiPunct;function s(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var e=new n("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,r){this.pending&&this.pushPending();var o=new n(e,t,r);return r<0&&this.level--,o.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(o),o},s.prototype.scanDelims=function(e,t){var r,n,s,c,l,u,p,d,f,h=e,m=!0,g=!0,b=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;h<b&&this.src.charCodeAt(h)===v;)h++;return s=h-e,n=h<b?this.src.charCodeAt(h):32,p=a(r)||i(String.fromCharCode(r)),f=a(n)||i(String.fromCharCode(n)),u=o(r),(d=o(n))?m=!1:f&&(u||p||(m=!1)),u?g=!1:p&&(d||f||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||f)),{can_open:c,can_close:l,length:s}},s.prototype.Token=n,e.exports=s},function(e,t,r){"use strict";function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=r(146)(e.__opts__),n=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push(l),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var c=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,function(e){return"[object Object]"===o(e)}(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:u(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?u(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?u(t,r):c.push(t)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function d(e,t){var r=new function(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);t||function(e){return Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=n({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},f.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s,c;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=r.index+r[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(d(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(d(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(60).source,t.src_Cc=r(61).source,t.src_Z=r(62).source,t.src_P=r(38).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e){var n;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,l=1,u=26,p=38,d=700,f=72,h=128,m="-",g=/^xn--/,b=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=c-l,_=Math.floor,C=String.fromCharCode;function x(e){throw RangeError(y[e])}function E(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function w(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+E((e=e.replace(v,".")).split("."),t).join(".")}function A(e){for(var t,r,n=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function j(e){return E(e,function(e){var t="";return e>65535&&(t+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=C(e)}).join("")}function S(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,r){var n=0;for(e=r?_(e/d):e>>1,e+=_(e/t);e>k*u>>1;n+=c)e=_(e/k);return _(n+(k+1)*e/(e+p))}function D(e){var t,r,n,o,i,a,p,d,g,b,v=[],y=e.length,k=0,C=h,E=f;for((r=e.lastIndexOf(m))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&x("not-basic"),v.push(e.charCodeAt(n));for(o=r>0?r+1:0;o<y;){for(i=k,a=1,p=c;o>=y&&x("invalid-input"),((d=S(e.charCodeAt(o++)))>=c||d>_((s-k)/a))&&x("overflow"),k+=d*a,!(d<(g=p<=E?l:p>=E+u?u:p-E));p+=c)a>_(s/(b=c-g))&&x("overflow"),a*=b;E=R(k-i,t=v.length+1,0==i),_(k/t)>s-C&&x("overflow"),C+=_(k/t),k%=t,v.splice(k++,0,C)}return j(v)}function M(e){var t,r,n,o,i,a,p,d,g,b,v,y,k,E,w,j=[];for(y=(e=A(e)).length,t=h,r=0,i=f,a=0;a<y;++a)(v=e[a])<128&&j.push(C(v));for(n=o=j.length,o&&j.push(m);n<y;){for(p=s,a=0;a<y;++a)(v=e[a])>=t&&v<p&&(p=v);for(p-t>_((s-r)/(k=n+1))&&x("overflow"),r+=(p-t)*k,t=p,a=0;a<y;++a)if((v=e[a])<t&&++r>s&&x("overflow"),v==t){for(d=r,g=c;!(d<(b=g<=i?l:g>=i+u?u:g-i));g+=c)w=d-b,E=c-b,j.push(C(O(b+w%E,0))),d=_(w/E);j.push(C(O(d,0))),i=R(r,k,n==o),r=0,++n}++r,++t}return j.join("")}a={version:"1.3.2",ucs2:{decode:A,encode:j},decode:D,encode:M,toASCII:function(e){return w(e,function(e){return b.test(e)?"xn--"+M(e):e})},toUnicode:function(e){return w(e,function(e){return g.test(e)?D(e.slice(4).toLowerCase()):e})}},void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(148)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){},,function(e,t,r){var n=r(155),o=r(192);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t,r){var n=r(41),o=r(156),i=r(161),a=r(69);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,r){var n=r(41),o=r(42),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){var r="object"==typeof window&&window&&window.Object===Object&&window;e.exports=r},function(e,t,r){var n=r(43),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){var n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(162)(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)}),t});e.exports=i},function(e,t,r){var n=r(163),o=500;e.exports=function(e){var t=n(e,function(e){return r.size===o&&r.clear(),e}),r=t.cache;return t}},function(e,t,r){var n=r(164),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},function(e,t,r){var n=r(165),o=r(186),i=r(188),a=r(189),s=r(190);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(166),o=r(178),i=r(185);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(167),o=r(174),i=r(175),a=r(176),s=r(177);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,r){var n=r(26);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t,r){var n=r(169),o=r(170),i=r(68),a=r(172),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},function(e,t,r){var n=r(66),o=r(68),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==a||t==s||t==i||t==c}},function(e,t,r){var n=r(171),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},function(e,t,r){var n=r(44)["__core-js_shared__"];e.exports=n},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(26),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(26),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t,r){var n=r(179),o=r(180),i=r(182),a=r(183),s=r(184);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(27),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(27);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(27);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(27);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(67)(r(44),"Map");e.exports=n},function(e,t,r){var n=r(28);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(28);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(28);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(42),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,r){},,function(e,t,r){},,function(e,t,r){var n=r(198);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t,r){var n=r(200);e.exports=function(e,t){for(var r=e.length;r--&&n(t,e[r],0)>-1;);return r}},function(e,t,r){var n=r(201),o=r(202),i=r(203);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(205),o=r(206),i=r(207);e.exports=function(e){return o(e)?i(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return r.test(e)}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+o+")"+"?",l="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),u="(?:"+[i+n+"?",n,a,s,r].join("|")+")",p=RegExp(o+"(?="+o+")|"+u+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,r){},,function(e,t,r){"use strict";r.r(t);var n=r(18),o=r.n(n),i=r(15),a=r(3),s=r(12),c=(r(85),r(6)),l=r.n(c),u=r(5),p=r.n(u),d=r(7),f=r.n(d),h=r(8),m=r.n(h),g=r(9),b=r.n(g),v=r(1),y=r.n(v),k=r(13),_=r.n(k),C=r(2),x=r(14),E=r(33),w=r.n(E),A=r(16),j=r(0),S=function(e){return React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),e)},O=r(29),R=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],D=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeSubject=r.onChangeSubject.bind(y()(y()(r))),r.onBlurTo=r.onBlurTo.bind(y()(y()(r))),r.onChangeTo=r.onChangeTo.bind(y()(y()(r))),r.onChangeSubmit=r.onChangeSubmit.bind(y()(y()(r))),r.onFormSettingsSet=r.onFormSettingsSet.bind(y()(y()(r))),r.getToValidationError=r.getToValidationError.bind(y()(y()(r))),r.renderToAndSubjectFields=r.renderToAndSubjectFields.bind(y()(y()(r))),r.preventEnterSubmittion=r.preventEnterSubmittion.bind(y()(y()(r))),r.hasEmailError=r.hasEmailError.bind(y()(y()(r)));var a=(o[0].attributes.to?o[0].attributes.to:"").split(",").map(r.getToValidationError).filter(Boolean);return r.state={toError:a&&a.length?a:null},r}return b()(t,e),p()(t,[{key:"getIntroMessage",value:function(){return Object(j.a)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?")}},{key:"getEmailHelpMessage",value:function(){return Object(j.a)("You can enter multiple email addresses separated by commas.")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!w.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submit_button_text:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({has_form_settings_set:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(x.sprintf)(Object(j.a)("%s is not a valid email address."),e[0].email):e[0];if(2===e.length)return Object(x.sprintf)(Object(j.a)("%s and %s are not a valid email address."),e[0].email,e[1].email);var t=e.map(function(e){return e.email});return Object(x.sprintf)(Object(j.a)("%s are not a valid email address."),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,r=t.instanceId,n=t.attributes,o=n.subject,i=n.to;return React.createElement(a.Fragment,null,React.createElement(C.TextControl,{"aria-describedby":"contact-form-".concat(r,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(j.a)("Email address"),placeholder:Object(j.a)("name@example.com"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),React.createElement(O.default,{isError:!0,id:"contact-form-".concat(r,"-email-error")},this.getfieldEmailError(e)),React.createElement(O.default,{id:"contact-form-".concat(r,"-email-help")},this.getEmailHelpMessage()),React.createElement(C.TextControl,{label:Object(j.a)("Email subject line"),value:o,placeholder:Object(j.a)("Let's work together"),onChange:this.onChangeSubject}))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.attributes,n=r.has_form_settings_set,o=r.submit_button_text,i=_()(t,"jetpack-contact-form",{"has-intro":!n});return React.createElement(a.Fragment,null,React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Email feedback settings")},this.renderToAndSubjectFields())),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Button settings")},React.createElement(C.TextControl,{label:Object(j.a)("Submit button label"),value:o,placeholder:Object(j.a)("Submit"),onChange:this.onChangeSubmit}))),React.createElement("div",{className:i},!n&&React.createElement(C.Placeholder,{label:Object(j.a)("Form"),icon:S(React.createElement("path",{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},React.createElement("form",{onSubmit:this.onFormSettingsSet},React.createElement("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),React.createElement("p",{className:"jetpack-contact-form__intro-message"},Object(j.a)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)")),React.createElement("div",{className:"jetpack-contact-form__create"},React.createElement(C.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(j.a)("Add form"))))),n&&React.createElement(s.InnerBlocks,{allowedBlocks:R,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&React.createElement("div",{className:"button button-primary button-default jetpack-submit-button"},o||Object(j.a)("Submit"))))}}]),t}(a.Component),M=Object(A.compose)([A.withInstanceId])(D),P=function(e){var t=e.setAttributes,r=e.label,n=e.resetFocus,o=e.isSelected,i=e.required;return React.createElement("div",{className:"jetpack-field-label"},React.createElement(s.PlainText,{value:r,className:"jetpack-field-label__input",onChange:function(e){n&&n(),t({label:e})},placeholder:Object(j.a)("Write label…")}),o&&React.createElement(C.ToggleControl,{label:Object(j.a)("Required"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&React.createElement("span",{className:"required"},Object(j.a)("(required)")))};var z=function(e){var t=e.isSelected,r=e.type,n=e.required,o=e.label,i=e.setAttributes,c=e.defaultValue,l=e.placeholder,u=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:_()("jetpack-field",{"is-selected":t})},React.createElement(C.TextControl,{type:r,label:React.createElement(P,{required:n,label:o,setAttributes:i,isSelected:t}),placeholder:l,value:l,onChange:function(e){return i({placeholder:e})},title:Object(j.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(j.a)("Default Value"),value:c,onChange:function(e){return i({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(j.a)("ID"),value:u,onChange:function(e){return i({id:e})}}))))};var T=function(e){var t=e.required,r=e.label,n=e.setAttributes,o=e.isSelected,i=e.defaultValue,c=e.placeholder,l=e.id;return React.createElement(a.Fragment,null,React.createElement("div",{className:"jetpack-field"},React.createElement(C.TextareaControl,{label:React.createElement(P,{required:t,label:r,setAttributes:n,isSelected:o}),placeholder:c,value:c,onChange:function(e){return n({placeholder:e})},title:Object(j.a)("Set the placeholder text")})),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(j.a)("Default Value"),value:i,onChange:function(e){return n({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(j.a)("ID"),value:l,onChange:function(e){return n({id:e})}}))))},q=Object(A.withInstanceId)(function(e){var t=e.instanceId,r=e.required,n=e.label,o=e.setAttributes,i=e.isSelected,c=e.defaultValue,l=e.id;return React.createElement(C.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:React.createElement(a.Fragment,null,React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:c}),React.createElement(P,{required:r,label:n,setAttributes:o,isSelected:i}),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Field Settings")},React.createElement(C.ToggleControl,{label:Object(j.a)("Default Checked State"),checked:c,onChange:function(e){return o({defaultValue:e})}}),React.createElement(C.TextControl,{label:Object(j.a)("ID"),value:l,onChange:function(e){return o({id:e})}}))))})}),F=r(23),L=r.n(F),N=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.onKeyPress=r.onKeyPress.bind(y()(y()(r))),r.onDeleteOption=r.onDeleteOption.bind(y()(y()(r))),r.textInput=Object(a.createRef)(),r}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,r=e.option,n=e.type;return React.createElement("li",{className:"jetpack-option"},n&&"select"!==n&&React.createElement("input",{className:"jetpack-option__type",type:n,disabled:!0}),React.createElement("input",{type:"text",className:"jetpack-option__input",value:r,placeholder:Object(j.a)("Write option…"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&React.createElement(C.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(j.a)("Remove option"),onClick:this.onDeleteOption}))}}]),t}(a.Component),I=function(e){function t(){var e,r;l()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=f()(this,(e=m()(t)).call.apply(e,[this].concat(o)))).onChangeOption=r.onChangeOption.bind(y()(y()(r))),r.addNewOption=r.addNewOption.bind(y()(y()(r))),r.state={inFocus:null},r}return b()(t,e),p()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=this.props.options.slice(0);null===t?(r.splice(e,1),e>0&&this.setState({inFocus:e-1})):(r.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:r})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),r=0;"object"===L()(e)?(t.push(""),r=t.length-1):(t.splice(e+1,0,""),r=e+1),this.setState({inFocus:r}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,r=t.type,n=t.instanceId,o=t.required,i=t.label,c=t.setAttributes,l=t.isSelected,u=t.id,p=this.props.options,d=this.state.inFocus;return p.length||(p=[""],d=0),React.createElement(a.Fragment,null,React.createElement(C.BaseControl,{id:"jetpack-field-multiple-".concat(n),className:"jetpack-field jetpack-field-multiple",label:React.createElement(P,{required:o,label:i,setAttributes:c,isSelected:l,resetFocus:function(){return e.setState({inFocus:null})}})},React.createElement("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(n)},p.map(function(t,n){return React.createElement(N,{type:r,key:n,option:t,index:n,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:n===d&&l,isSelected:l})})),l&&React.createElement(C.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(j.a)("Insert option"),onClick:this.addNewOption},Object(j.a)("Add option"))),React.createElement(s.InspectorControls,null,React.createElement(C.PanelBody,{title:Object(j.a)("Field Settings")},React.createElement(C.TextControl,{label:Object(j.a)("ID"),value:u,onChange:function(e){return c({id:e})}}))))}}]),t}(a.Component),B=Object(A.withInstanceId)(I),V=r(17);Object(V.a)("contact-form",{title:Object(j.a)("Form"),description:Object(j.a)("A simple way to get feedback from folks visiting your site."),icon:S(React.createElement("path",{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(j.a)("email"),Object(j.a)("feedback"),Object(j.a)("contact")],category:"jetpack",supports:{reusable:!1,html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(j.a)("Submit")},has_form_settings_set:{type:"string",default:null}},edit:M,save:s.InnerBlocks.Content});var $={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(i.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},H=function(e){var t=e.attributes,r=e.name;return null===t.label?Object(i.getBlockType)(r).title:t.label},U=function(e){return function(t){return React.createElement(z,{type:e,label:H(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},Z=function(e){return function(t){return React.createElement(B,{label:H(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}};Object(V.a)("field-text",o()({},$,{title:Object(j.a)("Text"),description:Object(j.a)("When you need just a small amount of text, add a text input."),icon:S(React.createElement("path",{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:U("text")})),Object(V.a)("field-name",o()({},$,{title:Object(j.a)("Name"),description:Object(j.a)("Introductions are important. Add an input for folks to add their name."),icon:S(React.createElement("path",{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:U("text")})),Object(V.a)("field-email",o()({},$,{title:Object(j.a)("Email"),keywords:[Object(j.a)("e-mail"),Object(j.a)("mail"),"email"],description:Object(j.a)("Want to reply to folks? Add an email address input."),icon:S(React.createElement("path",{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:U("email")})),Object(V.a)("field-url",o()({},$,{title:Object(j.a)("Website"),keywords:["url",Object(j.a)("internet page"),"link"],description:Object(j.a)("Add an address input for a website."),icon:S(React.createElement("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:U("url")})),Object(V.a)("field-date",o()({},$,{title:Object(j.a)("Date Picker"),keywords:[Object(j.a)("Calendar"),Object(j.a)("day month year","block search term")],description:Object(j.a)("The best way to set a date. Add a date picker."),icon:S(React.createElement("path",{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:U("text")})),Object(V.a)("field-telephone",o()({},$,{title:Object(j.a)("Telephone"),keywords:[Object(j.a)("Phone"),Object(j.a)("Cellular phone"),Object(j.a)("Mobile")],description:Object(j.a)("Add a phone number input."),icon:S(React.createElement("path",{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:U("tel")})),Object(V.a)("field-textarea",o()({},$,{title:Object(j.a)("Message"),keywords:[Object(j.a)("Textarea"),"textarea",Object(j.a)("Multiline text")],description:Object(j.a)("Let folks speak their mind. This text box is great for longer responses."),icon:S(React.createElement("path",{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return React.createElement(T,{label:H(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})),Object(V.a)("field-checkbox",o()({},$,{title:Object(j.a)("Checkbox"),keywords:[Object(j.a)("Confirm"),Object(j.a)("Accept")],description:Object(j.a)("Add a single checkbox."),icon:S(React.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return React.createElement(q,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:o()({},$.attributes,{label:{type:"string",default:""}})})),Object(V.a)("field-checkbox-multiple",o()({},$,{title:Object(j.a)("Checkbox group"),keywords:[Object(j.a)("Choose Multiple"),Object(j.a)("Option")],description:Object(j.a)("People love options. Add several checkbox items."),icon:S(React.createElement("path",{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:Z("checkbox"),attributes:o()({},$.attributes,{label:{type:"string",default:"Choose several"}})})),Object(V.a)("field-radio",o()({},$,{title:Object(j.a)("Radio"),keywords:[Object(j.a)("Choose"),Object(j.a)("Select"),Object(j.a)("Option")],description:Object(j.a)("Inpsired by radios, only one radio item can be selected at a time. Add several radio button items."),icon:S(React.createElement(a.Fragment,null,React.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),React.createElement("circle",{cx:"12",cy:"12",r:"5"}))),edit:Z("radio"),attributes:o()({},$.attributes,{label:{type:"string",default:"Choose one"}})})),Object(V.a)("field-select",o()({},$,{title:Object(j.a)("Select"),keywords:[Object(j.a)("Choose"),Object(j.a)("Dropdown"),Object(j.a)("Option")],description:Object(j.a)("Compact, but powerful. Add a select box with several items."),icon:S(React.createElement("path",{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:Z("select"),attributes:o()({},$.attributes,{label:{type:"string",default:"Select one"}})}))},function(e,t,r){"use strict";r.r(t);var n=r(15),o=r(19),i=r(6),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(25),k=r.n(y),_=r(0),C=r(3),x=r(2),E=r(12),w=r(20),A=r.n(w),j=r(13),S=r.n(j),O=r(11),R=r(24),D=r(14),M=r(16);function P(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=[],n=0;n<e.length;n++){var o=e[n],i=o.keywords,a=void 0===i?[]:i;if("string"==typeof o.label&&(a=A()(a).concat([o.label])),r.push(o),r.length===t)break}return r}var z=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"select",function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()}),v()(g()(g()(e)),"reset",function(){e.setState(e.constructor.getInitialState())}),v()(g()(g()(e)),"onChange",function(t){var r=e.props.completer,n=e.state.options;if(t){r&&(r.isDebounced?e.debouncedLoadOptions(r,t):e.loadOptions(r,t));var o=r?P(n):[];r&&e.setState({selectedIndex:0,filteredOptions:o,query:t})}else e.reset()}),v()(g()(g()(e)),"onKeyDown",function(t){var r=e.state,n=r.isOpen,o=r.selectedIndex,i=r.filteredOptions;if(n){var a;switch(t.keyCode){case R.UP:a=(0===o?i.length:o)-1,e.setState({selectedIndex:a});break;case R.DOWN:a=(o+1)%i.length,e.setState({selectedIndex:a});break;case R.ENTER:e.select(i[o]);break;case R.LEFT:case R.RIGHT:case R.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}}),e.debouncedLoadOptions=Object(O.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return h()(t,e),c()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),c()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var r=this,n=e.options,o=this.activePromise=Promise.resolve("function"==typeof n?n(t):n).then(function(t){var n;if(o===r.activePromise){var i=t.map(function(t,r){return{key:"".concat(r),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}}),a=P(i),s=a.length===r.state.filteredOptions.length?r.state.selectedIndex:0;r.setState((n={},v()(n,"options",i),v()(n,"filteredOptions",a),v()(n,"selectedIndex",s),v()(n,"isOpen",a.length>0),n)),r.announce(a)}})}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(D.sprintf)(Object(_.b)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack"),e.length),"assertive"):t(Object(_.a)("No results."),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,r=this.onKeyDown,n=this.props,o=n.children,i=n.instanceId,a=n.completer,s=this.state,c=s.selectedIndex,l=s.filteredOptions,u=(l[c]||{}).key,p=void 0===u?"":u,d=a.className,f=l.length>0,h=f?"components-autocomplete-listbox-".concat(i):null,m=f?"components-autocomplete-item-".concat(i,"-").concat(p):null;return React.createElement("div",{className:"components-autocomplete"},o({isExpanded:f,listBoxId:h,activeId:m,onChange:t,onKeyDown:r}),f&&React.createElement(x.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},React.createElement("div",{id:h,role:"listbox",className:"components-autocomplete__results"},Object(O.map)(l,function(t,r){return React.createElement(x.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":r===c,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":r===c}),onClick:function(){return e.select(t)}},t.label)}))))}}]),t}(C.Component),T=Object(M.compose)([x.withSpokenMessages,M.withInstanceId,x.withFocusOutside])(z),q=Object(_.a)("Add a marker..."),F=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"getOptionCompletion",function(t){var r=t.value,n={placeTitle:r.text,title:r.text,caption:r.place_name,id:r.id,coordinates:{longitude:r.geometry.coordinates[0],latitude:r.geometry.coordinates[1]}};return e.props.onAddPoint(n),r.text}),v()(g()(g()(e)),"search",function(t){var r=e.props,n=r.apiKey,o=r.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+n;return new Promise(function(e,t){var r=new XMLHttpRequest;r.open("GET",i),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n.features)}else{var i=JSON.parse(r.responseText);o(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},r.send()})}),v()(g()(g()(e)),"onReset",function(){e.textRef.current.value=null}),e.textRef=Object(C.createRef)(),e.containerRef=Object(C.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return React.createElement("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){e.containerRef.current.querySelector("input").focus()},50)}},{key:"render",value:function(){var e=this,t=this.props.label;return React.createElement("div",{ref:this.containerRef},React.createElement(x.BaseControl,{label:t,className:"components-location-search"},React.createElement(T,{completer:this.autocompleter,onReset:this.onReset},function(t){var r=t.isExpanded,n=t.listBoxId,o=t.activeId,i=t.onChange,a=t.onKeyDown;return React.createElement(x.TextControl,{placeholder:q,ref:e.textRef,onChange:i,"aria-expanded":r,"aria-owns":n,"aria-activedescendant":o,onKeyDown:a})})))}}]),t}(C.Component);F.defaultProps={onError:function(){}};var L=F,N=(r(87),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,r=e.onAddPoint,n=e.onError,o=e.apiKey;return React.createElement(x.Button,{className:"component__add-point"},Object(_.a)("Add marker"),React.createElement(x.Popover,{className:"component__add-point__popover"},React.createElement(x.Button,{className:"component__add-point__close",onClick:t},React.createElement(x.Dashicon,{icon:"no"})),React.createElement(L,{onAddPoint:r,label:Object(_.a)("Add a location"),apiKey:o,onError:n})))}}]),t}(C.Component));N.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var I=N,B=(r(89),function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"onDeletePoint",function(t){var r=parseInt(t.target.getAttribute("data-id")),n=e.props,o=n.points,i=n.onChange,a=o.slice(0);a.splice(r,1),i(a)}),e.state={selectedCell:null},e}return h()(t,e),c()(t,[{key:"setMarkerField",value:function(e,t,r){var n=this.props,o=n.points,i=n.onChange,a=o.slice(0);a[r][e]=t,i(a)}},{key:"render",value:function(){var e=this,t=this.props.points.map(function(t,r){return React.createElement(x.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},React.createElement(x.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,r)}}),React.createElement(x.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,r)}}),React.createElement(x.Button,{"data-id":r,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},React.createElement(x.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))});return React.createElement("div",{className:"component__locations"},React.createElement(x.Panel,{className:"component__locations__panel"},t))}}]),t}(C.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var V=B,$=r(37),H=(r(91),function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,t=e.options,r=e.value,n=e.onChange,o=e.label,i=t.map(function(e,t){var o=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===r?"is-selected":"");return React.createElement(x.Button,{className:o,title:e.label,key:t,onClick:function(){return n(e.value)}},e.label)});return React.createElement("div",{className:"component__map-theme-picker components-base-control"},React.createElement("label",{className:"components-base-control__label"},o),React.createElement(x.ButtonGroup,null,i))}}]),t}(C.Component));H.defaultProps={label:"",options:[],value:null,onChange:function(){}};var U=H,Z=0,K=function(e){function t(){var e;return a()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(g()(g()(e)),"addPoint",function(t){var r=e.props,n=r.attributes,o=r.setAttributes,i=n.points,a=i.slice(0),s=!1;i.map(function(e){e.id===t.id&&(s=!0)}),s||(a.push(t),o({points:a}),e.setState({addPointVisibility:!1}))}),v()(g()(g()(e)),"updateAlignment",function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)}),v()(g()(g()(e)),"updateAPIKeyControl",function(t){e.setState({apiKeyControl:t})}),v()(g()(g()(e)),"updateAPIKey",function(){var t=e.props.noticeOperations,r=e.state.apiKeyControl;t.removeAllNotices(),r&&e.apiCall(r,"POST")}),v()(g()(g()(e)),"removeAPIKey",function(){e.apiCall(null,"DELETE")}),v()(g()(g()(e)),"onError",function(t,r){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(r)}),e.state={addPointVisibility:!1,apiState:Z},e.mapRef=Object(C.createRef)(),e}return h()(t,e),c()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=this.props.noticeOperations,o=this.state.apiKey,i="/jetpack/v4/service-api-keys/mapbox",a=t?{path:i,method:r,data:{service_api_key:t}}:{path:i,method:r};this.setState({apiRequestOutstanding:!0},function(){k()(a).then(function(t){n.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})},function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:o})})})}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.setAttributes,i=t.attributes,a=t.noticeUI,s=t.notices,c=i.mapStyle,l=i.mapDetails,u=i.points,p=i.zoom,d=i.mapCenter,f=i.markerColor,h=i.align,m=this.state,g=m.addPointVisibility,b=m.apiKey,v=m.apiKeyControl,y=m.apiState,k=m.apiRequestOutstanding,w=React.createElement(C.Fragment,null,React.createElement(E.BlockControls,null,React.createElement(E.BlockAlignmentToolbar,{value:h,onChange:this.updateAlignment,controls:["center","wide","full"]}),React.createElement(x.Toolbar,null,React.createElement(x.IconButton,{icon:o.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),React.createElement(E.InspectorControls,null,React.createElement(x.PanelBody,{title:Object(_.a)("Map Theme")},React.createElement(U,{value:c,onChange:function(e){return n({mapStyle:e})},options:o.a.mapStyleOptions}),React.createElement(x.ToggleControl,{label:Object(_.a)("Show street names"),checked:l,onChange:function(e){return n({mapDetails:e})}})),React.createElement(E.PanelColorSettings,{title:Object(_.a)("Colors"),initialOpen:!0,colorSettings:[{value:f,onChange:function(e){return n({markerColor:e})},label:"Marker Color"}]}),u.length?React.createElement(x.PanelBody,{title:Object(_.a)("Markers"),initialOpen:!1},React.createElement(V,{points:u,onChange:function(e){n({points:e})}})):null,React.createElement(x.PanelBody,{title:Object(_.a)("Mapbox Access Token"),initialOpen:!1},React.createElement(x.TextControl,{label:Object(_.a)("Mapbox Access Token"),value:v,onChange:function(t){return e.setState({apiKeyControl:t})}}),React.createElement(x.ButtonGroup,null,React.createElement(x.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(_.a)("Update Token")),React.createElement(x.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(_.a)("Remove Token")))))),A=React.createElement(x.Placeholder,{icon:o.a.icon},React.createElement(x.Spinner,null)),j=React.createElement(x.Placeholder,{icon:o.a.icon,label:Object(_.a)("Map"),notices:s},React.createElement(C.Fragment,null,React.createElement("div",{className:"components-placeholder__instructions"},React.createElement("p",null,Object(_.a)("To use the map block, you need an Access Token.")),React.createElement("p",null,React.createElement(x.ExternalLink,{href:"https://www.mapbox.com"},Object(_.a)("Create an account or log in to Mapbox."))),React.createElement("p",null,Object(_.a)("Locate and copy the default access token. Then, paste it into the field below."))),React.createElement(x.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:k,placeholder:Object(_.a)("Paste Token Here"),value:v,onChange:this.updateAPIKeyControl}),React.createElement(x.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:k||!v||v.length<1,onClick:this.updateAPIKey},Object(_.a)("Set Token")))),S=React.createElement(C.Fragment,null,w,React.createElement("div",{className:r},React.createElement($.a,{ref:this.mapRef,mapStyle:c,mapDetails:l,points:u,zoom:p,mapCenter:d,markerColor:f,onSetZoom:function(e){n({zoom:e})},admin:!0,apiKey:b,onSetPoints:function(e){return n({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},g&&React.createElement(I,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:b,onError:this.onError,tagName:"AddPoint"}))));return React.createElement(C.Fragment,null,a,y===Z&&A,1===y&&j,2===y&&S)}}]),t}(C.Component),G=Object(x.withNotices)(K),W=function(e){function t(){return a()(this,t),u()(this,d()(t).apply(this,arguments))}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,r=e.mapStyle,n=e.mapDetails,o=e.points,i=e.zoom,a=e.mapCenter,s=e.markerColor,c=o.map(function(e,t){var r=e.coordinates,n=r.longitude,o="https://www.google.com/maps/search/?api=1&query="+r.latitude+","+n;return React.createElement("li",{key:t},React.createElement("a",{href:o},e.title))}),l=t?"align".concat(t):null;return React.createElement("div",{className:l,"data-map-style":r,"data-map-details":n,"data-points":JSON.stringify(o),"data-zoom":i,"data-map-center":JSON.stringify(a),"data-marker-color":s},o.length>0&&React.createElement("ul",null,c))}}]),t}(C.Component);r(56),r(93);Object(n.registerBlockType)(o.a.name,{title:o.a.title,icon:o.a.icon,category:o.a.category,keywords:o.a.keywords,description:o.a.description,attributes:o.a.attributes,getEditWrapperProps:function(e){var t=e.align;if(-1!==o.a.validAlignments.indexOf(t))return{"data-align":t}},edit:G,save:W})},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=r(74),a=r.n(i),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(13),C=r.n(_),x=r(33),E=r.n(x),w=r(16),A=r(21),j=r(11),S=r(14),O=r(30),R=r.n(O),D=r(31),M=r.n(D),P=r(32),z=r.n(P),T=(r(193),function(e){var t=e.children,r=void 0===t?null:t,n=e.isError,o=void 0!==n&&n,i=M()(e,["children","isError"]),a=C()("simple-payments__help-message",{"simple-payments__help-message-is-error":o});return r&&React.createElement("div",R()({className:a},i),o&&React.createElement(z.a,{size:"24"}),React.createElement("span",null,r))}),q=r(0),F=(r(195),r(75)),L=r.n(F),N=r(76),I=r.n(N),B=function(e){var t=e.title,r=void 0===t?"":t,n=e.content,o=void 0===n?"":n,i=e.formattedPrice,a=void 0===i?"":i,s=e.multiple,c=void 0!==s&&s;return React.createElement("div",{className:"jetpack-simple-payments-wrapper"},React.createElement("div",{className:"jetpack-simple-payments-product"},React.createElement("div",{className:"jetpack-simple-payments-details"},r&&React.createElement("div",{className:"jetpack-simple-payments-title"},React.createElement("p",null,r)),o&&React.createElement("div",{className:"jetpack-simple-payments-description"},React.createElement("p",null,o)),a&&React.createElement("div",{className:"jetpack-simple-payments-price"},React.createElement("p",null,a)),React.createElement("div",{className:"jetpack-simple-payments-purchase-box"},c&&React.createElement("div",{className:"jetpack-simple-payments-items"},React.createElement("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),React.createElement("div",{className:"jetpack-simple-payments-button"},React.createElement("img",{alt:Object(q.a)("Pay with PayPal"),src:L.a,srcSet:"".concat(I.a," 2x")}))))))},V=r(77),$=r.n(V),H={AED:{symbol:"د.إ.‏",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.‏",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.‏",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.‏",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.‏",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.‏",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.‏",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.‏",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.‏",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.‏",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£‏",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.‏",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function U(e){return H[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}var Z=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],K=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},G=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=U(t),o=n.precision,i=n.symbol,a=e.toFixed(o);return r?"".concat(a," ").concat($()(i,".")):a},W=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(v()(r)),"shouldInjectPaymentAttributes",!!r.props.attributes.productId),k()(v()(v()(r)),"validateAttributes",function(){var e=r.validatePrice(),t=r.validateTitle(),n=r.validateEmail(),o=r.validateCurrency();return e&&t&&n&&o}),k()(v()(v()(r)),"validateCurrency",function(){var e=r.props.attributes.currency;return Z.includes(e)}),k()(v()(v()(r)),"validatePrice",function(){var e=r.props.attributes,t=e.currency,n=e.price,o=U(t).precision;return n&&0!==parseFloat(n)?Number.isNaN(parseFloat(n))?(r.setState({fieldPriceError:Object(q.a)("Invalid price")}),!1):parseFloat(n)<0?(r.setState({fieldPriceError:Object(q.a)("Your price is negative — enter a positive number so people can pay the right amount.")}),!1):K(n)>o?0===o?(r.setState({fieldPriceError:Object(q.a)("We know every penny counts, but prices in this currency can’t contain decimal values.")}),!1):(r.setState({fieldPriceError:Object(S.sprintf)(Object(q.b)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",o),o)}),!1):(r.state.fieldPriceError&&r.setState({fieldPriceError:null}),!0):(r.setState({fieldPriceError:Object(q.a)("If you’re selling something, you need a price tag. Add yours here.")}),!1)}),k()(v()(v()(r)),"validateEmail",function(){var e=r.props.attributes.email;return e?E.a.validate(e)?(r.state.fieldEmailError&&r.setState({fieldEmailError:null}),!0):(r.setState({fieldEmailError:Object(S.sprintf)(Object(q.a)("%s is not a valid email address."),e)}),!1):(r.setState({fieldEmailError:Object(q.a)("We want to make sure payments reach you, so please add an email address.")}),!1)}),k()(v()(v()(r)),"validateTitle",function(){return r.props.attributes.title?(r.state.fieldTitleError&&r.setState({fieldTitleError:null}),!0):(r.setState({fieldTitleError:Object(q.a)("Please add a brief title so that people know what they’re paying for.")}),!1)}),k()(v()(v()(r)),"handleEmailChange",function(e){r.props.setAttributes({email:e}),r.setState({fieldEmailError:null})}),k()(v()(v()(r)),"handleContentChange",function(e){r.props.setAttributes({content:e})}),k()(v()(v()(r)),"handlePriceChange",function(e){e=parseFloat(e),isNaN(e)?r.props.setAttributes({price:void 0}):r.props.setAttributes({price:e}),r.setState({fieldPriceError:null})}),k()(v()(v()(r)),"handleCurrencyChange",function(e){r.props.setAttributes({currency:e})}),k()(v()(v()(r)),"handleMultipleChange",function(e){r.props.setAttributes({multiple:!!e})}),k()(v()(v()(r)),"handleTitleChange",function(e){r.props.setAttributes({title:e}),r.setState({fieldTitleError:null})}),k()(v()(v()(r)),"getCurrencyList",Z.map(function(e){var t=U(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(j.trimEnd)(t,"."))}})),r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,r=e.hasPublishAction;!t.productId&&r&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.hasPublishAction,n=t.isSelected;Object(j.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&r&&this.validateAttributes()?this.saveProduct():e.isSelected&&!n&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){if(this.shouldInjectPaymentAttributes){var e=this.props,t=e.attributes,r=e.setAttributes,n=e.simplePayment,o=t.content,i=t.currency,a=t.email,s=t.multiple,c=t.price,l=t.productId,u=t.title;l&&n&&(r({content:Object(j.get)(n,["content","raw"],o),currency:Object(j.get)(n,["meta","spay_currency"],i),email:Object(j.get)(n,["meta","spay_email"],a),multiple:Boolean(Object(j.get)(n,["meta","spay_multiple"],Boolean(s))),price:Object(j.get)(n,["meta","spay_price"],c||void 0),title:Object(j.get)(n,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes)}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,r=e.currency,n=e.email,o=e.multiple,i=e.price,a=e.productId,s=e.title;return{id:a,content:t,featured_media:0,meta:{spay_currency:r,spay_email:n,spay_multiple:o,spay_price:i},status:a?"publish":"draft",title:s}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,r=t.attributes,n=t.setAttributes,o=r.email,i=Object(A.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},a()(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i("postType","jp_pay_product",e.toApi()).then(function(e){return e&&n({productId:e.id}),e}).catch(function(t){if(t&&t.data){var r=t.data.key;e.setState({fieldEmailError:"spay_email"===r?Object(S.sprintf)(Object(q.a)("%s is not a valid email address."),o):null,fieldPriceError:"spay_price"===r?Object(q.a)("Invalid price."):null})}}).finally(function(){e.setState({isSavingProduct:!1})});case 1:case"end":return t.stop()}},t,this)})))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,r=e.fieldPriceError,o=e.fieldTitleError,i=this.props,a=i.attributes,s=i.instanceId,c=i.isSelected,l=i.simplePayment,u=a.content,p=a.currency,d=a.email,f=a.multiple,h=a.price,m=a.productId,g=a.title,b=m&&!l;if(!c&&b)return React.createElement("div",{className:"simple-payments__loading"},React.createElement(B,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!c&&d&&h&&g&&!t&&!r&&!o)return React.createElement(B,{"aria-busy":"false",content:u,formattedPrice:G(h,p),multiple:f,title:g});var v=b?n.Disabled:"div";return React.createElement(v,{className:"wp-block-jetpack-simple-payments"},React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-title-error"),className:C()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":o}),label:Object(q.a)("Item name"),onChange:this.handleTitleChange,placeholder:Object(q.a)("Item name"),required:!0,type:"text",value:g}),React.createElement(T,{id:"".concat(s,"-title-error"),isError:!0},o),React.createElement(n.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(q.a)("Describe your item in a few words"),onChange:this.handleContentChange,placeholder:Object(q.a)("Describe your item in a few words"),value:u}),React.createElement("div",{className:"simple-payments__price-container"},React.createElement(n.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(q.a)("Currency"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:p}),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-price-error"),className:C()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":r}),label:Object(q.a)("Price"),onChange:this.handlePriceChange,placeholder:G(0,p,!1),required:!0,step:"1",type:"number",value:h||""}),React.createElement(T,{id:"".concat(s,"-price-error"),isError:!0},r)),React.createElement("div",{className:"simple-payments__field-multiple"},React.createElement(n.ToggleControl,{checked:Boolean(f),label:Object(q.a)("Allow people to buy more than one item at a time"),onChange:this.handleMultipleChange})),React.createElement(n.TextControl,{"aria-describedby":"".concat(s,"-email-").concat(t?"error":"help"),className:C()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(q.a)("Email"),onChange:this.handleEmailChange,placeholder:Object(q.a)("Email"),required:!0,type:"email",value:d}),React.createElement(T,{id:"".concat(s,"-email-error"),isError:!0},t),React.createElement(T,{id:"".concat(s,"-email-help")},Object(q.a)("Enter the email address associated with your PayPal account. Don’t have an account?")+" ",React.createElement(n.ExternalLink,{href:"https://www.paypal.com/"},Object(q.a)("Create one on PayPal"))))}}]),t}(o.Component),J=Object(A.withSelect)(function(e,t){var r=e("core").getEntityRecord,n=e("core/editor"),o=n.isSavingPost,i=n.getCurrentPost,a=t.attributes.productId,s=a?Object(j.pick)(r("postType","jp_pay_product",a),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"]]):void 0;return{hasPublishAction:!!Object(j.get)(i(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:s}}),Y=Object(w.compose)(J,w.withInstanceId)(W);var X=r(17);r(208);r.d(t,"name",function(){return Q}),r.d(t,"settings",function(){return ee});var Q="simple-payments",ee={title:Object(q.a)("Simple Payments button"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(q.a)("Lets you create and embed credit and debit card payment buttons with minimal setup.")),React.createElement(n.ExternalLink,{href:"https://support.wordpress.com/simple-payments/"},Object(q.a)("Support reference"))),icon:React.createElement(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},React.createElement(n.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),React.createElement(n.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(q.c)("shop","block search term"),Object(q.c)("sell","block search term"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var r=parseInt(t,10);return r||void 0}}}}}]},edit:Y,save:function(e){var t=e.attributes.productId;return t?React.createElement(o.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},supports:{className:!1,customClassName:!1,html:!1}};Object(X.a)(Q,ee)},function(e,t,r){"use strict";r.r(t);r(152);var n=r(16),o=r(72),i=r(12),a=r(21),s=r(6),c=r.n(s),l=r(5),u=r.n(l),p=r(7),d=r.n(p),f=r(8),h=r.n(f),m=r(9),g=r.n(m),b=r(1),v=r.n(b),y=r(4),k=r.n(y),_=r(25),C=r.n(_),x=r(3),E=r(0),w=function(e){function t(e){var r;return c()(this,t),r=d()(this,h()(t).call(this,e)),k()(v()(v()(r)),"connectionTestComplete",function(e){var t=e.data.filter(function(e){return!e.test_success});r.setState({failedConnections:t,isLoading:!1})}),k()(v()(v()(r)),"connectionTestRequestFailed",function(){r.setState({isLoading:!1})}),k()(v()(v()(r)),"connectionTestStart",function(){C()({path:"/wpcom/v2/publicize/connection-test-results"}).then(function(){return r.connectionTestComplete}).catch(function(){return r.connectionTestRequestFailed})}),k()(v()(v()(r)),"refreshConnectionClick",function(e){var t=e.target,n=t.href,o=t.title;e.preventDefault();var i=window.open(n,o,"");window.setInterval(function(){!1!==i.closed&&r.connectionTestStart()},500)}),r.state={failedConnections:{},isLoading:!1},r}return g()(t,e),u()(t,[{key:"componentDidMount",value:function(){this.connectionTestStart()}},{key:"render",value:function(){var e=this,t=this.state.failedConnections;return t.length>0?React.createElement("div",{className:"below-h2 error publicize-token-refresh-message"},React.createElement("p",{key:"error-title"},Object(E.a)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:")),t.filter(function(e){return e.userCanRefresh}).map(function(t){return React.createElement("a",{className:"pub-refresh-button button",title:t.refreshText,href:t.refreshURL,target:"_refresh_"+t.serviceName,onClick:e.refreshConnectionClick,key:t.connectionID},t.refreshText)})):null}}]),t}(x.Component),A=r(18),j=r.n(A),S=r(35),O=r.n(S),R=r(13),D=r.n(R),M=r(14),P=r(2),z=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"onConnectionChange",function(){var e=r.props.id;r.props.toggleConnection(e)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.disabled,r=e.enabled,n=e.id,o=e.label,i=e.name,a="connection-"+i+"-"+n,s=i.replace("_","-"),c=React.createElement(P.FormToggle,{id:a,className:"jetpack-publicize-connection-toggle",checked:r,onChange:this.onConnectionChange});return t&&(c=React.createElement(P.Disabled,null,c)),React.createElement("li",null,React.createElement("div",{className:"publicize-jetpack-connection-container"},React.createElement("label",{htmlFor:a,className:"jetpack-publicize-connection-label"},React.createElement("span",{className:"jetpack-publicize-gutenberg-social-icon social-logo social-logo__"+s}),React.createElement("span",null,o)),c))}}]),t}(x.Component),T=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"settingsClick",function(e){var t=r.props.refreshCallback;e.preventDefault();var n=window.open("options-general.php?page=sharing&publicize_popup=true","",""),o=window.setInterval(function(){!1!==n.closed&&(window.clearInterval(o),t())},500)}),r}return g()(t,e),u()(t,[{key:"render",value:function(){var e=D()("jetpack-publicize-add-connection-container",this.props.className);return React.createElement("div",{className:e},React.createElement("a",{onClick:this.settingsClick,tabIndex:"0"},React.createElement("span",{className:"jetpack-publicize-add-icon dashicons-plus-alt"}),Object(E.a)("Connect new service")))}}]),t}(x.Component),q=function(e){function t(){var e,r;c()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=d()(this,(e=h()(t)).call.apply(e,[this].concat(o))),k()(v()(v()(r)),"state",{hasEditedShareMessage:!1}),k()(v()(v()(r)),"onMessageChange",function(e){var t=r.props.messageChange;r.setState({hasEditedShareMessage:!0}),t(e)}),r}return g()(t,e),u()(t,[{key:"isDisabled",value:function(){return this.props.connections.every(function(e){return!e.toggleable})}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,r=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:r}},{key:"render",value:function(){var e=this.props,t=e.connections,r=e.toggleConnection,n=e.refreshCallback,o=this.getShareMessage(),i=256-o.length,a=D()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":i<=0});return React.createElement("div",{id:"publicize-form"},React.createElement("ul",null,t.map(function(e){var t=e.display_name,n=e.enabled,o=e.id,i=e.service_name,a=e.toggleable;return React.createElement(z,{disabled:!a,enabled:n,key:o,id:o,label:t,name:i,toggleConnection:r})})),React.createElement(T,{refreshCallback:n}),React.createElement("label",{className:"jetpack-publicize-message-note",htmlFor:"wpas-title"},Object(E.a)("Customize your message")),React.createElement("div",{className:"jetpack-publicize-message-box"},React.createElement("textarea",{value:o,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(E.a)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message."),rows:4}),React.createElement("div",{className:a},Object(M.sprintf)(Object(E.b)("%d character remaining","%d characters remaining",i),i))))}}]),t}(x.Component),F=Object(n.compose)([Object(a.withSelect)(function(e){var t=e("core/editor").getEditedPostAttribute("meta"),r=e("core/editor").getEditedPostAttribute("title"),n=O()(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:r.substr(0,256),shareMessage:n.substr(0,256)}}),Object(a.withDispatch)(function(e,t){var r=t.connections;return{toggleConnection:function(t){var n=r.map(function(e){return j()({},e,{enabled:e.id===t?!e.enabled:e.enabled})});e("core/editor").editPost({jetpack_publicize_connections:n})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}})])(q),L=Object(n.compose)([Object(a.withSelect)(function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}}),Object(a.withDispatch)(function(e){return{refreshConnections:e("core/editor").refreshPost}})])(function(e){var t=e.connections,r=e.refreshConnections;return React.createElement(i.PostTypeSupportCheck,{supportKeys:"publicize"},React.createElement(o.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:React.createElement("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(E.a)("Share this post"))},React.createElement("div",null,Object(E.a)("Connect and select social media services to share this post.")),t&&t.length>0&&React.createElement(F,{refreshCallback:r}),t&&0===t.length&&React.createElement(T,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:r}),t&&t.length>0&&React.createElement(w,null)))}),N=r(73),I=r(34);r.d(t,"name",function(){return B}),r.d(t,"settings",function(){return V});var B="publicize",V={render:function(){return React.createElement(L,null)}};!function(e,t){var r=Object(I.a)(),n=O()(r,["available_blocks",e,"available"],!1);!(r&&!n)&&Object(N.registerPlugin)("jetpack-".concat(e),t)}(B,V)},function(e,t,r){"use strict";r.r(t);var n=r(2),o=r(3),i=(r(95),r(6)),a=r.n(i),s=r(5),c=r.n(s),l=r(7),u=r.n(l),p=r(8),d=r.n(p),f=r(9),h=r.n(f),m=r(1),g=r.n(m),b=r(4),v=r.n(b),y=r(12),k=r(16),_=r(21),C=r(71),x=r.n(C),E=r(0),w=new x.a,A=function(e){"A"===e.target.nodeName&&(window.confirm(Object(E.a)("Are you sure you wish to leave this page?"))||e.preventDefault())},j=function(e){var t=e.className,r=e.source,n=void 0===r?"":r;return React.createElement(o.RawHTML,{className:t,onClick:A},n.length?w.render(n):"")},S="editor",O=function(e){function t(){var e,r;a()(this,t);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r=u()(this,(e=d()(t)).call.apply(e,[this].concat(o))),v()(g()(g()(r)),"input",null),v()(g()(g()(r)),"state",{activePanel:S}),v()(g()(g()(r)),"bindInput",function(e){r.input=e}),v()(g()(g()(r)),"updateSource",function(e){return r.props.setAttributes({source:e})}),v()(g()(g()(r)),"handleKeyDown",function(e){var t=r.props,n=t.attributes,o=t.removeBlock,i=n.source;8===e.keyCode&&""===i&&(o(),e.preventDefault())}),v()(g()(g()(r)),"toggleMode",function(e){return function(){return r.setState({activePanel:e})}}),r}return h()(t,e),c()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(S)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===S&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var r=this.state.activePanel;return React.createElement("button",{className:"components-tab-button ".concat(r===e?"is-active":""),onClick:this.toggleMode(e)},React.createElement("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,r=e.className,n=e.isSelected,o=t.source,i=this.state.activePanel;return!n&&this.isEmpty()?React.createElement("p",{className:"".concat(r,"__placeholder")},Object(E.a)("Write your _Markdown_ **here**...")):React.createElement("div",{className:r},React.createElement(y.BlockControls,null,React.createElement("div",{className:"components-toolbar"},this.renderToolbarButton(S,Object(E.a)("Markdown")),this.renderToolbarButton("preview",Object(E.a)("Preview")))),"preview"!==i&&n?React.createElement(y.PlainText,{className:"".concat(r,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(E.a)("Markdown"),innerRef:this.bindInput,value:o}):React.createElement(j,{className:"".concat(r,"__preview"),source:o}))}}]),t}(o.Component),R=Object(k.compose)([Object(_.withSelect)(function(e){return{currentBlockId:e("core/editor").getSelectedBlockClientId()}}),Object(_.withDispatch)(function(e,t){var r=t.currentBlockId;return{removeBlock:function(){return e("core/editor").removeBlocks(r)}}})])(O),D=r(17);r.d(t,"name",function(){return M}),r.d(t,"settings",function(){return P});var M="markdown",P={title:Object(E.a)("Markdown"),description:React.createElement(o.Fragment,null,React.createElement("p",null,Object(E.a)("Use regular characters and punctuation to style text, links, and lists.")),React.createElement(n.ExternalLink,{href:"https://en.support.wordpress.com/markdown-quick-reference/"},Object(E.a)("Support reference"))),icon:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},React.createElement("rect",{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),React.createElement("path",{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(E.a)("formatting"),Object(E.a)("syntax"),Object(E.a)("markup")],attributes:{source:{type:"string"}},edit:R,save:function(e){var t=e.attributes,r=e.className;return React.createElement(j,{className:r,source:t.source})}};Object(D.a)(M,P)},function(e,t,r){"use strict";r.r(t);var n=r(20),o=r.n(n),i=r(15),a=r(22),s=r.n(a),c=r(45),l=r.n(c),u=r(13),p=r.n(u),d=s.a.createElement("g",null,s.a.createElement("path",{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),s.a.createElement("polygon",{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "})),f=function(e){var t=e.full,r=void 0!==t&&t,n=e.size,o=void 0===n?32:n,i=e.className,a=p()("jetpack-logo",i);return!0===r?s.a.createElement("svg",{height:o,className:a,viewBox:"0 0 118 32"},s.a.createElement("title",null,"Jetpack"),d,s.a.createElement("path",{d:"M41.3 26.6c-.5-.7-.9-1.4-1.3-2.1 2.3-1.4 3-2.5 3-4.6V8h-3V6h6v13.4C46 22.8 45 24.8 41.3 26.6zM58.5 21.3c-1.5.5-2.7.6-4.2.6-3.6 0-5.8-1.8-5.8-6 0-3.1 1.9-5.9 5.5-5.9s4.9 2.5 4.9 4.9c0 .8 0 1.5-.1 2h-7.3c.1 2.5 1.5 2.8 3.6 2.8 1.1 0 2.2-.3 3.4-.7C58.5 19 58.5 21.3 58.5 21.3zM56 15c0-1.4-.5-2.9-2-2.9-1.4 0-2.3 1.3-2.4 2.9C51.6 15 56 15 56 15zM65 18.4c0 1.1.8 1.3 1.4 1.3.5 0 2-.2 2.6-.4v2.1c-.9.3-2.5.5-3.7.5-1.5 0-3.2-.5-3.2-3.1V12H60v-2h2.1V7.1H65V10h4v2h-4V18.4zM71 10h3v1.3c1.1-.8 1.9-1.3 3.3-1.3 2.5 0 4.5 1.8 4.5 5.6s-2.2 6.3-5.8 6.3c-.9 0-1.3-.1-2-.3V28h-3V10zM76.5 12.3c-.8 0-1.6.4-2.5 1.2v5.9c.6.1.9.2 1.8.2 2 0 3.2-1.3 3.2-3.9C79 13.4 78.1 12.3 76.5 12.3zM93 22h-3v-1.5c-.9.7-1.9 1.5-3.5 1.5-1.5 0-3.1-1.1-3.1-3.2 0-2.9 2.5-3.4 4.2-3.7l2.4-.3v-.3c0-1.5-.5-2.3-2-2.3-.7 0-2.3.5-3.7 1.1L84 11c1.2-.4 3-1 4.4-1 2.7 0 4.6 1.4 4.6 4.7L93 22zM90 16.4l-2.2.4c-.7.1-1.4.5-1.4 1.6 0 .9.5 1.4 1.3 1.4s1.5-.5 2.3-1V16.4zM104.5 21.3c-1.1.4-2.2.6-3.5.6-4.2 0-5.9-2.4-5.9-5.9 0-3.7 2.3-6 6.1-6 1.4 0 2.3.2 3.2.5V13c-.8-.3-2-.6-3.2-.6-1.7 0-3.2.9-3.2 3.6 0 2.9 1.5 3.8 3.3 3.8.9 0 1.9-.2 3.2-.7V21.3zM110 15.2c.2-.3.2-.8 3.8-5.2h3.7l-4.6 5.7 5 6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"})):24===o?s.a.createElement("svg",{className:a,height:"24",width:"24",viewBox:"0 0 24 24"},s.a.createElement("path",{d:"M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"})):s.a.createElement("svg",{className:a,height:o,width:o,viewBox:"0 0 32 32"},d)};f.propTypes={full:l.a.bool,size:l.a.number};var h=f;Object(i.setCategories)([{slug:"jetpack",title:"Jetpack",icon:React.createElement(h,null)}].concat(o()(Object(i.getCategories)().filter(function(e){return"jetpack"!==e.slug}))))},,,,,function(e,t,r){r(46),r(215),r(29),r(210),r(211),r(214),r(213),e.exports=r(212)}]));
_inc/blocks/editor.rtl.css CHANGED
@@ -1 +1 @@
1
- .wp-block-jetpack-markdown__placeholder{opacity:.5;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;display:block;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px;display:table}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}
1
+ .help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#d94f4f}.help-message.help-message-is-error svg{fill:#d94f4f}.jetpack-contact-form{padding:10px 18px}.jetpack-contact-form.has-intro{padding:0}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:6px}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create{width:100%}.jetpack-field-label{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.jetpack-field-label .components-base-control{margin-bottom:-3px}.jetpack-field-label .components-base-control .components-form-toggle{margin:2px 0 0 8px}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{-ms-flex-positive:1;flex-grow:1}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0;margin-bottom:2px}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border-color:#fff;box-shadow:none}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:#fff;border-radius:0;-ms-flex-positive:1;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px;padding-left:8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field-checkbox .components-base-control__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{-ms-flex-positive:1;flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-webkit-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea::-webkit-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\F147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:a .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-webkit-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes a{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjQzhEN0UxIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center;border-color:#c8d7e1;border-style:solid;border-radius:4px;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjYThiZWNlIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiA8dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+IDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiA8ZGVmcz48L2RlZnM+IDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPiA8ZyBpZD0iYXJyb3ctZG93biIgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCIgZmlsbD0iIzJlNDQ1MyI+IDxwYXRoIGQ9Ik0xNS41LDYgTDE3LDcuNSBMMTAuMjUsMTQuMjUgTDMuNSw3LjUgTDUsNiBMMTAuMjUsMTEuMjUgTDE1LjUsNiBaIiBpZD0iRG93bi1BcnJvdyIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPiA8L2c+IDwvZz48L3N2Zz4=);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiPiAgICAgICAgPHRpdGxlPmFycm93LWRvd248L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4gICAgICAgIDxnIGlkPSJhcnJvdy1kb3duIiBza2V0Y2g6dHlwZT0iTVNBcnRib2FyZEdyb3VwIiBmaWxsPSIjZTllZmYzIj4gICAgICAgICAgICA8cGF0aCBkPSJNMTUuNSw2IEwxNyw3LjUgTDEwLjI1LDE0LjI1IEwzLjUsNy41IEw1LDYgTDEwLjI1LDExLjI1IEwxNS41LDYgWiIgaWQ9IkRvd24tQXJyb3ciIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{padding:0;vertical-align:baseline;background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus,.component__add-point:active,.component__add-point:focus,.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#aaa}.component__locations__panel{margin-bottom:1em}.component__locations__panel:empty{display:none}.component__locations__panel .components-panel__body,.component__locations__panel .components-panel__body:first-child,.component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.component__map-theme-picker__button{border:1px solid #d3d3d3;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#d3d3d3;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.component__map-theme-picker__button:hover{transform:scale(1.1)}.component__map-theme-picker__button.is-selected{border-color:#000}.component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#d3d3d3;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:.3em}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid currentColor}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.publicize-jetpack-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-gutenberg-social-icon{font-size:2em;margin-left:.2em}.jetpack-publicize-connection-label{-ms-flex:1;flex:1;margin-left:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-add-icon{font-family:Dashicons;font-size:2em;margin-left:.2em;color:#555d66}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:1em}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:-ms-flexbox;display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.wp-block-jetpack-simple-payments .simple-payments__help-message{display:-ms-flexbox;display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.wp-block-jetpack-simple-payments .simple-payments__help-message svg{margin-left:5px;min-width:24px}.wp-block-jetpack-simple-payments .simple-payments__help-message>span{margin-top:2px}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error{color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__help-message.simple-payments__help-message-is-error svg{fill:#d94f4f}.simple-payments__loading{animation:b 1.6s ease-in-out infinite}@keyframes b{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex}.jetpack-simple-payments-items{-ms-flex:0 0 auto;flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{-ms-flex-direction:row;flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{-ms-flex-preferred-size:70%;flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#d94f4f}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__help-message{-ms-flex:1 1 100%;flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}
_inc/blocks/images/cat-blog-87a988c0432f7f3ceb5bfe782db1431d.png ADDED
Binary file
_inc/blocks/images/devices-cddfc9159d108e7b62bcfbad49cdad37.jpg ADDED
Binary file
_inc/blocks/images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg ADDED
Binary file
_inc/blocks/images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg ADDED
Binary file
_inc/blocks/images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg ADDED
Binary file
_inc/blocks/images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg ADDED
Binary file
_inc/blocks/images/mobile-wedding-ec7cce11cd6ea354451d78beac70755d.jpg ADDED
Binary file
_inc/blocks/images/oval-3cc7669d571aef4e12f34b349e42d390.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="32px" height="38px" viewBox="0 0 32 38" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 52.1 (67048) - http://www.bohemiancoding.com/sketch -->
4
+ <title>Oval Copy</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs>
7
+ <path d="M119,136 C119,136 135,124.692424 135,114 C135,103.307576 127.836556,98 119,98 C110.163444,98 103,103.307576 103,114 C103,124.692424 119,136 119,136 Z" id="path-1"></path>
8
+ <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="32" height="38" fill="white">
9
+ <use xlink:href="#path-1"></use>
10
+ </mask>
11
+ </defs>
12
+ <g id="Map-Block" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-dasharray="4">
13
+ <g id="Revised-01-Placeholder-Copy" transform="translate(-496.000000, -376.000000)" stroke="#444444" stroke-width="4">
14
+ <g id="Group" transform="translate(393.000000, 278.000000)">
15
+ <use id="Oval-Copy" mask="url(#mask-2)" xlink:href="#path-1"></use>
16
+ </g>
17
+ </g>
18
+ </g>
19
+ </svg>
_inc/blocks/images/paypal-button-1e53882e702881f8dfd958c141e65383.png ADDED
Binary file
_inc/blocks/images/paypal-button@2x-fe4d34770a47484f401cecbb892f8456.png ADDED
Binary file
_inc/blocks/map/mapbox-gl.css ADDED
@@ -0,0 +1 @@
 
1
+ .mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass{cursor:-webkit-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass:active{cursor:-webkit-grabbing;cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{-ms-touch-action:pinch-zoom;touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{-ms-touch-action:none;touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;overflow:hidden;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}.mapboxgl-ctrl-group>button{width:30px;height:30px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group>button+button{border-top:1px solid #ddd}.mapboxgl-ctrl>button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl>button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-icon,.mapboxgl-ctrl-icon>.mapboxgl-ctrl-compass-arrow{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mapboxgl-ctrl-icon{padding:5px}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-out{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9c-.554 0-1 .446-1 1s.446 1 1 1h6c.554 0 1-.446 1-1s-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-in{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 6c-.554 0-1 .446-1 1v2H7c-.554 0-1 .446-1 1s.446 1 1 1h2v2c0 .554.446 1 1 1s1-.446 1-1v-2h2c.554 0 1-.446 1-1s-.446-1-1-1h-2V7c0-.554-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 6.5 10 3.5 3.5 0 0 1 10 6.5zm0 1.8A1.8 1.8 0 0 0 8.3 10a1.8 1.8 0 0 0 1.7 1.8 1.8 1.8 0 0 0 1.8-1.8A1.8 1.8 0 0 0 10 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 6.5 10 3.5 3.5 0 0 1 10 6.5zm0 1.8A1.8 1.8 0 0 0 8.3 10a1.8 1.8 0 0 0 1.7 1.8 1.8 1.8 0 0 0 1.8-1.8A1.8 1.8 0 0 0 10 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 6.5 10 3.5 3.5 0 0 1 10 6.5zm0 1.8A1.8 1.8 0 0 0 8.3 10a1.8 1.8 0 0 0 1.7 1.8 1.8 1.8 0 0 0 1.8-1.8A1.8 1.8 0 0 0 10 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5A3.5 3.5 0 0 1 6.5 10 3.5 3.5 0 0 1 10 6.5zm0 1.8A1.8 1.8 0 0 0 8.3 10a1.8 1.8 0 0 0 1.7 1.8 1.8 1.8 0 0 0 1.8-1.8A1.8 1.8 0 0 0 10 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting{animation:a 2s infinite linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.mapboxgl-ctrl-icon.mapboxgl-ctrl-fullscreen{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4c-.5 0-1 .5-1 1v4h.5l1.277-1.703c1 .763 2.059 1.66 3.114 2.703a30.38 30.38 0 0 1-3.11 2.707L4.5 11H4v4c0 .5.5 1 1 1h4v-.5l-1.727-1.295a35.498 35.498 0 0 1 2.688-3.137 30.312 30.312 0 0 1 2.746 3.15L11 15.5v.5h4c.5 0 1-.5 1-1v-4h-.5l-1.295 1.727a35.513 35.513 0 0 1-3.168-2.717 47.787 47.787 0 0 1 3.192-2.705L15.5 9h.5V5c0-.5-.5-1-1-1h-4v.5l1.703 1.277A32.243 32.243 0 0 1 9.971 8.92 47.761 47.761 0 0 1 7.305 5.77L9 4.5V4H5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-shrink{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.242 3.492a.75.75 0 0 0-.523 1.29l2.246 2.245L4 8.5V9h4c.5 0 1-.5 1-1V4h-.5L7.018 5.955 4.78 3.72a.75.75 0 0 0-.539-.227zm11.492 0a.75.75 0 0 0-.515.227l-2.235 2.234L11.5 4H11v4c0 .5.5 1 1 1h4v-.5l-1.965-1.473 2.246-2.246a.75.75 0 0 0-.547-1.289zM4 11v.5l1.965 1.473-2.246 2.246A.751.751 0 1 0 4.78 16.28l2.246-2.246L8.5 16H9v-4c0-.5-.5-1-1-1H4zm8 0c-.5 0-1 .5-1 1v4h.5l1.473-1.965 2.246 2.246a.751.751 0 1 0 1.062-1.062l-2.246-2.246L16 11.5V11h-4z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-compass>.mapboxgl-ctrl-compass-arrow{width:20px;height:20px;margin:5px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' d='M6 9l4-8 4 8z'/%3E%3Cpath fill='%23CCC' d='M6 11l4 8 4-8z'/%3E%3C/svg%3E");background-repeat:no-repeat;display:inline-block}a.mapboxgl-ctrl-logo{width:85px;height:21px;margin:0 0 -3px -3px;display:block;background-repeat:no-repeat;cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.49 21'%3E%3Cpath class='st0' d='M83.25 14.26c0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 0 1-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 0 1-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.4-2.35a.34.34 0 0 1 .3-.17H83c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.63 2.43 3.67c0 .05.01.09.01.13zM66.24 9.59c-.39-1.88-1.96-3.28-3.84-3.28-1.03 0-2.03.42-2.73 1.18V3.51c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23v-.73c.71.75 1.7 1.18 2.73 1.18 1.88 0 3.45-1.41 3.84-3.29.13-.6.13-1.21 0-1.8zM62.08 13c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51S63.41 13 62.08 13zM71.67 6.32a4.24 4.24 0 0 0-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 0 0 4.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17zm-.02 6.69c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M62.08 7.98c-1.32 0-2.39 1.11-2.41 2.48v.06c.01 1.38 1.08 2.48 2.41 2.48s2.42-1.12 2.42-2.51-1.09-2.51-2.42-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.57 1.17 1.27-.01.71-.52 1.27-1.17 1.27zM71.65 7.98c-1.33 0-2.42 1.12-2.42 2.51S70.32 13 71.65 13s2.42-1.12 2.42-2.51-1.08-2.51-2.42-2.51zm0 3.78c-.64 0-1.17-.57-1.17-1.27 0-.7.53-1.26 1.17-1.26s1.17.57 1.17 1.27c0 .71-.53 1.26-1.17 1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M45.74 6.53h-1.4c-.13 0-.23.11-.23.23v.73c-.71-.75-1.7-1.18-2.73-1.18-2.17 0-3.94 1.87-3.94 4.19s1.77 4.19 3.94 4.19c1.04 0 2.03-.43 2.73-1.19v.73c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23V6.74c0-.12-.09-.22-.22-.22 0 .01 0 .01-.01.01zm-1.62 4C44.11 11.9 43.03 13 41.71 13s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48l.02.08z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M41.71 7.98c-1.33 0-2.42 1.12-2.42 2.51S40.37 13 41.71 13s2.39-1.11 2.41-2.48v-.06c-.02-1.37-1.09-2.48-2.41-2.48zm-1.16 2.51c0-.7.52-1.27 1.17-1.27.64 0 1.14.56 1.17 1.25v.04c-.01.68-.53 1.24-1.17 1.24-.64 0-1.17-.56-1.17-1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M52.41 6.32c-1.03 0-2.03.42-2.73 1.18v-.75c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.1.23-.23V13.5c.71.75 1.7 1.18 2.74 1.18 2.17 0 3.94-1.87 3.94-4.19s-1.78-4.17-3.95-4.17zm-.33 6.69c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51S53.4 13 52.08 13.01z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M52.08 7.98c-1.32 0-2.39 1.11-2.42 2.48v.06c.03 1.38 1.1 2.48 2.42 2.48s2.41-1.12 2.41-2.51-1.09-2.51-2.41-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.58 1.17 1.27s-.53 1.27-1.17 1.27z' opacity='.35'/%3E%3Cpath class='st0' d='M36.08 14.24c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.17z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M84.34 13.59l-.07-.13-1.96-2.99 1.94-2.95c.44-.67.26-1.56-.41-2.02-.02 0-.03 0-.04-.01-.23-.15-.5-.22-.78-.22h-1.61c-.56 0-1.08.29-1.37.78l-.32.55-.34-.56c-.29-.48-.81-.77-1.38-.77h-1.6c-.6 0-1.13.37-1.35.92a5.59 5.59 0 0 0-7.26.45c-.35.34-.65.72-.89 1.14-.9-1.62-2.58-2.72-4.5-2.72-.5 0-1.01.07-1.48.23V3.51c0-.82-.66-1.48-1.47-1.48h-1.4c-.81 0-1.47.66-1.47 1.47v3.75a5.12 5.12 0 0 0-4.17-2.19c-.74 0-1.46.16-2.12.47-.24-.17-.54-.26-.84-.26h-1.4c-.45 0-.87.21-1.15.56a1.498 1.498 0 0 0-1.16-.55h-1.39c-.3 0-.6.09-.84.26-.67-.3-1.39-.46-2.12-.46-1.83 0-3.43 1-4.37 2.5-.2-.46-.48-.89-.83-1.25-.8-.81-1.89-1.25-3.02-1.25h-.01c-.89.01-1.75.33-2.46.88-.74-.57-1.64-.88-2.57-.88h-.03c-.29 0-.58.03-.86.11-.28.06-.56.16-.82.28-.21-.12-.45-.18-.7-.18h-1.4c-.82 0-1.47.66-1.47 1.47v7.5c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.48-.66 1.48-1.48V9.79c.03-.36.23-.59.36-.59.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47l-.01-4.57c.06-.32.25-.47.35-.47.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47v-.38a5.068 5.068 0 0 0 4.06 2.06c.74 0 1.46-.16 2.12-.47.24.17.54.26.84.26h1.39c.3 0 .6-.09.84-.26v2.01c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.47-.66 1.47-1.47v-1.77c.48.15.99.23 1.49.22 1.7 0 3.22-.87 4.17-2.2v.52c0 .82.66 1.47 1.47 1.47h1.4c.3 0 .6-.09.84-.26.66.31 1.39.47 2.12.47 1.92 0 3.6-1.1 4.49-2.73 1.54 2.65 4.95 3.53 7.58 1.98.18-.11.36-.22.53-.36.22.55.76.91 1.35.9H78c.56 0 1.08-.29 1.37-.78l.37-.61.37.61c.29.48.81.78 1.38.78h1.6c.81 0 1.46-.66 1.45-1.46-.05-.22-.1-.44-.2-.65zm-48.48.88h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74a.23.23 0 0 1 .23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.01 5.16c.02.13-.09.23-.21.24zm10.11-.23c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23v-.74c-.7.76-1.69 1.18-2.72 1.18-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.74c0-.13.1-.23.23-.23h1.4c.12-.01.22.08.23.21V14.25h-.01v-.01zm6.44.43c-1.03 0-2.02-.43-2.73-1.18v3.97c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V6.75c0-.13.1-.22.23-.22h1.4c.13 0 .23.11.23.23v.73a3.73 3.73 0 0 1 2.73-1.18c2.17 0 3.94 1.86 3.94 4.18s-1.77 4.18-3.94 4.18zm13.83-3.28c-.39 1.87-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.73c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V3.51c0-.13.1-.23.23-.23h1.4c.13 0 .23.11.23.23v3.97a3.72 3.72 0 0 1 2.73-1.17c1.88 0 3.45 1.4 3.84 3.28.13.6.13 1.21 0 1.8zm5.43 3.29c-2 .01-3.73-1.35-4.17-3.3-.13-.59-.13-1.19 0-1.77a4.243 4.243 0 0 1 4.17-3.3c2.36 0 4.26 1.87 4.26 4.19s-1.9 4.18-4.26 4.18zm11.37-.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 0 1-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 0 1-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.41-2.36a.34.34 0 0 1 .3-.17h1.61c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.38 3.64 2.43 3.67c.02.03.03.07.03.12-.03.13-.12.22-.24.22z' opacity='.35'/%3E%3Cpath class='st0' d='M10.5 1.24c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 0 1 3.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M10.5-.01C4.7-.01 0 4.7 0 10.49s4.7 10.5 10.5 10.5S21 16.29 21 10.49C20.99 4.7 16.3-.01 10.5-.01zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' opacity='.35'/%3E%3Cpath class='st1' d='M14.74 6.25c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M14.33 9.43l-1.86.91-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87z'/%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:21px;height:21px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='M10.5 1.25c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 0 1 3.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' class='st0' opacity='.9' fill='%23fff'/%3E%3Cpath d='M10.5 0C4.7 0 0 4.71 0 10.5S4.7 21 10.5 21 21 16.3 21 10.5C20.99 4.71 16.3 0 10.5 0zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' class='st1' opacity='.35'/%3E%3Cpath d='M14.74 6.26c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9z' class='st1' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M11.56 12.22l-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z'/%3E%3C/svg%3E")}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{margin:10px;position:relative;background-color:#fff;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact>*{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover>*{display:inline}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' fill-rule='evenodd' d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border-width:medium 2px 2px;border-style:none solid solid;border-color:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{-ms-flex-direction:column;flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.mapboxgl-popup-anchor-left{-ms-flex-direction:row;flex-direction:row}.mapboxgl-popup-anchor-right{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{-ms-flex-item-align:center;align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{-ms-flex-item-align:start;align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{-ms-flex-item-align:end;align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{-ms-flex-item-align:center;align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{-ms-flex-item-align:start;align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{-ms-flex-item-align:end;align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{-ms-flex-item-align:center;align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{-ms-flex-item-align:center;align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot{box-shadow:0 0 2px rgba(0,0,0,.25)}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:b 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box}@keyframes b{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
_inc/blocks/map/mapbox-gl.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{231:function(t,e,r){t.exports=function(){"use strict";var t,e,r;function i(i,n){if(t)if(e){var o="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",a={};t(a),(r=n(a)).workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"}))}else e=n;else t=n}return i(0,function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=i;function i(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}i.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},i.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},i.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},i.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},i.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var n=o;function o(t,e){this.x=t,this.y=e}function a(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!a(t[r],e[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(!a(t[i],e[i]))return!1;return!0}return t===e}function s(t,e,i,n){var o=new r(t,e,i,n);return function(t){return o.solve(t)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=e*this.x-r*this.y,n=r*this.x+e*this.y;return this.x=i,this.y=n,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),n=e.x+r*(this.x-e.x)-i*(this.y-e.y),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=n,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t};var u=s(.25,.1,.25,1);function l(t,e,r){return Math.min(r,Math.max(e,t))}function p(t,e,r){var i=r-e,n=((t-e)%i+i)%i+e;return n===e?r:n}function c(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}var h=1;function f(){return h++}function d(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function m(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function y(t,e){t.forEach(function(t){e[t]&&(e[t]=e[t].bind(e))})}function _(t,e){return-1!==t.indexOf(e,t.length-e.length)}function g(t,e,r){var i={};for(var n in t)i[n]=e.call(r||this,t[n],n,t);return i}function v(t,e,r){var i={};for(var n in t)e.call(r||this,t[n],n,t)&&(i[n]=t[n]);return i}function x(t){return Array.isArray(t)?t.map(x):"object"==typeof t&&t?g(t,x):t}var b={};function w(t){b[t]||("undefined"!=typeof console&&console.warn(t),b[t]=!0)}function E(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function S(t){for(var e=0,r=0,i=t.length,n=i-1,o=void 0,a=void 0;r<i;n=r++)o=t[r],e+=((a=t[n]).x-o.x)*(o.y+a.y);return e}function T(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var A=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),z=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,I=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,C={now:A,frame:function(t){var e=z(t);return{cancel:function(){return I(e)}}},getImageData:function(t){var e=self.document.createElement("canvas"),r=e.getContext("2d");if(!r)throw new Error("failed to create canvas 2d context");return e.width=t.width,e.height=t.height,r.drawImage(t,0,0,t.width,t.height),r.getImageData(0,0,t.width,t.height)},resolveURL:function(t){var e=self.document.createElement("a");return e.href=t,e.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},supportsWebp:!1};if(self.document){var k=self.document.createElement("img");k.onload=function(){C.supportsWebp=!0},k.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="}var P={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return 0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":"https://events.mapbox.com/events/v2"},REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},M="See https://www.mapbox.com/api-documentation/#access-tokens";function L(t,e){var r=U(P.API_URL);if(t.protocol=r.protocol,t.authority=r.authority,"/"!==r.path&&(t.path=""+r.path+t.path),!P.REQUIRE_ACCESS_TOKEN)return V(t);if(!(e=e||P.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+M);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+M);return t.params.push("access_token="+e),V(t)}function D(t){return 0===t.indexOf("mapbox:")}var B=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function R(t){return B.test(t)}var O=/(\.(png|jpg)\d*)(?=$)/,F=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function U(t){var e=t.match(F);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function V(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}var N=function(t){this.type=t,this.anonId=null,this.eventData={lastSuccess:null,accessToken:P.ACCESS_TOKEN},this.queue=[],this.pendingRequest=null};N.prototype.fetchEventData=function(){var t=T("localStorage"),e="mapbox.eventData:"+(P.ACCESS_TOKEN||""),r="mapbox.eventData.uuid:"+(P.ACCESS_TOKEN||"");if(t)try{var i=self.localStorage.getItem(e);i&&(this.eventData=JSON.parse(i));var n=self.localStorage.getItem(r);n&&(this.anonId=n)}catch(t){w("Unable to read from LocalStorage")}},N.prototype.saveEventData=function(){var t=T("localStorage"),e="mapbox.eventData:"+(P.ACCESS_TOKEN||""),r="mapbox.eventData.uuid:"+(P.ACCESS_TOKEN||"");if(t)try{self.localStorage.setItem(r,this.anonId),this.eventData.lastSuccess&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){w("Unable to write to LocalStorage")}},N.prototype.processRequests=function(){},N.prototype.postEvent=function(t,e,r){var i=this,n=U(P.EVENTS_URL);n.params.push("access_token="+(P.ACCESS_TOKEN||""));var o={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"0.51.0",userId:this.anonId},a=e?c(o,e):o,s={url:V(n),headers:{"Content-Type":"text/plain"},body:JSON.stringify([a])};this.pendingRequest=$(s,function(t){i.pendingRequest=null,r(t),i.saveEventData(),i.processRequests()})},N.prototype.queueRequest=function(t){this.queue.push(t),this.processRequests()};var j=function(t){function e(){t.call(this,"map.load"),this.success={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e){P.ACCESS_TOKEN&&Array.isArray(t)&&t.some(function(t){return R(t)})&&this.queueRequest({id:e,timestamp:Date.now()})},e.prototype.processRequests=function(){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var e=this.queue.shift(),r=e.id,i=e.timestamp;r&&this.success[r]||(this.anonId||this.fetchEventData(),m(this.anonId)||(this.anonId=d()),this.postEvent(i,{},function(e){e||r&&(t.success[r]=!0)}))}},e}(N),q=new(function(t){function e(){t.call(this,"appUserTurnstile")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t){P.ACCESS_TOKEN&&Array.isArray(t)&&t.some(function(t){return R(t)})&&this.queueRequest(Date.now())},e.prototype.processRequests=function(){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var e=!!this.eventData.accessToken&&this.eventData.accessToken!==P.ACCESS_TOKEN;e&&(this.anonId=this.eventData.lastSuccess=null),this.anonId&&this.eventData.lastSuccess||this.fetchEventData(),m(this.anonId)||(this.anonId=d(),e=!0);var r=this.queue.shift();if(this.eventData.lastSuccess){var i=new Date(this.eventData.lastSuccess),n=new Date(r),o=(r-this.eventData.lastSuccess)/864e5;e=e||o>=1||o<-1||i.getDate()!==n.getDate()}else e=!0;if(!e)return this.processRequests();this.postEvent(r,{"enabled.telemetry":!1},function(e){e||(t.eventData.lastSuccess=r,t.eventData.accessToken=P.ACCESS_TOKEN)})}},e}(N)),Z=q.postTurnstileEvent.bind(q),G=new j,X=G.postMapLoadEvent.bind(G),W={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(W);var H=function(t){function e(e,r,i){401===r&&R(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens"),t.call(this,e),this.status=r,this.url=i,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),K="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope?function(){return self.worker&&self.worker.referrer}:function(){var t=self.location.origin;if(t&&"null"!==t&&"file://"!==t)return t+self.location.pathname},Y=self.fetch&&self.Request&&self.AbortController?function(t,e){var r=new self.AbortController,i=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:K(),signal:r.signal});return"json"===t.type&&i.headers.set("Accept","application/json"),self.fetch(i).then(function(r){r.ok?r[t.type||"text"]().then(function(t){e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires"))}).catch(function(t){return e(new Error(t.message))}):e(new H(r.statusText,r.status,t.url))}).catch(function(t){e(new Error(t.message))}),{cancel:function(){return r.abort()}}}:function(t,e){var r=new self.XMLHttpRequest;for(var i in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(i,t.headers[i]);return"json"===t.type&&r.setRequestHeader("Accept","application/json"),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var i=r.response;if("json"===t.type)try{i=JSON.parse(r.response)}catch(t){return e(t)}e(null,i,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else e(new H(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}},J=function(t,e){return Y(c(t,{type:"arrayBuffer"}),e)},$=function(t,e){return Y(c(t,{method:"POST"}),e)},Q=[],tt=0,et=function(t,e){if(tt>=P.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1};return Q.push(r),{cancel:function(){r.cancelled=!0}}}return tt++,J(t,function(t,r,i,n){for(tt--;Q.length&&tt<P.MAX_PARALLEL_IMAGE_REQUESTS;){var o=Q.shift(),a=o.requestParameters,s=o.callback;o.cancelled||et(a,s)}if(t)e(t);else if(r){var u=new self.Image,l=self.URL||self.webkitURL;u.onload=function(){e(null,u),l.revokeObjectURL(u.src)},u.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var p=new self.Blob([new Uint8Array(r)],{type:"image/png"});u.cacheControl=i,u.expires=n,u.src=r.byteLength?l.createObjectURL(p):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}})};function rt(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function it(t,e,r){if(r&&r[t]){var i=r[t].indexOf(e);-1!==i&&r[t].splice(i,1)}}var nt=function(t,e){void 0===e&&(e={}),c(this,e),this.type=t},ot=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",c({error:e},r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(nt),at=function(){};at.prototype.on=function(t,e){return this._listeners=this._listeners||{},rt(t,e,this._listeners),this},at.prototype.off=function(t,e){return it(t,e,this._listeners),it(t,e,this._oneTimeListeners),this},at.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},rt(t,e,this._oneTimeListeners),this},at.prototype.fire=function(t){"string"==typeof t&&(t=new nt(t,arguments[1]||{}));var e=t.type;if(this.listens(e)){t.target=this;for(var r=0,i=this._listeners&&this._listeners[e]?this._listeners[e].slice():[];r<i.length;r+=1)i[r].call(this,t);for(var n=0,o=this._oneTimeListeners&&this._oneTimeListeners[e]?this._oneTimeListeners[e].slice():[];n<o.length;n+=1){var a=o[n];it(e,a,this._oneTimeListeners),a.call(this,t)}var s=this._eventedParent;s&&(c(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),s.fire(t))}else t instanceof ot&&console.error(t.error);return this},at.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},at.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var st={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-z-order":{type:"enum",values:{"viewport-y":{},source:{}},default:"viewport-y",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"string",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function_stop:{type:"array",minimum:0,maximum:22,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Heatmap"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}}},ut=function(t,e,r,i){this.message=(t?t+": ":"")+r,i&&(this.identifier=i),null!=e&&e.__line__&&(this.line=e.__line__)};function lt(t){var e=t.key,r=t.value;return r?[new ut(e,r,"constants have been deprecated as of v8")]:[]}function pt(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}function ct(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function ht(t){return Array.isArray(t)?t.map(ht):ct(t)}var ft=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),dt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,i=e;r<i.length;r+=1){var n=i[r],o=n[0],a=n[1];this.bindings[o]=a}};dt.prototype.concat=function(t){return new dt(this,t)},dt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},dt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var mt={kind:"null"},yt={kind:"number"},_t={kind:"string"},gt={kind:"boolean"},vt={kind:"color"},xt={kind:"object"},bt={kind:"value"},wt={kind:"collator"},Et={kind:"formatted"};function St(t,e){return{kind:"array",itemType:t,N:e}}function Tt(t){if("array"===t.kind){var e=Tt(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var At=[mt,yt,_t,gt,vt,Et,xt,St(bt)];function zt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!zt(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,i=At;r<i.length;r+=1)if(!zt(i[r],e))return null}return"Expected "+Tt(t)+" but found "+Tt(e)+" instead."}var It=e(function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function i(t){return(t=Math.round(t))<0?0:t>255?255:t}function n(t){return t<0?0:t>1?1:t}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?n(parseFloat(t)/100):n(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,n=t.replace(/ /g,"").toLowerCase();if(n in r)return r[n].slice();if("#"===n[0])return 4===n.length?(e=parseInt(n.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===n.length&&(e=parseInt(n.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var u=n.indexOf("("),l=n.indexOf(")");if(-1!==u&&l+1===n.length){var p=n.substr(0,u),c=n.substr(u+1,l-(u+1)).split(","),h=1;switch(p){case"rgba":if(4!==c.length)return null;h=a(c.pop());case"rgb":return 3!==c.length?null:[o(c[0]),o(c[1]),o(c[2]),h];case"hsla":if(4!==c.length)return null;h=a(c.pop());case"hsl":if(3!==c.length)return null;var f=(parseFloat(c[0])%360+360)%360/360,d=a(c[1]),m=a(c[2]),y=m<=.5?m*(d+1):m+d-m*d,_=2*m-y;return[i(255*s(_,y,f+1/3)),i(255*s(_,y,f)),i(255*s(_,y,f-1/3)),h];default:return null}}return null}}catch(t){}}).parseCSSColor,Ct=function(t,e,r,i){void 0===i&&(i=1),this.r=t,this.g=e,this.b=r,this.a=i};Ct.parse=function(t){if(t){if(t instanceof Ct)return t;if("string"==typeof t){var e=It(t);if(e)return new Ct(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Ct.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],i=t[2],n=t[3];return"rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(i)+","+n+")"},Ct.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,i=this.a;return 0===i?[0,0,0,0]:[255*t/i,255*e/i,255*r/i,i]},Ct.black=new Ct(0,0,0,1),Ct.white=new Ct(1,1,1,1),Ct.transparent=new Ct(0,0,0,0),Ct.red=new Ct(1,0,0,1);var kt=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};kt.prototype.compare=function(t,e){return this.collator.compare(t,e)},kt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Pt=function(t,e,r){this.text=t,this.scale=e,this.fontStack=r},Mt=function(t){this.sections=t};function Lt(t,e,r,i){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===i||"number"==typeof i&&i>=0&&i<=1?null:"Invalid rgba value ["+[t,e,r,i].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof i?[t,e,r,i]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function Dt(t){if(null===t)return mt;if("string"==typeof t)return _t;if("boolean"==typeof t)return gt;if("number"==typeof t)return yt;if(t instanceof Ct)return vt;if(t instanceof kt)return wt;if(t instanceof Mt)return Et;if(Array.isArray(t)){for(var e,r=t.length,i=0,n=t;i<n.length;i+=1){var o=Dt(n[i]);if(e){if(e===o)continue;e=bt;break}e=o}return St(e||bt,r)}return xt}function Bt(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Ct||t instanceof Mt?t.toString():JSON.stringify(t)}Mt.fromString=function(t){return new Mt([new Pt(t,null,null)])},Mt.prototype.toString=function(){return this.sections.map(function(t){return t.text}).join("")},Mt.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.text);var n={};i.fontStack&&(n["text-font"]=["literal",i.fontStack.split(",")]),i.scale&&(n["font-scale"]=i.scale),t.push(n)}return t};var Rt=function(t,e){this.type=t,this.value=e};Rt.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!function t(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Ct)return!0;if(e instanceof kt)return!0;if(e instanceof Mt)return!0;if(Array.isArray(e)){for(var r=0,i=e;r<i.length;r+=1)if(!t(i[r]))return!1;return!0}if("object"==typeof e){for(var n in e)if(!t(e[n]))return!1;return!0}return!1}(t[1]))return e.error("invalid value");var r=t[1],i=Dt(r),n=e.expectedType;return"array"!==i.kind||0!==i.N||!n||"array"!==n.kind||"number"==typeof n.N&&0!==n.N||(i=n),new Rt(i,r)},Rt.prototype.evaluate=function(){return this.value},Rt.prototype.eachChild=function(){},Rt.prototype.possibleOutputs=function(){return[this.value]},Rt.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Ct?["rgba"].concat(this.value.toArray()):this.value instanceof Mt?this.value.serialize():this.value};var Ot=function(t){this.name="ExpressionEvaluationError",this.message=t};Ot.prototype.toJSON=function(){return this.message};var Ft={string:_t,number:yt,boolean:gt,object:xt},Ut=function(t,e){this.type=t,this.args=e};Ut.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,i=1,n=t[0];if("array"===n){var o,a;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in Ft)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=Ft[s],i++}else o=bt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],i++}r=St(o,a)}else r=Ft[n];for(var u=[];i<t.length;i++){var l=e.parse(t[i],i,bt);if(!l)return null;u.push(l)}return new Ut(r,u)},Ut.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!zt(this.type,Dt(r)))return r;if(e===this.args.length-1)throw new Ot("Expected value to be of type "+Tt(this.type)+", but found "+Tt(Dt(r))+" instead.")}return null},Ut.prototype.eachChild=function(t){this.args.forEach(t)},Ut.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.args.map(function(t){return t.possibleOutputs()}));var t},Ut.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var i=t.N;("number"==typeof i||this.args.length>1)&&e.push(i)}}return e.concat(this.args.map(function(t){return t.serialize()}))};var Vt=function(t){this.type=Et,this.sections=t};Vt.parse=function(t,e){if(t.length<3)return e.error("Expected at least two arguments.");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");for(var r=[],i=1;i<t.length-1;i+=2){var n=e.parse(t[i],1,bt);if(!n)return null;var o=n.type.kind;if("string"!==o&&"value"!==o&&"null"!==o)return e.error("Formatted text type must be 'string', 'value', or 'null'.");var a=t[i+1];if("object"!=typeof a||Array.isArray(a))return e.error("Format options argument must be an object.");var s=null;if(a["font-scale"]&&!(s=e.parse(a["font-scale"],1,yt)))return null;var u=null;if(a["text-font"]&&!(u=e.parse(a["text-font"],1,St(_t))))return null;r.push({text:n,scale:s,font:u})}return new Vt(r)},Vt.prototype.evaluate=function(t){return new Mt(this.sections.map(function(e){return new Pt(Bt(e.text.evaluate(t)),e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null)}))},Vt.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t(i.text),i.scale&&t(i.scale),i.font&&t(i.font)}},Vt.prototype.possibleOutputs=function(){return[void 0]},Vt.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.text.serialize());var n={};i.scale&&(n["font-scale"]=i.scale.serialize()),i.font&&(n["text-font"]=i.font.serialize()),t.push(n)}return t};var Nt={"to-boolean":gt,"to-color":vt,"to-number":yt,"to-string":_t},jt=function(t,e){this.type=t,this.args=e};jt.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var i=Nt[r],n=[],o=1;o<t.length;o++){var a=e.parse(t[o],o,bt);if(!a)return null;n.push(a)}return new jt(i,n)},jt.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,i=0,n=this.args;i<n.length;i+=1){if(r=null,(e=n[i].evaluate(t))instanceof Ct)return e;if("string"==typeof e){var o=t.parseColor(e);if(o)return o}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":Lt(e[0],e[1],e[2],e[3])))return new Ct(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Ot(r||"Could not parse color from value '"+("string"==typeof e?e:JSON.stringify(e))+"'")}if("number"===this.type.kind){for(var a=null,s=0,u=this.args;s<u.length;s+=1){if(null===(a=u[s].evaluate(t)))return 0;var l=Number(a);if(!isNaN(l))return l}throw new Ot("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?Mt.fromString(Bt(this.args[0].evaluate(t))):Bt(this.args[0].evaluate(t))},jt.prototype.eachChild=function(t){this.args.forEach(t)},jt.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.args.map(function(t){return t.possibleOutputs()}));var t},jt.prototype.serialize=function(){if("formatted"===this.type.kind)return new Vt([{text:this.args[0],scale:null,font:null}]).serialize();var t=["to-"+this.type.kind];return this.eachChild(function(e){t.push(e.serialize())}),t};var qt=["Unknown","Point","LineString","Polygon"],Zt=function(){this.globals=null,this.feature=null,this.featureState=null,this._parseColorCache={}};Zt.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},Zt.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?qt[this.feature.type]:this.feature.type:null},Zt.prototype.properties=function(){return this.feature&&this.feature.properties||{}},Zt.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Ct.parse(t)),e};var Gt=function(t,e,r,i){this.name=t,this.type=e,this._evaluate=r,this.args=i};Gt.prototype.evaluate=function(t){return this._evaluate(t,this.args)},Gt.prototype.eachChild=function(t){this.args.forEach(t)},Gt.prototype.possibleOutputs=function(){return[void 0]},Gt.prototype.serialize=function(){return[this.name].concat(this.args.map(function(t){return t.serialize()}))},Gt.parse=function(t,e){var r=t[0],i=Gt.definitions[r];if(!i)return e.error('Unknown expression "'+r+'". If you wanted a literal array, use ["literal", [...]].',0);for(var n=Array.isArray(i)?i[0]:i.type,o=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,a=o.filter(function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1}),s=null,u=0,l=a;u<l.length;u+=1){var p=l[u],c=p[0],h=p[1];s=new Jt(e.registry,e.path,null,e.scope);for(var f=[],d=!1,m=1;m<t.length;m++){var y=t[m],_=Array.isArray(c)?c[m-1]:c.type,g=s.parse(y,1+f.length,_);if(!g){d=!0;break}f.push(g)}if(!d)if(Array.isArray(c)&&c.length!==f.length)s.error("Expected "+c.length+" arguments, but found "+f.length+" instead.");else{for(var v=0;v<f.length;v++){var x=Array.isArray(c)?c[v]:c.type,b=f[v];s.concat(v+1).checkSubtype(x,b.type)}if(0===s.errors.length)return new Gt(r,n,h,f)}}if(1===a.length)e.errors.push.apply(e.errors,s.errors);else{for(var w=(a.length?a:o).map(function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(Tt).join(", ")+")":"("+Tt(e.type)+"...)"}).join(" | "),E=[],S=1;S<t.length;S++){var T=e.parse(t[S],1+E.length);if(!T)return null;E.push(Tt(T.type))}e.error("Expected arguments of type "+w+", but found ("+E.join(", ")+") instead.")}return null},Gt.register=function(t,e){for(var r in Gt.definitions=e,e)t[r]=Gt};var Xt=function(t,e,r){this.type=wt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e};function Wt(t){if(t instanceof Gt){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var e=!0;return t.eachChild(function(t){e&&!Wt(t)&&(e=!1)}),e}function Ht(t){if(t instanceof Gt&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild(function(t){e&&!Ht(t)&&(e=!1)}),e}function Kt(t,e){if(t instanceof Gt&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild(function(t){r&&!Kt(t,e)&&(r=!1)}),r}Xt.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var i=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,gt);if(!i)return null;var n=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,gt);if(!n)return null;var o=null;return r.locale&&!(o=e.parse(r.locale,1,_t))?null:new Xt(i,n,o)},Xt.prototype.evaluate=function(t){return new kt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},Xt.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},Xt.prototype.possibleOutputs=function(){return[void 0]},Xt.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var Yt=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};Yt.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new Yt(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},Yt.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},Yt.prototype.eachChild=function(){},Yt.prototype.possibleOutputs=function(){return[void 0]},Yt.prototype.serialize=function(){return["var",this.name]};var Jt=function(t,e,r,i,n){void 0===e&&(e=[]),void 0===i&&(i=new dt),void 0===n&&(n=[]),this.registry=t,this.path=e,this.key=e.map(function(t){return"["+t+"]"}).join(""),this.scope=i,this.errors=n,this.expectedType=r};function $t(t,e){for(var r,i,n=0,o=t.length-1,a=0;n<=o;){if(r=t[a=Math.floor((n+o)/2)],i=t[a+1],e===r||e>r&&e<i)return a;if(r<e)n=a+1;else{if(!(r>e))throw new Ot("Input is not a number.");o=a-1}}return Math.max(a-1,0)}Jt.prototype.parse=function(t,e,r,i,n){return void 0===n&&(n={}),e?this.concat(e,r,i)._parse(t,n):this._parse(t,n)},Jt.prototype._parse=function(t,e){function r(t,e,r){return"assert"===r?new Ut(e,[t]):"coerce"===r?new jt(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var i=t[0];if("string"!=typeof i)return this.error("Expression name must be a string, but found "+typeof i+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var n=this.registry[i];if(n){var o=n.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=r(o,a,e.typeAnnotation||"coerce");else o=r(o,a,e.typeAnnotation||"assert")}if(!(o instanceof Rt)&&function t(e){if(e instanceof Yt)return t(e.boundExpression);if(e instanceof Gt&&"error"===e.name)return!1;if(e instanceof Xt)return!1;var r=e instanceof jt||e instanceof Ut,i=!0;return e.eachChild(function(e){i=r?i&&t(e):i&&e instanceof Rt}),!!i&&Wt(e)&&Kt(e,["zoom","heatmap-density","line-progress","is-supported-script"])}(o)){var u=new Zt;try{o=new Rt(o.type,o.evaluate(u))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},Jt.prototype.concat=function(t,e,r){var i="number"==typeof t?this.path.concat(t):this.path,n=r?this.scope.concat(r):this.scope;return new Jt(this.registry,i,e||null,n,this.errors)},Jt.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=""+this.key+e.map(function(t){return"["+t+"]"}).join("");this.errors.push(new ft(i,t))},Jt.prototype.checkSubtype=function(t,e){var r=zt(t,e);return r&&this.error(r),r};var Qt=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var i=0,n=r;i<n.length;i+=1){var o=n[i],a=o[0],s=o[1];this.labels.push(a),this.outputs.push(s)}};Qt.parse=function(t,e){var r=t[1],i=t.slice(2);if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(r=e.parse(r,1,yt)))return null;var n=[],o=null;e.expectedType&&"value"!==e.expectedType.kind&&(o=e.expectedType),i.unshift(-1/0);for(var a=0;a<i.length;a+=2){var s=i[a],u=i[a+1],l=a+1,p=a+2;if("number"!=typeof s)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(n.length&&n[n.length-1][0]>=s)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(u,p,o);if(!c)return null;o=o||c.type,n.push([s,c])}return new Qt(o,r,n)},Qt.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;return i>=e[n-1]?r[n-1].evaluate(t):r[$t(e,i)].evaluate(t)},Qt.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},Qt.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.outputs.map(function(t){return t.possibleOutputs()}));var t},Qt.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var te=ee;function ee(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}function re(t,e,r){return t*(1-r)+e*r}ee.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},ee.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},ee.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},ee.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},ee.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var ie=Object.freeze({number:re,color:function(t,e,r){return new Ct(re(t.r,e.r,r),re(t.g,e.g,r),re(t.b,e.b,r),re(t.a,e.a,r))},array:function(t,e,r){return t.map(function(t,i){return re(t,e[i],r)})}}),ne=.95047,oe=1,ae=1.08883,se=4/29,ue=6/29,le=3*ue*ue,pe=ue*ue*ue,ce=Math.PI/180,he=180/Math.PI;function fe(t){return t>pe?Math.pow(t,1/3):t/le+se}function de(t){return t>ue?t*t*t:le*(t-se)}function me(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ye(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _e(t){var e=ye(t.r),r=ye(t.g),i=ye(t.b),n=fe((.4124564*e+.3575761*r+.1804375*i)/ne),o=fe((.2126729*e+.7151522*r+.072175*i)/oe);return{l:116*o-16,a:500*(n-o),b:200*(o-fe((.0193339*e+.119192*r+.9503041*i)/ae)),alpha:t.a}}function ge(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=oe*de(e),r=ne*de(r),i=ae*de(i),new Ct(me(3.2404542*r-1.5371385*e-.4985314*i),me(-.969266*r+1.8760108*e+.041556*i),me(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}var ve={forward:_e,reverse:ge,interpolate:function(t,e,r){return{l:re(t.l,e.l,r),a:re(t.a,e.a,r),b:re(t.b,e.b,r),alpha:re(t.alpha,e.alpha,r)}}},xe={forward:function(t){var e=_e(t),r=e.l,i=e.a,n=e.b,o=Math.atan2(n,i)*he;return{h:o<0?o+360:o,c:Math.sqrt(i*i+n*n),l:r,alpha:t.a}},reverse:function(t){var e=t.h*ce,r=t.c;return ge({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:function(t,e,r){var i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}(t.h,e.h,r),c:re(t.c,e.c,r),l:re(t.l,e.l,r),alpha:re(t.alpha,e.alpha,r)}}},be=Object.freeze({lab:ve,hcl:xe}),we=function(t,e,r,i,n){this.type=t,this.operator=e,this.interpolation=r,this.input=i,this.labels=[],this.outputs=[];for(var o=0,a=n;o<a.length;o+=1){var s=a[o],u=s[0],l=s[1];this.labels.push(u),this.outputs.push(l)}};function Ee(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}we.interpolationFactor=function(t,e,r,i){var n=0;if("exponential"===t.name)n=Ee(e,t.base,r,i);else if("linear"===t.name)n=Ee(e,1,r,i);else if("cubic-bezier"===t.name){var o=t.controlPoints;n=new te(o[0],o[1],o[2],o[3]).solve(Ee(e,1,r,i))}return n},we.parse=function(t,e){var r=t[0],i=t[1],n=t[2],o=t.slice(3);if(!Array.isArray(i)||0===i.length)return e.error("Expected an interpolation type expression.",1);if("linear"===i[0])i={name:"linear"};else if("exponential"===i[0]){var a=i[1];if("number"!=typeof a)return e.error("Exponential interpolation requires a numeric base.",1,1);i={name:"exponential",base:a}}else{if("cubic-bezier"!==i[0])return e.error("Unknown interpolation type "+String(i[0]),1,0);var s=i.slice(1);if(4!==s.length||s.some(function(t){return"number"!=typeof t||t<0||t>1}))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(n=e.parse(n,2,yt)))return null;var u=[],l=null;"interpolate-hcl"===r||"interpolate-lab"===r?l=vt:e.expectedType&&"value"!==e.expectedType.kind&&(l=e.expectedType);for(var p=0;p<o.length;p+=2){var c=o[p],h=o[p+1],f=p+3,d=p+4;if("number"!=typeof c)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(u.length&&u[u.length-1][0]>=c)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var m=e.parse(h,d,l);if(!m)return null;l=l||m.type,u.push([c,m])}return"number"===l.kind||"color"===l.kind||"array"===l.kind&&"number"===l.itemType.kind&&"number"==typeof l.N?new we(l,r,i,n,u):e.error("Type "+Tt(l)+" is not interpolatable.")},we.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;if(i>=e[n-1])return r[n-1].evaluate(t);var o=$t(e,i),a=e[o],s=e[o+1],u=we.interpolationFactor(this.interpolation,i,a,s),l=r[o].evaluate(t),p=r[o+1].evaluate(t);return"interpolate"===this.operator?ie[this.type.kind.toLowerCase()](l,p,u):"interpolate-hcl"===this.operator?xe.reverse(xe.interpolate(xe.forward(l),xe.forward(p),u)):ve.reverse(ve.interpolate(ve.forward(l),ve.forward(p),u))},we.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},we.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.outputs.map(function(t){return t.possibleOutputs()}));var t},we.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var Se=function(t,e){this.type=t,this.args=e};Se.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,i=e.expectedType;i&&"value"!==i.kind&&(r=i);for(var n=[],o=0,a=t.slice(1);o<a.length;o+=1){var s=a[o],u=e.parse(s,1+n.length,r,void 0,{typeAnnotation:"omit"});if(!u)return null;r=r||u.type,n.push(u)}var l=i&&n.some(function(t){return zt(i,t.type)});return new Se(l?bt:r,n)},Se.prototype.evaluate=function(t){for(var e=null,r=0,i=this.args;r<i.length&&null===(e=i[r].evaluate(t));r+=1);return e},Se.prototype.eachChild=function(t){this.args.forEach(t)},Se.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.args.map(function(t){return t.possibleOutputs()}));var t},Se.prototype.serialize=function(){var t=["coalesce"];return this.eachChild(function(e){t.push(e.serialize())}),t};var Te=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};Te.prototype.evaluate=function(t){return this.result.evaluate(t)},Te.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1)t(r[e][1]);t(this.result)},Te.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],i=1;i<t.length-1;i+=2){var n=t[i];if("string"!=typeof n)return e.error("Expected string, but found "+typeof n+" instead.",i);if(/[^a-zA-Z0-9_]/.test(n))return e.error("Variable names must contain only alphanumeric characters or '_'.",i);var o=e.parse(t[i+1],i+1);if(!o)return null;r.push([n,o])}var a=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return a?new Te(r,a):null},Te.prototype.possibleOutputs=function(){return this.result.possibleOutputs()},Te.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t.push(n,o.serialize())}return t.push(this.result.serialize()),t};var Ae=function(t,e,r){this.type=t,this.index=e,this.input=r};Ae.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,yt),i=e.parse(t[2],2,St(e.expectedType||bt));if(!r||!i)return null;var n=i.type;return new Ae(n.itemType,r,i)},Ae.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new Ot("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new Ot("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new Ot("Array index must be an integer, but found "+e+" instead.");return r[e]},Ae.prototype.eachChild=function(t){t(this.index),t(this.input)},Ae.prototype.possibleOutputs=function(){return[void 0]},Ae.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var ze=function(t,e,r,i,n,o){this.inputType=t,this.type=e,this.input=r,this.cases=i,this.outputs=n,this.otherwise=o};ze.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var n={},o=[],a=2;a<t.length-1;a+=2){var s=t[a],u=t[a+1];Array.isArray(s)||(s=[s]);var l=e.concat(a);if(0===s.length)return l.error("Expected at least one branch label.");for(var p=0,c=s;p<c.length;p+=1){var h=c[p];if("number"!=typeof h&&"string"!=typeof h)return l.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return l.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return l.error("Numeric branch labels must be integer values.");if(r){if(l.checkSubtype(r,Dt(h)))return null}else r=Dt(h);if(void 0!==n[String(h)])return l.error("Branch labels must be unique.");n[String(h)]=o.length}var f=e.parse(u,a,i);if(!f)return null;i=i||f.type,o.push(f)}var d=e.parse(t[1],1,bt);if(!d)return null;var m=e.parse(t[t.length-1],t.length-1,i);return m?"value"!==d.type.kind&&e.concat(1).checkSubtype(r,d.type)?null:new ze(r,i,d,n,o,m):null},ze.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(Dt(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},ze.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},ze.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.outputs.map(function(t){return t.possibleOutputs()})).concat(this.otherwise.possibleOutputs());var t},ze.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],i={},n=0,o=Object.keys(this.cases).sort();n<o.length;n+=1){var a=o[n],s=i[t.cases[a]];void 0===s?(i[t.cases[a]]=r.length,r.push([t.cases[a],[a]])):r[s][1].push(a)}for(var u=function(e){return"number"===t.inputType.kind?Number(e):e},l=0,p=r;l<p.length;l+=1){var c=p[l],h=c[0],f=c[1];1===f.length?e.push(u(f[0])):e.push(f.map(u)),e.push(t.outputs[h].serialize())}return e.push(this.otherwise.serialize()),e};var Ie=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r};function Ce(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function ke(t,e,r,i){return 0===i.compare(e,r)}function Pe(t,e,r){var i="=="!==t&&"!="!==t;return function(){function n(t,e,r){this.type=gt,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return n.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],o=e.parse(t[1],1,bt);if(!o)return null;if(!Ce(r,o.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Tt(o.type)+"'.");var a=e.parse(t[2],2,bt);if(!a)return null;if(!Ce(r,a.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Tt(a.type)+"'.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot compare types '"+Tt(o.type)+"' and '"+Tt(a.type)+"'.");i&&("value"===o.type.kind&&"value"!==a.type.kind?o=new Ut(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new Ut(o.type,[a])));var s=null;if(4===t.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,wt)))return null}return new n(o,a,s)},n.prototype.evaluate=function(n){var o=this.lhs.evaluate(n),a=this.rhs.evaluate(n);if(i&&this.hasUntypedArgument){var s=Dt(o),u=Dt(a);if(s.kind!==u.kind||"string"!==s.kind&&"number"!==s.kind)throw new Ot('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+u.kind+") instead.")}if(this.collator&&!i&&this.hasUntypedArgument){var l=Dt(o),p=Dt(a);if("string"!==l.kind||"string"!==p.kind)return e(n,o,a)}return this.collator?r(n,o,a,this.collator.evaluate(n)):e(n,o,a)},n.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},n.prototype.possibleOutputs=function(){return[!0,!1]},n.prototype.serialize=function(){var e=[t];return this.eachChild(function(t){e.push(t.serialize())}),e},n}()}Ie.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var i=[],n=1;n<t.length-1;n+=2){var o=e.parse(t[n],n,gt);if(!o)return null;var a=e.parse(t[n+1],n+1,r);if(!a)return null;i.push([o,a]),r=r||a.type}var s=e.parse(t[t.length-1],t.length-1,r);return s?new Ie(r,i,s):null},Ie.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];if(n.evaluate(t))return o.evaluate(t)}return this.otherwise.evaluate(t)},Ie.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t(n),t(o)}t(this.otherwise)},Ie.prototype.possibleOutputs=function(){return(t=[]).concat.apply(t,this.branches.map(function(t){return t[0],t[1].possibleOutputs()})).concat(this.otherwise.possibleOutputs());var t},Ie.prototype.serialize=function(){var t=["case"];return this.eachChild(function(e){t.push(e.serialize())}),t};var Me=Pe("==",function(t,e,r){return e===r},ke),Le=Pe("!=",function(t,e,r){return e!==r},function(t,e,r,i){return!ke(0,e,r,i)}),De=Pe("<",function(t,e,r){return e<r},function(t,e,r,i){return i.compare(e,r)<0}),Be=Pe(">",function(t,e,r){return e>r},function(t,e,r,i){return i.compare(e,r)>0}),Re=Pe("<=",function(t,e,r){return e<=r},function(t,e,r,i){return i.compare(e,r)<=0}),Oe=Pe(">=",function(t,e,r){return e>=r},function(t,e,r,i){return i.compare(e,r)>=0}),Fe=function(t){this.type=yt,this.input=t};Fe.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Tt(r.type)+" instead."):new Fe(r):null},Fe.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Ot("Expected value to be of type string or array, but found "+Tt(Dt(e))+" instead.")},Fe.prototype.eachChild=function(t){t(this.input)},Fe.prototype.possibleOutputs=function(){return[void 0]},Fe.prototype.serialize=function(){var t=["length"];return this.eachChild(function(e){t.push(e.serialize())}),t};var Ue={"==":Me,"!=":Le,">":Be,"<":De,">=":Oe,"<=":Re,array:Ut,at:Ae,boolean:Ut,case:Ie,coalesce:Se,collator:Xt,format:Vt,interpolate:we,"interpolate-hcl":we,"interpolate-lab":we,length:Fe,let:Te,literal:Rt,match:ze,number:Ut,object:Ut,step:Qt,string:Ut,"to-boolean":jt,"to-color":jt,"to-number":jt,"to-string":jt,var:Yt};function Ve(t,e){var r=e[0],i=e[1],n=e[2],o=e[3];r=r.evaluate(t),i=i.evaluate(t),n=n.evaluate(t);var a=o?o.evaluate(t):1,s=Lt(r,i,n,a);if(s)throw new Ot(s);return new Ct(r/255*a,i/255*a,n/255*a,a)}function Ne(t,e){return t in e}function je(t,e){var r=e[t];return void 0===r?null:r}function qe(t){return{type:t}}function Ze(t){return{result:"success",value:t}}function Ge(t){return{result:"error",value:t}}function Xe(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function We(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function He(t){return!!t.expression&&t.expression.interpolated}function Ke(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function Ye(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function Je(t){return t}function $e(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function Qe(t,e,r,i,n){return $e(typeof r===n?i[r]:void 0,t.default,e.default)}function tr(t,e,r){if("number"!==Ke(r))return $e(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var n=ir(t.stops,r);return t.stops[n][1]}function er(t,e,r){var i=void 0!==t.base?t.base:1;if("number"!==Ke(r))return $e(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var o=ir(t.stops,r),a=function(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}(r,i,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],u=t.stops[o+1][1],l=ie[e.type]||Je;if(t.colorSpace&&"rgb"!==t.colorSpace){var p=be[t.colorSpace];l=function(t,e){return p.reverse(p.interpolate(p.forward(t),p.forward(e),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),i=u.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==i)return l(r,i,a)}}:l(s,u,a)}function rr(t,e,r){return"color"===e.type?r=Ct.parse(r):"formatted"===e.type?r=Mt.fromString(r.toString()):Ke(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),$e(r,t.default,e.default)}function ir(t,e){for(var r,i,n=0,o=t.length-1,a=0;n<=o;){if(r=t[a=Math.floor((n+o)/2)][0],i=t[a+1][0],e===r||e>r&&e<i)return a;r<e?n=a+1:r>e&&(o=a-1)}return Math.max(a-1,0)}Gt.register(Ue,{error:[{kind:"error"},[_t],function(t,e){var r=e[0];throw new Ot(r.evaluate(t))}],typeof:[_t,[bt],function(t,e){return Tt(Dt(e[0].evaluate(t)))}],"to-rgba":[St(yt,4),[vt],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[vt,[yt,yt,yt],Ve],rgba:[vt,[yt,yt,yt,yt],Ve],has:{type:gt,overloads:[[[_t],function(t,e){return Ne(e[0].evaluate(t),t.properties())}],[[_t,xt],function(t,e){var r=e[0],i=e[1];return Ne(r.evaluate(t),i.evaluate(t))}]]},get:{type:bt,overloads:[[[_t],function(t,e){return je(e[0].evaluate(t),t.properties())}],[[_t,xt],function(t,e){var r=e[0],i=e[1];return je(r.evaluate(t),i.evaluate(t))}]]},"feature-state":[bt,[_t],function(t,e){return je(e[0].evaluate(t),t.featureState||{})}],properties:[xt,[],function(t){return t.properties()}],"geometry-type":[_t,[],function(t){return t.geometryType()}],id:[bt,[],function(t){return t.id()}],zoom:[yt,[],function(t){return t.globals.zoom}],"heatmap-density":[yt,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[yt,[],function(t){return t.globals.lineProgress||0}],"+":[yt,qe(yt),function(t,e){for(var r=0,i=0,n=e;i<n.length;i+=1)r+=n[i].evaluate(t);return r}],"*":[yt,qe(yt),function(t,e){for(var r=1,i=0,n=e;i<n.length;i+=1)r*=n[i].evaluate(t);return r}],"-":{type:yt,overloads:[[[yt,yt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)-i.evaluate(t)}],[[yt],function(t,e){return-e[0].evaluate(t)}]]},"/":[yt,[yt,yt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)/i.evaluate(t)}],"%":[yt,[yt,yt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)%i.evaluate(t)}],ln2:[yt,[],function(){return Math.LN2}],pi:[yt,[],function(){return Math.PI}],e:[yt,[],function(){return Math.E}],"^":[yt,[yt,yt],function(t,e){var r=e[0],i=e[1];return Math.pow(r.evaluate(t),i.evaluate(t))}],sqrt:[yt,[yt],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[yt,[yt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[yt,[yt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[yt,[yt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[yt,[yt],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[yt,[yt],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[yt,[yt],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[yt,[yt],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[yt,[yt],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[yt,[yt],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[yt,qe(yt),function(t,e){return Math.min.apply(Math,e.map(function(e){return e.evaluate(t)}))}],max:[yt,qe(yt),function(t,e){return Math.max.apply(Math,e.map(function(e){return e.evaluate(t)}))}],abs:[yt,[yt],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[yt,[yt],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[yt,[yt],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[yt,[yt],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[gt,[_t,bt],function(t,e){var r=e[0],i=e[1];return t.properties()[r.value]===i.value}],"filter-id-==":[gt,[bt],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[gt,[_t],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[gt,[_t,bt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<o}],"filter-id-<":[gt,[bt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<n}],"filter->":[gt,[_t,bt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>o}],"filter-id->":[gt,[bt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>n}],"filter-<=":[gt,[_t,bt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<=o}],"filter-id-<=":[gt,[bt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<=n}],"filter->=":[gt,[_t,bt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>=o}],"filter-id->=":[gt,[bt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>=n}],"filter-has":[gt,[bt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[gt,[],function(t){return null!==t.id()}],"filter-type-in":[gt,[St(_t)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[gt,[St(bt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[gt,[_t,St(bt)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[gt,[_t,St(bt)],function(t,e){var r=e[0],i=e[1];return function(t,e,r,i){for(;r<=i;){var n=r+i>>1;if(e[n]===t)return!0;e[n]>t?i=n-1:r=n+1}return!1}(t.properties()[r.value],i.value,0,i.value.length-1)}],all:{type:gt,overloads:[[[gt,gt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)&&i.evaluate(t)}],[qe(gt),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(!i[r].evaluate(t))return!1;return!0}]]},any:{type:gt,overloads:[[[gt,gt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)||i.evaluate(t)}],[qe(gt),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(i[r].evaluate(t))return!0;return!1}]]},"!":[gt,[gt],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[gt,[_t],function(t,e){var r=e[0],i=t.globals&&t.globals.isSupportedScript;return!i||i(r.evaluate(t))}],upcase:[_t,[_t],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[_t,[_t],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[_t,qe(bt),function(t,e){return e.map(function(e){return Bt(e.evaluate(t))}).join("")}],"resolved-locale":[_t,[wt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var nr=function(t,e){var r;this.expression=t,this._warningHistory={},this._evaluator=new Zt,this._defaultValue="color"===(r=e).type&&Ye(r.default)?new Ct(0,0,0,0):"color"===r.type?Ct.parse(r.default)||null:void 0===r.default?null:r.default,this._enumValues="enum"===e.type?e.values:null};function or(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in Ue}function ar(t,e){var r=new Jt(Ue,[],function(t){var e={color:vt,string:_t,number:yt,enum:_t,boolean:gt,formatted:Et};return"array"===t.type?St(e[t.value]||bt,t.length):e[t.type]}(e)),i=r.parse(t,void 0,void 0,void 0,"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?Ze(new nr(i,e)):Ge(r.errors)}nr.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this.expression.evaluate(this._evaluator)},nr.prototype.evaluate=function(t,e,r){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null;try{var i=this.expression.evaluate(this._evaluator);if(null==i)return this._defaultValue;if(this._enumValues&&!(i in this._enumValues))throw new Ot("Expected value to be one of "+Object.keys(this._enumValues).map(function(t){return JSON.stringify(t)}).join(", ")+", but found "+JSON.stringify(i)+" instead.");return i}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var sr=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!Ht(e.expression)};sr.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r)},sr.prototype.evaluate=function(t,e,r){return this._styleExpression.evaluate(t,e,r)};var ur=function(t,e,r){this.kind=t,this.zoomStops=r.labels,this._styleExpression=e,this.isStateDependent="camera"!==t&&!Ht(e.expression),r instanceof we&&(this._interpolationType=r.interpolation)};function lr(t,e){if("error"===(t=ar(t,e)).result)return t;var r=t.value.expression,i=Wt(r);if(!i&&!Xe(e))return Ge([new ft("","data expressions not supported")]);var n=Kt(r,["zoom"]);if(!n&&!We(e))return Ge([new ft("","zoom expressions not supported")]);var o=function t(e){var r=null;if(e instanceof Te)r=t(e.result);else if(e instanceof Se)for(var i=0,n=e.args;i<n.length;i+=1){var o=n[i];if(r=t(o))break}else(e instanceof Qt||e instanceof we)&&e.input instanceof Gt&&"zoom"===e.input.name&&(r=e);return r instanceof ft?r:(e.eachChild(function(e){var i=t(e);i instanceof ft?r=i:!r&&i?r=new ft("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&i&&r!==i&&(r=new ft("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),r)}(r);return o||n?o instanceof ft?Ge([o]):o instanceof we&&!He(e)?Ge([new ft("",'"interpolate" expressions cannot be used with this property')]):Ze(o?new ur(i?"camera":"composite",t.value,o):new sr(i?"constant":"source",t.value)):Ge([new ft("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}ur.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r)},ur.prototype.evaluate=function(t,e,r){return this._styleExpression.evaluate(t,e,r)},ur.prototype.interpolationFactor=function(t,e,r){return this._interpolationType?we.interpolationFactor(this._interpolationType,t,e,r):0};var pr=function(t,e){this._parameters=t,this._specification=e,pt(this,function t(e,r){var i,n,o,a="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],u=s||void 0!==e.property,l=s||!u,p=e.type||(He(r)?"exponential":"interval");if(a&&((e=pt({},e)).stops&&(e.stops=e.stops.map(function(t){return[t[0],Ct.parse(t[1])]})),e.default?e.default=Ct.parse(e.default):e.default=Ct.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!be[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===p)i=er;else if("interval"===p)i=tr;else if("categorical"===p){i=Qe,n=Object.create(null);for(var c=0,h=e.stops;c<h.length;c+=1){var f=h[c];n[f[0]]=f[1]}o=typeof e.stops[0][0]}else{if("identity"!==p)throw new Error('Unknown function type "'+p+'"');i=rr}if(s){for(var d={},m=[],y=0;y<e.stops.length;y++){var _=e.stops[y],g=_[0].zoom;void 0===d[g]&&(d[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},m.push(g)),d[g].stops.push([_[0].value,_[1]])}for(var v=[],x=0,b=m;x<b.length;x+=1){var w=b[x];v.push([d[w].zoom,t(d[w],r)])}return{kind:"composite",interpolationFactor:we.interpolationFactor.bind(void 0,{name:"linear"}),zoomStops:v.map(function(t){return t[0]}),evaluate:function(t,i){var n=t.zoom;return er({stops:v,base:e.base},r,n).evaluate(n,i)}}}return l?{kind:"camera",interpolationFactor:"exponential"===p?we.interpolationFactor.bind(void 0,{name:"exponential",base:void 0!==e.base?e.base:1}):function(){return 0},zoomStops:e.stops.map(function(t){return t[0]}),evaluate:function(t){var a=t.zoom;return i(e,r,a,n,o)}}:{kind:"source",evaluate:function(t,a){var s=a&&a.properties?a.properties[e.property]:void 0;return void 0===s?$e(e.default,r.default):i(e,r,s,n,o)}}}(this._parameters,this._specification))};function cr(t,e){if(Ye(t))return new pr(t,e);if(or(t)){var r=lr(t,e);if("error"===r.result)throw new Error(r.value.map(function(t){return t.key+": "+t.message}).join(", "));return r.value}var i=t;return"string"==typeof t&&"color"===e.type&&(i=Ct.parse(t)),{kind:"constant",evaluate:function(){return i}}}function hr(t){var e=t.key,r=t.value,i=t.valueSpec||{},n=t.objectElementValidators||{},o=t.style,a=t.styleSpec,s=[],u=Ke(r);if("object"!==u)return[new ut(e,r,"object expected, "+u+" found")];for(var l in r){var p=l.split(".")[0],c=i[p]||i["*"],h=void 0;if(n[p])h=n[p];else if(i[p])h=Rr;else if(n["*"])h=n["*"];else{if(!i["*"]){s.push(new ut(e,r[l],'unknown property "'+l+'"'));continue}h=Rr}s=s.concat(h({key:(e?e+".":e)+l,value:r[l],valueSpec:c,style:o,styleSpec:a,object:r,objectKey:l},r))}for(var f in i)n[f]||i[f].required&&void 0===i[f].default&&void 0===r[f]&&s.push(new ut(e,r,'missing required property "'+f+'"'));return s}function fr(t){var e=t.value,r=t.valueSpec,i=t.style,n=t.styleSpec,o=t.key,a=t.arrayElementValidator||Rr;if("array"!==Ke(e))return[new ut(o,e,"array expected, "+Ke(e)+" found")];if(r.length&&e.length!==r.length)return[new ut(o,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new ut(o,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value};n.$version<7&&(s.function=r.function),"object"===Ke(r.value)&&(s=r.value);for(var u=[],l=0;l<e.length;l++)u=u.concat(a({array:e,arrayIndex:l,value:e[l],valueSpec:s,style:i,styleSpec:n,key:o+"["+l+"]"}));return u}function dr(t){var e=t.key,r=t.value,i=t.valueSpec,n=Ke(r);return"number"!==n?[new ut(e,r,"number expected, "+n+" found")]:"minimum"in i&&r<i.minimum?[new ut(e,r,r+" is less than the minimum value "+i.minimum)]:"maximum"in i&&r>i.maximum?[new ut(e,r,r+" is greater than the maximum value "+i.maximum)]:[]}function mr(t){var e,r,i,n=t.valueSpec,o=ct(t.value.type),a={},s="categorical"!==o&&void 0===t.value.property,u=!s,l="array"===Ke(t.value.stops)&&"array"===Ke(t.value.stops[0])&&"object"===Ke(t.value.stops[0][0]),p=hr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===o)return[new ut(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;return e=e.concat(fr({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:c})),"array"===Ke(r)&&0===r.length&&e.push(new ut(t.key,r,"array must have at least one stop")),e},default:function(t){return Rr({key:t.key,value:t.value,valueSpec:n,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===o&&s&&p.push(new ut(t.key,t.value,'missing required property "property"')),"identity"===o||t.value.stops||p.push(new ut(t.key,t.value,'missing required property "stops"')),"exponential"===o&&t.valueSpec.expression&&!He(t.valueSpec)&&p.push(new ut(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(u&&!Xe(t.valueSpec)?p.push(new ut(t.key,t.value,"property functions not supported")):s&&!We(t.valueSpec)&&p.push(new ut(t.key,t.value,"zoom functions not supported"))),"categorical"!==o&&!l||void 0!==t.value.property||p.push(new ut(t.key,t.value,'"property" property is required')),p;function c(t){var e=[],o=t.value,s=t.key;if("array"!==Ke(o))return[new ut(s,o,"array expected, "+Ke(o)+" found")];if(2!==o.length)return[new ut(s,o,"array length 2 expected, length "+o.length+" found")];if(l){if("object"!==Ke(o[0]))return[new ut(s,o,"object expected, "+Ke(o[0])+" found")];if(void 0===o[0].zoom)return[new ut(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new ut(s,o,"object stop key must have value")];if(i&&i>ct(o[0].zoom))return[new ut(s,o[0].zoom,"stop zoom values must appear in ascending order")];ct(o[0].zoom)!==i&&(i=ct(o[0].zoom),r=void 0,a={}),e=e.concat(hr({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:dr,value:h}}))}else e=e.concat(h({key:s+"[0]",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return or(ht(o[1]))?e.concat([new ut(s+"[1]",o[1],"expressions are not allowed in function stops.")]):e.concat(Rr({key:s+"[1]",value:o[1],valueSpec:n,style:t.style,styleSpec:t.styleSpec}))}function h(t,i){var s=Ke(t.value),u=ct(t.value),l=null!==t.value?t.value:i;if(e){if(s!==e)return[new ut(t.key,l,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new ut(t.key,l,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var p="number expected, "+s+" found";return Xe(n)&&void 0===o&&(p+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new ut(t.key,l,p)]}return"categorical"!==o||"number"!==s||isFinite(u)&&Math.floor(u)===u?"categorical"!==o&&"number"===s&&void 0!==r&&u<r?[new ut(t.key,l,"stop domain values must appear in ascending order")]:(r=u,"categorical"===o&&u in a?[new ut(t.key,l,"stop domain values must be unique")]:(a[u]=!0,[])):[new ut(t.key,l,"integer expected, found "+u)]}}function yr(t){var e=("property"===t.expressionContext?lr:ar)(ht(t.value),t.valueSpec);return"error"===e.result?e.value.map(function(e){return new ut(""+t.key+e.key,t.value,e.message)}):"property"===t.expressionContext&&"text-font"===t.propertyKey&&-1!==e.value._styleExpression.expression.possibleOutputs().indexOf(void 0)?[new ut(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')]:"property"!==t.expressionContext||"layout"!==t.propertyType||Ht(e.value._styleExpression.expression)?"filter"!==t.expressionContext||Ht(e.value.expression)?[]:[new ut(t.key,t.value,'"feature-state" data expressions are not supported with filters.')]:[new ut(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')]}function _r(t){var e=t.key,r=t.value,i=t.valueSpec,n=[];return Array.isArray(i.values)?-1===i.values.indexOf(ct(r))&&n.push(new ut(e,r,"expected one of ["+i.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(i.values).indexOf(ct(r))&&n.push(new ut(e,r,"expected one of ["+Object.keys(i.values).join(", ")+"], "+JSON.stringify(r)+" found")),n}function gr(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var i=r[e];if(!gr(i)&&"boolean"!=typeof i)return!1}return!0;default:return!0}}pr.deserialize=function(t){return new pr(t._parameters,t._specification)},pr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var vr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function xr(t){if(null==t)return function(){return!0};gr(t)||(t=wr(t));var e=ar(t,vr);if("error"===e.result)throw new Error(e.value.map(function(t){return t.key+": "+t.message}).join(", "));return function(t,r){return e.value.evaluate(t,r)}}function br(t,e){return t<e?-1:t>e?1:0}function wr(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?Er(t[1],t[2],"=="):"!="===r?Ar(Er(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?Er(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(wr))):"all"===r?["all"].concat(t.slice(1).map(wr)):"none"===r?["all"].concat(t.slice(1).map(wr).map(Ar)):"in"===r?Sr(t[1],t.slice(2)):"!in"===r?Ar(Sr(t[1],t.slice(2))):"has"===r?Tr(t[1]):"!has"!==r||Ar(Tr(t[1]))}function Er(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function Sr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some(function(t){return typeof t!=typeof e[0]})?["filter-in-large",t,["literal",e.sort(br)]]:["filter-in-small",t,["literal",e]]}}function Tr(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Ar(t){return["!",t]}function zr(t){return gr(ht(t.value))?yr(pt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value,i=e.key;if("array"!==Ke(r))return[new ut(i,r,"array expected, "+Ke(r)+" found")];var n,o=e.styleSpec,a=[];if(r.length<1)return[new ut(i,r,"filter array must have at least 1 element")];switch(a=a.concat(_r({key:i+"[0]",value:r[0],valueSpec:o.filter_operator,style:e.style,styleSpec:e.styleSpec})),ct(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===ct(r[1])&&a.push(new ut(i,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&a.push(new ut(i,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(n=Ke(r[1]))&&a.push(new ut(i+"[1]",r[1],"string expected, "+n+" found"));for(var s=2;s<r.length;s++)n=Ke(r[s]),"$type"===ct(r[1])?a=a.concat(_r({key:i+"["+s+"]",value:r[s],valueSpec:o.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==n&&"number"!==n&&"boolean"!==n&&a.push(new ut(i+"["+s+"]",r[s],"string, number, or boolean expected, "+n+" found"));break;case"any":case"all":case"none":for(var u=1;u<r.length;u++)a=a.concat(t({key:i+"["+u+"]",value:r[u],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":n=Ke(r[1]),2!==r.length?a.push(new ut(i,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==n&&a.push(new ut(i+"[1]",r[1],"string expected, "+n+" found"))}return a}(t)}function Ir(t,e){var r=t.key,i=t.style,n=t.styleSpec,o=t.value,a=t.objectKey,s=n[e+"_"+t.layerType];if(!s)return[];var u=a.match(/^(.*)-transition$/);if("paint"===e&&u&&s[u[1]]&&s[u[1]].transition)return Rr({key:r,value:o,valueSpec:n.transition,style:i,styleSpec:n});var l,p=t.valueSpec||s[a];if(!p)return[new ut(r,o,'unknown property "'+a+'"')];if("string"===Ke(o)&&Xe(p)&&!p.tokens&&(l=/^{([^}]+)}$/.exec(o)))return[new ut(r,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(l[1])+" }`.")];var c=[];return"symbol"===t.layerType&&("text-field"===a&&i&&!i.glyphs&&c.push(new ut(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&Ye(ht(o))&&"identity"===ct(o.type)&&c.push(new ut(r,o,'"text-font" does not support identity functions'))),c.concat(Rr({key:t.key,value:o,valueSpec:p,style:i,styleSpec:n,expressionContext:"property",propertyType:e,propertyKey:a}))}function Cr(t){return Ir(t,"paint")}function kr(t){return Ir(t,"layout")}function Pr(t){var e=[],r=t.value,i=t.key,n=t.style,o=t.styleSpec;r.type||r.ref||e.push(new ut(i,r,'either "type" or "ref" is required'));var a,s=ct(r.type),u=ct(r.ref);if(r.id)for(var l=ct(r.id),p=0;p<t.arrayIndex;p++){var c=n.layers[p];ct(c.id)===l&&e.push(new ut(i,r.id,'duplicate layer id "'+r.id+'", previously used at line '+c.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach(function(t){t in r&&e.push(new ut(i,r[t],'"'+t+'" is prohibited for ref layers'))}),n.layers.forEach(function(t){ct(t.id)===u&&(a=t)}),a?a.ref?e.push(new ut(i,r.ref,"ref cannot reference another ref layer")):s=ct(a.type):e.push(new ut(i,r.ref,'ref layer "'+u+'" not found'));else if("background"!==s)if(r.source){var h=n.sources&&n.sources[r.source],f=h&&ct(h.type);h?"vector"===f&&"raster"===s?e.push(new ut(i,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===f&&"raster"!==s?e.push(new ut(i,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==f||r["source-layer"]?"raster-dem"===f&&"hillshade"!==s?e.push(new ut(i,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===f&&h.lineMetrics||e.push(new ut(i,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new ut(i,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new ut(i,r.source,'source "'+r.source+'" not found'))}else e.push(new ut(i,r,'missing required property "source"'));return e=e.concat(hr({key:i,value:r,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return Rr({key:i+".type",value:r.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:zr,layout:function(t){return hr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return kr(pt({layerType:s},t))}}})},paint:function(t){return hr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Cr(pt({layerType:s},t))}}})}}}))}function Mr(t){var e=t.value,r=t.key,i=t.styleSpec,n=t.style;if(!e.type)return[new ut(r,e,'"type" is required')];var o=ct(e.type),a=[];switch(o){case"vector":case"raster":case"raster-dem":if(a=a.concat(hr({key:r,value:e,valueSpec:i["source_"+o.replace("-","_")],style:t.style,styleSpec:i})),"url"in e)for(var s in e)["type","url","tileSize"].indexOf(s)<0&&a.push(new ut(r+"."+s,e[s],'a source with a "url" property may not include a "'+s+'" property'));return a;case"geojson":return hr({key:r,value:e,valueSpec:i.source_geojson,style:n,styleSpec:i});case"video":return hr({key:r,value:e,valueSpec:i.source_video,style:n,styleSpec:i});case"image":return hr({key:r,value:e,valueSpec:i.source_image,style:n,styleSpec:i});case"canvas":return a.push(new ut(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")),a;default:return _r({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:n,styleSpec:i})}}function Lr(t){var e=t.value,r=t.styleSpec,i=r.light,n=t.style,o=[],a=Ke(e);if(void 0===e)return o;if("object"!==a)return o.concat([new ut("light",e,"object expected, "+a+" found")]);for(var s in e){var u=s.match(/^(.*)-transition$/);o=u&&i[u[1]]&&i[u[1]].transition?o.concat(Rr({key:s,value:e[s],valueSpec:r.transition,style:n,styleSpec:r})):i[s]?o.concat(Rr({key:s,value:e[s],valueSpec:i[s],style:n,styleSpec:r})):o.concat([new ut(s,e[s],'unknown property "'+s+'"')])}return o}function Dr(t){var e=t.value,r=t.key,i=Ke(e);return"string"!==i?[new ut(r,e,"string expected, "+i+" found")]:[]}var Br={"*":function(){return[]},array:fr,boolean:function(t){var e=t.value,r=t.key,i=Ke(e);return"boolean"!==i?[new ut(r,e,"boolean expected, "+i+" found")]:[]},number:dr,color:function(t){var e=t.key,r=t.value,i=Ke(r);return"string"!==i?[new ut(e,r,"color expected, "+i+" found")]:null===It(r)?[new ut(e,r,'color expected, "'+r+'" found')]:[]},constants:lt,enum:_r,filter:zr,function:mr,layer:Pr,object:hr,source:Mr,light:Lr,string:Dr,formatted:function(t){return 0===Dr(t).length?[]:yr(t)}};function Rr(t){var e=t.value,r=t.valueSpec,i=t.styleSpec;return r.expression&&Ye(ct(e))?mr(t):r.expression&&or(ht(e))?yr(t):r.type&&Br[r.type]?Br[r.type](t):hr(pt({},t,{valueSpec:r.type?i[r.type]:r}))}function Or(t){var e=t.value,r=t.key,i=Dr(t);return i.length?i:(-1===e.indexOf("{fontstack}")&&i.push(new ut(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&i.push(new ut(r,e,'"glyphs" url must include a "{range}" token')),i)}function Fr(t,e){e=e||st;var r=[];return r=r.concat(Rr({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:Or,"*":function(){return[]}}})),t.constants&&(r=r.concat(lt({key:"constants",value:t.constants,style:t,styleSpec:e}))),Ur(r)}function Ur(t){return[].concat(t).sort(function(t,e){return t.line-e.line})}function Vr(t){return function(){return Ur(t.apply(this,arguments))}}Fr.source=Vr(Mr),Fr.light=Vr(Lr),Fr.layer=Vr(Pr),Fr.filter=Vr(zr),Fr.paintProperty=Vr(Cr),Fr.layoutProperty=Vr(kr);var Nr=Fr,jr=Fr.light,qr=Fr.paintProperty,Zr=Fr.layoutProperty;function Gr(t,e){var r=!1;if(e&&e.length)for(var i=0,n=e;i<n.length;i+=1){var o=n[i];t.fire(new ot(new Error(o.message))),r=!0}return r}var Xr=Hr,Wr=3;function Hr(t,e,r){var i=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var n=new Int32Array(this.arrayBuffer);t=n[0],e=n[1],r=n[2],this.d=e+2*r;for(var o=0;o<this.d*this.d;o++){var a=n[Wr+o],s=n[Wr+o+1];i.push(a===s?null:n.subarray(a,s))}var u=n[Wr+i.length],l=n[Wr+i.length+1];this.keys=n.subarray(u,l),this.bboxes=n.subarray(l),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var p=0;p<this.d*this.d;p++)i.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var c=r/e*t;this.min=-c,this.max=t+c}Hr.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},Hr.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},Hr.prototype._insertCell=function(t,e,r,i,n,o){this.cells[n].push(o)},Hr.prototype.query=function(t,e,r,i){var n=this.min,o=this.max;if(t<=n&&e<=n&&o<=r&&o<=i)return Array.prototype.slice.call(this.keys);var a=[];return this._forEachCell(t,e,r,i,this._queryCell,a,{}),a},Hr.prototype._queryCell=function(t,e,r,i,n,o,a){var s=this.cells[n];if(null!==s)for(var u=this.keys,l=this.bboxes,p=0;p<s.length;p++){var c=s[p];if(void 0===a[c]){var h=4*c;t<=l[h+2]&&e<=l[h+3]&&r>=l[h+0]&&i>=l[h+1]?(a[c]=!0,o.push(u[c])):a[c]=!1}}},Hr.prototype._forEachCell=function(t,e,r,i,n,o,a){for(var s=this._convertToCellCoord(t),u=this._convertToCellCoord(e),l=this._convertToCellCoord(r),p=this._convertToCellCoord(i),c=s;c<=l;c++)for(var h=u;h<=p;h++){var f=this.d*h+c;if(n.call(this,t,e,r,i,f,o,a))return}},Hr.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},Hr.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=Wr+this.cells.length+1+1,r=0,i=0;i<this.cells.length;i++)r+=this.cells[i].length;var n=new Int32Array(e+r+this.keys.length+this.bboxes.length);n[0]=this.extent,n[1]=this.n,n[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];n[Wr+a]=o,n.set(s,o),o+=s.length}return n[Wr+t.length]=o,n.set(this.keys,o),o+=this.keys.length,n[Wr+t.length+1]=o,n.set(this.bboxes,o),o+=this.bboxes.length,n.buffer};var Kr=self.ImageData,Yr={};function Jr(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),Yr[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}for(var $r in Jr("Object",Object),Xr.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},Xr.deserialize=function(t){return new Xr(t.buffer)},Jr("Grid",Xr),Jr("Color",Ct),Jr("Error",Error),Jr("StylePropertyFunction",pr),Jr("StyleExpression",nr,{omit:["_evaluator"]}),Jr("ZoomDependentExpression",ur),Jr("ZoomConstantExpression",sr),Jr("CompoundExpression",Gt,{omit:["_evaluate"]}),Ue)Ue[$r]._classRegistryKey||Jr("Expression_"+$r,Ue[$r]);function Qr(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(t instanceof ArrayBuffer)return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof Kr)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var i=[],n=0,o=t;n<o.length;n+=1){var a=o[n];i.push(Qr(a,e))}return i}if("object"==typeof t){var s=t.constructor,u=s._classRegistryKey;if(!u)throw new Error("can't serialize object of unregistered class");var l=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var p in t)if(t.hasOwnProperty(p)&&!(Yr[u].omit.indexOf(p)>=0)){var c=t[p];l[p]=Yr[u].shallow.indexOf(p)>=0?c:Qr(c,e)}t instanceof Error&&(l.message=t.message)}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==u&&(l.$name=u),l}throw new Error("can't serialize object of type "+typeof t)}function ti(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||t instanceof ArrayBuffer||ArrayBuffer.isView(t)||t instanceof Kr)return t;if(Array.isArray(t))return t.map(ti);if("object"==typeof t){var e=t.$name||"Object",r=Yr[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var i=Object.create(r.prototype),n=0,o=Object.keys(t);n<o.length;n+=1){var a=o[n];if("$name"!==a){var s=t[a];i[a]=Yr[e].shallow.indexOf(a)>=0?s:ti(s)}}return i}throw new Error("can't deserialize object of type "+typeof t)}var ei=function(){this.first=!0};ei.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var ri={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function ii(t){for(var e=0,r=t;e<r.length;e+=1)if(oi(r[e].charCodeAt(0)))return!0;return!1}function ni(t){return!(ri.Arabic(t)||ri["Arabic Supplement"](t)||ri["Arabic Extended-A"](t)||ri["Arabic Presentation Forms-A"](t)||ri["Arabic Presentation Forms-B"](t))}function oi(t){return!(746!==t&&747!==t&&(t<4352||!(ri["Bopomofo Extended"](t)||ri.Bopomofo(t)||ri["CJK Compatibility Forms"](t)&&!(t>=65097&&t<=65103)||ri["CJK Compatibility Ideographs"](t)||ri["CJK Compatibility"](t)||ri["CJK Radicals Supplement"](t)||ri["CJK Strokes"](t)||!(!ri["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||ri["CJK Unified Ideographs Extension A"](t)||ri["CJK Unified Ideographs"](t)||ri["Enclosed CJK Letters and Months"](t)||ri["Hangul Compatibility Jamo"](t)||ri["Hangul Jamo Extended-A"](t)||ri["Hangul Jamo Extended-B"](t)||ri["Hangul Jamo"](t)||ri["Hangul Syllables"](t)||ri.Hiragana(t)||ri["Ideographic Description Characters"](t)||ri.Kanbun(t)||ri["Kangxi Radicals"](t)||ri["Katakana Phonetic Extensions"](t)||ri.Katakana(t)&&12540!==t||!(!ri["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!ri["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||ri["Unified Canadian Aboriginal Syllabics"](t)||ri["Unified Canadian Aboriginal Syllabics Extended"](t)||ri["Vertical Forms"](t)||ri["Yijing Hexagram Symbols"](t)||ri["Yi Syllables"](t)||ri["Yi Radicals"](t))))}function ai(t){return!(oi(t)||function(t){return!!(ri["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||ri["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||ri["Letterlike Symbols"](t)||ri["Number Forms"](t)||ri["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||ri["Control Pictures"](t)&&9251!==t||ri["Optical Character Recognition"](t)||ri["Enclosed Alphanumerics"](t)||ri["Geometric Shapes"](t)||ri["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||ri["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||ri["CJK Symbols and Punctuation"](t)||ri.Katakana(t)||ri["Private Use Area"](t)||ri["CJK Compatibility Forms"](t)||ri["Small Form Variants"](t)||ri["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function si(t,e){return!(!e&&(t>=1424&&t<=2303||ri["Arabic Presentation Forms-A"](t)||ri["Arabic Presentation Forms-B"](t))||t>=2304&&t<=3583||t>=3840&&t<=4255||ri.Khmer(t))}var ui,li=!1,pi=null,ci=!1,hi=new at,fi={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return ci||null!=fi.applyArabicShaping}},di=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new ei,this.transition={})};di.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,i=t;r<i.length;r+=1)if(!si(i[r].charCodeAt(0),e))return!1;return!0}(t,fi.isLoaded())},di.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},di.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var mi=function(t,e){this.property=t,this.value=e,this.expression=cr(void 0===e?t.specification.default:e,t.specification)};mi.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},mi.prototype.possiblyEvaluate=function(t){return this.property.possiblyEvaluate(this,t)};var yi=function(t){this.property=t,this.value=new mi(t,void 0)};yi.prototype.transitioned=function(t,e){return new gi(this.property,this.value,e,c({},t.transition,this.transition),t.now)},yi.prototype.untransitioned=function(){return new gi(this.property,this.value,null,{},0)};var _i=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};_i.prototype.getValue=function(t){return x(this._values[t].value.value)},_i.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new yi(this._values[t].property)),this._values[t].value=new mi(this._values[t].property,null===e?void 0:x(e))},_i.prototype.getTransition=function(t){return x(this._values[t].transition)},_i.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new yi(this._values[t].property)),this._values[t].transition=x(e)||void 0},_i.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n);var o=this.getTransition(i);void 0!==o&&(t[i+"-transition"]=o)}return t},_i.prototype.transitioned=function(t,e){for(var r=new vi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].transitioned(t,e._values[o])}return r},_i.prototype.untransitioned=function(){for(var t=new vi(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e];t._values[i]=this._values[i].untransitioned()}return t};var gi=function(t,e,r,i,n){this.property=t,this.value=e,this.begin=n+i.delay||0,this.end=this.begin+i.duration||0,t.specification.transition&&(i.delay||i.duration)&&(this.prior=r)};gi.prototype.possiblyEvaluate=function(t){var e=t.now||0,r=this.value.possiblyEvaluate(t),i=this.prior;if(i){if(e>this.end)return this.prior=null,r;if(this.value.isDataDriven())return this.prior=null,r;if(e<this.begin)return i.possiblyEvaluate(t);var n=(e-this.begin)/(this.end-this.begin);return this.property.interpolate(i.possiblyEvaluate(t),r,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(n))}return r};var vi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};vi.prototype.possiblyEvaluate=function(t){for(var e=new wi(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var n=i[r];e._values[n]=this._values[n].possiblyEvaluate(t)}return e},vi.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var xi=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};xi.prototype.getValue=function(t){return x(this._values[t].value)},xi.prototype.setValue=function(t,e){this._values[t]=new mi(this._values[t].property,null===e?void 0:x(e))},xi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n)}return t},xi.prototype.possiblyEvaluate=function(t){for(var e=new wi(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var n=i[r];e._values[n]=this._values[n].possiblyEvaluate(t)}return e};var bi=function(t,e,r){this.property=t,this.value=e,this.parameters=r};bi.prototype.isConstant=function(){return"constant"===this.value.kind},bi.prototype.constantOr=function(t){return"constant"===this.value.kind?this.value.value:t},bi.prototype.evaluate=function(t,e){return this.property.evaluate(this.value,this.parameters,t,e)};var wi=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};wi.prototype.get=function(t){return this._values[t]};var Ei=function(t){this.specification=t};Ei.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},Ei.prototype.interpolate=function(t,e,r){var i=ie[this.specification.type];return i?i(t,e,r):t};var Si=function(t){this.specification=t};Si.prototype.possiblyEvaluate=function(t,e){return"constant"===t.expression.kind||"camera"===t.expression.kind?new bi(this,{kind:"constant",value:t.expression.evaluate(e)},e):new bi(this,t.expression,e)},Si.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new bi(this,{kind:"constant",value:void 0},t.parameters);var i=ie[this.specification.type];return i?new bi(this,{kind:"constant",value:i(t.value.value,e.value.value,r)},t.parameters):t},Si.prototype.evaluate=function(t,e,r,i){return"constant"===t.kind?t.value:t.evaluate(e,r,i)};var Ti=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e){if(void 0===t.value)return new bi(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var r=t.expression.evaluate(e),i=this._calculate(r,r,r,e);return new bi(this,{kind:"constant",value:i},e)}if("camera"===t.expression.kind){var n=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new bi(this,{kind:"constant",value:n},e)}return new bi(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,i){if("source"===t.kind){var n=t.evaluate(e,r,i);return this._calculate(n,n,n,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,i),t.evaluate({zoom:Math.floor(e.zoom)},r,i),t.evaluate({zoom:Math.floor(e.zoom)+1},r,i),e):t.value},e.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Si),Ai=function(t){this.specification=t};Ai.prototype.possiblyEvaluate=function(t,e){if(void 0!==t.value){if("constant"===t.expression.kind){var r=t.expression.evaluate(e);return this._calculate(r,r,r,e)}return this._calculate(t.expression.evaluate(new di(Math.floor(e.zoom-1),e)),t.expression.evaluate(new di(Math.floor(e.zoom),e)),t.expression.evaluate(new di(Math.floor(e.zoom+1),e)),e)}},Ai.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Ai.prototype.interpolate=function(t){return t};var zi=function(t){this.specification=t};zi.prototype.possiblyEvaluate=function(t,e){return!!t.expression.evaluate(e)},zi.prototype.interpolate=function(){return!1};var Ii=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},t){var r=t[e],i=this.defaultPropertyValues[e]=new mi(r,void 0),n=this.defaultTransitionablePropertyValues[e]=new yi(r);this.defaultTransitioningPropertyValues[e]=n.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=i.possiblyEvaluate({})}};Jr("DataDrivenProperty",Si),Jr("DataConstantProperty",Ei),Jr("CrossFadedDataDrivenProperty",Ti),Jr("CrossFadedProperty",Ai),Jr("ColorRampProperty",zi);var Ci=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this.visibility="visible",this._featureFilter=function(){return!0},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new xi(r.layout)),r.paint)){for(var i in this._transitionablePaint=new _i(r.paint),e.paint)this.setPaintProperty(i,e.paint[i],{validate:!1});for(var n in e.layout)this.setLayoutProperty(n,e.layout[n],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned()}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(null!=e){var i="layers."+this.id+".layout."+t;if(this._validate(Zr,i,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility="none"===e?e:"visible"},e.prototype.getPaintProperty=function(t){return _(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(null!=e){var i="layers."+this.id+".paint."+t;if(this._validate(qr,i,t,e,r))return!1}if(_(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var n=this._transitionablePaint._values[t],o="cross-faded-data-driven"===n.property.specification["property-type"]&&!n.value.value&&e,a=this._transitionablePaint._values[t].value.isDataDriven();this._transitionablePaint.setValue(t,e);var s=this._transitionablePaint._values[t].value.isDataDriven();return this._handleSpecialPaintPropertyUpdate(t),s||a||o},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t)),this.paint=this._transitioningPaint.possiblyEvaluate(t)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return"none"===this.visibility&&(t.layout=t.layout||{},t.layout.visibility="none"),v(t,function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)})},e.prototype._validate=function(t,e,r,i,n){return(!n||!1!==n.validate)&&Gr(this,t.call(Nr,{key:e,layerType:this.type,objectKey:r,value:i,styleSpec:st,style:{glyphs:!0,sprite:!0}}))},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof bi&&Xe(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(at),ki={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},Pi=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Mi=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function Li(t,e){void 0===e&&(e=1);var r=0,i=0;return{members:t.map(function(t){var n,o=(n=t.type,ki[n].BYTES_PER_ELEMENT),a=r=Di(r,Math.max(e,o)),s=t.components||1;return i=Math.max(i,o),r+=o*s,{name:t.name,type:t.type,components:s,offset:a}}),size:Di(r,Math.max(i,e)),alignment:e}}function Di(t,e){return Math.ceil(t/e)*e}Mi.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},Mi.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},Mi.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Mi.prototype.clear=function(){this.length=0},Mi.prototype.resize=function(t){this.reserve(t),this.length=t},Mi.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},Mi.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.int16[i+0]=e,this.int16[i+1]=r,t},e}(Mi);Bi.prototype.bytesPerElement=4,Jr("StructArrayLayout2i4",Bi);var Ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=i,this.int16[o+3]=n,t},e}(Mi);Ri.prototype.bytesPerElement=8,Jr("StructArrayLayout4i8",Ri);var Oi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(Mi);Oi.prototype.bytesPerElement=12,Jr("StructArrayLayout2i4i12",Oi);var Fi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=6*t,p=12*t;return this.int16[l+0]=e,this.int16[l+1]=r,this.int16[l+2]=i,this.int16[l+3]=n,this.uint8[p+8]=o,this.uint8[p+9]=a,this.uint8[p+10]=s,this.uint8[p+11]=u,t},e}(Mi);Fi.prototype.bytesPerElement=12,Jr("StructArrayLayout4i4ub12",Fi);var Ui=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=8*t;return this.uint16[l+0]=e,this.uint16[l+1]=r,this.uint16[l+2]=i,this.uint16[l+3]=n,this.uint16[l+4]=o,this.uint16[l+5]=a,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(Mi);Ui.prototype.bytesPerElement=16,Jr("StructArrayLayout8ui16",Ui);var Vi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=8*t;return this.int16[l+0]=e,this.int16[l+1]=r,this.int16[l+2]=i,this.int16[l+3]=n,this.uint16[l+4]=o,this.uint16[l+5]=a,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(Mi);Vi.prototype.bytesPerElement=16,Jr("StructArrayLayout4i4ui16",Vi);var Ni=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.float32[n+0]=e,this.float32[n+1]=r,this.float32[n+2]=i,t},e}(Mi);Ni.prototype.bytesPerElement=12,Jr("StructArrayLayout3f12",Ni);var ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(Mi);ji.prototype.bytesPerElement=4,Jr("StructArrayLayout1ul4",ji);var qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,r,i,n,o,a,s,u,l,p)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c){var h=12*t,f=6*t;return this.int16[h+0]=e,this.int16[h+1]=r,this.int16[h+2]=i,this.int16[h+3]=n,this.int16[h+4]=o,this.int16[h+5]=a,this.uint32[f+3]=s,this.uint16[h+8]=u,this.uint16[h+9]=l,this.int16[h+10]=p,this.int16[h+11]=c,t},e}(Mi);qi.prototype.bytesPerElement=24,Jr("StructArrayLayout6i1ul2ui2i24",qi);var Zi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(Mi);Zi.prototype.bytesPerElement=12,Jr("StructArrayLayout2i2i2i12",Zi);var Gi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=4*t;return this.uint8[i+0]=e,this.uint8[i+1]=r,t},e}(Mi);Gi.prototype.bytesPerElement=4,Jr("StructArrayLayout2ub4",Gi);var Xi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f){var d=this.length;return this.resize(d+1),this.emplace(d,t,e,r,i,n,o,a,s,u,l,p,c,h,f)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d){var m=20*t,y=10*t,_=40*t;return this.int16[m+0]=e,this.int16[m+1]=r,this.uint16[m+2]=i,this.uint16[m+3]=n,this.uint32[y+2]=o,this.uint32[y+3]=a,this.uint32[y+4]=s,this.uint16[m+10]=u,this.uint16[m+11]=l,this.uint16[m+12]=p,this.float32[y+7]=c,this.float32[y+8]=h,this.uint8[_+36]=f,this.uint8[_+37]=d,t},e}(Mi);Xi.prototype.bytesPerElement=40,Jr("StructArrayLayout2i2ui3ul3ui2f2ub40",Xi);var Wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f){var d=this.length;return this.resize(d+1),this.emplace(d,t,e,r,i,n,o,a,s,u,l,p,c,h,f)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d){var m=16*t,y=8*t;return this.int16[m+0]=e,this.int16[m+1]=r,this.int16[m+2]=i,this.int16[m+3]=n,this.uint16[m+4]=o,this.uint16[m+5]=a,this.uint16[m+6]=s,this.uint16[m+7]=u,this.uint16[m+8]=l,this.uint16[m+9]=p,this.uint16[m+10]=c,this.uint16[m+11]=h,this.uint16[m+12]=f,this.uint32[y+7]=d,t},e}(Mi);Wi.prototype.bytesPerElement=32,Jr("StructArrayLayout4i9ui1ul32",Wi);var Hi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(Mi);Hi.prototype.bytesPerElement=4,Jr("StructArrayLayout1f4",Hi);var Ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.int16[n+0]=e,this.int16[n+1]=r,this.int16[n+2]=i,t},e}(Mi);Ki.prototype.bytesPerElement=6,Jr("StructArrayLayout3i6",Ki);var Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=2*t,o=4*t;return this.uint32[n+0]=e,this.uint16[o+2]=r,this.uint16[o+3]=i,t},e}(Mi);Yi.prototype.bytesPerElement=8,Jr("StructArrayLayout1ul2ui8",Yi);var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,this.uint16[n+2]=i,t},e}(Mi);Ji.prototype.bytesPerElement=6,Jr("StructArrayLayout3ui6",Ji);var $i=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,t},e}(Mi);$i.prototype.bytesPerElement=4,Jr("StructArrayLayout2ui4",$i);var Qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(Mi);Qi.prototype.bytesPerElement=2,Jr("StructArrayLayout1ui2",Qi);var tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.float32[i+0]=e,this.float32[i+1]=r,t},e}(Mi);tn.prototype.bytesPerElement=8,Jr("StructArrayLayout2f8",tn);var en=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=r,this.float32[o+2]=i,this.float32[o+3]=n,t},e}(Mi);en.prototype.bytesPerElement=16,Jr("StructArrayLayout4f16",en);var rn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},radius:{configurable:!0},signedDistanceFromAnchor:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorPointY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.x1.set=function(t){this._structArray.int16[this._pos2+2]=t},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.y1.set=function(t){this._structArray.int16[this._pos2+3]=t},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.x2.set=function(t){this._structArray.int16[this._pos2+4]=t},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.y2.set=function(t){this._structArray.int16[this._pos2+5]=t},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.radius.get=function(){return this._structArray.int16[this._pos2+10]},r.radius.set=function(t){this._structArray.int16[this._pos2+10]=t},r.signedDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+11]},r.signedDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+11]=t},r.anchorPoint.get=function(){return new n(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(Pi);rn.prototype.size=24;var nn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new rn(this,t)},e}(qi);Jr("CollisionBoxArray",nn);var on=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},hidden:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.glyphStartIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.numGlyphs.set=function(t){this._structArray.uint16[this._pos2+3]=t},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.vertexStartIndex.set=function(t){this._structArray.uint32[this._pos4+2]=t},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineStartIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.lineLength.set=function(t){this._structArray.uint32[this._pos4+4]=t},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.segment.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.lowerSize.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.upperSize.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetX.set=function(t){this._structArray.float32[this._pos4+7]=t},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.lineOffsetY.set=function(t){this._structArray.float32[this._pos4+8]=t},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.writingMode.set=function(t){this._structArray.uint8[this._pos1+36]=t},r.hidden.get=function(){return this._structArray.uint8[this._pos1+37]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+37]=t},Object.defineProperties(e.prototype,r),e}(Pi);on.prototype.size=40;var an=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new on(this,t)},e}(Xi);Jr("PlacedSymbolArray",an);var sn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},horizontalPlacedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},crossTileID:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.horizontalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.horizontalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+2]=t},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.verticalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+3]=t},r.key.get=function(){return this._structArray.uint16[this._pos2+4]},r.key.set=function(t){this._structArray.uint16[this._pos2+4]=t},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+5]},r.textBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+5]=t},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+6]},r.textBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+6]=t},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+7]},r.iconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+7]=t},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.iconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.featureIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.numGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+10]},r.numGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+11]},r.numVerticalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+12]},r.numIconVertices.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+7]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+7]=t},Object.defineProperties(e.prototype,r),e}(Pi);sn.prototype.size=32;var un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new sn(this,t)},e}(Wi);Jr("SymbolInstanceArray",un);var ln=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={offsetX:{configurable:!0}};return r.offsetX.get=function(){return this._structArray.float32[this._pos4+0]},r.offsetX.set=function(t){this._structArray.float32[this._pos4+0]=t},Object.defineProperties(e.prototype,r),e}(Pi);ln.prototype.size=4;var pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e.prototype.get=function(t){return new ln(this,t)},e}(Hi);Jr("GlyphOffsetArray",pn);var cn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={x:{configurable:!0},y:{configurable:!0},tileUnitDistanceFromAnchor:{configurable:!0}};return r.x.get=function(){return this._structArray.int16[this._pos2+0]},r.x.set=function(t){this._structArray.int16[this._pos2+0]=t},r.y.get=function(){return this._structArray.int16[this._pos2+1]},r.y.set=function(t){this._structArray.int16[this._pos2+1]=t},r.tileUnitDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+2]},r.tileUnitDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+2]=t},Object.defineProperties(e.prototype,r),e}(Pi);cn.prototype.size=6;var hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e.prototype.get=function(t){return new cn(this,t)},e}(Ki);Jr("SymbolLineVertexArray",hn);var fn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+0]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+3]=t},Object.defineProperties(e.prototype,r),e}(Pi);fn.prototype.size=8;var dn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new fn(this,t)},e}(Yi);Jr("FeatureIndexArray",dn);var mn=Li([{name:"a_pos",components:2,type:"Int16"}],4),yn=mn.members,_n=(mn.size,mn.alignment,function(t){void 0===t&&(t=[]),this.segments=t});_n.prototype.prepareSegment=function(t,e,r){var i=this.segments[this.segments.length-1];return t>_n.MAX_VERTEX_ARRAY_LENGTH&&w("Max vertices per segment is "+_n.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!i||i.vertexLength+t>_n.MAX_VERTEX_ARRAY_LENGTH)&&(i={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},this.segments.push(i)),i},_n.prototype.get=function(){return this.segments},_n.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var i in r.vaos)r.vaos[i].destroy()}},_n.simpleSegment=function(t,e,r,i){return new _n([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:i,vaos:{}}])},_n.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Jr("SegmentVector",_n);var gn=function(t,e){return 256*(t=l(Math.floor(t),0,255))+l(Math.floor(e),0,255)},vn=function(){this.ids=[],this.positions=[],this.indexed=!1};function xn(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}vn.prototype.add=function(t,e,r,i){this.ids.push(t),this.positions.push(e,r,i)},vn.prototype.getPositions=function(t){for(var e=0,r=this.ids.length-1;e<r;){var i=e+r>>1;this.ids[i]>=t?r=i:e=i+1}for(var n=[];this.ids[e]===t;){var o=this.positions[3*e],a=this.positions[3*e+1],s=this.positions[3*e+2];n.push({index:o,start:a,end:s}),e++}return n},vn.serialize=function(t,e){var r=new Float64Array(t.ids),i=new Uint32Array(t.positions);return function t(e,r,i,n){if(!(i>=n)){for(var o=e[i+n>>1],a=i-1,s=n+1;;){do{a++}while(e[a]<o);do{s--}while(e[s]>o);if(a>=s)break;xn(e,a,s),xn(r,3*a,3*s),xn(r,3*a+1,3*s+1),xn(r,3*a+2,3*s+2)}t(e,r,i,s),t(e,r,s+1,n)}}(r,i,0,r.length-1),e.push(r.buffer,i.buffer),{ids:r,positions:i}},vn.deserialize=function(t){var e=new vn;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e},Jr("FeaturePositionMap",vn);var bn=function(t,e){this.gl=t.gl,this.location=e},wn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(bn),En=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(bn),Sn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(bn),Tn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(bn),An=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(bn),zn=function(t){function e(e,r){t.call(this,e,r),this.current=Ct.transparent}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(bn),In=new Float32Array(16),Cn=function(t){function e(e,r){t.call(this,e,r),this.current=In}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(bn);function kn(t){return[gn(255*t.r,255*t.g),gn(255*t.b,255*t.a)]}var Pn=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map(function(t){return"u_"+t}),this.type=r,this.maxValue=-1/0};Pn.prototype.defines=function(){return this.names.map(function(t){return"#define HAS_UNIFORM_u_"+t})},Pn.prototype.setConstantPatternPositions=function(){},Pn.prototype.populatePaintArray=function(){},Pn.prototype.updatePaintArray=function(){},Pn.prototype.upload=function(){},Pn.prototype.destroy=function(){},Pn.prototype.setUniforms=function(t,e,r,i){e.set(i.constantOr(this.value))},Pn.prototype.getBinding=function(t,e){return"color"===this.type?new zn(t,e):new En(t,e)},Pn.serialize=function(t){var e=t.value,r=t.names,i=t.type;return{value:Qr(e),names:r,type:i}},Pn.deserialize=function(t){var e=t.value,r=t.names,i=t.type;return new Pn(ti(e),r,i)};var Mn=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map(function(t){return"u_"+t}),this.type=r,this.maxValue=-1/0,this.patternPositions={patternTo:null,patternFrom:null}};Mn.prototype.defines=function(){return this.names.map(function(t){return"#define HAS_UNIFORM_u_"+t})},Mn.prototype.populatePaintArray=function(){},Mn.prototype.updatePaintArray=function(){},Mn.prototype.upload=function(){},Mn.prototype.destroy=function(){},Mn.prototype.setConstantPatternPositions=function(t,e){this.patternPositions.patternTo=t.tlbr,this.patternPositions.patternFrom=e.tlbr},Mn.prototype.setUniforms=function(t,e,r,i,n){var o=this.patternPositions;"u_pattern_to"===n&&o.patternTo&&e.set(o.patternTo),"u_pattern_from"===n&&o.patternFrom&&e.set(o.patternFrom)},Mn.prototype.getBinding=function(t,e){return new An(t,e)};var Ln=function(t,e,r,i){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map(function(t){return"a_"+t}),this.maxValue=-1/0,this.paintVertexAttributes=e.map(function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}}),this.paintVertexArray=new i};Ln.prototype.defines=function(){return[]},Ln.prototype.setConstantPatternPositions=function(){},Ln.prototype.populatePaintArray=function(t,e){var r=this.paintVertexArray,i=r.length;r.reserve(t);var n=this.expression.evaluate(new di(0),e,{});if("color"===this.type)for(var o=kn(n),a=i;a<t;a++)r.emplaceBack(o[0],o[1]);else{for(var s=i;s<t;s++)r.emplaceBack(n);this.maxValue=Math.max(this.maxValue,n)}},Ln.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:0},r,i);if("color"===this.type)for(var a=kn(o),s=t;s<e;s++)n.emplace(s,a[0],a[1]);else{for(var u=t;u<e;u++)n.emplace(u,o);this.maxValue=Math.max(this.maxValue,o)}},Ln.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Ln.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Ln.prototype.setUniforms=function(t,e){e.set(0)},Ln.prototype.getBinding=function(t,e){return new En(t,e)};var Dn=function(t,e,r,i,n,o){this.expression=t,this.names=e,this.uniformNames=this.names.map(function(t){return"a_"+t+"_t"}),this.type=r,this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0;var a=o;this.paintVertexAttributes=e.map(function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}}),this.paintVertexArray=new a};Dn.prototype.defines=function(){return[]},Dn.prototype.setConstantPatternPositions=function(){},Dn.prototype.populatePaintArray=function(t,e){var r=this.paintVertexArray,i=r.length;r.reserve(t);var n=this.expression.evaluate(new di(this.zoom),e,{}),o=this.expression.evaluate(new di(this.zoom+1),e,{});if("color"===this.type)for(var a=kn(n),s=kn(o),u=i;u<t;u++)r.emplaceBack(a[0],a[1],s[0],s[1]);else{for(var l=i;l<t;l++)r.emplaceBack(n,o);this.maxValue=Math.max(this.maxValue,n,o)}},Dn.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:this.zoom},r,i),a=this.expression.evaluate({zoom:this.zoom+1},r,i);if("color"===this.type)for(var s=kn(o),u=kn(a),l=t;l<e;l++)n.emplace(l,s[0],s[1],u[0],u[1]);else{for(var p=t;p<e;p++)n.emplace(p,o,a);this.maxValue=Math.max(this.maxValue,o,a)}},Dn.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Dn.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Dn.prototype.interpolationFactor=function(t){return this.useIntegerZoom?this.expression.interpolationFactor(Math.floor(t),this.zoom,this.zoom+1):this.expression.interpolationFactor(t,this.zoom,this.zoom+1)},Dn.prototype.setUniforms=function(t,e,r){e.set(this.interpolationFactor(r.zoom))},Dn.prototype.getBinding=function(t,e){return new En(t,e)};var Bn=function(t,e,r,i,n,o,a){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map(function(t){return"a_"+t+"_t"}),this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0,this.layerId=a,this.paintVertexAttributes=e.map(function(t){return{name:"a_"+t,type:"Uint16",components:4,offset:0}}),this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o};Bn.prototype.defines=function(){return[]},Bn.prototype.setConstantPatternPositions=function(){},Bn.prototype.populatePaintArray=function(t,e,r){var i=this.zoomInPaintVertexArray,n=this.zoomOutPaintVertexArray,o=this.layerId,a=i.length;if(i.reserve(t),n.reserve(t),r&&e.patterns&&e.patterns[o]){var s=e.patterns[o],u=s.min,l=s.mid,p=s.max,c=r[u],h=r[l],f=r[p];if(!c||!h||!f)return;for(var d=a;d<t;d++)i.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],c.tl[0],c.tl[1],c.br[0],c.br[1]),n.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],f.tl[0],f.tl[1],f.br[0],f.br[1])}},Bn.prototype.updatePaintArray=function(t,e,r,i,n){var o=this.zoomInPaintVertexArray,a=this.zoomOutPaintVertexArray,s=this.layerId;if(n&&r.patterns&&r.patterns[s]){var u=r.patterns[s],l=u.min,p=u.mid,c=u.max,h=n[l],f=n[p],d=n[c];if(!h||!f||!d)return;for(var m=t;m<e;m++)o.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],h.tl[0],h.tl[1],h.br[0],h.br[1]),a.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],d.tl[0],d.tl[1],d.br[0],d.br[1])}},Bn.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Bn.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()},Bn.prototype.setUniforms=function(t,e){e.set(0)},Bn.prototype.getBinding=function(t,e){return new En(t,e)};var Rn=function(){this.binders={},this.cacheKey="",this._buffers=[],this._featureMap=new vn,this._bufferOffset=0};Rn.createDynamic=function(t,e,r){var i=new Rn,n=[];for(var o in t.paint._values)if(r(o)){var a=t.paint.get(o);if(a instanceof bi&&Xe(a.property.specification)){var s=Fn(o,t.type),u=a.property.specification.type,l=a.property.useIntegerZoom;if("cross-faded"===a.property.specification["property-type"]||"cross-faded-data-driven"===a.property.specification["property-type"])if("constant"===a.value.kind)i.binders[o]=new Mn(a.value.value,s,u),n.push("/u_"+o);else{var p=Un(o,u,"source");i.binders[o]=new Bn(a.value,s,u,l,e,p,t.id),n.push("/a_"+o)}else if("constant"===a.value.kind)i.binders[o]=new Pn(a.value.value,s,u),n.push("/u_"+o);else if("source"===a.value.kind){var c=Un(o,u,"source");i.binders[o]=new Ln(a.value,s,u,c),n.push("/a_"+o)}else{var h=Un(o,u,"composite");i.binders[o]=new Dn(a.value,s,u,l,e,h),n.push("/z_"+o)}}}return i.cacheKey=n.sort().join(""),i},Rn.prototype.populatePaintArrays=function(t,e,r,i){for(var n in this.binders)this.binders[n].populatePaintArray(t,e,i);void 0!==e.id&&this._featureMap.add(+e.id,r,this._bufferOffset,t),this._bufferOffset=t},Rn.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders)this.binders[r].setConstantPatternPositions(t,e)},Rn.prototype.updatePaintArrays=function(t,e,r,i){var n=!1;for(var o in t)for(var a=0,s=this._featureMap.getPositions(+o);a<s.length;a+=1){var u=s[a],l=e.feature(u.index);for(var p in this.binders){var c=this.binders[p];if(!(c instanceof Pn||c instanceof Mn)&&!0===c.expression.isStateDependent){var h=r.paint.get(p);c.expression=h.value,c.updatePaintArray(u.start,u.end,l,t[o],i),n=!0}}}return n},Rn.prototype.defines=function(){var t=[];for(var e in this.binders)t.push.apply(t,this.binders[e].defines());return t},Rn.prototype.getPaintVertexBuffers=function(){return this._buffers},Rn.prototype.getUniforms=function(t,e){var r={};for(var i in this.binders)for(var n=this.binders[i],o=0,a=n.uniformNames;o<a.length;o+=1){var s=a[o];r[s]=n.getBinding(t,e[s])}return r},Rn.prototype.setUniforms=function(t,e,r,i){for(var n in this.binders)for(var o=this.binders[n],a=0,s=o.uniformNames;a<s.length;a+=1){var u=s[a];o.setUniforms(t,e[u],i,r.get(n),u)}},Rn.prototype.updatePatternPaintBuffers=function(t){var e=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof Bn){var n=2===t.fromScale?i.zoomInPaintVertexBuffer:i.zoomOutPaintVertexBuffer;n&&e.push(n)}else(i instanceof Ln||i instanceof Dn)&&i.paintVertexBuffer&&e.push(i.paintVertexBuffer)}this._buffers=e},Rn.prototype.upload=function(t){for(var e in this.binders)this.binders[e].upload(t);var r=[];for(var i in this.binders){var n=this.binders[i];(n instanceof Ln||n instanceof Dn)&&n.paintVertexBuffer&&r.push(n.paintVertexBuffer)}this._buffers=r},Rn.prototype.destroy=function(){for(var t in this.binders)this.binders[t].destroy()};var On=function(t,e,r,i){void 0===i&&(i=function(){return!0}),this.programConfigurations={};for(var n=0,o=e;n<o.length;n+=1){var a=o[n];this.programConfigurations[a.id]=Rn.createDynamic(a,r,i),this.programConfigurations[a.id].layoutAttributes=t}this.needsUpload=!1};function Fn(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from"],"fill-pattern":["pattern_to","pattern_from"],"fill-extrusion-pattern":["pattern_to","pattern_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function Un(t,e,r){var i={color:{source:tn,composite:en},number:{source:Hi,composite:tn}},n=function(t){return{"line-pattern":{source:Ui,composite:Ui},"fill-pattern":{source:Ui,composite:Ui},"fill-extrusion-pattern":{source:Ui,composite:Ui}}[t]}(t);return n&&n[r]||i[e][r]}On.prototype.populatePaintArrays=function(t,e,r,i){for(var n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r,i);this.needsUpload=!0},On.prototype.updatePaintArrays=function(t,e,r,i){for(var n=0,o=r;n<o.length;n+=1){var a=o[n];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(t,e,a,i)||this.needsUpload}},On.prototype.get=function(t){return this.programConfigurations[t]},On.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},On.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},Jr("ConstantBinder",Pn),Jr("CrossFadedConstantBinder",Mn),Jr("SourceExpressionBinder",Ln),Jr("CrossFadedCompositeBinder",Bn),Jr("CompositeExpressionBinder",Dn),Jr("ProgramConfiguration",Rn,{omit:["_buffers"]}),Jr("ProgramConfigurationSet",On);var Vn=8192,Nn={min:-1*Math.pow(2,15),max:Math.pow(2,15)-1};function jn(t){for(var e=Vn/t.extent,r=t.loadGeometry(),i=0;i<r.length;i++)for(var n=r[i],o=0;o<n.length;o++){var a=n[o];a.x=Math.round(a.x*e),a.y=Math.round(a.y*e),(a.x<Nn.min||a.x>Nn.max||a.y<Nn.min||a.y>Nn.max)&&w("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return r}function qn(t,e,r,i,n){t.emplaceBack(2*e+(i+1)/2,2*r+(n+1)/2)}var Zn=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map(function(t){return t.id}),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Bi,this.indexArray=new Ji,this.segments=new _n,this.programConfigurations=new On(yn,t.layers,t.zoom)};function Gn(t,e,r){for(var i=0;i<t.length;i++){var n=t[i];if(to(n,e))return!0;if(Jn(e,n,r))return!0}return!1}function Xn(t,e){if(1===t.length&&1===t[0].length)return Qn(e,t[0][0]);for(var r=0;r<e.length;r++)for(var i=e[r],n=0;n<i.length;n++)if(Qn(t,i[n]))return!0;for(var o=0;o<t.length;o++){for(var a=t[o],s=0;s<a.length;s++)if(Qn(e,a[s]))return!0;for(var u=0;u<e.length;u++)if(Kn(a,e[u]))return!0}return!1}function Wn(t,e,r){for(var i=0;i<e.length;i++)for(var n=e[i],o=0;o<t.length;o++){var a=t[o];if(a.length>=3)for(var s=0;s<n.length;s++)if(to(a,n[s]))return!0;if(Hn(a,n,r))return!0}return!1}function Hn(t,e,r){if(t.length>1){if(Kn(t,e))return!0;for(var i=0;i<e.length;i++)if(Jn(e[i],t,r))return!0}for(var n=0;n<t.length;n++)if(Jn(t[n],e,r))return!0;return!1}function Kn(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var i=t[r],n=t[r+1],o=0;o<e.length-1;o++)if(Yn(i,n,e[o],e[o+1]))return!0;return!1}function Yn(t,e,r,i){return E(t,r,i)!==E(e,r,i)&&E(t,e,r)!==E(t,e,i)}function Jn(t,e,r){var i=r*r;if(1===e.length)return t.distSqr(e[0])<i;for(var n=1;n<e.length;n++)if($n(t,e[n-1],e[n])<i)return!0;return!1}function $n(t,e,r){var i=e.distSqr(r);if(0===i)return t.distSqr(e);var n=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/i;return n<0?t.distSqr(e):n>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(n)._add(e))}function Qn(t,e){for(var r,i,n,o=!1,a=0;a<t.length;a++)for(var s=0,u=(r=t[a]).length-1;s<r.length;u=s++)i=r[s],n=r[u],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(o=!o);return o}function to(t,e){for(var r=!1,i=0,n=t.length-1;i<t.length;n=i++){var o=t[i],a=t[n];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function eo(t,e,r){var i=e.paint.get(t).value;return"constant"===i.kind?i.value:r.programConfigurations.get(e.id).binders[t].maxValue}function ro(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function io(t,e,r,i,o){if(!e[0]&&!e[1])return t;var a=n.convert(e);"viewport"===r&&a._rotate(-i);for(var s=[],u=0;u<t.length;u++){for(var l=t[u],p=[],c=0;c<l.length;c++)p.push(l[c].sub(a._mult(o)));s.push(p)}return s}Zn.prototype.populate=function(t,e){for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new di(this.zoom),o)){var u=jn(o);this.addFeature(o,u,a),e.featureIndex.insert(o,u,a,s,this.index)}}},Zn.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Zn.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Zn.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Zn.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,yn),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Zn.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Zn.prototype.addFeature=function(t,e,r){for(var i=0,n=e;i<n.length;i+=1)for(var o=0,a=n[i];o<a.length;o+=1){var s=a[o],u=s.x,l=s.y;if(!(u<0||u>=Vn||l<0||l>=Vn)){var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),c=p.vertexLength;qn(this.layoutVertexArray,u,l,-1,-1),qn(this.layoutVertexArray,u,l,1,-1),qn(this.layoutVertexArray,u,l,1,1),qn(this.layoutVertexArray,u,l,-1,1),this.indexArray.emplaceBack(c,c+1,c+2),this.indexArray.emplaceBack(c,c+3,c+2),p.vertexLength+=4,p.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{})},Jr("CircleBucket",Zn,{omit:["layers"]});var no={paint:new Ii({"circle-radius":new Si(st.paint_circle["circle-radius"]),"circle-color":new Si(st.paint_circle["circle-color"]),"circle-blur":new Si(st.paint_circle["circle-blur"]),"circle-opacity":new Si(st.paint_circle["circle-opacity"]),"circle-translate":new Ei(st.paint_circle["circle-translate"]),"circle-translate-anchor":new Ei(st.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Ei(st.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Ei(st.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Si(st.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Si(st.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Si(st.paint_circle["circle-stroke-opacity"])})},oo="undefined"!=typeof Float32Array?Float32Array:Array;function ao(){var t=new oo(9);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t}function so(){var t=new oo(3);return t[0]=0,t[1]=0,t[2]=0,t}function uo(t){var e=t[0],r=t[1],i=t[2];return Math.sqrt(e*e+r*r+i*i)}function lo(t,e,r){var i=new oo(3);return i[0]=t,i[1]=e,i[2]=r,i}Math.PI;var po,co=uo,ho=(po=so(),function(t,e,r,i,n,o){var a,s;for(e||(e=3),r||(r=0),s=i?Math.min(i*e+r,t.length):t.length,a=r;a<s;a+=e)po[0]=t[a],po[1]=t[a+1],po[2]=t[a+2],n(po,po,o),t[a]=po[0],t[a+1]=po[1],t[a+2]=po[2];return t});function fo(){var t=new oo(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}function mo(t,e){var r=e[0],i=e[1],n=e[2],o=e[3],a=r*r+i*i+n*n+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=r*a,t[1]=i*a,t[2]=n*a,t[3]=o*a),t}function yo(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3];return t[0]=r[0]*i+r[4]*n+r[8]*o+r[12]*a,t[1]=r[1]*i+r[5]*n+r[9]*o+r[13]*a,t[2]=r[2]*i+r[6]*n+r[10]*o+r[14]*a,t[3]=r[3]*i+r[7]*n+r[11]*o+r[15]*a,t}var _o=function(){var t=fo();return function(e,r,i,n,o,a){var s,u;for(r||(r=4),i||(i=0),u=n?Math.min(n*r+i,e.length):e.length,s=i;s<u;s+=r)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],t[3]=e[s+3],o(t,t,a),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2],e[s+3]=t[3];return e}}();function go(){var t=new oo(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t}so(),lo(1,0,0),lo(0,1,0),go(),go(),ao(),function(){var t;(t=new oo(2))[0]=0,t[1]=0}();var vo=function(t){function e(e){t.call(this,e,no)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Zn(t)},e.prototype.queryRadius=function(t){var e=t;return eo("circle-radius",this,e)+eo("circle-stroke-width",this,e)+ro(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a,s){for(var u=io(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),l=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),p="map"===this.paint.get("circle-pitch-alignment"),c=p?u:function(t,e,r){return u.map(function(t){return t.map(function(t){return xo(t,e,r)})})}(0,s,o),h=p?l*a:l,f=0,d=i;f<d.length;f+=1)for(var m=0,y=d[f];m<y.length;m+=1){var _=y[m],g=p?_:xo(_,s,o),v=h,x=yo([],[_.x,_.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?v*=x[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(v*=o.cameraToCenterDistance/x[3]),Gn(c,g,v))return!0}return!1},e}(Ci);function xo(t,e,r){var i=yo([],[t.x,t.y,0,1],e);return new n((i[0]/i[3]+1)*r.width*.5,(i[1]/i[3]+1)*r.height*.5)}var bo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Zn);function wo(t,e,r,i){var n=e.width,o=e.height;if(i){if(i.length!==n*o*r)throw new RangeError("mismatched image size")}else i=new Uint8Array(n*o*r);return t.width=n,t.height=o,t.data=i,t}function Eo(t,e,r){var i=e.width,n=e.height;if(i!==t.width||n!==t.height){var o=wo({},{width:i,height:n},r);So(t,o,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,i),height:Math.min(t.height,n)},r),t.width=i,t.height=n,t.data=o.data}}function So(t,e,r,i,n,o){if(0===n.width||0===n.height)return e;if(n.width>t.width||n.height>t.height||r.x>t.width-n.width||r.y>t.height-n.height)throw new RangeError("out of range source coordinates for image copy");if(n.width>e.width||n.height>e.height||i.x>e.width-n.width||i.y>e.height-n.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=t.data,s=e.data,u=0;u<n.height;u++)for(var l=((r.y+u)*t.width+r.x)*o,p=((i.y+u)*e.width+i.x)*o,c=0;c<n.width*o;c++)s[p+c]=a[l+c];return e}Jr("HeatmapBucket",bo,{omit:["layers"]});var To=function(t,e){wo(this,t,1,e)};To.prototype.resize=function(t){Eo(this,t,1)},To.prototype.clone=function(){return new To({width:this.width,height:this.height},new Uint8Array(this.data))},To.copy=function(t,e,r,i,n){So(t,e,r,i,n,1)};var Ao=function(t,e){wo(this,t,4,e)};Ao.prototype.resize=function(t){Eo(this,t,4)},Ao.prototype.clone=function(){return new Ao({width:this.width,height:this.height},new Uint8Array(this.data))},Ao.copy=function(t,e,r,i,n){So(t,e,r,i,n,4)},Jr("AlphaImage",To),Jr("RGBAImage",Ao);var zo={paint:new Ii({"heatmap-radius":new Si(st.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Si(st.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Ei(st.paint_heatmap["heatmap-intensity"]),"heatmap-color":new zi(st.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Ei(st.paint_heatmap["heatmap-opacity"])})};function Io(t,e){for(var r=new Uint8Array(1024),i={},n=0,o=0;n<256;n++,o+=4){i[e]=n/255;var a=t.evaluate(i);r[o+0]=Math.floor(255*a.r/a.a),r[o+1]=Math.floor(255*a.g/a.a),r[o+2]=Math.floor(255*a.b/a.a),r[o+3]=Math.floor(255*a.a)}return new Ao({width:256,height:1},r)}var Co=function(t){function e(e){t.call(this,e,zo),this._updateColorRamp()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new bo(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Io(t,"heatmapDensity"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(Ci),ko={paint:new Ii({"hillshade-illumination-direction":new Ei(st.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Ei(st.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Ei(st.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Ei(st.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Ei(st.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Ei(st.paint_hillshade["hillshade-accent-color"])})},Po=function(t){function e(e){t.call(this,e,ko)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(Ci),Mo=Li([{name:"a_pos",components:2,type:"Int16"}],4),Lo=Mo.members,Do=(Mo.size,Mo.alignment,Ro),Bo=Ro;function Ro(t,e,r){r=r||2;var i,n,o,a,s,u,l,p=e&&e.length,c=p?e[0]*r:t.length,h=Oo(t,0,c,r,!0),f=[];if(!h)return f;if(p&&(h=function(t,e,r,i){var n,o,a,s=[];for(n=0,o=e.length;n<o;n++)(a=Oo(t,e[n]*i,n<o-1?e[n+1]*i:t.length,i,!1))===a.next&&(a.steiner=!0),s.push(Wo(a));for(s.sort(Zo),n=0;n<s.length;n++)Go(s[n],r),r=Fo(r,r.next);return r}(t,e,h,r)),t.length>80*r){i=o=t[0],n=a=t[1];for(var d=r;d<c;d+=r)(s=t[d])<i&&(i=s),(u=t[d+1])<n&&(n=u),s>o&&(o=s),u>a&&(a=u);l=0!==(l=Math.max(o-i,a-n))?1/l:0}return Uo(h,f,r,i,n,l),f}function Oo(t,e,r,i,n){var o,a;if(n===na(t,e,r,i)>0)for(o=e;o<r;o+=i)a=ea(o,t[o],t[o+1],a);else for(o=r-i;o>=e;o-=i)a=ea(o,t[o],t[o+1],a);return a&&Jo(a,a.next)&&(ra(a),a=a.next),a}function Fo(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!Jo(i,i.next)&&0!==Yo(i.prev,i,i.next))i=i.next;else{if(ra(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function Uo(t,e,r,i,n,o,a){if(t){!a&&o&&function(t,e,r,i){var n=t;do{null===n.z&&(n.z=Xo(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==t);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,a,s,u,l=1;do{for(r=t,t=null,o=null,a=0;r;){for(a++,i=r,s=0,e=0;e<l&&(s++,i=i.nextZ);e++);for(u=l;s>0||u>0&&i;)0!==s&&(0===u||!i||r.z<=i.z)?(n=r,r=r.nextZ,s--):(n=i,i=i.nextZ,u--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,l*=2}while(a>1)}(n)}(t,i,n,o);for(var s,u,l=t;t.prev!==t.next;)if(s=t.prev,u=t.next,o?No(t,i,n,o):Vo(t))e.push(s.i/r),e.push(t.i/r),e.push(u.i/r),ra(t),t=u.next,l=u.next;else if((t=u)===l){a?1===a?Uo(t=jo(t,e,r),e,r,i,n,o,2):2===a&&qo(t,e,r,i,n,o):Uo(Fo(t),e,r,i,n,o,1);break}}}function Vo(t){var e=t.prev,r=t,i=t.next;if(Yo(e,r,i)>=0)return!1;for(var n=t.next.next;n!==t.prev;){if(Ho(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&Yo(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function No(t,e,r,i){var n=t.prev,o=t,a=t.next;if(Yo(n,o,a)>=0)return!1;for(var s=n.x<o.x?n.x<a.x?n.x:a.x:o.x<a.x?o.x:a.x,u=n.y<o.y?n.y<a.y?n.y:a.y:o.y<a.y?o.y:a.y,l=n.x>o.x?n.x>a.x?n.x:a.x:o.x>a.x?o.x:a.x,p=n.y>o.y?n.y>a.y?n.y:a.y:o.y>a.y?o.y:a.y,c=Xo(s,u,e,r,i),h=Xo(l,p,e,r,i),f=t.prevZ,d=t.nextZ;f&&f.z>=c&&d&&d.z<=h;){if(f!==t.prev&&f!==t.next&&Ho(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Yo(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,d!==t.prev&&d!==t.next&&Ho(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Yo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&Ho(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Yo(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;d&&d.z<=h;){if(d!==t.prev&&d!==t.next&&Ho(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Yo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function jo(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!Jo(n,o)&&$o(n,i,i.next,o)&&Qo(n,o)&&Qo(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),ra(i),ra(i.next),i=t=o),i=i.next}while(i!==t);return i}function qo(t,e,r,i,n,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Ko(a,s)){var u=ta(a,s);return a=Fo(a,a.next),u=Fo(u,u.next),Uo(a,e,r,i,n,o),void Uo(u,e,r,i,n,o)}s=s.next}a=a.next}while(a!==t)}function Zo(t,e){return t.x-e.x}function Go(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=n&&s>a){if(a=s,s===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===a)return r.prev;var u,l=r,p=r.x,c=r.y,h=1/0;for(i=r.next;i!==l;)n>=i.x&&i.x>=p&&n!==i.x&&Ho(o<c?n:a,o,p,c,o<c?a:n,o,i.x,i.y)&&((u=Math.abs(o-i.y)/(n-i.x))<h||u===h&&i.x>r.x)&&Qo(i,t)&&(r=i,h=u),i=i.next;return r}(t,e)){var r=ta(e,t);Fo(r,r.next)}}function Xo(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Wo(t){var e=t,r=t;do{e.x<r.x&&(r=e),e=e.next}while(e!==t);return r}function Ho(t,e,r,i,n,o,a,s){return(n-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(i-s)-(r-a)*(e-s)>=0&&(r-a)*(o-s)-(n-a)*(i-s)>=0}function Ko(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&$o(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&Qo(t,e)&&Qo(e,t)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next}while(r!==t);return i}(t,e)}function Yo(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function Jo(t,e){return t.x===e.x&&t.y===e.y}function $o(t,e,r,i){return!!(Jo(t,e)&&Jo(r,i)||Jo(t,i)&&Jo(r,e))||Yo(t,e,r)>0!=Yo(t,e,i)>0&&Yo(r,i,t)>0!=Yo(r,i,e)>0}function Qo(t,e){return Yo(t.prev,t,t.next)<0?Yo(t,e,t.next)>=0&&Yo(t,t.prev,e)>=0:Yo(t,e,t.prev)<0||Yo(t,t.next,e)<0}function ta(t,e){var r=new ia(t.i,t.x,t.y),i=new ia(e.i,e.x,e.y),n=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=n,n.prev=r,i.next=r,r.prev=i,o.next=i,i.prev=o,i}function ea(t,e,r,i){var n=new ia(t,e,r);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function ra(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ia(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function na(t,e,r,i){for(var n=0,o=e,a=r-i;o<r;o+=i)n+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return n}Ro.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,a=Math.abs(na(t,0,o,r));if(n)for(var s=0,u=e.length;s<u;s++){var l=e[s]*r,p=s<u-1?e[s+1]*r:t.length;a-=Math.abs(na(t,l,p,r))}var c=0;for(s=0;s<i.length;s+=3){var h=i[s]*r,f=i[s+1]*r,d=i[s+2]*r;c+=Math.abs((t[h]-t[d])*(t[f+1]-t[h+1])-(t[h]-t[f])*(t[d+1]-t[h+1]))}return 0===a&&0===c?0:Math.abs((c-a)/a)},Ro.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[n][o][a]);n>0&&(i+=t[n-1].length,r.holes.push(i))}return r},Do.default=Bo;var oa=sa,aa=sa;function sa(t,e,r,i,n){!function t(e,r,i,n,o){for(;n>i;){if(n-i>600){var a=n-i+1,s=r-i+1,u=Math.log(a),l=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*l*(a-l)/a)*(s-a/2<0?-1:1);t(e,r,Math.max(i,Math.floor(r-s*l/a+p)),Math.min(n,Math.floor(r+(a-s)*l/a+p)),o)}var c=e[r],h=i,f=n;for(ua(e,i,r),o(e[n],c)>0&&ua(e,i,n);h<f;){for(ua(e,h,f),h++,f--;o(e[h],c)<0;)h++;for(;o(e[f],c)>0;)f--}0===o(e[i],c)?ua(e,i,f):ua(e,++f,n),f<=r&&(i=f+1),r<=f&&(n=f-1)}}(t,e,r||0,i||t.length-1,n||la)}function ua(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function la(t,e){return t<e?-1:t>e?1:0}function pa(t,e){var r=t.length;if(r<=1)return[t];for(var i,n,o=[],a=0;a<r;a++){var s=S(t[a]);0!==s&&(t[a].area=Math.abs(s),void 0===n&&(n=s<0),n===s<0?(i&&o.push(i),i=[t[a]]):i.push(t[a]))}if(i&&o.push(i),e>1)for(var u=0;u<o.length;u++)o[u].length<=e||(oa(o[u],e,1,o[u].length-1,ca),o[u]=o[u].slice(0,e));return o}function ca(t,e){return e.area-t.area}function ha(t,e,r){for(var i=r.patternDependencies,n=!1,o=0,a=e;o<a.length;o+=1){var s=a[o].paint.get(t+"-pattern");s.isConstant()||(n=!0);var u=s.constantOr(null);u&&(n=!0,i[u.to]=!0,i[u.from]=!0)}return n}function fa(t,e,r,i,n){for(var o=n.patternDependencies,a=0,s=e;a<s.length;a+=1){var u=s[a],l=u.paint.get(t+"-pattern").value;if("constant"!==l.kind){var p=l.evaluate({zoom:i-1},r,{}),c=l.evaluate({zoom:i},r,{}),h=l.evaluate({zoom:i+1},r,{});o[p]=!0,o[c]=!0,o[h]=!0,r.patterns[u.id]={min:p,mid:c,max:h}}}return r}oa.default=aa;var da=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map(function(t){return t.id}),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Bi,this.indexArray=new Ji,this.indexArray2=new $i,this.programConfigurations=new On(Lo,t.layers,t.zoom),this.segments=new _n,this.segments2=new _n};da.prototype.populate=function(t,e){this.features=[],this.hasPattern=ha("fill",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new di(this.zoom),o)){var u=jn(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(fa("fill",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index)}}},da.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},da.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},da.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},da.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},da.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Lo),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},da.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},da.prototype.addFeature=function(t,e,r,i){for(var n=0,o=pa(e,500);n<o.length;n+=1){for(var a=o[n],s=0,u=0,l=a;u<l.length;u+=1)s+=l[u].length;for(var p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray),c=p.vertexLength,h=[],f=[],d=0,m=a;d<m.length;d+=1){var y=m[d];if(0!==y.length){y!==a[0]&&f.push(h.length/2);var _=this.segments2.prepareSegment(y.length,this.layoutVertexArray,this.indexArray2),g=_.vertexLength;this.layoutVertexArray.emplaceBack(y[0].x,y[0].y),this.indexArray2.emplaceBack(g+y.length-1,g),h.push(y[0].x),h.push(y[0].y);for(var v=1;v<y.length;v++)this.layoutVertexArray.emplaceBack(y[v].x,y[v].y),this.indexArray2.emplaceBack(g+v-1,g+v),h.push(y[v].x),h.push(y[v].y);_.vertexLength+=y.length,_.primitiveLength+=y.length}}for(var x=Do(h,f),b=0;b<x.length;b+=3)this.indexArray.emplaceBack(c+x[b],c+x[b+1],c+x[b+2]);p.vertexLength+=s,p.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},Jr("FillBucket",da,{omit:["layers","features"]});var ma={paint:new Ii({"fill-antialias":new Ei(st.paint_fill["fill-antialias"]),"fill-opacity":new Si(st.paint_fill["fill-opacity"]),"fill-color":new Si(st.paint_fill["fill-color"]),"fill-outline-color":new Si(st.paint_fill["fill-outline-color"]),"fill-translate":new Ei(st.paint_fill["fill-translate"]),"fill-translate-anchor":new Ei(st.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ti(st.paint_fill["fill-pattern"])})},ya=function(t){function e(e){t.call(this,e,ma)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e);var r=this.paint._values["fill-outline-color"];"constant"===r.value.kind&&void 0===r.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(t){return new da(t)},e.prototype.queryRadius=function(){return ro(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a){return Xn(io(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),i)},e}(Ci),_a=Li([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4),ga=_a.members,va=(_a.size,_a.alignment,Math.pow(2,13));function xa(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,2*Math.floor(i*va)+a,n*va*2,o*va*2,Math.round(s))}var ba=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map(function(t){return t.id}),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Oi,this.indexArray=new Ji,this.programConfigurations=new On(ga,t.layers,t.zoom),this.segments=new _n};function wa(t,e){return t.x===e.x&&(t.x<0||t.x>Vn)||t.y===e.y&&(t.y<0||t.y>Vn)}function Ea(t){return t.every(function(t){return t.x<0})||t.every(function(t){return t.x>Vn})||t.every(function(t){return t.y<0})||t.every(function(t){return t.y>Vn})}ba.prototype.populate=function(t,e){this.features=[],this.hasPattern=ha("fill-extrusion",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new di(this.zoom),o)){var u=jn(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(fa("fill-extrusion",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index)}}},ba.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},ba.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ba.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ba.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ba.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ga),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},ba.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},ba.prototype.addFeature=function(t,e,r,i){for(var n=0,o=pa(e,500);n<o.length;n+=1){for(var a=o[n],s=0,u=0,l=a;u<l.length;u+=1)s+=l[u].length;for(var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),c=0,h=a;c<h.length;c+=1){var f=h[c];if(0!==f.length&&!Ea(f))for(var d=0,m=0;m<f.length;m++){var y=f[m];if(m>=1){var _=f[m-1];if(!wa(y,_)){p.vertexLength+4>_n.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var g=y.sub(_)._perp()._unit(),v=_.dist(y);d+v>32768&&(d=0),xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,0,d),xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,1,d),d+=v,xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,0,d),xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,1,d);var x=p.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),p.vertexLength+=4,p.primitiveLength+=2}}}}p.vertexLength+s>_n.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray));for(var b=[],w=[],E=p.vertexLength,S=0,T=a;S<T.length;S+=1){var A=T[S];if(0!==A.length){A!==a[0]&&w.push(b.length/2);for(var z=0;z<A.length;z++){var I=A[z];xa(this.layoutVertexArray,I.x,I.y,0,0,1,1,0),b.push(I.x),b.push(I.y)}}}for(var C=Do(b,w),k=0;k<C.length;k+=3)this.indexArray.emplaceBack(E+C[k],E+C[k+2],E+C[k+1]);p.primitiveLength+=C.length/3,p.vertexLength+=s}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},Jr("FillExtrusionBucket",ba,{omit:["layers","features"]});var Sa={paint:new Ii({"fill-extrusion-opacity":new Ei(st["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Si(st["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Ei(st["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Ei(st["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ti(st["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Si(st["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Si(st["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Ei(st["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Ta=function(t){function e(e){t.call(this,e,Sa)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new ba(t)},e.prototype.queryRadius=function(){return ro(this.paint.get("fill-extrusion-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a){return Xn(io(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,a),i)},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("fill-extrusion-opacity")&&"none"!==this.visibility},e.prototype.resize=function(){this.viewportFrame&&(this.viewportFrame.destroy(),this.viewportFrame=null)},e}(Ci),Aa=Li([{name:"a_pos_normal",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4),za=Aa.members,Ia=(Aa.size,Aa.alignment,Ca);function Ca(t,e,r,i,n){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=i,this._values=n,t.readFields(ka,this,e)}function ka(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){for(var r=t.readVarint()+t.pos;t.pos<r;){var i=e._keys[t.readVarint()],n=e._values[t.readVarint()];e.properties[i]=n}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function Pa(t){for(var e,r,i=0,n=0,o=t.length,a=o-1;n<o;a=n++)e=t[n],i+=((r=t[a]).x-e.x)*(e.y+r.y);return i}Ca.types=["Unknown","Point","LineString","Polygon"],Ca.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,i=1,o=0,a=0,s=0,u=[];t.pos<r;){if(o<=0){var l=t.readVarint();i=7&l,o=l>>3}if(o--,1===i||2===i)a+=t.readSVarint(),s+=t.readSVarint(),1===i&&(e&&u.push(e),e=[]),e.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);e&&e.push(e[0].clone())}}return e&&u.push(e),u},Ca.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,i=0,n=0,o=0,a=1/0,s=-1/0,u=1/0,l=-1/0;t.pos<e;){if(i<=0){var p=t.readVarint();r=7&p,i=p>>3}if(i--,1===r||2===r)(n+=t.readSVarint())<a&&(a=n),n>s&&(s=n),(o+=t.readSVarint())<u&&(u=o),o>l&&(l=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,u,s,l]},Ca.prototype.toGeoJSON=function(t,e,r){var i,n,o=this.extent*Math.pow(2,r),a=this.extent*t,s=this.extent*e,u=this.loadGeometry(),l=Ca.types[this.type];function p(t){for(var e=0;e<t.length;e++){var r=t[e],i=180-360*(r.y+s)/o;t[e]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp(i*Math.PI/180))-90]}}switch(this.type){case 1:var c=[];for(i=0;i<u.length;i++)c[i]=u[i][0];p(u=c);break;case 2:for(i=0;i<u.length;i++)p(u[i]);break;case 3:for(u=function(t){var e=t.length;if(e<=1)return[t];for(var r,i,n=[],o=0;o<e;o++){var a=Pa(t[o]);0!==a&&(void 0===i&&(i=a<0),i===a<0?(r&&n.push(r),r=[t[o]]):r.push(t[o]))}return r&&n.push(r),n}(u),i=0;i<u.length;i++)for(n=0;n<u[i].length;n++)p(u[i][n])}1===u.length?u=u[0]:l="Multi"+l;var h={type:"Feature",geometry:{type:l,coordinates:u},properties:this.properties};return"id"in this&&(h.id=this.id),h};var Ma=La;function La(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Da,this,e),this.length=this._features.length}function Da(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){for(var e=null,r=t.readVarint()+t.pos;t.pos<r;){var i=t.readVarint()>>3;e=1===i?t.readString():2===i?t.readFloat():3===i?t.readDouble():4===i?t.readVarint64():5===i?t.readVarint():6===i?t.readSVarint():7===i?t.readBoolean():null}return e}(r))}function Ba(t,e,r){if(3===t){var i=new Ma(r,r.readVarint()+r.pos);i.length&&(e[i.name]=i)}}La.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Ia(this._pbf,e,this.extent,this._keys,this._values)};var Ra={VectorTile:function(t,e){this.layers=t.readFields(Ba,{},e)},VectorTileFeature:Ia,VectorTileLayer:Ma},Oa=Ra.VectorTileFeature.types,Fa=63,Ua=Math.cos(Math.PI/180*37.5),Va=.5,Na=Math.pow(2,14)/Va;function ja(t,e,r,i,n,o,a){t.emplaceBack(e.x,e.y,i?1:0,n?1:-1,Math.round(Fa*r.x)+128,Math.round(Fa*r.y)+128,1+(0===o?0:o<0?-1:1)|(a*Va&63)<<2,a*Va>>6)}var qa=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map(function(t){return t.id}),this.index=t.index,this.features=[],this.hasPattern=!1,this.layoutVertexArray=new Fi,this.indexArray=new Ji,this.programConfigurations=new On(za,t.layers,t.zoom),this.segments=new _n};function Za(t,e){return(t/e.tileTotal*(e.end-e.start)+e.start)*(Na-1)}qa.prototype.populate=function(t,e){this.features=[],this.hasPattern=ha("line",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new di(this.zoom),o)){var u=jn(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(fa("line",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index)}}},qa.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},qa.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},qa.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},qa.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},qa.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,za),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},qa.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},qa.prototype.addFeature=function(t,e,r,i){for(var n=this.layers[0].layout,o=n.get("line-join").evaluate(t,{}),a=n.get("line-cap"),s=n.get("line-miter-limit"),u=n.get("line-round-limit"),l=0,p=e;l<p.length;l+=1){var c=p[l];this.addLine(c,t,o,a,s,u,r,i)}},qa.prototype.addLine=function(t,e,r,i,n,o,a,s){var u=null;e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")&&(u={start:e.properties.mapbox_clip_start,end:e.properties.mapbox_clip_end,tileTotal:void 0});for(var l="Polygon"===Oa[e.type],p=t.length;p>=2&&t[p-1].equals(t[p-2]);)p--;for(var c=0;c<p-1&&t[c].equals(t[c+1]);)c++;if(!(p<(l?3:2))){u&&(u.tileTotal=function(t,e,r){for(var i,n,o=0,a=c;a<r-1;a++)i=t[a],n=t[a+1],o+=i.dist(n);return o}(t,0,p)),"bevel"===r&&(n=1.05);var h=Vn/(512*this.overscaling)*15,f=t[c],d=this.segments.prepareSegment(10*p,this.layoutVertexArray,this.indexArray);this.distance=0;var m,y,_,g=i,v=l?"butt":i,x=!0,b=void 0,w=void 0,E=void 0,S=void 0;this.e1=this.e2=this.e3=-1,l&&(m=t[p-2],S=f.sub(m)._unit()._perp());for(var T=c;T<p;T++)if(!(w=l&&T===p-1?t[c+1]:t[T+1])||!t[T].equals(w)){S&&(E=S),m&&(b=m),m=t[T],S=w?w.sub(m)._unit()._perp():E;var A=(E=E||S).add(S);0===A.x&&0===A.y||A._unit();var z=A.x*S.x+A.y*S.y,I=0!==z?1/z:1/0,C=z<Ua&&b&&w;if(C&&T>c){var k=m.dist(b);if(k>2*h){var P=m.sub(m.sub(b)._mult(h/k)._round());this.distance+=P.dist(b),this.addCurrentVertex(P,this.distance,E.mult(1),0,0,!1,d,u),b=P}}var M=b&&w,L=M?r:w?g:v;if(M&&"round"===L&&(I<o?L="miter":I<=2&&(L="fakeround")),"miter"===L&&I>n&&(L="bevel"),"bevel"===L&&(I>2&&(L="flipbevel"),I<n&&(L="miter")),b&&(this.distance+=m.dist(b)),"miter"===L)A._mult(I),this.addCurrentVertex(m,this.distance,A,0,0,!1,d,u);else if("flipbevel"===L){if(I>100)A=S.clone().mult(-1);else{var D=E.x*S.y-E.y*S.x>0?-1:1,B=I*E.add(S).mag()/E.sub(S).mag();A._perp()._mult(B*D)}this.addCurrentVertex(m,this.distance,A,0,0,!1,d,u),this.addCurrentVertex(m,this.distance,A.mult(-1),0,0,!1,d,u)}else if("bevel"===L||"fakeround"===L){var R=E.x*S.y-E.y*S.x>0,O=-Math.sqrt(I*I-1);if(R?(_=0,y=O):(y=0,_=O),x||this.addCurrentVertex(m,this.distance,E,y,_,!1,d,u),"fakeround"===L){for(var F=Math.floor(8*(.5-(z-.5))),U=void 0,V=0;V<F;V++)U=S.mult((V+1)/(F+1))._add(E)._unit(),this.addPieSliceVertex(m,this.distance,U,R,d,u);this.addPieSliceVertex(m,this.distance,A,R,d,u);for(var N=F-1;N>=0;N--)U=E.mult((N+1)/(F+1))._add(S)._unit(),this.addPieSliceVertex(m,this.distance,U,R,d,u)}w&&this.addCurrentVertex(m,this.distance,S,-y,-_,!1,d,u)}else"butt"===L?(x||this.addCurrentVertex(m,this.distance,E,0,0,!1,d,u),w&&this.addCurrentVertex(m,this.distance,S,0,0,!1,d,u)):"square"===L?(x||(this.addCurrentVertex(m,this.distance,E,1,1,!1,d,u),this.e1=this.e2=-1),w&&this.addCurrentVertex(m,this.distance,S,-1,-1,!1,d,u)):"round"===L&&(x||(this.addCurrentVertex(m,this.distance,E,0,0,!1,d,u),this.addCurrentVertex(m,this.distance,E,1,1,!0,d,u),this.e1=this.e2=-1),w&&(this.addCurrentVertex(m,this.distance,S,-1,-1,!0,d,u),this.addCurrentVertex(m,this.distance,S,0,0,!1,d,u)));if(C&&T<p-1){var j=m.dist(w);if(j>2*h){var q=m.add(w.sub(m)._mult(h/j)._round());this.distance+=q.dist(m),this.addCurrentVertex(q,this.distance,S.mult(1),0,0,!1,d,u),m=q}}x=!1}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,a,s)}},qa.prototype.addCurrentVertex=function(t,e,r,i,n,o,a,s){var u,l=this.layoutVertexArray,p=this.indexArray;s&&(e=Za(e,s)),u=r.clone(),i&&u._sub(r.perp()._mult(i)),ja(l,t,u,o,!1,i,e),this.e3=a.vertexLength++,this.e1>=0&&this.e2>=0&&(p.emplaceBack(this.e1,this.e2,this.e3),a.primitiveLength++),this.e1=this.e2,this.e2=this.e3,u=r.mult(-1),n&&u._sub(r.perp()._mult(n)),ja(l,t,u,o,!0,-n,e),this.e3=a.vertexLength++,this.e1>=0&&this.e2>=0&&(p.emplaceBack(this.e1,this.e2,this.e3),a.primitiveLength++),this.e1=this.e2,this.e2=this.e3,e>Na/2&&!s&&(this.distance=0,this.addCurrentVertex(t,this.distance,r,i,n,o,a))},qa.prototype.addPieSliceVertex=function(t,e,r,i,n,o){r=r.mult(i?-1:1);var a=this.layoutVertexArray,s=this.indexArray;o&&(e=Za(e,o)),ja(a,t,r,!1,i,0,e),this.e3=n.vertexLength++,this.e1>=0&&this.e2>=0&&(s.emplaceBack(this.e1,this.e2,this.e3),n.primitiveLength++),i?this.e2=this.e3:this.e1=this.e3},Jr("LineBucket",qa,{omit:["layers","features"]});var Ga=new Ii({"line-cap":new Ei(st.layout_line["line-cap"]),"line-join":new Si(st.layout_line["line-join"]),"line-miter-limit":new Ei(st.layout_line["line-miter-limit"]),"line-round-limit":new Ei(st.layout_line["line-round-limit"])}),Xa={paint:new Ii({"line-opacity":new Si(st.paint_line["line-opacity"]),"line-color":new Si(st.paint_line["line-color"]),"line-translate":new Ei(st.paint_line["line-translate"]),"line-translate-anchor":new Ei(st.paint_line["line-translate-anchor"]),"line-width":new Si(st.paint_line["line-width"]),"line-gap-width":new Si(st.paint_line["line-gap-width"]),"line-offset":new Si(st.paint_line["line-offset"]),"line-blur":new Si(st.paint_line["line-blur"]),"line-dasharray":new Ai(st.paint_line["line-dasharray"]),"line-pattern":new Ti(st.paint_line["line-pattern"]),"line-gradient":new zi(st.paint_line["line-gradient"])}),layout:Ga},Wa=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new di(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,i,n){return r=c({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,i,n)},e}(Si))(Xa.paint.properties["line-width"].specification);Wa.useIntegerZoom=!0;var Ha=function(t){function e(e){t.call(this,e,Xa)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient()},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Io(t,"lineProgress"),this.gradientTexture=null},e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e),this.paint._values["line-floorwidth"]=Wa.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new qa(t)},e.prototype.queryRadius=function(t){var e=t,r=Ka(eo("line-width",this,e),eo("line-gap-width",this,e)),i=eo("line-offset",this,e);return r/2+Math.abs(i)+ro(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s){var u=io(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),l=s/2*Ka(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),p=this.paint.get("line-offset").evaluate(e,r);return p&&(i=function(t,e){for(var r=[],i=new n(0,0),o=0;o<t.length;o++){for(var a=t[o],s=[],u=0;u<a.length;u++){var l=a[u-1],p=a[u],c=a[u+1],h=0===u?i:p.sub(l)._unit()._perp(),f=u===a.length-1?i:c.sub(p)._unit()._perp(),d=h._add(f)._unit(),m=d.x*f.x+d.y*f.y;d._mult(1/m),s.push(d._mult(e)._add(p))}r.push(s)}return r}(i,p*s)),Wn(u,i,l)},e}(Ci);function Ka(t,e){return e>0?e+2*t:t}var Ya=Li([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"}]),Ja=Li([{name:"a_projected_pos",components:3,type:"Float32"}],4),$a=(Li([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),Li([{name:"a_placed",components:2,type:"Uint8"}],4)),Qa=(Li([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"},{type:"Int16",name:"radius"},{type:"Int16",name:"signedDistanceFromAnchor"}]),Li([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),ts=Li([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4);function es(t,e,r){return t.sections.forEach(function(t){t.text=function(t,e,r){var i=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===i?t=t.toLocaleUpperCase():"lowercase"===i&&(t=t.toLocaleLowerCase()),fi.applyArabicShaping&&(t=fi.applyArabicShaping(t)),t}(t.text,e,r)}),t}Li([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"hidden"}]),Li([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"horizontalPlacedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint32",name:"crossTileID"}]),Li([{type:"Float32",name:"offsetX"}]),Li([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var rs={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},is=function(t){function e(e,r,i,n){t.call(this,e,r),this.angle=i,void 0!==n&&(this.segment=n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(n);function ns(t,e){var r=e.expression;if("constant"===r.kind)return{functionType:"constant",layoutSize:r.evaluate(new di(t+1))};if("source"===r.kind)return{functionType:"source"};for(var i=r.zoomStops,n=0;n<i.length&&i[n]<=t;)n++;for(var o=n=Math.max(0,n-1);o<i.length&&i[o]<t+1;)o++;o=Math.min(i.length-1,o);var a={min:i[n],max:i[o]};return"composite"===r.kind?{functionType:"composite",zoomRange:a,propertyValue:e.value}:{functionType:"camera",layoutSize:r.evaluate(new di(t+1)),zoomRange:a,sizeRange:{min:r.evaluate(new di(a.min)),max:r.evaluate(new di(a.max))},propertyValue:e.value}}Jr("Anchor",is);var os=Ra.VectorTileFeature.types,as=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function ss(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,Math.round(32*i),Math.round(32*n),o,a,s?s[0]:0,s?s[1]:0)}function us(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}var ls=function(t){this.layoutVertexArray=new Vi,this.indexArray=new Ji,this.programConfigurations=t,this.segments=new _n,this.dynamicLayoutVertexArray=new Ni,this.opacityVertexArray=new ji,this.placedSymbolArray=new an};ls.prototype.upload=function(t,e,r,i){r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ya.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,Ja.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,as,!0),this.opacityVertexBuffer.itemSize=1),(r||i)&&this.programConfigurations.upload(t)},ls.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},Jr("SymbolBuffers",ls);var ps=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new _n,this.collisionVertexArray=new Gi};ps.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,$a.members,!0)},ps.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},Jr("CollisionBuffers",ps);var cs=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map(function(t){return t.id}),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1;var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=ns(this.zoom,e["text-size"]),this.iconSizeData=ns(this.zoom,e["icon-size"]);var r=this.layers[0].layout,i="viewport-y"===r.get("symbol-z-order");this.sortFeaturesByY=i&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),this.sourceID=t.sourceID};cs.prototype.createArrays=function(){this.text=new ls(new On(Ya.members,this.layers,this.zoom,function(t){return/^text/.test(t)})),this.icon=new ls(new On(Ya.members,this.layers,this.zoom,function(t){return/^icon/.test(t)})),this.collisionBox=new ps(Zi,Qa.members,$i),this.collisionCircle=new ps(Zi,ts.members,Ji),this.glyphOffsetArray=new pn,this.lineVertexArray=new hn,this.symbolInstances=new un},cs.prototype.calculateGlyphDependencies=function(t,e,r,i){for(var n=0;n<t.length;n++)if(e[t.charCodeAt(n)]=!0,r&&i){var o=rs[t.charAt(n)];o&&(e[o.charCodeAt(0)]=!0)}},cs.prototype.populate=function(t,e){var r=this.layers[0],i=r.layout,n=i.get("text-font"),o=i.get("text-field"),a=i.get("icon-image"),s=("constant"!==o.value.kind||o.value.value.toString().length>0)&&("constant"!==n.value.kind||n.value.value.length>0),u="constant"!==a.value.kind||a.value.value&&a.value.value.length>0;if(this.features=[],s||u){for(var l=e.iconDependencies,p=e.glyphDependencies,c=new di(this.zoom),h=0,f=t;h<f.length;h+=1){var d=f[h],m=d.feature,y=d.index,_=d.sourceLayerIndex;if(r._featureFilter(c,m)){var g=void 0;if(s){var v=r.getValueAndResolveTokens("text-field",m);g=es(v instanceof Mt?v:Mt.fromString(v),r,m)}var x=void 0;if(u&&(x=r.getValueAndResolveTokens("icon-image",m)),g||x){var b={text:g,icon:x,index:y,sourceLayerIndex:_,geometry:jn(m),properties:m.properties,type:os[m.type]};if(void 0!==m.id&&(b.id=m.id),this.features.push(b),x&&(l[x]=!0),g)for(var w=n.evaluate(m,{}).join(","),E="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement"),S=0,T=g.sections;S<T.length;S+=1){var A=T[S],z=ii(g.toString()),I=A.fontStack||w,C=p[I]=p[I]||{};this.calculateGlyphDependencies(A.text,C,E,z)}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var e={},r={},i=[],n=0;function o(e){i.push(t[e]),n++}function a(t,e,n){var o=r[t];return delete r[t],r[e]=o,i[o].geometry[0].pop(),i[o].geometry[0]=i[o].geometry[0].concat(n[0]),o}function s(t,r,n){var o=e[r];return delete e[r],e[t]=o,i[o].geometry[0].shift(),i[o].geometry[0]=n[0].concat(i[o].geometry[0]),o}function u(t,e,r){var i=r?e[0][e[0].length-1]:e[0][0];return t+":"+i.x+":"+i.y}for(var l=0;l<t.length;l++){var p=t[l],c=p.geometry,h=p.text?p.text.toString():null;if(h){var f=u(h,c),d=u(h,c,!0);if(f in r&&d in e&&r[f]!==e[d]){var m=s(f,d,c),y=a(f,d,i[m].geometry);delete e[f],delete r[d],r[u(h,i[y].geometry,!0)]=y,i[m].geometry=null}else f in r?a(f,d,c):d in e?s(f,d,c):(o(l),e[f]=n-1,r[d]=n-1)}else o(l)}return i.filter(function(t){return t.geometry})}(this.features))}},cs.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))},cs.prototype.isEmpty=function(){return 0===this.symbolInstances.length},cs.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},cs.prototype.upload=function(t){this.uploaded||(this.collisionBox.upload(t),this.collisionCircle.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},cs.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.collisionBox.destroy(),this.collisionCircle.destroy()},cs.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var i=t.dist(e[t.segment+1]),n=t.dist(e[t.segment]),o={},a=t.segment+1;a<e.length;a++)o[a]={x:e[a].x,y:e[a].y,tileUnitDistanceFromAnchor:i},a<e.length-1&&(i+=e[a+1].dist(e[a]));for(var s=t.segment||0;s>=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:n},s>0&&(n+=e[s-1].dist(e[s]));for(var u=0;u<e.length;u++){var l=o[u];this.lineVertexArray.emplaceBack(l.x,l.y,l.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},cs.prototype.addSymbols=function(t,e,r,i,n,o,a,s,u,l){for(var p=t.indexArray,c=t.layoutVertexArray,h=t.dynamicLayoutVertexArray,f=t.segments.prepareSegment(4*e.length,t.layoutVertexArray,t.indexArray),d=this.glyphOffsetArray.length,m=f.vertexLength,y=0,_=e;y<_.length;y+=1){var g=_[y],v=g.tl,x=g.tr,b=g.bl,w=g.br,E=g.tex,S=f.vertexLength,T=g.glyphOffset[1];ss(c,s.x,s.y,v.x,T+v.y,E.x,E.y,r),ss(c,s.x,s.y,x.x,T+x.y,E.x+E.w,E.y,r),ss(c,s.x,s.y,b.x,T+b.y,E.x,E.y+E.h,r),ss(c,s.x,s.y,w.x,T+w.y,E.x+E.w,E.y+E.h,r),us(h,s,0),p.emplaceBack(S,S+1,S+2),p.emplaceBack(S+1,S+2,S+3),f.vertexLength+=4,f.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(g.glyphOffset[0])}t.placedSymbolArray.emplaceBack(s.x,s.y,d,this.glyphOffsetArray.length-d,m,u,l,s.segment,r?r[0]:0,r?r[1]:0,i[0],i[1],a,!1),t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{})},cs.prototype._addCollisionDebugVertex=function(t,e,r,i,n,o){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,i,n,Math.round(o.x),Math.round(o.y))},cs.prototype.addCollisionDebugVertices=function(t,e,r,i,o,a,s,u){var l=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),p=l.vertexLength,c=o.layoutVertexArray,h=o.collisionVertexArray,f=s.anchorX,d=s.anchorY;if(this._addCollisionDebugVertex(c,h,a,f,d,new n(t,e)),this._addCollisionDebugVertex(c,h,a,f,d,new n(r,e)),this._addCollisionDebugVertex(c,h,a,f,d,new n(r,i)),this._addCollisionDebugVertex(c,h,a,f,d,new n(t,i)),l.vertexLength+=4,u){var m=o.indexArray;m.emplaceBack(p,p+1,p+2),m.emplaceBack(p,p+2,p+3),l.primitiveLength+=2}else{var y=o.indexArray;y.emplaceBack(p,p+1),y.emplaceBack(p+1,p+2),y.emplaceBack(p+2,p+3),y.emplaceBack(p+3,p),l.primitiveLength+=4}},cs.prototype.addDebugCollisionBoxes=function(t,e,r){for(var i=t;i<e;i++){var n=this.collisionBoxArray.get(i),o=n.x1,a=n.y1,s=n.x2,u=n.y2,l=n.radius>0;this.addCollisionDebugVertices(o,a,s,u,l?this.collisionCircle:this.collisionBox,n.anchorPoint,r,l)}},cs.prototype.generateCollisionDebugBuffers=function(){for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e)}},cs.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,i,n){for(var o={},a=e;a<r;a++){var s=t.get(a);if(0===s.radius){o.textBox={x1:s.x1,y1:s.y1,x2:s.x2,y2:s.y2,anchorPointX:s.anchorPointX,anchorPointY:s.anchorPointY},o.textFeatureIndex=s.featureIndex;break}o.textCircles||(o.textCircles=[],o.textFeatureIndex=s.featureIndex),o.textCircles.push(s.anchorPointX,s.anchorPointY,s.radius,s.signedDistanceFromAnchor,1)}for(var u=i;u<n;u++){var l=t.get(u);if(0===l.radius){o.iconBox={x1:l.x1,y1:l.y1,x2:l.x2,y2:l.y2,anchorPointX:l.anchorPointX,anchorPointY:l.anchorPointY},o.iconFeatureIndex=l.featureIndex;break}}return o},cs.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex))}},cs.prototype.hasTextData=function(){return this.text.segments.get().length>0},cs.prototype.hasIconData=function(){return this.icon.segments.get().length>0},cs.prototype.hasCollisionBoxData=function(){return this.collisionBox.segments.get().length>0},cs.prototype.hasCollisionCircleData=function(){return this.collisionCircle.segments.get().length>0},cs.prototype.addIndicesForPlacedTextSymbol=function(t){for(var e=this.text.placedSymbolArray.get(t),r=e.vertexStartIndex+4*e.numGlyphs,i=e.vertexStartIndex;i<r;i+=4)this.text.indexArray.emplaceBack(i,i+1,i+2),this.text.indexArray.emplaceBack(i+1,i+2,i+3)},cs.prototype.sortFeatures=function(t){if(this.sortFeaturesByY&&this.sortedAngle!==t&&(this.sortedAngle=t,!(this.text.segments.get().length>1||this.icon.segments.get().length>1))){for(var e=[],r=0;r<this.symbolInstances.length;r++)e.push(r);for(var i=Math.sin(t),n=Math.cos(t),o=[],a=[],s=0;s<this.symbolInstances.length;s++){var u=this.symbolInstances.get(s);o.push(0|Math.round(i*u.anchorX+n*u.anchorY)),a.push(u.featureIndex)}e.sort(function(t,e){return o[t]-o[e]||a[e]-a[t]}),this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var l=0,p=e;l<p.length;l+=1){var c=p[l],h=this.symbolInstances.get(c);this.featureSortOrder.push(h.featureIndex),h.horizontalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedTextSymbol(h.horizontalPlacedTextSymbolIndex),h.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedTextSymbol(h.verticalPlacedTextSymbolIndex);var f=this.icon.placedSymbolArray.get(c);if(f.numGlyphs){var d=f.vertexStartIndex;this.icon.indexArray.emplaceBack(d,d+1,d+2),this.icon.indexArray.emplaceBack(d+1,d+2,d+3)}}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Jr("SymbolBucket",cs,{omit:["layers","collisionBoxArray","features","compareText"]}),cs.MAX_GLYPHS=65535,cs.addDynamicAttributes=us;var hs=new Ii({"symbol-placement":new Ei(st.layout_symbol["symbol-placement"]),"symbol-spacing":new Ei(st.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Ei(st.layout_symbol["symbol-avoid-edges"]),"symbol-z-order":new Ei(st.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Ei(st.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Ei(st.layout_symbol["icon-ignore-placement"]),"icon-optional":new Ei(st.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Ei(st.layout_symbol["icon-rotation-alignment"]),"icon-size":new Si(st.layout_symbol["icon-size"]),"icon-text-fit":new Ei(st.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Ei(st.layout_symbol["icon-text-fit-padding"]),"icon-image":new Si(st.layout_symbol["icon-image"]),"icon-rotate":new Si(st.layout_symbol["icon-rotate"]),"icon-padding":new Ei(st.layout_symbol["icon-padding"]),"icon-keep-upright":new Ei(st.layout_symbol["icon-keep-upright"]),"icon-offset":new Si(st.layout_symbol["icon-offset"]),"icon-anchor":new Si(st.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Ei(st.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Ei(st.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Ei(st.layout_symbol["text-rotation-alignment"]),"text-field":new Si(st.layout_symbol["text-field"]),"text-font":new Si(st.layout_symbol["text-font"]),"text-size":new Si(st.layout_symbol["text-size"]),"text-max-width":new Si(st.layout_symbol["text-max-width"]),"text-line-height":new Ei(st.layout_symbol["text-line-height"]),"text-letter-spacing":new Si(st.layout_symbol["text-letter-spacing"]),"text-justify":new Si(st.layout_symbol["text-justify"]),"text-anchor":new Si(st.layout_symbol["text-anchor"]),"text-max-angle":new Ei(st.layout_symbol["text-max-angle"]),"text-rotate":new Si(st.layout_symbol["text-rotate"]),"text-padding":new Ei(st.layout_symbol["text-padding"]),"text-keep-upright":new Ei(st.layout_symbol["text-keep-upright"]),"text-transform":new Si(st.layout_symbol["text-transform"]),"text-offset":new Si(st.layout_symbol["text-offset"]),"text-allow-overlap":new Ei(st.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Ei(st.layout_symbol["text-ignore-placement"]),"text-optional":new Ei(st.layout_symbol["text-optional"])}),fs={paint:new Ii({"icon-opacity":new Si(st.paint_symbol["icon-opacity"]),"icon-color":new Si(st.paint_symbol["icon-color"]),"icon-halo-color":new Si(st.paint_symbol["icon-halo-color"]),"icon-halo-width":new Si(st.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Si(st.paint_symbol["icon-halo-blur"]),"icon-translate":new Ei(st.paint_symbol["icon-translate"]),"icon-translate-anchor":new Ei(st.paint_symbol["icon-translate-anchor"]),"text-opacity":new Si(st.paint_symbol["text-opacity"]),"text-color":new Si(st.paint_symbol["text-color"]),"text-halo-color":new Si(st.paint_symbol["text-halo-color"]),"text-halo-width":new Si(st.paint_symbol["text-halo-width"]),"text-halo-blur":new Si(st.paint_symbol["text-halo-blur"]),"text-translate":new Ei(st.paint_symbol["text-translate"]),"text-translate-anchor":new Ei(st.paint_symbol["text-translate-anchor"])}),layout:hs},ds=function(t){function e(e){t.call(this,e,fs)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment"))},e.prototype.getValueAndResolveTokens=function(t,e){var r,i=this.layout.get(t).evaluate(e,{}),n=this._unevaluatedLayout._values[t];return n.isDataDriven()||or(n.value)?i:(r=e.properties,i.replace(/{([^{}]+)}/g,function(t,e){return e in r?String(r[e]):""}))},e.prototype.createBucket=function(t){return new cs(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e}(Ci),ms={paint:new Ii({"background-color":new Ei(st.paint_background["background-color"]),"background-pattern":new Ai(st.paint_background["background-pattern"]),"background-opacity":new Ei(st.paint_background["background-opacity"])})},ys=function(t){function e(e){t.call(this,e,ms)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ci),_s={paint:new Ii({"raster-opacity":new Ei(st.paint_raster["raster-opacity"]),"raster-hue-rotate":new Ei(st.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Ei(st.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Ei(st.paint_raster["raster-brightness-max"]),"raster-saturation":new Ei(st.paint_raster["raster-saturation"]),"raster-contrast":new Ei(st.paint_raster["raster-contrast"]),"raster-resampling":new Ei(st.paint_raster["raster-resampling"]),"raster-fade-duration":new Ei(st.paint_raster["raster-fade-duration"])})},gs=function(t){function e(e){t.call(this,e,_s)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Ci),vs=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender||"3d"===this.implementation.renderingMode},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.resize=function(){this.viewportFrame&&(this.viewportFrame.destroy(),this.viewportFrame=null)},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t)},e}(Ci),xs={circle:vo,heatmap:Co,hillshade:Po,fill:ya,"fill-extrusion":Ta,line:Ha,symbol:ds,background:ys,raster:gs};function bs(t){for(var e=0,r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];e+=o.w*o.h,r=Math.max(r,o.w)}t.sort(function(t,e){return e.h-t.h});for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,u=0,l=0,p=t;l<p.length;l+=1)for(var c=p[l],h=a.length-1;h>=0;h--){var f=a[h];if(!(c.w>f.w||c.h>f.h)){if(c.x=f.x,c.y=f.y,u=Math.max(u,c.y+c.h),s=Math.max(s,c.x+c.w),c.w===f.w&&c.h===f.h){var d=a.pop();h<a.length&&(a[h]=d)}else c.h===f.h?(f.x+=c.w,f.w-=c.w):c.w===f.w?(f.y+=c.h,f.h-=c.h):(a.push({x:f.x+c.w,y:f.y,w:f.w-c.w,h:c.h}),f.y+=c.h,f.h-=c.h);break}}return{w:s,h:u,fill:e/(s*u)||0}}var ws=function(t,e){var r=e.pixelRatio;this.paddedRect=t,this.pixelRatio=r},Es={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};Es.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},Es.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},Es.tlbr.get=function(){return this.tl.concat(this.br)},Es.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(ws.prototype,Es);var Ss=function(t,e){var r={},i={},n=[];for(var o in t){var a=t[o],s={x:0,y:0,w:a.data.width+2,h:a.data.height+2};n.push(s),r[o]=new ws(s,a)}for(var u in e){var l=e[u],p={x:0,y:0,w:l.data.width+2,h:l.data.height+2};n.push(p),i[u]=new ws(p,l)}var c=bs(n),h=c.w,f=c.h,d=new Ao({width:h||1,height:f||1});for(var m in t){var y=t[m],_=r[m].paddedRect;Ao.copy(y.data,d,{x:0,y:0},{x:_.x+1,y:_.y+1},y.data)}for(var g in e){var v=e[g],x=i[g].paddedRect,b=x.x+1,w=x.y+1,E=v.data.width,S=v.data.height;Ao.copy(v.data,d,{x:0,y:0},{x:b,y:w},v.data),Ao.copy(v.data,d,{x:0,y:S-1},{x:b,y:w-1},{width:E,height:1}),Ao.copy(v.data,d,{x:0,y:0},{x:b,y:w+S},{width:E,height:1}),Ao.copy(v.data,d,{x:E-1,y:0},{x:b-1,y:w},{width:1,height:S}),Ao.copy(v.data,d,{x:0,y:0},{x:b+E,y:w},{width:1,height:S})}this.image=d,this.iconPositions=r,this.patternPositions=i};Jr("ImagePosition",ws),Jr("ImageAtlas",Ss);var Ts=self.HTMLImageElement,As=self.HTMLCanvasElement,zs=self.HTMLVideoElement,Is=self.ImageData,Cs=function(t,e,r,i){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,i)};Cs.prototype.update=function(t,e){var r=t.width,i=t.height,n=!this.size||this.size[0]!==r||this.size[1]!==i,o=this.context,a=o.gl;this.useMipmap=Boolean(e&&e.useMipmap),a.bindTexture(a.TEXTURE_2D,this.texture),o.pixelStoreUnpackFlipY.set(!1),o.pixelStoreUnpack.set(1),o.pixelStoreUnpackPremultiplyAlpha.set(this.format===a.RGBA&&(!e||!1!==e.premultiply)),n?(this.size=[r,i],t instanceof Ts||t instanceof As||t instanceof zs||t instanceof Is?a.texImage2D(a.TEXTURE_2D,0,this.format,this.format,a.UNSIGNED_BYTE,t):a.texImage2D(a.TEXTURE_2D,0,this.format,r,i,0,this.format,a.UNSIGNED_BYTE,t.data)):t instanceof Ts||t instanceof As||t instanceof zs||t instanceof Is?a.texSubImage2D(a.TEXTURE_2D,0,0,0,a.RGBA,a.UNSIGNED_BYTE,t):a.texSubImage2D(a.TEXTURE_2D,0,0,0,r,i,a.RGBA,a.UNSIGNED_BYTE,t.data),this.useMipmap&&this.isSizePowerOfTwo()&&a.generateMipmap(a.TEXTURE_2D)},Cs.prototype.bind=function(t,e,r){var i=this.context.gl;i.bindTexture(i.TEXTURE_2D,this.texture),r!==i.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=i.LINEAR),t!==this.filter&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,t),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,e),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,e),this.wrap=e)},Cs.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Cs.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var ks=function(t,e,r,i,n){var o,a,s=8*n-i-1,u=(1<<s)-1,l=u>>1,p=-7,c=r?n-1:0,h=r?-1:1,f=t[e+c];for(c+=h,o=f&(1<<-p)-1,f>>=-p,p+=s;p>0;o=256*o+t[e+c],c+=h,p-=8);for(a=o&(1<<-p)-1,o>>=-p,p+=i;p>0;a=256*a+t[e+c],c+=h,p-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=l}return(f?-1:1)*a*Math.pow(2,o-i)},Ps=function(t,e,r,i,n,o){var a,s,u,l=8*o-n-1,p=(1<<l)-1,c=p>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,d=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(a++,u/=2),a+c>=p?(s=0,a=p):a+c>=1?(s=(e*u-1)*Math.pow(2,n),a+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,n),a=0));n>=8;t[r+f]=255&s,f+=d,s/=256,n-=8);for(a=a<<n|s,l+=n;l>0;t[r+f]=255&a,f+=d,a/=256,l-=8);t[r+f-d]|=128*m},Ms=Ls;function Ls(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}function Ds(t){return t.type===Ls.Bytes?t.readVarint()+t.pos:t.pos+1}function Bs(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Rs(t,e,r){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.ceil(Math.log(e)/(7*Math.LN2));r.realloc(i);for(var n=r.pos-1;n>=t;n--)r.buf[n+i]=r.buf[n]}function Os(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function Fs(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function Us(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function Vs(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function Ns(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function js(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function qs(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function Zs(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function Gs(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function Xs(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Ws(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function Hs(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}Ls.Varint=0,Ls.Fixed64=1,Ls.Bytes=2,Ls.Fixed32=5,Ls.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var i=this.readVarint(),n=i>>3,o=this.pos;this.type=7&i,t(n,e,this),this.pos===o&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Xs(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Hs(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Xs(this.buf,this.pos)+4294967296*Xs(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=Xs(this.buf,this.pos)+4294967296*Hs(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=ks(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=ks(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,i=this.buf;return e=127&(r=i[this.pos++]),r<128?e:(e|=(127&(r=i[this.pos++]))<<7,r<128?e:(e|=(127&(r=i[this.pos++]))<<14,r<128?e:(e|=(127&(r=i[this.pos++]))<<21,r<128?e:function(t,e,r){var i,n,o=r.buf;if(i=(112&(n=o[r.pos++]))>>4,n<128)return Bs(t,i,e);if(i|=(127&(n=o[r.pos++]))<<3,n<128)return Bs(t,i,e);if(i|=(127&(n=o[r.pos++]))<<10,n<128)return Bs(t,i,e);if(i|=(127&(n=o[r.pos++]))<<17,n<128)return Bs(t,i,e);if(i|=(127&(n=o[r.pos++]))<<24,n<128)return Bs(t,i,e);if(i|=(1&(n=o[r.pos++]))<<31,n<128)return Bs(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=i[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=function(t,e,r){for(var i="",n=e;n<r;){var o,a,s,u=t[n],l=null,p=u>239?4:u>223?3:u>191?2:1;if(n+p>r)break;1===p?u<128&&(l=u):2===p?128==(192&(o=t[n+1]))&&(l=(31&u)<<6|63&o)<=127&&(l=null):3===p?(o=t[n+1],a=t[n+2],128==(192&o)&&128==(192&a)&&((l=(15&u)<<12|(63&o)<<6|63&a)<=2047||l>=55296&&l<=57343)&&(l=null)):4===p&&(o=t[n+1],a=t[n+2],s=t[n+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||l>=1114112)&&(l=null)),null===l?(l=65533,p=1):l>65535&&(l-=65536,i+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),i+=String.fromCharCode(l),n+=p}return i}(this.buf,this.pos,t);return this.pos=t,e},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){var r=Ds(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){var e=Ds(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===Ls.Varint)for(;this.buf[this.pos++]>127;);else if(e===Ls.Bytes)this.pos=this.readVarint()+this.pos;else if(e===Ls.Fixed32)this.pos+=4;else{if(e!==Ls.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Ws(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Ws(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Ws(this.buf,-1&t,this.pos),Ws(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Ws(this.buf,-1&t,this.pos),Ws(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,i;if(t>=0?(r=t%4294967296|0,i=t/4294967296|0):(i=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}(r,0,e),function(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(i,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var i,n,o=0;o<e.length;o++){if((i=e.charCodeAt(o))>55295&&i<57344){if(!n){i>56319||o+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):n=i;continue}if(i<56320){t[r++]=239,t[r++]=191,t[r++]=189,n=i;continue}i=n-55296<<10|i-56320|65536,n=null}else n&&(t[r++]=239,t[r++]=191,t[r++]=189,n=null);i<128?t[r++]=i:(i<2048?t[r++]=i>>6|192:(i<65536?t[r++]=i>>12|224:(t[r++]=i>>18|240,t[r++]=i>>12&63|128),t[r++]=i>>6&63|128),t[r++]=63&i|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&Rs(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),Ps(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),Ps(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var i=this.pos-r;i>=128&&Rs(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,r){this.writeTag(t,Ls.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){this.writeMessage(t,Os,e)},writePackedSVarint:function(t,e){this.writeMessage(t,Fs,e)},writePackedBoolean:function(t,e){this.writeMessage(t,Ns,e)},writePackedFloat:function(t,e){this.writeMessage(t,Us,e)},writePackedDouble:function(t,e){this.writeMessage(t,Vs,e)},writePackedFixed32:function(t,e){this.writeMessage(t,js,e)},writePackedSFixed32:function(t,e){this.writeMessage(t,qs,e)},writePackedFixed64:function(t,e){this.writeMessage(t,Zs,e)},writePackedSFixed64:function(t,e){this.writeMessage(t,Gs,e)},writeBytesField:function(t,e){this.writeTag(t,Ls.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,Ls.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,Ls.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,Ls.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,Ls.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,Ls.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,Ls.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,Ls.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,Ls.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,Ls.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var Ks=3;function Ys(t,e,r){1===t&&r.readMessage(Js,e)}function Js(t,e,r){if(3===t){var i=r.readMessage($s,{}),n=i.id,o=i.bitmap,a=i.width,s=i.height,u=i.left,l=i.top,p=i.advance;e.push({id:n,bitmap:new To({width:a+2*Ks,height:s+2*Ks},o),metrics:{width:a,height:s,left:u,top:l,advance:p}})}}function $s(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}var Qs=Ks,tu=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.callbackID=0,y(["receive"],this),this.target.addEventListener("message",this.receive,!1)};function eu(t,e,r){var i=2*Math.PI*6378137/256/Math.pow(2,r);return[t*i-2*Math.PI*6378137/2,e*i-2*Math.PI*6378137/2]}tu.prototype.send=function(t,e,r,i){var n=r?this.mapId+":"+this.callbackID++:null;r&&(this.callbacks[n]=r);var o=[];this.target.postMessage({targetMapId:i,sourceMapId:this.mapId,type:t,id:String(n),data:Qr(e,o)},o)},tu.prototype.receive=function(t){var e,r=this,i=t.data,n=i.id;if(!i.targetMapId||this.mapId===i.targetMapId){var o=function(t,e){var i=[];r.target.postMessage({sourceMapId:r.mapId,type:"<response>",id:String(n),error:t?Qr(t):null,data:Qr(e,i)},i)};if("<response>"===i.type)e=this.callbacks[i.id],delete this.callbacks[i.id],e&&i.error?e(ti(i.error)):e&&e(null,ti(i.data));else if(void 0!==i.id&&this.parent[i.type])this.parent[i.type](i.sourceMapId,ti(i.data),o);else if(void 0!==i.id&&this.parent.getWorkerSource){var a=i.type.split("."),s=ti(i.data);this.parent.getWorkerSource(i.sourceMapId,a[0],s.source)[a[1]](s,o)}else this.parent[i.type](ti(i.data))}},tu.prototype.remove=function(){this.target.removeEventListener("message",this.receive,!1)};var ru=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};ru.prototype.setNorthEast=function(t){return this._ne=t instanceof iu?new iu(t.lng,t.lat):iu.convert(t),this},ru.prototype.setSouthWest=function(t){