Version Description
- Add ability to switch published post back to draft.
- Fix issue with when changing column count in "text columns" block.
- Prioritize common items in the autocomplete inserter.
- Avoid changing publish/update button label when saving draft.
- Add bottom padding to the editor container to improve experience of writing long posts.
- Adjust the Classic block toolbar so it's doesn't jump.
- Colorize the little arrow on the left of the admin menu to white to match body content.
- Abort focus update when editor is not yet initialized.
- Update autocomplete suggestions colors to have a sufficient color contrast ratio.
Download this release
Release Info
Developer | matveb |
Plugin | Gutenberg |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.1
- blocks/build/edit-blocks.css +1 -1
- blocks/build/index.js +4 -4
blocks/build/edit-blocks.css
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/preformatted"] pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}
|
13 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/code"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:hover>span,.components-tab-button:focus>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):hover>span,.components-tab-button:not(:disabled):focus>span{border:1px solid #555d66}.components-tab-button.is-active>span,.components-tab-button.is-active:hover>span{background-color:#555d66;color:#fff}
|
14 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/html"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}
|
15 |
-
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce
|
16 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts{padding-left:2.5em}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts.is-grid{padding-left:0}
|
17 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul{padding-left:2.5em}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul ul{margin-top:6px}
|
18 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce[data-is-empty="true"]:before{position:inherit}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce a{color:white}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,0.3)}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable strong{font-weight:300}
|
12 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/preformatted"] pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}
|
13 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/code"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}.components-tab-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;height:36px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:13px;font-weight:500;border:0}.components-tab-button.is-active,.components-tab-button.is-active:hover{color:#fff}.components-tab-button:disabled{cursor:default}.components-tab-button>span{border:1px solid transparent;padding:0 6px;box-sizing:content-box;height:28px;line-height:28px}.components-tab-button:hover>span,.components-tab-button:focus>span{color:#555d66}.components-tab-button:not(:disabled).is-active>span,.components-tab-button:not(:disabled):hover>span,.components-tab-button:not(:disabled):focus>span{border:1px solid #555d66}.components-tab-button.is-active>span,.components-tab-button.is-active:hover>span{background-color:#555d66;color:#fff}
|
14 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}div[data-type="core/html"] textarea{box-shadow:none;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;border:1px solid #e2e4e7;border-radius:4px;padding:.8em 1.6em;margin:0;overflow-x:auto;width:100%}
|
15 |
+
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce p{line-height:1.8}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ul,.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce ol{padding-left:2.5em;margin-left:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce blockquote{margin:0;box-shadow:inset 0px 0px 0px 0px #e2e4e7;border-left:4px solid #000;padding-left:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h1{font-size:2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h2{font-size:1.6em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h3{font-size:1.4em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h4{font-size:1.2em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h5{font-size:1.1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce h6{font-size:1em}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>*:first-child{margin-top:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce>*:last-child{margin-bottom:0}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce.mce-edit-focus{outline:none}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce a{color:#00a0d2}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #E5F5FA;background:#E5F5FA}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.editor-block-list__block[data-type="core/freeform"] .blocks-editable__tinymce:focus code[data-mce-selected]{background:#e8eaeb}.freeform-toolbar{position:-webkit-sticky;position:sticky;width:auto;top:-1px;margin-top:-52px;border:1px solid #e2e4e7;z-index:10;background-color:#fff;min-height:36px;margin-bottom:14px}@media (min-width: 600px){.freeform-toolbar{margin-left:-15px;margin-right:-15px}}.freeform-toolbar.has-advanced-toolbar{margin-top:-89px}.freeform-toolbar .mce-tinymce-inline,.freeform-toolbar .mce-tinymce-inline>div,.freeform-toolbar div.mce-toolbar-grp,.freeform-toolbar div.mce-toolbar-grp>div,.freeform-toolbar .mce-menubar,.freeform-toolbar .mce-menubar>div{height:auto !important;width:100% !important}.freeform-toolbar .mce-tinymce-inline .mce-flow-layout{white-space:normal}.freeform-toolbar .mce-container-body.mce-abs-layout{overflow:visible}.freeform-toolbar .mce-menubar{position:static}.freeform-toolbar div.mce-toolbar-grp{background-color:transparent;border:none;position:static}.freeform-toolbar div.mce-toolbar-grp>div{padding:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none;border-top:1px solid #e2e4e7}.freeform-toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.freeform-toolbar div.mce-btn-group{padding:0;margin:0;border:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn{margin:0;padding:3px;background:none;outline:none;color:#555d66;cursor:pointer;position:relative;width:36px;height:36px;border:none;box-sizing:border-box;box-shadow:none;border-radius:0}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover:not(:disabled),.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus:active{color:#555d66;outline:none;box-shadow:none;background:inherit}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover{background:none;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:disabled{cursor:default}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn>button{border:1px solid transparent;padding:4px;box-sizing:content-box}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:focus button{color:#555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled).mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):hover button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn:not(:disabled):focus button{border:1px solid #555d66}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active button,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active:hover button{background-color:#555d66;color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-active .mce-ico{color:#fff}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-listbox,.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton{width:auto;border:none;box-shadow:none}.freeform-toolbar .mce-toolbar-grp .mce-toolbar .mce-btn.mce-colorbutton .mce-preview{bottom:8px;left:8px}.mce-tooltip{display:none}.components-toolbar__control .dashicon{display:block}
|
16 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts{padding-left:2.5em}.editor-block-list__block[data-type="core/latest-posts"] .wp-block-latest-posts.is-grid{padding-left:0}
|
17 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul{padding-left:2.5em}.editor-block-list__block[data-type="core/categories"] .wp-block-categories ul ul{margin-top:6px}
|
18 |
@-webkit-keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@keyframes animate_fade{from{opacity:0;-webkit-transform:translateY(4px);transform:translateY(4px)}to{opacity:1;-webkit-transform:translateY(0px);transform:translateY(0px)}}@-webkit-keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@keyframes move_background{from{background-position:0 0}to{background-position:28px 0}}@-webkit-keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}@keyframes loading_fade{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce[data-is-empty="true"]:before{position:inherit}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce a{color:white}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:none;background:rgba(255,255,255,0.3)}.editor-block-list__block[data-type="core/cover-image"] .blocks-editable strong{font-weight:300}
|
blocks/build/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
this.wp=this.wp||{},this.wp.blocks=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=561)}([function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){e.exports={default:n(
|
2 |
Copyright (c) 2016 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
-
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){var r=n(14),o=n(10),i=n(34),a=n(28),s=function(e,t,n){var l,c,u,f=e&s.F,p=e&s.G,d=e&s.S,h=e&s.P,g=e&s.B,b=e&s.W,m=p?o:o[t]||(o[t]={}),v=m.prototype,y=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(l in n)(c=!f&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:n[l],m[l]=p&&"function"!=typeof y[l]?n[l]:g&&c?i(u,r):b&&y[l]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&s.R&&v&&!v[l]&&a(v,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(150),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=n(675),i=r(o),a=n(676),s=r(a),l=n(678),c=r(l),u=n(679),f=r(u),p=n(680),d=r(p),h=n(681),g=r(h);t.hover=f.default,t.handleHover=f.default,t.handleActive=d.default,t.loop=g.default;var b=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=(0,i.default)(n),a=(0,s.default)(e,o);return(0,c.default)(a)};t.default=b},function(e,t,n){var r=n(25);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(21),o=n(110),i=n(83),a=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(36)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):l(e)}var o=n(271),i=n(312),a=n(58),s=n(12),l=n(317);e.exports=r},function(e,t,n){"use strict";var r=n(405);n.d(t,"a",function(){return r.a}),n.d(t,"s",function(){return r.c}),n.d(t,"b",function(){return r.b});var o=n(443);n.d(t,"m",function(){return o.a}),n.d(t,"c",function(){return o.b});var i=n(598);n.d(t,"n",function(){return i.a});var a=n(444);n.d(t,"p",function(){return a.a}),n.d(t,"e",function(){return a.c}),n.d(t,"d",function(){return a.b});var s=n(498);n.d(t,"l",function(){return s.a});var l=n(492);n.d(t,"h",function(){return l.a});var c=n(219);n.d(t,"o",function(){return c.f}),n.d(t,"t",function(){return c.i}),n.d(t,"r",function(){return c.h}),n.d(t,"j",function(){return c.d}),n.d(t,"q",function(){return c.g}),n.d(t,"i",function(){return c.c}),n.d(t,"f",function(){return c.a}),n.d(t,"g",function(){return c.b}),n.d(t,"k",function(){return c.e})},function(e,t,n){var r=n(23),o=n(46);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t){function n(){}e.exports=n},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(121),i=n(129);e.exports=r},function(e,t,n){var r=n(103),o=n(65);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(52);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(188),i=n(189),a=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement(o.Fill,{name:"Inspector.Controls"},t)}t.a=r;var o=n(1),i=(n.n(o),n(199)),a=n(575),s=n(577),l=n(257),c=n(441),u=n(442),f=n(582),p=n(169);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=c.a,r.TextControl=u.a,r.TextareaControl=f.a,r.ToggleControl=p.a},function(e,t,n){"use strict";t.__esModule=!0;var r=n(86),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t){e.exports={}},,function(e,t,n){function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?i(e):a(e)}var o=n(48),i=n(217),a=n(218),s="[object Null]",l="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement("div",{className:"components-block-description"},t)}t.a=r;var o=n(612);n.n(o)},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(682);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(506);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(685);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(686);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(688);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var c=n(507);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var u=n(691);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(u).default}})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(283),i=n(286);e.exports=r},function(e,t,n){var r=n(19),o=r.Symbol;e.exports=o},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t,n){var r=n(111),o=n(77);e.exports=Object.keys||function(e){return r(e,o)}},,function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(65);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(249),o=n(166),i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(106);e.exports=r},function(e,t,n){var r=n(132),o=n(322),i=o(r);e.exports=i},function(e,t,n){var r=n(261),o=r(!0);e.exports=o},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";var r=n(223)(!0);n(133)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(79),i=1/0;e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(61),i=n(26),a=n(233),s=n(12);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(o.Toolbar,{controls:t}),n)}t.a=r;var o=n(1);n.n(o)},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(12),i=n(131),a=n(313),s=n(98);e.exports=r},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(319);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):o(n,c,u)}return n}var o=n(115),i=n(80);e.exports=r},function(e,t,n){var r=n(23).f,o=n(31),i=n(15)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(25),o=n(14).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(66),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(76)("keys"),o=n(60);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=!0},function(e,t,n){var r=n(14),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){function n(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(42),i=n(29),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(197);e.exports=r},function(e,t,n){n(228);for(var r=n(14),o=n(28),i=n(40),a=n(15)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){"use strict";function r(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:G.createElement.apply(void 0,[e,D()(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function o(e){return e.childNodes&&1===e.childNodes.length&&"A"===e.childNodes[0].nodeName&&1===e.childNodes[0].text.length&&"\ufeff"===e.childNodes[0].text[0]}function i(e,t){switch(e){case"link":var n=j()(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}var a=n(86),s=n.n(a),l=n(39),c=n.n(l),u=n(11),f=n.n(u),p=n(118),d=(n.n(p),n(3)),h=n.n(d),g=n(4),b=n.n(g),m=n(5),v=n.n(m),y=n(6),_=n.n(y),w=n(7),x=n.n(w),k=n(30),E=n.n(k),O=n(632),C=n.n(O),S=n(54),j=n.n(S),T=n(58),A=n.n(T),R=n(634),P=n.n(R),N=n(234),L=n.n(N),M=n(638),D=n.n(M),B=n(108),I=n.n(B),F=n(117),z=n.n(F),H=n(452),q=n.n(H),U=n(17),K=n.n(U),V=n(500),W=(n.n(V),n(235)),G=(n.n(W),n(2)),$=(n.n(G),n(49)),X=(n.n($),n(1)),Z=(n.n(X),n(640)),Y=(n.n(Z),n(27)),Q=n(641),J=n(643),ee=n(504),te=n(645),ne=n(647),re=$.keycodes.BACKSPACE,oe=$.keycodes.DELETE,ie=$.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){b()(this,t);var n=_()(this,(t.__proto__||h()(t)).apply(this,arguments)),r=e.value;return n.onInit=n.onInit.bind(n),n.getSettings=n.getSettings.bind(n),n.onSetup=n.onSetup.bind(n),n.onChange=n.onChange.bind(n),n.onNewBlock=n.onNewBlock.bind(n),n.onFocus=n.onFocus.bind(n),n.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onSelectionChange=n.onSelectionChange.bind(n),n.maybePropagateUndo=n.maybePropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.state={formats:{},empty:!r||!r.length,selectedNodeId:0},n}return x()(t,e),v()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||A.a)(f()({},e,{forced_root_block:this.props.multiline||!1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,ne.a.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("focusout",this.onChange),e.on("NewBlock",this.onNewBlock),e.on("focusin",this.onFocus),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("selectionChange",this.onSelectionChange),e.on("BeforeExecCommand",this.maybePropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),te.a.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"Focus"!==e&&"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.updateFocus(),this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:f()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;L()(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus()}},{key:"isActive",value:function(){return document.activeElement===this.editor.getBody()}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.editor.selection.isCollapsed();this.setState({empty:q.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(f()({},this.props.focus,{collapsed:e}))}}},{key:"maybePropagateUndo",value:function(e){var t=this.context.onUndo;t&&"Undo"===e.command&&!this.editor.undoManager.hasUndo()&&C()(t)}},{key:"onPaste",value:function(e){var t=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer,n=t.items,r=void 0===n?[]:n,o=t.files,i=void 0===o?[]:o,a=j()([].concat(c()(r),c()(i)),function(e){return/^image\/(?:jpe?g|png|gif)$/.test(e.type)});if(a){window.console.log("Received item:\n\n",a);var s=a.getAsFile?a.getAsFile():a;this.pastedContent='<img src="'+Object($.createBlobURL)(s)+'">'}this.pastedPlainText=t?t.getData("text/plain"):"",this.isPlainTextPaste=t&&1===t.types.length&&"text/plain"===t.types[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?this.pastedPlainText:e.content;if(window.console.log("Received HTML:\n\n",this.pastedContent||t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),window.console.log("Created link:\n\n",r),void e.preventDefault()}var i=this.editor.getBody(),a=this.editor.dom.isEmpty(i),s="INLINE";a&&this.props.onReplace?s="BLOCKS":this.props.onSplit&&(s="AUTO");var l=Object(Y.n)({HTML:this.pastedContent||t,plainText:this.pastedPlainText,mode:s});if("string"==typeof l)e.content=l;else if(this.props.onSplit){if(e.preventDefault(),!l.length)return;a&&this.props.onReplace?this.props.onReplace(l):this.splitContent(l)}}},{key:"fireChange",value:function(){this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent)}},{key:"onChange",value:function(){this.editor.isDirty()&&this.fireChange()}},{key:"getEditorSelectionRect",value:function(){var e=this.editor.selection.getRng();if(e.collapsed){var t=e,n=t.startContainer,r=t.startOffset;e=document.createRange(),n.nodeValue&&0!==n.nodeValue.length?r===n.nodeValue.length?(e.setStart(n,n.nodeValue.length-1),e.setEnd(n,n.nodeValue.length)):(e.setStart(n,r),e.setEnd(n,r+1)):e.selectNode(n)}return e.getBoundingClientRect()}},{key:"getFocusPosition",value:function(){var e=this.getEditorSelectionRect(),t=this.props.inlineToolbar?this.editor.getBody().closest(".blocks-editable"):this.editor.getBody().closest(".editor-block-list__block"),n=t.getBoundingClientRect(),r=this.props.inlineToolbar?{top:10,left:0}:{top:0,left:-46};return{top:e.top-n.top+e.height+r.top,left:e.left-n.left-152.5+e.width/2+r.left}}},{key:"isStartOfEditor",value:function(){var e=this.editor.selection.getRng();if(0!==e.startOffset||!e.collapsed)return!1;for(var t=e.startContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.firstChild!==o)return!1}return!0}},{key:"isEndOfEditor",value:function(){var e=this.editor.selection.getRng();if(e.endOffset!==e.endContainer.textContent.length||!e.collapsed)return!1;for(var t=e.endContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.lastChild!==o)return!1}return!0}},{key:"onKeyDown",value:function(e){if(this.props.onMerge&&(e.keyCode===re&&this.isStartOfEditor()||e.keyCode===oe&&this.isEndOfEditor())){var t=e.keyCode===oe;this.fireChange(),this.props.onMerge(t),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===ie)if(this.props.multiline){if(!this.props.onSplit)return;var n=this.editor.getBody(),o=this.editor.selection.getNode();if(o.parentNode!==n)return;var i=this.editor.dom;if(!i.isEmpty(o))return;e.preventDefault();var a=s()(n.childNodes),l=i.nodeIndex(o),c=a.slice(0,l),u=a.slice(l+1),f=Object(V.nodeListToReact)(c,r),p=Object(V.nodeListToReact)(u,r);this.setContent(f),this.props.onSplit(f,p)}else e.preventDefault(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){e.keyCode===re&&this.onSelectionChange()}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.editor.dom,n=this.editor.getBody(),i=t.createRng(),a=t.createRng(),s=this.editor.selection.getRng();if(n.childNodes.length){var l;i.setStart(n,0),i.setEnd(s.startContainer,s.startOffset),a.setStart(s.endContainer,s.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var u=i.extractContents(),f=a.extractContents(),p=Object(V.nodeListToReact)(u.childNodes,r),d=o(f)?[]:Object(V.nodeListToReact)(f.childNodes,r);this.setContent(p),(l=this.props).onSplit.apply(l,[p,d].concat(c()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(c()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=s()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var o=e.slice(0,n),i=z()(o);if(!(!i||o.length<2||i.textContent)){var a=o.slice(0,o.length-1),l=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.props.onSplit(Object(V.nodeListToReact)(a,r),Object(V.nodeListToReact)(l,r))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents,n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=f()({isActive:!0},i(n,t)),e},{}),o=this.getFocusPosition();this.setState({formats:r,focusPosition:o,selectedNodeId:this.state.selectedNodeId+1})}},{key:"updateContent",value:function(){var e=this.editor.selection.getBookmark(2,!0);this.savedContent=this.props.value,this.setContent(this.savedContent),this.editor.selection.moveToBookmark(e),this.editor.save()}},{key:"setContent",value:function(e){e||(e=""),e=Object(G.renderToString)(e),this.editor.setContent(e,{format:"raw"})}},{key:"getContent",value:function(){return Object(V.nodeListToReact)(this.editor.getBody().childNodes||[],r)}},{key:"updateFocus",value:function(){var e=this.props.focus,t=this.isActive();e?(t||this.editor.focus(),-1!==e.offset||this.isEndOfEditor()||(this.editor.selection.select(this.editor.getBody(),!0),this.editor.selection.collapse(!1))):t&&this.editor.getBody().blur()}},{key:"componentWillUnmount",value:function(){this.onChange()}},{key:"componentDidUpdate",value:function(e){I()(this.props.focus,e.focus)||this.updateFocus(),this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||I()(this.props.value,e.value)||I()(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;L()(e,function(e,n){if("link"===n)if(void 0!==e){var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link"),t.applyFormat("link",{href:e.value,target:e.target},r)}else t.editor.execCommand("Unlink");else{var o=t.isFormatActive(n);o&&!e?t.removeFormat(n):!o&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:P()({},t.formats,e)}}),this.editor.setDirty(!0)}},{key:"render",value:function(){var e=this.props,t=e.tagName,n=void 0===t?"div":t,r=e.style,o=e.value,i=e.focus,a=e.wrapperClassName,s=e.className,l=e.inlineToolbar,c=void 0!==l&&l,u=e.formattingControls,p=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,g=void 0!==h&&h,b=e.formatters,m=Object(ee.b)(this.props),v=["editor",n].join(),y=p&&(!i||g)&&this.state.empty,_=K()(a,"blocks-editable"),w=wp.element.createElement(Q.a,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:b});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(X.Fill,{name:"Formatting.Toolbar"},!c&&w),i&&c&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,f()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":p},m,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,p):p),i&&wp.element.createElement(X.Slot,{name:"Editable.Siblings"}))}}]),t}(G.Component);t.a=se,se.contextTypes={onUndo:E.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t,n){var r=n(25);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(58),i=n(198),a=n(153);e.exports=r},function(e,t,n){e.exports={default:n(222),__esModule:!0}},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(42),i=n(12),a=n(29),s="[object String]";e.exports=r},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(52);e.exports.f=function(e){return new r(e)}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(273),i=n(274),a=n(275),s=n(276),l=n(277);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(84);e.exports=r},function(e,t,n){var r=n(47),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(295);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(304),o=n(29),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(19),o=n(305),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u}).call(t,n(96)(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){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(251);e.exports=r},function(e,t,n){var r=n(100),o=n(15)("iterator"),i=n(40);e.exports=n(10).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(44),o=n(15)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){function t(e){return function(){return r(n===e?void 0:e)}}var n=e.value,r=e.onChange,o=e.controls,a=void 0===o?c:o,f=e.wideControlsEnabled,p=void 0!==f&&f,d=p?a:a.filter(function(e){return-1===u.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},l[e],{isActive:n===e,onClick:t(e)})})})}var o=n(11),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),{left:{icon:"align-left",title:Object(a.__)("Align left")},center:{icon:"align-center",title:Object(a.__)("Align center")},right:{icon:"align-right",title:Object(a.__)("Align right")},wide:{icon:"align-wide",title:Object(a.__)("Wide width")},full:{icon:"align-full-width",title:Object(a.__)("Full width")}}),c=["left","center","right","wide","full"],u=["wide","full"];t.a=Object(s.withContext)("editor")(function(e){return{wideControlsEnabled:e.wideImages}})(r)},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(165),i=n(380),a=n(26),s=n(12);e.exports=r},function(e,t,n){var r=n(44);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(68),i=n(62);e.exports=r},function(e,t,n){var r=n(21),o=n(225),i=n(77),a=n(74)("IE_PROTO"),s=function(){},l=function(){var e,t=n(72)("iframe"),r=i.length;for(t.style.display="none",n(134).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){function r(e,t){return o(e,t)}var o=n(123);e.exports=r},function(e,t,n){var r=n(22),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){e.exports=!n(24)&&!n(36)(function(){return 7!=Object.defineProperty(n(72)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(31),o=n(33),i=n(163)(!1),a=n(74)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(89),i=n(278),a=n(279),s=n(280),l=n(281),c=n(282);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t){function n(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(84),i=n(32),a=n(78),s=n(22);e.exports=r},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(80),i=n(84),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,a,s){var l=-1,c=e.length;for(n||(n=i),s||(s=[]);++l<c;){var u=e[l];t>0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(126),i=n(339);e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(350),i=r(o),a=n(352),s=r(a),l="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(i.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(206),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==c}var o=n(42),i=n(22),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(287),i=n(294),a=n(296),s=n(297),l=n(298);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(299),i=n(29);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(122),i=n(300),a=n(301);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){var r=n(165),o=n(187),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=l},function(e,t,n){var r=n(306),o=n(151),i=n(307),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){var r=n(309),o=n(120),i=n(310),a=n(191),s=n(192),l=n(42),c=n(180),u=c(r),f=c(o),p=c(i),d=c(a),h=c(s),g=l;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(12),i=n(79),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(254),i=n(37);e.exports=r},function(e,t,n){"use strict";var r=n(75),o=n(18),i=n(154),a=n(28),s=n(31),l=n(40),c=n(224),u=n(71),f=n(155),p=n(15)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,g,b,m,v){c(n,t,g);var y,_,w,x=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",E="values"==b,O=!1,C=e.prototype,S=C[p]||C["@@iterator"]||b&&C[b],j=S||x(b),T=b?E?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=f(A.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,p)||a(w,p,h)),E&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[p]||a(C,p,j),l[t]=j,l[k]=h,b)if(y={values:E?j:x("values"),keys:m?j:x("keys"),entries:T},v)for(_ in y)_ in C||i(C,_,y[_]);else o(o.P+o.F*(d||O),t,y);return y}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(21);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(40),o=n(15)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(15)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(190),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){t.f=n(15)},function(e,t,n){var r=n(14),o=n(10),i=n(75),a=n(139),s=n(23).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var o=n(109),i=n(142);r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=n(109),i=n(142),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(183);e.exports=r},function(e,t,n){var r=n(21),o=n(52),i=n(15)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(34),s=n(241),l=n(134),c=n(72),u=n(14),f=u.process,p=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,g=u.Dispatch,b=0,m={},v=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},y=function(e){v.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++b]=function(){s("function"==typeof e?e:Function(e),t)},r(b),b},d=function(e){delete m[e]},"process"==n(44)(f)?r=function(e){f.nextTick(a(v,e,1))}:g&&g.now?r=function(e){g.now(a(v,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:p,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(21),o=n(25),i=n(88);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(105))},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){function r(e,t,n){var r=l(e)?o:s,c=arguments.length<3;return r(e,a(t,4),n,c,i)}var o=n(113),i=n(56),a=n(26),s=n(323),l=n(12);e.exports=r},function(e,t,n){var r=n(328),o=n(221),i=o(r);e.exports=i},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(31),o=n(53),i=n(74)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}var o=n(200);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(188),i=n(344),a=n(32);e.exports=r},function(e,t){},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(367),i=n(198),a=n(153);e.exports=r},function(e,t,n){var r=n(231),o=n(30),i=r?function(e){return r.get(e)}:o;e.exports=i},,function(e,t,n){e.exports={default:n(214),__esModule:!0}},function(e,t,n){var r=n(33),o=n(73),i=n(164);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(66),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:a(n);return l<0&&(l=s(r+l,0)),o(e,i(t,3),l)}var o=n(167),i=n(26),a=n(69),s=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.checked,r=e.help,a=e.instanceId,s=e.onChange,l="inspector-toggle-control-"+a;return wp.element.createElement(i.a,{label:t,id:l,help:r,className:"blocks-toggle-control"},wp.element.createElement(o.FormToggle,{id:l,checked:n,onChange:s,"aria-describedby":r?l+"__help":void 0}))}var o=n(1),i=(n.n(o),n(199)),a=n(584);n.n(a);t.a=Object(o.withInstanceId)(r)},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(80),i=n(132),a=n(26);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(329),i=r(o),a=n(332),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var u=e.length;return n<0&&(n=c(u+n,0)),a(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&o(e,t,n)>-1}var o=n(200),i=n(32),a=n(87),s=n(69),l=n(337),c=Math.max;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(32),i=n(29);e.exports=r},function(e,t){function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var o=n(462),i=r(o),a=n(690),s=r(a);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","a","v"],n=0,r=0;return(0,i.default)(t,function(t){e[t]&&(n+=1,isNaN(e[t])||(r+=1))}),n===r&&e},toState:function(e,t){var n=e.hex?(0,s.default)(e.hex):(0,s.default)(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,s.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},function(e,t){!function(){e.exports=this.moment}()},,function(e,t,n){e.exports=n(429)()},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n,r,c,u){var f=n&s,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=u.get(e);if(h&&u.get(t))return h==t;var g=-1,b=!0,m=n&l?new o:void 0;for(u.set(e,t),u.set(t,e);++g<p;){var v=e[g],y=t[g];if(r)var _=f?r(y,v,g,t,e,u):r(v,y,g,e,t,u);if(void 0!==_){if(_)continue;b=!1;break}if(m){if(!i(t,function(e,t){if(!a(m,t)&&(v===e||c(v,e,n,r,u)))return m.push(t)})){b=!1;break}}else if(v!==y&&!c(v,y,n,r,u)){b=!1;break}}return u.delete(e),u.delete(t),b}var o=n(124),i=n(182),a=n(125),s=1,l=2;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(19),o=r.Uint8Array;e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(186),i=n(127),a=n(37);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(126),i=n(12);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),u=!n&&!r&&s(e),p=!n&&!r&&!u&&c(e),d=n||r||u||p,h=d?o(e.length,String):[],g=h.length;for(var b in e)!t&&!f.call(e,b)||d&&("length"==b||u&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,g))||h.push(b);return h}var o=n(250),i=n(94),a=n(12),s=n(95),l=n(78),c=n(128),u=Object.prototype,f=u.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(97),i=n(308),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Set");e.exports=i},function(e,t,n){var r=n(47),o=n(19),i=r(o,"WeakMap");e.exports=i},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(22);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(316),i=n(252);e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=c.test(e);return n||u.test(e)?f(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(22),i=n(79),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){var r=n(47),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),l=Array(s);++a<s;)l[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(l),o(e,this,c)}}var o=n(168),i=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.id,n=e.label,r=e.help,o=e.className,a=e.children;return wp.element.createElement("div",{className:i()("blocks-base-control",o)},n&&wp.element.createElement("label",{className:"blocks-base-control__label",htmlFor:t},n),a,!!r&&wp.element.createElement("p",{id:t+"__help",className:"blocks-base-control__help"},r))}var o=n(17),i=n.n(o),a=n(574);n.n(a);t.a=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(167),i=n(335),a=n(336);e.exports=r},function(e,t,n){function r(e,t,n,r){var f=-1,p=i,d=!0,h=e.length,g=[],b=t.length;if(!h)return g;n&&(t=s(t,l(n))),r?(p=a,d=!1):t.length>=u&&(p=c,d=!1,t=new o(t));e:for(;++f<h;){var m=e[f],v=null==n?m:n(m);if(m=r||0!==m?m:0,d&&v===v){for(var y=b;y--;)if(t[y]===v)continue e;g.push(m)}else p(t,v,r)||g.push(m)}return g}var o=n(124),i=n(156),a=n(202),s=n(61),l=n(151),c=n(125),u=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){var r=n(18),o=n(10),i=n(36);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){function r(e){return o(e,a,i)}var o=n(186),i=n(205),a=n(157);e.exports=r},function(e,t,n){var r=n(126),o=n(138),i=n(127),a=n(187),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},function(e,t,n){e.exports={default:n(348),__esModule:!0}},function(e,t,n){var r=n(111),o=n(77).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(67),o=n(46),i=n(33),a=n(83),s=n(31),l=n(110),c=Object.getOwnPropertyDescriptor;t.f=n(24)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){function r(e){for(var t=e.name+"",n=o[t],r=a.call(o,t)?n.length:0;r--;){var i=n[r],s=i.func;if(null==s||s==e)return i.name}return t}var o=n(368),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(379),o=n(159),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){e.exports={default:n(237),__esModule:!0}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(428),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default},function(e,t,n){n(215),e.exports=n(10).Object.assign},function(e,t,n){var r=n(18);r(r.S+r.F,"Object",{assign:n(216)})},function(e,t,n){"use strict";var r=n(50),o=n(104),i=n(67),a=n(53),s=n(103),l=Object.assign;e.exports=!l||n(36)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=o.f,f=i.f;l>c;)for(var p,d=s(arguments[c++]),h=u?r(d).concat(u(d)):r(d),g=h.length,b=0;g>b;)f.call(d,p=h[b++])&&(n[p]=d[p]);return n}:l},function(e,t,n){function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(48),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){"use strict";function r(e,t){return"string"!=typeof e?void console.error("Block names must be strings."):/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e)?t&&y()(t.save)?"edit"in t&&!y()(t.edit)?void console.error('The "edit" property must be a valid function.'):E[e]?void console.error('Block "'+e+'" is already registered.'):"keywords"in t&&t.keywords.length>3?void console.error('The block "'+e+'" can have a maximum of 3 keywords.'):"category"in t?"category"in t&&!m()(O,{slug:t.category})?void console.error('The block "'+e+'" must have a registered category.'):"title"in t&&""!==t.title?"string"!=typeof t.title?void console.error("Block titles must be strings."):(t.icon||(t.icon="block-default"),t=g()({name:e,attributes:w()(window._wpBlocksAttributes,e,{})},t),t=Object(k.c)("registerBlockType",t,e),E[e]=t):void console.error('The block "'+e+'" must have a title.'):void console.error('The block "'+e+'" must have a category.'):void console.error('The "save" property must be specified and must be a valid function.'):void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block")}function o(e){if(!E[e])return void console.error('Block "'+e+'" is not registered.');var t=E[e];return delete E[e],t}function i(e){C=e}function a(){return C}function s(e){S=e}function l(){return S}function c(e){return E[e]}function u(){return d()(E)}function f(e,t,n){var r="string"==typeof e?c(e):e;return!!w()(r,["supports",t],n)}t.f=r,t.i=o,t.h=i,t.d=a,t.g=s,t.c=l,t.a=c,t.b=u,t.e=f;var p=n(406),d=n.n(p),h=n(11),g=n.n(h),b=n(220),m=n.n(b),v=n(121),y=n.n(v),_=n(55),w=n.n(_),x=n(492),k=n(407),E={},O=Object(x.a)(),C=void 0,S=void 0},function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=n(182),i=n(26),a=n(327),s=n(12),l=n(114);e.exports=r},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){n(59),n(226),e.exports=n(10).Array.from},function(e,t,n){var r=n(66),o=n(65);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(107),o=n(46),i=n(71),a={};n(28)(a,n(15)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(23),o=n(21),i=n(50);e.exports=n(24)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(34),o=n(18),i=n(53),a=n(135),s=n(136),l=n(73),c=n(227),u=n(99);o(o.S+o.F*!n(137)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,b=void 0!==g,m=0,v=u(p);if(b&&(g=r(g,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(p.length),n=new d(t);t>m;m++)c(n,m,b?g(p[m],m):p[m]);else for(f=v.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,b?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){"use strict";var r=n(23),o=n(46);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(229),o=n(230),i=n(40),a=n(33);e.exports=n(133)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(192),o=r&&new r;e.exports=o},function(e,t,n){function r(e){var t=a(e),n=s[t];if("function"!=typeof n||!(t in o.prototype))return!1;if(e===n)return!0;var r=i(n);return!!r&&e===r[0]}var o=n(143),i=n(160),a=n(209),s=n(369);e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=i(e)?Array(e.length):[];return o(e,function(e,o,i){r[++n]=t(e,o,i)}),r}var o=n(56),i=n(32);e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t))}var o=n(175),i=n(56),a=n(371),s=n(12);e.exports=r},function(e,t){!function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.Element.prototype)},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,E=t,w=e.apply(r,n)}function u(e){return E=e,x=setTimeout(d,t),O?r(e):w}function f(e){var n=e-k,r=e-E,o=t-n;return C?c(o,_-r):o}function p(e){var n=e-k,r=e-E;return void 0===k||n>=t||n<0||C&&r>=_}function d(){var e=i();if(p(e))return h(e);x=setTimeout(d,f(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function g(){void 0!==x&&clearTimeout(x),E=0,v=k=y=x=void 0}function b(){return void 0===x?w:h(i())}function m(){var e=i(),n=p(e);if(v=arguments,y=this,k=e,n){if(void 0===x)return u(k);if(C)return x=setTimeout(d,t),r(k)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,k,E=0,O=!1,C=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(O=!!n.leading,C="maxWait"in n,_=C?l(a(n.maxWait)||0,t):_,S="trailing"in n?!!n.trailing:S),m.cancel=g,m.flush=b,m}var o=n(22),i=n(373),a=n(196),s="Expected a function",l=Math.max,c=Math.min;e.exports=r},function(e,t,n){n(158),n(59),n(81),n(238),n(245),n(246),e.exports=n(10).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(75),l=n(14),c=n(34),u=n(100),f=n(18),p=n(25),d=n(52),h=n(239),g=n(240),b=n(146),m=n(147).set,v=n(242)(),y=n(88),_=n(148),w=n(149),x=l.TypeError,k=l.process,E=l.Promise,O="process"==u(k),C=function(){},S=o=y.f,j=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(15)("species")]=function(e){e(C,C)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(o||(2==e._h&&N(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(x("Promise-chain cycle")):(i=T(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){m.call(l,function(){var t,n,r,o=e._v,i=P(e);if(i&&(t=_(function(){O?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||P(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},P=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!P(t.promise))return!1;return!0},N=function(e){m.call(l,function(){var t;O?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},M=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=T(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(M,r,1),c(L,r,1))}catch(e){L.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};j||(E=function(e){h(this,E,"Promise","_h"),d(e),r.call(this);try{e(c(M,this,1),c(L,this,1))}catch(e){L.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(243)(E.prototype,{then:function(e,t){var n=S(b(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(M,e,1),this.reject=c(L,e,1)},y.f=S=function(e){return e===E||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!j,{Promise:E}),n(71)(E,"Promise"),n(244)("Promise"),a=n(10).Promise,f(f.S+f.F*!j,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!j),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),f(f.S+f.F*!(j&&n(137)(function(e){E.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;g(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=_(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(34),o=n(135),i=n(136),a=n(21),s=n(73),l=n(99),c={},u={},t=e.exports=function(e,t,n,f,p){var d,h,g,b,m=p?function(){return e}:l(e),v=r(n,f,t?2:1),y=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>y;y++)if((b=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||b===u)return b}else for(g=m.call(e);!(h=g.next()).done;)if((b=o(g,v,h.value,t))===c||b===u)return b};t.BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(14),o=n(147).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(44)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(i){var u=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=u=!u}}else if(s&&s.resolve){var p=s.resolve();n=function(){p.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(28);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(14),o=n(10),i=n(23),a=n(24),s=n(15)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(18),o=n(10),i=n(14),a=n(146),s=n(149);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(18),o=n(88),i=n(148);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},,,function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!i(t)){var l=o(n,3);t=a(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}var o=n(26),i=n(32),a=n(37);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(48),i=n(61),a=n(12),s=n(79),l=1/0,c=o?o.prototype:void 0,u=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,u=t.length,f=!1;++r<u;){var p=c(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=u?f:!!(u=null==e?0:e.length)&&l(u)&&s(p,u)&&(a(e)||i(e))}var o=n(68),i=n(94),a=n(12),s=n(78),l=n(129),c=n(62);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){var r=n(321),o=r();e.exports=o},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||f(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(g.call(e,n))return!1;return!0}var o=n(189),i=n(130),a=n(94),s=n(12),l=n(32),c=n(95),u=n(97),f=n(128),p="[object Map]",d="[object Set]",h=Object.prototype,g=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.instanceId,o=e.onChange,a=e.beforeIcon,f=e.afterIcon,p=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),g="inspector-range-control-"+r,b=function(e){return o(Number(e.target.value))};return wp.element.createElement(u.a,{label:t,id:g,help:p,className:"blocks-range-control"},a&&wp.element.createElement(l.Dashicon,{icon:a,size:20}),wp.element.createElement("input",i()({className:"blocks-range-control__slider",id:g,type:"range",value:n,onChange:b,"aria-describedby":p?g+"__help":void 0},h)),f&&wp.element.createElement(l.Dashicon,{icon:f}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:b,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(c.__)("Reset")))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(0)),u=(n.n(c),n(199)),f=n(579);n.n(f);t.a=Object(l.withInstanceId)(r)},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var c=t[r],u=o(e,c);n(u,c)&&i(l,a(c,e),u)}return l}var o=n(106),i=n(343),a=n(68);e.exports=r},function(e,t,n){var r=n(60)("meta"),o=n(25),i=n(31),a=n(23).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(36)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},d=function(e){return c&&h.NEED&&l(e)&&!i(e,r)&&u(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,n){function r(e){return i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var g=t[r];if("function"!=typeof g)throw new TypeError(u);if(i&&!b&&"wrapper"==s(g))var b=new o([],!0)}for(r=b?r:n;++r<n;){g=t[r];var m=s(g),v="wrapper"==m?a(g):void 0;b=v&&c(v[0])&&v[1]==(d|f|p|h)&&!v[4].length&&1==v[9]?b[s(v[0])].apply(b,v[3]):1==g.length&&c(g)?b[m]():b.thru(g)}return function(){var e=arguments,r=e[0];if(b&&1==e.length&&l(r))return b.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}var o=n(141),i=n(159),a=n(160),s=n(209),l=n(12),c=n(232),u="Expected a function",f=8,p=32,d=128,h=256;e.exports=r},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}var o=n(19),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?o.Buffer:void 0,c=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(96)(e))},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(145);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(109),i=n(138),a=n(97);e.exports=r},function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}var o=n(42),i=n(138),a=n(29),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,p=u.call(Object);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Object(o.parse)(e,!0),r=a({},n.query,t);return delete n.search,Object(o.format)(a({},n,{query:r}))}t.a=r;var o=n(414),i=(n.n(o),n(377)),a=(n.n(i),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(210),b=n.n(g),m=n(2),v=(n.n(m),n(0)),y=(n.n(v),n(1)),w=(n.n(y),function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1}),new wp.media.controller.GalleryAdd])}})}),x=function(e){var t=["sizes","mime","type","subtype","id","url","alt","link"];return b()(e,t)},k=function(e){function t(e){var n=e.multiple,r=void 0!==n&&n,o=e.type,i=e.gallery,s=void 0!==i&&i,c=e.title,u=void 0===c?Object(v.__)("Select or Upload Media"):c;l()(this,t);var f=p()(this,(t.__proto__||a()(t)).apply(this,arguments));f.openModal=f.openModal.bind(f),f.onSelect=f.onSelect.bind(f),f.onUpdate=f.onUpdate.bind(f),f.onOpen=f.onOpen.bind(f);var d={title:u,button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(d.library={type:o}),s){var h=w();f.frame=new h({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=f.frame}else f.frame=wp.media(d);return f.frame.on("select",f.onSelect),f.frame.on("update",f.onUpdate),f.frame.on("open",f.onOpen),f}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,r=t.multiple,o=void 0!==r&&r,i=this.frame.state(),a=e||i.get("selection");a&&a.models.length&&n(o?a.models.map(function(e){return x(e.toJSON())}):x(a.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,r=void 0!==n&&n,o=this.frame.state().get("selection").toJSON();t(r?o:o[0])}},{key:"onOpen",value:function(){var e=this.frame.state().get("selection"),t=function(t){var n=wp.media.attachment(t);n.fetch(),e.add(n)};this.props.value&&(this.props.multiple?this.props.value.map(t):t(this.props.value))}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.buttonProps;return wp.element.createElement(y.Button,o()({onClick:this.openModal},n),t)}}]),t}(m.Component);t.a=k},function(e,t,n){function r(e,t,n,R,P,N){var L,M=t&k,D=t&E,B=t&O;if(n&&(L=P?n(e,R,P,N):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=b(e),!M)return u(e,L)}else{var F=g(e),z=F==S||F==j;if(_(e))return c(e,M);if(F==T||F==C||z&&!P){if(L=D||z?{}:v(e),!M)return D?p(e,l(L,e)):f(e,s(L,e))}else{if(!A[F])return P?e:{};L=m(e,F,r,M)}}N||(N=new o);var H=N.get(e);if(H)return H;N.set(e,L);var q=B?D?h:d:D?keysIn:x,U=I?void 0:q(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,N))}),L}var o=n(112),i=n(175),a=n(115),s=n(381),l=n(382),c=n(262),u=n(144),f=n(383),p=n(384),d=n(185),h=n(204),g=n(130),b=n(385),m=n(386),v=n(264),y=n(12),_=n(95),w=n(22),x=n(37),k=1,E=2,O=4,C="[object Arguments]",S="[object Function]",j="[object GeneratorFunction]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,e.exports=r},,,function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(272),i=n(311),a=n(194);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,c=l,u=!r;if(null==e)return!c;for(e=Object(e);l--;){var f=n[l];if(u&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++l<c;){f=n[l];var p=f[0],d=e[p],h=f[1];if(u&&f[2]){if(void 0===d&&!(p in e))return!1}else{var g=new o;if(r)var b=r(d,h,p,e,t,g);if(!(void 0===b?i(h,d,a|s,r,g):b))return!1}}return!0}var o=n(112),i=n(123),a=1,s=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(90),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(90);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(90);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(90);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(89);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(89),i=n(120),a=n(122),s=200;e.exports=r},function(e,t,n){function r(e){return!(!a(e)||i(e))&&(o(e)?h:c).test(s(e))}var o=n(121),i=n(284),a=n(22),s=n(180),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,p=u.toString,d=f.hasOwnProperty,h=RegExp("^"+p.call(d).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!i&&i in e}var o=n(285),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(19),o=r["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(288),i=n(89),a=n(120);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(289),i=n(290),a=n(291),s=n(292),l=n(293);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(91);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(91),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(91),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(91),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(92);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(92);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(92);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(92);e.exports=r},function(e,t,n){function r(e,t,n,r,b,v){var y=c(e),_=c(t),w=y?h:l(e),x=_?h:l(t);w=w==d?g:w,x=x==d?g:x;var k=w==g,E=x==g,O=w==x;if(O&&u(e)){if(!u(t))return!1;y=!0,k=!1}if(O&&!k)return v||(v=new o),y||f(e)?i(e,t,n,r,b,v):a(e,t,w,n,r,b,v);if(!(n&p)){var C=k&&m.call(e,"__wrapped__"),S=E&&m.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),b(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,b,v))}var o=n(112),i=n(181),a=n(302),s=n(303),l=n(130),c=n(12),u=n(95),f=n(128),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",b=Object.prototype,m=b.hasOwnProperty;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,k,O){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!k(new i(e),new i(t)));case p:case d:case b:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case g:var C=l;case v:var S=r&u;if(C||(C=c),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=f,O.set(e,t);var T=s(C(e),C(t),r,o,k,O);return O.delete(e),T;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(48),i=n(183),a=n(84),s=n(181),l=n(184),c=n(93),u=1,f=2,p="[object Boolean]",d="[object Date]",h="[object Error]",g="[object Map]",b="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",k=o?o.prototype:void 0,E=k?k.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var c=n&i,u=o(e),f=u.length;if(f!=o(t).length&&!c)return!1;for(var p=f;p--;){var d=u[p];if(!(c?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var g=!0;l.set(e,t),l.set(t,e);for(var b=c;++p<f;){d=u[p];var m=e[d],v=t[d];if(r)var y=c?r(v,m,d,t,e,l):r(m,v,d,e,t,l);if(!(void 0===y?m===v||a(m,v,n,r,l):y)){g=!1;break}b||(b="constructor"==d)}if(g&&!b){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(g=!1)}return l.delete(e),l.delete(t),g}var o=n(185),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(42),i=n(29),a="[object Arguments]";e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!s[o(e)]}var o=n(42),i=n(129),a=n(29),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){(function(e){var r=n(150),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n(96)(e))},function(e,t,n){var r=n(190),o=r(Object.keys,Object);e.exports=o},function(e,t,n){var r=n(47),o=n(19),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Promise");e.exports=i},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(193),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?c(u(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|p)}}var o=n(123),i=n(55),a=n(195),s=n(131),l=n(193),c=n(194),u=n(62),f=1,p=2;e.exports=r},function(e,t,n){var r=n(314),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(315),i=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(122),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(253),i=n(318),a=n(131),s=n(62);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(106);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n(196),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(12);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==r(s[a],a,s););return n}}var o=n(32);e.exports=r},function(e,t){function n(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}e.exports=n},function(e,t,n){function r(e,t,n){var r=s(e)?o:i;return n&&l(e,t,n)&&(t=void 0),r(e,a(t,3))}var o=n(325),i=n(326),a=n(26),s=n(12),l=n(114);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}e.exports=n},function(e,t,n){function r(e,t){var n=!0;return o(e,function(e,r,o){return n=!!t(e,r,o)}),n}var o=n(56);e.exports=r},function(e,t,n){function r(e,t){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(56);e.exports=r},function(e,t,n){var r=n(255),o=n(197),i=n(58),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t,n){e.exports={default:n(330),__esModule:!0}},function(e,t,n){n(81),n(59),e.exports=n(331)},function(e,t,n){var r=n(100),o=n(15)("iterator"),i=n(40);e.exports=n(10).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(333),__esModule:!0}},function(e,t,n){n(81),n(59),e.exports=n(334)},function(e,t,n){var r=n(21),o=n(99);e.exports=n(10).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(338),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(61);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(48),i=n(94),a=n(12),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,f=i,p=e.length,d=!0,h=[],g=h;if(n)d=!1,f=a;else if(p>=u){var b=t?null:l(e);if(b)return c(b);d=!1,f=s,g=new o}else g=t?[]:h;e:for(;++r<p;){var m=e[r],v=t?t(m):m;if(m=n||0!==m?m:0,d&&v===v){for(var y=g.length;y--;)if(g[y]===v)continue e;t&&g.push(v),h.push(m)}else f(g,v,n)||(g!==h&&g.push(v),h.push(m))}return h}var o=n(124),i=n(156),a=n(202),s=n(125),l=n(341),c=n(93),u=200;e.exports=r},function(e,t,n){var r=n(191),o=n(30),i=n(93),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){"use strict";function r(e){return!!E[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return E[e]&&E[e].attributes&&-1!==E[e].attributes.indexOf(t)}function a(e){return!!x[e.nodeName.toLowerCase()]}function s(e){return!!k[e.nodeName.toLowerCase()]}function l(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return E[n]&&E[n].children&&-1!==E[n].children.indexOf(r)}function c(e){return!!a(e)&&(!!e.hasChildNodes()&&b()(e.childNodes).some(function(e){return e.nodeType===_&&(!a(e)||c(e))}))}function u(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function f(e){return!e.hasChildNodes()||b()(e.childNodes).every(function(e){return e.nodeType===w?!e.nodeValue.trim():e.nodeType!==_||("BR"===e.nodeName||!e.hasAttributes()&&f(e))})}function p(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return b()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===w}function d(e,t,n){b()(e).forEach(function(e){d(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,d(n.body.childNodes,t,n),n.body.innerHTML}t.j=o,t.d=i,t.g=a,t.h=s,t.c=l,t.i=c,t.e=u,t.f=f,t.k=p,t.b=d,t.a=h;var g=n(86),b=n.n(g),m=n(11),v=n.n(m),y=window.Node,_=y.ELEMENT_NODE,w=y.TEXT_NODE,x={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},k={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},E=v()({},x,k,{img:{attributes:["src","alt"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var c=-1,u=t.length,f=u-1,p=e;null!=p&&++c<u;){var d=l(t[c]),h=n;if(c!=f){var g=p[d];h=r?r(g,d,p):void 0,void 0===h&&(h=s(g)?g:a(t[c+1])?[]:{})}o(p,d,h),p=p[d]}return e}var o=n(115),i=n(68),a=n(78),s=n(22),l=n(62);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=n(22),i=n(97),a=n(345),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){n(347),e.exports=n(10).Object.getPrototypeOf},function(e,t,n){var r=n(53),o=n(155);n(203)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(349);var r=n(10).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(18);r(r.S+r.F*!n(24),"Object",{defineProperty:n(23).f})},function(e,t,n){e.exports={default:n(351),__esModule:!0}},function(e,t,n){n(59),n(81),e.exports=n(139).f("iterator")},function(e,t,n){e.exports={default:n(353),__esModule:!0}},function(e,t,n){n(354),n(158),n(358),n(359),e.exports=n(10).Symbol},function(e,t,n){"use strict";var r=n(14),o=n(31),i=n(24),a=n(18),s=n(154),l=n(260).KEY,c=n(36),u=n(76),f=n(71),p=n(60),d=n(15),h=n(139),g=n(140),b=n(355),m=n(356),v=n(21),y=n(33),_=n(83),w=n(46),x=n(107),k=n(357),E=n(208),O=n(23),C=n(50),S=E.f,j=O.f,T=k.f,A=r.Symbol,R=r.JSON,P=R&&R.stringify,N=d("_hidden"),L=d("toPrimitive"),M={}.propertyIsEnumerable,D=u("symbol-registry"),B=u("symbols"),I=u("op-symbols"),F=Object.prototype,z="function"==typeof A,H=r.QObject,q=!H||!H.prototype||!H.prototype.findChild,U=i&&c(function(){return 7!=x(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(F,t);r&&delete F[t],j(e,t,n),r&&e!==F&&j(F,t,r)}:j,K=function(e){var t=B[e]=x(A.prototype);return t._k=e,t},V=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},W=function(e,t,n){return e===F&&W(I,t,n),v(e),t=_(t,!0),v(n),o(B,t)?(n.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),n=x(n,{enumerable:w(0,!1)})):(o(e,N)||j(e,N,w(1,{})),e[N][t]=!0),U(e,t,n)):j(e,t,n)},G=function(e,t){v(e);for(var n,r=b(t=y(t)),o=0,i=r.length;i>o;)W(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?x(e):G(x(e),t)},X=function(e){var t=M.call(this,e=_(e,!0));return!(this===F&&o(B,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,N)&&this[N][e])||t)},Z=function(e,t){if(e=y(e),t=_(t,!0),e!==F||!o(B,t)||o(I,t)){var n=S(e,t);return!n||!o(B,t)||o(e,N)&&e[N][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=T(y(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==N||t==l||r.push(t);return r},Q=function(e){for(var t,n=e===F,r=T(n?I:y(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(F,t)||i.push(B[t]);return i};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(I,n),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),U(this,e,w(1,n))};return i&&q&&U(F,e,{configurable:!0,set:t}),K(e)},s(A.prototype,"toString",function(){return this._k}),E.f=Z,O.f=W,n(207).f=k.f=Y,n(67).f=X,n(104).f=Q,i&&!n(75)&&s(F,"propertyIsEnumerable",X,!0),h.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!z,{Symbol:A});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;J.length>ee;)d(J[ee++]);for(var te=C(d.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=A(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!z,"Object",{create:$,defineProperty:W,defineProperties:G,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Y,getOwnPropertySymbols:Q}),R&&a(a.S+a.F*(!z||c(function(){var e=A();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!V(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&m(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,P.apply(R,r)}}}),A.prototype[L]||n(28)(A.prototype,L,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(50),o=n(104),i=n(67);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(44);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(33),o=n(207).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){n(140)("asyncIterator")},function(e,t,n){n(140)("observable")},function(e,t,n){e.exports={default:n(361),__esModule:!0}},function(e,t,n){n(362),e.exports=n(10).Object.setPrototypeOf},function(e,t,n){var r=n(18);r(r.S,"Object",{setPrototypeOf:n(363).set})},function(e,t,n){var r=n(25),o=n(21),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(34)(Function.call,n(208).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(365),__esModule:!0}},function(e,t,n){n(366);var r=n(10).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(18);r(r.S,"Object",{create:n(107)})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(116);e.exports=r},function(e,t){var n={};e.exports=n},function(e,t,n){function r(e){if(l(e)&&!s(e)&&!(e instanceof o)){if(e instanceof i)return e;if(f.call(e,"__wrapped__"))return c(e)}return new i(e)}var o=n(143),i=n(141),a=n(142),s=n(12),l=n(29),c=n(370),u=Object.prototype,f=u.hasOwnProperty;r.prototype=a.prototype,r.prototype.constructor=r,e.exports=r},function(e,t,n){function r(e){if(e instanceof o)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=a(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var o=n(143),i=n(141),a=n(144);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=n(58);e.exports=r},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=n(236),i=n(22),a="Expected a function";e.exports=r},function(e,t,n){var r=n(19),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){"use strict";e.exports=n(375)},function(e,t,n){"use strict";function r(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;r=void 0===r||r;var p=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),g=o.outerWidth(e),b=void 0,m=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,O=void 0;p?(x=t,O=o.height(x),E=o.width(x),k={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-k.left-c,top:d.top-k.top-l},w={left:d.left+g-(k.left+E)+f,top:d.top+h-(k.top+O)+u},y=k):(b=o.offset(t),m=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(b.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:d.top-(b.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+g-(b.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+f,top:d.top+h-(b.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?o.scrollTop(t,y.top+_.top):!1===a?o.scrollTop(t,y.top+w.top):_.top<0?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top):i||(a=void 0===a||!!a,a?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top)),r&&(_.left<0||w.left>0?!0===s?o.scrollLeft(t,y.left+_.left):!1===s?o.scrollLeft(t,y.left+w.left):_.left<0?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left):i||(s=void 0===s||!!s,s?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left)))}var o=n(376);e.exports=r},function(e,t,n){"use strict";function r(e){var t=void 0,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=t.left,r=t.top,n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;n=o.documentElement[r],"number"!=typeof n&&(n=o.body[r])}return n}function i(e){return o(e)}function a(e){return o(e,!0)}function s(e){var t=r(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=i(o),t.top+=a(o),t}function l(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}function c(e,t){var n=e[E]&&e[E][t];if(x.test(n)&&!k.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[E][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function u(e,t){for(var n=0;n<e.length;n++)t(e[n])}function f(e){return"border-box"===j(e,"boxSizing")}function p(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);n.call(e);for(i in t)t.hasOwnProperty(i)&&(o[i]=r[i])}function d(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(j(e,s))||0}return r}function h(e){return null!=e&&e==e.window}function g(e,t,n){if(h(e))return"width"===t?N.viewportWidth(e):N.viewportHeight(e);if(9===e.nodeType)return"width"===t?N.docWidth(e):N.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=f(e,i),s=0;(null==o||o<=0)&&(o=void 0,s=j(e,t),(null==s||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=a?P:A);var l=void 0!==o||a,c=o||s;if(n===A)return l?c-d(e,["border","padding"],r,i):s;if(l){var u=n===R?-d(e,["border"],r,i):d(e,["margin"],r,i);return c+(n===P?0:u)}return s+d(e,T.slice(n),r,i)}function b(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=g.apply(void 0,n):p(e,L,function(){t=g.apply(void 0,n)}),t}function m(e,t,n){var r=n;{if("object"!==(void 0===t?"undefined":_(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):j(e,t);for(var o in t)t.hasOwnProperty(o)&&m(e,o,t[o])}}function v(e,t){"static"===m(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(m(e,i))||0,r[i]=o+t[i]-n[i]);m(e,r)}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},w=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,x=new RegExp("^("+w+")(?!px)[a-z%]+$","i"),k=/^(top|right|bottom|left)$/,E="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:c);var T=["margin","border","padding"],A=-1,R=2,P=1,N={};u(["Width","Height"],function(e){N["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],N["viewport"+e](n))},N["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement,a=i[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}});var L={position:"absolute",visibility:"hidden",display:"block"};u(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);N["outer"+t]=function(t,n){return t&&b(t,e,n?0:P)};var n="width"===e?["Left","Right"]:["Top","Bottom"];N[e]=function(t,r){if(void 0===r)return t&&b(t,e,A);if(t){var o=j(t);return f(t)&&(r+=d(t,["padding","border"],n,o)),m(t,e,r)}}}),e.exports=y({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);v(e,t)},isWindow:h,each:u,css:m,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},N)},function(e,t,n){"use strict";t.decode=t.parse=n(455),t.encode=t.stringify=n(456)},function(e,t,n){var r=n(201),o=n(116),i=n(85),a=n(173),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(259),i=n(195);e.exports=r},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(56);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(70),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(70),i=n(157);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(70),i=n(127);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(70),i=n(205);e.exports=r},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var A=e.constructor;switch(t){case y:return o(e);case f:case p:return new A(+e);case _:return i(e,r);case w:case x:case k:case E:case O:case C:case S:case j:case T:return u(e,r);case d:return a(e,r,n);case h:case m:return new A(e);case g:return s(e);case b:return l(e,r,n);case v:return c(e)}}var o=n(145),i=n(387),a=n(388),s=n(390),l=n(391),c=n(393),u=n(263),f="[object Boolean]",p="[object Date]",d="[object Map]",h="[object Number]",g="[object RegExp]",b="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",k="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",j="[object Uint16Array]",T="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(145);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(389),i=n(113),a=n(184),s=1;e.exports=r},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(392),i=n(113),a=n(93),s=1;e.exports=r},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(48),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,l],f=0;c=new Error(t.replace(/%s/g,function(){return u[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(O.a)(e),r=m()(n.attributes,function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.default&&(e[r]=n.default),e},{});return{uid:k()(),name:e,isValid:!0,attributes:r}}function o(e,t){var n=g()(e),r=n.length>1,o=n[0],i=o.name;if(r&&!w()(n,function(e){return e.name===i}))return null;var a=Object(O.a)(t),l=Object(O.a)(i),u=y()(a,"transforms.from",[]),p=y()(l,"transforms.to",[]),h=c()(p,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||c()(u,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!h)return null;var b=void 0;if(b=h.isMultiBlock?h.transform(n.map(function(e){return e.attributes})):h.transform(o.attributes),!f()(b))return null;if(b=g()(b),b.some(function(e){return!Object(O.a)(e.name)}))return null;var m=d()(b,function(e){return e.name===t});return m<0?null:b.map(function(e,t){return s()({},e,{uid:t===m?o.uid:e.uid})})}function i(e,t){return{id:k()(),name:Object(E.__)("Untitled block"),type:e,attributes:t}}t.a=r,t.c=o,t.b=i;var a=n(11),s=n.n(a),l=n(54),c=n.n(l),u=n(29),f=n.n(u),p=n(166),d=n.n(p),h=n(320),g=n.n(h),b=n(152),m=n.n(b),v=n(55),y=n.n(v),_=n(324),w=n.n(_),x=n(435),k=n.n(x),E=n(0),O=(n.n(E),n(219))},function(e,t,n){e.exports={default:n(438),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"k",function(){return f}),n.d(t,"n",function(){return p}),n.d(t,"l",function(){return d}),n.d(t,"m",function(){return h}),n.d(t,"f",function(){return g}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return m}),n.d(t,"h",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return _}),n.d(t,"i",function(){return w}),n.d(t,"j",function(){return x});var r=n(565),o=n(573),i=n(585),a=n(586),s=n(496),l=Object(r.a)(),c=l.addAction,u=l.addFilter,f=l.removeAction,p=l.removeFilter,d=l.removeAllActions,h=l.removeAllFilters,g=l.doAction,b=l.applyFilters,m=l.doingAction,v=l.doingFilter,y=l.didAction,_=l.didFilter,w=l.hasAction,x=l.hasFilter;Object(o.a)(l),Object(i.a)(l),Object(a.a)(l),Object(s.c)(l)},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){e.exports={default:n(449),__esModule:!0}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(372),h=n.n(d),g=n(17),b=n.n(g),m=n(374),v=n.n(m),y=n(0),_=(n.n(y),n(2)),w=(n.n(_),n(49)),x=(n.n(w),n(1)),k=(n.n(x),w.keycodes.UP),E=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){return e.stopPropagation()},S=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=h()(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return p()(t,e),l()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2)return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=(new wp.api.collections.Posts).fetch({data:{search:e,per_page:20,orderby:"relevance"}}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(y.sprintf)(Object(y._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(y.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})})}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.selectedSuggestion,r=t.posts;if(this.state.showSuggestions&&this.state.posts.length)switch(e.keyCode){case k:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case E:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case O:if(this.state.selectedSuggestion){e.stopPropagation();var a=this.state.posts[this.state.selectedSuggestion];this.selectLink(a.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,v()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=t.instanceId,o=this.state,i=o.showSuggestions,a=o.posts,s=o.selectedSuggestion,l=o.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(y.__)("URL"),required:!0,value:n,onChange:this.onChange,onInput:C,placeholder:Object(y.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":i,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+r,"aria-activedescendant":null!==s?"blocks-url-input-suggestion-"+r+"-"+s:void 0}),l&&wp.element.createElement(x.Spinner,null),i&&!!a.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+r,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},a.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+r+"-"+n,ref:e.bindSuggestionNode(n),className:b()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===s},t.title.rendered||Object(y.__)("(no title)"))})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(S))},function(e,t,n){"use strict";function r(e){return o("post.php",{post:e,action:"edit"})}function o(e,t){return Object(a.a)(e,t)}function i(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}t.b=r,t.c=o,t.a=i;var a=n(266)},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&c.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return c.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=n(453),c=n(454);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var u=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),g=["'"].concat(h),b=["%","/","?",";","#"].concat(g),m=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(377);r.prototype.parse=function(e,t,n){if(!c.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o),a=/\\/g;i[0]=i[0].replace(a,"/"),e=i.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var f=p.exec(s);if(f)return this.path=s,this.href=s,this.pathname=f[1],f[2]?(this.search=f[2],this.query=t?k.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=u.exec(s);if(d){d=d[0];var h=d.toLowerCase();this.protocol=h,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(E||d&&!x[d])){for(var O=-1,C=0;C<m.length;C++){var S=s.indexOf(m[C]);-1!==S&&(-1===O||S<O)&&(O=S)}var j,T;T=-1===O?s.lastIndexOf("@"):s.lastIndexOf("@",O),-1!==T&&(j=s.slice(0,T),s=s.slice(T+1),this.auth=decodeURIComponent(j)),O=-1;for(var C=0;C<b.length;C++){var S=s.indexOf(b[C]);-1!==S&&(-1===O||S<O)&&(O=S)}-1===O&&(O=s.length),this.host=s.slice(0,O),s=s.slice(O),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var R=this.hostname.split(/\./),C=0,P=R.length;C<P;C++){var N=R[C];if(N&&!N.match(v)){for(var L="",M=0,D=N.length;M<D;M++)N.charCodeAt(M)>127?L+="x":L+=N[M];if(!L.match(v)){var B=R.slice(0,C),I=R.slice(C+1),F=N.match(y);F&&(B.push(F[1]),I.unshift(F[2])),I.length&&(s="/"+I.join(".")+s),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var z=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+z,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!_[h])for(var C=0,P=g.length;C<P;C++){var q=g[C];if(-1!==s.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),s=s.split(q).join(U)}}var K=s.indexOf("#");-1!==K&&(this.hash=s.substr(K),s=s.slice(0,K));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),t&&(this.query=k.parse(this.query)),s=s.slice(0,V)):t&&(this.search="",this.query={}),s&&(this.pathname=s),x[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",W=this.search||"";this.path=z+W}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(i=k.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||x[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(c.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return x[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!x[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var d=f[p];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",b=n.search||"";n.path=g+b}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||m||n.host&&e.pathname,_=y,k=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],E=n.protocol&&!x[n.protocol];if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===k[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,k=h;else if(h.length)k||(k=[]),k.pop(),k=k.concat(h),n.search=e.search,n.query=e.query;else if(!c.isNullOrUndefined(e.search)){if(E){n.hostname=n.host=k.shift();var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=e.search,n.query=e.query,c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=k.slice(-1)[0],S=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,j=0,T=k.length;T>=0;T--)C=k[T],"."===C?k.splice(T,1):".."===C?(k.splice(T,1),j++):j&&(k.splice(T,1),j--);if(!y&&!_)for(;j--;j)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),S&&"/"!==k.join("/").substr(-1)&&k.push("");var A=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(E){n.hostname=n.host=A?"":k.length?k.shift():"";var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return y=y||n.host&&k.length,y&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r=n(80),o=n(416),i=Object.prototype,a=i.hasOwnProperty,s=o(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=s},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,c=t?t():{};return l(n,e,a(r,2),c)}}var o=n(457),i=n(458),a=n(26),s=n(12);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.value,n=e.onChange;return wp.element.createElement(s.Toolbar,{controls:l.map(function(e){var r=e.align,o=t===r;return i()({},e,{isActive:o,onClick:function(){return n(o?null:r)}})})})}t.a=r;var o=n(11),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),[{icon:"editor-alignleft",title:Object(a.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(a.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(a.__)("Align right"),align:"right"}])},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(98),i=n(464),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l,c,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(13),d=r(p),h=n(179),g=r(h),b=n(432),m=r(b),v=n(433),y=r(v),_=(c=l=function(e){function t(){var e,n,r,s;i(this,t);for(var l=arguments.length,c=Array(l),f=0;f<l;f++)c[f]=arguments[f];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={lineHeight:null},r.dispatchEvent=function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!1),r.textarea.dispatchEvent(t)},r.getValue=function(e){var t=e.valueLink,n=e.value;return t?t.value:n},r.updateLineHeight=function(){r.setState({lineHeight:(0,y.default)(r.textarea)})},r.onChange=function(e){r.currentValue=e.target.value,r.props.onChange&&r.props.onChange(e)},r.saveDOMNodeRef=function(e){var t=r.props.innerRef;t&&t(e),r.textarea=e},r.getLocals=function(){var e=r,t=e.props,n=(t.onResize,t.maxRows),i=(t.onChange,t.style),a=(t.innerRef,o(t,["onResize","maxRows","onChange","style","innerRef"])),s=e.state.lineHeight,l=e.saveDOMNodeRef,c=n&&s?s*n:null;return u({},a,{saveDOMNodeRef:l,style:c?u({},i,{maxHeight:c}):i,onChange:r.onChange})},s=n,a(r,s)}return s(t,e),f(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return(0,m.default)(e.textarea)})):(0,m.default)(this.textarea),n&&this.textarea.addEventListener("autosize:resized",this.props.onResize)}},{key:"componentWillUnmount",value:function(){this.props.onResize&&this.textarea.removeEventListener("autosize:resized",this.props.onResize),this.dispatchEvent("autosize:destroy")}},{key:"render",value:function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=o(e,["children","saveDOMNodeRef"]);return d.default.createElement("textarea",u({},r,{ref:n}),t)}},{key:"componentDidUpdate",value:function(){this.getValue(this.props)!==this.currentValue&&this.dispatchEvent("autosize:update")}}]),t}(d.default.Component),l.defaultProps={rows:1},c);t.default=_,_.propTypes={rows:g.default.number,maxRows:g.default.number,onResize:g.default.func,innerRef:g.default.func}},function(e,t,n){"use strict";var r=n(430),o=n(404),i=n(431);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"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")}function t(){return e}e.isRequired=e;var n={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};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,o,i;/*!
|
7 |
Autosize 3.0.21
|
8 |
license: MIT
|
9 |
http://www.jacklmoore.com/autosize
|
10 |
*/
|
11 |
-
!function(n,a){o=[t,e],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var i=e.scrollHeight+s;if(0===e.scrollHeight)return void(e.style.height=t);e.style.height=i+"px",l=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=e.clientWidth,c=null,u=function(){e.clientWidth!==l&&o()},f=function(t){window.removeEventListener("resize",u,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",f,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",f,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",u,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:f,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.exports=s})},function(e,t,n){function r(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=o(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a);n=a.offsetHeight,l.removeChild(a)}return n}var o=n(434);e.exports=r},function(e,t){var n=function(e,t,n){return n=window.getComputedStyle,(n?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]};e.exports=n},function(e,t,n){function r(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null),e=e||{};var a=e.random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[r+s]=a[s];return t||i(a)}var o=n(436),i=n(437);e.exports=r},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(t,n(105))},function(e,t){function n(e,t){var n=t||0,o=r;return o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]}for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);e.exports=n},function(e,t,n){n(439),e.exports=n(10).Object.values},function(e,t,n){var r=n(18),o=n(440)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(50),o=n(33),i=n(67).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,c=0,u=[];l>c;)i.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,u=s()(e,["label","help","instanceId","onChange","options"]),p="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!c()(l)&&wp.element.createElement(f.a,{label:t,id:p,help:n},wp.element.createElement("select",i()({id:p,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?p+"__help":void 0},u),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(256),c=n.n(l),u=n(1),f=(n.n(u),n(199)),p=n(580);n.n(p);t.a=Object(u.withInstanceId)(r)},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.type,u=void 0===l?"text":l,f=s()(e,["label","value","help","instanceId","onChange","type"]),p="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:u,id:p,value:n,onChange:d,"aria-describedby":r?p+"__help":void 0},f)))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(581);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";function r(e,t){switch(t){case"string":return String(e);case"boolean":return Boolean(e);case"object":return Object(e);case"null":return null;case"array":return Array.isArray(e)?e:u()(e);case"integer":case"number":return Number(e)}return e}function o(e){switch(e.source){case"attribute":return Object(y.a)(e.selector,e.attribute);case"property":return Object(y.e)(e.selector,e.property);case"html":return Object(y.c)(e.selector);case"text":return Object(y.g)(e.selector);case"children":return Object(y.b)(e.selector);case"node":return Object(y.d)(e.selector);case"query":var t=p()(e.query,o);return Object(y.f)(e.selector,t);default:console.error('Unkown source type "'+e.source+'"')}}function i(e,t,n,i){var a=void 0;switch(t.source){case void 0:a=i?i[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":a=Object(d.c)(n,o(t))}return void 0===a?t.default:r(a,t.type)}function a(e,t,n){return p()(e.attributes,function(e,r){return i(r,e,t,n)})}function s(e,t,n){"core/text"!==(e=e||Object(g.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(g.a)(e),o=Object(g.d)();if(r||(e&&(t=Object(v.d)(e,n,t)),e=o,r=Object(g.a)(e)),r&&(t||e!==o)){var i=Object(b.a)(e,a(r,t,n));return i.isValid=Object(m.a)(t,r,i.attributes),i.originalContent=t,i}}function l(e){return Object(h.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.innerHTML,o=t.attrs,i=s(n,r.trim(),o);return i&&e.push(i),e},[])}t.b=a,t.c=l;var c=n(86),u=n.n(c),f=n(170),p=n.n(f),d=n(497),h=n(588),g=(n.n(h),n(219)),b=n(405),m=n(498),v=n(444),y=n(597);t.a=l},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,r=void 0;if(n.prototype instanceof T.Component)r=Object(T.createElement)(n,{attributes:t});else if("string"==typeof(r=n({attributes:t})))return r;var o=function(n){if(!n||!k()(n))return n;var r=Object(R.c)("getSaveContent.extraProps",g()({},n.props),e,t);return Object(T.cloneElement)(n,r)},i=T.Children.map(r,o);return Object(T.renderToString)(i)}function i(e,t){return O()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:void 0!==n.source?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{})}function a(e){return d()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function s(e){return Object(j.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function l(e){var t=Object(A.a)(e.name),n=e.originalContent;if(e.isValid)try{n=o(t,e.attributes)}catch(e){}return Object(A.d)()!==e.name&&n?s(n):n}function c(e,t,n){var r=S()(t)?"":a(t)+" ",o=m()(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+o+" "+r+"--\x3e\n"+n+"\n\x3c!-- /wp:"+o+" --\x3e":"\x3c!-- wp:"+o+" "+r+"/--\x3e"}function u(e){var t=e.name,n=Object(A.a)(t),r=l(e),o=i(e.attributes,n);switch(t){case"core/more":var a=o.customText,s=o.noTeaser,u=a?"\x3c!--more "+a+"--\x3e":"\x3c!--more--\x3e",f=s?"\x3c!--noteaser--\x3e":"";return y()([u,f]).join("\n");case Object(A.d)():return r;default:return c(t,o,r)}}function f(e){return w()(e).map(u).join("\n\n")}t.c=r,t.e=o,t.b=l,t.d=c,t.a=f;var p=n(445),d=n.n(p),h=n(11),g=n.n(h),b=n(499),m=n.n(b),v=n(258),y=n.n(v),_=n(320),w=n.n(_),x=n(22),k=n.n(x),E=n(152),O=n.n(E),C=n(256),S=n.n(C),j=n(595),T=(n.n(j),n(2)),A=(n.n(T),n(219)),R=n(407)},function(e,t,n){e.exports={default:n(446),__esModule:!0}},function(e,t,n){var r=n(10),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r,o;Object.values||(Object.values=function(e){if(e!==Object(e))throw new TypeError("Object.values called on a non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(e[t]);return n}),function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function o(e){return e.replace(/^\s+|\s+$/g,"")}function i(e){return e.replace(/^\s+/g,"")}function a(e){e=e||p.before_newline;var t=Object.values(p);if(!r(e,t))throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n"+t+"\nYou passed in: '"+e+"'");return e}function s(e,t){"use strict";function s(e,t){var n=0;return e&&(n=e.indentation_level,!G.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:G.get_line_number(),ternary_depth:0}}function l(e,t){for(var n=e.newlines,r=ie.keep_array_indentation&&k(ee.mode),o=Z,i=0;i<e.comments_before.length;i++)Z=e.comments_before[i],l(Z,t),oe[Z.type](t);if(Z=o,r)for(var a=0;a<n;a+=1)m(a>0,t);else if(ie.max_preserve_newlines&&n>ie.max_preserve_newlines&&(n=ie.max_preserve_newlines),ie.preserve_newlines&&e.newlines>1){m(!1,t);for(var s=1;s<n;s+=1)m(!0,t)}}function g(e){e=e.replace(f.allLineBreaks,"\n");for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(e.substring(0,n)),e=e.substring(n+1),n=e.indexOf("\n");return e.length&&t.push(e),t}function b(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Z.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Z.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Z.text,X.positionable_operators);t=t&&n}if(t)m(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Y&&r(ee.last_text,ue))return;var o=G.current_line.get_character_count()+Z.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&m(!1,!0)}}}function m(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Y)for(var n=R(1);!(ee.mode!==h.Statement||ee.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ee.do_block);)O();G.add_new_line(e)&&(ee.multiline_frame=!0)}function v(){G.just_added_newline()&&(ie.keep_array_indentation&&k(ee.mode)&&Z.wanted_newline?(G.current_line.push(Z.whitespace_before),G.space_before_token=!1):G.set_indent(ee.indentation_level)&&(ee.line_indent_level=ee.indentation_level))}function y(e){if(G.raw)return void G.add_raw_token(Z);if(ie.comma_first&&"TK_COMMA"===Y&&G.just_added_newline()&&","===G.previous_line.last()){var t=G.previous_line.pop();G.previous_line.is_empty()&&(G.previous_line.push(t),G.trim(!0),G.current_line.pop(),G.trim()),v(),G.add_token(","),G.space_before_token=!0}e=e||Z.text,v(),G.add_token(e)}function _(){ee.indentation_level+=1}function w(){ee.indentation_level>0&&(!ee.parent||ee.indentation_level>ee.parent.indentation_level)&&(ee.indentation_level-=1)}function x(e){ee?(ne.push(ee),te=ee):te=s(null,e),ee=s(te,e)}function k(e){return e===h.ArrayLiteral}function E(e){return r(e,[h.Expression,h.ForInitializer,h.Conditional])}function O(){ne.length>0&&(te=ee,ee=ne.pop(),te.mode===h.Statement&&G.remove_redundant_indentation(te))}function C(){return ee.parent.mode===h.ObjectLiteral&&ee.mode===h.Statement&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Y&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Y&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Z.type||"TK_RESERVED"===Y&&"do"===ee.last_text||"TK_RESERVED"===Y&&r(ee.last_text,["return","throw"])&&!Z.wanted_newline||"TK_RESERVED"===Y&&"else"===ee.last_text&&("TK_RESERVED"!==Z.type||"if"!==Z.text||Z.comments_before.length)||"TK_END_EXPR"===Y&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Y&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Z.text&&"++"!==Z.text&&"function"!==Q&&"TK_WORD"!==Z.type&&"TK_RESERVED"!==Z.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Y&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Z,!0),C()||b("TK_RESERVED"===Z.type&&r(Z.text,["do","for","if","while"])),!0)}function j(e,t){for(var n=0;n<e.length;n++){if(o(e[n]).charAt(0)!==t)return!1}return!0}function T(e,t){for(var n,r=0,o=e.length;r<o;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}function A(e){return r(e,["case","return","do","if","throw","else"])}function R(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function P(){S()||l(Z);var e=h.Expression;if("["===Z.text){if("TK_WORD"===Y||")"===ee.last_text)return"TK_RESERVED"===Y&&r(ee.last_text,X.line_starters)&&(G.space_before_token=!0),x(e),y(),_(),void(ie.space_in_paren&&(G.space_before_token=!0));e=h.ArrayLiteral,k(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||m())}else"TK_RESERVED"===Y&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Y&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Y?m():"TK_END_EXPR"===Y||"TK_START_EXPR"===Y||"TK_END_BLOCK"===Y||"."===ee.last_text?b(Z.wanted_newline):"TK_RESERVED"===Y&&"("===Z.text||"TK_WORD"===Y||"TK_OPERATOR"===Y?"TK_RESERVED"===Y&&("function"===ee.last_word||"typeof"===ee.last_word)||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?ie.space_after_anon_function&&(G.space_before_token=!0):"TK_RESERVED"!==Y||!r(ee.last_text,X.line_starters)&&"catch"!==ee.last_text||ie.space_before_conditional&&(G.space_before_token=!0):G.space_before_token=!0,"("===Z.text&&"TK_RESERVED"===Y&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Z.text&&("TK_EQUALS"!==Y&&"TK_OPERATOR"!==Y||C()||b()),"("===Z.text&&"TK_WORD"!==Y&&"TK_RESERVED"!==Y&&b(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function N(){for(;ee.mode===h.Statement;)O();l(Z),ee.multiline_frame&&b("]"===Z.text&&k(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Y||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Z.text&&ie.keep_array_indentation?(y(),O()):(O(),y()),G.remove_redundant_indentation(te),ee.do_while&&te.mode===h.Conditional&&(te.mode=h.Expression,ee.do_block=!1,ee.do_while=!1)}function L(){l(Z);var e=R(1),t=R(2);x(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(Q,["class","interface"])?h.BlockStatement:h.ObjectLiteral:"TK_OPERATOR"===Y&&"=>"===ee.last_text?h.BlockStatement:r(Y,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Y&&r(ee.last_text,["return","throw","import","default"])?h.ObjectLiteral:h.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,o=n&&"function"===ee.last_word&&"TK_END_EXPR"===Y;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=R(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Z))}("expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Y&&(o||"TK_EQUALS"===Y||"TK_RESERVED"===Y&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:m(!1,!0):(!k(te.mode)||"TK_START_EXPR"!==Y&&"TK_COMMA"!==Y||(("TK_COMMA"===Y||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Y||"TK_START_EXPR"===Y&&ee.inline_frame)&&(b(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Y&&"TK_START_EXPR"!==Y&&("TK_START_BLOCK"!==Y||ee.inline_frame?G.space_before_token=!0:m())),y(),_()}function M(){for(l(Z);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Y;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||m():e||(k(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,m(),ie.keep_array_indentation=!0):m()),O(),y()}function D(){if("TK_RESERVED"===Z.type)if(r(Z.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Z.type="TK_WORD";else if(r(Z.text,["as","from"])&&!ee.import_block)Z.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=R(1);":"===e.text&&(Z.type="TK_WORD")}if(S()?"TK_RESERVED"===Y&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Z.type&&(ee.declaration_statement=!0):!Z.wanted_newline||E(ee.mode)||"TK_OPERATOR"===Y&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Y||!ie.preserve_newlines&&"TK_RESERVED"===Y&&r(ee.last_text,["var","let","const","set","get"])?l(Z):(l(Z),m()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Z.type&&"while"===Z.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);m(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Z.type||"else"!==Z.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Z.type&&("case"===Z.text||"default"===Z.text&&ee.in_case_statement))return m(),(ee.case_body||ie.jslint_happy)&&(w(),ee.case_body=!1),y(),ee.in_case=!0,void(ee.in_case_statement=!0);if("TK_COMMA"!==Y&&"TK_START_EXPR"!==Y&&"TK_EQUALS"!==Y&&"TK_OPERATOR"!==Y||C()||b(),"TK_RESERVED"===Z.type&&"function"===Z.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Y)&&(G.just_added_blankline()||Z.comments_before.length||(m(),m(!0))),"TK_RESERVED"===Y||"TK_WORD"===Y?"TK_RESERVED"===Y&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Y&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:m():"TK_OPERATOR"===Y||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!E(ee.mode)&&!k(ee.mode))&&m(),y(),void(ee.last_word=Z.text);if(re="NONE","TK_END_BLOCK"===Y?te.inline_frame?re="SPACE":"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Y&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Y&&E(ee.mode)?re="SPACE":"TK_STRING"===Y?re="NEWLINE":"TK_RESERVED"===Y||"TK_WORD"===Y||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Y?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Y&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Y||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline)&&!ee.inline_frame)m();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&m(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Y&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Y?"TK_START_EXPR"===Y&&"TK_RESERVED"===Z.type&&r(Z.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Z.type&&"if"===Z.text&&"else"===ee.last_text?G.space_before_token=!0:m()):"TK_RESERVED"===Z.type&&r(Z.text,X.line_starters)&&")"!==ee.last_text&&m():ee.multiline_frame&&k(ee.mode)&&","===ee.last_text&&"}"===Q?m():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Z.text,"TK_RESERVED"===Z.type&&("do"===Z.text?ee.do_block=!0:"if"===Z.text?ee.if_block=!0:"import"===Z.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Z.type&&"from"===Z.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Z);for(var e=R(1);!(ee.mode!==h.Statement||ee.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ee.do_block);)O();ee.import_block&&(ee.import_block=!1),y()}function I(){S()?G.space_before_token=!0:(l(Z),"TK_RESERVED"===Y||"TK_WORD"===Y||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Y||"TK_START_EXPR"===Y||"TK_EQUALS"===Y||"TK_OPERATOR"===Y?C()||b():m()),y()}function F(){S()||l(Z),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Z,!0),y(),G.space_before_token=!0,ee.declaration_statement?(E(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,m(!1,!0)):ie.comma_first&&b()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||m()):ie.comma_first&&b()}function H(){var e="*"===Z.text&&("TK_RESERVED"===Y&&r(ee.last_text,["function","yield"])||r(Y,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Z.text,["-","+"])&&(r(Y,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Z,!e)}if("TK_RESERVED"===Y&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Z.text&&"TK_DOT"===Y)return void y();if("::"===Z.text)return void y();if("TK_OPERATOR"===Y&&r(ie.operator_position,d)&&b(),":"===Z.text&&ee.in_case)return ee.case_body=!0,_(),y(),m(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Z.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Z.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Z.text,X.positionable_operators)){var a=":"===Z.text,s=a&&i,c=a&&!i;switch(ie.operator_position){case p.before_newline:return G.space_before_token=!c,y(),a&&!s||b(),void(G.space_before_token=!0);case p.after_newline:return G.space_before_token=!0,!a||s?R(1).wanted_newline?m(!1,!0):b():G.space_before_token=!1,y(),void(G.space_before_token=!0);case p.preserve_newline:return c||b(),n=!(G.just_added_newline()||c),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){b(),n=!1;var u=R(1);o=u&&r(u.type,["TK_WORD","TK_RESERVED"])}else"..."===Z.text?(b(),n="TK_START_BLOCK"===Y,o=!1):(r(Z.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Z.wanted_newline||"--"!==Z.text&&"++"!==Z.text||m(!1,!0),";"===ee.last_text&&E(ee.mode)&&(n=!0),"TK_RESERVED"===Y?n=!0:"TK_END_EXPR"===Y?n=!("]"===ee.last_text&&("--"===Z.text||"++"===Z.text)):"TK_OPERATOR"===Y&&(n=r(Z.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Z.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||m());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function q(e){if(G.raw)return G.add_raw_token(Z),void(Z.directives&&"end"===Z.directives.preserve&&(G.raw=ie.test_output_raw));if(Z.directives)return m(!1,e),y(),"start"===Z.directives.preserve&&(G.raw=!0),void m(!1,!0);if(!f.newline.test(Z.text)&&!Z.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=g(Z.text),r=!1,o=!1,a=Z.whitespace_before,s=a.length;for(m(!1,e),n.length>1&&(r=j(n.slice(1),"*"),o=T(n.slice(1),a)),y(n[0]),t=1;t<n.length;t++)m(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);m(!1,e)}function U(e){Z.wanted_newline?m(!1,e):G.trim(!0),G.space_before_token=!0,y(),m(!1,e)}function K(){S()||l(Z,!0),"TK_RESERVED"===Y&&A(ee.last_text)?G.space_before_token=!0:b(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Z.text[Z.text.length-1]&&m(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Z)}var G,$,X,Z,Y,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:P,TK_END_EXPR:N,TK_START_BLOCK:L,TK_END_BLOCK:M,TK_WORD:D,TK_RESERVED:D,TK_SEMICOLON:B,TK_STRING:I,TK_EQUALS:F,TK_OPERATOR:H,TK_COMMA:z,TK_BLOCK_COMMENT:q,TK_COMMENT:U,TK_DOT:K,TK_UNKNOWN:V,TK_EOF:W},t=t||{},t=n(t,"js"),ie={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var le=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(ie.brace_style=le[0],ie.brace_preserve_inline=!!le[1]&&le[1],ie.indent_size=t.indent_size?parseInt(t.indent_size,10):4,ie.indent_char=t.indent_char?t.indent_char:" ",ie.eol=t.eol?t.eol:"auto",ie.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,ie.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,ie.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),ie.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,ie.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,ie.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,ie.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,ie.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,ie.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,ie.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,ie.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),ie.e4x=void 0!==t.e4x&&t.e4x,ie.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,ie.comma_first=void 0!==t.comma_first&&t.comma_first,ie.operator_position=a(t.operator_position),ie.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,ie.jslint_happy&&(ie.space_after_anon_function=!0),t.indent_with_tabs&&(ie.indent_char="\t",ie.indent_size=1),"auto"===ie.eol&&(ie.eol="\n",e&&f.lineBreak.test(e||"")&&(ie.eol=e.match(f.lineBreak)[0])),ie.eol=ie.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),J="";ie.indent_size>0;)J+=ie.indent_char,ie.indent_size-=1;var ce=0;if(e&&e.length){for(;" "===e.charAt(ce)||"\t"===e.charAt(ce);)se+=e.charAt(ce),ce+=1;e=e.substring(ce)}Y="TK_START_BLOCK",Q="",G=new c(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new u(e,ie,J),ae=X.tokenize(),$=0,Z=R();Z;)oe[Z.type](),Q=ee.last_text,Y=Z.type,ee.last_text=Z.text,$+=1,Z=R();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ue=["break","continue","return","throw"]}function l(e){var t=0,n=-1,r=[],o=!0;this.set_indent=function(r){t=e.baseIndentLength+r*e.indent_length,n=r},this.get_character_count=function(){return t},this.is_empty=function(){return o},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(e){r.push(e),t+=e.length,o=!1},this.pop=function(){var e=null;return o||(e=r.pop(),t-=e.length,o=0===r.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)r.pop(),t-=1;o=0===r.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=r.join("")),t}}function c(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new l(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return n.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(n.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==h.ForInitializer&&e.mode!==h.Conditional)for(var t=e.start_line_index,r=n.length;t<r;)n[t].remove_indent(),t++},this.trim=function(r){for(r=void 0!==r&&r,this.current_line.trim(e,t);r&&n.length>1&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=n.length>1?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===n.length)return!0;return n[n.length-2].is_empty()}return!1}}function u(e,t){function n(e){if(!e.match(E))return null;var t={};O.lastIndex=0;for(var n=O.exec(e);n;)t[n[1]]=n[2],n=O.exec(e);return t}function i(){var e,i=[];h=0,m="";var g=_.next();if(null===g)return["","TK_EOF"];var E;for(E=y.length?y[y.length-1]:new b("TK_START_BLOCK","{");r(g,s);)if(f.newline.test(g)?"\n"===g&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(g),null===(g=_.next()))return["","TK_EOF"];if(i.length&&(m=i.join("")),l.test(g)||"."===g&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===g&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?c:_.testChar(/[Oo]/)?u:p,g+=_.next()):"."===g?O=!1:(g="",_.back());_.testChar(T);)g+=_.next(),O&&"."===_.peek()&&(g+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(g+=_.next(),_.testChar(/[+-]/)&&(g+=_.next()),j=!1,O=!1);return[g,"TK_WORD"]}if(f.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;f.isIdentifierChar(_.peekCharCode())&&(g+=_.next(),_.hasNext()););return"TK_DOT"===E.type||"TK_RESERVED"===E.type&&r(E.text,["set","get"])||!r(g,w)?[g,"TK_WORD"]:"in"===g||"of"===g?[g,"TK_OPERATOR"]:[g,"TK_RESERVED"]}if("("===g||"["===g)return[g,"TK_START_EXPR"];if(")"===g||"]"===g)return[g,"TK_END_EXPR"];if("{"===g)return[g,"TK_START_BLOCK"];if("}"===g)return[g,"TK_END_BLOCK"];if(";"===g)return[g,"TK_SEMICOLON"];if("/"===g){var A,R="";if("*"===_.peek()){_.next(),A=_.match(x),R="/*"+A[0];var P=n(R);return P&&"start"===P.ignore&&(A=_.match(C),R+=A[0]),R=R.replace(f.allLineBreaks,"\n"),[R,"TK_BLOCK_COMMENT",P]}if("/"===_.peek())return _.next(),A=_.match(k),R="//"+A[0],[R,"TK_COMMENT"]}var N=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===g||"'"===g||'"'===g||("/"===g||t.e4x&&"<"===g&&_.test(N,-1))&&("TK_RESERVED"===E.type&&r(E.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===E.type&&")"===E.text&&E.parent&&"TK_RESERVED"===E.parent.type&&r(E.parent.text,["if","while","for"])||r(E.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=g,M=!1,D=!1;if(e=g,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(f.newline);)e+=_.peek(),M?M=!1:(M="\\"===_.peek(),"["===_.peek()?B=!0:"]"===_.peek()&&(B=!1)),_.next();else if(t.e4x&&"<"===L){var I=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;_.back();var F="",z=_.match(N);if(z){for(var H=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=0===H.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===H||q&&V.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(K?--U:++U),F+=z[0],U<=0)break;z=_.match(I)}return z||(F+=_.match(/[\s\S]*/g)[0]),F=F.replace(f.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!f.newline.test(o)));)(M||n)&&f.newline.test(o)?("\r"===o&&"\n"===_.peek(1)&&(_.next(),o=_.peek()),e+="\n"):e+=o,M?("x"!==o&&"u"!==o||(D=!0),M=!1):M="\\"===o,_.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?G("}",n,"`"):G("`",n,"${"),_.hasNext()&&(e+=_.next()))};"`"===L?G("`",!0,"${"):G(L)}if(D&&t.unescape_strings&&(e=a(e)),_.peek()===L&&(e+=L,_.next(),"/"===L))for(;_.hasNext()&&f.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===g){if(0===y.length&&"!"===_.peek()){for(e=g;_.hasNext()&&"\n"!==g;)g=_.next(),e+=g;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{g=_.next(),$+=g}while(_.hasNext()&&"#"!==g&&"="!==g);return"#"===g||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===g&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return g=X[0],g=g.replace(f.allLineBreaks,"\n"),[g,"TK_STRING"]}if("<"===g&&_.match(/\!--/g)){for(g="\x3c!--";_.hasNext()&&!_.testChar(f.newline);)g+=_.next();return v=!0,[g,"TK_COMMENT"]}if("-"===g&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===g)return"."===_.peek()&&"."===_.peek(1)?(g+=_.next()+_.next(),[g,"TK_OPERATOR"]):[g,"TK_DOT"];if(r(g,d)){for(;_.hasNext()&&r(g+_.peek(),d)&&(g+=_.next(),_.hasNext()););return","===g?[g,"TK_COMMA"]:"="===g?[g,"TK_EQUALS"]:[g,"TK_OPERATOR"]}return[g,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new g(e),o=null;r.hasNext();)if(o=r.match(/([\s]|[^\\]|\\\\)+/g),o&&(t+=o[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())o=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}o=r.match(/u([0-9A-Fa-f]{4})/g)}if(!o)return e;if((n=parseInt(o[1],16))>126&&n<=255&&0===o[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+o[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var s="\n\r\t ".split(""),l=/[0-9]/,c=/[01]/,u=/[01234567]/,p=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var d=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var h,m,v,y,_,w=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=/([\s\S]*?)((?:\*\/)|$)/g,k=/([^\n\r\u2028\u2029]*)/g,E=/\/\* beautify( \w+[:]\w+)+ \*\//g,O=/ (\w+)[:](\w+)/g,C=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,S=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;this.tokenize=function(){_=new g(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new b(r[1],r[0],h,m);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),s.push(t),r=i(),t=new b(r[1],r[0],h,m);s.length&&(t.comments_before=s,s=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,a.push(o),o=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&o&&("]"===t.text&&"["===o.text||")"===t.text&&"("===o.text||"}"===t.text&&"{"===o.text)&&(t.parent=o.parent,t.opened=o,o=a.pop()),y.push(t),n=t}return y}}var f={};!function(e){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n=new RegExp("["+t+"]"),r=new RegExp("["+t+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&n.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}}(f);var p={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[p.before_newline,p.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},g=function(e){var t=e,n=t.length,r=0;this.back=function(){r-=1},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var o=null;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charCodeAt(e)),o},this.test=function(e,n){return n=n||0,e.lastIndex=r+n,e.test(t)},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n}},b=function(e,t,n,r,o){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=r||"",this.parent=o||null,this.opened=null,this.directives=null};return new s(e,t).beautify()}r=[],void 0!==(o=function(){return{js_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){var r,o;!function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(){return(w=e.charAt(++k))||""}function o(t){var n="",o=k;return t&&c(),n=e.charAt(k+1)||"",k=o-1,r(),n}function l(t){for(var n=k;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,k+1)}function c(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&g&&(T.newLine(!0),t++);return p=t,t}function u(t){var n=k;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,k)}return e.substring(n,k)+w}function f(t){return e.substring(k-t.length,k).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var p=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",g=void 0!==t.preserve_newlines&&t.preserve_newlines,b=void 0===t.selector_separator_newline||t.selector_separator_newline,m=void 0!==t.end_with_newline&&t.end_with_newline,v=void 0===t.newline_between_rules||t.newline_between_rules,y=void 0!==t.space_around_combinator&&t.space_around_combinator;y=y||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var _=t.eol?t.eol:"auto";t.indent_with_tabs&&(h="\t",d=1),"auto"===_&&(_="\n",e&&a.test(e||"")&&(_=e.match(a)[0])),_=_.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n");var w,x=/^\s+$/,k=-1,E=0,O=e.match(/^[\t ]*/)[0],C=new Array(d+1).join(h),S=0,j=0,T={};T["{"]=function(e){T.singleSpace(),A.push(e),c(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),c(!0)||T.newLine()},T._lastCharWhitespace=function(){return x.test(A[A.length-1])},T.newLine=function(e){A.length&&(e||"\n"===A[A.length-1]?A[A.length-1]===O&&A.pop():T.trim(),A.push("\n"),O&&A.push(O))},T.singleSpace=function(){A.length&&!T._lastCharWhitespace()&&A.push(" ")},T.preserveSingleSpace=function(){B&&T.singleSpace()},T.trim=function(){for(;T._lastCharWhitespace();)A.pop()};for(var A=[],R=!1,P=!1,N=!1,L="",M="";;){var D=function(){var e="";for(w&&x.test(w)&&(e=w);x.test(r());)e+=w;return e}(),B=""!==D,I=-1!==D.indexOf("\n");if(M=L,L=w,!w)break;if("/"===w&&"*"===o()){var F=0===S;(I||F)&&T.newLine(),A.push(u()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(u()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=k,n=l(e);return k=t-1,r(),n}(": ,;{}()[]/='\"");z.match(/[ :]$/)&&(r(),z=l(": ").replace(/\s$/,""),A.push(z),T.singleSpace()),z=z.replace(/\s$/,""),z in i.NESTED_AT_RULE&&(j+=1,z in i.CONDITIONAL_GROUP_RULE&&(N=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(c(),r(),T.singleSpace(),A.push("{"),T["}"](!1),p<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),N?(N=!1,R=S>j):R=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),R=!1,P=!1,j&&j--,p<2&&v&&0===S&&T.newLine(!0)):":"===w?(c(),!R&&!N||f("&")||function(){for(var t=0,n=k+1;n<e.length;n++){var r=e.charAt(n);if("{"===r)return!0;if("("===r)t+=1;else if(")"===r){if(0===t)return!1;t-=1}else if(";"===r||"}"===r)return!1}return!1}()||f("(")?(f(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),P||(P=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(P=!1,A.push(w),c(!0)||T.newLine()):"("===w?f("url")?(A.push(w),c(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):k--)):(E++,T.preserveSingleSpace(),A.push(w),c()):")"===w?(A.push(w),E--):","===w?(A.push(w),!c(!0)&&b&&!P&&E<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!P&&E<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),c(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(c(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var H="";return O&&(H+=O),H+=A.join("").replace(/[\r\n\t ]+$/,""),m&&(H+="\n"),"\n"!==_&&(H=H.replace(/[\n]/g,_)),H}var a=/\r\n|[\n\r\u2028\u2029]/,s=new RegExp(a.source,"g");i.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},i.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},r=[],void 0!==(o=function(){return{css_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){n(450),e.exports=n(10).Object.keys},function(e,t,n){var r=n(53),o=n(50);n(203)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=i(t),a(e,n,function(e,n){return t(e,n[0])})}var o=n(61),i=n(26),a=n(259),s=n(204);e.exports=r},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(P[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+s(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o<i;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function u(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?L(e/O):e>>1,e+=L(e/t);e>N*k>>1;r+=w)e=L(e/N);return L(r+(N+1)*e/(e+E))}function h(e){var t,n,r,o,i,s,l,c,p,h,g=[],b=e.length,m=0,v=S,y=C;for(n=e.lastIndexOf(j),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<b;){for(i=m,s=1,l=w;o>=b&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=w||c>L((_-m)/s))&&a("overflow"),m+=c*s,p=l<=y?x:l>=y+k?k:l-y,!(c<p);l+=w)h=w-p,s>L(_/h)&&a("overflow"),s*=h;t=g.length+1,y=d(m-i,t,0==i),L(m/t)>_-v&&a("overflow"),v+=L(m/t),m%=t,g.splice(m++,0,v)}return u(g)}function g(e){var t,n,r,o,i,s,l,u,f,h,g,b,m,v,y,E=[];for(e=c(e),b=e.length,t=S,n=0,i=C,s=0;s<b;++s)(g=e[s])<128&&E.push(M(g));for(r=o=E.length,o&&E.push(j);r<b;){for(l=_,s=0;s<b;++s)(g=e[s])>=t&&g<l&&(l=g);for(m=r+1,l-t>L((_-n)/m)&&a("overflow"),n+=(l-t)*m,t=l,s=0;s<b;++s)if(g=e[s],g<t&&++n>_&&a("overflow"),g==t){for(u=n,f=w;h=f<=i?x:f>=i+k?k:f-i,!(u<h);f+=w)y=u-h,v=w-h,E.push(M(p(h+y%v,0))),u=L(y/v);E.push(M(p(u,0))),i=d(n,m,r==o),n=0,++r}++n,++t}return E.join("")}function b(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function m(e){return l(e,function(e){return A.test(e)?"xn--"+g(e):e})}var v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof r&&r);var y,_=2147483647,w=36,x=1,k=26,E=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:c,encode:u},decode:h,encode:g,toASCII:m,toUnicode:b},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(96)(e),n(105))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var f,p,d,h,g=e[u].replace(s,"%20"),b=g.indexOf(n);b>=0?(f=g.substr(0,b),p=g.substr(b+1)):(f=g,p=""),d=decodeURIComponent(f),h=decodeURIComponent(p),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[a]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){function n(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}e.exports=n},function(e,t,n){function r(e,t,n,r){return o(e,function(e,o,i){t(r,e,n(e),i)}),r}var o=n(56);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&a.test(e)?e.replace(i,"\\$&"):e}var o=n(98),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.colors,n=e.value,r=e.onChange;return wp.element.createElement("div",{className:"blocks-color-palette"},t.map(function(e){var t={color:e},o=i()("blocks-color-palette__item",{"is-active":n===e});return wp.element.createElement("div",{key:e,className:"blocks-color-palette__item-wrapper"},wp.element.createElement("button",{type:"button",className:o,style:t,onClick:function(){return r(n===e?void 0:e)},"aria-label":Object(l.sprintf)(Object(l.__)("Color: %s"),e),"aria-pressed":n===e}))}),wp.element.createElement(s.Dropdown,{className:"blocks-color-palette__item-wrapper blocks-color-palette__custom-color",contentClassName:"blocks-color-palette__picker ",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement("button",{type:"button","aria-expanded":t,className:"blocks-color-palette__item",onClick:n,"aria-label":Object(l.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(a.ChromePicker,{color:n,onChangeComplete:function(e){return r(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return r(void 0)}},Object(l.__)("Clear")))}var o=n(17),i=n.n(o),a=n(673),s=(n.n(a),n(1)),l=(n.n(s),n(0)),c=(n.n(l),n(732));n.n(c);t.a=Object(s.withContext)("editor")(function(e){return{colors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(132),i=n(371);e.exports=r},function(e,t,n){e.exports=n(234)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(703),i=r(o),a=n(704),s=r(a),l=n(705),c=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=c.default},function(e,t,n){var r=n(410),o={"&":"&","<":"<",">":">",""":'"',"'":"'"},i=r(o);e.exports=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){return i}t.a=r;var o=n(0),i=(n.n(o),[{slug:"common",title:Object(o.__)("Common Blocks")},{slug:"formatting",title:Object(o.__)("Formatting")},{slug:"layout",title:Object(o.__)("Layout Blocks")},{slug:"widgets",title:Object(o.__)("Widgets")},{slug:"embed",title:Object(o.__)("Embed")},{slug:"reusable-blocks",title:Object(o.__)("My Reusable Blocks")}])},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){var r=n(115),o=n(70),i=n(495),a=n(32),s=n(97),l=n(37),c=Object.prototype,u=c.hasOwnProperty,f=i(function(e,t){if(s(t)||a(t))return void o(t,l(t),e);for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}var o=n(85),i=n(114);e.exports=r},function(e,t,n){"use strict";function r(){console.warn("Attributes matchers are deprecated and they will be removed in a future version of Gutenberg. Please update your attributes definition https://wordpress.org/gutenberg/handbook/reference/attributes/")}function o(e){return e.attributes=c()(e.attributes,function(e){return f()(e.source)?s()({},e,e.source()):e}),e}function i(e){(0,e.addFilter)("registerBlockType","core-matchers",o)}n.d(t,"a",function(){return p}),n.d(t,"f",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"h",function(){return g}),n.d(t,"g",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return v}),t.c=i;var a=n(11),s=n.n(a),l=n(170),c=n.n(l),u=n(121),f=n.n(u),p=function(e,t){return function(){return r(),{source:"attribute",attribute:void 0===t?e:t,selector:void 0===t?void 0:e}}},d=function(e,t){return function(){return r(),{source:"property",property:void 0===t?e:t,selector:void 0===t?void 0:e}}},h=function(e){return function(){return r(),{source:"html",selector:e}}},g=function(e){return function(){return r(),{source:"text",selector:e}}},b=function(e,t){return function(){return r(),{source:"query",selector:e,query:t}}},m=function(e){return function(){return r(),{source:"children",selector:e}}},v=function(e){return function(){return r(),{source:"node",selector:e}}}},function(e,t,n){"use strict";function r(e,t){if(t){if("string"==typeof e){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,o){return n[o]=r(e,t[o]),n},{})}}function o(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Object(c.a)(r,t)}}function i(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=o(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}function a(e){return o(e,"innerHTML")}function s(e){return o(e,"textContent")}function l(e,t){return function(n){var o=n.querySelectorAll(e);return[].map.call(o,function(e){return r(e,t)})}}t.c=r,t.d=o,t.a=i,t.b=a,t.f=s,t.e=l;var c=n(587)},function(e,t,n){"use strict";function r(e){return e.trim().split(T)}function o(e){return r(e).join(" ")}function i(e){return e.attributes.filter(function(e){var t=v()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||_()(L,n)})}function a(e,t){var n=x.a.apply(void 0,b()([e.chars,t.chars].map(o)));return n||M.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function s(e){return e.replace(R,"url($1)")}function l(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=h()(t),r=n[0],o=n.slice(1),i=o.join(":");return[r.trim(),s(i.trim())]});return E()(t)}function c(e,t){if(e.length!==t.length)return M.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(E.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return M.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=D[a];if(c){if(!c(s,l))return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}function u(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function f(e,t){for(var n=[e,t].map(S.tokenize),r=v()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=u(o);){if(!(s=u(i)))return M.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return M.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=B[a.type];if(l&&!l(a,s))return!1}for(;s=u(i);)return M.warning("Expected %o, instead saw end of content.",s),!1;return!0}function p(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return M.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=f(e,r);return o||M.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}t.a=p;var d=n(589),h=n.n(d),g=n(39),b=n.n(g),m=n(171),v=n.n(m),y=n(172),_=n.n(y),w=n(108),x=n.n(w),k=n(590),E=n.n(k),O=n(591),C=n.n(O),S=n(593),j=(n.n(S),n(444)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,R=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,P=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","open","playsinline","readonly","required","reversed","selected","typemustmatch"],N=["autocomplete","contenteditable","crossorigin","dir","dir","draggable","enctype","formenctype","formmethod","inputmode","kind","method","preload","sandbox","scope","shape","spellcheck","step","translate","type","type","workertype","wrap"],L=[].concat(P,N),M=function(){function e(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}(),D={class:function(e,t){return!C.a.apply(void 0,b()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,b()([e,t].map(l)))}},B={StartTag:function(e,t){return e.tagName!==t.tagName?(M.warning("Expected tag name `%s`, instead saw `%s`.",e.tagName,t.tagName),!1):c.apply(void 0,b()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n(594),i=n(251),a=n(69),s=n(98);e.exports=r},function(e,t,n){"use strict";function r(e){return e.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n=t.split(":"),o=r(n[0]||"").trim(),i=(n[1]||"").trim();return o&&i&&(e[o]=i),e},{})}function i(e){return[].concat((0,c.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,i=d[n.replace(/[-:]/,"")]||n;return"style"===i&&(r=o(r)),e[i]=r,e},{})}function a(e,t){return[].concat((0,c.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(h++));var r=s(n,t);return Array.isArray(r)?e.push.apply(e,(0,c.default)(r)):e.push(r),e},[])}function s(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=i(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=a(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,c.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(39),c=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var u=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],f=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],p=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"],d=[].concat(u,f,p).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});d.class="className";var h=0},function(e,t,n){"use strict";var r=n(342),o=window.Node,i=o.ELEMENT_NODE,a=o.TEXT_NODE;t.a=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),o=t.body,s=n.body;for(o.innerHTML=e;o.firstChild;){var l=o.firstChild;l.nodeType===a?l.nodeValue.trim()?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):o.removeChild(l):l.nodeType===i?"BR"===l.nodeName?(l.nextSibling&&"BR"===l.nextSibling.nodeName&&(s.appendChild(document.createElement("P")),o.removeChild(l.nextSibling)),s.lastChild&&"P"===s.lastChild.nodeName&&s.lastChild.hasChildNodes()?s.lastChild.appendChild(l):o.removeChild(l)):"P"===l.nodeName?Object(r.f)(l)?o.removeChild(l):s.appendChild(l):Object(r.g)(l)?(s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):s.appendChild(l):o.removeChild(l)}return s.innerHTML}},function(e,t,n){"use strict";function r(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}var o=window.Node.ELEMENT_NODE;t.a=function(e,t){return function(n){if(n.nodeType===o&&e(n)){var i=t&&t(n);i&&n.appendChild(i),r(n)}}}},function(e,t,n){function r(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}var o=n(80),i=n(84);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"a",function(){return m});var r=n(499),o=n.n(r),i=n(451),a=n.n(i),s=n(37),l=n.n(s),c=n(644),u=n.n(c),f=n(108),p=n.n(f),d=n(378),h=n.n(d),g=function(e){return o()(e,"aria-")},b=function(e){return a()(e,function(e,t){return g(t)&&!u()(e)})},m=function(e,t){var n=l()(b(e)),r=l()(b(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!p()(e[n],t[n])})}}},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(17),h=n.n(d),g=n(648),b=(n.n(g),n(0)),m=(n.n(b),n(2)),v=(n.n(m),n(1)),y=(n.n(v),n(412)),_=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return p()(t,e),l()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded;return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(v.IconButton,{icon:"admin-links",label:Object(b.__)("Edit Link"),onClick:this.toggle,className:h()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement(v.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(b.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(b.__)("Submit"),type:"submit"})))}}]),t}(m.Component);t.a=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(684),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),u=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,u=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+c.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:u.grid})};u.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(236),p=r(f),d=n(176),h=r(d),g=t.ColorWrap=function(e){var t=function(t){function n(e){o(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=s({},h.default.toState(e.color,0)),t.debounce=(0,p.default)(function(e,t,n){e(t,n)},100),t}return a(n,t),l(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(s({},h.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),u.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(c.PureComponent||c.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return o}),n.d(t,"purple",function(){return i}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return c}),n.d(t,"cyan",function(){return u}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return p}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return g}),n.d(t,"amber",function(){return b}),n.d(t,"orange",function(){return m}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return y}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return x}),n.d(t,"lightText",function(){return k}),n.d(t,"darkIcons",function(){return E}),n.d(t,"lightIcons",function(){return O}),n.d(t,"white",function(){return C}),n.d(t,"black",function(){return S});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},g={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},b={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},k={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},O={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},C="#ffffff",S="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:c,cyan:u,teal:f,green:p,lightGreen:d,lime:h,yellow:g,amber:b,orange:m,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:O,white:C,black:S}},function(e,t,n){"use strict";function r(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,l=e.fallbackTextColor;if(!t&&!o||!n&&!l)return null;var c=i()(t||o),u=i()(n||l);if(i.a.isReadable(c,u,{level:"AA",size:r?"large":"small"}))return null;var f=c.getBrightness()<u.getBrightness()?Object(a.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(a.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"blocks-contrast-checker"},wp.element.createElement(s.Notice,{status:"warning",content:f,isDismissible:!1}))}var o=n(733),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(734));n.n(l);t.a=r},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=c(e,l);t=i(t),e-=l;for(var u=o(r,t);++n<e;)t(n);return u}var o=n(250),i=n(371),a=n(69),s=9007199254740991,l=4294967295,c=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(o.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof i.Component?Object(i.createElement)(t):t():t||null}t.a=r;var o=n(1),i=(n.n(o),n(2));n.n(i)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"source",function(){return y});var r=(n(562),n(27));n.d(t,"createBlock",function(){return r.a}),n.d(t,"switchToBlockType",function(){return r.s}),n.d(t,"createReusableBlock",function(){return r.b}),n.d(t,"parse",function(){return r.m}),n.d(t,"getBlockAttributes",function(){return r.c}),n.d(t,"rawHandler",function(){return r.n}),n.d(t,"serialize",function(){return r.p}),n.d(t,"getBlockDefaultClassname",function(){return r.e}),n.d(t,"getBlockContent",function(){return r.d}),n.d(t,"isValidBlock",function(){return r.l}),n.d(t,"getCategories",function(){return r.h}),n.d(t,"registerBlockType",function(){return r.o}),n.d(t,"unregisterBlockType",function(){return r.t}),n.d(t,"setUnknownTypeHandlerName",function(){return r.r}),n.d(t,"getUnknownTypeHandlerName",function(){return r.j}),n.d(t,"setDefaultBlockName",function(){return r.q}),n.d(t,"getDefaultBlockName",function(){return r.i}),n.d(t,"getBlockType",function(){return r.f}),n.d(t,"getBlockTypes",function(){return r.g}),n.d(t,"hasBlockSupport",function(){return r.k});var o=n(407);n.d(t,"addAction",function(){return o.a}),n.d(t,"addFilter",function(){return o.b}),n.d(t,"removeAction",function(){return o.k}),n.d(t,"removeFilter",function(){return o.n}),n.d(t,"removeAllActions",function(){return o.l}),n.d(t,"removeAllFilters",function(){return o.m}),n.d(t,"doAction",function(){return o.f}),n.d(t,"applyFilters",function(){return o.c}),n.d(t,"doingAction",function(){return o.g}),n.d(t,"doingFilter",function(){return o.h}),n.d(t,"didAction",function(){return o.d}),n.d(t,"didFilter",function(){return o.e}),n.d(t,"hasAction",function(){return o.i}),n.d(t,"hasFilter",function(){return o.j});var i=n(417);n.d(t,"AlignmentToolbar",function(){return i.a});var a=n(101);n.d(t,"BlockAlignmentToolbar",function(){return a.a});var s=n(64);n.d(t,"BlockControls",function(){return s.a});var l=n(43);n.d(t,"BlockDescription",function(){return l.a});var c=n(777);n.d(t,"BlockEdit",function(){return c.a});var u=n(511);n.d(t,"BlockIcon",function(){return u.a});var f=n(460);n.d(t,"ColorPalette",function(){return f.a});var p=n(82);n.d(t,"Editable",function(){return p.a});var d=n(778);n.d(t,"EditableProvider",function(){return d.a});var h=n(38);n.d(t,"InspectorControls",function(){return h.a});var g=n(267);n.d(t,"MediaUploadButton",function(){return g.a});var b=n(412);n.d(t,"UrlInput",function(){return b.a});var m=n(505);n.d(t,"UrlInputButton",function(){return m.a});var v=n(496),y={attr:v.a,prop:v.f,text:v.h,html:v.d,query:v.g,node:v.e,children:v.b}},function(e,t,n){"use strict";n(563),n(613),n(650),n(655),n(657),n(660),n(663),n(666),n(668),n(670),n(735),n(738),n(742),n(744),n(746),n(748),n(751),n(755),n(759),n(762),n(765),n(767),n(769),n(771),n(772)},function(e,t,n){"use strict";var r=n(213),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(564)),l=(n.n(s),n(27)),c=n(38),u=n(43);Object(l.o)("core/shortcode",{title:Object(i.__)("Shortcode"),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z0-9_-]+",attributes:{text:{type:"string",shortcode:function(e,t){return t.content}}}}]},supportHTML:!1,supports:{customClassName:!1,className:!1},edit:Object(a.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,s=e.focus,l="blocks-shortcode-input-"+r;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:l},wp.element.createElement(a.Dashicon,{icon:"editor-code"}),Object(i.__)("Shortcode")),wp.element.createElement(o.a,{id:l,autoComplete:"off",value:t.text,placeholder:Object(i.__)("Write shortcode here…"),onChange:function(e){return n({text:e.target.value})}}),s&&wp.element.createElement(c.a,null,wp.element.createElement(u.a,null,wp.element.createElement("p",null,Object(i.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "))),wp.element.createElement("p",null,Object(i.__)("No advanced options."))))}),save:function(e){return e.attributes.text}})},function(e,t){},function(e,t,n){"use strict";function r(){var e={},t={};return{addAction:Object(o.a)(e),addFilter:Object(o.a)(t),removeAction:Object(i.a)(e),removeFilter:Object(i.a)(t),hasAction:Object(a.a)(e),hasFilter:Object(a.a)(t),removeAllActions:Object(i.a)(e,!0),removeAllFilters:Object(i.a)(t,!0),doAction:Object(s.a)(e),applyFilters:Object(s.a)(t,!0),currentAction:Object(l.a)(e),currentFilter:Object(l.a)(t),doingAction:Object(c.a)(e),doingFilter:Object(c.a)(t),didAction:Object(u.a)(e),didFilter:Object(u.a)(t),actions:e,filters:t}}var o=n(566),i=n(567),a=n(568),s=n(569),l=n(570),c=n(571),u=n(572);t.a=r},function(e,t,n){"use strict";function r(e){return function(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(Object(i.a)(t)&&Object(o.a)(n)){if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");var s={callback:r,priority:a,namespace:n};if(e.hasOwnProperty(t)){for(var l=e[t].handlers,c=0;c<l.length&&!(l[c].priority>a);)c++;l.splice(c,0,s),(e.__current||[]).forEach(function(e){e.name===t&&e.currentIndex>=c&&e.currentIndex++})}else e[t]={handlers:[s],runs:0}}}}var o=n(493),i=n(408);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){if(Object(i.a)(n)&&(t||Object(o.a)(r))){if(!e.hasOwnProperty(n))return 0;var a=0;if(t)a=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var s=e[n].handlers,l=s.length-1;l>=0;l--)!function(t){s[t].namespace===r&&(s.splice(t,1),a++,(e.__current||[]).forEach(function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--}))}(l);return a}}}var o=n(493),i=n(408);t.a=r},function(e,t,n){"use strict";function r(e){return function(t){return e.hasOwnProperty(t)?e[t].handlers.length:0}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){if(Object(o.a)(n)){e.hasOwnProperty(n)||(e[n]={runs:0,handlers:[]});for(var r=e[n].handlers,i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];if(!r.length)return t?a[0]:void 0;var l={name:n,currentIndex:0};e.__current=e.__current||[],e.__current.push(l),e[n].runs++;for(var c=a[0];l.currentIndex<r.length;){c=r[l.currentIndex].callback.apply(null,a),t&&(a[0]=c),l.currentIndex++}return e.__current.pop(),t?c:void 0}}}var o=n(408);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}}t.a=r},function(e,t,n){"use strict";function r(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e){return function(t){if(Object(o.a)(t))return e.hasOwnProperty(t)&&e[t].runs?e[t].runs:0}}var o=n(408);t.a=r},function(e,t,n){"use strict";function r(e){return Object(u.k)(e,"anchor")&&(e.attributes=l()(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}function o(e,t){return Object(u.k)(t.name,"anchor")&&t.focus&&(e=[e,wp.element.createElement(f.a,{key:"inspector-anchor"},wp.element.createElement(f.a.TextControl,{label:Object(c.__)("HTML Anchor"),help:Object(c.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(p,"-"),t.setAttributes({anchor:e})}}))]),e}function i(e,t,n){return Object(u.k)(t,"anchor")&&(e.id=n.anchor),e}function a(e){var t=e.addFilter;t("registerBlockType","core-anchor-attribute",r),t("BlockEdit","core-anchor-inspector-control",o),t("getSaveContent.extraProps","core-anchor-save-props",i)}t.a=a;var s=n(494),l=n.n(s),c=n(0),u=(n.n(c),n(27)),f=n(38),p=/[\s#]/g},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.heading,r=e.checked,o=e.help,a=e.instanceId,l=e.onChange,u=s()(e,["label","heading","checked","help","instanceId","onChange"]),f="inspector-checkbox-control-"+a,p=function(e){return l(e.target.value)};return wp.element.createElement(c.a,{label:n,id:f,help:o},wp.element.createElement("input",i()({id:f,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:p,checked:r,"aria-describedby":o?f+"__help":void 0},u)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:f},t))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(576);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.selected,r=e.help,o=e.instanceId,a=e.onChange,l=e.options,c=void 0===l?[]:l,u="inspector-radio-control-"+o,f=function(e){return a(e.target.value)};return!i()(c)&&wp.element.createElement(s.a,{label:t,id:u,help:r,className:"blocks-radio-control"},c.map(function(e,t){return wp.element.createElement("div",{key:u+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:u+"-"+t,className:"blocks-radio-control__input",type:"radio",name:u,value:e.value,onChange:f,selected:e.value===n,"aria-describedby":r?u+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:u+"-"+t},e.label))}))}var o=n(256),i=n.n(o),a=n(1),s=(n.n(a),n(199)),l=n(578);n.n(l);t.a=Object(a.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.rows,u=void 0===l?4:l,f=s()(e,["label","value","help","instanceId","onChange","rows"]),p="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:p,rows:u,onChange:d,"aria-describedby":r?p+"__help":void 0,value:n},f)))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(583);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Object(p.k)(e,"customClassName",!0)&&(e.attributes=l()(e.attributes,{className:{type:"string"}})),e}function o(e,t){return Object(p.k)(t.name,"customClassName",!0)&&t.focus&&(e=[e,wp.element.createElement(d.a,{key:"inspector-custom-class-name"},wp.element.createElement(d.a.TextControl,{label:Object(f.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))]),e}function i(e,t,n){return Object(p.k)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e}function a(e){var t=e.addFilter;t("registerBlockType","core-custom-class-name-attribute",r),t("BlockEdit","core-custom-class-name-inspector-control",o),t("getSaveContent.extraProps","core-custom-class-name-save-props",i)}t.a=a;var s=n(494),l=n.n(s),c=n(17),u=n.n(c),f=n(0),p=(n.n(f),n(27)),d=n(38)},function(e,t,n){"use strict";function r(e,t){if(Object(s.k)(t,"className",!0)){var n=a()(Object(s.e)(t.name),e.className);e.className=n}return e}function o(e){(0,e.addFilter)("getSaveContent.extraProps","core-generated-class-name-save-props",r)}t.a=o;var i=n(17),a=n.n(i),s=n(27)},function(e,t,n){"use strict";function r(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}t.a=r},function(e,t,n){"use strict";function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}function o(e,t){function n(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function i(e){return{type:"other",description:e}}function a(t){var n,r=ve[t];if(r)return r;for(n=t-1;!ve[n];)n--;for(r=ve[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return ve[t]=r,r}function s(e,t){var n=a(e),r=a(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function l(e){be<ye||(be>ye&&(ye=be,_e=[]),_e.push(e))}function c(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function u(){var t,n,r,o,i,a,s,c,u,p;for(t=be,n=be,r=[],o=be,i=be,we++,a=f(),we--,a===j?i=void 0:(be=i,i=j),i!==j?(e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R)),a!==j?(i=[i,a],o=i):(be=o,o=j)):(be=o,o=j);o!==j;)r.push(o),o=be,i=be,we++,a=f(),we--,a===j?i=void 0:(be=i,i=j),i!==j?(e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R)),a!==j?(i=[i,a],o=i):(be=o,o=j)):(be=o,o=j);if((n=r!==j?e.substring(n,be):r)!==j){if(r=[],o=be,(i=f())!==j){for(a=be,s=[],c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);c!==j;)s.push(c),c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);a=s!==j?e.substring(a,be):s,a!==j?(me=o,i=P(n,i,a),o=i):(be=o,o=j)}else be=o,o=j;for(;o!==j;)if(r.push(o),o=be,(i=f())!==j){for(a=be,s=[],c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);c!==j;)s.push(c),c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);a=s!==j?e.substring(a,be):s,a!==j?(me=o,i=P(n,i,a),o=i):(be=o,o=j)}else be=o,o=j;if(r!==j){for(o=be,i=[],e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R));a!==j;)i.push(a),e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R));o=i!==j?e.substring(o,be):i,o!==j?(me=t,n=N(n,r,o),t=n):(be=t,t=j)}else be=t,t=j}else be=t,t=j;return t}function f(){var e;return e=p(),e===j&&(e=d())===j&&(e=h()),e}function p(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){for(r=[],o=x();o!==j;)r.push(o),o=x();if(r!==j)if(e.substr(be,4)===D?(o=D,be+=4):(o=j,0===we&&l(B)),o!==j){if(i=be,a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){for(s=be,c=[],u=be,f=be,we++,p=be,d=[],h=x();h!==j;)d.push(h),h=x();if(d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(be=p,p=j)):(be=p,p=j),we--,p===j?f=void 0:(be=f,f=j),f!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(f=[f,p],u=f):(be=u,u=j)):(be=u,u=j),u!==j)for(;u!==j;){for(c.push(u),u=be,f=be,we++,p=be,d=[],h=x();h!==j;)d.push(h),h=x();d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(be=p,p=j)):(be=p,p=j),we--,p===j?f=void 0:(be=f,f=j),f!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(f=[f,p],u=f):(be=u,u=j)):(be=u,u=j)}else c=j;s=c!==j?e.substring(s,be):c,s!==j?(me=i,a=z(s),i=a):(be=i,i=j)}else be=i,i=j;if(i===j&&(i=null),i!==j){for(a=[],s=x();s!==j;)a.push(s),s=x();if(a!==j)if(e.substr(be,3)===I?(s=I,be+=3):(s=j,0===we&&l(F)),s!==j){for(c=be,u=[],f=x();f!==j;)u.push(f),f=x();u!==j?(e.substr(be,15)===H?(f=H,be+=15):(f=j,0===we&&l(q)),f!==j?(u=[u,f],c=u):(be=c,c=j)):(be=c,c=j),c===j&&(c=null),c!==j?(me=t,n=U(i,c),t=n):(be=t,t=j)}else be=t,t=j;else be=t,t=j}else be=t,t=j}else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function d(){var t,n,r,o,i,a,s,c,u,f;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,3)===K?(o=K,be+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=be,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(be=s,s=j)}else be=s,s=j;s===j&&(s=null),s!==j?(e.substr(be,4)===G?(c=G,be+=4):(c=j,0===we&&l($)),c!==j?(me=t,n=X(i,s),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function h(){var t,n,r,o,i,a,s;if(t=be,(n=g())!==j){for(r=[],o=f(),o===j&&(o=be,i=be,a=be,we++,s=b(),we--,s===j?a=void 0:(be=a,a=j),a!==j?(e.length>be?(s=e.charAt(be),be++):(s=j,0===we&&l(R)),s!==j?(a=[a,s],i=a):(be=i,i=j)):(be=i,i=j),o=i!==j?e.substring(o,be):i);o!==j;)r.push(o),(o=f())===j&&(o=be,i=be,a=be,we++,s=b(),we--,s===j?a=void 0:(be=a,a=j),a!==j?(e.length>be?(s=e.charAt(be),be++):(s=j,0===we&&l(R)),s!==j?(a=[a,s],i=a):(be=i,i=j)):(be=i,i=j),o=i!==j?e.substring(o,be):i);r!==j?(o=b(),o!==j?(me=t,n=Z(n,r,o),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j;return t}function g(){var t,n,r,o,i,a,s,c,u,f;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,3)===K?(o=K,be+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=be,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(be=s,s=j)}else be=s,s=j;s===j&&(s=null),s!==j?(e.substr(be,3)===I?(c=I,be+=3):(c=j,0===we&&l(F)),c!==j?(me=t,n=Y(i,s),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function b(){var t,n,r,o,i,a,s;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,4)===Q?(o=Q,be+=4):(o=j,0===we&&l(J)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;a!==j?(e.substr(be,3)===I?(s=I,be+=3):(s=j,0===we&&l(F)),s!==j?(me=t,n=ee(i),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function m(){var e;return e=v(),e===j&&(e=y()),e}function v(){var t,n,r,o,i;return t=be,n=be,r=_(),r!==j?(47===e.charCodeAt(be)?(o=te,be++):(o=j,0===we&&l(ne)),o!==j?(i=_(),i!==j?(r=[r,o,i],n=r):(be=n,n=j)):(be=n,n=j)):(be=n,n=j),t=n!==j?e.substring(t,be):n}function y(){var t,n,r;return t=be,n=be,r=_(),n=r!==j?e.substring(n,be):r,n!==j&&(me=t,n=re(n)),t=n}function _(){var t,n,r,o,i;if(t=be,n=be,oe.test(e.charAt(be))?(r=e.charAt(be),be++):(r=j,0===we&&l(ie)),r!==j){for(o=[],ae.test(e.charAt(be))?(i=e.charAt(be),be++):(i=j,0===we&&l(se));i!==j;)o.push(i),ae.test(e.charAt(be))?(i=e.charAt(be),be++):(i=j,0===we&&l(se));o!==j?(r=[r,o],n=r):(be=n,n=j)}else be=n,n=j;return t=n!==j?e.substring(t,be):n}function w(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=be,n=be,r=be,123===e.charCodeAt(be)?(o=le,be++):(o=j,0===we&&l(ce)),o!==j){if(i=[],a=be,s=be,we++,c=be,125===e.charCodeAt(be)?(u=ue,be++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(be)?(d=te,be++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)}else be=c,c=j;for(we--,c===j?s=void 0:(be=s,s=j),s!==j?(e.length>be?(c=e.charAt(be),be++):(c=j,0===we&&l(R)),c!==j?(s=[s,c],a=s):(be=a,a=j)):(be=a,a=j);a!==j;){if(i.push(a),a=be,s=be,we++,c=be,125===e.charCodeAt(be)?(u=ue,be++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(be)?(d=te,be++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)}else be=c,c=j;we--,c===j?s=void 0:(be=s,s=j),s!==j?(e.length>be?(c=e.charAt(be),be++):(c=j,0===we&&l(R)),c!==j?(s=[s,c],a=s):(be=a,a=j)):(be=a,a=j)}i!==j?(125===e.charCodeAt(be)?(a=ue,be++):(a=j,0===we&&l(fe)),a!==j?(o=[o,i,a],r=o):(be=r,r=j)):(be=r,r=j)}else be=r,r=j;return n=r!==j?e.substring(n,be):r,n!==j&&(me=t,n=de(n)),t=n}function x(){var t;return he.test(e.charAt(be))?(t=e.charAt(be),be++):(t=j,0===we&&l(ge)),t}function k(e){return e.length&&{attrs:{},innerHTML:e}}function E(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(k(e)),r=0,o=t.length;r<o;r++)a=t[r],s=a[0],i=a[1],l.push(s),i.length&&l.push(k(i));return n.length&&l.push(k(n)),l}function O(e){try{return JSON.parse(e)}catch(e){return null}}function C(e,t){var n,r,o,i=[],a=[];for(n=0,r=t.length;n<r;n++)o=t[n],e(o)?i.push(o):a.push(o);return[i,a]}t=void 0!==t?t:{};var S,j={},T={Block_List:u},A=u,R=function(){return{type:"any"}}(),P=function(e,t,n){return[t,n]},N=function(e,t,n){return E(e,t,n)},L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(e){return e},H="\x3c!--noteaser--\x3e",q=n("\x3c!--noteaser--\x3e",!1),U=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},innerHTML:""}},K="wp:",V=n("wp:",!1),W=function(e,t){return t},G="/--\x3e",$=n("/--\x3e",!1),X=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},Z=function(e,t,n){var r=C(function(e){return"string"==typeof e},t),o=r[0],i=r[1];return{blockName:e.blockName,attrs:e.attrs,innerBlocks:i,innerHTML:o.join("")}},Y=function(e,t){return{blockName:e,attrs:t}},Q="/wp:",J=n("/wp:",!1),ee=function(e){return{blockName:e}},te="/",ne=n("/",!1),re=function(e){return"core/"+e},oe=/^[a-z]/,ie=o([["a","z"]],!1,!1),ae=/^[a-z0-9_\-]/,se=o([["a","z"],["0","9"],"_","-"],!1,!1),le="{",ce=n("{",!1),ue="}",fe=n("}",!1),pe="",de=function(e){return O(e)},he=/^[ \t\r\n]/,ge=o([" ","\t","\r","\n"],!1,!1),be=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),me=0,ve=[{line:1,column:1}],ye=0,_e=[],we=0;if("startRule"in t){if(!(t.startRule in T))throw new Error("Can't start parsing from rule \""+t.startRule+'".');A=T[t.startRule]}if((S=A())!==j&&be===e.length)return S;throw S!==j&&be<e.length&&l(function(){return{type:"end"}}()),c(_e,ye<e.length?e.charAt(ye):null,ye<e.length?s(ye,ye+1):s(ye,ye))}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function i(e){return a[e.type](e)}var a={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=i(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:o}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(86),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}e.exports=n},function(e,t,n){var r=n(165),o=n(85),i=n(592),a=n(173),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,l=Array(r);++s<r;)for(var c=e[s],u=-1;++u<r;)u!=s&&(l[s]=o(l[s]||c,e[u],t,n));return a(i(l,1),t,n)}var o=n(201),i=n(116),a=n(340);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return u.test(e)}function n(e){return f.test(e)}function r(e){return e.replace(p,"\n")}function o(e,t){return new h(new c(i),t).tokenize(e)}var i={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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:""},a=/^#[xX]([A-Fa-f0-9]+)$/,s=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,c=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(a);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(s))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(l),t?this.named[t[1]]:void 0)}},e}(),u=/[\t\n\f ]/,f=/[A-Za-z]/,p=/\r\n?/g,d=function(){function e(e,r){this.delegate=e,this.entityParser=r,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":n(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();t(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();t(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();t(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();t(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();t(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();n(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=r(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),h=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new d(this,e)}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.addLocInfo=function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},e.prototype.appendToAttributeName=function(e){this.currentAttribute[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute[1]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}();e.HTML5NamedCharRefs=i,e.EntityParser=c,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=function(t,n){return e.js_beautify(t,n)};return r.js=e.js_beautify,r.css=t.css_beautify,r.html=n.html_beautify,r.js_beautify=e.js_beautify,r.css_beautify=t.css_beautify,r.html_beautify=n.html_beautify,r}var o,i;o=[n(447),n(448),n(596)],void 0!==(i=function(e,t,n){return r(e,t,n)}.apply(t,o))&&(e.exports=i)},function(e,t,n){var r,o;!function(){function i(e){return e.replace(/^\s+/g,"")}function a(e){return e.replace(/\s+$/g,"")}function s(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function l(e,t,n,r){function o(){function e(e){var t="";return{add:function(n){var r=t+n.toLowerCase();t=r.length<=e.length?r:r.substr(r.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=f,this.indent_body_inner_html=p,this.indent_head_inner_html=d,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:T,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)_&&"\n"===e&&this.newlines<=w&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),x){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var r=this.input.substr(this.pos,3);if("{{#"===r||"{{/"===r)break;if("{{!"===r)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</"+e+"\\s*>","igm");n.lastIndex=this.pos;var r=n.exec(this.input),o=r?r.index:this.input.length;return this.pos<o&&(t=this.input.substring(this.pos,o),this.pos=o),t},this.record_tag=function(e){this.tags[e+"count"]?(this.tags[e+"count"]++,this.tags[e+this.tags[e+"count"]]=this.indent_level):(this.tags[e+"count"]=1,this.tags[e+this.tags[e+"count"]]=this.indent_level),this.tags[e+this.tags[e+"count"]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags[e+"count"]},this.retrieve_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags[e+"count"]+"parent"],delete this.tags[e+this.tags[e+"count"]],1===this.tags[e+"count"]?delete this.tags[e+"count"]:this.tags[e+"count"]--}},this.indent_to_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]])}},this.get_tag=function(e){var t,n,r,o="",i=[],a="",s=!1,l=!0,c=!1,u=this.pos,f=this.line_char_count,p=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=u,this.line_char_count=f),i.length?i.join(""):["","TK_EOF"];if(o=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(o,this.Utils.whitespace))s=!0;else{if("'"!==o&&'"'!==o||(o+=this.get_unformatted(o),s=!0),"="===o&&(s=!1),r=this.input.substr(this.pos-1),!C||!c||p||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,p=!0,this.print_newline(!1,i),this.print_indentation(i)),i.length&&"="!==i[i.length-1]&&">"!==o&&s){var d=this.space_or_wrap(i),h=d&&"/"!==o&&!O;if(s=!1,O&&"/"!==o){var g=!1;if(C&&l){g=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!g||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){c=!0;var b=E;S&&(b=i.indexOf(" ")+1);for(var m=0;m<b;m++)i.push(" ")}if(l)for(var _=0;_<i.length;_++)if(" "===i[_]){l=!1;break}}if(x&&"<"===n&&o+this.input.charAt(this.pos)==="{{"&&(o+=this.get_unformatted("}}"),i.length&&" "!==i[i.length-1]&&"<"!==i[i.length-1]&&(o=" "+o),s=!0),"<"!==o||n||(t=this.pos-1,n="<"),x&&!n&&i.length>=2&&"{"===i[i.length-1]&&"{"===i[i.length-2]&&(t="#"===o||"/"===o||"!"===o?this.pos-3:this.pos-2,n="{"),this.line_char_count++,i.push(o),i[1]&&("!"===i[1]||"?"===i[1]||"%"===i[1])){i=[this.get_comment(t)];break}if(x&&i[1]&&"{"===i[1]&&i[2]&&"!"===i[2]){i=[this.get_comment(t)];break}if(x&&"{"===n&&i.length>2&&"}"===i[i.length-2]&&"}"===i[i.length-1])break}}while(">"!==o);var w,k,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),k="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(k,w).toLowerCase();return"/"===j.charAt(j.length-2)||this.Utils.in_array(T,this.Utils.single_token)?e||(this.tag_type="SINGLE"):x&&"{"===j.charAt(0)&&"else"===T?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(T,v)||this.is_unformatted(T,y)?(a=this.get_unformatted("</"+T+">",j),i.push(a),this.pos-1,this.tag_type="SINGLE"):"script"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(T),this.tag_type="SCRIPT"):"style"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search("text/css")>-1)?e||(this.record_tag(T),this.tag_type="STYLE"):"!"===T.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===T.charAt(0)?(this.retrieve_tag(T.substring(1)),this.tag_type="END"):(this.record_tag(T),"html"!==T.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(i),this.Utils.in_array(T,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=u,this.line_char_count=f),i.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var o=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=o,t.charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",r=!0):0===t.indexOf("{{!--")?(n="--}}",r=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),o=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(t,n){if(n&&-1!==n.toLowerCase().indexOf(t))return"";var r="",o="",i=!0,a=e(t);do{if(this.pos>=this.input.length)return o;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!i){this.line_char_count--;continue}if("\n"===r||"\r"===r){o+="\n",this.line_char_count=0;continue}}o+=r,a.add(r),this.line_char_count++,i=!0,x&&"{"===r&&o.length&&"{"===o.charAt(o.length-2)&&(o+=this.get_unformatted("}}"))}while(a.doesNotMatch());return o},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if("string"!=typeof(e=this.get_tag()))return e;return[e,"TK_TAG_"+this.tag_type]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),r=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(r&&!this.Utils.in_array(r[1],t))},this.printer=function(e,t,n,r,o){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=o,this.indent_level=0,this.wrap_line_length=r,this.line_char_count=0;for(var s=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!==t[t.length-1])&&("\n"!==t[t.length-1]&&(t[t.length-1]=a(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=i(e)),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=a(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(t>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var l,f,p,d,h,g,b,m,v,y,_,w,x,k,E,O,C,S,j,T,A;for(t=t||{},t=s(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),f=void 0!==t.indent_inner_html&&t.indent_inner_html,p=void 0===t.indent_body_inner_html||t.indent_body_inner_html,d=void 0===t.indent_head_inner_html||t.indent_head_inner_html,h=void 0===t.indent_size?4:parseInt(t.indent_size,10),g=void 0===t.indent_char?" ":t.indent_char,m=void 0===t.brace_style?"collapse":t.brace_style,b=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),v=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],y=t.content_unformatted||["pre"],_=void 0===t.preserve_newlines||t.preserve_newlines,w=_?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,x=void 0!==t.indent_handlebars&&t.indent_handlebars,k=void 0===t.wrap_attributes?"auto":t.wrap_attributes,E=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===k.substr(0,"force".length),C="force-expand-multiline"===k,S="force-aligned"===k,j=void 0!==t.end_with_newline&&t.end_with_newline,T="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),A=t.eol?t.eol:"auto",t.indent_with_tabs&&(g="\t",h=1),"auto"===A&&(A="\n",e&&c.test(e||"")&&(A=e.match(c)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n"),l=new o,l.printer(e,g,h,b,m);;){var R=l.get_token();if(l.token_text=R[0],l.token_type=R[1],"TK_EOF"===l.token_type)break;switch(l.token_type){case"TK_TAG_START":l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(!l.indent_body_inner_html&&l.token_text.match(/<body(?:.*)>/)||!l.indent_head_inner_html&&l.token_text.match(/<head(?:.*)>/)||l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===l.last_token&&""===l.last_text){var P=(l.token_text.match(/\w+/)||[])[0],N=null;l.output.length&&(N=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===N||N[1]!==P&&!l.Utils.in_array(N[1],v))&&l.print_newline(!1,l.output)}l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var L=l.token_text.match(/^\s*<([a-z-]+)/i);L&&l.Utils.in_array(L[1],v)||l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var M=!1,D=l.output.length-1;D>=0&&"\n"!==l.output[D];D--)if(l.output[D].match(/{{#if/)){M=!0;break}M||l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":l.print_token(l.token_text),l.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==l.token_text){l.print_newline(!1,l.output);var B,I=l.token_text,F=1;"TK_SCRIPT"===l.token_type?B="function"==typeof n&&n:"TK_STYLE"===l.token_type&&(B="function"==typeof r&&r),"keep"===t.indent_scripts?F=0:"separate"===t.indent_scripts&&(F=-l.indent_level);var z=l.get_full_indent(F);if(B){var H=function(){this.eol="\n"};H.prototype=t;var q=new H;I=B(I.replace(/^\s*/,z),q)}else{var U=I.match(/^\s*/)[0],K=U.match(/[^\n\r]*$/)[0].split(l.indent_string).length-1,V=l.get_full_indent(F-K);I=I.replace(/^\s*/,z).replace(/\r\n|\r|\n/g,"\n"+V).replace(/\s+$/,"")}I&&(l.print_token_raw(I),l.print_newline(!0,l.output))}l.current_mode="TAG";break;default:""!==l.token_text&&l.print_token(l.token_text)}l.last_token=l.token_type,l.last_text=l.token_text}var W=l.output.join("").replace(/[\r\n\t ]+$/,"");return j&&(W+="\n"),"\n"!==A&&(W=W.replace(/[\n]/g,A)),W}var c=/\r\n|[\n\r\u2028\u2029]/,u=new RegExp(c.source,"g");r=[n,n(447),n(448)],void 0!==(o=function(e){var t=n(447),r=n(448);return{html_beautify:function(e,n){return l(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var r=n(2),o=(n.n(r),n(500)),i=(n.n(o),n(497));n.d(t,"a",function(){return i.a}),n.d(t,"e",function(){return i.d}),n.d(t,"c",function(){return i.b}),n.d(t,"g",function(){return i.f}),n.d(t,"f",function(){return i.e});var a=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(o.nodeListToReact)(n.childNodes||[],r.createElement):[]}},s=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(o.nodeToReact)(n,r.createElement)}}},function(e,t,n){"use strict";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,a=void 0===o?"AUTO":o;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(b.c)(t);if(r&&Object(T.k)(t)&&-1!==r.indexOf("\n\n")){var l=new d.a.Converter;l.setOption("noHeaderId",!0),l.setOption("tables",!0),t=l.makeHtml(r)}return"INLINE"===a||"AUTO"===a&&Object(w.a)(t)?(t=Object(T.a)(t,[x.a,v.a,y.a,Object(_.a)(function(e){return!Object(T.g)(e)})]),window.console.log("Processed inline HTML:\n\n",t),t):Object(A.a)(t).reduce(function(e,t){if("string"!=typeof t)return[].concat(s()(e),[t]);t=Object(T.a)(t,[k.a]),t=Object(T.a)(t,[E.a,O.a,x.a,v.a,y.a,Object(_.a)(T.j),C.a,S.a,j.a]),t=Object(T.a)(t,[Object(_.a)(T.i)]),t=Object(m.a)(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=i()(n.body.children).map(function(e){var t=Object(g.b)().reduce(function(t,n){if(t)return t;var r=c()(n,"transforms.from",[]),o=f()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?o.transform?o.transform(e):Object(h.a)(n.name,Object(b.b)(n,e.outerHTML)):t},null);return t||Object(h.a)(Object(g.d)(),{content:e.outerHTML})});return[].concat(s()(e),s()(r))},[])}t.a=r;var o=n(86),i=n.n(o),a=n(39),s=n.n(a),l=n(55),c=n.n(l),u=n(54),f=n.n(u),p=n(599),d=n.n(p),h=n(405),g=n(219),b=n(443),m=n(501),v=n(600),y=n(601),_=n(502),w=n(602),x=n(603),k=n(604),E=n(605),O=n(606),C=n(607),S=n(608),j=n(609),T=n(342),A=n(610)},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
|
12 |
-
(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function i(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};s.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var i=n+" sub-extension "+o+": ",a=e[o];if("object"!=typeof a)return r.valid=!1,r.error=i+"must be an object, but "+typeof a+" given",r;if(!s.helper.isString(a.type))return r.valid=!1,r.error=i+'property "type" must be a string, but '+typeof a.type+" given",r;var l=a.type=a.type.toLowerCase();if("language"===l&&(l=a.type="lang"),"html"===l&&(l=a.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=i+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(s.helper.isUndefined(a.listeners))return r.valid=!1,r.error=i+'. Extensions of type "listener" must have a property called "listeners"',r}else if(s.helper.isUndefined(a.filter)&&s.helper.isUndefined(a.regex))return r.valid=!1,r.error=i+l+' extensions must define either a "regex" property or a "filter" method',r;if(a.listeners){if("object"!=typeof a.listeners)return r.valid=!1,r.error=i+'"listeners" property must be an object but '+typeof a.listeners+" given",r;for(var c in a.listeners)if(a.listeners.hasOwnProperty(c)&&"function"!=typeof a.listeners[c])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof a.listeners[c]+" given",r}if(a.filter){if("function"!=typeof a.filter)return r.valid=!1,r.error=i+'"filter" must be a function, but '+typeof a.filter+" given",r}else if(a.regex){if(s.helper.isString(a.regex)&&(a.regex=new RegExp(a.regex,"g")),!(a.regex instanceof RegExp))return r.valid=!1,r.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof a.regex+" given",r;if(s.helper.isUndefined(a.replace))return r.valid=!1,r.error=i+'"regex" extensions must implement a replace string or function',r}}return r}function a(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}var s={},l={},c={},u=o(!0),f="vanilla",p={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};s.helper={},s.extensions={},s.setOption=function(e,t){"use strict";return u[e]=t,this},s.getOption=function(e){"use strict";return u[e]},s.getOptions=function(){"use strict";return u},s.resetOptions=function(){"use strict";u=o(!0)},s.setFlavor=function(e){"use strict";if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=p[e];f=e;for(var n in t)t.hasOwnProperty(n)&&(u[n]=t[n])},s.getFlavor=function(){"use strict";return f},s.getFlavorOptions=function(e){"use strict";if(p.hasOwnProperty(e))return p[e]},s.getDefaultOptions=function(e){"use strict";return o(e)},s.subParser=function(e,t){"use strict";if(s.helper.isString(e)){if(void 0===t){if(l.hasOwnProperty(e))return l[e];throw Error("SubParser named "+e+" not registered!")}l[e]=t}},s.extension=function(e,t){"use strict";if(!s.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=s.helper.stdExtName(e),s.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);c[e]=t},s.getAllExtensions=function(){"use strict";return c},s.removeExtension=function(e){"use strict";delete c[e]},s.resetExtensions=function(){"use strict";c={}},s.validateExtension=function(e){"use strict";var t=i(e,null);return!!t.valid||(console.warn(t.error),!1)},s.hasOwnProperty("helper")||(s.helper={}),s.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},s.helper.isFunction=function(e){"use strict";var t={};return e&&"[object Function]"===t.toString.call(e)},s.helper.isArray=function(e){"use strict";return Array.isArray(e)},s.helper.isUndefined=function(e){"use strict";return void 0===e},s.helper.forEach=function(e,t){"use strict";if(s.helper.isUndefined(e))throw new Error("obj param is required");if(s.helper.isUndefined(t))throw new Error("callback param is required");if(!s.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(s.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},s.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},s.helper.escapeCharactersCallback=a,s.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,a)};var d=function(e,t,n,r){"use strict";var o,i,a,s,l,c=r||"",u=c.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),p=new RegExp(t,c.replace(/g/g,"")),d=[];do{for(o=0;a=f.exec(e);)if(p.test(a[0]))o++||(i=f.lastIndex,s=i-a[0].length);else if(o&&!--o){l=a.index+a[0].length;var h={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:s,end:l}};if(d.push(h),!u)return d}}while(o&&(f.lastIndex=i));return d};s.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=d(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},s.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!s.helper.isFunction(t)){var i=t;t=function(){return i}}var a=d(e,n,r,o),l=e,c=a.length;if(c>0){var u=[];0!==a[0].wholeMatch.start&&u.push(e.slice(0,a[0].wholeMatch.start));for(var f=0;f<c;++f)u.push(t(e.slice(a[f].wholeMatch.start,a[f].wholeMatch.end),e.slice(a[f].match.start,a[f].match.end),e.slice(a[f].left.start,a[f].left.end),e.slice(a[f].right.start,a[f].right.end))),f<c-1&&u.push(e.slice(a[f].wholeMatch.end,a[f+1].wholeMatch.start));a[c-1].wholeMatch.end<e.length&&u.push(e.slice(a[c-1].wholeMatch.end)),l=u.join("")}return l},s.helper.regexIndexOf=function(e,t,n){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},s.helper.splitAtIndex=function(e,t){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},s.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),s.helper.regexes={asteriskAndDash:/([*_])/g},s.Converter=function(e){"use strict";function t(e,t){if(t=t||null,s.helper.isString(e)){if(e=s.helper.stdExtName(e),t=e,s.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void n(s.extensions[e],e);if(s.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),s.helper.isArray(e)||(e=[e]);var o=i(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":l.push(e[a]);break;case"output":d.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var u in e[a].listeners)e[a].listeners.hasOwnProperty(u)&&r(u,e[a].listeners[u])}}function n(e,t){"function"==typeof e&&(e=e(new s.Converter)),s.helper.isArray(e)||(e=[e]);var n=i(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":l.push(e[r]);break;case"output":d.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function r(e,t){if(!s.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");h.hasOwnProperty(e)||(h[e]=[]),h[e].push(t)}function o(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}var a={},l=[],d=[],h={},g=f;!function(){e=e||{};for(var n in u)u.hasOwnProperty(n)&&(a[n]=u[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r]);a.extensions&&s.helper.forEach(a.extensions,t)}(),this._dispatch=function(e,t,n,r){if(h.hasOwnProperty(e))for(var o=0;o<h[e].length;++o){var i=h[e][o](e,t,this,n,r);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return r(e,t),this},this.makeHtml=function(e){if(!e)return e;var t={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:l,outputModifiers:d,converter:this,ghCodeBlocks:[]};return e=e.replace(/¨/g,"¨T"),e=e.replace(/\$/g,"¨D"),e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/\u00A0/g," "),a.smartIndentationFix&&(e=o(e)),e="\n\n"+e+"\n\n",e=s.subParser("detab")(e,a,t),e=e.replace(/^[ \t]+$/gm,""),s.helper.forEach(l,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e=s.subParser("hashPreCodeTags")(e,a,t),e=s.subParser("githubCodeBlocks")(e,a,t),e=s.subParser("hashHTMLBlocks")(e,a,t),e=s.subParser("hashCodeTags")(e,a,t),e=s.subParser("stripLinkDefinitions")(e,a,t),e=s.subParser("blockGamut")(e,a,t),e=s.subParser("unhashHTMLSpans")(e,a,t),e=s.subParser("unescapeSpecialChars")(e,a,t),e=e.replace(/¨D/g,"$$"),e=e.replace(/¨T/g,"¨"),s.helper.forEach(d,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e},this.setOption=function(e,t){a[e]=t},this.getOption=function(e){return a[e]},this.getOptions=function(){return a},this.addExtension=function(e,n){n=n||null,t(e,n)},this.useExtension=function(e){t(e)},this.setFlavor=function(e){if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=p[e];g=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return g},this.removeExtension=function(e){s.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],r=0;r<l.length;++r)l[r]===n&&l[r].splice(r,1);for(;0<d.length;++r)d[0]===n&&d[0].splice(r,1)}},this.getAllExtensions=function(){return{language:l,output:d}}},s.subParser("anchors",function(e,t,n){"use strict";e=n.converter._dispatch("anchors.before",e,t,n);var r=function(e,r,o,i,a,l,c){if(s.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),i="#"+o,s.helper.isUndefined(n.gUrls[o]))return e;i=n.gUrls[o],s.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var u='<a href="'+i+'"';return""!==c&&null!==c&&(c=c.replace(/"/g,"""),c=c.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),u+=' title="'+c+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,i){if("\\"===r)return n+o;if(!s.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=t.ghMentionsLink.replace(/\{u}/g,i),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+a+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,g=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,b=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,v=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,i){var a=n,s="",l="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&i&&(s=i),e.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),'<a href="'+n+'"'+l+">"+a+"</a>"+s}},_=function(e,t){"use strict";return function(n,r,o){var i="mailto:";return r=r||"",o=s.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(i=s.helper.encodeEmailAddress(i+o),o=s.helper.encodeEmailAddress(o)):i+=o,r+'<a href="'+i+'">'+o+"</a>"}};s.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(b,y(t)),e=e.replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),s.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(g,y(t)):e.replace(h,y(t)),e=e.replace(m,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),s.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=s.subParser("blockQuotes")(e,t,n),e=s.subParser("headers")(e,t,n),e=s.subParser("horizontalRule")(e,t,n),e=s.subParser("lists")(e,t,n),e=s.subParser("codeBlocks")(e,t,n),e=s.subParser("tables")(e,t,n),e=s.subParser("hashHTMLBlocks")(e,t,n),e=s.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),s.subParser("blockQuotes",function(e,t,n){"use strict";return e=n.converter._dispatch("blockQuotes.before",e,t,n),e=e.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0"),o=o.replace(/¨0/g,""),o=o.replace(/^[ \t]+$/gm,""),o=s.subParser("githubCodeBlocks")(o,t,n),o=s.subParser("blockGamut")(o,t,n),o=o.replace(/(^|\n)/g,"$1 "),o=o.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),s.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),s.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,o){var i=r,a=o,l="\n";return i=s.subParser("outdent")(i,t,n),i=s.subParser("encodeCode")(i,t,n),i=s.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),i="<pre><code>"+i+l+"</code></pre>",s.subParser("hashBlock")(i,t,n)+a}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),s.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,i){var a=i;return a=a.replace(/^([ \t]*)/g,""),a=a.replace(/[ \t]*$/g,""),a=s.subParser("encodeCode")(a,t,n),r+"<code>"+a+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),s.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}),e=e.replace(/¨A/g," "),e=e.replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),s.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n),e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),e=e.replace(/<(?![a-z\/?$!])/gi,"<"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),s.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,s.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),s.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),s.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,s.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),s.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var i=t.omitExtraWLInCodeBlocks?"":"\n";return o=s.subParser("encodeCode")(o,t,n),o=s.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+i+"</code></pre>",o=s.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),s.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),s.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"¨C"+(n.gHtmlSpans.push(a)-1)+"C"};return e=s.helper.replaceRecursiveRegExp(e,r,"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),s.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),s.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),c="<"+r[i]+"\\b[^>]*>",u="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var f=s.helper.splitAtIndex(e,a),p=s.helper.replaceRecursiveRegExp(f[1],o,c,u,"im");if(p===f[1])break;e=f[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=s.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),s.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),s.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i)break;++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),s.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=s.helper.replaceRecursiveRegExp(e,r,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),s.subParser("headers",function(e,t,n){"use strict";function r(e){var r,o;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return r=e,o=s.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var o=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(i,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o+1,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)});var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return e=e.replace(l,function(e,i,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=s.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+r(a)+'"',f=o-1+i.length,p="<h"+f+u+">"+c+"</h"+f+">";return s.subParser("hashBlock")(p,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),s.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=s.subParser("hashBlock")("<hr />",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),s.subParser("images",function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){return r=r.replace(/\s/g,""),o(e,t,n,r,i,a,s,l)}function o(e,t,r,o,i,a,l,c){var u=n.gUrls,f=n.gTitles,p=n.gDimensions;if(r=r.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,s.helper.isUndefined(u[r]))return e;o=u[r],s.helper.isUndefined(f[r])||(c=f[r]),s.helper.isUndefined(p[r])||(i=p[r].width,a=p[r].height)}t=t.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),o=o.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var d='<img src="'+o+'" alt="'+t+'"';return c&&(c=c.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+c+'"'),i&&a&&(i="*"===i?"auto":i,a="*"===a?"auto":a,d+=' width="'+i+'"',d+=' height="'+a+'"'),d+=" />"}e=n.converter._dispatch("images.before",e,t,n);var i=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,a=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,c=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(c,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(u,o),e=n.converter._dispatch("images.after",e,t,n)}),s.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")}),e=e.replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),t.literalMidWordAsterisks?(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)}),e=e.trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)}),e=e.trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),s.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(o,function(e,r,o,a,l,c,u){u=u&&""!==u.trim();var f=s.subParser("outdent")(l,t,n),p="";return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),f=f.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||f.search(/\n{2,}/)>-1?(f=s.subParser("githubCodeBlocks")(f,t,n),f=s.subParser("blockGamut")(f,t,n)):(f=s.subParser("lists")(f,t,n),f=f.replace(/\n$/,""),f=s.subParser("hashHTMLBlocks")(f,t,n),f=f.replace(/\n\n+/g,"\n\n"),f=i?s.subParser("paragraphs")(f,t,n):s.subParser("spanGamut")(f,t,n)),f=f.replace("¨A",""),f="<li"+p+">"+f+"</li>\n"}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,n,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?i:a,l="";return-1!==e.search(s)?function e(t){var c=t.search(s);-1!==c?(l+="\n<"+n+">\n"+r(t.slice(0,c),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(c))):l+="\n<"+n+">\n"+r(t,!!o)+"</"+n+">\n"}(e):l="\n<"+n+">\n"+r(e,!!o)+"</"+n+">\n",l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),s.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),s.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),o=[],i=r.length,a=0;a<i;a++){var l=r[a];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=s.subParser("spanGamut")(l,t,n),l=l.replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(i=o.length,a=0;a<i;a++){for(var c="",u=o[a],f=!1;/¨(K|G)(\d+)\1/.test(u);){var p=RegExp.$1,d=RegExp.$2;c="K"===p?n.gHtmlBlocks[d]:f?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,c=c.replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(f=!0)}o[a]=u}return e=o.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),s.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t}),s.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=s.subParser("codeSpans")(e,t,n),e=s.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=s.subParser("encodeBackslashEscapes")(e,t,n),e=s.subParser("images")(e,t,n),e=s.subParser("anchors")(e,t,n),e=s.subParser("autoLinks")(e,t,n),e=s.subParser("italicsAndBold")(e,t,n),e=s.subParser("strikethrough")(e,t,n),e=s.subParser("simplifiedAutoLinks")(e,t,n),e=s.subParser("hashHTMLSpans")(e,t,n),e=s.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),s.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),s.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var i=function(e,r,o,i,a,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=s.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,""")),t.parseImgDimensions&&i&&a&&(n.gDimensions[r]={width:i,height:a}),"")};return e=e.replace(o,i),e=e.replace(r,i),e=e.replace(/¨0/,"")}),s.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function o(e,r){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=s.subParser("spanGamut")(e,t,n),"<th"+o+r+">"+e+"</th>\n"}function i(e,r){return"<td"+r+">"+s.subParser("spanGamut")(e,t,n)+"</td>\n"}function a(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}function l(e){var t,n=e.split("\n");for(t=0;t<n.length;++t)/^ {0,3}\|/.test(n[t])&&(n[t]=n[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(n[t])&&(n[t]=n[t].replace(/\|[ \t]*$/,""));var l=n[0].split("|").map(function(e){return e.trim()}),c=n[1].split("|").map(function(e){return e.trim()}),u=[],f=[],p=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&u.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<c.length)return e;for(t=0;t<c.length;++t)p.push(r(c[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(p[t])&&(p[t]=""),f.push(o(l[t],p[t]));for(t=0;t<u.length;++t){for(var h=[],g=0;g<f.length;++g)s.helper.isUndefined(u[t][g]),h.push(i(u[t][g],p[g]));d.push(h)}return a(f,d)}if(!t.tables)return e;var c=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,u=/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(/\\(\|)/g,s.helper.escapeCharactersCallback),e=e.replace(c,l),e=e.replace(u,l),e=n.converter._dispatch("tables.after",e,t,n)}),s.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)});void 0!==(r=function(){"use strict";return s}.call(t,n,t,e))&&(e.exports=r)}).call(this)},function(e,t,n){"use strict";var r=n(86),o=n.n(r),i=n(342),a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&e.hasAttributes()){var t=e.nodeName.toLowerCase();o()(e.attributes).forEach(function(n){var r=n.name;Object(i.d)(t,r)||e.removeAttribute(r)})}}},function(e,t,n){"use strict";var r=window.Node.COMMENT_NODE;t.a=function(e){e.nodeType===r&&e.parentNode.removeChild(e)}},function(e,t,n){"use strict";function r(e){return e.every(function(e){return Object(a.g)(e)&&r(i()(e.children))})}var o=n(86),i=n.n(o),a=n(342);t.a=function(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=i()(t.body.children);return!n.some(a.e)&&r(n)}},function(e,t,n){"use strict";function r(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var o=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===o){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?r(e,"strong"):"italic"===n&&r(e,"em")}"B"===e.nodeName&&r(e,"strong"),"I"===e.nodeName&&r(e,"em")}}},function(e,t,n){"use strict";function r(e){return"OL"===e.nodeName||"UL"===e.nodeName}var o=window,i=o.parseInt,a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&"P"===e.nodeName){var t=e.getAttribute("style");if(t&&-1!==t.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(t);if(n){var o=i(n[1],10)-1||0,s=e.previousElementSibling;if(!s||!r(s)){var l=e.textContent.trim().slice(0,1),c=/[1iIaA]/.test(l),u=document.createElement(c?"ol":"ul");c&&u.setAttribute("type",l),e.parentNode.insertBefore(u,e)}var f=e.previousElementSibling,p=f.nodeName,d=document.createElement("li"),h=f;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)h=h.lastElementChild||h,r(h)&&(h=h.lastElementChild||h);r(h)||(h=h.appendChild(document.createElement(p))),h.appendChild(d),e.parentNode.removeChild(e)}}}}},function(e,t,n){"use strict";var r=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.nodeName;if(("OL"===t||"UL"===t)&&1===e.children.length){var n=e.previousElementSibling;n&&n.nodeName===t&&(n.appendChild(e.firstChild),e.parentNode.removeChild(e))}}}},function(e,t,n){"use strict";var r=n(171),o=n.n(r),i=n(49),a=(n.n(i),window),s=a.atob,l=a.Blob,c=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===c&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=o()(t,2),r=n[0],a=n[1],u=r.slice(5).split(";"),f=o()(u,1),p=f[0];if(!a||!p)return void(e.src="");var d=void 0;try{d=s(a)}catch(t){return void(e.src="")}for(var h=new Uint8Array(d.length),g=0;g<h.length;g++)h[g]=d.charCodeAt(g);var b=new l([h],{type:p});e.src=Object(i.createBlobURL)(b)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}},function(e,t,n){"use strict";var r=n(501),o=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===o&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Object(r.a)(e.innerHTML))}},function(e,t,n){"use strict";var r=window.Node.TEXT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}}},function(e,t,n){"use strict";var r=n(342),o=n(502),i=window.Node.ELEMENT_NODE;t.a=function(e,t){e.nodeType===i&&Object(r.h)(e)&&Object(r.b)(e.childNodes,[Object(o.a)(function(t){return!Object(r.g)(t)&&!Object(r.c)(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),i=n(409),a=n.n(i),s=n(11),l=n.n(s),c=n(451),u=n.n(c),f=n(170),p=n.n(f),d=n(117),h=n.n(d),g=n(611),b=n.n(g),m=n(55),v=n.n(m),y=n(54),_=n.n(y),w=n(405),x=n(219),k=n(443),E=window.wp.shortcode;t.a=function(e){var t=Object(x.b)().reduce(function(t,n){var r=v()(n,"transforms.from",[]),o=_()(r,function(e){return"shortcode"===e.type});if(!o)return t;for(var i=void 0,a=0;i=E.next(o.tag,e,a);){a=i.index+i.content.length;var s=p()(u()(o.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(i.shortcode.attrs,i)}),c=Object(w.a)(n.name,Object(k.b)(l()({},n,{attributes:o.attributes}),i.shortcode.content,s));t[i.index]={block:c,lastIndex:a}}return t},{}),n=0;return a()(t).sort().reduce(function(e,r){var i=t[r];return e=[].concat(o()(b()(e)),[h()(e).slice(0,r-n),i.block,h()(e).slice(i.lastIndex-n)]),n=i.lastIndex,e},[e])}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),t=r-t,o(e,0,t<0?0:t)):[]}var o=n(174),i=n(69);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(0),a=(n.n(i),n(49)),s=(n.n(a),n(614)),l=(n.n(s),n(615)),c=(n.n(l),n(27)),u=n(616);Object(c.o)("core/image",{title:Object(i.__)("Image"),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt"},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=!!e.textContent.trim(),r=e.querySelector("img");return"img"===t||r&&!n||r&&"figure"===t}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){return Object(a.createMediaFromFile)(e[0]).then(function(e){return Object(c.a)("core/image",{id:e.id,url:e.source_url})})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{type:"array",source:"text"},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:u.a,save:function(e){var t=e.attributes,n=t.url,r=t.alt,i=t.caption,a=t.align,s=t.href,l=t.width,c=t.height,u=l||c?{width:l,height:c}:{},f=l?{width:l}:{},p=wp.element.createElement("img",o()({src:n,alt:r},u));return wp.element.createElement("figure",{className:a?"align"+a:null,style:f},s?wp.element.createElement("a",{href:s},p):p,i&&i.length>0&&wp.element.createElement("figcaption",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(57),b=n.n(g),m=n(55),v=n.n(m),y=n(63),_=n.n(y),w=n(256),x=n.n(w),k=n(617),E=n.n(k),O=n(17),C=n.n(O),S=n(631),j=n(0),T=(n.n(j),n(2)),A=(n.n(T),n(49)),R=(n.n(A),n(1)),P=(n.n(R),n(82)),N=n(267),L=n(38),M=n(442),D=n(441),B=n(64),I=n(101),F=n(43),z=n(505),H=n(649),q=function(e){function t(){l()(this,t);var e=p()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,i=void 0===o?"":o;r||0!==i.indexOf("blob:")||Object(A.getBlobByURL)(i).then(A.createMediaFromFile).then(function(e){n({id:e.id,url:e.source_url})})}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,i=this.props.attributes,a=i.id,s=i.url,l=void 0===s?"":s;!n&&0===o.indexOf("blob:")&&a&&-1===l.indexOf("blob:")&&Object(A.revokeBlobURL)(l)}},{key:"onSelectImage",value:function(e){var t={url:e.url,alt:e.alt,id:e.id};e.caption&&(t.caption=[e.caption]),this.props.setAttributes(t)}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(o()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e})}},{key:"getAvailableSizes",value:function(){return v()(this.props.image,["data","media_details","sizes"],{})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,s=e.settings,l=t.url,c=t.alt,u=t.caption,f=t.align,p=t.id,d=t.href,h=t.width,g=t.height,b=this.getAvailableSizes(),m=h?{width:h}:{},v=-1===["wide","full"].indexOf(f)&&!A.viewPort.isExtraSmall(),y={isLarge:!0},w=function(e){return Object(A.mediaUpload)(e.target.files,n)},k=function(e){return Object(A.mediaUpload)(e,n)},O=r&&wp.element.createElement(B.a,{key:"controls"},wp.element.createElement(I.a,{value:f,onChange:this.updateAlignment}),wp.element.createElement(R.Toolbar,null,wp.element.createElement(N.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(j.__)("Edit image")},onSelect:this.onSelectImage,type:"image",value:p},wp.element.createElement(R.Dashicon,{icon:"edit"})),wp.element.createElement(z.a,{onChange:this.onSetHref,url:d})));if(!l)return[O,wp.element.createElement(R.Placeholder,{key:"placeholder",instructions:Object(j.__)("Drag image here or insert from media library"),icon:"format-image",label:Object(j.__)("Image"),className:a},wp.element.createElement(R.DropZone,{onFilesDrop:k}),wp.element.createElement(R.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:w,accept:"image/*"},Object(j.__)("Upload")),wp.element.createElement(N.a,{buttonProps:y,onSelect:this.onSelectImage,type:"image"},Object(j.__)("Insert from Media Library")))];var T=function(e){return i(o()({editable:"caption"},e))},q=C()(a,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h,"is-focused":!!r});return[O,r&&wp.element.createElement(L.a,{key:"inspector"},wp.element.createElement(F.a,null,wp.element.createElement("p",null,Object(j.__)("Worth a thousand words."))),wp.element.createElement("h3",null,Object(j.__)("Image Settings")),wp.element.createElement(M.a,{label:Object(j.__)("Textual Alternative"),value:c,onChange:this.updateAlt,help:Object(j.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!x()(b)&&wp.element.createElement(D.a,{label:Object(j.__)("Size"),value:l,options:_()(b,function(e,t){return{value:e.source_url,label:E()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:q,style:m},wp.element.createElement(H.a,{src:l,dirtynessTrigger:f},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,u=wp.element.createElement("img",{src:l,alt:c,onClick:i});if(!v||!t)return u;var f=h||t,p=g||r,d=o/a,b=o<a?20:20*d,m=a<o?20:20/d;return wp.element.createElement(S.a,{size:{width:f,height:p},minWidth:b,maxWidth:s.maxWidth,minHeight:m,maxHeight:s.maxWidth/d,lockAspectRatio:!0,handleClasses:{topRight:"wp-block-image__resize-handler-top-right",bottomRight:"wp-block-image__resize-handler-bottom-right",topLeft:"wp-block-image__resize-handler-top-left",bottomLeft:"wp-block-image__resize-handler-bottom-left"},enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},onResizeStop:function(e,t,r,o){n({width:parseInt(f+o.width,10),height:parseInt(p+o.height,10)})}},u)}),u&&u.length>0||r?wp.element.createElement(P.a,{tagName:"figcaption",placeholder:Object(j.__)("Write caption…"),value:u,focus:r&&"caption"===r.editable?r:void 0,onFocus:T,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]}}]),t}(T.Component);t.a=b()([Object(R.withContext)("editor")(function(e){return{settings:e}}),Object(R.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(q)},function(e,t,n){var r=n(618),o=n(625),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},function(e,t,n){function r(e){return function(t){return o(a(i(t).replace(s,"")),e,"")}}var o=n(113),i=n(619),a=n(621),s=RegExp("['’]","g");e.exports=r},function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(s,"")}var o=n(620),i=n(98),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(410),o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?s(e):o(e):e.match(t)||[]}var o=n(622),i=n(623),a=n(98),s=n(624);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(g)||[]}var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+r+"]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+r+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:"+i+"|"+a+")",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*",d="[\\ufe0e\\ufe0f]?"+f+p,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,g=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,c,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,c+u,"$"].join("|")+")",c+"?"+u+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",h].join("|"),"g");e.exports=n},function(e,t,n){var r=n(626),o=r("toUpperCase");e.exports=o},function(e,t,n){function r(e){return function(t){t=s(t);var n=i(t)?a(t):void 0,r=n?n[0]:t.charAt(0),l=n?o(n,1).join(""):t.slice(1);return r[e]()+l}}var o=n(627),i=n(411),a=n(628),s=n(98);e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(174);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(629),i=n(411),a=n(630);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(f)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",l="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",c="[\\ufe0e\\ufe0f]?"+s+l,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",f=RegExp(o+"(?="+o+")|"+u+c,"g");e.exports=n},function(e,t,n){"use strict";var r=n(13),o=(n.n(r),function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c={base:{position:"absolute"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},c.base,c[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},f={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},p={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},d=function(e,t,n){return Math.max(Math.min(e,n),t)},h=function(e,t){return Math.round(e/t)*t},g=function(e,t){return e.substr(e.length-t.length,t.length)===t},b=function(e){return g(e.toString(),"px")?e.toString():g(e.toString(),"%")?e.toString():e+"px"},m=0,v=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],y=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.baseSizeId="__resizable"+m,m+=1,"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return s(t,e),i(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==v.indexOf(n)?t:(t[n]=e[n],t)},{})}},{key:"getParentSize",value:function(){var e=document.getElementById(this.baseSizeId);return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:window.innerWidth,height:window.innerHeight}}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=document.createElement("div");t.id=this.baseSizeId,t.style.width="100%",t.style.height="100%",t.style.position="relative",t.style.transform="scale(0, 0)",t.style.left="-2147483647px";var n=this.parentNode;n instanceof HTMLElement&&n.appendChild(t)}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=document.getElementById(this.baseSizeId);if(!t)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,l=this.props.lockAspectRatio,c=this.props,u=c.maxWidth,f=c.maxHeight,p=c.minWidth,b=c.minHeight,m=this.getParentSize();if(u&&"string"==typeof u&&g(u,"%")){var v=Number(u.replace("%",""))/100;u=m.width*v}if(f&&"string"==typeof f&&g(f,"%")){var y=Number(f.replace("%",""))/100;f=m.height*y}if(p&&"string"==typeof p&&g(p,"%")){var _=Number(p.replace("%",""))/100;p=m.width*_}if(b&&"string"==typeof b&&g(b,"%")){var w=Number(b.replace("%",""))/100;b=m.height*w}u=void 0===u?void 0:Number(u),f=void 0===f?void 0:Number(f),p=void 0===p?void 0:Number(p),b=void 0===b?void 0:Number(b);var x=i.height/i.width,k=i.width,E=i.height;if(/right/i.test(o)&&(k=i.width+(t-i.x),l&&(E=k*x)),/left/i.test(o)&&(k=i.width-(t-i.x),l&&(E=k*x)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(k=E/x)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(k=E/x)),"parent"===this.props.bounds){var O=this.parentNode;if(O instanceof HTMLElement){var C=O.getBoundingClientRect(),S=C.left,j=C.top,T=this.resizable.getBoundingClientRect(),A=T.left,R=T.top,P=O.offsetWidth+(S-A),N=O.offsetHeight+(j-R);u=u&&u<P?u:P,f=f&&f<N?f:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),M=L.left,D=L.top,B=window.innerWidth-M,I=window.innerHeight-D;u=u&&u<B?u:B,f=f&&f<I?f:I}}else if(this.props.bounds instanceof HTMLElement){var F=this.props.bounds.getBoundingClientRect(),z=F.left,H=F.top,q=this.resizable.getBoundingClientRect(),U=q.left,K=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var V=this.props.bounds.offsetWidth+(z-U),W=this.props.bounds.offsetHeight+(H-K);u=u&&u<V?u:V,f=f&&f<W?f:W}var G=void 0===p||p<10?10:p,$=void 0===u||u<0?k:u,X=void 0===b||b<10?10:b,Z=void 0===f||f<0?E:f;if(l){var Y=G>X/x?G:X/x,Q=$<Z/x?$:Z/x,J=X>G*x?X:G*x,ee=Z<$*x?Z:$*x;k=d(k,Y,Q),E=d(E,J,ee)}else k=d(k,G,$),E=d(E,X,Z);this.props.grid&&(k=h(k,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var te={width:k-i.width,height:E-i.height};if(a&&"string"==typeof a&&g(a,"%")){k=k/m.width*100+"%"}if(s&&"string"==typeof s&&g(s,"%")){E=E/m.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?k:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,te)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,o=t.handleStyles,i=t.handleClasses,a=t.handleWrapperStyle,s=t.handleWrapperClass;if(!n)return null;var l=Object.keys(n).map(function(t){return!1!==n[t]?Object(r.createElement)(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:o&&o[t],className:i&&i[t]}):null});return Object(r.createElement)("span",{className:s,style:a},l)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?f:p;return Object(r.createElement)("div",a({ref:function(t){e.resizable=t},style:a({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"size",get:function(){var e=0,t=0;return"undefined"!=typeof window&&(e=this.resizable.offsetWidth,t=this.resizable.offsetHeight),{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&g(e.propsSize[t].toString(),"%")){if(g(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return b(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?b(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?b(t.height):n("height")}}}]),t}(r.Component);y.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1},t.a=y},function(e,t,n){var r=n(633),o=n(85),i=o(function(e,t){return r(e,1,t)});e.exports=i},function(e,t){function n(e,t,n){if("function"!=typeof e)throw new TypeError(r);return setTimeout(function(){e.apply(void 0,n)},t)}var r="Expected a function";e.exports=n},function(e,t,n){var r=n(635),o=n(495),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,u,f){e!==t&&a(t,function(a,c){if(l(a))f||(f=new o),s(e,t,c,n,r,u,f);else{var p=u?u(e[c],a,c+"",e,t,f):void 0;void 0===p&&(p=a),i(e,c,p)}},c)}var o=n(112),i=n(503),a=n(254),s=n(636),l=n(22),c=n(157);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],k=_.get(x);if(k)return void o(e,n,k);var E=y?y(w,x,n+"",e,t,_):void 0,O=void 0===E;if(O){var C=u(x),S=!C&&p(x),j=!C&&!S&&b(x);E=x,C||S||j?u(w)?E=w:f(w)?E=s(w):S?(O=!1,E=i(x,!0)):j?(O=!1,E=a(x,!0)):E=[]:g(x)||c(x)?(E=w,c(w)?E=m(w):(!h(w)||r&&d(w))&&(E=l(x))):O=!1}O&&(_.set(x,E),v(E,x,r,y,_),_.delete(x)),o(e,n,E)}var o=n(503),i=n(262),a=n(263),s=n(144),l=n(264),c=n(94),u=n(12),f=n(173),p=n(95),d=n(121),h=n(22),g=n(265),b=n(128),m=n(637);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(70),i=n(157);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(26),i=n(639),a=n(451);e.exports=r},function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var r="Expected a function";e.exports=n},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(119),a=n.n(i),s=n(3),l=n.n(s),c=n(4),u=n.n(c),f=n(5),p=n.n(f),d=n(6),h=n.n(d),g=n(7),b=n.n(g),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(49)),w=(n.n(_),n(642)),x=(n.n(w),n(412)),k=n(413),E=n(169),O=_.keycodes.ESCAPE,C=[{icon:"editor-bold",title:Object(m.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(m.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(m.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(m.__)("Link"),format:"link"}],S=["bold","italic","strikethrough","link"],j=function(e){function t(){u()(this,t);var e=h()(this,(t.__proto__||l()(t)).apply(this,arguments));return e.state={isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!1,newLinkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"onKeyDown",value:function(e){e.keyCode===O&&this.state.isEditingLink&&(e.stopPropagation(),this.dropLink())}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,newLinkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({newLinkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(a()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){var t=e.target.checked;this.setState({opensInNewWindow:t}),this.props.onChange({link:{value:this.props.formats.link.value,target:t?"_blank":""}})}},{key:"addLink",value:function(){this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:""})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({isEditingLink:!1,isAddingLink:!1,newLinkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault(),this.props.onChange({link:{value:this.state.newLinkValue,target:this.state.opensInNewWindow?"_blank":""}}),this.state.isAddingLink&&this.props.speak(Object(m.__)("Link inserted."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.formats,r=t.focusPosition,i=t.enabledControls,a=void 0===i?S:i,s=t.customControls,l=void 0===s?[]:s,c=this.state,u=c.isAddingLink,f=c.isEditingLink,p=c.newLinkValue,d=c.settingsVisible,h=c.opensInNewWindow,g=r?o()({position:"absolute"},r):null,b=C.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(t){var n="link"===t.format;return o()({},t,{onClick:n?e.addLink:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)||n&&u})}),v=d&&wp.element.createElement("fieldset",{className:"blocks-format-toolbar__link-settings"},wp.element.createElement(E.a,{label:Object(m.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(y.Toolbar,{controls:b}),(u||f)&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:g,onSubmit:this.submitLink},wp.element.createElement(x.a,{value:p,onChange:this.onChangeLinkValue}),wp.element.createElement(y.IconButton,{icon:"editor-break",label:Object(m.__)("Apply"),type:"submit"}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),v)),!!n.link&&!u&&!f&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:g},wp.element.createElement("a",{className:"blocks-format-toolbar__link-value",href:n.link.value,target:"_blank"},n.link.value&&Object(k.a)(decodeURI(n.link.value))),wp.element.createElement(y.IconButton,{icon:"edit",label:Object(m.__)("Edit"),onClick:this.editLink}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),v)))}}]),t}(v.Component);t.a=Object(y.withSpokenMessages)(j)},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(162),a=n.n(i),s=n(3),l=n.n(s),c=n(4),u=n.n(c),f=n(5),p=n.n(f),d=n(6),h=n.n(d),g=n(7),b=n.n(g),m=n(108),v=n.n(m),y=n(452),_=n.n(y),w=n(17),x=n.n(w),k=n(2),E=(n.n(k),n(504)),O=function(e){function t(){return u()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillReceiveProps",value:function(e){var t=this,n="data-is-placeholder-visible",r=String(!!e.isPlaceholderVisible);this.editorNode.getAttribute(n)!==r&&this.editorNode.setAttribute(n,r),v()(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),a()(this.editorNode.style,e.style)),v()(this.props.className,e.className)||(this.editorNode.className=x()(e.className,"blocks-editable__tinymce"));var o=Object(E.a)(this.props,e),i=o.removedKeys,s=o.updatedKeys;i.forEach(function(e){return t.editorNode.removeAttribute(e)}),s.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.focus,n=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});n.plugins.push("paste"),_.a.init(o()({},n,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}})),t&&this.editorNode.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,i=t.style,a=t.defaultValue,s=t.className,l=Object(E.b)(this.props),c=void 0;return a&&(c=k.Children.toArray(a)),Object(k.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),c)}}]),t}(k.Component);t.a=O},function(e,t){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(39),o=n.n(r),i=n(646),a=n.n(i),s=n(415),l=n.n(s),c=n(459),u=n.n(c),f=n(55),p=n.n(f),d=n(54),h=n.n(d),g=n(452),b=n.n(g),m=n(49),v=(n.n(m),n(219)),y=window,_=y.setTimeout,w=m.keycodes.ESCAPE,x=m.keycodes.ENTER,k=m.keycodes.SPACE,E=m.keycodes.BACKSPACE;t.a=function(e){function t(){var t=e.selection.getRng(),n=t.startContainer,r=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&r){var o=n.data.slice(0,r),i=n.data.charAt(r-1),a=y.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=u()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,c=r-t.delimiter.length,f=o.charAt(l-1),p=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(f)&&(/\s/.test(p)||f===d))return e;var h=new RegExp("^[\\s"+u()(d)+"]+$"),g=o.slice(l,c);return h.test(g)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var c=l.delimiter,f=l.format,p=e.formatter.get(f);p&&p[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(r,"\ufeff");var t=n.splitText(s),o=t.splitText(r-s);t.deleteData(0,c.length),t.deleteData(t.data.length-c.length,c.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(o,1),_(function(){O="space",e.once("selectionchange",function(){if(o){var e=o.data.indexOf("\ufeff");-1!==e&&o.deleteData(e,e+1)}})})}))}}}function n(t){if(s){e.getBody().normalize();var n=i();if(n.length){var r=n[0],l=t.reduce(function(e,t){return e.result?e:{result:t.regExp.exec(r),pattern:t}},{}),c=l.result,u=l.pattern;if(c){var f=e.selection.getRng(),p=c[0].length,d=r.slice(p);if(f.startOffset===p){var h=u.transform({content:[d].concat(o()(a()(n))),match:c});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(g,function(e){return e.regExp.test(t[0])});if(n){var r=n.transform({content:t});e.once("keyup",function(){return s([r])})}}}}var i=this.getContent.bind(this),s=this.props.onReplace,c=b.a.util.VK,f=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=p()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),g=d.enter,m=d.undefined,y=f.inline||[{delimiter:"`",format:"code"}],O=void 0;e.on("selectionchange",function(){O=null}),e.on("keydown",function(o){var i=o.keyCode;(O&&i===w||"space"===O&&i===E)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),c.metaKeyPressed(o)||(i===x?r():i===k?_(function(){return n(m)}):i>47&&!(i>=91&&i<=93)&&_(t))},!0)}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),o(e,t<0?0:t,r)):[]}var o=n(174),i=n(69);e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"]},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(30),h=n.n(d),g=n(2),b=(n.n(g),function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(e),e.calculateSize=e.calculateSize.bind(e),e}return p()(t,e),l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=h.a)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return wp.element.createElement("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(g.Component));t.a=b},function(e,t,n){"use strict";var r=n(102),o=n.n(r),i=n(0),a=(n.n(i),n(651)),s=(n.n(a),n(652)),l=(n.n(s),n(27)),c=n(653);Object(l.o)("core/gallery",{title:Object(i.__)("Gallery"),icon:"format-gallery",category:"common",keywords:[Object(i.__)("images"),Object(i.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt"},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=o()(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(l.a)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}})}):Object(l.a)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return t?t.split(",").map(function(e){return{id:parseInt(e,10)}}):[]}},columns:{type:"number",shortcode:function(e){var t=e.named.columns,n=void 0===t?"3":t;return parseInt(n,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt;return Object(l.a)("core/image",{id:t,url:n,alt:r})}):Object(l.a)("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:c.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(c.b)(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){var t=void 0;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id});return wp.element.createElement("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?wp.element.createElement("a",{href:t},n):n)}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Math.min(3,e.images.length)}t.b=r;var o=n(11),i=n.n(o),a=n(39),s=n.n(a),l=n(3),c=n.n(l),u=n(4),f=n.n(u),p=n(5),d=n.n(p),h=n(6),g=n.n(h),b=n(7),m=n.n(b),v=n(102),y=n.n(v),_=n(2),w=(n.n(_),n(0)),x=(n.n(w),n(49)),k=(n.n(x),n(1)),E=(n.n(k),n(267)),O=n(38),C=n(257),S=n(169),j=n(441),T=n(64),A=n(101),R=n(654),P=n(43),N=[{value:"attachment",label:Object(w.__)("Attachment Page")},{value:"media",label:Object(w.__)("Media File")},{value:"none",label:Object(w.__)("None")}],L=function(e){function t(){f()(this,t);var e=g()(this,(t.__proto__||c()(t)).apply(this,arguments));return e.onSelectImage=e.onSelectImage.bind(e),e.onSelectImages=e.onSelectImages.bind(e),e.setLinkTo=e.setLinkTo.bind(e),e.setColumnsNumber=e.setColumnsNumber.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleImageCrop=e.toggleImageCrop.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.state={selectedImage:null},e}return m()(t,e),d()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.setState(function(t){return{selectedImage:e===t.selectedImage?null:e}})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=y()(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e})}},{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.props.setAttributes({columns:e})}},{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleImageCrop",value:function(){this.props.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"uploadFromFiles",value:function(e){Object(x.mediaUpload)(e.target.files,this.props.setAttributes,!0)}},{key:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images;(0,n.setAttributes)({images:[].concat(s()(r.slice(0,e)),[i()({},r[e],t)],s()(r.slice(e+1)))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.focus,i=t.className,a=n.images,s=n.columns,l=void 0===s?r(n):s,c=n.align,u=n.imageCrop,f=n.linkTo,p=wp.element.createElement(P.a,null,wp.element.createElement("p",null,Object(w.__)("Image galleries are a great way to share groups of pictures on your site."))),d=o&&wp.element.createElement(O.a,{key:"inspector"},p),h=o&&wp.element.createElement(T.a,{key:"controls"},wp.element.createElement(A.a,{value:c,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(k.Toolbar,null,wp.element.createElement(E.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(w.__)("Edit Gallery")},onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:a.map(function(e){return e.id})},wp.element.createElement(k.Dashicon,{icon:"edit"}))));if(0===a.length){var g={isLarge:!0};return[h,d,wp.element.createElement(k.Placeholder,{key:"placeholder",instructions:Object(w.__)("Drag images here or insert from media library"),icon:"format-gallery",label:Object(w.__)("Gallery"),className:i},wp.element.createElement(k.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(w.__)("Upload")),wp.element.createElement(E.a,{buttonProps:g,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(w.__)("Insert from Media Library")))]}return[h,o&&wp.element.createElement(O.a,{key:"inspector"},p,wp.element.createElement("h3",null,Object(w.__)("Gallery Settings")),a.length>1&&wp.element.createElement(C.a,{label:Object(w.__)("Columns"),value:l,onChange:this.setColumnsNumber,min:1,max:Math.min(8,a.length)}),wp.element.createElement(S.a,{label:Object(w.__)("Crop Images"),checked:!!u,onChange:this.toggleImageCrop}),wp.element.createElement(j.a,{label:Object(w.__)("Link to"),value:f,onChange:this.setLinkTo,options:N})),wp.element.createElement("div",{key:"gallery",className:i+" align"+c+" columns-"+l+" "+(u?"is-cropped":"")},a.map(function(t,n){return wp.element.createElement(R.a,{key:t.id||t.url,url:t.url,alt:t.alt,id:t.id,isSelected:e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onClick:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)}})}))]}}]),t}(_.Component);t.a=L},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(17),h=n.n(d),g=n(2),b=(n.n(g),n(1)),m=(n.n(b),n(0)),v=(n.n(m),function(e){function t(){return a()(this,t),u()(this,(t.__proto__||o()(t)).apply(this,arguments))}return p()(t,e),l()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.image;t&&t.data&&!this.props.url&&this.props.setAttributes({url:t.data.source_url,alt:t.data.alt_text})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.alt,r=e.id,o=e.linkTo,i=e.link,a=e.isSelected,s=e.onClick,l=e.onRemove,c=void 0;switch(o){case"media":c=t;break;case"attachment":c=i}var u=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r}):wp.element.createElement(b.Spinner,null),f=h()("blocks-gallery-image",{"is-selected":a});return wp.element.createElement("figure",{className:f,onClick:s},a&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(b.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-image__remove",label:Object(m.__)("Remove Image")})),c?wp.element.createElement("a",{href:c},u):u)}}]),t}(g.Component));t.a=Object(b.withAPIData)(function(e){var t=e.id;return{image:t?"/wp/v2/media/"+t:{}}})(v)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),n(1)),a=(n.n(i),n(656)),s=(n.n(a),n(27)),l=n(82),c=n(64),u=n(38),f=n(417),p=n(43);Object(s.o)("core/heading",{title:Object(r.__)("Heading"),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"},align:{type:"string"},placeholder:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/heading",{content:t})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content,n=e.match,r=n[1].length;return Object(s.a)("core/heading",{nodeName:"H"+r,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/paragraph",{content:t})}}]},merge:function(e,t){return{content:Object(o.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,a=e.setFocus,d=e.mergeBlocks,h=e.insertBlocksAfter,g=t.align,b=t.content,m=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(c.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement(p.a,null,wp.element.createElement("p",null,Object(r.__)("Search engines use the headings to index the structure and content of your web pages."))),wp.element.createElement("h3",null,Object(r.__)("Heading Settings")),wp.element.createElement("p",null,Object(r.__)("Size")),wp.element.createElement(i.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(f.a,{value:g,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",tagName:m.toLowerCase(),value:b,focus:o,onFocus:a,onChange:function(e){return n({content:e})},onMerge:d,onSplit:function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),h([].concat(o,[Object(s.a)("core/paragraph",{content:t})]))},style:{textAlign:g},placeholder:v||Object(r.__)("Write heading…")})]},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content,i=r.toLowerCase();return wp.element.createElement(i,{style:{textAlign:n}},o)}})},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(35),a=n.n(i),s=n(87),l=n.n(s),c=n(0),u=(n.n(c),n(1)),f=(n.n(u),n(658)),p=(n.n(f),n(659)),d=(n.n(p),n(27)),h=n(417),g=n(64),b=n(82),m=n(38),v=n(43),y=function(e){return e.map(function(e){return e.children})},_=function(e){return e.map(function(e){return{children:e}})};Object(d.o)("core/quote",{title:Object(c.__)("Quote"),icon:"format-quote",category:"common",attributes:{value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}},default:[]},citation:{type:"array",source:"children",selector:"footer"},align:{type:"string"},style:{type:"number",default:1}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(d.a)("core/paragraph",{content:n});var s=l()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(d.a)("core/paragraph",{content:s}),Object(d.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(d.a)("core/paragraph",{content:s})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(d.a)("core/heading",{content:n});var s=l()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(d.a)("core/heading",{content:s}),Object(d.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(d.a)("core/heading",{content:s})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.mergeBlocks,s=e.className,l=t.align,f=t.value,p=t.citation,d=t.style,w=r?r.editable||"value":null;return[r&&wp.element.createElement(g.a,{key:"controls"},wp.element.createElement(u.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(c.sprintf)(Object(c.__)("Quote style %d"),e),isActive:Number(d)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(h.a,{value:l,onChange:function(e){n({align:e})}})),r&&wp.element.createElement(m.a,{key:"inspector"},wp.element.createElement(v.a,null,wp.element.createElement("p",null,Object(c.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)")))),wp.element.createElement("blockquote",{key:"quote",className:s+" blocks-quote-style-"+d},wp.element.createElement(b.a,{multiline:"p",value:y(f),onChange:function(e){return n({value:_(e)})},focus:"value"===w?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,style:{textAlign:l},placeholder:Object(c.__)("Write quote…")}),(p&&p.length>0||!!r)&&wp.element.createElement(b.a,{tagName:"footer",value:p,placeholder:Object(c.__)("Write citation…"),onChange:function(e){return n({citation:e})},focus:"citation"===w?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))}}))]},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:"blocks-quote-style-"+i,style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("footer",null,o))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.title,n=e.icon,r=e.category,o=void 0===r?"embed":r,a=e.transforms,l=e.keywords;return{title:t,icon:n,category:o,keywords:void 0===l?[]:l,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"}},transforms:a,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function r(){s()(this,r);var e=f()(this,(r.__proto__||i()(r)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1},e}return d()(r,e),c()(r,[{key:"componentWillMount",value:function(){this.props.attributes.url&&(this.setState({fetching:!0}),this.doServerSideRender())}},{key:"componentWillUnmount",value:function(){this.unmounting=!0}},{key:"getPhotoHtml",value:function(e){var t=wp.element.createElement("p",null,wp.element.createElement("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(v.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=Object(_.a)(wpApiSettings.root+"oembed/1.0/proxy",{url:n,_wpnonce:wpApiSettings.nonce});this.setState({error:!1,fetching:!0}),window.fetch(r,{credentials:"include"}).then(function(e){t.unmounting||e.json().then(function(e){var n=e.html,r=e.type;n?t.setState({html:n,type:r}):"photo"===r?t.setState({html:t.getPhotoHtml(e),type:r}):t.setState({error:!0}),t.setState({fetching:!1})})})}},{key:"render",value:function(){var e=this.state,r=e.html,o=e.type,i=e.error,a=e.fetching,s=this.props.attributes,l=s.align,c=s.url,u=s.caption,f=this.props,p=f.setAttributes,d=f.focus,h=f.setFocus,v=function(e){return p({align:e})},_=[d&&wp.element.createElement(O.a,{key:"controls"},wp.element.createElement(C.a,{value:l,onChange:v})),d&&wp.element.createElement(S.a,{key:"inspector"},wp.element.createElement(j.a,null,wp.element.createElement("p",null,Object(m.__)("The Embed block allows you to easily add videos, images, tweets, audio, and other content to your post or page."))))];if(a)return[_,wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(y.Spinner,null),wp.element.createElement("p",null,Object(m.__)("Embedding…")))];if(!r){var w=Object(m.sprintf)(Object(m.__)("%s URL"),t);return[_,wp.element.createElement(y.Placeholder,{key:"placeholder",icon:n,label:w,className:"wp-block-embed"},wp.element.createElement("form",{onSubmit:this.doServerSideRender},wp.element.createElement("input",{type:"url",value:c||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(m.__)("Enter URL to embed here…"),onChange:function(e){return p({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(m.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Sorry, we could not embed that content."))))]}var x=Object(b.parse)(c),k=g()(T,x.host.replace(/^www\./,"")),A=Object(m.sprintf)(Object(m.__)("Embedded content from %s"),x.host),R="wp-block-embed";return"video"===o&&(R+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:R},k?wp.element.createElement(y.Placeholder,{icon:n,label:Object(m.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:c},c)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Previews for this are unavailable in the editor, sorry!"))):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(y.SandBox,{html:r,title:A,type:o})),u&&u.length>0||d?wp.element.createElement(E.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:u,focus:d,onFocus:h,onChange:function(e){return p({caption:e})},inlineToolbar:!0}):null)]}}]),r}(v.Component),save:function(e){var t=e.attributes,n=t.url,r=t.caption,o=t.align;if(n)return wp.element.createElement("figure",{className:o?"align"+o:null},"\n"+n+"\n",r&&r.length>0&&wp.element.createElement("figcaption",null,r))}}}var o=n(3),i=n.n(o),a=n(4),s=n.n(a),l=n(5),c=n.n(l),u=n(6),f=n.n(u),p=n(7),d=n.n(p),h=n(172),g=n.n(h),b=n(414),m=(n.n(b),n(0)),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(266)),w=n(661),x=(n.n(w),n(662)),k=(n.n(x),n(27)),E=n(82),O=n(64),C=n(101),S=n(38),j=n(43),T=["facebook.com"];Object(k.o)("core/embed",r({title:Object(m.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*/i.test(e.textContent)},transform:function(e){return Object(k.a)("core/embed",{url:e.textContent.trim()})}}]}})),Object(k.o)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(m.__)("tweet")]})),Object(k.o)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(m.__)("music"),Object(m.__)("video")]})),Object(k.o)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(k.o)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.o)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(m.__)("post"),Object(m.__)("blog")]})),Object(k.o)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.o)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.o)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(k.o)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(k.o)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(k.o)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(k.o)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(k.o)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(k.o)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(k.o)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(k.o)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(k.o)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(k.o)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(k.o)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(k.o)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(k.o)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(k.o)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(k.o)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(k.o)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(k.o)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(k.o)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(k.o)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(k.o)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(k.o)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.o)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(k.o)("core-embed/wordpress-tv",r({title:"WordPress.tv",icon:"embed-video"}))},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(39),h=n.n(d),g=n(11),b=n.n(g),m=n(117),v=n.n(m),y=n(664),_=n.n(y),w=n(55),x=n.n(w),k=n(258),E=n.n(k),O=n(54),C=n.n(O),S=n(2),j=(n.n(S),n(0)),T=(n.n(j),n(665)),A=(n.n(T),n(27)),R=n(82),P=n(64),N=n(38),L=n(43),M=function(e){if(void 0===e)return e;var t=[];return t.push(Object(S.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(S.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t};Object(A.o)("core/list",{title:Object(j.__)("List"),icon:"editor-ul",category:"common",keywords:[Object(j.__)("bullet list"),Object(j.__)("ordered list"),Object(j.__)("numbered list")],attributes:{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"},values:{type:"array",source:"children",selector:"ol,ul",default:[]}},supports:{className:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(A.a)("core/list",{nodeName:"UL",values:e.map(function(e,t){var n=e.content;return wp.element.createElement("li",{key:t},n)})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return Object(A.a)("core/list",{nodeName:"UL",values:t.map(function(e,t){return wp.element.createElement("li",{key:t},x()(e,"children.props.children","")," ")}).concat(n?wp.element.createElement("li",{key:"citation"},n):[])})}},{type:"raw",isMatch:function(e){return"OL"===e.nodeName||"UL"===e.nodeName}},{type:"pattern",regExp:/^[*-]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"UL",values:M(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"OL",values:M(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return E()(t.map(function(e){return x()(e,"props.children",null)})).map(function(e){return Object(A.a)("core/paragraph",{content:e})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(A.a)("core/quote",{value:(1===t.length?t:_()(t)).map(function(e){return{children:wp.element.createElement("p",null," ",x()(e,"props.children")," ")}}),citation:1===t.length?void 0:x()(v()(t),"props.children")})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),b()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.setupEditor=e.setupEditor.bind(e),e.getEditorSettings=e.getEditorSettings.bind(e),e.setNextValues=e.setNextValues.bind(e),e.state={internalListType:null},e}return p()(t,e),l()(t,[{key:"isListActive",value:function(e){var t=this.state.internalListType,n=this.props.attributes.nodeName;return e===(t||n)}},{key:"findInternalListType",value:function(e){var t=e.parents,n=C()(t,function(e){return"UL"===e.nodeName||"OL"===e.nodeName});return n?n.nodeName:null}},{key:"setupEditor",value:function(e){var t=this;e.on("nodeChange",function(e){t.setState({internalListType:t.findInternalListType(e)})}),/^(?:fr|nl|sv|ru|de|es|it)/.test(window.navigator.browserLanguage||window.navigator.language)?(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","Increase indent","Indent")):(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")),this.editor=e}},{key:"createSetListType",value:function(e,t){var n=this;return function(){var r=n.props.setAttributes,o=n.state.internalListType;o?o!==e&&n.editor&&n.editor.execCommand(t):r({nodeName:e})}}},{key:"createExecCommand",value:function(e){var t=this;return function(){t.editor&&t.editor.execCommand(e)}}},{key:"getEditorSettings",value:function(e){return b()({},e,{plugins:(e.plugins||[]).concat("lists"),lists_indent_on_tab:!1})}},{key:"setNextValues",value:function(e){this.props.setAttributes({values:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.focus,r=e.setFocus,o=e.insertBlocksAfter,i=e.setAttributes,a=e.mergeBlocks,s=t.nodeName,l=t.values;return[n&&wp.element.createElement(P.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(j.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(j.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(j.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(j.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),n&&wp.element.createElement(N.a,{key:"inspector"},wp.element.createElement(L.a,null,wp.element.createElement("p",null,Object(j.__)("List. Numbered or bulleted."))),wp.element.createElement("p",null,Object(j.__)("No advanced options."))),wp.element.createElement(R.a,{multiline:"li",key:"editable",tagName:s.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:l,focus:n,onFocus:r,wrapperClassName:"blocks-list",placeholder:Object(j.__)("Write list…"),onMerge:a,onSplit:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];r.length||r.push(Object(A.a)("core/paragraph")),t.length&&r.push(Object(A.a)("core/list",{nodeName:s,values:t})),i({values:e}),o(r)}})]}}]),t}(S.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(S.createElement)(n.toLowerCase(),null,r)}})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,0,-1):[]}var o=n(174);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(667)),i=(n.n(o),n(27)),a=n(38),s=n(43);Object(i.o)("core/separator",{title:Object(r.__)("Separator"),icon:"minus",category:"layout",keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return Object(i.a)("core/separator")}},{type:"raw",isMatch:function(e){return"HR"===e.nodeName}}]},edit:function(e){var t=e.focus,n=e.className;return[t&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)("Use the separator to indicate a thematic change in the content.")))),wp.element.createElement("hr",{key:"hr",className:n})]},save:function(){return wp.element.createElement("hr",null)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(669)),i=(n.n(o),n(27)),a=n(38),s=n(43),l=n(169);Object(i.o)("core/more",{title:Object(r.__)("More"),icon:"editor-insertmore",category:"layout",useOnce:!0,supportHTML:!1,supports:{customClassName:!1,className:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=t.customText,u=t.noTeaser,f=function(){return n({noTeaser:!u})},p=Object(r.__)("Read more"),d=void 0!==c?c:p,h=d.length?d.length+1:1;return[o&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)('"More" allows you to break your post into a part shown on index pages, and the subsequent after clicking a "Read More" link.'))),wp.element.createElement(l.a,{label:Object(r.__)('Hide the teaser before the "More" tag'),checked:!!u,onChange:f})),wp.element.createElement("div",{key:"more-tag",className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:d,size:h,onChange:function(e){return n({customText:e.target.value})},onFocus:i}))]},save:function(){return null}})},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(0),h=(n.n(d),n(2)),g=(n.n(h),n(1)),b=(n.n(g),n(671)),m=(n.n(b),n(672)),v=(n.n(m),n(27)),y=n(82),_=n(412),w=n(64),x=n(169),k=n(101),E=n(460),O=n(509),C=n(38),S=n(43),j=window,T=j.getComputedStyle,A=Object(g.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=!n&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:r||!e?void 0:T(e).backgroundColor,fallbackTextColor:n||!o?void 0:T(o).color}})(O.a),R=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleClear=e.toggleClear.bind(e),e}return p()(t,e),l()(t,[{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleClear",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({clear:!t.clear})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,o=e.setFocus,i=e.className,a=t.text,s=t.url,l=t.title,c=t.align,u=t.color,f=t.textColor,p=t.clear;return[r&&wp.element.createElement(w.a,{key:"controls"},wp.element.createElement(k.a,{value:c,onChange:this.updateAlignment})),wp.element.createElement("span",{key:"button",className:i,title:l,style:{backgroundColor:u},ref:this.bindRef},wp.element.createElement(y.a,{tagName:"span",placeholder:Object(d.__)("Add text…"),value:a,focus:r,onFocus:o,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],style:{color:f},keepPlaceholderOnFocus:!0}),r&&wp.element.createElement(C.a,{key:"inspector"},wp.element.createElement(S.a,null,wp.element.createElement("p",null,Object(d.__)("A nice little button. Call something out with it."))),wp.element.createElement(x.a,{label:Object(d.__)("Stand on a line"),checked:!!p,onChange:this.toggleClear}),wp.element.createElement(g.PanelColor,{title:Object(d.__)("Background Color"),colorValue:u},wp.element.createElement(E.a,{value:u,onChange:function(e){return n({color:e})}})),wp.element.createElement(g.PanelColor,{title:Object(d.__)("Text Color"),colorValue:f},wp.element.createElement(E.a,{value:f,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(A,{node:this.nodeRef,textColor:f,backgroundColor:u,isLargeText:!0}))),r&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(g.Dashicon,{icon:"admin-links"}),wp.element.createElement(_.a,{value:s,onChange:function(e){return n({url:e})}}),wp.element.createElement(g.IconButton,{icon:"editor-break",label:Object(d.__)("Apply"),type:"submit"}))]}}]),t}(h.Component);Object(v.o)("core/button",{title:Object(d.__)("Button"),icon:"button",category:"layout",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"none"},color:{type:"string"},textColor:{type:"string"}},getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={};return"left"!==t&&"right"!==t&&"center"!==t||(r["data-align"]=t),n&&(r["data-clear"]="true"),r},edit:R,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a=t.color,s=t.textColor;return wp.element.createElement("div",{className:"align"+i,style:{backgroundColor:a}},wp.element.createElement("a",{href:n,title:o,style:{color:s}},r))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n(674);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(694);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(696);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(698);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(702);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var c=n(710);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(c).default}});var u=n(712);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(u).default}});var f=n(714);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(f).default}});var p=n(715);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(p).default}});var d=n(721);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(724);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var g=n(728);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(g).default}});var b=n(731);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(b).default}});var m=n(507);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(m).default}});var v=r(s);t.default=v.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(45),u=n(693),f=r(u),p=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,u=e.direction,f=e.style,p=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:f}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(c.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:p,onChange:s,direction:u})))};p.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var o=n(87),i=r(o),a=n(461),s=r(a),l=n(265),c=r(l),u=n(63),f=r(u),p=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,f.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,c.default)(t)?(0,s.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var o=n(461),i=r(o),a=n(677),s=r(a),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=l({},n[t],r[t])}),t}),n};t.default=c},function(e,t,n){function r(e){return o(e,i|a)}var o=n(268),i=1,a=4;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(461),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,function(e,n){var r={};(0,o.default)(e,function(e,t){var n=a[t];n?r=i({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return l.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return l.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=n(683),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),g=n(506),b=r(g),m=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=h.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,p.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:s({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return u.default.createElement("div",{style:n.alpha},u.default.createElement("div",{style:n.checkboard},u.default.createElement(b.default,{renderers:this.props.renderers})),u.default.createElement("div",{style:n.gradient}),u.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("div",{style:n.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:n.slider}))))}}]),t}(c.PureComponent||c.Component);t.default=m},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else{var f=void 0;if(f=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}function o(e,t,n,o){var a=e+"-"+t+"-"+n+(o?"-server":""),s=r(e,t,n,o);return i[a]?i[a]:(i[a]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=r,t.get=o;var i={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=t.EditableInput=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,e.target.value),e):n.props.onChange&&n.props.onChange(e.target.value,e),n.setState({value:e.target.value})},n.handleKeyDown=function(e){var t=String(e.target.value),r=t.indexOf("%")>-1,i=Number(t.replace(/%/g,""));if(!isNaN(i)){var a=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i+a),e):n.props.onChange&&n.props.onChange(i+a,e),r?n.setState({value:i+a+"%"}):n.setState({value:i+a})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i-a),e):n.props.onChange&&n.props.onChange(i-a,e),r?n.setState({value:i-a+"%"}):n.setState({value:i-a}))}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,p.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return u.default.createElement("div",{style:t.wrap},u.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label?u.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(c.PureComponent||c.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(687),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=d.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,f.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return c.default.createElement("div",{style:r.hue},c.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),c.default.createElement("div",{style:r.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:r.slider}))))}}]),t}(l.PureComponent||l.Component);t.default=h},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(c<0)u=359;else if(c>i)u=0;else{var f=-100*c/i+100;u=360*f/100}if(n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var p=void 0;if(l<0)p=0;else if(l>o)p=359;else{var d=100*l/o;p=360*d/100}if(n.hsl.h!==p)return{h:p,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(372),d=r(p),h=n(689),g=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),b=t.Saturation=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.onChange&&n.throttle(n.props.onChange,g.calculateChange(e,t,n.props,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,d.default)(function(e,t,n){e(t,n)},50),n}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,i=t.pointer,a=t.circle,s=(0,f.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:i,circle:a}},{custom:!!this.props.style});return c.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),c.default.createElement("div",{style:s.white,className:"saturation-white"},c.default.createElement("div",{style:s.black,className:"saturation-black"}),c.default.createElement("div",{style:s.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:s.circle}))))}}]),t}(l.PureComponent||l.Component);t.default=b},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:c<0?c=0:c>i&&(c=i);var u=100*l/o,f=-100*c/i+100;return{h:n.hsl.h,s:u,v:f,a:n.hsl.a,source:"rgb"}}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){var r;!function(){function o(e,t){if(e=e||"",t=t||{},e instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=i(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=q(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=q(this._r)),this._g<1&&(this._g=q(this._g)),this._b<1&&(this._b=q(this._b)),this._ok=n.ok,this._tc_id=z++}function i(e){var t={r:0,g:0,b:0},n=1,r=!1,o=!1;if("string"==typeof e&&(e=D(e)),"object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))t=a(e.r,e.g,e.b),r=!0,o="%"===String(e.r).substr(-1)?"prgb":"rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){var i=N(e.s,1),s=N(e.v,1);t=u(e.h,i,s),r=!0,o="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var i=N(e.s),c=N(e.l);t=l(e.h,i,c),r=!0,o="hsl"}e.hasOwnProperty("a")&&(n=e.a)}return n=C(n),{ok:r,format:e.format||o,r:U(255,K(t.r,0)),g:U(255,K(t.g,0)),b:U(255,K(t.b,0)),a:n}}function a(e,t,n){return{r:255*S(e,255),g:255*S(t,255),b:255*S(n,255)}}function s(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function l(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=S(e,360),t=S(t,100),n=S(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function c(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function u(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=H.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}function f(e,t,n,r){var o=[P(q(e).toString(16)),P(q(t).toString(16)),P(q(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function p(e,t,n,r){return[P(L(r)),P(q(e).toString(16)),P(q(t).toString(16)),P(q(n).toString(16))].join("")}function d(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=j(n.s),o(n)}function h(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=j(n.s),o(n)}function g(e){return o(e).desaturate(100)}function b(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=j(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=K(0,U(255,n.r-q(-t/100*255))),n.g=K(0,U(255,n.g-q(-t/100*255))),n.b=K(0,U(255,n.b-q(-t/100*255))),o(n)}function v(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=j(n.l),o(n)}function y(e,t){var n=o(e).toHsl(),r=(q(n.h)+t)%360;return n.h=r<0?360+r:r,o(n)}function _(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function w(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+120)%360,s:t.s,l:t.l}),o({h:(n+240)%360,s:t.s,l:t.l})]}function x(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+90)%360,s:t.s,l:t.l}),o({h:(n+180)%360,s:t.s,l:t.l}),o({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function E(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),i=360/n,a=[o(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function O(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],l=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+l)%1;return s}function C(e){var t=parseFloat(e);return(isNaN(t)||t<0||t>1)&&(t=1),t}function S(e,t){A(e)&&(e="100%");var n=R(e);return e=U(t,K(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),H.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function j(e){return U(1,K(0,e))}function T(e){return parseInt(e,16)}function A(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function R(e){return"string"==typeof e&&-1!=e.indexOf("%")}function P(e){return 1==e.length?"0"+e:""+e}function N(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}function L(e){return Math.round(255*parseFloat(e)).toString(16)}function M(e){return T(e)/255}function D(e){e=e.replace(I,"").replace(F,"").toLowerCase();var t=!1;if(W[e])e=W[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=$.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=$.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=$.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=$.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$.hex8.exec(e))?{a:M(n[1]),r:T(n[2]),g:T(n[3]),b:T(n[4]),format:t?"name":"hex8"}:(n=$.hex6.exec(e))?{r:T(n[1]),g:T(n[2]),b:T(n[3]),format:t?"name":"hex"}:!!(n=$.hex3.exec(e))&&{r:T(n[1]+""+n[1]),g:T(n[2]+""+n[2]),b:T(n[3]+""+n[3]),format:t?"name":"hex"}}function B(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var I=/^[\s,#]+/,F=/\s+$/,z=0,H=Math,q=H.round,U=H.min,K=H.max,V=H.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,i,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),i=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=C(e),this._roundA=q(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return p(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:q(this._r),g:q(this._g),b:q(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+q(this._r)+", "+q(this._g)+", "+q(this._b)+")":"rgba("+q(this._r)+", "+q(this._g)+", "+q(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:q(100*S(this._r,255))+"%",g:q(100*S(this._g,255))+"%",b:q(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%)":"rgba("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){n=o(e).toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:N(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:V(),g:V(),b:V()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r,i=o(e).toRgb(),a=o(t).toRgb(),s=n/100,l=2*s-1,c=a.a-i.a;r=l*c==-1?l:(l+c)/(1+l*c),r=(r+1)/2;var u=1-r;return o({r:a.r*r+i.r*u,g:a.g*r+i.g*u,b:a.b*r+i.b*u,a:a.a*s+i.a*(1-s)})},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a=o.readability(e,t);switch(i=!1,r=B(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,l=null,c=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=o.readability(e,t[u]))>c&&(c=r,l=o(t[u]));return o.isReadable(e,l,{level:a,size:s})||!i?l:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var W=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},G=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(W),$=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(692),u=n(45),f=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,i=void 0===r?function(){}:r,s=e.onHover,c=e.title,f=void 0===c?t:c,p=e.children,d=e.focus,h=e.focusStyle,g=void 0===h?{}:h,b="transparent"===t,m=(0,l.default)({default:{swatch:o({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?g:{})}}),v=function(e){return i(t,e)},y=function(e){return 13===e.keyCode&&i(t,e)},_=function(e){return s(t,e)},w={};return s&&(w.onMouseOver=_),a.default.createElement("div",o({style:m.swatch,onClick:v,title:f,tabIndex:0,onKeyDown:y},w),p,b&&a.default.createElement(u.Checkboard,{borderRadius:m.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,c.handleFocus)(f)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s);t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={focus:!1},c.handleFocus=function(){return c.setState({focus:!0})},c.handleBlur=function(){return c.setState({focus:!1})},c.render=function(){return l.default.createElement(t,{onFocus:c.handleFocus,onBlur:c.handleBlur},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.AlphaPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=n(695),p=r(f),d=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,f="transparent"===r,d=function(e,n){c.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},h=(0,s.default)({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:f?"rgba(0,0,0,0.4)":"#fff",position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===l});return i.default.createElement("div",{style:h.card,className:"block-picker"},i.default.createElement("div",{style:h.triangle}),i.default.createElement("div",{style:h.head},f&&i.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),i.default.createElement("div",{style:h.label},r)),i.default.createElement("div",{style:h.body},i.default.createElement(p.default,{colors:o,onClick:d,onSwatchHover:n}),i.default.createElement(u.EditableInput,{style:{input:h.input},value:r,onChange:d})))};d.defaultProps={width:"170px",colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(45),f=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,o=(0,s.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i.default.createElement("div",{style:o.swatches},(0,c.default)(t,function(e){return i.default.createElement(u.Swatch,{key:e,color:e,style:o.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:o.clear}))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(508),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),p=n(45),d=n(697),h=r(d),g=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,l=e.circleSize,u=e.circleSpacing,f=(0,s.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}}),p=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:f.card,className:"circle-picker"},(0,c.default)(o,function(e){return i.default.createElement(h.default,{key:e,color:e,onClick:p,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:l,circleSpacing:u})}))};g.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[f.red[500],f.pink[500],f.purple[500],f.deepPurple[500],f.indigo[500],f.blue[500],f.lightBlue[500],f.cyan[500],f.teal[500],f.green[500],f.lightGreen[500],f.lime[500],f.yellow[500],f.amber[500],f.orange[500],f.deepOrange[500],f.brown[500],f.blueGrey[500]]},t.default=(0,p.ColorWrap)(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,c=e.circleSize,u=e.circleSpacing,f=(0,s.default)({default:{swatch:{width:c,height:c,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:o,active:a});return i.default.createElement("div",{style:f.swatch},i.default.createElement(l.Swatch,{style:f.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};c.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(699),u=r(c),f=n(700),p=r(f),d=n(701),h=r(d),g=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,a=e.hsv,c=e.hex,f=e.renderers,d=(0,s.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:n});return i.default.createElement("div",{style:d.picker,className:"chrome-picker"},i.default.createElement("div",{style:d.saturation},i.default.createElement(l.Saturation,{style:d.Saturation,hsl:o,hsv:a,pointer:h.default,onChange:t})),i.default.createElement("div",{style:d.body},i.default.createElement("div",{style:d.controls,className:"flexbox-fix"},i.default.createElement("div",{style:d.color},i.default.createElement("div",{style:d.swatch},i.default.createElement("div",{style:d.active}),i.default.createElement(l.Checkboard,{renderers:f}))),i.default.createElement("div",{style:d.toggles},i.default.createElement("div",{style:d.hue},i.default.createElement(l.Hue,{style:d.Hue,hsl:o,pointer:p.default,onChange:t})),i.default.createElement("div",{style:d.alpha},i.default.createElement(l.Alpha,{style:d.Alpha,rgb:r,hsl:o,pointer:p.default,renderers:f,onChange:t})))),i.default.createElement(u.default,{rgb:r,hsl:o,hex:c,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(176),d=r(p),h=n(45),g=t.ChromeFields=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={view:""},r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?d.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:e.s&&e.s||r.props.hsl.s,l:e.l&&e.l||r.props.hsl.l,source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,f.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),c.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,c.default.createElement("div",{style:t.toggle},c.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},c.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},c.default.createElement("path",{ref:function(t){return e.iconUp=t},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),c.default.createElement("path",{ref:function(t){return e.iconDown=t},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(c.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointer=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointerCircle=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(463),d=n(45),h=n(708),g=r(h),b=n(709),m=r(b),v=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,o=e.hex,a=e.rgb,l=(0,s.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),u=function(e,n){e.hex?f.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.default.createElement(p.Raised,{style:l.Compact},i.default.createElement("div",{style:l.compact,className:"compact-picker"},i.default.createElement("div",null,(0,c.default)(r,function(e){return i.default.createElement(g.default,{key:e,color:e,active:e.toLowerCase()===o,onClick:u,onSwatchHover:n})}),i.default.createElement("div",{style:l.clear})),i.default.createElement(m.default,{hex:o,rgb:a,onChange:u})))};v.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,d.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(179),f=r(u),p=n(20),d=r(p),h=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,d.default)({default:{wrap:{position:"relative"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 ${ this.props.zDepth }px ${ this.props.zDepth * 4 }px rgba(0,0,0,.24)",borderRadius:this.props.radius,background:this.props.background}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},this.props);return c.default.createElement("div",{style:e.wrap},c.default.createElement("div",{style:e.bg}),c.default.createElement("div",{style:e.content},this.props.children))}}]),t}(c.default.Component);h.propTypes={background:f.default.string,zDepth:f.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:f.default.oneOfType([f.default.string,f.default.number])},h.defaultProps={background:"#fff",zDepth:"1",radius:"2px"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"render",value:function(){var e=(0,p.default)({default:{tile:{fontSize:"16px",padding:"16px",display:"flex",justifyContent:"space-between",color:this.props.color},primary:{display:"flex",width:"100%"},sidebar:{minWidth:"56px",maxWidth:"56px",flexBasis:"56px"},content:{background:"none",flex:"1",overflow:"auto"},secondary:{flexBasis:"42",textAlign:"center"},sidebarIcon:{marginTop:"-12px",marginLeft:"-12px",marginBottom:"-12px"}},divider:{tile:{boxShadow:"inset 0 -1px 0 rgba(0,0,0,.12)"}},condensed:{tile:{paddingBottom:"0px",paddingTop:"0px",paddingRight:"0px"},sidebar:{minWidth:"28px",maxWidth:"28px",flexBasis:"28px"}}},{clickable:this.props.onClick},this.props),t=s(this.props.children,2),n=t[0],r=t[1];return u.default.createElement("div",{style:e.tile,className:"flexbox-fix"},u.default.createElement("div",{style:e.primary,className:"flexbox-fix"},u.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),u.default.createElement("div",{style:e.content,key:"content-#{ content }"},r)))}}]),t}(u.default.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(87),d=r(p),h=n(706),g=r(h),b=n(707),m=r(b),v=function(e){function t(e){o(this,t);var n,r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n=e.selectedTab<(e.tabs&&e.tabs.length)?e.selectedTab:0,r.state={selectedTab:n},r.handleClick=r.handleClick.bind(r),r.slide=r.slide.bind(r),r}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onChange&&this.props.onChange(e),this.setState({selectedTab:e})}},{key:"slide",value:function(){if(this.props.tabs.length){var e=this.refs.tabs.getDOMNode(),t=e.scrollLeft,n=e.offsetWidth+e.scrollLeft,r=this.refs["tab-"+this.state.selectedTab]&&this.refs["tab-"+this.state.selectedTab].getDOMNode(),o=r&&r.getBoundingClientRect().left-e.getBoundingClientRect().left+e.scrollLeft,i=r&&o+r.offsetWidth;i>n&&(e.scrollLeft+=i-n),o<t&&(e.scrollLeft-=t-o);var a=this.refs.indicator;a.style.left=o+"px",a.style.width=r.offsetWidth+"px",a.style.height="2px"}}},{key:"componentDidMount",value:function(){this.slide()}},{key:"componentWillReceiveProps",value:function(e){e.selectedTab!==this.state.selectedTab&&this.setState({selectedTab:e.selectedTab})}},{key:"componentWillUpdate",value:function(e,t){t.selectedTab>=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,f.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],n=0;n<this.props.tabs.length;n++){var r,o,i,a,s=this.props.tabs[n];(0,d.default)(s)?(r=s,o=null):(r=s.label,o=s.onClick,i=s.callbackValue,a=s.newTab),t.push(c.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},c.default.createElement(m.default,{onClick:o,callbackValue:i,newTab:a},c.default.createElement(g.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:s.selectable,onClick:this.handleClick},r))))}return c.default.createElement("div",{style:e.tabs,ref:"tabs"},c.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),c.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(c.default.Component);v.defaultProps={selectedTab:0,background:"transparent",color:"#fff"},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(179),f=r(u),p=n(20),d=r(p),h=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(){!1!==this.props.selectable&&this.props.onClick(this.props.tab)}},{key:"render",value:function(){var e=(0,d.default)({default:{tab:{color:this.props.inactive||this.props.color,cursor:"pointer",paddingLeft:"12px",paddingRight:"12px",height:"48px",lineHeight:"48px",textAlign:"center",fontSize:"14px",textTransform:!1===this.props.capitalize?"":"uppercase",fontWeight:"500",whiteSpace:"nowrap",opacity:".47",transition:"opacity 100ms linear"}},selected:{tab:{color:this.props.color,opacity:".87"}}},this.props);return c.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);h.propTypes={selected:f.default.bool},h.defaultProps={selected:!1,color:"#fff"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(87),f=r(u),p=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onClick&&this.props.onClick(e,this.props.callbackValue)}},{key:"render",value:function(){return(0,f.default)(this.props.onClick)?c.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):c.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);p.defaultProps={newTab:!1},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,c=(0,s.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:"#fff",borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{style:c.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:c.dot}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CompactFields=function(e){var t=e.hex,n=e.rgb,r=e.onChange,o=(0,s.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i.default.createElement("div",{style:o.fields,className:"flexbox-fix"},i.default.createElement("div",{style:o.active}),i.default.createElement(l.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:t,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(45),f=n(711),p=r(f),d=t.Github=function(e){var t=e.width,n=e.colors,r=e.onChange,o=e.onSwatchHover,a=e.triangle,l=(0,s.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-right-triangle":"bottom-right"===a}),u=function(e,t){return r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:l.card,className:"github-picker"},i.default.createElement("div",{style:l.triangleShadow}),i.default.createElement("div",{style:l.triangle}),(0,c.default)(n,function(e){return i.default.createElement(p.default,{color:e,key:e,onClick:u,onSwatchHover:o})}))};d.defaultProps={width:"200px",colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.GithubSwatch=function(e){var t=e.hover,n=e.color,r=e.onClick,o=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,s.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:a}},{hover:t});return i.default.createElement("div",{style:c.swatch},i.default.createElement(l.Swatch,{color:n,onClick:r,onHover:o,focusStyle:a}))};t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(45),u=n(713),f=r(u),p=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,i=e.hsl,s=e.direction,u=e.pointer,f=(0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),p=function(e){return r({a:1,h:e.h,l:.5,s:1})};return a.default.createElement("div",{style:f.picker,className:"hue-picker"},a.default.createElement(c.Hue,o({},f.hue,{hsl:i,pointer:u,onChange:p,direction:s})))};p.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(463),f=n(45),p=t.Material=function(e){var t=e.onChange,n=e.hex,r=e.rgb,o=(0,s.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}}),a=function(e,n){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return i.default.createElement(u.Raised,null,i.default.createElement("div",{style:o.material,className:"material-picker"},i.default.createElement(f.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:n,onChange:a}),i.default.createElement("div",{style:o.split,className:"flexbox-fix"},i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:a})))))};t.default=(0,f.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(45),d=n(716),h=r(d),g=n(717),b=r(g),m=n(718),v=r(m),y=n(719),_=r(y),w=n(720),x=r(w),k=t.Photoshop=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,f.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return c.default.createElement("div",{style:e.picker,className:"photoshop-picker"},c.default.createElement("div",{style:e.head},this.props.header),c.default.createElement("div",{style:e.body,className:"flexbox-fix"},c.default.createElement("div",{style:e.saturation},c.default.createElement(p.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:b.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.hue},c.default.createElement(p.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:v.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.controls},c.default.createElement("div",{style:e.top,className:"flexbox-fix"},c.default.createElement("div",{style:e.previews},c.default.createElement(x.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),c.default.createElement("div",{style:e.actions},c.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),c.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),c.default.createElement(h.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(c.default.Component);k.defaultProps={header:"Color Picker"},t.default=(0,p.ColorWrap)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,o=e.hex,a=(0,s.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,o){e["#"]?c.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},o):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},o)};return i.default.createElement("div",{style:a.fields},i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:l}),i.default.createElement("div",{style:a.fieldSymbols},i.default.createElement("div",{style:a.symbol},"°"),i.default.createElement("div",{style:a.symbol},"%"),i.default.createElement("div",{style:a.symbol},"%")))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(){var e=(0,s.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.default.createElement("div",{style:e.pointer},i.default.createElement("div",{style:e.left},i.default.createElement("div",{style:e.leftInside})),i.default.createElement("div",{style:e.right},i.default.createElement("div",{style:e.rightInside})))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,a=(0,s.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.default.createElement("div",{style:a.button,onClick:t},n||r)};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.default.createElement("div",null,i.default.createElement("div",{style:r.label},"new"),i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.new}),i.default.createElement("div",{style:r.current})),i.default.createElement("div",{style:r.label},"current"))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(722),u=r(c),f=n(723),p=r(f),d=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,c=e.onChange,f=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,g=e.renderers,b=(0,s.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:d});return i.default.createElement("div",{style:b.picker,className:"sketch-picker"},i.default.createElement("div",{style:b.saturation},i.default.createElement(l.Saturation,{style:b.Saturation,hsl:a,hsv:o,onChange:c})),i.default.createElement("div",{style:b.controls,className:"flexbox-fix"},i.default.createElement("div",{style:b.sliders},i.default.createElement("div",{style:b.hue},i.default.createElement(l.Hue,{style:b.Hue,hsl:a,onChange:c})),i.default.createElement("div",{style:b.alpha},i.default.createElement(l.Alpha,{style:b.Alpha,rgb:n,hsl:a,renderers:g,onChange:c}))),i.default.createElement("div",{style:b.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:b.activeColor}))),i.default.createElement(u.default,{rgb:n,hsl:a,hex:r,onChange:c,disableAlpha:d}),i.default.createElement(p.default,{colors:h,onClick:c,onSwatchHover:f}))};d.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.disableAlpha,l=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),f=function(e,o){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.default.createElement("div",{style:l.fields,className:"flexbox-fix"},i.default.createElement("div",{style:l.double},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:f})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(179),l=r(s),c=n(20),u=r(c),f=n(45),p=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,i=e.onSwatchHover,s=(0,u.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){r({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e;return a.default.createElement("div",{key:t.color,style:s.swatchWrap},a.default.createElement(f.Swatch,o({},t,{style:s.swatch,onClick:l,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};p.propTypes={colors:l.default.arrayOf(l.default.oneOfType([l.default.string,l.default.shape({color:l.default.string,title:l.default.string})]))},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(725),u=r(c),f=n(727),p=r(f),d=t.Slider=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,o=(0,s.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return i.default.createElement("div",{className:"slider-picker"},i.default.createElement("div",{style:o.hue},i.default.createElement(l.Hue,{style:o.Hue,hsl:t,pointer:r,onChange:n})),i.default.createElement("div",{style:o.swatches},i.default.createElement(u.default,{hsl:t,onClick:n})))};d.defaultProps={pointer:p.default},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(726),c=r(l),u=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,r=(0,s.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),i.default.createElement("div",{style:r.clear}))};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,r=e.onClick,o=void 0===r?function(){}:r,a=e.active,l=e.first,c=e.last,u=(0,s.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:l,last:c}),f=function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)};return i.default.createElement("div",{style:u.swatch,onClick:f})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(){var e=(0,s.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(508),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=n(45),g=n(463),b=n(729),m=r(b),v=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,l=e.hex,u=(0,s.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),p=function(e,t){f.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:u.picker,className:"swatches-picker"},i.default.createElement(g.Raised,null,i.default.createElement("div",{style:u.overflow},i.default.createElement("div",{style:u.body},(0,c.default)(a,function(e){return i.default.createElement(m.default,{key:e.toString(),group:e,active:l,onClick:p,onSwatchHover:o})}),i.default.createElement("div",{style:u.clear})))))};v.defaultProps={width:320,height:240,colors:[[d.red[900],d.red[700],d.red[500],d.red[300],d.red[100]],[d.pink[900],d.pink[700],d.pink[500],d.pink[300],d.pink[100]],[d.purple[900],d.purple[700],d.purple[500],d.purple[300],d.purple[100]],[d.deepPurple[900],d.deepPurple[700],d.deepPurple[500],d.deepPurple[300],d.deepPurple[100]],[d.indigo[900],d.indigo[700],d.indigo[500],d.indigo[300],d.indigo[100]],[d.blue[900],d.blue[700],d.blue[500],d.blue[300],d.blue[100]],[d.lightBlue[900],d.lightBlue[700],d.lightBlue[500],d.lightBlue[300],d.lightBlue[100]],[d.cyan[900],d.cyan[700],d.cyan[500],d.cyan[300],d.cyan[100]],[d.teal[900],d.teal[700],d.teal[500],d.teal[300],d.teal[100]],["#194D33",d.green[700],d.green[500],d.green[300],d.green[100]],[d.lightGreen[900],d.lightGreen[700],d.lightGreen[500],d.lightGreen[300],d.lightGreen[100]],[d.lime[900],d.lime[700],d.lime[500],d.lime[300],d.lime[100]],[d.yellow[900],d.yellow[700],d.yellow[500],d.yellow[300],d.yellow[100]],[d.amber[900],d.amber[700],d.amber[500],d.amber[300],d.amber[100]],[d.orange[900],d.orange[700],d.orange[500],d.orange[300],d.orange[100]],[d.deepOrange[900],d.deepOrange[700],d.deepOrange[500],d.deepOrange[300],d.deepOrange[100]],[d.brown[900],d.brown[700],d.brown[500],d.brown[300],d.brown[100]],[d.blueGrey[900],d.blueGrey[700],d.blueGrey[500],d.blueGrey[300],d.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,h.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(730),f=r(u),p=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,o=e.active,a=(0,s.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i.default.createElement("div",{style:a.group},(0,c.default)(r,function(e,a){return i.default.createElement(f.default,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})}))};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,c=e.last,u=e.active,f=(0,s.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{fill:"#fff",marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:a,last:c,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{color:t,style:f.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:f.check},i.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(45),d=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,u=(0,s.default)({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),d=function(e,n){f.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return i.default.createElement("div",{style:u.card,className:"twitter-picker"},i.default.createElement("div",{style:u.triangleShadow}),i.default.createElement("div",{style:u.triangle}),i.default.createElement("div",{style:u.body},(0,c.default)(o,function(e,t){return i.default.createElement(p.Swatch,{key:t,color:e,hex:e,style:u.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:u.hash},"#"),i.default.createElement(p.EditableInput,{style:{input:u.input},value:r.replace("#",""),onChange:d}),i.default.createElement("div",{style:u.clear})))};d.defaultProps={width:"276px",colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,p.ColorWrap)(d)},function(e,t){},function(e,t,n){var r;!function(o){function i(e,t){if(e=e||"",t=t||{},e instanceof i)return e;if(!(this instanceof i))return new i(e,t);var n=a(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=K(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=K(this._r)),this._g<1&&(this._g=K(this._g)),this._b<1&&(this._b=K(this._b)),this._ok=n.ok,this._tc_id=U++}function a(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,l=!1;return"string"==typeof e&&(e=F(e)),"object"==typeof e&&(I(e.r)&&I(e.g)&&I(e.b)?(t=s(e.r,e.g,e.b),a=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):I(e.h)&&I(e.s)&&I(e.v)?(r=M(e.s),o=M(e.v),t=f(e.h,r,o),a=!0,l="hsv"):I(e.h)&&I(e.s)&&I(e.l)&&(r=M(e.s),i=M(e.l),t=c(e.h,r,i),a=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=j(n),{ok:a,format:e.format||l,r:V(255,W(t.r,0)),g:V(255,W(t.g,0)),b:V(255,W(t.b,0)),a:n}}function s(e,t,n){return{r:255*T(e,255),g:255*T(t,255),b:255*T(n,255)}}function l(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function c(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function u(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=W(e,t,n),a=V(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function f(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=r%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}function p(e,t,n,r){var o=[L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function d(e,t,n,r,o){var i=[L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16)),L(D(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function h(e,t,n,r){return[L(D(r)),L(K(e).toString(16)),L(K(t).toString(16)),L(K(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s-=t/100,n.s=A(n.s),i(n)}function b(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.s+=t/100,n.s=A(n.s),i(n)}function m(e){return i(e).desaturate(100)}function v(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l+=t/100,n.l=A(n.l),i(n)}function y(e,t){t=0===t?0:t||10;var n=i(e).toRgb();return n.r=W(0,V(255,n.r-K(-t/100*255))),n.g=W(0,V(255,n.g-K(-t/100*255))),n.b=W(0,V(255,n.b-K(-t/100*255))),i(n)}function _(e,t){t=0===t?0:t||10;var n=i(e).toHsl();return n.l-=t/100,n.l=A(n.l),i(n)}function w(e,t){var n=i(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,i(n)}function x(e){var t=i(e).toHsl();return t.h=(t.h+180)%360,i(t)}function k(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+120)%360,s:t.s,l:t.l}),i({h:(n+240)%360,s:t.s,l:t.l})]}function E(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+90)%360,s:t.s,l:t.l}),i({h:(n+180)%360,s:t.s,l:t.l}),i({h:(n+270)%360,s:t.s,l:t.l})]}function O(e){var t=i(e).toHsl(),n=t.h;return[i(e),i({h:(n+72)%360,s:t.s,l:t.l}),i({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=i(e).toHsl(),o=360/n,a=[i(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(i(r));return a}function S(e,t){t=t||6;for(var n=i(e).toHsv(),r=n.h,o=n.s,a=n.v,s=[],l=1/t;t--;)s.push(i({h:r,s:o,v:a})),a=(a+l)%1;return s}function j(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){P(e)&&(e="100%");var n=N(e);return e=V(t,W(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return V(1,W(0,e))}function R(e){return parseInt(e,16)}function P(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function N(e){return"string"==typeof e&&-1!=e.indexOf("%")}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function B(e){return R(e)/255}function I(e){return!!Z.CSS_UNIT.exec(e)}function F(e){e=e.replace(H,"").replace(q,"").toLowerCase();var t=!1;if($[e])e=$[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Z.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Z.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Z.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Z.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Z.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Z.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Z.hex8.exec(e))?{r:R(n[1]),g:R(n[2]),b:R(n[3]),a:B(n[4]),format:t?"name":"hex8"}:(n=Z.hex6.exec(e))?{r:R(n[1]),g:R(n[2]),b:R(n[3]),format:t?"name":"hex"}:(n=Z.hex4.exec(e))?{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),a:B(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=Z.hex3.exec(e))&&{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),format:t?"name":"hex"}}function z(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var H=/^\s+/,q=/\s+$/,U=0,K=o.round,V=o.min,W=o.max,G=o.random;i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,i,a,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,r=e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4),i=t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4),.2126*r+.7152*i+.0722*a},setAlpha:function(e){return this._a=j(e),this._roundA=K(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=K(360*e.h),n=K(100*e.s),r=K(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=l(this._r,this._g,this._b),t=K(360*e.h),n=K(100*e.s),r=K(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return p(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return d(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:K(this._r),g:K(this._g),b:K(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+K(this._r)+", "+K(this._g)+", "+K(this._b)+")":"rgba("+K(this._r)+", "+K(this._g)+", "+K(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:K(100*T(this._r,255))+"%",g:K(100*T(this._g,255))+"%",b:K(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+K(100*T(this._r,255))+"%, "+K(100*T(this._g,255))+"%, "+K(100*T(this._b,255))+"%)":"rgba("+K(100*T(this._r,255))+"%, "+K(100*T(this._g,255))+"%, "+K(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(X[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=i(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(x,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},i.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return i(e,t)},i.equals=function(e,t){return!(!e||!t)&&i(e).toRgbString()==i(t).toRgbString()},i.random=function(){return i.fromRatio({r:G(),g:G(),b:G()})},i.mix=function(e,t,n){n=0===n?0:n||50;var r=i(e).toRgb(),o=i(t).toRgb(),a=n/100;return i({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},i.readability=function(e,t){var n=i(e),r=i(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},i.isReadable=function(e,t,n){var r,o,a=i.readability(e,t);switch(o=!1,r=z(n),r.level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},i.mostReadable=function(e,t,n){var r,o,a,s,l=null,c=0;n=n||{},o=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=i.readability(e,t[u]))>c&&(c=r,l=i(t[u]));return i.isReadable(e,l,{level:a,size:s})||!o?l:(n.includeFallbackColors=!1,i.mostReadable(e,["#fff","#000"],n))};var $=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},X=i.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}($),Z=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=i:void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(63),a=n.n(i),s=n(0),l=(n.n(s),n(736)),c=(n.n(l),n(737)),u=(n.n(c),n(27)),f=n(82),p=n(64),d=n(101),h=n(38),g=n(43),b=function(e){return a()(e,function(e){return e.children})},m=function(e){return a()(e,function(e){return{children:e}})};Object(u.o)("core/pullquote",{title:Object(s.__)("Pullquote"),icon:"format-quote",category:"formatting",attributes:{value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}}},citation:{type:"array",source:"children",selector:"footer"},align:{type:"string",default:"none"}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,l=t.value,c=t.citation,u=t.align,v=function(e){return n({align:e})};return[r&&wp.element.createElement(h.a,{key:"inspector"},wp.element.createElement(g.a,null,wp.element.createElement("p",null,Object(s.__)("A pullquote is a brief, attention-catching quotation taken from the main text of an article and used as a subheading or graphic feature.")))),r&&wp.element.createElement(p.a,{key:"controls"},wp.element.createElement(d.a,{value:u,onChange:v})),wp.element.createElement("blockquote",{key:"quote",className:a},wp.element.createElement(f.a,{multiline:"p",value:b(l),onChange:function(e){return n({value:m(e)})},placeholder:Object(s.__)("Write quote…"),focus:r&&"value"===r.editable?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},wrapperClassName:"blocks-pullquote__content"}),(c||!!r)&&wp.element.createElement(f.a,{tagName:"footer",value:c,placeholder:Object(s.__)("Write caption…"),onChange:function(e){return n({citation:e})},focus:r&&"citation"===r.editable?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))}}))]},save:function(e){var t=e.attributes,n=t.value,r=t.citation,o=t.align;return wp.element.createElement("blockquote",{className:"align"+o},n&&n.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),r&&r.length>0&&wp.element.createElement("footer",null,r))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(739)),i=(n.n(o),n(740)),a=(n.n(i),n(27)),s=n(741),l=n(64),c=n(101),u=n(38),f=n(43);Object(a.o)("core/table",{title:Object(r.__)("Table"),icon:"editor-table",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"table",default:[wp.element.createElement("tbody",{key:"1"},wp.element.createElement("tr",null,wp.element.createElement("td",null,wp.element.createElement("br",null)),wp.element.createElement("td",null,wp.element.createElement("br",null))),wp.element.createElement("tr",null,wp.element.createElement("td",null,wp.element.createElement("br",null)),wp.element.createElement("td",null,wp.element.createElement("br",null))))]},align:{type:"string"}},transforms:{from:[{type:"raw",isMatch:function(e){return"TABLE"===e.nodeName}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,a=e.className,p=t.content,d=function(e){return n({align:e})};return[o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement(f.a,null,wp.element.createElement("p",null,Object(r.__)("Tables. Best used for tabular data.")))),o&&wp.element.createElement(l.a,{key:"toolbar"},wp.element.createElement(c.a,{value:t.align,onChange:d})),wp.element.createElement(s.a,{key:"editor",onChange:function(e){n({content:e})},content:p,focus:o,onFocus:i,className:a})]},save:function(e){var t=e.attributes,n=t.content,r=t.align;return wp.element.createElement("table",{className:r?"align"+r:null},n)}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e.dom.getParent(e.selection.getStart(!0),"table",e.getBody().parentNode)}function o(e){var t=e.getBody().querySelector("td,th");t&&(t.focus(),e.selection.select(t,!0),e.selection.collapse(!1))}function i(e){return function(t){t&&(r(t)||o(t),t.execCommand(e))}}var a=n(11),s=n.n(a),l=n(3),c=n.n(l),u=n(4),f=n.n(u),p=n(5),d=n.n(p),h=n(6),g=n.n(h),b=n(7),m=n.n(b),v=n(2),y=(n.n(v),n(1)),_=(n.n(y),n(0)),w=(n.n(_),n(82)),x=n(64),k=[{icon:"table-row-before",title:Object(_.__)("Insert Row Before"),onClick:i("mceTableInsertRowBefore")},{icon:"table-row-after",title:Object(_.__)("Insert Row After"),onClick:i("mceTableInsertRowAfter")},{icon:"table-row-delete",title:Object(_.__)("Delete Row"),onClick:i("mceTableDeleteRow")},{icon:"table-col-before",title:Object(_.__)("Insert Column Before"),onClick:i("mceTableInsertColBefore")},{icon:"table-col-after",title:Object(_.__)("Insert Column After"),onClick:i("mceTableInsertColAfter")},{icon:"table-col-delete",title:Object(_.__)("Delete Column"),onClick:i("mceTableDeleteCol")}],E=function(e){function t(){f()(this,t);var e=g()(this,(t.__proto__||c()(t)).call(this));return e.handleSetup=e.handleSetup.bind(e),e.state={editor:null},e}return m()(t,e),d()(t,[{key:"handleSetup",value:function(e,t){e.on("init",function(){t&&o(e)}),this.setState({editor:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.focus,o=t.onFocus,i=t.onChange,a=t.className;return[wp.element.createElement(w.a,{key:"editor",tagName:"table",wrapperClassName:a,getSettings:function(e){return s()({},e,{plugins:(e.plugins||[]).concat("table"),table_tab_navigation:!1})},onSetup:function(t){return e.handleSetup(t,r)},onChange:i,value:n,focus:r,onFocus:o}),r&&wp.element.createElement(x.a,{key:"menu"},wp.element.createElement(y.Toolbar,null,wp.element.createElement(y.DropdownMenu,{icon:"editor-table",label:Object(_.__)("Edit Table"),controls:k.map(function(t){return s()({},t,{onClick:function(){return t.onClick(e.state.editor)}})})})))]}}]),t}(v.Component);t.a=E},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(743)),i=(n.n(o),n(27)),a=n(82),s=n(38),l=n(43);Object(i.o)("core/preformatted",{title:Object(r.__)("Preformatted"),icon:"text",category:"formatting",attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/preformatted",e)}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=e.className,u=t.content;return[o&&wp.element.createElement(s.a,{key:"inspector"},wp.element.createElement(l.a,null,wp.element.createElement("p",null,Object(r.__)("Preformatted text keeps your spaces, tabs and linebreaks as they are.")))),wp.element.createElement(a.a,{key:"block",tagName:"pre",value:u,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write preformatted text…"),wrapperClassName:c})]},save:function(e){var t=e.attributes,n=t.content;return wp.element.createElement("pre",null,n)}})},function(e,t){},function(e,t,n){"use strict";var r=n(213),o=n.n(r),i=n(0),a=(n.n(i),n(745)),s=(n.n(a),n(27)),l=n(38),c=n(43);Object(s.o)("core/code",{title:Object(i.__)("Code"),icon:"editor-code",category:"formatting",attributes:{content:{type:"string",source:"property",selector:"code",property:"textContent"}},supportHTML:!1,transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^```$/,transform:function(){return Object(s.a)("core/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,a=e.className;return[r&&wp.element.createElement(l.a,{key:"inspector"},wp.element.createElement(c.a,null,wp.element.createElement("p",null,Object(i.__)("The code block maintains spaces and tabs, great for showing code snippets.")))),wp.element.createElement(o.a,{key:"block",className:a,value:t.content,onChange:function(e){return n({content:e.target.value})},placeholder:Object(i.__)("Write code…")})]},save:function(e){var t=e.attributes;return wp.element.createElement("pre",null,wp.element.createElement("code",null,t.content))}})},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(213),h=n.n(d),g=n(0),b=(n.n(g),n(2)),m=(n.n(b),n(747)),v=(n.n(m),n(27)),y=n(64),_=n(38),w=n(43);Object(v.o)("core/html",{title:Object(g.__)("Custom HTML"),icon:"html",category:"formatting",keywords:[Object(g.__)("embed")],supportHTML:!1,supports:{customClassName:!1,className:!1},attributes:{content:{type:"string",source:"html"}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.preview=e.preview.bind(e),e.edit=e.edit.bind(e),e.state={preview:!1},e}return p()(t,e),l()(t,[{key:"preview",value:function(){this.setState({preview:!0})}},{key:"edit",value:function(){this.setState({preview:!1})}},{key:"render",value:function(){var e=this.state.preview,t=this.props,n=t.attributes,r=t.setAttributes,o=t.focus;return wp.element.createElement("div",null,o&&wp.element.createElement(y.a,{key:"controls"},wp.element.createElement("ul",{className:"components-toolbar"},wp.element.createElement("li",null,wp.element.createElement("button",{className:"components-tab-button "+(e?"":"is-active"),onClick:this.edit},wp.element.createElement("span",null,"HTML"))),wp.element.createElement("li",null,wp.element.createElement("button",{className:"components-tab-button "+(e?"is-active":""),onClick:this.preview},wp.element.createElement("span",null,Object(g.__)("Preview")))))),e?wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:n.content}}):wp.element.createElement(h.a,{value:n.content,onChange:function(e){return r({content:e.target.value})}}),o&&wp.element.createElement(_.a,{key:"inspector"},wp.element.createElement(w.a,null,wp.element.createElement("p",null,Object(g.__)("Add custom HTML code and preview it right here in the editor.")))))}}]),t}(b.Component),save:function(e){return e.attributes.content}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(749)),i=(n.n(o),n(27)),a=n(750);Object(i.o)("core/freeform",{title:Object(r.__)("Classic Text"),icon:"editor-kitchensink",category:"formatting",attributes:{content:{type:"string",source:"html"}},edit:a.a,save:function(e){return e.attributes.content}}),Object(i.r)("core/freeform")},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}var o=n(11),i=n.n(o),a=n(3),s=n.n(a),l=n(4),c=n.n(l),u=n(5),f=n.n(u),p=n(6),d=n.n(p),h=n(7),g=n.n(h),b=n(2),m=(n.n(b),n(0)),v=(n.n(m),n(49)),y=(n.n(v),n(38)),_=n(43),w=v.keycodes.BACKSPACE,x=v.keycodes.DELETE,k=function(e){function t(e){c()(this,t);var n=d()(this,(t.__proto__||s()(t)).call(this,e));return n.initialize=n.initialize.bind(n),n.onSetup=n.onSetup.bind(n),n}return g()(t,e),f()(t,[{key:"componentDidMount",value:function(){var e=window.wpEditorL10n.tinymce,t=e.baseURL,n=e.suffix;window.tinymce.EditorManager.overrideDefaults({base_url:t,suffix:n}),"complete"===document.readyState?this.initialize():window.addEventListener("DOMContentLoaded",this.initialize)}},{key:"componentWillUnmount",value:function(){window.addEventListener("DOMContentLoaded",this.initialize),wp.oldEditor.remove(this.props.id)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.id,r=t.attributes.content,o=window.tinymce.get(n);e.attributes.content!==r&&o.setContent(r||""),!e.focus&&this.props.focus&&document.activeElement!==o.getBody()&&o.getBody().focus()}},{key:"initialize",value:function(){var e=this.props.id,t=window.wpEditorL10n.tinymce.settings;wp.oldEditor.initialize(e,{tinymce:i()({},t,{inline:!0,content_css:!1,fixed_toolbar_container:"#"+e+"-toolbar",setup:this.onSetup})})}},{key:"onSetup",value:function(e){var t=this,n=this.props,o=n.attributes.content,i=n.setAttributes,a=this.ref;o&&e.on("loadContent",function(){return e.setContent(o)}),e.on("blur",function(){return i({content:e.getContent()}),!1}),e.on("keydown",function(n){n.keyCode!==w&&n.keyCode!==x||!r(e)||(t.props.onReplace([]),n.preventDefault(),n.stopImmediatePropagation())}),e.addButton("kitchensink",{tooltip:Object(m.__)("More"),icon:"dashicon dashicons-editor-kitchensink",onClick:function(){var t=this,n=!t.active();t.active(n),e.dom.toggleClass(a,"has-advanced-toolbar",n)}}),e.on("init",function(){t.props.focus&&document.activeElement!==e.getBody()&&e.getBody().focus(),e.addCommand("WP_More",function(t){var n,r,o,i="wp-more-tag",a=e.dom,s=e.selection.getNode(),l=e.getBody();if(t=t||"more",i+=" mce-wp-"+t,o="more"===t?"Read more...":"Next page",o=e.editorManager.i18n.translate(o),r='<img src="'+tinymce.Env.transparentSrc+'" alt="" title="'+o+'" class="'+i+'" data-wp-more="'+t+'" data-mce-resize="false" data-mce-placeholder="1" />',s===l||"P"===s.nodeName&&s.parentNode==l)return void e.insertContent(r);(n=a.getParent(s,function(e){return!(!e.parentNode||e.parentNode!==l)},e.getBody()))&&("P"===n.nodeName?n.appendChild(a.create("p",null,r).firstChild):a.insertAfter(a.create("p",null,r),n),e.nodeChanged())})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.focus,r=t.id;return[n&&wp.element.createElement(y.a,{key:"inspector"},wp.element.createElement(_.a,null,wp.element.createElement("p",null,Object(m.__)("The classic editor, in block form.")))),wp.element.createElement("div",{key:"toolbar",id:r+"-toolbar",ref:function(t){return e.ref=t},className:"freeform-toolbar",style:n?{}:{display:"none"}}),wp.element.createElement("div",{key:"editor",id:r,className:"blocks-editable__tinymce"})]}}]),t}(b.Component);t.a=k},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(2),h=(n.n(d),n(1)),g=(n.n(h),n(0)),b=(n.n(g),n(49)),m=(n.n(b),n(177)),v=n.n(m),y=n(17),_=n.n(y),w=n(752),x=(n.n(w),n(753)),k=(n.n(x),n(27)),E=n(754),O=n(38),C=n(442),S=n(169),j=n(257),T=n(43),A=n(64),R=n(101);Object(k.o)("core/latest-posts",{title:Object(g.__)("Latest Posts"),icon:"list-view",category:"widgets",keywords:[Object(g.__)("recent posts")],supportHTML:!1,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));e.changePostsToShow=e.changePostsToShow.bind(e);var n=e.props.attributes.postsToShow;return e.state={latestPosts:null},e.latestPostsRequest=Object(E.a)(n),e.latestPostsRequest.then(function(t){return e.setState({latestPosts:t})}),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return p()(t,e),l()(t,[{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.attributes.postsToShow,r=e.attributes.postsToShow,o=this.props.setAttributes;n!==r&&r>=1&&r<=100&&(this.latestPostsRequest=Object(E.a)(r),this.latestPostsRequest.then(function(e){return t.setState({latestPosts:e})}),o({postsToShow:r}))}},{key:"changePostsToShow",value:function(e){(0,this.props.setAttributes)({postsToShow:parseInt(e,10)||0})}},{key:"render",value:function(){var e=this,t=this.state.latestPosts,n=this.props,r=n.attributes,o=n.focus,i=n.setAttributes,a=r.displayPostDate,s=r.align,l=r.layout,c=r.columns,u=r.postsToShow,f=o&&wp.element.createElement(O.a,{key:"inspector"},wp.element.createElement(T.a,null,wp.element.createElement("p",null,Object(g.__)("Shows a list of your site's most recent posts."))),wp.element.createElement("h3",null,Object(g.__)("Latest Posts Settings")),wp.element.createElement(S.a,{label:Object(g.__)("Display post date"),checked:a,onChange:this.toggleDisplayPostDate}),"grid"===l&&wp.element.createElement(j.a,{label:Object(g.__)("Columns"),value:c,onChange:function(e){return i({columns:e})},min:2,max:Math.min(6,t.length)}),wp.element.createElement(C.a,{label:Object(g.__)("Number of posts to show"),type:"number",min:1,max:100,value:u,onChange:function(t){return e.changePostsToShow(t)}}));if(!Array.isArray(t)||!t.length)return[f,wp.element.createElement(h.Placeholder,{key:"placeholder",icon:"admin-post",label:Object(g.__)("Latest Posts")},Array.isArray(t)?Object(g.__)("No posts found."):wp.element.createElement(h.Spinner,null))];var p=t.length-u;p>0&&t.splice(u,p);var d=[{icon:"list-view",title:Object(g.__)("List View"),onClick:function(){return i({layout:"list"})},isActive:"list"===l},{icon:"grid-view",title:Object(g.__)("Grid View"),onClick:function(){return i({layout:"grid"})},isActive:"grid"===l}];return[f,o&&wp.element.createElement(A.a,{key:"controls"},wp.element.createElement(R.a,{value:s,onChange:function(e){i({align:e})},controls:["center","wide","full"]}),wp.element.createElement(h.Toolbar,{controls:d})),wp.element.createElement("ul",{className:_()(this.props.className,"columns-"+c,{"is-grid":"grid"===l}),key:"latest-posts"},t.map(function(t,n){return wp.element.createElement("li",{key:n},wp.element.createElement("a",{href:t.link,target:"_blank"},Object(b.decodeEntities)(t.title.rendered.trim())||Object(g.__)("(Untitled)")),a&&t.date_gmt&&wp.element.createElement("time",{dateTime:v()(t.date_gmt).utc().format(),className:e.props.className+"__post-date"},v()(t.date_gmt).local().format("MMMM DD, Y")))}))]}},{key:"componentWillUnmount",value:function(){"pending"===this.latestPostsRequest.state()&&this.latestPostsRequest.abort()}}]),t}(d.Component),save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return(new wp.api.collections.Posts).fetch({data:{per_page:e}})}t.a=r},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(418),h=n.n(d),g=n(510),b=n.n(g),m=n(2),v=(n.n(m),n(1)),y=(n.n(v),n(0)),_=(n.n(y),n(756)),w=(n.n(_),n(757)),x=(n.n(w),n(27)),k=n(758),E=n(38),O=n(169),C=n(43),S=n(64),j=n(101);Object(x.o)("core/categories",{title:Object(y.__)("Categories"),icon:"list-view",category:"widgets",attributes:{showPostCounts:{type:"boolean",default:!1},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},align:{type:"string"}},supportHTML:!1,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={categories:[]},e.categoriesRequest=Object(k.a)(),e.categoriesRequest.then(function(t){return e.setState({categories:t})}),e.toggleDisplayAsDropdown=e.toggleDisplayAsDropdown.bind(e),e.toggleShowPostCounts=e.toggleShowPostCounts.bind(e),e.toggleShowHierarchy=e.toggleShowHierarchy.bind(e),e}return p()(t,e),l()(t,[{key:"componentWillUnmount",value:function(){"pending"===this.categoriesRequest.state()&&this.categoriesRequest.abort()}},{key:"toggleDisplayAsDropdown",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({displayAsDropdown:!t.displayAsDropdown})}},{key:"toggleShowPostCounts",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showPostCounts:!t.showPostCounts})}},{key:"toggleShowHierarchy",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({showHierarchy:!t.showHierarchy})}},{key:"getCategories",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.state.categories;return t.length?null===e?t:t.filter(function(t){return t.parent===e}):t}},{key:"getCategoryListClassName",value:function(e){var t=this.props.className;return t+"__list "+t+"__list-level-"+e}},{key:"renderCategoryName",value:function(e){return e.name?h()(e.name).trim():Object(y.__)("(Untitled)")}},{key:"renderCategoryList",value:function(){var e=this,t=this.props.attributes.showHierarchy,n=t?0:null,r=this.getCategories(n);return wp.element.createElement("ul",{className:this.getCategoryListClassName(0)},r.map(function(t){return e.renderCategoryListItem(t,0)}))}},{key:"renderCategoryListItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,i=r.showPostCounts,a=this.getCategories(e.id);return wp.element.createElement("li",{key:e.id},wp.element.createElement("a",{href:e.link,target:"_blank"},this.renderCategoryName(e)),i&&wp.element.createElement("span",{className:this.props.className+"__post-count"}," ","(",e.count,")"),o&&!!a.length&&wp.element.createElement("ul",{className:this.getCategoryListClassName(t+1)},a.map(function(e){return n.renderCategoryListItem(e,t+1)})))}},{key:"renderCategoryDropdown",value:function(){var e=this,t=this.props.attributes.showHierarchy,n=t?0:null,r=this.getCategories(n);return wp.element.createElement("select",{className:this.props.className+"__dropdown"},r.map(function(t){return e.renderCategoryDropdownItem(t,0)}))}},{key:"renderCategoryDropdownItem",value:function(e,t){var n=this,r=this.props.attributes,o=r.showHierarchy,i=r.showPostCounts,a=this.getCategories(e.id);return[wp.element.createElement("option",{key:e.id},b()(3*t,function(){return" "}),this.renderCategoryName(e),i?" ("+e.count+")":""),o&&!!a.length&&a.map(function(e){return n.renderCategoryDropdownItem(e,t+1)})]}},{key:"render",value:function(){var e=this.props.setAttributes;if(!this.getCategories().length)return wp.element.createElement(v.Placeholder,{icon:"admin-post",label:Object(y.__)("Categories")},wp.element.createElement(v.Spinner,null));var t=this.props.focus,n=this.props.attributes,r=n.align,o=n.displayAsDropdown,i=n.showHierarchy,a=n.showPostCounts;return[t&&wp.element.createElement(S.a,{key:"controls"},wp.element.createElement(j.a,{value:r,onChange:function(t){e({align:t})},controls:["left","center","right","full"]})),t&&wp.element.createElement(E.a,{key:"inspector"},wp.element.createElement(C.a,null,wp.element.createElement("p",null,Object(y.__)("Shows a list of your site's categories."))),wp.element.createElement("h3",null,Object(y.__)("Categories Settings")),wp.element.createElement(O.a,{label:Object(y.__)("Display as dropdown"),checked:o,onChange:this.toggleDisplayAsDropdown}),wp.element.createElement(O.a,{label:Object(y.__)("Show post counts"),checked:a,onChange:this.toggleShowPostCounts}),wp.element.createElement(O.a,{label:Object(y.__)("Show hierarchy"),checked:i,onChange:this.toggleShowHierarchy})),wp.element.createElement("div",{key:"categories",className:this.props.className},o?this.renderCategoryDropdown():this.renderCategoryList())]}}]),t}(m.Component),save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(){return(new wp.api.collections.Categories).fetch()}t.a=r},function(e,t,n){"use strict";function r(e){return 0===e||50===e?null:"has-background-dim-"+10*Math.round(e/10)}var o=n(1),i=(n.n(o),n(0)),a=(n.n(i),n(17)),s=n.n(a),l=n(760),c=(n.n(l),n(761)),u=(n.n(c),n(27)),f=n(82),p=n(267),d=n(64),h=n(101),g=n(38),b=n(169),m=n(257),v=n(43),y=["left","center","right","wide","full"];Object(u.o)("core/cover-image",{title:Object(i.__)("Cover Image"),icon:"format-image",category:"common",attributes:{title:{type:"array",source:"children",selector:"h2"},url:{type:"string"},align:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50}},getEditWrapperProps:function(e){var t=e.align;if(-1!==y.indexOf(t))return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,a=e.focus,l=e.setFocus,c=e.className,u=t.url,y=t.title,_=t.align,w=t.id,x=t.hasParallax,k=t.dimRatio,E=function(e){return n({align:e})},O=function(e){return n({url:e.url,id:e.id})},C=function(){return n({hasParallax:!x})},S=function(e){return n({dimRatio:e})},j=u?{backgroundImage:"url("+u+")"}:void 0,T=s()(c,r(k),{"has-background-dim":0!==k,"has-parallax":x}),A=a&&[wp.element.createElement(d.a,{key:"controls"},wp.element.createElement(h.a,{value:_,onChange:E}),wp.element.createElement(o.Toolbar,null,wp.element.createElement(p.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(i.__)("Edit image")},onSelect:O,type:"image",value:w},wp.element.createElement(o.Dashicon,{icon:"edit"})))),wp.element.createElement(g.a,{key:"inspector"},wp.element.createElement(v.a,null,wp.element.createElement("p",null,Object(i.__)("Cover Image is a bold image block with an optional title."))),wp.element.createElement("h3",null,Object(i.__)("Cover Image Settings")),wp.element.createElement(b.a,{label:Object(i.__)("Fixed Background"),checked:!!x,onChange:C}),wp.element.createElement(m.a,{label:Object(i.__)("Background Dimness"),value:k,onChange:S,min:0,max:100,step:10}))];if(!u){var R={isLarge:!0};return[A,wp.element.createElement(o.Placeholder,{key:"placeholder",instructions:Object(i.__)("Drag image here or insert from media library"),icon:"format-image",label:Object(i.__)("Cover Image"),className:c},wp.element.createElement(p.a,{buttonProps:R,onSelect:O,type:"image"},Object(i.__)("Insert from Media Library")))]}return[A,wp.element.createElement("section",{key:"preview","data-url":u,style:j,className:T},y||a?wp.element.createElement(f.a,{tagName:"h2",placeholder:Object(i.__)("Write title…"),value:y,focus:a,onFocus:l,onChange:function(e){return n({title:e})},inlineToolbar:!0}):null)]},save:function(e){var t=e.attributes,n=e.className,o=t.url,i=t.title,a=t.hasParallax,l=t.dimRatio,c=o?{backgroundImage:"url("+o+")"}:void 0,u=s()(n,r(l),{"has-background-dim":0!==l,"has-parallax":a});return wp.element.createElement("section",{className:u,style:c},wp.element.createElement("h2",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(39),o=n.n(r),i=n(510),a=n.n(i),s=n(0),l=(n.n(s),n(763)),c=(n.n(l),n(764)),u=(n.n(c),n(27)),f=n(64),p=n(101),d=n(257),h=n(82),g=n(38),b=n(43);Object(u.o)("core/text-columns",{title:Object(s.__)("Text Columns"),icon:"columns",category:"layout",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{source:"children"}},default:[[],[]]},columns:{type:"number",default:2},width:{type:"string"}},getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,i=e.focus,l=e.setFocus,c=t.width,u=t.content,m=t.columns;return[i&&wp.element.createElement(f.a,{key:"controls"},wp.element.createElement(p.a,{value:c,onChange:function(e){return n({width:e})},controls:["center","wide","full"]})),i&&wp.element.createElement(g.a,{key:"inspector"},wp.element.createElement(b.a,null,wp.element.createElement("p",null,Object(s.__)("Add text across columns."))),wp.element.createElement(d.a,{label:Object(s.__)("Columns"),value:m,onChange:function(e){return n({columns:e})},min:2,max:4})),wp.element.createElement("section",{className:r+" align"+c+" columns-"+m,key:"block"},a()(m,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement(h.a,{tagName:"p",value:u&&u[e].children,onChange:function(t){n({content:[].concat(o()(u.slice(0,e)),[{children:t}],o()(u.slice(e+1)))})},focus:i&&i.column===e,onFocus:function(){return l({column:e})},placeholder:Object(s.__)("New Column")}))}))]},save:function(e){var t=e.attributes,n=t.width,r=t.content,o=t.columns;return wp.element.createElement("section",{className:"align"+n+" columns-"+o},a()(o,function(e){return wp.element.createElement("div",{className:"wp-block-column",key:"column-"+e},wp.element.createElement("p",null,r&&r[e].children))}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(766)),i=(n.n(o),n(27)),a=n(82),s=n(38),l=n(43);Object(i.o)("core/verse",{title:Object(r.__)("Verse"),icon:"edit",category:"formatting",keywords:[Object(r.__)("poetry")],attributes:{content:{type:"array",source:"children",selector:"pre"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(i.a)("core/paragraph",e)}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=e.className,u=t.content;return[o&&wp.element.createElement(s.a,{key:"inspector"},wp.element.createElement(l.a,null,wp.element.createElement("p",null,Object(r.__)("Write poetry and other literary expressions honoring all spaces and line-breaks.")))),wp.element.createElement(a.a,{tagName:"pre",key:"editable",value:u,onChange:function(e){n({content:e})},focus:o,onFocus:i,placeholder:Object(r.__)("Write…"),wrapperClassName:c,formattingControls:["bold","italic","strikethrough"]})]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("pre",{className:n},t.content)}})},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(768)),l=(n.n(s),n(27)),c=n(267),u=n(82),f=n(64),p=n(101),d=n(38),h=n(43);Object(l.o)("core/video",{title:Object(i.__)("Video"),icon:"format-video",category:"common",attributes:{align:{type:"string"},id:{type:"number"},src:{type:"string",source:"attribute",selector:"video",attribute:"src"},caption:{type:"array",source:"children",selector:"figcaption"}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.className,s=e.focus,l=e.setFocus,g=t.src,b=t.caption,m=t.align,v=t.id,y=function(e){e&&e.url&&n({src:e.url,id:e.id})},_=function(e){return l(o()({editable:"caption"},e))},w=function(e){n({align:e})},x=s&&[wp.element.createElement(f.a,{key:"controls"},wp.element.createElement(p.a,{value:m,onChange:w}),wp.element.createElement(a.Toolbar,null,wp.element.createElement(c.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(i.__)("Edit video")},onSelect:y,type:"video",value:v},wp.element.createElement(a.Dashicon,{icon:"edit"})))),wp.element.createElement(d.a,{key:"inspector"},wp.element.createElement(h.a,null,wp.element.createElement("p",null,Object(i.__)("Video, locally hosted, locally sourced."))))];return g?[x,wp.element.createElement("figure",{key:"video",className:r},wp.element.createElement("video",{controls:!0,src:g,onClick:l}),b&&b.length>0||s?wp.element.createElement(u.a,{tagName:"figcaption",placeholder:Object(i.__)("Write caption…"),value:b,focus:s&&"caption"===s.editable?s:void 0,onFocus:_,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]:[x,wp.element.createElement(a.Placeholder,{key:"placeholder",icon:"media-video",label:Object(i.__)("Video"),instructions:Object(i.__)("Select a video file from your library:"),className:r},wp.element.createElement(c.a,{buttonProps:{isLarge:!0},onSelect:y,type:"video"},Object(i.__)("Insert from Media Library")))]},save:function(e){var t=e.attributes,n=t.src,r=t.caption,o=t.align;return wp.element.createElement("figure",{className:o?"align"+o:null},n&&wp.element.createElement("video",{controls:!0,src:n}),r&&r.length>0&&wp.element.createElement("figcaption",null,r))}})},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(0),b=(n.n(g),n(1)),m=(n.n(b),n(2)),v=(n.n(m),n(770)),y=(n.n(v),n(27)),_=n(267),w=n(82),x=n(64),k=n(101),E=n(38),O=n(43);Object(y.o)("core/audio",{title:Object(g.__)("Audio"),icon:"format-audio",category:"common",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},align:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption"}},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function t(e){var n=e.className;l()(this,t);var r=p()(this,(t.__proto__||a()(t)).apply(this,arguments));return r.state={editing:!r.props.attributes.src,src:r.props.attributes.src,className:n},r}return h()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props.attributes,n=t.align,r=t.caption,i=this.props,a=i.setAttributes,s=i.focus,l=i.setFocus,c=this.state,u=c.editing,f=c.className,p=c.src,d=function(e){return a({align:e})},h=function(){e.setState({editing:!0})},m=function(t){t&&t.url&&(a({src:t.url}),e.setState({src:t.url,editing:!1}))},v=function(t){return t.preventDefault(),p&&(a({src:p}),e.setState({editing:!1})),!1},y=s&&[wp.element.createElement(x.a,{key:"controls"},wp.element.createElement(k.a,{value:n,onChange:d}),wp.element.createElement(b.Toolbar,null,wp.element.createElement(b.Button,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(g.__)("Edit audio")},type:"audio",onClick:h},wp.element.createElement(b.Dashicon,{icon:"edit"})))),wp.element.createElement(E.a,{key:"inspector"},wp.element.createElement(O.a,null,wp.element.createElement("p",null,Object(g.__)("The Audio block allows you to embed audio files and play them back using a simple player."))))],C=function(e){return l(o()({editable:"caption"},e))};return u?[y,wp.element.createElement(b.Placeholder,{key:"placeholder",icon:"media-audio",label:Object(g.__)("Audio"),instructions:Object(g.__)("Select an audio file from your library, or upload a new one:"),className:f},wp.element.createElement("form",{onSubmit:v},wp.element.createElement("input",{type:"url",className:"components-placeholder__input",placeholder:Object(g.__)("Enter URL of audio file here…"),onChange:function(t){return e.setState({src:t.target.value})},value:p||""}),wp.element.createElement(b.Button,{isLarge:!0,type:"submit"},Object(g.__)("Use URL"))),wp.element.createElement(_.a,{buttonProps:{isLarge:!0},onSelect:m,type:"audio"},Object(g.__)("Insert from Media Library")))]:[y,wp.element.createElement("figure",{key:"audio",className:f},wp.element.createElement("audio",{controls:"controls",src:p}),(r&&r.length||!!s)&&wp.element.createElement(w.a,{tagName:"figcaption",placeholder:Object(g.__)("Write caption…"),value:r,focus:s&&"caption"===s.editable?s:void 0,onFocus:C,onChange:function(e){return a({caption:e})},inlineToolbar:!0}))]}}]),t}(m.Component),save:function(e){var t=e.attributes,n=t.align,r=t.src,o=t.caption;return wp.element.createElement("figure",{className:n?"align"+n:null},wp.element.createElement("audio",{controls:"controls",src:r}),o&&o.length>0&&wp.element.createElement("figcaption",null,o))}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(27));Object(o.o)("core/reusable-block",{title:Object(r.__)("Reusable Block"),category:"reusable-blocks",isPrivate:!0,attributes:{ref:{type:"string"}},edit:function(){return wp.element.createElement("div",null,Object(r.__)("Reusable Blocks are coming soon!"))},save:function(){return null}})},function(e,t,n){"use strict";var r=n(119),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(17),b=n.n(g),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(773)),w=(n.n(_),n(774)),x=(n.n(w),n(27)),k=n(775),E=n(417),O=n(101),C=n(64),S=n(82),j=n(38),T=n(169),A=n(257),R=n(460),P=n(43),N=n(509),L=window,M=L.getComputedStyle,D=Object(y.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=n&&r||!e?null:e.querySelector('[contenteditable="true"]'),i=o?M(o):null;return{fallbackBackgroundColor:r||!i?void 0:i.backgroundColor,fallbackTextColor:n||!i?void 0:i.color}})(N.a),B=function(e){function t(){l()(this,t);var e=p()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.toggleDropCap=e.toggleDropCap.bind(e),e}return h()(t,e),u()(t,[{key:"toggleDropCap",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({dropCap:!t.dropCap})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.insertBlocksAfter,i=e.focus,a=e.setFocus,s=e.mergeBlocks,l=e.onReplace,c=t.align,u=t.content,f=t.dropCap,p=t.placeholder,d=t.fontSize,h=t.backgroundColor,g=t.textColor,v=t.width,_=f?"has-drop-cap":null;return[i&&wp.element.createElement(C.a,{key:"controls"},wp.element.createElement(E.a,{value:c,onChange:function(e){n({align:e})}})),i&&wp.element.createElement(j.a,{key:"inspector"},wp.element.createElement(P.a,null,wp.element.createElement("p",null,Object(m.__)("Text. Great things start here."))),wp.element.createElement(y.PanelBody,{title:Object(m.__)("Text Settings")},wp.element.createElement(T.a,{label:Object(m.__)("Drop Cap"),checked:!!f,onChange:this.toggleDropCap}),wp.element.createElement(A.a,{label:Object(m.__)("Font Size"),value:d||"",onChange:function(e){return n({fontSize:e})},min:10,max:200,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(y.PanelColor,{title:Object(m.__)("Background Color"),colorValue:h,initialOpen:!1},wp.element.createElement(R.a,{value:h,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(y.PanelColor,{title:Object(m.__)("Text Color"),colorValue:g,initialOpen:!1},wp.element.createElement(R.a,{value:g,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(D,{node:this.nodeRef,textColor:g,backgroundColor:h,isLargeText:d>=18}),wp.element.createElement(y.PanelBody,{title:Object(m.__)("Block Alignment")},wp.element.createElement(O.a,{value:v,onChange:function(e){return n({width:e})}}))),wp.element.createElement("div",{key:"editable",ref:this.bindRef},wp.element.createElement(y.Autocomplete,{completers:[Object(k.a)({onReplace:l}),Object(k.b)()]},function(e){var t,f=e.isExpanded,y=e.listBoxId,w=e.activeId;return wp.element.createElement(S.a,{tagName:"p",className:b()("wp-block-paragraph",_,(t={},o()(t,"align"+v,v),o()(t,"has-background",h),t)),style:{backgroundColor:h,color:g,fontSize:d?d+"px":void 0,textAlign:c},value:u,onChange:function(e){n({content:e})},focus:i,onFocus:a,onSplit:function(e,t){for(var o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];n({content:e}),r([].concat(i,[Object(x.a)("core/paragraph",{content:t})]))},onMerge:s,onReplace:l,placeholder:p||Object(m.__)("Add text or type / to insert content"),"aria-autocomplete":"list","aria-expanded":f,"aria-owns":y,"aria-activedescendant":w})}))]}}]),t}(v.Component);Object(x.o)("core/paragraph",{title:Object(m.__)("Paragraph"),icon:"editor-paragraph",category:"common",keywords:[Object(m.__)("text")],supports:{className:!1},attributes:{content:{type:"array",source:"children",selector:"p"},align:{type:"string"},dropCap:{type:"boolean",default:!1},placeholder:{type:"string"},width:{type:"string"},textColor:{type:"string"},backgroundColor:{type:"string"},fontSize:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&!e.querySelector("audio, canvas, embed, iframe, img, math, object, svg, video")}}]},merge:function(e,t){return{content:Object(v.concatChildren)(e.content,t.content)}},getEditWrapperProps:function(e){var t=e.width;if(-1!==["wide","full","left","right"].indexOf(t))return{"data-align":t}},edit:B,save:function(e){var t,n=e.attributes,r=n.width,i=n.align,a=n.content,s=n.dropCap,l=n.backgroundColor,c=n.textColor,u=n.fontSize,f=b()((t={},o()(t,"align"+r,r),o()(t,"has-background",l),o()(t,"has-drop-cap",s),t)),p={backgroundColor:l,color:c,fontSize:u,textAlign:i};return wp.element.createElement("p",{style:p,className:f||void 0},a)}}),Object(x.q)("core/paragraph")},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.onReplace,n=Object(u.g)().map(function(e){var t=e.name,n=e.title,r=e.icon,o=e.keywords,i=void 0===o?[]:o;return{value:t,label:[wp.element.createElement(f.a,{key:"icon",icon:r}),n],keywords:[].concat(l()(i),[n])}});return{className:"blocks-autocompleters__block",triggerPrefix:"/",getOptions:function(){return a.a.resolve(n)},allowContext:function(e,t){return!(/\S/.test(e.toString())||/\S/.test(t.toString()))},onSelect:function(e){t(Object(u.a)(e))}}}function o(){return{className:"blocks-autocompleters__user",triggerPrefix:"@",getOptions:function(){return(new wp.api.collections.Users).fetch().then(function(e){return e.map(function(e){return{value:e,label:[wp.element.createElement("img",{key:"avatar",className:"blocks-autocompleters__user-avatar",alt:"",src:e.avatar_urls[24]}),wp.element.createElement("span",{key:"name",className:"blocks-autocompleters__user-name"},e.name),wp.element.createElement("span",{key:"slug",className:"blocks-autocompleters__user-slug"},e.slug)],keywords:[e.slug,e.name]}})})},allowNode:function(e){return null===e.parentElement.closest("a")},onSelect:function(e){return wp.element.createElement("a",{href:e.link},"@"+e.name)}}}t.a=r,t.b=o;var i=n(211),a=n.n(i),s=n(39),l=n.n(s),c=n(776),u=(n.n(c),n(27)),f=n(511)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.name,n=s()(e,["name"]),r=Object(l.f)(t);if(!r)return null;var o=void 0;return r&&(o=r.edit||r.save),Object(c.c)("BlockEdit",wp.element.createElement(o,i()({key:"edit"},n)),e)}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(27),c=n(407);t.a=r},function(e,t,n){"use strict";var r=n(409),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(30),b=n.n(g),m=n(210),v=n.n(m),y=n(2),_=(n.n(y),function(e){function t(){return l()(this,t),p()(this,(t.__proto__||a()(t)).apply(this,arguments))}return h()(t,e),u()(t,[{key:"getChildContext",value:function(){return v()(this.props,o()(this.constructor.childContextTypes))}},{key:"render",value:function(){return this.props.children}}]),t}(y.Component));_.childContextTypes={onUndo:b.a},t.a=_}]);
|
1 |
+
this.wp=this.wp||{},this.wp.blocks=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=561)}([function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t,n){e.exports={default:n(347),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(206),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(118),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(361),i=r(o),a=n(365),s=r(a),l=n(118),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},,,function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(163),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){!function(){e.exports=this.React}()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},,function(e,t,n){var r=n(77)("wks"),o=n(61),i=n(14).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r,o;/*!
|
2 |
Copyright (c) 2016 Jed Watson.
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
+
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){var r=n(14),o=n(10),i=n(34),a=n(28),s=function(e,t,n){var l,c,u,f=e&s.F,p=e&s.G,d=e&s.S,h=e&s.P,g=e&s.B,b=e&s.W,m=p?o:o[t]||(o[t]={}),v=m.prototype,y=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(l in n)(c=!f&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:n[l],m[l]=p&&"function"!=typeof y[l]?n[l]:g&&c?i(u,r):b&&y[l]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&s.R&&v&&!v[l]&&a(v,l,u)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(151),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=n(675),i=r(o),a=n(676),s=r(a),l=n(678),c=r(l),u=n(679),f=r(u),p=n(680),d=r(p),h=n(681),g=r(h);t.hover=f.default,t.handleHover=f.default,t.handleActive=d.default,t.loop=g.default;var b=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=(0,i.default)(n),a=(0,s.default)(e,o);return(0,c.default)(a)};t.default=b},function(e,t,n){var r=n(25);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(21),o=n(112),i=n(84),a=Object.defineProperty;t.f=n(24)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(36)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):o(e):l(e)}var o=n(272),i=n(313),a=n(56),s=n(12),l=n(318);e.exports=r},function(e,t,n){"use strict";var r=n(410);n.d(t,"a",function(){return r.a}),n.d(t,"s",function(){return r.c}),n.d(t,"b",function(){return r.b});var o=n(447);n.d(t,"m",function(){return o.a}),n.d(t,"c",function(){return o.b});var i=n(598);n.d(t,"n",function(){return i.a});var a=n(448);n.d(t,"p",function(){return a.a}),n.d(t,"e",function(){return a.c}),n.d(t,"d",function(){return a.b});var s=n(498);n.d(t,"l",function(){return s.a});var l=n(492);n.d(t,"h",function(){return l.a});var c=n(220);n.d(t,"o",function(){return c.f}),n.d(t,"t",function(){return c.i}),n.d(t,"r",function(){return c.h}),n.d(t,"j",function(){return c.d}),n.d(t,"q",function(){return c.g}),n.d(t,"i",function(){return c.c}),n.d(t,"f",function(){return c.a}),n.d(t,"g",function(){return c.b}),n.d(t,"k",function(){return c.e})},function(e,t,n){var r=n(23),o=n(46);e.exports=n(24)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t){function n(){}e.exports=n},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(121),i=n(129);e.exports=r},function(e,t,n){var r=n(103),o=n(65);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(52);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(188),i=n(189),a=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement(o.Fill,{name:"Inspector.Controls"},t)}t.a=r;var o=n(1),i=(n.n(o),n(199)),a=n(575),s=n(577),l=n(257),c=n(445),u=n(446),f=n(582),p=n(170);r.BaseControl=i.a,r.CheckboxControl=a.a,r.RadioControl=s.a,r.RangeControl=l.a,r.SelectControl=c.a,r.TextControl=u.a,r.TextareaControl=f.a,r.ToggleControl=p.a},function(e,t,n){"use strict";t.__esModule=!0;var r=n(86),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t){e.exports={}},,function(e,t,n){function r(e){return null==e?void 0===e?l:s:c&&c in Object(e)?i(e):a(e)}var o=n(48),i=n(218),a=n(219),s="[object Null]",l="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.children;return wp.element.createElement("div",{className:"components-block-description"},t)}t.a=r;var o=n(612);n.n(o)},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(682);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var i=n(506);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(i).default}});var a=n(685);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(a).default}});var s=n(686);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(688);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var c=n(507);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var u=n(691);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(u).default}})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(284),i=n(287);e.exports=r},function(e,t,n){var r=n(19),o=r.Symbol;e.exports=o},function(e,t){!function(){e.exports=this.wp.utils}()},function(e,t,n){var r=n(113),o=n(78);e.exports=Object.keys||function(e){return r(e,o)}},,function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(65);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(249),o=n(167),i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(106);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){var r=n(133),o=n(323),i=o(r);e.exports=i},function(e,t,n){var r=n(261),o=r(!0);e.exports=o},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){"use strict";var r=n(224)(!0);n(134)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(75),i=1/0;e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n(59),i=n(26),a=n(210),s=n(12);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.controls,n=e.children;return wp.element.createElement(o.Fill,{name:"Formatting.Toolbar"},wp.element.createElement(o.Toolbar,{controls:t}),n)}t.a=r;var o=n(1);n.n(o)},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(s(e))}var o=n(12),i=n(132),a=n(314),s=n(98);e.exports=r},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(320);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?i(n,c,u):o(n,c,u)}return n}var o=n(116),i=n(80);e.exports=r},function(e,t,n){var r=n(23).f,o=n(31),i=n(16)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(25),o=n(14).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(66),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(77)("keys"),o=n(61);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(42),i=n(29),a="[object Symbol]";e.exports=r},function(e,t){e.exports=!0},function(e,t,n){var r=n(14),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){function n(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(197);e.exports=r},function(e,t,n){function r(e,t){return a(i(e,t,o),e+"")}var o=n(56),i=n(198),a=n(153);e.exports=r},function(e,t,n){n(229);for(var r=n(14),o=n(28),i=n(40),a=n(16)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){"use strict";function r(e,t){if("all"===t["data-mce-bogus"])return null;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.hasOwnProperty("data-mce-bogus")?r:G.createElement.apply(void 0,[e,D()(t,function(e,t){return 0===t.indexOf("data-mce-")})].concat(r))}function o(e){return e.childNodes&&1===e.childNodes.length&&"A"===e.childNodes[0].nodeName&&1===e.childNodes[0].text.length&&"\ufeff"===e.childNodes[0].text[0]}function i(e,t){switch(e){case"link":var n=j()(t,function(e){return"a"===e.nodeName.toLowerCase()});return n?{value:n.getAttribute("href")||"",target:n.getAttribute("target")||"",node:n}:{};default:return{}}}var a=n(86),s=n.n(a),l=n(39),c=n.n(l),u=n(11),f=n.n(u),p=n(118),d=(n.n(p),n(3)),h=n.n(d),g=n(4),b=n.n(g),m=n(5),v=n.n(m),y=n(6),_=n.n(y),w=n(7),x=n.n(w),k=n(30),E=n.n(k),O=n(632),C=n.n(O),S=n(54),j=n.n(S),T=n(56),A=n.n(T),R=n(634),P=n.n(R),N=n(234),L=n.n(N),M=n(638),D=n.n(M),B=n(109),I=n.n(B),F=n(117),z=n.n(F),H=n(456),q=n.n(H),U=n(17),K=n.n(U),V=n(500),W=(n.n(V),n(235)),G=(n.n(W),n(2)),$=(n.n(G),n(49)),X=(n.n($),n(1)),Z=(n.n(X),n(640)),Y=(n.n(Z),n(27)),Q=n(641),J=n(643),ee=n(504),te=n(645),ne=n(647),re=$.keycodes.BACKSPACE,oe=$.keycodes.DELETE,ie=$.keycodes.ENTER,ae=["bold","italic","strikethrough","link"],se=function(e){function t(e){b()(this,t);var n=_()(this,(t.__proto__||h()(t)).apply(this,arguments)),r=e.value;return n.onInit=n.onInit.bind(n),n.getSettings=n.getSettings.bind(n),n.onSetup=n.onSetup.bind(n),n.onChange=n.onChange.bind(n),n.onNewBlock=n.onNewBlock.bind(n),n.onFocus=n.onFocus.bind(n),n.onNodeChange=n.onNodeChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onKeyUp=n.onKeyUp.bind(n),n.changeFormats=n.changeFormats.bind(n),n.onSelectionChange=n.onSelectionChange.bind(n),n.maybePropagateUndo=n.maybePropagateUndo.bind(n),n.onPastePreProcess=n.onPastePreProcess.bind(n),n.onPaste=n.onPaste.bind(n),n.state={formats:{},empty:!r||!r.length,selectedNodeId:0},n}return x()(t,e),v()(t,[{key:"getSettings",value:function(e){return(this.props.getSettings||A.a)(f()({},e,{forced_root_block:this.props.multiline||!1}))}},{key:"onSetup",value:function(e){var t=this;this.editor=e,ne.a.forEach(function(n){e.on(n,t.proxyPropHandler(n))}),e.on("init",this.onInit),e.on("focusout",this.onChange),e.on("NewBlock",this.onNewBlock),e.on("focusin",this.onFocus),e.on("nodechange",this.onNodeChange),e.on("keydown",this.onKeyDown),e.on("keyup",this.onKeyUp),e.on("selectionChange",this.onSelectionChange),e.on("BeforeExecCommand",this.maybePropagateUndo),e.on("PastePreProcess",this.onPastePreProcess,!0),e.on("paste",this.onPaste,!0),te.a.apply(this,[e]),this.props.onSetup&&this.props.onSetup(e)}},{key:"proxyPropHandler",value:function(e){var t=this;return function(n){"Focus"!==e&&"function"==typeof t.props["on"+e]&&t.props["on"+e](n)}}},{key:"onInit",value:function(){this.updateFocus(),this.registerCustomFormatters()}},{key:"adaptFormatter",value:function(e){switch(e.type){case"inline-style":return{inline:"span",styles:f()({},e.style)}}}},{key:"registerCustomFormatters",value:function(){var e=this;L()(this.props.formatters,function(t){e.editor.formatter.register(t.format,e.adaptFormatter(t))})}},{key:"onFocus",value:function(){this.props.onFocus&&this.props.onFocus()}},{key:"isActive",value:function(){return document.activeElement===this.editor.getBody()}},{key:"onSelectionChange",value:function(){if(this.isActive()){var e=this.editor.selection.isCollapsed();this.setState({empty:q.a.DOM.isEmpty(this.editor.getBody())}),this.props.focus&&this.props.onFocus&&this.props.focus.collapsed!==e&&this.props.onFocus(f()({},this.props.focus,{collapsed:e}))}}},{key:"maybePropagateUndo",value:function(e){var t=this.context.onUndo;t&&"Undo"===e.command&&!this.editor.undoManager.hasUndo()&&C()(t)}},{key:"onPaste",value:function(e){var t=e.clipboardData||e.dataTransfer||this.editor.getDoc().dataTransfer,n=t.items,r=void 0===n?[]:n,o=t.files,i=void 0===o?[]:o,a=j()([].concat(c()(r),c()(i)),function(e){return/^image\/(?:jpe?g|png|gif)$/.test(e.type)});if(a){window.console.log("Received item:\n\n",a);var s=a.getAsFile?a.getAsFile():a;this.pastedContent='<img src="'+Object($.createBlobURL)(s)+'">'}this.pastedPlainText=t?t.getData("text/plain"):"",this.isPlainTextPaste=t&&1===t.types.length&&"text/plain"===t.types[0]}},{key:"onPastePreProcess",value:function(e){var t=this.isPlainTextPaste?this.pastedPlainText:e.content;if(window.console.log("Received HTML:\n\n",this.pastedContent||t),window.console.log("Received plain text:\n\n",this.pastedPlainText),!this.editor.selection.isCollapsed()){var n=/^(?:https?:)?\/\/\S+$/i,r=e.content.replace(/<[^>]+>/g,"").trim(),o=this.editor.selection.getContent().replace(/<[^>]+>/g,"").trim();if(n.test(r)&&!n.test(o))return this.editor.execCommand("mceInsertLink",!1,{href:this.editor.dom.decode(r)}),window.console.log("Created link:\n\n",r),void e.preventDefault()}var i=this.editor.getBody(),a=this.editor.dom.isEmpty(i),s="INLINE";a&&this.props.onReplace?s="BLOCKS":this.props.onSplit&&(s="AUTO");var l=Object(Y.n)({HTML:this.pastedContent||t,plainText:this.pastedPlainText,mode:s});if("string"==typeof l)e.content=l;else if(this.props.onSplit){if(e.preventDefault(),!l.length)return;a&&this.props.onReplace?this.props.onReplace(l):this.splitContent(l)}}},{key:"fireChange",value:function(){this.savedContent=this.getContent(),this.editor.save(),this.props.onChange(this.savedContent)}},{key:"onChange",value:function(){this.editor.isDirty()&&this.fireChange()}},{key:"getEditorSelectionRect",value:function(){var e=this.editor.selection.getRng();if(e.collapsed){var t=e,n=t.startContainer,r=t.startOffset;e=document.createRange(),n.nodeValue&&0!==n.nodeValue.length?r===n.nodeValue.length?(e.setStart(n,n.nodeValue.length-1),e.setEnd(n,n.nodeValue.length)):(e.setStart(n,r),e.setEnd(n,r+1)):e.selectNode(n)}return e.getBoundingClientRect()}},{key:"getFocusPosition",value:function(){var e=this.getEditorSelectionRect(),t=this.props.inlineToolbar?this.editor.getBody().closest(".blocks-editable"):this.editor.getBody().closest(".editor-block-list__block"),n=t.getBoundingClientRect(),r=this.props.inlineToolbar?{top:10,left:0}:{top:0,left:-46};return{top:e.top-n.top+e.height+r.top,left:e.left-n.left-152.5+e.width/2+r.left}}},{key:"isStartOfEditor",value:function(){var e=this.editor.selection.getRng();if(0!==e.startOffset||!e.collapsed)return!1;for(var t=e.startContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.firstChild!==o)return!1}return!0}},{key:"isEndOfEditor",value:function(){var e=this.editor.selection.getRng();if(e.endOffset!==e.endContainer.textContent.length||!e.collapsed)return!1;for(var t=e.endContainer,n=this.editor.getBody(),r=t;r!==n;){var o=r;if(r=r.parentNode,r.lastChild!==o)return!1}return!0}},{key:"onKeyDown",value:function(e){if(this.props.onMerge&&(e.keyCode===re&&this.isStartOfEditor()||e.keyCode===oe&&this.isEndOfEditor())){var t=e.keyCode===oe;this.fireChange(),this.props.onMerge(t),e.preventDefault(),e.stopImmediatePropagation()}if(e.keyCode===ie)if(this.props.multiline){if(!this.props.onSplit)return;var n=this.editor.getBody(),o=this.editor.selection.getNode();if(o.parentNode!==n)return;var i=this.editor.dom;if(!i.isEmpty(o))return;e.preventDefault();var a=s()(n.childNodes),l=i.nodeIndex(o),c=a.slice(0,l),u=a.slice(l+1),f=Object(V.nodeListToReact)(c,r),p=Object(V.nodeListToReact)(u,r);this.setContent(f),this.props.onSplit(f,p)}else e.preventDefault(),e.shiftKey||!this.props.onSplit?this.editor.execCommand("InsertLineBreak",!1,e):this.splitContent()}},{key:"onKeyUp",value:function(e){e.keyCode===re&&this.onSelectionChange()}},{key:"splitContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.editor.dom,n=this.editor.getBody(),i=t.createRng(),a=t.createRng(),s=this.editor.selection.getRng();if(n.childNodes.length){var l;i.setStart(n,0),i.setEnd(s.startContainer,s.startOffset),a.setStart(s.endContainer,s.endOffset),a.setEnd(n,t.nodeIndex(n.lastChild)+1);var u=i.extractContents(),f=a.extractContents(),p=Object(V.nodeListToReact)(u.childNodes,r),d=o(f)?[]:Object(V.nodeListToReact)(f.childNodes,r);this.setContent(p),(l=this.props).onSplit.apply(l,[p,d].concat(c()(e)))}else{var h;this.setContent([]),(h=this.props).onSplit.apply(h,[[],[]].concat(c()(e)))}}},{key:"onNewBlock",value:function(){if("p"===this.props.multiline&&this.props.onSplit){for(var e=s()(this.editor.getBody().childNodes),t=this.editor.selection.getStart();-1===e.indexOf(t)&&t.parentNode;)t=t.parentNode;var n=e.indexOf(t);if(-1!==n){var o=e.slice(0,n),i=z()(o);if(!(!i||o.length<2||i.textContent)){var a=o.slice(0,o.length-1),l=e.slice(n).reduce(function(e,t){return e.length||t.textContent?(e.push(t),e):e},[]);this.setContent(this.props.value),this.props.onSplit(Object(V.nodeListToReact)(a,r),Object(V.nodeListToReact)(l,r))}}}}},{key:"onNodeChange",value:function(e){var t=e.parents,n=this.props.formattingControls,r=this.editor.formatter.matchAll(n).reduce(function(e,n){return e[n]=f()({isActive:!0},i(n,t)),e},{}),o=this.getFocusPosition();this.setState({formats:r,focusPosition:o,selectedNodeId:this.state.selectedNodeId+1})}},{key:"updateContent",value:function(){var e=this.editor.selection.getBookmark(2,!0);this.savedContent=this.props.value,this.setContent(this.savedContent),this.editor.selection.moveToBookmark(e),this.editor.save()}},{key:"setContent",value:function(e){e||(e=""),e=Object(G.renderToString)(e),this.editor.setContent(e,{format:"raw"})}},{key:"getContent",value:function(){return Object(V.nodeListToReact)(this.editor.getBody().childNodes||[],r)}},{key:"updateFocus",value:function(){if(this.editor){var e=this.props.focus,t=this.isActive();e?(t||this.editor.focus(),-1!==e.offset||this.isEndOfEditor()||(this.editor.selection.select(this.editor.getBody(),!0),this.editor.selection.collapse(!1))):t&&this.editor.getBody().blur()}}},{key:"componentWillUnmount",value:function(){this.onChange()}},{key:"componentDidUpdate",value:function(e){I()(this.props.focus,e.focus)||this.updateFocus(),this.props.tagName!==e.tagName||this.props.value===e.value||this.props.value===this.savedContent||I()(this.props.value,e.value)||I()(this.props.value,this.savedContent)||this.updateContent()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"isFormatActive",value:function(e){return this.state.formats[e]&&this.state.formats[e].isActive}},{key:"removeFormat",value:function(e){this.editor.focus(),this.editor.formatter.remove(e)}},{key:"applyFormat",value:function(e,t,n){this.editor.focus(),this.editor.formatter.apply(e,t,n)}},{key:"changeFormats",value:function(e){var t=this;L()(e,function(e,n){if("link"===n)if(void 0!==e){var r=t.editor.dom.getParent(t.editor.selection.getNode(),"a");r||t.removeFormat("link"),t.applyFormat("link",{href:e.value,target:e.target},r)}else t.editor.execCommand("Unlink");else{var o=t.isFormatActive(n);o&&!e?t.removeFormat(n):!o&&e&&t.applyFormat(n)}}),this.setState(function(t){return{formats:P()({},t.formats,e)}}),this.editor.setDirty(!0)}},{key:"render",value:function(){var e=this.props,t=e.tagName,n=void 0===t?"div":t,r=e.style,o=e.value,i=e.focus,a=e.wrapperClassName,s=e.className,l=e.inlineToolbar,c=void 0!==l&&l,u=e.formattingControls,p=e.placeholder,d=e.multiline,h=e.keepPlaceholderOnFocus,g=void 0!==h&&h,b=e.formatters,m=Object(ee.b)(this.props),v=["editor",n].join(),y=p&&(!i||g)&&this.state.empty,_=K()(a,"blocks-editable"),w=wp.element.createElement(Q.a,{selectedNodeId:this.state.selectedNodeId,focusPosition:this.state.focusPosition,formats:this.state.formats,onChange:this.changeFormats,enabledControls:u,customControls:b});return wp.element.createElement("div",{className:_},i&&wp.element.createElement(X.Fill,{name:"Formatting.Toolbar"},!c&&w),i&&c&&wp.element.createElement("div",{className:"block-editable__inline-toolbar"},w),wp.element.createElement(J.a,f()({tagName:n,getSettings:this.getSettings,onSetup:this.onSetup,style:r,defaultValue:o,isPlaceholderVisible:y,"aria-label":p},m,{className:s,key:v})),y&&wp.element.createElement(n,{className:K()("blocks-editable__tinymce",s),style:r},d?wp.element.createElement(d,null,p):p),i&&wp.element.createElement(X.Slot,{name:"Editable.Siblings"}))}}]),t}(G.Component);t.a=se,se.contextTypes={onUndo:E.a},se.defaultProps={formattingControls:ae,formatters:[]}},function(e,t,n){var r=n(25);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){e.exports={default:n(223),__esModule:!0}},function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n(42),i=n(12),a=n(29),s="[object String]";e.exports=r},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(52);e.exports.f=function(e){return new r(e)}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(274),i=n(275),a=n(276),s=n(277),l=n(278);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(85);e.exports=r},function(e,t,n){var r=n(47),o=r(Object,"create");e.exports=o},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(296);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){var r=n(305),o=n(29),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(19),o=n(306),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u}).call(t,n(96)(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){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(251);e.exports=r},function(e,t,n){var r=n(100),o=n(16)("iterator"),i=n(40);e.exports=n(10).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(44),o=n(16)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e){function t(e){return function(){return r(n===e?void 0:e)}}var n=e.value,r=e.onChange,o=e.controls,a=void 0===o?c:o,f=e.wideControlsEnabled,p=void 0!==f&&f,d=p?a:a.filter(function(e){return-1===u.indexOf(e)});return wp.element.createElement(s.Toolbar,{controls:d.map(function(e){return i()({},l[e],{isActive:n===e,onClick:t(e)})})})}var o=n(11),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),{left:{icon:"align-left",title:Object(a.__)("Align left")},center:{icon:"align-center",title:Object(a.__)("Align center")},right:{icon:"align-right",title:Object(a.__)("Align right")},wide:{icon:"align-wide",title:Object(a.__)("Wide width")},full:{icon:"align-full-width",title:Object(a.__)("Full width")}}),c=["left","center","right","wide","full"],u=["wide","full"];t.a=Object(s.withContext)("editor")(function(e){return{wideControlsEnabled:e.wideImages}})(r)},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n(166),i=n(381),a=n(26),s=n(12);e.exports=r},function(e,t,n){var r=n(44);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(68),i=n(62);e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?i(n)&&a(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(85),i=n(32),a=n(79),s=n(22);e.exports=r},function(e,t,n){var r=n(21),o=n(226),i=n(78),a=n(74)("IE_PROTO"),s=function(){},l=function(){var e,t=n(72)("iframe"),r=i.length;for(t.style.display="none",n(135).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){function r(e,t){return o(e,t)}var o=n(123);e.exports=r},function(e,t,n){function r(e,t,n,a,s){var l=-1,c=e.length;for(n||(n=i),s||(s=[]);++l<c;){var u=e[l];t>0&&n(u)?t>1?r(u,t-1,n,a,s):o(s,u):a||(s[s.length]=u)}return s}var o=n(126),i=n(340);e.exports=r},function(e,t,n){var r=n(22),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){e.exports=!n(24)&&!n(36)(function(){return 7!=Object.defineProperty(n(72)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(31),o=n(33),i=n(164)(!1),a=n(74)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(89),i=n(279),a=n(280),s=n(281),l=n(282),c=n(283);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=l,r.prototype.set=c,e.exports=r},function(e,t){function n(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(80),i=n(85),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(351),i=r(o),a=n(353),s=r(a),l="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(i.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(206),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==c}var o=n(42),i=n(22),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(288),i=n(295),a=n(297),s=n(298),l=n(299);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,s))}var o=n(300),i=n(29);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(122),i=n(301),a=n(302);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){var r=n(166),o=n(187),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return a.call(e,t)}))}:o;e.exports=l},function(e,t,n){var r=n(307),o=n(130),i=n(308),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){var r=n(310),o=n(120),i=n(311),a=n(191),s=n(192),l=n(42),c=n(180),u=c(r),f=c(o),p=c(i),d=c(a),h=c(s),g=l;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||a&&"[object Set]"!=g(new a)||s&&"[object WeakMap]"!=g(new s))&&(g=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(12),i=n(75),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(254),i=n(37);e.exports=r},function(e,t,n){"use strict";var r=n(76),o=n(18),i=n(154),a=n(28),s=n(31),l=n(40),c=n(225),u=n(71),f=n(155),p=n(16)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,g,b,m,v){c(n,t,g);var y,_,w,x=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",E="values"==b,O=!1,C=e.prototype,S=C[p]||C["@@iterator"]||b&&C[b],j=S||x(b),T=b?E?x("entries"):j:void 0,A="Array"==t?C.entries||S:S;if(A&&(w=f(A.call(new e)))!==Object.prototype&&w.next&&(u(w,k,!0),r||s(w,p)||a(w,p,h)),E&&S&&"values"!==S.name&&(O=!0,j=function(){return S.call(this)}),r&&!v||!d&&!O&&C[p]||a(C,p,j),l[t]=j,l[k]=h,b)if(y={values:E?j:x("values"),keys:m?j:x("keys"),entries:T},v)for(_ in y)_ in C||i(C,_,y[_]);else o(o.P+o.F*(d||O),t,y);return y}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(21);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(40),o=n(16)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(16)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(190),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){t.f=n(16)},function(e,t,n){var r=n(14),o=n(10),i=n(76),a=n(140),s=n(23).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var o=n(111),i=n(143);r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=n(111),i=n(143),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(183);e.exports=r},function(e,t,n){var r=n(21),o=n(52),i=n(16)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(34),s=n(241),l=n(135),c=n(72),u=n(14),f=u.process,p=u.setImmediate,d=u.clearImmediate,h=u.MessageChannel,g=u.Dispatch,b=0,m={},v=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},y=function(e){v.call(e.data)};p&&d||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++b]=function(){s("function"==typeof e?e:Function(e),t)},r(b),b},d=function(e){delete m[e]},"process"==n(44)(f)?r=function(e){f.nextTick(a(v,e,1))}:g&&g.now?r=function(e){g.now(a(v,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=y,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:p,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(21),o=n(25),i=n(88);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(105))},function(e,t,n){function r(e,t,n){var r=l(e)?o:s,c=arguments.length<3;return r(e,a(t,4),n,c,i)}var o=n(115),i=n(57),a=n(26),s=n(324),l=n(12);e.exports=r},function(e,t,n){var r=n(329),o=n(222),i=o(r);e.exports=i},function(e,t,n){e.exports=n(28)},function(e,t,n){var r=n(31),o=n(53),i=n(74)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var u=e.length;return n<0&&(n=c(u+n,0)),a(e)?n<=u&&e.indexOf(t,n)>-1:!!u&&o(e,t,n)>-1}var o=n(200),i=n(32),a=n(87),s=n(69),l=n(338),c=Math.max;e.exports=r},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}var o=n(200);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(188),i=n(345),a=n(32);e.exports=r},function(e,t){},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(368),i=n(198),a=n(153);e.exports=r},function(e,t,n){var r=n(232),o=n(30),i=r?function(e){return r.get(e)}:o;e.exports=i},,function(e,t,n){e.exports={default:n(215),__esModule:!0}},function(e,t,n){var r=n(33),o=n(73),i=n(165);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(66),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:a(n);return l<0&&(l=s(r+l,0)),o(e,i(t,3),l)}var o=n(168),i=n(26),a=n(69),s=Math.max;e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.checked,r=e.help,a=e.instanceId,s=e.onChange,l="inspector-toggle-control-"+a;return wp.element.createElement(i.a,{label:t,id:l,help:r,className:"blocks-toggle-control"},wp.element.createElement(o.FormToggle,{id:l,checked:n,onChange:s,"aria-describedby":r?l+"__help":void 0}))}var o=n(1),i=(n.n(o),n(199)),a=n(584);n.n(a);t.a=Object(o.withInstanceId)(r)},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(80),i=n(133),a=n(26);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(330),i=r(o),a=n(333),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){function r(e){return i(e)&&o(e)}var o=n(32),i=n(29);e.exports=r},function(e,t){function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var o=n(466),i=r(o),a=n(690),s=r(a);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","a","v"],n=0,r=0;return(0,i.default)(t,function(t){e[t]&&(n+=1,isNaN(e[t])||(r+=1))}),n===r&&e},toState:function(e,t){var n=e.hex?(0,s.default)(e.hex):(0,s.default)(e),r=n.toHsl(),o=n.toHsv(),i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,s.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},function(e,t){!function(){e.exports=this.moment}()},,function(e,t,n){e.exports=n(433)()},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t,n){function r(e,t,n,r,c,u){var f=n&s,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var h=u.get(e);if(h&&u.get(t))return h==t;var g=-1,b=!0,m=n&l?new o:void 0;for(u.set(e,t),u.set(t,e);++g<p;){var v=e[g],y=t[g];if(r)var _=f?r(y,v,g,t,e,u):r(v,y,g,e,t,u);if(void 0!==_){if(_)continue;b=!1;break}if(m){if(!i(t,function(e,t){if(!a(m,t)&&(v===e||c(v,e,n,r,u)))return m.push(t)})){b=!1;break}}else if(v!==y&&!c(v,y,n,r,u)){b=!1;break}}return u.delete(e),u.delete(t),b}var o=n(124),i=n(182),a=n(125),s=1,l=2;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){var r=n(19),o=r.Uint8Array;e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t,n){function r(e){return o(e,a,i)}var o=n(186),i=n(127),a=n(37);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(126),i=n(12);e.exports=r},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),u=!n&&!r&&s(e),p=!n&&!r&&!u&&c(e),d=n||r||u||p,h=d?o(e.length,String):[],g=h.length;for(var b in e)!t&&!f.call(e,b)||d&&("length"==b||u&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,g))||h.push(b);return h}var o=n(250),i=n(94),a=n(12),s=n(95),l=n(79),c=n(128),u=Object.prototype,f=u.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(97),i=n(309),a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Set");e.exports=i},function(e,t,n){var r=n(47),o=n(19),i=r(o,"WeakMap");e.exports=i},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(22);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(317),i=n(252);e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=c.test(e);return n||u.test(e)?f(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n(22),i=n(75),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){var r=n(47),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),l=Array(s);++a<s;)l[a]=r[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=r[a];return c[t]=n(l),o(e,this,c)}}var o=n(169),i=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.id,n=e.label,r=e.help,o=e.className,a=e.children;return wp.element.createElement("div",{className:i()("blocks-base-control",o)},n&&wp.element.createElement("label",{className:"blocks-base-control__label",htmlFor:t},n),a,!!r&&wp.element.createElement("p",{id:t+"__help",className:"blocks-base-control__help"},r))}var o=n(17),i=n.n(o),a=n(574);n.n(a);t.a=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(168),i=n(336),a=n(337);e.exports=r},function(e,t,n){function r(e,t,n,r){var f=-1,p=i,d=!0,h=e.length,g=[],b=t.length;if(!h)return g;n&&(t=s(t,l(n))),r?(p=a,d=!1):t.length>=u&&(p=c,d=!1,t=new o(t));e:for(;++f<h;){var m=e[f],v=null==n?m:n(m);if(m=r||0!==m?m:0,d&&v===v){for(var y=b;y--;)if(t[y]===v)continue e;g.push(m)}else p(t,v,r)||g.push(m)}return g}var o=n(124),i=n(157),a=n(202),s=n(59),l=n(130),c=n(125),u=200;e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t,n){var r=n(18),o=n(10),i=n(36);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){function r(e){return o(e,a,i)}var o=n(186),i=n(205),a=n(158);e.exports=r},function(e,t,n){var r=n(126),o=n(139),i=n(127),a=n(187),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=l},function(e,t,n){e.exports={default:n(349),__esModule:!0}},function(e,t,n){var r=n(113),o=n(78).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(67),o=n(46),i=n(33),a=n(84),s=n(31),l=n(112),c=Object.getOwnPropertyDescriptor;t.f=n(24)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){function r(e){for(var t=e.name+"",n=o[t],r=a.call(o,t)?n.length:0;r--;){var i=n[r],s=i.func;if(null==s||s==e)return i.name}return t}var o=n(369),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=i(e)?Array(e.length):[];return o(e,function(e,o,i){r[++n]=t(e,o,i)}),r}var o=n(57),i=n(32);e.exports=r},function(e,t,n){var r=n(380),o=n(160),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){e.exports={default:n(237),__esModule:!0}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(432),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default},function(e,t,n){n(216),e.exports=n(10).Object.assign},function(e,t,n){var r=n(18);r(r.S+r.F,"Object",{assign:n(217)})},function(e,t,n){"use strict";var r=n(50),o=n(104),i=n(67),a=n(53),s=n(103),l=Object.assign;e.exports=!l||n(36)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=o.f,f=i.f;l>c;)for(var p,d=s(arguments[c++]),h=u?r(d).concat(u(d)):r(d),g=h.length,b=0;g>b;)f.call(d,p=h[b++])&&(n[p]=d[p]);return n}:l},function(e,t,n){function r(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(48),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t,n){"use strict";function r(e,t){return"string"!=typeof e?void console.error("Block names must be strings."):/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e)?t&&y()(t.save)?"edit"in t&&!y()(t.edit)?void console.error('The "edit" property must be a valid function.'):E[e]?void console.error('Block "'+e+'" is already registered.'):"keywords"in t&&t.keywords.length>3?void console.error('The block "'+e+'" can have a maximum of 3 keywords.'):"category"in t?"category"in t&&!m()(O,{slug:t.category})?void console.error('The block "'+e+'" must have a registered category.'):"title"in t&&""!==t.title?"string"!=typeof t.title?void console.error("Block titles must be strings."):(t.icon||(t.icon="block-default"),t=g()({name:e,attributes:w()(window._wpBlocksAttributes,e,{})},t),t=Object(k.c)("registerBlockType",t,e),E[e]=t):void console.error('The block "'+e+'" must have a title.'):void console.error('The block "'+e+'" must have a category.'):void console.error('The "save" property must be specified and must be a valid function.'):void console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block")}function o(e){if(!E[e])return void console.error('Block "'+e+'" is not registered.');var t=E[e];return delete E[e],t}function i(e){C=e}function a(){return C}function s(e){S=e}function l(){return S}function c(e){return E[e]}function u(){return d()(E)}function f(e,t,n){var r="string"==typeof e?c(e):e;return!!w()(r,["supports",t],n)}t.f=r,t.i=o,t.h=i,t.d=a,t.g=s,t.c=l,t.a=c,t.b=u,t.e=f;var p=n(411),d=n.n(p),h=n(11),g=n.n(h),b=n(221),m=n.n(b),v=n(121),y=n.n(v),_=n(55),w=n.n(_),x=n(492),k=n(412),E={},O=Object(x.a)(),C=void 0,S=void 0},function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=n(182),i=n(26),a=n(328),s=n(12),l=n(107);e.exports=r},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),s=o-(a-n);if(n=a,s>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){n(60),n(227),e.exports=n(10).Array.from},function(e,t,n){var r=n(66),o=n(65);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(108),o=n(46),i=n(71),a={};n(28)(a,n(16)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(23),o=n(21),i=n(50);e.exports=n(24)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(34),o=n(18),i=n(53),a=n(136),s=n(137),l=n(73),c=n(228),u=n(99);o(o.S+o.F*!n(138)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,b=void 0!==g,m=0,v=u(p);if(b&&(g=r(g,h>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=l(p.length),n=new d(t);t>m;m++)c(n,m,b?g(p[m],m):p[m]);else for(f=v.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,b?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){"use strict";var r=n(23),o=n(46);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(230),o=n(231),i=n(40),a=n(33);e.exports=n(134)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(192),o=r&&new r;e.exports=o},function(e,t,n){function r(e){var t=a(e),n=s[t];if("function"!=typeof n||!(t in o.prototype))return!1;if(e===n)return!0;var r=i(n);return!!r&&e===r[0]}var o=n(144),i=n(161),a=n(209),s=n(370);e.exports=r},function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t))}var o=n(175),i=n(57),a=n(372),s=n(12);e.exports=r},function(e,t){!function(e){"function"!=typeof e.matches&&(e.matches=e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof e.closest&&(e.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}(window.Element.prototype)},function(e,t,n){function r(e,t,n){function r(t){var n=v,r=y;return v=y=void 0,E=t,w=e.apply(r,n)}function u(e){return E=e,x=setTimeout(d,t),O?r(e):w}function f(e){var n=e-k,r=e-E,o=t-n;return C?c(o,_-r):o}function p(e){var n=e-k,r=e-E;return void 0===k||n>=t||n<0||C&&r>=_}function d(){var e=i();if(p(e))return h(e);x=setTimeout(d,f(e))}function h(e){return x=void 0,S&&v?r(e):(v=y=void 0,w)}function g(){void 0!==x&&clearTimeout(x),E=0,v=k=y=x=void 0}function b(){return void 0===x?w:h(i())}function m(){var e=i(),n=p(e);if(v=arguments,y=this,k=e,n){if(void 0===x)return u(k);if(C)return x=setTimeout(d,t),r(k)}return void 0===x&&(x=setTimeout(d,t)),w}var v,y,_,w,x,k,E=0,O=!1,C=!1,S=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(O=!!n.leading,C="maxWait"in n,_=C?l(a(n.maxWait)||0,t):_,S="trailing"in n?!!n.trailing:S),m.cancel=g,m.flush=b,m}var o=n(22),i=n(374),a=n(196),s="Expected a function",l=Math.max,c=Math.min;e.exports=r},function(e,t,n){n(159),n(60),n(82),n(238),n(245),n(246),e.exports=n(10).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(76),l=n(14),c=n(34),u=n(100),f=n(18),p=n(25),d=n(52),h=n(239),g=n(240),b=n(147),m=n(148).set,v=n(242)(),y=n(88),_=n(149),w=n(150),x=l.TypeError,k=l.process,E=l.Promise,O="process"==u(k),C=function(){},S=o=y.f,j=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(16)("species")]=function(e){e(C,C)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),T=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,l=t.reject,c=t.domain;try{a?(o||(2==e._h&&N(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?l(x("Promise-chain cycle")):(i=T(n))?i.call(n,s,l):s(n)):l(r)}catch(e){l(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){m.call(l,function(){var t,n,r,o=e._v,i=P(e);if(i&&(t=_(function(){O?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||P(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},P=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!P(t.promise))return!1;return!0},N=function(e){m.call(l,function(){var t;O?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},M=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=T(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,c(M,r,1),c(L,r,1))}catch(e){L.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};j||(E=function(e){h(this,E,"Promise","_h"),d(e),r.call(this);try{e(c(M,this,1),c(L,this,1))}catch(e){L.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(243)(E.prototype,{then:function(e,t){var n=S(b(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(M,e,1),this.reject=c(L,e,1)},y.f=S=function(e){return e===E||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!j,{Promise:E}),n(71)(E,"Promise"),n(244)("Promise"),a=n(10).Promise,f(f.S+f.F*!j,"Promise",{reject:function(e){var t=S(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!j),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),f(f.S+f.F*!(j&&n(138)(function(e){E.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=S(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;g(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=S(t),r=n.reject,o=_(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(34),o=n(136),i=n(137),a=n(21),s=n(73),l=n(99),c={},u={},t=e.exports=function(e,t,n,f,p){var d,h,g,b,m=p?function(){return e}:l(e),v=r(n,f,t?2:1),y=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(d=s(e.length);d>y;y++)if((b=t?v(a(h=e[y])[0],h[1]):v(e[y]))===c||b===u)return b}else for(g=m.call(e);!(h=g.next()).done;)if((b=o(g,v,h.value,t))===c||b===u)return b};t.BREAK=c,t.RETURN=u},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(14),o=n(148).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(44)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(i){var u=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=u=!u}}else if(s&&s.resolve){var p=s.resolve();n=function(){p.then(c)}}else n=function(){o.call(r,c)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(28);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(14),o=n(10),i=n(23),a=n(24),s=n(16)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(18),o=n(10),i=n(14),a=n(147),s=n(150);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(18),o=n(88),i=n(149);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},,,function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!i(t)){var l=o(n,3);t=a(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}var o=n(26),i=n(32),a=n(37);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(s(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=n(48),i=n(59),a=n(12),s=n(75),l=1/0,c=o?o.prototype:void 0,u=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,u=t.length,f=!1;++r<u;){var p=c(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=u?f:!!(u=null==e?0:e.length)&&l(u)&&s(p,u)&&(a(e)||i(e))}var o=n(68),i=n(94),a=n(12),s=n(79),l=n(129),c=n(62);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){var r=n(322),o=r();e.exports=o},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||f(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==d)return!e.size;if(u(e))return!o(e).length;for(var n in e)if(g.call(e,n))return!1;return!0}var o=n(189),i=n(131),a=n(94),s=n(12),l=n(32),c=n(95),u=n(97),f=n(128),p="[object Map]",d="[object Set]",h=Object.prototype,g=h.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.instanceId,o=e.onChange,a=e.beforeIcon,f=e.afterIcon,p=e.help,d=e.allowReset,h=s()(e,["label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset"]),g="inspector-range-control-"+r,b=function(e){return o(Number(e.target.value))};return wp.element.createElement(u.a,{label:t,id:g,help:p,className:"blocks-range-control"},a&&wp.element.createElement(l.Dashicon,{icon:a,size:20}),wp.element.createElement("input",i()({className:"blocks-range-control__slider",id:g,type:"range",value:n,onChange:b,"aria-describedby":p?g+"__help":void 0},h)),f&&wp.element.createElement(l.Dashicon,{icon:f}),wp.element.createElement("input",i()({className:"blocks-range-control__number",type:"number",onChange:b,value:n},h)),d&&wp.element.createElement(l.Button,{onClick:function(){return o()},disabled:void 0===n},Object(c.__)("Reset")))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(0)),u=(n.n(c),n(199)),f=n(579);n.n(f);t.a=Object(l.withInstanceId)(r)},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var c=t[r],u=o(e,c);n(u,c)&&i(l,a(c,e),u)}return l}var o=n(106),i=n(344),a=n(68);e.exports=r},function(e,t,n){var r=n(61)("meta"),o=n(25),i=n(31),a=n(23).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(36)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},d=function(e){return c&&h.NEED&&l(e)&&!i(e,r)&&u(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,n){function r(e){return i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var g=t[r];if("function"!=typeof g)throw new TypeError(u);if(i&&!b&&"wrapper"==s(g))var b=new o([],!0)}for(r=b?r:n;++r<n;){g=t[r];var m=s(g),v="wrapper"==m?a(g):void 0;b=v&&c(v[0])&&v[1]==(d|f|p|h)&&!v[4].length&&1==v[9]?b[s(v[0])].apply(b,v[3]):1==g.length&&c(g)?b[m]():b.thru(g)}return function(){var e=arguments,r=e[0];if(b&&1==e.length&&l(r))return b.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}var o=n(142),i=n(160),a=n(161),s=n(209),l=n(12),c=n(233),u="Expected a function",f=8,p=32,d=128,h=256;e.exports=r},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}var o=n(19),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?o.Buffer:void 0,c=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(96)(e))},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(146);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(111),i=n(139),a=n(97);e.exports=r},function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}var o=n(42),i=n(139),a=n(29),s="[object Object]",l=Function.prototype,c=Object.prototype,u=l.toString,f=c.hasOwnProperty,p=u.call(Object);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Object(o.parse)(e,!0),r=a({},n.query,t);return delete n.search,Object(o.format)(a({},n,{query:r}))}t.a=r;var o=n(419),i=(n.n(o),n(378)),a=(n.n(i),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(211),b=n.n(g),m=n(2),v=(n.n(m),n(0)),y=(n.n(v),n(1)),w=(n.n(y),function(){return wp.media.view.MediaFrame.Post.extend({createStates:function(){this.states.add([new wp.media.controller.Library({id:"gallery",title:wp.media.view.l10n.createGalleryTitle,priority:40,toolbar:"main-gallery",filterable:"uploaded",multiple:"add",editable:!1,library:wp.media.query(_.defaults({type:"image"},this.options.library))}),new wp.media.controller.GalleryEdit({library:this.options.selection,editing:this.options.editing,menu:"gallery",displaySettings:!1}),new wp.media.controller.GalleryAdd])}})}),x=function(e){var t=["sizes","mime","type","subtype","id","url","alt","link"];return b()(e,t)},k=function(e){function t(e){var n=e.multiple,r=void 0!==n&&n,o=e.type,i=e.gallery,s=void 0!==i&&i,c=e.title,u=void 0===c?Object(v.__)("Select or Upload Media"):c;l()(this,t);var f=p()(this,(t.__proto__||a()(t)).apply(this,arguments));f.openModal=f.openModal.bind(f),f.onSelect=f.onSelect.bind(f),f.onUpdate=f.onUpdate.bind(f),f.onOpen=f.onOpen.bind(f);var d={title:u,button:{text:Object(v.__)("Select")},multiple:r,selection:new wp.media.model.Selection([])};if(o&&(d.library={type:o}),s){var h=w();f.frame=new h({frame:"select",mimeType:o,state:"gallery"}),wp.media.frame=f.frame}else f.frame=wp.media(d);return f.frame.on("select",f.onSelect),f.frame.on("update",f.onUpdate),f.frame.on("open",f.onOpen),f}return h()(t,e),u()(t,[{key:"componentWillUnmount",value:function(){this.frame.remove()}},{key:"onUpdate",value:function(e){var t=this.props,n=t.onSelect,r=t.multiple,o=void 0!==r&&r,i=this.frame.state(),a=e||i.get("selection");a&&a.models.length&&n(o?a.models.map(function(e){return x(e.toJSON())}):x(a.models[0].toJSON()))}},{key:"onSelect",value:function(){var e=this.props,t=e.onSelect,n=e.multiple,r=void 0!==n&&n,o=this.frame.state().get("selection").toJSON();t(r?o:o[0])}},{key:"onOpen",value:function(){var e=this.frame.state().get("selection"),t=function(t){var n=wp.media.attachment(t);n.fetch(),e.add(n)};this.props.value&&(this.props.multiple?this.props.value.map(t):t(this.props.value))}},{key:"openModal",value:function(){this.frame.open()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.buttonProps;return wp.element.createElement(y.Button,o()({onClick:this.openModal},n),t)}}]),t}(m.Component);t.a=k},function(e,t,n){function r(e,t,n,R,P,N){var L,M=t&k,D=t&E,B=t&O;if(n&&(L=P?n(e,R,P,N):n(e)),void 0!==L)return L;if(!w(e))return e;var I=y(e);if(I){if(L=b(e),!M)return u(e,L)}else{var F=g(e),z=F==S||F==j;if(_(e))return c(e,M);if(F==T||F==C||z&&!P){if(L=D||z?{}:v(e),!M)return D?p(e,l(L,e)):f(e,s(L,e))}else{if(!A[F])return P?e:{};L=m(e,F,r,M)}}N||(N=new o);var H=N.get(e);if(H)return H;N.set(e,L);var q=B?D?h:d:D?keysIn:x,U=I?void 0:q(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(L,i,r(o,t,n,i,e,N))}),L}var o=n(114),i=n(175),a=n(116),s=n(382),l=n(383),c=n(262),u=n(145),f=n(384),p=n(385),d=n(185),h=n(204),g=n(131),b=n(386),m=n(387),v=n(264),y=n(12),_=n(95),w=n(22),x=n(37),k=1,E=2,O=4,C="[object Arguments]",S="[object Function]",j="[object GeneratorFunction]",T="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[T]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[S]=A["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){var r=n(110),o=n(395),i=n(81),a=n(107),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},,,function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(273),i=n(312),a=n(194);e.exports=r},function(e,t,n){function r(e,t,n,r){var l=n.length,c=l,u=!r;if(null==e)return!c;for(e=Object(e);l--;){var f=n[l];if(u&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++l<c;){f=n[l];var p=f[0],d=e[p],h=f[1];if(u&&f[2]){if(void 0===d&&!(p in e))return!1}else{var g=new o;if(r)var b=r(d,h,p,e,t,g);if(!(void 0===b?i(h,d,a|s,r,g):b))return!1}}return!0}var o=n(114),i=n(123),a=1,s=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(90),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(90);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(90);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(90);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(89);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(89),i=n(120),a=n(122),s=200;e.exports=r},function(e,t,n){function r(e){return!(!a(e)||i(e))&&(o(e)?h:c).test(s(e))}var o=n(121),i=n(285),a=n(22),s=n(180),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,p=u.toString,d=f.hasOwnProperty,h=RegExp("^"+p.call(d).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!i&&i in e}var o=n(286),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(19),o=r["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(289),i=n(89),a=n(120);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(290),i=n(291),a=n(292),s=n(293),l=n(294);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=l,e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(91);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return s.call(t,e)?t[e]:void 0}var o=n(91),i="__lodash_hash_undefined__",a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(91),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(91),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(92);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(92);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(92);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(92);e.exports=r},function(e,t,n){function r(e,t,n,r,b,v){var y=c(e),_=c(t),w=y?h:l(e),x=_?h:l(t);w=w==d?g:w,x=x==d?g:x;var k=w==g,E=x==g,O=w==x;if(O&&u(e)){if(!u(t))return!1;y=!0,k=!1}if(O&&!k)return v||(v=new o),y||f(e)?i(e,t,n,r,b,v):a(e,t,w,n,r,b,v);if(!(n&p)){var C=k&&m.call(e,"__wrapped__"),S=E&&m.call(t,"__wrapped__");if(C||S){var j=C?e.value():e,T=S?t.value():t;return v||(v=new o),b(j,T,n,r,v)}}return!!O&&(v||(v=new o),s(e,t,n,r,b,v))}var o=n(114),i=n(181),a=n(303),s=n(304),l=n(131),c=n(12),u=n(95),f=n(128),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",b=Object.prototype,m=b.hasOwnProperty;e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,k,O){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!k(new i(e),new i(t)));case p:case d:case b:return a(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case g:var C=l;case v:var S=r&u;if(C||(C=c),e.size!=t.size&&!S)return!1;var j=O.get(e);if(j)return j==t;r|=f,O.set(e,t);var T=s(C(e),C(t),r,o,k,O);return O.delete(e),T;case _:if(E)return E.call(e)==E.call(t)}return!1}var o=n(48),i=n(183),a=n(85),s=n(181),l=n(184),c=n(93),u=1,f=2,p="[object Boolean]",d="[object Date]",h="[object Error]",g="[object Map]",b="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",k=o?o.prototype:void 0,E=k?k.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,a,l){var c=n&i,u=o(e),f=u.length;if(f!=o(t).length&&!c)return!1;for(var p=f;p--;){var d=u[p];if(!(c?d in t:s.call(t,d)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var g=!0;l.set(e,t),l.set(t,e);for(var b=c;++p<f;){d=u[p];var m=e[d],v=t[d];if(r)var y=c?r(v,m,d,t,e,l):r(m,v,d,e,t,l);if(!(void 0===y?m===v||a(m,v,n,r,l):y)){g=!1;break}b||(b="constructor"==d)}if(g&&!b){var _=e.constructor,w=t.constructor;_!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(g=!1)}return l.delete(e),l.delete(t),g}var o=n(185),i=1,a=Object.prototype,s=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(42),i=n(29),a="[object Arguments]";e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!s[o(e)]}var o=n(42),i=n(129),a=n(29),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){(function(e){var r=n(151),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n(96)(e))},function(e,t,n){var r=n(190),o=r(Object.keys,Object);e.exports=o},function(e,t,n){var r=n(47),o=n(19),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(47),o=n(19),i=r(o,"Promise");e.exports=i},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(193),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&l(t)?c(u(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|p)}}var o=n(123),i=n(55),a=n(195),s=n(132),l=n(193),c=n(194),u=n(62),f=1,p=2;e.exports=r},function(e,t,n){var r=n(315),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)}),t});e.exports=s},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(316),i=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(122),i="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n(253),i=n(319),a=n(132),s=n(62);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(106);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n(196),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(){if(!arguments.length)return[];var e=arguments[0];return o(e)?e:[e]}var o=n(12);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}e.exports=n},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==r(s[a],a,s););return n}}var o=n(32);e.exports=r},function(e,t){function n(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}e.exports=n},function(e,t,n){function r(e,t,n){var r=s(e)?o:i;return n&&l(e,t,n)&&(t=void 0),r(e,a(t,3))}var o=n(326),i=n(327),a=n(26),s=n(12),l=n(107);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}e.exports=n},function(e,t,n){function r(e,t){var n=!0;return o(e,function(e,r,o){return n=!!t(e,r,o)}),n}var o=n(57);e.exports=r},function(e,t,n){function r(e,t){var n;return o(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}var o=n(57);e.exports=r},function(e,t,n){var r=n(255),o=n(197),i=n(56),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t,n){e.exports={default:n(331),__esModule:!0}},function(e,t,n){n(82),n(60),e.exports=n(332)},function(e,t,n){var r=n(100),o=n(16)("iterator"),i=n(40);e.exports=n(10).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(334),__esModule:!0}},function(e,t,n){n(82),n(60),e.exports=n(335)},function(e,t,n){var r=n(21),o=n(99);e.exports=n(10).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n(339),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(59);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(s&&e&&e[s])}var o=n(48),i=n(94),a=n(12),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,f=i,p=e.length,d=!0,h=[],g=h;if(n)d=!1,f=a;else if(p>=u){var b=t?null:l(e);if(b)return c(b);d=!1,f=s,g=new o}else g=t?[]:h;e:for(;++r<p;){var m=e[r],v=t?t(m):m;if(m=n||0!==m?m:0,d&&v===v){for(var y=g.length;y--;)if(g[y]===v)continue e;t&&g.push(v),h.push(m)}else f(g,v,n)||(g!==h&&g.push(v),h.push(m))}return h}var o=n(124),i=n(157),a=n(202),s=n(125),l=n(342),c=n(93),u=200;e.exports=r},function(e,t,n){var r=n(191),o=n(30),i=n(93),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){"use strict";function r(e){return!!E[e.nodeName.toLowerCase()]}function o(e){return!r(e)}function i(e,t){return E[e]&&E[e].attributes&&-1!==E[e].attributes.indexOf(t)}function a(e){return!!x[e.nodeName.toLowerCase()]}function s(e){return!!k[e.nodeName.toLowerCase()]}function l(e,t){var n=e.nodeName.toLowerCase(),r=t.nodeName.toLowerCase();return E[n]&&E[n].children&&-1!==E[n].children.indexOf(r)}function c(e){return!!a(e)&&(!!e.hasChildNodes()&&b()(e.childNodes).some(function(e){return e.nodeType===_&&(!a(e)||c(e))}))}function u(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function f(e){return!e.hasChildNodes()||b()(e.childNodes).every(function(e){return e.nodeType===w?!e.nodeValue.trim():e.nodeType!==_||("BR"===e.nodeName||!e.hasAttributes()&&f(e))})}function p(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=t.querySelectorAll("br");return b()(n).forEach(function(e){e.parentNode.replaceChild(document.createTextNode("\n"),e)}),t.body.normalize(),1===t.body.childNodes.length&&t.body.firstChild.nodeType===w}function d(e,t,n){b()(e).forEach(function(e){d(e.childNodes,t,n),t.forEach(function(t){n.contains(e)&&t(e,n)})})}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,d(n.body.childNodes,t,n),n.body.innerHTML}t.j=o,t.d=i,t.g=a,t.h=s,t.c=l,t.i=c,t.e=u,t.f=f,t.k=p,t.b=d,t.a=h;var g=n(86),b=n.n(g),m=n(11),v=n.n(m),y=window.Node,_=y.ELEMENT_NODE,w=y.TEXT_NODE,x={strong:{},em:{},del:{},ins:{},a:{attributes:["href"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{}},k={figcaption:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},p:{children:["img"]},li:{children:["ul","ol","li"]},pre:{},td:{},th:{}},E=v()({},x,k,{img:{attributes:["src","alt"]},figure:{},blockquote:{},hr:{},ul:{},ol:{attributes:["type"]},table:{},thead:{},tfoot:{},tbody:{},tr:{}})},function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=i(t,e);for(var c=-1,u=t.length,f=u-1,p=e;null!=p&&++c<u;){var d=l(t[c]),h=n;if(c!=f){var g=p[d];h=r?r(g,d,p):void 0,void 0===h&&(h=s(g)?g:a(t[c+1])?[]:{})}o(p,d,h),p=p[d]}return e}var o=n(116),i=n(68),a=n(79),s=n(22),l=n(62);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=n(22),i=n(97),a=n(346),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){n(348),e.exports=n(10).Object.getPrototypeOf},function(e,t,n){var r=n(53),o=n(155);n(203)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(350);var r=n(10).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(18);r(r.S+r.F*!n(24),"Object",{defineProperty:n(23).f})},function(e,t,n){e.exports={default:n(352),__esModule:!0}},function(e,t,n){n(60),n(82),e.exports=n(140).f("iterator")},function(e,t,n){e.exports={default:n(354),__esModule:!0}},function(e,t,n){n(355),n(159),n(359),n(360),e.exports=n(10).Symbol},function(e,t,n){"use strict";var r=n(14),o=n(31),i=n(24),a=n(18),s=n(154),l=n(260).KEY,c=n(36),u=n(77),f=n(71),p=n(61),d=n(16),h=n(140),g=n(141),b=n(356),m=n(357),v=n(21),y=n(33),_=n(84),w=n(46),x=n(108),k=n(358),E=n(208),O=n(23),C=n(50),S=E.f,j=O.f,T=k.f,A=r.Symbol,R=r.JSON,P=R&&R.stringify,N=d("_hidden"),L=d("toPrimitive"),M={}.propertyIsEnumerable,D=u("symbol-registry"),B=u("symbols"),I=u("op-symbols"),F=Object.prototype,z="function"==typeof A,H=r.QObject,q=!H||!H.prototype||!H.prototype.findChild,U=i&&c(function(){return 7!=x(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(F,t);r&&delete F[t],j(e,t,n),r&&e!==F&&j(F,t,r)}:j,K=function(e){var t=B[e]=x(A.prototype);return t._k=e,t},V=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},W=function(e,t,n){return e===F&&W(I,t,n),v(e),t=_(t,!0),v(n),o(B,t)?(n.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),n=x(n,{enumerable:w(0,!1)})):(o(e,N)||j(e,N,w(1,{})),e[N][t]=!0),U(e,t,n)):j(e,t,n)},G=function(e,t){v(e);for(var n,r=b(t=y(t)),o=0,i=r.length;i>o;)W(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?x(e):G(x(e),t)},X=function(e){var t=M.call(this,e=_(e,!0));return!(this===F&&o(B,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,N)&&this[N][e])||t)},Z=function(e,t){if(e=y(e),t=_(t,!0),e!==F||!o(B,t)||o(I,t)){var n=S(e,t);return!n||!o(B,t)||o(e,N)&&e[N][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=T(y(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==N||t==l||r.push(t);return r},Q=function(e){for(var t,n=e===F,r=T(n?I:y(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(F,t)||i.push(B[t]);return i};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(I,n),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),U(this,e,w(1,n))};return i&&q&&U(F,e,{configurable:!0,set:t}),K(e)},s(A.prototype,"toString",function(){return this._k}),E.f=Z,O.f=W,n(207).f=k.f=Y,n(67).f=X,n(104).f=Q,i&&!n(76)&&s(F,"propertyIsEnumerable",X,!0),h.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!z,{Symbol:A});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;J.length>ee;)d(J[ee++]);for(var te=C(d.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=A(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!z,"Object",{create:$,defineProperty:W,defineProperties:G,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Y,getOwnPropertySymbols:Q}),R&&a(a.S+a.F*(!z||c(function(){var e=A();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!V(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&m(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,P.apply(R,r)}}}),A.prototype[L]||n(28)(A.prototype,L,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(50),o=n(104),i=n(67);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(44);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(33),o=n(207).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){n(141)("asyncIterator")},function(e,t,n){n(141)("observable")},function(e,t,n){e.exports={default:n(362),__esModule:!0}},function(e,t,n){n(363),e.exports=n(10).Object.setPrototypeOf},function(e,t,n){var r=n(18);r(r.S,"Object",{setPrototypeOf:n(364).set})},function(e,t,n){var r=n(25),o=n(21),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(34)(Function.call,n(208).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(366),__esModule:!0}},function(e,t,n){n(367);var r=n(10).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(18);r(r.S,"Object",{create:n(108)})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(110);e.exports=r},function(e,t){var n={};e.exports=n},function(e,t,n){function r(e){if(l(e)&&!s(e)&&!(e instanceof o)){if(e instanceof i)return e;if(f.call(e,"__wrapped__"))return c(e)}return new i(e)}var o=n(144),i=n(142),a=n(143),s=n(12),l=n(29),c=n(371),u=Object.prototype,f=u.hasOwnProperty;r.prototype=a.prototype,r.prototype.constructor=r,e.exports=r},function(e,t,n){function r(e){if(e instanceof o)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=a(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var o=n(144),i=n(142),a=n(145);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=n(56);e.exports=r},function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=n(236),i=n(22),a="Expected a function";e.exports=r},function(e,t,n){var r=n(19),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){"use strict";e.exports=n(376)},function(e,t,n){"use strict";function r(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,f=n.offsetRight||0;r=void 0===r||r;var p=o.isWindow(t),d=o.offset(e),h=o.outerHeight(e),g=o.outerWidth(e),b=void 0,m=void 0,v=void 0,y=void 0,_=void 0,w=void 0,x=void 0,k=void 0,E=void 0,O=void 0;p?(x=t,O=o.height(x),E=o.width(x),k={left:o.scrollLeft(x),top:o.scrollTop(x)},_={left:d.left-k.left-c,top:d.top-k.top-l},w={left:d.left+g-(k.left+E)+f,top:d.top+h-(k.top+O)+u},y=k):(b=o.offset(t),m=t.clientHeight,v=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},_={left:d.left-(b.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-c,top:d.top-(b.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-l},w={left:d.left+g-(b.left+v+(parseFloat(o.css(t,"borderRightWidth"))||0))+f,top:d.top+h-(b.top+m+(parseFloat(o.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?o.scrollTop(t,y.top+_.top):!1===a?o.scrollTop(t,y.top+w.top):_.top<0?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top):i||(a=void 0===a||!!a,a?o.scrollTop(t,y.top+_.top):o.scrollTop(t,y.top+w.top)),r&&(_.left<0||w.left>0?!0===s?o.scrollLeft(t,y.left+_.left):!1===s?o.scrollLeft(t,y.left+w.left):_.left<0?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left):i||(s=void 0===s||!!s,s?o.scrollLeft(t,y.left+_.left):o.scrollLeft(t,y.left+w.left)))}var o=n(377);e.exports=r},function(e,t,n){"use strict";function r(e){var t=void 0,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=t.left,r=t.top,n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function o(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;n=o.documentElement[r],"number"!=typeof n&&(n=o.body[r])}return n}function i(e){return o(e)}function a(e){return o(e,!0)}function s(e){var t=r(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=i(o),t.top+=a(o),t}function l(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}function c(e,t){var n=e[E]&&e[E][t];if(x.test(n)&&!k.test(t)){var r=e.style,o=r[C],i=e[O][C];e[O][C]=e[E][C],r[C]="fontSize"===t?"1em":n||0,n=r.pixelLeft+S,r[C]=o,e[O][C]=i}return""===n?"auto":n}function u(e,t){for(var n=0;n<e.length;n++)t(e[n])}function f(e){return"border-box"===j(e,"boxSizing")}function p(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);n.call(e);for(i in t)t.hasOwnProperty(i)&&(o[i]=r[i])}function d(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(j(e,s))||0}return r}function h(e){return null!=e&&e==e.window}function g(e,t,n){if(h(e))return"width"===t?N.viewportWidth(e):N.viewportHeight(e);if(9===e.nodeType)return"width"===t?N.docWidth(e):N.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=j(e),a=f(e,i),s=0;(null==o||o<=0)&&(o=void 0,s=j(e,t),(null==s||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===n&&(n=a?P:A);var l=void 0!==o||a,c=o||s;if(n===A)return l?c-d(e,["border","padding"],r,i):s;if(l){var u=n===R?-d(e,["border"],r,i):d(e,["margin"],r,i);return c+(n===P?0:u)}return s+d(e,T.slice(n),r,i)}function b(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=g.apply(void 0,n):p(e,L,function(){t=g.apply(void 0,n)}),t}function m(e,t,n){var r=n;{if("object"!==(void 0===t?"undefined":_(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):j(e,t);for(var o in t)t.hasOwnProperty(o)&&m(e,o,t[o])}}function v(e,t){"static"===m(e,"position")&&(e.style.position="relative");var n=s(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(m(e,i))||0,r[i]=o+t[i]-n[i]);m(e,r)}var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},w=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,x=new RegExp("^("+w+")(?!px)[a-z%]+$","i"),k=/^(top|right|bottom|left)$/,E="currentStyle",O="runtimeStyle",C="left",S="px",j=void 0;"undefined"!=typeof window&&(j=window.getComputedStyle?l:c);var T=["margin","border","padding"],A=-1,R=2,P=1,N={};u(["Width","Height"],function(e){N["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],N["viewport"+e](n))},N["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement,a=i[n];return"CSS1Compat"===r.compatMode&&a||o&&o[n]||a}});var L={position:"absolute",visibility:"hidden",display:"block"};u(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);N["outer"+t]=function(t,n){return t&&b(t,e,n?0:P)};var n="width"===e?["Left","Right"]:["Top","Bottom"];N[e]=function(t,r){if(void 0===r)return t&&b(t,e,A);if(t){var o=j(t);return f(t)&&(r+=d(t,["padding","border"],n,o)),m(t,e,r)}}}),e.exports=y({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return s(e);v(e,t)},isWindow:h,each:u,css:m,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},N)},function(e,t,n){"use strict";t.decode=t.parse=n(459),t.encode=t.stringify=n(460)},function(e,t,n){var r=n(201),o=n(110),i=n(81),a=n(173),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return i(e,n)})}var o=n(259),i=n(195);e.exports=r},function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=n(57);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(70),i=n(37);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(70),i=n(158);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(70),i=n(127);e.exports=r},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(70),i=n(205);e.exports=r},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var A=e.constructor;switch(t){case y:return o(e);case f:case p:return new A(+e);case _:return i(e,r);case w:case x:case k:case E:case O:case C:case S:case j:case T:return u(e,r);case d:return a(e,r,n);case h:case m:return new A(e);case g:return s(e);case b:return l(e,r,n);case v:return c(e)}}var o=n(146),i=n(388),a=n(389),s=n(391),l=n(392),c=n(394),u=n(263),f="[object Boolean]",p="[object Date]",d="[object Map]",h="[object Number]",g="[object RegExp]",b="[object Set]",m="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",k="[object Int8Array]",E="[object Int16Array]",O="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",j="[object Uint16Array]",T="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(146);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(390),i=n(115),a=n(184),s=1;e.exports=r},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(a(e),s):a(e);return i(r,o,new e.constructor)}var o=n(393),i=n(115),a=n(93),s=1;e.exports=r},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(48),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n){var r=-1;t=o(t.length?t:[u],l(i));var f=a(e,function(e,n,i){return{criteria:o(t,function(t){return t(e)}),index:++r,value:e}});return s(f,function(e,t){return c(e,t,n)})}var o=n(59),i=n(26),a=n(210),s=n(396),l=n(130),c=n(397),u=n(56);e.exports=r},function(e,t){function n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e.exports=n},function(e,t,n){function r(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++r<s;){var c=o(i[r],a[r]);if(c){if(r>=l)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}var o=n(398);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,a=o(e),s=void 0!==t,l=null===t,c=t===t,u=o(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}var o=n(75);e.exports=r},,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,s,l],f=0;c=new Error(t.replace(/%s/g,function(){return u[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(O.a)(e),r=m()(n.attributes,function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.default&&(e[r]=n.default),e},{});return{uid:k()(),name:e,isValid:!0,attributes:r}}function o(e,t){var n=g()(e),r=n.length>1,o=n[0],i=o.name;if(r&&!w()(n,function(e){return e.name===i}))return null;var a=Object(O.a)(t),l=Object(O.a)(i),u=y()(a,"transforms.from",[]),p=y()(l,"transforms.to",[]),h=c()(p,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(t)&&(!r||e.isMultiBlock)})||c()(u,function(e){return"block"===e.type&&-1!==e.blocks.indexOf(i)&&(!r||e.isMultiBlock)});if(!h)return null;var b=void 0;if(b=h.isMultiBlock?h.transform(n.map(function(e){return e.attributes})):h.transform(o.attributes),!f()(b))return null;if(b=g()(b),b.some(function(e){return!Object(O.a)(e.name)}))return null;var m=d()(b,function(e){return e.name===t});return m<0?null:b.map(function(e,t){return s()({},e,{uid:t===m?o.uid:e.uid})})}function i(e,t){return{id:k()(),name:Object(E.__)("Untitled block"),type:e,attributes:t}}t.a=r,t.c=o,t.b=i;var a=n(11),s=n.n(a),l=n(54),c=n.n(l),u=n(29),f=n.n(u),p=n(167),d=n.n(p),h=n(321),g=n.n(h),b=n(152),m=n.n(b),v=n(55),y=n.n(v),_=n(325),w=n.n(_),x=n(439),k=n.n(x),E=n(0),O=(n.n(E),n(220))},function(e,t,n){e.exports={default:n(442),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return u}),n.d(t,"k",function(){return f}),n.d(t,"n",function(){return p}),n.d(t,"l",function(){return d}),n.d(t,"m",function(){return h}),n.d(t,"f",function(){return g}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return m}),n.d(t,"h",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return _}),n.d(t,"i",function(){return w}),n.d(t,"j",function(){return x});var r=n(565),o=n(573),i=n(585),a=n(586),s=n(496),l=Object(r.a)(),c=l.addAction,u=l.addFilter,f=l.removeAction,p=l.removeFilter,d=l.removeAllActions,h=l.removeAllFilters,g=l.doAction,b=l.applyFilters,m=l.doingAction,v=l.doingFilter,y=l.didAction,_=l.didFilter,w=l.hasAction,x=l.hasFilter;Object(o.a)(l),Object(i.a)(l),Object(a.a)(l),Object(s.c)(l)},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){e.exports={default:n(453),__esModule:!0}},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t){function n(e){return r.test(e)}var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=n},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(373),h=n.n(d),g=n(17),b=n.n(g),m=n(375),v=n.n(m),y=n(0),_=(n.n(y),n(2)),w=(n.n(_),n(49)),x=(n.n(w),n(1)),k=(n.n(x),w.keycodes.UP),E=w.keycodes.DOWN,O=w.keycodes.ENTER,C=function(e){return e.stopPropagation()},S=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.onChange=e.onChange.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.bindListNode=e.bindListNode.bind(e),e.updateSuggestions=h()(e.updateSuggestions.bind(e),200),e.suggestionNodes=[],e.state={posts:[],showSuggestions:!1,selectedSuggestion:null},e}return p()(t,e),l()(t,[{key:"bindListNode",value:function(e){this.listNode=e}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this;if(this.suggestionsRequest&&this.suggestionsRequest.abort(),e.length<2)return void this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0}),this.suggestionsRequest=(new wp.api.collections.Posts).fetch({data:{search:e,per_page:20,orderby:"relevance"}}),this.suggestionsRequest.then(function(e){t.setState({posts:e,loading:!1}),e.length?t.props.debouncedSpeak(Object(y.sprintf)(Object(y._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(Object(y.__)("No results."),"assertive")},function(e){"abort"!==e.statusText&&t.setState({loading:!1})})}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.selectedSuggestion,r=t.posts;if(this.state.showSuggestions&&this.state.posts.length)switch(e.keyCode){case k:e.stopPropagation(),e.preventDefault();var o=n?n-1:r.length-1;this.setState({selectedSuggestion:o});break;case E:e.stopPropagation(),e.preventDefault();var i=null===n||n===r.length-1?0:n+1;this.setState({selectedSuggestion:i});break;case O:if(this.state.selectedSuggestion){e.stopPropagation();var a=this.state.posts[this.state.selectedSuggestion];this.selectLink(a.link)}}}},{key:"selectLink",value:function(e){this.props.onChange(e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"componentWillUnmount",value:function(){this.suggestionsRequest&&this.suggestionsRequest.abort()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,v()(this.suggestionNodes[r],this.listNode,{onlyScrollIfNeeded:!0}),setTimeout(function(){e.scrollingIntoView=!1},100))}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=t.instanceId,o=this.state,i=o.showSuggestions,a=o.posts,s=o.selectedSuggestion,l=o.loading;return wp.element.createElement("div",{className:"blocks-url-input"},wp.element.createElement("input",{autoFocus:!0,type:"text","aria-label":Object(y.__)("URL"),required:!0,value:n,onChange:this.onChange,onInput:C,placeholder:Object(y.__)("Paste URL or type"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":i,"aria-autocomplete":"list","aria-owns":"blocks-url-input-suggestions-"+r,"aria-activedescendant":null!==s?"blocks-url-input-suggestion-"+r+"-"+s:void 0}),l&&wp.element.createElement(x.Spinner,null),i&&!!a.length&&wp.element.createElement("div",{id:"blocks-url-input-suggestions-"+r,tabIndex:"-1",className:"blocks-url-input__suggestions",ref:this.bindListNode,role:"listbox"},a.map(function(t,n){return wp.element.createElement("button",{key:t.id,role:"option",tabIndex:"-1",id:"blocks-url-input-suggestion-"+r+"-"+n,ref:e.bindSuggestionNode(n),className:b()("blocks-url-input__suggestion",{"is-selected":n===s}),onClick:function(){return e.selectLink(t.link)},"aria-selected":n===s},t.title.rendered||Object(y.__)("(no title)"))})))}}]),t}(_.Component);t.a=Object(x.withSpokenMessages)(Object(x.withInstanceId)(S))},function(e,t,n){"use strict";function r(e){return o("post.php",{post:e,action:"edit"})}function o(e,t){return Object(a.a)(e,t)}function i(e){var t=e.replace(new RegExp("^https?://(www.)?"),"");return t.match("^[^/]+/$")?t.replace("/",""):t}t.b=r,t.c=o,t.a=i;var a=n(266)},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&c.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return c.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=n(457),c=n(458);t.parse=o,t.resolve=a,t.resolveObject=s,t.format=i,t.Url=r;var u=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(d),g=["'"].concat(h),b=["%","/","?",";","#"].concat(g),m=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(378);r.prototype.parse=function(e,t,n){if(!c.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o),a=/\\/g;i[0]=i[0].replace(a,"/"),e=i.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var f=p.exec(s);if(f)return this.path=s,this.href=s,this.pathname=f[1],f[2]?(this.search=f[2],this.query=t?k.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var d=u.exec(s);if(d){d=d[0];var h=d.toLowerCase();this.protocol=h,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&w[d]||(s=s.substr(2),this.slashes=!0)}if(!w[d]&&(E||d&&!x[d])){for(var O=-1,C=0;C<m.length;C++){var S=s.indexOf(m[C]);-1!==S&&(-1===O||S<O)&&(O=S)}var j,T;T=-1===O?s.lastIndexOf("@"):s.lastIndexOf("@",O),-1!==T&&(j=s.slice(0,T),s=s.slice(T+1),this.auth=decodeURIComponent(j)),O=-1;for(var C=0;C<b.length;C++){var S=s.indexOf(b[C]);-1!==S&&(-1===O||S<O)&&(O=S)}-1===O&&(O=s.length),this.host=s.slice(0,O),s=s.slice(O),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var R=this.hostname.split(/\./),C=0,P=R.length;C<P;C++){var N=R[C];if(N&&!N.match(v)){for(var L="",M=0,D=N.length;M<D;M++)N.charCodeAt(M)>127?L+="x":L+=N[M];if(!L.match(v)){var B=R.slice(0,C),I=R.slice(C+1),F=N.match(y);F&&(B.push(F[1]),I.unshift(F[2])),I.length&&(s="/"+I.join(".")+s),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var z=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+z,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!_[h])for(var C=0,P=g.length;C<P;C++){var q=g[C];if(-1!==s.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),s=s.split(q).join(U)}}var K=s.indexOf("#");-1!==K&&(this.hash=s.substr(K),s=s.slice(0,K));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),t&&(this.query=k.parse(this.query)),s=s.slice(0,V)):t&&(this.search="",this.query={}),s&&(this.pathname=s),x[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",W=this.search||"";this.path=z+W}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&c.isObject(this.query)&&Object.keys(this.query).length&&(i=k.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||x[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(c.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return x[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!x[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var d=f[p];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",b=n.search||"";n.path=g+b}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=v||m||n.host&&e.pathname,_=y,k=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],E=n.protocol&&!x[n.protocol];if(E&&(n.hostname="",n.port=null,n.host&&(""===k[0]?k[0]=n.host:k.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===k[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,k=h;else if(h.length)k||(k=[]),k.pop(),k=k.concat(h),n.search=e.search,n.query=e.query;else if(!c.isNullOrUndefined(e.search)){if(E){n.hostname=n.host=k.shift();var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return n.search=e.search,n.query=e.query,c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=k.slice(-1)[0],S=(n.host||e.host||k.length>1)&&("."===C||".."===C)||""===C,j=0,T=k.length;T>=0;T--)C=k[T],"."===C?k.splice(T,1):".."===C?(k.splice(T,1),j++):j&&(k.splice(T,1),j--);if(!y&&!_)for(;j--;j)k.unshift("..");!y||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),S&&"/"!==k.join("/").substr(-1)&&k.push("");var A=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(E){n.hostname=n.host=A?"":k.length?k.shift():"";var O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");O&&(n.auth=O.shift(),n.host=n.hostname=O.shift())}return y=y||n.host&&k.length,y&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),c.isNull(n.pathname)&&c.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){var r=n(80),o=n(421),i=Object.prototype,a=i.hasOwnProperty,s=o(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])});e.exports=s},function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:i,c=t?t():{};return l(n,e,a(r,2),c)}}var o=n(461),i=n(462),a=n(26),s=n(12);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.value,n=e.onChange;return wp.element.createElement(s.Toolbar,{controls:l.map(function(e){var r=e.align,o=t===r;return i()({},e,{isActive:o,onClick:function(){return n(o?null:r)}})})})}t.a=r;var o=n(11),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),[{icon:"editor-alignleft",title:Object(a.__)("Align left"),align:"left"},{icon:"editor-aligncenter",title:Object(a.__)("Align center"),align:"center"},{icon:"editor-alignright",title:Object(a.__)("Align right"),align:"right"}])},function(e,t,n){function r(e){return e=o(e),e&&s.test(e)?e.replace(a,i):e}var o=n(98),i=n(468),a=/&(?:amp|lt|gt|quot|#39);/g,s=RegExp(a.source);e.exports=r},,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l,c,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(13),d=r(p),h=n(179),g=r(h),b=n(436),m=r(b),v=n(437),y=r(v),_=(c=l=function(e){function t(){var e,n,r,s;i(this,t);for(var l=arguments.length,c=Array(l),f=0;f<l;f++)c[f]=arguments[f];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.state={lineHeight:null},r.dispatchEvent=function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!1),r.textarea.dispatchEvent(t)},r.getValue=function(e){var t=e.valueLink,n=e.value;return t?t.value:n},r.updateLineHeight=function(){r.setState({lineHeight:(0,y.default)(r.textarea)})},r.onChange=function(e){r.currentValue=e.target.value,r.props.onChange&&r.props.onChange(e)},r.saveDOMNodeRef=function(e){var t=r.props.innerRef;t&&t(e),r.textarea=e},r.getLocals=function(){var e=r,t=e.props,n=(t.onResize,t.maxRows),i=(t.onChange,t.style),a=(t.innerRef,o(t,["onResize","maxRows","onChange","style","innerRef"])),s=e.state.lineHeight,l=e.saveDOMNodeRef,c=n&&s?s*n:null;return u({},a,{saveDOMNodeRef:l,style:c?u({},i,{maxHeight:c}):i,onChange:r.onChange})},s=n,a(r,s)}return s(t,e),f(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows?(this.updateLineHeight(),setTimeout(function(){return(0,m.default)(e.textarea)})):(0,m.default)(this.textarea),n&&this.textarea.addEventListener("autosize:resized",this.props.onResize)}},{key:"componentWillUnmount",value:function(){this.props.onResize&&this.textarea.removeEventListener("autosize:resized",this.props.onResize),this.dispatchEvent("autosize:destroy")}},{key:"render",value:function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=o(e,["children","saveDOMNodeRef"]);return d.default.createElement("textarea",u({},r,{ref:n}),t)}},{key:"componentDidUpdate",value:function(){this.getValue(this.props)!==this.currentValue&&this.dispatchEvent("autosize:update")}}]),t}(d.default.Component),l.defaultProps={rows:1},c);t.default=_,_.propTypes={rows:g.default.number,maxRows:g.default.number,onResize:g.default.func,innerRef:g.default.func}},function(e,t,n){"use strict";var r=n(434),o=n(409),i=n(435);e.exports=function(){function e(e,t,n,r,a,s){s!==i&&o(!1,"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")}function t(){return e}e.isRequired=e;var n={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};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,o,i;/*!
|
7 |
Autosize 3.0.21
|
8 |
license: MIT
|
9 |
http://www.jacklmoore.com/autosize
|
10 |
*/
|
11 |
+
!function(n,a){o=[t,e],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){var t=e.style.height,r=n(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="auto";var i=e.scrollHeight+s;if(0===e.scrollHeight)return void(e.style.height=t);e.style.height=i+"px",l=e.clientWidth,r.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=e.clientWidth,c=null,u=function(){e.clientWidth!==l&&o()},f=function(t){window.removeEventListener("resize",u,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",f,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n]}),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",f,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",u,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:f,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e)}),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.exports=s})},function(e,t,n){function r(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=o(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var l=document.body;l.appendChild(a);n=a.offsetHeight,l.removeChild(a)}return n}var o=n(438);e.exports=r},function(e,t){var n=function(e,t,n){return n=window.getComputedStyle,(n?n(e):e.currentStyle)[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]};e.exports=n},function(e,t,n){function r(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null),e=e||{};var a=e.random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[r+s]=a[s];return t||i(a)}var o=n(440),i=n(441);e.exports=r},function(e,t,n){(function(t){var n,r=t.crypto||t.msCrypto;if(r&&r.getRandomValues){var o=new Uint8Array(16);n=function(){return r.getRandomValues(o),o}}if(!n){var i=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}e.exports=n}).call(t,n(105))},function(e,t){function n(e,t){var n=t||0,o=r;return o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+"-"+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]+o[e[n++]]}for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);e.exports=n},function(e,t,n){n(443),e.exports=n(10).Object.values},function(e,t,n){var r=n(18),o=n(444)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(50),o=n(33),i=n(67).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,c=0,u=[];l>c;)i.call(a,n=s[c++])&&u.push(e?[n,a[n]]:a[n]);return u}}},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.help,r=e.instanceId,o=e.onChange,a=e.options,l=void 0===a?[]:a,u=s()(e,["label","help","instanceId","onChange","options"]),p="inspector-select-control-"+r,d=function(e){return o(e.target.value)};return!c()(l)&&wp.element.createElement(f.a,{label:t,id:p,help:n},wp.element.createElement("select",i()({id:p,className:"blocks-select-control__input",onChange:d,"aria-describedby":n?p+"__help":void 0},u),l.map(function(e){return wp.element.createElement("option",{key:e.value,value:e.value},e.label)})))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(256),c=n.n(l),u=n(1),f=(n.n(u),n(199)),p=n(580);n.n(p);t.a=Object(u.withInstanceId)(r)},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.type,u=void 0===l?"text":l,f=s()(e,["label","value","help","instanceId","onChange","type"]),p="inspector-text-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("input",i()({className:"blocks-text-control__input",type:u,id:p,value:n,onChange:d,"aria-describedby":r?p+"__help":void 0},f)))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(581);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t,n){"use strict";function r(e,t){switch(t){case"string":return String(e);case"boolean":return Boolean(e);case"object":return Object(e);case"null":return null;case"array":return Array.isArray(e)?e:u()(e);case"integer":case"number":return Number(e)}return e}function o(e){switch(e.source){case"attribute":return Object(y.a)(e.selector,e.attribute);case"property":return Object(y.e)(e.selector,e.property);case"html":return Object(y.c)(e.selector);case"text":return Object(y.g)(e.selector);case"children":return Object(y.b)(e.selector);case"node":return Object(y.d)(e.selector);case"query":var t=p()(e.query,o);return Object(y.f)(e.selector,t);default:console.error('Unkown source type "'+e.source+'"')}}function i(e,t,n,i){var a=void 0;switch(t.source){case void 0:a=i?i[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":a=Object(d.c)(n,o(t))}return void 0===a?t.default:r(a,t.type)}function a(e,t,n){return p()(e.attributes,function(e,r){return i(r,e,t,n)})}function s(e,t,n){"core/text"!==(e=e||Object(g.d)())&&"core/cover-text"!==e||(e="core/paragraph");var r=Object(g.a)(e),o=Object(g.d)();if(r||(e&&(t=Object(v.d)(e,n,t)),e=o,r=Object(g.a)(e)),r&&(t||e!==o)){var i=Object(b.a)(e,a(r,t,n));return i.isValid=Object(m.a)(t,r,i.attributes),i.originalContent=t,i}}function l(e){return Object(h.parse)(e).reduce(function(e,t){var n=t.blockName,r=t.innerHTML,o=t.attrs,i=s(n,r.trim(),o);return i&&e.push(i),e},[])}t.b=a,t.c=l;var c=n(86),u=n.n(c),f=n(171),p=n.n(f),d=n(497),h=n(588),g=(n.n(h),n(220)),b=n(410),m=n(498),v=n(448),y=n(597);t.a=l},function(e,t,n){"use strict";function r(e){return"wp-block-"+e.replace(/\//,"-").replace(/^core-/,"")}function o(e,t){var n=e.save,r=void 0;if(n.prototype instanceof T.Component)r=Object(T.createElement)(n,{attributes:t});else if("string"==typeof(r=n({attributes:t})))return r;var o=function(n){if(!n||!k()(n))return n;var r=Object(R.c)("getSaveContent.extraProps",g()({},n.props),e,t);return Object(T.cloneElement)(n,r)},i=T.Children.map(r,o);return Object(T.renderToString)(i)}function i(e,t){return O()(t.attributes,function(t,n,r){var o=e[r];return void 0===o?t:void 0!==n.source?t:"default"in n&&n.default===o?t:(t[r]=o,t)},{})}function a(e){return d()(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026")}function s(e){return Object(j.html)(e,{indent_inner_html:!0,wrap_line_length:0})}function l(e){var t=Object(A.a)(e.name),n=e.originalContent;if(e.isValid)try{n=o(t,e.attributes)}catch(e){}return Object(A.d)()!==e.name&&n?s(n):n}function c(e,t,n){var r=S()(t)?"":a(t)+" ",o=m()(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:"+o+" "+r+"--\x3e\n"+n+"\n\x3c!-- /wp:"+o+" --\x3e":"\x3c!-- wp:"+o+" "+r+"/--\x3e"}function u(e){var t=e.name,n=Object(A.a)(t),r=l(e),o=i(e.attributes,n);switch(t){case"core/more":var a=o.customText,s=o.noTeaser,u=a?"\x3c!--more "+a+"--\x3e":"\x3c!--more--\x3e",f=s?"\x3c!--noteaser--\x3e":"";return y()([u,f]).join("\n");case Object(A.d)():return r;default:return c(t,o,r)}}function f(e){return w()(e).map(u).join("\n\n")}t.c=r,t.e=o,t.b=l,t.d=c,t.a=f;var p=n(449),d=n.n(p),h=n(11),g=n.n(h),b=n(499),m=n.n(b),v=n(258),y=n.n(v),_=n(321),w=n.n(_),x=n(22),k=n.n(x),E=n(152),O=n.n(E),C=n(256),S=n.n(C),j=n(595),T=(n.n(j),n(2)),A=(n.n(T),n(220)),R=n(412)},function(e,t,n){e.exports={default:n(450),__esModule:!0}},function(e,t,n){var r=n(10),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){var r,o;Object.values||(Object.values=function(e){if(e!==Object(e))throw new TypeError("Object.values called on a non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(e[t]);return n}),function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function o(e){return e.replace(/^\s+|\s+$/g,"")}function i(e){return e.replace(/^\s+/g,"")}function a(e){e=e||p.before_newline;var t=Object.values(p);if(!r(e,t))throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n"+t+"\nYou passed in: '"+e+"'");return e}function s(e,t){"use strict";function s(e,t){var n=0;return e&&(n=e.indentation_level,!G.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:G.get_line_number(),ternary_depth:0}}function l(e,t){for(var n=e.newlines,r=ie.keep_array_indentation&&k(ee.mode),o=Z,i=0;i<e.comments_before.length;i++)Z=e.comments_before[i],l(Z,t),oe[Z.type](t);if(Z=o,r)for(var a=0;a<n;a+=1)m(a>0,t);else if(ie.max_preserve_newlines&&n>ie.max_preserve_newlines&&(n=ie.max_preserve_newlines),ie.preserve_newlines&&e.newlines>1){m(!1,t);for(var s=1;s<n;s+=1)m(!0,t)}}function g(e){e=e.replace(f.allLineBreaks,"\n");for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(e.substring(0,n)),e=e.substring(n+1),n=e.indexOf("\n");return e.length&&t.push(e),t}function b(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ie.preserve_newlines&&Z.wanted_newline||e;if(r(ee.last_text,X.positionable_operators)||r(Z.text,X.positionable_operators)){var n=r(ee.last_text,X.positionable_operators)&&r(ie.operator_position,d)||r(Z.text,X.positionable_operators);t=t&&n}if(t)m(!1,!0);else if(ie.wrap_line_length){if("TK_RESERVED"===Y&&r(ee.last_text,ue))return;var o=G.current_line.get_character_count()+Z.text.length+(G.space_before_token?1:0);o>=ie.wrap_line_length&&m(!1,!0)}}}function m(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Y)for(var n=R(1);!(ee.mode!==h.Statement||ee.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ee.do_block);)O();G.add_new_line(e)&&(ee.multiline_frame=!0)}function v(){G.just_added_newline()&&(ie.keep_array_indentation&&k(ee.mode)&&Z.wanted_newline?(G.current_line.push(Z.whitespace_before),G.space_before_token=!1):G.set_indent(ee.indentation_level)&&(ee.line_indent_level=ee.indentation_level))}function y(e){if(G.raw)return void G.add_raw_token(Z);if(ie.comma_first&&"TK_COMMA"===Y&&G.just_added_newline()&&","===G.previous_line.last()){var t=G.previous_line.pop();G.previous_line.is_empty()&&(G.previous_line.push(t),G.trim(!0),G.current_line.pop(),G.trim()),v(),G.add_token(","),G.space_before_token=!0}e=e||Z.text,v(),G.add_token(e)}function _(){ee.indentation_level+=1}function w(){ee.indentation_level>0&&(!ee.parent||ee.indentation_level>ee.parent.indentation_level)&&(ee.indentation_level-=1)}function x(e){ee?(ne.push(ee),te=ee):te=s(null,e),ee=s(te,e)}function k(e){return e===h.ArrayLiteral}function E(e){return r(e,[h.Expression,h.ForInitializer,h.Conditional])}function O(){ne.length>0&&(te=ee,ee=ne.pop(),te.mode===h.Statement&&G.remove_redundant_indentation(te))}function C(){return ee.parent.mode===h.ObjectLiteral&&ee.mode===h.Statement&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Y&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Y&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Z.type||"TK_RESERVED"===Y&&"do"===ee.last_text||"TK_RESERVED"===Y&&r(ee.last_text,["return","throw"])&&!Z.wanted_newline||"TK_RESERVED"===Y&&"else"===ee.last_text&&("TK_RESERVED"!==Z.type||"if"!==Z.text||Z.comments_before.length)||"TK_END_EXPR"===Y&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Y&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Z.text&&"++"!==Z.text&&"function"!==Q&&"TK_WORD"!==Z.type&&"TK_RESERVED"!==Z.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Y&&r(ee.last_text,["get","set"])))&&(x(h.Statement),_(),l(Z,!0),C()||b("TK_RESERVED"===Z.type&&r(Z.text,["do","for","if","while"])),!0)}function j(e,t){for(var n=0;n<e.length;n++){if(o(e[n]).charAt(0)!==t)return!1}return!0}function T(e,t){for(var n,r=0,o=e.length;r<o;r++)if((n=e[r])&&0!==n.indexOf(t))return!1;return!0}function A(e){return r(e,["case","return","do","if","throw","else"])}function R(e){var t=$+(e||0);return t<0||t>=ae.length?null:ae[t]}function P(){S()||l(Z);var e=h.Expression;if("["===Z.text){if("TK_WORD"===Y||")"===ee.last_text)return"TK_RESERVED"===Y&&r(ee.last_text,X.line_starters)&&(G.space_before_token=!0),x(e),y(),_(),void(ie.space_in_paren&&(G.space_before_token=!0));e=h.ArrayLiteral,k(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==Q&&"}"!==Q)||ie.keep_array_indentation||m())}else"TK_RESERVED"===Y&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Y&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Y?m():"TK_END_EXPR"===Y||"TK_START_EXPR"===Y||"TK_END_BLOCK"===Y||"."===ee.last_text?b(Z.wanted_newline):"TK_RESERVED"===Y&&"("===Z.text||"TK_WORD"===Y||"TK_OPERATOR"===Y?"TK_RESERVED"===Y&&("function"===ee.last_word||"typeof"===ee.last_word)||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?ie.space_after_anon_function&&(G.space_before_token=!0):"TK_RESERVED"!==Y||!r(ee.last_text,X.line_starters)&&"catch"!==ee.last_text||ie.space_before_conditional&&(G.space_before_token=!0):G.space_before_token=!0,"("===Z.text&&"TK_RESERVED"===Y&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Z.text&&("TK_EQUALS"!==Y&&"TK_OPERATOR"!==Y||C()||b()),"("===Z.text&&"TK_WORD"!==Y&&"TK_RESERVED"!==Y&&b(),x(e),y(),ie.space_in_paren&&(G.space_before_token=!0),_()}function N(){for(;ee.mode===h.Statement;)O();l(Z),ee.multiline_frame&&b("]"===Z.text&&k(ee.mode)&&!ie.keep_array_indentation),ie.space_in_paren&&("TK_START_EXPR"!==Y||ie.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Z.text&&ie.keep_array_indentation?(y(),O()):(O(),y()),G.remove_redundant_indentation(te),ee.do_while&&te.mode===h.Conditional&&(te.mode=h.Expression,ee.do_block=!1,ee.do_while=!1)}function L(){l(Z);var e=R(1),t=R(2);x(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(Q,["class","interface"])?h.BlockStatement:h.ObjectLiteral:"TK_OPERATOR"===Y&&"=>"===ee.last_text?h.BlockStatement:r(Y,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Y&&r(ee.last_text,["return","throw","import","default"])?h.ObjectLiteral:h.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,o=n&&"function"===ee.last_word&&"TK_END_EXPR"===Y;if(ie.brace_preserve_inline){var i=0,a=null;ee.inline_frame=!0;do{if(i+=1,a=R(i),a.wanted_newline){ee.inline_frame=!1;break}}while("TK_EOF"!==a.type&&("TK_END_BLOCK"!==a.type||a.opened!==Z))}("expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Y&&(o||"TK_EQUALS"===Y||"TK_RESERVED"===Y&&A(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:m(!1,!0):(!k(te.mode)||"TK_START_EXPR"!==Y&&"TK_COMMA"!==Y||(("TK_COMMA"===Y||ie.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Y||"TK_START_EXPR"===Y&&ee.inline_frame)&&(b(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Y&&"TK_START_EXPR"!==Y&&("TK_START_BLOCK"!==Y||ee.inline_frame?G.space_before_token=!0:m())),y(),_()}function M(){for(l(Z);ee.mode===h.Statement;)O();var e="TK_START_BLOCK"===Y;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ie.brace_style?e||m():e||(k(ee.mode)&&ie.keep_array_indentation?(ie.keep_array_indentation=!1,m(),ie.keep_array_indentation=!0):m()),O(),y()}function D(){if("TK_RESERVED"===Z.type)if(r(Z.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Z.type="TK_WORD";else if(r(Z.text,["as","from"])&&!ee.import_block)Z.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=R(1);":"===e.text&&(Z.type="TK_WORD")}if(S()?"TK_RESERVED"===Y&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Z.type&&(ee.declaration_statement=!0):!Z.wanted_newline||E(ee.mode)||"TK_OPERATOR"===Y&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Y||!ie.preserve_newlines&&"TK_RESERVED"===Y&&r(ee.last_text,["var","let","const","set","get"])?l(Z):(l(Z),m()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Z.type&&"while"===Z.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);m(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Z.type||"else"!==Z.text){for(;ee.mode===h.Statement;)O();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Z.type&&("case"===Z.text||"default"===Z.text&&ee.in_case_statement))return m(),(ee.case_body||ie.jslint_happy)&&(w(),ee.case_body=!1),y(),ee.in_case=!0,void(ee.in_case_statement=!0);if("TK_COMMA"!==Y&&"TK_START_EXPR"!==Y&&"TK_EQUALS"!==Y&&"TK_OPERATOR"!==Y||C()||b(),"TK_RESERVED"===Z.type&&"function"===Z.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Y)&&(G.just_added_blankline()||Z.comments_before.length||(m(),m(!0))),"TK_RESERVED"===Y||"TK_WORD"===Y?"TK_RESERVED"===Y&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Y&&"default"===ee.last_text&&"export"===Q?G.space_before_token=!0:m():"TK_OPERATOR"===Y||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!E(ee.mode)&&!k(ee.mode))&&m(),y(),void(ee.last_word=Z.text);if(re="NONE","TK_END_BLOCK"===Y?te.inline_frame?re="SPACE":"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally","from"])?"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Y&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Y&&E(ee.mode)?re="SPACE":"TK_STRING"===Y?re="NEWLINE":"TK_RESERVED"===Y||"TK_WORD"===Y||"*"===ee.last_text&&(r(Q,["function","yield"])||ee.mode===h.ObjectLiteral&&r(Q,["{",","]))?re="SPACE":"TK_START_BLOCK"===Y?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Y&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Z.type&&r(Z.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Y||te.mode!==h.BlockStatement||"expand"===ie.brace_style||"end-expand"===ie.brace_style||"none"===ie.brace_style&&Z.wanted_newline)&&!ee.inline_frame)m();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&m(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Y&&A(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Y?"TK_START_EXPR"===Y&&"TK_RESERVED"===Z.type&&r(Z.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Z.type&&"if"===Z.text&&"else"===ee.last_text?G.space_before_token=!0:m()):"TK_RESERVED"===Z.type&&r(Z.text,X.line_starters)&&")"!==ee.last_text&&m():ee.multiline_frame&&k(ee.mode)&&","===ee.last_text&&"}"===Q?m():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Z.text,"TK_RESERVED"===Z.type&&("do"===Z.text?ee.do_block=!0:"if"===Z.text?ee.if_block=!0:"import"===Z.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Z.type&&"from"===Z.text&&(ee.import_block=!1))}function B(){S()?G.space_before_token=!1:l(Z);for(var e=R(1);!(ee.mode!==h.Statement||ee.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ee.do_block);)O();ee.import_block&&(ee.import_block=!1),y()}function I(){S()?G.space_before_token=!0:(l(Z),"TK_RESERVED"===Y||"TK_WORD"===Y||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Y||"TK_START_EXPR"===Y||"TK_EQUALS"===Y||"TK_OPERATOR"===Y?C()||b():m()),y()}function F(){S()||l(Z),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function z(){l(Z,!0),y(),G.space_before_token=!0,ee.declaration_statement?(E(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,m(!1,!0)):ie.comma_first&&b()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&O(),ee.inline_frame||m()):ie.comma_first&&b()}function H(){var e="*"===Z.text&&("TK_RESERVED"===Y&&r(ee.last_text,["function","yield"])||r(Y,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Z.text,["-","+"])&&(r(Y,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{l(Z,!e)}if("TK_RESERVED"===Y&&A(ee.last_text))return G.space_before_token=!0,void y();if("*"===Z.text&&"TK_DOT"===Y)return void y();if("::"===Z.text)return void y();if("TK_OPERATOR"===Y&&r(ie.operator_position,d)&&b(),":"===Z.text&&ee.in_case)return ee.case_body=!0,_(),y(),m(),void(ee.in_case=!1);var n=!0,o=!0,i=!1;if(":"===Z.text?0===ee.ternary_depth?n=!1:(ee.ternary_depth-=1,i=!0):"?"===Z.text&&(ee.ternary_depth+=1),!t&&!e&&ie.preserve_newlines&&r(Z.text,X.positionable_operators)){var a=":"===Z.text,s=a&&i,c=a&&!i;switch(ie.operator_position){case p.before_newline:return G.space_before_token=!c,y(),a&&!s||b(),void(G.space_before_token=!0);case p.after_newline:return G.space_before_token=!0,!a||s?R(1).wanted_newline?m(!1,!0):b():G.space_before_token=!1,y(),void(G.space_before_token=!0);case p.preserve_newline:return c||b(),n=!(G.just_added_newline()||c),G.space_before_token=n,y(),void(G.space_before_token=!0)}}if(e){b(),n=!1;var u=R(1);o=u&&r(u.type,["TK_WORD","TK_RESERVED"])}else"..."===Z.text?(b(),n="TK_START_BLOCK"===Y,o=!1):(r(Z.text,["--","++","!","~"])||t)&&(n=!1,o=!1,!Z.wanted_newline||"--"!==Z.text&&"++"!==Z.text||m(!1,!0),";"===ee.last_text&&E(ee.mode)&&(n=!0),"TK_RESERVED"===Y?n=!0:"TK_END_EXPR"===Y?n=!("]"===ee.last_text&&("--"===Z.text||"++"===Z.text)):"TK_OPERATOR"===Y&&(n=r(Z.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Z.text,["+","-"])&&r(ee.last_text,["--","++"])&&(o=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||m());G.space_before_token=G.space_before_token||n,y(),G.space_before_token=o}function q(e){if(G.raw)return G.add_raw_token(Z),void(Z.directives&&"end"===Z.directives.preserve&&(G.raw=ie.test_output_raw));if(Z.directives)return m(!1,e),y(),"start"===Z.directives.preserve&&(G.raw=!0),void m(!1,!0);if(!f.newline.test(Z.text)&&!Z.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=g(Z.text),r=!1,o=!1,a=Z.whitespace_before,s=a.length;for(m(!1,e),n.length>1&&(r=j(n.slice(1),"*"),o=T(n.slice(1),a)),y(n[0]),t=1;t<n.length;t++)m(!1,!0),r?y(" "+i(n[t])):o&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);m(!1,e)}function U(e){Z.wanted_newline?m(!1,e):G.trim(!0),G.space_before_token=!0,y(),m(!1,e)}function K(){S()||l(Z,!0),"TK_RESERVED"===Y&&A(ee.last_text)?G.space_before_token=!0:b(")"===ee.last_text&&ie.break_chained_methods),y()}function V(e){y(),"\n"===Z.text[Z.text.length-1]&&m(!1,e)}function W(){for(;ee.mode===h.Statement;)O();l(Z)}var G,$,X,Z,Y,Q,J,ee,te,ne,re,oe,ie,ae=[],se="";oe={TK_START_EXPR:P,TK_END_EXPR:N,TK_START_BLOCK:L,TK_END_BLOCK:M,TK_WORD:D,TK_RESERVED:D,TK_SEMICOLON:B,TK_STRING:I,TK_EQUALS:F,TK_OPERATOR:H,TK_COMMA:z,TK_BLOCK_COMMENT:q,TK_COMMENT:U,TK_DOT:K,TK_UNKNOWN:V,TK_EOF:W},t=t||{},t=n(t,"js"),ie={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var le=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(ie.brace_style=le[0],ie.brace_preserve_inline=!!le[1]&&le[1],ie.indent_size=t.indent_size?parseInt(t.indent_size,10):4,ie.indent_char=t.indent_char?t.indent_char:" ",ie.eol=t.eol?t.eol:"auto",ie.preserve_newlines=void 0===t.preserve_newlines||t.preserve_newlines,ie.break_chained_methods=void 0!==t.break_chained_methods&&t.break_chained_methods,ie.max_preserve_newlines=void 0===t.max_preserve_newlines?0:parseInt(t.max_preserve_newlines,10),ie.space_in_paren=void 0!==t.space_in_paren&&t.space_in_paren,ie.space_in_empty_paren=void 0!==t.space_in_empty_paren&&t.space_in_empty_paren,ie.jslint_happy=void 0!==t.jslint_happy&&t.jslint_happy,ie.space_after_anon_function=void 0!==t.space_after_anon_function&&t.space_after_anon_function,ie.keep_array_indentation=void 0!==t.keep_array_indentation&&t.keep_array_indentation,ie.space_before_conditional=void 0===t.space_before_conditional||t.space_before_conditional,ie.unescape_strings=void 0!==t.unescape_strings&&t.unescape_strings,ie.wrap_line_length=void 0===t.wrap_line_length?0:parseInt(t.wrap_line_length,10),ie.e4x=void 0!==t.e4x&&t.e4x,ie.end_with_newline=void 0!==t.end_with_newline&&t.end_with_newline,ie.comma_first=void 0!==t.comma_first&&t.comma_first,ie.operator_position=a(t.operator_position),ie.test_output_raw=void 0!==t.test_output_raw&&t.test_output_raw,ie.jslint_happy&&(ie.space_after_anon_function=!0),t.indent_with_tabs&&(ie.indent_char="\t",ie.indent_size=1),"auto"===ie.eol&&(ie.eol="\n",e&&f.lineBreak.test(e||"")&&(ie.eol=e.match(f.lineBreak)[0])),ie.eol=ie.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),J="";ie.indent_size>0;)J+=ie.indent_char,ie.indent_size-=1;var ce=0;if(e&&e.length){for(;" "===e.charAt(ce)||"\t"===e.charAt(ce);)se+=e.charAt(ce),ce+=1;e=e.substring(ce)}Y="TK_START_BLOCK",Q="",G=new c(J,se),G.raw=ie.test_output_raw,ne=[],x(h.BlockStatement),this.beautify=function(){var t;for(X=new u(e,ie,J),ae=X.tokenize(),$=0,Z=R();Z;)oe[Z.type](),Q=ee.last_text,Y=Z.type,ee.last_text=Z.text,$+=1,Z=R();return t=G.get_code(),ie.end_with_newline&&(t+="\n"),"\n"!==ie.eol&&(t=t.replace(/[\n]/g,ie.eol)),t};var ue=["break","continue","return","throw"]}function l(e){var t=0,n=-1,r=[],o=!0;this.set_indent=function(r){t=e.baseIndentLength+r*e.indent_length,n=r},this.get_character_count=function(){return t},this.is_empty=function(){return o},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(e){r.push(e),t+=e.length,o=!1},this.pop=function(){var e=null;return o||(e=r.pop(),t-=e.length,o=0===r.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)r.pop(),t-=1;o=0===r.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=r.join("")),t}}function c(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new l(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!e&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return n.join("\n").replace(/[\r\n\t ]+$/,"")},this.set_indent=function(e){if(n.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==h.ForInitializer&&e.mode!==h.Conditional)for(var t=e.start_line_index,r=n.length;t<r;)n[t].remove_indent(),t++},this.trim=function(r){for(r=void 0!==r&&r,this.current_line.trim(e,t);r&&n.length>1&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=n.length>1?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===n.length)return!0;return n[n.length-2].is_empty()}return!1}}function u(e,t){function n(e){if(!e.match(E))return null;var t={};O.lastIndex=0;for(var n=O.exec(e);n;)t[n[1]]=n[2],n=O.exec(e);return t}function i(){var e,i=[];h=0,m="";var g=_.next();if(null===g)return["","TK_EOF"];var E;for(E=y.length?y[y.length-1]:new b("TK_START_BLOCK","{");r(g,s);)if(f.newline.test(g)?"\n"===g&&"\r"===_.peek(-2)||(h+=1,i=[]):i.push(g),null===(g=_.next()))return["","TK_EOF"];if(i.length&&(m=i.join("")),l.test(g)||"."===g&&_.testChar(l)){var O=!0,j=!0,T=l;for("0"===g&&_.testChar(/[XxOoBb]/)?(O=!1,j=!1,T=_.testChar(/[Bb]/)?c:_.testChar(/[Oo]/)?u:p,g+=_.next()):"."===g?O=!1:(g="",_.back());_.testChar(T);)g+=_.next(),O&&"."===_.peek()&&(g+=_.next(),O=!1),j&&_.testChar(/[Ee]/)&&(g+=_.next(),_.testChar(/[+-]/)&&(g+=_.next()),j=!1,O=!1);return[g,"TK_WORD"]}if(f.isIdentifierStart(_.peekCharCode(-1))){if(_.hasNext())for(;f.isIdentifierChar(_.peekCharCode())&&(g+=_.next(),_.hasNext()););return"TK_DOT"===E.type||"TK_RESERVED"===E.type&&r(E.text,["set","get"])||!r(g,w)?[g,"TK_WORD"]:"in"===g||"of"===g?[g,"TK_OPERATOR"]:[g,"TK_RESERVED"]}if("("===g||"["===g)return[g,"TK_START_EXPR"];if(")"===g||"]"===g)return[g,"TK_END_EXPR"];if("{"===g)return[g,"TK_START_BLOCK"];if("}"===g)return[g,"TK_END_BLOCK"];if(";"===g)return[g,"TK_SEMICOLON"];if("/"===g){var A,R="";if("*"===_.peek()){_.next(),A=_.match(x),R="/*"+A[0];var P=n(R);return P&&"start"===P.ignore&&(A=_.match(C),R+=A[0]),R=R.replace(f.allLineBreaks,"\n"),[R,"TK_BLOCK_COMMENT",P]}if("/"===_.peek())return _.next(),A=_.match(k),R="//"+A[0],[R,"TK_COMMENT"]}var N=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===g||"'"===g||'"'===g||("/"===g||t.e4x&&"<"===g&&_.test(N,-1))&&("TK_RESERVED"===E.type&&r(E.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===E.type&&")"===E.text&&E.parent&&"TK_RESERVED"===E.parent.type&&r(E.parent.text,["if","while","for"])||r(E.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=g,M=!1,D=!1;if(e=g,"/"===L)for(var B=!1;_.hasNext()&&(M||B||_.peek()!==L)&&!_.testChar(f.newline);)e+=_.peek(),M?M=!1:(M="\\"===_.peek(),"["===_.peek()?B=!0:"]"===_.peek()&&(B=!1)),_.next();else if(t.e4x&&"<"===L){var I=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;_.back();var F="",z=_.match(N);if(z){for(var H=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=0===H.indexOf("{"),U=0;z;){var K=!!z[1],V=z[2],W=!!z[z.length-1]||"![CDATA["===V.slice(0,8);if(!W&&(V===H||q&&V.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(K?--U:++U),F+=z[0],U<=0)break;z=_.match(I)}return z||(F+=_.match(/[\s\S]*/g)[0]),F=F.replace(f.allLineBreaks,"\n"),[F,"TK_STRING"]}}else{var G=function(t,n,r){for(var o;_.hasNext()&&(o=_.peek(),M||o!==t&&(n||!f.newline.test(o)));)(M||n)&&f.newline.test(o)?("\r"===o&&"\n"===_.peek(1)&&(_.next(),o=_.peek()),e+="\n"):e+=o,M?("x"!==o&&"u"!==o||(D=!0),M=!1):M="\\"===o,_.next(),r&&-1!==e.indexOf(r,e.length-r.length)&&("`"===t?G("}",n,"`"):G("`",n,"${"),_.hasNext()&&(e+=_.next()))};"`"===L?G("`",!0,"${"):G(L)}if(D&&t.unescape_strings&&(e=a(e)),_.peek()===L&&(e+=L,_.next(),"/"===L))for(;_.hasNext()&&f.isIdentifierStart(_.peekCharCode());)e+=_.next();return[e,"TK_STRING"]}if("#"===g){if(0===y.length&&"!"===_.peek()){for(e=g;_.hasNext()&&"\n"!==g;)g=_.next(),e+=g;return[o(e)+"\n","TK_UNKNOWN"]}var $="#";if(_.hasNext()&&_.testChar(l)){do{g=_.next(),$+=g}while(_.hasNext()&&"#"!==g&&"="!==g);return"#"===g||("["===_.peek()&&"]"===_.peek(1)?($+="[]",_.next(),_.next()):"{"===_.peek()&&"}"===_.peek(1)&&($+="{}",_.next(),_.next())),[$,"TK_WORD"]}}if("<"===g&&("?"===_.peek()||"%"===_.peek())){_.back();var X=_.match(S);if(X)return g=X[0],g=g.replace(f.allLineBreaks,"\n"),[g,"TK_STRING"]}if("<"===g&&_.match(/\!--/g)){for(g="\x3c!--";_.hasNext()&&!_.testChar(f.newline);)g+=_.next();return v=!0,[g,"TK_COMMENT"]}if("-"===g&&v&&_.match(/->/g))return v=!1,["--\x3e","TK_COMMENT"];if("."===g)return"."===_.peek()&&"."===_.peek(1)?(g+=_.next()+_.next(),[g,"TK_OPERATOR"]):[g,"TK_DOT"];if(r(g,d)){for(;_.hasNext()&&r(g+_.peek(),d)&&(g+=_.next(),_.hasNext()););return","===g?[g,"TK_COMMA"]:"="===g?[g,"TK_EQUALS"]:[g,"TK_OPERATOR"]}return[g,"TK_UNKNOWN"]}function a(e){for(var t="",n=0,r=new g(e),o=null;r.hasNext();)if(o=r.match(/([\s]|[^\\]|\\\\)+/g),o&&(t+=o[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())o=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}o=r.match(/u([0-9A-Fa-f]{4})/g)}if(!o)return e;if((n=parseInt(o[1],16))>126&&n<=255&&0===o[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+o[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var s="\n\r\t ".split(""),l=/[0-9]/,c=/[01]/,u=/[01234567]/,p=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var d=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var h,m,v,y,_,w=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),x=/([\s\S]*?)((?:\*\/)|$)/g,k=/([^\n\r\u2028\u2029]*)/g,E=/\/\* beautify( \w+[:]\w+)+ \*\//g,O=/ (\w+)[:](\w+)/g,C=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,S=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;this.tokenize=function(){_=new g(e),v=!1,y=[];for(var t,n,r,o=null,a=[],s=[];!n||"TK_EOF"!==n.type;){for(r=i(),t=new b(r[1],r[0],h,m);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),s.push(t),r=i(),t=new b(r[1],r[0],h,m);s.length&&(t.comments_before=s,s=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,a.push(o),o=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&o&&("]"===t.text&&"["===o.text||")"===t.text&&"("===o.text||"}"===t.text&&"{"===o.text)&&(t.parent=o.parent,t.opened=o,o=a.pop()),y.push(t),n=t}return y}}var f={};!function(e){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n=new RegExp("["+t+"]"),r=new RegExp("["+t+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&n.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}}(f);var p={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},d=[p.before_newline,p.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},g=function(e){var t=e,n=t.length,r=0;this.back=function(){r-=1},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var o=null;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charAt(e)),o},this.peekCharCode=function(e){var o=0;return e=e||0,e+=r,e>=0&&e<n&&(o=t.charCodeAt(e)),o},this.test=function(e,n){return n=n||0,e.lastIndex=r+n,e.test(t)},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n}},b=function(e,t,n,r,o){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=r||"",this.parent=o||null,this.opened=null,this.directives=null};return new s(e,t).beautify()}r=[],void 0!==(o=function(){return{js_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){var r,o;!function(){function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function i(e,t){function r(){return(w=e.charAt(++k))||""}function o(t){var n="",o=k;return t&&c(),n=e.charAt(k+1)||"",k=o-1,r(),n}function l(t){for(var n=k;r();)if("\\"===w)r();else{if(-1!==t.indexOf(w))break;if("\n"===w)break}return e.substring(n,k+1)}function c(e){for(var t=0;x.test(o());)r(),"\n"===w&&e&&g&&(T.newLine(!0),t++);return p=t,t}function u(t){var n=k;for(t="/"===o(),r();r();){if(!t&&"*"===w&&"/"===o()){r();break}if(t&&"\n"===w)return e.substring(n,k)}return e.substring(n,k)+w}function f(t){return e.substring(k-t.length,k).toLowerCase()===t}t=t||{},t=n(t,"css"),e=e||"";var p=0,d=t.indent_size?parseInt(t.indent_size,10):4,h=t.indent_char||" ",g=void 0!==t.preserve_newlines&&t.preserve_newlines,b=void 0===t.selector_separator_newline||t.selector_separator_newline,m=void 0!==t.end_with_newline&&t.end_with_newline,v=void 0===t.newline_between_rules||t.newline_between_rules,y=void 0!==t.space_around_combinator&&t.space_around_combinator;y=y||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var _=t.eol?t.eol:"auto";t.indent_with_tabs&&(h="\t",d=1),"auto"===_&&(_="\n",e&&a.test(e||"")&&(_=e.match(a)[0])),_=_.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(s,"\n");var w,x=/^\s+$/,k=-1,E=0,O=e.match(/^[\t ]*/)[0],C=new Array(d+1).join(h),S=0,j=0,T={};T["{"]=function(e){T.singleSpace(),A.push(e),c(!0)||T.newLine()},T["}"]=function(e){e&&T.newLine(),A.push("}"),c(!0)||T.newLine()},T._lastCharWhitespace=function(){return x.test(A[A.length-1])},T.newLine=function(e){A.length&&(e||"\n"===A[A.length-1]?A[A.length-1]===O&&A.pop():T.trim(),A.push("\n"),O&&A.push(O))},T.singleSpace=function(){A.length&&!T._lastCharWhitespace()&&A.push(" ")},T.preserveSingleSpace=function(){B&&T.singleSpace()},T.trim=function(){for(;T._lastCharWhitespace();)A.pop()};for(var A=[],R=!1,P=!1,N=!1,L="",M="";;){var D=function(){var e="";for(w&&x.test(w)&&(e=w);x.test(r());)e+=w;return e}(),B=""!==D,I=-1!==D.indexOf("\n");if(M=L,L=w,!w)break;if("/"===w&&"*"===o()){var F=0===S;(I||F)&&T.newLine(),A.push(u()),T.newLine(),F&&T.newLine(!0)}else if("/"===w&&"/"===o())I||"{"===M||T.trim(),T.singleSpace(),A.push(u()),T.newLine();else if("@"===w)if(T.preserveSingleSpace(),"{"===o())A.push(l("}"));else{A.push(w);var z=function(e){var t=k,n=l(e);return k=t-1,r(),n}(": ,;{}()[]/='\"");z.match(/[ :]$/)&&(r(),z=l(": ").replace(/\s$/,""),A.push(z),T.singleSpace()),z=z.replace(/\s$/,""),z in i.NESTED_AT_RULE&&(j+=1,z in i.CONDITIONAL_GROUP_RULE&&(N=!0))}else"#"===w&&"{"===o()?(T.preserveSingleSpace(),A.push(l("}"))):"{"===w?"}"===o(!0)?(c(),r(),T.singleSpace(),A.push("{"),T["}"](!1),p<2&&v&&0===S&&T.newLine(!0)):(!function(){S++,O+=C}(),T["{"](w),N?(N=!1,R=S>j):R=S>=j):"}"===w?(!function(){S--,O=O.slice(0,-d)}(),T["}"](!0),R=!1,P=!1,j&&j--,p<2&&v&&0===S&&T.newLine(!0)):":"===w?(c(),!R&&!N||f("&")||function(){for(var t=0,n=k+1;n<e.length;n++){var r=e.charAt(n);if("{"===r)return!0;if("("===r)t+=1;else if(")"===r){if(0===t)return!1;t-=1}else if(";"===r||"}"===r)return!1}return!1}()||f("(")?(f(" ")&&" "!==A[A.length-1]&&A.push(" "),":"===o()?(r(),A.push("::")):A.push(":")):(A.push(":"),P||(P=!0,T.singleSpace()))):'"'===w||"'"===w?(T.preserveSingleSpace(),A.push(l(w))):";"===w?(P=!1,A.push(w),c(!0)||T.newLine()):"("===w?f("url")?(A.push(w),c(),r()&&(")"!==w&&'"'!==w&&"'"!==w?A.push(l(")")):k--)):(E++,T.preserveSingleSpace(),A.push(w),c()):")"===w?(A.push(w),E--):","===w?(A.push(w),!c(!0)&&b&&!P&&E<1?T.newLine():T.singleSpace()):(">"===w||"+"===w||"~"===w)&&!P&&E<1?y?(T.singleSpace(),A.push(w),T.singleSpace()):(A.push(w),c(),w&&x.test(w)&&(w="")):"]"===w?A.push(w):"["===w?(T.preserveSingleSpace(),A.push(w)):"="===w?(c(),A.push("="),x.test(w)&&(w="")):(T.preserveSingleSpace(),A.push(w))}var H="";return O&&(H+=O),H+=A.join("").replace(/[\r\n\t ]+$/,""),m&&(H+="\n"),"\n"!==_&&(H=H.replace(/[\n]/g,_)),H}var a=/\r\n|[\n\r\u2028\u2029]/,s=new RegExp(a.source,"g");i.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},i.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},r=[],void 0!==(o=function(){return{css_beautify:i}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){n(454),e.exports=n(10).Object.keys},function(e,t,n){var r=n(53),o=n(50);n(203)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=i(t),a(e,n,function(e,n){return t(e,n[0])})}var o=n(59),i=n(26),a=n(259),s=n(204);e.exports=r},function(e,t){!function(){e.exports=this.tinymce}()},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(P[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+s(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o<i;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function u(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=M(e>>>10&1023|55296),e=56320|1023&e),t+=M(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?L(e/O):e>>1,e+=L(e/t);e>N*k>>1;r+=w)e=L(e/N);return L(r+(N+1)*e/(e+E))}function h(e){var t,n,r,o,i,s,l,c,p,h,g=[],b=e.length,m=0,v=S,y=C;for(n=e.lastIndexOf(j),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<b;){for(i=m,s=1,l=w;o>=b&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=w||c>L((_-m)/s))&&a("overflow"),m+=c*s,p=l<=y?x:l>=y+k?k:l-y,!(c<p);l+=w)h=w-p,s>L(_/h)&&a("overflow"),s*=h;t=g.length+1,y=d(m-i,t,0==i),L(m/t)>_-v&&a("overflow"),v+=L(m/t),m%=t,g.splice(m++,0,v)}return u(g)}function g(e){var t,n,r,o,i,s,l,u,f,h,g,b,m,v,y,E=[];for(e=c(e),b=e.length,t=S,n=0,i=C,s=0;s<b;++s)(g=e[s])<128&&E.push(M(g));for(r=o=E.length,o&&E.push(j);r<b;){for(l=_,s=0;s<b;++s)(g=e[s])>=t&&g<l&&(l=g);for(m=r+1,l-t>L((_-n)/m)&&a("overflow"),n+=(l-t)*m,t=l,s=0;s<b;++s)if(g=e[s],g<t&&++n>_&&a("overflow"),g==t){for(u=n,f=w;h=f<=i?x:f>=i+k?k:f-i,!(u<h);f+=w)y=u-h,v=w-h,E.push(M(p(h+y%v,0))),u=L(y/v);E.push(M(p(u,0))),i=d(n,m,r==o),n=0,++r}++n,++t}return E.join("")}function b(e){return l(e,function(e){return T.test(e)?h(e.slice(4).toLowerCase()):e})}function m(e){return l(e,function(e){return A.test(e)?"xn--"+g(e):e})}var v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof r&&r);var y,_=2147483647,w=36,x=1,k=26,E=38,O=700,C=72,S=128,j="-",T=/^xn--/,A=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=w-x,L=Math.floor,M=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:c,encode:u},decode:h,encode:g,toASCII:m,toUnicode:b},void 0!==(o=function(){return y}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(96)(e),n(105))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var f,p,d,h,g=e[u].replace(s,"%20"),b=g.indexOf(n);b>=0?(f=g.substr(0,b),p=g.substr(b+1)):(f=g,p=""),d=decodeURIComponent(f),h=decodeURIComponent(p),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var s=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[a]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){function n(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}e.exports=n},function(e,t,n){function r(e,t,n,r){return o(e,function(e,o,i){t(r,e,n(e),i)}),r}var o=n(57);e.exports=r},function(e,t,n){function r(e){return e=o(e),e&&a.test(e)?e.replace(i,"\\$&"):e}var o=n(98),i=/[\\^$.*+?()[\]{}|]/g,a=RegExp(i.source);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.colors,n=e.value,r=e.onChange;return wp.element.createElement("div",{className:"blocks-color-palette"},t.map(function(e){var t={color:e},o=i()("blocks-color-palette__item",{"is-active":n===e});return wp.element.createElement("div",{key:e,className:"blocks-color-palette__item-wrapper"},wp.element.createElement("button",{type:"button",className:o,style:t,onClick:function(){return r(n===e?void 0:e)},"aria-label":Object(l.sprintf)(Object(l.__)("Color: %s"),e),"aria-pressed":n===e}))}),wp.element.createElement(s.Dropdown,{className:"blocks-color-palette__item-wrapper blocks-color-palette__custom-color",contentClassName:"blocks-color-palette__picker ",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement("button",{type:"button","aria-expanded":t,className:"blocks-color-palette__item",onClick:n,"aria-label":Object(l.__)("Custom color picker")},wp.element.createElement("span",{className:"blocks-color-palette__custom-color-gradient"}))},renderContent:function(){return wp.element.createElement(a.ChromePicker,{color:n,onChangeComplete:function(e){return r(e.hex)},style:{width:"100%"},disableAlpha:!0})}}),wp.element.createElement("button",{className:"button-link blocks-color-palette__clear",type:"button",onClick:function(){return r(void 0)}},Object(l.__)("Clear")))}var o=n(17),i=n.n(o),a=n(673),s=(n.n(a),n(1)),l=(n.n(s),n(0)),c=(n.n(l),n(732));n.n(c);t.a=Object(s.withContext)("editor")(function(e){return{colors:e.colors}})(r)},function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n(133),i=n(372);e.exports=r},function(e,t,n){e.exports=n(234)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(703),i=r(o),a=n(704),s=r(a),l=n(705),c=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=c.default},function(e,t,n){var r=n(415),o={"&":"&","<":"<",">":">",""":'"',"'":"'"},i=r(o);e.exports=i},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){return i}t.a=r;var o=n(0),i=(n.n(o),[{slug:"common",title:Object(o.__)("Common Blocks")},{slug:"formatting",title:Object(o.__)("Formatting")},{slug:"layout",title:Object(o.__)("Layout Blocks")},{slug:"widgets",title:Object(o.__)("Widgets")},{slug:"embed",title:Object(o.__)("Embed")},{slug:"reusable-blocks",title:Object(o.__)("My Reusable Blocks")}])},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){var r=n(116),o=n(70),i=n(495),a=n(32),s=n(97),l=n(37),c=Object.prototype,u=c.hasOwnProperty,f=i(function(e,t){if(s(t)||a(t))return void o(t,l(t),e);for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}var o=n(81),i=n(107);e.exports=r},function(e,t,n){"use strict";function r(){console.warn("Attributes matchers are deprecated and they will be removed in a future version of Gutenberg. Please update your attributes definition https://wordpress.org/gutenberg/handbook/reference/attributes/")}function o(e){return e.attributes=c()(e.attributes,function(e){return f()(e.source)?s()({},e,e.source()):e}),e}function i(e){(0,e.addFilter)("registerBlockType","core-matchers",o)}n.d(t,"a",function(){return p}),n.d(t,"f",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"h",function(){return g}),n.d(t,"g",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return v}),t.c=i;var a=n(11),s=n.n(a),l=n(171),c=n.n(l),u=n(121),f=n.n(u),p=function(e,t){return function(){return r(),{source:"attribute",attribute:void 0===t?e:t,selector:void 0===t?void 0:e}}},d=function(e,t){return function(){return r(),{source:"property",property:void 0===t?e:t,selector:void 0===t?void 0:e}}},h=function(e){return function(){return r(),{source:"html",selector:e}}},g=function(e){return function(){return r(),{source:"text",selector:e}}},b=function(e,t){return function(){return r(),{source:"query",selector:e,query:t}}},m=function(e){return function(){return r(),{source:"children",selector:e}}},v=function(e){return function(){return r(),{source:"node",selector:e}}}},function(e,t,n){"use strict";function r(e,t){if(t){if("string"==typeof e){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce(function(n,o){return n[o]=r(e,t[o]),n},{})}}function o(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Object(c.a)(r,t)}}function i(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=o(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}function a(e){return o(e,"innerHTML")}function s(e){return o(e,"textContent")}function l(e,t){return function(n){var o=n.querySelectorAll(e);return[].map.call(o,function(e){return r(e,t)})}}t.c=r,t.d=o,t.a=i,t.b=a,t.f=s,t.e=l;var c=n(587)},function(e,t,n){"use strict";function r(e){return e.trim().split(T)}function o(e){return r(e).join(" ")}function i(e){return e.attributes.filter(function(e){var t=v()(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||_()(L,n)})}function a(e,t){var n=x.a.apply(void 0,b()([e.chars,t.chars].map(o)));return n||M.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),n}function s(e){return e.replace(R,"url($1)")}function l(e){var t=e.replace(/;?\s*$/,"").split(";").map(function(e){var t=e.split(":"),n=h()(t),r=n[0],o=n.slice(1),i=o.join(":");return[r.trim(),s(i.trim())]});return E()(t)}function c(e,t){if(e.length!==t.length)return M.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=[e,t].map(E.a),r=v()(n,2),o=r[0],i=r[1];for(var a in o){if(!i.hasOwnProperty(a))return M.warning("Encountered unexpected attribute `%s`.",a),!1;var s=o[a],l=i[a],c=D[a];if(c){if(!c(s,l))return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}else if(s!==l)return M.warning("Expected attribute `%s` of value `%s`, saw `%s`.",a,l,s),!1}return!0}function u(e){for(var t=void 0;t=e.shift();){if("Chars"!==t.type)return t;if(!A.test(t.chars))return t}}function f(e,t){for(var n=[e,t].map(S.tokenize),r=v()(n,2),o=r[0],i=r[1],a=void 0,s=void 0;a=u(o);){if(!(s=u(i)))return M.warning("Expected end of content, instead saw %o.",a),!1;if(a.type!==s.type)return M.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",s.type,s,a.type,a),!1;var l=B[a.type];if(l&&!l(a,s))return!1}for(;s=u(i);)return M.warning("Expected %o, instead saw end of content.",s),!1;return!0}function p(e,t,n){var r=void 0;try{r=Object(j.e)(t,n)}catch(e){return M.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),!1}var o=f(e,r);return o||M.error("Block validation failed for `%s` (%o).\n\nExpected:\n\n%s\n\nActual:\n\n%s",t.name,t,r,e),o}t.a=p;var d=n(589),h=n.n(d),g=n(39),b=n.n(g),m=n(172),v=n.n(m),y=n(156),_=n.n(y),w=n(109),x=n.n(w),k=n(590),E=n.n(k),O=n(591),C=n.n(O),S=n(593),j=(n.n(S),n(448)),T=/[\t\n\r\v\f ]+/g,A=/^[\t\n\r\v\f ]*$/,R=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,P=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","open","playsinline","readonly","required","reversed","selected","typemustmatch"],N=["autocomplete","contenteditable","crossorigin","dir","dir","draggable","enctype","formenctype","formmethod","inputmode","kind","method","preload","sandbox","scope","shape","spellcheck","step","translate","type","type","workertype","wrap"],L=[].concat(P,N),M=function(){function e(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}(),D={class:function(e,t){return!C.a.apply(void 0,b()([e,t].map(r))).length},style:function(e,t){return x.a.apply(void 0,b()([e,t].map(l)))}},B={StartTag:function(e,t){return e.tagName!==t.tagName?(M.warning("Expected tag name `%s`, instead saw `%s`.",e.tagName,t.tagName),!1):c.apply(void 0,b()([e,t].map(i)))},Chars:a,Comment:a}},function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n(594),i=n(251),a=n(69),s=n(98);e.exports=r},function(e,t,n){"use strict";function r(e){return e.toLowerCase().replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}function o(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(";").reduce(function(e,t){var n=t.split(":"),o=r(n[0]||"").trim(),i=(n[1]||"").trim();return o&&i&&(e[o]=i),e},{})}function i(e){return[].concat((0,c.default)(e)).reduce(function(e,t){var n=t.name,r=t.value,i=d[n.replace(/[-:]/,"")]||n;return"style"===i&&(r=o(r)),e[i]=r,e},{})}function a(e,t){return[].concat((0,c.default)(e)).reduce(function(e,n){n._domReactKey||(n._domReactKey="_domReact"+String(h++));var r=s(n,t);return Array.isArray(r)?e.push.apply(e,(0,c.default)(r)):e.push(r),e},[])}function s(e,t){if(!e)return null;if(3===e.nodeType)return e.nodeValue;if(1!==e.nodeType)return null;var n=e.nodeName.toLowerCase(),r={},o=[];return e.hasAttributes()&&(r=i(e.attributes)),e._domReactKey&&(r.key=e._domReactKey),e.hasChildNodes()&&(o=a(e.childNodes,t)),t.apply(void 0,[n,r].concat((0,c.default)(o)))}Object.defineProperty(t,"__esModule",{value:!0});var l=n(39),c=function(e){return e&&e.__esModule?e:{default:e}}(l);t.attributeListToReact=i,t.nodeListToReact=a,t.nodeToReact=s;var u=["accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","classID","className","colSpan","cols","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","disabled","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","nonce","open","optimum","pattern","placeholder","poster","preload","profile","radioGroup","readOnly","rel","required","reversed","role","rowSpan","rows","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","type","useMap","value","width","wmode","wrap"],f=["autoCapitalize","autoCorrect","color","itemProp","itemScope","itemType","itemRef","itemID","security","unselectable","results","autoSave"],p=["accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","visibility","widths","wordSpacing","writingMode","x","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan"],d=[].concat(u,f,p).reduce(function(e,t){var n=t.toLowerCase();return t!==n&&(e[n]=t),e},{});d.class="className";var h=0},function(e,t,n){"use strict";var r=n(343),o=window.Node,i=o.ELEMENT_NODE,a=o.TEXT_NODE;t.a=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),o=t.body,s=n.body;for(o.innerHTML=e;o.firstChild;){var l=o.firstChild;l.nodeType===a?l.nodeValue.trim()?(s.lastChild&&"P"===s.lastChild.nodeName||s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):o.removeChild(l):l.nodeType===i?"BR"===l.nodeName?(l.nextSibling&&"BR"===l.nextSibling.nodeName&&(s.appendChild(document.createElement("P")),o.removeChild(l.nextSibling)),s.lastChild&&"P"===s.lastChild.nodeName&&s.lastChild.hasChildNodes()?s.lastChild.appendChild(l):o.removeChild(l)):"P"===l.nodeName?Object(r.f)(l)?o.removeChild(l):s.appendChild(l):Object(r.g)(l)?(s.appendChild(document.createElement("P")),s.lastChild.appendChild(l)):s.appendChild(l):o.removeChild(l)}return s.innerHTML}},function(e,t,n){"use strict";function r(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}var o=window.Node.ELEMENT_NODE;t.a=function(e,t){return function(n){if(n.nodeType===o&&e(n)){var i=t&&t(n);i&&n.appendChild(i),r(n)}}}},function(e,t,n){function r(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}var o=n(80),i=n(85);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"a",function(){return m});var r=n(499),o=n.n(r),i=n(455),a=n.n(i),s=n(37),l=n.n(s),c=n(644),u=n.n(c),f=n(109),p=n.n(f),d=n(379),h=n.n(d),g=function(e){return o()(e,"aria-")},b=function(e){return a()(e,function(e,t){return g(t)&&!u()(e)})},m=function(e,t){var n=l()(b(e)),r=l()(b(t));return{removedKeys:h()(n,r),updatedKeys:r.filter(function(n){return!p()(e[n],t[n])})}}},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(17),h=n.n(d),g=n(648),b=(n.n(g),n(0)),m=(n.n(b),n(2)),v=(n.n(m),n(1)),y=(n.n(v),n(417)),_=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.toggle=e.toggle.bind(e),e.submitLink=e.submitLink.bind(e),e.state={expanded:!1},e}return p()(t,e),l()(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded;return wp.element.createElement("div",{className:"blocks-url-input__button"},wp.element.createElement(v.IconButton,{icon:"admin-links",label:Object(b.__)("Edit Link"),onClick:this.toggle,className:h()("components-toolbar__control",{"is-active":t})}),r&&wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",onSubmit:this.submitLink},wp.element.createElement(v.IconButton,{className:"blocks-url-input__back",icon:"arrow-left-alt",label:Object(b.__)("Close"),onClick:this.toggle}),wp.element.createElement(y.a,{value:t||"",onChange:n,"data-test":"UrlInput"}),wp.element.createElement(v.IconButton,{icon:"editor-break",label:Object(b.__)("Submit"),type:"submit"})))}}]),t}(m.Component);t.a=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(684),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(l),u=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=e.borderRadius,l=e.boxShadow,u=(0,s.default)({default:{grid:{borderRadius:a,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+c.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:u.grid})};u.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(236),p=r(f),d=n(176),h=r(d),g=t.ColorWrap=function(e){var t=function(t){function n(e){o(this,n);var t=i(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=s({},h.default.toState(e.color,0)),t.debounce=(0,p.default)(function(e,t,n){e(t,n)},100),t}return a(n,t),l(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(s({},h.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),u.default.createElement(e,s({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(c.PureComponent||c.Component);return t.defaultProps={color:{h:250,s:.5,l:.2,a:1}},t};t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return o}),n.d(t,"purple",function(){return i}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return c}),n.d(t,"cyan",function(){return u}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return p}),n.d(t,"lightGreen",function(){return d}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return g}),n.d(t,"amber",function(){return b}),n.d(t,"orange",function(){return m}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return y}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return x}),n.d(t,"lightText",function(){return k}),n.d(t,"darkIcons",function(){return E}),n.d(t,"lightIcons",function(){return O}),n.d(t,"white",function(){return C}),n.d(t,"black",function(){return S});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},g={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},b={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},y={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},k={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},O={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},C="#ffffff",S="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:c,cyan:u,teal:f,green:p,lightGreen:d,lime:h,yellow:g,amber:b,orange:m,deepOrange:v,brown:y,grey:_,blueGrey:w,darkText:x,lightText:k,darkIcons:E,lightIcons:O,white:C,black:S}},function(e,t,n){"use strict";function r(e){var t=e.backgroundColor,n=e.textColor,r=e.isLargeText,o=e.fallbackBackgroundColor,l=e.fallbackTextColor;if(!t&&!o||!n&&!l)return null;var c=i()(t||o),u=i()(n||l);if(i.a.isReadable(c,u,{level:"AA",size:r?"large":"small"}))return null;var f=c.getBrightness()<u.getBrightness()?Object(a.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(a.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return wp.element.createElement("div",{className:"blocks-contrast-checker"},wp.element.createElement(s.Notice,{status:"warning",content:f,isDismissible:!1}))}var o=n(733),i=n.n(o),a=n(0),s=(n.n(a),n(1)),l=(n.n(s),n(734));n.n(l);t.a=r},function(e,t,n){function r(e,t){if((e=a(e))<1||e>s)return[];var n=l,r=c(e,l);t=i(t),e-=l;for(var u=o(r,t);++n<e;)t(n);return u}var o=n(250),i=n(372),a=n(69),s=9007199254740991,l=4294967295,c=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.icon;return"string"==typeof t?wp.element.createElement(o.Dashicon,{icon:t}):"function"==typeof t?t.prototype instanceof i.Component?Object(i.createElement)(t):t():t||null}t.a=r;var o=n(1),i=(n.n(o),n(2));n.n(i)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"source",function(){return y});var r=(n(562),n(27));n.d(t,"createBlock",function(){return r.a}),n.d(t,"switchToBlockType",function(){return r.s}),n.d(t,"createReusableBlock",function(){return r.b}),n.d(t,"parse",function(){return r.m}),n.d(t,"getBlockAttributes",function(){return r.c}),n.d(t,"rawHandler",function(){return r.n}),n.d(t,"serialize",function(){return r.p}),n.d(t,"getBlockDefaultClassname",function(){return r.e}),n.d(t,"getBlockContent",function(){return r.d}),n.d(t,"isValidBlock",function(){return r.l}),n.d(t,"getCategories",function(){return r.h}),n.d(t,"registerBlockType",function(){return r.o}),n.d(t,"unregisterBlockType",function(){return r.t}),n.d(t,"setUnknownTypeHandlerName",function(){return r.r}),n.d(t,"getUnknownTypeHandlerName",function(){return r.j}),n.d(t,"setDefaultBlockName",function(){return r.q}),n.d(t,"getDefaultBlockName",function(){return r.i}),n.d(t,"getBlockType",function(){return r.f}),n.d(t,"getBlockTypes",function(){return r.g}),n.d(t,"hasBlockSupport",function(){return r.k});var o=n(412);n.d(t,"addAction",function(){return o.a}),n.d(t,"addFilter",function(){return o.b}),n.d(t,"removeAction",function(){return o.k}),n.d(t,"removeFilter",function(){return o.n}),n.d(t,"removeAllActions",function(){return o.l}),n.d(t,"removeAllFilters",function(){return o.m}),n.d(t,"doAction",function(){return o.f}),n.d(t,"applyFilters",function(){return o.c}),n.d(t,"doingAction",function(){return o.g}),n.d(t,"doingFilter",function(){return o.h}),n.d(t,"didAction",function(){return o.d}),n.d(t,"didFilter",function(){return o.e}),n.d(t,"hasAction",function(){return o.i}),n.d(t,"hasFilter",function(){return o.j});var i=n(422);n.d(t,"AlignmentToolbar",function(){return i.a});var a=n(101);n.d(t,"BlockAlignmentToolbar",function(){return a.a});var s=n(64);n.d(t,"BlockControls",function(){return s.a});var l=n(43);n.d(t,"BlockDescription",function(){return l.a});var c=n(777);n.d(t,"BlockEdit",function(){return c.a});var u=n(511);n.d(t,"BlockIcon",function(){return u.a});var f=n(464);n.d(t,"ColorPalette",function(){return f.a});var p=n(83);n.d(t,"Editable",function(){return p.a});var d=n(778);n.d(t,"EditableProvider",function(){return d.a});var h=n(38);n.d(t,"InspectorControls",function(){return h.a});var g=n(267);n.d(t,"MediaUploadButton",function(){return g.a});var b=n(417);n.d(t,"UrlInput",function(){return b.a});var m=n(505);n.d(t,"UrlInputButton",function(){return m.a});var v=n(496),y={attr:v.a,prop:v.f,text:v.h,html:v.d,query:v.g,node:v.e,children:v.b}},function(e,t,n){"use strict";n(563),n(613),n(650),n(655),n(657),n(660),n(663),n(666),n(668),n(670),n(735),n(738),n(742),n(744),n(746),n(748),n(751),n(755),n(759),n(762),n(765),n(767),n(769),n(771),n(772)},function(e,t,n){"use strict";var r=n(214),o=n.n(r),i=n(0),a=(n.n(i),n(1)),s=(n.n(a),n(564)),l=(n.n(s),n(27)),c=n(38),u=n(43);Object(l.o)("core/shortcode",{title:Object(i.__)("Shortcode"),icon:"marker",category:"widgets",attributes:{text:{type:"string",source:"text"}},transforms:{from:[{type:"shortcode",tag:"[a-z0-9_-]+",attributes:{text:{type:"string",shortcode:function(e,t){return t.content}}}}]},supportHTML:!1,supports:{customClassName:!1,className:!1},edit:Object(a.withInstanceId)(function(e){var t=e.attributes,n=e.setAttributes,r=e.instanceId,s=e.focus,l="blocks-shortcode-input-"+r;return wp.element.createElement("div",{className:"wp-block-shortcode"},wp.element.createElement("label",{htmlFor:l},wp.element.createElement(a.Dashicon,{icon:"editor-code"}),Object(i.__)("Shortcode")),wp.element.createElement(o.a,{id:l,autoComplete:"off",value:t.text,placeholder:Object(i.__)("Write shortcode here…"),onChange:function(e){return n({text:e.target.value})}}),s&&wp.element.createElement(c.a,null,wp.element.createElement(u.a,null,wp.element.createElement("p",null,Object(i.__)("A shortcode is a WordPress-specific code snippet that is written between square brackets as [shortcode]. "))),wp.element.createElement("p",null,Object(i.__)("No advanced options."))))}),save:function(e){return e.attributes.text}})},function(e,t){},function(e,t,n){"use strict";function r(){var e={},t={};return{addAction:Object(o.a)(e),addFilter:Object(o.a)(t),removeAction:Object(i.a)(e),removeFilter:Object(i.a)(t),hasAction:Object(a.a)(e),hasFilter:Object(a.a)(t),removeAllActions:Object(i.a)(e,!0),removeAllFilters:Object(i.a)(t,!0),doAction:Object(s.a)(e),applyFilters:Object(s.a)(t,!0),currentAction:Object(l.a)(e),currentFilter:Object(l.a)(t),doingAction:Object(c.a)(e),doingFilter:Object(c.a)(t),didAction:Object(u.a)(e),didFilter:Object(u.a)(t),actions:e,filters:t}}var o=n(566),i=n(567),a=n(568),s=n(569),l=n(570),c=n(571),u=n(572);t.a=r},function(e,t,n){"use strict";function r(e){return function(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(Object(i.a)(t)&&Object(o.a)(n)){if("function"!=typeof r)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");var s={callback:r,priority:a,namespace:n};if(e.hasOwnProperty(t)){for(var l=e[t].handlers,c=0;c<l.length&&!(l[c].priority>a);)c++;l.splice(c,0,s),(e.__current||[]).forEach(function(e){e.name===t&&e.currentIndex>=c&&e.currentIndex++})}else e[t]={handlers:[s],runs:0}}}}var o=n(493),i=n(413);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){if(Object(i.a)(n)&&(t||Object(o.a)(r))){if(!e.hasOwnProperty(n))return 0;var a=0;if(t)a=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var s=e[n].handlers,l=s.length-1;l>=0;l--)!function(t){s[t].namespace===r&&(s.splice(t,1),a++,(e.__current||[]).forEach(function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--}))}(l);return a}}}var o=n(493),i=n(413);t.a=r},function(e,t,n){"use strict";function r(e){return function(t){return e.hasOwnProperty(t)?e[t].handlers.length:0}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){if(Object(o.a)(n)){e.hasOwnProperty(n)||(e[n]={runs:0,handlers:[]});for(var r=e[n].handlers,i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];if(!r.length)return t?a[0]:void 0;var l={name:n,currentIndex:0};e.__current=e.__current||[],e.__current.push(l),e[n].runs++;for(var c=a[0];l.currentIndex<r.length;){c=r[l.currentIndex].callback.apply(null,a),t&&(a[0]=c),l.currentIndex++}return e.__current.pop(),t?c:void 0}}}var o=n(413);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}}t.a=r},function(e,t,n){"use strict";function r(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e){return function(t){if(Object(o.a)(t))return e.hasOwnProperty(t)&&e[t].runs?e[t].runs:0}}var o=n(413);t.a=r},function(e,t,n){"use strict";function r(e){return Object(u.k)(e,"anchor")&&(e.attributes=l()(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e}function o(e,t){return Object(u.k)(t.name,"anchor")&&t.focus&&(e=[e,wp.element.createElement(f.a,{key:"inspector-anchor"},wp.element.createElement(f.a.TextControl,{label:Object(c.__)("HTML Anchor"),help:Object(c.__)("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(p,"-"),t.setAttributes({anchor:e})}}))]),e}function i(e,t,n){return Object(u.k)(t,"anchor")&&(e.id=n.anchor),e}function a(e){var t=e.addFilter;t("registerBlockType","core-anchor-attribute",r),t("BlockEdit","core-anchor-inspector-control",o),t("getSaveContent.extraProps","core-anchor-save-props",i)}t.a=a;var s=n(494),l=n.n(s),c=n(0),u=(n.n(c),n(27)),f=n(38),p=/[\s#]/g},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.heading,r=e.checked,o=e.help,a=e.instanceId,l=e.onChange,u=s()(e,["label","heading","checked","help","instanceId","onChange"]),f="inspector-checkbox-control-"+a,p=function(e){return l(e.target.value)};return wp.element.createElement(c.a,{label:n,id:f,help:o},wp.element.createElement("input",i()({id:f,className:"blocks-checkbox-control__input",type:"checkbox",value:"1",onChange:p,checked:r,"aria-describedby":o?f+"__help":void 0},u)),wp.element.createElement("label",{className:"blocks-checkbox-control__label",htmlFor:f},t))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(576);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.selected,r=e.help,o=e.instanceId,a=e.onChange,l=e.options,c=void 0===l?[]:l,u="inspector-radio-control-"+o,f=function(e){return a(e.target.value)};return!i()(c)&&wp.element.createElement(s.a,{label:t,id:u,help:r,className:"blocks-radio-control"},c.map(function(e,t){return wp.element.createElement("div",{key:u+"-"+t,className:"blocks-radio-control__option"},wp.element.createElement("input",{id:u+"-"+t,className:"blocks-radio-control__input",type:"radio",name:u,value:e.value,onChange:f,selected:e.value===n,"aria-describedby":r?u+"__help":void 0}),wp.element.createElement("label",{key:e.value,htmlFor:u+"-"+t},e.label))}))}var o=n(256),i=n.n(o),a=n(1),s=(n.n(a),n(199)),l=n(578);n.n(l);t.a=Object(a.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,a=e.onChange,l=e.rows,u=void 0===l?4:l,f=s()(e,["label","value","help","instanceId","onChange","rows"]),p="inspector-textarea-control-"+o,d=function(e){return a(e.target.value)};return wp.element.createElement(c.a,{label:t,id:p,help:r},wp.element.createElement("textarea",i()({className:"blocks-textarea-control__input",id:p,rows:u,onChange:d,"aria-describedby":r?p+"__help":void 0,value:n},f)))}var o=n(11),i=n.n(o),a=n(35),s=n.n(a),l=n(1),c=(n.n(l),n(199)),u=n(583);n.n(u);t.a=Object(l.withInstanceId)(r)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Object(p.k)(e,"customClassName",!0)&&(e.attributes=l()(e.attributes,{className:{type:"string"}})),e}function o(e,t){return Object(p.k)(t.name,"customClassName",!0)&&t.focus&&(e=[e,wp.element.createElement(d.a,{key:"inspector-custom-class-name"},wp.element.createElement(d.a.TextControl,{label:Object(f.__)("Additional CSS Class"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:e})}}))]),e}function i(e,t,n){return Object(p.k)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e}function a(e){var t=e.addFilter;t("registerBlockType","core-custom-class-name-attribute",r),t("BlockEdit","core-custom-class-name-inspector-control",o),t("getSaveContent.extraProps","core-custom-class-name-save-props",i)}t.a=a;var s=n(494),l=n.n(s),c=n(17),u=n.n(c),f=n(0),p=(n.n(f),n(27)),d=n(38)},function(e,t,n){"use strict";function r(e,t){if(Object(s.k)(t,"className",!0)){var n=a()(Object(s.e)(t.name),e.className);e.className=n}return e}function o(e){(0,e.addFilter)("getSaveContent.extraProps","core-generated-class-name-save-props",r)}t.a=o;var i=n(17),a=n.n(i),s=n(27)},function(e,t,n){"use strict";function r(e,t){for(var n=t.split("."),r=void 0;r=n.shift();){if(!(r in e))return;e=e[r]}return e}t.a=r},function(e,t,n){"use strict";function r(e,t,n,o){this.message=e,this.expected=t,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}function o(e,t){function n(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function i(e){return{type:"other",description:e}}function a(t){var n,r=ve[t];if(r)return r;for(n=t-1;!ve[n];)n--;for(r=ve[n],r={line:r.line,column:r.column};n<t;)10===e.charCodeAt(n)?(r.line++,r.column=1):r.column++,n++;return ve[t]=r,r}function s(e,t){var n=a(e),r=a(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function l(e){be<ye||(be>ye&&(ye=be,_e=[]),_e.push(e))}function c(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function u(){var t,n,r,o,i,a,s,c,u,p;for(t=be,n=be,r=[],o=be,i=be,we++,a=f(),we--,a===j?i=void 0:(be=i,i=j),i!==j?(e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R)),a!==j?(i=[i,a],o=i):(be=o,o=j)):(be=o,o=j);o!==j;)r.push(o),o=be,i=be,we++,a=f(),we--,a===j?i=void 0:(be=i,i=j),i!==j?(e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R)),a!==j?(i=[i,a],o=i):(be=o,o=j)):(be=o,o=j);if((n=r!==j?e.substring(n,be):r)!==j){if(r=[],o=be,(i=f())!==j){for(a=be,s=[],c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);c!==j;)s.push(c),c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);a=s!==j?e.substring(a,be):s,a!==j?(me=o,i=P(n,i,a),o=i):(be=o,o=j)}else be=o,o=j;for(;o!==j;)if(r.push(o),o=be,(i=f())!==j){for(a=be,s=[],c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);c!==j;)s.push(c),c=be,u=be,we++,p=f(),we--,p===j?u=void 0:(be=u,u=j),u!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(u=[u,p],c=u):(be=c,c=j)):(be=c,c=j);a=s!==j?e.substring(a,be):s,a!==j?(me=o,i=P(n,i,a),o=i):(be=o,o=j)}else be=o,o=j;if(r!==j){for(o=be,i=[],e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R));a!==j;)i.push(a),e.length>be?(a=e.charAt(be),be++):(a=j,0===we&&l(R));o=i!==j?e.substring(o,be):i,o!==j?(me=t,n=N(n,r,o),t=n):(be=t,t=j)}else be=t,t=j}else be=t,t=j;return t}function f(){var e;return e=p(),e===j&&(e=d())===j&&(e=h()),e}function p(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){for(r=[],o=x();o!==j;)r.push(o),o=x();if(r!==j)if(e.substr(be,4)===D?(o=D,be+=4):(o=j,0===we&&l(B)),o!==j){if(i=be,a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){for(s=be,c=[],u=be,f=be,we++,p=be,d=[],h=x();h!==j;)d.push(h),h=x();if(d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(be=p,p=j)):(be=p,p=j),we--,p===j?f=void 0:(be=f,f=j),f!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(f=[f,p],u=f):(be=u,u=j)):(be=u,u=j),u!==j)for(;u!==j;){for(c.push(u),u=be,f=be,we++,p=be,d=[],h=x();h!==j;)d.push(h),h=x();d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(d=[d,h],p=d):(be=p,p=j)):(be=p,p=j),we--,p===j?f=void 0:(be=f,f=j),f!==j?(e.length>be?(p=e.charAt(be),be++):(p=j,0===we&&l(R)),p!==j?(f=[f,p],u=f):(be=u,u=j)):(be=u,u=j)}else c=j;s=c!==j?e.substring(s,be):c,s!==j?(me=i,a=z(s),i=a):(be=i,i=j)}else be=i,i=j;if(i===j&&(i=null),i!==j){for(a=[],s=x();s!==j;)a.push(s),s=x();if(a!==j)if(e.substr(be,3)===I?(s=I,be+=3):(s=j,0===we&&l(F)),s!==j){for(c=be,u=[],f=x();f!==j;)u.push(f),f=x();u!==j?(e.substr(be,15)===H?(f=H,be+=15):(f=j,0===we&&l(q)),f!==j?(u=[u,f],c=u):(be=c,c=j)):(be=c,c=j),c===j&&(c=null),c!==j?(me=t,n=U(i,c),t=n):(be=t,t=j)}else be=t,t=j;else be=t,t=j}else be=t,t=j}else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function d(){var t,n,r,o,i,a,s,c,u,f;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,3)===K?(o=K,be+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=be,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(be=s,s=j)}else be=s,s=j;s===j&&(s=null),s!==j?(e.substr(be,4)===G?(c=G,be+=4):(c=j,0===we&&l($)),c!==j?(me=t,n=X(i,s),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function h(){var t,n,r,o,i,a,s;if(t=be,(n=g())!==j){for(r=[],o=f(),o===j&&(o=be,i=be,a=be,we++,s=b(),we--,s===j?a=void 0:(be=a,a=j),a!==j?(e.length>be?(s=e.charAt(be),be++):(s=j,0===we&&l(R)),s!==j?(a=[a,s],i=a):(be=i,i=j)):(be=i,i=j),o=i!==j?e.substring(o,be):i);o!==j;)r.push(o),(o=f())===j&&(o=be,i=be,a=be,we++,s=b(),we--,s===j?a=void 0:(be=a,a=j),a!==j?(e.length>be?(s=e.charAt(be),be++):(s=j,0===we&&l(R)),s!==j?(a=[a,s],i=a):(be=i,i=j)):(be=i,i=j),o=i!==j?e.substring(o,be):i);r!==j?(o=b(),o!==j?(me=t,n=Z(n,r,o),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j;return t}function g(){var t,n,r,o,i,a,s,c,u,f;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,3)===K?(o=K,be+=3):(o=j,0===we&&l(V)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;if(a!==j){if(s=be,(c=w())!==j){if(u=[],(f=x())!==j)for(;f!==j;)u.push(f),f=x();else u=j;u!==j?(me=s,c=W(i,c),s=c):(be=s,s=j)}else be=s,s=j;s===j&&(s=null),s!==j?(e.substr(be,3)===I?(c=I,be+=3):(c=j,0===we&&l(F)),c!==j?(me=t,n=Y(i,s),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function b(){var t,n,r,o,i,a,s;if(t=be,e.substr(be,4)===L?(n=L,be+=4):(n=j,0===we&&l(M)),n!==j){if(r=[],(o=x())!==j)for(;o!==j;)r.push(o),o=x();else r=j;if(r!==j)if(e.substr(be,4)===Q?(o=Q,be+=4):(o=j,0===we&&l(J)),o!==j)if((i=m())!==j){if(a=[],(s=x())!==j)for(;s!==j;)a.push(s),s=x();else a=j;a!==j?(e.substr(be,3)===I?(s=I,be+=3):(s=j,0===we&&l(F)),s!==j?(me=t,n=ee(i),t=n):(be=t,t=j)):(be=t,t=j)}else be=t,t=j;else be=t,t=j;else be=t,t=j}else be=t,t=j;return t}function m(){var e;return e=v(),e===j&&(e=y()),e}function v(){var t,n,r,o,i;return t=be,n=be,r=_(),r!==j?(47===e.charCodeAt(be)?(o=te,be++):(o=j,0===we&&l(ne)),o!==j?(i=_(),i!==j?(r=[r,o,i],n=r):(be=n,n=j)):(be=n,n=j)):(be=n,n=j),t=n!==j?e.substring(t,be):n}function y(){var t,n,r;return t=be,n=be,r=_(),n=r!==j?e.substring(n,be):r,n!==j&&(me=t,n=re(n)),t=n}function _(){var t,n,r,o,i;if(t=be,n=be,oe.test(e.charAt(be))?(r=e.charAt(be),be++):(r=j,0===we&&l(ie)),r!==j){for(o=[],ae.test(e.charAt(be))?(i=e.charAt(be),be++):(i=j,0===we&&l(se));i!==j;)o.push(i),ae.test(e.charAt(be))?(i=e.charAt(be),be++):(i=j,0===we&&l(se));o!==j?(r=[r,o],n=r):(be=n,n=j)}else be=n,n=j;return t=n!==j?e.substring(t,be):n}function w(){var t,n,r,o,i,a,s,c,u,f,p,d,h;if(t=be,n=be,r=be,123===e.charCodeAt(be)?(o=le,be++):(o=j,0===we&&l(ce)),o!==j){if(i=[],a=be,s=be,we++,c=be,125===e.charCodeAt(be)?(u=ue,be++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(be)?(d=te,be++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)}else be=c,c=j;for(we--,c===j?s=void 0:(be=s,s=j),s!==j?(e.length>be?(c=e.charAt(be),be++):(c=j,0===we&&l(R)),c!==j?(s=[s,c],a=s):(be=a,a=j)):(be=a,a=j);a!==j;){if(i.push(a),a=be,s=be,we++,c=be,125===e.charCodeAt(be)?(u=ue,be++):(u=j,0===we&&l(fe)),u!==j){if(f=[],(p=x())!==j)for(;p!==j;)f.push(p),p=x();else f=j;f!==j?(p=pe,p!==j?(47===e.charCodeAt(be)?(d=te,be++):(d=j,0===we&&l(ne)),d===j&&(d=null),d!==j?(e.substr(be,3)===I?(h=I,be+=3):(h=j,0===we&&l(F)),h!==j?(u=[u,f,p,d,h],c=u):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)):(be=c,c=j)}else be=c,c=j;we--,c===j?s=void 0:(be=s,s=j),s!==j?(e.length>be?(c=e.charAt(be),be++):(c=j,0===we&&l(R)),c!==j?(s=[s,c],a=s):(be=a,a=j)):(be=a,a=j)}i!==j?(125===e.charCodeAt(be)?(a=ue,be++):(a=j,0===we&&l(fe)),a!==j?(o=[o,i,a],r=o):(be=r,r=j)):(be=r,r=j)}else be=r,r=j;return n=r!==j?e.substring(n,be):r,n!==j&&(me=t,n=de(n)),t=n}function x(){var t;return he.test(e.charAt(be))?(t=e.charAt(be),be++):(t=j,0===we&&l(ge)),t}function k(e){return e.length&&{attrs:{},innerHTML:e}}function E(e,t,n){var r,o,i,a,s,l=[];for(e.length&&l.push(k(e)),r=0,o=t.length;r<o;r++)a=t[r],s=a[0],i=a[1],l.push(s),i.length&&l.push(k(i));return n.length&&l.push(k(n)),l}function O(e){try{return JSON.parse(e)}catch(e){return null}}function C(e,t){var n,r,o,i=[],a=[];for(n=0,r=t.length;n<r;n++)o=t[n],e(o)?i.push(o):a.push(o);return[i,a]}t=void 0!==t?t:{};var S,j={},T={Block_List:u},A=u,R=function(){return{type:"any"}}(),P=function(e,t,n){return[t,n]},N=function(e,t,n){return E(e,t,n)},L="\x3c!--",M=n("\x3c!--",!1),D="more",B=n("more",!1),I="--\x3e",F=n("--\x3e",!1),z=function(e){return e},H="\x3c!--noteaser--\x3e",q=n("\x3c!--noteaser--\x3e",!1),U=function(e,t){return{blockName:"core/more",attrs:{customText:e||void 0,noTeaser:!!t},innerHTML:""}},K="wp:",V=n("wp:",!1),W=function(e,t){return t},G="/--\x3e",$=n("/--\x3e",!1),X=function(e,t){return{blockName:e,attrs:t,innerBlocks:[],innerHTML:""}},Z=function(e,t,n){var r=C(function(e){return"string"==typeof e},t),o=r[0],i=r[1];return{blockName:e.blockName,attrs:e.attrs,innerBlocks:i,innerHTML:o.join("")}},Y=function(e,t){return{blockName:e,attrs:t}},Q="/wp:",J=n("/wp:",!1),ee=function(e){return{blockName:e}},te="/",ne=n("/",!1),re=function(e){return"core/"+e},oe=/^[a-z]/,ie=o([["a","z"]],!1,!1),ae=/^[a-z0-9_\-]/,se=o([["a","z"],["0","9"],"_","-"],!1,!1),le="{",ce=n("{",!1),ue="}",fe=n("}",!1),pe="",de=function(e){return O(e)},he=/^[ \t\r\n]/,ge=o([" ","\t","\r","\n"],!1,!1),be=(o(["\r","\n"],!1,!1),o([" ","\t"],!1,!1),0),me=0,ve=[{line:1,column:1}],ye=0,_e=[],we=0;if("startRule"in t){if(!(t.startRule in T))throw new Error("Can't start parsing from rule \""+t.startRule+'".');A=T[t.startRule]}if((S=A())!==j&&be===e.length)return S;throw S!==j&&be<e.length&&l(function(){return{type:"end"}}()),c(_e,ye<e.length?e.charAt(ye):null,ye<e.length?s(ye,ye+1):s(ye,ye))}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(r,Error),r.buildMessage=function(e,t){function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+n(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+n(e)})}function i(e){return a[e.type](e)}var a={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,n,r=new Array(e.length);for(t=0;t<e.length;t++)r[t]=i(e[t]);if(r.sort(),r.length>0){for(t=1,n=1;t<r.length;t++)r[t-1]!==r[t]&&(r[n]=r[t],n++);r.length=n}switch(r.length){case 1:return r[0];case 2:return r[0]+" or "+r[1];default:return r.slice(0,-1).join(", ")+", or "+r[r.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:r,parse:o}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(86),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t){function n(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}e.exports=n},function(e,t,n){var r=n(166),o=n(81),i=n(592),a=n(173),s=o(function(e){return i(r(e,a))});e.exports=s},function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?a(e[0]):[];for(var s=-1,l=Array(r);++s<r;)for(var c=e[s],u=-1;++u<r;)u!=s&&(l[s]=o(l[s]||c,e[u],t,n));return a(i(l,1),t,n)}var o=n(201),i=n(110),a=n(341);e.exports=r},function(e,t,n){!function(e,n){n(t)}(0,function(e){"use strict";function t(e){return u.test(e)}function n(e){return f.test(e)}function r(e){return e.replace(p,"\n")}function o(e,t){return new h(new c(i),t).tokenize(e)}var i={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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:""},a=/^#[xX]([A-Fa-f0-9]+)$/,s=/^#([0-9]+)$/,l=/^([A-Za-z0-9]+)$/,c=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(a);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(s))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(l),t?this.named[t[1]]:void 0)}},e}(),u=/[\t\n\f ]/,f=/[A-Za-z]/,p=/\r\n?/g,d=function(){function e(e,r){this.delegate=e,this.entityParser=r,this.state=null,this.input=null,this.index=-1,this.tagLine=-1,this.tagColumn=-1,this.line=-1,this.column=-1,this.states={beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":n(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();t(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.state="attributeName",this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();t(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();if(t(e))return void this.consume();"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();t(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();t(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();t(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();n(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}},this.reset()}return e.prototype.reset=function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=r(e);this.index<this.input.length;)this.states[this.state].call(this)},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},e}(),h=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.currentAttribute=null,this.tokenizer=new d(this,e)}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.addLocInfo=function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},e.prototype.appendToData=function(e){this.token.chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},e.prototype.appendToCommentData=function(e){this.token.chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.beginStartTag=function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},e.prototype.beginEndTag=function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.token.selfClosing=!0},e.prototype.appendToTagName=function(e){this.token.tagName+=e},e.prototype.beginAttribute=function(){this.currentAttribute=["","",null],this.token.attributes.push(this.currentAttribute)},e.prototype.appendToAttributeName=function(e){this.currentAttribute[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute[1]=this.currentAttribute[1]||"",this.currentAttribute[1]+=e},e.prototype.finishAttributeValue=function(){},e.prototype.reportSyntaxError=function(e){this.token.syntaxError=e},e}();e.HTML5NamedCharRefs=i,e.EntityParser=c,e.EventedTokenizer=d,e.Tokenizer=h,e.tokenize=o,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){function r(e,t,n){var r=function(t,n){return e.js_beautify(t,n)};return r.js=e.js_beautify,r.css=t.css_beautify,r.html=n.html_beautify,r.js_beautify=e.js_beautify,r.css_beautify=t.css_beautify,r.html_beautify=n.html_beautify,r}var o,i;o=[n(451),n(452),n(596)],void 0!==(i=function(e,t,n){return r(e,t,n)}.apply(t,o))&&(e.exports=i)},function(e,t,n){var r,o;!function(){function i(e){return e.replace(/^\s+/g,"")}function a(e){return e.replace(/\s+$/g,"")}function s(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function l(e,t,n,r){function o(){function e(e){var t="";return{add:function(n){var r=t+n.toLowerCase();t=r.length<=e.length?r:r.substr(r.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=f,this.indent_body_inner_html=p,this.indent_head_inner_html=d,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:T,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)_&&"\n"===e&&this.newlines<=w&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),x){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var r=this.input.substr(this.pos,3);if("{{#"===r||"{{/"===r)break;if("{{!"===r)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</"+e+"\\s*>","igm");n.lastIndex=this.pos;var r=n.exec(this.input),o=r?r.index:this.input.length;return this.pos<o&&(t=this.input.substring(this.pos,o),this.pos=o),t},this.record_tag=function(e){this.tags[e+"count"]?(this.tags[e+"count"]++,this.tags[e+this.tags[e+"count"]]=this.indent_level):(this.tags[e+"count"]=1,this.tags[e+this.tags[e+"count"]]=this.indent_level),this.tags[e+this.tags[e+"count"]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags[e+"count"]},this.retrieve_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags[e+"count"]+"parent"],delete this.tags[e+this.tags[e+"count"]],1===this.tags[e+"count"]?delete this.tags[e+"count"]:this.tags[e+"count"]--}},this.indent_to_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]])}},this.get_tag=function(e){var t,n,r,o="",i=[],a="",s=!1,l=!0,c=!1,u=this.pos,f=this.line_char_count,p=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=u,this.line_char_count=f),i.length?i.join(""):["","TK_EOF"];if(o=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(o,this.Utils.whitespace))s=!0;else{if("'"!==o&&'"'!==o||(o+=this.get_unformatted(o),s=!0),"="===o&&(s=!1),r=this.input.substr(this.pos-1),!C||!c||p||">"!==o&&"/"!==o||r.match(/^\/?\s*>/)&&(s=!1,p=!0,this.print_newline(!1,i),this.print_indentation(i)),i.length&&"="!==i[i.length-1]&&">"!==o&&s){var d=this.space_or_wrap(i),h=d&&"/"!==o&&!O;if(s=!1,O&&"/"!==o){var g=!1;if(C&&l){g=!(null!==r.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))}l&&!g||(this.print_newline(!1,i),this.print_indentation(i),h=!0)}if(h){c=!0;var b=E;S&&(b=i.indexOf(" ")+1);for(var m=0;m<b;m++)i.push(" ")}if(l)for(var _=0;_<i.length;_++)if(" "===i[_]){l=!1;break}}if(x&&"<"===n&&o+this.input.charAt(this.pos)==="{{"&&(o+=this.get_unformatted("}}"),i.length&&" "!==i[i.length-1]&&"<"!==i[i.length-1]&&(o=" "+o),s=!0),"<"!==o||n||(t=this.pos-1,n="<"),x&&!n&&i.length>=2&&"{"===i[i.length-1]&&"{"===i[i.length-2]&&(t="#"===o||"/"===o||"!"===o?this.pos-3:this.pos-2,n="{"),this.line_char_count++,i.push(o),i[1]&&("!"===i[1]||"?"===i[1]||"%"===i[1])){i=[this.get_comment(t)];break}if(x&&i[1]&&"{"===i[1]&&i[2]&&"!"===i[2]){i=[this.get_comment(t)];break}if(x&&"{"===n&&i.length>2&&"}"===i[i.length-2]&&"}"===i[i.length-1])break}}while(">"!==o);var w,k,j=i.join("");w=-1!==j.indexOf(" ")?j.indexOf(" "):-1!==j.indexOf("\n")?j.indexOf("\n"):"{"===j.charAt(0)?j.indexOf("}"):j.indexOf(">"),k="<"!==j.charAt(0)&&x?"#"===j.charAt(2)?3:2:1;var T=j.substring(k,w).toLowerCase();return"/"===j.charAt(j.length-2)||this.Utils.in_array(T,this.Utils.single_token)?e||(this.tag_type="SINGLE"):x&&"{"===j.charAt(0)&&"else"===T?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(T,v)||this.is_unformatted(T,y)?(a=this.get_unformatted("</"+T+">",j),i.push(a),this.pos-1,this.tag_type="SINGLE"):"script"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(T),this.tag_type="SCRIPT"):"style"===T&&(-1===j.search("type")||j.search("type")>-1&&j.search("text/css")>-1)?e||(this.record_tag(T),this.tag_type="STYLE"):"!"===T.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===T.charAt(0)?(this.retrieve_tag(T.substring(1)),this.tag_type="END"):(this.record_tag(T),"html"!==T.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(i),this.Utils.in_array(T,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=u,this.line_char_count=f),i.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var o=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=o,t.charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",r=!0):0===t.indexOf("{{!--")?(n="--}}",r=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),o=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(t,n){if(n&&-1!==n.toLowerCase().indexOf(t))return"";var r="",o="",i=!0,a=e(t);do{if(this.pos>=this.input.length)return o;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!i){this.line_char_count--;continue}if("\n"===r||"\r"===r){o+="\n",this.line_char_count=0;continue}}o+=r,a.add(r),this.line_char_count++,i=!0,x&&"{"===r&&o.length&&"{"===o.charAt(o.length-2)&&(o+=this.get_unformatted("}}"))}while(a.doesNotMatch());return o},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if("string"!=typeof(e=this.get_tag()))return e;return[e,"TK_TAG_"+this.tag_type]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),r=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(r&&!this.Utils.in_array(r[1],t))},this.printer=function(e,t,n,r,o){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=o,this.indent_level=0,this.wrap_line_length=r,this.line_char_count=0;for(var s=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(e,t){this.line_char_count=0,t&&t.length&&(e||"\n"!==t[t.length-1])&&("\n"!==t[t.length-1]&&(t[t.length-1]=a(t[t.length-1])),t.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(e){this.is_whitespace(e)&&!this.output.length||((e||""!==e)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),e=i(e)),this.print_token_raw(e))},this.print_token_raw=function(e){this.newlines>0&&(e=a(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t<this.newlines;t++)this.print_newline(t>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var l,f,p,d,h,g,b,m,v,y,_,w,x,k,E,O,C,S,j,T,A;for(t=t||{},t=s(t,"html"),void 0!==t.wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),f=void 0!==t.indent_inner_html&&t.indent_inner_html,p=void 0===t.indent_body_inner_html||t.indent_body_inner_html,d=void 0===t.indent_head_inner_html||t.indent_head_inner_html,h=void 0===t.indent_size?4:parseInt(t.indent_size,10),g=void 0===t.indent_char?" ":t.indent_char,m=void 0===t.brace_style?"collapse":t.brace_style,b=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),v=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],y=t.content_unformatted||["pre"],_=void 0===t.preserve_newlines||t.preserve_newlines,w=_?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,x=void 0!==t.indent_handlebars&&t.indent_handlebars,k=void 0===t.wrap_attributes?"auto":t.wrap_attributes,E=isNaN(parseInt(t.wrap_attributes_indent_size,10))?h:parseInt(t.wrap_attributes_indent_size,10),O="force"===k.substr(0,"force".length),C="force-expand-multiline"===k,S="force-aligned"===k,j=void 0!==t.end_with_newline&&t.end_with_newline,T="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),A=t.eol?t.eol:"auto",t.indent_with_tabs&&(g="\t",h=1),"auto"===A&&(A="\n",e&&c.test(e||"")&&(A=e.match(c)[0])),A=A.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(u,"\n"),l=new o,l.printer(e,g,h,b,m);;){var R=l.get_token();if(l.token_text=R[0],l.token_type=R[1],"TK_EOF"===l.token_type)break;switch(l.token_type){case"TK_TAG_START":l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(!l.indent_body_inner_html&&l.token_text.match(/<body(?:.*)>/)||!l.indent_head_inner_html&&l.token_text.match(/<head(?:.*)>/)||l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===l.last_token&&""===l.last_text){var P=(l.token_text.match(/\w+/)||[])[0],N=null;l.output.length&&(N=l.output[l.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===N||N[1]!==P&&!l.Utils.in_array(N[1],v))&&l.print_newline(!1,l.output)}l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var L=l.token_text.match(/^\s*<([a-z-]+)/i);L&&l.Utils.in_array(L[1],v)||l.print_newline(!1,l.output),l.print_token(l.token_text),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var M=!1,D=l.output.length-1;D>=0&&"\n"!==l.output[D];D--)if(l.output[D].match(/{{#if/)){M=!0;break}M||l.print_newline(!1,l.output),l.print_token(l.token_text),l.indent_content&&(l.indent(),l.indent_content=!1),l.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":l.print_token(l.token_text),l.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==l.token_text){l.print_newline(!1,l.output);var B,I=l.token_text,F=1;"TK_SCRIPT"===l.token_type?B="function"==typeof n&&n:"TK_STYLE"===l.token_type&&(B="function"==typeof r&&r),"keep"===t.indent_scripts?F=0:"separate"===t.indent_scripts&&(F=-l.indent_level);var z=l.get_full_indent(F);if(B){var H=function(){this.eol="\n"};H.prototype=t;var q=new H;I=B(I.replace(/^\s*/,z),q)}else{var U=I.match(/^\s*/)[0],K=U.match(/[^\n\r]*$/)[0].split(l.indent_string).length-1,V=l.get_full_indent(F-K);I=I.replace(/^\s*/,z).replace(/\r\n|\r|\n/g,"\n"+V).replace(/\s+$/,"")}I&&(l.print_token_raw(I),l.print_newline(!0,l.output))}l.current_mode="TAG";break;default:""!==l.token_text&&l.print_token(l.token_text)}l.last_token=l.token_type,l.last_text=l.token_text}var W=l.output.join("").replace(/[\r\n\t ]+$/,"");return j&&(W+="\n"),"\n"!==A&&(W=W.replace(/[\n]/g,A)),W}var c=/\r\n|[\n\r\u2028\u2029]/,u=new RegExp(c.source,"g");r=[n,n(451),n(452)],void 0!==(o=function(e){var t=n(451),r=n(452);return{html_beautify:function(e,n){return l(e,n,t.js_beautify,r.css_beautify)}}}.apply(t,r))&&(e.exports=o)}()},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var r=n(2),o=(n.n(r),n(500)),i=(n.n(o),n(497));n.d(t,"a",function(){return i.a}),n.d(t,"e",function(){return i.d}),n.d(t,"c",function(){return i.b}),n.d(t,"g",function(){return i.f}),n.d(t,"f",function(){return i.e});var a=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Object(o.nodeListToReact)(n.childNodes||[],r.createElement):[]}},s=function(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),Object(o.nodeToReact)(n,r.createElement)}}},function(e,t,n){"use strict";function r(e){var t=e.HTML,n=e.plainText,r=void 0===n?"":n,o=e.mode,a=void 0===o?"AUTO":o;if(t=t.replace(/<meta[^>]+>/,""),"INLINE"!==a&&-1!==t.indexOf("\x3c!-- wp:"))return Object(b.c)(t);if(r&&Object(T.k)(t)&&-1!==r.indexOf("\n\n")){var l=new d.a.Converter;l.setOption("noHeaderId",!0),l.setOption("tables",!0),t=l.makeHtml(r)}return"INLINE"===a||"AUTO"===a&&Object(w.a)(t)?(t=Object(T.a)(t,[x.a,v.a,y.a,Object(_.a)(function(e){return!Object(T.g)(e)})]),window.console.log("Processed inline HTML:\n\n",t),t):Object(A.a)(t).reduce(function(e,t){if("string"!=typeof t)return[].concat(s()(e),[t]);t=Object(T.a)(t,[k.a]),t=Object(T.a)(t,[E.a,O.a,x.a,v.a,y.a,Object(_.a)(T.j),C.a,S.a,j.a]),t=Object(T.a)(t,[Object(_.a)(T.i)]),t=Object(m.a)(t),window.console.log("Processed HTML piece:\n\n",t);var n=document.implementation.createHTMLDocument("");n.body.innerHTML=t;var r=i()(n.body.children).map(function(e){var t=Object(g.b)().reduce(function(t,n){if(t)return t;var r=c()(n,"transforms.from",[]),o=f()(r,function(e){return"raw"===e.type});return o&&o.isMatch(e)?o.transform?o.transform(e):Object(h.a)(n.name,Object(b.b)(n,e.outerHTML)):t},null);return t||Object(h.a)(Object(g.d)(),{content:e.outerHTML})});return[].concat(s()(e),s()(r))},[])}t.a=r;var o=n(86),i=n.n(o),a=n(39),s=n.n(a),l=n(55),c=n.n(l),u=n(54),f=n.n(u),p=n(599),d=n.n(p),h=n(410),g=n(220),b=n(447),m=n(501),v=n(600),y=n(601),_=n(502),w=n(602),x=n(603),k=n(604),E=n(605),O=n(606),C=n(607),S=n(608),j=n(609),T=n(343),A=n(610)},function(e,t,n){var r;/*! showdown v 1.7.4 - 08-09-2017 */
|
12 |
+
(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function i(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};s.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var i=n+" sub-extension "+o+": ",a=e[o];if("object"!=typeof a)return r.valid=!1,r.error=i+"must be an object, but "+typeof a+" given",r;if(!s.helper.isString(a.type))return r.valid=!1,r.error=i+'property "type" must be a string, but '+typeof a.type+" given",r;var l=a.type=a.type.toLowerCase();if("language"===l&&(l=a.type="lang"),"html"===l&&(l=a.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return r.valid=!1,r.error=i+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===l){if(s.helper.isUndefined(a.listeners))return r.valid=!1,r.error=i+'. Extensions of type "listener" must have a property called "listeners"',r}else if(s.helper.isUndefined(a.filter)&&s.helper.isUndefined(a.regex))return r.valid=!1,r.error=i+l+' extensions must define either a "regex" property or a "filter" method',r;if(a.listeners){if("object"!=typeof a.listeners)return r.valid=!1,r.error=i+'"listeners" property must be an object but '+typeof a.listeners+" given",r;for(var c in a.listeners)if(a.listeners.hasOwnProperty(c)&&"function"!=typeof a.listeners[c])return r.valid=!1,r.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof a.listeners[c]+" given",r}if(a.filter){if("function"!=typeof a.filter)return r.valid=!1,r.error=i+'"filter" must be a function, but '+typeof a.filter+" given",r}else if(a.regex){if(s.helper.isString(a.regex)&&(a.regex=new RegExp(a.regex,"g")),!(a.regex instanceof RegExp))return r.valid=!1,r.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof a.regex+" given",r;if(s.helper.isUndefined(a.replace))return r.valid=!1,r.error=i+'"regex" extensions must implement a replace string or function',r}}return r}function a(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}var s={},l={},c={},u=o(!0),f="vanilla",p={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};s.helper={},s.extensions={},s.setOption=function(e,t){"use strict";return u[e]=t,this},s.getOption=function(e){"use strict";return u[e]},s.getOptions=function(){"use strict";return u},s.resetOptions=function(){"use strict";u=o(!0)},s.setFlavor=function(e){"use strict";if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");s.resetOptions();var t=p[e];f=e;for(var n in t)t.hasOwnProperty(n)&&(u[n]=t[n])},s.getFlavor=function(){"use strict";return f},s.getFlavorOptions=function(e){"use strict";if(p.hasOwnProperty(e))return p[e]},s.getDefaultOptions=function(e){"use strict";return o(e)},s.subParser=function(e,t){"use strict";if(s.helper.isString(e)){if(void 0===t){if(l.hasOwnProperty(e))return l[e];throw Error("SubParser named "+e+" not registered!")}l[e]=t}},s.extension=function(e,t){"use strict";if(!s.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=s.helper.stdExtName(e),s.helper.isUndefined(t)){if(!c.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return c[e]}"function"==typeof t&&(t=t()),s.helper.isArray(t)||(t=[t]);var n=i(t,e);if(!n.valid)throw Error(n.error);c[e]=t},s.getAllExtensions=function(){"use strict";return c},s.removeExtension=function(e){"use strict";delete c[e]},s.resetExtensions=function(){"use strict";c={}},s.validateExtension=function(e){"use strict";var t=i(e,null);return!!t.valid||(console.warn(t.error),!1)},s.hasOwnProperty("helper")||(s.helper={}),s.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},s.helper.isFunction=function(e){"use strict";var t={};return e&&"[object Function]"===t.toString.call(e)},s.helper.isArray=function(e){"use strict";return Array.isArray(e)},s.helper.isUndefined=function(e){"use strict";return void 0===e},s.helper.forEach=function(e,t){"use strict";if(s.helper.isUndefined(e))throw new Error("obj param is required");if(s.helper.isUndefined(t))throw new Error("callback param is required");if(!s.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(s.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},s.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},s.helper.escapeCharactersCallback=a,s.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,a)};var d=function(e,t,n,r){"use strict";var o,i,a,s,l,c=r||"",u=c.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),p=new RegExp(t,c.replace(/g/g,"")),d=[];do{for(o=0;a=f.exec(e);)if(p.test(a[0]))o++||(i=f.lastIndex,s=i-a[0].length);else if(o&&!--o){l=a.index+a[0].length;var h={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:l},wholeMatch:{start:s,end:l}};if(d.push(h),!u)return d}}while(o&&(f.lastIndex=i));return d};s.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=d(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},s.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!s.helper.isFunction(t)){var i=t;t=function(){return i}}var a=d(e,n,r,o),l=e,c=a.length;if(c>0){var u=[];0!==a[0].wholeMatch.start&&u.push(e.slice(0,a[0].wholeMatch.start));for(var f=0;f<c;++f)u.push(t(e.slice(a[f].wholeMatch.start,a[f].wholeMatch.end),e.slice(a[f].match.start,a[f].match.end),e.slice(a[f].left.start,a[f].left.end),e.slice(a[f].right.start,a[f].right.end))),f<c-1&&u.push(e.slice(a[f].wholeMatch.end,a[f+1].wholeMatch.start));a[c-1].wholeMatch.end<e.length&&u.push(e.slice(a[c-1].wholeMatch.end)),l=u.join("")}return l},s.helper.regexIndexOf=function(e,t,n){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},s.helper.splitAtIndex=function(e,t){"use strict";if(!s.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},s.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),s.helper.regexes={asteriskAndDash:/([*_])/g},s.Converter=function(e){"use strict";function t(e,t){if(t=t||null,s.helper.isString(e)){if(e=s.helper.stdExtName(e),t=e,s.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void n(s.extensions[e],e);if(s.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),s.helper.isArray(e)||(e=[e]);var o=i(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":l.push(e[a]);break;case"output":d.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var u in e[a].listeners)e[a].listeners.hasOwnProperty(u)&&r(u,e[a].listeners[u])}}function n(e,t){"function"==typeof e&&(e=e(new s.Converter)),s.helper.isArray(e)||(e=[e]);var n=i(e,t);if(!n.valid)throw Error(n.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":l.push(e[r]);break;case"output":d.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function r(e,t){if(!s.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");h.hasOwnProperty(e)||(h[e]=[]),h[e].push(t)}function o(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}var a={},l=[],d=[],h={},g=f;!function(){e=e||{};for(var n in u)u.hasOwnProperty(n)&&(a[n]=u[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(a[r]=e[r]);a.extensions&&s.helper.forEach(a.extensions,t)}(),this._dispatch=function(e,t,n,r){if(h.hasOwnProperty(e))for(var o=0;o<h[e].length;++o){var i=h[e][o](e,t,this,n,r);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return r(e,t),this},this.makeHtml=function(e){if(!e)return e;var t={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:l,outputModifiers:d,converter:this,ghCodeBlocks:[]};return e=e.replace(/¨/g,"¨T"),e=e.replace(/\$/g,"¨D"),e=e.replace(/\r\n/g,"\n"),e=e.replace(/\r/g,"\n"),e=e.replace(/\u00A0/g," "),a.smartIndentationFix&&(e=o(e)),e="\n\n"+e+"\n\n",e=s.subParser("detab")(e,a,t),e=e.replace(/^[ \t]+$/gm,""),s.helper.forEach(l,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e=s.subParser("hashPreCodeTags")(e,a,t),e=s.subParser("githubCodeBlocks")(e,a,t),e=s.subParser("hashHTMLBlocks")(e,a,t),e=s.subParser("hashCodeTags")(e,a,t),e=s.subParser("stripLinkDefinitions")(e,a,t),e=s.subParser("blockGamut")(e,a,t),e=s.subParser("unhashHTMLSpans")(e,a,t),e=s.subParser("unescapeSpecialChars")(e,a,t),e=e.replace(/¨D/g,"$$"),e=e.replace(/¨T/g,"¨"),s.helper.forEach(d,function(n){e=s.subParser("runExtension")(n,e,a,t)}),e},this.setOption=function(e,t){a[e]=t},this.getOption=function(e){return a[e]},this.getOptions=function(){return a},this.addExtension=function(e,n){n=n||null,t(e,n)},this.useExtension=function(e){t(e)},this.setFlavor=function(e){if(!p.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=p[e];g=e;for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n])},this.getFlavor=function(){return g},this.removeExtension=function(e){s.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var n=e[t],r=0;r<l.length;++r)l[r]===n&&l[r].splice(r,1);for(;0<d.length;++r)d[0]===n&&d[0].splice(r,1)}},this.getAllExtensions=function(){return{language:l,output:d}}},s.subParser("anchors",function(e,t,n){"use strict";e=n.converter._dispatch("anchors.before",e,t,n);var r=function(e,r,o,i,a,l,c){if(s.helper.isUndefined(c)&&(c=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),i="#"+o,s.helper.isUndefined(n.gUrls[o]))return e;i=n.gUrls[o],s.helper.isUndefined(n.gTitles[o])||(c=n.gTitles[o])}i=i.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var u='<a href="'+i+'"';return""!==c&&null!==c&&(c=c.replace(/"/g,"""),c=c.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),u+=' title="'+c+'"'),t.openLinksInNewWindow&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r),e=e.replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,o,i){if("\\"===r)return n+o;if(!s.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var a=t.ghMentionsLink.replace(/\{u}/g,i),l="";return t.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),n+'<a href="'+a+'"'+l+">"+o+"</a>"})),e=n.converter._dispatch("anchors.after",e,t,n)});var h=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,g=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]]?)(?=\s|$)(?!["<>])/gi,b=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,v=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,i){var a=n,s="",l="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&i&&(s=i),e.openLinksInNewWindow&&(l=' target="¨E95Eblank"'),'<a href="'+n+'"'+l+">"+a+"</a>"+s}},_=function(e,t){"use strict";return function(n,r,o){var i="mailto:";return r=r||"",o=s.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(i=s.helper.encodeEmailAddress(i+o),o=s.helper.encodeEmailAddress(o)):i+=o,r+'<a href="'+i+'">'+o+"</a>"}};s.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(b,y(t)),e=e.replace(v,_(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),s.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(g,y(t)):e.replace(h,y(t)),e=e.replace(m,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),s.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=s.subParser("blockQuotes")(e,t,n),e=s.subParser("headers")(e,t,n),e=s.subParser("horizontalRule")(e,t,n),e=s.subParser("lists")(e,t,n),e=s.subParser("codeBlocks")(e,t,n),e=s.subParser("tables")(e,t,n),e=s.subParser("hashHTMLBlocks")(e,t,n),e=s.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),s.subParser("blockQuotes",function(e,t,n){"use strict";return e=n.converter._dispatch("blockQuotes.before",e,t,n),e=e.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var o=r;return o=o.replace(/^[ \t]*>[ \t]?/gm,"¨0"),o=o.replace(/¨0/g,""),o=o.replace(/^[ \t]+$/gm,""),o=s.subParser("githubCodeBlocks")(o,t,n),o=s.subParser("blockGamut")(o,t,n),o=o.replace(/(^|\n)/g,"$1 "),o=o.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),s.subParser("hashBlock")("<blockquote>\n"+o+"\n</blockquote>",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),s.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,o){var i=r,a=o,l="\n";return i=s.subParser("outdent")(i,t,n),i=s.subParser("encodeCode")(i,t,n),i=s.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),i="<pre><code>"+i+l+"</code></pre>",s.subParser("hashBlock")(i,t,n)+a}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),s.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,o,i){var a=i;return a=a.replace(/^([ \t]*)/g,""),a=a.replace(/[ \t]*$/g,""),a=s.subParser("encodeCode")(a,t,n),r+"<code>"+a+"</code>"}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),s.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}),e=e.replace(/¨A/g," "),e=e.replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),s.subParser("encodeAmpsAndAngles",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n),e=e.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&"),e=e.replace(/<(?![a-z\/?$!])/gi,"<"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),s.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,s.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),s.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,s.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),s.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,s.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),s.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,o){var i=t.omitExtraWLInCodeBlocks?"":"\n";return o=s.subParser("encodeCode")(o,t,n),o=s.subParser("detab")(o,t,n),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+o+i+"</code></pre>",o=s.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),s.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),s.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"¨C"+(n.gHtmlSpans.push(a)-1)+"C"};return e=s.helper.replaceRecursiveRegExp(e,r,"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),s.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),s.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i<r.length;++i)for(var a,l=new RegExp("^ {0,3}(<"+r[i]+"\\b[^>]*>)","im"),c="<"+r[i]+"\\b[^>]*>",u="</"+r[i]+">";-1!==(a=s.helper.regexIndexOf(e,l));){var f=s.helper.splitAtIndex(e,a),p=s.helper.replaceRecursiveRegExp(f[1],o,c,u,"im");if(p===f[1])break;e=f[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=s.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,s.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),s.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),s.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i)break;++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),s.subParser("hashPreCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);var r=function(e,r,o,i){var a=o+s.subParser("encodeCode")(r,t,n)+i;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=s.helper.replaceRecursiveRegExp(e,r,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),s.subParser("headers",function(e,t,n){"use strict";function r(e){var r,o;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return r=e,o=s.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var o=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(i,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)}),e=e.replace(a,function(e,i){var a=s.subParser("spanGamut")(i,t,n),l=t.noHeaderId?"":' id="'+r(i)+'"',c=o+1,u="<h"+c+l+">"+a+"</h"+c+">";return s.subParser("hashBlock")(u,t,n)});var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return e=e.replace(l,function(e,i,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var c=s.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+r(a)+'"',f=o-1+i.length,p="<h"+f+u+">"+c+"</h"+f+">";return s.subParser("hashBlock")(p,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),s.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=s.subParser("hashBlock")("<hr />",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),s.subParser("images",function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){return r=r.replace(/\s/g,""),o(e,t,n,r,i,a,s,l)}function o(e,t,r,o,i,a,l,c){var u=n.gUrls,f=n.gTitles,p=n.gDimensions;if(r=r.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,s.helper.isUndefined(u[r]))return e;o=u[r],s.helper.isUndefined(f[r])||(c=f[r]),s.helper.isUndefined(p[r])||(i=p[r].width,a=p[r].height)}t=t.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),o=o.replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback);var d='<img src="'+o+'" alt="'+t+'"';return c&&(c=c.replace(/"/g,""").replace(s.helper.regexes.asteriskAndDash,s.helper.escapeCharactersCallback),d+=' title="'+c+'"'),i&&a&&(i="*"===i?"auto":i,a="*"===a?"auto":a,d+=' width="'+i+'"',d+=' height="'+a+'"'),d+=" />"}e=n.converter._dispatch("images.before",e,t,n);var i=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,a=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,l=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,c=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(c,o),e=e.replace(l,r),e=e.replace(a,o),e=e.replace(i,o),e=e.replace(u,o),e=n.converter._dispatch("images.after",e,t,n)}),s.subParser("italicsAndBold",function(e,t,n){"use strict";function r(e,r,o){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),r+e+o}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")}),e=e.replace(/\b__(\S[\s\S]*)__\b/g,function(e,t){return r(t,"<strong>","</strong>")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),t.literalMidWordAsterisks?(e=e.trim().replace(/(^| )\*{3}(\S[\s\S]*?)\*{3}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong><em>","</em></strong>"+o)}),e=e.trim().replace(/(^| )\*{2}(\S[\s\S]*?)\*{2}([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<strong>","</strong>"+o)}),e=e.trim().replace(/(^| )\*(\S[\s\S]*?)\*([ ,;!?.]|$)/g,function(e,t,n,o){return r(n,t+"<em>","</em>"+o)})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),s.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(o,function(e,r,o,a,l,c,u){u=u&&""!==u.trim();var f=s.subParser("outdent")(l,t,n),p="";return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),f=f.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),r||f.search(/\n{2,}/)>-1?(f=s.subParser("githubCodeBlocks")(f,t,n),f=s.subParser("blockGamut")(f,t,n)):(f=s.subParser("lists")(f,t,n),f=f.replace(/\n$/,""),f=s.subParser("hashHTMLBlocks")(f,t,n),f=f.replace(/\n\n+/g,"\n\n"),f=i?s.subParser("paragraphs")(f,t,n):s.subParser("spanGamut")(f,t,n)),f=f.replace("¨A",""),f="<li"+p+">"+f+"</li>\n"}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,n,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,a=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?i:a,l="";return-1!==e.search(s)?function e(t){var c=t.search(s);-1!==c?(l+="\n<"+n+">\n"+r(t.slice(0,c),!!o)+"</"+n+">\n",n="ul"===n?"ol":"ul",s="ul"===n?i:a,e(t.slice(c))):l+="\n<"+n+">\n"+r(t,!!o)+"</"+n+">\n"}(e):l="\n<"+n+">\n"+r(e,!!o)+"</"+n+">\n",l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),s.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),s.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),o=[],i=r.length,a=0;a<i;a++){var l=r[a];l.search(/¨(K|G)(\d+)\1/g)>=0?o.push(l):l.search(/\S/)>=0&&(l=s.subParser("spanGamut")(l,t,n),l=l.replace(/^([ \t]*)/g,"<p>"),l+="</p>",o.push(l))}for(i=o.length,a=0;a<i;a++){for(var c="",u=o[a],f=!1;/¨(K|G)(\d+)\1/.test(u);){var p=RegExp.$1,d=RegExp.$2;c="K"===p?n.gHtmlBlocks[d]:f?s.subParser("encodeCode")(n.ghCodeBlocks[d].text,t,n):n.ghCodeBlocks[d].codeblock,c=c.replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(f=!0)}o[a]=u}return e=o.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),s.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t}),s.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=s.subParser("codeSpans")(e,t,n),e=s.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=s.subParser("encodeBackslashEscapes")(e,t,n),e=s.subParser("images")(e,t,n),e=s.subParser("anchors")(e,t,n),e=s.subParser("autoLinks")(e,t,n),e=s.subParser("italicsAndBold")(e,t,n),e=s.subParser("strikethrough")(e,t,n),e=s.subParser("simplifiedAutoLinks")(e,t,n),e=s.subParser("hashHTMLSpans")(e,t,n),e=s.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),s.subParser("strikethrough",function(e,t,n){"use strict";function r(e){return t.simplifiedAutoLink&&(e=s.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return r(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),s.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+\/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var i=function(e,r,o,i,a,l,c){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=s.subParser("encodeAmpsAndAngles")(o,t,n),l?l+c:(c&&(n.gTitles[r]=c.replace(/"|'/g,""")),t.parseImgDimensions&&i&&a&&(n.gDimensions[r]={width:i,height:a}),"")};return e=e.replace(o,i),e=e.replace(r,i),e=e.replace(/¨0/,"")}),s.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function o(e,r){var o="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(o=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=s.subParser("spanGamut")(e,t,n),"<th"+o+r+">"+e+"</th>\n"}function i(e,r){return"<td"+r+">"+s.subParser("spanGamut")(e,t,n)+"</td>\n"}function a(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}function l(e){var t,n=e.split("\n");for(t=0;t<n.length;++t)/^ {0,3}\|/.test(n[t])&&(n[t]=n[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(n[t])&&(n[t]=n[t].replace(/\|[ \t]*$/,""));var l=n[0].split("|").map(function(e){return e.trim()}),c=n[1].split("|").map(function(e){return e.trim()}),u=[],f=[],p=[],d=[];for(n.shift(),n.shift(),t=0;t<n.length;++t)""!==n[t].trim()&&u.push(n[t].split("|").map(function(e){return e.trim()}));if(l.length<c.length)return e;for(t=0;t<c.length;++t)p.push(r(c[t]));for(t=0;t<l.length;++t)s.helper.isUndefined(p[t])&&(p[t]=""),f.push(o(l[t],p[t]));for(t=0;t<u.length;++t){for(var h=[],g=0;g<f.length;++g)s.helper.isUndefined(u[t][g]),h.push(i(u[t][g],p[g]));d.push(h)}return a(f,d)}if(!t.tables)return e;var c=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,u=/^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|\n( {0,3}\|.+\|\n)*(?:\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(/\\(\|)/g,s.helper.escapeCharactersCallback),e=e.replace(c,l),e=e.replace(u,l),e=n.converter._dispatch("tables.after",e,t,n)}),s.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)});void 0!==(r=function(){"use strict";return s}.call(t,n,t,e))&&(e.exports=r)}).call(this)},function(e,t,n){"use strict";var r=n(86),o=n.n(r),i=n(343),a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&e.hasAttributes()){var t=e.nodeName.toLowerCase();o()(e.attributes).forEach(function(n){var r=n.name;Object(i.d)(t,r)||e.removeAttribute(r)})}}},function(e,t,n){"use strict";var r=window.Node.COMMENT_NODE;t.a=function(e){e.nodeType===r&&e.parentNode.removeChild(e)}},function(e,t,n){"use strict";function r(e){return e.every(function(e){return Object(a.g)(e)&&r(i()(e.children))})}var o=n(86),i=n.n(o),a=n(343);t.a=function(e){var t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;var n=i()(t.body.children);return!n.some(a.e)&&r(n)}},function(e,t,n){"use strict";function r(e,t){for(var n=document.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e)}var o=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===o){if("SPAN"===e.nodeName){var t=e.style.fontWeight,n=e.style.fontStyle;"bold"===t||"700"===t?r(e,"strong"):"italic"===n&&r(e,"em")}"B"===e.nodeName&&r(e,"strong"),"I"===e.nodeName&&r(e,"em")}}},function(e,t,n){"use strict";function r(e){return"OL"===e.nodeName||"UL"===e.nodeName}var o=window,i=o.parseInt,a=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===a&&"P"===e.nodeName){var t=e.getAttribute("style");if(t&&-1!==t.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(t);if(n){var o=i(n[1],10)-1||0,s=e.previousElementSibling;if(!s||!r(s)){var l=e.textContent.trim().slice(0,1),c=/[1iIaA]/.test(l),u=document.createElement(c?"ol":"ul");c&&u.setAttribute("type",l),e.parentNode.insertBefore(u,e)}var f=e.previousElementSibling,p=f.nodeName,d=document.createElement("li"),h=f;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)h=h.lastElementChild||h,r(h)&&(h=h.lastElementChild||h);r(h)||(h=h.appendChild(document.createElement(p))),h.appendChild(d),e.parentNode.removeChild(e)}}}}},function(e,t,n){"use strict";var r=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.nodeName;if(("OL"===t||"UL"===t)&&1===e.children.length){var n=e.previousElementSibling;n&&n.nodeName===t&&(n.appendChild(e.firstChild),e.parentNode.removeChild(e))}}}},function(e,t,n){"use strict";var r=n(172),o=n.n(r),i=n(49),a=(n.n(i),window),s=a.atob,l=a.Blob,c=window.Node.ELEMENT_NODE;t.a=function(e){if(e.nodeType===c&&"IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t=e.src.split(","),n=o()(t,2),r=n[0],a=n[1],u=r.slice(5).split(";"),f=o()(u,1),p=f[0];if(!a||!p)return void(e.src="");var d=void 0;try{d=s(a)}catch(t){return void(e.src="")}for(var h=new Uint8Array(d.length),g=0;g<h.length;g++)h[g]=d.charCodeAt(g);var b=new l([h],{type:p});e.src=Object(i.createBlobURL)(b)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}},function(e,t,n){"use strict";var r=n(501),o=window.Node.ELEMENT_NODE;t.a=function(e){e.nodeType===o&&"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Object(r.a)(e.innerHTML))}},function(e,t,n){"use strict";var r=window.Node.TEXT_NODE;t.a=function(e){if(e.nodeType===r){var t=e.parentNode;-1!==["TR","TBODY","THEAD","TFOOT","TABLE"].indexOf(t.nodeName)&&t.removeChild(e)}}},function(e,t,n){"use strict";var r=n(343),o=n(502),i=window.Node.ELEMENT_NODE;t.a=function(e,t){e.nodeType===i&&Object(r.h)(e)&&Object(r.b)(e.childNodes,[Object(o.a)(function(t){return!Object(r.g)(t)&&!Object(r.c)(e,t)},function(e){return e.nextElementSibling&&t.createElement("BR")})],t)}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),i=n(414),a=n.n(i),s=n(11),l=n.n(s),c=n(455),u=n.n(c),f=n(171),p=n.n(f),d=n(117),h=n.n(d),g=n(611),b=n.n(g),m=n(55),v=n.n(m),y=n(54),_=n.n(y),w=n(410),x=n(220),k=n(447),E=window.wp.shortcode;t.a=function(e){var t=Object(x.b)().reduce(function(t,n){var r=v()(n,"transforms.from",[]),o=_()(r,function(e){return"shortcode"===e.type});if(!o)return t;for(var i=void 0,a=0;i=E.next(o.tag,e,a);){a=i.index+i.content.length;var s=p()(u()(o.attributes,function(e){return e.shortcode}),function(e){return e.shortcode(i.shortcode.attrs,i)}),c=Object(w.a)(n.name,Object(k.b)(l()({},n,{attributes:o.attributes}),i.shortcode.content,s));t[i.index]={block:c,lastIndex:a}}return t},{}),n=0;return a()(t).sort().reduce(function(e,r){var i=t[r];return e=[].concat(o()(b()(e)),[h()(e).slice(0,r-n),i.block,h()(e).slice(i.lastIndex-n)]),n=i.lastIndex,e},[e])}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),t=r-t,o(e,0,t<0?0:t)):[]}var o=n(174),i=n(69);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(0),a=(n.n(i),n(49)),s=(n.n(a),n(614)),l=(n.n(s),n(615)),c=(n.n(l),n(27)),u=n(616);Object(c.o)("core/image",{title:Object(i.__)("Image"),icon:"format-image",category:"common",keywords:[Object(i.__)("photo")],attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt"},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},transforms:{from:[{type:"raw",isMatch:function(e){var t=e.nodeName.toLowerCase(),n=!!e.textContent.trim(),r=e.querySelector("img");return"img"===t||r&&!n||r&&"figure"===t}},{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("image/")},transform:function(e){return Object(a.createMediaFromFile)(e[0]).then(function(e){return Object(c.a)("core/image",{id:e.id,url:e.source_url})})}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{type:"array",source:"text"},href:{type:"string",source:"attribute",attribute:"href",selector:"a"},id:{type:"number",shortcode:function(e){var t=e.named.id;if(t)return parseInt(t.replace("attachment_",""),10)}},align:{type:"string",shortcode:function(e){var t=e.named.align;return(void 0===t?"alignnone":t).replace("align","")}}}}]},getEditWrapperProps:function(e){var t=e.align,n=e.width;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t,"data-resized":!!n}},edit:u.a,save:function(e){var t=e.attributes,n=t.url,r=t.alt,i=t.caption,a=t.align,s=t.href,l=t.width,c=t.height,u=l||c?{width:l,height:c}:{},f=l?{width:l}:{},p=wp.element.createElement("img",o()({src:n,alt:r},u));return wp.element.createElement("figure",{className:a?"align"+a:null,style:f},s?wp.element.createElement("a",{href:s},p):p,i&&i.length>0&&wp.element.createElement("figcaption",null,i))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(3),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),f=n(6),p=n.n(f),d=n(7),h=n.n(d),g=n(58),b=n.n(g),m=n(55),v=n.n(m),y=n(63),_=n.n(y),w=n(256),x=n.n(w),k=n(617),E=n.n(k),O=n(17),C=n.n(O),S=n(631),j=n(0),T=(n.n(j),n(2)),A=(n.n(T),n(49)),R=(n.n(A),n(1)),P=(n.n(R),n(83)),N=n(267),L=n(38),M=n(446),D=n(445),B=n(64),I=n(101),F=n(43),z=n(505),H=n(649),q=function(e){function t(){l()(this,t);var e=p()(this,(t.__proto__||a()(t)).apply(this,arguments));return e.updateAlt=e.updateAlt.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSetHref=e.onSetHref.bind(e),e.updateImageURL=e.updateImageURL.bind(e),e}return h()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=t.id,o=t.url,i=void 0===o?"":o;r||0!==i.indexOf("blob:")||Object(A.getBlobByURL)(i).then(A.createMediaFromFile).then(function(e){n({id:e.id,url:e.source_url})})}},{key:"componentDidUpdate",value:function(e){var t=e.attributes,n=t.id,r=t.url,o=void 0===r?"":r,i=this.props.attributes,a=i.id,s=i.url,l=void 0===s?"":s;!n&&0===o.indexOf("blob:")&&a&&-1===l.indexOf("blob:")&&Object(A.revokeBlobURL)(l)}},{key:"onSelectImage",value:function(e){var t={url:e.url,alt:e.alt,id:e.id};e.caption&&(t.caption=[e.caption]),this.props.setAttributes(t)}},{key:"onSetHref",value:function(e){this.props.setAttributes({href:e})}},{key:"updateAlt",value:function(e){this.props.setAttributes({alt:e})}},{key:"updateAlignment",value:function(e){var t=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};this.props.setAttributes(o()({},t,{align:e}))}},{key:"updateImageURL",value:function(e){this.props.setAttributes({url:e})}},{key:"getAvailableSizes",value:function(){return v()(this.props.image,["data","media_details","sizes"],{})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.className,s=e.settings,l=t.url,c=t.alt,u=t.caption,f=t.align,p=t.id,d=t.href,h=t.width,g=t.height,b=this.getAvailableSizes(),m=h?{width:h}:{},v=-1===["wide","full"].indexOf(f)&&!A.viewPort.isExtraSmall(),y={isLarge:!0},w=function(e){return Object(A.mediaUpload)(e.target.files,n)},k=function(e){return Object(A.mediaUpload)(e,n)},O=r&&wp.element.createElement(B.a,{key:"controls"},wp.element.createElement(I.a,{value:f,onChange:this.updateAlignment}),wp.element.createElement(R.Toolbar,null,wp.element.createElement(N.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(j.__)("Edit image")},onSelect:this.onSelectImage,type:"image",value:p},wp.element.createElement(R.Dashicon,{icon:"edit"})),wp.element.createElement(z.a,{onChange:this.onSetHref,url:d})));if(!l)return[O,wp.element.createElement(R.Placeholder,{key:"placeholder",instructions:Object(j.__)("Drag image here or insert from media library"),icon:"format-image",label:Object(j.__)("Image"),className:a},wp.element.createElement(R.DropZone,{onFilesDrop:k}),wp.element.createElement(R.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:w,accept:"image/*"},Object(j.__)("Upload")),wp.element.createElement(N.a,{buttonProps:y,onSelect:this.onSelectImage,type:"image"},Object(j.__)("Insert from Media Library")))];var T=function(e){return i(o()({editable:"caption"},e))},q=C()(a,{"is-transient":0===l.indexOf("blob:"),"is-resized":!!h,"is-focused":!!r});return[O,r&&wp.element.createElement(L.a,{key:"inspector"},wp.element.createElement(F.a,null,wp.element.createElement("p",null,Object(j.__)("Worth a thousand words."))),wp.element.createElement("h3",null,Object(j.__)("Image Settings")),wp.element.createElement(M.a,{label:Object(j.__)("Textual Alternative"),value:c,onChange:this.updateAlt,help:Object(j.__)("Describe the purpose of the image. Leave empty if the image is not a key part of the content.")}),!x()(b)&&wp.element.createElement(D.a,{label:Object(j.__)("Size"),value:l,options:_()(b,function(e,t){return{value:e.source_url,label:E()(t)}}),onChange:this.updateImageURL})),wp.element.createElement("figure",{key:"image",className:q,style:m},wp.element.createElement(H.a,{src:l,dirtynessTrigger:f},function(e){var t=e.imageWidthWithinContainer,r=e.imageHeightWithinContainer,o=e.imageWidth,a=e.imageHeight,u=wp.element.createElement("img",{src:l,alt:c,onClick:i});if(!v||!t)return u;var f=h||t,p=g||r,d=o/a,b=o<a?20:20*d,m=a<o?20:20/d;return wp.element.createElement(S.a,{size:{width:f,height:p},minWidth:b,maxWidth:s.maxWidth,minHeight:m,maxHeight:s.maxWidth/d,lockAspectRatio:!0,handleClasses:{topRight:"wp-block-image__resize-handler-top-right",bottomRight:"wp-block-image__resize-handler-bottom-right",topLeft:"wp-block-image__resize-handler-top-left",bottomLeft:"wp-block-image__resize-handler-bottom-left"},enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},onResizeStop:function(e,t,r,o){n({width:parseInt(f+o.width,10),height:parseInt(p+o.height,10)})}},u)}),u&&u.length>0||r?wp.element.createElement(P.a,{tagName:"figcaption",placeholder:Object(j.__)("Write caption…"),value:u,focus:r&&"caption"===r.editable?r:void 0,onFocus:T,onChange:function(e){return n({caption:e})},inlineToolbar:!0}):null)]}}]),t}(T.Component);t.a=b()([Object(R.withContext)("editor")(function(e){return{settings:e}}),Object(R.withAPIData)(function(e){var t=e.attributes.id;return t?{image:"/wp/v2/media/"+t}:{}})])(q)},function(e,t,n){var r=n(618),o=n(625),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},function(e,t,n){function r(e){return function(t){return o(a(i(t).replace(s,"")),e,"")}}var o=n(115),i=n(619),a=n(621),s=RegExp("['’]","g");e.exports=r},function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(s,"")}var o=n(620),i=n(98),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(415),o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(o);e.exports=i},function(e,t,n){function r(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?s(e):o(e):e.match(t)||[]}var o=n(622),i=n(623),a=n(98),s=n(624);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(g)||[]}var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+r+"]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+r+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:"+i+"|"+a+")",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,l].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*",d="[\\ufe0e\\ufe0f]?"+f+p,h="(?:"+["[\\u2700-\\u27bf]",s,l].join("|")+")"+d,g=RegExp([c+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[o,c,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[o,c+u,"$"].join("|")+")",c+"?"+u+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",h].join("|"),"g");e.exports=n},function(e,t,n){var r=n(626),o=r("toUpperCase");e.exports=o},function(e,t,n){function r(e){return function(t){t=s(t);var n=i(t)?a(t):void 0,r=n?n[0]:t.charAt(0),l=n?o(n,1).join(""):t.slice(1);return r[e]()+l}}var o=n(627),i=n(416),a=n(628),s=n(98);e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(174);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var o=n(629),i=n(416),a=n(630);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(f)||[]}var r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",l="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",c="[\\ufe0e\\ufe0f]?"+s+l,u="(?:"+["[^\\ud800-\\udfff]"+r+"?",r,i,a,"[\\ud800-\\udfff]"].join("|")+")",f=RegExp(o+"(?="+o+")|"+u+c,"g");e.exports=n},function(e,t,n){"use strict";var r=n(13),o=(n.n(r),function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(e,t))})}function r(n,i){try{var a=t[n](i),s=a.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(a.done?"return":"normal",a.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},c={base:{position:"absolute"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},u=function(e){return Object(r.createElement)("div",{className:e.className,style:a({},c.base,c[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}})},f={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},p={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},d=function(e,t,n){return Math.max(Math.min(e,n),t)},h=function(e,t){return Math.round(e/t)*t},g=function(e,t){return e.substr(e.length-t.length,t.length)===t},b=function(e){return g(e.toString(),"px")?e.toString():g(e.toString(),"%")?e.toString():e+"px"},m=0,v=["style","className","grid","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop"],y=function(e){function t(e){o(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.baseSizeId="__resizable"+m,m+=1,"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),n}return s(t,e),i(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce(function(t,n){return-1!==v.indexOf(n)?t:(t[n]=e[n],t)},{})}},{key:"getParentSize",value:function(){var e=document.getElementById(this.baseSizeId);return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:window.innerWidth,height:window.innerHeight}}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=document.createElement("div");t.id=this.baseSizeId,t.style.width="100%",t.style.height="100%",t.style.position="relative",t.style.transform="scale(0, 0)",t.style.left="-2147483647px";var n=this.parentNode;n instanceof HTMLElement&&n.appendChild(t)}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=document.getElementById(this.baseSizeId);if(!t)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,l=this.props.lockAspectRatio,c=this.props,u=c.maxWidth,f=c.maxHeight,p=c.minWidth,b=c.minHeight,m=this.getParentSize();if(u&&"string"==typeof u&&g(u,"%")){var v=Number(u.replace("%",""))/100;u=m.width*v}if(f&&"string"==typeof f&&g(f,"%")){var y=Number(f.replace("%",""))/100;f=m.height*y}if(p&&"string"==typeof p&&g(p,"%")){var _=Number(p.replace("%",""))/100;p=m.width*_}if(b&&"string"==typeof b&&g(b,"%")){var w=Number(b.replace("%",""))/100;b=m.height*w}u=void 0===u?void 0:Number(u),f=void 0===f?void 0:Number(f),p=void 0===p?void 0:Number(p),b=void 0===b?void 0:Number(b);var x=i.height/i.width,k=i.width,E=i.height;if(/right/i.test(o)&&(k=i.width+(t-i.x),l&&(E=k*x)),/left/i.test(o)&&(k=i.width-(t-i.x),l&&(E=k*x)),/bottom/i.test(o)&&(E=i.height+(n-i.y),l&&(k=E/x)),/top/i.test(o)&&(E=i.height-(n-i.y),l&&(k=E/x)),"parent"===this.props.bounds){var O=this.parentNode;if(O instanceof HTMLElement){var C=O.getBoundingClientRect(),S=C.left,j=C.top,T=this.resizable.getBoundingClientRect(),A=T.left,R=T.top,P=O.offsetWidth+(S-A),N=O.offsetHeight+(j-R);u=u&&u<P?u:P,f=f&&f<N?f:N}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),M=L.left,D=L.top,B=window.innerWidth-M,I=window.innerHeight-D;u=u&&u<B?u:B,f=f&&f<I?f:I}}else if(this.props.bounds instanceof HTMLElement){var F=this.props.bounds.getBoundingClientRect(),z=F.left,H=F.top,q=this.resizable.getBoundingClientRect(),U=q.left,K=q.top;if(!(this.props.bounds instanceof HTMLElement))return;var V=this.props.bounds.offsetWidth+(z-U),W=this.props.bounds.offsetHeight+(H-K);u=u&&u<V?u:V,f=f&&f<W?f:W}var G=void 0===p||p<10?10:p,$=void 0===u||u<0?k:u,X=void 0===b||b<10?10:b,Z=void 0===f||f<0?E:f;if(l){var Y=G>X/x?G:X/x,Q=$<Z/x?$:Z/x,J=X>G*x?X:G*x,ee=Z<$*x?Z:$*x;k=d(k,Y,Q),E=d(E,J,ee)}else k=d(k,G,$),E=d(E,X,Z);this.props.grid&&(k=h(k,this.props.grid[0])),this.props.grid&&(E=h(E,this.props.grid[1]));var te={width:k-i.width,height:E-i.height};if(a&&"string"==typeof a&&g(a,"%")){k=k/m.width*100+"%"}if(s&&"string"==typeof s&&g(s,"%")){E=E/m.height*100+"%"}this.setState({width:"auto"!==a||void 0===this.props.width?k:"auto",height:"auto"!==s||void 0===this.props.height?E:"auto"}),this.props.onResize&&this.props.onResize(e,o,this.resizable,te)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,o=t.handleStyles,i=t.handleClasses,a=t.handleWrapperStyle,s=t.handleWrapperClass;if(!n)return null;var l=Object.keys(n).map(function(t){return!1!==n[t]?Object(r.createElement)(u,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:o&&o[t],className:i&&i[t]}):null});return Object(r.createElement)("span",{className:s,style:a},l)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?f:p;return Object(r.createElement)("div",a({ref:function(t){e.resizable=t},style:a({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"size",get:function(){var e=0,t=0;return"undefined"!=typeof window&&(e=this.resizable.offsetWidth,t=this.resizable.offsetHeight),{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&g(e.propsSize[t].toString(),"%")){if(g(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return b(e.state[t])};return{width:t&&t.width&&!this.state.isResizing?b(t.width):n("width"),height:t&&t.height&&!this.state.isResizing?b(t.height):n("height")}}}]),t}(r.Component);y.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1},t.a=y},function(e,t,n){var r=n(633),o=n(81),i=o(function(e,t){return r(e,1,t)});e.exports=i},function(e,t){function n(e,t,n){if("function"!=typeof e)throw new TypeError(r);return setTimeout(function(){e.apply(void 0,n)},t)}var r="Expected a function";e.exports=n},function(e,t,n){var r=n(635),o=n(495),i=o(function(e,t,n){r(e,t,n)});e.exports=i},function(e,t,n){function r(e,t,n,u,f){e!==t&&a(t,function(a,c){if(l(a))f||(f=new o),s(e,t,c,n,r,u,f);else{var p=u?u(e[c],a,c+"",e,t,f):void 0;void 0===p&&(p=a),i(e,c,p)}},c)}var o=n(114),i=n(503),a=n(254),s=n(636),l=n(22),c=n(158);e.exports=r},function(e,t,n){function r(e,t,n,r,v,y,_){var w=e[n],x=t[n],k=_.get(x);if(k)return void o(e,n,k);var E=y?y(w,x,n+"",e,t,_):void 0,O=void 0===E;if(O){var C=u(x),S=!C&&p(x),j=!C&&!S&&b(x);E=x,C||S||j?u(w)?E=w:f(w)?E=s(w):S?(O=!1,E=i(x,!0)):j?(O=!1,E=a(x,!0)):E=[]:g(x)||c(x)?(E=w,c(w)?E=m(w):(!h(w)||r&&d(w))&&(E=l(x))):O=!1}O&&(_.set(x,E),v(E,x,r,y,_),_.delete(x)),o(e,n,E)}var o=n(503),i=n(262),a=n(263),s=n(145),l=n(264),c=n(94),u=n(12),f=n(173),p=n(95),d=n(121),h=n(22),g=n(265),b=n(128),m=n(637);e.exports=r},function(e,t,n){function r(e){return o(e,i(e))}var o=n(70),i=n(158);e.exports=r},function(e,t,n){function r(e,t){return a(e,i(o(t)))}var o=n(26),i=n(639),a=n(455);e.exports=r},function(e,t){function n(e){if("function"!=typeof e)throw new TypeError(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var r="Expected a function";e.exports=n},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(119),a=n.n(i),s=n(3),l=n.n(s),c=n(4),u=n.n(c),f=n(5),p=n.n(f),d=n(6),h=n.n(d),g=n(7),b=n.n(g),m=n(0),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(49)),w=(n.n(_),n(642)),x=(n.n(w),n(417)),k=n(418),E=n(170),O=_.keycodes.ESCAPE,C=[{icon:"editor-bold",title:Object(m.__)("Bold"),format:"bold"},{icon:"editor-italic",title:Object(m.__)("Italic"),format:"italic"},{icon:"editor-strikethrough",title:Object(m.__)("Strikethrough"),format:"strikethrough"},{icon:"admin-links",title:Object(m.__)("Link"),format:"link"}],S=["bold","italic","strikethrough","link"],j=function(e){function t(){u()(this,t);var e=h()(this,(t.__proto__||l()(t)).apply(this,arguments));return e.state={isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!1,newLinkValue:""},e.addLink=e.addLink.bind(e),e.editLink=e.editLink.bind(e),e.dropLink=e.dropLink.bind(e),e.submitLink=e.submitLink.bind(e),e.onKeyDown=e.onKeyDown.bind(e),e.onChangeLinkValue=e.onChangeLinkValue.bind(e),e.toggleLinkSettingsVisibility=e.toggleLinkSettingsVisibility.bind(e),e.setLinkTarget=e.setLinkTarget.bind(e),e}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.onKeyDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onKeyDown)}},{key:"onKeyDown",value:function(e){e.keyCode===O&&this.state.isEditingLink&&(e.stopPropagation(),this.dropLink())}},{key:"componentWillReceiveProps",value:function(e){this.props.selectedNodeId!==e.selectedNodeId&&this.setState({isAddingLink:!1,isEditingLink:!1,settingsVisible:!1,opensInNewWindow:!!e.formats.link&&!!e.formats.link.target,newLinkValue:""})}},{key:"onChangeLinkValue",value:function(e){this.setState({newLinkValue:e})}},{key:"toggleFormat",value:function(e){var t=this;return function(){t.props.onChange(a()({},e,!t.props.formats[e]))}}},{key:"toggleLinkSettingsVisibility",value:function(){this.setState(function(e){return{settingsVisible:!e.settingsVisible}})}},{key:"setLinkTarget",value:function(e){var t=e.target.checked;this.setState({opensInNewWindow:t}),this.props.onChange({link:{value:this.props.formats.link.value,target:t?"_blank":""}})}},{key:"addLink",value:function(){this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:""})}},{key:"dropLink",value:function(){this.props.onChange({link:void 0}),this.setState({isEditingLink:!1,isAddingLink:!1,newLinkValue:""})}},{key:"editLink",value:function(e){e.preventDefault(),this.setState({isEditingLink:!1,isAddingLink:!0,newLinkValue:this.props.formats.link.value})}},{key:"submitLink",value:function(e){e.preventDefault(),this.props.onChange({link:{value:this.state.newLinkValue,target:this.state.opensInNewWindow?"_blank":""}}),this.state.isAddingLink&&this.props.speak(Object(m.__)("Link inserted."),"assertive")}},{key:"isFormatActive",value:function(e){return this.props.formats[e]&&this.props.formats[e].isActive}},{key:"render",value:function(){var e=this,t=this.props,n=t.formats,r=t.focusPosition,i=t.enabledControls,a=void 0===i?S:i,s=t.customControls,l=void 0===s?[]:s,c=this.state,u=c.isAddingLink,f=c.isEditingLink,p=c.newLinkValue,d=c.settingsVisible,h=c.opensInNewWindow,g=r?o()({position:"absolute"},r):null,b=C.concat(l).filter(function(e){return-1!==a.indexOf(e.format)}).map(function(t){var n="link"===t.format;return o()({},t,{onClick:n?e.addLink:e.toggleFormat(t.format),isActive:e.isFormatActive(t.format)||n&&u})}),v=d&&wp.element.createElement("fieldset",{className:"blocks-format-toolbar__link-settings"},wp.element.createElement(E.a,{label:Object(m.__)("Open in new window"),checked:h,onChange:this.setLinkTarget}));return wp.element.createElement("div",{className:"blocks-format-toolbar"},wp.element.createElement(y.Toolbar,{controls:b}),(u||f)&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("form",{className:"blocks-format-toolbar__link-modal",style:g,onSubmit:this.submitLink},wp.element.createElement(x.a,{value:p,onChange:this.onChangeLinkValue}),wp.element.createElement(y.IconButton,{icon:"editor-break",label:Object(m.__)("Apply"),type:"submit"}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),v)),!!n.link&&!u&&!f&&wp.element.createElement(y.Fill,{name:"Editable.Siblings"},wp.element.createElement("div",{className:"blocks-format-toolbar__link-modal",style:g},wp.element.createElement("a",{className:"blocks-format-toolbar__link-value",href:n.link.value,target:"_blank"},n.link.value&&Object(k.a)(decodeURI(n.link.value))),wp.element.createElement(y.IconButton,{icon:"edit",label:Object(m.__)("Edit"),onClick:this.editLink}),wp.element.createElement(y.IconButton,{icon:"editor-unlink",label:Object(m.__)("Remove link"),onClick:this.dropLink}),wp.element.createElement(y.IconButton,{icon:"admin-generic",label:Object(m.__)("Link Settings"),onClick:this.toggleLinkSettingsVisibility,"aria-expanded":d}),v)))}}]),t}(v.Component);t.a=Object(y.withSpokenMessages)(j)},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(163),a=n.n(i),s=n(3),l=n.n(s),c=n(4),u=n.n(c),f=n(5),p=n.n(f),d=n(6),h=n.n(d),g=n(7),b=n.n(g),m=n(109),v=n.n(m),y=n(456),_=n.n(y),w=n(17),x=n.n(w),k=n(2),E=(n.n(k),n(504)),O=function(e){function t(){return u()(this,t),h()(this,(t.__proto__||l()(t)).apply(this,arguments))}return b()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.initialize()}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillReceiveProps",value:function(e){var t=this,n="data-is-placeholder-visible",r=String(!!e.isPlaceholderVisible);this.editorNode.getAttribute(n)!==r&&this.editorNode.setAttribute(n,r),v()(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),a()(this.editorNode.style,e.style)),v()(this.props.className,e.className)||(this.editorNode.className=x()(e.className,"blocks-editable__tinymce"));var o=Object(E.a)(this.props,e),i=o.removedKeys,s=o.updatedKeys;i.forEach(function(e){return t.editorNode.removeAttribute(e)}),s.forEach(function(n){return t.editorNode.setAttribute(n,e[n])})}},{key:"componentWillUnmount",value:function(){this.editor&&(this.editor.container=document.createDocumentFragment(),this.editor.destroy(),delete this.editor)}},{key:"initialize",value:function(){var e=this,t=this.props.focus,n=this.props.getSettings({theme:!1,inline:!0,toolbar:!1,browser_spellcheck:!0,entity_encoding:"raw",convert_urls:!1,inline_boundaries_selector:"a[href],code,b,i,strong,em,del,ins,sup,sub",plugins:[],formats:{strikethrough:{inline:"del"}}});n.plugins.push("paste"),_.a.init(o()({},n,{target:this.editorNode,setup:function(t){e.editor=t,e.props.onSetup(t)}})),t&&this.editorNode.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,i=t.style,a=t.defaultValue,s=t.className,l=Object(E.b)(this.props),c=void 0;return a&&(c=k.Children.toArray(a)),Object(k.createElement)(r,o()({ref:function(t){return e.editorNode=t},contentEditable:!0,suppressContentEditableWarning:!0,className:x()(s,"blocks-editable__tinymce"),style:i},l),c)}}]),t}(k.Component);t.a=O},function(e,t){function n(e){return null==e}e.exports=n},function(e,t,n){"use strict";var r=n(39),o=n.n(r),i=n(646),a=n.n(i),s=n(420),l=n.n(s),c=n(463),u=n.n(c),f=n(55),p=n.n(f),d=n(54),h=n.n(d),g=n(456),b=n.n(g),m=n(49),v=(n.n(m),n(220)),y=window,_=y.setTimeout,w=m.keycodes.ESCAPE,x=m.keycodes.ENTER,k=m.keycodes.SPACE,E=m.keycodes.BACKSPACE;t.a=function(e){function t(){var t=e.selection.getRng(),n=t.startContainer,r=t.startOffset;if(n&&3===n.nodeType&&n.data.length&&r){var o=n.data.slice(0,r),i=n.data.charAt(r-1),a=y.reduce(function(e,t){if(e.result)return e;if(i!==t.delimiter.slice(-1))return e;var n=u()(t.delimiter),a=new RegExp("(.*)"+n+".+"+n+"$"),s=o.match(a);if(!s)return e;var l=s[1].length,c=r-t.delimiter.length,f=o.charAt(l-1),p=o.charAt(l+t.delimiter.length),d=t.delimiter.charAt(0);if(l&&/\S/.test(f)&&(/\s/.test(p)||f===d))return e;var h=new RegExp("^[\\s"+u()(d)+"]+$"),g=o.slice(l,c);return h.test(g)?e:{start:l,pattern:t}},{}),s=a.start,l=a.pattern;if(l){var c=l.delimiter,f=l.format,p=e.formatter.get(f);p&&p[0].inline&&(e.undoManager.add(),e.undoManager.transact(function(){n.insertData(r,"\ufeff");var t=n.splitText(s),o=t.splitText(r-s);t.deleteData(0,c.length),t.deleteData(t.data.length-c.length,c.length),e.formatter.apply(f,{},t),e.selection.setCursorLocation(o,1),_(function(){O="space",e.once("selectionchange",function(){if(o){var e=o.data.indexOf("\ufeff");-1!==e&&o.deleteData(e,e+1)}})})}))}}}function n(t){if(s){e.getBody().normalize();var n=i();if(n.length){var r=n[0],l=t.reduce(function(e,t){return e.result?e:{result:t.regExp.exec(r),pattern:t}},{}),c=l.result,u=l.pattern;if(c){var f=e.selection.getRng(),p=c[0].length,d=r.slice(p);if(f.startOffset===p){var h=u.transform({content:[d].concat(o()(a()(n))),match:c});s([h])}}}}}function r(){if(s){e.getBody().normalize();var t=i();if(t.length){var n=h()(g,function(e){return e.regExp.test(t[0])});if(n){var r=n.transform({content:t});e.once("keyup",function(){return s([r])})}}}}var i=this.getContent.bind(this),s=this.props.onReplace,c=b.a.util.VK,f=e.settings.wptextpattern||{},d=l()(Object(v.b)().reduce(function(e,t){var n=p()(t,"transforms.from",[]),r=n.filter(function(e){return"pattern"===e.type});return[].concat(o()(e),o()(r))},[]),"trigger"),g=d.enter,m=d.undefined,y=f.inline||[{delimiter:"`",format:"code"}],O=void 0;e.on("selectionchange",function(){O=null}),e.on("keydown",function(o){var i=o.keyCode;(O&&i===w||"space"===O&&i===E)&&(e.undoManager.undo(),o.preventDefault(),o.stopImmediatePropagation()),c.metaKeyPressed(o)||(i===x?r():i===k?_(function(){return n(m)}):i>47&&!(i>=91&&i<=93)&&_(t))},!0)}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),o(e,t<0?0:t,r)):[]}var o=n(174),i=n(69);e.exports=r},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=["Focus","Blur","FocusIn","FocusOut","Click","DblClick","MouseDown","MouseUp","MouseMove","MouseOver","BeforePaste","Paste","Cut","Copy","SelectionChange","MouseOut","MouseEnter","MouseLeave","Wheel","KeyDown","KeyPress","KeyUp","Input","ContextMenu","DragStart","DragEnd","DragOver","DragGesture","DragDrop","Drop","Drag","Submit","CompositionStart","CompositionEnd","CompositionUpdate","TouchStart","TouchMove","TouchEnd"]},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(30),h=n.n(d),g=n(2),b=(n.n(g),function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.state={width:void 0,height:void 0},e.bindContainer=e.bindContainer.bind(e),e.calculateSize=e.calculateSize.bind(e),e}return p()(t,e),l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){this.props.src!==e.src&&(this.setState({width:void 0,height:void 0}),this.fetchImageSize()),this.props.dirtynessTrigger!==e.dirtynessTrigger&&this.calculateSize()}},{key:"componentDidMount",value:function(){this.fetchImageSize()}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.onload=h.a)}},{key:"fetchImageSize",value:function(){this.image=new window.Image,this.image.onload=this.calculateSize,this.image.src=this.props.src}},{key:"calculateSize",value:function(){var e=this.container.clientWidth,t=this.image.width>e,n=this.image.height/this.image.width,r=t?e:this.image.width,o=t?e*n:this.image.height;this.setState({width:r,height:o})}},{key:"render",value:function(){var e={imageWidth:this.image&&this.image.width,imageHeight:this.image&&this.image.height,containerWidth:this.container&&this.container.clientWidth,containerHeight:this.container&&this.container.clientHeight,imageWidthWithinContainer:this.state.width,imageHeightWithinContainer:this.state.height};return wp.element.createElement("div",{ref:this.bindContainer},this.props.children(e))}}]),t}(g.Component));t.a=b},function(e,t,n){"use strict";var r=n(102),o=n.n(r),i=n(0),a=(n.n(i),n(651)),s=(n.n(a),n(652)),l=(n.n(s),n(27)),c=n(653);Object(l.o)("core/gallery",{title:Object(i.__)("Gallery"),icon:"format-gallery",category:"common",keywords:[Object(i.__)("images"),Object(i.__)("photos")],attributes:{align:{type:"string",default:"none"},images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt"},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=o()(e,function(e){var t=e.id,n=e.url;return t&&n});return t.length>0?Object(l.a)("core/gallery",{images:t.map(function(e){return{id:e.id,url:e.url,alt:e.alt}})}):Object(l.a)("core/gallery")}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return t?t.split(",").map(function(e){return{id:parseInt(e,10)}}):[]}},columns:{type:"number",shortcode:function(e){var t=e.named.columns,n=void 0===t?"3":t;return parseInt(n,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link,n=void 0===t?"attachment":t;return"file"===n?"media":n}}}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map(function(e){var t=e.id,n=e.url,r=e.alt;return Object(l.a)("core/image",{id:t,url:n,alt:r})}):Object(l.a)("core/image")}}]},getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:c.a,save:function(e){var t=e.attributes,n=t.images,r=t.columns,o=void 0===r?Object(c.b)(t):r,i=t.align,a=t.imageCrop,s=t.linkTo;return wp.element.createElement("div",{className:"align"+i+" columns-"+o+" "+(a?"is-cropped":"")},n.map(function(e){var t=void 0;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id});return wp.element.createElement("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?wp.element.createElement("a",{href:t},n):n)}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return Math.min(3,e.images.length)}t.b=r;var o=n(11),i=n.n(o),a=n(39),s=n.n(a),l=n(3),c=n.n(l),u=n(4),f=n.n(u),p=n(5),d=n.n(p),h=n(6),g=n.n(h),b=n(7),m=n.n(b),v=n(102),y=n.n(v),_=n(2),w=(n.n(_),n(0)),x=(n.n(w),n(49)),k=(n.n(x),n(1)),E=(n.n(k),n(267)),O=n(38),C=n(257),S=n(170),j=n(445),T=n(64),A=n(101),R=n(654),P=n(43),N=[{value:"attachment",label:Object(w.__)("Attachment Page")},{value:"media",label:Object(w.__)("Media File")},{value:"none",label:Object(w.__)("None")}],L=function(e){function t(){f()(this,t);var e=g()(this,(t.__proto__||c()(t)).apply(this,arguments));return e.onSelectImage=e.onSelectImage.bind(e),e.onSelectImages=e.onSelectImages.bind(e),e.setLinkTo=e.setLinkTo.bind(e),e.setColumnsNumber=e.setColumnsNumber.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleImageCrop=e.toggleImageCrop.bind(e),e.uploadFromFiles=e.uploadFromFiles.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.setImageAttributes=e.setImageAttributes.bind(e),e.state={selectedImage:null},e}return m()(t,e),d()(t,[{key:"onSelectImage",value:function(e){var t=this;return function(){t.setState(function(t){return{selectedImage:e===t.selectedImage?null:e}})}}},{key:"onRemoveImage",value:function(e){var t=this;return function(){var n=y()(t.props.attributes.images,function(t,n){return e!==n}),r=t.props.attributes.columns;t.props.setAttributes({images:n,columns:r?Math.min(n.length,r):r})}}},{key:"onSelectImages",value:function(e){this.props.setAttributes({images:e})}},{key:"setLinkTo",value:function(e){this.props.setAttributes({linkTo:e})}},{key:"setColumnsNumber",value:function(e){this.props.setAttributes({columns:e})}},{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleImageCrop",value:function(){this.props.setAttributes({imageCrop:!this.props.attributes.imageCrop})}},{key:"uploadFromFiles",value:function(e){Object(x.mediaUpload)(e.target.files,this.props.setAttributes,!0)}},{key:"setImageAttributes",value:function(e,t){var n=this.props,r=n.attributes.images;(0,n.setAttributes)({images:[].concat(s()(r.slice(0,e)),[i()({},r[e],t)],s()(r.slice(e+1)))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,o=t.focus,i=t.className,a=n.images,s=n.columns,l=void 0===s?r(n):s,c=n.align,u=n.imageCrop,f=n.linkTo,p=wp.element.createElement(P.a,null,wp.element.createElement("p",null,Object(w.__)("Image galleries are a great way to share groups of pictures on your site."))),d=o&&wp.element.createElement(O.a,{key:"inspector"},p),h=o&&wp.element.createElement(T.a,{key:"controls"},wp.element.createElement(A.a,{value:c,onChange:this.updateAlignment}),!!a.length&&wp.element.createElement(k.Toolbar,null,wp.element.createElement(E.a,{buttonProps:{className:"components-icon-button components-toolbar__control","aria-label":Object(w.__)("Edit Gallery")},onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0,value:a.map(function(e){return e.id})},wp.element.createElement(k.Dashicon,{icon:"edit"}))));if(0===a.length){var g={isLarge:!0};return[h,d,wp.element.createElement(k.Placeholder,{key:"placeholder",instructions:Object(w.__)("Drag images here or insert from media library"),icon:"format-gallery",label:Object(w.__)("Gallery"),className:i},wp.element.createElement(k.FormFileUpload,{isLarge:!0,className:"wp-block-image__upload-button",onChange:this.uploadFromFiles,accept:"image/*",multiple:"true"},Object(w.__)("Upload")),wp.element.createElement(E.a,{buttonProps:g,onSelect:this.onSelectImages,type:"image",multiple:!0,gallery:!0},Object(w.__)("Insert from Media Library")))]}return[h,o&&wp.element.createElement(O.a,{key:"inspector"},p,wp.element.createElement("h3",null,Object(w.__)("Gallery Settings")),a.length>1&&wp.element.createElement(C.a,{label:Object(w.__)("Columns"),value:l,onChange:this.setColumnsNumber,min:1,max:Math.min(8,a.length)}),wp.element.createElement(S.a,{label:Object(w.__)("Crop Images"),checked:!!u,onChange:this.toggleImageCrop}),wp.element.createElement(j.a,{label:Object(w.__)("Link to"),value:f,onChange:this.setLinkTo,options:N})),wp.element.createElement("div",{key:"gallery",className:i+" align"+c+" columns-"+l+" "+(u?"is-cropped":"")},a.map(function(t,n){return wp.element.createElement(R.a,{key:t.id||t.url,url:t.url,alt:t.alt,id:t.id,isSelected:e.state.selectedImage===n,onRemove:e.onRemoveImage(n),onClick:e.onSelectImage(n),setAttributes:function(t){return e.setImageAttributes(n,t)}})}))]}}]),t}(_.Component);t.a=L},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(17),h=n.n(d),g=n(2),b=(n.n(g),n(1)),m=(n.n(b),n(0)),v=(n.n(m),function(e){function t(){return a()(this,t),u()(this,(t.__proto__||o()(t)).apply(this,arguments))}return p()(t,e),l()(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.image;t&&t.data&&!this.props.url&&this.props.setAttributes({url:t.data.source_url,alt:t.data.alt_text})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.alt,r=e.id,o=e.linkTo,i=e.link,a=e.isSelected,s=e.onClick,l=e.onRemove,c=void 0;switch(o){case"media":c=t;break;case"attachment":c=i}var u=t?wp.element.createElement("img",{src:t,alt:n,"data-id":r}):wp.element.createElement(b.Spinner,null),f=h()("blocks-gallery-image",{"is-selected":a});return wp.element.createElement("figure",{className:f,onClick:s},a&&wp.element.createElement("div",{className:"blocks-gallery-image__inline-menu"},wp.element.createElement(b.IconButton,{icon:"no-alt",onClick:l,className:"blocks-gallery-image__remove",label:Object(m.__)("Remove Image")})),c?wp.element.createElement("a",{href:c},u):u)}}]),t}(g.Component));t.a=Object(b.withAPIData)(function(e){var t=e.id;return{image:t?"/wp/v2/media/"+t:{}}})(v)},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(2)),i=(n.n(o),n(1)),a=(n.n(i),n(656)),s=(n.n(a),n(27)),l=n(83),c=n(64),u=n(38),f=n(422),p=n(43);Object(s.o)("core/heading",{title:Object(r.__)("Heading"),icon:"heading",category:"common",keywords:[Object(r.__)("title"),Object(r.__)("subtitle")],supports:{className:!1,anchor:!0},attributes:{content:{type:"array",source:"children",selector:"h1,h2,h3,h4,h5,h6"},nodeName:{type:"string",source:"property",selector:"h1,h2,h3,h4,h5,h6",property:"nodeName",default:"H2"},align:{type:"string"},placeholder:{type:"string"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/heading",{content:t})}},{type:"raw",isMatch:function(e){return/H\d/.test(e.nodeName)}},{type:"pattern",regExp:/^(#{2,6})\s/,transform:function(e){var t=e.content,n=e.match,r=n[1].length;return Object(s.a)("core/heading",{nodeName:"H"+r,content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(s.a)("core/paragraph",{content:t})}}]},merge:function(e,t){return{content:Object(o.concatChildren)(e.content,t.content)}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,a=e.setFocus,d=e.mergeBlocks,h=e.insertBlocksAfter,g=t.align,b=t.content,m=t.nodeName,v=t.placeholder;return[o&&wp.element.createElement(c.a,{key:"controls",controls:"234".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),o&&wp.element.createElement(u.a,{key:"inspector"},wp.element.createElement(p.a,null,wp.element.createElement("p",null,Object(r.__)("Search engines use the headings to index the structure and content of your web pages."))),wp.element.createElement("h3",null,Object(r.__)("Heading Settings")),wp.element.createElement("p",null,Object(r.__)("Size")),wp.element.createElement(i.Toolbar,{controls:"123456".split("").map(function(e){return{icon:"heading",title:Object(r.sprintf)(Object(r.__)("Heading %s"),e),isActive:"H"+e===m,onClick:function(){return n({nodeName:"H"+e})},subscript:e}})}),wp.element.createElement("p",null,Object(r.__)("Text Alignment")),wp.element.createElement(f.a,{value:g,onChange:function(e){n({align:e})}})),wp.element.createElement(l.a,{key:"editable",tagName:m.toLowerCase(),value:b,focus:o,onFocus:a,onChange:function(e){return n({content:e})},onMerge:d,onSplit:function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),h([].concat(o,[Object(s.a)("core/paragraph",{content:t})]))},style:{textAlign:g},placeholder:v||Object(r.__)("Write heading…")})]},save:function(e){var t=e.attributes,n=t.align,r=t.nodeName,o=t.content,i=r.toLowerCase();return wp.element.createElement(i,{style:{textAlign:n}},o)}})},function(e,t){},function(e,t,n){"use strict";var r=n(11),o=n.n(r),i=n(35),a=n.n(i),s=n(87),l=n.n(s),c=n(0),u=(n.n(c),n(1)),f=(n.n(u),n(658)),p=(n.n(f),n(659)),d=(n.n(p),n(27)),h=n(422),g=n(64),b=n(83),m=n(38),v=n(43),y=function(e){return e.map(function(e){return e.children})},_=function(e){return e.map(function(e){return{children:e}})};Object(d.o)("core/quote",{title:Object(c.__)("Quote"),icon:"format-quote",category:"common",attributes:{value:{type:"array",source:"query",selector:"blockquote > p",query:{children:{source:"node"}},default:[]},citation:{type:"array",source:"children",selector:"footer"},align:{type:"string"},style:{type:"number",default:1}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"pattern",regExp:/^>\s/,transform:function(e){var t=e.content;return Object(d.a)("core/quote",{value:[{children:wp.element.createElement("p",{key:"1"},t)}]})}},{type:"raw",isMatch:function(e){return"BLOCKQUOTE"===e.nodeName}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(d.a)("core/paragraph",{content:n});var s=l()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(d.a)("core/paragraph",{content:s}),Object(d.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(d.a)("core/paragraph",{content:s})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,n=e.citation,r=a()(e,["value","citation"]),i=t[0];if(!i)return Object(d.a)("core/heading",{content:n});var s=l()(i.children)?i.children:i.children.props.children;if(Array.isArray(t)||n){return[Object(d.a)("core/heading",{content:s}),Object(d.a)("core/quote",o()({},r,{citation:n,value:Array.isArray(t)?t.slice(1):[]}))]}return Object(d.a)("core/heading",{content:s})}}]},edit:function(e){var t=e.attributes,n=e.setAttributes,r=e.focus,i=e.setFocus,a=e.mergeBlocks,s=e.className,l=t.align,f=t.value,p=t.citation,d=t.style,w=r?r.editable||"value":null;return[r&&wp.element.createElement(g.a,{key:"controls"},wp.element.createElement(u.Toolbar,{controls:[1,2].map(function(e){return{icon:1===e?"format-quote":"testimonial",title:Object(c.sprintf)(Object(c.__)("Quote style %d"),e),isActive:Number(d)===e,onClick:function(){n({style:e})}}})}),wp.element.createElement(h.a,{value:l,onChange:function(e){n({align:e})}})),r&&wp.element.createElement(m.a,{key:"inspector"},wp.element.createElement(v.a,null,wp.element.createElement("p",null,Object(c.__)("Quote. In quoting others, we cite ourselves. (Julio Cortázar)")))),wp.element.createElement("blockquote",{key:"quote",className:s+" blocks-quote-style-"+d},wp.element.createElement(b.a,{multiline:"p",value:y(f),onChange:function(e){return n({value:_(e)})},focus:"value"===w?r:null,onFocus:function(e){return i(o()({},e,{editable:"value"}))},onMerge:a,style:{textAlign:l},placeholder:Object(c.__)("Write quote…")}),(p&&p.length>0||!!r)&&wp.element.createElement(b.a,{tagName:"footer",value:p,placeholder:Object(c.__)("Write citation…"),onChange:function(e){return n({citation:e})},focus:"citation"===w?r:null,onFocus:function(e){return i(o()({},e,{editable:"citation"}))}}))]},save:function(e){var t=e.attributes,n=t.align,r=t.value,o=t.citation,i=t.style;return wp.element.createElement("blockquote",{className:"blocks-quote-style-"+i,style:{textAlign:n||null}},r.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)}),o&&o.length>0&&wp.element.createElement("footer",null,o))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.title,n=e.icon,r=e.category,o=void 0===r?"embed":r,a=e.transforms,l=e.keywords;return{title:t,icon:n,category:o,keywords:void 0===l?[]:l,attributes:{url:{type:"string"},caption:{type:"array",source:"children",selector:"figcaption",default:[]},align:{type:"string"}},transforms:a,getEditWrapperProps:function(e){var t=e.align;if("left"===t||"right"===t||"wide"===t||"full"===t)return{"data-align":t}},edit:function(e){function r(){s()(this,r);var e=f()(this,(r.__proto__||i()(r)).apply(this,arguments));return e.doServerSideRender=e.doServerSideRender.bind(e),e.state={html:"",type:"",error:!1,fetching:!1},e}return d()(r,e),c()(r,[{key:"componentWillMount",value:function(){this.props.attributes.url&&(this.setState({fetching:!0}),this.doServerSideRender())}},{key:"componentWillUnmount",value:function(){this.unmounting=!0}},{key:"getPhotoHtml",value:function(e){var t=wp.element.createElement("p",null,wp.element.createElement("img",{src:e.thumbnail_url,alt:e.title,width:"100%"}));return Object(v.renderToString)(t)}},{key:"doServerSideRender",value:function(e){var t=this;e&&e.preventDefault();var n=this.props.attributes.url,r=Object(_.a)(wpApiSettings.root+"oembed/1.0/proxy",{url:n,_wpnonce:wpApiSettings.nonce});this.setState({error:!1,fetching:!0}),window.fetch(r,{credentials:"include"}).then(function(e){t.unmounting||e.json().then(function(e){var n=e.html,r=e.type;n?t.setState({html:n,type:r}):"photo"===r?t.setState({html:t.getPhotoHtml(e),type:r}):t.setState({error:!0}),t.setState({fetching:!1})})})}},{key:"render",value:function(){var e=this.state,r=e.html,o=e.type,i=e.error,a=e.fetching,s=this.props.attributes,l=s.align,c=s.url,u=s.caption,f=this.props,p=f.setAttributes,d=f.focus,h=f.setFocus,v=function(e){return p({align:e})},_=[d&&wp.element.createElement(O.a,{key:"controls"},wp.element.createElement(C.a,{value:l,onChange:v})),d&&wp.element.createElement(S.a,{key:"inspector"},wp.element.createElement(j.a,null,wp.element.createElement("p",null,Object(m.__)("The Embed block allows you to easily add videos, images, tweets, audio, and other content to your post or page."))))];if(a)return[_,wp.element.createElement("div",{key:"loading",className:"wp-block-embed is-loading"},wp.element.createElement(y.Spinner,null),wp.element.createElement("p",null,Object(m.__)("Embedding…")))];if(!r){var w=Object(m.sprintf)(Object(m.__)("%s URL"),t);return[_,wp.element.createElement(y.Placeholder,{key:"placeholder",icon:n,label:w,className:"wp-block-embed"},wp.element.createElement("form",{onSubmit:this.doServerSideRender},wp.element.createElement("input",{type:"url",value:c||"",className:"components-placeholder__input","aria-label":w,placeholder:Object(m.__)("Enter URL to embed here…"),onChange:function(e){return p({url:e.target.value})}}),wp.element.createElement(y.Button,{isLarge:!0,type:"submit"},Object(m.__)("Embed")),i&&wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Sorry, we could not embed that content."))))]}var x=Object(b.parse)(c),k=g()(T,x.host.replace(/^www\./,"")),A=Object(m.sprintf)(Object(m.__)("Embedded content from %s"),x.host),R="wp-block-embed";return"video"===o&&(R+=" is-video"),[_,wp.element.createElement("figure",{key:"embed",className:R},k?wp.element.createElement(y.Placeholder,{icon:n,label:Object(m.__)("Embed URL")},wp.element.createElement("p",{className:"components-placeholder__error"},wp.element.createElement("a",{href:c},c)),wp.element.createElement("p",{className:"components-placeholder__error"},Object(m.__)("Previews for this are unavailable in the editor, sorry!"))):wp.element.createElement("div",{className:"wp-block-embed__wrapper"},wp.element.createElement(y.SandBox,{html:r,title:A,type:o})),u&&u.length>0||d?wp.element.createElement(E.a,{tagName:"figcaption",placeholder:Object(m.__)("Write caption…"),value:u,focus:d,onFocus:h,onChange:function(e){return p({caption:e})},inlineToolbar:!0}):null)]}}]),r}(v.Component),save:function(e){var t=e.attributes,n=t.url,r=t.caption,o=t.align;if(n)return wp.element.createElement("figure",{className:o?"align"+o:null},"\n"+n+"\n",r&&r.length>0&&wp.element.createElement("figcaption",null,r))}}}var o=n(3),i=n.n(o),a=n(4),s=n.n(a),l=n(5),c=n.n(l),u=n(6),f=n.n(u),p=n(7),d=n.n(p),h=n(156),g=n.n(h),b=n(419),m=(n.n(b),n(0)),v=(n.n(m),n(2)),y=(n.n(v),n(1)),_=(n.n(y),n(266)),w=n(661),x=(n.n(w),n(662)),k=(n.n(x),n(27)),E=n(83),O=n(64),C=n(101),S=n(38),j=n(43),T=["facebook.com"];Object(k.o)("core/embed",r({title:Object(m.__)("Embed"),icon:"embed-generic",transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*/i.test(e.textContent)},transform:function(e){return Object(k.a)("core/embed",{url:e.textContent.trim()})}}]}})),Object(k.o)("core-embed/twitter",r({title:"Twitter",icon:"embed-post",keywords:[Object(m.__)("tweet")]})),Object(k.o)("core-embed/youtube",r({title:"YouTube",icon:"embed-video",keywords:[Object(m.__)("music"),Object(m.__)("video")]})),Object(k.o)("core-embed/facebook",r({title:"Facebook",icon:"embed-post"})),Object(k.o)("core-embed/instagram",r({title:"Instagram",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.o)("core-embed/wordpress",r({title:"WordPress",icon:"embed-post",keywords:[Object(m.__)("post"),Object(m.__)("blog")]})),Object(k.o)("core-embed/soundcloud",r({title:"SoundCloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/spotify",r({title:"Spotify",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/flickr",r({title:"Flickr",icon:"embed-photo",keywords:[Object(m.__)("image")]})),Object(k.o)("core-embed/vimeo",r({title:"Vimeo",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.o)("core-embed/animoto",r({title:"Animoto",icon:"embed-video"})),Object(k.o)("core-embed/cloudup",r({title:"Cloudup",icon:"embed-post"})),Object(k.o)("core-embed/collegehumor",r({title:"CollegeHumor",icon:"embed-video"})),Object(k.o)("core-embed/dailymotion",r({title:"Dailymotion",icon:"embed-video"})),Object(k.o)("core-embed/funnyordie",r({title:"Funny or Die",icon:"embed-video"})),Object(k.o)("core-embed/hulu",r({title:"Hulu",icon:"embed-video"})),Object(k.o)("core-embed/imgur",r({title:"Imgur",icon:"embed-photo"})),Object(k.o)("core-embed/issuu",r({title:"Issuu",icon:"embed-post"})),Object(k.o)("core-embed/kickstarter",r({title:"Kickstarter",icon:"embed-post"})),Object(k.o)("core-embed/meetup-com",r({title:"Meetup.com",icon:"embed-post"})),Object(k.o)("core-embed/mixcloud",r({title:"Mixcloud",icon:"embed-audio",keywords:[Object(m.__)("music"),Object(m.__)("audio")]})),Object(k.o)("core-embed/photobucket",r({title:"Photobucket",icon:"embed-photo"})),Object(k.o)("core-embed/polldaddy",r({title:"Polldaddy",icon:"embed-post"})),Object(k.o)("core-embed/reddit",r({title:"Reddit",icon:"embed-post"})),Object(k.o)("core-embed/reverbnation",r({title:"ReverbNation",icon:"embed-audio"})),Object(k.o)("core-embed/screencast",r({title:"Screencast",icon:"embed-video"})),Object(k.o)("core-embed/scribd",r({title:"Scribd",icon:"embed-post"})),Object(k.o)("core-embed/slideshare",r({title:"Slideshare",icon:"embed-post"})),Object(k.o)("core-embed/smugmug",r({title:"SmugMug",icon:"embed-photo"})),Object(k.o)("core-embed/speaker",r({title:"Speaker",icon:"embed-audio"})),Object(k.o)("core-embed/ted",r({title:"TED",icon:"embed-video"})),Object(k.o)("core-embed/tumblr",r({title:"Tumblr",icon:"embed-post"})),Object(k.o)("core-embed/videopress",r({title:"VideoPress",icon:"embed-video",keywords:[Object(m.__)("video")]})),Object(k.o)("core-embed/vine",r({title:"Vine",icon:"embed-video"})),Object(k.o)("core-embed/wordpress-tv",r({title:"WordPress.tv",icon:"embed-video"}))},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(39),h=n.n(d),g=n(11),b=n.n(g),m=n(117),v=n.n(m),y=n(664),_=n.n(y),w=n(55),x=n.n(w),k=n(258),E=n.n(k),O=n(54),C=n.n(O),S=n(2),j=(n.n(S),n(0)),T=(n.n(j),n(665)),A=(n.n(T),n(27)),R=n(83),P=n(64),N=n(38),L=n(43),M=function(e){if(void 0===e)return e;var t=[];return t.push(Object(S.createElement)("li",[],[])),e.forEach(function(e,n,r){"br"===e.type&&n<r.length-1?t.push(Object(S.createElement)("li",[],[])):t[t.length-1].props.children.push(e)}),t};Object(A.o)("core/list",{title:Object(j.__)("List"),icon:"editor-ul",category:"common",keywords:[Object(j.__)("bullet list"),Object(j.__)("ordered list"),Object(j.__)("numbered list")],attributes:{nodeName:{type:"string",source:"property",selector:"ol,ul",property:"nodeName",default:"UL"},values:{type:"array",source:"children",selector:"ol,ul",default:[]}},supports:{className:!1},transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:function(e){return Object(A.a)("core/list",{nodeName:"UL",values:e.map(function(e,t){var n=e.content;return wp.element.createElement("li",{key:t},n)})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.value,n=e.citation;return Object(A.a)("core/list",{nodeName:"UL",values:t.map(function(e,t){return wp.element.createElement("li",{key:t},x()(e,"children.props.children","")," ")}).concat(n?wp.element.createElement("li",{key:"citation"},n):[])})}},{type:"raw",isMatch:function(e){return"OL"===e.nodeName||"UL"===e.nodeName}},{type:"pattern",regExp:/^[*-]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"UL",values:M(t)})}},{type:"pattern",regExp:/^1[.)]\s/,transform:function(e){var t=e.content;return Object(A.a)("core/list",{nodeName:"OL",values:M(t)})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return E()(t.map(function(e){return x()(e,"props.children",null)})).map(function(e){return Object(A.a)("core/paragraph",{content:e})})}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values;return Object(A.a)("core/quote",{value:(1===t.length?t:_()(t)).map(function(e){return{children:wp.element.createElement("p",null," ",x()(e,"props.children")," ")}}),citation:1===t.length?void 0:x()(v()(t),"props.children")})}}]},merge:function(e,t){var n=t.values||[];return t.content&&n.push(t.content),b()({},e,{values:[].concat(h()(e.values),h()(n))})},edit:function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.setupEditor=e.setupEditor.bind(e),e.getEditorSettings=e.getEditorSettings.bind(e),e.setNextValues=e.setNextValues.bind(e),e.state={internalListType:null},e}return p()(t,e),l()(t,[{key:"isListActive",value:function(e){var t=this.state.internalListType,n=this.props.attributes.nodeName;return e===(t||n)}},{key:"findInternalListType",value:function(e){var t=e.parents,n=C()(t,function(e){return"UL"===e.nodeName||"OL"===e.nodeName});return n?n.nodeName:null}},{key:"setupEditor",value:function(e){var t=this;e.on("nodeChange",function(e){t.setState({internalListType:t.findInternalListType(e)})}),/^(?:fr|nl|sv|ru|de|es|it)/.test(window.navigator.browserLanguage||window.navigator.language)?(e.shortcuts.add("meta+shift+m","Decrease indent","Outdent"),e.shortcuts.add("meta+m","Increase indent","Indent")):(e.shortcuts.add("meta+219","Decrease indent","Outdent"),e.shortcuts.add("meta+221","Increase indent","Indent")),this.editor=e}},{key:"createSetListType",value:function(e,t){var n=this;return function(){var r=n.props.setAttributes,o=n.state.internalListType;o?o!==e&&n.editor&&n.editor.execCommand(t):r({nodeName:e})}}},{key:"createExecCommand",value:function(e){var t=this;return function(){t.editor&&t.editor.execCommand(e)}}},{key:"getEditorSettings",value:function(e){return b()({},e,{plugins:(e.plugins||[]).concat("lists"),lists_indent_on_tab:!1})}},{key:"setNextValues",value:function(e){this.props.setAttributes({values:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.focus,r=e.setFocus,o=e.insertBlocksAfter,i=e.setAttributes,a=e.mergeBlocks,s=t.nodeName,l=t.values;return[n&&wp.element.createElement(P.a,{key:"controls",controls:[{icon:"editor-ul",title:Object(j.__)("Convert to unordered list"),isActive:this.isListActive("UL"),onClick:this.createSetListType("UL","InsertUnorderedList")},{icon:"editor-ol",title:Object(j.__)("Convert to ordered list"),isActive:this.isListActive("OL"),onClick:this.createSetListType("OL","InsertOrderedList")},{icon:"editor-outdent",title:Object(j.__)("Outdent list item"),onClick:this.createExecCommand("Outdent")},{icon:"editor-indent",title:Object(j.__)("Indent list item"),onClick:this.createExecCommand("Indent")}]}),n&&wp.element.createElement(N.a,{key:"inspector"},wp.element.createElement(L.a,null,wp.element.createElement("p",null,Object(j.__)("List. Numbered or bulleted."))),wp.element.createElement("p",null,Object(j.__)("No advanced options."))),wp.element.createElement(R.a,{multiline:"li",key:"editable",tagName:s.toLowerCase(),getSettings:this.getEditorSettings,onSetup:this.setupEditor,onChange:this.setNextValues,value:l,focus:n,onFocus:r,wrapperClassName:"blocks-list",placeholder:Object(j.__)("Write list…"),onMerge:a,onSplit:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];r.length||r.push(Object(A.a)("core/paragraph")),t.length&&r.push(Object(A.a)("core/list",{nodeName:s,values:t})),i({values:e}),o(r)}})]}}]),t}(S.Component),save:function(e){var t=e.attributes,n=t.nodeName,r=t.values;return Object(S.createElement)(n.toLowerCase(),null,r)}})},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,0,-1):[]}var o=n(174);e.exports=r},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(667)),i=(n.n(o),n(27)),a=n(38),s=n(43);Object(i.o)("core/separator",{title:Object(r.__)("Separator"),icon:"minus",category:"layout",keywords:[Object(r.__)("horizontal-line"),"hr",Object(r.__)("divider")],transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^-{3,}$/,transform:function(){return Object(i.a)("core/separator")}},{type:"raw",isMatch:function(e){return"HR"===e.nodeName}}]},edit:function(e){var t=e.focus,n=e.className;return[t&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)("Use the separator to indicate a thematic change in the content.")))),wp.element.createElement("hr",{key:"hr",className:n})]},save:function(){return wp.element.createElement("hr",null)}})},function(e,t){},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(669)),i=(n.n(o),n(27)),a=n(38),s=n(43),l=n(170);Object(i.o)("core/more",{title:Object(r.__)("More"),icon:"editor-insertmore",category:"layout",useOnce:!0,supportHTML:!1,supports:{customClassName:!1,className:!1},attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.focus,i=e.setFocus,c=t.customText,u=t.noTeaser,f=function(){return n({noTeaser:!u})},p=Object(r.__)("Read more"),d=void 0!==c?c:p,h=d.length?d.length+1:1;return[o&&wp.element.createElement(a.a,{key:"inspector"},wp.element.createElement(s.a,null,wp.element.createElement("p",null,Object(r.__)('"More" allows you to break your post into a part shown on index pages, and the subsequent after clicking a "Read More" link.'))),wp.element.createElement(l.a,{label:Object(r.__)('Hide the teaser before the "More" tag'),checked:!!u,onChange:f})),wp.element.createElement("div",{key:"more-tag",className:"wp-block-more"},wp.element.createElement("input",{type:"text",value:d,size:h,onChange:function(e){return n({customText:e.target.value})},onFocus:i}))]},save:function(){return null}})},function(e,t){},function(e,t,n){"use strict";var r=n(3),o=n.n(r),i=n(4),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),f=n(7),p=n.n(f),d=n(0),h=(n.n(d),n(2)),g=(n.n(h),n(1)),b=(n.n(g),n(671)),m=(n.n(b),n(672)),v=(n.n(m),n(27)),y=n(83),_=n(417),w=n(64),x=n(170),k=n(101),E=n(464),O=n(509),C=n(38),S=n(43),j=window,T=j.getComputedStyle,A=Object(g.withFallbackStyles)(function(e,t){var n=t.textColor,r=t.backgroundColor,o=!n&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:r||!e?void 0:T(e).backgroundColor,fallbackTextColor:n||!o?void 0:T(o).color}})(O.a),R=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||o()(t)).apply(this,arguments));return e.nodeRef=null,e.bindRef=e.bindRef.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.toggleClear=e.toggleClear.bind(e),e}return p()(t,e),l()(t,[{key:"updateAlignment",value:function(e){this.props.setAttributes({align:e})}},{key:"toggleClear",value:function(){var e=this.props,t=e.attributes;(0,e.setAttributes)({clear:!t.clear})}},{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.focus,o=e.setFocus,i=e.className,a=t.text,s=t.url,l=t.title,c=t.align,u=t.color,f=t.textColor,p=t.clear;return[r&&wp.element.createElement(w.a,{key:"controls"},wp.element.createElement(k.a,{value:c,onChange:this.updateAlignment})),wp.element.createElement("span",{key:"button",className:i,title:l,style:{backgroundColor:u},ref:this.bindRef},wp.element.createElement(y.a,{tagName:"span",placeholder:Object(d.__)("Add text…"),value:a,focus:r,onFocus:o,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],style:{color:f},keepPlaceholderOnFocus:!0}),r&&wp.element.createElement(C.a,{key:"inspector"},wp.element.createElement(S.a,null,wp.element.createElement("p",null,Object(d.__)("A nice little button. Call something out with it."))),wp.element.createElement(x.a,{label:Object(d.__)("Stand on a line"),checked:!!p,onChange:this.toggleClear}),wp.element.createElement(g.PanelColor,{title:Object(d.__)("Background Color"),colorValue:u},wp.element.createElement(E.a,{value:u,onChange:function(e){return n({color:e})}})),wp.element.createElement(g.PanelColor,{title:Object(d.__)("Text Color"),colorValue:f},wp.element.createElement(E.a,{value:f,onChange:function(e){return n({textColor:e})}})),this.nodeRef&&wp.element.createElement(A,{node:this.nodeRef,textColor:f,backgroundColor:u,isLargeText:!0}))),r&&wp.element.createElement("form",{key:"form-link",className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(g.Dashicon,{icon:"admin-links"}),wp.element.createElement(_.a,{value:s,onChange:function(e){return n({url:e})}}),wp.element.createElement(g.IconButton,{icon:"editor-break",label:Object(d.__)("Apply"),type:"submit"}))]}}]),t}(h.Component);Object(v.o)("core/button",{title:Object(d.__)("Button"),icon:"button",category:"layout",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"none"},color:{type:"string"},textColor:{type:"string"}},getEditWrapperProps:function(e){var t=e.align,n=e.clear,r={};return"left"!==t&&"right"!==t&&"center"!==t||(r["data-align"]=t),n&&(r["data-clear"]="true"),r},edit:R,save:function(e){var t=e.attributes,n=t.url,r=t.text,o=t.title,i=t.align,a=t.color,s=t.textColor;return wp.element.createElement("div",{className:"align"+i,style:{backgroundColor:a}},wp.element.createElement("a",{href:n,title:o,style:{color:s}},r))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n(674);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(694);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n(696);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n(698);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n(702);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var c=n(710);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(c).default}});var u=n(712);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(u).default}});var f=n(714);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(f).default}});var p=n(715);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(p).default}});var d=n(721);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(d).default}});var h=n(724);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var g=n(728);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(g).default}});var b=n(731);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(b).default}});var m=n(507);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(m).default}});var v=r(s);t.default=v.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(45),u=n(693),f=r(u),p=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,i=e.height,s=e.onChange,u=e.direction,f=e.style,p=e.renderers,d=e.pointer,h=(0,l.default)({default:{picker:{position:"relative",width:r,height:i},alpha:{radius:"2px",style:f}}});return a.default.createElement("div",{style:h.picker,className:"alpha-picker"},a.default.createElement(c.Alpha,o({},h.alpha,{rgb:t,hsl:n,pointer:d,renderers:p,onChange:s,direction:u})))};p.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var o=n(87),i=r(o),a=n(465),s=r(a),l=n(265),c=r(l),u=n(63),f=r(u),p=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,f.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,c.default)(t)?(0,s.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var o=n(465),i=r(o),a=n(677),s=r(a),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=l({},n[t],r[t])}),t}),n};t.default=c},function(e,t,n){function r(e){return o(e,i|a)}var o=n(268),i=1,a=4;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(465),o=function(e){return e&&e.__esModule?e:{default:e}}(r),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,function(e,n){var r={};(0,o.default)(e,function(e,t){var n=a[t];n?r=i({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return l.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return l.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=n(683),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),g=n(506),b=r(g),m=t.Alpha=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=h.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,p.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden"},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:s({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return u.default.createElement("div",{style:n.alpha},u.default.createElement("div",{style:n.checkboard},u.default.createElement(b.default,{renderers:this.props.renderers})),u.default.createElement("div",{style:n.gradient}),u.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("div",{style:n.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:n.slider}))))}}]),t}(c.PureComponent||c.Component);t.default=m},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(u=c<0?0:c>i?1:Math.round(100*c/i)/100,n.hsl.a!==u)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:u,source:"rgb"}}else{var f=void 0;if(f=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}function o(e,t,n,o){var a=e+"-"+t+"-"+n+(o?"-server":""),s=r(e,t,n,o);return i[a]?i[a]:(i[a]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=r,t.get=o;var i={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=t.EditableInput=function(e){function t(e){i(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,e.target.value),e):n.props.onChange&&n.props.onChange(e.target.value,e),n.setState({value:e.target.value})},n.handleKeyDown=function(e){var t=String(e.target.value),r=t.indexOf("%")>-1,i=Number(t.replace(/%/g,""));if(!isNaN(i)){var a=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i+a),e):n.props.onChange&&n.props.onChange(i+a,e),r?n.setState({value:i+a+"%"}):n.setState({value:i+a})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(o({},n.props.label,i-a),e):n.props.onChange&&n.props.onChange(i-a,e),r?n.setState({value:i-a+"%"}):n.setState({value:i-a}))}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,p.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return u.default.createElement("div",{style:t.wrap},u.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label?u.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(c.PureComponent||c.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(687),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=t.Hue=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.handleChange=function(e,t){var n=d.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,f.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%"},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return c.default.createElement("div",{style:r.hue},c.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),c.default.createElement("div",{style:r.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:r.slider}))))}}]),t}(l.PureComponent||l.Component);t.default=h},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var u=void 0;if(c<0)u=359;else if(c>i)u=0;else{var f=-100*c/i+100;u=360*f/100}if(n.hsl.h!==u)return{h:u,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var p=void 0;if(l<0)p=0;else if(l>o)p=359;else{var d=100*l/o;p=360*d/100}if(n.hsl.h!==p)return{h:p,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(373),d=r(p),h=n(689),g=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),b=t.Saturation=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.onChange&&n.throttle(n.props.onChange,g.calculateChange(e,t,n.props,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,d.default)(function(e,t,n){e(t,n)},50),n}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,i=t.pointer,a=t.circle,s=(0,f.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:i,circle:a}},{custom:!!this.props.style});return c.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),c.default.createElement("div",{style:s.white,className:"saturation-white"},c.default.createElement("div",{style:s.black,className:"saturation-black"}),c.default.createElement("div",{style:s.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:s.circle}))))}}]),t}(l.PureComponent||l.Component);t.default=b},function(e,t,n){"use strict";function r(e,t,n,r){e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:c<0?c=0:c>i&&(c=i);var u=100*l/o,f=-100*c/i+100;return{h:n.hsl.h,s:u,v:f,a:n.hsl.a,source:"rgb"}}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},function(e,t,n){var r;!function(){function o(e,t){if(e=e||"",t=t||{},e instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=i(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=q(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=q(this._r)),this._g<1&&(this._g=q(this._g)),this._b<1&&(this._b=q(this._b)),this._ok=n.ok,this._tc_id=z++}function i(e){var t={r:0,g:0,b:0},n=1,r=!1,o=!1;if("string"==typeof e&&(e=D(e)),"object"==typeof e){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b"))t=a(e.r,e.g,e.b),r=!0,o="%"===String(e.r).substr(-1)?"prgb":"rgb";else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){var i=N(e.s,1),s=N(e.v,1);t=u(e.h,i,s),r=!0,o="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){var i=N(e.s),c=N(e.l);t=l(e.h,i,c),r=!0,o="hsl"}e.hasOwnProperty("a")&&(n=e.a)}return n=C(n),{ok:r,format:e.format||o,r:U(255,K(t.r,0)),g:U(255,K(t.g,0)),b:U(255,K(t.b,0)),a:n}}function a(e,t,n){return{r:255*S(e,255),g:255*S(t,255),b:255*S(n,255)}}function s(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function l(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=S(e,360),t=S(t,100),n=S(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function c(e,t,n){e=S(e,255),t=S(t,255),n=S(n,255);var r,o,i=K(e,t,n),a=U(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function u(e,t,n){e=6*S(e,360),t=S(t,100),n=S(n,100);var r=H.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}function f(e,t,n,r){var o=[P(q(e).toString(16)),P(q(t).toString(16)),P(q(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function p(e,t,n,r){return[P(L(r)),P(q(e).toString(16)),P(q(t).toString(16)),P(q(n).toString(16))].join("")}function d(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=j(n.s),o(n)}function h(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=j(n.s),o(n)}function g(e){return o(e).desaturate(100)}function b(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=j(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=K(0,U(255,n.r-q(-t/100*255))),n.g=K(0,U(255,n.g-q(-t/100*255))),n.b=K(0,U(255,n.b-q(-t/100*255))),o(n)}function v(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=j(n.l),o(n)}function y(e,t){var n=o(e).toHsl(),r=(q(n.h)+t)%360;return n.h=r<0?360+r:r,o(n)}function _(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function w(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+120)%360,s:t.s,l:t.l}),o({h:(n+240)%360,s:t.s,l:t.l})]}function x(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+90)%360,s:t.s,l:t.l}),o({h:(n+180)%360,s:t.s,l:t.l}),o({h:(n+270)%360,s:t.s,l:t.l})]}function k(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function E(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),i=360/n,a=[o(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function O(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],l=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+l)%1;return s}function C(e){var t=parseFloat(e);return(isNaN(t)||t<0||t>1)&&(t=1),t}function S(e,t){A(e)&&(e="100%");var n=R(e);return e=U(t,K(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),H.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function j(e){return U(1,K(0,e))}function T(e){return parseInt(e,16)}function A(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function R(e){return"string"==typeof e&&-1!=e.indexOf("%")}function P(e){return 1==e.length?"0"+e:""+e}function N(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}function L(e){return Math.round(255*parseFloat(e)).toString(16)}function M(e){return T(e)/255}function D(e){e=e.replace(I,"").replace(F,"").toLowerCase();var t=!1;if(W[e])e=W[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=$.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=$.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=$.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=$.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$.hex8.exec(e))?{a:M(n[1]),r:T(n[2]),g:T(n[3]),b:T(n[4]),format:t?"name":"hex8"}:(n=$.hex6.exec(e))?{r:T(n[1]),g:T(n[2]),b:T(n[3]),format:t?"name":"hex"}:!!(n=$.hex3.exec(e))&&{r:T(n[1]+""+n[1]),g:T(n[2]+""+n[2]),b:T(n[3]+""+n[3]),format:t?"name":"hex"}}function B(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var I=/^[\s,#]+/,F=/\s+$/,z=0,H=Math,q=H.round,U=H.min,K=H.max,V=H.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,i,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),i=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=C(e),this._roundA=q(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=q(360*e.h),n=q(100*e.s),r=q(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return p(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:q(this._r),g:q(this._g),b:q(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+q(this._r)+", "+q(this._g)+", "+q(this._b)+")":"rgba("+q(this._r)+", "+q(this._g)+", "+q(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:q(100*S(this._r,255))+"%",g:q(100*S(this._g,255))+"%",b:q(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%)":"rgba("+q(100*S(this._r,255))+"%, "+q(100*S(this._g,255))+"%, "+q(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(G[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){n=o(e).toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(E,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:N(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:V(),g:V(),b:V()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r,i=o(e).toRgb(),a=o(t).toRgb(),s=n/100,l=2*s-1,c=a.a-i.a;r=l*c==-1?l:(l+c)/(1+l*c),r=(r+1)/2;var u=1-r;return o({r:a.r*r+i.r*u,g:a.g*r+i.g*u,b:a.b*r+i.b*u,a:a.a*s+i.a*(1-s)})},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a=o.readability(e,t);switch(i=!1,r=B(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,l=null,c=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=o.readability(e,t[u]))>c&&(c=r,l=o(t[u]));return o.isReadable(e,l,{level:a,size:s})||!i?l:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var W=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},G=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(W),$=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(692),u=n(45),f=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,i=void 0===r?function(){}:r,s=e.onHover,c=e.title,f=void 0===c?t:c,p=e.children,d=e.focus,h=e.focusStyle,g=void 0===h?{}:h,b="transparent"===t,m=(0,l.default)({default:{swatch:o({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?g:{})}}),v=function(e){return i(t,e)},y=function(e){return 13===e.keyCode&&i(t,e)},_=function(e){return s(t,e)},w={};return s&&(w.onMouseOver=_),a.default.createElement("div",o({style:m.swatch,onClick:v,title:f,tabIndex:0,onKeyDown:y},w),p,b&&a.default.createElement(u.Checkboard,{borderRadius:m.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,c.handleFocus)(f)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(13),l=function(e){return e&&e.__esModule?e:{default:e}}(s);t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var n,i,c,u;r(this,s);for(var f=arguments.length,p=Array(f),d=0;d<f;d++)p[d]=arguments[d];return i=c=o(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(p))),c.state={focus:!1},c.handleFocus=function(){return c.setState({focus:!0})},c.handleBlur=function(){return c.setState({focus:!1})},c.render=function(){return l.default.createElement(t,{onFocus:c.handleFocus,onBlur:c.handleBlur},l.default.createElement(e,a({},c.props,c.state)))},u=i,o(c,u)}return i(s,n),s}(l.default.Component)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.AlphaPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=n(695),p=r(f),d=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,f="transparent"===r,d=function(e,n){c.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},h=(0,s.default)({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:f?"rgba(0,0,0,0.4)":"#fff",position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===l});return i.default.createElement("div",{style:h.card,className:"block-picker"},i.default.createElement("div",{style:h.triangle}),i.default.createElement("div",{style:h.head},f&&i.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),i.default.createElement("div",{style:h.label},r)),i.default.createElement("div",{style:h.body},i.default.createElement(p.default,{colors:o,onClick:d,onSwatchHover:n}),i.default.createElement(u.EditableInput,{style:{input:h.input},value:r,onChange:d})))};d.defaultProps={width:"170px",colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(45),f=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,o=(0,s.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return i.default.createElement("div",{style:o.swatches},(0,c.default)(t,function(e){return i.default.createElement(u.Swatch,{key:e,color:e,style:o.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:o.clear}))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(508),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),p=n(45),d=n(697),h=r(d),g=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,o=e.colors,a=e.hex,l=e.circleSize,u=e.circleSpacing,f=(0,s.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}}),p=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:f.card,className:"circle-picker"},(0,c.default)(o,function(e){return i.default.createElement(h.default,{key:e,color:e,onClick:p,onSwatchHover:r,active:a===e.toLowerCase(),circleSize:l,circleSpacing:u})}))};g.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[f.red[500],f.pink[500],f.purple[500],f.deepPurple[500],f.indigo[500],f.blue[500],f.lightBlue[500],f.cyan[500],f.teal[500],f.green[500],f.lightGreen[500],f.lime[500],f.yellow[500],f.amber[500],f.orange[500],f.deepOrange[500],f.brown[500],f.blueGrey[500]]},t.default=(0,p.ColorWrap)(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,o=e.hover,a=e.active,c=e.circleSize,u=e.circleSpacing,f=(0,s.default)({default:{swatch:{width:c,height:c,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:o,active:a});return i.default.createElement("div",{style:f.swatch},i.default.createElement(l.Swatch,{style:f.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};c.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(699),u=r(c),f=n(700),p=r(f),d=n(701),h=r(d),g=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,a=e.hsv,c=e.hex,f=e.renderers,d=(0,s.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:n});return i.default.createElement("div",{style:d.picker,className:"chrome-picker"},i.default.createElement("div",{style:d.saturation},i.default.createElement(l.Saturation,{style:d.Saturation,hsl:o,hsv:a,pointer:h.default,onChange:t})),i.default.createElement("div",{style:d.body},i.default.createElement("div",{style:d.controls,className:"flexbox-fix"},i.default.createElement("div",{style:d.color},i.default.createElement("div",{style:d.swatch},i.default.createElement("div",{style:d.active}),i.default.createElement(l.Checkboard,{renderers:f}))),i.default.createElement("div",{style:d.toggles},i.default.createElement("div",{style:d.hue},i.default.createElement(l.Hue,{style:d.Hue,hsl:o,pointer:p.default,onChange:t})),i.default.createElement("div",{style:d.alpha},i.default.createElement(l.Alpha,{style:d.Alpha,rgb:r,hsl:o,pointer:p.default,renderers:f,onChange:t})))),i.default.createElement(u.default,{rgb:r,hsl:o,hex:c,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(176),d=r(p),h=n(45),g=t.ChromeFields=function(e){function t(){var e,n,r,a;o(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.state={view:""},r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?d.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:e.s&&e.s||r.props.hsl.s,l:e.l&&e.l||r.props.hsl.l,source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,f.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=c.default.createElement("div",{style:t.fields,className:"flexbox-fix"},c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.field},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),c.default.createElement("div",{style:t.alpha},c.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),c.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,c.default.createElement("div",{style:t.toggle},c.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},c.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},c.default.createElement("path",{ref:function(t){return e.iconUp=t},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),c.default.createElement("path",{ref:function(t){return e.iconDown=t},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(c.default.Component);t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointer=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.ChromePointerCircle=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(467),d=n(45),h=n(708),g=r(h),b=n(709),m=r(b),v=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,o=e.hex,a=e.rgb,l=(0,s.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),u=function(e,n){e.hex?f.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return i.default.createElement(p.Raised,{style:l.Compact},i.default.createElement("div",{style:l.compact,className:"compact-picker"},i.default.createElement("div",null,(0,c.default)(r,function(e){return i.default.createElement(g.default,{key:e,color:e,active:e.toLowerCase()===o,onClick:u,onSwatchHover:n})}),i.default.createElement("div",{style:l.clear})),i.default.createElement(m.default,{hex:o,rgb:a,onChange:u})))};v.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,d.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(179),f=r(u),p=n(20),d=r(p),h=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,d.default)({default:{wrap:{position:"relative"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 ${ this.props.zDepth }px ${ this.props.zDepth * 4 }px rgba(0,0,0,.24)",borderRadius:this.props.radius,background:this.props.background}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},this.props);return c.default.createElement("div",{style:e.wrap},c.default.createElement("div",{style:e.bg}),c.default.createElement("div",{style:e.content},this.props.children))}}]),t}(c.default.Component);h.propTypes={background:f.default.string,zDepth:f.default.oneOf(["0","1","2","3","4","5",0,1,2,3,4,5]),radius:f.default.oneOfType([f.default.string,f.default.number])},h.defaultProps={background:"#fff",zDepth:"1",radius:"2px"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(13),u=r(c),f=n(20),p=r(f),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"render",value:function(){var e=(0,p.default)({default:{tile:{fontSize:"16px",padding:"16px",display:"flex",justifyContent:"space-between",color:this.props.color},primary:{display:"flex",width:"100%"},sidebar:{minWidth:"56px",maxWidth:"56px",flexBasis:"56px"},content:{background:"none",flex:"1",overflow:"auto"},secondary:{flexBasis:"42",textAlign:"center"},sidebarIcon:{marginTop:"-12px",marginLeft:"-12px",marginBottom:"-12px"}},divider:{tile:{boxShadow:"inset 0 -1px 0 rgba(0,0,0,.12)"}},condensed:{tile:{paddingBottom:"0px",paddingTop:"0px",paddingRight:"0px"},sidebar:{minWidth:"28px",maxWidth:"28px",flexBasis:"28px"}}},{clickable:this.props.onClick},this.props),t=s(this.props.children,2),n=t[0],r=t[1];return u.default.createElement("div",{style:e.tile,className:"flexbox-fix"},u.default.createElement("div",{style:e.primary,className:"flexbox-fix"},u.default.createElement("div",{style:e.sidebar,key:"sidebar-#{ sidebar }"},n),u.default.createElement("div",{style:e.content,key:"content-#{ content }"},r)))}}]),t}(u.default.Component);t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(87),d=r(p),h=n(706),g=r(h),b=n(707),m=r(b),v=function(e){function t(e){o(this,t);var n,r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n=e.selectedTab<(e.tabs&&e.tabs.length)?e.selectedTab:0,r.state={selectedTab:n},r.handleClick=r.handleClick.bind(r),r.slide=r.slide.bind(r),r}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onChange&&this.props.onChange(e),this.setState({selectedTab:e})}},{key:"slide",value:function(){if(this.props.tabs.length){var e=this.refs.tabs.getDOMNode(),t=e.scrollLeft,n=e.offsetWidth+e.scrollLeft,r=this.refs["tab-"+this.state.selectedTab]&&this.refs["tab-"+this.state.selectedTab].getDOMNode(),o=r&&r.getBoundingClientRect().left-e.getBoundingClientRect().left+e.scrollLeft,i=r&&o+r.offsetWidth;i>n&&(e.scrollLeft+=i-n),o<t&&(e.scrollLeft-=t-o);var a=this.refs.indicator;a.style.left=o+"px",a.style.width=r.offsetWidth+"px",a.style.height="2px"}}},{key:"componentDidMount",value:function(){this.slide()}},{key:"componentWillReceiveProps",value:function(e){e.selectedTab!==this.state.selectedTab&&this.setState({selectedTab:e.selectedTab})}},{key:"componentWillUpdate",value:function(e,t){t.selectedTab>=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,f.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],n=0;n<this.props.tabs.length;n++){var r,o,i,a,s=this.props.tabs[n];(0,d.default)(s)?(r=s,o=null):(r=s.label,o=s.onClick,i=s.callbackValue,a=s.newTab),t.push(c.default.createElement("div",{style:e.tab,ref:"tab-"+n,key:n},c.default.createElement(m.default,{onClick:o,callbackValue:i,newTab:a},c.default.createElement(g.default,{style:e.Tab,tab:n,selected:this.state.selectedTab===n,selectable:s.selectable,onClick:this.handleClick},r))))}return c.default.createElement("div",{style:e.tabs,ref:"tabs"},c.default.createElement("div",{style:e.tabWrap,className:"flexbox-fix"},t),c.default.createElement("div",{style:e.indicator,ref:"indicator"}))}}]),t}(c.default.Component);v.defaultProps={selectedTab:0,background:"transparent",color:"#fff"},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(179),f=r(u),p=n(20),d=r(p),h=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(){!1!==this.props.selectable&&this.props.onClick(this.props.tab)}},{key:"render",value:function(){var e=(0,d.default)({default:{tab:{color:this.props.inactive||this.props.color,cursor:"pointer",paddingLeft:"12px",paddingRight:"12px",height:"48px",lineHeight:"48px",textAlign:"center",fontSize:"14px",textTransform:!1===this.props.capitalize?"":"uppercase",fontWeight:"500",whiteSpace:"nowrap",opacity:".47",transition:"opacity 100ms linear"}},selected:{tab:{color:this.props.color,opacity:".87"}}},this.props);return c.default.createElement("div",{style:e.tab,onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);h.propTypes={selected:f.default.bool},h.defaultProps={selected:!1,color:"#fff"},t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(87),f=r(u),p=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleClick=e.handleClick.bind(e),e}return a(t,e),s(t,[{key:"handleClick",value:function(e){this.props.onClick&&this.props.onClick(e,this.props.callbackValue)}},{key:"render",value:function(){return(0,f.default)(this.props.onClick)?c.default.createElement("a",{style:{textDecoration:"none"},href:this.props.onClick,target:this.props.newTab&&"_blank"},this.props.children):c.default.createElement("a",{style:{textDecoration:"none"},onClick:this.handleClick},this.props.children)}}]),t}(c.default.Component);p.defaultProps={newTab:!1},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.active,c=(0,s.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:"#fff",borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{style:c.color,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:c.dot}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.CompactFields=function(e){var t=e.hex,n=e.rgb,r=e.onChange,o=(0,s.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return i.default.createElement("div",{style:o.fields,className:"flexbox-fix"},i.default.createElement("div",{style:o.active}),i.default.createElement(l.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:t,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),i.default.createElement(l.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(45),f=n(711),p=r(f),d=t.Github=function(e){var t=e.width,n=e.colors,r=e.onChange,o=e.onSwatchHover,a=e.triangle,l=(0,s.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-right-triangle":"bottom-right"===a}),u=function(e,t){return r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:l.card,className:"github-picker"},i.default.createElement("div",{style:l.triangleShadow}),i.default.createElement("div",{style:l.triangle}),(0,c.default)(n,function(e){return i.default.createElement(p.default,{color:e,key:e,onClick:u,onSwatchHover:o})}))};d.defaultProps={width:"200px",colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.GithubSwatch=function(e){var t=e.hover,n=e.color,r=e.onClick,o=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,s.default)({default:{swatch:{width:"25px",height:"25px"}},hover:{swatch:a}},{hover:t});return i.default.createElement("div",{style:c.swatch},i.default.createElement(l.Swatch,{color:n,onClick:r,onHover:o,focusStyle:a}))};t.default=(0,a.handleHover)(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(20),l=r(s),c=n(45),u=n(713),f=r(u),p=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,i=e.hsl,s=e.direction,u=e.pointer,f=(0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),p=function(e){return r({a:1,h:e.h,l:.5,s:1})};return a.default.createElement("div",{style:f.picker,className:"hue-picker"},a.default.createElement(c.Hue,o({},f.hue,{hsl:i,pointer:u,onChange:p,direction:s})))};p.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(467),f=n(45),p=t.Material=function(e){var t=e.onChange,n=e.hex,r=e.rgb,o=(0,s.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}}),a=function(e,n){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return i.default.createElement(u.Raised,null,i.default.createElement("div",{style:o.material,className:"material-picker"},i.default.createElement(f.EditableInput,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:n,onChange:a}),i.default.createElement("div",{style:o.split,className:"flexbox-fix"},i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:a})),i.default.createElement("div",{style:o.third},i.default.createElement(f.EditableInput,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:a})))))};t.default=(0,f.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(13),c=r(l),u=n(20),f=r(u),p=n(45),d=n(716),h=r(d),g=n(717),b=r(g),m=n(718),v=r(m),y=n(719),_=r(y),w=n(720),x=r(w),k=t.Photoshop=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return a(t,e),s(t,[{key:"render",value:function(){var e=(0,f.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return c.default.createElement("div",{style:e.picker,className:"photoshop-picker"},c.default.createElement("div",{style:e.head},this.props.header),c.default.createElement("div",{style:e.body,className:"flexbox-fix"},c.default.createElement("div",{style:e.saturation},c.default.createElement(p.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:b.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.hue},c.default.createElement(p.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:v.default,onChange:this.props.onChange})),c.default.createElement("div",{style:e.controls},c.default.createElement("div",{style:e.top,className:"flexbox-fix"},c.default.createElement("div",{style:e.previews},c.default.createElement(x.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),c.default.createElement("div",{style:e.actions},c.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),c.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),c.default.createElement(h.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(c.default.Component);k.defaultProps={header:"Color Picker"},t.default=(0,p.ColorWrap)(k)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,o=e.hex,a=(0,s.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(e,o){e["#"]?c.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},o):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},o)};return i.default.createElement("div",{style:a.fields},i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:l}),i.default.createElement(u.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:l}),i.default.createElement("div",{style:a.divider}),i.default.createElement(u.EditableInput,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:l}),i.default.createElement("div",{style:a.fieldSymbols},i.default.createElement("div",{style:a.symbol},"°"),i.default.createElement("div",{style:a.symbol},"%"),i.default.createElement("div",{style:a.symbol},"%")))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return i.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPointerCircle=function(){var e=(0,s.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return i.default.createElement("div",{style:e.pointer},i.default.createElement("div",{style:e.left},i.default.createElement("div",{style:e.leftInside})),i.default.createElement("div",{style:e.right},i.default.createElement("div",{style:e.rightInside})))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,a=(0,s.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return i.default.createElement("div",{style:a.button,onClick:t},n||r)};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.default.createElement("div",null,i.default.createElement("div",{style:r.label},"new"),i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.new}),i.default.createElement("div",{style:r.current})),i.default.createElement("div",{style:r.label},"current"))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(722),u=r(c),f=n(723),p=r(f),d=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,c=e.onChange,f=e.onSwatchHover,d=e.disableAlpha,h=e.presetColors,g=e.renderers,b=(0,s.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:d});return i.default.createElement("div",{style:b.picker,className:"sketch-picker"},i.default.createElement("div",{style:b.saturation},i.default.createElement(l.Saturation,{style:b.Saturation,hsl:a,hsv:o,onChange:c})),i.default.createElement("div",{style:b.controls,className:"flexbox-fix"},i.default.createElement("div",{style:b.sliders},i.default.createElement("div",{style:b.hue},i.default.createElement(l.Hue,{style:b.Hue,hsl:a,onChange:c})),i.default.createElement("div",{style:b.alpha},i.default.createElement(l.Alpha,{style:b.Alpha,rgb:n,hsl:a,renderers:g,onChange:c}))),i.default.createElement("div",{style:b.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:b.activeColor}))),i.default.createElement(u.default,{rgb:n,hsl:a,hex:r,onChange:c,disableAlpha:d}),i.default.createElement(p.default,{colors:h,onClick:c,onSwatchHover:f}))};d.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(176),c=r(l),u=n(45),f=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.disableAlpha,l=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),f=function(e,o){e.hex?c.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.default.createElement("div",{style:l.fields,className:"flexbox-fix"},i.default.createElement("div",{style:l.double},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:f})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(u.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(13),a=r(i),s=n(179),l=r(s),c=n(20),u=r(c),f=n(45),p=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,i=e.onSwatchHover,s=(0,u.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),l=function(e,t){r({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e;return a.default.createElement("div",{key:t.color,style:s.swatchWrap},a.default.createElement(f.Swatch,o({},t,{style:s.swatch,onClick:l,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};p.propTypes={colors:l.default.arrayOf(l.default.oneOfType([l.default.string,l.default.shape({color:l.default.string,title:l.default.string})]))},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=n(725),u=r(c),f=n(727),p=r(f),d=t.Slider=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,o=(0,s.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return i.default.createElement("div",{className:"slider-picker"},i.default.createElement("div",{style:o.hue},i.default.createElement(l.Hue,{style:o.Hue,hsl:t,pointer:r,onChange:n})),i.default.createElement("div",{style:o.swatches},i.default.createElement(u.default,{hsl:t,onClick:n})))};d.defaultProps={pointer:p.default},t.default=(0,l.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(726),c=r(l),u=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,r=(0,s.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),i.default.createElement("div",{style:r.swatch},i.default.createElement(c.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),i.default.createElement("div",{style:r.clear}))};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,r=e.onClick,o=void 0===r?function(){}:r,a=e.active,l=e.first,c=e.last,u=(0,s.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:l,last:c}),f=function(e){return o({h:t.h,s:.5,l:n,source:"hsl"},e)};return i.default.createElement("div",{style:u.swatch,onClick:f})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=t.SliderPointer=function(){var e=(0,s.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(508),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=n(45),g=n(467),b=n(729),m=r(b),v=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.onSwatchHover,a=e.colors,l=e.hex,u=(0,s.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),p=function(e,t){f.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:u.picker,className:"swatches-picker"},i.default.createElement(g.Raised,null,i.default.createElement("div",{style:u.overflow},i.default.createElement("div",{style:u.body},(0,c.default)(a,function(e){return i.default.createElement(m.default,{key:e.toString(),group:e,active:l,onClick:p,onSwatchHover:o})}),i.default.createElement("div",{style:u.clear})))))};v.defaultProps={width:320,height:240,colors:[[d.red[900],d.red[700],d.red[500],d.red[300],d.red[100]],[d.pink[900],d.pink[700],d.pink[500],d.pink[300],d.pink[100]],[d.purple[900],d.purple[700],d.purple[500],d.purple[300],d.purple[100]],[d.deepPurple[900],d.deepPurple[700],d.deepPurple[500],d.deepPurple[300],d.deepPurple[100]],[d.indigo[900],d.indigo[700],d.indigo[500],d.indigo[300],d.indigo[100]],[d.blue[900],d.blue[700],d.blue[500],d.blue[300],d.blue[100]],[d.lightBlue[900],d.lightBlue[700],d.lightBlue[500],d.lightBlue[300],d.lightBlue[100]],[d.cyan[900],d.cyan[700],d.cyan[500],d.cyan[300],d.cyan[100]],[d.teal[900],d.teal[700],d.teal[500],d.teal[300],d.teal[100]],["#194D33",d.green[700],d.green[500],d.green[300],d.green[100]],[d.lightGreen[900],d.lightGreen[700],d.lightGreen[500],d.lightGreen[300],d.lightGreen[100]],[d.lime[900],d.lime[700],d.lime[500],d.lime[300],d.lime[100]],[d.yellow[900],d.yellow[700],d.yellow[500],d.yellow[300],d.yellow[100]],[d.amber[900],d.amber[700],d.amber[500],d.amber[300],d.amber[100]],[d.orange[900],d.orange[700],d.orange[500],d.orange[300],d.orange[100]],[d.deepOrange[900],d.deepOrange[700],d.deepOrange[500],d.deepOrange[300],d.deepOrange[100]],[d.brown[900],d.brown[700],d.brown[500],d.brown[300],d.brown[100]],[d.blueGrey[900],d.blueGrey[700],d.blueGrey[500],d.blueGrey[300],d.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,h.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(730),f=r(u),p=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,o=e.active,a=(0,s.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return i.default.createElement("div",{style:a.group},(0,c.default)(r,function(e,a){return i.default.createElement(f.default,{key:e,color:e,active:e.toLowerCase()===o,first:0===a,last:a===r.length-1,onClick:t,onSwatchHover:n})}))};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(45),c=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,a=e.first,c=e.last,u=e.active,f=(0,s.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{fill:"#fff",marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:a,last:c,active:u,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return i.default.createElement(l.Swatch,{color:t,style:f.color,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+t}},i.default.createElement("div",{style:f.check},i.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var o=n(13),i=r(o),a=n(20),s=r(a),l=n(63),c=r(l),u=n(176),f=r(u),p=n(45),d=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,o=e.colors,a=e.width,l=e.triangle,u=(0,s.default)({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),d=function(e,n){f.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return i.default.createElement("div",{style:u.card,className:"twitter-picker"},i.default.createElement("div",{style:u.triangleShadow}),i.default.createElement("div",{style:u.triangle}),i.default.createElement("div",{style:u.body},(0,c.default)(o,function(e,t){return i.default.createElement(p.Swatch,{key:t,color:e,hex:e,style:u.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),i.default.createElement("div",{style:u.hash},"#"),i.default.createElement(p.Edi
|